gst/: Fix 2 caps leaks.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * gst/gstvalue.c: (gst_value_deserialize_caps):
4         * gst/parse/grammar.y:
5         Fix 2 caps leaks.
6
7 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
8
9         * gst/gstutils.c: (gst_atomic_int_set):
10         Use g_atomic_int_set() here too instead of assignment +
11         g_atomic_int_get().
12
13 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
14         
15         * gst/gstutils.c:
16         * gst/gstutils.h:
17         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
18         now that we depend on new enough GLib.
19
20         * gst/gstcaps.c: (gst_static_caps_get):
21         * gst/gstclock.c: (gst_clock_entry_new):
22         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
23         (gst_debug_set_default_threshold), (_gst_debug_category_new),
24         (gst_debug_category_set_threshold):
25         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
26         (gst_base_sink_set_qos_enabled):
27         * libs/gst/net/gstnettimeprovider.c:
28         (gst_net_time_provider_set_property):
29         Use g_atomic_int_set() instead of gst_atomic_int_set().
30
31 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
32
33         * gst/gstquery.c:
34           Also use G_GINT64_CONSTANT for the queries.
35
36 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
37
38         * gst/gstmessage.c:
39           Use G_GINT64_CONSTANT in varargs function.
40
41 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
42
43         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
44         Initialize the registry magic with zeroes.
45
46 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
47
48         * gst/gstregistrybinary.c: (_gst_crc32),
49         (gst_registry_binary_write),
50         (gst_registry_binary_initialize_magic),
51         (gst_registry_binary_write_cache),
52         (gst_registry_binary_check_magic),
53         (gst_registry_binary_read_cache):
54         * gst/gstregistrybinary.h:
55         Add crc32 checksum to the binary registry file and check this before
56         accepting a registry file.
57
58         Also free the data list when writing to the registry file fails.
59
60 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
61
62         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
63         (gst_registry_binary_load_feature),
64         (gst_registry_binary_load_plugin):
65         If an element supports the Uri interface, returns a valid pointer
66         to the supported URI protocols but this pointer contains nothing
67         don't try to save that as it will corrupt the registry.
68
69         Don't unref the plugin if we added it to the registry already but
70         fail to load a feature as gst_registry_add_plugin() takes ownership
71         of the plugin.
72
73         Improve debugging a bit.
74
75 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
76
77         * gst/gsttaglist.h:
78           Clarify some tag item docs after discussion on irc.
79
80 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
81
82         * docs/gst/gstreamer-docs.sgml:
83           Remove commented out plugins (they have their own docs). Update
84           comments.
85
86 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
87
88         * docs/gst/gstreamer-docs.sgml:
89         * docs/gst/gstreamer-sections.txt:
90         * gst/gstparamspecs.c:
91         * gst/gstparamspecs.h:
92           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
93           docs to own section.
94
95         * gst/gstvalue.c:
96           This now only documents GValue.
97           
98         * docs/libs/gstreamer-libs-sections.txt:
99         * libs/gst/controller/gstcontroller.h:
100           Remove GST_PARAM_CONTROLLABLE.
101
102 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
103
104         * docs/README:
105           Correct file path. Tell about how to use -overrides.txt.
106         * docs/design/draft-tagreading.txt:
107           Small design update.
108
109 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
110
111         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
112         (gst_registry_binary_load_plugin):
113         Fix a typo in a debug message and revert change from yesterday as
114         gst_registry_add_plugin() will only fail if something is really wrong
115         already and we can't survive it anyway.
116
117 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
118
119         * gst/gst.c: (init_post), (gst_deinit):
120           Pre-register GstGError GType from a thread-safe context
121           (fixes #527967); unref enum type classes in deinit.
122
123 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
124
125         Patch by: Rene Stadler <mail at renestadler de>
126
127         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
128           Merging an empty list with another list in KEEP_ALL mode should
129           yield an empty list as result and not the second list (#512578).
130
131         * tests/check/gst/gsttagsetter.c:
132           Add unit test for tag merge modes and the aforementioned bug.
133
134 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
135
136         Patch by: Rene Stadler <mail at renestadler de>
137
138         * gst/gsttaglist.h:
139           Fix description to match the order in the table (#512577).
140   
141 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
142
143         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
144
145         * libs/gst/net/gstnettimepacket.h:
146         * docs/libs/gstreamer-libs-sections.txt:
147           Define socklen_t as int if it's not defined yet. Fixes compilation
148           with MSVC6 and other versions where socklen_t is not defined in
149           the windows headers (#518022).
150
151 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
152
153         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
154         If gst_registry_add_plugin() fails our reference to the plugin is
155         invalid so don't try to use it anymore and instead error out.
156
157 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
158
159         * tools/gst-xmlinspect.c: (print_element_info), (main):
160           De-cruft a bit. If no argument is specified, print all elements in
161           XML syntax rather than a freestyle list of elements like gst-inspect.
162           Also, don't print XML header chunk unless we actually have something
163           to print (ie. don't print it before an error message); print error
164           message to stderr not stdout. Remove support for printing plugin
165           info (it would just output something freestyle along the lines of
166           gst-inspect so far), which fixes #514507. Also add license header.
167
168 2008-04-11  Julien Moutte  <julien@fluendo.com>
169
170         Mac OS X love...
171         * configure.ac: Merge platform specific defines, introduce a new
172         define on OS X to remember that forking when updating registry is
173         unsafe.
174         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
175         module.
176         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
177         is defined.
178         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
179         condition that leads to absolutely no plugins being registered on
180         OS X.
181
182 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
183
184         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
185
186         * gst/gstutils.c: (gst_pad_add_data_probe),
187           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
188           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
189           (gst_pad_add_buffer_probe_full):
190         * gst/gstutils.h:
191         * docs/gst/gstreamer-sections.txt:
192         * win32/common/libgstreamer.def:
193           Add gst_pad_add_*_probe_full() functions with a notify callback that
194           lets the caller free the data it passes to the probe functions. This
195           is useful for bindings such as gst-python or gstreamermm (#526814).
196           API: gst_pad_add_data_probe_full
197           API: gst_pad_add_buffer_probe_full
198           API: gst_pad_add_event_probe_full
199
200         * tests/check/gst/gstutils.c:
201           Add minimal unit test to make sure freeing the data actually works
202           as expected.
203
204         * tests/benchmarks/.cvsignore:
205           Random cvsignore addendum.
206
207 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
208
209         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
210           (GST_DEBUG_BIN_TO_DOT_FILE):
211           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
212           to it in the docs (since these are macros the types of the arguments
213           won't be shown in the docs otherwise).
214
215 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
216
217         * gst/gstpad.c:
218           Do not abort on out of memory for pad_alloc_buffer.
219
220 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
221
222         * libs/gst/check/gstcheck.c:
223           Remove blank line between symbol name ad parameters to fix gtkdoc
224           warning.
225
226 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
227
228         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
229
230         * docs/gst/gstreamer-sections.txt:
231         * gst/gstsegment.c:
232         * gst/gstsegment.h:
233         * win32/common/libgstreamer.def:
234           Expose gst_segment_copy() to make things easier for the c++ bindings.
235           Fixes #518932.
236           API: gst_segment_copy()
237
238 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
239
240         * gst/gst.c: (gst_init_get_option_group), (init_post):
241           Fix const position; ref GType classes for enum types to work
242           around thread-safety issues in GLib versions < 2.16.
243
244 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
245
246         * docs/design/part-buffering.txt:
247         Fix some typos and set the estimated total for push mode to -1.
248
249         * gst/gstquery.c: (gst_query_new_buffering):
250         Set buffering-left to 0 as we're not buffering by default.
251
252         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
253         Implement BUFFERING query.
254
255 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
256
257         Based on patch by: Milosz Derezynski <internalerror gmail com>
258
259         * gst/gsterror.c: (_gst_stream_errors_init):
260         * gst/gsterror.h:
261           Add two new error codes for encrypted content. Fixes #524659.
262           API: GST_STREAM_ERROR_DECRYPT
263           API: GST_STREAM_ERROR_DECRYPT_NOKEY
264
265 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
266
267         * gst/gstquery.h:
268           Fix typo.
269
270         * win32/common/libgstreamer.def:
271           Add new functions.
272
273 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
274
275         * plugins/elements/gstidentity.c: (gst_identity_event),
276         (gst_identity_start):
277         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
278         event after processing some data. Fixes bug #526042.
279
280 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
281
282         * docs/gst/gstreamer-sections.txt:
283         * gst/gstquery.c: (gst_query_parse_latency),
284         (gst_query_set_buffering_percent),
285         (gst_query_parse_buffering_percent),
286         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
287         * gst/gstquery.h:
288         Rename _avail -> _range
289         API: gst_query_set_buffering_range
290         API: gst_query_parse_buffering_range
291
292 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
293
294         * docs/design/part-buffering.txt:
295         * gst/gstquark.c:
296         * gst/gstquark.h:
297         * gst/gstquery.c: (gst_query_parse_latency),
298         (gst_query_new_buffering), (gst_query_set_buffering_percent),
299         (gst_query_parse_buffering_percent):
300         * gst/gstquery.h:
301         Add busy field and quark for the buffering query so that the app can
302         only use the query to see if buffering is in progress.
303
304 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
305
306         * docs/gst/gstreamer-sections.txt:
307         * gst/gstmessage.c: (gst_message_set_buffering_stats),
308         (gst_message_parse_buffering_stats):
309         * gst/gstmessage.h:
310         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
311         (gst_query_parse_latency), (gst_query_new_buffering),
312         (gst_query_set_buffering_percent),
313         (gst_query_parse_buffering_percent),
314         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
315         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
316         * gst/gstquery.h:
317         Reorder the message docs and headers for clarity.
318         Add aditional buffering stats API for messages.
319         Add buffering query.
320         Convert some leftover queries to use GstQuark.
321         API: gst_message_set_buffering_stats
322         API: gst_message_parse_buffering_stats
323         API: GST_QUERY_BUFFERING
324         API: GstBufferingMode
325         API: gst_query_new_buffering
326         API: gst_query_set_buffering_percent
327         API: gst_query_parse_buffering_percent
328         API: gst_query_set_buffering_stats
329         API: gst_query_parse_buffering_stats
330
331 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
332
333         * gst/gstmessage.c: (gst_message_new_error),
334         (gst_message_new_warning), (gst_message_new_info),
335         (gst_message_new_buffering), (gst_message_new_state_changed),
336         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
337         (gst_message_new_new_clock), (gst_message_new_segment_start),
338         (gst_message_new_segment_done), (gst_message_new_duration),
339         (gst_message_new_async_start), (gst_message_parse_buffering),
340         (gst_message_parse_state_changed),
341         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
342         (gst_message_parse_new_clock), (gst_message_parse_error),
343         (gst_message_parse_warning), (gst_message_parse_info),
344         (gst_message_parse_segment_start),
345         (gst_message_parse_segment_done), (gst_message_parse_duration),
346         (gst_message_parse_async_start):
347         Use GstQuark for messages.
348
349 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
350
351         * gst/gstquark.c: (_priv_gst_quarks_initialize):
352         * gst/gstquark.h:
353         Add some more quarks needed for messages and queries.
354
355 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
356
357         * docs/design/part-buffering.txt:
358         Remove the "none" buffering mode, STREAM is a good default.
359         Move estimated-time to the avail query, that's when it will be needed.
360         Other small typo fixes and updates.
361
362 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
363
364         * gst/gstindex.c: (gst_index_resolver_get_type):
365           Don't put descriptions into the nick field of a GEnumValue: it's not
366           meant for that and some language bindings rely on the nick field to
367           construct constants and the like. Fixes #526705.
368
369 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
370
371         * NEWS:
372         * RELEASE:
373         * gstreamer.doap:
374           Merge other changes from 0.10.19 release branch.
375
376 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
377
378         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
379
380         * configure.ac:
381         Actually build dlls when cross-compiling with mingw32.
382         Fixes bug #526247.
383
384 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
385
386         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
387
388         * gst/gstpoll.c:
389         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
390
391 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
392
393         * docs/design/draft-latency.txt:
394         Fix typo.
395
396         * docs/design/part-buffering.txt:
397         Update design docs with more buffering ideas.
398
399 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
400
401         * configure.ac:
402           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
403
404 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
405
406         * configure.ac:
407           Revert part that belongs to the preset patch.
408
409 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
410
411         * configure.ac:
412           Add qoutes to the define. Fixes # 525961.
413
414 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
415
416         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
417         (gst_file_index_load), (gst_file_index_add_id),
418         (gst_file_index_get_assoc_entry):
419         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
420         (gst_mem_index_free_id), (gst_mem_index_add_id),
421         (gst_mem_index_index_format):
422         Use GSlice when possible.
423
424 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
425
426         * libs/gst/controller/gstinterpolationcontrolsource.c:
427         (gst_control_point_free),
428         (gst_interpolation_control_source_set_internal):
429         Use GSlice for allocating the control points.
430
431 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
432
433         * plugins/elements/gsttypefindelement.c:
434         (gst_type_find_element_class_init),
435         (gst_type_find_element_set_property),
436         (gst_type_find_element_get_property),
437         (gst_type_find_element_activate):
438         * plugins/elements/gsttypefindelement.h:
439         Cleanup properties.
440         Fix pad leak when peer query fails.
441         We can still typefind when the peer returns -1.
442         Add property to force caps and bypass typefinding. This will be used in
443         uridecodebin.
444         API::force-caps
445
446 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
447
448         * configure.ac:
449         Require GLib 2.12.
450
451         * gst/glib-compat-private.h:
452         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
453         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
454         Unconditionally use GSlice for allocation.
455
456         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
457         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
458         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
459         (gst_structure_free):
460         Use GSlice for allocation.
461
462 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
463
464         * gst/parse/Makefile.am:
465         * gst/parse/grammar.tab.pre.c:
466         * gst/parse/grammar.tab.pre.h:
467         * gst/parse/lex._gst_parse_yy.pre.c:
468         Require a new enough flex and bison and remove the parser hacks to use
469         a pre-regenerated version.
470
471 2008-04-01  Julien Moutte  <julien@fluendo.com>
472
473         patch by: Jason Zhao <E3423C@motorola.com>
474
475         * configure.ac: Add a configure switch to disable option parsing
476         in gst_init.
477         Fixes #522882.
478
479 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
480
481         * configure.ac:
482         * gst/gstregistry.c:
483           MacOS has plugins under .so or under .dylib. Add detection for MacOS
484           and handle this case.
485
486         * gst/gst.c:
487           Add a comment here describing, why we stat each plugin and not try to
488           be smart.
489
490 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
491
492         * libs/gst/base/gstbasetransform.c:
493         (gst_base_transform_prepare_output_buffer):
494         Also unset the GAP flag on buffers if we're working inplace but
495         the element is not GAP-aware.
496
497         Mark a comment as FIXME 0.11.
498
499 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
500
501         * gst/gst.c:
502           Fix type in log message and add one to ease seeing how long registry
503           cache verification takes.
504
505         * gst/gstregistry.c:
506           Only test plugin filenames against G_MODULE_SUFFIX.
507
508 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
509
510         * gst/gstdebugutils.c:
511           Improve handling ghost/proxy pads.
512
513 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
514
515         * docs/gst/gstreamer-sections.txt:
516         * gst/gstpad.c:
517         * gst/gstpad.h:
518           Expose macro to docs and fix link to it.
519
520 2008-03-27  Michael Smith <msmith@fluendo.com>
521
522         * libs/gst/dataprotocol/dataprotocol.c:
523         (gst_dp_packet_from_event_1_0):
524           When calculating GDP body CRC, use the correct pointer. 
525           Fixes part of #522401.
526
527 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
528
529         Patch by: Mark Nauwelaerts <manauw at skynet be>
530
531         * plugins/elements/gstidentity.c: (gst_identity_class_init),
532         (gst_identity_init), (gst_identity_prepare_output_buffer):
533         Identity is not always a passthrough element, it can modify the buffer
534         timestamps when it has a datarate and operates in single-segment mode.
535         We therefore make it an in_place filter with a custom buffer prepare
536         function that conditionally makes the input buffer metadata writable
537         when needed.  Fixes #523985.
538
539 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
540
541         Patch by: Mark Nauwelaerts <manauw at skynet be>
542
543         * gst/gstclock.h:
544         * libs/gst/base/gstbasesrc.h:
545         * libs/gst/base/gstbasetransform.c:
546         * libs/gst/check/gstcheck.c:
547         Small documentation fixes. Fixes #523978.
548
549 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
550
551         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
552         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
553         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
554
555 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
556
557         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
558         (single_queue_underrun_cb):
559         When trying to make room in the queue, bump the max allowed buffers
560         bigger than the current amount of buffers in the queue. this fixes some
561         nasty deadlocks in multiqueue when dynamically changing the limits of
562         the queue.
563
564 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
565
566         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
567
568         * gst/gstcaps.c: (gst_caps_set_simple),
569         (gst_caps_set_simple_valist), (gst_caps_intersect):
570         * gst/gstcaps.h:
571         Constify the field gchar * params in set_simple and friends.
572         Fixes #522326.
573
574 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
575
576         * gst/gstvalue.c: (gst_value_transform_object_string):
577         Transform a GstObject to a more meaningfull string that includes the
578         object type in addition to its name.
579
580 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
581
582         * ChangeLog:
583           ChangeLog surgery to add bugnumber to commit.
584
585 2008-03-23  Rene Stadler  <mail@renestadler.de>
586
587         * libs/gst/base/gstbasetransform.c:
588         (gst_base_transform_set_gap_aware): Fix confusing documentation.
589
590 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
591
592         * gst/gstregistrybinary.c: (gst_registry_binary_write):
593         Rename constant everywhere and don't forget one occurence.
594
595 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
596
597         * gst/gstregistrybinary.c: (gst_registry_binary_write):
598         Align memory to the pointer size even if the architecture allows
599         unaligned memory access. Unaligned memory access usually comes with
600         performance penality.
601
602 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
603
604         * gst/gstregistrybinary.c: (gst_registry_binary_write),
605         (gst_registry_binary_check_magic),
606         (gst_registry_binary_load_pad_template),
607         (gst_registry_binary_load_feature),
608         (gst_registry_binary_load_plugin):
609         Align memory to the pointer size instead of always 32 bit. Fixes
610         unaligned memory accesses on ia64 and friends.
611
612         * gst/gstregistrybinary.h:
613         Bump binary registry format version for this as it changes the
614         format on those architectures that don't have unaligned access
615         and 64 bit pointers.
616
617 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
618
619         * docs/pwg/advanced-dparams.xml:
620         * docs/pwg/building-props.xml:
621         * docs/pwg/other-source.xml:
622         * gst/glib-compat.h:
623         * gst/gstbin.c: (gst_bin_class_init):
624         * gst/gstclock.c: (gst_clock_class_init):
625         * gst/gstindex.c: (gst_index_class_init):
626         * gst/gstobject.c: (gst_object_class_init):
627         * gst/gstpad.c: (gst_pad_class_init):
628         * gst/gstpipeline.c: (gst_pipeline_class_init):
629         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
630         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
631         * libs/gst/base/gstbasetransform.c:
632         (gst_base_transform_class_init):
633         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
634         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
635         (_gst_check_fault_handler_sighandler),
636         (_gst_check_fault_handler_setup), (gst_check_init):
637         * libs/gst/controller/gstcontroller.c:
638         (_gst_controller_class_init):
639         * libs/gst/controller/gstlfocontrolsource.c:
640         (gst_lfo_control_source_class_init):
641         * libs/gst/net/gstnetclientclock.c:
642         (gst_net_client_clock_class_init):
643         * libs/gst/net/gstnettimeprovider.c:
644         (gst_net_time_provider_class_init):
645         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
646         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
647         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
648         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
649         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
650         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
651         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
652         * plugins/elements/gstidentity.c: (gst_identity_class_init):
653         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
654         * plugins/elements/gstqueue.c: (gst_queue_class_init):
655         * plugins/elements/gsttee.c: (gst_tee_class_init):
656         * plugins/elements/gsttypefindelement.c:
657         (gst_type_find_element_class_init):
658         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
659         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
660         use it everywhere for GParamSpecs that use static strings (i.e. all).
661         This gives us less memory usage, fewer allocations and thus less
662         memory defragmentation. Fixes bug #523806.
663
664 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
665
666         * gst/gstminiobject.c: (gst_value_dup_mini_object),
667         (gst_param_spec_mini_object):
668         * gst/gstminiobject.h:
669         * win32/common/libgstreamer.def:
670         * docs/gst/gstreamer-sections.txt:
671         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
672         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
673         GstParamSpecMiniObject into a public header for this.
674
675         This make GstMiniObject a bit more consistent with GObject and makes
676         it possible to extend the param specs.
677
678         gst_value_dup_mini_object is mainly useful for set_property methods.
679
680         Fixes bug #523798.
681
682         * tools/gst-inspect.c: (print_element_properties_info):
683         Print something useful for GstMiniObject properties and not just
684         "unknown type".
685
686 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
687
688         * docs/gst/gstreamer-sections.txt:
689         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
690         (gst_registry_binary_check_magic):
691         * gst/gstregistrybinary.h:
692         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
693         and add it to the (private part) of the docs to fix the build.
694
695 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
696
697         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
698         (gst_registry_binary_check_magic),
699         (gst_registry_binary_read_cache):
700         * gst/gstregistrybinary.h:
701         Don't use GST_MAJORMINOR for the binary registry version. Instead
702         hardcode a value that must be changed whenever the format changes
703         in an incompatible way.
704         Also don't GST_ERROR when there is a version mismatch, just
705         regenerate the registry silently.
706
707 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
708
709         * configure.ac:
710         Back to development - 0.10.18.1
711
712 === release 0.10.18 ===
713
714 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
715
716         * configure.ac:
717           releasing 0.10.18, "So far away"
718
719 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
720
721         * configure.ac:
722         * win32/common/config.h:
723         0.10.17.4 pre-release
724
725 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
726
727         Patch by: Ole André Vadla Ravnås
728             <ole dot andre dot ravnas at tandberg dot com>
729
730         * docs/gst/gstreamer-sections.txt:
731         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
732         (gst_poll_update_winsock_event_mask),
733         (gst_poll_prepare_winsock_active_sets),
734         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
735         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
736         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
737         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
738         (gst_poll_check_ctrl_commands), (gst_poll_wait):
739         * gst/gstpoll.h:
740         * win32/common/libgstreamer.def:
741         Add new function gst_poll_fd_ignored() for improved Windows
742         compatibility.
743         Various minor fixes and cleanups. See #520808.
744
745 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
746
747         * gst/gstindex.c: (gst_index_entry_free):
748         * gst/gstindex.h:
749           Don't free key strings which we don't own. Fixes crash in
750           gst_index_entry_free() (#522741).
751
752         * tests/check/Makefile.am:
753         * tests/check/gst/.cvsignore:
754         * tests/check/gst/gstindex.c: (test_index_entries),
755           (gst_index_suite), (gst_index):
756           Add unit test for the above.
757
758 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
759
760         * win32/common/libgstreamer.def:
761         Remove symbols that were removed recently. Fixes bug #521740.
762
763 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
764
765         * configure.ac:
766         * win32/common/config.h:
767         0.10.17.3 pre-release
768
769 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
770
771         Patch by: Ole André Vadla Ravnås
772             <ole dot andre dot ravnas at tandberg dot com>
773
774         * docs/gst/gstreamer-sections.txt:
775         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
776         (gst_poll_update_winsock_event_mask), (gst_poll_new),
777         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
778         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
779         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
780         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
781         (gst_poll_fd_can_write), (gst_poll_wait),
782         (gst_poll_set_controllable), (gst_poll_restart),
783         (gst_poll_set_flushing):
784         * gst/gstpoll.h:
785         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
786         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
787         (gst_net_time_provider_new):
788         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
789         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
790         * tests/benchmarks/gstpollstress.c: (main):
791         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
792         Remove GstPollMode from the API, it does not make sense to let the
793         application control this.
794         Add support for Win32.
795         Fix the testsuite. Fixes #520671.
796
797 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
798
799         Patch by: Ole André Vadla Ravnås
800             <ole dot andre dot ravnas at tandberg dot com>
801
802         * gst/gstregistrybinary.c:
803         Include io.h for write() and close() when building with MSVC. Fixes
804         bug #520877.
805
806 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
807
808         * configure.ac:
809         * gst/gst_private.h:
810         * gst/gstconfig.h.in:
811         * gst/gstregistry.h:
812         * gst/gstregistrybinary.c:
813         * win32/common/gstconfig.h:
814           Move registry backend API to private headers where we can. Add
815           fixme-0.11 comments for the others. Add stubs for the xml backend when
816           using the binary to ensure they functions exists (they should not be
817           used though). Fixes #520756.
818
819 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
820
821         * configure.ac:
822         * win32/common/config.h:
823         0.10.17.2 prelease
824
825 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
826
827         * gst/gstregistrybinary.c: (gst_registry_binary_write),
828         (gst_registry_binary_read_cache):
829         * gst/gstregistryxml.c: (gst_registry_save):
830         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
831         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
832         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
833         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
834         Switch to using portabl gsize/gssize instead of size_t/ssize_t
835         Fixes #520152
836
837 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
838
839         * gst/gstminiobject.c:
840         Import gst_private.h before any other header that might include other
841         glib headers. This fixes the build on windows using native compilers.
842
843 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
844
845         * win32/common/gstconfig.h:
846           Add here too, just for completeness.
847
848 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * configure.ac:
851         * gst/gstconfig.h.in:
852         * gst/gstregistry.h:
853           Fix broken use of config.h-defined preprocessor directive in a public
854           header file. Add a corresponding define to gstconfig.h, since we can't
855           really remove those function declarations from the header file now
856           (or can we? and why are they there in the first place?).
857
858 2008-03-03  Andy Wingo  <wingo@pobox.com>
859
860         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
861         the new warning.
862
863         * gst/gststructure.c (gst_structure_from_string): Warn if
864         structure_from_string didn't consume the whole string, but the
865         caller did not provide an end pointer.
866
867 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
868
869         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
870
871         * gst/gstregistryxml.c: (read_string), (load_feature):
872           Strings allocated by libxml2 should be freed with xmlFree(), not
873           with g_free(). Fixes issues on windows in certain contexts (#519698).
874
875 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
876
877         * gst/gstinterface.c: (gst_element_implements_interface):
878           Don't crash if the element supports the interface queried, but does
879           not implement GstImplementsInterface. Fixes #519584.
880
881         * tests/check/Makefile.am:
882         * tests/check/gst/.cvsignore:
883         * tests/check/gst/gstinterface.c:
884           Add unit test for the above.
885
886 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
887
888         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
889         Small doc update.
890
891 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
892
893         * gst/gstsegment.c: (gst_segment_set_seek),
894         (gst_segment_to_stream_time):
895         Improve some comment.
896         Update variables where it makes more sense.
897
898 2008-02-29  Rene Stadler  <mail@renestadler.de>
899
900         * gst/gsturi.c: (gst_uri_handler_get_protocols):
901         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
902         URIHandlers implemented using language bindings.
903
904 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
905
906         * gst/gstelementfactory.h:
907         * tests/check/elements/fakesink.c:
908         * tests/check/elements/fakesrc.c: (setup_fakesrc):
909         * tests/check/elements/fdsrc.c: (setup_fdsrc):
910         * tests/check/elements/filesink.c: (setup_filesink):
911         * tests/check/elements/filesrc.c: (setup_filesrc):
912         * tests/check/elements/identity.c: (setup_identity):
913         * tests/check/elements/tee.c:
914         * tests/check/generic/sinks.c:
915         * tests/check/generic/states.c: (setup), (teardown):
916         * tests/check/gst/gst.c:
917         * tests/check/gst/gstabi.c:
918         * tests/check/gst/gstbin.c:
919         * tests/check/gst/gstbus.c: (pull_messages):
920         * tests/check/gst/gstcaps.c:
921         * tests/check/gst/gstelement.c:
922         * tests/check/gst/gstevent.c:
923         * tests/check/gst/gstghostpad.c:
924         * tests/check/gst/gstiterator.c:
925         * tests/check/gst/gstmessage.c:
926         * tests/check/gst/gstminiobject.c: (my_foo_init):
927         * tests/check/gst/gstobject.c: (thread_name_object),
928         (gst_object_suite):
929         * tests/check/gst/gstpad.c:
930         * tests/check/gst/gstplugin.c:
931         * tests/check/gst/gstpoll.c:
932         * tests/check/gst/gstquery.c:
933         * tests/check/gst/gstsegment.c:
934         * tests/check/gst/gststructure.c:
935         * tests/check/gst/gstsystemclock.c:
936         * tests/check/gst/gsttask.c:
937         * tests/check/gst/gstutils.c:
938         * tests/check/gst/gstvalue.c:
939         * tests/check/gst/struct_hppa.h:
940         * tests/check/gst/struct_i386.h:
941         * tests/check/gst/struct_ppc32.h:
942         * tests/check/gst/struct_ppc64.h:
943         * tests/check/gst/struct_x86_64.h:
944         * tests/check/libs/adapter.c: (create_and_fill_adapter):
945         * tests/check/libs/basesrc.c:
946         * tests/check/libs/controller.c: (GST_START_TEST):
947         * tests/check/libs/gdp.c:
948         * tests/check/libs/gstnetclientclock.c:
949         * tests/check/libs/gstnettimeprovider.c:
950         * tests/check/libs/libsabi.c:
951         * tests/check/libs/struct_hppa.h:
952         * tests/check/libs/struct_i386.h:
953         * tests/check/libs/struct_ppc32.h:
954         * tests/check/libs/struct_ppc64.h:
955         * tests/check/libs/struct_x86_64.h:
956         * tests/check/pipelines/cleanup.c:
957         * tests/check/pipelines/simple-launch-lines.c:
958         * tests/check/pipelines/stress.c:
959         And correct even more valid sparse warnings.
960
961         * win32/common/libgstreamer.def:
962         Add gst_poll_fd_init to the list of symbols.
963
964 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
965
966         * gst/gstconfig.h.in:
967         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
968         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
969         (gst_check_log_critical_func), (gst_check_drop_buffers),
970         (gst_check_element_push_buffer_list):
971         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
972         (gst_controller_get_type):
973         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
974         (gst_object_get_controller), (gst_object_get_control_source):
975         * libs/gst/controller/gstinterpolationcontrolsource.c:
976         (gst_interpolation_control_source_new):
977         * libs/gst/controller/gstlfocontrolsource.c:
978         (gst_lfo_control_source_new):
979         * libs/gst/dataprotocol/dataprotocol.c:
980         (gst_dp_event_from_packet_0_2):
981         * plugins/elements/gstfdsrc.c:
982         * plugins/elements/gstmultiqueue.c:
983         * plugins/elements/gsttee.c:
984         * plugins/elements/gsttypefindelement.c:
985         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
986         (gst_file_index_add_association):
987         * plugins/indexers/gstmemindex.c:
988         * tests/benchmarks/gstpollstress.c: (mess_some_more):
989         * tests/check/elements/queue.c: (setup_queue):
990         * tests/check/gst/gstpipeline.c:
991         * tests/check/libs/collectpads.c: (setup), (teardown),
992         (gst_collect_pads_suite):
993         * tests/examples/adapter/adapter_test.c:
994         * tests/examples/metadata/read-metadata.c: (make_pipeline):
995         * tests/examples/xml/createxml.c:
996         * tests/examples/xml/runxml.c:
997         * tools/gst-inspect.c:
998         * tools/gst-run.c:
999         Correct all relevant warnings found by the sparse semantic code
1000         analyzer. This include marking several symbols static, using
1001         NULL instead of 0 for pointers, not using variable sized arrays
1002         on the stack, moving variable declarations to the beginning of
1003         a block and using "foo (void)" instead of "foo ()" for declarations.
1004
1005 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1006
1007         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1008         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1009         Don't reset GstPollFDs, this is not necessary at all.
1010
1011         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1012         (delayed_restart), (delayed_control):
1013         Use GST_POLL_FD_INIT.
1014
1015 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1016
1017         * gst/gstpoll.c: (gst_poll_fd_init):
1018         * gst/gstpoll.h:
1019         Added Since tags.
1020
1021         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
1022         Use some more init macros.
1023
1024 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1025
1026         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1027         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1028         Use init macros and functions.
1029
1030 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1031
1032         * docs/gst/gstreamer-sections.txt:
1033         * gst/gstpoll.c: (gst_poll_fd_init):
1034         * gst/gstpoll.h:
1035         Add INIT macro and _init method for initializing the GstPollFD.
1036
1037 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
1038
1039         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
1040         (gst_fd_sink_update_fd):
1041         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
1042         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1043         (delayed_restart), (delayed_control):
1044         Initialize some uninitialized variables as spotted by valgrind.
1045
1046 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1047
1048         * tests/benchmarks/Makefile.am:
1049         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
1050         (main):
1051         Add poll stress test.
1052
1053 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
1054
1055         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1056
1057         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1058         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
1059         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
1060         * plugins/elements/gstfdsink.h:
1061         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
1062         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
1063         (gst_fd_src_unlock_stop), (gst_fd_src_create),
1064         (gst_fd_src_uri_set_uri):
1065         * plugins/elements/gstfdsrc.h:
1066         Port to GstPoll. See #505417.
1067
1068 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
1069
1070         * win32/common/libgstreamer.def:
1071         Add new gst_poll_ symbols to win32 defs.
1072
1073 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1074
1075         * docs/libs/gstreamer-libs-sections.txt:
1076         * libs/gst/net/gstnetclientclock.c:
1077         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
1078         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1079         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1080         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1081         * libs/gst/net/gstnetclientclock.h:
1082         * libs/gst/net/gstnettimeprovider.c:
1083         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
1084         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1085         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1086         (gst_net_time_provider_new):
1087         * libs/gst/net/gstnettimeprovider.h:
1088         Use a private stuct to not break ABI.
1089
1090 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1091
1092         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1093
1094         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
1095         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
1096         (gst_net_client_clock_thread), (gst_net_client_clock_start),
1097         (gst_net_client_clock_stop), (gst_net_client_clock_new):
1098         * libs/gst/net/gstnetclientclock.h:
1099         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
1100         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
1101         (gst_net_time_provider_start), (gst_net_time_provider_stop),
1102         (gst_net_time_provider_new):
1103         * libs/gst/net/gstnettimeprovider.h:
1104         Massive code removal and cleanups because of GstPoll.
1105         Fixes #505417.
1106
1107 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
1108
1109         * configure.ac:
1110         Add checks for poll, ppoll and pselect.
1111
1112         * docs/gst/gstreamer-docs.sgml:
1113         * docs/gst/gstreamer-sections.txt:
1114         Add docs for GstPoll.
1115
1116         * gst/Makefile.am:
1117         * gst/gst.h:
1118         * gst/gstpoll.c: (find_index), (selectable_fds),
1119         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
1120         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
1121         (gst_poll_set_mode), (gst_poll_get_mode),
1122         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
1123         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1124         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
1125         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
1126         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
1127         (gst_poll_fd_can_write), (gst_poll_wait),
1128         (gst_poll_set_controllable), (gst_poll_restart),
1129         (gst_poll_set_flushing):
1130         * gst/gstpoll.h:
1131         Add generic poll abstraction. We ideally don't want to have this in core
1132         here but in glib intead...
1133         This code will be used in various network elements and ultimately for
1134         the nanosecond precision monotonic clock (that's why it's here in core).
1135         It'll allow us to implement cancelable socket operations for windows too.
1136
1137         * tests/check/Makefile.am:
1138         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
1139         (delayed_stop), (delayed_restart), (delayed_flush),
1140         (delayed_control), (gst_poll_suite):
1141         Add GstPoll unit test.
1142
1143 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
1144
1145         * gst/gstfilter.c:
1146           Improve documentation of gst_filter_run(). Fixes #518627.
1147
1148 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
1149
1150         * docs/README:
1151           Add a few lines about the new 'check-inspected-versions' target.
1152
1153 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1154
1155         * tests/check/gst/gstevent.c:
1156           Add qos to the event test. Rename tcase/tsuite; is not only about
1157           custom events.
1158
1159 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
1160
1161         * plugins/elements/gstqueue.c:
1162           Ensure that buffer metadata is writeable, before modifying. Spotted by
1163           Mike.
1164
1165 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
1166
1167         * plugins/elements/gstqueue.c:
1168         * plugins/elements/gstqueue.h:
1169           When dropping buffers in leaky modes, mark next buffers we sent as
1170           DISCONT.
1171
1172 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1173
1174         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
1175           Also, if mmap() fails that would be a READ error, not OPEN_READ.
1176
1177 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
1178
1179         * plugins/elements/Makefile.am:
1180         * plugins/elements/gstbufferstore.c:
1181         * plugins/elements/gstbufferstore.h:
1182         * plugins/elements/gsttypefindelement.h:
1183           Remove GstBufferStore, no idea why we were still building it.
1184           It's not used anywhere and superseded by GstAdapter.
1185
1186         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1187           (gst_file_src_create_mmap):
1188         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
1189           Printf format fixes for 64-bit integers.
1190
1191 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1192
1193         * configure.ac:
1194         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
1195         We're not in 0.8 times anymore.
1196
1197 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
1198
1199         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
1200         (gst_check_element_push_buffer_list):
1201         * libs/gst/check/gstcheck.h:
1202         Make the declaration in the header for
1203         gst_check_element_push_buffer_list match the implementation.
1204
1205         Fix up spelling, grammar and wording of the documentation in a few
1206         places, and add the Since keyword to new API functions.
1207         Use g_list_delete_link instead of g_list_remove in
1208         gst_check_drop_buffers, since it's immeasurably more efficient.
1209
1210         * tests/check/elements/fakesrc.c: (GST_START_TEST):
1211         Use new gst_check_drop_buffers function where appropriate.
1212
1213         * win32/common/libgstbase.def:
1214         * win32/common/libgstreamer.def:
1215         Add new symbols gst_collect_pads_take_buffer, 
1216         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
1217         exports
1218
1219         Changelog surgery to add API keyword to new gst_check API.
1220
1221 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1222
1223         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
1224         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
1225         Update pre-generated flex files with flex 2.3.34.
1226
1227 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
1228
1229         * gst/gstminiobject.c:
1230           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
1231           friendly to subclasses and not require them to know all internals
1232           of their parent class.
1233
1234 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1235
1236         * docs/libs/gstreamer-libs-sections.txt:
1237         * libs/gst/base/gstcollectpads.c:
1238         * libs/gst/base/gstcollectpads.h:
1239           Add sub-buffer functions to collectpads. Fixes #516187.
1240           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
1241
1242 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * gst/gstbuffer.c:
1245           Copy selected buffer-flags when creating subbuffers.
1246           Fixes #516395.
1247
1248 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
1249
1250         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
1251         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
1252         * gst/gstmessage.c: (gst_message_class_init),
1253         (gst_message_finalize):
1254         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
1255         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
1256         (gst_mmap_buffer_finalize):
1257         Properly chain up finalize functions to the parent class.
1258
1259 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
1260
1261         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
1262
1263         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
1264         (gst_index_set_resolver_full):
1265         * gst/gstindex.h:
1266         Add new function with option to dispose of user_data in resolver.
1267         Actually call the dispose function when finalizing the object and not
1268         just when changing the resolver/filter.
1269         API: GstIndex::gst_index_set_resolver_full()
1270
1271         * docs/gst/gstreamer-sections.txt:
1272         Add new function to docs. Fixes #515469.
1273
1274 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
1275
1276         * gst/gstindex.c: (gst_index_finalize):
1277         Chain up finalize to the parent class. Fixes leaking the GstObject
1278         name and other things.
1279
1280 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
1281
1282         * configure.ac:
1283         Make DISABLE_DEPRECATED defined *only* during CVS, not during
1284         pre-releases or releases.
1285
1286         * docs/faq/gst-uninstalled:
1287         Add gst-plugins-gl
1288
1289         * docs/random/release:
1290         Change one of the steps - we only upload core & base to Gnome FTP
1291
1292 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
1293
1294         * gst/gstconfig.h.in:
1295           Add 'id' for example.
1296
1297         * gst/gstpad.c:
1298         * gst/gstutils.c:
1299         * plugins/elements/gstfdsink.c:
1300           Link to signals. Doc and comment fixes.
1301
1302 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
1303
1304         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
1305         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
1306           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
1307           unused and unimplemented; finally, it is plugin features, not
1308           plugins, that have ranks.
1309           
1310 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1311
1312         * gst/gstpluginfeature.h:
1313           Clarify GstRank range docs.
1314
1315 2008-02-05  David Schleef  <ds@schleef.org>
1316
1317         * gst/gst.c: Add a separate gst_deinitialized that prevents
1318           gst_init() from being called after gst_deinit().  Fixes #509559
1319
1320 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
1321
1322         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
1323         (gst_bin_class_init):
1324         * gst/gstelement.c: (gst_element_base_class_init),
1325         (gst_element_class_add_pad_template):
1326         * gst/gstpadtemplate.c: (gst_pad_template_init):
1327         * gst/gstpipeline.c: (gst_pipeline_get_type),
1328         (gst_pipeline_base_init), (gst_pipeline_class_init):
1329         * libs/gst/base/gstbasesink.c:
1330         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1331         (gst_base_src_base_init), (gst_base_src_class_init):
1332         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1333         (gst_capsfilter_class_init):
1334         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1335         (gst_fake_sink_class_init):
1336         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1337         (gst_fake_src_class_init):
1338         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1339         (gst_fd_sink_class_init):
1340         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1341         (gst_fd_src_class_init):
1342         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1343         (gst_file_sink_class_init):
1344         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1345         (gst_file_src_class_init):
1346         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1347         (gst_identity_class_init):
1348         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1349         (gst_multi_queue_class_init):
1350         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1351         (gst_queue_class_init):
1352         * plugins/elements/gsttee.c: (gst_tee_base_init),
1353         (gst_tee_class_init):
1354         * plugins/elements/gsttypefindelement.c:
1355         (gst_type_find_element_base_init),
1356         (gst_type_find_element_class_init):
1357         * tests/check/gst/gstelement.c: (gst_element_suite):
1358         Revert previous changes to the behaviour of GstPadTemplates, etc
1359         and the possiblity to call them in class_init as it breaks too
1360         many elements. Reopens bug #491501.
1361
1362         Should be applied again for 0.11, thus added a few FIXME 0.11 at
1363         several places.
1364
1365 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * tools/gst-launch.c:
1368         Dump one graph per pipeline state-change and state change name
1369         (if GST_DEBUG_DUMP_DOT_DIR is set).
1370
1371 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
1372
1373         * gst/gstpad.c:
1374         * tests/check/gst/gstpad.c:
1375         Be sure that we have a new copy of the caps and not
1376         reffed caps from a template
1377
1378 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1379
1380         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1381         * gst/gstpipeline.c: (gst_pipeline_get_type),
1382         (gst_pipeline_class_init):
1383         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1384         (gst_base_sink_class_init):
1385         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
1386         (gst_base_src_class_init):
1387         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
1388         (gst_base_transform_class_init):
1389         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1390         (gst_collect_pads_class_init):
1391         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
1392         * libs/gst/net/gstnettimeprovider.c:
1393         (gst_net_time_provider_base_init),
1394         (gst_net_time_provider_class_init):
1395         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
1396         (gst_capsfilter_class_init):
1397         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
1398         (gst_fake_sink_class_init):
1399         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
1400         (gst_fake_src_class_init):
1401         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
1402         (gst_fd_sink_class_init):
1403         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
1404         (gst_fd_src_class_init):
1405         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
1406         (gst_file_sink_class_init):
1407         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
1408         (gst_file_src_class_init):
1409         * plugins/elements/gstidentity.c: (gst_identity_base_init),
1410         (gst_identity_class_init):
1411         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
1412         (gst_multi_queue_class_init):
1413         * plugins/elements/gstqueue.c: (gst_queue_base_init),
1414         (gst_queue_class_init):
1415         * plugins/elements/gsttee.c: (gst_tee_base_init),
1416         (gst_tee_class_init):
1417         * plugins/elements/gsttypefindelement.c:
1418         (gst_type_find_element_base_init),
1419         (gst_type_find_element_class_init):
1420         Don't use base_init where not absolutely necessary. For example it's
1421         not necessary anymore for adding pad templates or setting element
1422         details.
1423
1424         Leave empty base_init functions in several places as GST_BOILERPLATE
1425         still defines and uses them.
1426
1427 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
1428
1429         * gst/gstelement.c: (gst_element_base_class_init),
1430         (gst_element_class_add_pad_template):
1431         * gst/gstpadtemplate.c:
1432         Make it possible (and recommended) to set element details and add
1433         pad templates in the class_init functions by copying the details/pad
1434         templates in GstElement's base_init.
1435
1436         Also make it possible to replace existing pad templates by adding
1437         a new one with the same name. This was done in a hackish fashion
1438         in same elements before already.
1439
1440         Don't reference pad templates that are added a second time. A
1441         new pad template has a refcount of one and is not floating anymore
1442         and to be owned by the element's class. Make this more explicit by
1443         mentioning it in the docs of gst_element_class_add_pad_template().
1444
1445         These changes are backwards compatible. Fixes bug #491501.
1446
1447         * tests/check/gst/gstelement.c:
1448         Add unit test for setting element details, adding pad templates and
1449         replacing them in a subclass.
1450
1451 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
1452
1453         * tools/gst-inspect.c: (print_interfaces),
1454         (print_element_properties_info), (print_pad_info),
1455         (print_signal_info), (print_element_info):
1456         Fix a few memory leaks.
1457
1458 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1459
1460         * docs/libs/gstreamer-libs-sections.txt:
1461         * libs/gst/check/gstcheck.c:
1462         * libs/gst/check/gstcheck.h:
1463         Add more functions for unit testing: gst_check_drop_buffers,
1464         gst_check_caps_equal, gst_check_element_push_buffer_list,
1465         gst_check_element_push_buffer
1466         API: gst_check_drop_buffers
1467         API: gst_check_caps_equal
1468         API: gst_check_element_push_buffer_list
1469         API: gst_check_element_push_buffer
1470
1471 2008-02-01  Julien Moutte  <julien@fluendo.com>
1472
1473         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
1474         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
1475         (gst_index_finalize), (gst_index_entry_free),
1476         (gst_index_add_association): Fix memory leaks.
1477         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
1478         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
1479         (gst_mem_index_free_format), (gst_mem_index_free_id),
1480         (gst_mem_index_finalize): Fix memory leaks.
1481         * win32/common/config.h: Updated to CVS HEAD.
1482
1483 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1484
1485         * docs/README:
1486           Some more details about how the plugin docs works.
1487
1488         * docs/plugins/gstreamer-plugins-sections.txt:
1489           Whitespace cleanup.
1490
1491 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
1492
1493         * gst/parse/grammar.tab.pre.c:
1494         * gst/parse/grammar.tab.pre.h:
1495         * gst/parse/grammar.y:
1496         * gst/parse/lex._gst_parse_yy.pre.c:
1497           Add delayed set-property. This allows to set properties on dynamicaly
1498           created objects (pads in videomxer). Fixes #509391.
1499
1500 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1501
1502         * gst/gstutils.c:
1503         Check if caps are not NULL (fix bug #510194)
1504
1505 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1506
1507         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
1508         (gst_base_sink_get_position_paused):
1509         Add fixme regarding EOS in pull mode.
1510         Fix position reporting in PAUSED for negative rates.
1511
1512 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1513
1514         * gst/gstminiobject.c: (gst_mini_object_replace):
1515         When replacing a miniobject, do a quick equality check first so that we
1516         can avoid a ref/unref pair.
1517
1518 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
1519
1520         * docs/design/part-synchronisation.txt:
1521         Update some docs.
1522
1523         * docs/plugins/Makefile.am:
1524         * docs/plugins/gstreamer-plugins-docs.sgml:
1525         * docs/plugins/gstreamer-plugins-sections.txt:
1526         * plugins/elements/gstmultiqueue.c:
1527         Add multiqueue to the docs.
1528
1529 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1530
1531         * configure.ac:
1532           Back to CVS
1533
1534 === release 0.10.17 ===
1535
1536 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
1537
1538         * configure.ac:
1539           releasing 0.10.17, "Due Negligence"
1540
1541 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1542
1543         * gst/gstutils.c:
1544         Revert caps != NULL check temporarily for 0.10.17 release.
1545
1546 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1547
1548         * gst/gstutils.c:
1549         Check if caps are not NULL (fix bug #510194)
1550
1551 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1552
1553         * gst/gstutils.c:
1554         Fix compilation on systems that have posix timers but no
1555         monotonic clock.
1556         Fixes: #512715
1557         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
1558         dot net>
1559
1560 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
1561
1562         * tools/gst-inspect.c:
1563         Revert previous commit in preparation for an impromptu 0.10.17 release
1564
1565 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
1566
1567         * tools/gst-inspect.c: (print_interfaces),
1568         (print_element_properties_info), (print_pad_info),
1569         (print_signal_info), (print_element_info):
1570         Fix a few memory leaks.
1571
1572 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
1573
1574         * configure.ac:
1575         Back to CVS
1576
1577 === release 0.10.16 ===
1578
1579 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
1580
1581         * configure.ac:
1582           releasing 0.10.16, "Special Dispensation"
1583
1584 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
1585
1586         * configure.ac:
1587           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
1588           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
1589           not fail when trying to crosscompile on OpenEmbedded (#511750).
1590
1591 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
1592
1593         * docs/manuals.mak:
1594         Use $(MAKE) instead of make to fix the build if GNU make is
1595         called different. Fixes bug #510747.
1596
1597 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
1598
1599         * gst/gstplugin.c: (_gst_plugin_initialize):
1600           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
1601           again, which I broke two commits ago when changing the API
1602           of gst_plugin_register_static(): the g_list_foreach() in
1603           _gst_plugin_register_static still assumed the old function
1604           signature and would therefore fail (re-fixes #510187).
1605
1606         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
1607           (_gst_plugin_register_static), (gst_plugin_register_static):
1608           Revert the (technically correct) change to call g_thread_init() from
1609           the pre-main() constructor. This will break programs which call
1610           g_thread_init() without an if (!g_thread_supported()) guard in their
1611           main function. We could just blame it on GLib or the application, but
1612           it's probably best to just avoid this altogether and simply not use
1613           any GLib functions here and use plain old malloc() with a simple
1614           array to store the plugins to register later when gst_init() is
1615           finally called (re-fixes #510187).
1616
1617         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
1618           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
1619           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
1620           (GST_START_TEST), (gst_plugin_suite):
1621           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
1622           works.
1623
1624 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1625
1626         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1627           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
1628           This makes gtk-doc complain, but results in slightly better
1629           compiler errors. The old _gst_plugin_register_static() is
1630           still guarded, so there'll be a compiler warning about that
1631           instead. Fixes #510187 too.
1632
1633 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * gst/gst.c: (init_post):
1636         * gst/gstplugin.c: (_gst_plugin_register_static),
1637           (gst_plugin_register_static), (_gst_plugin_initialize):
1638         * gst/gstplugin.h: (GstPluginFilter):
1639           Change API of gst_plugin_register_static() to not take
1640           a GstPluginDesc, but rather just take all the arguments
1641           in a GstPluginDesc directly. This is more intuitive and
1642           avoids certain mistakes when porting code from
1643           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
1644           Fixes #510187.
1645
1646         * tests/check/gst/gstplugin.c:
1647           Fix up for changed API.
1648
1649 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
1650
1651         * docs/faq/legal.xml:
1652           Update FAQ, Totem actually has an exception these days.
1653
1654 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
1655
1656         * win32/common/libgstreamer.def:
1657         Add new API declarations
1658
1659 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * gst/gstminiobject.c:
1662           Spelling fixes for the API docs.
1663
1664 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * libs/gst/base/gstbasetransform.c:
1667           Fix long property description for QoS.
1668
1669 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
1670
1671         * gst/gst.c:
1672         _gst_trace_on is already provided by gsttrace.h, no need to declare
1673         it ourselves.
1674
1675         * docs/libs/gstreamer-libs-sections.txt:
1676         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
1677         and remove strange tcase_add_test which is outputting a warning.
1678
1679         * libs/gst/check/gstcheck.c:
1680         * libs/gst/check/gstcheck.h:
1681         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
1682         and define them in gstcheck.c instead of having every .c file whcih
1683         includes gstcheck.h be defining its own copy and relying on symbol
1684         interposing to marry them all, which doesn't work on Solaris.
1685
1686         * tests/check/elements/identity.c: (GST_START_TEST):
1687         Don't define 'buffers' locally, it comes from libgstcheck.
1688
1689         * tests/check/generic/sinks.c: (send_buffer):
1690         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
1691
1692         * tests/check/gst/gststructure.c: (GST_START_TEST):
1693         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
1694         * tests/check/gst/gstutils.c: (GST_START_TEST):
1695         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1696         Add a bunch of casts to make various constants fit the types
1697         they're being assigned to.
1698
1699 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
1700
1701         * gst/gstchildproxy.c:
1702           Improve docs and add some ideas for making this more general-purpose.
1703
1704 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
1705
1706         * gst/gst_private.h: (GST_CAT_TYPES):
1707           Add GST_CAT_TYPES, for consistency, and so that the other
1708           debug categories don't make fun of it. Spotted by Saur on IRC.
1709
1710 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1711
1712         * gst/parse/Makefile.am:
1713           Move types.h from EXTRA_DIST to noinst_HEADERS.
1714
1715 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
1716
1717         * autogen.sh:
1718           Add -Wno-portability to the automake parameters to stop warnings
1719           about GNU make extensions being used. We require GNU make in almost
1720           every Makefile anyway.
1721
1722         * configure.ac:
1723           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
1724           at the same time is required for per target flags.
1725
1726 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1727
1728         * gst/gstmacros.h:
1729           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
1730           __GNUC__ is defined before using it.
1731
1732 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1733
1734         * docs/gst/gstreamer-sections.txt:
1735         * gst/gst.c: (init_post):
1736         * gst/gstplugin.c: (_gst_plugin_register_static),
1737           (gst_plugin_register_static), (_gst_plugin_initialize),
1738           (gst_plugin_register_func):
1739         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
1740           API: add gst_plugin_register_static() and deprecate
1741           GST_PLUGIN_DEFINE_STATIC, since it's not portable
1742           (#498924).
1743           Also, in _gst_plugin_register_static(), make sure to call
1744           g_thread_init() before calling GLib functions such as
1745           g_list_append() if we're not initialised yet, since that
1746           may lead to random crashes with older GSlice/GLib versions.
1747
1748         * tests/check/gst/gstplugin.c:
1749           Adapt unit test to above changes.
1750
1751 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1752
1753         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
1754         * gst/gstcaps.c: (gst_caps_to_string):
1755         * gst/gststructure.c: (GST_ASCII_IS_STRING),
1756           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
1757           Yet another gratuitous GString micro-optimisation: add a (private)
1758           function that serialises a structure appending to an existing
1759           GString, so that when we serialise caps we don't need to alloc+free
1760           a throwaway GString for each structure (each of which also entailing
1761           multiple reallocs on the way); also use g_string_sized_new() in
1762           various places with an approximate string length to avoid reallocs
1763           within GString. See #500143.
1764
1765 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
1766
1767         * gst/gststructure.c: (gst_structure_id_set_value):
1768           Always check UTF-8 conformance of structure strings and not only
1769           if the debugging system is enabled; reasoning: the behaviour of
1770           the actual code shouldn't really change depending on whether the
1771           debugging system is enabled or not (#508291).
1772
1773 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
1774
1775         * Makefile.am:
1776           Remove old coverage target in favour of "make lcov".
1777
1778 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1779
1780         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1781         (gst_base_src_loop):
1782         The start segment for reverse playback goes from start to last_stop.
1783
1784 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1785
1786         Patch by: Peter Kjellerstedt <pkj axis com>
1787
1788         * gst/gstclock.h:
1789         Cast the results from the timeval/spec_to_time macros to what the
1790         docs say it casts to, a GstClockTime. fixes #508175.
1791
1792 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1793
1794         * gst/gstbuffer.c:
1795         Update some comments.
1796
1797         * tools/gst-inspect.c: (print_element_properties_info):
1798         Improve printing of flags.
1799
1800 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
1801
1802         * libs/gst/base/gstbasetransform.c:
1803           (gst_base_transform_transform_size):
1804           Print element name with g_warning() if there's a problem
1805           with the unit size.
1806
1807 2008-01-07  David Schleef  <ds@schleef.org>
1808
1809         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
1810
1811         * libs/gst/controller/gstcontroller.h:
1812         * libs/gst/controller/gstcontrolsource.h:
1813         * libs/gst/controller/gstinterpolationcontrolsource.h:
1814         * libs/gst/controller/gstlfocontrolsource.h:
1815         * libs/gst/dataprotocol/dataprotocol.h:
1816           Fix empty prototypes.  Fixes bug #507957.
1817
1818 2008-01-07  David Schleef  <ds@schleef.org>
1819
1820         * docs/faq/dependencies.xml: Fix typo.
1821
1822 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1823
1824         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
1825         (gst_base_src_loop):
1826         Don't update the last_stop position in do_seek, that's the position we
1827         did a seek to.
1828         Read backwards when we have a negative rate.
1829
1830         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
1831         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
1832         (filesrc_suite):
1833         Add check for reverse reading.
1834
1835 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
1836
1837         Patch by: Alexis Ballier <aballier at gentoo org>
1838
1839         * tests/check/gst/gstabi.c:
1840         * tests/check/gst/struct_ppc64.h:
1841         * tests/check/libs/libsabi.c:
1842         * tests/check/libs/struct_ppc64.h:
1843           Decide which header to include based on the userland ABI target
1844           and not the kernel/cpu. Fix up structure sizes of ppc64 header
1845           for 64-bit userland (#503590).  Might need something similar for
1846           x86 too.
1847
1848 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
1849
1850         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
1851           Log the reason why fopen fails in addition to the fact that it failed.
1852           
1853 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
1854
1855         * gst/parse/parse.l:
1856         Use "%option never-interactive" to prevent useless calls to isatty()
1857         on every input when parsing. Also use "%option noinput" to not define
1858         the static input/yyinput functions which we don't use anyway. This
1859         removes a compiler warning with gcc 4.3 and saves some bytes in the
1860         library.
1861         
1862         * gst/parse/lex._gst_parse_yy.pre.c:
1863         Regenerated for the above change.
1864
1865 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1866
1867         * gst/gstpad.c: (fixate_value):
1868         Don't crash when trying to fixate and empty list.
1869         Fixes #506643.
1870
1871 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
1872
1873         * docs/faq/gst-uninstalled:
1874         Clarify the comments to make the usage of this script and what it
1875         does easier to understand.
1876
1877 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
1878
1879         * tools/gst-plot-timeline.py:
1880         Add more options to gst-plot-timeline
1881
1882 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
1883
1884         * docs/design/part-synchronisation.txt:
1885         Some more info on how the stream_time in GstBaseSink is done.
1886
1887 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
1888
1889         * tests/check/generic/sinks.c: (gst_sinks_suite):
1890           Put back the tcase_set_timeout(), apparently it's needed after
1891           all; fix it up in a way that makes things work with valgrind too.
1892
1893 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
1894
1895         * gst/gstdebugutils.c:
1896           Add warning when failed to open file for writing.
1897
1898 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1899
1900         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
1901
1902         * gst/gstvalue.c: (gst_value_is_fixed):
1903           Optimisation: bail out of the loop as early as possible (#500143).
1904
1905 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1906
1907         * gst/gstcaps.c: (gst_caps_to_string):
1908         * gst/gstinfo.c: (gst_debug_construct_term_color):
1909         * gst/gstparse.c: (gst_parse_launchv):
1910         * gst/gstutils.c: (gst_util_dump_mem):
1911         * gst/gstvalue.c: (gst_value_serialize_any_list),
1912           (gst_value_transform_any_list_string):
1913           Bunch of gratuitous nano-optimisations.
1914
1915 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
1916
1917         * tests/check/generic/sinks.c: (async_done_func),
1918           (async_done_eos_func):
1919           Fix leak in unit test (bus sync handler must unref the message
1920           if it returns GST_BUS_DROP). Don't fiddle with the default test
1921           timeout, this is smaller than the current preconfigured value
1922           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
1923           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
1924
1925 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1926
1927         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
1928
1929         * configure.ac:
1930         Check for stdio_ext.h for the filesink changes.
1931
1932         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
1933         (gst_file_sink_class_init), (gst_file_sink_init),
1934         (gst_file_sink_dispose), (gst_file_sink_set_property),
1935         (gst_file_sink_get_property), (gst_file_sink_open_file),
1936         (gst_file_sink_close_file):
1937         * plugins/elements/gstfilesink.h:
1938         Add two properties to control the buffering mode and size.
1939         API: GstFileSink::buffer-mode
1940         API: GstFileSink::buffer-size
1941         Fixes #500150.
1942
1943 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1944
1945         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
1946         Add some more docs to explain why a FIXME was wrongly added. 
1947
1948 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
1949
1950         * gst/gstobject.c:
1951           Fix typo in the gst_object_{ref,unref} documentation.
1952
1953 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1954
1955         * tests/check/libs/controller.c:
1956         * tests/check/libs/typefindhelper.c:
1957         * tests/check/pipelines/parse-launch.c:
1958           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
1959           going to be deprecated (see #498924).
1960
1961 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
1962
1963         * gst/gsttypefind.c: (gst_type_find_register):
1964           Make gst_type_find_register work for static typefind functions,
1965           ie. allow passing plugin == NULL (prerequisite for #498924).
1966
1967         * gst/gstelementfactory.c: (gst_element_register):
1968           Small docs addition.
1969
1970 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1971
1972         * gst/gstpad.c: (gst_pad_dispose):
1973         Really unlink the peer pad instead of setting the peer pointer to NULL
1974         when we dispose the pad.
1975         This correctly calls the unlink functions and makes sure that the peer
1976         does not have a handle to invalid memory. See #504671.
1977
1978         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1979         Add testsuite for above case.
1980
1981 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
1982
1983         Patch by: Peter Kjellerstedt <pkj axis com>
1984
1985         * libs/gst/check/gstcheck.h:
1986           Fix detection of the check version we're compiling against (would
1987           otherwise break if check goes v0.10.0); correctly report the
1988           name of the failed test again in case of failure, instead of
1989           just 'tf' (fixes #504499).
1990
1991 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
1992
1993         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
1994         (gst_base_src_get_range), (gst_base_src_pad_get_range),
1995         (gst_base_src_loop), (gst_base_src_set_flushing),
1996         (gst_base_src_change_state):
1997         Allow sending EOS to the source to make it send out an EOS event from
1998         the streaming thread.
1999         Update docs and deprecate the old NULL/READY shutdown method.
2000
2001         * tests/check/libs/basesrc.c: (GST_START_TEST),
2002         (gst_basesrc_suite):
2003         Add unit test for controlled shutdown.
2004
2005 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2006
2007         * docs/design/part-synchronisation.txt:
2008         Small updates.
2009
2010         * gst/gstsegment.c: (gst_segment_set_seek),
2011         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2012         (gst_segment_to_running_time):
2013         The seek format can be different from the segment format when the start
2014         and stop values are not to be updated, when we only do a rate change for
2015         example.
2016
2017         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2018         (gst_segment_suite):
2019         Add a testcase for the rate-only seeks, checking that the format is
2020         correctly ignored when start and stop are not updated.
2021
2022 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
2023
2024         Patch by: Matthias Bolte <photon at mail dot upb dot de>
2025
2026         * win32/vs8/grammar.vcproj:
2027         * win32/vs8/libgstcontroller.vcproj:
2028         * win32/vs8/libgstreamer.vcproj:
2029         Fix compilation with VS8 and include some missing files.
2030
2031 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
2032
2033         * gst/gsttaglist.c:
2034           Small docs addition: mention that the strings returned by
2035           gst_tag_list_get_string*() are in UTF-8 encoding.
2036
2037 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
2038
2039         * Makefile.am:
2040           The check-exports stuff moved to common/win32.mak, so include that.
2041
2042 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
2043
2044         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
2045         (gst_base_src_perform_seek), (gst_base_src_get_range),
2046         (gst_base_src_set_playing), (gst_base_src_change_state):
2047         Make _wait_playing() not check any variables so that we can call this
2048         function from subclasses. Move the checks elsewhere similar to
2049         _wait_preroll() in basesink.
2050         Add some debugging.
2051         Only signal the LIVE cond when we are going back to PLAYING.
2052
2053 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
2054
2055         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
2056           Use g_remove() and g_rename(). Check result of g_rename(), and
2057           don't leak the open file descriptor if we error out when writing.
2058
2059         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
2060           Must check the return value of close() after writing out the new
2061           registry file.  Sometimes write problems such as out-of-diskspace
2062           are only reported when the file is closed and not already during
2063           the write.  This may have caused partial/broken registry files in
2064           some rare circumstances. Should fix #503675.
2065
2066 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
2067
2068         * docs/gst/.cvsignore:
2069         * docs/libs/.cvsignore:
2070         * docs/plugins/.cvsignore:
2071         Ignore files generated by new common/* modifications
2072
2073 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2074
2075         * win32/common/libgstbase.def:
2076           Yes, you can also have a <TAB> if you want.
2077
2078 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2079
2080         * win32/common/libgstbase.def:
2081           Add new basetransform API to win export file.
2082
2083 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
2084
2085         * tests/check/gst/gstbin.c:
2086           Adjust the test to the refcount change two days ago.
2087
2088 2007-12-14  David Schleef  <ds@schleef.org>
2089
2090         * docs/faq/getting.xml: Fix typo.
2091
2092 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
2093
2094         * docs/libs/gstreamer-libs-sections.txt:
2095         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
2096           (gst_base_transform_prepare_output_buffer),
2097           (gst_base_transform_set_gap_aware):
2098         * libs/gst/base/gstbasetransform.h:
2099           API: Add gst_base_transform_set_gap_aware() to control whether
2100           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
2101           get buffers with this flag at all. Fixes #503231.
2102
2103 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
2104
2105         * libs/gst/base/gstbasesink.c:
2106         * libs/gst/base/gstbasesrc.c:
2107         * libs/gst/base/gstbasetransform.c:
2108           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
2109           thread. Correct log message in gstbasesrc.c.
2110
2111 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2112
2113         * gst/gstutils.c: (element_find_unconnected_pad):
2114           Fix possible compiler warning (#503417).
2115
2116 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
2117
2118         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
2119           Don't use GST_CAT_EVENT here for logging, it makes no sense.
2120
2121 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
2122
2123         * tools/gst-inspect.c: (print_element_properties_info):
2124           Add support for GstFraction properties.
2125
2126 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
2127
2128         * Makefile.am:
2129           Add check-exports target and run it as part of 'make check'
2130           (see #499140 and #493983).
2131
2132         * gst/gst_private.h:
2133         * gst/gstelementfactory.h:
2134         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
2135         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
2136           (_priv_gst_in_valgrind):
2137         * gst/gstinfo.h: (GstLogFunction):
2138         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
2139           (gst_type_find_register):
2140         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
2141           (gst_type_find_factory_get_type):
2142         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
2143           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
2144           (gst_controller_new_valist), (gst_controller_new_list),
2145           (_gst_controller_dispose), (_gst_controller_class_init):
2146         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
2147         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
2148           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
2149           (gst_object_get_controller), (gst_object_set_controller),
2150           (gst_object_suggest_next_sync), (gst_object_sync_values),
2151           (gst_object_set_control_source), (gst_object_get_control_source),
2152           (gst_object_get_value_arrays), (gst_object_get_value_array),
2153           (gst_object_get_control_rate), (gst_object_set_control_rate):
2154         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
2155         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
2156           Make some functions that should be static static; rename some
2157           private symbols so that they don't get exported; add some FIXME
2158           comments so we can move accidentally exported functions into
2159           our private section in 0.11.
2160
2161         * win32/common/libgstreamer.def:
2162           Add gst_utils_get_timestamp().
2163
2164 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2165
2166         * gst/gstvalue.c:
2167         * gst/gstvalue.h:
2168           Add more missing "Since:" tags to docs.
2169
2170 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
2171
2172         * gst/gstutils.c:
2173           Add mising "Since:" to docs.
2174
2175 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2176
2177         * gst/gstplugin.c:
2178           Include "glib-compat-private.h" to fix the build on system with
2179           glib < 2.10. Fixes #503131.
2180
2181 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2182
2183         * gst/gstutils.c:
2184         * gst/gstutils.h:
2185           Actually its not PURE as it gets the time from elsewhere.
2186
2187 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2188
2189         * docs/gst/gstreamer-sections.txt:
2190         * gst/gstclock.h:
2191         * gst/gstdebugutils.c:
2192         * gst/gstinfo.c:
2193         * gst/gstutils.c:
2194         * gst/gstutils.h:
2195         * libs/gst/base/gstbasesink.c:
2196         * tools/gst-launch.c:
2197           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
2198           uses as we don't have HAVE_POSIX_TIMERS in public headers.
2199           Thanks Tim for spotting.
2200           API: gst_util_get_timestamp
2201
2202 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
2203
2204         * configure.ac:
2205           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
2206
2207 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
2208
2209         * gst/gststructure.c: (gst_structure_validate_name),
2210           (gst_structure_new_valist), (gst_structure_parse_value),
2211           (gst_structure_from_string):
2212           Don't crash in _from_string() if the structure name is not valid
2213           (fixes #501560).  Allow structure names to start with a number
2214           again (this apparently broke the ubuntu codec installer).
2215
2216         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
2217           (GST_START_TEST):
2218           Add unit test for the crash; update unit tests for new behaviour.
2219
2220 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
2221
2222         * gst/gstutils.c:
2223         Clarify gst_element_get_compatible_pad() documentation.
2224         Fixes #500919.
2225
2226 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
2227
2228         * tests/check/Makefile.am:
2229           Don't forget to dist {gst,libs}/struct_hppa.h.
2230
2231 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2232
2233         * libs/gst/base/gstbasesink.c:
2234           Use new API to get elapsed time.
2235
2236 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2237
2238         * gst/gstdebugutils.c:
2239         * gst/gstinfo.c:
2240           Fix wrong order of args in GST_CLOCK_DIFF() usage.
2241
2242         * tools/gst-launch.c:
2243           Use new API to get elapsed time.
2244
2245 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2246
2247         * docs/gst/gstreamer-sections.txt:
2248         * gst/gstclock.h:
2249         * gst/gstdebugutils.c:
2250         * gst/gstinfo.c:
2251           Rename new API + ChangeLog surgery to remove old name from last entry..
2252
2253 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2254
2255         * docs/gst/gstreamer-sections.txt:
2256         * gst/gstclock.h:
2257         * gst/gstdebugutils.c:
2258         * gst/gstinfo.c:
2259           Now hide the different clock stuff behind a macro.
2260
2261 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
2262
2263         * configure.ac:
2264         * gst/gstdebugutils.c:
2265         * gst/gstinfo.c:
2266           Apply the posix-timer check from #361155. Conditionally use the posix
2267           timer for logging. This gives better timestamp precission, less
2268           overhead and no ntp jitter.
2269
2270 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
2271
2272         * gst/gstminiobject.c: (gst_mini_object_get_type),
2273         (gst_mini_object_class_init), (gst_mini_object_copy_default),
2274         (gst_mini_object_finalize), (gst_mini_object_copy),
2275         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
2276         (gst_mini_object_replace), (param_mini_object_validate),
2277         (gst_param_spec_mini_object_get_type):
2278         Some cleanup and checking against invalid function parameters.
2279
2280 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
2281
2282         * docs/gst/gstreamer-sections.txt:
2283         * gst/gstclock.h:
2284         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2285         (gst_systemclock_suite):
2286         Start merging in the easy bits of #361155, the monotonic clock patch.
2287         This one adds a few handy macros with docs and a testsuite.
2288
2289 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
2290
2291         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
2292         Be a bit smarter when seeking, like, don't try to do a seek when it's
2293         not needed. This avoids errors when the file is not seekable.
2294         Fixes #499771.
2295
2296 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
2297
2298         * docs/gst/gstreamer-docs.sgml:
2299         * docs/gst/gstreamer-sections.txt:
2300         * docs/gst/gstreamer.types.in:
2301         * gst/Makefile.am:
2302         * gst/gst.h:
2303         * gst/gstpreset.c:
2304         * gst/gstpreset.h:
2305         * plugins/elements/gstqueue.c:
2306           Due to popular request remove preset interface again. :-(.
2307
2308 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2309
2310         * tools/gst-inspect.c:
2311           Print 'default value' for enums and flags too.
2312
2313 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2314
2315         * docs/random/ensonic/profiling.txt:
2316           More ideas.
2317
2318         * gst/gstbin.c:
2319           Fix typo and give better log output.
2320
2321         * gst/gstdebugutils.c:
2322         * gst/gstdebugutils.h:
2323           More ideas, make graphs a bit smaller and fix param name in macro.
2324
2325 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
2326
2327         * gst/gstpreset.c:
2328           Try harder to use the return value from fgets().
2329
2330 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
2331
2332         * gst/gstpreset.c:
2333           For theses two fgets we handle the error below.
2334
2335 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2336
2337         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
2338         Only send upstream events upstream. Fixes #498746.
2339
2340 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
2341
2342         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2343
2344         * plugins/elements/gstidentity.c: (gst_identity_class_init),
2345         (gst_identity_init), (gst_identity_transform_ip),
2346         (gst_identity_set_property), (gst_identity_get_property):
2347         * plugins/elements/gstidentity.h:
2348         Add property to disable handoff signal emission. Fixes #498694.
2349         API: GstIdentity::signal-handoffs
2350
2351 2007-11-21  Julien Moutte  <julien@fluendo.com>
2352
2353         * docs/faq/gst-uninstalled: Yet another missing library for the
2354         uninstalled script (fft)
2355
2356 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
2357
2358         * docs/faq/developing.xml:
2359         Add a question about how to submit new translations.
2360
2361         * docs/random/release:
2362         Update the contact email address for the Translation Project
2363
2364         * plugins/elements/gstfdsrc.c:
2365         The parent_class for fdsrc is pushsrc, not GstElement.
2366
2367 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2368
2369         * gst/gstpreset.c:
2370           Plug a leak and fix saving.
2371
2372 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
2373
2374         * docs/gst/gstreamer-sections.txt:
2375         Add new gst_preset__get_property_names() function to the docs
2376         to fix the build.
2377
2378 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
2379
2380         * gst/gstpreset.c:
2381         * gst/gstpreset.h:
2382           Change _get_preset_names API to return a strv with copies. Add
2383           _get_property_names to allow implementations to filter and provide
2384           good default implementation.
2385
2386 2007-11-20  Julien MOUTTE  <julien@moutte.net>
2387
2388         * docs/faq/gst-uninstalled: Add another library to the uninstalled
2389         script (sdp).
2390
2391 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2392
2393         * gst/gstpreset.c:
2394           More cleanups, docs, and TODOs from comments that now slowly come in.
2395
2396 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2397
2398         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
2399         search path.
2400
2401 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
2402
2403         * gst/gstpreset.c:
2404           Fix bogus warning and make the property type specific code more
2405           similar.
2406
2407 2007-11-19  Julien MOUTTE  <julien@moutte.net>
2408
2409         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
2410         it build on OS X.
2411
2412 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
2413
2414         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
2415         (gst_bin_add_func), (gst_bin_remove_func),
2416         (gst_bin_change_state_func), (gst_bin_continue_func):
2417         Change email, cleanups add some more debug and comments.
2418         Also set bus and clock on new elements when the pipeline was in error.
2419
2420 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
2421
2422         * gst/gstbin.c:
2423         * gst/gstdebugutils.c:
2424           Fix build with --disable-gst-debug. Fixes #497859.
2425           Spotted by Sameer Naik.
2426
2427 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2428
2429         * gst/gstevent.c:
2430           Little documentation improvment.
2431
2432         * gst/gstpreset.c:
2433           More TODO cleanups. Remove c++ comments.
2434
2435         * libs/gst/controller/gstcontroller.c:
2436           Add TODO and use quark from static string.
2437
2438         * tests/check/gst/gstmessage.c:
2439         * tests/check/gst/gststructure.c:
2440           Use quark from static string.
2441
2442 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2443
2444         * gst/gstpreset.c:
2445           Add some comments and TODOs.
2446
2447         * gst/gstpreset.h:
2448           Add padding for future changes.
2449
2450         * plugins/elements/gstqueue.c:
2451           Implement the iface.    
2452
2453 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
2454
2455         * docs/gst/gstreamer-docs.sgml:
2456         * docs/gst/gstreamer-sections.txt:
2457         * docs/gst/gstreamer.types.in:
2458         * gst/Makefile.am:
2459         * gst/gst.h:
2460         * gst/gstpreset.c:
2461         * gst/gstpreset.h:
2462           Add the preset interface (Fixes #396779). Do some doc cleanups along.
2463
2464 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
2465
2466         * configure.ac:
2467
2468         Back to CVS
2469
2470 === release 0.10.15 ===
2471
2472 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
2473
2474         * configure.ac:
2475           releasing 0.10.15, "October"
2476
2477 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
2478
2479         * win32/vs6/libgstreamer.dsp:
2480         Convert line endings back to DOS.
2481
2482 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
2483
2484         * docs/design/draft-tagreading.txt:
2485         * docs/random/ensonic/profiling.txt:
2486         Update fast tagreading draft and performance profiling ideas.
2487
2488 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2489
2490         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
2491         Don't hold the object lock when unreffing a buffer because it could
2492         cause a deadlock when the finalize function wants to grab the object
2493         lock too. Fixes #495133.
2494
2495 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
2496
2497         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
2498         (gst_segment_to_stream_time), (gst_segment_to_running_time):
2499         Also accumulate time correctly when doing reverse playback. Fixes
2500         #488201,
2501         When converting to running and stream time, use default values for
2502         start/stop/time/accum when comparing different formats. Fixes #494245.
2503
2504         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2505         Do running/stream time in TIME format.
2506
2507         * tests/check/gst/gstsegment.c: (GST_START_TEST),
2508         (gst_segment_suite):
2509         2 new unit tests for segment accumulation.
2510
2511 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
2512
2513         * gst/gst.c: (init_pre):
2514         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
2515           (_gst_debug_bin_to_dot_file):
2516           Move getenv() back into gst_init, so everyone can live happily
2517           ever after. Make sure the symbol isn't exported though.
2518
2519 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2520
2521         Patch by: Sebastien Moutte  <sebastien moutte net>
2522
2523         * win32/common/gstenumtypes.c:
2524         * win32/common/gstenumtypes.h:
2525           Update enum types.
2526
2527         * win32/vs6/libgstreamer.dsp:
2528           Update vs6 project files (#494343).
2529
2530 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2531
2532         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
2533         (gst_base_src_perform_seek), (gst_base_src_default_event),
2534         (gst_base_src_set_flushing), (gst_base_src_activate_push),
2535         (gst_base_src_activate_pull):
2536         Unify flushing code, remove some old unlock code that is no longer used.
2537         Take the streaming lock when seeking to avoid races. Fixes #492729.
2538         Added some more comments.
2539
2540 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * gst/gst.c: (_gst_disable_segtrap):
2543           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
2544           we can use gst_segtrap_is_enabled() there now that we have that API.
2545           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
2546           to do the getenv here (and export the variable).
2547
2548         * gst/gstdebugutils.c: (debug_dump_element),
2549           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
2550           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
2551
2552         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
2553           (gst_debug_log_default):
2554           Rename _gst_info_start_time to priv_gst_info_start_time so it
2555           doesn't get exported (was never in any header).
2556
2557         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
2558           (gst_plugin_loading_mutex):
2559           Make static mutex gst_plugin_loading_mutex really static (was never
2560           in any header), and use gst_segtrap_is_enabled() instead of
2561           _gst_disable_segtrap.
2562
2563         * gst/gsttrace.c: (_gst_trace_default):
2564           Make local _gst_trace_default static (was never in any header).
2565
2566 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2567
2568         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2569
2570         * win32/common/libgstbase.def:
2571         * win32/common/libgstcontroller.def:
2572         * win32/common/libgstdataprotocol.def:
2573         * win32/common/libgstnet.def:
2574         * win32/common/libgstreamer.def:
2575           Add more missing symbols, remove some duplicates, and sort
2576           as the 'sort' command sorts it (partially fixes #493983).
2577
2578 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2579
2580         * gst/gstelement.c: (gst_element_set_state_func):
2581         Only change the state cookie if a different state was set on the
2582         element. See #492729.
2583
2584 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
2585
2586         * gst/gstvalue.c:
2587           Remove unused and uninitialised type variables that were still
2588           exported for some reason (they were never in any header files
2589           though).
2590
2591 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2592
2593         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2594         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
2595         (gst_base_sink_event), (gst_base_sink_get_position_last),
2596         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2597         (gst_base_sink_change_state):
2598         Don't try to report a 0 position when we don't know, return -1 and FALSE
2599         instead. This mostly happens when we are prerolling.
2600         Make sure we can report the right position before we post the ASYNC_DONE
2601         message so that a message handler can query position without races.
2602
2603         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
2604         (async_done_handoff), (async_done_func), (send_buffer),
2605         (async_done_eos_func), (gst_sinks_suite):
2606         Add two tests for the above.
2607
2608 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
2609
2610         * MAINTAINERS:
2611         Update with new email address.
2612
2613         * docs/design/part-TODO.txt:
2614         Add some more info about future pad-block and negotiation changes.
2615
2616         * docs/design/part-buffering.txt:
2617         Add some ideas about buffering reporting.
2618
2619 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
2620
2621         * tests/check/gst/gstobject.c:
2622         Disable silly racy test that always fails on this combination of CPU
2623         and kernel.
2624
2625 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
2626
2627         Patch by: Murray Cumming  <murrayc@murrayc.com>
2628
2629         * gst/gstobject.c:
2630           Corrected the registration of the parent-set and parent-unset
2631           signals: The parameter is a GstObject, not a GObject (#493134).
2632
2633 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2634
2635         * gst/gst_private.h:
2636         * gst/gstbuffer.h:
2637         * gst/gstevent.h:
2638         * gst/gstformat.h:
2639         * gst/gstmessage.h:
2640         * gst/gstplugin.h:
2641         * gst/gstquery.h:
2642         * gst/gsttaglist.h:
2643         * gst/gstvalue.h:
2644           Move declaration of private _gst_foo_initialize() functions into
2645           our private header file where they should have been all along.
2646
2647 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2648
2649         * docs/plugins/gstreamer-plugins-sections.txt:
2650         * gst/gstdebugutils.h:
2651         * gst/gstxml.h:
2652         * plugins/elements/gstqueue.c:
2653           gtk-doc fixes; trailing-comma-in-enum fix.
2654
2655 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
2656
2657         * gst/gst.c: (gst_deinit):
2658           Clean up on deinit (not the external ones though, doesn't seem to be
2659           needed for some reason).
2660
2661 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2662
2663         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
2664           Remove __declspec(dllimport) for MSVC that was copied over into core
2665           from a plugin, obviously without ever having been tested (note the
2666           single underscore in _declspec in the initial commit), and that doesn't
2667           really make sense.  See #492077.
2668
2669 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2670
2671         * gst/gst.c: (init_post):
2672         * gst/gstevent.c: (_gst_event_initialize):
2673         * gst/gstquery.c: (_gst_query_initialize):
2674         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
2675           g_type_class_ref() other types as well, see #349410 and #64764.
2676
2677         * gst/gstbuffer.c: (_gst_buffer_initialize):
2678         * gst/gstmessage.c: (_gst_message_initialize):
2679           Simplify existing g_type_class_ref().
2680
2681 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2682
2683         * gst/gstformat.c: (_gst_format_initialize):
2684           g_type_class_ref() our GstFormat type to make sure we avoid the
2685           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
2686           bug #64764. Should fix intermittent tee unit test failures (#474823).
2687
2688 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
2689
2690         * tests/check/elements/tee.c: (test_num_buffers):
2691           Simplify, simplify, simplify - or not.  Rewrite unit test
2692           not to use gst_parse_launch(); allow N sub-streams. Increasing
2693           the number of sub-streams seems to reproduce #474823 more easily.
2694
2695 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2696
2697         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
2698
2699         * gst/gsttrace.c:
2700         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2701         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2702         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
2703           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
2704           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
2705           so use _pipe() directly (#492077).
2706
2707         * win32/common/dirent.c: (_treaddir):
2708           Add a couple of casts to make it build without warnings with MSVC.
2709
2710         * win32/common/libgstreamer.def:
2711           Add some more symbols that need to be exported.
2712
2713 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * tests/examples/metadata/read-metadata.c: (message_loop):
2716           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
2717           arriving in a second or third tag message are added to
2718           the tag list as well.
2719
2720 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * libs/gst/base/gstbasesrc.c:
2723           Its "Since:" and not "@Since:". And remove an superflous cast.
2724
2725 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
2726
2727         * docs/libs/gstreamer-libs-sections.txt:
2728         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2729         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
2730         (gst_base_sink_get_property), (gst_base_sink_render_object),
2731         (gst_base_sink_preroll_object),
2732         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
2733         (gst_base_sink_change_state):
2734         * libs/gst/base/gstbasesink.h:
2735         Add a new last-buffer property that contains the last buffer used in
2736         basesink for preroll or rendering. useful for making snapshots.
2737         API: gst_base_sink_get_last_buffer()
2738         API: GstBaseSink::last-buffer
2739
2740 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2741
2742         * docs/gst/running.xml:
2743         * gst/gst.c:
2744         * gst/gstdebugutils.c:
2745         * gst/gstdebugutils.h:
2746         * tools/gst-launch.c:
2747           Improve bin graph dumping, by using the envvar to specify a path.
2748           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
2749
2750 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
2751
2752         * plugins/elements/gsttypefindelement.c:
2753           (gst_type_find_element_handle_event),
2754           (gst_type_find_element_activate):
2755           Post special error message if we can't determine the type of a stream
2756           because it's empty.
2757
2758 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
2759
2760         * docs/gst/running.xml:
2761         * gst/gstdebugutils.c:
2762           Document new env-var. Add one log-line after dumpng a graph.
2763
2764 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
2765
2766         * configure.ac:
2767           Ugly hack to put the (recently removed and non-portable, apparently)
2768           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
2769           GNU ld, because without that 'make check' fails miserably on my debian
2770           stable box.  Someone with more knowledge of linker intricacies and
2771           portability issues than me fix this properly please.
2772
2773 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
2774
2775         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2776         Reset last seen position after flushing so that we don't report the old
2777         position anymore.
2778
2779 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2780
2781         * gst/gstelementfactory.c: (gst_element_register):
2782         * gst/gsturi.h:
2783         Patch from Alessandro Decina adding get_type_full and
2784         get_protocols_full private vfuncs to the URIHandler interface
2785         to allow bindings to support creating URI handlers. 
2786         Partially fixes: #339279
2787         API: GstURIHandlerInterface::get_type_full
2788         API: GstURIHandlerInterface::get_protocols_full
2789
2790 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2791
2792         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2793         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
2794         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
2795         Make it so that pads are considered linked until a buffer is pushed
2796         and discovered otherwise. This avoids problems with decodebin2 hanging
2797         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
2798         case.
2799
2800         Make sure we lock the multiqueue when updating the max-size properties.
2801         
2802         Fix a crash on Solaris in a debug statement in get_request_pad that
2803         passes a NULL string to GST_DEBUG. 
2804
2805         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2806         (run_output_order_test):
2807         Fix the test to allow the first buffer on not-linked pads to come out
2808         of sequence while multiqueue discovers that they are not-linked.
2809
2810 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
2811
2812         * configure.ac:
2813         * libs/gst/check/Makefile.am:
2814         Use a custom export symbol regex for libgstcheck, as it needs
2815         to export symbols that don't match the standard GStreamer gst_*
2816         pattern, and  --export-dynamic is not portable (only works on 
2817         GNU ld)
2818
2819         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
2820         (gst_check_setup_sink_pad):
2821         Make sure to pass a message parameter to the fail_* macros.
2822
2823         * tests/check/gst/gstinfo.c: (GST_START_TEST):
2824         Fix some compiler warnings.
2825
2826 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
2827
2828         * tests/check/gst/gststructure.c: (test_to_string):
2829           Disable test that checks that white spaces are not allowed
2830           in structure names or field names, since we need to
2831           support that for now for backwards compatibility reasons.
2832
2833 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2834
2835         * docs/gst/gstreamer-sections.txt:
2836         * gst/gsttaglist.c:
2837         * gst/gsttaglist.h:
2838           API: add GST_TAG_ARTIST_SORTNAME
2839           API: add GST_TAG_ALBUM_SORTNAME
2840           API: add GST_TAG_TITLE_SORTNAME
2841           Add tag variants for sorting (#414539).
2842
2843 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
2844
2845         * gst/gststructure.c:
2846           Also allow white space for names so we don't break
2847           backwards compatibility.
2848
2849 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
2850
2851         * docs/design/part-TODO.txt:
2852         * docs/design/part-segments.txt:
2853         * docs/design/part-streams.txt:
2854         Small updates.
2855
2856 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2857
2858         * docs/gst/gstreamer-sections.txt:
2859          Fixed documentation from my previous commit (added new API add
2860          gst_value_set_structure(), add gst_value_get_structure() and
2861          GST_VALUE_HOLDS_STRUCTURE).
2862
2863 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
2864
2865         * gst/gstdebugutils.c:
2866           Reflow code to fix uninitialized variable warning.
2867
2868 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
2869
2870         * gst/gstcaps.c: (gst_caps_to_string),
2871         (gst_caps_from_string_inplace):
2872         * gst/gststructure.c: (gst_structure_get_abbrs),
2873         (gst_structure_to_string), (gst_structure_from_string):
2874         * gst/gstvalue.c: (gst_value_set_structure),
2875         (gst_value_get_structure), (gst_value_serialize_structure),
2876         (gst_value_deserialize_structure), (_gst_value_initialize):
2877         * gst/gstvalue.h:
2878         * tests/check/gst/gststructure.c: (GST_START_TEST),
2879         (gst_structure_suite):
2880         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2881          Added GstStructure to gst_value_table and its related functions.
2882          Changed gst_structure_to_string to print ';' in the end.
2883          Changed gst_caps_to_string to not print ';' beteween its
2884          fields (structures) anymore and remove the lastes ';' from latest
2885          structure. Now it is possible to have nested structures.
2886          In addition, backward compatibilty is assured by accepting '\0' as
2887          end delimiter. Fixes: #487969.
2888          API: add gst_value_set_structure()
2889          API: add gst_value_get_structure()
2890          API: add GST_VALUE_HOLDS_STRUCTURE
2891
2892 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
2893
2894         * gst/gstbus.c:
2895           When no GSource callback has been set up, tell developer
2896           to use a function that actually exists.
2897
2898 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
2899
2900         * docs/gst/gstreamer-sections.txt:
2901         * gst/Makefile.am:
2902         * gst/gst.c:
2903         * gst/gst.h:
2904         * gst/gstdebugutils.c:
2905         * gst/gstdebugutils.h:
2906         * gst/gstinfo.c:
2907         * gst/gstinfo.h:
2908         * tools/gst-launch.c:
2909           Allow dumping pipelines as dot graphs. Fixes #456573.
2910
2911 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2912
2913         * gst/gststructure.c:
2914           Allow '+' as well, it can be part of media or mime types
2915           such as image/svg+xml.
2916
2917 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2918
2919         * docs/gst/gstreamer-sections.txt:
2920         * gst/gstbus.c:
2921         * gst/gstbus.h:
2922           API: add gst_bus_pop_filtered
2923           API: add gst_bus_timed_pop_filtered
2924           Two new functions for waiting for specific message types on the
2925           bus for a specified amount of time without iterating any main
2926           loops or main contexts.
2927
2928         * tests/check/gst/gstbus.c:
2929           Some tests for the new functions.
2930
2931 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2932
2933         * docs/libs/gstreamer-libs-sections.txt:
2934           Make gtk-doc ignore stuff it should ignore.
2935
2936 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2937
2938         * libs/gst/check/gstcheck.c:
2939         * libs/gst/check/gstcheck.h:
2940           Allow runtime selection of unit tests to run via the GST_CHECKS
2941           environment variable (test case function names, comma-separated).
2942
2943 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2944
2945         * gst/gststructure.c:
2946         * tests/check/gst/gststructure.c:
2947           Revert serialisation change and constrain structure-names after
2948           consensus on irc. Update api documentation to reflect the change.
2949
2950 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
2951
2952         * gst/gststructure.c:
2953           Improve serialization and fix tests.
2954
2955         * tests/check/gst/gststructure.c:
2956           Add another test that covers why I actually did the previous structure
2957           change.
2958
2959 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2960
2961         * tools/gst-inspect.c: (print_element_info):
2962         Don't crash when inspecting an element.
2963
2964 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2965
2966         * tests/check/gst/gststructure.c:
2967           Add unit test for escaping of structure name when serialising
2968           and deserialising to/from strings.
2969
2970 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
2971
2972         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2973         (gst_single_queue_new):
2974         * plugins/elements/gstqueue.c: (gst_queue_init),
2975         (gst_queue_push_one):
2976         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
2977         upstream is tricked into thinking it can suggest a format downstream
2978         while downstream does not support that format. The real problem is that
2979         core calls acceptcaps when pushing a buffer with new caps, for which we
2980         do a little workaround by setting the caps on the srcpad ourselves
2981         before pushing the buffer (until this is figured out). Fixes #486758.
2982
2983 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2984
2985         * gst/gststructure.c:
2986         * gst/gstvalue.c:
2987           Add some more comments and debug output. Quote structure name to fix
2988           deserialisation of some strings.
2989
2990 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2991
2992         * gst/gstbuffer.h:
2993           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
2994           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
2995
2996 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * tools/gst-inspect.c:
2999           Save approx. 400 1 byte allocs when printing. Use API to acces element
3000           details.
3001
3002         * tools/gst-run.c:
3003           Avoid a strdup.
3004
3005         * tools/gst-xmlinspect.c:
3006           Use API to acces element details.
3007
3008 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3009
3010         * gst/gstinfo.c:
3011           Fix some spelling errors.
3012
3013 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
3014
3015         * gst/gstbin.c: (bin_handle_async_done):
3016         Correctly set the next state if all of our async children commited their
3017         state. This makes sure we can actually cancel the state change in
3018         progress. Fixes a regression in Rhythmbox when seeking.
3019
3020 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3021
3022         * gst/gstbin.c:
3023           Don't shadow local variable.
3024
3025         * gst/gstinfo.c:
3026           Don't shadow global function name.
3027
3028 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
3029
3030         * gst/gstelementfactory.c:
3031         * gst/gstpluginfeature.c:
3032         * gst/gstpluginfeature.h:
3033         * gst/gstregistrybinary.c:
3034         * gst/gstregistryxml.c:
3035         * gst/gsttypefind.c:
3036           Use already-interned string for the private GstPluginFeature
3037           plugin_name field.
3038
3039 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3040
3041         * docs/libs/gstreamer-libs-sections.txt:
3042           Add new API to docs; fixes the build.
3043
3044 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
3045         
3046         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
3047
3048         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
3049         (gst_base_sink_event):
3050         * libs/gst/base/gstbasesink.h:
3051         Add function to wait for EOS, subclasses can use this to correctly wait
3052         for devices to drain before performing the EOS logic. Fixes #485343.
3053         API: gst_base_sink_wait_eos()
3054
3055 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * gst/gstplugin.h:
3058           Cast description string constants in GST_PLUGIN_DEFINE macros
3059           to a (gchar*) to make C++ code using these macros compile
3060           without warning with g++-4.2 (see #462737).  Even if slightly
3061           ugly, this seems preferable to putting the description strings
3062           into the GLib quark table or making the structure member a
3063           const gchar * and doing casts in core code that allocs and
3064           frees these strings, or requiring a cast in the C++ code.
3065
3066 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3067
3068         * gst/gstinfo.h:
3069           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
3070           to print the entire class/function signature into the log
3071           file for C++ code.  This only affects C++ code, for C code
3072           everything remains the same.
3073
3074 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
3075
3076         * gst/gstbin.c: (remove_from_queue):
3077         Work around a problem with pipelines containing (semi)loops until a
3078         proper, more complicated solution is ready. See #475455.
3079
3080 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3081
3082         * gst/gstplugin.c:
3083         * gst/gstplugin.h:
3084         * gst/gstregistrybinary.c:
3085         * gst/gstregistryxml.c:
3086           Put more strings into the GLib quark table. No need to keep
3087           a hundred-something copies of identical version strings,
3088           license strings, package name strings and package origin
3089           strings around. 
3090
3091 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         * docs/manual/advanced-dataaccess.xml:
3094           Don't imply that it's okay to unconditionally change
3095           buffer data or buffer metadata in a pad probe callback,
3096           and a bunch of other comments. Fixes #430031.
3097
3098 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3099
3100         * win32/common/gstenumtypes.c:
3101         * win32/common/gstenumtypes.h:
3102         * win32/common/gstversion.h:
3103           Update generated files.
3104
3105 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3106
3107         * docs/manual/advanced-autoplugging.xml:
3108           Prefix section with broken code with a warning (see #342432).
3109
3110 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
3111
3112         * docs/manual/appendix-integration.xml:
3113         * docs/manual/basics-init.xml:
3114           Call g_thread_init() before g_option_context_new() to
3115           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
3116
3117 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3118
3119         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3120         (gst_base_sink_queue_object_unlocked),
3121         (gst_base_sink_queue_object), (gst_base_sink_event),
3122         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
3123         When we received EOS and are waiting for when to post the EOS message,
3124         our state is prerolled and we should not return ASYNC.
3125         Reorganize some code paths to implement this behavior.
3126
3127         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3128         (gst_sinks_suite):
3129         Add unit test to verify above EOS fix.
3130
3131 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3132
3133         * plugins/elements/gsttypefindelement.c:
3134         (gst_type_find_element_have_type), (gst_type_find_element_init),
3135         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
3136         Move detecting the input caps of the sinkpad to the setcaps function.
3137         This allows us to update the output caps when we receive new input caps
3138         instead of always using the first detected caps.
3139
3140 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
3141
3142         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
3143         (gst_base_sink_get_position):
3144         Don't try to preroll non-async elements after a flush.
3145         Subtract latency form clock times when reporting position.
3146
3147 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3148
3149         * gst/gstpad.c: (gst_pad_pause_task):
3150         * gst/gstutils.c:
3151         Small comment and documentation update.
3152
3153 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3154
3155         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3156         (gst_base_src_set_live), (gst_base_src_is_live),
3157         (gst_base_src_query_latency), (gst_base_src_perform_seek),
3158         (gst_base_src_default_event), (gst_base_src_wait),
3159         (gst_base_src_do_sync), (gst_base_src_get_range),
3160         (gst_base_src_pad_get_range), (gst_base_src_loop),
3161         (gst_base_src_unlock), (gst_base_src_unlock_stop),
3162         (gst_base_src_set_flushing), (gst_base_src_set_playing),
3163         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3164         (gst_base_src_change_state):
3165         Rework the locking of basesrc in a similar fashion to basesink. We
3166         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
3167         us to handle live sources and semi live ones much better.
3168         Simplify flushing.
3169         Fix unlocking when seeking, shutting down and pausing in live sources.
3170
3171 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
3172
3173         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
3174         Fix compilation again.
3175
3176 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3177
3178         * gst/gstelement.c:
3179           Use meaningful categories for the logs to clean the default one.
3180
3181 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3182
3183         * tests/check/pipelines/cleanup.c:
3184           Print message name and not just number.
3185
3186 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3187
3188         * docs/design/draft-tagreading.txt:
3189           Add some more thoughts.
3190
3191 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * tests/check/pipelines/simple-launch-lines.c:
3194           Print message name and not just number.
3195
3196 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * libs/gst/base/gsttypefindhelper.c:
3199           Speedup typefinding. This is work in progress (see #459862).
3200
3201 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
3202
3203         * gst/gstplugin.c:
3204           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
3205           Spotted by Josep Torra Valles <josep@fluendo.com>.
3206
3207 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
3208
3209         * gst/gstclock.h:
3210           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
3211           field has moved to GstObject.
3212
3213 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
3214
3215         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
3216         (gst_base_src_get_range), (gst_base_src_change_state):
3217         Call unlock for live sources so that they can't get stuck in _create and
3218         produce a buffer before they are set back to PLAYING.
3219
3220 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
3221
3222         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3223         (gst_queue_locked_dequeue):
3224         Comment the segment-related code... in the PROPER function.
3225         See #482147 and my commit from yesterday.
3226
3227 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
3228
3229         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3230         Also initialize the counter that calculates the first timestamp on a
3231         buffer correctly for non-live sources.
3232
3233 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
3234
3235         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
3236         Disable code that's breaking the current-time-level reporting.
3237         See #482147
3238
3239 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
3240
3241         * docs/gst/gstreamer-sections.txt:
3242         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
3243         as they shouldn't show up. Fixes the docs build.
3244
3245 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
3246         
3247         * gst/gstinfo.h:
3248         Add an explicit variable importation needed on VS6 (only for MSC_VER)
3249         Define M_PI which is used in files which are including gstinfo.h. 
3250         VS6 includes doesn't define it.
3251         * win32/common/libgstbase.def:
3252         * win32/common/libgstcontroller.def:
3253         * win32/common/libgstreamer.def:
3254         Add new exported functions and variables.
3255         * win32/vs6/libgstcontroller.dsp:
3256         * win32/vs6/libgstreamer.dsp:
3257         Update the list of files to build.
3258         
3259 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3260
3261         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3262
3263         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
3264         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
3265         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
3266         Improve debugging. Fixes #480858.
3267
3268 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
3269
3270         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
3271
3272         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3273         First patch of code cleanups, use the macros and right arguments in the
3274         macros to signal and lock the queue. See #480858.
3275
3276 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
3277
3278         * gst/gstbus.c: (poll_func):
3279         Improve debugging when dealing with _poll().
3280
3281 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
3282
3283         * gst/gstregistryxml.c:
3284           Fix memory leak I introduced a few days ago.
3285
3286 2007-09-26  Michael Smith <msmith@fluendo.com>
3287
3288         * gst/gstbuffer.c: (gst_buffer_finalize):
3289           Make it once again possible to free GstBuffers in the default
3290           build.
3291           The poisoning scribbles on parts of the miniobject we need in
3292           order to free it.
3293           Fixes #480341
3294
3295 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
3296
3297         * docs/gst/gstreamer-sections.txt:
3298         * gst/gsttaglist.c:
3299         * gst/gsttaglist.h:
3300         API: add GST_TAG_COMPOSER, fixes #459809.
3301
3302 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
3303
3304         * gst/gstplugin.c:
3305         * gst/gstplugin.h:
3306         Add the 3-clause BSD license and the MIT/X11 license to the license
3307         list. Fixes #479784.
3308
3309 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
3310
3311         * docs/faq/getting.xml:
3312           Add Q+A about different GStreamer versions (#364056).
3313
3314 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3315
3316         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3317         (gst_base_sink_event), (gst_base_sink_change_state):
3318         Return correct gboolean from query function.
3319
3320 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3321
3322         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
3323         (gst_base_sink_event), (gst_base_sink_query),
3324         (gst_base_sink_change_state):
3325         Simplify latency query.
3326         When not synchronizing, we can report latency without querying the peer
3327         element.
3328
3329 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3330
3331         * gst/gstobject.h:
3332         * gst/gstvalue.c:
3333         Fix small typos in the docs.
3334
3335 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
3336
3337         * docs/design/draft-latency.txt:
3338         * docs/design/draft-push-pull.txt:
3339         * docs/design/draft-tagreading.txt:
3340         * docs/design/part-MT-refcounting.txt:
3341         * docs/design/part-activation.txt:
3342         * docs/design/part-block.txt:
3343         * docs/design/part-element-source.txt:
3344         * docs/design/part-events.txt:
3345         * docs/design/part-gstbin.txt:
3346         * docs/design/part-gstelement.txt:
3347         * docs/design/part-gstobject.txt:
3348         * docs/design/part-gstpipeline.txt:
3349         * docs/design/part-messages.txt:
3350         * docs/design/part-preroll.txt:
3351         * docs/design/part-push-pull.txt:
3352         * docs/design/part-qos.txt:
3353         * docs/design/part-query.txt:
3354         * docs/design/part-scheduling.txt:
3355         * docs/design/part-seeking.txt:
3356         * docs/design/part-segments.txt:
3357         * docs/design/part-states.txt:
3358         Documentation updates and typo fixes.
3359
3360 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
3361
3362         * plugins/elements/gstfakesink.c:
3363           Add some debug text to error message to indicate that
3364           we errored out on request.
3365
3366         * tools/gst-launch.c:
3367           When the state change to PLAYING fails, check for an
3368           error message on the bus and print it.
3369
3370 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3371
3372         translated by: Jorge González González <aloriel@gmail.com>
3373
3374         * po/LINGUAS:
3375         * po/es.po:
3376           Added Spanish translation.
3377
3378 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
3379
3380         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3381         Fix printf arguments.
3382
3383 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3384
3385         * tests/check/generic/states.c:
3386           Improved state change unit test.
3387
3388 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
3389
3390         * gst/gstbin.h:
3391           Move priv to the right place.
3392
3393         * gst/gstsystemclock.c:
3394           Add FIXME: and improve log.
3395
3396         * tests/check/Makefile.am:
3397         * tests/examples/manual/Makefile.am:
3398           Work with all types of registries.
3399
3400 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
3401
3402         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3403         Don't unref the event after pushing it. Fixes #478401.
3404
3405 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * .cvsignore:
3408         * tests/examples/manual/.cvsignore:
3409           Ignore registries in any format.
3410
3411 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * gst/glib-compat-private.h:
3414           Add compatibility macro for g_intern_string() for
3415           GLib-2.8 (any reason we can't just bump the
3416           requirement to at least 2.10?)
3417
3418         * gst/gstpadtemplate.h:
3419         * gst/gstelementfactory.c:
3420         * gst/gstregistryxml.c:
3421         * gst/gstregistrybinary.c:
3422           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
3423           up the internal code accordingly.  This shouldn't be a problem, since
3424           there is no reason external code could ever assume the string in such
3425           a structure is dynamically allocated unless it did that itself;  the
3426           use of g_strdup() is private to element factories.  The new code also
3427           saves some memory by putting pad template name strings into the GLib
3428           quark table instead of allocating them dynamically.
3429           Declaring this field constant fixes warnings with g++-4.2 when using
3430           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
3431
3432 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
3433
3434         * gst/gstelementfactory.c:
3435           Release static caps. Fixes #475723.
3436
3437 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
3438
3439         * gst/gstinfo.c:
3440         * gst/gstinfo.h:
3441           Make some internal API take const gchar * instead of just
3442           gchar * to avoid compiler warnings with g++-4.2.2 when
3443           passing string constants (partially fixes #478092).
3444
3445 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3446
3447         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
3448         A latency query fails when one of the sinks fail.
3449
3450         * gst/gstelement.c: (gst_element_set_base_time):
3451         Improve debugging.
3452
3453 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
3454
3455         * gst/gstbin.c: (gst_bin_continue_func):
3456         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3457         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
3458         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
3459
3460         Fix minor compilation warnings shown with Forte.
3461
3462 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
3463
3464         * plugins/elements/gstqueue.c: (apply_buffer),
3465         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
3466         Measure queue level based on the diff between head and tail timestamps
3467         even when pushing the first buffer.
3468
3469 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3470
3471         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3472         (gst_base_sink_event), (gst_base_sink_change_state):
3473         Sinks that don't preroll can always be queried for the latency.
3474         Don't post ASYNC start when we are not async.
3475
3476 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3477
3478         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
3479         (gst_queue_handle_sink_event), (gst_queue_chain),
3480         (gst_queue_push_one), (gst_queue_handle_src_query),
3481         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
3482         * plugins/elements/gstqueue.h:
3483         When downstream returns UNEXPECTED from pushing a buffer, don't try to
3484         push more buffers but allow pushing of EOS and NEWSEGMENT.
3485         Add some more debug info here and there. Fixes #476514.
3486
3487 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
3488
3489         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3490         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
3491         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3492         (gst_base_sink_set_flushing), (gst_base_sink_query),
3493         (gst_base_sink_change_state):
3494         Latency query is allowed after we are prerolled. Introduce a new flag
3495         for this and stop abusing other variables.
3496
3497 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3498
3499         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
3500         Push OOB events downstream when we get them in send_event. This allows
3501         the application to insert events in the pipeline.
3502         Add some more comments.
3503
3504 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3505
3506         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
3507         (do_bin_latency), (gst_bin_change_state_func):
3508         * gst/gstpipeline.c: (gst_pipeline_change_state):
3509         Move latency query from GstPipeline to GstBin so that we can also
3510         use it when async-handling is enabled on bins.
3511
3512 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3513
3514         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3515         (gst_base_src_do_sync), (gst_base_src_change_state):
3516         Update docs.
3517         Clean up the timestamping and syncing code for pseudo live sources.
3518
3519 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         Patch by: Steve Fink  <sphink gmail com>
3522
3523         * docs/manual/appendix-checklist.xml:
3524           Mention less -R switch in the section about debug output (#474055).
3525
3526 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
3527
3528         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
3529         Queue can latency to the pipeline up to the configured max size in time.
3530         Report this fact in the latency query.
3531
3532 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3533
3534         Patch by: Sebastien Moutte <sebastien at moutte dot net>
3535
3536         * libs/gst/controller/gstinterpolation.c:
3537         * libs/gst/controller/gstlfocontrolsource.c:
3538         Use gst_guint64_to_gdouble() when converting from a uint64 or
3539         GstClockTime to double to fix the build on win32. Fixes #474371.
3540
3541 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3542
3543         * gst/gstbuffer.c: (gst_buffer_finalize):
3544         Implement poisoning for GstBuffer if --enable-poisoning is specified.
3545         When finalizing a buffer the complete struct is filled with 0xff,
3546         thus making a use of the buffer after the final unref impossible.
3547
3548 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
3549
3550         * tests/check/libs/controller.c: (GST_START_TEST):
3551         Use fail_unless_equals_int(a, b) instead of
3552         fail_unless_equals (a == b) to get better output on failures.
3553
3554 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         * tests/check/gst/gsturi.c:
3557           Also check for the other file URI variant on win32.
3558
3559 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
3560
3561         * gst/gsturi.c: (gst_uri_get_location):
3562           If there's no hostname, we want to return 'c:/foo/bar.txt'
3563           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
3564
3565         * tests/check/gst/gsturi.c:
3566           Unit test for the above and a few more things.
3567
3568 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3569
3570         * docs/design/part-live-source.txt:
3571         Add docs on how live sources should timestamp.
3572
3573         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
3574         Add some more debug info.
3575         For subclasses that are live and like to sync, add aditional startup
3576         latency to sync time and timestamps so that we timstamp according to the
3577         design doc.
3578
3579 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * gst/gstbuffer.c:
3582           Also do a g_type_class_ref() for the subbuffer type in
3583           the init function.
3584
3585 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
3586
3587         * docs/gst/gstreamer-sections.txt:
3588         * gst/gstpad.c: (gst_pad_peer_query):
3589         * gst/gstpad.h:
3590         Add function to perform a query on the peer of a pad.
3591         API: gst_pad_peer_query()
3592
3593 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
3594
3595         * tests/check/gst/gstsystemclock.c:
3596           Cleanup the test a little (use gst-logging and not g_message). Improve
3597           test to check if a wait reached the target.
3598
3599 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
3600
3601         * docs/libs/gstreamer-libs-sections.txt:
3602           Add new API to docs and fix the build.
3603
3604 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
3605
3606         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3607         (gst_base_src_init), (gst_base_src_set_do_timestamp),
3608         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
3609         (gst_base_src_get_property), (gst_base_src_do_sync):
3610         * libs/gst/base/gstbasesrc.h:
3611         Add property to make the basesrc timestamp buffers based on the current
3612         running time.
3613         API: GstBaseSrc::do-timestamp
3614         API: gst_base_src_set_do_timestamp()
3615         API: gst_base_src_get_do_timestamp()
3616
3617 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
3618
3619         * docs/random/release:
3620           Really make sure translations are up-to-date before
3621           a release (#465010).
3622
3623 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
3624
3625         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
3626         Always destroy the timer, also in error cases.
3627
3628 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3629
3630         * docs/manual/highlevel-xml.xml:
3631         Fix XML example code. Fixes #472714.
3632
3633 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
3634
3635         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
3636         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
3637         (gst_base_sink_query):
3638         Protect eos and have_preroll with the OBJECT lock so we don't need to
3639         take the PREROLL lock when querying the latency. Fixes #473846.
3640
3641 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
3642
3643         * gst/gstelement.c:
3644           Give some log-messages a category.
3645
3646 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
3647
3648         * gst/gststructure.c:
3649         (gst_structure_fixate_field_nearest_fraction):
3650         Fix fraction list fixation code. Take the fraction with the smallest
3651         difference with the target instead of the first one in the list.
3652
3653         * tests/check/gst/gststructure.c: (GST_START_TEST),
3654         (gst_structure_suite):
3655         Added test to verify correct fraction list fixation behaviour.
3656
3657 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         * win32/common/libgstreamer.def:
3660           Export gst_bus_add_signal_watch too.
3661
3662 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
3663
3664         * docs/libs/gstreamer-libs-sections.txt:
3665         Add new methods to docs.
3666
3667         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3668         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
3669         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
3670         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
3671         * libs/gst/base/gstbasesink.h:
3672         Add ts-offset property to fine-tune the synchronisation.
3673         API: GstBaseSink::ts-offset property
3674         API: gst_base_sink_set_ts_offset()
3675         API: gst_base_sink_get_ts_offset()
3676
3677 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
3678
3679         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3680         (gst_base_sink_init), (gst_base_sink_set_sync),
3681         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3682         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
3683         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
3684         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
3685         (gst_base_sink_get_property), (gst_base_sink_change_state):
3686         * libs/gst/base/gstbasesink.h:
3687         Add async property to instruct the sink never to inform the parent about
3688         ASYNC state changes, update docs.
3689         Check argument with g_return_* for the public functions.
3690         API: GstBaseSink::async property
3691         API: gst_base_sink_set_async_enabled()
3692         API: gst_base_sink_is_async_enabled()
3693
3694 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
3695
3696         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
3697         Improve debugging.
3698
3699         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3700         (gst_base_src_default_query), (gst_base_src_wait),
3701         (gst_base_src_do_sync), (gst_base_src_change_state):
3702         Rearrange some code so that we can add support for measuring the 
3703         startup latency.
3704
3705 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
3706
3707         * docs/random/ensonic/dynlink.txt:
3708           More thoughs on this.
3709
3710         * plugins/elements/gstcapsfilter.c:
3711           Add bugzilla ticket number to FIXME comment.
3712
3713 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
3714
3715         * docs/design/part-TODO.txt:
3716         * docs/design/part-block.txt:
3717         Update some docs.
3718
3719 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3720
3721         * gst/Makefile.am:
3722           Revert patch which uses $(gst_headers) instead of $^ because it
3723           breaks make dist.
3724
3725 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
3726
3727         * tests/check/gst/gstbin.c: (GST_START_TEST):
3728           Fix leaks in the new unit test.
3729
3730 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
3731
3732         * gst/gst.c:
3733           Don't use GST_INFO before the debug system is actually initialised
3734           (shouldn't do any harm, but won't print anything either, so we can
3735           just as well remove it).
3736
3737         * gst/gstinfo.h:
3738           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
3739           compilers that don't support variadic macros (such as MSVC), should
3740           check for debug_level <= __gst_debug_min as well, since that's the
3741           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
3742           inline helper functions. Should improve performance a bit, but also
3743           makes sure uses of GST_INFO et.al are ignored if the debugging
3744           system isn't initialised yet (instead of printing an assertion
3745           failure).
3746
3747 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
3748
3749         patch by: David Nečas <yeti@physics.muni.cz>
3750
3751         * gst/Makefile.am:
3752           Replace some non portable makefile constructs.
3753
3754 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
3755
3756         * common/gtk-doc-plugins.mak:
3757           Grrrrr. Don't remove the types file on make clean.
3758
3759 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
3760
3761         * tools/gst-launch.1.in:
3762         Add colorspace to example pipeline. Fixes #458274.
3763
3764 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * docs/random/release:
3767           The release manager should run 'make download-po' before making a
3768           release to make sure translations are up-to-date.
3769
3770         * po/LINGUAS:
3771         * po/be.po:
3772         * po/pl.po:
3773         * po/rw.po:
3774           Add some new translations.
3775
3776 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
3777
3778         * tools/gst-launch.c: (event_loop), (main):
3779         Don´t try to do any state management when a live pipeline posts
3780         buffering messages.
3781         Also make the buffering string translatable.
3782
3783 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3784
3785         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
3786         (bin_handle_async_start), (gst_bin_handle_message_func):
3787         Improve debugging.
3788         When adding elements, insert messages into the bus of the newly added
3789         element and make sure the element is the source of the message. This
3790         allows the parent bin to intercept the message and do the
3791         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
3792         messages to the app (which is not allowed).
3793         Update some docs.
3794
3795         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3796         Fix testsuite so that is does not work around messages that should not
3797         have been posted in the first place.
3798
3799 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3800
3801         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
3802         (update_degree), (gst_bin_sort_iterator_next):
3803         Fix annoying bug in the sorted iterator where a sink that is not really
3804         a sink (when it has downstream links) screwed up the iterator.
3805
3806         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3807         Unit test to verify the fix.
3808
3809 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
3810
3811         * gst/gstmessage.h:
3812         Add some more docs for the messages.
3813
3814         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3815         (gst_base_sink_query):
3816         Add some more debugging.
3817
3818         * tools/gst-launch.c: (event_loop):
3819         When interrupting, don't try to set pipeline to PAUSED twice.
3820
3821 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3822
3823         
3824         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
3825         (bin_handle_async_start), (gst_bin_handle_message_func):
3826         Move ASYNC_START message posting to where it belongs, similar to
3827         async_done. 
3828         Don't post ASYNC_START when we are in error. 
3829         Post ASYNC_START when we added an async element to a bin.
3830
3831 2007-08-14  Julien MOUTTE  <julien@moutte.net>
3832
3833         * gst/gstindex.c: (gst_index_add_association): Fix index entry
3834         generation from vargs. Fixes #466595.
3835
3836 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
3837
3838         * gst/gstbin.c: (gst_bin_element_set_state):
3839         Always change the state of a NO_PREROLL element even if it has ASYNC
3840         elements inside (in case of a bin).
3841
3842         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
3843         Unit test for this case.
3844
3845 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
3846
3847         * libs/gst/check/gstbufferstraw.c:
3848         * libs/gst/check/gstcheck.h:
3849         * libs/gst/controller/gstcontroller.c:
3850         * libs/gst/controller/gstcontrolsource.h:
3851         * libs/gst/controller/gstlfocontrolsource.h:
3852         * plugins/elements/gstcapsfilter.h:
3853         * plugins/elements/gstfdsink.h:
3854         * plugins/elements/gstfdsrc.h:
3855           Add more missing docs.
3856
3857 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3858
3859         * gst/gststructure.c:
3860         Add Since tag to docs.
3861
3862 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3863
3864         * docs/gst/gstreamer-sections.txt:
3865         * gst/gststructure.c: (gst_structure_get_uint):
3866         * gst/gststructure.h:
3867         Add function to get uint from a structure.
3868         API: gst_structure_get_uint()
3869
3870 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
3871
3872         * gst/gstcaps.c: (gst_caps_set_simple_valist),
3873         (gst_caps_intersect):
3874         Fix proper check for simple caps.
3875
3876 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
3877
3878         * docs/gst/Makefile.am:
3879         * docs/libs/Makefile.am:
3880           Remove cruft and do some cleanups.
3881
3882         * docs/gst/gstreamer-docs.sgml:
3883         * docs/libs/gstreamer-libs-docs.sgml:
3884           Prepare for comming gtkdoc features (rebase against online docs).
3885
3886 2007-08-10  Michael Smith <msmith@fluendo.com>
3887
3888         * docs/gst/gstreamer-sections.txt:
3889           Add gst_registry_add_path to docs.
3890
3891 2007-08-10  Michael Smith <msmith@fluendo.com>
3892
3893         * gst/gstregistry.h:
3894           Add gst_registry_add_path, which was missing from this header.
3895
3896 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
3897
3898         * libs/gst/controller/gstlfocontrolsource.c:
3899           Printf format fix.
3900
3901 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
3902
3903         * libs/gst/base/gstbasesink.c:
3904           Don't send an async_start message during downwards state change if 
3905           target state is less than READY
3906
3907 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3908
3909         translated by: Gabor Kelemen <kelemeng@gnome.hu>
3910
3911         * po/LINGUAS:
3912         * po/hu.po:
3913           Added Hungarian translation.
3914
3915 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
3916
3917         * po/fi.po:
3918         * po/it.po:
3919         * po/nl.po:
3920         * po/sv.po:
3921         * po/uk.po:
3922           Updated translations.
3923
3924 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3925
3926         * libs/gst/controller/Makefile.am:
3927         Dist gstlfocontrolsourceprivate.h
3928
3929 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
3930
3931         * docs/libs/gstreamer-libs.types:
3932         Don't register the enum type gst_lfo_waveform_get_type() in the
3933         .types file - only GObject derived types belong.
3934
3935 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3936
3937         Patch by: <arenevier at fdn dot fr>
3938
3939         * gst/gstbuffer.h:
3940         Remove comma from last element in enum to avoid compile errors when
3941         using -pendantic. Fixes #464366.
3942
3943 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
3944
3945         * docs/design/part-TODO.txt:
3946         Add some more TODO items
3947
3948         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
3949         Improve debugging.
3950
3951         * gst/gstcaps.c: (gst_caps_intersect):
3952         Optimize trivial intersection case between identical caps pointers.
3953
3954         * gst/gstelement.c: (gst_element_continue_state),
3955         (gst_element_set_state_func):
3956         * gst/gstpad.c:
3957         Fix spelling and grammar mistakes.
3958
3959 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * po/POTFILES.in:
3962         * po/POTFILES.skip:
3963           Update POTFILES. Fixes #461599.
3964
3965 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3966
3967         * gst/gst.c:
3968         Fix confusing typo in debug output.
3969
3970 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
3971
3972         reviewed by: Stefan Kost <ensonic@users.sf.net>
3973
3974         * libs/gst/controller/Makefile.am:
3975         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
3976         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
3977         (gst_lfo_control_source_new),
3978         (gst_lfo_control_source_set_waveform),
3979         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
3980         (gst_lfo_control_source_finalize),
3981         (gst_lfo_control_source_dispose),
3982         (gst_lfo_control_source_set_property),
3983         (gst_lfo_control_source_get_property),
3984         (gst_lfo_control_source_class_init):
3985         * libs/gst/controller/gstlfocontrolsource.h:
3986         * libs/gst/controller/gstlfocontrolsourceprivate.h:
3987         API: Add GstLFOControlSource, a control source that gives values
3988         for specific timestamps based on several periodic waveforms.
3989         Fixes #459717.
3990
3991         * tests/check/libs/controller.c: (GST_START_TEST),
3992         (gst_controller_suite):
3993         * docs/libs/gstreamer-libs-docs.sgml:
3994         * docs/libs/gstreamer-libs-sections.txt:
3995         * docs/libs/gstreamer-libs.types:
3996         Add documentation and unit tests for GstLFOControlSource.
3997
3998 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
3999
4000         * configure.ac:
4001         Back to CVS
4002
4003 === release 0.10.14 ===
4004
4005 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
4006
4007         * configure.ac:
4008           releasing 0.10.14, "Breathing Vacuum"
4009
4010 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
4011
4012         * gst/gstelement.c: (gst_element_class_set_details_simple):
4013         * gst/gstelement.h:
4014           Make strings passed to gst_element_class_set_details_simple()
4015           constant, as they should be (#462752).
4016
4017 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
4018
4019         * gst/gstbin.c: (gst_bin_change_state_func),
4020         (bin_handle_async_done), (gst_bin_handle_message_func):
4021         Don't forget about the fact that some element went ASYNC even after a
4022         resync. This makes us post the ASYNC_DONE message correctly.
4023         Fixes #462558.
4024
4025 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4026
4027         * gst/gstregistry.c: (gst_registry_add_feature):
4028         When replacing an existing feature in the registry, make sure to
4029         continue holding a reference until we've replaced the name string
4030         within our feature hash table. Make sure to use g_hash_table_replace
4031         instead of g_hash_table_insert to ensure the new name string is used
4032         as a key instead of the old one that we're about to free.
4033         Fixes: #462085
4034
4035 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
4036
4037         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4038         (gst_plugin_feature_set_name):
4039         Revert patch from #459466 until after the release and we can work
4040         out exactly what the problem is (if any).
4041
4042 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4043
4044         * docs/gst/gstreamer-sections.txt:
4045         * gst/gsttaglist.c:
4046         * gst/gsttaglist.h:
4047           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
4048
4049 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
4050
4051         * docs/libs/Makefile.am:
4052         Include our build-prefix libs and includes before the generic ones to
4053         avoid linking against the installed libs when we want the build-tree
4054         ones.
4055
4056 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
4057
4058         Patch by: Steve Fink  <sphink gmail com>
4059
4060         * docs/pwg/building-testapp.xml:
4061           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
4062           if people try to build or install the example from the plugin
4063           template against a GStreamer from package using the configure
4064           defaults.
4065
4066 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
4067
4068         Patch by: Steve Fink  <sphink gmail com>
4069
4070         * tools/gst-inspect.1.in:
4071           Document --print-all and --print-plugin-auto-install-info command
4072           line options in man page.
4073
4074 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4075
4076         * docs/gst/gstreamer-sections.txt:
4077         Add docs for new api function.
4078
4079 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
4080
4081         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
4082         * gst/gstelementfactory.h:
4083         API: gst_element_factory_has_interface()
4084         Added method to check if an element factory implements a named
4085         interface.
4086
4087 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
4088
4089         * configure.ac:
4090         * docs/gst/gstreamer.types.in:
4091           Another conditional doc check.
4092
4093         * gst/gstmessage.c:
4094         * gst/gstparamspecs.h:
4095         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4096         * gst/gstvalue.c:
4097         * gst/gstxml.h:
4098           API-doc fixes.
4099
4100 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4101
4102         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
4103         (gst_registry_binary_load_feature),
4104         (gst_registry_binary_load_plugin),
4105         (gst_registry_binary_read_cache):
4106           Print error just once and with additional info.
4107
4108 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4109
4110         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4111         (helper_find_suggest), (helper_find_get_length),
4112         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
4113         (gst_type_find_helper_for_buffer):
4114           Cleanup the typefindhelper code and add private doc comments.
4115
4116 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
4117
4118         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4119         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
4120         Fix capsfilter for cases where the caps set on capsfilter will provide
4121         additional information.
4122         Fixes #449197
4123
4124 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
4125
4126         * gst/gsttypefindfactory.c:
4127           Fix docs that recommened wrong function to use.
4128
4129 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4130
4131         * tools/gst-inspect.c: (print_plugin_features):
4132           Also give media-type for typefinders in element output.
4133
4134 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4135
4136         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
4137         (gst_registry_remove_features_for_plugin_unlocked),
4138         (gst_registry_add_feature), (gst_registry_remove_feature),
4139         (gst_registry_lookup_feature_locked):
4140         * gst/gstregistry.h:
4141           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
4142           Fixes #459501.
4143
4144 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
4145
4146         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4147         (gst_plugin_feature_set_name):
4148           Avoid double memory usage for pluginfeature names. Fixes #459466.
4149
4150 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4151
4152         * gst/gstpad.h:
4153           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
4154           driving the pipeline may need to explicitly check for NOT_LINKED as
4155           well, since IS_FATAL doesn't cover that.
4156
4157 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
4158
4159         * docs/pwg/advanced-types.xml:
4160           Fix typo and duplicate entry in video formats list.
4161
4162 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
4163
4164         * libs/gst/controller/gstinterpolation.c:
4165         Also round to the nearest int when using cubic interpolation.
4166
4167 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
4168
4169         * libs/gst/controller/gstinterpolation.c:
4170         When linearly interpolating integer types, round to the nearest int
4171         by adding 0.5. Don't do it for float/double types.
4172         Fixes the failing controller test on my machine, which is somehow
4173         rounding differently than on the buildbots.
4174
4175 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4176
4177         * tools/gst-plot-timeline.py:
4178           Better log parsing (categories can have -). Adjust text vs. lines, so
4179           that they span the same y-range.        
4180
4181 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4182
4183         * docs/random/ensonic/audiobaseclasses.txt:
4184         * docs/random/ensonic/dynlink.txt:
4185         * docs/random/ensonic/profiling.txt:
4186           Save my thoughts.
4187
4188         * docs/random/moving-plugins:
4189           Add note to use g_assert type macros.
4190
4191 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
4192
4193         * configure.ac:
4194         * libs/gst/check/Makefile.am:
4195           Add libm check as we use in for plugins.
4196
4197 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
4198
4199         * gst/gstbin.c: (gst_bin_continue_func):
4200         Check that the state_cookie hasn't changed since the continue_func
4201         was scheduled. Avoids problems where the state changes back to
4202         something it shouldn't be because it was changed in the meantime.
4203
4204 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
4205
4206         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
4207         (gst_registry_binary_save_string),
4208         (gst_registry_binary_save_pad_template),
4209         (gst_registry_binary_save_feature),
4210         (gst_registry_binary_save_plugin),
4211         (gst_registry_binary_load_feature),
4212         (gst_registry_binary_load_plugin),
4213         (gst_registry_binary_read_cache):
4214           Fix memory leak. Be less verbose in the log.
4215
4216 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4217
4218         * tests/check/elements/.cvsignore:
4219         Add file to cvsignore as commanded.
4220
4221 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4222
4223         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4224         (mq_dummypad_event), (run_output_order_test):
4225         Use a GStaticMutex to protect all cases where libcheck
4226         fail_if/fail_unless macros might be called from multiple threads
4227         simultaneously to avoid errors like:
4228           "check_pack.c:107: :-1081725400:Bad message type arg"
4229
4230 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4231
4232         * tests/check/pipelines/stress.c: (GST_START_TEST):
4233         Make sure we set the pipeline back to the NULL state before
4234         dropping our final reference.
4235
4236 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
4237
4238         * tests/check/elements/tee.c: (GST_START_TEST):
4239         Make the tee stress-test a little less stressful so it doesn't just
4240         time out on slow-machines, and remove a small race when it's starting 
4241         up by adding a get_state() call.
4242
4243 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
4244
4245         * gst/gst.c:
4246           Avoid reading registry twice on startup. Fixes #457322.
4247
4248 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4249
4250         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4251         * pkgconfig/gstreamer-check.pc.in:
4252         Substitute the CFLAGS for libcheck into our .pc file too so that
4253         dependent modules will pick it up properly if libcheck is installed
4254         into some other prefix.
4255
4256 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
4257
4258         * configure.ac:
4259         Revert the pkg-config check for libcheck, since it pulls in the
4260         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
4261         a proper solution, either from the check project, or something else.
4262
4263 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
4264
4265         * configure.ac:
4266           Use pkg-config to locate check.
4267
4268 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
4269
4270         * gst/gsttaglist.c:
4271           Fix doc syntax.
4272
4273         * gst/gstutils.c:
4274         * gst/gstutils.h:
4275           Add deprecation guards.
4276
4277         * libs/gst/base/gstcollectpads.h:
4278           Don't document object (this is implicitly private).
4279
4280 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
4281
4282         * gst/gststructure.c: (gst_structure_parse_value):
4283           When deserialising foo=bar without a type cast, check if it's a
4284           boolean before falling back to a string type, otherwise things like
4285           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
4286           because the filtercaps end up having a signed=(string)true field,
4287           which causes problems later when intersection caps.
4288
4289         * tests/check/gst/gststructure.c: (GST_START_TEST):
4290           Add a unit test for this.
4291
4292 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
4293
4294         Reviewed by: Stefan Kost <ensonic@users.sf.net>
4295
4296         * libs/gst/controller/Makefile.am:
4297         * libs/gst/controller/gstcontroller.c:
4298         (gst_controlled_property_add_interpolation_control_source),
4299         (gst_controlled_property_new), (gst_controlled_property_free),
4300         (gst_controller_find_controlled_property),
4301         (gst_controller_new_valist), (gst_controller_new_list),
4302         (gst_controller_new), (gst_controller_remove_properties_valist),
4303         (gst_controller_remove_properties_list),
4304         (gst_controller_remove_properties),
4305         (gst_controller_set_property_disabled),
4306         (gst_controller_set_disabled), (gst_controller_set_control_source),
4307         (gst_controller_get_control_source), (gst_controller_get),
4308         (gst_controller_sync_values), (gst_controller_get_value_array),
4309         (_gst_controller_dispose), (gst_controller_get_type),
4310         (gst_controlled_property_set_interpolation_mode),
4311         (gst_controller_set), (gst_controller_set_from_list),
4312         (gst_controller_unset), (gst_controller_unset_all),
4313         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
4314         * libs/gst/controller/gstcontroller.h:
4315         * libs/gst/controller/gstcontrollerprivate.h:
4316         * libs/gst/controller/gstcontrolsource.c:
4317         (gst_control_source_class_init), (gst_control_source_init),
4318         (gst_control_source_get_value),
4319         (gst_control_source_get_value_array), (gst_control_source_bind):
4320         * libs/gst/controller/gstcontrolsource.h:
4321         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
4322         (gst_object_get_control_source):
4323         * libs/gst/controller/gstinterpolation.c:
4324         (gst_interpolation_control_source_find_control_point_node),
4325         (gst_interpolation_control_source_get_first_value),
4326         (_interpolate_none_get), (interpolate_none_get),
4327         (interpolate_none_get_boolean_value_array),
4328         (interpolate_none_get_enum_value_array),
4329         (interpolate_none_get_string_value_array),
4330         (_interpolate_trigger_get), (interpolate_trigger_get),
4331         (interpolate_trigger_get_boolean_value_array),
4332         (interpolate_trigger_get_enum_value_array),
4333         (interpolate_trigger_get_string_value_array):
4334         * libs/gst/controller/gstinterpolationcontrolsource.c:
4335         (gst_control_point_free), (gst_interpolation_control_source_reset),
4336         (gst_interpolation_control_source_new),
4337         (gst_interpolation_control_source_set_interpolation_mode),
4338         (gst_interpolation_control_source_bind),
4339         (gst_control_point_compare), (gst_control_point_find),
4340         (gst_interpolation_control_source_set_internal),
4341         (gst_interpolation_control_source_set),
4342         (gst_interpolation_control_source_set_from_list),
4343         (gst_interpolation_control_source_unset),
4344         (gst_interpolation_control_source_unset_all),
4345         (gst_interpolation_control_source_get_all),
4346         (gst_interpolation_control_source_get_count),
4347         (gst_interpolation_control_source_init),
4348         (gst_interpolation_control_source_finalize),
4349         (gst_interpolation_control_source_dispose),
4350         (gst_interpolation_control_source_class_init):
4351         * libs/gst/controller/gstinterpolationcontrolsource.h:
4352         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
4353         API: Refactor GstController into the core controller which can take
4354         a GstControlSource for providing actual values for timestamps.
4355         Implement a interpolation control source and use this for backward
4356         compatibility, deprecate a bunch of functions that are now handled
4357         by GstControlSource or GstInterpolationControlSource.
4358         Make it possible to disable the controller completely or only for
4359         specific properties. Fixes #450711.
4360         * docs/libs/gstreamer-libs-docs.sgml:
4361         * docs/libs/gstreamer-libs-sections.txt:
4362         * docs/libs/gstreamer-libs.types:
4363         Add new functions and classes to the docs.
4364         * tests/check/libs/controller.c: (GST_START_TEST),
4365         (gst_controller_suite):
4366         * tests/examples/controller/audio-example.c: (main):
4367         Port unit test and example to the new API and add some new
4368         unit tests.
4369
4370 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
4371
4372         Patch by: Mark Nauwelaerts <manauw at skynet be>
4373
4374         * plugins/elements/gstmultiqueue.c:
4375         (gst_multi_queue_get_internal_links), (apply_buffer),
4376         (single_queue_overrun_cb), (gst_single_queue_new):
4377         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
4378         the pipeline layout can be tracked correctly. Fixes #453732.
4379
4380 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
4381
4382         * docs/gst/Makefile.am:
4383         * docs/libs/Makefile.am:
4384         * docs/plugins/Makefile.am:
4385           Simplify --extra-dir as gtkdoc scans recursively.
4386
4387 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4388
4389         * tools/gst-launch.c: (main):
4390         When we got an error, there is no point in waiting for preroll when
4391         shutting down.
4392
4393 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
4394
4395         * plugins/elements/gsttee.c: (gst_tee_base_init),
4396         (gst_tee_request_new_pad), (gst_tee_release_pad),
4397         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
4398         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
4399         (gst_tee_chain):
4400         Be a lot smarter when deciding what srcpad to use for proxying
4401         the buffer_alloc. Also handle pad added/removed when doing so.
4402         Fixes #357959.
4403         Keep track of what pads we already pushed on in case we have pads
4404         added/removed while pushing. Fixes #374639 
4405
4406         * tests/check/Makefile.am:
4407         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
4408         (tee_suite):
4409         Added unit test for pad resync.
4410
4411 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4412
4413         * po/nl.po:
4414         * po/sv.po:
4415           Updated translations.
4416
4417 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4418
4419         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
4420
4421         * po/LINGUAS:
4422         * po/fi.po:
4423           Added new Finnish translation.
4424
4425 2007-06-28  Wim Taymans  <wim@fluendo.com>
4426
4427         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4428         (single_queue_overrun_cb):
4429         When figuring out when a queue is filled, use our internal time estimate
4430         based on segments, just like check_full does.
4431
4432 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4433
4434         * gst/gstminiobject.c: (gst_mini_object_get_type):
4435           Remove 3 do-nothing methods.
4436
4437 2007-06-27  Wim Taymans  <wim@fluendo.com>
4438
4439         Patch by: Tim Angus <tim at ngus dot net>
4440
4441         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4442         (gst_capsfilter_set_property):
4443         Take a reference instead of a copy when setting "caps".
4444         Fix documentation to clarify this behaviour. Fixes #449414.
4445
4446 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
4447
4448         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4449         * gst/gstplugin.c: (gst_plugin_init):
4450         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
4451         * gst/gstquery.c: (gst_query_get_type):
4452         * gst/gstregistry.c: (gst_registry_init):
4453         * gst/gsturi.c: (gst_uri_handler_base_init):
4454           Remove empty instance_init() functions to save relocs and lessen the
4455           noise. Remove some of the function prototypes that are doubled by
4456           G_DEFINE_TYPE.
4457           
4458 2007-06-27  Wim Taymans  <wim@fluendo.com>
4459
4460         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
4461
4462         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
4463         Add peer and direction in the XML serialisation of ghostpads.
4464         Fixes #449226.
4465
4466 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4467
4468         * configure.ac:
4469           Preserve useful information, thanks Tim.
4470
4471 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
4472
4473         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4474         (gst_single_queue_flush), (apply_segment), (apply_buffer),
4475         (gst_single_queue_push_one), (gst_multi_queue_loop),
4476         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4477         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
4478         (compute_high_id), (gst_single_queue_new):
4479         * plugins/elements/gstmultiqueue.h:
4480         Take the multiqueue lock when updating the fill level so we don't get
4481         confused. 
4482
4483         After applying a buffer or event on the src pad segment, make sure to
4484         call gst_data_queue_limits_changed() to get the data queue to unblock
4485         and check the filled state again.
4486         
4487         Rework the not-linked pad handling so the logic is that not-linked 
4488         pads can push as fast as they like, but only so they never get 
4489         ahead of any linked pads.
4490
4491         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
4492         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
4493         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
4494
4495         Add a test to check that not-linked pads always stay behind
4496         linked pads.
4497
4498         Fixes: #430682
4499
4500 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
4501
4502         * docs/random/release:
4503           Some updates to the release procedure.
4504
4505 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
4506
4507         * gst/gstelementfactory.c: (__gst_element_details_clear):
4508           Microoptimization that saves stunning 80 bytes.
4509
4510 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
4511
4512         * docs/plugins/gstreamer-plugins.args:
4513         * docs/plugins/inspect/plugin-coreelements.xml:
4514         * docs/plugins/inspect/plugin-coreindexers.xml:
4515           Update docs with caps info.
4516
4517 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
4518
4519         * po/it.po:
4520           Updated Italian translation.
4521
4522 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
4523
4524         * ChangeLog:
4525         * po/vi.po:
4526           Update Vietnamese translations.
4527
4528 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4529
4530         * libs/gst/base/gstbasesink.c:
4531           Remove unused signal enum.
4532
4533 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4534
4535         * docs/gst/gstreamer-sections.txt:
4536         * gst/gstelement.c:
4537         * gst/gstutils.c: (gst_type_register_static_full):
4538         Beef up and include the docs for gst_type_register_static_full and
4539         gst_element_class_set_details_simple and add the API keyword
4540         in the ChangeLog.
4541
4542 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
4543
4544         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4545         (update_time_level), (gst_single_queue_push_one),
4546         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
4547         (single_queue_overrun_cb), (single_queue_underrun_cb),
4548         (single_queue_check_full):
4549         Fix setting max-* properties after adding queues.
4550         Use IS_FILLED for checking visible items.
4551         Signal overrun if multiple queues overrun.
4552         Add extra debug output.
4553         Patch by: Wim Taymans <wim@fluendo.com>
4554
4555 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
4556
4557         * gst/gstelement.c: (gst_element_class_set_details_simple):
4558         * gst/gstelement.h:
4559         * gst/gstutils.c: (gst_type_register_static_full):
4560         * gst/gstutils.h:
4561         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
4562         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
4563         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
4564         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
4565         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
4566         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
4567         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
4568         * plugins/elements/gstidentity.c: (gst_identity_base_init):
4569         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
4570         * plugins/elements/gstqueue.c: (gst_queue_base_init),
4571         (apply_buffer), (gst_queue_chain):
4572         * plugins/elements/gsttee.c: (gst_tee_base_init):
4573         * plugins/elements/gsttypefindelement.c:
4574         (gst_type_find_element_base_init),
4575         (gst_type_find_element_class_init):
4576           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
4577           API: add gst_type_register_static_full
4578           API: add gst_element_class_set_details_simple
4579
4580 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
4581
4582         * docs/pwg/advanced-types.xml:
4583           Fix typo in iana.org URI.
4584
4585 2007-06-19  Andy Wingo  <wingo@pobox.com>
4586
4587         * tests/check/pipelines/simple-launch-lines.c
4588         (test_state_change_returns): Enable pull-mode tests now that
4589         basesink has been fixed.
4590
4591         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
4592         Changed from gst_base_sink_is_prerolled, reversing the sense of
4593         the return value. Returns FALSE also if the sink is in pull mode,
4594         in which case it needs no preroll.
4595         (gst_base_sink_query, gst_base_sink_change_state): Update for
4596         needs_preroll change.
4597         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
4598         chaining up, in which we return SUCCESS directly if we activated
4599         in pull mode instead of ASYNC. Involves countering an async_start
4600         message sent before chaining up; not sure if this is correct, in
4601         an ideal world we only send async-start when activating in push
4602         mode.
4603
4604         * tests/check/pipelines/simple-launch-lines.c
4605         (test_state_change_returns): New test, partially disabled until
4606         basesink is fixed.
4607
4608 2007-06-19  Wim Taymans  <wim@fluendo.com>
4609
4610         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4611         (gst_multi_queue_sink_event):
4612         Fix event leak.
4613
4614 2007-06-19  Wim Taymans  <wim@fluendo.com>
4615
4616         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4617         (gst_bin_change_state_func), (bin_push_state_continue),
4618         (bin_handle_async_start), (bin_handle_async_done),
4619         (gst_bin_handle_message_func):
4620         Move the common code for posting state-change messages into
4621         one function.
4622         Broadcast the state signal after we posted the messages.
4623         Mark the bin as busy when it's doing a state-change.
4624         Make sure async-start/done messages don't interfere with the bin's
4625         state when it's busy.
4626         After the state change, let the bin check which elements completed the
4627         state change while it was busy so that it can update its state.
4628
4629 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
4630
4631         * docs/random/release:
4632         Add a note about updating the doap file to the release checklist
4633
4634 2007-06-18  Wim Taymans  <wim@fluendo.com>
4635
4636         * plugins/elements/gstmultiqueue.c: (apply_buffer),
4637         (gst_single_queue_push_one), (gst_multi_queue_chain),
4638         (gst_multi_queue_sink_event):
4639         Make sure we don't reference the buffer/event after we have given away
4640         ownership in the queue.
4641
4642 2007-06-18  Wim Taymans  <wim@fluendo.com>
4643
4644         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4645         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
4646         Update queue state _after_ adding the item in the queue because else we
4647         could end up being full without the element added yet.
4648
4649 2007-06-18  Wim Taymans  <wim@fluendo.com>
4650
4651         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4652         (gst_bin_remove_func), (gst_bin_get_state_func),
4653         (gst_bin_element_set_state), (gst_bin_continue_func),
4654         (bin_push_state_continue), (bin_handle_async_start),
4655         (bin_handle_async_done), (gst_bin_handle_message_func):
4656         * gst/gstbin.h:
4657         Immediatly commit the toplevel bin state when receiving an async-done
4658         message. This enables us to avoid spawning a thread to commit the state
4659         in some common cases and it also avoids some races.
4660         Avoid spawning a state thread when adding/removing async elements to a
4661         toplevel bin. Instead we immediatly update the bin state.
4662         Get rid of iterating all the children when getting the state in the bin
4663         because it is now always up-to-date.
4664         Fix bug where locked elements would always return _SUCCESS even it they
4665         returned NO_PREROLL before being locked.
4666         Fix the order of the state_change, async-start/done messages that was
4667         sometimes incorrect.
4668         Mark the state_dirty field as deprecated, we don't need it anymore as we
4669         are always up-to-date.
4670
4671         * gst/gstelement.c: (gst_element_get_state_func),
4672         (gst_element_continue_state):
4673         Small debug inprovements.
4674         Return the previous element state return when nothing is pending instead
4675         of blindly returning SUCCESS.
4676
4677         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
4678         (gst_sinks_suite):
4679         Add a whole bunch of new testcases.
4680
4681 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
4682
4683         * po/uk.po:
4684         * po/vi.po:
4685           Update translations.
4686
4687 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
4688
4689         * gst/gstpad.c:
4690         Fix typo in the docs.
4691
4692 2007-06-15  Wim Taymans  <wim@fluendo.com>
4693
4694         * docs/libs/gstreamer-libs-sections.txt:
4695         Add docs for new methods.
4696
4697 2007-06-15  Wim Taymans  <wim@fluendo.com>
4698
4699         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
4700         (gst_multi_queue_item_new):
4701         Don't use GSlice because we don't depend on >= 2.10 yet.
4702
4703 2007-06-15  Wim Taymans  <wim@fluendo.com>
4704
4705         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
4706         (update_time_level), (apply_segment), (apply_buffer),
4707         (gst_single_queue_push_one), (gst_multi_queue_item_new),
4708         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
4709         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
4710         (single_queue_underrun_cb), (single_queue_check_full):
4711         Remove debug printf.
4712
4713 2007-06-15  Wim Taymans  <wim@fluendo.com>
4714
4715         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
4716         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
4717         (gst_data_queue_set_flushing), (gst_data_queue_push),
4718         (gst_data_queue_pop), (gst_data_queue_drop_head),
4719         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
4720         * libs/gst/base/gstdataqueue.h:
4721         Various cleanups.
4722         Added methods to get the current levels and to inform the queue that the
4723         'full' limits changed.
4724
4725         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
4726         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
4727         (gst_single_queue_flush), (update_time_level), (apply_segment),
4728         (apply_buffer), (gst_single_queue_push_one),
4729         (gst_multi_queue_item_steal_object),
4730         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
4731         (gst_multi_queue_loop), (gst_multi_queue_chain),
4732         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
4733         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
4734         (gst_multi_queue_src_query), (single_queue_overrun_cb),
4735         (single_queue_underrun_cb), (single_queue_check_full),
4736         (gst_single_queue_new):
4737         Keep track of time in the queue by measuring the difference between
4738         running_time on input and output. This gives more accurate results and
4739         can compensate for segments correctly.
4740         Make a queue by default only 5 buffers deep. We will now increase the
4741         buffer size depending on the filledness of the other queues.
4742         Factor out commong flush code.
4743         Make sure we don't add additional refcounts to buffers when we can avoid
4744         it.
4745         Propagate GstFlowReturn differently.
4746         Use GSlice for intermediate GstMultiQueueItems.
4747         Keep track of EOS.
4748         Resize queues on over and underruns based on filled level of other
4749         queues.
4750         When checking if the queue is filled, prefer to measure in time if we
4751         can and fall back to bytes when no time is known.
4752
4753         * plugins/elements/gstqueue.c:
4754         Fix return value.
4755
4756 2007-06-15  Wim Taymans  <wim@fluendo.com>
4757
4758         * libs/gst/base/gstbasetransform.c:
4759         (gst_base_transform_sink_event):
4760         Work around the brokenness of the event vmethod in basetransform. Prefer
4761         to return TRUE when the subclass returned FALSE (meaning don't forward
4762         the event). 
4763
4764         * libs/gst/base/gstbasetransform.h:
4765         Clarify the docs.
4766
4767 2007-06-15  Wim Taymans  <wim@fluendo.com>
4768
4769         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
4770         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4771         (gst_base_src_default_query), (gst_base_src_get_range),
4772         (gst_base_src_start):
4773         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
4774         Improve debugging.
4775
4776 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4777
4778         * docs/pwg/advanced-types.xml:
4779           Added more formats to caps table.
4780
4781 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * tools/gst-launch.c: (main):
4784           Remove crufy code. GOption does not need this workaround.
4785
4786 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4787
4788         * libs/gst/controller/gstcontroller.c:
4789         (gst_controlled_property_set_interpolation_mode):
4790           Fix wrong getter for enums in controller.
4791
4792 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4793
4794         * libs/gst/check/gstcheck.c: (gst_check_init):
4795           Intercept criticals and warnings in the Gst-Phonon log domain, so
4796           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
4797           well.
4798         
4799 2007-06-14  Edward Hervey  <edward@fluendo.com>
4800
4801         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
4802         Since this file doesn't include "gst.h" it will not go through the
4803         macros that disable GST_LOG if debugging was disabled.
4804
4805 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4806
4807         * libs/gst/check/Makefile.am:
4808         * libs/gst/check/gstcheck.h:
4809         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4810         * pkgconfig/gstreamer-check.pc.in:
4811           Ugly 'fix' for the controller unit test on the p5 bot: in
4812           fail_unless_equals_float() check whether the values are 'almost
4813           equal' by allowing a small absolute error, which should be good
4814           enough for our use cases (normal numbers and values close to 0).
4815           Proper fixage left to floating point arithmetic aficionados.
4816
4817 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4818
4819         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
4820         (gst_base_sink_render_object), (gst_base_sink_get_position):
4821           Add two breaks thats where missing.
4822
4823 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * docs/libs/gstreamer-libs-sections.txt:
4826         * libs/gst/check/gstcheck.h:
4827           API: add fail_unless_equals_float() and assert_equals_float().
4828           Add documentation for some of the macros.
4829
4830         * tests/check/libs/controller.c: (GST_START_TEST):
4831           Use newly-added asserts.
4832
4833 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
4834
4835         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
4836           Show the caps change in the log to help spotting the case of not
4837           exactly matching caps.
4838
4839 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
4840
4841         * docs/pwg/building-boiler.xml:
4842           Fix typos, spotted by Thijs Vermeir (#447190).
4843
4844 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4845
4846         * docs/plugins/tmpl/.cvsignore:
4847         Ignore file to keep the buildbots happy
4848
4849 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
4850
4851         * docs/plugins/Makefile.am:
4852         * docs/plugins/gstreamer-plugins-docs.sgml:
4853         * docs/plugins/gstreamer-plugins-sections.txt:
4854         Pull fdsink into the docs too.
4855
4856 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
4857
4858         * libs/gst/controller/gstinterpolation.c:
4859         Actually use the new functions with min/max checks for the trigger and
4860         none interpolation modes for get() and get_value_array() instead of
4861         just the latter.
4862
4863 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
4864
4865         * libs/gst/controller/gstcontroller.c:
4866         (gst_controlled_property_free):
4867         Unset the minimum and maximum GValues when freeing the corresponding
4868         GstControllerProperty struct.
4869
4870 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
4871
4872         * libs/gst/controller/gstcontroller.c:
4873         (gst_controlled_property_new):
4874         * libs/gst/controller/gstcontrollerprivate.h:
4875         * libs/gst/controller/gstinterpolation.c:
4876         (gst_controlled_property_find_control_point_node),
4877         (interpolate_none_get), (interpolate_none_get_enum_value_array),
4878         (interpolate_none_get_string_value_array),
4879         (interpolate_trigger_get),
4880         (interpolate_trigger_get_enum_value_array),
4881         (interpolate_trigger_get_string_value_array):
4882         Protect against values larger or smaller than the minimum or maximum
4883         allowed value for the property when using values that can be compared.
4884
4885         Optimize trigger interpolator a bit by taking the last requested value
4886         into account instead of always looping through the complete list.
4887
4888         Fix coding style a bit, everywhere else we use "return foo" instead
4889         of "return (foo)".
4890         
4891         * tests/check/libs/controller.c: (GST_START_TEST),
4892         (gst_controller_suite):
4893         Add unit test for the protection against too large or too small
4894         values.
4895
4896 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
4897
4898         * docs/random/slomo/controller.txt:
4899         Add some thoughts about the future of the controller.
4900
4901 2007-06-08  Wim Taymans  <wim@fluendo.com>
4902
4903         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4904         Don't overflow in retimestamping code.
4905
4906 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
4907
4908         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
4909         Use gst_util_guint64_to_gdouble for conversions.
4910         * win32/common/libgstreamer.def:
4911         Add new exported functions.
4912
4913 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
4914
4915         * gst/gstutils.c:
4916           Small docs addition.
4917
4918 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4919
4920         * README:
4921           Remove that test line again.
4922
4923 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4924
4925         * README:
4926           Test commit mail sending.
4927
4928 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4929
4930         * configure.ac:
4931           Fix typo and test commit mail sending.
4932
4933 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
4934
4935         * tests/examples/controller/audio-example.c:
4936           Improve comment and test commit mail sending.
4937
4938 2007-06-07  Wim Taymans  <wim@fluendo.com>
4939
4940         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
4941         (gst_bin_remove_func), (gst_bin_element_set_state),
4942         (bin_handle_async_start), (bin_handle_async_done),
4943         (gst_bin_handle_message_func):
4944         Add helper function to find messages.
4945         Generate the async-done messages together with the state change
4946         messages.
4947         Small cleanups in handling toplevel bins.
4948
4949 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4950
4951         * libs/gst/base/gstdataqueue.c:
4952         * libs/gst/base/gstdataqueue.h:
4953         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4954         (gst_multi_queue_item_new), (gst_multi_queue_chain),
4955         (gst_multi_queue_sink_event):
4956         * tests/check/elements/multiqueue.c: (multiqueue_suite):
4957           Fix multiqueue leaking buffers and events when downstream or the
4958           queue are flushing. Make refcounting assumptions explicit and
4959           document them (shouldn't break existing code that uses it other than
4960           maybe leak miniobjects, but that already happens anyway). Add unit
4961           test for the most common flushing case. Fixes #423700.
4962           
4963 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4964
4965         * libs/gst/controller/gstcontroller.c:
4966         Clarify docs: The get_all, get_value_array(s) functions
4967         don't modify the GObject properties.
4968
4969 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
4970
4971         * libs/gst/controller/gstcontroller.c:
4972         (gst_controlled_property_set_interpolation_mode),
4973         (gst_controlled_property_prepend_default),
4974         (gst_controlled_property_new), (gst_controller_set_unlocked),
4975         (gst_controller_set), (gst_controller_set_from_list),
4976         (gst_controller_unset), (gst_controller_unset_all):
4977         * libs/gst/controller/gstcontrollerprivate.h:
4978         * libs/gst/controller/gstinterpolation.c:
4979         Factor out the 'set' logic into gst_controller_set_unlocked for the
4980         gst_controller_set and gst_controller_set_from_list functions.
4981
4982         To make life of the interpolators easier always add a control point
4983         at timestamp zero with the default value.
4984
4985         In the linear interpolator make things more obvious by better variable
4986         naming (slope).
4987
4988         Implement cubic interpolation mode (by using a natural cubic spline)
4989         and map the quadratic interpolation mode to this too (as quadratic
4990         doesn't make much sense, see discussion on the list).
4991
4992         * tests/check/libs/controller.c: (GST_START_TEST),
4993         (gst_controller_suite):
4994         Add unit test for the cubic interpolation mode and check everywhere
4995         if the interpolation mode could be set as expected.
4996
4997 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
4998
4999         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
5000           Don't use GLib-2.10 functions, we still depend on
5001           GLib-how-old-is-it-again-2.8.
5002
5003 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5004
5005         * docs/gst/gstreamer-sections.txt:
5006         * gst/Makefile.am:
5007         * gst/gst.c:
5008         * gst/gst.h:
5009         * gst/gstparamspecs.c: (_gst_param_fraction_init),
5010         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
5011         (_gst_param_fraction_values_cmp),
5012         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
5013         * gst/gstparamspecs.h:
5014         * gst/gstvalue.c:
5015         * tests/check/Makefile.am:
5016         * tests/check/gst/.cvsignore:
5017         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
5018         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
5019         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
5020         (GST_START_TEST), (gst_param_spec_suite):
5021           API: add GstParamSpecFraction, so elements can have fraction
5022           properties without lots of painful string parsing (#444648).
5023
5024 2007-06-05  Wim Taymans  <wim@fluendo.com>
5025
5026         * gst/gstobject.c: (gst_object_class_init):
5027         Fix signal signature.
5028
5029         * gst/gstsegment.c:
5030         Add small clarification in the api docs.
5031
5032         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
5033         States are protected with object lock.
5034
5035 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5036
5037         * AUTHORS:
5038         I should probably be listed as an author by now.
5039
5040         * docs/random/release:
5041         Update the release doc
5042
5043 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
5044
5045         * gst/gstvalue.c:
5046           Make docs for gst_value_compare() mention return enums that
5047           actually exist.
5048
5049 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
5050
5051         * configure.ac:
5052           Back to CVS
5053
5054 === release 0.10.13 ===
5055
5056 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
5057
5058         * configure.ac:
5059           releasing 0.10.13, "With or without you"
5060
5061 2007-05-25  Wim Taymans  <wim@fluendo.com>
5062
5063         * gst/gstbin.c: (bin_handle_async_done):
5064         Make sure that the child bin stops after completing the async state
5065         change so that the parent can continue the state change to PLAYING.
5066         Fixes #441159.
5067
5068 2007-05-25  Wim Taymans  <wim@fluendo.com>
5069
5070         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5071         (unref_data), (gst_collect_pads_remove_pad),
5072         (gst_collect_pads_check_pads):
5073         Use additional refcounting to avoid crashes when dynamically adding and
5074         removing pads. Fixes #420206.
5075
5076 2007-05-24  Wim Taymans  <wim@fluendo.com>
5077
5078         * tools/gst-launch.c: (event_loop):
5079         When buffering goes from a two digit to a single digit number, make sure
5080         to remove the old second digit by writing a blank over it.
5081
5082 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5083
5084         * libs/gst/base/gstdataqueue.c:
5085           Eliminate tabs and trailing comma in enum list; fix some typos.
5086
5087 2007-05-24  Wim Taymans  <wim@fluendo.com>
5088
5089         * tests/check/gst/gstbin.c: (GST_START_TEST):
5090         Allow refcount of 3 and 4 because some state thread might still be busy
5091         with it.
5092
5093 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * plugins/elements/Makefile.am:
5096         * plugins/elements/gstmultiqueue.h:
5097         * plugins/elements/gstqueue.h:
5098           These are not installed headers, no need for padding.
5099
5100 2007-05-24  Wim Taymans  <wim@fluendo.com>
5101
5102         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
5103         (gst_bin_continue_func):
5104         Enable latency for next release.
5105         Restore STATE_LOCK around recalc_state that was left out during the
5106         rewrite and could result in racy behaviour when _get_state and
5107         recalc_state are run concurrently. See #440463.
5108
5109 2007-05-23  Wim Taymans  <wim@fluendo.com>
5110
5111         * tests/check/gst/gstsystemclock.c: (store_callback),
5112         (GST_START_TEST):
5113         Improve test_async_order to also work when both timers are already
5114         expired when we get scheduled to check it.
5115
5116 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5117
5118         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
5119         (gst_bin_set_property), (gst_bin_get_property),
5120         (gst_bin_remove_func), (gst_bin_handle_message_func):
5121         * gst/gstbin.h:
5122           'private' is a c++ keyword, let's not use that in header files,
5123           otherwise c++ compilers will throw a tantrum.
5124
5125 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         * plugins/elements/gstelements.c:
5128         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
5129         (gst_file_sink_get_current_offset):
5130         * plugins/indexers/gstindexers.c: (plugin_init):
5131           Use #ifdef for HAVE_XYZ for consistency.
5132
5133         * tests/check/Makefile.am:
5134         * tests/check/elements/.cvsignore:
5135         * tests/check/elements/filesink.c: (setup_filesink),
5136         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
5137           Add some unit tests for filesink.
5138
5139 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
5140
5141         Patch by: Mark Nauwelaerts <manauw at skynet be>
5142
5143         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
5144         (gst_file_sink_query), (gst_file_sink_do_seek),
5145         (gst_file_sink_get_current_offset), (gst_file_sink_render):
5146         * plugins/elements/gstfilesink.h:
5147           Fix position reporting; rename data_written member to current_pos to
5148           reflect its real meaning (fixes #412648).
5149
5150 2007-05-22  Edward Hervey  <edward@fluendo.com>
5151
5152         * docs/gst/gstreamer-sections.txt:
5153         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5154         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
5155         (gst_bin_remove_func), (gst_bin_handle_message_func):
5156         * gst/gstbin.h:
5157         Add a property for bins that handle the state change of their childs.
5158         Fixes #435880
5159
5160 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
5161
5162         * libs/gst/controller/gstinterpolation.c:
5163         Use an array of the correct type when using _get_value_array with
5164         linear interpolation.
5165
5166 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
5167
5168         * gst/gstelement.c (gst_element_requires_clock,
5169           gst_element_provides_clock, gst_element_request_pad,
5170           gst_element_class_set_details, gst_element_class_set_details_simple,
5171           gst_element_default_send_event, gst_element_abort_state,
5172           gst_element_continue_state, gst_element_set_state,
5173           gst_element_set_state_func, iterator_activate_fold_with_resync):
5174         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
5175           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
5176           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
5177           gst_pad_get_range, gst_pad_pull_range):
5178         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
5179           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
5180           GstPadActivateModeFunction, GstPadChainFunction,
5181           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
5182           GstPadFixateCapsFunction, GstPadTemplate):
5183         * gst/gstpipeline.c (gst_pipeline_change_state,
5184           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
5185           gst_pipeline_set_clock, gst_pipeline_auto_clock,
5186           gst_pipeline_get_delay):
5187           Whitespace and docs fixes.
5188
5189 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5190
5191         * libs/gst/controller/gstinterpolation.c:
5192         (interpolate_trigger_get_enum_value_array),
5193         (interpolate_trigger_get_string_value_array):
5194         Add support for retrieving value arrays when using the trigger
5195         interpolation mode. 
5196
5197 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5198
5199         * libs/gst/controller/gstcontroller.c:
5200         (gst_controller_get_value_array):
5201         * libs/gst/controller/gstcontroller.h:
5202         Clarify the docs of gst_controller_get_value_array(): The array where
5203         the values should be written to must be allocated as there seems to be
5204         no way to get the size of a random GType. This doesn't change any
5205         behaviour. Also fix some typos all over the place and remove an unused,
5206         commented function that is not necessary as g_object_set() could be
5207         used instead.
5208         * tests/check/libs/controller.c: (GST_START_TEST),
5209         (gst_controller_suite):
5210         Add unit test for gst_controller_get_value_array().
5211
5212 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
5213
5214         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
5215
5216         Disable part of the gst_buffer_try_new_and_alloc test, because
5217         it can happily succeed on 64-bit systems where there's more address
5218         space available.
5219
5220 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
5221
5222         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
5223         Add unit test for the improved caps checking from bug #421543.
5224
5225 2007-05-21  Wim Taymans  <wim@fluendo.com>
5226
5227         * docs/design/part-synchronisation.txt:
5228         Small addition.
5229
5230         * gst/gstbin.c: (gst_bin_query):
5231         * plugins/elements/gstqueue.c: (apply_segment):
5232         Improve debugging.
5233
5234         * gst/gstmessage.h:
5235         Improve docs.
5236
5237 2007-05-21  Wim Taymans  <wim@fluendo.com>
5238
5239         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
5240         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
5241         (gst_pad_configure_src):
5242         Added simple version of improved caps checking. It was previously
5243         assumed that a setcaps function would check the validity of the caps but
5244         people prefer us to check caps against the template automatically. 
5245         Fixes #421543.
5246
5247 2007-05-21  Wim Taymans  <wim@fluendo.com>
5248
5249         * libs/gst/base/gstbasetransform.h:
5250         Fix macro for locking/unlocking the transform lock.
5251
5252 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
5253
5254         * docs/plugins/tmpl/.cvsignore:
5255           Ignore more.
5256
5257 2007-05-18  Edward Hervey  <edward@fluendo.com>
5258
5259         * plugins/elements/gstqueue.c: (gst_queue_loop):
5260         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
5261         for the subtle art of warning a potentially blocking thread that it
5262         should check the source pad return value, and relay the information
5263         upstream.
5264
5265 2007-05-18  Edward Hervey  <edward@fluendo.com>
5266
5267         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5268         Release the queue lock !
5269
5270 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5271
5272         * docs/libs/gstreamer-libs-sections.txt:
5273         Add the two new controller functions to the appropiate places.
5274
5275 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5276
5277         reviewed by: Stefan Kost <ensonic@users.sf.net>
5278
5279         * libs/gst/controller/gstcontroller.c:
5280         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
5281         (_gst_controller_get_property), (_gst_controller_set_property),
5282         (_gst_controller_init), (_gst_controller_class_init):
5283         * libs/gst/controller/gstcontroller.h:
5284         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
5285         (gst_object_get_control_rate), (gst_object_set_control_rate):
5286         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
5287         Add API that provides sync suggestion timestamps for elements that
5288         call gst_object_sync_values() from which those elements can subdivide
5289         their processing loop to get the best results for the controlled
5290         properties. For now it just suggests last_sync + control_rate as
5291         new timestamp but this will be improved in the future.
5292
5293         While doing that change the control-rate property to a GstClockTime
5294         from guint and change it's meaning from samples to nanoseconds as
5295         the GstController doesn't know anything about sampling rate. Strictly
5296         speaking this breaks ABI but as the control-rate property didn't do
5297         anything in the past and as such couldn't be used this should be no
5298         problem.        
5299
5300 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5301
5302         reviewed by: Stefan Kost <ensonic@users.sf.net>
5303
5304         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
5305         (gst_controller_unset_all):
5306         * libs/gst/controller/gstcontrollerprivate.h:
5307         * libs/gst/controller/gstinterpolation.c:
5308         (gst_controlled_property_find_control_point_node):
5309         Save last synced value from the list to continue searching from there
5310         in future syncs. This speeds everything up a bit.
5311         
5312 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
5313
5314         reviewed by: Stefan Kost <ensonic@users.sf.net>
5315
5316         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
5317         (gst_control_point_find), (gst_controlled_property_new),
5318         (gst_control_point_free), (gst_controlled_property_free),
5319         (gst_controller_set), (gst_controller_set_from_list),
5320         (gst_controller_unset), (gst_controller_unset_all),
5321         (gst_controller_sync_values):
5322         * libs/gst/controller/gstcontroller.h:
5323         * libs/gst/controller/gstcontrollerprivate.h:
5324         * libs/gst/controller/gstinterpolation.c:
5325         (gst_controlled_property_find_control_point_node),
5326         (interpolate_none_get), (interpolate_trigger_get):
5327         Add a new private GstControlPoint struct which "inherits" from
5328         GstTimedValue to allow different interpolators to store internal
5329         values next to each control point. From the outside everything is
5330         still a GstControlPoint so we don't loose binary compatibility.
5331         Also fixup all the GValue handling to not leak GValues or list nodes.
5332         * tests/check/libs/controller.c: (GST_START_TEST):
5333         Free the list nodes and GValues in the controller_misc test.
5334
5335 2007-05-17  Edward Hervey  <edward@fluendo.com>
5336
5337         * gst/gstsegment.c:
5338         Small doc fix.
5339
5340 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
5341
5342         * gst/gstplugin.c: (gst_plugin_load_file):
5343           If we fail to load a plugin because of unresolved symbols or missing
5344           libraries and spew a warning to stderr, we may just as well mention
5345           which plugin it was that failed to load.
5346
5347 2007-05-13  David Schleef  <ds@schleef.org>
5348
5349         * docs/Makefile.am: the gtk-doc makefile snippet correctly
5350           handles the case when ENABLE_GTK_DOC is false, and installs
5351           the prebuilt documentation.  So gtk-doc subdirs are 
5352           unconditionally enabled.  Fixes: #349099.
5353
5354 2007-05-13  David Schleef  <ds@schleef.org>
5355
5356         * gst/gstutils.h: Reword some documentation.
5357
5358 2007-05-12  David Schleef  <ds@schleef.org>
5359
5360         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
5361           do anything with the passed "module" parameter, so remove it.
5362           Allows removal of additional vestigal code.
5363
5364 2007-05-12  David Schleef  <ds@schleef.org>
5365
5366         * gst/gstplugin.c:
5367           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
5368           Switch to using g_stat() because it's more portable.
5369
5370 2007-05-12  David Schleef  <ds@schleef.org>
5371
5372         * gst/gst.c:
5373           Add GST_DISABLE_OPTION_PARSING, in order to disable option
5374           parsing for embedded systems.
5375         * gst/gstelementfactory.c:
5376           Allow gst_element_register() to be called with plugin==NULL.
5377           Did nobody notice that static elements were broken?
5378
5379 2007-05-12  Wim Taymans  <wim@fluendo.com>
5380
5381         * tools/gst-launch.c: (event_loop):
5382         Give more interesting info when buffering starts and stops.
5383         Fix case where buffering starts but we fail to update the buffering flag
5384         because the target state is not PLAYING.
5385
5386 2007-05-12  Wim Taymans  <wim@fluendo.com>
5387
5388         * plugins/elements/gstqueue.c: (gst_queue_init),
5389         (gst_queue_finalize), (update_time_level), (apply_segment),
5390         (apply_buffer), (gst_queue_locked_flush),
5391         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
5392         (gst_queue_handle_sink_event), (gst_queue_chain),
5393         (gst_queue_push_one), (gst_queue_loop):
5394         * plugins/elements/gstqueue.h:
5395         Refactor an cleanup queue a bit.
5396         Do better time level calculations that also work when the srcpad is not
5397         yet running.
5398         Remove some unneeded debug lines.
5399
5400         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
5401         Added testcase for time level measurement.
5402         Try to make some stuff more racefree.
5403
5404 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5405
5406         * gst/gsturi.c: (gst_element_make_from_uri):
5407           Don't leak plugin feature.
5408
5409         * tests/check/Makefile.am:
5410         * tests/check/gst/.cvsignore:
5411         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
5412           Add brain-dead unit test.
5413
5414 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
5415
5416         Patch by: Jeroen Wouters <woutersj at gmail com>
5417
5418         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
5419           Treat protocol strings in a case-insensitive way (#437563).
5420
5421 2007-05-11  Michael Smith <msmith@fluendo.com>
5422
5423         * gst/gstplugin.c: (gst_plugin_load_file):
5424         * gst/gstregistry.c: (gst_registry_scan_path_level):
5425           Don't print a g_warning for any failure to load a shared object.
5426           Instead, push this down into gstplugin.c, and warn _only_ if we
5427           failed to open the module (i.e. failure to link).
5428           Avoids warnings on normal, working, non-plugin .so files.
5429
5430 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
5431
5432         * gst/gstplugin.c (gst_plugin_load_file):
5433         * gst/gstregistry.c (GST_CAT_DEFAULT,
5434           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
5435           Print a g_warning if there was an error when loading a plugins during
5436           registry scan. The shuld help beginners starting with gst-plugin
5437           template.
5438
5439 2007-05-10  Wim Taymans  <wim@fluendo.com>
5440
5441         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5442         (update_time_level), (gst_queue_locked_flush),
5443         (gst_queue_handle_sink_event), (gst_queue_chain),
5444         (gst_queue_push_one), (gst_queue_loop):
5445         * plugins/elements/gstqueue.h:
5446         Be smarter when calculating the current amount of data in the queue by
5447         measuring the difference between start and end timestamps (in running
5448         time) inside the queue. Fixes #432876.
5449         API: GstQueue::pushing to notify elements that we are pushing data again
5450         since the running signal is rather broken for this purpose.
5451
5452 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
5453
5454         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
5455           gst_queue_base_init, gst_queue_init):
5456           use GST_BOILERPLATE
5457
5458 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
5459
5460         * win32/common/libgstreamer.def:
5461         Add new exported functions.
5462         * win32/vs6/grammar.dsp:
5463         Use grammar pre-generated files.
5464
5465 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5466
5467         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
5468
5469         * gst/Makefile.am:
5470         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
5471         * gst/gstparse.h:
5472         * gst/gstutils.c: (gst_parse_bin_from_description):
5473         * gst/gstutils.h:
5474           Maintain API and ABI when --disable-parse is used. Now that
5475           we have an appropriate error code, we can just return NULL and the
5476           appropriate error when gst_parse_launch() is used despite it having
5477           been disabled (#342564).
5478
5479         * tests/check/Makefile.am:
5480         * tests/check/pipelines/.cvsignore:
5481         * tests/check/pipelines/parse-disabled.c:
5482           Make sure these functions exist and return NULL plus a GError when
5483           --disable-parse is used.
5484
5485 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
5486
5487         * tests/benchmarks/complexity.c: (main):
5488         * tests/benchmarks/mass-elements.c: (main):
5489           Set a good example and don't leak messages.
5490
5491 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
5492
5493         * docs/gst/Makefile.am:
5494         * docs/libs/Makefile.am:
5495           Correct fixxrefs options.
5496
5497         * docs/plugins/Makefile.am:
5498         * docs/plugins/gstreamer-plugins-docs.sgml:
5499         * docs/plugins/gstreamer-plugins-sections.txt:
5500         * plugins/elements/Makefile.am:
5501         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
5502         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
5503           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
5504           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
5505           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
5506           _GstCapsFilterClass, trans_class):
5507         * plugins/elements/gstelements.c (name, rank, type, _elements):
5508         * plugins/elements/gstidentity.c
5509           (gst_identity_check_imperfect_timestamp,
5510           gst_identity_check_imperfect_offset):
5511           Document capsfilter and add doc-blurb to identity.
5512
5513 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
5514
5515         * libs/gst/controller/gstcontroller.c:
5516         (gst_controlled_property_set_interpolation_mode):
5517         * libs/gst/controller/gstinterpolation.c:
5518           Don't crash if someone tries to set an interpolation mode that
5519           is invalid or that isn't supported yet. Fixes #422295.
5520
5521         * tests/check/libs/controller.c: (GST_START_TEST),
5522         (gst_controller_suite):
5523           Add a test case for the above.
5524
5525 2007-05-03  Edward Hervey  <edward@fluendo.com>
5526
5527         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
5528         Properly set the last_stop position on GstSegment. This will only happen
5529         if there is a buffer to push out.
5530
5531 2007-05-03  Wim Taymans  <wim@fluendo.com>
5532
5533         * libs/gst/base/gstbasetransform.c:
5534         (gst_base_transform_buffer_alloc):
5535         always_in_place does not mean that the sink and source caps are the
5536         same! Make sure we don't blindly proxy the buffer_alloc in this case.
5537
5538 2007-05-03  Wim Taymans  <wim@fluendo.com>
5539
5540         * docs/libs/gstreamer-libs-sections.txt:
5541         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5542         (gst_base_src_default_query), (gst_base_src_get_range):
5543         * libs/gst/base/gstbasesrc.h:
5544         API: gst_base_src_query_latency(). Added method so that subclasses can
5545         easily get the latency values of the base source class.
5546
5547 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
5548
5549         * tools/gst-inspect.c (print_implementation_info):
5550         Remove 0.8 cruft.
5551
5552 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
5553
5554         * tools/Makefile.am:
5555         * tools/gst-launch.1.in:
5556           Don't create a customised man page based on the host architecture,
5557           describe the default registry path generically. That way the man
5558           page is the same for all architectures and packagers have one
5559           multilib issue less to deal with. Fixes #434926.
5560
5561 2007-05-02  Wim Taymans  <wim@fluendo.com>
5562
5563         * gst/gstpad.c:
5564         Fix documentation as spotted by rg on IRC. 
5565
5566 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
5567
5568         * gst/gstutils.c:
5569           Improve docs for gst_element_{link,unlink}.
5570
5571 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * docs/design/part-events.txt:
5574         * docs/design/part-overview.txt:
5575         * gst/gstevent.c:
5576         * gst/gsturi.c:
5577         * gst/gsturi.h:
5578         * libs/gst/base/gstbasesink.c:
5579           Typo fixes; minor docs addition.
5580
5581 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5582
5583         * docs/gst/gstreamer-sections.txt:
5584         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
5585         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
5586         * gst/gsturi.h:
5587         API: Add gst_uri_protocol_is_supported(), which checks if a sink
5588         or src that supports a given URI protocol exists.
5589
5590 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5591
5592         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5593         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5594         Set the location to NULL if "file://" is set as URI. Otherwise
5595         some random previous URI would still be set if "file://" is
5596         set on an already used filesink/filesrc.
5597
5598 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
5599
5600         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5601         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5602         Special case the "file://" URI as as this is used by some
5603         applications to test with gst_element_make_from_uri if there's
5604         an element that supports the URI protocol.
5605         Also move the g_path_is_absolute() check for the location part
5606         of the URI to also check this for "file://localhost/bla" URIs.
5607
5608 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
5609
5610         * docs/gst/gstreamer-sections.txt:
5611         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
5612         * gst/gstbuffer.h:
5613         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
5614         (gst_buffer_suite):
5615           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
5616
5617 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
5618
5619         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5620         (gst_registry_binary_load_pad_template),
5621         (gst_registry_binary_load_plugin),
5622         (gst_registry_binary_read_cache):
5623         * gst/gstregistrybinary.h:
5624           Implement no-mmap alternative for registry reading. Do code cleanups.
5625           Add more comments about avoiding strdups for all text data. Comments
5626           welcome.
5627
5628 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5629
5630         * gst/gstregistrybinary.h (GstBinaryPluginElement,
5631           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
5632           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
5633           Comment structs and reformat to fix the build (that stuff should go
5634           into a priv. header).
5635
5636 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
5637
5638         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
5639         (gst_registry_binary_load_feature):
5640         * gst/gstregistrybinary.h:
5641           Refactor so that we can implement multiple features. Add support for
5642           TypeFindFactory features.
5643
5644 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
5645
5646         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
5647
5648         * configure.ac:
5649           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
5650
5651 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
5652
5653         * gst/gstbin.c: (gst_bin_element_set_state),
5654         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
5655         (bin_handle_async_done), (gst_bin_handle_message_func):
5656           Fix build with --gst-disable-gst-debug
5657
5658 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
5659
5660         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
5661           Make sure streaming has finished before calling the ::stop() vfunc,
5662           since that vfunc might clear state which is being used in the
5663           streaming thread. This fixes a race that caused crashes in
5664           audioresample when shutting down a pipeline (#420106).
5665
5666 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5667
5668         * docs/gst/gstreamer-sections.txt:
5669           That was one byte missing.
5670
5671 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5672
5673         * configure.ac:
5674         * docs/gst/gstreamer-sections.txt:
5675         * gst/Makefile.am:
5676         * gst/gstconfig.h.in:
5677         * gst/gstobject.c: (gst_object_class_init),
5678         (gst_signal_object_class_init):
5679         * gst/gstobject.h:
5680           2nd attempt to have a xml-less build as a joined effort of #413123
5681           and #421480.
5682
5683 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
5684
5685         * docs/design/draft-tagreading.txt:
5686           Added open issues/thoughts to draft.
5687
5688 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5689
5690         * gst/parse/grammar.tab.pre.c:
5691         * gst/parse/grammar.tab.pre.h:
5692         * gst/parse/lex._gst_parse_yy.pre.c:
5693         Update the prebuild parser sources.
5694
5695 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5696
5697         * gst/parse/Makefile.am:
5698         And now fix the building of the flex sources. Now everything should
5699         work as expected.
5700
5701 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5702
5703         * gst/parse/Makefile.am:
5704         Now hopefully fix the build failures by setting proper rule
5705         dependencies and moving instead of copying.
5706
5707 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * tests/benchmarks/complexity.gnuplot:
5710         * tests/benchmarks/complexity.scm:
5711         * tests/benchmarks/mass-elements.gnuplot:
5712         * tests/benchmarks/mass-elements.scm:
5713           Total licensification.
5714
5715 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5716
5717         * gst/parse/Makefile.am:
5718           Fix the build by correcting the rule that gave wrong files to flex.
5719
5720 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
5721
5722         * tests/benchmarks/complexity.c:
5723         * tests/benchmarks/mass-elements.c:
5724           Change licence to LGPL as granted by Benjamin and Andy.
5725
5726 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
5727
5728         * gst/parse/Makefile.am:
5729         Add correct grammar.tab.h dependency if compiling without new enough
5730         flex. Fixes #431150.
5731
5732 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5733
5734         * gst/parse/Makefile.am:
5735         Fix typo and use outdated sources if the flex/bison sources are newer
5736         than the pregenerated ones but flex is too old. Print a warning in
5737         that case. This should fix the build on the build bot.
5738
5739 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
5740
5741         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
5742         * gst/parse/Makefile.am:
5743         * gst/parse/grammar.y:
5744         * gst/parse/parse.l:
5745         Make the parser reentrant and recursively callable. This requires flex
5746         >= 2.5.31, for older versions pregenerated sources are used as we
5747         can't bump the build dependency. Finally fixes #349180.
5748
5749         * gst/gstparse.c: (gst_parse_launch):
5750         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
5751         now anyway.
5752
5753         * docs/gst/Makefile.am:
5754         * docs/gst/Makefile.am:
5755         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
5756         (__gst_parse_strfree), (__gst_parse_link_new),
5757         (__gst_parse_link_free), (__gst_parse_chain_new),
5758         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
5759         (gst_parse_element_set), (gst_parse_free_link),
5760         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
5761         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
5762         (_gst_parse_launch):
5763         * gst/parse/grammar.tab.pre.h:
5764         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
5765         (yy_get_previous_state), (yy_try_NUL_trans), (input),
5766         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
5767         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
5768         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
5769         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
5770         (_gst_parse_yypop_buffer_state),
5771         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
5772         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
5773         (yy_fatal_error), (_gst_parse_yyget_extra),
5774         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
5775         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
5776         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
5777         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
5778         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
5779         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
5780         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
5781         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
5782         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
5783         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
5784         (_gst_parse_yyfree):
5785         If the installed flex version is too old use pre-generated parser
5786         sources. These pre-generated parser sources are always updated when
5787         the actual flex/bison sources change but require everybody who wants
5788         to change something in the parser to have flex >= 2.5.31 installed.
5789
5790 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * common/m4/gst-gettext.m4:
5793         * gst/gst-i18n-lib.h:
5794           Make --disable-nls to work
5795
5796 2007-04-17  Wim Taymans  <wim@fluendo.com>
5797
5798         * gst/gstconfig.h.in:
5799         Revert previous change that broke the build.
5800
5801 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
5802
5803         * configure.ac:
5804         * gst/Makefile.am:
5805         * gst/gstconfig.h.in:
5806           Drop libxml2 dependency when building with 
5807           --enable-binary-registry --disable-loadsave
5808
5809 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
5810
5811         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
5812         (gst_registry_binary_read_cache):
5813         * gst/gstregistrybinary.h:
5814           Remove unnecessary <sys/mman.h> include which broke the win32 build
5815           with MingW; move includes from header file to .c file, even if the
5816           header file isn't installed; use g_strerror() where UTF-8 strings
5817           are expected, such as in GST_DEBUG messages.
5818
5819 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5820
5821         * docs/libs/gstreamer-libs-sections.txt:
5822         Remove bogus addition for API I didn't end up keeping.
5823
5824         * libs/gst/base/gstbasesrc.h:
5825         Mention Since: 0.10.13 in the documentation.
5826
5827         Add the API keyword to the previous ChangeLog entry.
5828
5829 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5830
5831         * docs/libs/gstreamer-libs-sections.txt:
5832         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5833         (gst_base_src_default_prepare_seek_segment),
5834         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
5835         * libs/gst/base/gstbasesrc.h:
5836         Allow basesrc derived classes to execute seeks in other formats
5837         by providing a prepare_seek_segment vmethod. Sub-classes can choose
5838         to prepare the GstSegment in any format that their perform_seek method
5839         will be able to understand. The default implementation provides the
5840         old behaviour of attempting to convert the seek offsets to the 
5841         configured native format.
5842
5843         API: basesrc::prepare_seek_segment vmethod.
5844
5845 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5846
5847         * gst/gstelement.c: (gst_element_get_state_func):
5848         Don't output the same debug statement twice.
5849
5850         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
5851         (gst_adapter_peek), (gst_adapter_take_buffer):
5852         Optimise the case where we have buffers at the head of the queue that
5853         can be joined quickly (because they're contiguous sub-buffers) by
5854         merging them together rather than copying data out into new memory.
5855
5856         * gst/parse/grammar.y:
5857         * tests/check/pipelines/parse-launch.c:
5858         Fix a leak in an error path for parse_launch, and add a check 
5859         for it to the testsuite.
5860
5861 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
5862
5863         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5864           Don't deadlock when releasing a pad - gst_pad_set_active may try
5865           and take the multiqueue lock too.
5866
5867 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
5868
5869         * gst/gsterror.c: (_gst_core_errors_init):
5870         * gst/gsterror.h:
5871           API: add GST_CORE_ERROR_DISABLED (#392804).
5872
5873 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5874
5875         * docs/faq/gst-uninstalled:
5876           don't get empty paths on the PATH variables
5877         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
5878           Don't format for the uncommon terminal width of 84 characters.
5879
5880 2007-04-06  Wim Taymans  <wim@fluendo.com>
5881
5882         * gst/gstpipeline.c: (reset_stream_time),
5883         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
5884         Only try to select a different pipeline clock when we went back to
5885         PAUSED and not when we merely got flushed.
5886
5887 2007-04-05  Michael Smith  <msmith@fluendo.com>
5888
5889         * tools/gst-launch.1.in:
5890           fractions are better supported in gstreamer than ractions, so
5891           suggest using those.
5892
5893 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5894
5895         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
5896
5897         * po/LINGUAS:
5898         * po/da.po:
5899           Added Danish translation.
5900
5901 2007-04-05  Wim Taymans  <wim@fluendo.com>
5902
5903         * libs/gst/base/gstbasesink.c:
5904         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
5905         Fix leak caused when refusing newsegment after EOS.
5906
5907         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
5908         (gst_fake_sink_init), (gst_fake_sink_set_property),
5909         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
5910         (gst_fake_sink_render), (gst_fake_sink_change_state):
5911         * plugins/elements/gstfakesink.h:
5912         Add num-buffers property to make the element generate EOS after a
5913         configurable amount of buffers.
5914         API: fakesink::num-buffers property.
5915
5916         * tests/check/elements/fakesink.c: (GST_START_TEST),
5917         (fakesink_suite):
5918         Fix GstBus leak in test.
5919         Test for fakesink num-buffers.
5920
5921 2007-04-05  Wim Taymans  <wim@fluendo.com>
5922
5923         * libs/gst/base/gstbasesink.c:
5924         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
5925         (gst_base_sink_change_state):
5926         Don't accept anything after an EOS, return UNEXPECTED instead.
5927
5928         * tests/check/elements/fakesink.c: (GST_START_TEST),
5929         (fakesink_suite):
5930         Unit test for new EOS behaviour.
5931
5932 2007-04-05  Wim Taymans  <wim@fluendo.com>
5933
5934         * gst/gstelement.c: (gst_element_get_request_pad):
5935         Make padtemplates also work when they don't contain %s or %d.
5936
5937 2007-04-05  Wim Taymans  <wim@fluendo.com>
5938
5939         * docs/gst/gstreamer-sections.txt:
5940         * gst/gstclock.c: (gst_clock_adjust_unlocked),
5941         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
5942         * gst/gstclock.h:
5943         Improve _adjust_unlocked() so that it overflows less.
5944         Add gst_clock_unadjust_unlocked to convert from external time to
5945         internal time based on calibration.
5946         Add some more debug.
5947         API: GstClock::gst_clock_unadjust_unlocked()
5948
5949 2007-04-03  Wim Taymans  <wim@fluendo.com>
5950
5951         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
5952
5953         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
5954         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
5955         when releasing sink pad. Fixes #425400.
5956
5957 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
5958
5959         * docs/random/ensonic/dynlink.txt:
5960           More work on proposal for new core api.
5961
5962         * docs/libs/gstreamer-libs-sections.txt:
5963         * libs/gst/base/gstbasetransform.h:
5964           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
5965           
5966         * libs/gst/controller/gstcontroller.c:
5967         (on_object_controlled_property_changed),
5968         (gst_controller_sync_values),
5969         (gst_controller_set_interpolation_mode):
5970         * libs/gst/controller/gstcontroller.h:
5971           Less verbose logging add docs for unimplemented parts and correctly
5972           return when using unavailable parts.
5973
5974 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5975
5976         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
5977         Move all the debug to the CLOCK category, and associate it with
5978         the clock object.
5979
5980 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
5981
5982         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
5983         Make take_buffer a bit quicker by removing redundant checks
5984         caused by calling gst_adapter_take.
5985
5986 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5987
5988         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
5989           Don't leak GCond.
5990
5991         * tests/check/Makefile.am:
5992         * tests/check/elements/.cvsignore:
5993         * tests/check/elements/multiqueue.c: (setup_multiqueue),
5994         (GST_START_TEST), (multiqueue_suite):
5995           Add some dead simple unit tests for the 'multiqueue' element
5996           (some bits don't work yet and are disabled for now).
5997
5998 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
5999
6000         * gst/gstelement.c: (gst_element_get_request_pad),
6001         (gst_element_class_get_request_pad_template):
6002           Make gst_element_get_request_pad() create request pads only for
6003           request pad templates and not for, say, sometimes pad templates.
6004
6005 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
6006
6007         * docs/design/draft-klass.txt:
6008           Add example that needs more thinking.
6009         
6010         * docs/design/draft-missing-plugins.txt:
6011           More thoughts about wrapper plugins.
6012         
6013         * docs/random/ensonic/embedded.txt:
6014         * docs/random/ensonic/profiling.txt:
6015           More design work.
6016
6017 2007-03-25  Wim Taymans  <wim@fluendo.com>
6018
6019         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
6020         (gst_base_src_loop):
6021         Only push the segment events in the PLAYING state for live sources.
6022
6023 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
6024
6025         * gst/gstpipeline.c: (gst_pipeline_change_state):
6026         Modify the clock distribution path in PAUSED->PLAYING so that we 
6027         never attempt to choose a new clock unless we're actually leaving
6028         the PAUSED state for the first time. This prevents choosing a
6029         different clock when the state_change gets called for a 2nd time due
6030         to some element doing an async state change.
6031
6032 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6033
6034         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
6035         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
6036         (gst_pad_chain_unchecked), (gst_pad_push):
6037         Revert last commit. This needs some more thoughts.
6038
6039 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
6040
6041         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
6042         (gst_pad_chain_unchecked), (gst_pad_push):
6043         Check in set_caps if the caps are compatible with the pad and remove
6044         two functions that are redundant now. Fixes #421543.
6045
6046 2007-03-22  Wim Taymans  <wim@fluendo.com>
6047
6048         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
6049         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
6050         Unref some more to make valgrind happy.
6051
6052 2007-03-22  Wim Taymans  <wim@fluendo.com>
6053
6054         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
6055         (gst_system_clock_id_wait_jitter),
6056         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6057         Fix anoying regression that survived a few releases. When adding an
6058         async entry while blocking on a sync entry, the sync entry will unblock
6059         but still be busy, so it should continue to wait instead of returning
6060         _BUSY to the app.
6061         Add some comments here and there.
6062
6063         * tests/check/gst/gstsystemclock.c: (mixed_thread),
6064         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
6065         Add testcase for this.
6066
6067 2007-03-22  Wim Taymans  <wim@fluendo.com>
6068
6069         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6070         Handle errors from the clock sync better, only UNSCHEDULED indicates a
6071         WRONG_STATE and can silently pause the task. All other cases should
6072         error out.
6073
6074 2007-03-22  Wim Taymans  <wim@fluendo.com>
6075
6076         Patch by: Ville Syrjala <syrjala at sci dot fi>
6077
6078         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
6079         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
6080         Improve debugging.
6081
6082 2007-03-21  Michael Smith  <msmith@fluendo.com>
6083
6084         * docs/pwg/advanced-types.xml:
6085           Fix some errors in the typefinding docs pointed out on irc.
6086
6087 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
6088
6089         * libs/gst/base/gstbasesrc.c:
6090         Clarify FIXME comment in the face of having added unlock_stop()
6091
6092 2007-03-21  Wim Taymans  <wim@fluendo.com>
6093
6094         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
6095         Prepare for release where we warn against possible app breakage in the
6096         case of live pipelines along with an env var to enable/disable live
6097         preroll mode (GST_COMPAT=[no-]live-preroll).
6098
6099 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6100
6101         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
6102         So we should use correct constants for checking for None offset.
6103
6104 2007-03-20  Wim Taymans  <wim@fluendo.com>
6105
6106         * docs/design/part-block.txt:
6107         Mention the fact that the newly switched element should be set to at
6108         least PAUSED.
6109
6110 2007-03-20  Wim Taymans  <wim@fluendo.com>
6111
6112         * gst/gst.c:
6113         Fix compilation with registry disabled as spotted by Saur.
6114
6115 2007-03-20  Wim Taymans  <wim@fluendo.com>
6116
6117         Patch by: Olivier Crete <tester at tester dot ca>
6118
6119         * gst/gstelement.c: (gst_element_sync_state_with_parent):
6120         Look at the pending state too when syncing the element state to the
6121         parent. Fixes #420133.
6122
6123 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
6124
6125         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
6126         (gst_base_sink_change_state):
6127         * libs/gst/base/gstbasesink.h:
6128         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
6129         (gst_base_src_default_event), (gst_base_src_unlock_stop),
6130         (gst_base_src_deactivate):
6131         * libs/gst/base/gstbasesrc.h:
6132         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
6133         for sub-classes to correctly clear any state they set trying to
6134         unlock, such as clearing out unlock commands from a command fd.
6135         API: basesrc::unlock_stop
6136         API: basesink::unlock_stop
6137
6138         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
6139         (gst_fd_sink_render), (gst_fd_sink_unlock),
6140         (gst_fd_sink_unlock_stop):
6141         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
6142         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
6143         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
6144
6145         Implement unlock_stop in fdsrc and fdsink.
6146         Implement seeking in fdsrc when a seekable fd is passed, as in
6147         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
6148
6149 2007-03-19  Wim Taymans  <wim@fluendo.com>
6150
6151         Patch by: Evan Nemerson <evan at coeus dash group dot com>
6152
6153         * gst/gstelement.c: (gst_element_class_init):
6154         Fix pad-added and pad-removed signal signatures so that the pad type is
6155         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
6156
6157 2007-03-19  Wim Taymans  <wim@fluendo.com>
6158
6159         * docs/gst/gstreamer-sections.txt:
6160         Add new element field and method.
6161
6162         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6163         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
6164         (gst_bin_recalc_state), (gst_bin_get_state_func),
6165         (gst_bin_element_set_state), (gst_bin_change_state_func),
6166         (gst_bin_continue_func), (bin_bus_handler),
6167         (bin_push_state_continue), (bin_handle_async_start),
6168         (bin_handle_async_done), (gst_bin_handle_message_func):
6169         Make async state changes a bit smarter by using new ASYNC_START and
6170         ASYNC_DONE messages. This reduces the number of times we run the state
6171         recalculation thread.
6172         Don't change state of element with a pending ASYNC_START message.
6173         Deprecate STATE_DIRTY messages.
6174         
6175         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
6176         (gst_element_get_state_func), (gst_element_continue_state),
6177         (gst_element_lost_state), (gst_element_set_state_func),
6178         (gst_element_change_state):
6179         * gst/gstelement.h:
6180         Keep the state that was last set by the app in a new element field.
6181         Don't allow state changes when handling an element event.
6182         Post ASYNC_START and ASYNC_DONE messages.
6183         Change lost_state so that we go to PAUSED and wait for the parent to set
6184         us to PLAYING again (so latency calculation can be performed)
6185         Export gst_element_change_state() method so that subclasses can use it.
6186         API: gst_element_change_state()
6187         API: GST_STATE_TARGET
6188
6189         * gst/gstpipeline.c: (gst_pipeline_class_init),
6190         (reset_stream_time), (gst_pipeline_change_state),
6191         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
6192         Using the new ASYNC_START message we can reset the base_time when
6193         needed. This can then be used to implement base_time redistribution in
6194         flushing seeks so that we can remove the explicit seek handling.
6195         Perform latency query and configuration when going to PLAYING.
6196
6197         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6198         (gst_base_sink_query), (gst_base_sink_change_state):
6199         Post new ASYNC_START/ASYNC_DONE messages.
6200
6201         * tests/check/generic/sinks.c: (GST_START_TEST):
6202         Fix test because the bin will not set the async element to PLAYING right
6203         away.
6204
6205         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
6206         Make the message check a little stronger.
6207         Handle ASYNC messages.
6208
6209         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
6210         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
6211         Expect ASYNC_DONE messages.
6212
6213 2007-03-19  Wim Taymans  <wim@fluendo.com>
6214
6215         * docs/gst/gstreamer-sections.txt:
6216         * gst/gstmessage.c: (gst_message_new_async_start),
6217         (gst_message_new_async_done), (gst_message_parse_info),
6218         (gst_message_parse_async_start):
6219         * gst/gstmessage.h:
6220         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
6221         support.
6222
6223 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * tools/gst-inspect.c:
6226         (print_plugin_automatic_install_info_codecs):
6227           Now that we don't check for the 'Codec' keyword any longer in the
6228           klass, we shouldn't spew a warning if the klass isn't a decoder or
6229           encoder (since it might be a Source/Network, for example).
6230
6231 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
6232
6233         * tools/gst-inspect.c:
6234         (print_plugin_automatic_install_info_codecs):
6235           Don't require decoder/demuxer/depayloader elements or
6236           encoder/muxer/paylader elements to have 'Codec' as part of their
6237           factory class string when introspecting a plugin's capabilities.
6238           draft-klass.txt mentions that it might be removed in future, and
6239           flump3dec doesn't have it as part of its class string, so chances
6240           are others might also not have it.
6241
6242 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6243
6244         * po/af.po:
6245         * po/az.po:
6246         * po/bg.po:
6247         * po/ca.po:
6248         * po/cs.po:
6249         * po/de.po:
6250         * po/en_GB.po:
6251         * po/fr.po:
6252         * po/it.po:
6253         * po/nb.po:
6254         * po/nl.po:
6255         * po/ru.po:
6256         * po/sq.po:
6257         * po/sr.po:
6258         * po/sv.po:
6259         * po/tr.po:
6260         * po/uk.po:
6261         * po/vi.po:
6262         * po/zh_CN.po:
6263         * po/zh_TW.po:
6264           Update translations from translation project
6265
6266 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
6267
6268         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
6269         (gst_child_proxy_set_property):
6270           Invert precondition check to be alike the ones in the mimiced gobject
6271           api.
6272
6273 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
6274
6275         * docs/design/draft-tagreading.txt:
6276         * docs/random/ensonic/audiobaseclasses.txt:
6277           Do some Architect work.
6278
6279         * gst/gstobject.c: (gst_object_set_name):
6280           Add a WARNING.
6281
6282         * gst/gstpad.c:
6283           Add docs that point from gst_pad_get_range to gst_pad_pull_range
6284
6285 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
6286
6287         * gst/gstsystemclock.c: (gst_system_clock_init),
6288         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
6289         Defer starting the async system clock thread until the first async
6290         wait is scheduled. Fixes #414986.
6291
6292 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
6295         (gst_single_queue_free):
6296           Fix small leak (free GstSingleQueue structure too, not only contents).
6297
6298 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
6299
6300         * gst/gstbin.c:(gst_bin_add):
6301         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
6302         * win32/common/libgstbase.def:
6303         * win32/common/libgstreamer.def:
6304         Add new exported functions.
6305
6306 2007-03-09  Wim Taymans  <wim@fluendo.com>
6307
6308         * docs/plugins/gstreamer-plugins-sections.txt:
6309         Fix GstTee docs.
6310
6311 2007-03-09  Wim Taymans  <wim@fluendo.com>
6312
6313         * docs/gst/gstreamer-sections.txt:
6314         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
6315         * gst/gstbuffer.h:
6316         Add metadata copy functions. Fixes #393099.
6317         API: gst_buffer_copy_metadata()
6318
6319         * gst/gstutils.c: (gst_buffer_stamp):
6320         * libs/gst/base/gstbasetransform.c:
6321         (gst_base_transform_prepare_output_buffer):
6322         Use new metadata copy functions.
6323
6324 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
6325
6326         * plugins/elements/gstidentity.c: (gst_identity_class_init),
6327         (gst_identity_init), (gst_identity_check_perfect),
6328         (gst_identity_check_imperfect_timestamp),
6329         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
6330         (gst_identity_set_property), (gst_identity_get_property):
6331         * plugins/elements/gstidentity.h:
6332         Separate out check-imperfect-timestamp and check-imperfect-offset.
6333         Put back check-perfect as it was to keep compatibility.
6334
6335 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
6336
6337         * gst/gstelement.c: (gst_element_dispose):
6338         There's no need to warn if VOID_PENDING is not NONE here, as
6339         long as the state is NULL it's ok, and that's checked immediately
6340         above.
6341
6342 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6343
6344         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6345         Fix check for perfect stream to ignore buffers with -1 
6346         offsets/offset ends when checking data contiguity.
6347
6348 2007-03-08  Wim Taymans  <wim@fluendo.com>
6349
6350         * tools/gst-launch.c: (event_loop):
6351         Print INFO messages.
6352
6353 2007-03-08  Wim Taymans  <wim@fluendo.com>
6354
6355         * libs/gst/base/gstbasetransform.c:
6356         (gst_base_transform_sink_eventfunc),
6357         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
6358         (gst_base_transform_activate):
6359         * libs/gst/base/gstbasetransform.h:
6360         Add support for dropping buffers with custom GstFlowReturn.
6361         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
6362         buffers or dropped buffers.
6363
6364         * docs/libs/gstreamer-libs-sections.txt:
6365         docs for new custom return code.
6366
6367         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6368         Use drop support in base class to implement drop-probability.
6369
6370 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
6371
6372         * gst/gst.c: (load_plugin_func):
6373         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
6374         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
6375         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
6376           Remove newlines at end of debug log strings.
6377
6378 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6379
6380         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6381         Only post bus message at max, once per buffer received.
6382
6383 2007-03-07  Wim Taymans  <wim@fluendo.com>
6384
6385         * docs/design/Makefile.am:
6386         * docs/design/part-synchronisation.txt:
6387         Add doc about synchronisation
6388
6389         * docs/design/draft-latency.txt:
6390         * docs/design/part-TODO.txt:
6391         * docs/design/part-clocks.txt:
6392         * docs/design/part-events.txt:
6393         * docs/design/part-gstbus.txt:
6394         * docs/design/part-gstpipeline.txt:
6395         * docs/design/part-live-source.txt:
6396         * docs/design/part-messages.txt:
6397         * docs/design/part-overview.txt:
6398         * docs/design/part-streams.txt:
6399         * docs/design/part-trickmodes.txt:
6400         Documentation updates.
6401
6402 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6403
6404         * gstreamer.doap:
6405         Update the doap file.
6406
6407 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6408
6409         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
6410         Rename non-perfect to imperfect for Mike and for the sanctity of the
6411         language.
6412         Also make sure bus message gets emitted for data-incontiguities.
6413
6414 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6415
6416         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
6417         (gst_identity_start):
6418         * plugins/elements/gstidentity.h:
6419         Emit bus message if check-perfect is true and we encounter a
6420         non-perfect stream between 2 consecutive buffers.
6421         Fixes #415394.
6422
6423 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
6424
6425         * configure.ac:
6426         Back to CVS
6427
6428 === release 0.10.12 ===
6429
6430 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
6431
6432         * configure.ac:
6433           releasing 0.10.12, "Inevitable Demise"
6434
6435 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
6436
6437         * configure.ac:
6438          Version 0.10.11.2 (0.10.12 pre-release)
6439          Bump libtool versioning.
6440
6441 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
6442
6443         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6444           Log flow-names and not numbers.
6445
6446 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6447
6448         * configure.ac:
6449           Convert to new AG_GST style.
6450
6451 2007-02-28  Wim Taymans  <wim@fluendo.com>
6452
6453         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
6454         Don't unref query twice.
6455
6456 2007-02-28  Wim Taymans  <wim@fluendo.com>
6457
6458         * gst/gstvalue.c: (gst_value_transform_object_string),
6459         (_gst_value_initialize):
6460         Implement GstObject -> string transform so we print object names
6461         when serializing GValues containing GstObjects.
6462
6463 2007-02-28  Wim Taymans  <wim@fluendo.com>
6464
6465         * docs/gst/gstreamer-sections.txt:
6466         Add new stuff to docs.
6467
6468 2007-02-28  Wim Taymans  <wim@fluendo.com>
6469
6470         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
6471         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
6472         (gst_base_sink_change_state):
6473         Improve latency query code.
6474         Don't leak latency events.
6475
6476         * tests/check/gst/gstbin.c: (GST_START_TEST):
6477         Improve debugging.
6478
6479 2007-02-28  Wim Taymans  <wim@fluendo.com>
6480
6481         * gst/gstelement.c: (gst_element_message_full),
6482         (gst_element_get_state_func):
6483         * gst/gstelement.h:
6484         Improve docs a little. Added Since: for new macro.
6485
6486         * gst/gstobject.c: (gst_object_sink):
6487         * gst/gstpipeline.c: (gst_pipeline_change_state),
6488         (gst_pipeline_set_new_stream_time):
6489         * gst/gstpipeline.h:
6490         Improve debugging and docs.
6491
6492         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6493         Improve debugging.
6494
6495 2007-02-28  Wim Taymans  <wim@fluendo.com>
6496
6497         * gst/gstelement.c: (gst_element_message_full),
6498         (gst_element_set_locked_state), (gst_element_get_state_func),
6499         (gst_element_change_state):
6500         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
6501         Documentation updates.
6502         Small code cleanups.
6503
6504         * gst/gstmessage.c: (gst_message_new_info),
6505         (gst_message_parse_info):
6506         * gst/gstmessage.h:
6507         API: gst_message_new_info()
6508         API: gst_message_parse_info()
6509         Add INFO message create and parse code.
6510
6511 2007-02-28  Wim Taymans  <wim@fluendo.com>
6512
6513         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
6514         (bin_query_latency_done):
6515         Also report the live parameter of a latency query.
6516
6517 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6518
6519         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
6520           Copy the current generic/states example from -base and adapt so
6521           we can use the exact same code everywhere.
6522           Check a STATES_IGNORE_ELEMENTS env var which can be used
6523           to ignore certain element factories for this test, which is
6524           what is being done in -base
6525         * tests/check/Makefile.am:
6526           Mention this environment variable.
6527
6528 2007-02-27  Wim Taymans  <wim@fluendo.com>
6529
6530         * docs/gst/gstreamer-sections.txt:
6531         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6532         (gst_bus_timed_pop), (gst_bus_pop):
6533         * gst/gstbus.h:
6534         API: gst_bus_timed_pop()
6535         Implement gst_bus_timed_pop() to do a blocking timed wait for a
6536         message to arrive on the bus.
6537
6538         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
6539         (gst_bus_suite):
6540         Two unit tests for new _timed_pop() function.
6541
6542 2007-02-23  Wim Taymans  <wim@fluendo.com>
6543
6544         * gst/gstpipeline.c: (gst_pipeline_change_state),
6545         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
6546         Don't ref a NULL clock in _provide_clock_func().
6547         Don't allow an INVALID delay.
6548         Don't try to calculate base_time with an invalid start_time.
6549         Also distribute and notify a NULL clock when it was selected.
6550
6551         * tools/gst-launch.c: (event_loop):
6552         Don't crash when a NULL clock was selected in the pipeline.
6553
6554 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         * docs/design/Makefile.am:
6557         * docs/design/draft-missing-plugins.txt:
6558         * docs/random/draft-missing-plugins.txt:
6559           Some small updates: update plugin system identifier prefix
6560           ('gstreamer.net' to 'gstreamer'), mention our new install
6561           API in libgstbaseutils rather than libgimme-codec, add
6562           reference to the online docs.
6563
6564 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6565
6566         * win32/common/config.h:
6567           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
6568           use moap cl ci to only check in what is mentioned in the ChangeLog.
6569
6570 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6571
6572         * docs/gst/gstreamer-sections.txt:
6573         * gst/gstelement.h:
6574           Fix up documentation to link to the correct GstGError section.
6575           Add GST_ELEMENT_INFO macro since someone else added a Info message.
6576
6577 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
6578
6579         * tools/gst-launch.c: (event_loop):
6580           Make sure that we actually show the important message part of a
6581           warning message.
6582           No need to check if the gerror is not NULL to free; first of all
6583           g_free accepts NULL; and second the default error handler would
6584           segfault if gerror was NULL.
6585
6586 2007-02-21  Wim Taymans  <wim@fluendo.com>
6587
6588         * docs/gst/gstreamer-sections.txt:
6589         Removed docs as well.
6590
6591 2007-02-21  Wim Taymans  <wim@fluendo.com>
6592
6593         * gst/gstmessage.c: (gst_message_parse_duration):
6594         * gst/gstmessage.h:
6595         Remove new messages for release.
6596
6597 2007-02-20  Wim Taymans  <wim@fluendo.com>
6598
6599         * docs/design/part-gstghostpad.txt:
6600         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
6601         (gst_ghost_pad_new_full):
6602         Make the ghostpad a parent of the internal pad again for better backward
6603         compatibility. Don't write code that relies on this however.
6604
6605         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
6606         (gst_pad_link_check_hierarchy):
6607         Require that parents should be GstElements in the hierarchy check.
6608
6609 2007-02-20  Wim Taymans  <wim@fluendo.com>
6610
6611         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
6612         (gst_bin_change_state_func), (bin_query_min_max_init),
6613         (bin_query_latency_fold), (bin_query_latency_done),
6614         (gst_bin_query):
6615         Improve debug info.
6616         Implement latency query.
6617
6618 2007-02-20  Wim Taymans  <wim@fluendo.com>
6619
6620         * docs/design/part-gstghostpad.txt:
6621         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
6622         (gst_ghost_pad_internal_do_activate_push),
6623         (gst_ghost_pad_internal_do_activate_pull),
6624         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
6625         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
6626         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
6627         Do not set the internal pad as a parent anymore so we can avoid
6628         hierarchy linking errors when the ghostpad has no parent yet. This also
6629         fixes failed activation because of unlinked internal pads, which in
6630         turn fixes the impossible case where you have to activate a pad before
6631         you can add it to a running element.
6632         Also fix the docs.
6633
6634         * gst/gstpad.c: (pre_activate), (post_activate),
6635         (gst_pad_set_active), (gst_pad_activate_pull),
6636         (gst_pad_activate_push), (gst_pad_check_pull_range):
6637         Add some more debug info.
6638         Mark activation mode in pre_activate so that we don't try to activate in
6639         endless loops. Fixes #385084.
6640
6641 2007-02-19  Wim Taymans  <wim@fluendo.com>
6642
6643         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
6644         (gst_base_transform_check_get_range):
6645         Implement a checkgetrange function instead of relying on the default
6646         core behaviour that assumes we can operate in pull mode if we have a
6647         getrange function. First step at fixing #385084.
6648
6649 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
6650
6651         * gst/gstchildproxy.h:
6652         * libs/gst/base/gstbasesink.h:
6653         * libs/gst/base/gstbasesrc.h:
6654         * libs/gst/base/gstbasetransform.h:
6655         More docs coverage and some ChangeLog surgery (add missing names)
6656
6657 2007-02-15  Wim Taymans  <wim@fluendo.com>
6658
6659         * docs/design/part-TODO.txt:
6660         * docs/design/part-activation.txt:
6661         * docs/design/part-block.txt:
6662         * docs/design/part-buffering.txt:
6663         * docs/design/part-clocks.txt:
6664         * docs/design/part-element-source.txt:
6665         * docs/design/part-events.txt:
6666         * docs/design/part-gstbin.txt:
6667         * docs/design/part-gstbus.txt:
6668         * docs/design/part-gstpipeline.txt:
6669         * docs/design/part-live-source.txt:
6670         * docs/design/part-messages.txt:
6671         * docs/design/part-overview.txt:
6672         * docs/design/part-qos.txt:
6673         * docs/design/part-query.txt:
6674         * docs/design/part-states.txt:
6675         * docs/design/part-trickmodes.txt:
6676         Some doc updates. Start renaming from stream_time to running_time where
6677         it was used wrongly.
6678
6679 2007-02-15  Wim Taymans  <wim@fluendo.com>
6680
6681         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6682         Answer LATENCY query.
6683
6684 2007-02-15  Wim Taymans  <wim@fluendo.com>
6685
6686         * tests/check/gst/gstevent.c: (event_probe), (test_event),
6687         (GST_START_TEST):
6688         Improve debugging.
6689
6690 2007-02-15  Wim Taymans  <wim@fluendo.com>
6691
6692         * gst/gstpad.c: (gst_pad_get_internal_links_default),
6693         (gst_pad_dispatcher):
6694         Improve debugging of default pad dispatcher and query functions.
6695
6696 2007-02-15  Wim Taymans  <wim@fluendo.com>
6697
6698         * docs/gst/gstreamer-sections.txt:
6699         Remove old unused method.
6700
6701 2007-02-13  Wim Taymans  <wim@fluendo.com>
6702
6703         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6704         Fix check
6705
6706 2007-02-13  Wim Taymans  <wim@fluendo.com>
6707
6708         * docs/design/part-seeking.txt:
6709         Some small update.
6710
6711         * gst/gstsegment.c: (gst_segment_set_seek):
6712         Revert old bogus change that should make seeking work again.
6713
6714 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6715
6716         * docs/random/ensonic/dynlink.txt:
6717         * docs/random/ensonic/interfaces.txt:
6718         * docs/random/ensonic/receipies.txt:
6719           Possible dynamic reconnection api, plus some type fixes the other two
6720           docs.
6721
6722 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
6723
6724         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6725         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6726         Also check for an absolute path following file:// in the filesrc
6727         element. Remove redundant check and call g_path_is_absolute() on the
6728         unescaped location.
6729
6730 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
6731
6732         * docs/design/draft-klass.txt:
6733           Add existing category analysis.
6734           
6735         * gst/gstcaps.c:
6736           Fix doc example, framerate is a fraction.
6737
6738 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6739
6740         * configure.ac:
6741         * docs/gst/Makefile.am:
6742         * docs/gst/gstreamer-sections.txt:
6743         * docs/libs/Makefile.am:
6744           Erm, forgot a bunch of --extra-dir.
6745
6746 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
6747
6748         * configure.ac:
6749         * docs/gst/Makefile.am:
6750         * docs/libs/Makefile.am:
6751         * docs/plugins/Makefile.am:
6752           Add crossreferences to glib/gobject docs.
6753
6754 2007-02-12  Wim Taymans  <wim@fluendo.com>
6755
6756         * docs/design/draft-latency.txt:
6757         Small update.
6758
6759         * docs/libs/gstreamer-libs-sections.txt:
6760         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6761         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
6762         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
6763         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
6764         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
6765         (gst_base_sink_get_position), (gst_base_sink_query),
6766         (gst_base_sink_change_state):
6767         * libs/gst/base/gstbasesink.h:
6768         API: gst_base_sink_query_latency() to let subclasses query the upstream
6769         latency.
6770         API: gst_base_sink_get_latency() to let subclasses query the configured
6771         latency in the sink.
6772         Implement query and set latency.
6773         Update some docs.
6774         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
6775         don't continue preroll when we are flushing. Fixes #405284.
6776
6777         * tests/check/pipelines/stress.c: (change_state_timeout),
6778         (quit_timeout), (GST_START_TEST), (stress_suite):
6779         Test for #405284.
6780
6781 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
6782
6783         Patch by: René Stadler <mail at renestadler de>
6784
6785         * docs/gst/gstreamer-sections.txt:
6786         * gst/gsttaglist.c: (_gst_tag_initialize):
6787         * gst/gsttaglist.h:
6788           API: add GST_TAG_REFERENCE_LEVEL (#403597).
6789
6790 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
6791
6792         * docs/libs/Makefile.am:
6793           Fix path to core docs.
6794
6795         * gst/gstbin.c: (gst_bin_get_by_interface),
6796         (gst_bin_iterate_all_by_interface):
6797           Refix docs by also renaming 'interface' to 'iface' in implementation.
6798
6799         * docs/gst/gstreamer-sections.txt:
6800         * gst/gstcaps.c:
6801         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
6802         * gst/gstchildproxy.h:
6803         * gst/gstelementfactory.c:
6804         * gst/gstpadtemplate.h:
6805         * libs/gst/controller/gstcontroller.c:
6806         (gst_controlled_property_new):
6807           Document more.
6808
6809 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
6810
6811         * gst/gstbin.h:(gst_bin_get_by_interface),
6812         (gst_bin_iterate_all_by_interface):
6813         Replace interface parameter name by iface as interface is 
6814         a reserved keyword in Visual Studio for C++ projects so it removes
6815         a build error for application developpers using VS.
6816         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
6817         Fix a bug on Windows in uri format check. Now the prefix checked
6818         is file:// and next we check if the path after file:// is absolute.
6819         * win32/common/libgstbase.def:
6820         * win32/common/libgstdataprotocol.def:
6821         * win32/common/libgstgstreamer.def:
6822         Add new exported functions.
6823
6824 2007-02-09  Andy Wingo  <wingo@pobox.com>
6825
6826         * tests/check/pipelines/simple-launch-lines.c
6827         (simple_launch_lines_suite, test_tee): Disable tee test until I
6828         have time to fix it :-(
6829
6830         * tests/check/Makefile.am (noinst_HEADERS): 
6831         * tests/check/libs/libsabi.c: 
6832         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
6833         * tests/check/gst/gstabi.c: 
6834         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
6835
6836         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
6837         tests for push and pull tee behavior.
6838
6839         * plugins/elements/gsttee.h: 
6840         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
6841         mark as deprecated as well as unimplemented. It was a crack idea.
6842         Add support for tee operating in pull mode, off by default.
6843
6844         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
6845         normal-case logs down to LOG, raise errors to WARNING.
6846         (gst_registry_xml_read_cache): Don't log before calling a function
6847         that logs.
6848
6849         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
6850         exit (registry finalize).
6851         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
6852         DEBUG log when we emit signals that people don't even have the
6853         chance to connect to.
6854         (gst_registry_scan_path_level): Less logging in the normal case.
6855
6856 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6857
6858         Patch by: Michal Benes <michal dot benes at itonis dot tv>
6859
6860         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
6861         Correctly generate EOS for non-seekable files. We don't have a total
6862         length for them and would get an unexpected end of file if we only
6863         special-cased for regular files. (Fixes: #404569)
6864
6865 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
6866
6867         * tests/check/elements/filesrc.c: (GST_START_TEST),
6868         (filesrc_suite):
6869         Add unit test for the GstURIHandler interface in filesrc. This also
6870         tests the newly added file://localhost/foo/bar support.
6871
6872 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
6873
6874         * gst/gstelementfactory.h:
6875           The klass string is not a hierarchy. Add reference to the design doc
6876           for more information and common types.
6877
6878 2007-02-02  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstquery.c: (gst_query_new_latency):
6881         Remove old structure field.
6882
6883 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
6884
6885         * tools/gst-launch.1.in:
6886           Give example for network streaming (#351998)
6887
6888 2007-02-02  Wim Taymans  <wim@fluendo.com>
6889
6890         * docs/gst/gstreamer-sections.txt:
6891         Add docs for new methods.
6892
6893         * gst/gstevent.c: (gst_event_new_latency),
6894         (gst_event_parse_latency):
6895         * gst/gstevent.h:
6896         Add new LATENCY event to configure latency in a pipeline.
6897         API: gst_event_new_latency
6898         API: gst_event_parse_latency
6899
6900         * gst/gstmessage.c: (gst_message_new_buffering),
6901         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
6902         (gst_message_new_latency), (gst_message_parse_buffering),
6903         (gst_message_parse_lost_preroll):
6904         * gst/gstmessage.h:
6905         Added messages used in draft-latency.
6906         API: gst_message_new_lost_preroll
6907         API: gst_message_parse_lost_preroll
6908         API: gst_message_new_prerolled
6909         API: gst_message_new_latency
6910
6911         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
6912         (gst_query_parse_latency):
6913         * gst/gstquery.h:
6914         Implemented new latency query as in design doc.
6915         API: gst_query_new_latency
6916         API: gst_query_set_latency
6917         API: gst_query_parse_latency
6918
6919 2007-02-02  Wim Taymans  <wim@fluendo.com>
6920
6921         * docs/design/draft-latency.txt:
6922         Slight redesign to allow for dynamic latency adjustments.
6923
6924         * docs/design/part-negotiation.txt:
6925         Fix some typos.
6926
6927 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
6928
6929         reviewed by: Wim Taymans <wim@fluendo.com>
6930
6931         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6932         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6933         Allow file://localhost/foo/bar URLs and correctly fail for every other
6934         hostname that one sets. This was gnomevfssrc is linked for those if
6935         installed as it can handle it (#403172)
6936
6937 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6938
6939         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6940
6941         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6942         (unref_data), (gst_collect_pads_add_pad_full):
6943         * libs/gst/base/gstcollectpads.h:
6944         Don't put the previously added destroy notify in the GstCollectData
6945         struct as all it's padding is already used and we don't want to break
6946         ABI. Instead put in the pad's GObject data for now. This should be
6947         cleaned up for 0.11 (#402393).
6948
6949 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
6950
6951         reviewed by: Wim Taymans <wim@fluendo.com>
6952
6953         * docs/libs/gstreamer-libs-sections.txt:
6954         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6955         (unref_data), (gst_collect_pads_add_pad),
6956         (gst_collect_pads_add_pad_full):
6957         * libs/gst/base/gstcollectpads.h:
6958         API: Add function to specify a destroy notification for custom
6959         GstCollectData when adding new pads in GstCollectPads (#402393).
6960
6961 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
6962
6963         * po/sv.po:
6964           Update Swedish translation (#378255).
6965
6966 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6967
6968         * docs/design/draft-klass.txt:
6969           Fix the previous change, this is a list of categories and not a hierarchy.
6970
6971 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
6972
6973         * docs/design/draft-klass.txt:
6974           Add info about how to get a list of used classes.
6975
6976 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
6977
6978         * plugins/elements/gsttypefindelement.c:
6979         (gst_type_find_element_chain_do_typefinding),
6980         (gst_type_find_element_change_state):
6981           Don't leak found caps in chain function (no idea why that never
6982           showed up as a leak anywhere).
6983
6984 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
6985
6986         * gst/gstplugin.h:
6987           Fix and expand GstPluginDesc API docs.
6988
6989 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
6990
6991         * gst/gstcaps.c:
6992         * gst/gstelementfactory.c:
6993         * gst/gstpadtemplate.h:
6994           api doc fixes
6995
6996         * libs/gst/controller/gstcontroller.c:
6997         (gst_controlled_property_new):
6998         * tests/examples/controller/audio-example.c:
6999           comment fixes
7000
7001 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7002
7003         * configure.ac:
7004           comment about refining the xml deps
7005
7006         * docs/manuals.mak:
7007           comments about moving away from jade for docs
7008         
7009         * gst/gst.c:
7010           recommit the ifdefs to use the binary registry
7011         
7012         * gst/gstbin.c: (gst_bin_change_state_func):
7013           this break is obsolete
7014
7015         * gst/gstelementfactory.h:
7016           better GST_ELEMENT_DETAILS docs, add comment about translation
7017
7018         * gst/gstinfo.h:
7019           remove eol slash
7020
7021         * gst/gstobject.c: (gst_signal_object_get_type):
7022           add G_UNLIKELY as usual
7023
7024         * gst/gstpad.c: (gst_pad_event_default):
7025           add fall trhu comment
7026
7027         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7028         (gst_registry_binary_initialize_magic),
7029         (gst_registry_binary_save_string),
7030         (gst_registry_binary_save_pad_template),
7031         (gst_registry_binary_save_feature),
7032         (gst_registry_binary_save_plugin),
7033         (gst_registry_binary_write_cache),
7034         (gst_registry_binary_check_magic),
7035         (gst_registry_binary_load_pad_template),
7036         (gst_registry_binary_load_feature),
7037         (gst_registry_binary_load_plugin),
7038         (gst_registry_binary_read_cache):
7039           comment typo and formatting
7040
7041         * gst/gstutils.c: (gst_element_state_get_name),
7042         (gst_element_state_change_return_get_name):
7043           remove obsolete breaks
7044
7045         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
7046           add FIXME 0.11 and remove cpp comment
7047
7048 2007-01-29  Edward Hervey  <edward@fluendo.com>
7049
7050         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7051         Fix print statement in an even more portable way.
7052
7053 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
7054
7055         * docs/gst/gstreamer-sections.txt:
7056         * gst/gstutils.h:
7057           API: add GST_ROUND_DOWN_* macros (#401781).
7058
7059 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
7060
7061         * docs/gst/gstreamer.types.in:
7062         * gst/gstregistry.c: (gst_registry_class_init):
7063           Document registry signals and make gtk-doc pick them up (#401381).
7064
7065 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7066
7067         * docs/pwg/building-testapp.xml:
7068           Add some audioconverts and audioresample to the pipeline, and some
7069           more comments and error handling.
7070
7071 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
7072
7073         * docs/manual/manual.xml:
7074         * docs/pwg/pwg.xml:
7075           Fix typo (#400987).
7076
7077 2007-01-26  Wim Taymans  <wim@fluendo.com>
7078
7079         * gst/gstcaps.c: (gst_static_caps_get):
7080         Init caps flags too.
7081
7082 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
7083
7084         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
7085
7086         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
7087         If not using mmap'ed files try to seek to the end instead of the
7088         start to determine whether we can seek at all. This fixes the case
7089         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
7090         seeks for everything afterwards fail. Fixes #400656
7091
7092 2007-01-25  Wim Taymans  <wim@fluendo.com>
7093
7094         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
7095         Add some refcount debugging.
7096         Make gst_static_caps_get threadsafe, which is needed when autoplugging
7097         in multiple streaming threads.
7098
7099 2007-01-25  Wim Taymans  <wim@fluendo.com>
7100
7101         Patch by: David Schleef <ds at schleef dot org>
7102
7103         * docs/libs/gstreamer-libs-sections.txt:
7104         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
7105         * libs/gst/base/gstadapter.h:
7106         API: gst_adapter_copy() that can reduce the amount of memcpy when
7107         getting data from the adapter. Fixes #388201.
7108
7109 2007-01-25  Edward Hervey  <edward@fluendo.com>
7110
7111         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7112         In print statements, "%x" is for guint. Fixes build on macosx.
7113
7114 2007-01-24  Edward Hervey  <edward@fluendo.com>
7115
7116         * plugins/elements/gstmultiqueue.c:
7117         (gst_multi_queue_loop):
7118         Small fix.
7119         (single_queue_overrun_cb), (single_queue_underrun_cb),
7120         (single_queue_check_full), (gst_single_queue_new):
7121         Implement single queue growth system.
7122         This uses the extra-size properties, and will grow single queues by
7123         that much if one goes full whereas there are others empty. This is
7124         called extra-mode in the code.
7125         When a single queue's levels go back below the initial max-size
7126         limits, it is no longer in extra-mode. This is to ensure we don't
7127         consume too much memory.
7128         Fixes #399875
7129
7130 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
7131
7132         * gst/gst.c: (gst_init_get_option_group):
7133           Make warning about late g_thread_init() calls a bit more explicit,
7134           so that it's more obvious to application developers what they need
7135           to do if a user files a bug against their application.
7136
7137 2007-01-22  Edward Hervey  <edward@fluendo.com>
7138
7139         * plugins/elements/gstmultiqueue.c:
7140         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
7141         Remove previous hack of unsetting the flushing flag for the source pad
7142         instead of activating it. Instead, fix the source pad activate function
7143         so that it no longer depends on having a parent set or not.
7144
7145 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
7146
7147         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
7148
7149         * docs/manual/basics-bus.xml:
7150           Fix example code, gst_element_unref() doesn't exist any longer.
7151
7152 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
7153
7154         Patch by: Mark Nauwelaerts <manauw at skynet be>
7155
7156         * gst/gstpad.c:
7157           Fix two docs typoes (#399094).
7158
7159 2007-01-19  Edward Hervey  <edward@fluendo.com>
7160
7161         * docs/faq/gst-uninstalled:
7162         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
7163         depending on libgstbaseutils can work in uninstalled environment.
7164
7165 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
7166
7167         * gst/gsttaglist.h:
7168         * gst/gsttagsetter.c:
7169         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
7170         statement for new tag.
7171
7172 2007-01-17  Edward Hervey  <edward@fluendo.com>
7173
7174         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
7175         When dynamically creating single queues, activate sinkpad before adding
7176         it.
7177         We should be doing the same thing for the source pad, but we can't
7178         since it would call a method which needs the parent to be set in order
7179         to work propertly. Instead of activating the source pad, we just unset
7180         the flushing flag, which is the minimal requirement for adding a pad
7181         to an element in a state greater than READY.
7182
7183 2007-01-17  Edward Hervey  <edward@fluendo.com>
7184
7185         * docs/faq/gst-uninstalled:
7186         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
7187         Mac OS X.
7188
7189 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
7190
7191         * tests/check/gst/gstabi.c:
7192         * tests/check/gst/struct_hppa.h:
7193         * tests/check/libs/libsabi.c:
7194         * tests/check/libs/struct_hppa.h:
7195           Add ABI structs for HPPA (see #393796).
7196
7197 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
7198
7199         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
7200           Actually write ABI structs to the file specified in the GST_ABI
7201           environment variable, as the message we print claims we would.
7202
7203 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7204
7205         * tests/check/gst/gsttask.c:
7206           Fix header comment.
7207
7208 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7209
7210         * gst/gsttaglist.c: (_gst_tag_initialize):
7211           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
7212           previous two entries.
7213
7214 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7215
7216         * docs/gst/gstreamer-sections.txt:
7217         * gst/gsttaglist.c: (_gst_tag_initialize):
7218         * gst/gsttaglist.h:
7219           Add tag support for beat-per-minute.
7220
7221 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
7222
7223         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7224         (gst_registry_binary_initialize_magic),
7225         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
7226         (gst_registry_binary_save_pad_template),
7227         (gst_registry_binary_save_feature),
7228         (gst_registry_binary_save_plugin),
7229         (gst_registry_binary_write_cache),
7230         (gst_registry_binary_check_magic),
7231         (gst_registry_binary_load_pad_template),
7232         (gst_registry_binary_load_feature),
7233         (gst_registry_binary_load_plugin),
7234         (gst_registry_binary_read_cache):
7235         * gst/gstregistrybinary.h:
7236           Use glib types, cleanup comments, impement interfaces and uri-types.
7237
7238 2007-01-13  Andy Wingo  <wingo@pobox.com>
7239
7240         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
7241         getrange() to return buffers with other caps, while we fix
7242         demuxers and typefind, or otherwise change part-negotiation.txt.
7243
7244 2007-01-12  Andy Wingo  <wingo@pobox.com>
7245
7246         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
7247         Factor start/stop into this private function instead of partially
7248         in activate functions and partially in the change_state function.
7249         Fixes setup before the element has changed from READY->PAUSED, as
7250         is the case in pull-mode pipelines.
7251         (gst_base_transform_sink_activate_push)
7252         (gst_base_transform_src_activate_pull): Refactor to use
7253         gst_base_transform_activate().
7254         (gst_base_transform_change_state): Removed, not needed any more.
7255
7256         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7257         Truncate before fixating.
7258         
7259         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
7260         Don't set_caps() if the result of fixating is ANY, as it's not
7261         supported, and not necessary in the case of a link with no
7262         template caps on either side. Fixes tests/check/libs/basesrc in
7263         some pull-mode tests.
7264
7265         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
7266         (gst_base_transform_init, gst_base_transform_sink_activate_push)
7267         (gst_base_transform_src_activate_pull): 
7268         Track the activation mode.
7269         (gst_base_transform_setcaps): In pull mode, when activating the
7270         src pad, after activating the sink pad, activate the sink pad's
7271         peer, as discussed in part-negotiation.txt.
7272
7273         * libs/gst/base/gstbasesrc.h: 
7274         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
7275         vmethod, as in basesink.
7276
7277         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
7278
7279         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
7280         mode, first proxy the setcaps to the peer pad.
7281         (gst_base_sink_pad_fixate): Add a fixate function that calls the
7282         new fixate vmethod.
7283         (gst_base_sink_default_activate_pull): Rename from
7284         gst_base_sink_activate_pull.
7285         (gst_base_sink_negotiate_pull): New function, performs negotiation
7286         in pull mode before calling ::activate_pull().
7287         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
7288         vmethod instead of the default implementation. I have no idea how
7289         this worked before. Negotiate before calling activate_pull.
7290
7291         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
7292         sink pads in pull mode. In addition to being correct, fixes
7293         filesrc ! decodebin ! identity ! fakesink.
7294         (gst_pad_get_range, gst_pad_pull_range): Don't call
7295         gst_pad_set_caps() if the caps changes; instead error out with
7296         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
7297
7298 2007-01-12  Andy Wingo  <wingo@pobox.com>
7299
7300         * docs/design/part-negotiation.txt: Update with more policy.
7301
7302 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7303
7304         * libs/gst/check/gstbufferstraw.h:
7305         * libs/gst/check/gstcheck.h:
7306           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
7307           belongs.
7308
7309 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7310
7311         * tests/check/Makefile.am:
7312         * tests/check/gst/.cvsignore:
7313         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
7314         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
7315         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
7316         (GST_START_TEST), (gst_tag_setter_suite):
7317           Add minimal unit test for beforementioned GstTagSetter bug.
7318
7319 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
7320
7321         Patch by: René Stadler <mail at renestadler dot de>
7322
7323         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
7324           gst_tag_list_merge() returns a new list, so it's not the best idea
7325           to ingore its return value. Effectively meant that tags could only
7326           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
7327           Also add function guard to require a non-NULL taglist as input (has
7328           always been so due to gst_tag_list_copy(), just making it explicit).
7329
7330 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         * docs/random/draft-missing-plugins.txt:
7333           Some additions: mention new API that is supposed to be used at the
7334           various stages; short blob about new gst-inspect introspection
7335           option; mention potential future problem with plugins that have
7336           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
7337
7338 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7339
7340         * tools/gst-inspect.c:
7341         (print_plugin_automatic_install_info_codecs),
7342         (print_plugin_automatic_install_info_protocols),
7343         (print_plugin_automatic_install_info), (main):
7344         Add --print-plugin-auto-install-info option to gst-inspect, so we can
7345         introspect plugin files and get machine-parsable output that corresponds
7346         to the last bit of the missing-plugin installer string (small gotcha:
7347         doesn't take into account ranks).
7348
7349 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
7350
7351         * configure.ac:
7352         * docs/gst/gstreamer-sections.txt:
7353         * gst/Makefile.am:
7354         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
7355         (gst_registry_lookup_locked):
7356         * gst/gstregistry.h:
7357         * gst/gstregistrybinary.c: (gst_registry_binary_write),
7358         (gst_registry_binary_initialize_magic),
7359         (gst_registry_binary_save_string),
7360         (gst_registry_binary_save_pad_template),
7361         (gst_registry_binary_save_feature),
7362         (gst_registry_binary_save_plugin),
7363         (gst_registry_binary_write_cache),
7364         (gst_registry_binary_check_magic),
7365         (gst_registry_binary_load_pad_template),
7366         (gst_registry_binary_load_feature),
7367         (gst_registry_binary_load_plugin),
7368         (gst_registry_binary_read_cache):
7369         * gst/gstregistrybinary.h:
7370         * gst/gstregistryxml.c: (load_feature),
7371         (gst_registry_xml_read_cache):
7372           commit binary registry (disabled by default, see #359653)
7373
7374 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
7375
7376         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
7377           Fix 'make check' too.
7378
7379 2007-01-10  Andy Wingo  <wingo@pobox.com>
7380
7381         * docs/design/part-negotiation.txt: Fix a typo, add a couple
7382         notes.
7383         
7384         * docs/design/part-negotiation.txt: Update with, um, one way that
7385         pull-mode negotiation might work?
7386
7387         * gst/gstpad.h: 
7388         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
7389         that the pad must be a src pad; makes sense to call it the other
7390         way in pull mode, and the logic is symmetric anyway.
7391
7392 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
7393
7394         * plugins/elements/gstfilesink.c:
7395           Include <stdio.h> for fseeko().
7396
7397 2007-01-10  Wim Taymans  <wim@fluendo.com>
7398
7399         * gst/gstevent.c:
7400         * gst/gstevent.h:
7401         Reserve LATENCY event.
7402
7403 2007-01-09  Wim Taymans  <wim@fluendo.com>
7404
7405         * docs/design/draft-latency.txt:
7406         Updates.
7407
7408 2007-01-09  Wim Taymans  <wim@fluendo.com>
7409
7410         * docs/design/draft-latency.txt:
7411         Updates.
7412
7413         * gst/gstelement.h:
7414         * gst/gststructure.c:
7415         * gst/gsttrace.c:
7416         Small typo fixes.
7417
7418 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
7419
7420         * tests/check/.cvsignore:
7421           Ignore test-registry.xml as well.
7422
7423 2007-01-09  Wim Taymans  <wim@fluendo.com>
7424
7425         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
7426         unref data at the end when we are done with the pad.
7427
7428 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7429
7430         * docs/gst/gstreamer-sections.txt:
7431         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
7432         (init_post), (gst_deinit), (gst_update_registry):
7433         * gst/gst.h:
7434           API: add gst_update_registry() (#391296).
7435
7436         * tests/check/Makefile.am:
7437         * tests/check/gst/gstregistry.c:
7438         * tests/check/gst/.cvsignore:
7439           Simple unit test for the above.
7440
7441 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
7442
7443         * gst/gstregistry.c: (gst_registry_scan_path_level):
7444           Plugin extension on HP-UX is .sl, add that to the list of approved
7445           plugin extensions (see #393796).
7446
7447         * tests/check/gst/gstpad.c: (GST_START_TEST):
7448           ulong => gulong. Fixes compilation with HP-UX compiler.
7449
7450         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7451           Fix compilation if valgrind headers are not available.
7452
7453 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
7454
7455         * win32/common/libgstreamer.def: 
7456           Add new exported function.
7457         * win32/vs6/libgstbase.dsp: 
7458           Add gstdataqueue.c to the build.
7459         * win32/vs6/libgstcoreelements.dsp:
7460           Add gstmultiqueue.c to the build.
7461         
7462 2007-01-06  Andy Wingo  <wingo@pobox.com>
7463
7464         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
7465         activate_pull(), providing for a way to specialize the process of
7466         spawning a thread to pull on the sink pad. There is a default
7467         implementation.
7468
7469         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
7470         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
7471         (gst_base_sink_init): Renamed pad activation functions (inserting
7472         "_pad" in their names). Refactor to use the new activate_pull
7473         vmethod, as appropriate.
7474         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
7475         default activate_pull function to start a task pulling from the
7476         sink pad, as before.
7477
7478         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
7479         on the pads if necessary, as in push()/chain(). Update docs.
7480         Shouldn't affect existing pull() usage as it is currently only
7481         being used on buffers without caps.
7482
7483 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7484
7485         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7486         (init_pre):
7487           Call g_thread_init() first thing in gst_init() / gst_check_init().
7488           When initialisation is done via gst_init_get_option_group() and
7489           GOption parsing, issue a warning if the GLib thread system has not
7490           been initialised yet by the time gst_init_get_option_group() is
7491           called, as it's quite likely other GLib functions such as
7492           g_option_context_new() have been called already then, and
7493           g_thread_init() must be called before any other GLib function. The
7494           application in question must be fixed in that case, since memory
7495           corruption might happen otherwise.
7496           We issue the warning because even if the GLib folks decide to work
7497           around the problem on their end in future, this is still an issue
7498           with all GLib versions >= 2.10.0, so we should warn until we depend
7499           on a GLib version we know to be safe.
7500           Update documentation as well.
7501           Closes bug #391278.
7502
7503 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7504
7505         * tools/gst-inspect.c: (main):
7506         * tools/gst-launch.c: (main):
7507         * tools/gst-typefind.c: (main):
7508         * tools/gst-xmlinspect.c: (main):
7509           Call g_thread_init() really really early, before any other GLib
7510           function (see #342564 and recent discussion on gtk-devel-list).
7511
7512 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7513
7514         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
7515
7516         * gst/gst_private.h:
7517         * gst/gstconfig.h.in:
7518         * gst/gstinfo.h:
7519           On win32, all the __declspec stuff for symbol exporting is
7520           apparently only needed with MSVC, but doesn't work with MingW.
7521           Fixes compilation with MingW and #391909.
7522
7523 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
7524
7525         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
7526           Change some GST_ERROR_OBJECT that aren't really errors to
7527           GST_WARNING_OBJECT in order to reduce terminal spam.
7528
7529 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7530
7531         * tests/check/Makefile.am:
7532           disable test again, as there seem to be still race problems
7533
7534 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
7535
7536         * tests/check/Makefile.am:
7537         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7538         (GST_START_TEST), (queue_suite):
7539           enable queue test again, add tests for the leaky behaviour
7540
7541 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
7542
7543         * configure.ac:
7544         * tests/examples/Makefile.am:
7545           Compile adapter test/example only if the required headers are
7546           available (fixes #391915).
7547
7548 2007-01-01  David Schleef  <ds@schleef.org>
7549
7550         * gst/gstplugin.c:
7551           Restore the previous signal handler for SIGSEGV instead of
7552           setting to default, since we may have stolen it away from
7553           someone.  (i.e., Mono)
7554
7555 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7556
7557         * docs/random/draft-missing-plugins.txt:
7558           Some small additions and clarifications.
7559
7560 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
7561
7562         * gst/gstregistryxml.c: (gst_registry_save_escaped):
7563           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
7564           since that can lead to random memory corruptions and crashes
7565           (may or may not be related to #383244, #386711, and #386711).
7566
7567 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7568
7569         * tests/check/.cvsignore:
7570         * tests/check/Makefile.am:
7571           sync .cvsignome and CLEANFILES
7572
7573 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7574
7575         * tests/check/Makefile.am:
7576           fix distcheck
7577
7578 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7579
7580         * docs/design/part-states.txt:
7581           two tiny additional comments
7582         
7583         * gst/gststructure.c:
7584           doc fixing
7585
7586         * tests/check/Makefile.am:
7587         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7588         (GST_START_TEST):
7589           disable test for now, unless it gets fixed
7590
7591 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7592
7593         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7594         (GST_START_TEST):
7595           fix race in underrun test
7596
7597 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7598
7599         * tests/check/elements/.cvsignore:
7600           ignore more
7601
7602         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7603         (GST_START_TEST):
7604           try to narrow test failure
7605
7606 2006-12-21  David Schleef  <ds@schleef.org>
7607
7608         * plugins/elements/gstfakesrc.c:
7609           Use g_random_int_range(), since it produces better random
7610           numbers in a range than almost-correct floating point code.
7611
7612 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
7613
7614         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
7615         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
7616         (gst_check_teardown_sink_pad):
7617           do not automatically (de)activate pads
7618
7619         * tests/check/Makefile.am:
7620         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
7621         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
7622           add new, yet simple tests for queue
7623
7624         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
7625         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
7626         * tests/check/elements/filesrc.c: (cleanup_filesrc),
7627         (GST_START_TEST):
7628         * tests/check/elements/identity.c: (cleanup_identity):
7629           consistent pad (de)activation
7630
7631 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
7632
7633         Patch by: Sebastian Dröge  <slomo ubuntu com>
7634
7635         * libs/gst/base/gstcollectpads.c:
7636           Fix two doc typos (#387866).
7637
7638 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7639
7640         * docs/manual/advanced-dparams.xml:
7641           Fix typo (g_object_control_properties() doesn't exist).
7642
7643 2006-12-19  Edward Hervey  <edward@fluendo.com>
7644
7645         * gst/gstsegment.c: (gst_segment_set_seek):
7646         Fine tune the cases where the segment start/stop values are really
7647         updated.
7648         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7649         Add tests for the return values of gst_segment_set_seek().
7650
7651 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
7652
7653         * gst/gst.c:
7654           Docs typo fix.
7655
7656         * plugins/elements/gstqueue.c: (gst_queue_class_init),
7657         (gst_queue_init):
7658           Fix incorrect documentation and flesh it out a bit more.
7659           Set default values for the max properties on the GParamSpec as well,
7660           so it shows up correctly in gst-inspect.
7661
7662 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
7663
7664         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
7665           Correct docs of queue, add more detail and crosslink it more.
7666
7667 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7668
7669         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7670           Print additional debug info when the stream isn't perfectly
7671           timestamped; don't try to use invalid durations.
7672
7673 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
7674
7675         * docs/design/Makefile.am:
7676           Dist new design docs.
7677
7678 2006-12-16  Wim Taymans  <wim@fluendo.com>
7679
7680         Patch by: Sjoerd Simons <sjoerd at luon dot net>
7681
7682         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
7683         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
7684         (gst_collect_pads_stop), (gst_collect_pads_event),
7685         (gst_collect_pads_chain):
7686         * libs/gst/base/gstcollectpads.h:
7687         Add refcounting to the collectpads data so we can track when it's safe
7688         to free the data. Fixes #383382.
7689
7690 2006-12-15  Wim Taymans  <wim@fluendo.com>
7691
7692         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7693         (gst_collect_pads_remove_pad):
7694         Automatically activate/deactivate pads when they are added to a
7695         started/stoped collectpads.
7696
7697 2006-12-15  Wim Taymans  <wim@fluendo.com>
7698
7699         * gst/gstelement.c: (gst_element_add_pad):
7700         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7701         * gst/gstpad.c: (gst_pad_init):
7702         Set pads to FLUSHING when they are created. Check, warn and fix when a
7703         demuxer adds an inactive pad to itself when running. Fixes #339326.
7704
7705 2006-12-15  Wim Taymans  <wim@fluendo.com>
7706
7707         * gst/gstelement.c: (gst_element_class_init),
7708         (gst_element_default_send_event), (gst_element_send_event),
7709         (gst_element_default_query), (gst_element_query):
7710         Expose default element send_event and query handling as vmethods that
7711         subclasses can chain up to.
7712
7713 2006-12-15  Wim Taymans  <wim@fluendo.com>
7714
7715         * gst/gstelement.c: (gst_element_set_state_func):
7716         Small documentation fixes.
7717
7718 2006-12-15  Wim Taymans  <wim@fluendo.com>
7719
7720         * docs/design/draft-latency.txt:
7721         Checked in draft for handling latency in pipelines.
7722
7723 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
7724
7725         * Makefile.am:
7726         * gstreamer.doap:
7727         * gstreamer.spec.in:
7728           adding .doap file
7729
7730 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
7731
7732         * gst/gst.c: (init_pre), (init_post):
7733           init_pre() and init_post() might be called via our GOptionGroup or
7734           from gst_init(), and we should skip both of them if we've already
7735           been initialised, otherwise we will init some things twice or add
7736           two default log functions.
7737
7738 2006-12-13  Edward Hervey  <edward@fluendo.com>
7739
7740         * docs/manual/basics-bus.xml:
7741         No, gst_main_loop does not exist. Its g_main_loop.
7742         Discovered by somebody who abused the copy-paste technique of coding :)
7743
7744 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
7745
7746         * gst/gstghostpad.c:
7747           Log ghostpad debug stuff to the GST_PADS category as well rather
7748           than just to the default category.
7749
7750 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
7751
7752         * configure.ac:
7753         * gst/gst.c: (init_pre):
7754           Add some basic system details such as OS and architecture
7755           to the debug output if possible, courtesy of uname().
7756
7757 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7758
7759         * docs/gst/running.xml:
7760           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
7761           environment variables.
7762
7763 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7764
7765         * tests/check/gst/gstbin.c: (GST_START_TEST):
7766         It is acceptable to have a refcount of 2 or 3 at this point in the
7767         test, because the pipeline might be just posting its state_change
7768         message. The next line then waits for that message to appear using
7769         bus_poll, so that should be fine too.
7770
7771 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
7772
7773         * gst/gst.c: (ensure_current_registry_forking):
7774         Ignore EINTR when reading from the child registry pipe.
7775         Explicitly ignore the return value from close, since it makes no
7776         difference.
7777
7778         * gst/gstminiobject.c: (gst_mini_object_ref),
7779         (gst_mini_object_unref):
7780         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
7781
7782         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
7783         When removing cached plugins, remove their features too, so they're
7784         not visible after they've disappeared.
7785
7786         * gst/gstutils.c: (prepare_link_maybe_ghosting):
7787         In the unlikely case that we are linking pads with no parents, don't
7788         crash trying to get the non-existent parent bin.
7789
7790         * gst/parse/grammar.y:
7791         Output debug in the PIPELINE category
7792
7793 2005-03-08  Wim Taymans  <wim@fluendo.com>
7794
7795         Patch by: René Stadler <mail at renestadler dot de>
7796
7797         * gst/gstclock.c: (gst_clock_new_periodic_id):
7798         Reject invalid clock times for interval of periodic ids.
7799         Fixes ##383506.
7800
7801 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7802
7803         * gst/gstelementfactory.c: (gst_element_factory_create):
7804         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7805         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
7806         * tools/gst-inspect.c: (print_element_info):
7807         Fix refcounting of gst_plugin_feature_load to match the docs. 
7808         Fixes: #380129
7809
7810 2006-12-07  Wim Taymans  <wim@fluendo.com>
7811
7812         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
7813         (gst_base_sink_get_position):
7814         Improve debugging of events.
7815
7816 2006-12-07  Wim Taymans  <wim@fluendo.com>
7817
7818         Patch by: René Stadler <mail at renestadler dot de>
7819
7820         * gst/gstclock.c: (gst_clock_id_wait):
7821         Make period ids add the interval to the origial requested time instead
7822         of the possibly updated time which can be wrong when there are multiple
7823         waiters for the same id. Fixes #382592.
7824
7825         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
7826         (gst_system_clock_id_wait_jitter_unlocked),
7827         (gst_system_clock_id_wait_jitter):
7828         Fix restart in the async notify thread when an async entry is added to
7829         the front of the list. Fixes #381492. 
7830
7831         * tests/check/gst/gstsystemclock.c: (store_callback),
7832         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
7833         Added test for multiple async waits.
7834         Added test for async wait order.
7835
7836 2006-12-07  Wim Taymans  <wim@fluendo.com>
7837
7838         * gst/gstbin.c: (gst_bin_query):
7839         Add some more docs about the POSITION query.
7840
7841 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
7842
7843         * configure.ac:
7844         Bump version nano - back to CVS.
7845
7846 === release 0.10.11 ===
7847
7848 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
7849
7850         * configure.ac:
7851           releasing 0.10.11, "Love never runs on time"
7852
7853 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
7854
7855         * win32/common/libgstbase.def:
7856         * win32/common/libgstreamer.def:
7857         * win32/vs8/libgstbase.vcproj:
7858         * win32/vs8/libgstcoreelements.vcproj:
7859         * win32/vs8/libgstreamer.vcproj:
7860         Fix compilation on win32 under VS8
7861         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
7862         Partially fixes #381175
7863
7864 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7865
7866         * gst/gstvalue.c: (gst_value_compare_fraction):
7867         If someone is foolish enough to compare 2 fractions with denominator =
7868         0, return UNORDERED rather than aborting.
7869
7870 2006-11-28  Edward Hervey  <edward@fluendo.com>
7871
7872         * libs/gst/base/Makefile.am:
7873         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
7874         (gst_data_queue_base_init), (gst_data_queue_class_init),
7875         (gst_data_queue_init), (gst_data_queue_new),
7876         (gst_data_queue_cleanup), (gst_data_queue_finalize),
7877         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
7878         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
7879         (gst_data_queue_is_empty), (gst_data_queue_is_full),
7880         (gst_data_queue_set_flushing), (gst_data_queue_push),
7881         (gst_data_queue_pop), (gst_data_queue_drop_head),
7882         (gst_data_queue_set_property), (gst_data_queue_get_property):
7883         * libs/gst/base/gstdataqueue.h:
7884         New GstDataQueue object for threadsafe queueing. Most useful for
7885         elements that need some queueing functionnality.
7886         * docs/libs/gstreamer-libs-docs.sgml:
7887         * docs/libs/gstreamer-libs-sections.txt:
7888         Insert documentation for GstDataQueue
7889         * plugins/elements/Makefile.am:
7890         * plugins/elements/gstelements.c:
7891         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
7892         (gst_multi_queue_class_init), (gst_multi_queue_init),
7893         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
7894         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
7895         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
7896         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
7897         (gst_multi_queue_loop), (gst_multi_queue_chain),
7898         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
7899         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
7900         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
7901         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
7902         (wake_up_next_non_linked), (compute_next_non_linked),
7903         (single_queue_overrun_cb), (single_queue_underrun_cb),
7904         (single_queue_check_full), (gst_single_queue_new):
7905         * plugins/elements/gstmultiqueue.h:
7906         New multiqueue element, using GstDataQueue. Used for queuing multiple
7907         streams.
7908         Closes #344639 and #347785
7909
7910 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
7911
7912         * docs/pwg/advanced-types.xml:
7913           add more missing type details
7914
7915         * tools/gst-run.c: (main):
7916           remove unused variable
7917
7918 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
7919
7920         * docs/libs/Makefile.am:
7921         * docs/libs/gstreamer-libs.types:
7922           add types of base classes to enable gobject specific stuff in the docs
7923
7924         * docs/random/ensonic/embedded.txt:
7925           more ideas about isolating platform specific things
7926
7927 2006-11-20  Wim Taymans  <wim@fluendo.com>
7928
7929         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
7930
7931         * libs/gst/check/gstcheck.h:
7932         Fix compilation and running against 0.9.4. Fixes #377332.
7933
7934 2006-11-20  Wim Taymans  <wim@fluendo.com>
7935
7936         * gst/gstsegment.c: (gst_segment_set_seek),
7937         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
7938         (gst_segment_to_running_time):
7939         Fix boundary checking in to_running_time() and to_stream_time().
7940         Fixes #377183.
7941
7942         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7943         stream and running time can now be calculated for the complete
7944         clipped segment.
7945
7946 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
7947
7948         * gst/gstpad.c: (gst_pad_push_event):
7949           Can't access event structure after giving away ownership of
7950           the event.
7951
7952 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
7953
7954         * docs/random/ensonic/embedded.txt:
7955         * docs/random/ensonic/profiling.txt:
7956         * docs/random/ensonic/receipies.txt:
7957           more thinking
7958
7959 2006-11-13  Wim Taymans  <wim@fluendo.com>
7960
7961         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
7962
7963         * gst/gstpad.c:
7964         Fix documentation for gst_pad_dispatcher. Fixes #374475.
7965
7966 2006-11-13  Wim Taymans  <wim@fluendo.com>
7967
7968         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
7969
7970         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
7971         Store new length in segment duration so we don't keep on calling the
7972         potentially expensize get_size() call. Fixes #370865.
7973
7974 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
7975
7976         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
7977
7978         * win32/common/libgstreamer.def:
7979           Add two missing symbols (#366492).
7980
7981 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
7982
7983         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
7984         (gst_adapter_take_buffer):
7985         Fix format string to use all its arguments.
7986         Remove useless >= check on a guint
7987
7988 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7989
7990         * tests/examples/adapter/.cvsignore:
7991         Ignore build file as commanded by the build-bot
7992
7993 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
7994
7995         * tests/examples/adapter/Makefile.am:
7996         * tests/examples/adapter/adapter_test.c: (run_test_take),
7997         (run_test_take_buffer), (run_tests), (main):
7998
7999         Add new files from the previous commit
8000
8001 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8002
8003         * Makefile.am:
8004         * configure.ac:
8005         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
8006         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
8007         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
8008         * libs/gst/base/gstadapter.h:
8009         * tests/check/libs/adapter.c: (create_and_fill_adapter),
8010         (GST_START_TEST), (gst_adapter_suite):
8011         * tests/examples/Makefile.am:
8012         Do some optimisation work in GstAdapter to avoid copies in more cases.
8013         It could still do slightly better by merging buffers when
8014         gst_buffer_is_span_fast is true, but is already faster. 
8015
8016         Also, avoid traversing a single-linked list to append each incoming 
8017         buffer inside the adapter.
8018
8019         Add simple test app that times the adapter behaviour in different
8020         situations, and extend the unit test to check that bytes enter and
8021         exit the adapter in their original order.
8022
8023 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
8024
8025         * docs/random/draft-missing-plugins.txt:
8026           Update: use element message instead of adding a new message
8027           type to the core; don't provide GStreamer API to initiate the
8028           plugin download, just provide API to compose the strings needed
8029           and let an external libgimmestuff handle the rest.
8030
8031 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
8032
8033         * tools/gst-inspect.c: (print_element_properties_info):
8034         Print a string instead of 'unknown type' for GValueArray properties
8035
8036 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
8037
8038         * docs/random/draft-missing-plugins.txt:
8039         More small fixes.
8040
8041 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8042
8043         * tests/examples/typefind/typefind.c: (type_found), (main):
8044           Make typefind element example work again (#371894); add a
8045           license header.
8046
8047 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8048
8049         * docs/random/draft-missing-plugins.txt:
8050           Commit initial draft about how to deal with missing plugins,
8051           needs work (API too).
8052
8053 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
8054
8055         * docs/pwg/advanced-types.xml:
8056           documents the new caps elements (see #363118)
8057
8058 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8059
8060         * gst/gstplugin.c: (gst_plugin_load_file):
8061         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
8062         (gst_file_src_map_region), (gst_file_src_start):
8063         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
8064         (gst_file_index_commit):
8065           Use g_strerror() instead of strerror() - we want UTF-8.
8066
8067 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         Patch by: Peter Kjellerstedt <pkj at axis com>
8070
8071         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8072           Another printf fix (#371493).
8073
8074 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8075
8076         * tests/check/gst/gsttag.c:
8077           relicence (okay with author=company)
8078
8079 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8080
8081         * gst/gstpad.c: (gst_pad_event_default_dispatch),
8082         (gst_pad_push_event):
8083           Enhance debug and improve docs
8084         
8085         * gst/gsturi.c:
8086           Fix docs
8087
8088 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8089
8090         * docs/random/ensonic/distributed.txt:
8091         * docs/random/ensonic/profiling.txt:
8092           more ideas
8093
8094 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
8095
8096         * docs/gst/gstreamer-sections.txt:
8097           add new API and fix the build
8098           
8099         * gst/gstbin.c: (gst_bin_recalc_state):
8100         * gst/gstelement.c: (gst_element_message_full),
8101         (gst_element_get_state_func), (gst_element_set_state_func):
8102           use new API and improve logging
8103         
8104         * gst/gstutils.c: (gst_element_state_change_return_get_name):
8105         * gst/gstutils.h:
8106           API: add function to get StateChangereturn names to improve logs 
8107
8108 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
8109
8110         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8111           I'm considering shooting the next person to put strerror stuff
8112           in the translateable part of the message.
8113
8114 2006-11-03  Wim Taymans  <wim@fluendo.com>
8115
8116         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8117         Get the type and printf conversion specifiers right.
8118
8119 2006-11-03  Wim Taymans  <wim@fluendo.com>
8120
8121         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8122
8123         * gst/gstpad.c: (gst_pad_init), (pre_activate),
8124         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
8125         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
8126         Some small cleanups. Improve debugging.
8127         * gst/gstpad.h:
8128         Signal all waiting threads with a broadcast instead of just one.
8129         Fixes #369942.
8130
8131 2006-11-03  Wim Taymans  <wim@fluendo.com>
8132
8133         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
8134         (gst_fd_src_create):
8135         Add some debugging. 
8136         Only update fd when it's different from the old.
8137
8138 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8139
8140         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
8141           Printf fixes for PPC/OSX, take two (#369366).
8142
8143 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8144
8145         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
8146
8147         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
8148         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8149         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
8150           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
8151           don't cast to long long for portability reasons, but use
8152           GLib's types instead.
8153
8154 2006-10-30  Michael Smith  <msmith@fluendo.com>
8155
8156         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
8157           Get the arguments to lseek() the right way around.
8158           Fixes 367677.
8159
8160 2006-10-30  Wim Taymans  <wim@fluendo.com>
8161
8162         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
8163
8164         * gst/gstinfo.h:
8165         _declspec should be __declspec (two underscores, not one). Fixes 366572.
8166
8167 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8168
8169         Patch by: Kjartan Maraas  <kmaraas at gnome org>
8170
8171         * docs/design/part-MT-refcounting.txt:
8172         * docs/random/wtay/capsnego2-docs:
8173         * gst/gstclock.c:
8174         * gst/gstxml.c:
8175           Typo fixes (#366212).
8176
8177 2006-10-28  Wim Taymans  <wim@fluendo.com>
8178
8179         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8180
8181         * gst/gst.c:
8182         * win32/common/libgstbase.def:
8183         * win32/common/libgstreamer.def:
8184         * win32/vs8/libgstbase.vcproj:
8185         * win32/vs8/libgstcontroller.vcproj:
8186         Add needed entries in .def files.
8187         Use HAVE_UNISTD_H.
8188         Rearrange def files in vs8 solutions. Fixes #366286.
8189
8190 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
8191
8192         * win32/common/gstconfig.h:
8193           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
8194           hand-made win32 gstconfig.h. Fixes #366321.
8195
8196 2006-10-27  Wim Taymans  <wim@fluendo.com>
8197
8198         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
8199         (gst_ghost_pad_new_full):
8200         Make acceptcaps return TRUE when we don't have a target, just like
8201         setcaps does.
8202
8203 2006-10-27  Wim Taymans  <wim@fluendo.com>
8204
8205         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8206         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
8207
8208 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
8209
8210         * gst/gststructure.c: (gst_structure_id_set_value):
8211           If someone tries to set a non-UTF8 string field on a structure,
8212           don't just print a warning, but also ignore the request and do
8213           not change/add that field to the structure.
8214
8215         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8216           Test for the above.
8217
8218 2006-10-25  David Schleef  <ds@schleef.org>
8219
8220         * gst/gstinfo.c:
8221           g_hash_table_insert() needs a cast to a non-const pointer duh.
8222
8223 2006-10-25  David Schleef  <ds@schleef.org>
8224
8225         * gst/gstinfo.c:
8226         * gst/gstinfo.h:
8227           Change name parameter of _gst_debug_register_funcptr to const
8228           to reflect the constness of its use in the function as well
8229           as to quiet a gcc warning.
8230
8231 2006-10-25  Edward Hervey  <edward@fluendo.com>
8232
8233         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
8234         Don't push the buffer if it's empty.
8235         Closes #363095
8236
8237 2006-10-24  Wim Taymans  <wim@fluendo.com>
8238
8239         * gst/gstevent.h:
8240         Add small comment.
8241
8242         * libs/gst/base/gstbasetransform.c:
8243         (gst_base_transform_sink_eventfunc):
8244         Debug segment values *after* updating them as this is more
8245         interesting.
8246
8247 2006-10-23  Wim Taymans  <wim@fluendo.com>
8248
8249         * docs/design/part-events.txt:
8250         Update some docs.
8251
8252         * docs/design/part-block.txt:
8253         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8254         (gst_pad_push_event):
8255         Revert BLOCKING patch, it tries to be smart without really having a
8256         clear idea what or how. So, now we discard all FLUSHING events again on
8257         a blocking pad. Should fix gnonlin again.
8258
8259 2006-10-23  Wim Taymans  <wim@fluendo.com>
8260
8261         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8262
8263         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8264         (gst_base_src_start), (gst_base_src_activate_push):
8265         Make sure size is always initialized. Fixes #364388.
8266
8267 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
8268
8269         * docs/random/ensonic/distributed.txt:
8270           add some ideas about doing distributed processing
8271
8272         * docs/random/ensonic/profiling.txt:
8273           get_rusage look promising
8274
8275 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8276
8277         * docs/manual/basics-helloworld.xml:
8278           Add a cast in example to fix compile warning
8279
8280 2006-10-18  Wim Taymans  <wim@fluendo.com>
8281
8282         * gst/gstsegment.c: (gst_segment_set_last_stop),
8283         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8284         Relax arg checking again, -1 is allowed.
8285
8286 2006-10-18  Wim Taymans  <wim@fluendo.com>
8287
8288         * gst/gstsegment.c: (gst_segment_set_last_stop),
8289         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
8290         _set_last_stop() must be with a value != -1
8291         A _TYPE_SET to -1 means seek to 0.
8292         Calc last_stop correctly for negative rates.
8293         Make sure we work with positive durations when updating a segment.
8294
8295 2006-10-18  Wim Taymans  <wim@fluendo.com>
8296
8297         * docs/design/part-live-source.txt:
8298         * gst/gstclock.h:
8299         Small docs fixes.
8300
8301 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
8302
8303         * gst/gstbuffer.h:
8304           Add an explicit cast to GstBuffer** to keep old code that added an
8305           explicit cast to GstMiniObject** for gst_mini_object_replace()
8306           compiling without warning.
8307
8308 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
8309
8310         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
8311           check for validity of dates
8312
8313 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8314
8315         * docs/gst/gstreamer-sections.txt:
8316           Forgot this one, makes gtk-doc shut up.
8317
8318 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8319
8320         Patch by: Peter Kjellerstedt <pkj at axis com>
8321
8322         * gst/gstobject.h:
8323           Don't define xmlNodePtr to gpointer if the core was built with
8324           --disable-loadsave and --disable-registry, this will break
8325           applications that want to use libxml2 but are buildling against a
8326           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
8327           instead so we don't have to mess with the libxml2 namespace
8328           (#361675).
8329
8330 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
8331
8332         * gst/gstbuffer.h:
8333           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
8334           type-punned pointer warnings.
8335
8336 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
8337
8338         * gst/gstelement.h:
8339           Add casts to the correct return type to state <=> state transition
8340           macros.
8341
8342 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
8343
8344         * docs/design/part-live-source.txt:
8345           describe howto handle latency
8346         
8347         * docs/random/ensonic/profiling.txt:
8348           more ideas
8349
8350         * tools/gst-plot-timeline.py:
8351           fix log parsing for solaris, remove unused function
8352
8353 2006-10-16  Wim Taymans  <wim@fluendo.com>
8354
8355         * docs/design/part-trickmodes.txt:
8356         * gst/gstevent.c:
8357         Update some docs regarding reverse playback.
8358
8359 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8360
8361         Patch by: Marcus Granado  <mrc dot gran at gmail com>
8362
8363         * win32/vs8/grammar.vcproj:
8364           Error out with a warning if glib-genmarshal.exe is not in path,
8365           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8366
8367 2006-10-13  Wim Taymans  <wim@fluendo.com>
8368
8369         * gst/gstsegment.c: (gst_segment_set_seek):
8370         When seeking to stop -1, set last_stop (current position) to the
8371         duration of the segment.
8372
8373 2006-10-13  Wim Taymans  <wim@fluendo.com>
8374
8375         * gst/gstelement.h:
8376         Clarify _NO_PREROLL a bit more.
8377
8378         * gst/gstevent.c:
8379         Fix docs.
8380
8381         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
8382         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
8383         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
8384         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
8385         due to wrong locking order. Fixes #361769.
8386         Remove some redundant/misplaced checks in pad_block.
8387
8388         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
8389         For negative rates, count backwards from the duration.
8390
8391 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8392
8393         * gst/gsterror.c: (_gst_library_errors_init):
8394           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
8395           up with something better).
8396
8397 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8398
8399         * win32/vs6/libgstreamer.dsp:
8400         * win32/vs7/libgstreamer.vcproj:
8401         * win32/vs8/libgstreamer.vcproj:
8402           Don't reference glib-compat.c which is currently not used and not
8403           disted; add gstquark.c which was recently added. Fixes #361730.
8404
8405 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
8406
8407         * win32/common/libgstbase.def:
8408         * win32/common/libgstcontroller.def:
8409         * win32/common/libgstreamer.def:
8410           Add gst_caps_merge() and a bunch of other recently-added functions.
8411           Fixes #361732.
8412
8413 2006-10-11  Wim Taymans  <wim@fluendo.com>
8414
8415         * docs/plugins/gstreamer-plugins.args:
8416         * docs/plugins/inspect/plugin-coreelements.xml:
8417         * docs/plugins/inspect/plugin-coreindexers.xml:
8418         Update element args.
8419
8420         * gst/gstsystemclock.c:
8421         Small comment update.
8422
8423         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8424         (gst_tee_request_new_pad), (gst_tee_release_pad),
8425         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
8426         (gst_tee_sink_activate_pull):
8427         * plugins/elements/gsttee.h:
8428         Some tee loving:
8429         Add default property defines.
8430         Implement release pad function.
8431         Give properties better blubs etc.
8432         Activate pads before adding them to a running tee.
8433         Do simple buffer_alloc on the first requested pad.
8434         Post error when activation fails.
8435
8436 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8437
8438         * gst/gst.c: (ensure_current_registry_forking):
8439           Check return value of write() to make compiler happy.
8440
8441 2006-10-11  Wim Taymans  <wim@fluendo.com>
8442
8443         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8444
8445         * plugins/elements/gstqueue.c: (gst_queue_chain):
8446         Recheck queue filledness after signalling the overrun when we're about
8447         to leak downstream because we released the lock when emitting the signal
8448         and the queue could be empty again. Fixes #352345.
8449
8450 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
8453           Fix refcounting here too, just like we did for _new_valist() a few
8454           days ago (#357180) (thanks to René Stadler). Also remove all those
8455           'Since: 0.9' from the gtk-doc blobs.
8456
8457         * tests/check/libs/controller.c: (controller_refcount_new_list),
8458         (gst_controller_suite):
8459           Unit test for the above.
8460
8461 2006-10-10  Wim Taymans  <wim@fluendo.com>
8462
8463         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
8464
8465         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
8466         (gst_pad_save_thyself):
8467         Update some docs.
8468         Write pad direction in XML output. Fixes #345496.
8469
8470 2006-10-10  Wim Taymans  <wim@fluendo.com>
8471
8472         Patch by: René Stadler <mail at renestadler dot de>
8473
8474         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8475         (gst_controller_new_list), (_gst_controller_dispose),
8476         (_gst_controller_finalize), (_gst_controller_class_init):
8477         Take ref to controlled object so that it cannot disappear. 
8478         Fixes #357432.
8479
8480 2006-10-10  Wim Taymans  <wim@fluendo.com>
8481
8482         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8483         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8484         (gst_check_teardown_sink_pad):
8485         Activate/deactivate pads in setup/teardown respectively.
8486
8487 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8488
8489         Patch by: Josep Torra Valles <josep@fluendo.com>
8490
8491         * gst/Makefile.am:
8492         Cast values when making gstenumtypes.h.  This pacifies Forte
8493         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
8494         in the enumeration.
8495
8496 2006-10-09  Wim Taymans  <wim@fluendo.com>
8497
8498         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
8499         Rename some more @cur to @start to fix docs. 
8500
8501         * gst/gstsegment.c: (gst_segment_set_seek):
8502         Fix typo.
8503         time and start must always stay in sync as defined in design doc.
8504
8505         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8506         Rename param to fix docs.
8507
8508         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8509         Check that start and time are in sync.
8510
8511         * tests/check/pipelines/parse-launch.c:
8512         (gst_parse_test_element_change_state):
8513         Activate pad before adding to the element.
8514
8515 2006-10-09  Wim Taymans  <wim@fluendo.com>
8516
8517         * docs/design/part-qos.txt:
8518         Fix typo.
8519
8520         * gst/gstevent.c:
8521         * gst/gstevent.h:
8522         Update seek event docs regarding negative rates.
8523         Rename @cur to @start. 
8524
8525         * gst/gstsegment.c: (gst_segment_set_seek):
8526         * gst/gstsegment.h:
8527         Update set_seek docs regarding negative rates.
8528         Correctly update last_stop to @stop when dealing with negative
8529         rates.
8530         Rename @cur to @start. 
8531
8532         * tests/check/gst/gstpad.c: (GST_START_TEST):
8533         Activate pads before trying to use them.
8534
8535         * tests/check/gst/gstsegment.c: (GST_START_TEST),
8536         (gst_segment_suite):
8537         Add simple check for segments and negative rates.
8538
8539 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
8540
8541         * gst/gsttaglist.c: (gst_tag_list_is_empty):
8542         * gst/gsttaglist.h:
8543         * docs/gst/gstreamer-sections.txt:
8544           API: add gst_tag_list_is_empty() (#360467).
8545
8546         * tests/check/gst/gsttag.c: (GST_START_TEST):
8547           And a test case.
8548
8549 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8550
8551         * gst/gstmessage.h:
8552         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
8553         a value that doesn't fit on enumeration.
8554
8555 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8556
8557         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8558         Remove local debugging system and use Gstreamer's instead.
8559
8560 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8561
8562         Patch by: Josep Torra Valles <josep@fluendo.com>
8563
8564         * common/m4/gst-error.m4:
8565         Disable warning of statement not reached on Forte.
8566         * gst/gstmessage.h:
8567         Fix warning on Forte (value doesn't fit on enumeration).
8568         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
8569         Fix warning on Forte (value doesn't fit on enumeration).
8570         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8571         DEBUG macro says it takes minimum of 2 args and so Forte
8572         complains about the use with just 1 arg.
8573         * plugins/elements/gstfdsink.c:
8574         * plugins/elements/gstfdsrc.c:
8575         * plugins/elements/gstfilesink.c:
8576         * plugins/elements/gstfilesrc.c:
8577         Use correct return type for the uri handler implementations.
8578
8579         All these fix warnings in Forte.  Fixes bug #360860.
8580
8581 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
8582
8583         * gst/gstelement.h:
8584           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
8585           format string, so don't use G_GNUC_PRINTF for those versions.
8586
8587 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * gst/gsttaglist.c: (gst_is_tag_list):
8590         * gst/gsttaglist.h:
8591           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
8592
8593         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8594           Small test for the above.
8595
8596 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
8597
8598         * gst/gsttaglist.h:
8599           Less tabs, more spaces.
8600
8601 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
8602
8603         * gst/gstinfo.h:
8604           Those two function declarations do actually belong there, revert
8605           commit from yesterday that turned them intro macros.
8606
8607 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8608
8609         Patch by: Josep Torra Valles <josep@fluendo.com>
8610
8611         * gst/gst.c: (gst_init_get_option_group):
8612         Fix empty declaration and type mismatch.
8613         * gst/gstbin.c: (gst_bin_change_state_func):
8614         Fix type mismatch.
8615         * gst/gstelement.c: (gst_element_continue_state),
8616         (gst_element_set_state_func), (gst_element_change_state),
8617         (gst_element_change_state_func):
8618         Fix type mismatches.
8619         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
8620         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
8621         Cast as appropriate.
8622         * gst/gstobject.c: (gst_class_signal_connect):
8623         Cast as appropriate.  The function pointer parameter really
8624         has the wrong type but would break API if we change it.
8625         * gst/gstquery.c:
8626         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
8627         order of including string.h.
8628         * gst/gstutils.c: (gst_element_state_get_name):
8629         Remove unreachable line.
8630         * gst/gstxml.c: (gst_xml_parse_doc):
8631         Fix type mismatch.
8632         All these caught by Forte.
8633
8634 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8635
8636         Patch by: Josep Torra Valles <josep@fluendo.com>
8637
8638         * common/m4/gst-error.m4:
8639         Fixed bug #360151.
8640         We need to disable warnings on Forte for empty declarations
8641         due to gst-indent adding ;s to lines that just use macros
8642         where the macro actually doesn't need a ; at end to end
8643         statement.
8644
8645 2006-10-06  Wim Taymans  <wim@fluendo.com>
8646
8647         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8648         (gst_file_sink_close_file), (gst_file_sink_event),
8649         (gst_file_sink_render):
8650         Add some FIXME for the NEWSEGMENT handling.
8651
8652 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8653
8654         * gst/parse/grammar.y:
8655         Remove static function gst_parse_element_lock as all it does
8656         is return.  Looks like cruft from 0.8.
8657
8658 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
8659
8660         Patch by: Josep Torra Valles <josep@fluendo.com>
8661
8662         * common/m4/gst-error.m4:
8663         * configure.ac:
8664         * libs/gst/net/Makefile.am:
8665         Fix a compilation issue with Forte on Solaris.  inet_aton is in
8666         libresolv.
8667
8668 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8669
8670         * gst/gstpad.c: (pre_activate):
8671         * gst/gstregistry.c: (gst_registry_scan_path_level):
8672         * gst/gstregistryxml.c: (load_plugin):
8673         * libs/gst/controller/gstcontroller.c:
8674         (gst_controlled_property_set_interpolation_mode):
8675         * libs/gst/dataprotocol/dataprotocol.c:
8676         (gst_dp_packet_from_event_1_0):
8677         * libs/gst/net/gstnetclientclock.c:
8678         (gst_net_client_clock_observe_times):
8679         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
8680           Printf fixes.
8681
8682 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
8683
8684         * configure.ac:
8685         * docs/gst/gstreamer-sections.txt:
8686         * gst/gstconfig.h.in:
8687         * gst/gstelement.h:
8688         * gst/gstinfo.h:
8689           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
8690           whether we can use G_GNUC_PRINTF in other header files and at
8691           least check the printf format/arguments of debug messages and
8692           GST_ELEMENT_ERROR messages when the printf extension is not
8693           being used.
8694           Replace more tabs with spaces in gstinfo.h and remove two spurious
8695           function declarations in GST_DISABLE_DEBUG part with macros.
8696
8697 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
8698
8699         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
8700           More docs for the sync-message signal (mention that it is not
8701           emitted by default); log message structures of messages posted on
8702           the bus as well.
8703
8704 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
8705
8706         * gst/gst.c: (ensure_current_registry_forking):
8707         Use a pipe pair to receive status results from the forked child, and
8708         ignore the result from waitpid. Fixes #355499
8709
8710 2006-10-02  Wim Taymans  <wim@fluendo.com>
8711
8712         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
8713         (gst_ghost_pad_suite):
8714         Fix leak in check.
8715
8716 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8717
8718         * gst/gstpad.c:
8719           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
8720
8721 2006-10-02  Edward Hervey  <edward@fluendo.com>
8722
8723         * docs/design/part-block.txt:
8724         Further explain the use of flushing on blocked pads.
8725         * docs/gst/gstreamer-sections.txt:
8726         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
8727         (gst_pad_push_event):
8728         * gst/gstpad.h:
8729         Added new GstPadFlag : GST_PAD_BLOCKING.
8730         Adds the notion of pads really blocking, which enables to properly
8731         handle FLUSH_START/FLUSH_STOP events on blocked pads.
8732         Fixes #358999
8733         API: gst_pad_is_blocking()
8734         API: GST_PAD_IS_BLOCKING() macro
8735         API: GST_PAD_BLOCKING GstPadFlag
8736         
8737 2006-10-02  Wim Taymans  <wim@fluendo.com>
8738
8739         Patch by: mrcgran <mrc.gran at gmail dot com>
8740
8741         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
8742         Filter the proxied caps against the padtemplate if we have one.
8743
8744         * gst/gstquery.c: (gst_query_new_segment):
8745         Add include for gstinfo.h so that compilation with
8746         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
8747
8748 2006-10-02  Wim Taymans  <wim@fluendo.com>
8749
8750         Patch by: Alessandro Decina  <alessandro at nnva org>
8751
8752         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
8753         (gst_file_sink_set_location), (gst_file_sink_open_file),
8754         (gst_file_sink_close_file), (gst_file_sink_event),
8755         (gst_file_sink_render):
8756         Set file to NULL when closing filesink so that we can set a new filename
8757         in READY. Fixes #358613.
8758
8759 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
8760
8761         Patch by: Alessandro Decina  <alessandro at nnva org>
8762
8763         * gst/gstevent.c: (_gst_event_copy):
8764           Fix gst_mini_object_make_writable() and gst_event_copy() for events
8765           with event structures by setting the parent refcount address of the
8766           copied structure to the address of the refcount member of the newly
8767           copied event rather than the address of the refcount member of the
8768           original event. Fixes #358737.
8769
8770         * tests/check/gst/gstevent.c: (GST_START_TEST):
8771           Unit test for the above.
8772
8773 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
8774
8775         * docs/design/Makefile.am:
8776           Dist some more files.
8777
8778 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8779
8780         * tests/check/libs/controller.c: (GST_START_TEST),
8781         (gst_controller_suite):
8782           Add test for the previous fix; add some more tests
8783           for correct refcounting behaviour; fix a few leaks
8784           in test cases; call gst_controller_init() at start
8785           of all tests.
8786
8787 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
8788
8789         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8790         (gst_controller_set_from_list):
8791           Don't g_return_val_if_fail() on timed values with invalid timestamps
8792           inside a critical section without unlocking the mutex. Spotted by
8793           René Stadler. (#357617)
8794           Also, fix up refcounting properly: when returning an existing
8795           controller, we should increase the reference only once and not
8796           once per property and when trying to control a property again
8797           we should also increase the refcount.
8798
8799 2006-09-29  Wim Taymans  <wim@fluendo.com>
8800
8801         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8802         * libs/gst/net/gstnettimeprovider.c:
8803         (gst_net_time_provider_thread):
8804         Stop reading commands when EOF as well.
8805
8806         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
8807         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
8808         * plugins/elements/gstidentity.c: (gst_identity_class_init):
8809         Unify description of the dump property.
8810
8811 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8812
8813         * tests/examples/manual/.cvsignore:
8814         OK, so it's actually cvsignore that needs changing. Stop laughing.
8815
8816 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8817
8818         * tests/examples/manual/Makefile.am:
8819         Gah, declare vars *before* using them
8820
8821 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8822
8823         * gst/gst.c: (init_pre), (scan_and_update_registry),
8824         (ensure_current_registry_nonforking),
8825         (ensure_current_registry_forking), (ensure_current_registry),
8826         (init_post), (gst_debug_help), (gst_deinit):
8827         * gst/gst_private.h:
8828         * gst/gstregistry.c: (gst_registry_finalize),
8829         (gst_registry_remove_features_for_plugin_unlocked),
8830         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8831         (gst_registry_scan_path),
8832         (_priv_gst_registry_remove_cache_plugins),
8833         (_priv_gst_registry_cleanup):
8834         * gst/gstregistry.h:
8835         Re-commit the registry changes, along with an extra fix:
8836           When a cached plugin is encountered at a different file path,
8837           update the stored path in the registry cache so that the parent
8838           process knows where it actually is now when it re-reads the registry
8839           cache. Fixes the thing that broke distcheck with the previous commit.
8840
8841         * tests/check/Makefile.am:
8842         Clean up files named 'core' too when running make clean.
8843
8844         * tests/examples/manual/Makefile.am:
8845         Set up a registry path for running these tests, and clean it properly
8846         for distcheck.
8847
8848 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
8849
8850         * configure.ac:
8851         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
8852         want gmodule-no-export-2.0.pc instead so that we don't drag in
8853         --export-dynamic on every project that links to GStreamer.
8854
8855         Also, make our export regex only match the start of symbols, rather 
8856         than any symbol that contains '_gst' somewhere.
8857
8858         * libs/gst/check/Makefile.am:
8859         The libgstcheck we build does however need export-dynamic, as it
8860         produces some symbols that don't match our _gst... style regex.
8861         Fixes: #318031
8862
8863 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8864
8865         * gst/gst.c: (init_pre), (scan_and_update_registry),
8866         (ensure_current_registry_nonforking),
8867         (ensure_current_registry_forking), (ensure_current_registry),
8868         (init_post), (gst_debug_help), (gst_deinit):
8869         * gst/gst_private.h:
8870         * gst/gstregistry.c: (gst_registry_finalize),
8871         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8872         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
8873         (_gst_registry_cleanup):
8874         * gst/gstregistry.h:
8875           Revert previous change until I figure out why it breaks distcheck.
8876
8877 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
8878
8879         * gst/gst.c: (init_pre), (scan_and_update_registry),
8880         (ensure_current_registry_nonforking),
8881         (ensure_current_registry_forking), (ensure_current_registry),
8882         (init_post), (gst_debug_help), (gst_deinit):
8883
8884           Make init_pre and init_post take the full complement of GOptionFunc
8885           args so they can return useful GErrors. Make the registry updating
8886           functions do so.
8887
8888           Call _priv_gst_registry_remove_cache_plugins after scanning files to
8889           ensure that the registry we're about to write out doesn't contain
8890           stale information about old-deleted plugin files.
8891
8892           Make _priv_gst_registry_remove_cache_plugins return a boolean so
8893           that deletion of plugin files is considered a registry change.
8894
8895         * gst/gst_private.h:
8896         * gst/gstregistry.c: (gst_registry_finalize),
8897         (gst_registry_remove_features_for_plugin_unlocked),
8898         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
8899         (gst_registry_scan_path),
8900         (_priv_gst_registry_remove_cache_plugins),
8901         (_priv_gst_registry_cleanup):
8902         * gst/gstregistry.h:
8903         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
8904         by adding _priv prefix, so that they won't appear in the global
8905         symbol table. They still do atm though because of #318031. Move the
8906         prototypes to gst_private.h
8907
8908         When removing a plugin, remove all features for that plugin too. 
8909         Fixes #340878.
8910
8911 2006-09-27  Wim Taymans  <wim@fluendo.com>
8912
8913         * docs/random/moving-plugins:
8914         Make it clear that the "compiled-in descriptions" really mean
8915         the element details.
8916
8917         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8918         (gst_base_sink_wait_preroll):
8919         Update docs.
8920
8921         * docs/libs/gstreamer-libs-sections.txt:
8922         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
8923         (gst_base_src_get_range), (gst_base_src_activate_push):
8924         * libs/gst/base/gstbasesrc.h:
8925         Added function to block while waiting for PLAYING, this function
8926         is used by live sources that block on the clock.
8927         API: gst_base_src_wait_playing()
8928
8929 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8930
8931         Patch by: Peter Kjellerstedt <pkj at axis com>
8932
8933         * Makefile.am:
8934           gst-element-check.m4 is generated and should therefore be
8935           copied from the build dir rather than the source dir (#357593).
8936           'make distcheck' hasn't noticed this because we were disting
8937           the file as well, so stop doing that.
8938
8939 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
8940
8941         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8942           Add some tests for gst_caps_intersect().
8943
8944         * tools/gst-launch.c: (event_loop):
8945           Print all buffering percentages we get, even the 100% one.
8946
8947 2006-09-26  Wim Taymans  <wim@fluendo.com>
8948
8949         * tools/gst-inspect.c: (print_element_properties_info),
8950         (print_signal_info):
8951         Fix printing of flags to match the look of enums.
8952
8953 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8954
8955         * gst/gstelementfactory.c:
8956           Fix typo in docs blurb.
8957
8958 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8959
8960         * gst/gsturi.c: (search_by_entry):
8961           Don't assert/crash here if a uri handler doesn't return any
8962           supported protocols. The list of protocols could be generated
8963           dynamically at runtime or at plugin registration, and an error
8964           in the underlying library shouldn't be fatal (#353301).
8965
8966 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
8967
8968         * gst/gstinfo.c:
8969           Fix warning if HAVE_PRINTF_EXTENSION is undefined
8970           (spotted by Peter Kjellerstedt).
8971
8972 2006-09-23  Wim Taymans  <wim@fluendo.com>
8973
8974         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
8975
8976         * libs/gst/base/gstbasesrc.c:
8977         (gst_base_src_default_check_get_range), (gst_base_src_start),
8978         (gst_base_src_activate_push), (gst_base_src_activate_pull),
8979         (gst_base_src_change_state):
8980         Match _start/_stop calls in the activate functions. Remove redundant
8981         _stop call from the state change function. Fixes #356910.
8982         Turn failure DEBUG into ERROR. 
8983
8984 2006-09-22  Wim Taymans  <wim@fluendo.com>
8985
8986         * docs/design/part-buffering.txt:
8987         * gst/gstmessage.c: (gst_message_new_buffering),
8988         (gst_message_parse_buffering):
8989         Update docs about buffering.
8990
8991         * docs/design/part-trickmodes.txt:
8992         Fix typo.
8993
8994 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
8995
8996         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
8997         (gst_controller_new_list):
8998           Ref instances when returning them again (fixes #357180)
8999
9000 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
9001
9002         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
9003           Don't forget to release proxy lock when there's an error.
9004
9005 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
9006
9007         * gst/gstcaps.h:
9008           Add extra initialisers for Caps things, to fix some plugin warnings
9009           when using -Wextra
9010
9011 2006-09-18  Wim Taymans  <wim@fluendo.com>
9012
9013         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
9014           Also set template on the internal pad so that a getcaps from the 
9015           target pad returns the template caps.
9016
9017 2006-09-18  Wim Taymans  <wim@fluendo.com>
9018
9019         * gst/gstelement.c: (gst_element_post_message),
9020         (gst_element_dispose):
9021         Use _DEBUG_OBJECT some more.
9022
9023         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9024         Avoid typechecks.
9025
9026         * tools/gst-launch.c: (main):
9027         If the toplevel element is not a GstPipeline, it must be put in a
9028         pipeline so that a bus and clock is selected.
9029
9030 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9031
9032         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
9033           JITTER, RATE, and LATENCY query should be handled by the
9034           default case and not by the CONVERT query code.
9035
9036 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
9037
9038         * gst/gstformat.c: (gst_format_register):
9039           Fix locking order (must take lock before using n_values).
9040
9041         * gst/gstvalue.c: (gst_value_serialize_enum),
9042         (gst_value_deserialize_enum_iter_cmp),
9043         (gst_value_deserialize_enum):
9044           Fix serialisation/deserialisation of custom registered GstFormats.
9045
9046         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9047           Unit test for custom format serialisation/deserialisation.
9048
9049 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
9050
9051         * docs/pwg/building-boiler.xml:
9052         * plugins/elements/gstcapsfilter.c:
9053         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
9054         section.
9055
9056 2006-09-16  Edward Hervey  <edward@fluendo.com>
9057
9058         * libs/gst/base/gstbasetransform.c:
9059         (gst_base_transform_buffer_alloc):
9060         Check if requested caps are the same as the sinks caps IF
9061         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
9062         is FALSE.
9063         This fixes the renegotiation issues stated in #352827.
9064
9065 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9066
9067         * configure.ac:
9068         * docs/manual/advanced-autoplugging.xml:
9069         * tests/examples/Makefile.am:
9070         * tests/examples/manual/.cvsignore:
9071         * tests/examples/manual/Makefile.am:
9072         * tests/examples/manual/extract.pl:
9073           Extract the manual examples again like we used to do.
9074           Fix one of them.
9075
9076 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9077
9078         * win32/common/config.h:
9079           update for version
9080
9081 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
9082
9083         * gst/gsterror.c:
9084           Documents how to receive errors.
9085
9086 2006-09-15  Wim Taymans  <wim@fluendo.com>
9087
9088         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
9089         (event_loop), (main):
9090         Added some comments here and there.
9091         Post an application message when an interrupt is caught instead of doing
9092         an uncontrolled state change.
9093         Clean up the event loop.
9094         Handle buffering messages, pause/resume the pipeline.
9095         Make shutdown because of an interrupt more reliable.
9096
9097 2006-09-15  Wim Taymans  <wim@fluendo.com>
9098
9099         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9100         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
9101         (gst_base_sink_preroll_object):
9102         Make sure that our internal state is correct when we commit our state
9103         asynchronously. This solves a race where a state change to PLAYING
9104         could cause the sink to remain blocked in preroll in some situations.
9105
9106 2006-09-15  Wim Taymans  <wim@fluendo.com>
9107
9108         * tools/gst-inspect.c: (print_element_properties_info),
9109         (print_signal_info):
9110         List flags as hex so it's easier to deal with.
9111
9112 2006-09-15  Wim Taymans  <wim@fluendo.com>
9113
9114         * docs/libs/gstreamer-libs-sections.txt:
9115         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
9116         (gst_base_sink_do_sync):
9117         * libs/gst/base/gstbasesink.h:
9118         Expose logic to wait for preroll so that subclasses such as audiosink
9119         can also use this method.
9120         API: gst_base_sink_wait_preroll()
9121
9122 2006-09-15  Wim Taymans  <wim@fluendo.com>
9123
9124         * gst/gstobject.c: (gst_object_set_parent):
9125         * gst/gstpipeline.c: (do_pipeline_seek):
9126         Small cleanups in docs and code.
9127
9128         * gst/gstsegment.c: (gst_segment_clip):
9129         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9130         if stop == start and start is in the segment, no clipping should be
9131         done. Also add a test for this.
9132
9133 2006-09-15  Wim Taymans  <wim@fluendo.com>
9134
9135         * docs/design/part-buffering.txt:
9136         * docs/gst/gstreamer-sections.txt:
9137         * gst/gstmessage.c: (gst_message_new_buffering),
9138         (gst_message_parse_buffering):
9139         * gst/gstmessage.h:
9140         Added methods to create and parse BUFFERING messages.
9141         Added preliminary docs about buffering.
9142         API: gst_message_new_buffering
9143         API: gst_message_parse_buffering
9144
9145 2006-09-06  Wim Taymans  <wim@fluendo.com>
9146
9147         * gst/gstbin.c:
9148         Update documentation.
9149
9150         * gst/gstelement.c: (gst_element_class_init),
9151         (gst_element_release_request_pad), (gst_element_set_clock),
9152         (gst_element_get_index), (gst_element_add_pad),
9153         (gst_element_remove_pad), (gst_element_get_random_pad),
9154         (gst_element_send_event), (gst_element_get_query_types),
9155         (gst_element_query), (gst_element_post_message),
9156         (gst_element_message_full), (gst_element_continue_state),
9157         (gst_element_lost_state), (gst_element_save_thyself),
9158         (gst_element_restore_thyself):
9159         Documentation updates.
9160         Rename last bit of the new-pad -> pad-added signal rename.
9161         Fix the case where an element query would only work if the source
9162         pad was linked.
9163         Avoid some useless type checking in message handling.
9164
9165         * gst/gstevent.c:
9166         * gst/gstevent.h:
9167         * gst/gstutils.c:
9168         Documentation updates.
9169
9170 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9171
9172         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9173           add an INFO line for when we actually update the fd
9174
9175 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9176
9177         * configure.ac:
9178           back to TRUNK
9179
9180 === release 0.10.10 ===
9181
9182 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
9183
9184         * configure.ac:
9185           releasing 0.10.10, "Pais"
9186
9187 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
9188
9189         * docs/manual/advanced-position.xml:
9190           Fix typo in sample code.
9191
9192 2006-09-05  Wim Taymans  <wim@fluendo.com>
9193
9194         * libs/gst/net/gstnetclientclock.c: (inet_aton),
9195         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
9196         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
9197         * libs/gst/net/gstnetclientclock.h:
9198         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
9199         * libs/gst/net/gstnettimepacket.h:
9200         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
9201         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
9202         (gst_net_time_provider_thread), (gst_net_time_provider_new):
9203         * libs/gst/net/gstnettimeprovider.h:
9204         Make stuff compile on windows. Fixes #345295.
9205
9206 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9207
9208         * gst/gst.c: (ensure_current_registry_forking):
9209           Print better details when child was terminated by signal.
9210
9211 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
9212
9213         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
9214           Print a warning rather than g_assert() if a plugin feature
9215           is a URI handler but returns no protocols (#353976).
9216
9217 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
9218
9219         * docs/random/moving-plugins:
9220         Fix two typos.         
9221
9222 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
9223
9224         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
9225           Fix locking order, handle NULL function values properly.
9226
9227         * gst/gstinfo.h:
9228           Fix docs.
9229
9230         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
9231           Initialise variable before using it and fix debug statement to
9232           print the address of the function rather than the address of the
9233           variable on the stack holding the address of the function.
9234
9235 2006-09-01  Wim Taymans  <wim@fluendo.com>
9236
9237         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
9238         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
9239         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
9240         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
9241         (gst_ghost_pad_parent_unset),
9242         (gst_ghost_pad_internal_do_activate_push),
9243         (gst_ghost_pad_internal_do_activate_pull),
9244         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9245         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9246         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9247         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
9248         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
9249         (gst_ghost_pad_new_no_target_from_template),
9250         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9251         More cleanups.
9252         Avoid needless typechecking in macros.
9253         Since the internal pad is always present and never changes, there is
9254         no need to locking or ref when retrieving it.
9255         Improve debugging a bit.
9256         Handle link errors when setting the target. Fixes #341029.
9257
9258 2006-09-01  Wim Taymans  <wim@fluendo.com>
9259
9260         * docs/libs/gstreamer-libs-sections.txt:
9261         * docs/plugins/gstreamer-plugins-sections.txt:
9262         Fix docs some more.
9263
9264         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9265         (gst_collect_pads_event):
9266         * libs/gst/base/gstcollectpads.h:
9267         Documentation updates.
9268         Free queued buffer when removing a pad.
9269
9270 2006-08-31  Michael Smith  <msmith@fluendo.com>
9271
9272         * gst/gstutils.c: (gst_element_link_pads),
9273         (gst_element_link_pads_filtered):
9274           Ensure that we set a capsfilter to NULL if we failed to link it
9275           when doing filtered linking, to avoid criticals.
9276
9277           No need to check for unreffing srcpad, which is explicly NULLed
9278           above (a trivial code cleanup).
9279
9280 2006-08-31  Wim Taymans  <wim@fluendo.com>
9281
9282         * docs/design/part-gstghostpad.txt:
9283         Update ascii art in documentation.
9284
9285         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
9286         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
9287         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
9288         (gst_ghost_pad_internal_do_activate_push),
9289         (gst_ghost_pad_internal_do_activate_pull),
9290         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
9291         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9292         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
9293         (gst_ghost_pad_set_target):
9294         Small cleanups and leak fixes.
9295         Remove some checks now that the internal pad is never NULL.
9296         Fix the case where linking pads without a target would create nasty
9297         criticals. Fixes #341029.
9298         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
9299         value of _set_target().
9300
9301         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9302         (gst_ghost_pad_suite):
9303         Some more tests for creating and linking untargeted ghostpads.
9304
9305 2006-08-31  Edward Hervey  <edward@fluendo.com>
9306
9307         * docs/gst/gstreamer-sections.txt:
9308         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
9309         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
9310         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
9311         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
9312         (gst_ghost_pad_new_from_template),
9313         (gst_ghost_pad_new_no_target_from_template):
9314         * gst/gstghostpad.h:
9315         Refactored *_new() functions.
9316         Templates are now used as a g_object_new() parameter.
9317         Use template in _do_getcaps() if we don't have a target.
9318         Small documentation cleanups.
9319         Added two new constructors:
9320         gst_ghost_pad_new_from_template()
9321         gst_ghost_pad_new_no_target_from_template()
9322         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9323         (gst_ghost_pad_suite):
9324         Added tests for new ghostpad instanciation functions.
9325
9326         API additions: gst_ghost_pad_new_from_template,
9327         gst_ghost_pad_new_no_target_from_template
9328
9329 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
9330
9331         * docs/random/ensonic/profiling.txt:
9332           Ideas about qos profiling.
9333
9334 2006-08-29  Wim Taymans  <wim@fluendo.com>
9335
9336         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
9337         Code cleanups.
9338         Fix memleak.
9339
9340 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
9341
9342         * gst/gstxml.c:
9343           Improve and detypofy docs.
9344
9345         * tests/check/Makefile.am:
9346         * tests/check/gst/.cvsignore:
9347         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
9348           Add a basic test suite for GstXML.
9349
9350 2006-08-29  Wim Taymans  <wim@fluendo.com>
9351
9352         * gst/gstelement.c: (activate_pads), (clear_caps),
9353         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
9354         Clear the pad caps when the element shut down all of the pads and
9355         is not streaming data that could modify the caps. 
9356         Fixes #352958.
9357
9358 2006-08-28  Michael Smith  <msmith@fluendo.com>
9359
9360         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9361           Revert previous change; I misunderstood single-segment mode.
9362
9363 2006-08-28  Michael Smith  <msmith@fluendo.com>
9364
9365         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
9366           Unset DISCONT on buffers when using single-segment mode.
9367
9368 2006-08-28  Wim Taymans  <wim@fluendo.com>
9369
9370         * gst/gstcaps.c: (gst_caps_merge_structure):
9371         * gst/gstcaps.h:
9372         Fix docs and indentation again.
9373
9374         * tests/check/gst/gstquery.c: (GST_START_TEST):
9375         Fix leak in tests and add some more tests.
9376
9377 2006-08-28  Edward Hervey  <edward@fluendo.com>
9378
9379         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
9380         Inform GstSegment of the last stop position in order for the current
9381         segment to have a proper duration if it doesn't have a specific stop
9382         position from which a duration could be calculated.
9383         This bug was noticeable when a non-flushing, non-update new segment was
9384         followed by another segment (all buffers from the new segment were being
9385         dropped).
9386
9387 2006-08-28  Wim Taymans  <wim@fluendo.com>
9388
9389         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9390         Small comment update.
9391
9392         * plugins/elements/gstidentity.c: (gst_identity_class_init),
9393         (gst_identity_transform_ip):
9394         Drop-probability is broken, mention this in the code with a 
9395         FIXME and also in the property description.
9396         Make silent also be silent about the drop messages.
9397
9398 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
9399
9400         * docs/manual/appendix-win32.xml:
9401           Remove mention of popt, we don't depend on that any
9402           longer (#353136). Add some comments pointing out that
9403           this section is slightly outdated.
9404
9405 2006-08-28  Wim Taymans  <wim@fluendo.com>
9406
9407         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9408
9409         * gst/gstquery.c: (gst_query_new_segment):
9410         * tests/check/gst/gstquery.c: (GST_START_TEST):
9411         Initialize variables when creating a new segment query.
9412         Fixes #353121.
9413
9414 2006-08-28  Wim Taymans  <wim@fluendo.com>
9415
9416         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
9417
9418         * gst/gstelement.c: (gst_element_get_bus):
9419         * tests/check/gst/gstelement.c: (GST_START_TEST):
9420         Check for NULL before _reffing the bus. Fixes #353122.
9421
9422 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
9423
9424         * docs/manual/basics-bus.xml:
9425           Docs update: fix wrong callback return value explanation; add
9426           some lines about the implicit relationship between main loop
9427           and main context; remove duplicate main loop variable declaration.
9428
9429 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
9430
9431         * tests/check/gst/gstcaps.c: (GST_START_TEST):
9432           Don't leak caps in unit test; add a few more simple
9433           checks. 
9434
9435 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
9436
9437         * docs/gst/gstreamer-sections.txt:
9438         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
9439         (gst_caps_structure_is_subset), (gst_caps_merge),
9440         (gst_caps_merge_structure):
9441         * gst/gstcaps.h:
9442         * libs/gst/base/gstbasetransform.c:
9443         (gst_base_transform_transform_caps):
9444         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9445           implement caps merging (fixes #352580)
9446
9447 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
9448
9449         * tools/Makefile.am:
9450         * tools/gst-plot-timeline.py:
9451           add debug-log plotting developer tool (#340674)
9452
9453 2006-08-23  Wim Taymans  <wim@fluendo.com>
9454
9455         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
9456         (gst_pad_stop_task):
9457         Improve debugging for task functions.
9458
9459         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
9460         (gst_task_start), (gst_task_pause), (gst_task_join):
9461         Make sure that the task function started and finished after a 
9462         join(). 
9463         Don't try to push the task function on the threadpool multiple
9464         times.
9465         Improve the g_warning message with some useful suggestions
9466         about how to fix the problem. 
9467
9468 2006-08-23  Wim Taymans  <wim@fluendo.com>
9469
9470         * gst/gstutils.c: (gst_pad_proxy_getcaps):
9471         Handle RESYNC correctly in _proxy_getcaps.
9472
9473 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
9476         (gst_xml_parse_memory), (gst_xml_get_element):
9477           Chain up to parent class in dispose function and also
9478           unref the elements in the toplevel_elements GList.
9479           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
9480           Always return a reference in gst_xml_get_element() rather
9481           than only sometimes.
9482
9483         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9484           Don't leak GstXml object.
9485
9486 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
9487
9488         * docs/gst/gstreamer-sections.txt:
9489         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
9490         (gst_caps_merge):
9491         * gst/gstcaps.h:
9492         * libs/gst/base/gstbasetransform.c:
9493         (gst_base_transform_transform_caps):
9494           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
9495           in a better way
9496
9497 2006-08-21  Edward Hervey  <edward@fluendo.com>
9498
9499         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
9500         Implement GObject::dispose virtual method in GstXML so we can free the
9501         top_elements GList.
9502
9503 2006-08-21  Wim Taymans  <wim@fluendo.com>
9504
9505         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
9506         (gst_buffer_create_sub):
9507         Copy duration/offset_end/caps when creating a subbuffer of the
9508         complete parent.
9509         Make the subbuffer read-only when we make the metadata writable for
9510         now. Fixes #351768.
9511
9512         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9513         Added check for metadata copy when creating subbuffers.
9514
9515 2006-08-21  Edward Hervey  <edward@fluendo.com>
9516
9517         * libs/gst/base/gstbasetransform.c:
9518         (gst_base_transform_buffer_alloc):
9519         Only call downstream buffer_alloc if transform element is passthrough
9520         or always_in_place. Closes #350449.
9521
9522 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9523
9524         * ChangeLog:
9525           ChangeLog surgery to add comments to previous changes
9526
9527 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9528
9529         * gst/gst.c:
9530           Add comments
9531
9532         * gst/gstpad.c: (gst_pad_set_active):
9533           Be more verbose in the log
9534
9535         * libs/gst/base/gstbasetransform.c:
9536         (gst_base_transform_transform_caps):
9537           Simplify caps to get rid of duplicates, fixes #345444
9538
9539 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9540
9541         * gst/gstvalue.c:
9542         * gst/gstvalue.h:
9543           Use these optimizations only internally.
9544
9545 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
9546
9547         * gst/gstvalue.c: (gst_value_compare_list),
9548         (gst_value_compare_fraction_range),
9549         (gst_value_intersect_fraction_fraction_range),
9550         (gst_value_intersect_fraction_range_fraction_range),
9551         (gst_value_subtract_fraction_fraction_range),
9552         (gst_value_subtract_fraction_range_fraction_range),
9553         (gst_value_get_compare_func), (gst_value_compare),
9554         (gst_value_compare_with_func):
9555         * gst/gstvalue.h:
9556           Saves the expensive lookup of the compare function in many cases
9557          (#345444)
9558
9559 2006-08-18  Edward Hervey  <edward@fluendo.com>
9560
9561         * tests/check/gst/gstinfo.c: (gst_info_suite):
9562         Disable test that require gstdebug if it wasn't built in core.
9563
9564 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9565
9566         * docs/random/ensonic/logging.txt:
9567           update ideas
9568           
9569         * gst/gstinfo.c: (gst_debug_log_default):
9570           reorder fields, save some columns, add optional color codes for log
9571           levels
9572
9573 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
9574
9575         * docs/random/ensonic/logging.txt:
9576           add ideas about making the logs a bit more useful
9577
9578 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9579
9580         * docs/pwg/advanced-events.xml:
9581         * docs/pwg/titlepage.xml:
9582           Update for 0.10 API (#340627). Add myself
9583           to authors list.
9584
9585 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
9586
9587         * docs/libs/gstreamer-libs-docs.sgml:
9588         * docs/libs/gstreamer-libs-sections.txt:
9589         * libs/gst/check/gstbufferstraw.c:
9590           Make gstcheck stuff show up in docs (still needs to
9591           be documented properly though).
9592
9593 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
9594
9595         * docs/gst/gstreamer-sections.txt:
9596         * gst/Makefile.am:
9597         * gst/gst.c: (init_post):
9598         * gst/gst_private.h:
9599         * gst/gstquark.c: (_priv_gst_quarks_initialize):
9600         * gst/gstquark.h:
9601         * gst/gstquery.c: (gst_query_new_position),
9602         (gst_query_set_position), (gst_query_parse_position),
9603         (gst_query_new_duration), (gst_query_set_duration),
9604         (gst_query_parse_duration), (gst_query_new_convert),
9605         (gst_query_set_convert), (gst_query_parse_convert),
9606         (gst_query_new_segment), (gst_query_set_segment),
9607         (gst_query_parse_segment), (gst_query_new_seeking),
9608         (gst_query_set_seeking), (gst_query_parse_seeking):
9609         Add internal helpers for pre-registering quarks from static strings
9610         and using the quark values directly instead of looking them up when
9611         creating and parsing queries. Can be used for event construction too.
9612         Closes #350432.
9613
9614 2006-08-16  Wim Taymans  <wim@fluendo.com>
9615
9616         * gst/gstbin.c:
9617         Fix bogus docs.
9618
9619 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9620
9621         * gst/gstutils.c: (gst_util_set_value_from_string):
9622           Fix memleak (#351502).
9623
9624         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
9625           Add unit test for most of gst_util_set_value_from_string()
9626           (not that one would want to encourage use of this function).
9627
9628 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9629
9630         * libs/gst/check/gstcheck.h:
9631           Use const gchar * variables in fail_unless_equals_string
9632           macro to avoid compiler warnings (and don't use tabs for
9633           indenting).
9634
9635 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9636
9637         * tools/gst-launch.c: (print_tag):
9638           More space on the left for the tag names, to cater
9639           for the 'extended comment' tag (not touching the
9640           string for the first line since it's translated).
9641
9642 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
9643
9644         * libs/gst/check/gstcheck.h:
9645           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
9646           print something when they fail.
9647
9648 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9649
9650         * docs/gst/gstreamer-sections.txt:
9651         * gst/gsttaglist.c: (_gst_tag_initialize):
9652         * gst/gsttaglist.h:
9653           API: add GST_TAG_EXTENDED_COMMENT (#350935).
9654           Also change merge function for GST_TAG_COMMENT to
9655           use_first.
9656
9657 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * gst/gstinfo.c: (gst_debug_print_object):
9660           Make GST_PTR_FORMAT print messages as well.
9661
9662         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
9663         (GST_START_TEST), (gst_info_suite):
9664           More tests.
9665
9666 2006-08-14  Edward Hervey  <edward@fluendo.com>
9667
9668         * gst/gstelementfactory.c: (gst_element_register):
9669         If the GstElementClass doesn't have a GstElementDetails with all fields
9670         filled up correctly (longname, description AND author), then error out
9671         nicely instead of crashing.
9672
9673 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
9674
9675         * gst/gststructure.c:
9676           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
9677
9678         * gst/gstvalue.h:
9679           Expand on the difference between arrays and lists as we use them.
9680           
9681 2006-08-14  Wim Taymans  <wim@fluendo.com>
9682
9683         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
9684         If the parent state change function failed, don't assume we can safely
9685         stop the source, this will be done when the pads are deactivated.
9686
9687 2006-08-14  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/gstbuffer.c:
9690         * gst/gsttask.c: (gst_task_join):
9691         Small doc updates.
9692
9693         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
9694         (gst_pad_stop_task):
9695         When pad (de)activation failed for some reason, restore the old
9696         activation mode and set the pad to flushing instead of assuming the
9697         pad is deactivated.
9698         If the _task_join() failed, reinstall the task on the pad so that it can
9699         be stopped later and return an error.
9700
9701 2006-08-11  Andy Wingo  <wingo@pobox.com>
9702
9703         * configure.ac:
9704         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9705         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
9706         is only for users of API that don't want to see deprecated
9707         functions in the headers; people that want to compile out
9708         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
9709         CFLAGS. Fixes the build of multifdsink, or will soon..
9710
9711 2006-08-11  Wim Taymans  <wim@fluendo.com>
9712
9713         * docs/gst/gstreamer-sections.txt:
9714         Add GstClockClass vmethod docs.
9715
9716         * gst/gstcaps.h:
9717         Mark #endif with comment for associated #if
9718
9719         * gst/gstclock.c: (gst_clock_id_wait):
9720         * gst/gstclock.h:
9721         Add vmethod wait_jitter to avoid an unneeded _get_time() for
9722         most clock implementations.
9723         Document vmethods.
9724         Flesh out docs about resolution methods.
9725         API: GstClockClass::wait_jitter
9726
9727         * gst/gstsystemclock.c: (gst_system_clock_class_init),
9728         (gst_system_clock_async_thread),
9729         (gst_system_clock_id_wait_jitter_unlocked),
9730         (gst_system_clock_id_wait_jitter):
9731         Use base class wait_jitter variant for improved performance
9732         due to less clock polling.
9733
9734 2006-08-11  Edward Hervey  <edward@fluendo.com>
9735
9736         * gst/gst.c: (gst_init_check), (init_post):
9737         Set gst as being initialized before scanning/updating the registry,
9738         since there might be my python plugin loader that calls gst_init() and
9739         we don't want to loop back in.
9740         Closes #350879
9741
9742 2006-08-11  Wim Taymans  <wim@fluendo.com>
9743
9744         * docs/design/part-qos.txt:
9745         Bring docs in line with the code. Mostly the sign of the jitter was
9746         wrong in the docs. Fixes #349943.
9747
9748         * gst/gstclock.c:
9749         Fix the docs for the jitter.
9750
9751         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
9752         (gst_event_parse_tag), (gst_event_new_buffer_size),
9753         (gst_event_parse_buffer_size), (gst_event_parse_qos),
9754         (gst_event_new_seek), (gst_event_parse_seek),
9755         (gst_event_new_navigation):
9756         Make sure the GstStructure has no parent when creating custom
9757         events.
9758         Add some more argument checking so that we avoid 0.0 rates.
9759         Flesh out the docs for the QoS event some more.
9760
9761 2006-08-11  Wim Taymans  <wim@fluendo.com>
9762
9763         * docs/gst/gstreamer-sections.txt:
9764         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9765         (ensure_current_registry_forking), (ensure_current_registry),
9766         (parse_one_option), (parse_goption_arg), (gst_deinit),
9767         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
9768         * gst/gst.h:
9769         Doc updates.
9770         Added API and command line option to disable registry forking in
9771         addition to the environment variable.
9772         Constify some static arrays.
9773         Added some more debug.
9774         Don't deinit twice.
9775         API: gst_registry_fork_is_enabled()
9776         API: gst_registry_fork_set_enabled()
9777         API: --gst-disable-registry-fork command line option
9778         Fixes #348918.
9779
9780 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
9781
9782         * gst/gst.c: (gst_init):
9783           Fix typo in error message.
9784
9785 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9786
9787         * libs/gst/controller/gstcontroller.h:
9788           fix ABI size-correction
9789
9790         * tests/check/libs/gdp.c: (gst_dp_suite):
9791           make tests that use deprecated API conditional
9792
9793 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
9794
9795         * docs/libs/gstreamer-libs-sections.txt:
9796         * libs/gst/controller/gstcontroller.c:
9797         (_gst_controller_get_property), (_gst_controller_set_property),
9798         (_gst_controller_init), (_gst_controller_class_init):
9799         * libs/gst/controller/gstcontroller.h:
9800         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
9801         (gst_object_set_control_rate):
9802           API: add gst_object_{s,g}et_control_rate(), add private data section,
9803           fix docs
9804
9805         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
9806         * libs/gst/dataprotocol/dataprotocol.h:
9807           add deprecation guards to make gtk-doc happy and allow disabling cruft
9808
9809 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
9810
9811         * tests/check/Makefile.am:
9812         * tests/check/gst/.cvsignore:
9813           Let's enable the new unit test as well.
9814
9815 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
9816
9817         * configure.ac:
9818         * docs/gst/gstreamer-sections.txt:
9819         * gst/gstconfig.h.in:
9820         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
9821         (_gst_info_printf_extension_ptr),
9822         (_gst_info_printf_extension_segment):
9823           API: add GST_SEGMENT_FORMAT, which is a printf extension we
9824           register that lets us easily dump GstSegments into debug
9825           logs (#350419).
9826
9827         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
9828         (info_segment_format_printf_extension), (gst_info_suite):
9829           Add simple unit test that logs a bunch of different segments (not
9830           valgrinded at the moment because of leaks in
9831           gst_debug_add_log_function).
9832
9833 2006-08-09  Edward Hervey  <edward@fluendo.com>
9834
9835         * libs/gst/base/gstbasetransform.c:
9836         (gst_base_transform_buffer_alloc):
9837         Even if we can't figure out the proper format to request downstream,
9838         call buffer_alloc() downstream with the input parameters without setting
9839         the caps on the srcpad. This will force negotiation in the chain
9840         function.
9841         Closes #350449
9842
9843 2006-08-08  Edward Hervey  <edward@fluendo.com>
9844
9845         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
9846         Unlinking from a pad without a target is now a perfectly valid case
9847         which should NOT raise an assertion.
9848         This case would happen if a linked ghostpad its target set to NULL after
9849         it was previously linked.
9850
9851 2006-08-08  Edward Hervey  <edward@fluendo.com>
9852
9853         * tests/check/libs/gdp.c:
9854         Also comment out the test (see below).
9855
9856 2006-08-08  Edward Hervey  <edward@fluendo.com>
9857
9858         * tests/check/libs/gdp.c: (gst_dp_suite):
9859         Use the architecture information from config.h and not gcc macros
9860         in order to properly disable a test that fails on PPC64.
9861
9862 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
9863
9864         * gst/gstelement.c: (gst_element_remove_pad):
9865           Don't crash printing the warning if the pad has no parent.
9866
9867 2006-08-02  Wim Taymans  <wim@fluendo.com>
9868
9869         * libs/gst/dataprotocol/dataprotocol.c:
9870         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9871         (gst_dp_crc), (gst_dp_header_payload_length),
9872         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
9873         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
9874         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
9875         (gst_dp_event_from_packet), (gst_dp_validate_header),
9876         (gst_dp_validate_payload):
9877         Make debug category static
9878         Constify the crc table.
9879         Do some more arg checking in public functions.
9880         Fix some docs and do some small cleanups.
9881
9882         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
9883         Add some more checks to see if GDP deals with bogus input.
9884
9885 2006-07-31  Wim Taymans  <wim@fluendo.com>
9886
9887         * gst/gstvalue.c: (gst_value_compare_list):
9888         Fix GstValueList comparison code. Fixes #347293.
9889
9890         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9891         Check to test GstValueList comparison.
9892
9893 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9894
9895         * gst/gstelementfactory.c: (gst_element_factory_create):
9896         Remove unnecessary ref/unref pair
9897
9898         * gst/parse/grammar.y:
9899         Make sure to free the parse buffer on all code paths.
9900         Move a g_free up to the error handler where it's easier to see.
9901
9902         * tests/check/gst/gstevent.c: (test_event):
9903         Extending timeout for downstream travelling events to 10 seconds to
9904         hopefully avoid intermittent failure on the buildbots.
9905
9906         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
9907         Don't manually set the state of the src element - it will happen as a
9908         natural consequence of the pipeline changing state, and that way it
9909         will do it in the right order too.
9910
9911 2006-07-31  Wim Taymans  <wim@fluendo.com>
9912
9913         * libs/gst/base/gstbasetransform.c:
9914         (gst_base_transform_buffer_alloc):
9915         Use OBJECT_LOCK and refcounting to get the pad caps in the
9916         buffer_alloc function because the caps could change while we are
9917         busy with them. Fixes #349105
9918
9919 2006-07-31  Wim Taymans  <wim@fluendo.com>
9920
9921         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
9922         Protect _PAD_CAPS with OBJECT_LOCK.
9923
9924 2006-07-31  Wim Taymans  <wim@fluendo.com>
9925
9926         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9927         (gst_pad_get_property), (gst_pad_activate_pull),
9928         (gst_pad_activate_push), (gst_pad_set_blocked_async),
9929         (gst_pad_set_activate_function),
9930         (gst_pad_set_activatepull_function),
9931         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
9932         (gst_pad_set_getrange_function),
9933         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
9934         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
9935         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
9936         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
9937         (gst_pad_set_acceptcaps_function),
9938         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
9939         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
9940         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
9941         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
9942         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
9943         (gst_pad_configure_sink), (gst_pad_configure_src),
9944         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
9945         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
9946         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
9947         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
9948         (gst_pad_send_event):
9949         Use _DEBUG_OBJECT when it makes sense.
9950         Protect GST_PAD_CAPS with the OBJECT_LOCK.
9951         Small cleanups and code reflows.
9952         Avoid caps refcounting in _accept_caps.
9953         Refactor alloc_buffer so that the code performed on the peer is in a
9954         separate function. Also if the pad does not implement a buffer alloc
9955         function, we should still check if the pad is flushing before falling
9956         back to the default allocator.
9957
9958 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
9959
9960         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
9961         Make all uses of identity and fakesink have silent=true to avoid
9962         serialising every passing data structure, which is breaking tests
9963         on FC4 for some unknown reason.
9964
9965 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9966
9967         * gst/parse/Makefile.am:
9968         * gst/parse/grammar.y:
9969         * gst/parse/parse.l:
9970           Reverted previous patch as it required to bump the flex dependency to
9971           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
9972
9973 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
9974
9975         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
9976
9977         * gst/parse/Makefile.am:
9978         * gst/parse/grammar.y:
9979         * gst/parse/parse.l:
9980           push & pop the state of the lexer for reentrant use case
9981           Fixes #349180
9982
9983 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
9984
9985         * libs/gst/base/gstbasesrc.h:
9986           Note in the docs that the ::newsegment vfunc is not actually used by
9987           GstBaseSrc.
9988
9989 2006-07-28  Wim Taymans  <wim@fluendo.com>
9990
9991         * libs/gst/base/gstcollectpads.c:
9992         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
9993         (gst_collect_pads_clear), (gst_collect_pads_flush),
9994         (gst_collect_pads_event), (gst_collect_pads_chain):
9995         When flushing a pad, also clear the queued buffer so that we don't
9996         accidentally use it when we shouldn't.
9997         Fix leaks by inreffing incomming buffer.
9998         Flush out queued buffers in case of errors.
9999         Fixes #347452.
10000
10001 2006-07-28  Wim Taymans  <wim@fluendo.com>
10002
10003         * docs/random/phonon-gst:
10004         Random notes about a Phonon backend.
10005
10006 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
10007
10008         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
10009         Extra debug output
10010         * tests/check/libs/gdp.c: (gst_dp_suite):
10011         Take a whack at fixing the ppc compile using a different define to
10012         disable the broken test.
10013
10014         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10015         Remove excess g_print()
10016
10017 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10018
10019         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10020         Oops, meant to uncomment this line too to dampen the noise a bit.
10021
10022 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
10023
10024         * gst/parse/grammar.y:
10025         * gst/parse/parse.l:
10026         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10027         (GST_START_TEST), (parse_suite):
10028         Fix some of the leaks exposed by extending the parse-launch testsuite,
10029         and move the 3 I can't figure out into a separate test that won't run
10030         the pipelines unless the appropriate line is uncommented.
10031
10032 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10033
10034         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10035           Requesting 0 bytes before the end of the file should result in
10036           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
10037           unit test.
10038
10039 2006-07-27  Wim Taymans  <wim@fluendo.com>
10040
10041         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
10042         Fix useless assert, a uint is always positive.
10043
10044         * gst/gststructure.c: (gst_structure_nth_field_name),
10045         (gst_structure_foreach), (gst_structure_map_in_place):
10046         Check input arguments for public functions to avoid obvious crashes.
10047
10048         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
10049         * plugins/elements/gstfakesink.h:
10050         Do less useless typechecking.
10051
10052 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
10053
10054         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
10055           Do not use mmap() by default since there are a number of error
10056           conditions that we would like to handle in a non-fatal way that
10057           will result in a SIGBUS if we use mmap(). Examples: external
10058           devices (USB harddrive, portable music player) being unplugged
10059           while in use; file on mounted CD/DVD that can't be read because
10060           the medium is partly damaged. Fixes #348455 and #348475.
10061
10062 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
10063
10064         * gst/gstquery.h:
10065         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
10066         rates are a gdouble
10067
10068 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
10069
10070         * gst/gstregistry.c:
10071           Move big documentation comment into class section header, so that it
10072           appears in the API docs.
10073
10074 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10075
10076         * docs/gst/gstreamer-sections.txt:
10077         Oops. Commit the docs additions too for new API.
10078         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
10079
10080 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10081
10082         * gst/gststructure.c: (gst_structure_id_set),
10083         (gst_structure_id_set_valist):
10084         * gst/gststructure.h:
10085         Add API for setting values into structures without performing
10086         a quark lookup, if the appropriate quark is already known.
10087
10088         API: gst_structure_id_set
10089         API: gst_structure_id_set_valist
10090
10091         * gst/parse/grammar.y:
10092         * gst/parse/parse.l:
10093         Remove some dead code shown by the coverage information.
10094         Don't throw a critical g_warning when encountering a syntax error,
10095         just warn and let the normal error path handle it.
10096
10097         * plugins/elements/gstelements.c:
10098         Bump the rank of filesink up to PRIMARY so that it is preferred over
10099         gnomevfssink for file:// sink uri's
10100
10101         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
10102         (GST_START_TEST), (run_delayed_test),
10103         (gst_parse_test_element_base_init),
10104         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
10105         (gst_parse_test_element_change_state),
10106         (gst_register_parse_element), (parse_suite):
10107         Beef up the tests for parse syntax to check that more error cases
10108         fail as they are supposed to. Increases the test coverage a bit.
10109
10110 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
10111
10112         * docs/manual/basics-elements.xml:
10113           Fix gst_element_link() example.
10114
10115         * gst/gstutils.c:
10116           Mention in API docs that one should usually gst_bin_add()
10117           elements to a bin or pipeline before doing the linking.
10118           
10119 2006-07-26  Wim Taymans  <wim@fluendo.com>
10120
10121         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
10122         (gst_subbuffer_get_type), (gst_buffer_create_sub):
10123         Avoid function call for known types by keeping the buffer and
10124         subbuffer GType global.
10125
10126         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
10127         Random silly optimisations in read() path.
10128
10129 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
10130
10131         * tools/gst-launch.c: (main):
10132           If the top-level of the parse is a normal bin, it doesn't do the
10133           right logic to run as a top-level element, so place it inside a
10134           pipeline.
10135
10136 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
10137
10138         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
10139           Remove superfluous g_object_notify() calls, GObject does
10140           that for us automatically.
10141
10142 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
10143
10144         * gst/gstinfo.h:
10145           on Win32, use dllspec to export the debug category symbols
10146
10147 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
10148
10149         * gst/gsttaglist.c: (_gst_tag_initialize):
10150           Allow more than one GST_TAG_IMAGE per taglist.
10151
10152 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10153
10154         * gst/gstminiobject.c:
10155           update docs
10156         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
10157         (gst_fd_src_create):
10158           log recurring events at LOG level
10159           add more debug for when the fd gets set
10160
10161 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10162
10163         * gst/gstparse.c: (gst_parse_launch):
10164           Also remove reentrance checks if flex is MT safe (#348179)
10165          Fix my empty ChangeLog entry below
10166
10167 2006-07-21  Andy Wingo  <wingo@pobox.com>
10168
10169         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
10170
10171         * libs/gst/check/Makefile.am
10172         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
10173         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
10174         * libs/gst/check/gstbufferstraw.h:
10175         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
10176         functions, thus proving I am still a GStreamer haxor. OK I wrote
10177         them a long time ago, but anyways.
10178
10179 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
10180
10181         * configure.ac:
10182         * gst/gstparse.c: (gst_parse_launch):
10183           Check for flex version and omit mutex if we have a MT save flex
10184           (fixes #348179)
10185
10186 2006-07-21  Wim Taymans  <wim@fluendo.com>
10187
10188         * gst/gstparse.c: (gst_parse_launch):
10189         Protect recursive calls to _parse with a recursive mutex
10190         and busy flag.
10191
10192 2006-07-21  Wim Taymans  <wim@fluendo.com>
10193
10194         * tests/check/gst/gstpad.c: (GST_START_TEST):
10195         Fix leak in test.
10196
10197 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
10198
10199         * gst/gstparse.c: (gst_parse_launch):
10200           Do not hang on recursive usage of gst_parse_launch()
10201
10202 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10203
10204         * gst/gsttaglist.c:
10205           Add some more docs, comments and FIXME 0.11s here and there
10206           and also fix some typos.
10207
10208 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
10209
10210         * gst/gstsegment.h:
10211           Convert tabs to spaces for better readability. 
10212
10213 2006-07-20  Edward Hervey  <edward@fluendo.com>
10214
10215         * tests/check/libs/gdp.c: (gst_dp_suite):
10216         the test_buffer test fails at line 140 on ppc64 at the following
10217         check:
10218         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
10219                 GST_BUFFER_FLAG_IN_CAPS),
10220                 "GST_BUFFER_IN_CAPS flag should have been copied !");
10221         See bug #348114 for more details.
10222
10223 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
10224
10225         * docs/pwg/advanced-scheduling.xml:
10226         * gst/gstpad.c:
10227           Fix typos (#348000).
10228
10229 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * docs/pwg/intro-basics.xml:
10232           Fix wrong links (#347927).
10233
10234 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
10235
10236         * gst/gstregistry.h:
10237         * gst/gstregistryxml.c: (load_feature),
10238         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
10239         * win32/common/config.h:
10240           make --disable-index work (#342564)
10241
10242 2006-07-18  Wim Taymans  <wim@fluendo.com>
10243
10244         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10245
10246         * gst/Makefile.am:
10247         * gst/gsttrace.h:
10248         The attached patch adds two missing defines to gsttrace.h when tracing
10249         is disabled.  It also corrects one existing define.
10250         Fixes #347756.
10251
10252 2006-07-17  Wim Taymans  <wim@fluendo.com>
10253
10254         * docs/gst/gstreamer-sections.txt:
10255         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
10256         * gst/gst.h:
10257         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
10258         Add two functions to check and change the SIGSEGV behaviour
10259         when loading plugins.
10260         Don't mess with the SIGSEGV handler when we were told not to.
10261         Fixes #347794.
10262         API: gst_segtrap_is_enabled
10263         API: gst_segtrap_set_enabled
10264
10265 2006-07-14  Wim Taymans  <wim@fluendo.com>
10266
10267         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10268         * tests/check/elements/filesrc.c: (GST_START_TEST):
10269         Revert fix for regression in #347408 after release.
10270
10271 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
10272
10273         Patch by: Antoine Tremblay <hexa00 at gmail com>
10274
10275         * gst/gstutils.c: (gst_element_unlink):
10276           Free iterator when done (#347311).
10277
10278         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10279           And add a test case for this.
10280
10281 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
10282
10283         * configure.ac:
10284         Bump nano back to CVS
10285
10286 === release 0.10.9 ===
10287
10288 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
10289
10290         * configure.ac:
10291           releasing 0.10.9, "On the road again"
10292
10293 2006-07-13  Wim Taymans  <wim@fluendo.com>
10294
10295         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
10296         * tests/check/elements/filesrc.c: (GST_START_TEST):
10297         Revert pull-0 fix for release. Disable check. Fixes #347408.
10298
10299 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10300
10301         * libs/gst/dataprotocol/dataprotocol.c:
10302         (gst_dp_event_from_packet_1_0):
10303           Fixes #347337: failure to deserialize event packets with
10304           empty payload (only event type)
10305
10306 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10307
10308         * gst/Makefile.am:
10309           do not install a .c file in the header directory
10310
10311 2006-07-13  Edward Hervey  <edward@fluendo.com>
10312
10313         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
10314         GhostPad no longer implicitely use the padtemplates of the targets.
10315         Fixes #347384
10316
10317 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
10318
10319         * gst/gstvalue.c: (gst_value_compare_list),
10320         (gst_value_compare_array), (_gst_value_initialize):
10321         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10322         Make GstValueArray comparison be order dependent as designed.
10323         Add checks for value lists and value array comparisons.
10324         Fixes #347221
10325
10326 2006-07-11  Edward Hervey  <edward@fluendo.com>
10327
10328         * gst/gstbin.c: (activate_pads),
10329         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
10330         (gst_bin_change_state_func):
10331         (de)activate src pads before calling state_change on the childs.
10332         This is to avoid the case where a src ghostpad is blocked (holding the
10333         stream lock), which would block the deactivation of the ghostpad's
10334         target pad.
10335         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
10336         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
10337         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
10338         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
10339         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
10340         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10341         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10342         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
10343         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
10344         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10345         (gst_ghost_pad_class_init),
10346         (gst_ghost_pad_internal_do_activate_push),
10347         (gst_ghost_pad_internal_do_activate_pull),
10348         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10349         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10350         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
10351         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
10352         GhostPads now create their internal GstProxyPad at creation (and not
10353         when they're linked, as it was being done previously).
10354         The internal and target pads are linked straight away.
10355         The data will also travel through the other pad in order to make
10356         pad blocking and probes non-hackish (the probe/block now really happens
10357         on the GhostPad and not on the target).
10358         * gst/gstpad.c: (gst_pad_set_blocked_async),
10359         (gst_pad_link_prepare), (gst_pad_push_event):
10360         Remove previous ghostpad cruft.
10361         * gst/gstutils.c: (gst_pad_add_data_probe),
10362         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10363         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10364         (gst_pad_remove_buffer_probe):
10365         Remove previous ghost pad cruft.
10366         Added more detailed debug statements.
10367         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10368         Fix the testsuite for refcounting changes.
10369         The comments about who has references were correct, but the refcount
10370         being checked wasn't the same (!?!).
10371
10372         Fixes #341029
10373
10374 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10375
10376         * docs/gst/gstreamer-sections.txt:
10377         * gst/gstconfig.h.in:
10378         More docs for configuration options, add docs to gtk-doc.
10379
10380 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
10381
10382         * gst/Makefile.am:
10383         * gst/gstconfig.h.in:
10384         * win32/common/config.h:
10385         Fix build when disabling tracing (fixes #344016). Also start to document
10386         the defines that disable the sub-systems.
10387
10388 2006-07-10  Edward Hervey  <edward@fluendo.com>
10389
10390         * gst/gst.c: (ensure_current_registry_forking):
10391         let's make valgrind happy...
10392
10393 2006-07-09  Wim Taymans  <wim@fluendo.com>
10394
10395         * gst/gstelement.c: (activate_pads),
10396         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10397         Better pad activation code: Reset the collect value too on resync.
10398         Add some comments.
10399
10400 2006-07-09  Wim Taymans  <wim@fluendo.com>
10401
10402         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
10403         (gst_pad_activate_push):
10404         Use some more macros where it makes sense.
10405         Allow pad mode switching instead of asserting. When a pad
10406         is activated in one mode and we activate it in another, 
10407         deactivate it first before activating it in a different mode.
10408         Fixes #329198.
10409
10410 2006-07-08  Andy Wingo  <wingo@pobox.com>
10411
10412         * tools/gst-launch.c (main): Handle err == NULL.
10413
10414         * gst/gst.c (init_post, ensure_current_registry)
10415         (ensure_current_registry_forking)
10416         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
10417         factoring out the registry scanning into separate functions. Don't
10418         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
10419         Better environment var name/interface suggestions accepted.
10420
10421 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10422
10423         * gst/gstobject.c: (gst_object_set_name_default),
10424         (gst_object_set_name):
10425           Random micro-optimisation: don't use a hash table
10426           with strings as keys and the usual strdup/strcmp
10427           involved, but rather just use the GQuark of the
10428           type name as key, since it needs to be looked up
10429           anyway to get the type name string.
10430
10431         * tests/check/gst/gstobject.c: (GST_START_TEST):
10432           Fix various leaks.
10433
10434 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10435
10436         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
10437         (gst_bin_iterate_all_by_interface):
10438           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
10439           GTypes are gulongs and thus the top 4 bytes might be cut
10440           off on some platforms when doing GPOINTER_TO_INT, leading
10441           to invalid GTypes and bad things happening (see RH bug #179654).
10442           Also add a check to make sure the type passed in is really
10443           an interface type.
10444
10445 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10446
10447         * .cvsignore:
10448           Ignore more.
10449
10450 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
10451
10452         * Makefile.am:
10453         * configure.ac:
10454         * gst-element-check.m4:
10455         * gst-element-check.m4.in:
10456           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
10457           instead of the unversioned gst-inspect (#324176, #168659).
10458
10459 2006-07-06  Wim Taymans  <wim@fluendo.com>
10460
10461         * gst/gstmessage.h:
10462         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
10463         warnings.
10464
10465 2006-07-06  Wim Taymans  <wim@fluendo.com>
10466
10467         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10468         (gst_base_src_wait), (gst_base_src_update_length),
10469         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
10470         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
10471         (gst_base_src_loop), (gst_base_src_start),
10472         (gst_base_src_activate_pull):
10473         Update docs.
10474         blocksize == 0 now means the default blocksize when working in push
10475         based mode.
10476         Remove some pointless asserts in _wait function.
10477         Fix offset/length calculations and EOS handling. We can now pull 0
10478         bytes as well, which is allowed.
10479         use _check_get_range() to decide if we can operate in _pull based
10480         mode.
10481         Fix refcounting leak when check_get_range function was not 
10482         implemented.
10483         API GstBaseSrc::blocksize range can be 0 too now (default)
10484
10485         * tests/check/elements/filesrc.c: (GST_START_TEST),
10486         (filesrc_suite):
10487         Added check to test _get_range() behaviour.
10488
10489 2006-07-06  Wim Taymans  <wim@fluendo.com>
10490
10491         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
10492         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
10493         (gst_pad_pull_range):
10494         * gst/gstpad.h:
10495         Lots of comments and docs added to the pad functions.
10496         Flesh out the expected behaviour of the get_range() functions.
10497
10498 2006-07-06  Wim Taymans  <wim@fluendo.com>
10499
10500         * gst/gstbus.h:
10501         * gst/gstclock.h:
10502         * gst/gstevent.h:
10503         * gst/gstiterator.h:
10504         * gst/gstpad.h:
10505         * gst/gstplugin.h:
10506         * gst/gsttask.h:
10507         Remove comma at end of enumerator list. 
10508
10509 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
10510
10511         * win32/common/libgstbase.def:
10512         * win32/common/libgstdataprotocol.def:
10513         * win32/common/libsgtreamer.def:
10514         Add new exported functions.
10515
10516 2006-07-05  Wim Taymans  <wim@fluendo.com>
10517
10518         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
10519         Add some more docs here and there.
10520
10521 2006-07-05  Wim Taymans  <wim@fluendo.com>
10522
10523         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
10524         (gst_base_sink_loop), (gst_base_sink_get_position):
10525         When operating in pull mode update the offset so that we
10526         read sequentially.
10527
10528 2006-07-05  Wim Taymans  <wim@fluendo.com>
10529
10530         * gst/gstregistryxml.c: (read_string):
10531         Avoid strdup. (will happen in libxml, but hey!)
10532
10533         * gst/gsturi.c:
10534         Add some more docs.
10535
10536 2006-07-05  Wim Taymans  <wim@fluendo.com>
10537
10538         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
10539         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
10540         (gst_buffer_suite):
10541         No point in checking if the size of the subbuffer > 0, the
10542         code handles it correclty as demonstrated by unit test.
10543         Also add a unit test for the zero sized _new_and_alloc and
10544         _copy. Fixes #346663.
10545
10546 2006-07-05  Wim Taymans  <wim@fluendo.com>
10547
10548         * libs/gst/base/gstbasetransform.c:
10549         (gst_base_transform_prepare_output_buffer),
10550         (gst_base_transform_buffer_alloc),
10551         (gst_base_transform_handle_buffer):
10552         Make sure the buffer we pass to transform_ip has a refcount of
10553         1 and thus is writable. Fixes #343196
10554
10555 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
10556
10557         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
10558         (gst_file_src_init), (gst_file_src_set_property),
10559         (gst_file_src_get_property), (gst_file_src_map_region):
10560         * plugins/elements/gstfilesrc.h:
10561         Add "sequential" property, off by default, to use madvise and hint
10562         to the kernel that sequential access is desired.
10563         Touch all retrieved pages by default to ensure they are pulled
10564         into memory. (Closes #345720)
10565
10566 2006-07-03  Wim Taymans  <wim@fluendo.com>
10567
10568         * docs/design/part-block.txt:
10569         * docs/design/part-dynamic.txt:
10570         Small docs updates.
10571
10572 2006-07-03  Wim Taymans  <wim@fluendo.com>
10573
10574         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
10575         (gst_caps_unref), (gst_static_caps_get),
10576         (gst_caps_append_structure):
10577         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
10578         Use GSlice when the glib we build against is >= 2.10
10579
10580 2006-07-03  Wim Taymans  <wim@fluendo.com>
10581
10582         * gst/gstelement.c: (gst_element_pads_activate):
10583         Small cleanup in pad activation code.
10584
10585 2006-07-03  Wim Taymans  <wim@fluendo.com>
10586
10587         Patch by: Peter Kjellerstedt <pkj at axis dot com>
10588
10589         * gst/gst-i18n-app.h:
10590         * gst/gst-i18n-lib.h:
10591         * tools/gst-inspect.c: (print_signal_info):
10592         The attached patch will make the inclusion of gettext.h unconditional in
10593         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
10594         libintl.h in tools/gst-inspect.c.
10595         This allows use of --disable-nls again and fixes #344642.
10596
10597 2006-07-03  Edward Hervey  <edward@fluendo.com>
10598
10599         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
10600         Implement pad blocking on events according to part-block.txt.
10601         More comments on behaviour.
10602         * tests/check/gst/gstevent.c: (test_event):
10603         Send event to peer pad of blocked pad (else it will block).
10604
10605 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10606
10607         * libs/gst/check/gstcheck.c: (gst_check_message_error),
10608         (gst_check_run_suite):
10609           if we get the wrong message, give us the types as string
10610         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
10611           Fix a translatable
10612         * tests/check/elements/filesrc.c: (GST_START_TEST):
10613           add a test for trying to open a non-existing file
10614
10615 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10616
10617         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10618           add a test for adding self
10619
10620 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10621
10622         * libs/gst/check/gstcheck.h:
10623           add some assert_ as alias for fail_unless_*
10624         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
10625           increase test coverage
10626
10627 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10628
10629         * Makefile.am:
10630           include lcov.mak for lcov coverage generation
10631         * tools/Makefile.am:
10632           add to CLEANFILES
10633
10634 2006-07-02  Edward Hervey  <edward@fluendo.com>
10635
10636         * tests/check/elements/.cvsignore:
10637         moaping
10638
10639 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10640
10641         * configure.ac:
10642           don't set CFLAGS and friends for gcov, done from GST_GCOV now
10643         * tests/check/Makefile.am:
10644           clean up gcov files
10645
10646 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10647
10648         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
10649           remove gst_caps_simplify; it was not declared and not used
10650           and deprecated in 0.8
10651
10652 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10653
10654         * docs/faq/gst-uninstalled:
10655           don't put empty paths on PYTHONPATH
10656         * docs/gst/gstreamer-sections.txt:
10657           remove some symbols that are not there
10658
10659 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10660
10661         * gst/gstcaps.c: (gst_caps_compare_structures):
10662           whitespace fixes
10663         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10664         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10665           add more tests
10666
10667 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * libs/gst/dataprotocol/Makefile.am:
10670           build dataprotocol test by linking to the lib, instead of
10671           compiling the source, so we get coverage
10672         * tests/check/Makefile.am:
10673         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
10674         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
10675           add a test for filesrc
10676
10677 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10678
10679         * tests/check/gst/gststructure.c: (GST_START_TEST),
10680         (gst_structure_suite):
10681           Push coverage from 59.04% to 70.00%
10682
10683 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10684
10685         * tests/check/Makefile.am:
10686           gst-inspect every element; this makes sure that we also get
10687           coverage on element's get/set functions
10688
10689 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10690
10691         * configure.ac:
10692           set CFLAGS and friends to -O0 if gcov is being used
10693           add GCOV LIBS
10694         * gst/Makefile.am:
10695         * libs/gst/base/Makefile.am:
10696         * libs/gst/check/Makefile.am:
10697         * libs/gst/controller/Makefile.am:
10698         * libs/gst/dataprotocol/Makefile.am:
10699         * libs/gst/net/Makefile.am:
10700         * plugins/elements/Makefile.am:
10701         * plugins/indexers/Makefile.am:
10702           add makefile rules to generate gcov data and clean up
10703         * tests/check/Makefile.am:
10704           add a coverage target that generates an html overview
10705           of coverage data
10706
10707 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10708
10709         * tests/check/elements/fakesink.c:
10710         * tests/check/elements/fakesrc.c:
10711         * tests/check/elements/fdsrc.c:
10712         * tests/check/elements/identity.c:
10713         * tests/check/generic/sinks.c: (gst_sinks_suite):
10714         * tests/check/generic/states.c:
10715         * tests/check/gst/gst.c:
10716         * tests/check/gst/gstabi.c:
10717         * tests/check/gst/gstbin.c:
10718         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
10719         * tests/check/gst/gstbus.c: (gst_bus_suite):
10720         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10721         * tests/check/gst/gstelement.c:
10722         * tests/check/gst/gstevent.c: (gst_event_suite):
10723         * tests/check/gst/gstghostpad.c:
10724         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
10725         * tests/check/gst/gstmessage.c: (gst_message_suite):
10726         * tests/check/gst/gstminiobject.c:
10727         * tests/check/gst/gstobject.c:
10728         * tests/check/gst/gstpad.c:
10729         * tests/check/gst/gstpipeline.c:
10730         * tests/check/gst/gstplugin.c:
10731         * tests/check/gst/gstquery.c: (gst_query_suite):
10732         * tests/check/gst/gstsegment.c: (gst_segment_suite):
10733         * tests/check/gst/gststructure.c:
10734         * tests/check/gst/gstsystemclock.c:
10735         * tests/check/gst/gsttag.c:
10736         * tests/check/gst/gsttask.c: (gst_task_suite):
10737         * tests/check/gst/gstutils.c:
10738         * tests/check/gst/gstvalue.c:
10739         * tests/check/libs/adapter.c:
10740         * tests/check/libs/basesrc.c:
10741         * tests/check/libs/collectpads.c:
10742         * tests/check/libs/controller.c:
10743         * tests/check/libs/gdp.c: (gst_dp_suite):
10744         * tests/check/libs/gstnetclientclock.c:
10745         * tests/check/libs/gstnettimeprovider.c:
10746         * tests/check/libs/libsabi.c: (libsabi_suite):
10747         * tests/check/libs/typefindhelper.c:
10748         * tests/check/pipelines/cleanup.c:
10749         * tests/check/pipelines/parse-launch.c:
10750         * tests/check/pipelines/simple-launch-lines.c:
10751         * tests/check/pipelines/stress.c: (stress_suite):
10752           use the new macro
10753
10754 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10755
10756         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
10757         * libs/gst/check/gstcheck.h:
10758           create a macro and function so that the simple unit test
10759           case can be just one macro to create main()
10760
10761 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * gst/gstbin.c: (gst_bin_restore_thyself):
10764         * gst/gstxml.c: (gst_xml_make_element):
10765           Fix deserialisation from XML. Set parent manually
10766           instead of using gst_bin_add(), since gst_bin_add()
10767           will unlink all pads of the element being added.
10768           Fixes #341667.
10769
10770 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
10771
10772         Patch by: Peter Kjellerstedt <pkj at axis com>
10773
10774         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
10775           Fix missing g_strdup() and double free when using the
10776           --gst-plugin-load command line option (#346097).
10777
10778 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10779
10780         * gst/gstinfo.c:
10781           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
10782
10783         * libs/gst/net/gstnetclientclock.c:
10784         * libs/gst/net/gstnettimeprovider.c:
10785           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
10786
10787 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
10788
10789         * docs/manual/advanced-dataaccess.xml:
10790           Fix buffer probe example compilation in
10791           ADM (#345708).
10792         
10793 2006-06-22  Edward Hervey  <edward@fluendo.com>
10794
10795         * gst/gstelement.c: (gst_element_pads_activate):
10796         We need to deactivate src pads first and then sink pads.
10797         The reason is the src pads might be blocking while holding the streaming
10798         lock, so we need to deactivate them first so that deactivating the sink
10799         pads doesn't block (since it will require the streaming lock).
10800
10801 2006-06-22  Wim Taymans  <wim@fluendo.com>
10802
10803         * libs/gst/base/gstbasetransform.c:
10804         (gst_base_transform_buffer_alloc):
10805         Forgot to remove two unneeded unrefs.
10806         Simplify a check _is_equal allready checks the obvious case.
10807
10808 2006-06-22  Wim Taymans  <wim@fluendo.com>
10809
10810         * docs/design/part-block.txt:
10811         Some docs about what pad_block should do.
10812
10813 2006-06-22  Wim Taymans  <wim@fluendo.com>
10814
10815         * gst/gstcaps.c: (gst_caps_replace):
10816         Fix crasher when passed NULL. Doc clarification.
10817         Optimize for the trivial case.
10818
10819         * gst/gstpipeline.c: (gst_pipeline_change_state):
10820         Small cleanups.
10821
10822         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10823         Small documentation cleanup.
10824
10825         * libs/gst/base/gstbasetransform.c:
10826         (gst_base_transform_buffer_alloc):
10827         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
10828         is what we need and it avoids a whole lot of redundant 
10829         refcount operations.
10830
10831 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
10832
10833         Patch by: Philip Jägenstedt  <philip at lysator liu se>
10834
10835         * docs/manual/advanced-dataaccess.xml:
10836           Fix 'Embedding static elements' section to use
10837           GST_PLUGIN_DEFINE_STATIC (#345607).
10838
10839 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
10842           Attempt to 'fix' spuriously failing test case: it seems like the
10843           timeout of half a second is simply too small when the system is under
10844           load otherwise, and the timeout doesn't really seem to serve any
10845           particular purpose here. Give the pipeline a few seconds to preroll
10846           first, and then give it another half a second to go from PAUSED to
10847           PLAYING and marshal the message into the main thread.
10848
10849 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10850
10851         * tools/gst-feedback-m.m:
10852           Don't only use unversioned tools, try versioned tools as well
10853           (#345086).
10854
10855 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
10856
10857         * gst/gstbus.c: (gst_bus_class_init):
10858           Fix some typos, make docs more explicit.
10859
10860 2006-06-20  Wim Taymans  <wim@fluendo.com>
10861
10862         * tests/check/gst/gstghostpad.c: (block_callback),
10863         (GST_START_TEST), (gst_ghost_pad_suite):
10864         Added some more ghostpad tests, mainly blocking
10865         and probes.
10866
10867 2006-06-16  Wim Taymans  <wim@fluendo.com>
10868
10869         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
10870         (gst_file_sink_close_file), (gst_file_sink_do_seek),
10871         (gst_file_sink_event), (gst_file_sink_render):
10872         * plugins/elements/gstfilesink.h:
10873         Check if we can seek in the file instead of assuming
10874         we always can. Post an error when we are asked to seek in a
10875         non-seekable file (like a fifo). Fixes #343312.
10876         Some cleanups.
10877
10878 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * tools/gst-launch.1.in:
10881           Un-garble (fourcc) bit in filtered caps section.
10882
10883 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
10884
10885         * docs/manual/advanced-autoplugging.xml:
10886         * docs/manual/basics-helloworld.xml:
10887         * docs/manual/highlevel-components.xml:
10888           Don't leak bus reference in sample code.
10889
10890 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
10891
10892         * autogen.sh:
10893           Add default for new --enable-plugin-docs switch.
10894
10895         * configure.ac:
10896           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
10897           Fixes #344039.
10898
10899         * docs/Makefile.am:
10900           Use new ENABLE_PLUGIN_DOCS conditional.
10901
10902 2006-06-14  Wim Taymans  <wim@fluendo.com>
10903
10904         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
10905         Make it clear with a FIXME and a real define what the #if 0
10906         previously disabled.
10907
10908 2006-06-14  Wim Taymans  <wim@fluendo.com>
10909
10910         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10911         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
10912         * libs/gst/base/gstbasetransform.c:
10913         (gst_base_transform_sink_eventfunc):
10914         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10915         Don't randomly and silently reset a segment when the format 
10916         changes as this is a bug somewhere upstream. Fixes #330379.
10917
10918 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
10919
10920         Patch by: Wouter Paesen  <wouter at kangaroot net>
10921
10922         * libs/gst/controller/gstcontroller.c:
10923         (gst_controlled_property_new):
10924           Fix controlling of float properties (#344849).
10925
10926         * tests/check/libs/controller.c:
10927         (gst_test_mono_source_get_property),
10928         (gst_test_mono_source_set_property),
10929         (gst_test_mono_source_class_init), (GST_START_TEST):
10930           While we're at it, add some float stuff to unit test.
10931
10932 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10933
10934         * docs/README:
10935         * docs/images/gdp-header.svg:
10936           add a gdp image
10937         * docs/libs/Makefile.am:
10938         * docs/libs/gdp-header.png:
10939         * libs/gst/dataprotocol/dataprotocol.c:
10940           add it to the API docs
10941         * docs/manual/intro-motivation.xml:
10942           fix typo
10943
10944 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10945
10946         * gst/gst.c: (scan_and_update_registry), (init_post):
10947           If the fork()'ed child process can't write the updated registry cache
10948           file to disk for some reason, make it exit with a failure exit code,
10949           so that the parent can then re-scan the plugins itself and update the
10950           registry structures in memory and work with that (rather than failing
10951           when creating elements because seemingly no plugins are available).
10952           Refactor registry scanning code into separate function for this and
10953           also separate fork() and non-fork() code paths. Fixes #344748.
10954
10955 2006-06-13  Wim Taymans  <wim@fluendo.com>
10956
10957         * docs/manual/advanced-dataaccess.xml:
10958         Fix wrong PluginDesc. Fixes #344755.
10959
10960 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
10961
10962         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
10963           Fix silly bug that prevented us from creating
10964           ~/.gstreamer-0.10 and writing the registry in one
10965           go (the first call to g_mkstemp() would overwrite the
10966           placeholder in the template string, so the second call
10967           to g_mkstemp() after creating the missing directory
10968           would then error out with 'invalid argument').
10969
10970 2006-06-13  Edward Hervey  <edward@fluendo.com>
10971
10972         * gst/gst.c: (init_post):
10973         Free string.
10974
10975 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10976
10977         * gst/glib-compat-private.h:
10978         * gst/glib-compat.c:
10979         * gst/glib-compat.h:
10980         * gst/gstvalue.c: (gst_value_serialize_flags):
10981           remove GLib 2.6 compatibility code
10982
10983 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
10984
10985         * gst/parse/Makefile.am:
10986           Fix build with 'make -j N' even more (#340016).
10987
10988 2006-06-12  Wim Taymans  <wim@fluendo.com>
10989
10990         * docs/gst/gstreamer-sections.txt:
10991         Fix docs.
10992
10993 2006-06-12  Wim Taymans  <wim@fluendo.com>
10994
10995         * gst/gstsegment.c: (gst_segment_set_duration),
10996         (gst_segment_set_last_stop), (gst_segment_set_seek),
10997         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
10998         (gst_segment_to_running_time), (gst_segment_clip):
10999         Use G_UNLIKELY to help the compiler a bit.
11000
11001 2006-06-12  Wim Taymans  <wim@fluendo.com>
11002
11003         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11004
11005         * gst/gstevent.c: (gst_event_get_type):
11006         * gst/gstmessage.c:
11007         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11008         (gst_pad_push):
11009         constify quark registration strings. Fixes #344115
11010         Avoid unneeded type checking is _pad_push() by internally
11011         calling gst_pad_chain_unchecked().
11012
11013 2006-06-12  Wim Taymans  <wim@fluendo.com>
11014
11015         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
11016         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
11017         (gst_subbuffer_finalize), (gst_buffer_create_sub),
11018         (gst_buffer_is_span_fast), (gst_buffer_span):
11019         Init _type for consistency.
11020         Use _FLAGS macro to avoid type check.
11021         Avoid unneeded type checks in subbufer code.
11022
11023 2006-06-12  Wim Taymans  <wim@fluendo.com>
11024
11025         * gst/gst.c: (gst_debug_help):
11026         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
11027         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
11028         (gst_plugin_feature_list_free):
11029         * gst/gstregistry.c: (gst_registry_add_plugin),
11030         (gst_registry_add_feature), (gst_registry_plugin_filter),
11031         (gst_registry_feature_filter), (gst_registry_find_plugin),
11032         (gst_registry_find_feature), (gst_registry_get_plugin_list),
11033         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
11034         * gst/gstregistryxml.c: (load_feature),
11035         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
11036         * gst/gstminiobject.c: (gst_mini_object_unref),
11037         (gst_mini_object_replace), (gst_value_mini_object_free),
11038         (gst_value_mini_object_copy):
11039         Use _CAST macros to avoid unneeded type checking.
11040         Added some more G_UNLIKELY.
11041
11042 2006-06-12  Wim Taymans  <wim@fluendo.com>
11043
11044         * gst/gstbuffer.h:
11045         Avoid unneeded type checking.
11046         API: GST_BUFFER_IS_DISCONT
11047
11048         * gst/gstminiobject.h:
11049         Avoid type check in flag accessor.
11050
11051         * gst/gstelementfactory.h:
11052         * gst/gstplugin.h:
11053         * gst/gstpluginfeature.h:
11054         Add _CAST macros.
11055         API: GST_ELEMENT_FACTORY_CAST
11056         API: GST_PLUGIN_CAST
11057         API: GST_PLUGIN_FEATURE_CAST
11058
11059 2006-06-12  Wim Taymans  <wim@fluendo.com>
11060
11061         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
11062         (gst_object_unref):
11063         Add G_UNLIKELY in type registration.
11064         Avoid type check in _ref/_unref since that is also
11065         done in glib.
11066
11067 2006-06-12  Wim Taymans  <wim@fluendo.com>
11068
11069         * gst/gsterror.c: (gst_g_error_get_type):
11070         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11071         (gst_static_pad_template_get_type):
11072         * gst/gsttaglist.c: (gst_tag_list_get_type):
11073         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
11074         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
11075         * gst/gsturi.c: (gst_uri_handler_get_type):
11076         * gst/gstvalue.c: (gst_date_get_type):
11077         * gst/gstxml.c: (gst_xml_get_type):
11078         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
11079         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11080         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
11081         Add G_UNLIKELY in type registration.
11082
11083 2006-06-12  Wim Taymans  <wim@fluendo.com>
11084
11085         * tools/gst-inspect.c: (print_signal_info):
11086         Properly print enum values.
11087
11088 2006-06-12  Wim Taymans  <wim@fluendo.com>
11089
11090         * gst/gstinfo.c: (gst_debug_set_active),
11091         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
11092         * gst/gstinfo.h:
11093         Add some G_[UN]LIKELY.
11094         Maintain __gst_debug_min to avoid formatting the arguments of
11095         debug messages that will be dropped anyway to avoid a lot of 
11096         overhead from the debugging system.
11097
11098 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11099
11100         * po/POTFILES.in:
11101         * po/POTFILES.skip:
11102           add missing files containing translatable strings, tell intltool about
11103           one exception
11104
11105 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11106
11107         * tests/check/libs/.cvsignore:
11108         add test-binary to ignore list
11109
11110 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
11111
11112         * docs/libs/gstreamer-libs-docs.sgml:
11113         reorder (put dp into a chapter) and indent
11114
11115 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11116
11117         * configure.ac:
11118           back to HEAD
11119
11120 === release 0.10.8 ===
11121
11122 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
11123
11124         * configure.ac:
11125           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
11126
11127 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11128
11129         * gst/gst.c: (init_post):
11130           move pid declaration to declaration block
11131
11132 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11133
11134         * gst/gst.c: (init_post):
11135           use _exit() instead of exit() in our forked child; this ensures
11136           that none of the registered exit handlers from whatever is using
11137           GStreamer get executed.  This fixes gnome-mixer-applet failing
11138           to load, because ORBit would shut down.
11139           Spotted by: Edward Hervey  <edward@fluendo.com>
11140           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
11141           Fixes #344474
11142
11143 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11144
11145         * configure.ac:
11146           back to TRUNK
11147
11148 === release 0.10.7 ===
11149
11150 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
11151
11152         * configure.ac:
11153           releasing 0.10.7, "Soepeke, ik zie ou"
11154
11155 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11156
11157         * configure.ac:
11158         * po/af.po:
11159         * po/az.po:
11160         * po/bg.po:
11161         * po/ca.po:
11162         * po/cs.po:
11163         * po/de.po:
11164         * po/en_GB.po:
11165         * po/fr.po:
11166         * po/it.po:
11167         * po/nb.po:
11168         * po/nl.po:
11169         * po/ru.po:
11170         * po/sq.po:
11171         * po/sr.po:
11172         * po/sv.po:
11173         * po/tr.po:
11174         * po/uk.po:
11175         * po/vi.po:
11176         * po/zh_CN.po:
11177         * po/zh_TW.po:
11178         * win32/common/config.h:
11179           0.10.6.2 prerelease
11180
11181 2006-06-07  Wim Taymans  <wim@fluendo.com>
11182
11183         * gst/gstindex.c: (gst_index_gtype_resolver):
11184         * tools/gst-xmlinspect.c: (print_plugin_info):
11185         Fix leak spotted by coverity checker. Fixes #343827
11186         Fix another other leak found by paolo borelli.
11187
11188 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11189
11190         * libs/gst/dataprotocol/dataprotocol.c:
11191         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11192         (gst_dp_version_get_type), (gst_dp_init),
11193         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
11194         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
11195         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
11196         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
11197         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
11198         (gst_dp_packetizer_free):
11199         * libs/gst/dataprotocol/dataprotocol.h:
11200           API: add a GstDPPacketizer object, and create/free functions
11201           API: add GstDPVersion enum
11202           Add 1.0 event function that uses the string serialization
11203           Serialize more useful buffer flags
11204           Fixes #343988
11205
11206 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11207
11208         * tests/check/Makefile.am:
11209         * tests/check/gst/gstabi.c:
11210         * tests/check/gst/struct_ppc64.h:
11211         * tests/check/libs/libsabi.c:
11212         * tests/check/libs/struct_ppc64.h:
11213           add ppc64 structure sizes
11214
11215 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11216
11217         * tests/check/Makefile.am:
11218         * tests/check/gst/gstabi.c:
11219         * tests/check/gst/struct_x86_64.h:
11220         * tests/check/libs/libsabi.c:
11221         * tests/check/libs/struct_x86_64.h:
11222           generate and add structure size lists for x86_64
11223
11224 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11225
11226         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
11227         * libs/gst/check/gstcheck.h:
11228           factor out the method from tests that checks size of structures,
11229           and add code to generate the header containing these sizes
11230         * tests/check/gst/gstabi.c: (GST_START_TEST):
11231         * tests/check/gst/struct_i386.h:
11232         * tests/check/libs/libsabi.c: (GST_START_TEST):
11233         * tests/check/libs/struct_i386.h:
11234           use it
11235
11236 2006-06-06  Michael Smith  <msmith@fluendo.com>
11237
11238         * gst/gstsegment.h:
11239           Don't use c++-style comments, fixes #343929
11240
11241 2006-06-05  Edward Hervey  <edward@fluendo.com>
11242
11243         * gst/gst.c:
11244         plugin_paths is not used if we build without registry support.
11245
11246         * gst/gstsegment.c: (gst_segment_copy): 
11247         _copy() was always returning NULL...
11248
11249 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11250
11251         * libs/gst/dataprotocol/dataprotocol.c:
11252         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11253         (gst_dp_packet_from_event):
11254           factor out CRC code
11255
11256 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11257
11258         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
11259           make sure we unset caps
11260
11261 2006-06-02  Michael Smith  <msmith@fluendo.com>
11262
11263         * libs/gst/check/gstcheck.c: (gst_check_init),
11264         (gst_check_chain_func):
11265         * libs/gst/check/gstcheck.h:
11266           Add a cond/mutex to the check support lib, signal this whenever we
11267           add to the buffers list. This will allow tests to not busy-wait on
11268           the buffer-list.
11269
11270 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11271
11272         * libs/gst/dataprotocol/dataprotocol.c:
11273         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11274         (gst_dp_packet_from_event):
11275           factor out some common header init code
11276
11277 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11278
11279         * docs/libs/gstreamer-libs-sections.txt:
11280         * docs/libs/tmpl/gstdataprotocol.sgml:
11281         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
11282         * libs/gst/dataprotocol/dataprotocol.h:
11283           API: make gst_dp_crc() public
11284
11285 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11286
11287         * plugins/indexers/gstindexers.c: (plugin_init):
11288         conditionally register fileindexer (fixes #343598)
11289
11290 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
11291
11292         * gst/gsttagsetter.h:
11293         Can't cast ifaces to a class
11294
11295         * libs/gst/net/gstnetclientclock.h:
11296         * libs/gst/net/gstnettimeprovider.h:
11297         * plugins/elements/gstfakesink.h:
11298         * plugins/elements/gstfakesrc.h:
11299         * plugins/elements/gstfdsink.h:
11300         * plugins/elements/gstfdsrc.h:
11301         * plugins/elements/gstfilesink.h:
11302         * plugins/elements/gstfilesrc.h:
11303         * plugins/elements/gstidentity.h:
11304         * plugins/elements/gstqueue.h:
11305         * plugins/elements/gsttee.h:
11306         * plugins/indexers/gstfileindex.c:
11307         * plugins/indexers/gstmemindex.c:
11308         * tests/old/examples/plugins/example.h:
11309         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
11310
11311 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11312
11313         * libs/gst/dataprotocol/dataprotocol.c:
11314         (gst_dp_header_from_buffer):
11315           make sure we zero the whole ABI-compatible area
11316
11317 2006-06-01  Wim Taymans  <wim@fluendo.com>
11318
11319         Patch by: Alessandro Decina <alessandro at nnva dot org>
11320
11321         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
11322         Make sure the EOS flag is cleared from pads after a flush
11323         or stop. Fixes #343538.
11324
11325         * tests/check/libs/collectpads.c: (GST_START_TEST),
11326         (gst_collect_pads_suite):
11327         Added test for collectpads reusage after EOS.
11328
11329 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
11330
11331         * gst/gst.c:
11332          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
11333         * win32/common/libgstbase.def:
11334          export gst_collect_pads_set_flushing
11335         * win32/common/libgstreamer.def:
11336          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
11337          gst_value_fraction_multiply
11338         * win32/vs6/gst_inspect.dsp:
11339          add a link to intl.lib
11340
11341 2006-05-30  Wim Taymans  <wim@fluendo.com>
11342
11343         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11344         (gst_collect_pads_chain):
11345         Handle the case where a pad is removed from the collection
11346         that could cause the other pads to become collectable.
11347
11348 2006-05-30  Wim Taymans  <wim@fluendo.com>
11349
11350         * gst/gstelement.c:
11351         Clarify the use of _release_request_pad() and
11352         _get_request_pad() a bit better.
11353
11354         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
11355         (gst_adapter_take_buffer):
11356         Fix some doc and comment typos.
11357
11358 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
11359
11360         * docs/gst/gstreamer-sections.txt:
11361         * docs/libs/gstreamer-libs-sections.txt:
11362           add declared symbols
11363
11364 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
11365
11366         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
11367         Add debug that can be enabled using a #define at the top of the file,
11368         for dumping stats about how late/early we were when waking up from
11369         waiting on the clock.
11370
11371 2006-05-30  Wim Taymans  <wim@fluendo.com>
11372
11373         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
11374         When rebuilding the pad list, don't leak the previous list.
11375
11376 2006-05-30  Wim Taymans  <wim@fluendo.com>
11377
11378         Patch by: Lutz Mueller <lutz at topfrose dot de>
11379
11380         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11381         (gst_base_src_get_query_types), (gst_base_src_update_length):
11382         Publish supported query types.
11383         Update last_stop field in get_range mode so the position
11384         query works. Fixes #342321.
11385
11386 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * docs/gst/gstreamer-sections.txt:
11389         * gst/gsttaglist.c: (_gst_tag_initialize):
11390         * gst/gsttaglist.h:
11391           API: add GST_TAG_PREVIEW_IMAGE (#343341).
11392
11393 2006-05-30  Wim Taymans  <wim@fluendo.com>
11394
11395         Patch by: Alessandro Decina <alessandro at nnva dot org>
11396
11397         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
11398         Unlock mutex when removing an unknown pad.
11399         Fixes #343334.
11400
11401         * tests/check/Makefile.am:
11402         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
11403         (push_event), (setup), (teardown), (GST_START_TEST),
11404         (gst_collect_pads_suite), (main):
11405         Added collecpads check, disabled for now as check crashes for
11406         some reason.
11407
11408 2006-05-29  Wim Taymans  <wim@fluendo.com>
11409
11410         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
11411         Don't leak pads lists.
11412
11413 2006-05-29  Wim Taymans  <wim@fluendo.com>
11414
11415         * docs/libs/gstreamer-libs-sections.txt:
11416         * libs/gst/base/gstcollectpads.c:
11417         (gst_collect_pads_set_flushing_unlocked),
11418         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11419         (gst_collect_pads_stop):
11420         * libs/gst/base/gstcollectpads.h:
11421         API: gst_collect_pads_set_flushing()
11422         Added api to set the pads to flushing, useful for seeking
11423         code in elements using collectpads.
11424         Clear segment when receiving a flush.
11425
11426 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
11427
11428         * gst/gst.c: (add_path_func), (init_post):
11429           Don't scan registry paths passed via --gst-plugin-path immediately
11430           (will crash, because absolutely nothing is set up and no types are
11431           registered etc.); do this later in init_post(). Fixes #343057.
11432
11433 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
11434
11435         * gst/gst.c: (init_post):
11436           if we have fork, fork while reading/rebuilding the registry
11437           so the parent doesn't take the hit of having all plugins loaded
11438           in memory.  Fixes #342777.
11439         * configure.ac:
11440           Check if we have fork()
11441         * win32/common/config.h.in:
11442           no fork() on win32
11443
11444 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11445
11446         * plugins/elements/gstelements.c:
11447         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11448         (gst_file_src_init), (gst_file_src_set_property),
11449         (gst_file_src_get_property), (gst_file_src_start):
11450         * plugins/elements/gstfilesrc.h:
11451           API: GstFileSrc::use-mmap
11452
11453         Add a use-mmap property to enable easier testing of all code paths.
11454         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
11455         in the absence of gnomevfssrc. (Closes #340501)
11456
11457 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
11458
11459         * tools/gst-inspect.c:
11460         Add missing include, removes warning of ngettext not being defined on
11461         some arches.
11462
11463 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
11464
11465         * gst/gstvalue.c: (gst_value_deserialize_fraction):
11466         Handle NULL input and output pointers silently as a failed conversion,
11467         rather than g_warnings.
11468
11469 2006-05-25  Wim Taymans  <wim@fluendo.com>
11470
11471         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
11472         Initialize variable before using. Fixes #342820.
11473
11474 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
11475
11476         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
11477           Fix off-by-one bug that would only allow peeks of N-1 bytes
11478           from the start even if the buffer to typefind on contains
11479           in fact N bytes of data (makes vorbis typefinding from a
11480           vorbis identification header buffer work).
11481
11482         * tests/check/Makefile.am:
11483         * tests/check/libs/.cvsignore:
11484         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
11485         (gst_typefindhelper_suite), (main), (foobar_typefind),
11486         (plugin_init):
11487           Add very basic unit test for gst_type_find_helper_for_buffer()
11488           that checks for the problem fixed above.
11489
11490 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11491
11492         * tools/gst-inspect.c: (print_interfaces),
11493         (print_element_properties_info), (print_element_list), (main):
11494           add more translatable strings
11495
11496 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
11497
11498         Patch by: Julien Moutte  <julien at moutte net>
11499
11500         * docs/gst/gstreamer-sections.txt:
11501           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
11502           
11503         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
11504         (gst_fake_sink_preroll):
11505         * plugins/elements/gstfakesink.h:
11506           API: Add new GstFakeSink::preroll-handoff signal (#337100).
11507
11508 2006-05-23  Wim Taymans  <wim@fluendo.com>
11509
11510         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
11511         * gst/gstpad.h:
11512         Added _CUSTOM error and success GstFlowReturn that can be
11513         used be elements internally. 
11514         Added macro to check for SUCCESS flowreturns.
11515         API: GST_FLOW_CUSTOM_SUCCESS
11516         API: GST_FLOW_CUSTOM_ERROR
11517         API: GST_FLOW_IS_SUCCESS
11518
11519         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
11520         Added check for GstFlowReturn sanity.
11521
11522 2006-05-23  Wim Taymans  <wim@fluendo.com>
11523
11524         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
11525
11526         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
11527         (gst_collect_pads_event):
11528         clear/reset segment info in FLUSH_STOP.
11529         Fixes #336929.
11530
11531 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
11532
11533         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
11534         (gst_collect_pads_check_collected):
11535         Flush queued buffer on _stop(), fixes playing again (#342454)
11536
11537 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11538
11539         * tests/check/gst/gststructure.c: (GST_START_TEST),
11540         (gst_structure_suite):
11541           add a test for a complete structure
11542
11543 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11544
11545         * docs/faq/developing.xml:
11546         * docs/faq/faq.xml:
11547         * docs/faq/troubleshooting.xml:
11548         * docs/faq/using.xml:
11549           Some minor FAQ updates that won't change the fact that
11550           our FAQ is badly structured, full of information hardly
11551           anyone new to GStreamer needs to know and lacking lots
11552           of information people constantly ask for.
11553           
11554 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
11555
11556         * gst/gstpad.c: (gst_pad_set_caps):
11557           Short-circuit gst_pad_set_caps if setting the existing
11558           caps pointer again, and avoid printing debug and 
11559           reffing/unreffing the caps.
11560
11561         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11562           There's actually no need to set the caps before pushing -
11563           the acceptcaps method will handle it anyway.
11564
11565 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
11566
11567         * docs/gst/gstreamer-sections.txt:
11568         * win32/common/libgstreamer.def:
11569         * gst/gstutils.c: (gst_element_seek_simple):
11570         * gst/gstutils.h:
11571           API: add gst_element_seek_simple() (#342238).
11572
11573 2006-05-18  Edward Hervey  <edward@fluendo.com>
11574
11575         * gst/gsttypefind.c: (gst_type_find_get_type):
11576         * gst/gsttypefind.h:
11577         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
11578         registered for GstTypeFind pointers. This allows wrapping the structure
11579         in bindings (i.e. gst-python).
11580
11581 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11582
11583         * gst/gsttagsetter.c:
11584           Docs additions and fixes (see #339918).
11585
11586 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
11587
11588         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
11589         The caps intersection algorithm can produce multiple copies of the
11590         caps. Until that is fixed, we need to simplify the result to be
11591         sure whether the allowed caps are fixed or not.
11592
11593         * plugins/elements/gstqueue.c: (gst_queue_init),
11594         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
11595         (gst_queue_push_one):
11596         Proxied buffer alloc should not set the caps on the source pad.
11597         When pushing buffers, we always accept the caps change that triggers.
11598         This prevents negotiation errors caused by caps changing mid-stream 
11599         and then being refused on our source pad (because upstream is now
11600         refusing those caps).
11601
11602 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
11603
11604         * tests/examples/helloworld/helloworld.c: (main):
11605           Must plug audioconvert and audioresample between decoder
11606           and audio sink.
11607
11608 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
11609
11610         * gst/gstregistryxml.c: (read_string), (load_pad_template),
11611         (load_feature), (load_plugin):
11612         Allow empty strings for some of the plugin fields so we don't 
11613         drop valid plugin entries that were written out correctly
11614         (Fixes #341479)
11615
11616 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
11617         
11618         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11619           Use g_remove and g_rename instead of remove and rename that don't 
11620           handle utf8 characters. rename was failing for users who had specific
11621           characters in their name then the registry was built at each 
11622           gstreamer init.
11623         * win32/vs6/gst_inspect.dsp:
11624         * win32/vs6/gst_launch.dsp:
11625         * win32/vs6/libgstbase.dsp:
11626         * win32/vs6/libgstcoreelements.dsp:
11627         * win32/vs6/libgstreamer.dsp:
11628           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
11629           build of libgstreamer and clean unused libraries in projects link 
11630           settings.
11631
11632 2006-05-17  Edward Hervey  <edward@fluendo.com>
11633
11634         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11635         The queue is not responsible for pushing an EOS when receiving a fatal
11636         flow error. It's up to the real element driving the pipeline to do that.
11637
11638 2006-05-16  Edward Hervey  <edward@fluendo.com>
11639
11640         * plugins/elements/gstqueue.c: (gst_queue_push_one):
11641         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
11642         buffer returned a fatal error. It should just send an EOS and stop
11643         its task.
11644         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
11645         when pushing buffers on the queue and will be able to handle the event.
11646
11647 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * docs/manual/basics-bins.xml:
11650         * docs/manual/basics-init.xml:
11651           Fix typos and minor errors in sample code (#341856).
11652
11653 2006-05-16  Wim Taymans  <wim@fluendo.com>
11654
11655         * docs/design/part-qos.txt:
11656         Fix indexes in formulas to make more sense.
11657
11658 2006-05-15  Wim Taymans  <wim@fluendo.com>
11659
11660         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
11661         Don't report POSITION based on clock time if sync is
11662         disabled in a sink.
11663
11664 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
11665
11666         * gst/gstobject.h:
11667           Add cast to make compiler happy - refcount variable was a gint
11668           in GstObject but is a guint in GObject and g_atomic_int_get()
11669           wants a gint *.
11670
11671 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11672
11673         * gst/parse/Makefile.am:
11674           chain commands using &&, which also makes parallel make work
11675
11676 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
11677
11678         * docs/gst/gstreamer-sections.txt:
11679         * gst/gstevent.c:
11680         * gst/gstevent.h:
11681         * gst/gstmessage.h:
11682           Minor docs fixes.
11683
11684 === release 0.10.6 ===
11685
11686 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
11687
11688         * configure.ac:
11689           releasing 0.10.6, "Take the cannoli"
11690
11691 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
11692
11693         * tools/gst-launch.c: (print_tag):
11694           Fix use of uninitialized variable in the hypothetical
11695           case that some broken plugin creates a GST_TAG_IMAGE
11696           tag containing a NULL buffer (#341667).
11697
11698 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
11699
11700         * tools/gst-launch.c: (print_tag):
11701           Print something more intelligible for image tags when
11702           using the -t switch (#341556).
11703
11704 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11705
11706         * Makefile.am:
11707           updates for win32
11708         * configure.ac:
11709           define GST_MAJORMINOR so we have it available in win32/common/config.h
11710           Possibly remove it from our Makefile.am files later
11711         * win32/common/config.h:
11712         * win32/common/config.h.in:
11713           added GST_MAJORMINOR
11714         * win32/common/gstenumtypes.c: (register_gst_resource_error):
11715         * win32/common/gstversion.h:
11716           updated
11717
11718 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
11719
11720         * win32/MANIFEST:
11721           Update win32 files listing.
11722         * win32/common/gstversion.h:
11723           Add GST_MAJORMINOR definition.
11724         * win32/common/libgstreamer.def:
11725           Add new exported functions.
11726           
11727 2006-05-12  Michael Smith  <msmith@fluendo.com>
11728
11729         * gst/gstplugin.c: (gst_plugin_load_file):
11730           If an so file has no plugin entry point, unload the module.
11731
11732 2006-05-11  Wim Taymans  <wim@fluendo.com>
11733
11734         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
11735         (gst_queue_set_property):
11736         Don't forget to signal the _chain or _loop function 
11737         when the queue size or thresholds change since that might
11738         cause them to make progres again.
11739
11740 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
11741
11742         * gst/gstclock.c: (gst_clock_class_init):
11743         * gst/gstindex.c: (gst_index_class_init):
11744         * gst/gstobject.c: (gst_object_class_init):
11745         * gst/gstpad.c: (gst_pad_class_init):
11746         * gst/gstpipeline.c: (gst_pipeline_class_init):
11747         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11748         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
11749         * libs/gst/base/gstbasetransform.c:
11750         (gst_base_transform_class_init):
11751         * libs/gst/net/gstnetclientclock.c:
11752         (gst_net_client_clock_class_init):
11753         * libs/gst/net/gstnettimeprovider.c:
11754         (gst_net_time_provider_class_init):
11755         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
11756         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
11757         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
11758         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
11759         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
11760         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
11761         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11762         * plugins/elements/gstidentity.c: (gst_identity_class_init):
11763         * plugins/elements/gsttee.c: (gst_tee_class_init):
11764         * tests/old/examples/plugins/example.c: (gst_example_class_init):
11765         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
11766           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
11767
11768 2006-05-11  Wim Taymans  <wim@fluendo.com>
11769
11770         * gst/gstbuffer.c: (_gst_buffer_initialize):
11771         Register subbufer along with the buffer type so that
11772         it does not accidentally gets registered from N
11773         different streaming threads in a non threadsafe way.
11774
11775 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         * gst/gstbuffer.h:
11778         * gst/gstevent.h:
11779         * gst/gstmessage.h:
11780           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
11781           gst_event_ref() and gst_message_ref() functions again
11782           (ugly hack, please do fix if there's a better way besides
11783           overrides.txt, which doesn't seem to work).
11784
11785 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11786
11787         * libs/gst/check/gstcheck.h:
11788           add an assert for setting state to avoid lots of repetitive code
11789           in the future
11790
11791 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11792
11793         * gst/gstvalue.c: (gst_value_serialize_flags):
11794           fix a leak if no flags are set
11795         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11796           fix leak in tests
11797
11798 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
11799
11800         * docs/manual/basics-pads.xml:
11801           Expand a bit on caps and filtered links and update
11802           examples that were still using the no longer existing
11803           gst_pad_link_filtered() (#338206).
11804
11805 2006-05-10  Wim Taymans  <wim@fluendo.com>
11806
11807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
11808         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
11809         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
11810         (gst_collect_pads_stop):
11811         * libs/gst/base/gstcollectpads.h:
11812         No need to call _stop in _finalize.
11813         Iterate the main pad list in _finalize.
11814         Added some more debug.
11815         Free lists and data in the right order.
11816         Also free data whem doing _remove_pad when stopped for
11817         backward compatibility protect ::started with PAD_LOCK as
11818         well.
11819
11820 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11821
11822         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
11823         (gst_structure_parse_value):
11824           add some comments
11825           rename a method so that it actually says what it does better
11826
11827 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11828
11829         * gst/gstevent.c: (_gst_event_initialize):
11830         * gst/gstformat.c: (_gst_format_initialize):
11831           make sure some essential types used by events are registered
11832           as part of gst_init()
11833         * gst/gstvalue.c: (gst_value_serialize_flags):
11834           if no flags are set, serialize them to a value that represents NONE
11835           so that deserializing them works
11836         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
11837           add tests for serialization and deserialization of flags
11838
11839 2006-05-10  Wim Taymans  <wim@fluendo.com>
11840
11841         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
11842         (gst_collect_pads_collect_range), (gst_collect_pads_available),
11843         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
11844         (gst_collect_pads_event), (gst_collect_pads_chain):
11845         Update docs.
11846         Better debug info.
11847         Catch and return errors from the collect function
11848         Refuse data on eos pads.
11849
11850 2006-05-10  Edward Hervey  <edward@fluendo.com>
11851
11852         * gst/gstinterface.h:
11853         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
11854         GInterface type checking.
11855         They were previously using non-defined macros.
11856
11857 2006-05-09  Wim Taymans  <wim@fluendo.com>
11858
11859         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
11860         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
11861         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
11862         (gst_collect_pads_start), (gst_collect_pads_stop),
11863         (gst_collect_pads_peek), (gst_collect_pads_pop),
11864         (gst_collect_pads_available), (gst_collect_pads_read),
11865         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
11866         (gst_collect_pads_is_collected), (gst_collect_pads_event),
11867         (gst_collect_pads_chain):
11868         * libs/gst/base/gstcollectpads.h:
11869         Clean up the mess that is collectpads, add comments and
11870         FIXMEs where needed.
11871         Maintain a separate pad list so we can add pads while
11872         collecting the other ones. For this we need a new separate 
11873         lock (see comics).
11874         Fix memory leak in finalize.
11875         Refactor some weird code to set/unset pad flushing flags, mark
11876         with comments.
11877         Don't crash in _available, _read, _flush when we're EOS.
11878
11879         * tests/check/libs/.cvsignore:
11880         Ignore adapter check binary.
11881
11882 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         * gst/gstindex.c: (gst_index_resolver_get_type):
11885         * plugins/elements/gstfakesink.c:
11886         (gst_fake_sink_state_error_get_type):
11887         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
11888         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
11889         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
11890           Const-ify GEnumValue arrays.
11891
11892 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11895           Add test case for flags + gst_buffer_make_metadata_writable().
11896
11897 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
11900           gst_buffer_make_metadata_writable() should maintain the
11901           buffer flags (those that make sense at least) (see #340859).
11902
11903 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11904
11905         * tools/gst-inspect.c:
11906         * tools/gst-launch.c:
11907         * tools/gst-typefind.c:
11908         * tools/gst-xmlinspect.c:
11909         * tools/tools.h:
11910           Fix up includes: need to include stdlib.h in tools.h for exit().
11911
11912 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
11913
11914         * gst/gsttaglist.c: (_gst_tag_initialize):
11915         * gst/gsttaglist.h:
11916           API: add GST_TAG_IMAGE tag (#340721).
11917
11918 2006-05-08  Wim Taymans  <wim@fluendo.com>
11919
11920         * gst/gstquery.c:
11921         Added some docs for the segment query.
11922
11923 2006-05-08  Wim Taymans  <wim@fluendo.com>
11924
11925         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11926         (gst_base_src_loop), (gst_base_src_change_state):
11927         Always push non-flushing serialized events in the streaming 
11928         thread.
11929
11930 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11931
11932         * gst/gsterror.c: (_gst_stream_errors_init):
11933           Add a missing error string.
11934
11935 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
11936
11937         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
11938         Add applied_rate to the debug
11939
11940         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
11941         Copy applied_rate into the outgoing NEWSEGMENT event
11942
11943 2006-05-08  Wim Taymans  <wim@fluendo.com>
11944
11945         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
11946
11947         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
11948         (gst_base_sink_change_state):
11949         call ::unlock before taking the PREROLL_LOCK so we can safely
11950         handle elements that lock in ::render.
11951         Fixes #340174.
11952
11953 2006-05-08  Edward Hervey  <edward@fluendo.com>
11954
11955         * autogen.sh: (CONFIGURE_DEF_OPT): 
11956         Darwin's libtoolize is in fact called glibtoolize.
11957         Adding glibtoolize to the list of accepted names for libtoolize.
11958
11959 2006-05-08  Wim Taymans  <wim@fluendo.com>
11960
11961         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11962         Unify error handling, don't post an error message
11963         when a push() returns EOS but perform our normal EOS
11964         handling code. Fixes #340772.
11965
11966 2006-05-08  Wim Taymans  <wim@fluendo.com>
11967
11968         * docs/design/part-overview.txt:
11969         Make upsteam/downstream concepts more clear.
11970         Give an example of serialized/non-serialized events.
11971
11972         * docs/design/part-events.txt:
11973         * docs/design/part-streams.txt:
11974         Mention applied_rate.
11975
11976         * docs/design/part-trickmodes.txt:
11977         Mention applied rate, flesh out some more use cases.
11978
11979         * gst/gstevent.c: (gst_event_new_new_segment),
11980         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
11981         (gst_event_parse_new_segment_full), (gst_event_new_tag),
11982         (gst_event_parse_tag), (gst_event_new_buffer_size),
11983         (gst_event_parse_buffer_size), (gst_event_new_qos),
11984         (gst_event_parse_qos), (gst_event_parse_seek),
11985         (gst_event_new_navigation):
11986         * gst/gstevent.h:
11987         Add applied_rate field to NEWSEGMENT event.
11988         API: gst_event_new_new_segment_full()
11989         API: gst_event_parse_new_segment_full()
11990
11991         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
11992         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
11993         (gst_segment_to_stream_time), (gst_segment_to_running_time):
11994         * gst/gstsegment.h:
11995         Add applied_rate to GstSegment structure.
11996         Make calculation of stream_time and running_time more correct
11997         wrt rate/applied_rate.
11998         Add some more docs.
11999         API: GstSegment::applied_rate field
12000         API: gst_segment_set_newsegment_full();
12001
12002         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12003         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
12004         * libs/gst/base/gstbasetransform.c:
12005         (gst_base_transform_sink_eventfunc),
12006         (gst_base_transform_handle_buffer):
12007         Parse and use applied_rate in the GstSegment field.
12008
12009         * tests/check/gst/gstevent.c: (GST_START_TEST):
12010         Add check for applied_rate field.
12011
12012         * tests/check/gst/gstsegment.c: (GST_START_TEST),
12013         (gstsegments_suite):
12014         Add more checks for various GstSegment operations.
12015
12016 2006-05-08  Wim Taymans  <wim@fluendo.com>
12017
12018         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12019         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
12020         (gst_base_sink_get_position), (gst_base_sink_change_state):
12021         Store the sync time of the buffer end position separatly in a
12022         new variable eos_rtime so we can properly sync the EOS event.
12023         Fixes #340697.
12024         Fix the docs for gst_base_sink_set_qos_enabled().
12025         Don't set segment start to invalid value when we receive a 
12026         non TIME newsegment.
12027         get closer to handling position reporting for negative rates 
12028         correctly.
12029
12030 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12031
12032         * gst/gstcaps.c:
12033         Docs about how to print caps for debug purposes.
12034
12035         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
12036         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
12037
12038 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
12039
12040         * gst/gstelement.c:
12041           use full enum names and preprend a '%' in docs strings to make recent 
12042           gtk-doc turn that into a link
12043
12044 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12045
12046         * docs/manual/basics-bins.xml:
12047         * docs/manual/basics-bus.xml:
12048         * docs/manual/basics-pads.xml:
12049           Some typo fixes, some additions, some clarifications. 
12050
12051 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12052
12053         * tools/gst-inspect.c: (main):
12054         * tools/gst-launch.c: (main):
12055         * tools/gst-run.c: (main):
12056         * tools/gst-typefind.c: (main):
12057         * tools/gst-xmlinspect.c: (main):
12058           Use the string passed to g_option_context_new() for
12059           what it's intended for - the program name is already
12060           printed elsewhere.
12061
12062 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12063
12064         * tools/Makefile.am:
12065         * tools/gst-inspect.c: (main):
12066         * tools/gst-launch.c: (main):
12067         * tools/gst-xmlinspect.c: (main):
12068         * tools/tools.h:
12069           Add back --version command line option (#340460).
12070
12071         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
12072           Add --version option and use GOption for argument parsing; refactor a
12073           bit; accept directories as arguments and recurse into them; lastly,
12074           print a decent error message when things go wrong.
12075
12076 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12077
12078         * docs/manual/basics-bins.xml:
12079         Don't mention GstThread (#340611)
12080         * docs/manual/basics-elements.xml:
12081         Update link to GObject tutorial (#340607)
12082         
12083 2006-05-05  Wim Taymans  <wim@fluendo.com>
12084
12085         * gst/gstbuffer.h:
12086         * gst/gstminiobject.c:
12087         Add note about refcounting and miniobject/buffer writeability
12088         to docs. Fixes #340604
12089
12090         * gst/gstelementfactory.h:
12091         Added some explanation about @klass.
12092
12093 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12094
12095         * docs/manual/intro-motivation.xml:
12096         * docs/manual/manual.xml:
12097         Avoid CORBA & Bonobo references (#340598)
12098
12099 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12100
12101         * docs/manual/basics-bus.xml:
12102         * docs/manual/basics-pads.xml:
12103         Fix up some inaccuracies and omissions (#340609)
12104         
12105 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
12106
12107         * gst/gstghostpad.c:
12108           Small typo in docs (#340625)
12109
12110 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12111
12112         * gst/parse/Makefile.am:
12113           Make 'make -j' proof (see #340698).
12114
12115 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
12116
12117         * configure.ac:
12118           Require GLib-2.8 here as well.
12119
12120 2006-05-05  Wim Taymans  <wim@fluendo.com>
12121
12122         * gst/glib-compat.c:
12123         * gst/gst.c: (init_pre):
12124         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12125         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
12126         (gst_object_dispatch_properties_changed):
12127         * gst/gstobject.h:
12128         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12129         * gst/gststructure.c: (gst_structure_set_valist):
12130         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
12131         Remove pre glib2.8 compatibility, fixes #340508
12132
12133 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12134
12135         * gst/gsttaglist.h:
12136           Mention type of tags in doc blurbs.
12137
12138 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
12139
12140         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12141         (gst_pad_configure_src), (gst_pad_push):
12142         Restore acceptcaps checking behaviour now that good plugins have
12143         been released.
12144
12145 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
12146
12147         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
12148
12149         * gst/gst.c:
12150         * gst/gstbus.c:
12151         * gst/gstclock.c:
12152         * gst/gstevent.c:
12153         * gst/gstformat.c:
12154         * gst/gstmessage.c:
12155         * gst/gstparse.c:
12156         * gst/gstquery.c:
12157         * gst/gstutils.c:
12158         * gst/parse/Makefile.am:
12159         * libs/gst/base/gstadapter.c:
12160         * libs/gst/base/gstbasesrc.c:
12161         * libs/gst/base/gstpushsrc.c:
12162         * libs/gst/base/gsttypefindhelper.c:
12163         * plugins/elements/gstfakesrc.c:
12164         * plugins/elements/gstidentity.c:
12165           Make sure gstprivate.h and/or config.h are
12166           always included first, otherwise some of our
12167           defines (like _FILE_OFFSET_BITS) might be
12168           redefined in the system headers. Fixes build
12169           on opensolaris (#340016).
12170
12171 2006-05-04  Wim Taymans  <wim@fluendo.com>
12172
12173         * docs/libs/gstreamer-libs-sections.txt:
12174         API: addition: gst_adapter_take_buffer()
12175         
12176         * libs/gst/base/gstadapter.c: (gst_adapter_push),
12177         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
12178         (gst_adapter_available_fast):
12179         * libs/gst/base/gstadapter.h:
12180         Prepare for optimizing the hell out of this hugely inefficient
12181         piece of code. 
12182         Added gst_adapter_take_buffer() so we can at least start thinking
12183         about subbuffering and merging.
12184         Added some comments.
12185
12186         * tests/check/Makefile.am:
12187         * tests/check/libs/adapter.c: (GST_START_TEST),
12188         (gst_adapter_suite), (main):
12189         Added GstAdapter check.
12190
12191 2006-05-04  Wim Taymans  <wim@fluendo.com>
12192
12193         * docs/design/part-overview.txt:
12194         Fix some typos, add blurb about buffer flags.
12195
12196 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12197
12198         * docs/libs/gstreamer-libs-sections.txt:
12199           make sure GstBaseTransformClass shows up in the docs
12200         * libs/gst/base/gstbasetransform.c:
12201         * libs/gst/base/gstbasetransform.h:
12202           move docs so gtk-doc picks it up now
12203
12204 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12205
12206         * docs/libs/gstreamer-libs-sections.txt:
12207           add missing symbols to docs
12208
12209 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
12210
12211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12212           back out the newsegment handling change, see #340060 for ongoing
12213           discussion
12214
12215 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
12216
12217         * tools/gst-run.c: (get_candidates), (main):
12218           Fix wrong g_file_test() usage (see glib docs for why it doesn't
12219           work); fix typo in error message. Fixes #340079.
12220
12221 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12222
12223         * common/Makefile.am:
12224         * docs/Makefile.am:
12225         * docs/faq/Makefile.am:
12226         * docs/gst/Makefile.am:
12227         * docs/libs/Makefile.am:
12228         * docs/manual/Makefile.am:
12229         * docs/plugins/Makefile.am:
12230         * docs/pwg/Makefile.am:
12231         * docs/slides/Makefile.am:
12232         * docs/upload.mak:
12233         * common/upload.mak:
12234           move upload.mak to common
12235
12236 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12237
12238         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12239           add more asserts on refcounts
12240           do more cleanup at end of tests
12241           fix test leaks showing in FC5
12242
12243 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
12244
12245         * plugins/elements/gsttypefindelement.c:
12246         (gst_type_find_element_handle_event):
12247         reverted wrong change and reflowed code to avoid others falling into
12248         this trap
12249
12250 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12251
12252         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12253           fix changelog entry about last collectpads change,
12254           add notes about proper fix
12255
12256 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12257
12258         * gst/gst.c:
12259         * gst/gstregistry.c: (gst_registry_scan_path_level),
12260         (gst_registry_scan_path):
12261         * gst/gstregistry.h:
12262           only write out registry if it has changed, fixes #338339
12263
12264 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12265
12266         * gst/gstbin.c:
12267         * gst/gstpipeline.c:
12268         * plugins/elements/gstcapsfilter.c:
12269         * plugins/elements/gstfakesink.c:
12270         * plugins/elements/gstfakesrc.c:
12271         * plugins/elements/gstfdsink.c:
12272         * plugins/elements/gstfdsrc.c:
12273         * plugins/elements/gstfilesink.c:
12274         * plugins/elements/gstfilesrc.c:
12275         * plugins/elements/gstidentity.c:
12276         * plugins/elements/gstqueue.c:
12277         * plugins/elements/gsttee.c:
12278         * plugins/elements/gsttypefindelement.c:
12279         (gst_type_find_element_handle_event):
12280           make GstElementDetails const
12281
12282 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12283
12284         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
12285         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12286         (gst_collect_pads_is_collected), (gst_collect_pads_event):
12287           more detailed debug and formatting cleanup,
12288           forward newsegments to src-pad (so that e.g. adder not eats them)
12289
12290 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12291
12292         * gst/gstutils.c: (gst_element_link_pads):
12293           cleanup double code
12294
12295 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
12296
12297         * libs/gst/controller/gstcontroller.c:
12298         (gst_controller_sync_values):
12299           some little tuning
12300         * tests/check/libs/controller.c: (GST_START_TEST),
12301         (gst_controller_suite):
12302           a new test for live value handling
12303
12304 2006-04-28  Wim Taymans  <wim@fluendo.com>
12305
12306         * gst/gstutils.c: (push_and_ref):
12307         Added some more docs.
12308         Fix refcount issue whith gst_element_found_tags() helper 
12309         function. Fixes #338335
12310
12311         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
12312         Added testsuite for gst_element_found_tags().
12313
12314 2006-04-28  Michael Smith  <msmith@fluendo.com>
12315
12316         * gst/gstvalue.c: (gst_value_serialize_flags):
12317           Avoid NULL dereference when trying to serialize flags containing
12318           invalid values.
12319
12320 2006-04-28  Michael Smith  <msmith@fluendo.com>
12321
12322         * plugins/elements/gsttypefindelement.c:
12323         (gst_type_find_element_handle_event):
12324           If we get EOS before any data is accumulated, don't use
12325           uninitialised local variables.
12326
12327 2006-04-28  Michael Smith  <msmith@fluendo.com>
12328
12329         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
12330         (gst_dp_event_from_packet):
12331           Fixes in reading/writing events over GDP (not currently used?) - 
12332           dereferencing NULL events for unknown/invalid event types, memory
12333           leak, and change g_warning to GST_WARNING.
12334
12335 2006-04-28  Wim Taymans  <wim@fluendo.com>
12336
12337         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
12338         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12339         (gst_base_sink_get_position), (gst_base_sink_change_state):
12340         When frame dropping is enabled, we should not ignore frames
12341         without a duration.
12342         Update some documentation.
12343
12344 2006-04-28  Wim Taymans  <wim@fluendo.com>
12345
12346         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12347         (gst_base_src_send_event), (gst_base_src_change_state):
12348         Documentation updates.
12349
12350 2006-04-28  Wim Taymans  <wim@fluendo.com>
12351
12352         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
12353         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
12354         handle EAGAIN, EINTR and short writes correctly. Also clean
12355         up some error cases, avoid a deadlock on bad file descriptors and
12356         use GST_DEBUG_OBJECT.
12357         Fixes #339843
12358
12359 2006-04-28  Wim Taymans  <wim@fluendo.com>
12360
12361         * gst/gstvalue.c: (gst_value_serialize_buffer),
12362         (gst_value_deserialize_buffer):
12363         Don't try to serialize a GValue with a NULL buffer. 
12364         Fixes #339821.
12365
12366         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12367         Added check for serialisation of NULL buffers.
12368
12369 2006-04-28  Wim Taymans  <wim@fluendo.com>
12370
12371         * gst/gstminiobject.c: (gst_value_take_mini_object):
12372         Taking a NULL miniobject is valid, fix the case where
12373         we try to unref the NULL miniobject.
12374
12375 2006-04-28  Wim Taymans  <wim@fluendo.com>
12376
12377         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12378
12379         * gst/gstbin.c: (gst_bin_handle_message_func):
12380         Update docs.
12381         Don't leak bin refcount when a state recalc is
12382         in progress and we delay another one #339808.
12383
12384 2006-04-28  Wim Taymans  <wim@fluendo.com>
12385
12386         * docs/design/part-TODO.txt:
12387         Mention QoS as an ongoing work item.
12388
12389         * docs/design/part-buffering.txt:
12390         New doc about buffering that needs to be fleshed out
12391         at some point.
12392
12393         * docs/design/part-qos.txt:
12394         More QoS policy for decoders/demuxers/transforms
12395
12396         * docs/design/part-trickmodes.txt:
12397         Small update.
12398
12399 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12400
12401         * configure.ac:
12402           back to HEAD
12403
12404 === release 0.10.5 ===
12405
12406 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
12407
12408         * configure.ac:
12409           releasing 0.10.5, "Fogo"
12410
12411 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12412
12413         patch by: Wim Taymans
12414
12415         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
12416         (gst_pad_configure_src), (gst_pad_push):
12417         * gst/gstpipeline.c: (gst_pipeline_init):
12418           Fix internal data flow errors.  Fixes #338711.
12419
12420 2006-04-12  Wim Taymans  <wim@fluendo.com>
12421
12422         * tests/check/gst/gstelement.c: (GST_START_TEST):
12423         Don't leak the factory.
12424
12425 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12426
12427         * configure.ac:
12428         * win32/common/config.h:
12429           prerelease
12430
12431 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
12432
12433         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12434         (gst_controller_unset_all):
12435           Free allocated GstTimedValues when freeing list nodes.
12436           Should fix leaks 'make check-valgrind' complains about.
12437
12438         * win32/common/libgstcontroller.def:
12439           Add gst_controller_unset_all.
12440
12441 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
12442
12443         * docs/libs/gstreamer-libs-sections.txt:
12444         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
12445         (gst_controller_unset_all):
12446         * libs/gst/controller/gstcontroller.h:
12447         API: Added new method gst_controller_unset_all()
12448         fixed gst_controller_unset()
12449         * tests/check/libs/controller.c: (GST_START_TEST),
12450         (gst_controller_suite):
12451         Added two testcases for new and fixed method
12452
12453 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
12454
12455         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
12456           MSG_DONTWAIT is not defined on Cygwin, so work
12457           around that (fixes #317048).
12458           
12459 2006-04-11  Wim Taymans  <wim@fluendo.com>
12460
12461         * gst/gstelementfactory.c: (gst_element_register),
12462         (gst_element_factory_create), (gst_element_factory_make):
12463         Some cleanups.
12464         Fixed a FIXME.
12465         Updated docs (Fixes #131079)
12466
12467         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12468         Small cleanups.
12469
12470         * tests/check/gst/gstelement.c: (GST_START_TEST),
12471         (gst_element_suite):
12472         Added testcase for elementfactory class field.
12473
12474 2006-04-10  Wim Taymans  <wim@fluendo.com>
12475
12476         * gst/gstsegment.c:
12477         Added some more docs.
12478
12479         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
12480         (gst_base_sink_reset_qos):
12481         Calculate more accurate rate values.
12482
12483 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
12484
12485         * gst/gst_private.h:
12486           add a new #ifdef to use __declspec(dllimport) only for
12487           other modules and not for gstreamer core
12488         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
12489           use gst_guint64_to_gdouble for conversion
12490         * win32/common/libgstreamer.def:
12491           add new exported functions
12492         * win32/vs6/gst_inspect.dsp:
12493         * win32/vs6/gst_launch.dsp:
12494         * win32/vs6/libgstbase.dsp:
12495         * win32/vs6/libgstcontroller.dsp:
12496         * win32/vs6/libgstcoreelements.dsp:
12497         * win32/vs6/libgstdataprotocol.dsp:
12498         * win32/vs6/libgstnet.dsp:
12499           update project files
12500
12501 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12502
12503         * gst/gstbuffer.c: (gst_subbuffer_class_init):
12504         * gst/gstclock.c: (gst_clock_class_init):
12505         * gst/gstelement.c: (gst_element_class_init):
12506         * gst/gstindex.c: (gst_index_class_init):
12507         * gst/gstindexfactory.c: (gst_index_factory_class_init):
12508         * gst/gstobject.c: (gst_object_class_init),
12509         (gst_signal_object_class_init):
12510         * gst/gstpad.c: (gst_pad_class_init):
12511         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
12512         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
12513         * gst/gstregistry.c: (gst_registry_class_init):
12514         * gst/gstsystemclock.c: (gst_system_clock_class_init):
12515         * gst/gsttask.c: (gst_task_class_init):
12516         * gst/gstxml.c: (gst_xml_class_init):
12517         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12518         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12519         (gst_base_src_loop):
12520         * libs/gst/controller/gstcontroller.c:/
12521         (_gst_controller_class_init):
12522         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12523         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
12524         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
12525         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12526         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12527         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
12528
12529 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
12530
12531         * gst/gstpad.c: (gst_pad_link):
12532           Must set peer pads before calling the link function, otherwise
12533           a task started from a link function might get a flow-not-linked
12534           result when trying to push because the other thread where the
12535           linking happens hasn't had a chance to set the peers yet. This
12536           might happen for example when a queue gets linked to a downstream
12537           element, as queue starts a streaming task when its source pad
12538           gets linked. Happens in real life when playing back flac/musepack
12539           files in playbin (#332390).
12540           
12541 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
12542
12543         * gst/gstindex.h:
12544         * gst/gstxml.h:
12545         * libs/gst/base/gstadapter.h:
12546         * libs/gst/base/gstbasesink.h:
12547         * libs/gst/base/gstbasesrc.h:
12548         * libs/gst/base/gstbasetransform.h:
12549         * libs/gst/base/gstcollectpads.h:
12550         * libs/gst/base/gstpushsrc.h:
12551         Fix broken GObject macros
12552
12553 2006-04-07  Wim Taymans  <wim@fluendo.com>
12554
12555         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12556         Initialize start and stop times, thanks valgrind.
12557
12558 2006-04-07  Wim Taymans  <wim@fluendo.com>
12559
12560         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12561         Be a bit nicer to badly behaving upstream elements that expect
12562         us to deal with non TIME segments and timestamps (such as fakesrc
12563         in the testsuite).
12564
12565 2006-04-07  Wim Taymans  <wim@fluendo.com>
12566
12567         * gst/gstbus.c:
12568         Small documentation clarification about the signal watch.
12569
12570         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
12571         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12572         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12573         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
12574         (gst_base_sink_get_position_last),
12575         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
12576         Convert and store timestamps in stream time and running time, the
12577         raw timestamps are not useful, also document this better.
12578         Use different window sizes for good and bad QoS observations so
12579         we react to badness a little quicker.
12580         Keep track of the amount of rendered and dropped buffers.
12581         Send QoS timestamps in running time.
12582
12583         * libs/gst/base/gstbasetransform.c:
12584         (gst_base_transform_sink_eventfunc),
12585         (gst_base_transform_handle_buffer):
12586         Compare QoS timestamps against running time.
12587
12588 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12589
12590         * gst/gstpad.c:
12591           Typo fixes in docs.
12592
12593 2006-04-06  Michael Smith  <msmith@fluendo.com>
12594
12595         * gst/gstpad.c: (gst_pad_set_property):
12596           Use g_value_get_object() instead of g_value_dup_gst_object(),
12597           to avoid double-reffing the pad template (which we then sink,
12598           so this worked previously if (and only if) the pad template
12599           was floating.
12600
12601         * gst/gstpadtemplate.c: (gst_pad_template_init),
12602         (gst_pad_template_pad_created):
12603           Never return floating references to pad templates, create
12604           them as initially-sunken.
12605
12606           Document an extra function (and make this stop sinking our
12607           pad template, since that is now guaranteed to do nothing,
12608           since we created it sunken).
12609
12610         * gst/gstghostpad.c:
12611           Fix docs typo.
12612
12613 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
12614
12615         * gst/gstinfo.c: (__gst_in_valgrind):
12616           Add some newlines.
12617
12618         * plugins/elements/gsttypefindelement.c:
12619         (gst_type_find_element_chain):
12620           Don't leak buffer caps.
12621
12622 2006-04-06  Michael Smith  <msmith@fluendo.com>
12623
12624         * gst/parse/grammar.y:
12625           Fix a leak in parse-launch for any source-or-sink named element 
12626           references used.
12627
12628         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
12629           Unref the pipeline if it exists after we've failed parsing.
12630
12631 2006-04-05  Michael Smith  <msmith@fluendo.com>
12632
12633         * gst/gstpipeline.c: (gst_pipeline_init):
12634           When we create a pipeline bus, initially create it in flushing mode.
12635           Fixes leaks in at least one test, and makes a new pipeline work the
12636           same as one that has gone to READY and then back to NULL.
12637
12638         * gst/gstelement.c:
12639           Typo fix in docs.
12640
12641 2006-04-05  Michael Smith  <msmith@fluendo.com>
12642
12643         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12644           Unref a pad we reffed.
12645         * tests/check/gst/gstutils.c: (GST_START_TEST):
12646           Unref bins
12647
12648 2006-04-05  Michael Smith  <msmith@fluendo.com>
12649
12650         * gst/gstquery.c: (gst_query_set_formats),
12651         (gst_query_set_formatsv):
12652           Fix leaking GValues in queries, as shown by valgrind/testsuite.
12653
12654 2006-04-05  Michael Smith  <msmith@fluendo.com>
12655
12656         * tests/check/generic/sinks.c: (GST_START_TEST):
12657           Fix a variety of memleaks in sinks check, which are only sometimes 
12658           shown by running the tests under valgrind (weird?).
12659
12660 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
12661
12662         * docs/version.entities.in:
12663           Fix the substituted entity name after thomas' changes on the
12664           weekend.
12665
12666 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12667
12668         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
12669         VALGRIND_PRINTF
12670         
12671 2006-04-05  Andy Wingo  <wingo@pobox.com>
12672
12673         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
12674
12675         * libs/gst/base/gstbasetransform.c
12676         (gst_base_transform_sink_eventfunc): When resetting our segment on
12677         FLUSH_STOP, also update the flag saying we haven't seen a
12678         newsegment.
12679
12680 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12681
12682         Patch by: Paolo Borelli  <pborelli at katamail dot com>
12683
12684         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12685         (gst_plugin_check_license):
12686           minor clean-ups: G_DEFINE_TYPE already takes care of the
12687           parent_class stuff, no need to do it twice. Mark array of
12688           license strings as constant. (#337103)
12689           
12690 2006-04-04  Michael Smith  <msmith@fluendo.com>
12691
12692         * tools/gst-inspect.c: (print_element_list):
12693           Free the right plugin list; fixes a memory leak.
12694
12695 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12696
12697         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
12698
12699         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
12700           Don't error out on empty buffers (#336945).
12701           
12702 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
12703
12704         * docs/libs/gstreamer-libs-sections.txt:
12705         * gst/gsttaglist.c:
12706         * libs/gst/base/gstbasesink.c:
12707         * libs/gst/base/gstbasesink.h:
12708         * libs/gst/base/gstbasesrc.c:
12709         * libs/gst/base/gstbasesrc.h:
12710           Documentation updates. Make BaseSink and BaseSrc docs contain the
12711           class structure so that people can actually see the prototypes for
12712           virtual functions they're supposed to be overriding.
12713
12714 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * plugins/elements/gsttypefindelement.c:
12717         (gst_type_find_element_chain):
12718           More debug info; when skipping typefinding, send cached
12719           events in all cases.
12720
12721 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12722
12723         * configure.ac:
12724           use new AS_VERSION and AS_NANO macros
12725         * gst/gst-i18n-lib.h:
12726         * gst/gst.c:
12727         * gst/gsterror.c:
12728         * gst/gstversion.h.in:
12729         * win32/common/config.h:
12730         * win32/common/config.h.in:
12731           update accordingly
12732
12733 2006-03-31  Michael Smith  <msmith@fluendo.com>
12734
12735         * plugins/elements/gsttypefindelement.c:
12736         (gst_type_find_element_chain):
12737           Do not typefind content if the buffers already have caps.
12738           Neccesary for icydemux (#333657), and the right thing to do anyway.
12739
12740 2006-03-30  Wim Taymans  <wim@fluendo.com>
12741
12742         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12743         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
12744         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
12745         (gst_base_sink_record_qos_observation),
12746         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12747         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12748         (gst_base_sink_change_state):
12749         More QoS measurements as described in the design doc.
12750         Get rid of ringbuffer with observations, running average is
12751         more simple and equally good.
12752         Calculates valid proportion now.
12753         Added beginning of flood measurement.
12754
12755 2006-03-29  Wim Taymans  <wim@fluendo.com>
12756
12757         * docs/design/part-qos.txt:
12758         * gst/gstclock.c:
12759         Small documentation updates and additions.
12760
12761 2006-03-29  Wim Taymans  <wim@fluendo.com>
12762
12763         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12764         (gst_base_src_send_event), (gst_base_src_loop),
12765         (gst_base_src_change_state):
12766         Perform the EOS logic when we reach the segment stop position.
12767         Fix compilation on gcc4.1
12768
12769 2006-03-29  Wim Taymans  <wim@fluendo.com>
12770
12771         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
12772
12773         * plugins/elements/gstqueue.c: (gst_queue_init),
12774         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
12775         (gst_queue_set_property):
12776         * plugins/elements/gstqueue.h:
12777         In queue, when EOS is received, if minimum threshold > max_size -
12778         current_level, there is chance that queue blocks forever in conditional
12779         item del wait. This is because the queue is not emptied completely due
12780         to minimum threshold.  Here is another approach. Instead of setting
12781         cur_levels to max in EOS, just zero all minimum threshold levels. This
12782         should make sure that queue gives out all data. When going to READY
12783         (stop) state, just reset the original minimum threshold levels.
12784         Fixes #336336.
12785
12786 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
12787
12788         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
12789         (gst_type_find_element_handle_event),
12790         (gst_type_find_element_send_cached_events),
12791         (gst_type_find_element_change_state):
12792         * plugins/elements/gsttypefindelement.h:
12793           When typefinding is done in push mode, we should cache
12794           events we receive during typefinding instead of just
12795           dropping them (e.g. newsegment, custom events from
12796           dvdreadsrc etc.) and then send them out once we've
12797           determined the type of the stream (and decodebin
12798           has had a chance to plug in a decoder/demuxer).
12799           
12800 2006-03-27  Wim Taymans  <wim@fluendo.com>
12801
12802         * docs/design/part-qos.txt:
12803         First QoS ideas.
12804
12805 2006-03-27  Wim Taymans  <wim@fluendo.com>
12806
12807         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
12808
12809         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
12810         (gst_base_src_send_event), (gst_base_src_change_state):
12811         Handle element seek correctly when we are streaming.
12812         Fixes #326998.
12813
12814 2006-03-24  Michael Smith  <msmith@fluendo.com>
12815
12816         * docs/faq/gst-uninstalled:
12817           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
12818           allow you to correctly run intalled applications built against old 
12819           core, using plugins that require updated core (e.g. running
12820           installed totem against a full uninstalled gstreamer stack)
12821
12822 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12823
12824         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12825         more debug details
12826
12827 2006-03-24  Wim Taymans  <wim@fluendo.com>
12828
12829         * docs/gst/gstreamer-sections.txt:
12830         Rearrange the order of the methods so that related methods
12831         are grouped together in sections.
12832
12833 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12834
12835         * gst/gstelement.c:
12836           Little clarification in the docs
12837
12838 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
12839
12840         * docs/README:
12841         formatting fix
12842         * plugins/elements/gstidentity.c:
12843         * plugins/elements/gstqueue.c:
12844         * plugins/elements/gsttee.c:
12845         * plugins/elements/gsttypefindelement.c:
12846         GST_ELEMENT_DETAILS formatting
12847
12848 2006-03-24  Wim Taymans  <wim@fluendo.com>
12849
12850         * libs/gst/base/gstbasesink.h:
12851         Only add fields, not insert or we break ABI.
12852
12853 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12854
12855         * win32/common/libgstbase.def:
12856         * win32/common/libgstreamer.def:
12857           Update, add recently added functions.
12858
12859 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12860
12861         * docs/gst/gstreamer-sections.txt:
12862         * gst/gstutils.c: (gst_pad_query_peer_position),
12863         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
12864         * gst/gstutils.h:
12865           API: add some new utility functions:
12866            - gst_pad_query_peer_position()
12867            - gst_pad_query_peer_duration()
12868            - gst_pad_query_peer_convert()
12869           
12870 2006-03-23  Wim Taymans  <wim@fluendo.com>
12871
12872         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12873         (gst_base_sink_init), (gst_base_sink_finalize),
12874         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
12875         (gst_base_sink_set_property), (gst_base_sink_get_property),
12876         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
12877         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
12878         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
12879         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
12880         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
12881         (gst_base_sink_preroll_object), (gst_base_sink_event),
12882         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
12883         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
12884         (gst_base_sink_query), (gst_base_sink_change_state):
12885         Decouple max-lateness and the fact that QoS messages are generated
12886         with a new property (qos).
12887         added API: GstBaseSink::async_play()
12888         Add vmethod so subclasses can be notified of ASYNC playing
12889         state changes.
12890         Collect timestamp start and stop to report better current
12891         position in EOS/PLAYING/PAUSED/READY/NULL.
12892         Refactor QoS/frame dropping and other measurements.
12893         API: GstBaseSrc::qos
12894         Fixes #326311
12895
12896         * libs/gst/base/gstbasesink.h:
12897         Added Private struct.
12898         API: gst_base_sink_set_qos_enabled()
12899         API: gst_base_sink_is_qos_enabled()
12900
12901 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
12904           If compiling against GLib-2.8 or newer, try to read the
12905           registry file using GMappedFile first before falling back
12906           to fopen() + fread() (#332151).
12907
12908 2006-03-22  Wim Taymans  <wim@fluendo.com>
12909
12910         * gst/gstinfo.c: (gst_debug_set_active),
12911         (gst_debug_category_set_threshold):
12912         Disable debugging unless explicitly activated.
12913         Fixes #335480.
12914
12915 2006-03-22  Wim Taymans  <wim@fluendo.com>
12916
12917         * gst/gstelement.c: (gst_element_set_locked_state),
12918         (gst_element_dispose):
12919         Cleanup the error case.
12920
12921         * gst/gstobject.c: (gst_object_dispose):
12922         print a critical when some object was disposed with
12923         a parent, also revive the object since it might
12924         crash the parent.
12925
12926 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
12927
12928         * tools/gst-launch.1.in:
12929           Fix another typo.
12930
12931 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12932
12933         * configure.ac:
12934         * tests/check/Makefile.am:
12935           disable some tests when we don't have a registry
12936         * tests/check/gst/gstutils.c: (gst_utils_suite):
12937           don't build the part that needs parsing
12938
12939 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12940
12941         * gst/Makefile.am
12942         * tests/examples/Makefile.am:
12943           fix --disable-parse build
12944
12945 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12946
12947         * tools/gst-feedback.1.in:
12948           Fix typo: s/feeback/feedback/ (#133494).
12949
12950 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12951
12952         * tools/Makefile.am:
12953         * tools/gst-launch.1.in:
12954           Add FILES section and correct entry about GST_REGISTRY_PATH
12955           environment variable (#133495; #133494).
12956
12957 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12958
12959         * tools/Makefile.am:
12960         * tools/gst-md5sum.1.in:
12961         * tools/gst-md5sum.c:
12962           Remove gst-md5sum and man page (the md5sink element
12963           required was removed ages ago)
12964
12965 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12966
12967         * gst/gststructure.c: (gst_structure_id_set_value):
12968           Make sure that string fields in structures/taglists
12969           contain valid UTF-8 - we don't want to pass rubbish to
12970           applications because of a buggy plugin (cp. #334167).
12971
12972 2006-03-21  Edward Hervey  <edward@fluendo.com>
12973
12974         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12975         (gst_bin_handle_message_func):
12976         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
12977         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
12978         (gst_element_set_bus_func):
12979         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
12980         * gst/gstminiobject.c: (gst_value_set_mini_object),
12981         (gst_value_take_mini_object):
12982         * gst/gstpad.c: (gst_pad_set_pad_template):
12983         * gst/gstpipeline.c: (gst_pipeline_dispose),
12984         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
12985         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
12986         (gst_collect_pads_chain):
12987         * libs/gst/net/gstnettimeprovider.c:
12988         (gst_net_time_provider_set_property):
12989         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
12990         It's in fact all issues with gst_*object_replace().
12991
12992 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
12993
12994         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
12995         
12996         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12997         * pkgconfig/gstreamer-check.pc.in:
12998           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
12999
13000 2006-03-21  Edward Hervey  <edward@fluendo.com>
13001
13002         * gst/gstbuffer.h:
13003         * gst/gstevent.h:
13004         * gst/gstmessage.h:
13005         gst_[buffer|event|message]_ref() macros are replaced by a static
13006         inline functions because gcc-4.1 will about if the return value
13007         isn't used.
13008         * tests/check/gst/gstevent.c: (event_probe):
13009         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
13010
13011 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
13012
13013         * gst/gstutils.h:
13014         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
13015         the type' case. (Closes: #335195 for now). In the future, when we
13016         depend on GLib 2.10, we could also intern the type name using
13017         g_intern_static_string()
13018
13019 2006-03-20  Wim Taymans  <wim@fluendo.com>
13020
13021         * gst/gstbin.c: (gst_bin_handle_message_func),
13022         (bin_query_max_init), (bin_query_position_fold),
13023         (bin_query_position_done), (gst_bin_query):
13024         Position query should also take max of all streams.
13025
13026 2006-03-20  Wim Taymans  <wim@fluendo.com>
13027
13028         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13029         (gst_fake_src_finalize):
13030         Fix leaks in fakesrc.
13031
13032         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
13033         Fix leaks in the testcase.
13034
13035 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
13036
13037         * gst/gst_private.h:
13038           add win32 specific import decoration(__declspec(dllimport)) 
13039           for all extern GstDebugCategory * variables
13040         * win32/common/libgstbase.def:
13041         * win32/common/libgstcontroller.def:
13042         * win32/common/libgstreamer.def:
13043           Add some exports, remove empty lines
13044         * win32/common/libgstdataprotocol.def:
13045         * win32/common/libgstdataprotocol.dsp:
13046         * win32/common/libgstnet.def:
13047         * win32/common/libgstnet.dsp:
13048           new project files and exportation files added
13049         
13050 2006-03-19  Wim Taymans  <wim@fluendo.com>
13051
13052         * tests/check/libs/basesrc.c: (eos_event_counter):
13053         Use proper return value for probe.
13054
13055 2006-03-17  Wim Taymans  <wim@fluendo.com>
13056
13057         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13058         (gst_pad_push):
13059         Don't leak buffers, caps and pads on negotiation errors.
13060
13061 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
13062
13063         * docs/faq/cvs.xml:
13064         * docs/faq/dependencies.xml:
13065         * docs/faq/developing.xml:
13066         * docs/faq/faq.xml:
13067         * docs/faq/general.xml:
13068         * docs/faq/getting.xml:
13069         * docs/faq/legal.xml:
13070         * docs/faq/troubleshooting.xml:
13071         * docs/faq/using.xml:
13072         Faq review and update.
13073
13074 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
13075
13076         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
13077         (gst_pad_push):
13078         Don't pound the cpu to pieces by checking get_caps when accept_caps
13079         is called with the same caps as the pad already has.
13080         Use GST_DEBUG_OBJECT when outputting caps change information.
13081
13082 2006-03-15  Wim Taymans  <wim@fluendo.com>
13083
13084         * gst/gstclock.c: (gst_clock_class_init):
13085         Fix docs.
13086
13087 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
13088
13089         * gst/gstbuffer.h:
13090         Documentation fix.
13091
13092         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
13093         (gst_pad_accept_caps), (gst_pad_configure_sink),
13094         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
13095         Make the default acceptcaps behaviour be to check the requested 
13096         caps against the gst_pad_get_caps output. 
13097
13098         Ensure that gst_pad_accept_caps is used to check caps when a pad
13099         doesn't have a setcaps function, so that pads automatically refuse 
13100         caps that they don't allow in their pad template. (Fixes #332986)
13101
13102         When a buffer with attached caps is pushed, ensure that the source 
13103         pad receives those caps even if the element didn't call
13104         gst_pad_set_caps first.
13105
13106 2006-03-15  Wim Taymans  <wim@fluendo.com>
13107
13108         * libs/gst/base/gstadapter.c:
13109         Add some docs.
13110
13111 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
13112
13113         * win32/common/libgstbase.def:
13114         * win32/common/libgstcontroller.def:
13115         * win32/common/libgstreamer.def:
13116           Add a whole bunch of missing functions (#334434).
13117
13118 2006-03-14  Wim Taymans  <wim@fluendo.com>
13119
13120         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13121         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
13122         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
13123         Better debug info when we receive a segment event.
13124         Reorganize a bit so we can pass the get_times() results around.
13125         Use the segment format when calculating the running time.
13126         Don't do QoS is sync is disabled or we have no clock or the
13127         element does not want us to sync to the clock.
13128         Don't drop buffers if QoS is disabled for now.
13129
13130 2006-03-14  Wim Taymans  <wim@fluendo.com>
13131
13132         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
13133         Marked the stats property as unimplemented so people don't get
13134         wild ideas.
13135         Add debug message when regression goes wrong.
13136         Added some more docs.
13137
13138 2006-03-14  Wim Taymans  <wim@fluendo.com>
13139
13140         * gst/gstsegment.c: (gst_segment_to_stream_time):
13141         Return correct return type in case of errors.
13142
13143 2006-03-14  Wim Taymans  <wim@fluendo.com>
13144
13145         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
13146           Don't segfault on invalid formats.
13147
13148 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13149
13150         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13151           Can't use gst_segment_to_running_time() when the segment
13152           is not in GST_TIME_FORMAT (like with filesink, for example).
13153           Stops flac encoding pipelines from spewing critical warnings
13154           at EOS (#331248).
13155           
13156 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
13157
13158         * gst/gstpipeline.c: (gst_pipeline_class_init):
13159           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
13160
13161         * plugins/elements/gsttypefindelement.c:
13162         (gst_type_find_element_handle_event):
13163           Don't try to typefind empty streams.
13164
13165 2006-03-14  Wim Taymans  <wim@fluendo.com>
13166
13167         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
13168         (gst_base_sink_do_qos):
13169         Separate QoS calculation.
13170         Only drop buffers when lateness is bigger than the 
13171         duration of the buffer.
13172
13173 2006-03-13  Wim Taymans  <wim@fluendo.com>
13174
13175         * gst/gstpipeline.c: (gst_pipeline_set_property),
13176         (gst_pipeline_get_property), (do_pipeline_seek),
13177         (gst_pipeline_change_state), (gst_pipeline_set_delay),
13178         (gst_pipeline_get_delay):
13179         Don't deadlock when reading properties.
13180
13181 2006-03-13  Wim Taymans  <wim@fluendo.com>
13182
13183         * libs/gst/base/gstbasetransform.c:
13184         (gst_base_transform_class_init), (gst_base_transform_init),
13185         (gst_base_transform_sink_event),
13186         (gst_base_transform_sink_eventfunc),
13187         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
13188         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13189         (gst_base_transform_set_property),
13190         (gst_base_transform_get_property),
13191         (gst_base_transform_change_state), (gst_base_transform_update_qos),
13192         (gst_base_transform_set_qos_enabled),
13193         (gst_base_transform_is_qos_enabled):
13194         * libs/gst/base/gstbasetransform.h:
13195         Make basetransform virtual method for src events too.
13196         Handle QOS in basetransform.
13197         API: gst_base_transform_update_qos()
13198         API: gst_base_transform_set_qos_enabled()
13199         API: gst_base_transform_is_qos_enabled()
13200
13201 2006-03-13  Wim Taymans  <wim@fluendo.com>
13202
13203         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13204         (gst_base_sink_do_sync):
13205         Small cleanups.
13206         Use QOS debug category.
13207
13208 2006-03-13  Wim Taymans  <wim@fluendo.com>
13209
13210         * plugins/elements/gstqueue.c:
13211         Very small doc update.
13212
13213 2006-03-13  Wim Taymans  <wim@fluendo.com>
13214
13215         * gst/gst_private.h:
13216         * gst/gstinfo.c: (_gst_debug_init):
13217         Added QOS debug category
13218
13219 2006-03-13  Wim Taymans  <wim@fluendo.com>
13220
13221         * docs/gst/gstreamer-sections.txt:
13222         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
13223         * gst/gstbin.h:
13224         * gst/gstbus.c: (gst_bus_class_init):
13225         * gst/gstbus.h:
13226         * gst/gstclock.c:
13227         * gst/gstelement.c: (gst_element_set_locked_state):
13228         * gst/gstsegment.c:
13229         Documentation updates.
13230
13231         * gst/gstpipeline.c: (gst_pipeline_get_type),
13232         (gst_pipeline_class_init), (gst_pipeline_init),
13233         (gst_pipeline_dispose), (gst_pipeline_set_property),
13234         (gst_pipeline_get_property), (do_pipeline_seek),
13235         (gst_pipeline_send_event), (gst_pipeline_change_state),
13236         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
13237         (gst_pipeline_get_delay):
13238         * gst/gstpipeline.h:
13239         Added methods for setting the delay.
13240         API: gst_pipeline_set_delay()
13241         API: gst_pipeline_get_delay()
13242         Add pipeline debug category
13243         Various cleanups.
13244         Updated docs.
13245         Don't reset stream time when seek failed.
13246
13247 2006-03-13  Wim Taymans  <wim@fluendo.com>
13248
13249         * docs/design/draft-klass.txt:
13250         * docs/design/part-clocks.txt:
13251         * docs/design/part-events.txt:
13252         * docs/design/part-gstbin.txt:
13253         * docs/design/part-gstpipeline.txt:
13254         * docs/design/part-messages.txt:
13255         * docs/design/part-negotiation.txt:
13256         * docs/design/part-overview.txt:
13257         * docs/design/part-preroll.txt:
13258         * docs/design/part-seeking.txt:
13259         * docs/design/part-states.txt:
13260         * docs/design/part-streams.txt:
13261         Documentation updates.
13262
13263 2006-03-12  Julien MOUTTE  <julien@moutte.net>
13264
13265         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
13266         us to leak strings...
13267
13268 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13269
13270         * libs/gst/net/gstnettimeprovider.c:
13271           fix docs
13272         * win32/common/config.h:
13273           update
13274
13275 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
13276
13277         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
13278
13279         * configure.ac:
13280           Don't check for libgnomeui (leftover from old examples
13281           that aren't built or disted any longer) (#334303).
13282           
13283 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
13284
13285         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
13286         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13287           Emit RESOURCE_NO_SPACE_LEFT error here as well when
13288           there's no space left on the device.
13289
13290 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
13291
13292         * gst/gstclock.h:
13293           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
13294           to cast the input to GstClockTime before comparing with
13295           another GstClockTime value.
13296
13297 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
13298
13299         * configure.ac:
13300           back to trunk
13301
13302 === release 0.10.4 ===
13303
13304 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
13305
13306         * configure.ac:
13307           releasing 0.10.4, "Light"
13308
13309 2006-03-10  Michael Smith  <msmith@fluendo.com>
13310
13311         * libs/gst/dataprotocol/dataprotocol.c:
13312           Fix docs for dataprocotol to not get the return types completely
13313           wrong for a few functions.
13314
13315 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13316
13317         * docs/gst/gstreamer-sections.txt:
13318         * gst/gstpipeline.c: (gst_pipeline_class_init),
13319         (gst_pipeline_init), (gst_pipeline_set_property),
13320         (gst_pipeline_get_property), (gst_pipeline_change_state),
13321         (gst_pipeline_set_auto_flush_bus),
13322         (gst_pipeline_get_auto_flush_bus):
13323         * gst/gstpipeline.h:
13324           Add new API: gst_pipeline_set_auto_flush_bus() and
13325           gst_pipeline_get_auto_flush_bus() to disable automatic
13326           flushing of the pipeline's GstBus when going from READY
13327           to NULL state (#332045).
13328
13329 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13330
13331         * docs/gst/gstreamer-sections.txt:
13332         * gst/gsturi.c: (gst_uri_has_protocol):
13333         * gst/gsturi.h:
13334            Add new API: gst_uri_has_protocol() (#333779).
13335
13336 2006-03-09  Wim Taymans  <wim@fluendo.com>
13337
13338         * gst/gstclock.c: (gst_clock_entry_new),
13339         (gst_clock_id_compare_func), (gst_clock_id_wait),
13340         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
13341         (gst_clock_init), (gst_clock_get_internal_time),
13342         (gst_clock_set_master), (do_linear_regression),
13343         (gst_clock_add_observation), (gst_clock_set_property):
13344         * gst/gstclock.h:
13345         Review docs.
13346         Small cleanups.
13347         Fix a possible segfault when the window-size is made smaller.
13348         Calculate jitter before performing the clock wait. Ideally
13349         the clock implementation should calculate jitter but we need
13350         API breakage for that.
13351
13352         * gst/gstsystemclock.c: (gst_system_clock_init):
13353         Docs review.
13354         
13355         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13356         Remove leftover else
13357
13358         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
13359         (gst_systemclock_suite):
13360         Added check to test GST_CLOCK_DIFF.
13361
13362 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
13363
13364         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
13365         (gst_type_find_helper_get_range):
13366           If we are provided with the size, we should implement
13367           GstTypeFind::get_length, so that typefind functions who
13368           want to can actually peek at the middle of a file.
13369
13370 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
13371
13372         * docs/manual/advanced-dataaccess.xml:
13373           Add some very very basic error checking.
13374
13375         * docs/pwg/appendix-checklist.xml:
13376           Some updates to the list of things to check when writing an element.
13377
13378 2006-03-08  Wim Taymans  <wim@fluendo.com>
13379
13380         * docs/design/part-element-transform.txt:
13381         Added some docs about the design of tranform elements.
13382
13383         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13384         (gst_base_src_loop), (gst_base_src_change_state):
13385         Mark buffers with the DISCONT flag.
13386
13387 2006-03-08  Michael Smith  <msmith@fluendo.com>
13388
13389         * gst/gstregistry.h:
13390         * gst/gstregistryxml.c: (gst_registry_save),
13391         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
13392         (gst_registry_xml_save_pad_template),
13393         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
13394         (gst_registry_xml_write_cache):
13395           Rewrite registry-saving to avoid race conditions and check for
13396           failed writes.
13397
13398 2006-03-08  Wim Taymans  <wim@fluendo.com>
13399
13400         * libs/gst/base/gstbasetransform.c:
13401         (gst_base_transform_transform_caps),
13402         (gst_base_transform_transform_size),
13403         (gst_base_transform_prepare_output_buffer),
13404         (gst_base_transform_get_unit_size),
13405         (gst_base_transform_buffer_alloc),
13406         (gst_base_transform_handle_buffer),
13407         (gst_base_transform_change_state):
13408         Cleanups, separate normal flow from errors, add sensible
13409         DEBUG lines.
13410         Don't try to renegotiate when allocating an output buffer.
13411         Also copy DISCONT buffer flag when copying a buffer.
13412         Reset the transform after we finish streaming, not during.
13413
13414 2006-03-08  Wim Taymans  <wim@fluendo.com>
13415
13416         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
13417         Use last buffer timestamp in qos message.
13418
13419 2006-03-07  Wim Taymans  <wim@fluendo.com>
13420
13421         Patch by: Christophe Fergeau
13422
13423         * docs/pwg/advanced-tagging.xml:
13424         * docs/pwg/building-pads.xml:
13425           fixes #333416
13426
13427 2006-03-07  Wim Taymans  <wim@fluendo.com>
13428
13429         * docs/libs/gstreamer-libs-sections.txt:
13430         Added basesink new methods.
13431
13432         * gst/gstevent.c:
13433         * gst/gstevent.h:
13434         Docs updates. Flesh out the QoS docs.
13435
13436         * libs/gst/base/gstadapter.c:
13437         Small doc clarification about ownership and flushing.
13438
13439         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
13440         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
13441         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
13442         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13443         * libs/gst/base/gstbasesink.h:
13444         API additions: 
13445         Added new methods to allow subclass to control max-lateness 
13446         and sync.
13447         Generate very basic QoS events based on last sync observation.
13448         Updated docs, fix typo, added some QoS blurb.
13449
13450         * libs/gst/base/gstbasesrc.c:
13451         Remove obsolete _get_state() calls from docs.
13452
13453 2006-03-07  Wim Taymans  <wim@fluendo.com>
13454
13455         * docs/libs/gstreamer-libs-sections.txt:
13456         * libs/gst/base/gstbasetransform.h:
13457         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
13458         Fix docs for GstBaseSrc.
13459
13460 2006-03-07  Wim Taymans  <wim@fluendo.com>
13461
13462         * docs/gst/gstreamer-sections.txt:
13463         * gst/gstbuffer.h:
13464         * gst/gstvalue.c:
13465         * libs/gst/base/gstbasetransform.h:
13466         Small documentation fixes.
13467
13468 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13469
13470         * gst/gstvalue.c:
13471           Document thread-unsafety of gst_value_register_foo_func()
13472           when used at the same time as gst_value_foo() (#322628).
13473
13474 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
13475
13476         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
13477         (gst_push_src_check_get_range):
13478           Push sources don't support pull mode by default.
13479
13480 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13481
13482         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13483         (gst_base_src_init), (gst_base_src_pad_check_get_range),
13484         (gst_base_src_default_check_get_range):
13485         * libs/gst/base/gstbasesrc.h:
13486           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
13487           provide default implementation, and rename
13488           gst_base_src_check_get_range() to
13489           gst_base_src_pad_check_get_range() for clarity.
13490
13491 2006-03-06  Wim Taymans  <wim@fluendo.com>
13492
13493         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13494         Make property overridable.
13495
13496 2006-03-06  Wim Taymans  <wim@fluendo.com>
13497
13498         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13499         (gst_base_sink_init), (gst_base_sink_set_property),
13500         (gst_base_sink_get_property), (gst_base_sink_do_sync):
13501         * libs/gst/base/gstbasesink.h:
13502         API addition: Make max-lateness a property.
13503
13504 2006-03-06  Wim Taymans  <wim@fluendo.com>
13505
13506         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
13507         (gst_base_sink_do_sync), (gst_base_sink_render_object):
13508         Don't ever draw a frame that is >10ms late.
13509
13510 2006-03-06  Michael Smith  <msmith@fluendo.com>
13511
13512         * gst/gstmessage.c: (_gst_message_copy):
13513           When copying a message, set the parent_refcount of the enclosed
13514           structure to point at the copy, not the original message.
13515
13516 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
13517
13518         Patch by: Christophe Fergeau
13519
13520         * gst/gstutils.h:
13521           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
13522           usable in c++ code (#333417)
13523
13524 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13525
13526         * gst/gstclock.h:
13527           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
13528
13529 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
13530
13531         * libs/gst/base/gstbasetransform.c:
13532         (gst_base_transform_transform_caps):
13533           Make sure caps are writable before passing them to
13534           gst_caps_append().
13535
13536 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13537
13538         * gst/gsterror.h:
13539           Fix some minor docs errors.
13540
13541 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
13542
13543           Patch by: Ross Burton <ross at burtonini dot com>
13544
13545         * gst/gsterror.c: (_gst_resource_errors_init):
13546         * gst/gsterror.h:
13547           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
13548
13549 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13550
13551         * gst/gst.c:
13552         Add a check and output a g_warning when GStreamer is built
13553         against GLib 2.6 but running against 2.8 or higher, and vice 
13554         versa. (Closes: #323542)
13555
13556 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
13557
13558         * gst/parse/parse.l:
13559           Commit patch for parse_launch syntax from #331255. Removes 
13560           support for quoted strings and mimetypes when writing filtered 
13561           caps. See the bug report for more details - I'm pretty sure this
13562           obscure feature is not in use by _anyone_ anywhere.
13563
13564           With this simple change, the size of the gstreamer.so here 
13565           drops from 2193KB to 1565KB.
13566
13567 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13568
13569         * plugins/elements/gsttypefindelement.h:
13570         * plugins/elements/gsttypefindelement.c:
13571         (gst_type_find_element_src_event), (start_typefinding),
13572         (stop_typefinding), (gst_type_find_element_handle_event),
13573         (gst_type_find_element_chain),
13574         (gst_type_find_element_chain_do_typefinding):
13575           Use gst_type_find_helper_for_buffer() for chain-based
13576           typefinding.
13577
13578 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13579
13580         * plugins/elements/gsttypefindelement.c:
13581         (gst_type_find_element_class_init),
13582         (gst_type_find_element_set_property),
13583         (gst_type_find_element_get_property):
13584           Deprecate "maximum" property (not only was it only taken into
13585           account for typefinding in push-mode anyway, it also was never
13586           actually possible to set it in the first place because the
13587           property was registered with the numeric property ID for the
13588           "minimum" property). Register "maximum" property correctly,
13589           for the sake of future copy'n'pasters. Remove some cruft
13590           from property get/set functions.
13591
13592 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
13593
13594         * plugins/elements/gsttypefindelement.c:
13595         (gst_type_find_element_activate):
13596           Use gst_type_find_helper_get_range() here, so we
13597           can honour the "minimum" property and also emit
13598           the signal with the correct probability of the found caps.
13599
13600 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
13601
13602         * docs/libs/gstreamer-libs-sections.txt:
13603         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
13604         (helper_find_suggest), (gst_type_find_helper_get_range),
13605         (gst_type_find_helper):
13606         * libs/gst/base/gsttypefindhelper.h:
13607           New API: gst_type_find_helper_get_range() (#333042).
13608
13609 2006-03-02  Michael Smith  <msmith@fluendo.com>
13610
13611         * gst/gstregistryxml.c: (load_feature):
13612           Asserting on a failure to read part of the registry is Not Cool.
13613           Just log a warning and return NULL (which is already handled)
13614
13615 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
13616
13617         * win32/common/libgstbase.def:
13618           added export of gst_type_find_helper_for_buffer
13619         * win32/common/libgstbase.def:
13620           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
13621           gst_ghost_pad_get_target
13622
13623 2006-02-28  Wim Taymans  <wim@fluendo.com>
13624
13625         * docs/design/draft-klass.txt:
13626         We use Filter now.
13627         Added Connector to mark elements that are only used to
13628         allow pipeline connections.
13629         Moved Debug to extra feature since most of them are 
13630         functionally something else.
13631
13632 2006-02-28  Wim Taymans  <wim@fluendo.com>
13633
13634         * docs/design/draft-klass.txt:
13635         Some updates and clarifications.
13636
13637 2006-02-28  Wim Taymans  <wim@fluendo.com>
13638
13639         * docs/design/draft-klass.txt:
13640         Proposal for klass field values.
13641
13642         * docs/design/part-streams.txt:
13643         Start of a doc describing stream anatomy.
13644
13645 2006-02-28  Wim Taymans  <wim@fluendo.com>
13646
13647         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
13648         Help the compiler a bit with type registration.
13649         Use existing forward cod path instead of duplicating it when 
13650         handling a message.
13651         
13652         * gst/gstbus.c: (gst_bus_get_type):
13653         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
13654         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
13655         * gst/gstclock.c: (gst_clock_get_type):
13656         * gst/gstelement.c: (gst_element_get_type),
13657         * gst/gstelementfactory.c: (gst_element_factory_get_type):
13658         * gst/gstindexfactory.c: (gst_index_factory_get_type):
13659         * gst/gstminiobject.c: (gst_mini_object_get_type):
13660         * gst/gstpad.c: (gst_pad_get_type):
13661         * gst/gstsegment.c: (gst_segment_get_type):
13662         * gst/gststructure.c: (gst_structure_get_type):
13663         * gst/gstsystemclock.c: (gst_system_clock_get_type):
13664         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
13665         * gst/gstvalue.c:
13666         Help compiler with type registration.
13667
13668         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
13669         Small doc update.
13670
13671 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13672
13673         * plugins/elements/gsttypefindelement.c:
13674         (gst_type_find_element_handle_event):
13675           When we get an EOS event and have not found a type yet
13676           (most likely because we had not yet accumulated
13677           TYPE_FIND_MIN_SIZE of data yet), try to determine the
13678           type given the data we have so far. Fixes typefinding
13679           for very short streams again, most notably quicktime
13680           redirections as used on Apple's trailer site (#331701).
13681
13682 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13683
13684         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
13685         (gst_type_find_helper):
13686           Try typefinding factories with the highest rank first.
13687
13688 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13689
13690         * docs/libs/gstreamer-libs-docs.sgml:
13691         * docs/libs/gstreamer-libs-sections.txt:
13692         * libs/gst/base/gsttypefindhelper.c:
13693           Add section for typefind helper and add documentation
13694           for the old and the new function.
13695
13696 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13697
13698         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
13699         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
13700         (gst_type_find_helper_for_buffer):
13701         * libs/gst/base/gsttypefindhelper.h:
13702           New API: gst_type_find_helper_for_buffer() (#332723).
13703           
13704 2006-02-27  Michael Smith  <msmith@fluendo.com>
13705
13706         Patch by: Loïc Minier
13707
13708         * configure.ac:
13709         * docs/Makefile.am:
13710         * docs/slides/Makefile.am:
13711           prevent CVS directories getting disted.
13712
13713 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
13714
13715         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
13716           Use the REFCOUNTING category for caps refcounting.
13717           
13718 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13719
13720         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13721           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
13722
13723 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
13724
13725         * plugins/elements/gsttypefindelement.c:
13726         (gst_type_find_element_activate):
13727           Use gst_pad_check_pull_range() before _activate_pull()
13728           to avoid unnecessary open/close (see #331690).
13729
13730 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13731
13732         * gst/gstutils.c:
13733           Docs enhancement: make it crystal clear what the
13734           gst_pad_add_*_probe() callbacks should look like.
13735
13736 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
13737
13738         * libs/gst/base/gstbasesrc.c:
13739           Document how applications can stop recording from
13740           live sources (see #330996).
13741
13742 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13743
13744         * tests/check/Makefile.am:
13745         * tests/check/libs/basesrc.c: (eos_event_counter),
13746         (basesrc_eos_events_pull), (basesrc_eos_events_push),
13747         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
13748         (gst_basesrc_suite), (main):
13749           ... and add some tests for the base source EOS stuff.
13750
13751 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13752
13753         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
13754           Test case originally showed the problem fixed below,
13755           but was then amended. Add checks back at the place
13756           where they used to be.
13757
13758 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13759
13760         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13761         (gst_base_src_init), (gst_base_src_loop),
13762         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13763         (gst_base_src_change_state):
13764         * libs/gst/base/gstbasesrc.h:
13765           Don't unconditionally send EOS when going from PAUSED to
13766           READY state, esp. make sure we don't send two EOS events
13767           in some cases (e.g. one when reaching EOS and one when
13768           going from PAUSED to READY). Also, we don't want to send
13769           EOS events when operating in pull mode. However, we do
13770           want to send an EOS event when shutting down a live
13771           source explicitly, for example (fixes #330996).
13772           
13773 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
13774
13775         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
13776           Update src->read_position after a seek when not using mmap.
13777           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
13778
13779 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
13780
13781         * gst/Makefile.am:
13782         * gst/gstparse.h:
13783         * gst/gstutils.c:
13784         * gst/gstutils.h:
13785         Make things work with --disable-parse as they do with 
13786         --disable-load-save - the symbols involved disappear, but the
13787         header is still installed and GST_DISABLE_PARSE is included via
13788         gstconfig.h
13789
13790 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13791
13792         * libs/gst/base/gstbasetransform.c:
13793         (gst_base_transform_change_state): Fix a stupid bug. I was 
13794         sure I compiled that.
13795
13796 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13797
13798         * gst/gstpad.c: (gst_pad_set_blocked_async):
13799         * gst/gstutils.c: (gst_pad_add_data_probe),
13800         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
13801         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
13802         (gst_pad_remove_buffer_probe): Make those function act on the
13803         ghostpad target when it's a ghostpad. (Closes #331727)
13804
13805 2006-02-20  Julien MOUTTE  <julien@moutte.net>
13806
13807         * libs/gst/base/gstbasetransform.c:
13808         (gst_base_transform_change_state): Make basetransform reusable.
13809         (Closes #331898)
13810
13811 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
13812
13813         * docs/random/release:
13814         Move the current documentation of how to do a release to the top
13815         of the file.
13816
13817         * gst/gstbin.c: (gst_bin_class_init),
13818         (gst_bin_handle_message_func):
13819         Allow multiple state-recalculation threads. (Closes #328873)
13820
13821 2006-02-19  Julien MOUTTE  <julien@moutte.net>
13822
13823         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
13824         * gst/gstpad.c: (gst_pad_set_event_function),
13825         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13826         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
13827         2 strings. You can't use the STR_NULL macro on that.
13828
13829 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
13830
13831         * gst/gstpad.c: (gst_pad_set_event_function),
13832         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
13833         (gst_pad_set_getcaps_function)
13834         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
13835           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
13836           So now, we can use --gst-debug-level=5 on Windows
13837         * win32/common/libgstcontroller.def:
13838           Added export of gst_controller_init
13839         * win32/vs6/libgstcontroller.dsp:
13840           Fixed Release post build configuration
13841
13842 2006-02-17  Wim Taymans  <wim@fluendo.com>
13843
13844         * tests/check/gst/gstquery.c: (GST_START_TEST):
13845         Added another check.
13846
13847 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
13848
13849         * plugins/elements/gsttypefindelement.c: (find_peek):
13850           We can do peeks at non-zero offsets, as long as they
13851           fall within the buffer we have.
13852
13853 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
13854
13855         * tests/check/Makefile.am:
13856         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
13857         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
13858         (parse_suite), (main):
13859           Add testsuite for parse launch syntax
13860
13861 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
13862
13863         * plugins/elements/gsttypefindelement.c:
13864         (gst_type_find_element_chain):
13865           When typefinding is unsuccessful in the chain function, don't
13866           error out immediately. Only error out with NO_CAPS_FOUND if
13867           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
13868           otherwise simply wait for more data so we can try typefinding
13869           again with more data later. Also, don't attempt to typefind
13870           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
13871           this should improve typefinding from network sources where the
13872           size of the first buffer can be somewhat random.
13873
13874 2006-02-14  Wim Taymans  <wim@fluendo.com>
13875
13876         * docs/gst/gstreamer-sections.txt:
13877         * gst/gstpadtemplate.c:
13878         * gst/gstpadtemplate.h:
13879         Fix padtemplate docs, fixes #328805.
13880
13881 2006-02-14  Wim Taymans  <wim@fluendo.com>
13882
13883         * tools/gst-launch.c: (main):
13884         NO_PREROLL is not an ERROR so don't send confusing messages
13885         to the user.
13886
13887 2006-02-14  Wim Taymans  <wim@fluendo.com>
13888
13889         Patch by: Torsten Schoenfeld
13890
13891         * gst/gstregistry.c: (gst_registry_get_default),
13892         (_gst_registry_cleanup):
13893         Protect default registry with lock and ref/sink it.
13894         Fixes #324818
13895
13896 2006-02-14  Wim Taymans  <wim@fluendo.com>
13897
13898         * gst/gstbuffer.c:
13899         * gst/gstquery.c: (gst_query_list_add_format),
13900         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13901         (gst_query_parse_formats_nth):
13902         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13903         Docs fixes.
13904
13905 2006-02-14  Wim Taymans  <wim@fluendo.com>
13906
13907         * docs/gst/gstreamer-sections.txt:
13908         Reworked query docs.
13909
13910         * gst/gstquery.c: (gst_query_new_formats),
13911         (gst_query_list_add_format), (gst_query_set_formats),
13912         (gst_query_set_formatsv), (gst_query_parse_formats_length),
13913         (gst_query_parse_formats_nth):
13914         * gst/gstquery.h:
13915         Flesh out formats query, added some new methods.
13916         Fix part of #324398.
13917
13918         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
13919         Added query creation tests.
13920
13921 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
13922
13923         * gst/gstpad.c: (fixate_value):
13924         Add a default fixation for fraction lists.
13925
13926 2006-02-13  Wim Taymans  <wim@fluendo.com>
13927
13928         * gst/gsttask.c: (gst_task_init), (gst_task_func),
13929         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
13930         (gst_task_join):
13931         * gst/gsttask.h:
13932         Detect and warn for obvious deadlocks. fixes #320340
13933         Fix error case where lock was not released.
13934
13935         * tests/check/Makefile.am:
13936         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
13937         (task_func), (gst_element_suite), (main):
13938         Add task check.
13939
13940 2006-02-13  Wim Taymans  <wim@fluendo.com>
13941
13942         * docs/gst/gstreamer-sections.txt:
13943         * gst/gstbus.c:
13944         Add new functions to docs.
13945
13946 2006-02-13  Wim Taymans  <wim@fluendo.com>
13947
13948         * docs/design/part-TODO.txt:
13949         Updated TODO list, basesrc supports seeking to non-bytes
13950         formats.
13951
13952         * docs/design/part-element-sink.txt:
13953         Update docs.
13954
13955         * gst/gstbin.c: (bin_replace_message),
13956         (gst_bin_handle_message_func):
13957         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
13958         * gst/gstevent.c: (gst_event_finalize):
13959         * gst/gstpad.c: (gst_pad_event_default_dispatch),
13960         (gst_pad_send_event):
13961         Use shiny new _TYPE_NAME macros.
13962
13963         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
13964         Move debug statement up.
13965
13966         * gst/gstelement.c: (gst_element_set_locked_state):
13967         Add some debugging.
13968
13969 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
13970
13971         * docs/gst/gstreamer-sections.txt:
13972         * gst/gstmessage.h:
13973         * gst/gstquery.h:
13974           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
13975           macros (#330906). Also, document the already existing
13976           GST_QUERY_TYPE macro.
13977
13978 2006-02-13  Wim Taymans  <wim@fluendo.com>
13979
13980         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
13981         (event_probe), (GST_START_TEST):
13982         Only events up to the pipeline EOS are counted, there are
13983         some more when going to NULL currently which we don't care
13984         about for now.
13985
13986 2006-02-13  Wim Taymans  <wim@fluendo.com>
13987
13988         * gst/gstpad.c: (gst_pad_send_event):
13989         Correctly check flushing and emit probes. fixes #330125
13990
13991 2006-02-10  Andy Wingo  <wingo@pobox.com>
13992
13993         * gst/gstbus.c (gst_bus_class_init): Declare our private data
13994         structure.
13995         (gst_bus_init): Cache the location of the private data in the
13996         instance structure.
13997         (gst_bus_enable_sync_message_emission) 
13998         (gst_bus_disable_sync_message_emission): Implement new public
13999         functions.
14000         (gst_bus_post): Emit the sync-message signal if the user asked for
14001         it. Fixes #330684.
14002
14003         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
14004         location of the bus-private structure.
14005         (gst_bus_enable_sync_message_emission)
14006         (gst_bus_disable_sync_message_emission): API addition
14007
14008 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
14009
14010         Patch by: Vincent Torri
14011
14012         * docs/pwg/building-boiler.xml:
14013         PWG patch from #326800
14014
14015 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
14016
14017         * configure.ac:
14018         * docs/Makefile.am:
14019         * docs/design/Makefile.am:
14020           Dist design docs.
14021
14022 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14023
14024         * configure.ac:
14025           back to CVS
14026
14027 === release 0.10.3 ===
14028
14029 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
14030
14031         * configure.ac:
14032           releasing 0.10.3, "Like a virgin"
14033
14034 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
14035
14036         * configure.ac:
14037           2nd prerelease of 0.10.3
14038           Bump libtool versioning.
14039
14040 2006-02-07  Andy Wingo  <wingo@pobox.com>
14041
14042         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
14043         update last_stop if we're in TIME format and the timestamp is
14044         valid.
14045
14046         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
14047         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
14048         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
14049         If we get a new newsegment with a different format, adapt
14050         accordingly.
14051
14052         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
14053         of 0. Not a problem, really.
14054
14055         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
14056         warn if sync=true.
14057
14058 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
14059
14060         * configure.ac:
14061           Prelease of 0.10.3
14062
14063 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
14064
14065         * win32/vs7:
14066           project files updated to the default vs7 configuration
14067         * win32/common/libgstbase.def:
14068         * win32/common/libgstreamer.def:
14069           added new symbols,
14070           removed empty lines,
14071           sorted all exported symbols alphabetically
14072         * win32/common/dirent.c:
14073         * win32/common/dirent.h:
14074         * win32/common/gchar.h:
14075           use windows line end.
14076           
14077 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14078
14079         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
14080           Send EOS event when stopping.
14081
14082 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
14083
14084         * docs/README:
14085           Tell folks what to do if the plugin-foobar.xml file
14086           hasn't been generated for a newly-added plugin.
14087
14088 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14089
14090         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
14091         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
14092         (gst_collect_pads_start), (gst_collect_pads_stop),
14093         (gst_collect_pads_event): Collectpads now holds a reference
14094         to the GstPad that was added. Indeed we don't want to look
14095         at pads that might just go away with no warning...
14096
14097 2006-02-05  Julien MOUTTE  <julien@moutte.net>
14098
14099         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
14100         (gst_collect_pads_start), (gst_collect_pads_stop),
14101         (gst_collect_pads_event), (gst_collect_pads_chain):
14102         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
14103         Mark Nauwelaerts's patch on bug #328491.
14104
14105 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14106
14107         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
14108         (gst_utils_suite):
14109           Add some simple tests for gst_parse_bin_from_description() and
14110           gst_bin_find_unconnected_pad() (#329069).
14111
14112 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
14113
14114         * tools/gst-launch.c: (event_loop), (main):
14115           Catch errors during preroll (#320084).
14116
14117 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
14118
14119         * plugins/elements/gsttypefindelement.c:
14120         (gst_type_find_element_activate):
14121           Post TYPE_NOT_FOUND error message when typefinding
14122           is unsuccessful in the activate function as well.
14123
14124 2006-02-02  Wim Taymans  <wim@fluendo.com>
14125
14126         * docs/design/part-element-sink.txt:
14127         Updated doc.
14128
14129 2006-02-02  Wim Taymans  <wim@fluendo.com>
14130
14131         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14132         (gst_base_sink_render_object),
14133         (gst_base_sink_queue_object_unlocked):
14134         Only keep track of prerollable items when we are 
14135         prerolling.
14136         Before rendering after preroll, always check if we
14137         have queued items.
14138         Added some more debugging.
14139
14140 2006-02-02  Wim Taymans  <wim@fluendo.com>
14141
14142         * gst/gstelement.c: (gst_element_continue_state),
14143         (gst_element_set_state_func), (gst_element_change_state):
14144         Fixed #326576, been running this for quite some time with
14145         no regressions at all.
14146
14147 2006-02-02  Wim Taymans  <wim@fluendo.com>
14148
14149         * common/gst.supp:
14150         Added more suppressions
14151
14152 2006-02-02  Wim Taymans  <wim@fluendo.com>
14153
14154         * docs/design/part-element-sink.txt:
14155         Updated document.
14156
14157         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14158         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
14159         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
14160         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14161         (gst_base_sink_do_sync), (gst_base_sink_render_object),
14162         (gst_base_sink_preroll_object),
14163         (gst_base_sink_queue_object_unlocked),
14164         (gst_base_sink_queue_object), (gst_base_sink_event),
14165         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
14166         (gst_base_sink_loop), (gst_base_sink_activate_pull),
14167         (gst_base_sink_get_position), (gst_base_sink_change_state):
14168         * libs/gst/base/gstbasesink.h:
14169         Totally refactored matching the design doc.
14170         Use two segments, one to clip incomming buffers and another to
14171         perform sync.
14172         Handle queueing correctly, bypass the queue when playing.
14173         Make EOS cancelable.
14174         Handle errors correctly when operating in pull based mode.
14175
14176         * tests/check/elements/fakesink.c: (GST_START_TEST),
14177         (fakesink_suite):
14178         Added new check for sinks.
14179
14180 2006-02-02  Wim Taymans  <wim@fluendo.com>
14181
14182         * gst/gstsegment.c: (gst_segment_clip):
14183         No reason to refuse to clip when start == -1
14184
14185 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
14186
14187         * docs/README:
14188         * docs/manual/intro-basics.xml:
14189         * docs/manual/intro-preface.xml:
14190         * docs/manual/manual.xml:
14191         * docs/pwg/advanced-dparams.xml:
14192         * docs/pwg/intro-basics.xml:
14193         * docs/pwg/intro-preface.xml:
14194         * docs/pwg/pwg.xml:
14195           describe dparams (controller) for plugins
14196           unify docs a little more
14197
14198 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
14199
14200         * docs/gst/gstreamer-sections.txt:
14201         * gst/gstutils.c: (element_find_unconnected_pad),
14202         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
14203         * gst/gstutils.h:
14204           Add new API: gst_parse_bin_from_description() and
14205           gst_bin_find_unconnected_pad() (#329069).
14206
14207 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
14208
14209         * docs/manual/README:
14210           uncover a nasty detail of the docs build
14211
14212 2006-01-31  Wim Taymans  <wim@fluendo.com>
14213
14214         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
14215         Don't cache duration messages if we're not going to use or
14216         free them.
14217
14218 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
14219
14220         * docs/manual/advanced-dparams.xml:
14221         * docs/pwg/advanced-dparams.xml:
14222           more dparam docs
14223         * gst/gstindex.c:
14224           fix docs
14225         * libs/gst/controller/lib.c: (gst_controller_init):
14226           init just once
14227
14228 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14229
14230         * gst/gstelement.c: (gst_element_message_full):
14231           also show file/line/func if no additional debug was given
14232
14233 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
14234         
14235         * win32/vs7/grammar.vcproj:
14236           activate copy of autogenerated files for Release mode
14237
14238 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14239         
14240         * win32/common/libgstreamer.def:
14241           export gst_value_compare
14242
14243 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
14244
14245         * plugins/elements/Makefile.am:
14246         * plugins/elements/gstelements.c:
14247         * plugins/elements/gstfdsink.c: (_do_init),
14248         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
14249         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
14250         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
14251         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
14252         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
14253         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
14254         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
14255         * plugins/elements/gstfdsink.h:
14256         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
14257
14258 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
14259
14260         * docs/manual/advanced-dparams.xml:
14261           describe controller
14262         * docs/manual/advanced-position.xml:
14263         * docs/manual/basics-init.xml:
14264         * docs/manual/manual.xml:
14265         * docs/manual/titlepage.xml:
14266         * docs/pwg/pwg.xml:
14267         * docs/pwg/titlepage.xml:
14268           cleanup xml (more to come)
14269         * libs/gst/controller/gstcontroller.c:
14270           fix typo
14271
14272 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
14273         
14274         * win32/vs6/grammar.dsp:
14275           add autogen of gstmarshal.c,h for Release mode
14276                 
14277 2006-01-30  Wim Taymans  <wim@fluendo.com>
14278
14279         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14280         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
14281         (gst_base_sink_handle_object), (gst_base_sink_event),
14282         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
14283         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14284         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
14285         (gst_base_sink_deactivate), (gst_base_sink_activate),
14286         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
14287         (gst_base_sink_query), (gst_base_sink_change_state):
14288         Basesink cleanups, remove some old code.
14289         Handle the case where a subclass can preroll in the render
14290         method (mostly audiosinks).
14291         Handle more events.
14292         Remove some locks around variables that are now protected
14293         with the PREROLL_LOCK (clock_id, flushing, ..).
14294         Optimize position query some more, do correct locking.
14295         Remove old code to push queue in state change, this is not
14296         needed anymore since preroll blocks on all prerollable items 
14297         now.
14298         Almost implemented as described in design doc.
14299
14300 2006-01-30  Wim Taymans  <wim@fluendo.com>
14301
14302         * tests/check/gst/gstbin.c: (GST_START_TEST):
14303         Wait for refcount to settle down before checking.
14304
14305 2006-01-30  Wim Taymans  <wim@fluendo.com>
14306
14307         * docs/design/part-element-sink.txt:
14308         Pseudo code overview of desired sink behaviour regarding
14309         preroll.
14310
14311 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14312         * win32/vs6/grammar.dsp:
14313           fix some bugs in Release mode for autogenerated files
14314                 
14315 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14316         * win32/common/libgstbase.def:
14317         * win32/common/libgstreamer.def:
14318           export some new symbols: gst_base_src_set_format,
14319           gst_iterator_next, gst_structure_set_valist
14320
14321 2006-01-29  Julien MOUTTE  <julien@moutte.net>
14322
14323         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
14324         Set pad functions unconditionally. Fixes #329105.
14325
14326 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
14327         * win32/vs8:
14328           add vs8 project files created by Sergey Scobich
14329
14330 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
14331
14332         * gst/gstutils.c: (gst_element_unlink_pads):
14333         Don't leak pad references.
14334
14335         * tests/check/elements/fakesink.c: (GST_START_TEST):
14336         * tests/check/generic/sinks.c: (GST_START_TEST):
14337         * tests/check/generic/states.c: (GST_START_TEST):
14338         * tests/check/gst/gstbin.c: (GST_START_TEST):
14339         * tests/check/gst/gstcaps.c: (GST_START_TEST):
14340         * tests/check/gst/gstelement.c: (GST_START_TEST):
14341         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
14342         * tests/check/gst/gstiterator.c: (GST_START_TEST):
14343         * tests/check/gst/gstvalue.c: (GST_START_TEST):
14344         Fix a bunch of leaks. Make generic/sinks.c
14345         use a bit less cpu by slowing the buffer rate
14346         between fakesrc and fakesink.
14347         
14348 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
14349         * gst/gstcaps.c:
14350         * gst/gstelement.c: (gst_element_send_event):
14351         * gst/gstevent.c:
14352         * gst/gstinfo.c:
14353         * gst/gstiterator.c:
14354         * gst/gstiterator.h:
14355         * gst/gstpad.c: (gst_pad_send_event):
14356         * gst/gststructure.c:
14357         * gst/gsturi.c:
14358         * gst/gstutils.c:
14359         * gst/gstvalue.c:
14360         * libs/gst/base/gstadapter.c:
14361           doc fixes, to link to function, just write gst_cool_function(), don't
14362           prefix with '#'
14363
14364 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14365
14366         * plugins/elements/gsttee.c: (gst_tee_do_push),
14367         (gst_tee_handle_buffer):
14368         Always prefer an actual return value from a src
14369         pad in place of NOT_LINKED. This means we return
14370         WRONG_STATE when all src pads are WRONG_STATE
14371         instead of NOT_LINKED.
14372
14373         Lock when replacing the last message to prevent
14374         racing with the get_property method.
14375
14376         Add debug output
14377
14378 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14379
14380         * tests/check/Makefile.am:
14381         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
14382         (main):
14383         Add a very simple check that should have caught the memleak I fixed
14384         last night (if not for the slice allocator hiding it)
14385
14386 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
14387
14388         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14389         (gst_bin_remove_func), (gst_bin_handle_message_func),
14390         (bin_query_duration_fold), (bin_query_generic_fold):
14391         Clean up references to the clock provider when disposed or when
14392         handling a clock-lost message from it.
14393
14394         Unref sinks when performing a query via gst_iterator_fold, as the
14395         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
14396
14397         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
14398         (gst_clock_set_master):
14399         Drop our reference to the master clock, if any, when we are disposed.
14400
14401         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
14402         Chain up in dispose. 
14403
14404 2006-01-26  Wim Taymans  <wim@fluendo.com>
14405
14406         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14407         Add some debugging.
14408
14409 2006-01-26  Julien MOUTTE  <julien@moutte.net>
14410
14411         * plugins/elements/gsttee.c: (gst_tee_do_push),
14412         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
14413         handles pad being NOT_LINKED or in WRONG_STATE.
14414
14415 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14416
14417         * win32/MANIFEST:
14418           more updating
14419
14420 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14421
14422         * win32/MANIFEST:
14423           remove obsolete entry
14424
14425 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
14426
14427         * docs/gst/gstreamer-sections.txt:
14428         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
14429         (gst_bin_iterate_sources), (gst_bin_send_event):
14430         * gst/gstbin.h:
14431         * gst/gstelement.c: (gst_element_send_event):
14432         * gst/gstevent.c:
14433         * gst/gstpad.c: (gst_pad_send_event):
14434           added code for downstream events, reviewed docs in gstevent.c
14435
14436 2006-01-25  Julien MOUTTE  <julien@moutte.net>
14437
14438         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
14439         We only query position using the clock in the playing state.
14440         Query peer in the other cases.
14441         * win32/common/config.h: Updates.
14442
14443 2006-01-24  Wim Taymans  <wim@fluendo.com>
14444
14445         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
14446         A clock entry that is scheduled for the exact time of the
14447         clock is still in time.
14448
14449         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14450         (gst_base_sink_do_sync):
14451         Add some more debug info.
14452
14453 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14454
14455         * win32/vs7:
14456           Add new vs7 project files and solution.
14457
14458 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
14459
14460         * win32/vs7:
14461           all files removed as they were out-dated.
14462
14463 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14464
14465         * docs/random/release:
14466           update notes
14467         * gst/gstbin.c: (gst_bin_init):
14468         * gst/gstbus.c: (gst_bus_new):
14469         * gst/gstbus.h:
14470         * gst/gstpipeline.c: (gst_pipeline_init):
14471           use gst_bus_new(), improve logging, fix docs
14472         * win32/common/config.h:
14473           update for cvs build
14474
14475 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14476
14477         * autogen.sh:
14478           up required version of automake to 1.7
14479
14480 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
14481
14482         * win32/common/libgstreamer.def:
14483           export gst_buffer_is_metadata_writable
14484
14485 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
14486
14487         * docs/gst/gstreamer-sections.txt:
14488         * gst/gstevent.h:
14489           Add gst_event_replace() (#327001)
14490
14491 2006-01-20  Wim Taymans  <wim@fluendo.com>
14492
14493         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14494         Make it actually compile too..
14495
14496 2006-01-20  Wim Taymans  <wim@fluendo.com>
14497
14498         * gst/gstcaps.c:
14499         Clarify behaviour of _is_equal() when passing NULL parameters.
14500
14501         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14502         (gst_pad_set_caps):
14503         Cleanups. Don't unref NULL caps.
14504         When setting the same caps, protect caps of the pad with
14505         proper lock.
14506         Use full functionality of _is_equal() when comparing caps.
14507
14508 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14509
14510         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14511         Don't loop infinitely if there are no buffers to present. Partially
14512         fixes #327197, but collectpads is just broken for reusing elements
14513         to do multiple encodes atm.
14514
14515 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
14516
14517         * tools/gst-inspect.c: (print_element_features):
14518         * tools/gst-xmlinspect.c: (main):
14519         URL_HANDLER is not a plugin feature we can search for in
14520         the registry.
14521
14522 2006-01-19  Edward Hervey  <edward@fluendo.com>
14523
14524         * gst/gstelement.c: (gst_element_pads_activate): 
14525         When activating, do src pads first, then sink pads.
14526         When de-activating, do sink pads first, then src pads.
14527
14528 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14529
14530         * docs/gst/gstreamer-sections.txt:
14531         Add gst_index_add_associationv to the docs
14532
14533 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14534
14535         * gst/gstevent.c:
14536           Fix docs typo
14537
14538         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
14539         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
14540           Do some refactoring. Doesn't actually change functionality,
14541           but makes landing the DRAIN event easier later.
14542
14543 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
14544
14545         * docs/pwg/advanced-scheduling.xml:
14546           Update from 0.9.x to 0.10 API and make example a bit
14547           clearer.
14548
14549 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14550
14551         * docs/gst/gstreamer-sections.txt:
14552         Add gst_buffer_(is|make)_metadata_writable methods.
14553
14554 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
14555
14556         * docs/design/part-sparsestreams.txt:
14557         Update sparse streams doc, hopefully for greater clarity
14558
14559 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
14560
14561         * docs/design/part-events.txt:
14562         Remove mention of FILLER events.
14563         Add DRAIN event.
14564
14565         * docs/design/part-sparsestreams.txt:
14566         Write some things about using NEWSEGMENT to keep sparse streams
14567         flowing.
14568
14569 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14570
14571         * gst/gstbin.c: (gst_bin_dispose):
14572           Guard gst_object_unref call against a NULL object (dispose
14573           can theoretically be called multiple times).
14574           
14575 2006-01-18  Wim Taymans  <wim@fluendo.com>
14576
14577         * gst/gstbin.c: (gst_bin_element_set_state):
14578         * gst/gstclock.c: (gst_clock_id_wait):
14579         Added some more debug info.
14580
14581         * libs/gst/base/gstadapter.c:
14582         Added more docs.
14583
14584         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14585         (gst_base_sink_do_sync), (gst_base_sink_chain):
14586         Added some comments.
14587
14588 2006-01-18  Wim Taymans  <wim@fluendo.com>
14589
14590         * tests/check/Makefile.am:
14591         * tests/check/elements/fakesink.c: (chain_async_buffer),
14592         (chain_async), (chain_async_return), (GST_START_TEST),
14593         (fakesink_suite), (main):
14594         Added fakesink test that checks prerolling and clipping
14595         behaviour.
14596
14597         * tests/check/gst/gstutils.c: (GST_START_TEST):
14598         Make check run faster so that buildbots don't timeout.
14599
14600 2006-01-18  Wim Taymans  <wim@fluendo.com>
14601
14602         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14603         (gst_base_sink_do_sync):
14604         Some cleanups.
14605         When the sink finishes blocking on the preroll buffer, it can
14606         immediatly render it instead of rendering when the next buffer
14607         arrives.
14608
14609 2006-01-18  Wim Taymans  <wim@fluendo.com>
14610
14611         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
14612         (gst_base_sink_get_property), (gst_base_sink_do_sync),
14613         (gst_base_sink_chain):
14614         Small cleanups.
14615         GST_ELEMENT_CLOCK and sync are protected with LOCK.
14616         Don't store _last_stop if the buffer is dropped.
14617
14618 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
14619
14620         * plugins/elements/gsttypefindelement.c:
14621         (gst_type_find_element_class_init):
14622           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
14623           object method handler that sets the caps on the pad and we want
14624           that to happen before we emit the signal (fixes e.g. feeding a
14625           plain text file to decodebin).
14626
14627 2006-01-18  Christian Schaller  <Christian@fluendo.com>
14628
14629         * gst/gstplugin.c: Add MPL and Proprietary as license options
14630
14631 2006-01-18  Andy Wingo  <wingo@pobox.com>
14632
14633         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
14634         symbol was exported before, it appears this was just an oversight.
14635         Fixes #168703.
14636         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
14637
14638         * gst/gstindex.c (gst_index_add_associationv): Changed int in
14639         prototype to gint. OK since this prototype was not in the header.
14640
14641 2006-01-17  Andy Wingo  <wingo@pobox.com>
14642
14643         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
14644         registry while we remove plugins.
14645
14646         * tools/gst-inspect.c (print_element_info): Don't unref the
14647         factory arg, that should be the responsibility of whatever code
14648         received the ref. Fixes a double-free when called from
14649         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
14650         (main): Unref the factory if we have one.
14651         (print_element_list): No change -- relies on the
14652         plugin_feature_list_free to free the list of features.
14653
14654 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
14655
14656         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14657         (gst_buffer_make_metadata_writable):
14658         * gst/gstbuffer.h:
14659         * libs/gst/base/gstbasetransform.c:
14660         (gst_base_transform_prepare_output_buf):
14661         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14662         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14663           Replace gst_buffer_(make|is)_metadata_writable patch now
14664           that the release is out.
14665
14666 2006-01-17  Andy Wingo  <wingo@pobox.com>
14667
14668         * gst/gstregistry.c: Reflow design comment. Update so as to speak
14669         in the present tense without reference to versions.
14670
14671         * gst/gstregistry.c (gst_registry_add_plugin)
14672         (gst_registry_remove_plugin, gst_registry_remove_feature)
14673         (gst_registry_find_feature, gst_registry_get_feature_list)
14674         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
14675         (gst_registry_lookup, gst_registry_scan_path)
14676         (_gst_registry_remove_cache_plugins)
14677         (gst_registry_get_feature_list_by_plugin): Add argument
14678         validation.
14679
14680 === release 0.10.2 ===
14681
14682 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
14683
14684         * configure.ac:
14685           releasing 0.10.2, "If man is five"
14686
14687 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14688
14689         * gst/gstbuffer.c:
14690         * gst/gstbuffer.h:
14691         * libs/gst/base/gstbasetransform.c:
14692         (gst_base_transform_prepare_output_buf):
14693         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14694         * tests/check/gst/gstbuffer.c: (gst_test_suite):
14695           Back out patch until after the release.
14696
14697 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14698
14699         * gst/gstminiobject.c:
14700           Spelling fix in docs.
14701         * ChangeLog - remove conflict indicator
14702
14703 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
14704
14705         Reviewed By: Andy Wingo
14706
14707         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
14708         (gst_buffer_make_metadata_writable):
14709         * gst/gstbuffer.h:
14710           Add gst_buffer_(is|make)_metadata_writable as analogues of
14711           gst_buffer_(is|make)_writable.
14712
14713         * libs/gst/base/gstbasetransform.c:
14714         (gst_base_transform_prepare_output_buf):
14715         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
14716           Use name gst_buffer_(is|make)_metadata_writable functions.
14717
14718         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14719           Test gst_buffer_(is|make)_metadata_writable
14720         
14721           (Closes: #324162)
14722
14723 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14724
14725         * docs/manual/Makefile.am:
14726           don't do parallel make
14727         * configure.ac:
14728           AC_SUBST HOST_CPU
14729         * win32/common/config.h.in:
14730           add generations for HOST_CPU and GST_MAJORMINOR
14731         * win32/common/config.h:
14732           commit generated result
14733
14734 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
14735
14736         * docs/manual/appendix-integration.xml:
14737           Update GNOME integration section to use gst_init_get_option_group()
14738           instead of the old popt stuff (#322911). Also, GNOME applications
14739           should  now use gconf*sink and gconf*src instead of the old gconf
14740           helper lib we had.
14741
14742 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
14743
14744
14745         * docs/gst/gstreamer-docs.sgml:
14746         * docs/gst/gstreamer-sections.txt:
14747         * docs/libs/gstreamer-libs-sections.txt:
14748           add new API entries to the docs
14749         * libs/gst/controller/Makefile.am:
14750         * libs/gst/controller/gstcontroller.c:
14751         * libs/gst/controller/gstcontroller.h:
14752         * libs/gst/controller/gstcontrollerprivate.h:
14753         * libs/gst/controller/gsthelper.c:
14754         * libs/gst/controller/gstinterpolation.c:
14755           move private structs to private header
14756         * po/README:
14757           gstreamer-0.7 -> gstreamer-0.10
14758         * tests/check/libs/struct_i386.h:
14759           remove private structs
14760
14761 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14762
14763         * plugins/indexers/Makefile.am:
14764           Fixes as part of #317048
14765
14766 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14767
14768         * plugins/indexers/Makefile.am:
14769           fix #316086 - compilation when mmap is missing
14770
14771 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
14772
14773         * libs/gst/base/gstbasesink.c:
14774           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
14775           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
14776         * win32/common/config.h:
14777           added some defines GST_MAJORMINOR and HOST_CPU
14778         * win32/common/libgstbase.def:
14779         * win32/common/libgstreamer.def:
14780           added some exported functions.
14781
14782 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14783
14784         * libs/gst/controller/gstcontroller.c:
14785         (gst_controlled_property_set_interpolation_mode),
14786         (gst_controlled_property_new):
14787         * libs/gst/controller/gstcontroller.h:
14788         * libs/gst/controller/gstinterpolation.c:
14789         (interpolate_none_get_string_value_array):
14790           make G_TYPE_STRING controlable
14791
14792 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
14793
14794         * tools/README:
14795         * tools/gst-feedback.1.in:
14796         * tools/gst-inspect.1.in:
14797         * tools/gst-launch.1.in:
14798         * tools/gst-md5sum.1.in:
14799         * tools/gst-typefind.1.in:
14800         * tools/gst-xmlinspect.1.in:
14801         * tools/gst-xmllaunch.1.in:
14802           cleanup man-pages, remove reference to gst-register, document env-vars
14803
14804 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
14805
14806         * gst/gstbuffer.c: (gst_buffer_span):
14807           gst_buffer_span should copy the timestamp of the first buffer
14808           if they were both originally overlapping subbuffers of the 
14809           same parent, using the same logic as the 'slow copy' case.
14810
14811 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
14812
14813         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
14814           Need to awaken ALL the pads when we pop a buffer, otherwise
14815           collectpads only works when there is 2 input streams.
14816
14817 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
14818
14819         * docs/random/ensonic/media-device-daemon.txt:
14820           more ideas (dbus)
14821         * gst/gstbuffer.c:
14822           fix doc example, add clarification
14823         * tools/gst-launch.1.in:
14824           add initial info about GST_PLUGIN_PATH, needs more work
14825
14826 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
14827
14828         * docs/manual/basics-bins.xml:
14829         * docs/manual/basics-elements.xml:
14830         * docs/manual/intro-basics.xml:
14831           Some more minor docs additions and updates.
14832
14833 2006-01-11  Wim Taymans  <wim@fluendo.com>
14834
14835         * docs/manual/basics-bins.xml:
14836         * docs/manual/basics-elements.xml:
14837         Some small fixes as pointed out by Ser-ver on IRC.
14838
14839 2006-01-10  Edward Hervey  <edward@fluendo.com>
14840
14841         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14842         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
14843         the single-segment mode.
14844
14845 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
14846
14847         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14848
14849         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
14850         (gst_base_src_perform_seek), (gst_base_src_send_event),
14851         (gst_base_src_set_property), (gst_base_src_get_property),
14852         (gst_base_src_loop), (gst_base_src_start),
14853         (gst_base_src_activate_push):
14854         * libs/gst/base/gstbasesrc.h:
14855           Name (private) union; makes Sun's Forte compiler happy (#324900).
14856
14857 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
14858
14859         * README:
14860           gst-register is gone.
14861
14862 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14863
14864         * gst/gstvalue.c: (_gst_value_initialize):
14865           make the G_TYPE_DATE instantiation work if debug is disabled
14866
14867 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
14868
14869         * gst/gstmessage.c: (gst_message_parse_tag),
14870         (gst_message_parse_error), (gst_message_parse_warning):
14871           Don't crash when return location for error/warning debug
14872           string is NULL; add fact that return locations can be
14873           NULL to docs where appropriate.
14874
14875 2006-01-05  Wim Taymans  <wim@fluendo.com>
14876
14877         * gst/gstplugin.c: (gst_plugin_load_file):
14878         Replace strdup by g_strdup.
14879
14880 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14881
14882         * docs/pwg/advanced-types.xml:
14883           fix doc borkage
14884
14885 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14886
14887         submitted by: Abel Cheung
14888
14889         * po/LINGUAS:
14890         * po/zh_TW.po:
14891           Added Chinese (traditional) translation
14892
14893 2006-01-04  Wim Taymans  <wim@fluendo.com>
14894
14895         * docs/manual/basics-pads.xml:
14896         * docs/plugins/Makefile.am:
14897         * docs/plugins/gstreamer-plugins-docs.sgml:
14898         * docs/plugins/gstreamer-plugins-sections.txt:
14899         * docs/pwg/advanced-clock.xml:
14900         * docs/pwg/advanced-scheduling.xml:
14901         * docs/pwg/advanced-types.xml:
14902         * plugins/elements/gstfdsink.c:
14903         * plugins/elements/gstfdsrc.c:
14904         * plugins/elements/gstfdsrc.h:
14905         * plugins/elements/gstidentity.c: (gst_identity_class_init):
14906         * plugins/elements/gstidentity.h:
14907         * plugins/elements/gstqueue.h:
14908         * plugins/elements/gsttee.c:
14909         * plugins/elements/gsttee.h:
14910         * plugins/elements/gsttypefindelement.c:
14911         (gst_type_find_element_class_init):
14912         * plugins/elements/gsttypefindelement.h:
14913         Small updates to various docs.
14914         Added core plugins to docs.
14915
14916 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14917
14918         * common/gst.supp:
14919           add a suppression for liboil's uninitialized variable
14920
14921 2006-01-02  James Livingston  <jrl at ids dot org dot au>
14922
14923         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
14924
14925         * gst/gstutils.h:
14926           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
14927           macro, so that gcc doesn't complain if the -Wmissing-prototypes
14928           compiler switch is being used (#325429).
14929
14930 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
14931
14932         * gst/gstbin.c: (gst_bin_query):
14933           Disable duration query caching in bins until it gets
14934           fixed (see #324807).
14935
14936 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14937
14938         * tools/gst-inspect.c: (print_element_properties_info):
14939           Handle properties of POINTER and BOXED type.
14940
14941 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
14942
14943         * gst/gst.c: (init_post):
14944           Init tags stuff and some other things before loading
14945           any static plugins (there may be other static plugins
14946           than just the GStreamer ones, and they may want to
14947           register their own tags or formats or whatever, and
14948           preferably without segfaulting).
14949
14950         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
14951           Print at least a warning in the debug logs if we drop a
14952           query just because we don't know how to adjust the value
14953           in the particular format.
14954
14955 2005-12-24  David Schleef  <ds@schleef.org>
14956
14957         * tools/gstreamer-completion:
14958           Replacement for gst-complete written in sh and sed.  Only
14959           completes names of features, but that's 90% of what I want
14960           it for.  Properties are not available in registry.xml.  (Maybe
14961           they should be...)
14962
14963 === release 0.10.1 ===
14964
14965 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
14966
14967         * configure.ac:
14968           releasing 0.10.1, "Nollaig chridheil"
14969
14970 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * docs/faq/cvs.xml:
14973           Add missing quote, should be make ERROR_CFLAGS="".
14974
14975 2005-12-20  Wim Taymans  <wim@fluendo.com>
14976
14977         * docs/design/part-trickmodes.txt:
14978         More documentation on trickmodes.
14979
14980 2005-12-20  Edward Hervey  <edward@fluendo.com>
14981
14982         * gst/gstcaps.c: (gst_static_caps_get_type):
14983         * gst/gstcaps.h:
14984           API addition: GST_TYPE_STATIC_CAPS
14985         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
14986         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
14987         * gst/gstpadtemplate.h:
14988           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
14989         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
14990         bindings.
14991
14992 2005-12-18  Wim Taymans  <wim@fluendo.com>
14993
14994         * libs/gst/base/gstadapter.c:
14995         * libs/gst/base/gstadapter.h:
14996         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14997         (gst_base_sink_get_position):
14998         * libs/gst/base/gstbasesink.h:
14999         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15000         (gst_base_src_default_query), (gst_base_src_default_do_seek),
15001         (gst_base_src_do_seek), (gst_base_src_perform_seek),
15002         (gst_base_src_send_event), (gst_base_src_update_length),
15003         (gst_base_src_get_range), (gst_base_src_loop),
15004         (gst_base_src_start):
15005         * libs/gst/base/gstbasesrc.h:
15006         * libs/gst/base/gstbasetransform.h:
15007         * libs/gst/base/gstcollectpads.h:
15008         * libs/gst/base/gstpushsrc.c:
15009         * libs/gst/base/gstpushsrc.h:
15010         * libs/gst/dataprotocol/dataprotocol.c:
15011         * libs/gst/dataprotocol/dataprotocol.h:
15012         * libs/gst/net/gstnetclientclock.h:
15013         * libs/gst/net/gstnettimeprovider.h:
15014         Documentation updates.
15015
15016 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
15017
15018         * docs/manual/basics-helloworld.xml:
15019           Remove superfluous closing bracket in helloworld example.
15020
15021 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
15022
15023         * tools/gst-launch.1.in:
15024           Update gst-launch man page; add a section with useful
15025           environment variables. Fixes #323882.
15026
15027 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
15028
15029         * gst/gst.c:
15030         * gst/gst_private.h:
15031           change some char* into char[]
15032
15033 2005-12-16  Wim Taymans  <wim@fluendo.com>
15034
15035         * gst/gstregistryxml.c: (load_feature):
15036         Cleanups.
15037         Don't use g_object_unref on GstObjects so that we avoid
15038         leaks on unsafe glibs.
15039
15040 2005-12-16  Wim Taymans  <wim@fluendo.com>
15041
15042         * gst/gstbin.c: (gst_bin_recalc_state):
15043         Small doc updates.
15044
15045 2005-12-16  Wim Taymans  <wim@fluendo.com>
15046
15047         * common/check.mak:
15048         Added make forever target for check.
15049
15050 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
15051
15052         * gst/gst.c: (init_post):
15053           make the registry cache file HOST_CPU-dependent
15054
15055 2005-12-16  Andy Wingo  <wingo@pobox.com>
15056
15057         * plugins/elements/gstbufferstore.c
15058         (gst_buffer_store_cleared_func): Pay attention to g_list_append
15059         return value.
15060
15061         * tests/check/gst/gstobject.c
15062         (test_fake_object_name_threaded_unique): Pay attention to
15063         g_list_sort return value.
15064
15065 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
15066
15067         * tools/gst-feedback-m.m:
15068           Update for 0.9/0.10 (fixes #323870).
15069
15070 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
15071
15072         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
15073           Fix lcopy for mini objects, the mini object needs to be ref'ed.
15074           
15075         * tests/check/gst/gstminiobject.c: (my_foo_init),
15076         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
15077         (test_value_collection), (gst_mini_object_suite):
15078           Add test to ensure refcounts end up as expected when passing
15079           GstMiniObjects through g_object_get() and g_object_set().
15080
15081 2005-12-14  Julien MOUTTE  <julien@moutte.net>
15082
15083         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15084         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
15085         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
15086         of collectpads. This version removes a lot of races without
15087         touching API/ABI. Yay !
15088
15089 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
15090
15091         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
15092           Don't allow activation of a srcpad in pull_range if it has no
15093           getrange function.
15094           Change some debug statements to be a little clearer
15095
15096         * plugins/elements/gsttypefindelement.c:
15097         (gst_type_find_handle_src_query):
15098           Check that we have a peer before executing queries thereupon.
15099
15100         * tests/examples/metadata/read-metadata.c: (message_loop):
15101           Use gst_bus_pop instead of gst_bus_poll when we just want it to
15102           immediately return us any available message with 0 timeout.
15103
15104 2005-12-12  Michael Smith  <msmith@fluendo.com>
15105
15106         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
15107           Don't unref factories after calling them.
15108         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
15109         * plugins/elements/gsttypefindelement.c:
15110         (gst_type_find_element_chain):
15111           Free lists of factories after using them. Fixing typefinding memory
15112           leaks.
15113
15114 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15115
15116         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
15117         (gst_plugin_feature_load):
15118           more meaningful debug output
15119         * configure.ac:
15120         * tests/Makefile.am:
15121         * tests/old/examples/Makefile.am:
15122           make make distcheck happy again
15123
15124 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15125
15126         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
15127           Catch the special case where we are operating chain-based,
15128           but the downstream peer pad has no chain function. Emit a
15129           custom error message in this case instead of letting the
15130           core generate one implying that this is some sort of core
15131           bug. It's not, it just means that whatever got plugged
15132           into the pipeline downstream when we announced the type
15133           can only operate pull-based, while our source can only
15134           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
15135           Error string has not been marked for translation yet, as
15136           it probably needs some more work first.
15137
15138         (gst_type_find_element_get_best_possibility):
15139           Add helper function to find the best of all available
15140           found possibilities that qualify given the min. threshold.
15141
15142         (gst_type_find_element_handle_event):
15143           Fix the case where we get an EOS while still in TYPEFIND
15144           mode (we want to chose the best of all possible types,
15145           not just the first type that happens to be in our unsorted
15146           list of possible types).
15147
15148         (gst_type_find_element_chain):
15149           Make sure we return GST_FLOW_ERROR when we errored out
15150           in stop_typefinding(); also, don't just find the best of
15151           all found type entries and then use the last examined
15152           type entry, but actually use the best entry.
15153
15154 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
15155
15156         * tests/examples/typefind/typefind.c: (type_found):
15157         * tests/examples/xml/runxml.c: (xml_loaded):
15158           More gcc4 fixes and a mem leak fix.
15159
15160 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15161
15162         * tests/examples/xml/createxml.c: (object_saved):
15163           gcc 4 fixes
15164
15165 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15166
15167         * tests/Makefile.am:
15168           enable the examples even more
15169
15170 2005-12-12  Andy Wingo  <wingo@pobox.com>
15171
15172         * libs/gst/net/gstnettimeprovider.c
15173         (gst_net_time_provider_class_init, gst_net_time_provider_init)
15174         (gst_net_time_provider_set_property)
15175         (gst_net_time_provider_get_property):
15176         API addition: Export "active" as a GObject property.
15177         (gst_net_time_provider_thread): Only respond to time queries if
15178         the time provider is active.
15179
15180         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
15181         NetTimeProvider, preserving binary compat.
15182
15183 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15184
15185         * tests/examples/controller/audio-example.c: (main):
15186         * tests/examples/launch/Makefile.am:
15187           convert comments again
15188
15189 2005-12-12  Wim Taymans  <wim@fluendo.com>
15190
15191         * libs/gst/base/gstpushsrc.c:
15192         Fix typo.
15193
15194 2005-12-12  Wim Taymans  <wim@fluendo.com>
15195
15196         * docs/libs/gstreamer-libs-sections.txt:
15197         Added new symbol to docs.
15198
15199         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15200         (gst_base_src_init), (gst_base_src_set_format),
15201         (gst_base_src_default_query), (gst_base_src_query),
15202         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
15203         (gst_base_src_perform_seek), (gst_base_src_send_event),
15204         (gst_base_src_default_event), (gst_base_src_event_handler),
15205         (gst_base_src_set_property), (gst_base_src_get_property),
15206         (gst_base_src_wait), (gst_base_src_do_sync),
15207         (gst_base_src_update_length), (gst_base_src_get_range),
15208         (gst_base_src_check_get_range), (gst_base_src_loop),
15209         (gst_base_src_default_negotiate), (gst_base_src_start),
15210         (gst_base_src_activate_push), (gst_base_src_activate_pull),
15211         (gst_base_src_change_state):
15212         * libs/gst/base/gstbasesrc.h:
15213         Implement seeking to other formats than _BYTES.
15214         Implement more seeking methods correctly.
15215         Doc updates.
15216         Added query vmethod.
15217         Added do_seek vmethod to make life easier for subclasses
15218         when seeking.
15219         API addition: gst_base_src_set_format()
15220
15221 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15222
15223         * tests/examples/Makefile.am:
15224           added that too
15225
15226 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
15227
15228         * configure.ac:
15229         * docs/random/ensonic/media-device-daemon.txt:
15230         * tests/examples/controller/.cvsignore:
15231         * tests/examples/controller/Makefile.am:
15232         * tests/examples/controller/audio-example.c: (main):
15233         * tests/examples/helloworld/.cvsignore:
15234         * tests/examples/helloworld/Makefile.am:
15235         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
15236         * tests/examples/launch/.cvsignore:
15237         * tests/examples/launch/Makefile.am:
15238         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
15239         * tests/examples/metadata/.cvsignore:
15240         * tests/examples/metadata/Makefile.am:
15241         * tests/examples/metadata/read-metadata.c: (message_loop),
15242         (make_pipeline), (print_tag), (main):
15243         * tests/examples/queue/.cvsignore:
15244         * tests/examples/queue/Makefile.am:
15245         * tests/examples/queue/queue.c: (event_loop), (main):
15246         * tests/examples/typefind/.cvsignore:
15247         * tests/examples/typefind/Makefile.am:
15248         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
15249         (main):
15250         * tests/examples/xml/.cvsignore:
15251         * tests/examples/xml/Makefile.am:
15252         * tests/examples/xml/createxml.c: (object_saved), (main):
15253         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
15254         * tests/old/examples/Makefile.am:
15255         * tests/old/examples/TODO:
15256         * tests/old/examples/controller/.cvsignore:
15257         * tests/old/examples/controller/Makefile.am:
15258         * tests/old/examples/controller/audio-example.c:
15259         * tests/old/examples/helloworld/.cvsignore:
15260         * tests/old/examples/helloworld/Makefile.am:
15261         * tests/old/examples/helloworld/helloworld.c:
15262         * tests/old/examples/launch/.cvsignore:
15263         * tests/old/examples/launch/Makefile.am:
15264         * tests/old/examples/launch/mp3parselaunch.c:
15265         * tests/old/examples/launch/mp3play:
15266         * tests/old/examples/manual/Makefile.am:
15267         * tests/old/examples/metadata/Makefile.am:
15268         * tests/old/examples/metadata/read-metadata.c:
15269         * tests/old/examples/queue/.cvsignore:
15270         * tests/old/examples/queue/Makefile.am:
15271         * tests/old/examples/queue/queue.c:
15272         * tests/old/examples/typefind/.cvsignore:
15273         * tests/old/examples/typefind/Makefile.am:
15274         * tests/old/examples/typefind/typefind.c:
15275         * tests/old/examples/xml/.cvsignore:
15276         * tests/old/examples/xml/Makefile.am:
15277         * tests/old/examples/xml/createxml.c:
15278         * tests/old/examples/xml/runxml.c:
15279           applied some simple fixing to some examples
15280           re-enabled the working examples
15281
15282 2005-12-12  Wim Taymans  <wim@fluendo.com>
15283
15284         * gst/gstsegment.c: (gst_segment_init),
15285         (gst_segment_set_last_stop), (gst_segment_set_seek),
15286         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15287         (gst_segment_to_running_time):
15288         Added more documentation.
15289         Make sure the last_pos value is updated properly.
15290         Make sure to_stream_time and to_running_time don't
15291         operate on wrong values.
15292
15293         * tests/check/gst/gstsegment.c: (GST_START_TEST):
15294         Update check.
15295
15296 2005-12-12  Michael Smith  <msmith@fluendo.com>
15297
15298         * plugins/elements/gsttypefindelement.c: (free_entry),
15299         (gst_type_find_element_chain):
15300           Now that we're not leaking factories, make sure we keep references
15301           to them while we need them.
15302
15303 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15304
15305         * tests/check/gst/struct_i386.h:
15306           ifdef out the XML structs
15307
15308 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
15309
15310         * gst/gstvalue.c: (gst_value_transform_double_fraction):
15311           floor is not needed, F is always positive; this obviates the
15312           need for adding -lm when building without libxml
15313
15314 2005-12-12  Wim Taymans  <wim@fluendo.com>
15315
15316         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15317         Take current playback rate into account when reporting
15318         the position.
15319
15320 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15321
15322         * docs/manual/mime-world.fig:
15323           Let's try this again, this time with a file that is
15324           actually in XFig format.
15325
15326 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15327
15328         * docs/manual/mime-world.fig:
15329           Add audioconvert element to diagram so that it
15330           matches the text and the code (fixes #319526).
15331
15332 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15333
15334         * docs/pwg/building-chainfn.xml:
15335         * docs/pwg/building-pads.xml:
15336         * docs/pwg/building-state.xml:
15337         * docs/pwg/other-source.xml:
15338           Update state change stuff for 0.10 (fixes #322969).
15339
15340 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15341
15342         * docs/manual/advanced-dataaccess.xml:
15343         * docs/manual/appendix-checklist.xml:
15344         * docs/manual/appendix-programs.xml:
15345         * docs/manual/basics-pads.xml:
15346         * docs/manual/highlevel-components.xml:
15347         * docs/manual/manual.xml:
15348           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
15349           add converters in front of pipelines; remove curly
15350           brackets for threads stuff, they no longer exist; use
15351           GST_TYPE_FRACTION for framerates; update some pieces of
15352           code to 0.10, but there's plenty more to do.
15353
15354         * docs/manual/appendix-porting.xml:
15355           Expand on asynchroneous state changes; s/0.9/0.10/;
15356           mention disappearance of gst_init_get_popt_table()
15357           (fixes #322916).
15358
15359 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
15360
15361         * docs/faq/using.xml:
15362           Spider no longer exists, and neither does gst-launch-ext.
15363           Update examples to use decodebin and playbin and put
15364           converters in front of sinks (fixes #323726).
15365
15366 2005-12-09  Michael Smith  <msmith@fluendo.com>
15367
15368         * plugins/elements/gsttypefindelement.c: (find_peek),
15369         (gst_type_find_element_chain):
15370           Fix leaking element factories in typefinding.
15371           Fix problem where we forgot about a probable type on non-seekable
15372           files, and thus later mis-typefound it.
15373
15374 2005-12-09  Michael Smith  <msmith@fluendo.com>
15375
15376         * common/m4/gst-makecontext.m4:
15377         * common/m4/gst-mcsc.m4:
15378         * configure.ac:
15379         * win32/common/config.h:
15380         * win32/common/config.h.in:
15381           Remove makecontext stuff; not used in 0.10 and causes problems on
15382           HPUX according to bug #322441
15383
15384 2005-12-07  Wim Taymans  <wim@fluendo.com>
15385
15386         * tests/check/Makefile.am:
15387         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
15388         (main):
15389         * tests/check/libs/struct_i386.h:
15390         Added ABI check for libs
15391
15392 2005-12-07  Wim Taymans  <wim@fluendo.com>
15393
15394         * tests/check/Makefile.am:
15395         And add the struct_i386.h to dist.
15396
15397 2005-12-07  Wim Taymans  <wim@fluendo.com>
15398
15399         * tests/check/Makefile.am:
15400         * tests/check/gst/.cvsignore:
15401         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
15402         (main):
15403         * tests/check/gst/struct_i386.h:
15404         Added check for ABI compatibility.
15405
15406 2005-12-07  Wim Taymans  <wim@fluendo.com>
15407
15408         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15409         (gst_fake_src_get_times), (gst_fake_src_create):
15410         Fix broken sync option, fixes #323259
15411
15412 2005-12-07  Wim Taymans  <wim@fluendo.com>
15413
15414         * gst/gstbuffer.c:
15415         Small docs update.
15416
15417         * gst/gstcaps.c: (gst_caps_is_equal):
15418         Don't assert on NULL <--> X. Fixes #323260
15419
15420         * gst/gstminiobject.c: (gst_mini_object_replace):
15421         If we're doing atomic operations, we might just as well use
15422         the proper way to get an atomic pointer.
15423
15424         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15425         Clean up debugging.
15426
15427 2005-12-07  Michael Smith  <msmith@fluendo.com>
15428
15429         * gst/parse/grammar.y:
15430           Remove handling of { } for threads.
15431
15432 2005-12-06  David Schleef  <ds@schleef.org>
15433
15434         * libs/gst/base/gstbasetransform.c: speling fix.
15435
15436 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15437
15438         * docs/libs/tmpl/gstdataprotocol.sgml:
15439         * docs/random/omega/testing/gstobject.c:
15440         * gst/gst.c:
15441         * gst/gstclock.c:
15442         * gst/gstelement.c:
15443         * gst/gstelementfactory.c:
15444         * gst/gsterror.c:
15445         * gst/gstevent.c:
15446         * gst/gstghostpad.c:
15447         * gst/gstinfo.c:
15448         * gst/gstpadtemplate.c:
15449         * gst/gstregistryxml.c:
15450         * gst/gsttaglist.c:
15451         * gst/gsttagsetter.c:
15452         * gst/gsttypefind.c:
15453         * gst/gstvalue.c:
15454         * libs/gst/base/gstbasesrc.c:
15455         * libs/gst/net/gstnetclientclock.c:
15456         * libs/gst/net/gstnettimeprovider.c:
15457         * plugins/elements/gstfakesrc.c:
15458         * plugins/elements/gstfdsrc.c:
15459         * plugins/elements/gstfilesrc.c:
15460         * plugins/elements/gstidentity.c:
15461         * plugins/elements/gstqueue.c:
15462         * plugins/elements/gsttypefindelement.c:
15463         * plugins/indexers/gstfileindex.c:
15464         * plugins/indexers/gstmemindex.c:
15465         * tests/check/gst/gsttag.c:
15466         * tests/old/examples/cutter/cutter.c:
15467         * tests/old/examples/mixer/mixer.c:
15468         * tests/old/examples/xml/runxml.c: (main):
15469         * tests/old/testsuite/caps/normalisation.c:
15470         * tests/old/testsuite/debug/global.c:
15471         * tests/old/testsuite/parse/parse1.c:
15472         * tools/gst-xmlinspect.c:
15473         * win32/common/dirent.c:
15474           expand tabs
15475
15476 === release 0.10.0 ===
15477
15478 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15479
15480         * configure.ac:
15481           releasing 0.10.0, "Maroilles"
15482
15483 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15484
15485         submitted by: Funda Wang <fundawang@linux.net.cn>
15486
15487         * po/LINGUAS:
15488         * po/zh_CN.po:
15489           added Chinese (Traditional) translation
15490
15491 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15492
15493         * docs/gst/gstreamer-sections.txt:
15494         * docs/libs/tmpl/gstdataprotocol.sgml:
15495         * docs/random/thomasvs/TODO:
15496         * gst/gstutils.c:
15497         * gst/gstutils.h:
15498           fix docs
15499
15500 2005-12-05  Andy Wingo  <wingo@pobox.com>
15501
15502         patch by: Wim Taymans <wim@fluendo.com>
15503
15504         * libs/gst/base/gstbasetransform.c
15505         (gst_base_transform_prepare_output_buf)
15506         (gst_base_transform_buffer_alloc):
15507         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
15508         alloc_buffer_and_set_caps.
15509
15510         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
15511         set_caps on the source pad.
15512         (gst_pad_alloc_buffer_and_set_caps): New function, does what
15513         alloc_buffer used to do. Fixes #322874.
15514
15515         * docs/gst/gstreamer-sections.txt: 
15516         * docs/design/part-negotiation.txt: 
15517         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
15518         changes.
15519
15520 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15521
15522         patch by: Sebastien Moutte
15523
15524         * win32/MANIFEST:
15525         * win32/common/config.h.in:
15526         * win32/vs6/libgstcontroller.dsp:
15527           win32 build fixes
15528
15529 2005-12-05  Wim Taymans  <wim@fluendo.com>
15530
15531         * gst/gstcaps.c: (gst_caps_is_equal):
15532         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15533         (gst_fake_src_create):
15534         Back out previous code changes, leave doc updates, file bugs 
15535         instead. 
15536
15537 2005-12-05  Wim Taymans  <wim@fluendo.com>
15538
15539         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
15540         (gst_fake_src_get_times), (gst_fake_src_create):
15541         * plugins/elements/gstfakesrc.h:
15542         Fix broken sync code.
15543
15544 2005-12-05  Wim Taymans  <wim@fluendo.com>
15545
15546         * gst/gstcaps.c: (gst_caps_is_equal):
15547         Comparing NULL against !NULL yields different caps, not a
15548         failure.
15549
15550 2005-12-05  Wim Taymans  <wim@fluendo.com>
15551
15552         * gst/gstpipeline.c:
15553         Fix small typo in docs.
15554
15555 2005-12-05  Andy Wingo  <wingo@pobox.com>
15556
15557         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
15558
15559         * gst/gst.c (init_post): remove hard-coded 0.9 location for
15560         registries/plugins with a MAJORMINOR one.
15561         (plugin_desc): Rename library from gstcoreleements to
15562         staticelements. Fixes #323222.
15563
15564 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
15565
15566         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
15567           Change debug category to 'collectpads' from 'collect_pads'
15568           (fixes #323250).
15569
15570 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15571
15572         patch by: Sebastien Moutte
15573
15574         * libs/gst/controller/gstinterpolation.c:
15575           use convert function for uint64/double
15576         * win32/vs6/libgstcontroller.dsp:
15577           link to GLib
15578
15579 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
15580
15581         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
15582         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
15583         * gst/gstutils.h:
15584         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
15585           add tests that seem to show that the guint64/gdouble conversions
15586           are correct.
15587
15588 2005-12-02  Wim Taymans  <wim@fluendo.com>
15589
15590         * gst/gstregistry.c: (gst_registry_add_path):
15591         * gst/gstregistry.h:
15592         * gst/gstregistryxml.c:
15593         Fix docs again.
15594
15595 2005-12-02  Wim Taymans  <wim@fluendo.com>
15596
15597         * gst/gstutils.c: (gst_util_uint64_scale_int64),
15598         (gst_util_uint64_scale_int):
15599         Small cleanup.
15600
15601         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15602         Add debug log line.
15603
15604         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
15605         Add FIXME.
15606
15607 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15608
15609         * win32/MANIFEST:
15610         * win32/common/config.h:
15611         * win32/vs6/gstreamer.dsw:
15612         * win32/vs6/libgstcoreelements.dsp:
15613         * win32/vs6/libgstelements.dsp:
15614           renamed core elements plugin
15615
15616 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
15617
15618         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
15619         (get_candidates):
15620           do piece-wise major/minor comparison so 0.9 < 0.10
15621           also allow .exe extensions for tools
15622
15623 2005-12-02  Michael Smith  <msmith@fluendo.com>
15624
15625         * gst/gst.c:
15626           Escape a % to make gtkdoc happier; bug 322958.
15627
15628 === release 0.9.7 ===
15629
15630 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15631
15632         * configure.ac:
15633           releasing 0.9.7, "My Dog Has No Nose"
15634
15635 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15636
15637         * common/gst-xmlinspect.py:
15638         * configure.ac:
15639         * docs/libs/tmpl/gstdataprotocol.sgml:
15640         * docs/random/release:
15641         * po/af.po:
15642         * po/az.po:
15643         * po/bg.po:
15644         * po/ca.po:
15645         * po/cs.po:
15646         * po/de.po:
15647         * po/en_GB.po:
15648         * po/fr.po:
15649         * po/it.po:
15650         * po/nb.po:
15651         * po/nl.po:
15652         * po/ru.po:
15653         * po/sq.po:
15654         * po/sr.po:
15655         * po/sv.po:
15656         * po/tr.po:
15657         * po/uk.po:
15658         * po/vi.po:
15659         * win32/common/config.h:
15660         * win32/common/config.h.in:
15661         * win32/vs6/gst_inspect.dsp:
15662         * win32/vs6/gst_launch.dsp:
15663         * win32/vs6/libgstbase.dsp:
15664         * win32/vs6/libgstelements.dsp:
15665         * win32/vs6/libgstreamer.dsp:
15666         * win32/vs7/GStreamer.vcproj:
15667         * win32/vs7/gst-inspect.vcproj:
15668         * win32/vs7/gst-launch.vcproj:
15669         * win32/vs7/libgstbase.vcproj:
15670           bump GST_MAJORMINOR to 0.10
15671           reset libtool version
15672
15673 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15674
15675         * po/LINGUAS:
15676         * po/bg.po:
15677           Added Bulgarian translation by (Alexander Shopov)
15678
15679 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15680
15681         * tests/check/gst/gstplugin.c:
15682           fix test
15683
15684 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15685
15686         * common/gst-xmlinspect.py:
15687         * common/gtk-doc-plugins.mak:
15688         * configure.ac:
15689         * docs/Makefile.am:
15690         * docs/gst/Makefile.am:
15691         * docs/gst/gstreamer-docs.sgml:
15692         * docs/gst/gstreamer-sections.txt:
15693         * docs/gst/gstreamer.types:
15694         * docs/gst/gstreamer.types.in:
15695         * docs/plugins/Makefile.am:
15696         * docs/plugins/gstreamer-plugins-docs.sgml:
15697         * docs/plugins/gstreamer-plugins-sections.txt:
15698         * docs/plugins/gstreamer-plugins.types:
15699         * docs/plugins/inspect.stamp:
15700         * docs/plugins/inspect/plugin-coreelements.xml:
15701         * docs/plugins/inspect/plugin-coreindexers.xml:
15702         * docs/plugins/scanobj-build.stamp:
15703         * gstreamer.spec.in:
15704         * plugins/elements/Makefile.am:
15705         * plugins/elements/gstelements.c:
15706         * plugins/elements/gstfakesink.c:
15707         * plugins/elements/gstfakesrc.c:
15708         * plugins/elements/gstfilesink.c:
15709         * plugins/elements/gstfilesrc.c:
15710         * plugins/elements/gstqueue.c:
15711         * plugins/indexers/Makefile.am:
15712         * plugins/indexers/gstindexers.c:
15713           document core plugins in a separate document just like all the
15714           others
15715           rename these plugins to something starting with core
15716
15717 2005-12-01  Andy Wingo  <wingo@pobox.com>
15718
15719         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
15720         padding here before, but it missed the commit.
15721
15722 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15723
15724         * libs/gst/controller/gstinterpolation.c:
15725           whitespace prices have crashed, we should feel free to use some now
15726           use gst_guint64_to_gdouble
15727
15728 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15729
15730         * libs/gst/controller/gstcontroller.c:
15731         * libs/gst/controller/gsthelper.c:
15732         * libs/gst/controller/gstinterpolation.c:
15733         * libs/gst/controller/lib.c:
15734           wrap config.h include
15735
15736 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15737
15738         * docs/gst/gstreamer-sections.txt:
15739           update docs
15740
15741 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
15742
15743         * plugins/elements/gstelements.c:
15744         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
15745         (gst_fd_sink__class_init), (gst_fd_sink__init),
15746         (gst_fd_sink__chain), (gst_fd_sink__set_property),
15747         (gst_fd_sink__get_property):
15748         * plugins/elements/gstfdsink.h:
15749         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
15750         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
15751         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
15752         (gst_fd_src_unlock), (gst_fd_src_set_property),
15753         (gst_fd_src_get_property), (gst_fd_src_create),
15754         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
15755         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
15756         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
15757         (gst_fd_src_uri_handler_init):
15758         * plugins/elements/gstfdsrc.h:
15759         * plugins/elements/gstqueue.c: (gst_queue_get_type):
15760           more anal cleanup
15761
15762 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15763
15764         * docs/gst/Makefile.am:
15765         * docs/gst/gstreamer.types.in:
15766         * gst/Makefile.am:
15767           fix the docs build
15768
15769 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15770
15771         * configure.ac:
15772         * gst/Makefile.am:
15773         * gst/gst.c:
15774         * gst/gstplugin.h:
15775         * gst/gstregistry.h:
15776         * tests/benchmarks/complexity.c:
15777         * tests/benchmarks/mass-elements.c:
15778         * tests/check/Makefile.am:
15779         * tools/Makefile.am:
15780         * tools/gst-inspect.c:
15781         * tools/gst-xmlinspect.c:
15782           various fixes to make
15783           --disable-nls --disable-registry --disable-loadsave
15784           --disable-parse --disable-gst-debug
15785           work and get the core .so down to 360444 bytes after stripping
15786
15787 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15788
15789         * Makefile.am:
15790         * configure.ac:
15791           descend into tests
15792         * docs/random/thomasvs/TODO:
15793         * tests/Makefile.am:
15794         * tests/README:
15795           add a README
15796
15797 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15798
15799         * win32/GStreamer.vcproj:
15800         * win32/MANIFEST:
15801         * win32/Makefile:
15802         * win32/Makefile.inspect:
15803         * win32/Makefile.launch:
15804         * win32/Makefile.register:
15805         * win32/README.txt:
15806         * win32/gst-inspect.vcproj:
15807         * win32/gst-launch.vcproj:
15808         * win32/gst-register.vcproj:
15809         * win32/gstelements.vcproj:
15810         * win32/gstgetbits.def:
15811         * win32/gstgetbits.vcproj:
15812         * win32/gstreamer-dbg.def:
15813         * win32/gstreamer.def:
15814         * win32/libgstbase.def:
15815         * win32/libgstbase.vcproj:
15816         * win32/link_oldruntime.c:
15817         * win32/mman.c:
15818         * win32/mman.h:
15819         * win32/mman.inl:
15820         * win32/msvc71.sln:
15821           move even more stuff, win32/ is nice and clean now
15822
15823 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15824
15825         * libs/gst/control/.cvsignore:
15826         * win32/MANIFEST:
15827         * win32/config.h:
15828         * win32/dirent.c:
15829         * win32/dirent.h:
15830         * win32/gstbytestream.def:
15831         * win32/gstbytestream.vcproj:
15832         * win32/gstconfig.h:
15833         * win32/gstenumtypes.c:
15834         * win32/gstenumtypes.h:
15835         * win32/gstoptimalscheduler.vcproj:
15836         * win32/gstversion.h:
15837         * win32/gtchar.h:
15838         * win32/testsuite/bins.vcproj:
15839         * win32/testsuite/bytestream.vcproj:
15840         * win32/testsuite/caps.vcproj:
15841         * win32/testsuite/cleanup.vcproj:
15842         * win32/testsuite/clock.vcproj:
15843         * win32/testsuite/debug.vcproj:
15844         * win32/testsuite/dlopen.vcproj:
15845         * win32/testsuite/dynparams.vcproj:
15846         * win32/testsuite/elements.vcproj:
15847         * win32/testsuite/ghostpads.vcproj:
15848         * win32/testsuite/indexers.vcproj:
15849         * win32/testsuite/negotiation.vcproj:
15850         * win32/testsuite/parse.vcproj:
15851         * win32/testsuite/plugin.vcproj:
15852         * win32/testsuite/refcounting.vcproj:
15853         * win32/testsuite/schedulers.vcproj:
15854         * win32/testsuite/states.vcproj:
15855         * win32/testsuite/tags.vcproj:
15856         * win32/testsuite/threads.vcproj:
15857           remove old win32 stuff that isn't maintained and should be
15858           reorganized
15859
15860 2005-11-30  Andy Wingo  <wingo@pobox.com>
15861
15862         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
15863         loading the gst.interfaces python module bork.
15864
15865         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
15866         available since GLib 2.2. Fixes #318031.
15867
15868 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
15869
15870         * Makefile.am:
15871         * check/.cvsignore:
15872         * check/Makefile.am:
15873         * check/elements/.cvsignore:
15874         * check/elements/fakesrc.c:
15875         * check/elements/fdsrc.c:
15876         * check/elements/identity.c:
15877         * check/generic/.cvsignore:
15878         * check/generic/states.c:
15879         * check/gst-libs/.cvsignore:
15880         * check/gst-libs/controller.c:
15881         * check/gst-libs/gdp.c:
15882         * check/gst/.cvsignore:
15883         * check/gst/capslist.h:
15884         * check/gst/gst.c:
15885         * check/gst/gstbin.c:
15886         * check/gst/gstbuffer.c:
15887         * check/gst/gstbus.c:
15888         * check/gst/gstcaps.c:
15889         * check/gst/gstelement.c:
15890         * check/gst/gstevent.c:
15891         * check/gst/gstghostpad.c:
15892         * check/gst/gstiterator.c:
15893         * check/gst/gstmessage.c:
15894         * check/gst/gstminiobject.c:
15895         * check/gst/gstobject.c:
15896         * check/gst/gstpad.c:
15897         * check/gst/gstpipeline.c:
15898         * check/gst/gstplugin.c:
15899         * check/gst/gstsegment.c:
15900         * check/gst/gststructure.c:
15901         * check/gst/gstsystemclock.c:
15902         * check/gst/gsttag.c:
15903         * check/gst/gstutils.c:
15904         * check/gst/gstvalue.c:
15905         * check/net/.cvsignore:
15906         * check/net/gstnetclientclock.c:
15907         * check/net/gstnettimeprovider.c:
15908         * check/pipelines/.cvsignore:
15909         * check/pipelines/cleanup.c:
15910         * check/pipelines/simple_launch_lines.c:
15911         * check/pipelines/stress.c:
15912         * check/states/.cvsignore:
15913         * check/states/sinks.c:
15914         * configure.ac:
15915         * examples/Makefile.am:
15916         * examples/appreader/.cvsignore:
15917         * examples/appreader/Makefile.am:
15918         * examples/appreader/appreader.c:
15919         * examples/controller/.cvsignore:
15920         * examples/controller/Makefile.am:
15921         * examples/controller/audio-example.c:
15922         * examples/cutter/.cvsignore:
15923         * examples/cutter/Makefile.am:
15924         * examples/cutter/cutter.c:
15925         * examples/cutter/cutter.h:
15926         * examples/events/Makefile.am:
15927         * examples/events/seek.c:
15928         * examples/helloworld/.cvsignore:
15929         * examples/helloworld/Makefile.am:
15930         * examples/helloworld/helloworld.c:
15931         * examples/helloworld2/.cvsignore:
15932         * examples/helloworld2/Makefile.am:
15933         * examples/helloworld2/helloworld2.c:
15934         * examples/launch/.cvsignore:
15935         * examples/launch/Makefile.am:
15936         * examples/launch/mp3parselaunch.c:
15937         * examples/launch/mp3play:
15938         * examples/manual/.cvsignore:
15939         * examples/manual/Makefile.am:
15940         * examples/manual/extract.pl:
15941         * examples/metadata/Makefile.am:
15942         * examples/metadata/read-metadata.c:
15943         * examples/mixer/.cvsignore:
15944         * examples/mixer/Makefile.am:
15945         * examples/mixer/mixer.c:
15946         * examples/mixer/mixer.h:
15947         * examples/pingpong/.cvsignore:
15948         * examples/pingpong/Makefile.am:
15949         * examples/pingpong/pingpong.c:
15950         * examples/plugins/.cvsignore:
15951         * examples/plugins/Makefile.am:
15952         * examples/plugins/example.c:
15953         * examples/plugins/example.h:
15954         * examples/pwg/.cvsignore:
15955         * examples/pwg/Makefile.am:
15956         * examples/pwg/extract.pl:
15957         * examples/queue/.cvsignore:
15958         * examples/queue/Makefile.am:
15959         * examples/queue/queue.c:
15960         * examples/queue2/.cvsignore:
15961         * examples/queue2/Makefile.am:
15962         * examples/queue2/queue2.c:
15963         * examples/queue3/.cvsignore:
15964         * examples/queue3/Makefile.am:
15965         * examples/queue3/queue3.c:
15966         * examples/queue4/.cvsignore:
15967         * examples/queue4/Makefile.am:
15968         * examples/queue4/queue4.c:
15969         * examples/retag/.cvsignore:
15970         * examples/retag/Makefile.am:
15971         * examples/retag/retag.c:
15972         * examples/retag/transcode.c:
15973         * examples/thread/.cvsignore:
15974         * examples/thread/Makefile.am:
15975         * examples/thread/thread.c:
15976         * examples/typefind/.cvsignore:
15977         * examples/typefind/Makefile.am:
15978         * examples/typefind/typefind.c:
15979         * examples/xml/.cvsignore:
15980         * examples/xml/Makefile.am:
15981         * examples/xml/createxml.c:
15982         * examples/xml/runxml.c:
15983         * tests/Makefile.am:
15984         * tests/check/Makefile.am:
15985         * testsuite/.cvsignore:
15986         * testsuite/Makefile.am:
15987         * testsuite/Rules:
15988         * testsuite/caps/.cvsignore:
15989         * testsuite/caps/Makefile.am:
15990         * testsuite/caps/app_fixate.c:
15991         * testsuite/caps/audioscale.c:
15992         * testsuite/caps/caps.c:
15993         * testsuite/caps/caps.h:
15994         * testsuite/caps/caps_strings:
15995         * testsuite/caps/compatibility.c:
15996         * testsuite/caps/deserialize.c:
15997         * testsuite/caps/enumcaps.c:
15998         * testsuite/caps/eratosthenes.c:
15999         * testsuite/caps/filtercaps.c:
16000         * testsuite/caps/fixed.c:
16001         * testsuite/caps/fraction-convert.c:
16002         * testsuite/caps/fraction-multiply-and-zero.c:
16003         * testsuite/caps/intersect2.c:
16004         * testsuite/caps/intersection.c:
16005         * testsuite/caps/normalisation.c:
16006         * testsuite/caps/random.c:
16007         * testsuite/caps/renegotiate.c:
16008         * testsuite/caps/sets.c:
16009         * testsuite/caps/simplify.c:
16010         * testsuite/caps/string-conversions.c:
16011         * testsuite/caps/structure.c:
16012         * testsuite/caps/subtract.c:
16013         * testsuite/caps/union.c:
16014         * testsuite/debug/.cvsignore:
16015         * testsuite/debug/Makefile.am:
16016         * testsuite/debug/category.c:
16017         * testsuite/debug/commandline.c:
16018         * testsuite/debug/global.c:
16019         * testsuite/debug/output.c:
16020         * testsuite/debug/printf_extension.c:
16021         * testsuite/dlopen/.cvsignore:
16022         * testsuite/dlopen/Makefile.am:
16023         * testsuite/dlopen/dlopen_gst.c:
16024         * testsuite/dlopen/loadgst.c:
16025         * testsuite/elements/.cvsignore:
16026         * testsuite/elements/Makefile.am:
16027         * testsuite/elements/gst-inspect-check.in:
16028         * testsuite/elements/struct_i386.h:
16029         * testsuite/elements/struct_size.c:
16030         * testsuite/indexers/.cvsignore:
16031         * testsuite/indexers/Makefile.am:
16032         * testsuite/indexers/cache1.c:
16033         * testsuite/indexers/indexdump.c:
16034         * testsuite/parse/.cvsignore:
16035         * testsuite/parse/Makefile.am:
16036         * testsuite/parse/parse1.c:
16037         * testsuite/parse/parse2.c:
16038         * testsuite/plugin/.cvsignore:
16039         * testsuite/plugin/Makefile.am:
16040         * testsuite/plugin/README:
16041         * testsuite/plugin/dynamic.c:
16042         * testsuite/plugin/linked.c:
16043         * testsuite/plugin/loading.c:
16044         * testsuite/plugin/registry.c:
16045         * testsuite/plugin/static.c:
16046         * testsuite/plugin/static2.c:
16047         * testsuite/plugin/testplugin.c:
16048         * testsuite/plugin/testplugin2.c:
16049         * testsuite/plugin/testplugin2_s.c:
16050         * testsuite/plugin/testplugin_s.c:
16051         * testsuite/refcounting/.cvsignore:
16052         * testsuite/refcounting/Makefile.am:
16053         * testsuite/refcounting/bin.c:
16054         * testsuite/refcounting/element.c:
16055         * testsuite/refcounting/element_pad.c:
16056         * testsuite/refcounting/mainloop.c:
16057         * testsuite/refcounting/mem.c:
16058         * testsuite/refcounting/mem.h:
16059         * testsuite/refcounting/object.c:
16060         * testsuite/refcounting/pad.c:
16061         * testsuite/refcounting/sched.c:
16062         * testsuite/refcounting/thread.c:
16063         * testsuite/states/.cvsignore:
16064         * testsuite/states/Makefile.am:
16065         * testsuite/states/bin.c:
16066         * testsuite/states/locked.c:
16067         * testsuite/states/parent.c:
16068         * testsuite/threads/.cvsignore:
16069         * testsuite/threads/159566.c:
16070         * testsuite/threads/159852.c:
16071         * testsuite/threads/Makefile.am:
16072         * testsuite/threads/queue.c:
16073         * testsuite/threads/signals.c:
16074         * testsuite/threads/staticrec.c:
16075         * testsuite/threads/thread.c:
16076         * testsuite/threads/threadb.c:
16077         * testsuite/threads/threadc.c:
16078         * testsuite/threads/threadd.c:
16079         * testsuite/threads/threade.c:
16080         * testsuite/threads/threadf.c:
16081         * testsuite/threads/threadg.c:
16082         * testsuite/threads/threadh.c:
16083         * testsuite/threads/threadi.c:
16084           move all of these under tests
16085
16086 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16087
16088         * configure.ac:
16089         * tests/Makefile.am:
16090           fix distcheck
16091
16092 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16093
16094         * docs/gst/gstreamer-sections.txt:
16095         * tests/sched/.cvsignore:
16096         * tests/sched/Makefile.am:
16097         * tests/sched/cases/(fs-fs).xml:
16098         * tests/sched/cases/(fs-i-fs).xml:
16099         * tests/sched/cases/(fs-i-i-fs).xml:
16100         * tests/sched/cases/(fs-i-q[i-fs]).xml:
16101         * tests/sched/dynamic-pipeline.c:
16102         * tests/sched/interrupt1.c:
16103         * tests/sched/interrupt2.c:
16104         * tests/sched/interrupt3.c:
16105         * tests/sched/runtestcases:
16106         * tests/sched/runxml.c:
16107         * tests/sched/sched-stress.c:
16108         * tests/sched/sort.c:
16109         * tests/sched/testcases:
16110         * tests/sched/testcases1.tc:
16111         * tests/seeking/.cvsignore:
16112         * tests/seeking/Makefile.am:
16113         * tests/seeking/seeking1.c:
16114         * tests/threadstate/.cvsignore:
16115         * tests/threadstate/Makefile.am:
16116         * tests/threadstate/test1.c:
16117         * tests/threadstate/test2.c:
16118         * tests/threadstate/threadstate1.c:
16119         * tests/threadstate/threadstate2.c:
16120         * tests/threadstate/threadstate3.c:
16121         * tests/threadstate/threadstate4.c:
16122         * tests/threadstate/threadstate5.c:
16123           remove obsolete tests
16124         * configure.ac:
16125         * tests/bench-complexity.scm:
16126         * tests/bench-mass_elements.scm:
16127         * tests/complexity.c:
16128         * tests/complexity.gnuplot:
16129         * tests/instantiate/.cvsignore:
16130         * tests/instantiate/Makefile.am:
16131         * tests/instantiate/caps.c:
16132         * tests/mass_elements.c:
16133         * tests/network-clock-utils.scm:
16134         * tests/network-clock.scm:
16135         * tests/plot-data:
16136         First pass at cleaning up tests/ dir before moving the rest
16137         Combined with CVS surgery
16138
16139 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16140
16141         * po/POTFILES.in:
16142           queue has moved, update
16143
16144 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16145
16146         * docs/gst/gstreamer-sections.txt:
16147           remove double entries from the docs
16148         * gst/gst_private.h:
16149         * gst/gstinfo.c: (_gst_debug_init):
16150           remove the THREAD debug category
16151         * gst/Makefile.am:
16152         * gst/gstqueue.c:
16153         * gst/gstqueue.h:
16154         * docs/gst/gstreamer.types:
16155         * plugins/elements/gstqueue.c: (gst_queue_get_type),
16156         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
16157           completely move queue and fix up debugging categories
16158
16159 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16160
16161         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16162           make initialization portable, using LL is not
16163
16164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16165
16166         * win32/common/gstconfig.h:
16167           add large padding
16168
16169 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16170
16171         * win32/common/libgstreamer.def:
16172           rename symbols; sort base section
16173
16174 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16175
16176         * gst/gstclock.c: (do_linear_regression):
16177           remove crack non-portable handrolled DEBUG macro
16178
16179 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16180
16181         * docs/random/release:
16182           update notes
16183         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16184         (gst_object_flags_get_type), (register_gst_bin_flags),
16185         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16186         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16187         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16188         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
16189         (gst_caps_flags_get_type), (register_gst_clock_return),
16190         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16191         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16192         (gst_clock_flags_get_type), (register_gst_state),
16193         (gst_state_get_type), (register_gst_state_change_return),
16194         (gst_state_change_return_get_type), (register_gst_state_change),
16195         (gst_state_change_get_type), (register_gst_element_flags),
16196         (gst_element_flags_get_type), (register_gst_core_error),
16197         (gst_core_error_get_type), (register_gst_library_error),
16198         (gst_library_error_get_type), (register_gst_resource_error),
16199         (gst_resource_error_get_type), (register_gst_stream_error),
16200         (gst_stream_error_get_type), (register_gst_event_type_flags),
16201         (gst_event_type_flags_get_type), (register_gst_event_type),
16202         (gst_event_type_get_type), (register_gst_seek_type),
16203         (gst_seek_type_get_type), (register_gst_seek_flags),
16204         (gst_seek_flags_get_type), (register_gst_format),
16205         (gst_format_get_type), (register_gst_index_certainty),
16206         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16207         (gst_index_entry_type_get_type),
16208         (register_gst_index_lookup_method),
16209         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16210         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16211         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16212         (gst_index_flags_get_type), (register_gst_debug_level),
16213         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16214         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16215         (gst_iterator_result_get_type), (register_gst_iterator_item),
16216         (gst_iterator_item_get_type), (register_gst_message_type),
16217         (gst_message_type_get_type), (register_gst_mini_object_flags),
16218         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16219         (gst_pad_link_return_get_type), (register_gst_flow_return),
16220         (gst_flow_return_get_type), (register_gst_activate_mode),
16221         (gst_activate_mode_get_type), (register_gst_pad_direction),
16222         (gst_pad_direction_get_type), (register_gst_pad_flags),
16223         (gst_pad_flags_get_type), (register_gst_pad_presence),
16224         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16225         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16226         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16227         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16228         (gst_plugin_flags_get_type), (register_gst_rank),
16229         (gst_rank_get_type), (register_gst_query_type),
16230         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16231         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16232         (gst_tag_flag_get_type), (register_gst_task_state),
16233         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16234         (gst_alloc_trace_flags_get_type),
16235         (register_gst_type_find_probability),
16236         (gst_type_find_probability_get_type), (register_gst_uri_type),
16237         (gst_uri_type_get_type), (register_gst_parse_error),
16238         (gst_parse_error_get_type):
16239         * win32/common/gstenumtypes.h:
16240         * win32/common/gstversion.h:
16241           update visual studio generated files
16242
16243 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16244
16245         * win32/vs6/libgstbase.dsp:
16246         * win32/vs6/libgstelements.dsp:
16247           update project files for new locations
16248
16249 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16250
16251         * Makefile.am:
16252           remove some files
16253         * README:
16254           reinstate and update
16255         * DEVEL:
16256         * REQUIREMENTS:
16257           removed
16258         * LICENSE:
16259         * docs/random/LICENSE:
16260           moved to random
16261
16262 2005-11-30  Edward Hervey  <edward@fluendo.com>
16263
16264         * gst/gsttypefind.c: (gst_type_find_register):
16265         * gst/gsttypefind.h:
16266         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
16267         (gst_type_find_factory_dispose):
16268         * gst/gsttypefindfactory.h:
16269         Fix memory leak in GstTypeFindFactory.
16270
16271 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16272
16273         * gst/gst.c:
16274         * plugins/elements/Makefile.am:
16275         * plugins/elements/gstelements.c:
16276         * plugins/elements/gstqueue.c:
16277           move queue from core to the elements plugin
16278
16279 2005-11-29  Andy Wingo  <wingo@pobox.com>
16280
16281         * libs/gst/base/gstbasetransform.h: 
16282         * libs/gst/base/gstbasesrc.h: 
16283         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
16284
16285         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
16286         of pointers by which to pad very extensible base classes (like the
16287         ones in libs/gst/base).
16288
16289 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16290
16291         * docs/gst/gstreamer-docs.sgml:
16292         * docs/gst/gstreamer-sections.txt:
16293         * docs/libs/gstreamer-libs-docs.sgml:
16294         * docs/libs/gstreamer-libs-sections.txt:
16295           moving documentation from core to lib
16296
16297 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16298
16299         * check/Makefile.am:
16300         * configure.ac:
16301         * docs/gst/Makefile.am:
16302         * gst/Makefile.am:
16303         * gst/base/.cvsignore:
16304         * gst/base/Makefile.am:
16305         * gst/base/README:
16306         * gst/base/gstadapter.c:
16307         * gst/base/gstadapter.h:
16308         * gst/base/gstbasesink.c:
16309         * gst/base/gstbasesink.h:
16310         * gst/base/gstbasesrc.c:
16311         * gst/base/gstbasesrc.h:
16312         * gst/base/gstbasetransform.c:
16313         * gst/base/gstbasetransform.h:
16314         * gst/base/gstcollectpads.c:
16315         * gst/base/gstcollectpads.h:
16316         * gst/base/gstpushsrc.c:
16317         * gst/base/gstpushsrc.h:
16318         * gst/base/gsttypefindhelper.c:
16319         * gst/base/gsttypefindhelper.h:
16320         * gst/check/Makefile.am:
16321         * gst/check/gstcheck.c:
16322         * gst/check/gstcheck.h:
16323         * gst/net/Makefile.am:
16324         * gst/net/gstnet.h:
16325         * gst/net/gstnetclientclock.c:
16326         * gst/net/gstnetclientclock.h:
16327         * gst/net/gstnettimepacket.c:
16328         * gst/net/gstnettimepacket.h:
16329         * gst/net/gstnettimeprovider.c:
16330         * gst/net/gstnettimeprovider.h:
16331         * libs/gst/Makefile.am:
16332         * libs/gst/base/Makefile.am:
16333         * libs/gst/base/gstbasetransform.c:
16334         * libs/gst/check/Makefile.am:
16335         * plugins/elements/Makefile.am:
16336         * po/POTFILES.in:
16337           CVS surgery + support to move base, check, and net out of gst
16338           and into libs/gst
16339
16340 2005-11-29  Andy Wingo  <wingo@pobox.com>
16341
16342         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
16343
16344         * gst/gststructure.h (struct _GstStructure): Only one pointer of
16345         padding.
16346
16347         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
16348
16349         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
16350
16351         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
16352
16353         * gst/gstobject.h: (struct _GstObject): Only one pointer of
16354         padding; reduces object size by about 30%. We don't expect
16355         anything else to go into gstobject.
16356
16357         * gst/gstminiobject.h (struct _GstMiniObject)
16358         (struct _GstMiniObjectClass): Only one pointer of padding; the
16359         payload is only a pointer and two ints anyway. For the class there
16360         are only two methods as well.
16361         
16362         * gst/gstelement.h (struct _GstElementClass): Removed
16363         the state_changed signal callback, it is not used.
16364
16365 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * docs/gst/gstreamer.types:
16368           fix includes, though they are a little dinky
16369
16370 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16371
16372         * check/Makefile.am:
16373           look in the right place for elements, a lot more chance of
16374           success
16375         * gst/Makefile.am:
16376           remove indexers and elements subdirs
16377         * plugins/Makefile.am:
16378           make indexers conditional
16379
16380 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16381
16382         * Makefile.am:
16383         * configure.ac:
16384         * plugins/elements/Makefile.am:
16385         * plugins/elements/gstcapsfilter.c:
16386         * plugins/elements/gstfilesink.c:
16387         * plugins/elements/gstfilesrc.c:
16388         * plugins/elements/gstidentity.c:
16389         * plugins/indexers/Makefile.am:
16390           do CVS surgery and related build fixery to move elements
16391           and indexers in a new gstreamer/plugins directory, out of the
16392           gst/ directory
16393
16394 2005-11-29  Andy Wingo  <wingo@pobox.com>
16395
16396         * check/Makefile.am:
16397         * pkgconfig/gstreamer-net-uninstalled.pc.in:
16398         * pkgconfig/gstreamer-net.pc.in:
16399         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
16400         #322257.
16401
16402 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16403
16404         * tools/Makefile.am:
16405         * tools/gst-complete.1.in:
16406         * tools/gst-complete.c:
16407         * tools/gst-compprep.1.in:
16408         * tools/gst-compprep.c:
16409           removing -compprep and -complete
16410
16411 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16412
16413         * gst/gstevent.c: (gst_event_new_new_segment),
16414         (gst_event_parse_new_segment):
16415         * gst/gstevent.h:
16416           fix #320529 - clean up new_segment API and structure.
16417           Let's hope everyone was using the methods, and not the structure.
16418
16419 2005-11-29  Edward Hervey  <edward@fluendo.com>
16420
16421         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16422         (gst_base_sink_event), (gst_base_sink_do_sync),
16423         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16424         Properly handle non GST_FORMAT_TIME segment
16425         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16426         Properly handle non GST_FORMAT_TIME segment
16427         * gst/gstsegment.c:
16428         This function is valid if the accumulator is 0 and the format
16429         is different from the requested format.
16430         
16431 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16432
16433         * docs/gst/gstreamer-sections.txt:
16434         Add gst_query_new_seeking and gst_query_parse_seeking to the
16435         docs.
16436
16437 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
16438
16439         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
16440           Treat a pad alloc with new caps the same as if we were not
16441           negotiated, in order to allow a changing upstream output
16442           to produce a new format of data.
16443
16444 2005-11-29  Edward Hervey  <edward@fluendo.com>
16445
16446         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16447         (gst_base_transform_event), (gst_base_transform_eventfunc):
16448         The event virtual method is now properly implemented, with a default
16449         handler
16450         Sub classes should call the parent_class event method. They should
16451         return FALSE if they had a problem handling the given event, or don't
16452         want GstBaseTransform to send that even downstream
16453         * gst/elements/gstidentity.c: (gst_identity_class_init),
16454         (gst_identity_init), (gst_identity_event),
16455         (gst_identity_transform_ip), (gst_identity_set_property),
16456         (gst_identity_get_property):
16457         * gst/elements/gstidentity.h:
16458         Added the single-segment boolean property.
16459         If set to TRUE, it will output a single segment of data, starting from
16460         0, will eat up all incoming newsegment, and modify the timestamp of the
16461         buffers accordingly
16462
16463 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
16464
16465         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
16466           Don't ref NULL target pad (#322751). Improve docs.
16467
16468 2005-11-29  Michael Smith  <msmith@fluendo.com>
16469
16470         * gst/gstregistryxml.c: (load_plugin):
16471           Don't crash if we failed to load a feature from a plugin. 
16472
16473 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16474
16475         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
16476         (GST_START_TEST):
16477           use more check API and less GLib API
16478
16479 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16480
16481         * Makefile.am:
16482           don't run checks if we don't have check
16483         * common/check.mak:
16484           remove the registry when running make torture
16485         * docs/gst/gstreamer-sections.txt:
16486           remove second multiply
16487         * gst/gstqueue.c: (gst_queue_loop):
16488           fix a compile warning when disabling debug
16489
16490 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16491
16492         * gst/gstinfo.h:
16493         Hey! Let's print the pad name if the pointer != NULL instead
16494         of when it == NULL :-)
16495
16496 2005-11-28  Wim Taymans  <wim@fluendo.com>
16497
16498         * check/gst/gstutils.c: (GST_START_TEST):
16499         Updated check, add some scaling accuracy checking code.
16500
16501         * gst/gstutils.c: (gst_util_div128_64),
16502         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
16503         (gst_util_uint64_scale_int):
16504         Fix 6 times faster division code. Optimize for common 
16505         1/1 and less common X/1 cases.
16506
16507 2005-11-28  Wim Taymans  <wim@fluendo.com>
16508
16509         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16510         More checks.
16511
16512         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
16513         (do_linear_regression), (gst_clock_add_observation):
16514         Cleanups.
16515         Release lock when the clock cannot be slaved.
16516         Catch the case where the regression returned an invalid denominator.
16517
16518         * gst/gstutils.c: (gst_util_div128_64_iterate),
16519         (gst_util_div128_64), (gst_util_uint64_scale_int64),
16520         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16521         Add protentially more performant non-iterative 128/64 divide function
16522         that unfortunatly does not work yet.
16523         Shortcut the trivial 0/X = 0 case.
16524         Remove the warnings on overflow.
16525
16526 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16527
16528         * gst/gstplugin.c: (gst_plugin_register_func):
16529           everything causing a plugin not to load should be at least a WARNING
16530
16531 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
16532
16533         * docs/random/ensonic/dparams.txt:
16534           some TODOs for the next dev cycle
16535         * libs/gst/controller/gstcontroller.c:
16536         (gst_controlled_property_set_interpolation_mode),
16537         (gst_controlled_property_new):
16538         * libs/gst/controller/gstcontroller.h:
16539           use base type to assign acccessor functions
16540
16541 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16542
16543         * check/Makefile.am:
16544         Oops, that should have been top_srcdir
16545
16546 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
16547
16548         * check/Makefile.am:
16549         * check/elements/fdsrc.c: (GST_START_TEST):
16550         Use a cmdline define to specify the location of a file to use for
16551         testing, to avoid breaking distcheck.
16552
16553 2005-11-28  Andy Wingo  <wingo@pobox.com>
16554
16555         * gst/gstpad.c (fixate_value): Use array functions for arrays.
16556
16557 2005-11-28  Edward Hervey  <edward@fluendo.com>
16558
16559         * tools/gst-launch.c: (main):
16560         Clarify the output strings, makes it easier to translate.
16561         Fixes #322626
16562
16563 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16564
16565         * gst/Makefile.am:
16566           don't try and build net if we don't even have <sys/socket.h>
16567
16568 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
16569
16570         * check/Makefile.am:
16571         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
16572         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
16573           Add tests for fdsrc seekability
16574
16575         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
16576         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
16577         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
16578         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
16579         * gst/elements/gstfdsrc.h:
16580           fdsrc should not be a 'live' source.
16581           Implement seeking on seekable fd's.
16582
16583         * gst/gstquery.c: (gst_query_new_seeking),
16584         (gst_query_parse_seeking):
16585         * gst/gstquery.h:
16586           Implement SEEKING query functions: 
16587             *_new_seeking and *_parse_seeking
16588
16589 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
16590
16591         * gst/gstelement.c: (gst_element_dispose):
16592           don't loop forever
16593
16594         * gst/gstiterator.c:
16595         * gst/gststructure.c:
16596           doc fixes
16597
16598         * libs/gst/controller/gstcontroller.c:
16599         (gst_controlled_property_set_interpolation_mode):
16600         * libs/gst/controller/gstcontroller.h:
16601         * libs/gst/controller/gstinterpolation.c:
16602         (interpolate_none_get_enum_value_array):
16603           support controlling enums
16604
16605 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16606
16607         * gst/gstvalue.c:
16608           Improve documentation for gst_value_union().
16609
16610         * gst/gstvalue.h:
16611           Change return value for union, intersect and subtract functions
16612           from gint to gboolean.
16613
16614 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
16615
16616         * gst/gstvalue.c: (gst_value_serialize_any_list),
16617         (gst_value_transform_any_list_string),
16618         (gst_value_deserialize_list), (gst_value_deserialize_array),
16619         (gst_value_set_int_range), (gst_value_deserialize_int_range),
16620         (gst_value_set_double_range), (gst_value_deserialize_double_range),
16621         (gst_value_set_fraction_range_full),
16622         (gst_value_deserialize_fraction_range),
16623         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
16624         (gst_value_deserialize_boolean),
16625         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
16626         (gst_value_serialize_float), (gst_value_deserialize_float),
16627         (gst_string_wrap), (gst_value_deserialize_string),
16628         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
16629         (gst_value_union_int_range_int_range),
16630         (gst_value_intersect_int_range_int_range),
16631         (gst_value_intersect_double_range_double_range),
16632         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
16633         (gst_value_subtract_int_range_int_range),
16634         (gst_value_subtract_double_double_range),
16635         (gst_value_subtract_double_range_double_range),
16636         (gst_value_deserialize_fraction):
16637         * gst/gstvalue.h:
16638           Use gint, gdouble and gchar in our API instead of int, double and
16639           char (and make usage in gstvalue.c more consistent).
16640
16641 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16642
16643         * check/Makefile.am:
16644         * libs/gst/controller/Makefile.am:
16645         * libs/gst/dataprotocol/Makefile.am:
16646           fix up Makefile.am and remove GST_ENABLE_NEW
16647
16648 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16649
16650         * configure.ac:
16651         * gst/Makefile.am:
16652         * gst/base/Makefile.am:
16653         * gst/check/Makefile.am:
16654         * gst/elements/Makefile.am:
16655         * gst/net/Makefile.am:
16656           update LDFLAGS use some more
16657
16658 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
16659
16660         * common/m4/gst-doc.m4:
16661           Fixes #312589
16662
16663 2005-11-26  Edward Hervey  <edward@fluendo.com>
16664
16665         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
16666         This shouldn't issue a g_warning since it returns NULL if it
16667         couldn't find the plugin, and all functions using this behave
16668         properly on a NULL return. Switching to a GST_WARNING.
16669
16670 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
16671
16672         * gst/gstbin.c: (gst_bin_handle_message_func):
16673         Don't leak clock messages.
16674
16675 2005-11-25  Wim Taymans  <wim@fluendo.com>
16676
16677         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16678         (gst_util_uint64_scale_int):
16679         Optimisations, remove unneeded vars.
16680
16681 2005-11-25  Wim Taymans  <wim@fluendo.com>
16682
16683         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16684         Added more checks for the high precision uint64 cases.
16685
16686         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16687         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
16688         Implement high precision (guint64 * guint64) / guint64.
16689
16690 2005-11-24  Wim Taymans  <wim@fluendo.com>
16691
16692         * gst/base/gstbasesrc.c: (gst_base_src_query):
16693         Fix wrong percentage query.
16694
16695         * gst/gstutils.c: (gst_util_uint64_scale),
16696         (gst_util_uint64_scale_int):
16697         Add some more common cases that can be handled 
16698         efficiently to _scale.
16699
16700 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16701
16702         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
16703         (gst_mini_object_suite):
16704           don't use check calls from threads; check probably isn't
16705           threadsafe and using a lock to make it threadsafe would
16706           defeat the purpose of this check
16707         * gst/check/gstcheck.c:
16708         * gst/check/gstcheck.h:
16709           use GST_DEBUG some more
16710
16711 2005-11-24  Wim Taymans  <wim@fluendo.com>
16712
16713         * gst/gstutils.c: (gst_util_uint64_scale),
16714         (gst_util_uint64_scale_int):
16715         Chain trivial case to _scale_int.
16716
16717 2005-11-24  Wim Taymans  <wim@fluendo.com>
16718
16719         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16720         Added test for scaling.
16721
16722         * gst/gstclock.h:
16723         Small doc fix.
16724
16725         * gst/gstutils.c: (gst_util_uint64_scale_int):
16726         Implemented high precision scaling code.
16727
16728 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
16729
16730         * gst/gstinfo.h:
16731           do not crash on pad==NULL
16732
16733 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
16734
16735         Patch by: Stefan Kost
16736
16737         * common/gtk-doc.mak:
16738         * docs/gst/Makefile.am:
16739         * docs/libs/Makefile.am:
16740           Fix distcheck issues for the libraries docs build
16741           Closes #319599.
16742
16743 2005-11-24  Michael Smith <msmith@fluendo.com>
16744
16745         * docs/manual/basics-helloworld.xml:
16746           Fix bug #315027: memory leak in example code in docs.
16747
16748 2005-11-24  Michael Smith <msmith@fluendo.com>
16749
16750         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16751           Unlock the PREROLL_LOCK in a failure case.
16752
16753 2005-11-24  Wim Taymans  <wim@fluendo.com>
16754
16755         * docs/gst/gstreamer-sections.txt:
16756         * gst/base/gstadapter.h:
16757         * gst/base/gstbasesink.h:
16758         * gst/base/gstbasesrc.h:
16759         * gst/base/gstbasetransform.h:
16760         * gst/base/gstpushsrc.h:
16761         * gst/elements/gstfakesink.h:
16762         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
16763         * gst/elements/gstfakesrc.h:
16764         * gst/elements/gstfilesink.h:
16765         * gst/elements/gstfilesrc.h:
16766         * gst/gst.c:
16767         * gst/gstbin.c:
16768         * gst/gstbuffer.c: (_gst_buffer_copy):
16769         * gst/gstbus.h:
16770         * gst/gstcaps.c:
16771         * gst/gstchildproxy.c:
16772         * gst/gstclock.c:
16773         * gst/gstelement.c:
16774         * gst/gstelementfactory.c:
16775         * gst/gstelementfactory.h:
16776         * gst/gstevent.c:
16777         * gst/gstghostpad.h:
16778         * gst/gstindex.h:
16779         * gst/gstinterface.h:
16780         * gst/gstminiobject.c:
16781         * gst/gstminiobject.h:
16782         * gst/gstpad.c:
16783         * gst/gstpad.h:
16784         * gst/gstpadtemplate.h:
16785         * gst/gstpipeline.h:
16786         * gst/gstpluginfeature.h:
16787         * gst/gstquery.h:
16788         * gst/gstqueue.h:
16789         * gst/gsttaglist.c:
16790         * gst/gsttaglist.h:
16791         * gst/gsttagsetter.c:
16792         * gst/gsttagsetter.h:
16793         * gst/gsttrace.c:
16794         * gst/gsttrace.h:
16795         * gst/gsttypefind.h:
16796         * gst/gsturi.h:
16797         * gst/gstvalue.c:
16798         * gst/net/gstnetclientclock.c:
16799         * gst/net/gstnetclientclock.h:
16800         * gst/net/gstnettimepacket.c:
16801         * gst/net/gstnettimeprovider.c:
16802         * gst/net/gstnettimeprovider.h:
16803         Doc fixes.
16804
16805 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16806
16807         * configure.ac: back to HEAD
16808
16809 === release 0.9.6 ===
16810
16811 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
16812
16813         * configure.ac:
16814           releasing 0.9.6, "Always On Time"
16815
16816 2005-11-23  Wim Taymans  <wim@fluendo.com>
16817
16818         * docs/gst/gstreamer-sections.txt:
16819         * gst/glib-compat.c:
16820         * gst/gsttagsetter.c:
16821         * gst/gstvalue.c:
16822         * gst/net/gstnetclientclock.c:
16823         * gst/net/gstnettimepacket.h:
16824         Doc updates.
16825
16826 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
16827
16828         * docs/faq/using.xml:
16829         * docs/libs/tmpl/gstcontrol.sgml:
16830         * docs/manual/advanced-dparams.xml:
16831         * docs/manual/appendix-checklist.xml:
16832         * docs/manual/basics-elements.xml:
16833         * docs/pwg/other-source.xml:
16834         * docs/random/moving-plugins:
16835         * gst/gstpad.c:
16836         * tools/gst-launch.1.in:
16837           remove mentions of sinesrc
16838
16839 2005-11-23  Michael Smith <msmith@fluendo.com>
16840
16841         * docs/gst/gstreamer-sections.txt:
16842           Update for new API and API changes.
16843         * gst/gstobject.h:
16844           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
16845         * gst/gstvalue.c:
16846           Documentation typo fix.
16847         * gst/net/gstnettimepacket.c:
16848           Documentation fixes for arguments.
16849
16850 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
16851
16852         * gst/gststructure.c: (gst_structure_get_fraction),
16853         (gst_structure_parse_value),
16854         (gst_structure_fixate_field_nearest_fraction):
16855         * gst/gststructure.h:
16856         * gst/gstutils.c: (gst_util_uint64_scale_int):
16857         * gst/gstutils.h:
16858         * scripts/update-funcnames:
16859         API Changes. 
16860         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
16861         Make gst_structure_fixate_field_nearest_fraction take a numerator
16862         and denominator argument instead of a GValue
16863         add gst_structure_get_fraction helper function.
16864
16865 2005-11-23  Wim Taymans  <wim@fluendo.com>
16866
16867         * docs/design/part-TODO.txt:
16868         Update TODO.
16869
16870         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16871         * gst/net/gstnetclientclock.h:
16872         Use parent fields for timeout and window_size.
16873
16874 2005-11-23  Andy Wingo  <wingo@pobox.com>
16875
16876         * check/net/gstnetclientclock.c (test_functioning): Adjust to
16877         rate_num/rate_denom change.
16878
16879         * gst/net/gstnetclientclock.c
16880         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
16881         OBJECT_LOCK. Don't call add_observation with the lock.
16882
16883         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
16884         fraction.
16885         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
16886         rate fraction.
16887         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
16888         deal with rate as a fraction whose numerator and denominator are
16889         GstClockTime values.
16890         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
16891         master; the other fields are protected by the SLAVE_LOCK.
16892         (do_linear_regression): Note that this must be called with the
16893         SLAVE_LOCK.
16894         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
16895         OBJECT_LOCK. Call set_calibration instead of touching the
16896         variables directly.
16897         (gst_clock_set_property, gst_clock_get_property): Protect
16898         master/slave parameters with the SLAVE_LOCK.
16899
16900         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
16901         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
16902         note that all of the instance variables that add_observation and
16903         the set_master functions use are protected by that lock and not
16904         the OBJECT_LOCK.
16905         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
16906
16907         * gst/gstclock.c (gst_clock_add_observation): No longer requires
16908         the caller to take the object lock.
16909
16910 2005-11-23  Wim Taymans  <wim@fluendo.com>
16911
16912         * gst/gsterror.c: (_gst_core_errors_init):
16913         * gst/gsterror.h:
16914         Add error for clock stuff.
16915
16916         * gst/gstpipeline.c: (gst_pipeline_change_state),
16917         (gst_pipeline_set_clock):
16918         Post clock error when clock cannot be used in a pipeline.
16919
16920 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
16921
16922         * docs/gst/gstreamer-sections.txt:
16923           make two symbols from gstinfo private for the docs
16924         * gst/base/gstcollectpads.h:
16925         * gst/gstutils.c:
16926           fix doc typos, update docs
16927
16928 2005-11-22  Wim Taymans  <wim@fluendo.com>
16929
16930         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
16931         (gst_base_sink_wait), (gst_base_sink_do_sync),
16932         (gst_base_sink_handle_event):
16933         * gst/base/gstbasesink.h:
16934         No need to store the clock, the parent element class already
16935         has it.
16936
16937         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
16938         Updates for clock_set returning a gboolean
16939
16940         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
16941         (gst_clock_id_wait_async), (gst_clock_class_init),
16942         (gst_clock_init), (gst_clock_finalize),
16943         (gst_clock_get_internal_time), (gst_clock_get_time),
16944         (gst_clock_slave_callback), (gst_clock_set_master),
16945         (gst_clock_get_master), (do_linear_regression),
16946         (gst_clock_add_observation), (gst_clock_set_property),
16947         (gst_clock_get_property):
16948         * gst/gstclock.h:
16949         Implement master/slave. When setting a clock as a slave, a
16950         periodic timeout is scheduled to sample master and slave times.
16951         Then the slave clock is recalibrated to match offset and rate
16952         of the master clock.
16953         Update logging a bit.
16954         Add flag so that a clock can state that is cannot be slaved to
16955         another clock.
16956
16957         * gst/gstelement.c: (gst_element_set_clock):
16958         * gst/gstelement.h:
16959         The set clock returns a gboolean for when an element cannot
16960         deal with the selected clock in the pipeline. 
16961
16962         * gst/gstpipeline.c: (gst_pipeline_change_state),
16963         (gst_pipeline_set_clock):
16964         * gst/gstpipeline.h:
16965         Handle the case where the selected clock cannot be set on
16966         the pipeline.
16967
16968         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
16969         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
16970         (gst_net_client_clock_set_property),
16971         (gst_net_client_clock_get_property),
16972         (gst_net_client_clock_observe_times):
16973         * gst/net/gstnetclientclock.h:
16974         Use regression code in GstClock parent, remove duplicated
16975         functionality.
16976
16977 2005-11-22  Michael Smith <msmith@fluendo.com>
16978
16979         * gst/gstutils.c: (gst_util_clock_time_scale):
16980         * gst/gstutils.h:
16981         * docs/gst/gstreamer-sections.txt:
16982           Rename method to have extra underscore.
16983
16984 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16985
16986         * gst/elements/Makefile.am:
16987         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
16988         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16989         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16990         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
16991         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
16992         * gst/elements/gstfakesrc.h:
16993         * gst/gstqueue.c: (queue_leaky_get_type):
16994           correctly fix GEnumValues so that nick is the short lowercase
16995           dashed tag
16996         * tools/gst-inspect.c: (print_element_properties_info):
16997           also show the nick, since it's useful to use from parse_launch
16998           syntax
16999           Fixes #322139
17000
17001 2005-11-22  Michael Smith <msmith@fluendo.com>
17002
17003         * gst/gstutils.c: (gst_util_clocktime_scale):
17004         * gst/gstutils.h:
17005         * docs/gst/gstreamer-sections.txt:
17006           Add util method for scaling a clocktime by a fraction. Useful 
17007           implementation is left as an exercise for the reader.
17008
17009 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17010
17011         * gst/gstvalue.c: (gst_value_collect_fraction_range):
17012         If needed, allocate storage in the destination value during
17013         collection.
17014
17015 2005-11-22  Edward Hervey  <edward@fluendo.com>
17016
17017         * docs/gst/gstreamer-sections.txt:
17018         * gst/Makefile.am:
17019         * gst/gst.h:
17020         * gst/gsturitype.c:
17021         * gst/gsturitype.h:
17022         * gst/gstutils.c: (gst_util_set_object_arg):
17023         * tools/gst-compprep.c: (main):
17024         * tools/gst-inspect.c: (print_element_properties_info):
17025         Removed GstURI, closes bug #321061
17026
17027 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17028
17029         * check/gst/gststructure.c: (GST_START_TEST):
17030         * gst/gststructure.c: (gst_structure_parse_value):
17031           Oops, broke automatic string type parsing.
17032           Add a test to catch it in future.
17033
17034 2005-11-22  Andy Wingo  <wingo@pobox.com>
17035
17036         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
17037         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
17038         Actually rename the function implementations. Grr.
17039
17040 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17041
17042         * check/gst/capslist.h:
17043           Comment test cases
17044         * check/gst/gststructure.c: (GST_START_TEST),
17045         (gst_structure_suite):
17046           Test automatic value type detection in gst_structure_from_string.
17047         * gst/gststructure.c: (gst_structure_parse_value):
17048           Add fraction as a type we try and guess automatically in
17049           caps/structure strings.
17050
17051 2005-11-22  Andy Wingo  <wingo@pobox.com>
17052
17053         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
17054
17055         * gst/gsttagsetter.h:
17056         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
17057         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
17058         (gst_tag_setter_add_tag_valist)
17059         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
17060         _add_values, _add_valist, and _add_valist_values. Since this is an
17061         interface the function suffixes should be more explicit so
17062         language binding don't end up with element.add_valist ->
17063         gst_tag_setter_add_valist, for example. Fixes #322069.
17064
17065 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17066
17067         * check/gst/gstcaps.c: (GST_START_TEST):
17068           Extend caps string tests to check that a caps to string
17069           conversion is reversible and produces the same caps.
17070
17071         * gst/gststructure.c: (gst_structure_value_get_generic_type):
17072           Output "fraction" as the generic type fraction range, so caps
17073           serialisation and deserialisation works.
17074         * check/gst/capslist.h:
17075         * gst/gstvalue.c: (gst_value_deserialize_fraction):
17076           Support 'MIN' and 'MAX' for deserialising fractions.
17077
17078 2005-11-22  Andy Wingo  <wingo@pobox.com>
17079
17080         * gst/gstevent.h (gst_event_new_new_segment)
17081         (gst_event_parse_new_segment, gst_event_new_buffer_size)
17082         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
17083         Renamed from *_newsegment, *_buffersize, *_notarget.
17084
17085         * scripts/update-funcnames: New script, performs the changes
17086         listed above.
17087
17088 2005-11-22  Wim Taymans  <wim@fluendo.com>
17089
17090         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17091         Make sure the GstFlowReturn is returned.
17092
17093         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
17094         (gst_bus_add_signal_watch):
17095         * gst/gstbus.h:
17096         add gst_bus_add_signal_watch_full.
17097
17098         * gst/gstplugin.c: (gst_plugin_load_file):
17099         Small style cleanup.
17100
17101 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17102
17103         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
17104           Block the fakesrc srcpad when we send an event, to avoid
17105           contention on the stream_lock causing random test failures.
17106
17107 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17108
17109         * check/gst/gstvalue.c: (GST_START_TEST):
17110         * gst/gstvalue.c: (gst_value_fraction_subtract):
17111           Fix subtraction.
17112
17113 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
17114
17115         * gst/gst.h:
17116           include "gstchildproxy.h"
17117         * gst/gstchildproxy.h:
17118         * libs/gst/controller/gstcontroller.h:
17119           use G_GNUC_NULL_TERMINATED
17120
17121 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
17122
17123         * check/gst/capslist.h:
17124         * check/gst/gstcaps.c: (GST_START_TEST):
17125         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17126         * gst/gststructure.c: (gst_structure_parse_range),
17127         (gst_structure_fixate_field_nearest_fraction):
17128         * gst/gststructure.h:
17129         * gst/gstvalue.c: (gst_value_init_fraction_range),
17130         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
17131         (gst_value_collect_fraction_range),
17132         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
17133         (gst_value_set_fraction_range_full),
17134         (gst_value_get_fraction_range_min),
17135         (gst_value_get_fraction_range_max),
17136         (gst_value_serialize_fraction_range),
17137         (gst_value_transform_fraction_range_string),
17138         (gst_value_compare_fraction_range),
17139         (gst_value_deserialize_fraction_range),
17140         (gst_value_intersect_fraction_fraction_range),
17141         (gst_value_intersect_fraction_range_fraction_range),
17142         (gst_value_subtract_fraction_fraction_range),
17143         (gst_value_subtract_fraction_range_fraction),
17144         (gst_value_subtract_fraction_range_fraction_range),
17145         (gst_value_collect_fraction), (gst_value_fraction_multiply),
17146         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
17147         (gst_value_transform_string_fraction), (_gst_value_initialize):
17148         * gst/gstvalue.h:
17149           Implement fraction ranges and extend GstFraction to support
17150           arithmetic subtraction, as well as deserialization from integer
17151           strings such as "100"
17152           Add a testsuite as for int and double range set operations
17153
17154 2005-11-21  Andy Wingo  <wingo@pobox.com>
17155
17156         * gst/gsttaglist.h: 
17157         * gst/gstcaps.h: 
17158         * gst/gststructure.h: Add glib-compat.h.
17159
17160 2005-11-21  Wim Taymans  <wim@fluendo.com>
17161
17162         * gst/gstbin.c: (gst_bin_change_state_func):
17163         Fix for #321595
17164
17165 2005-11-21  Wim Taymans  <wim@fluendo.com>
17166
17167         * gst/gstsegment.h:
17168         And add a nice define too.
17169
17170 2005-11-21  Wim Taymans  <wim@fluendo.com>
17171
17172         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
17173         (gst_segment_new), (gst_segment_free), (gst_segment_init),
17174         (gst_segment_set_duration), (gst_segment_set_last_stop),
17175         (gst_segment_set_seek), (gst_segment_set_newsegment),
17176         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17177         (gst_segment_clip):
17178         * gst/gstsegment.h:
17179         Make binding friendly.
17180
17181 2005-11-21  Andy Wingo  <wingo@pobox.com>
17182
17183         * gst/gsttagsetter.h: 
17184         * gst/gsttaglist.h: 
17185         * gst/gststructure.h: 
17186         * gst/gstcaps.h: 
17187         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
17188         #319940.
17189
17190         * gst/gsterror.c (_gst_core_errors_init):
17191         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
17192         category.
17193
17194         * gst/Makefile.am (gst_headers): Add glib-compat.h.
17195         (noinst_HEADERS): noinst the -private.
17196
17197 2005-11-21  Michael Smith <msmith@fluendo.com>
17198
17199         * gst/gstplugin.h:
17200         * gst/gstregistry.h:
17201           Remove unimplemented declarations for which we can see no sensible
17202           use.
17203
17204 2005-11-21  Andy Wingo  <wingo@pobox.com>
17205
17206         * gst/gst.h: Include glib-compat.h.
17207
17208         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
17209
17210         * gst/glib-compat.c: Include the public and the private header.
17211
17212         * gst/glib-compat-private.h: Copied here from glib-compat.h.
17213
17214         * gst/gstvalue.c: 
17215         * gst/gstpad.c: 
17216         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
17217
17218         * check/gst/gstevent.c (create_custom_events): Check that
17219         FLUSH_STOP is serialized.
17220
17221         * check/elements/identity.c (event_func): 
17222         * check/elements/fakesrc.c (event_func): No stream lock, the core
17223         takes it.
17224
17225         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
17226         stream lock taking, yay.
17227
17228         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
17229         ensure that core takes the stream lock.
17230
17231         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
17232         lock name change.
17233
17234         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
17235         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
17236         it already. For the flush start we do take it though so we get the
17237         right preroll state change messages.
17238
17239         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
17240         the stream lock here, the core does it for us.
17241
17242         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
17243         GST_STREAM_GET_LOCK.
17244         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
17245         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
17246         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
17247         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
17248         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
17249         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
17250
17251         * gst/gstpad.c: Update for stream lock name change.
17252
17253         * gst/base/gstbasesink.c: Update for preroll lock name change.
17254
17255 2005-11-21  Wim Taymans  <wim@fluendo.com>
17256
17257         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
17258         (gst_clock_get_master):
17259         * gst/gstclock.h:
17260         * gst/gstsystemclock.c: (gst_system_clock_init):
17261         Convert Clock flags to object flags.
17262         Added methods to manage master/slave clocks.
17263
17264 2005-11-21  Wim Taymans  <wim@fluendo.com>
17265
17266         * check/gst/gstsegment.c: (GST_START_TEST):
17267         * docs/design/part-TODO.txt:
17268         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17269         (gst_base_sink_event), (gst_base_sink_do_sync),
17270         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
17271         (gst_base_sink_query), (gst_base_sink_change_state):
17272         * gst/base/gstbasesink.h:
17273         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
17274         (gst_base_src_default_newsegment),
17275         (gst_base_src_configure_segment), (gst_base_src_do_seek),
17276         (gst_base_src_get_range), (gst_base_src_loop),
17277         (gst_base_src_change_state):
17278         * gst/base/gstbasesrc.h:
17279         * gst/base/gstbasetransform.c:
17280         (gst_base_transform_prepare_output_buf),
17281         (gst_base_transform_event), (gst_base_transform_change_state):
17282         * gst/base/gstbasetransform.h:
17283         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
17284         (gst_collect_pads_event):
17285         * gst/base/gstcollectpads.h:
17286         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
17287         (gst_fake_src_create):
17288         * gst/elements/gstfakesrc.h:
17289         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17290         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17291         (gst_segment_set_last_stop), (gst_segment_set_seek),
17292         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
17293         (gst_segment_to_running_time), (gst_segment_clip):
17294         * gst/gstsegment.h:
17295         More segment updates, replace code in plugins with segment
17296         helper functions.
17297
17298 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17299
17300         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
17301         Don't ignore sscanf results
17302
17303 2005-11-21  Andy Wingo  <wingo@pobox.com>
17304
17305         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
17306
17307         * *.h:
17308         * *.c: Ran scripts/update-macros. Oh yes.
17309
17310         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
17311         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
17312         GST_GET_LOCK, etc.
17313
17314         * scripts/update-macros: New script. Run it on your files to
17315         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
17316         well.
17317
17318 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17319
17320         * docs/gst/Makefile.am:
17321         * docs/gst/gstreamer-docs.sgml:
17322         * docs/gst/gstreamer-sections.txt:
17323         * docs/gst/gstreamer.types:
17324         * gst/gstinfo.h:
17325           more docs fixes, add new api to the docs
17326
17327 2005-11-21  Andy Wingo  <wingo@pobox.com>
17328
17329         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
17330         state_broadcast call.
17331
17332         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
17333
17334 2005-11-21  Julien MOUTTE  <julien@moutte.net>
17335
17336         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
17337         function calls for arrays.
17338
17339 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
17340
17341         * docs/random/ensonic/media-device-daemon.txt:
17342           wild idea, can this be done?
17343         * docs/gst/gstreamer-sections.txt:
17344         * gst/gsterror.h:
17345         * gst/gstfilter.c:
17346         * gst/gstfilter.h:
17347         * gst/gstplugin.h:
17348         * gst/gstpluginfeature.c:
17349         * gst/gsttrace.c:
17350         * gst/gstvalue.c:
17351         * gst/gstvalue.h:
17352           doc fixes and additions
17353
17354 2005-11-21  Andy Wingo  <wingo@pobox.com>
17355
17356         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
17357         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
17358         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
17359         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
17360         private to the basesrc implementation.
17361
17362         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
17363         behalf of event function if necessary. It should no longer be
17364         necessary to take the stream lock in pad's event functions. Fixes
17365         #320299.
17366
17367 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17368         * docs/gst/gstreamer-sections.txt:
17369         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
17370         (gst_structure_fixate_field_nearest_double),
17371         (gst_structure_fixate_field_boolean):
17372         * gst/gststructure.h:
17373         * win32/common/libgstreamer.def:
17374         * win32/gstreamer.def:
17375
17376         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
17377         (#322027)
17378
17379 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
17380
17381         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
17382         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
17383         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
17384         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
17385         (gst_fdsrc_uri_handler_init):
17386         * gst/elements/gstfdsrc.h:
17387           Port fd:// URI handler from 0.8 to fdsrc
17388
17389 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17390
17391         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
17392         (gst_value_serialize_fourcc):
17393         * gst/gstvalue.h:
17394           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
17395           consistent with our other format defines (#320324).
17396
17397 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17398
17399         * gst/gstvalue.c: (gst_value_is_fixed):
17400           Revert previous commit. Value lists are by definition
17401           not fixed, as they are a list of possible values.
17402
17403 2005-11-21  Andy Wingo  <wingo@pobox.com>
17404
17405         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
17406         during the stable series if we need it. Fixes #319178.
17407
17408         * gst/gstevent.c (gst_event_new_filler): Removed.
17409
17410         * check/gst/gstevent.c: Update comment about filler events.
17411
17412 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17413
17414         * gst/gstvalue.c: (gst_value_is_fixed):
17415           Should handle both value arrays and value lists.
17416
17417 2005-11-21  Andy Wingo  <wingo@pobox.com>
17418
17419         patch by: Alessandro Dessina <alessandro nnva org>
17420
17421         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
17422         functions to access arrays. Fixes #321962.
17423
17424 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17425
17426         * docs/gst/gstreamer.types:
17427           gst_collectpads_get_type => gst_collect_pads_get_type.
17428           
17429         * gst/base/gstbasetransform.c:
17430           Remove unused SIGNAL_HANDOFF enum.
17431
17432 2005-11-21  Andy Wingo  <wingo@pobox.com>
17433
17434         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
17435         the event type (upstream, downstream, serialized). Renamed
17436         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
17437         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
17438         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
17439
17440         * gst/gstevent.c: Update for new CUSTOM event names.
17441
17442         * check/gst/gstevent.c: Update check for new CUSTOM event names.
17443
17444         * gst/gstevent.h:
17445         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
17446         bug #319392.
17447
17448 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17449
17450         * docs/gst/gstreamer-sections.txt:
17451         * win32/common/libgstbase.def:
17452         * win32/libgstbase.def:
17453         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
17454         (gst_collect_pads_class_init), (gst_collect_pads_init),
17455         (gst_collect_pads_finalize), (gst_collect_pads_new),
17456         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
17457         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
17458         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
17459         (gst_collect_pads_start), (gst_collect_pads_stop),
17460         (gst_collect_pads_peek), (gst_collect_pads_pop),
17461         (gst_collect_pads_available), (gst_collect_pads_read),
17462         (gst_collect_pads_flush), (gst_collect_pads_event),
17463         (gst_collect_pads_chain):
17464         * gst/base/gstcollectpads.h:
17465           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
17466           unimplemented functions as unimplemented. Add padding to
17467           GstCollectData. (#320766, #320423)
17468
17469 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
17470
17471         * gst/gstmessage.c:
17472           Improve docs for DURATION message (usage of duration parameter)
17473           (#320113)
17474
17475 2005-11-20  Wim Taymans  <wim@fluendo.com>
17476
17477         * check/Makefile.am:
17478         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
17479         (main):
17480         * gst/Makefile.am:
17481         * gst/gst.h:
17482         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
17483         (gst_segment_set_seek), (gst_segment_set_newsegment),
17484         (gst_segment_to_stream_time), (gst_segment_to_running_time),
17485         (gst_segment_clip):
17486         * gst/gstsegment.h:
17487         Added segment helper structure and methods. Not fully implemented
17488         yet.
17489         Added segment check.
17490
17491 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
17492
17493         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
17494           Add a deserialisation test for fractions
17495         * examples/metadata/read-metadata.c: (message_loop),
17496         (make_pipeline), (main):
17497           Fix up metadata reading sample.
17498         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17499           Debug format fix
17500         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17501           Don't try and fixate empty caps
17502         * gst/gst_private.h:
17503           Wrap in G_BEGIN_DECLS/G_END_DECLS
17504         * gst/gstvalue.c: (gst_value_collect_fraction),
17505         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
17506         (gst_value_transform_string_fraction),
17507         (gst_value_compare_fraction):
17508           Add some extra guards to ensure that we don't end up 
17509           with an invalid denominator of 0 in a gstfraction and
17510           that fractions always get reduced.
17511
17512 2005-11-20  Wim Taymans  <wim@fluendo.com>
17513
17514         * docs/gst/gstreamer-sections.txt:
17515         * gst/gstbuffer.h:
17516         * gst/gstelement.c:
17517         * gst/gstformat.c:
17518         * gst/gstformat.h:
17519         * gst/gstindex.h:
17520         * gst/gstquery.c:
17521         * gst/gstquery.h:
17522         * gst/gstvalue.c:
17523         Doc fixes.
17524
17525 2005-11-20  Wim Taymans  <wim@fluendo.com>
17526
17527         * docs/design/part-TODO.txt:
17528         * gst/gstcaps.h:
17529         Make a proper enum of the flag.
17530
17531 2005-11-19  Wim Taymans  <wim@fluendo.com>
17532
17533         * docs/design/part-TODO.txt:
17534         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
17535         (gst_format_to_quark), (gst_format_register):
17536         * gst/gstformat.h:
17537         * gst/gstquery.c: (_gst_query_initialize),
17538         (gst_query_type_get_name), (gst_query_type_to_quark),
17539         (gst_query_type_register):
17540         * gst/gstquery.h:
17541         Add type to quark and type to string conversions.
17542
17543 2005-11-19  Andy Wingo  <wingo@pobox.com>
17544
17545         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
17546         #320097.
17547
17548 2005-11-19  Wim Taymans  <wim@fluendo.com>
17549
17550         * docs/design/part-TODO.txt:
17551         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
17552         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
17553         (gst_bin_handle_message_func):
17554         * gst/gstbin.h:
17555         Make message handling overridable.
17556
17557 2005-11-19  Andy Wingo  <wingo@pobox.com>
17558
17559         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
17560
17561         * gst/gstclock.h:
17562         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
17563         be a GstClockTime.
17564         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
17565         is a GstClockTime. Fixes #321710.
17566
17567         * gst/gstclock.h (GstClock): Remove offset property. Add
17568         internal_calibration and external_calibration. Fix padding. Pad
17569         also by GstClockTime so we don't run into problems.
17570
17571         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
17572         (gst_clock_get_rate_offset): Remove.
17573         (gst_clock_set_time_adjust): Remove. Fixes #321712.
17574
17575         * gst/gstutils.h:
17576         * gst/gstutils.c (g_static_rec_cond_wait)
17577         (g_static_rec_cond_timed_wait): Removed, no longer needed.
17578
17579         * gst/gstbin.c: Remove terrible continue_state prototype.
17580
17581         * gst/gstelement.h (gst_element_continue_state): Make public.
17582
17583         * gst/gstelement.h:
17584         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
17585         by continue_state. Fixes #319389.
17586
17587         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
17588         Really fixes #168438. However I don't see anywhere where the
17589         filter function is called... stupid GStreamer...
17590         
17591         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
17592         don't have a dispose function, so it won't get called when the
17593         object is unreffed, but oh well!
17594
17595         * gst/gstindex.c (gst_index_set_filter_full): New API function,
17596         allows a destroy function to be set so user_data can be freed.
17597         Fixes #168438.
17598         (gst_index_set_filter): Call gst_index_set_filter_full.
17599
17600         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
17601
17602         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
17603         string should produce an error, given the lack of a way to
17604         represent NULL strings. Fixes #165650.
17605         
17606         * gst/gstvalue.h: 
17607         * gst/gstvalue.c (gst_value_array_append_value) 
17608         (gst_value_array_prepend_value, gst_value_array_get_size) 
17609         (gst_value_array_get_value): New API, copied from
17610         gst_value_list_*, only operates on arrays.
17611         (gst_value_list_append_value, gst_value_list_prepend_value) 
17612         (gst_value_list_concat, gst_value_list_get_size) 
17613         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
17614
17615         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
17616         init_list, because it works on both.
17617         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
17618         (gst_value_copy_list_or_array): Renamed from copy_list.
17619         (gst_value_free_list_or_array): Renamed from free_list.
17620         (gst_value_collect_list_or_array): Renamed from collect_list.
17621         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
17622         (gst_value_list_or_array_peek_pointer): Renamed from
17623         list_peek_pointer.
17624         (_gst_value_array_value_table, _gst_value_list_value_table):
17625         Update value table functions.
17626         (gst_value_compare_list_or_array): Renamed from compare_list.
17627
17628         * gsttaglist.h: Whoops, foreach function returns void. Also fix
17629         some constness.
17630
17631         * gst/gsttaglist.c:
17632         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
17633         GstTagList*. Fixes #143472.
17634
17635         * gst/gststructure.h: Clarify what the foreach/map functions can
17636         or can't do to their arguments.
17637
17638 2005-11-18  Wim Taymans  <wim@fluendo.com>
17639
17640         * gst/gstclock.c: (gst_clock_set_calibration),
17641         (gst_clock_get_calibration):
17642         Doc and API fixes.
17643         Calibration can be set with internal time equal to current
17644         internal time too.
17645
17646 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17647
17648         * gst/gsterror.c:
17649         * gst/gsterror.h:
17650           document
17651
17652 2005-11-18  Andy Wingo  <wingo@pobox.com>
17653
17654         * configure.ac: 
17655         * pkgconfig/gstreamer-net.pc.in:
17656         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17657         * pkgconfig/Makefile.am: Add net pkgconfig files.
17658
17659 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
17660
17661         * gst/gstcaps.c:
17662         * gst/gstghostpad.c:
17663         * gst/gsttrace.c:
17664         * gst/gstvalue.c:
17665         * gst/gstvalue.h:
17666           docs fixes
17667
17668 2005-11-18  Andy Wingo  <wingo@pobox.com>
17669
17670         * gst/net/gstnetclientclock.c: Turn off debugging.
17671
17672         * check/net/gstnetclientclock.c (test_functioning): Assert that the
17673         times connverge somewhat. Can't make a real test.
17674
17675         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
17676         integer arithmetic. Return the minimum of the domain, which can be
17677         set as "internal" for gst_clock_set_calibration.
17678         (gst_net_client_clock_observe_times): Call _set_calibration.
17679         (gst_net_client_clock_new): Call _set_calibration instead of
17680         rate_offset.
17681
17682         * check/net/gstnetclientclock.c (test_functioning): Use the right
17683         adjustment api.
17684
17685         * gst/gstclock.h:
17686         * gst/gstclock.c (gst_clock_get_calibration) 
17687         (gst_clock_set_calibration): New functions, obsolete the ones I
17688         added yesterday. Doh. Precision issues mean we have to extrapolate
17689         from a point in the more recent past than 1970.
17690         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
17691         obsolete.
17692         (gst_clock_adjust_unlocked): Use the right calibration data.
17693
17694 2005-11-18  Edward Hervey  <edward@fluendo.com>
17695
17696         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
17697         Also reset the ->current_* values in READY->PAUSED
17698
17699 2005-11-18  Andy Wingo  <wingo@pobox.com>
17700
17701         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
17702         Whoops, check the right fd. Also add some debugging.
17703         (gst_net_client_clock_observe_times): Adjust for int64 offset.
17704         (do_linear_regression): Add a crapload of debugging. Subtract off
17705         the minimum values from the input series to discard unneeded bits.
17706         Use only int arithmetic. There is still double arithmetic when
17707         calculating the intercept that needs fixing. Return boolean to
17708         indicate success; FALSE would mean the domain or range is too
17709         great. Still needs fixes.
17710
17711 2005-11-18  Wim Taymans  <wim@fluendo.com>
17712
17713         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17714         For the current position in stream time, we need to subtract
17715         accumulated time.
17716         
17717         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
17718         Release lock before calling the callback function of async
17719         entries.
17720
17721 2005-11-18  Andy Wingo  <wingo@pobox.com>
17722
17723         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
17724         Port goes all the way to MAXUINT16.
17725
17726         * gst/net/gstnettimeprovider.c: Make the port range the same as
17727         for the kernel: 0 assigns, otherwise ports are less than
17728         MAXUINT16.
17729
17730         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
17731         port change.
17732
17733         * check/net/gstnetclientclock.c (test_functioning): Add the start
17734         of another test. 
17735
17736 2005-11-18  Wim Taymans  <wim@fluendo.com>
17737
17738         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17739         (gst_bin_remove_func), (bin_bus_handler):
17740         * gst/gstbin.h:
17741         Removing a clock provider from a bin, triggers a clock lost message
17742         so that a new clock will be selected.
17743         Adding a clock to a bin triggers a clock provider message.
17744         Make sure we reselect a clock when we received a clock lost message.
17745         Keep a reference to the element that provided the clock.
17746
17747 2005-11-18  Andy Wingo  <wingo@pobox.com>
17748
17749         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
17750         the clock initially so it produces values around the base time.
17751         (gst_net_client_clock_class_init): Typo fix.
17752         (gst_net_client_clock_thread): Add note on when the socket gets
17753         closed.
17754
17755 2005-11-17  Wim Taymans  <wim@fluendo.com>
17756
17757         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
17758         Free remote and local time arrays.
17759
17760 2005-11-17  Wim Taymans  <wim@fluendo.com>
17761
17762         * gst/net/gstnetclientclock.c: (do_linear_regression),
17763         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
17764         Fix compilation, uninitialized vars and a forgotten continue.
17765
17766 2005-11-17  Andy Wingo  <wingo@pobox.com>
17767
17768         * check/Makefile.am (check_PROGRAMS): 
17769         * check/net/gstnetclientclock.c: Add a most minimal test for the
17770         net client clock. More to come later.
17771
17772         * gst/net/gstnet.h: 
17773         * gst/net/Makefile.am: Add netclientclock.
17774
17775         * gst/net/gstnetclientclock.h:
17776         * gst/net/gstnetclientclock.c: New files, implement an untested
17777         GstClock that takes its time from a network time provider.
17778         Implements the algorithm in network-clock.scm.
17779
17780         * tests/network-clock.scm (*window-size*): Rename from
17781         *queue-length*.
17782         * tests/network-clock.scm (network-time): 
17783         * tests/network-clock-utils.scm (q-push): Update callers.
17784
17785 2005-11-17  Wim Taymans  <wim@fluendo.com>
17786
17787         * gst/gstbin.c: (gst_bin_provide_clock_func),
17788         (gst_bin_sort_iterator_new):
17789         And unref the child too..
17790
17791 2005-11-17  Wim Taymans  <wim@fluendo.com>
17792
17793         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
17794         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
17795         Refactor the sort iterator so it can be used while holding the
17796         LOCK too.
17797         Make clock selection select a clock closest to the source.
17798
17799 2005-11-17  Michael Smith <msmith@fluendo.com>
17800
17801         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
17802         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
17803         * gst/gstclock.h:
17804           Anonymous structs are a gcc (and some other compilers) extension, so
17805           don't use them. Since this is only for ABI-compatibility, and our
17806           API/ABI freeze is over in a few days, this whole thing will only
17807           last a few days, so don't bother trying to think up a meaningful
17808           name for the struct.
17809
17810 2005-11-17  Andy Wingo  <wingo@pobox.com>
17811
17812         * gst/gstclock.h (GstClock): Add rate and offset properties,
17813         preserving ABI stability. Add rate/offset accessors. Will file bug
17814         for the freeze break.
17815
17816         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
17817         and offset, trying to keep precision and avoiding
17818         underflow/overflow.
17819         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
17820         functions. Make gst_clock_set_time_adjust obsolete.
17821         (gst_clock_set_time_adjust): Note that this function is obsolete.
17822         Will file bug soon.
17823
17824         * gst/base/gstbasetransform.h: Make the ABI-stability hack
17825         greppable by using GST_PADDING-1+1.
17826
17827 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
17828
17829         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17830
17831         * gst/gstmessage.c: (gst_message_parse_clock_lost):
17832           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
17833
17834         * gst/gstpadtemplate.h:
17835         * gst/gstpluginfeature.h:
17836           Don't use c++ style comments in headers (#321638).
17837
17838 2005-11-16  Andy Wingo  <wingo@pobox.com>
17839
17840         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
17841         buffer.
17842
17843         * check/net/gstnettimeprovider.c: Check to see that the time
17844         provider actually provides times. Works, yo!
17845
17846 2005-11-16  Wim Taymans  <wim@fluendo.com>
17847
17848         * check/Makefile.am:
17849         Enable more tests.
17850
17851         * check/elements/fakesrc.c: (GST_START_TEST):
17852         Set element to NULL before disposing it.
17853
17854 2005-11-16  Andy Wingo  <wingo@pobox.com>
17855
17856         * gst/net/Makefile.am:
17857         * gst/net/gstnet.h:
17858         * gst/net/gstnettimeprovider.c: 
17859         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
17860         provider, include it from gstnet.h, and add it to the build.
17861
17862         * gst/net/gstnettimepacket.h: 
17863         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
17864         sending and receiving.
17865
17866 2005-11-16  Wim Taymans  <wim@fluendo.com>
17867
17868         * check/Makefile.am:
17869         Enable valgrind check.
17870
17871         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
17872         (gst_fake_src_alloc_buffer):
17873         Fix memleak.
17874
17875 2005-11-16  Wim Taymans  <wim@fluendo.com>
17876
17877         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
17878         Call parent finalize too.
17879
17880 2005-11-16  Wim Taymans  <wim@fluendo.com>
17881
17882         * check/Makefile.am:
17883         Enable valgrind check that should work fine now.
17884
17885         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17886         * gst/gstqueue.c: (gst_queue_init):
17887         Fix memleaks in pad allocation.
17888
17889 2005-11-16  Andy Wingo  <wingo@pobox.com>
17890
17891         * gst/net/Makefile.am:
17892         * gst/net/gstnet.h: New part of core to hold network elements and
17893         objects. Put in core because it exposes API that applications want
17894         to use. The library is named libgstnet-tempname right now because
17895         of the existing libgstnet in gst-plugins-base. Solution is
17896         probably to rename the one in plugins-base; will file a bug for
17897         the freeze break.
17898
17899         * gst/net/gstnettimeprovider.c: 
17900         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
17901         get_time call over the network.
17902
17903         * configure.ac: 
17904         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
17905
17906         * check/Makefile.am:
17907         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
17908         get additions shortly.
17909
17910 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17911
17912         * gst/gstpad.c: (gst_pad_new_from_static_template):
17913         * gst/gstpad.h:
17914           add gst_pad_new_from_static_template functions
17915         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
17916         (gst_check_setup_sink_pad):
17917         * gst/elements/gsttee.c: (gst_tee_init):
17918           and use them
17919
17920 2005-11-16  Wim Taymans  <wim@fluendo.com>
17921
17922         * gst/gstpad.c: (gst_pad_pause_task):
17923         Removed warning, it's not really an error either.
17924
17925 2005-11-16  Wim Taymans  <wim@fluendo.com>
17926
17927         * gst/base/gstbasetransform.c:
17928         (gst_base_transform_prepare_output_buf),
17929         (gst_base_transform_event):
17930         Check if the caps are NULL, this can happen if the element
17931         is shutting down and the pad caps are set to NULL.
17932
17933 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17934
17935         * gst/elements/gsttee.c: (gst_tee_init):
17936           fix pad template leak in tee
17937
17938 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17939
17940         * gst/glib-compat.c: (g_value_dup_gst_object):
17941         * gst/glib-compat.h:
17942         * gst/gstpad.c: (gst_pad_set_property):
17943           use gst_object_ref when setting the pad template; this will
17944           trigger the pad template leaks on GLib 2.6 and the slaves
17945
17946 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17947
17948         * gst/glib-compat.c: (gst_flags_get_first_value):
17949         * gst/glib-compat.h:
17950         * gst/gstregistryxml.c:
17951           remove functions copied from GLib 2.6
17952
17953 2005-11-16  Michael Smith <msmith@fluendo.com>
17954
17955         * gst/Makefile.am:
17956           Don't link against VALGRIND_LIBS. That was always the wrong thing to
17957           do, but only breaks with newer valgrind versions. We're not a
17958           valgrind tool, we have no link-time dependencies on libcoregrind.
17959
17960 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17961
17962         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
17963           some debug changes
17964         * gst/gstmessage.h:
17965           typo fixes
17966
17967 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17968
17969         * gst/base/gstbasesrc.c: (gst_base_src_init):
17970         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17971         * gst/gstqueue.c: (gst_queue_init):
17972         * gst/gstregistryxml.c: (load_feature):
17973           Revert all these unrefs, they don't even pass make check !
17974
17975 2005-11-15  Johan Dahlin  <johan@gnome.org>
17976
17977         * gst/base/gstbasesrc.c: (gst_base_src_init):
17978         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
17979         * gst/gstqueue.c: (gst_queue_init): 
17980         Free pad templates, fixes a couple of leaks.
17981
17982 2005-11-15  Daniel Fischer  <dan at f3c dot com>
17983
17984         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
17985
17986         * gst/gstpad.c: (gst_pad_get_property):
17987           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
17988           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
17989           (#321452)
17990
17991 2005-11-15  Wim Taymans  <wim@fluendo.com>
17992
17993         * gst/gstevent.c:
17994         Small doc update.
17995
17996 2005-11-15  Andy Wingo  <wingo@pobox.com>
17997
17998         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
17999
18000         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
18001         using GST_CLOCK_TIME_NONE to disable base time management.
18002         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
18003         time if it was NONE before.
18004         (gst_pipeline_change_state): Only munge the base time if
18005         stream_time != GST_CLOCK_TIME_NONE.
18006
18007         * check/gst/gstpipeline.c (test_base_time): Punt around the
18008         problem of the probe not being called, because that's not the
18009         issue I'm looking at. Add a check that setting stream_time to NONE
18010         disables base time management.
18011         
18012 2005-11-15  Wim Taymans  <wim@fluendo.com>
18013
18014         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18015         segment_stop == -1 at startup.
18016
18017         * gst/base/gstbasetransform.c: (gst_base_transform_event),
18018         (gst_base_transform_change_state):
18019         Init segment values at start.
18020
18021 2005-11-15  Wim Taymans  <wim@fluendo.com>
18022
18023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18024         0 segment values are 0 in any format.
18025
18026         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18027         * gst/base/gstbasetransform.h:
18028         Parse newsegment correctly in basetransform
18029
18030         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18031         Sync to clock using updated segment values.
18032
18033 2005-11-15  Andy Wingo  <wingo@pobox.com>
18034
18035         * check/gst/gstpipeline.c (test_base_time): Add check that the
18036         base time and stream time are reset correctly.
18037
18038 2005-11-15  Wim Taymans  <wim@fluendo.com>
18039
18040         * docs/design/part-TODO.txt:
18041         Some more TODO items.
18042
18043 2005-11-15  Andy Wingo  <wingo@pobox.com>
18044
18045         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
18046         error if the user selected "no clock" as the clocking method.
18047
18048         * check/gst/gstpipeline.c (test_base_time): New test for buffer
18049         timestamps with live capture.
18050
18051         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
18052         is 0 but we are a live source, timestamp the buffers using the
18053         element's clock.
18054
18055 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
18056
18057         * docs/gst/gstreamer-sections.txt:
18058         * gst/gsterror.c:
18059         * gst/gstghostpad.c:
18060         * gst/gstobject.h:
18061         * gst/gstxml.c:
18062           more section docs
18063
18064 2005-11-14  Wim Taymans  <wim@fluendo.com>
18065
18066         * common/gst.supp:
18067           add suppressions from Wim's Debian machine
18068
18069 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
18070
18071         * common/gst.supp:
18072           add suppressions from Andy's AMD64 Ubuntu machine
18073
18074 2005-11-14  Andy Wingo  <wingo@pobox.com>
18075
18076         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
18077         STATE_LOCK not necessary. Fixes #311489.
18078
18079         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
18080         #305291.
18081
18082         * gst/gstindex.c (gst_index_add_object): Note in the docs that
18083         this function is not implemented.
18084
18085 2005-11-14  Julien MOUTTE  <julien@moutte.net>
18086
18087         * gst/base/gstbasetransform.c:
18088         (gst_base_transform_prepare_output_buf):
18089         Ref the source pad caps while we need them.
18090         Fixes (#321386)
18091
18092 2005-11-11  Wim Taymans  <wim@fluendo.com>
18093
18094         * docs/gst/gstreamer-sections.txt:
18095         Added some docs for GstCollectData.
18096
18097         * gst/base/gstadapter.c:
18098         Some small code example fix.
18099
18100         * gst/base/gstcollectpads.c:
18101         * gst/base/gstcollectpads.h:
18102         Document some more.
18103
18104 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18105
18106         * configure.ac: back to HEAD
18107
18108 === release 0.9.5 ===
18109
18110 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
18111
18112         * configure.ac:
18113           releasing 0.9.5, "Bike Lunch Day"
18114
18115 2005-11-11  Wim Taymans  <wim@fluendo.com>
18116
18117         * gst/gstbuffer.c: (_gst_buffer_copy):
18118         Copy more flags.
18119
18120         * gst/gstcaps.c: (gst_caps_is_equal):
18121         Fix some docs.
18122         Make _is_equal fast in the trivial cases.
18123
18124         * gst/gstminiobject.c:
18125         * gst/gstminiobject.h:
18126         More docs. Spifify .h file.
18127
18128         * gst/gstutils.c:
18129         Small doc update.
18130
18131 2005-11-11  Wim Taymans  <wim@fluendo.com>
18132
18133         * gst/base/gstbasetransform.c:
18134         (gst_base_transform_prepare_output_buf),
18135         (gst_base_transform_handle_buffer):
18136         Small cleanups.
18137         If we're processing a buffer and need to allocate an output
18138         buffer, we cannot accept a format change. If we did get a 
18139         format change, we have to alloc a buffer ourselves of the 
18140         right size.
18141
18142 2005-11-11  Wim Taymans  <wim@fluendo.com>
18143
18144         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
18145         While checking the flag for reentrancy in the gstcaps function
18146         is nice to detect recursive invocations, it also makes it 
18147         impossible to call getcaps from multiple threads, which must be
18148         possible. So, checking for recursive calls has to go.
18149
18150 2005-11-11  Michael Smith <msmith@fluendo.com>
18151
18152         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18153           Don't sync on buffers that fall partially outside our current
18154           segment. Prevents an assertion failure/abort playing some files.
18155
18156 2005-11-10  Andy Wingo  <wingo@pobox.com>
18157
18158         * check/gst/gstbin.c (test_message_state_changed_children): Style
18159         fix..
18160
18161         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
18162         gst_bus_poll with the signal watch. Ensures that poll and a signal
18163         watch see the same messages.
18164
18165         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
18166         a poll and a watch at the same time get the same messages.
18167
18168 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18169
18170         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
18171         * gst/gstcaps.c: (gst_caps_intersect):
18172           Don't call gst_caps_do_simplify - it doesn't respect order of caps
18173           and it's not needed.
18174
18175 2005-11-10  Wim Taymans  <wim@fluendo.com>
18176
18177         * docs/design/part-TODO.txt:
18178         Updated todo.
18179
18180 2005-11-10  Wim Taymans  <wim@fluendo.com>
18181
18182         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18183         * gst/base/gstbasesrc.c: (gst_base_src_wait),
18184         (gst_base_src_do_sync), (gst_base_src_get_range):
18185         Implement clock sync in base class.
18186
18187 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18188
18189         patch by: Tim-Philipp Müller <tim at centricular dot net>
18190
18191         * gst/gststructure.c: (gst_structure_parse_field),
18192         (gst_structure_from_string):
18193           Forward-port a 0.8 patch to handle escaped spaces in structure string,
18194           so that gst_parse_launch() can deal with spaces in filtered link
18195           caps (fixes #164479)
18196         * check/gst/capslist.h:
18197         * check/gst/gststructure.c: (GST_START_TEST):
18198           add unit tests for this change
18199
18200 2005-11-10  Wim Taymans  <wim@fluendo.com>
18201
18202         * docs/gst/gstreamer-sections.txt:
18203         * gst/gstelement.c:
18204         * gst/gstelement.h:
18205         Fix docs, move some STATE macros to private.
18206
18207 2005-11-10  Wim Taymans  <wim@fluendo.com>
18208
18209         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
18210         Added check for bug #317341
18211
18212         * gst/gstbuffer.c:
18213         * gst/gstbuffer.h:
18214         Some more spiffifying.
18215
18216         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
18217         Call peer linkfunction if we are a source pad. Totally fixes
18218         #317341
18219
18220         * gst/gstpad.c:
18221         Update docs, source pads should call the peer linkfunction
18222         so they can atomically perform the pad link.
18223
18224 2005-11-09  Wim Taymans  <wim@fluendo.com>
18225
18226         * gst/gstbuffer.c:
18227         * gst/gstbuffer.h:
18228         Uber-spiffy-spiffify some more.
18229
18230 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
18231
18232         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
18233         * gst/elements/gstfilesink.c: (gst_file_sink_init):
18234         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18235         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
18236         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
18237         * gst/gstpad.c: (gst_pad_init):
18238           Use GST_DEBUG_FUNCPTR() more extensively.
18239
18240 2005-11-09  Wim Taymans  <wim@fluendo.com>
18241
18242         * gst/gstobject.c: (gst_object_class_init):
18243         * gst/gstobject.h:
18244         Documentation fixes.
18245
18246 2005-11-09  Edward Hervey  <edward@fluendo.com>
18247
18248         * gst/gsttypefindfactory.c:
18249         Fix docs.
18250         
18251 2005-11-09  Edward Hervey  <edward@fluendo.com>
18252
18253         * gst/base/gsttypefindhelper.c:
18254         * gst/gsttypefind.c:
18255         * gst/gsttypefind.h:
18256         Fix docs.
18257
18258 2005-11-09  Wim Taymans  <wim@fluendo.com>
18259
18260         * gst/gstiterator.c:
18261         Fix revision data.
18262
18263         * gst/gsttask.c:
18264         * gst/gsttask.h:
18265         Fix docs.
18266
18267 2005-11-09  Wim Taymans  <wim@fluendo.com>
18268
18269         * gst/gstevent.h:
18270         * gst/gsturi.h:
18271         Fix docs.
18272
18273 2005-11-09  Wim Taymans  <wim@fluendo.com>
18274
18275         * docs/gst/gstreamer-sections.txt:
18276         Moved the message async delivery private lock and cond
18277         to the private section.
18278
18279         * gst/gstmessage.c:
18280         * gst/gstmessage.h:
18281         Fixed docs.
18282
18283 2005-11-09  Edward Hervey  <edward@fluendo.com>
18284
18285         * docs/gst/gstreamer-sections.txt:
18286         * gst/gsturi.c:
18287         * gst/gsturi.h:
18288         Document GstURIHandler
18289
18290 2005-11-09  Wim Taymans  <wim@fluendo.com>
18291
18292         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
18293         (gst_iterator_find_custom):
18294         * gst/gstiterator.h:
18295         Fix iterator docs.
18296
18297 2005-11-09  Wim Taymans  <wim@fluendo.com>
18298
18299         * gst/gstbin.h:
18300         Document another field.
18301
18302         * gst/gststructure.c:
18303         * gst/gststructure.h:
18304         Document.
18305
18306 2005-11-09  Wim Taymans  <wim@fluendo.com>
18307
18308         * gst/gstbin.h:
18309         Documented structs.
18310
18311 2005-11-09  Wim Taymans  <wim@fluendo.com>
18312
18313         * docs/gst/gstreamer-sections.txt:
18314         Added some new macros.
18315
18316         * gst/gstclock.c:
18317         * gst/gstclock.h:
18318         * gst/gstobject.h:
18319         Docs updates.
18320
18321 2005-11-09  Wim Taymans  <wim@fluendo.com>
18322
18323         * docs/design/part-TODO.txt:
18324         Some more items for the TODO
18325
18326         * gst/gstcaps.c:
18327         * gst/gstcaps.h:
18328         Document GstCaps.
18329
18330 2005-11-09  Andy Wingo  <wingo@pobox.com>
18331
18332         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
18333         to work on something else now tho...
18334
18335         * gst/base/gstadapter.c: More adapter docs.
18336
18337         * gst/elements/gstfilesink.c (gst_file_sink_start) 
18338         (gst_file_sink_stop): New functions, replace the state change
18339         handler.
18340         (gst_file_sink_class_init): Hook up the start and stop functions.
18341         (gst_file_sink_base_init): Don't set the state change handler any
18342         more. It was a bit ugly too, being set from here...
18343         (gst_file_sink_get_property, gst_file_sink_set_property):
18344         Cleanups...
18345         (gst_file_sink_set_location): More robust check that doesn't call
18346         GST_STATE. Ugggggg.
18347
18348 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
18349
18350         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18351           Hold STREAM_LOCK while pushing newsegment or tag events as well.
18352
18353 2005-11-08  Wim Taymans  <wim@fluendo.com>
18354
18355         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
18356         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
18357         (gst_base_sink_chain), (gst_base_sink_change_state):
18358         * gst/base/gstbasesink.h:
18359         * gst/base/gstbasesrc.h:
18360         * gst/gstelement.h:
18361         * gst/gstevent.h:
18362         Avoid excessive typechecking in macros.
18363
18364         * gst/gstminiobject.c: (gst_mini_object_get_type),
18365         (gst_mini_object_init), (gst_mini_object_new),
18366         (gst_mini_object_free):
18367         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18368         (gst_object_finalize):
18369         Remove cruft code, optimize alloc_trace.
18370
18371 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18372
18373         * docs/faq/gst-uninstalled:
18374           fix up PS1 for systems that try to reset it
18375
18376 2005-11-07  Wim Taymans  <wim@fluendo.com>
18377
18378         * gst/base/gstbasesrc.c: (gst_base_src_init),
18379         (gst_base_src_get_range):
18380         Set the segment_end to -1 initially. Fixed typefind.
18381
18382 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
18383
18384         * gst/base/gstadapter.c:
18385           Debug category should be 'adapter', not 'GstAdapter'.
18386           
18387         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
18388         (gst_collectpads_class_init), (gst_collectpads_init),
18389         (gst_collectpads_peek), (gst_collectpads_pop),
18390         (gst_collectpads_event), (gst_collectpads_chain):
18391           Add debug category and some debugging output. Use boilerplate
18392           macros. Remove some extraneous words from docs.
18393
18394 2005-11-05  Andy Wingo  <wingo@pobox.com>
18395
18396         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
18397         macro.
18398
18399 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18400
18401         * docs/gst/gstreamer-sections.txt:
18402         * gst/gstcaps.h:
18403         * gst/gstinfo.c:
18404         * gst/gstminiobject.h:
18405         * gst/gstobject.h:
18406         * gst/gstutils.h:
18407           more docs added
18408
18409 2005-11-04  Wim Taymans  <wim@fluendo.com>
18410
18411         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18412         Small update to stop at the configured segment_end
18413         position.
18414
18415 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
18416
18417         * gst/gstregistry.c:
18418         * gst/gstregistry.h:
18419           added missing docs
18420
18421 2005-11-04  Edward Hervey  <edward@fluendo.com>
18422
18423         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
18424         Check if we are doing a segment seek and have arrived at the
18425         end of that segment.
18426
18427 2005-11-04  Wim Taymans  <wim@fluendo.com>
18428
18429         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
18430         Don't leak a mutex unlock in case of an error.
18431
18432         * gst/gstbus.h:
18433         Doc fixes.
18434
18435 2005-11-04  Wim Taymans  <wim@fluendo.com>
18436
18437         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
18438         (gst_bus_post):
18439         Get the context to wake up only once.
18440
18441 2005-11-03  Wim Taymans  <wim@fluendo.com>
18442
18443         * check/states/sinks.c: (GST_START_TEST):
18444         Uncomment fixed check.
18445
18446         * docs/design/part-TODO.txt:
18447         Updated TODO.
18448
18449         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18450         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18451         (gst_base_sink_get_position):
18452         If we are going to PLAYING, post the right pending state
18453         when we post the intermediate paused message.
18454
18455         * gst/gstelement.c: (gst_element_continue_state),
18456         (gst_element_set_state_func), (gst_element_change_state):
18457         Don't post state changes that were between the same state
18458         and were not ASYNC.
18459
18460 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18461
18462         * docs/gst/gstreamer-sections.txt:
18463         * gst/gstcaps.h:
18464         * gst/gstinfo.c:
18465         * gst/gstminiobject.h:
18466         * gst/gstobject.h:
18467         * gst/gstutils.h:
18468           more docs and doc style fixes
18469
18470 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
18471
18472         * docs/gst/gstreamer-sections.txt:
18473         * gst/gstelement.c:
18474         * gst/gstminiobject.c:
18475         doc fixes
18476
18477 2005-11-03  Andy Wingo  <wingo@pobox.com>
18478
18479         * check/states/sinks.c (test_livesrc_sink): Add checks that the
18480         state-changed messages actually have the right order and the right
18481         values.
18482
18483 2005-11-03  Wim Taymans  <wim@fluendo.com>
18484
18485         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
18486         Added some more checks. Specifically the case where NO_PREROLL
18487         elements are in the pipeline.
18488
18489         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18490         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
18491         (gst_base_sink_get_position):
18492         Post READY->PAUSED state change messages too.
18493         Fix bug where VOID was posted as pending state...
18494
18495         * gst/gstbin.c: (gst_bin_recalc_state):
18496         use _element_continue_state() to continue the state change.
18497
18498         * gst/gstelement.c: (gst_element_continue_state),
18499         (gst_element_commit_state), (gst_element_set_state_func),
18500         (gst_element_change_state), (gst_element_change_state_func):
18501         Lots of state change cleanups, assign the STATE_RETURN in
18502         a new continue_state() function that also propagates the
18503         last return value from a state change to the app.
18504         Update some debug statements with proper category.
18505
18506 2005-11-03  Wim Taymans  <wim@fluendo.com>
18507
18508         * docs/design/part-events.txt:
18509         * docs/design/part-gstpipeline.txt:
18510         * docs/design/part-messages.txt:
18511         * docs/design/part-overview.txt:
18512         * docs/design/part-seeking.txt:
18513         * docs/design/part-states.txt:
18514         * docs/design/part-trickmodes.txt:
18515         * docs/manual/advanced-position.xml:
18516         Small docs updates.
18517
18518         * gst/gstobject.h:
18519         People think !! is ugly, this looks better.
18520
18521         * gst/gstpad.c: (gst_pad_set_blocked_async):
18522         Remove !! since it's fixed elsewhere now.
18523
18524 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * gst/gstminiobject.h:
18527         * gst/gstobject.h:
18528           Add !! to _FLAG_IS_SET macros to make the result boolean.
18529
18530 2005-11-03  Edward Hervey  <edward@fluendo.com>
18531
18532         * gst/gstpad.c: (gst_pad_set_blocked_async):
18533         comparing a flag and a gboolean rarely returns coherent results...
18534         Added two characters (!!) to make that work correctly.
18535         
18536 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18537
18538         * gst/gstbus.c: (gst_bus_class_init):
18539           Fix some typos.
18540           
18541         * gst/gstqueue.c: (gst_queue_loop):
18542           Don't assume a miniobject that isn't a buffer is an
18543           event (it could be that there is a refcounting
18544           problem somewhere and the pointer is stale and
18545           refers to an already destroyed miniobject).
18546
18547 2005-11-03  Julien MOUTTE  <julien@moutte.net>
18548
18549         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
18550
18551 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
18552
18553         * docs/manual/advanced-position.xml:
18554           Update seek example and explanations to current 0.9 API.
18555
18556         * gst/elements/gsttypefindelement.c:
18557         (gst_type_find_element_activate):
18558           Remove FIXME comment now that the found caps
18559           are unreffed.
18560
18561 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18562
18563         * gst/gstregistryxml.c: (load_feature):
18564           Add another GST_STR_NULL instance
18565
18566 2005-11-02  Edward Hervey  <edward@fluendo.com>
18567
18568         * gst/gstpad.c: (handle_pad_block):
18569         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
18570         
18571 2005-11-02  Wim Taymans  <wim@fluendo.com>
18572
18573         * gst/gstbin.c:
18574         Fix typo in docs.
18575
18576         * gst/gstelement.c: (gst_element_commit_state):
18577         Remove unused value.
18578
18579         * gst/gstiterator.c:
18580         Mention that the returned element is reffed in the docs.
18581
18582 2005-11-02  Wim Taymans  <wim@fluendo.com>
18583
18584         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
18585         (gst_pad_push), (gst_pad_push_event):
18586         Unlock blocked pads when they are flushed.
18587
18588 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18589
18590         * docs/README:
18591         * docs/gst/gstreamer-sections.txt:
18592         * gst/gstbin.c:
18593           doc updates
18594         * gst/gstregistry.c: (gst_registry_scan_path_level):
18595           fix for a nasty little missed situation where an installed plug-in
18596           which was in the cache did not get overridden by an uninstalled one
18597           which was earlier in the plugin path because the newly created plugin
18598           for the uninstalled one (not in the registry) didn't get its
18599           ->registered set to TRUE
18600
18601 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18602
18603         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
18604         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
18605         (gst_collectpads_is_active), (gst_collectpads_collect),
18606         (gst_collectpads_collect_range), (gst_collectpads_start),
18607         (gst_collectpads_stop), (gst_collectpads_peek),
18608         (gst_collectpads_pop), (gst_collectpads_available),
18609         (gst_collectpads_read), (gst_collectpads_flush):
18610           Guard public API with assertions.
18611         
18612         * gst/gstpad.c:
18613           Fix docs for gst_pad_set_link_function().
18614
18615 2005-11-02  Johan Dahlin  <johan@gnome.org>
18616
18617         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
18618         Unref found_caps after we used it.
18619
18620 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
18621
18622         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
18623           Don't try to ref NULL.
18624
18625 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18626
18627         * win32/common/config.h.in:
18628           provide a GST_FUNCTION that just gives a string for now
18629
18630 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18631
18632         * win32/common/gstenumtypes.c: (register_gst_object_flags),
18633         (gst_object_flags_get_type), (register_gst_bin_flags),
18634         (gst_bin_flags_get_type), (register_gst_buffer_flag),
18635         (gst_buffer_flag_get_type), (register_gst_bus_flags),
18636         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
18637         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
18638         (gst_clock_return_get_type), (register_gst_clock_entry_type),
18639         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
18640         (gst_clock_flags_get_type), (register_gst_state),
18641         (gst_state_get_type), (register_gst_state_change_return),
18642         (gst_state_change_return_get_type), (register_gst_state_change),
18643         (gst_state_change_get_type), (register_gst_element_flags),
18644         (gst_element_flags_get_type), (register_gst_core_error),
18645         (gst_core_error_get_type), (register_gst_library_error),
18646         (gst_library_error_get_type), (register_gst_resource_error),
18647         (gst_resource_error_get_type), (register_gst_stream_error),
18648         (gst_stream_error_get_type), (register_gst_event_type),
18649         (gst_event_type_get_type), (register_gst_seek_type),
18650         (gst_seek_type_get_type), (register_gst_seek_flags),
18651         (gst_seek_flags_get_type), (register_gst_format),
18652         (gst_format_get_type), (register_gst_index_certainty),
18653         (gst_index_certainty_get_type), (register_gst_index_entry_type),
18654         (gst_index_entry_type_get_type),
18655         (register_gst_index_lookup_method),
18656         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
18657         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
18658         (gst_index_resolver_method_get_type), (register_gst_index_flags),
18659         (gst_index_flags_get_type), (register_gst_debug_level),
18660         (gst_debug_level_get_type), (register_gst_debug_color_flags),
18661         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
18662         (gst_iterator_result_get_type), (register_gst_iterator_item),
18663         (gst_iterator_item_get_type), (register_gst_message_type),
18664         (gst_message_type_get_type), (register_gst_mini_object_flags),
18665         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
18666         (gst_pad_link_return_get_type), (register_gst_flow_return),
18667         (gst_flow_return_get_type), (register_gst_activate_mode),
18668         (gst_activate_mode_get_type), (register_gst_pad_direction),
18669         (gst_pad_direction_get_type), (register_gst_pad_flags),
18670         (gst_pad_flags_get_type), (register_gst_pad_presence),
18671         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
18672         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
18673         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
18674         (gst_plugin_error_get_type), (register_gst_plugin_flags),
18675         (gst_plugin_flags_get_type), (register_gst_rank),
18676         (gst_rank_get_type), (register_gst_query_type),
18677         (gst_query_type_get_type), (register_gst_tag_merge_mode),
18678         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
18679         (gst_tag_flag_get_type), (register_gst_task_state),
18680         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
18681         (gst_alloc_trace_flags_get_type),
18682         (register_gst_type_find_probability),
18683         (gst_type_find_probability_get_type), (register_gst_uri_type),
18684         (gst_uri_type_get_type), (register_gst_parse_error),
18685         (gst_parse_error_get_type):
18686         * win32/common/gstversion.h:
18687           update win32 copies
18688
18689 2005-11-01  Luca Ognibene  <luogni@tin.it>
18690
18691         * gst/gst.c:
18692           fix docs. popt is dead, long live GOption.
18693
18694 2005-10-31  Wim Taymans  <wim@fluendo.com>
18695
18696         * gst/gstbuffer.h:
18697         Small doc fix.
18698
18699 2005-10-31  Andy Wingo  <wingo@pobox.com>
18700
18701         * Boo!
18702
18703         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
18704
18705         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
18706         need to serialize property notifications on GLib 2.8. GLib 2.6 has
18707         the possibility of deadlocks here if code calling notify() or
18708         set() has a lock that can be taken in another notify handler (ABBA
18709         with class lock and e.g. python GIL state lock).
18710
18711 2005-10-28  Julien MOUTTE  <julien@moutte.net>
18712
18713         * gst/gstbus.c: Doc updates.
18714
18715 2005-10-28  Wim Taymans  <wim@fluendo.com>
18716
18717         * docs/design/part-TODO.txt:
18718         * gst/gstiterator.c:
18719         * gst/gstsystemclock.c:
18720         * gst/gstsystemclock.h:
18721         Doc updates.
18722
18723 2005-10-28  Edward Hervey  <edward@fluendo.com>
18724
18725         * docs/gst/gstreamer-docs.sgml:
18726         * docs/gst/gstreamer-sections.txt:
18727         the GstURIType documentation page is private, it only defines GstURIType
18728         which should be defined in the GstURIHandler page
18729         
18730 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
18731
18732         * gst/gstbin.c: (gst_bin_class_init):
18733         * gst/gstbin.h:
18734         * gst/gstutils.c:
18735         Documentation updates.
18736
18737 2005-10-28  Wim Taymans  <wim@fluendo.com>
18738
18739         * docs/gst/gstreamer-sections.txt:
18740         * gst/gstclock.c:
18741         * gst/gstclock.h:
18742         Documented the clocks.
18743
18744 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
18745
18746         * docs/gst/gstreamer-sections.txt:
18747           move some macros to private sections
18748         * gst/gstminiobject.c:
18749         * gst/gstminiobject.h:
18750           add descriptions provided by ds and some more
18751         * gst/gstpad.h:
18752           mark macro as to be removed
18753
18754 2005-10-28  Wim Taymans  <wim@fluendo.com>
18755
18756         * docs/design/part-TODO.txt:
18757         Add an item to TODO.
18758
18759         * gst/gstiterator.c: (gst_iterator_fold),
18760         (gst_iterator_find_custom):
18761         * gst/gstiterator.h:
18762         Add iterator docs.
18763
18764 2005-10-28  Wim Taymans  <wim@fluendo.com>
18765
18766         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
18767         (gst_base_transform_init):
18768         Don't leak class.
18769
18770         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
18771         An EOS event marks the queue as completely filled.
18772
18773 2005-10-27  Wim Taymans  <wim@fluendo.com>
18774
18775         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18776         (gst_base_sink_do_sync), (gst_base_sink_get_position):
18777         Some more debugging.
18778
18779         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
18780         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
18781         (gst_base_transform_event), (gst_base_transform_getrange),
18782         (gst_base_transform_chain):
18783         * gst/base/gstbasetransform.h:
18784         Fix debugging,
18785         Protect transform and concurrent buffer alloc with a new lock.
18786         Try not to break ABI/API.
18787
18788 2005-10-27  Wim Taymans  <wim@fluendo.com>
18789
18790         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18791         (gst_base_src_init), (gst_base_src_query),
18792         (gst_base_src_default_newsegment),
18793         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18794         (gst_base_src_send_event), (gst_base_src_event_handler),
18795         (gst_base_src_pad_get_range), (gst_base_src_loop),
18796         (gst_base_src_unlock), (gst_base_src_default_negotiate),
18797         (gst_base_src_start), (gst_base_src_deactivate),
18798         (gst_base_src_activate_push), (gst_base_src_change_state):
18799         Move some stuff around and cleanup things.
18800
18801 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
18802
18803         * gst/base/gstbasesrc.c: (gst_base_src_query):
18804           Add missing break statements.
18805
18806 2005-10-27  Wim Taymans  <wim@fluendo.com>
18807
18808         * check/gst/gstbin.c: (GST_START_TEST):
18809         An extra refcount is taken in basesrc.
18810
18811         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18812         (gst_base_src_get_range), (gst_base_src_pad_get_range),
18813         (gst_base_src_loop):
18814         Small cleanups, check for flushing after being unlocked from the 
18815         LIVE_LOCK. take refcounts correctly (not yet everywhere).
18816         Don't send out EOS when going to READY.
18817
18818 2005-10-27  Wim Taymans  <wim@fluendo.com>
18819
18820         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18821         (gst_base_sink_get_position):
18822         Some more debug.
18823
18824         * gst/gstbin.c: (message_check), (bin_replace_message),
18825         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18826         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18827         (bin_query_duration_init), (bin_query_duration_fold),
18828         (bin_query_duration_done), (bin_query_generic_fold),
18829         (gst_bin_query):
18830         * tools/gst-launch.c: (main):
18831         Remove old option.
18832
18833 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
18834
18835         * examples/controller/audio-example.c: (main):
18836         * examples/queue/queue.c: (event_loop):
18837         * gst/base/gstbasetransform.h:
18838         * gst/gstelement.c: (gst_element_send_event):
18839         * gst/gstevent.h:
18840         * gst/gstpad.c: (gst_pad_send_event):
18841           fixing examples
18842           fixing docs typos
18843           changing log priority in error situations
18844
18845 2005-10-25  Wim Taymans  <wim@fluendo.com>
18846
18847         * gst/gstbin.c: (message_check), (bin_replace_message),
18848         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18849         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18850         (bin_query_duration_init), (bin_query_duration_fold),
18851         (bin_query_duration_done), (bin_query_generic_fold),
18852         (gst_bin_query):
18853         Some doc and debug updates.
18854         Cache previously requested query DURATION for speed. invalidate
18855         cached duration if element posts a DURATION message.
18856
18857 2005-10-25  Wim Taymans  <wim@fluendo.com>
18858
18859         * docs/design/part-TODO.txt:
18860         Update TODO.
18861
18862         * gst/gstbin.c: (message_check), (bin_replace_message),
18863         (bin_remove_messages), (is_eos), (gst_bin_add_func),
18864         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
18865         (bin_query_duration_init), (bin_query_duration_fold),
18866         (bin_query_duration_done), (bin_query_generic_fold),
18867         (gst_bin_query):
18868         Handle SEGMENT_START/DONE messages correctly.
18869         More evolved query algorithm that handles duration queries
18870         correctly.
18871
18872         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
18873         (gst_element_get_state_func), (gst_element_abort_state),
18874         (gst_element_commit_state), (gst_element_lost_state):
18875         Some more debugging.
18876
18877         * gst/gstmessage.h:
18878         Added doc.
18879
18880 2005-10-25  Wim Taymans  <wim@fluendo.com>
18881
18882         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18883         Don't use invalid stream_time.
18884
18885         * gst/gstevent.c: (gst_event_new_newsegment):
18886         stream_time in newsegment cannot be undefined.
18887
18888 2005-10-24  Wim Taymans  <wim@fluendo.com>
18889
18890         * gst/gstbus.c:
18891         Doc fix.
18892
18893         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18894         (gst_queue_loop):
18895         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
18896
18897 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
18898
18899         * docs/libs/tmpl/gstdparam.sgml:
18900         * docs/libs/tmpl/gstdplinint.sgml:
18901         * docs/libs/tmpl/gstdpman.sgml:
18902         * docs/libs/tmpl/gstdpsmooth.sgml:
18903         * docs/libs/tmpl/gstunitconvert.sgml:
18904           these are obsolete
18905
18906 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
18907
18908         * configure.ac:
18909           back to HEAD
18910
18911 === release 0.9.4 ===
18912
18913 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18914
18915         * configure.ac:
18916           releasing 0.9.4, "Tyrannosaurus Rex"
18917
18918 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
18919
18920         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
18921         (gst_file_sink_get_current_offset):
18922           Use fseeko() and ftello() if available. When falling back on
18923           lseek() to get the current offset, fflush() first to make sure
18924           everything is up-to-date and we get the right offset.
18925
18926 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18927
18928         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18929         * gst/base/gstbasesrc.c: (gst_base_src_loop):
18930         * gst/gsterror.c: (_gst_stream_errors_init):
18931         * gst/gsterror.h:
18932         * gst/gstqueue.c: (gst_queue_loop):
18933         * po/POTFILES.in:
18934           remove prematurely added error category and clean up the instances
18935
18936 2005-10-21  Wim Taymans  <wim@fluendo.com>
18937
18938         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
18939         (gst_base_sink_get_position), (gst_base_sink_query),
18940         (gst_base_sink_change_state):
18941         Simply set the right flag when going to playing, that's all
18942         we need to do instead of calling a function inside the object
18943         lock (that could take the lock as well and deadlock)
18944
18945 2005-10-21  Wim Taymans  <wim@fluendo.com>
18946
18947         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
18948         (gst_base_src_loop):
18949         Don't warn, the peer element knows what to do best when
18950         the seek failed, it might try something else.
18951
18952 2005-10-21  Wim Taymans  <wim@fluendo.com>
18953
18954         * gst/base/gstbasesrc.c: (gst_base_src_init),
18955         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
18956         Fix seeking.
18957
18958 2005-10-21  Wim Taymans  <wim@fluendo.com>
18959
18960         * docs/design/part-segments.txt:
18961         More docs.
18962
18963         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
18964         Correctly set caps, even on the subbufer.
18965
18966 2005-10-21  Wim Taymans  <wim@fluendo.com>
18967
18968         * docs/gst/gstreamer-docs.sgml:
18969         * docs/gst/gstreamer-sections.txt:
18970         * gst/gstelement.h:
18971         * gst/gstevent.c:
18972         * gst/gstevent.h:
18973         * gst/gstmessage.h:
18974         * gst/gstpad.h:
18975         * gst/gstparse.h:
18976         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
18977         * gst/gsttask.h:
18978         * gst/gstutils.c:
18979         * gst/gstutils.h:
18980         And 2% more doc coverage.
18981
18982 2005-10-21  Andy Wingo  <wingo@pobox.com>
18983
18984         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
18985         position reporting.
18986
18987 2005-10-20  Wim Taymans  <wim@fluendo.com>
18988
18989         * gst/gsterror.c: (gst_error_get_message):
18990         * gst/gstparse.h:
18991         * gst/gstquery.h:
18992         * gst/gststructure.c:
18993         * gst/gsttrace.c:
18994         * gst/gstutils.c:
18995         More docs.
18996
18997 2005-10-20  Wim Taymans  <wim@fluendo.com>
18998
18999         * gst/gstbuffer.h:
19000         * gst/gstpad.c:
19001         * gst/gstparse.c:
19002         Another 1% more coverage.
19003
19004 2005-10-20  Wim Taymans  <wim@fluendo.com>
19005
19006         * docs/gst/gstreamer-sections.txt:
19007         * gst/gstelement.c: (gst_element_get_state_func),
19008         (gst_element_abort_state), (gst_element_commit_state),
19009         (gst_element_lost_state):
19010         * gst/gstevent.h:
19011         * gst/gstquery.c: (gst_query_set_position),
19012         (gst_query_parse_position), (gst_query_set_duration),
19013         (gst_query_parse_duration), (gst_query_new_convert):
19014         * gst/gstutils.c:
19015         Yay! 1% more docs coverage.
19016
19017 2005-10-20  Wim Taymans  <wim@fluendo.com>
19018
19019         * gst/gstpad.h:
19020         * gst/gstquery.c: (gst_query_set_position),
19021         (gst_query_parse_position), (gst_query_set_duration),
19022         (gst_query_parse_duration), (gst_query_new_convert):
19023         * gst/gstquery.h:
19024         * gst/gstutils.c: (gst_element_query_convert):
19025         * gst/gstutils.h:
19026         Docs and consistency fixes.
19027
19028 2005-10-20  Wim Taymans  <wim@fluendo.com>
19029
19030         * gst/gsttask.c:
19031         * gst/gsttask.h:
19032         More docs.
19033
19034 2005-10-20  Wim Taymans  <wim@fluendo.com>
19035
19036         * gst/gstbin.c: (message_check), (bin_replace_message),
19037         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19038         (update_degree), (gst_bin_sort_iterator_next),
19039         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
19040         Reworked the message handling a bit, cache the messages instead of
19041         only the senders. alows us to do more in the future.
19042
19043 2005-10-20  Wim Taymans  <wim@fluendo.com>
19044
19045         * docs/design/part-TODO.txt:
19046         Update TODO
19047
19048         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19049         (gst_base_sink_query):
19050         Don't use clock time to report position when in EOS.
19051
19052 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
19053
19054         * tools/gst-inspect.c: (print_interfaces),
19055         (print_element_properties_info), (print_element_info):
19056           Fix interface output with gst-inspect -a; don't print
19057           newlines after double/float properties.
19058
19059 2005-10-20  Wim Taymans  <wim@fluendo.com>
19060
19061         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
19062         (gst_base_sink_query):
19063         Speed up current position calculation.
19064
19065         * gst/base/gstbasesrc.c: (gst_base_src_query),
19066         (gst_base_src_default_newsegment):
19067         Correctly set stream position in newsegment.
19068
19069         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
19070         (update_degree), (gst_bin_sort_iterator_next),
19071         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
19072         * gst/gstmessage.c: (gst_message_new_custom):
19073         Clean up debugging info
19074
19075         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
19076         (gst_queue_loop), (gst_queue_handle_src_query):
19077         Pause task faster.
19078
19079 2005-10-19  Wim Taymans  <wim@fluendo.com>
19080
19081         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19082         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19083         Fix query handling again.
19084
19085 2005-10-19  Wim Taymans  <wim@fluendo.com>
19086
19087         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19088         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
19089         * gst/base/gstbasesrc.c: (gst_base_src_query):
19090         * gst/elements/gstfilesink.c: (gst_file_sink_query):
19091         * gst/elements/gsttypefindelement.c:
19092         (gst_type_find_handle_src_query), (find_element_get_length),
19093         (gst_type_find_element_activate):
19094         API change fix.
19095
19096         * gst/gstquery.c: (gst_query_new_position),
19097         (gst_query_set_position), (gst_query_parse_position),
19098         (gst_query_new_duration), (gst_query_set_duration),
19099         (gst_query_parse_duration), (gst_query_set_segment),
19100         (gst_query_parse_segment):
19101         * gst/gstquery.h:
19102         Bundling query position/duration is not a good idea since duration
19103         does not change much and we don't want to recalculate it for every
19104         position query, so they are separated again..
19105         Base value in segment query is not needed.
19106
19107         * gst/gstqueue.c: (gst_queue_handle_src_query):
19108         * gst/gstutils.c: (gst_element_query_position),
19109         (gst_element_query_duration), (gst_pad_query_position),
19110         (gst_pad_query_duration):
19111         * gst/gstutils.h:
19112         Updates for query API change.
19113         Added some docs here and there.
19114
19115 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19116
19117         * check/gst/gstbin.c: (GST_START_TEST):
19118         * check/gst/gstghostpad.c: (GST_START_TEST):
19119         * check/pipelines/cleanup.c: (GST_START_TEST):
19120           wait on thread to die so we can check refcount correctly
19121
19122 2005-10-18  Wim Taymans  <wim@fluendo.com>
19123
19124         * check/pipelines/stress.c: (GST_START_TEST):
19125         Make check a little more time consuming.
19126
19127 2005-10-18  Wim Taymans  <wim@fluendo.com>
19128
19129         * check/Makefile.am:
19130         * check/pipelines/stress.c: (GST_START_TEST),
19131         (simple_launch_lines_suite), (main):
19132         Small state change torture test.
19133
19134         * docs/design/part-states.txt:
19135         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19136         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
19137         (gst_base_sink_change_state):
19138         Never take state lock from streaming thread, clean up ugly
19139         hacks. Unfortunatly core does not yet support nice ways to
19140         async commit state.
19141         
19142         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
19143         (bin_bus_handler):
19144         Start state recalc if a STATE_DIRTY message is posted, but only
19145         on the toplevel bin.
19146
19147         * gst/gstelement.c: (gst_element_sync_state_with_parent),
19148         (gst_element_get_state_func), (gst_element_abort_state),
19149         (gst_element_commit_state), (gst_element_lost_state),
19150         (gst_element_set_state_func), (gst_element_change_state):
19151         * gst/gstelement.h:
19152         State variables are now protected with the LOCK, the state
19153         lock is only used to serialize _set_state().
19154
19155 2005-10-18  Wim Taymans  <wim@fluendo.com>
19156
19157         * check/gst/gstbin.c: (GST_START_TEST):
19158         * check/gst/gstmessage.c: (GST_START_TEST):
19159         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19160         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
19161         (bin_bus_handler):
19162         * gst/gstelement.c: (gst_element_abort_state),
19163         (gst_element_commit_state), (gst_element_lost_state):
19164         * gst/gstmessage.c: (gst_message_new_state_changed),
19165         (gst_message_new_state_dirty), (gst_message_new_segment_start),
19166         (gst_message_new_segment_done), (gst_message_new_duration),
19167         (gst_message_parse_state_changed),
19168         (gst_message_parse_segment_start),
19169         (gst_message_parse_segment_done), (gst_message_parse_duration):
19170         * gst/gstmessage.h:
19171         * tools/gst-launch.c: (event_loop):
19172         Seriously, this is better than a previous commit as we only need
19173         to notify the fact that an element changed state in a streaming
19174         thread, marking the state of the parents dirty, hence the 
19175         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
19176         message.
19177
19178 2005-10-18  Wim Taymans  <wim@fluendo.com>
19179
19180         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
19181         (gst_bin_recalc_func):
19182         * gst/gstelement.c: (gst_element_set_clock),
19183         (gst_element_abort_state), (gst_element_lost_state):
19184         Cleanups, prepare for state change fixes.
19185
19186 2005-10-18  Wim Taymans  <wim@fluendo.com>
19187
19188         * gst/gstbin.h:
19189         * gst/gstelement.c: (gst_element_class_init),
19190         (gst_element_set_state), (gst_element_set_state_func):
19191         * gst/gstelement.h:
19192         Pending ABI changes.
19193         GThreadPool in GstBinClass to monitor async state changes.
19194         state_cookie in GstElement to detect concurrent gst/set state.
19195         set_state is now virtual too in case a very complicated element
19196         has to be constructed.
19197
19198 2005-10-18  Wim Taymans  <wim@fluendo.com>
19199
19200         * check/gst/gstbin.c: (GST_START_TEST):
19201         * check/gst/gstmessage.c: (GST_START_TEST):
19202         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
19203         * gst/gstbin.c: (bin_bus_handler):
19204         * gst/gstelement.c: (gst_element_commit_state),
19205         (gst_element_lost_state):
19206         * gst/gstmessage.c: (gst_message_new_state_changed),
19207         (gst_message_new_segment_start), (gst_message_new_segment_done),
19208         (gst_message_new_duration), (gst_message_parse_state_changed),
19209         (gst_message_parse_segment_start),
19210         (gst_message_parse_segment_done), (gst_message_parse_duration):
19211         * gst/gstmessage.h:
19212         * tools/gst-launch.c: (event_loop):
19213         Make messages future proof.
19214         state-change gets a flag if it was a message comming from the
19215         streaming thread.
19216         segment-start/stop can also be specified in other formats.
19217         A message to notify an app that a pipeline changed playback 
19218         duration.
19219         Also fix a GstMessage leak in -launch
19220
19221 2005-10-18  Andy Wingo  <wingo@pobox.com>
19222
19223         * gst/gstelement.c (gst_element_dispose): More helpful message.
19224
19225 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19226
19227         reviewed by: <delete if not using a buddy>
19228
19229         * common/gtk-doc.mak:
19230
19231 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19232
19233         * gst/gstregistry.c: (gst_registry_scan_path_level):
19234           unref a plug-in we get that was already initialized
19235
19236 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
19237
19238         * docs/gst/gstreamer-sections.txt:
19239         * docs/libs/gstreamer-libs-sections.txt:
19240         * gst/gstelement.h:
19241           add new api entries
19242           hide internal macro
19243
19244 2005-10-17  Andy Wingo  <wingo@pobox.com>
19245
19246         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
19247         cleanup.
19248
19249         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
19250
19251         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
19252
19253         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
19254         (gst_element_get_state_func): Better debug message.
19255         (gst_element_commit_state): s/INFO/DEBUG/.
19256         (gst_element_lost_state, gst_element_change_state): 
19257
19258         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
19259         (gst_message_new_custom): s/INFO/LOG/.
19260
19261 2005-10-17  Michael Smith <msmith@fluendo.com>
19262
19263         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19264           Check if end time is valid using end time, not start time.
19265
19266 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
19267
19268         * check/gst-libs/controller.c: (GST_START_TEST),
19269         (gst_controller_suite):
19270         * libs/gst/controller/gstcontroller.c:
19271         (gst_controlled_property_set_interpolation_mode):
19272         * libs/gst/controller/gstcontroller.h:
19273         * libs/gst/controller/gstinterpolation.c:
19274         * testsuite/controller/.cvsignore:
19275         * testsuite/controller/Makefile.am:
19276         * testsuite/controller/interpolator.c:
19277           merge controller testsuites
19278           fix broken tests
19279           remove mem-chunk from docs
19280
19281 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19282
19283         * gst/gstmemchunk.c:
19284         * gst/gstmemchunk.h:
19285         * gst/gsttrashstack.c:
19286         * gst/gsttrashstack.h:
19287           out.  get out.  you're fired.  to the Attic !
19288
19289 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
19290
19291         * gst/gstcaps.c: (gst_caps_intersect):
19292           fix signedness issues in a (hopefully) correct way
19293         * gst/gstelement.c: (gst_element_pads_activate):
19294           some debugging
19295         * gst/gstobject.c: (gst_object_set_parent):
19296           some debugging
19297
19298 2005-10-17  Julien MOUTTE  <julien@moutte.net>
19299
19300         * gst/gstvalue.h: Fix prototypes.
19301
19302 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19303
19304         * docs/gst/gstreamer-sections.txt:
19305         * gst/gst.c: (gst_version_string):
19306         * gst/gst.h:
19307         * gst/gstversion.h.in:
19308         * win32/common/libgstreamer.def:
19309           add gst_version_string ()
19310
19311 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19312
19313         * configure.ac:
19314           clean up further
19315         * gst/gst.c: (init_post):
19316         * win32/common/config.h.in:
19317           it's PLUGINDIR now
19318         * gst/gstcaps.c: (gst_caps_intersect):
19319           use gint64, the range could be bigger than a guint
19320
19321 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19322
19323         * gst/gstclock.h:
19324           document potential problem in 2038
19325
19326 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19327
19328         * gst/gstcaps.c: (gst_caps_intersect):
19329           Fix guint j diving under 0
19330
19331 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19332
19333         * configure.ac:
19334         * win32/common/config.h:
19335         * win32/common/config.h.in:
19336           check for process.h, declares getpid() on Windows
19337         * gst/gstinfo.c:
19338           include process.h if we have it
19339         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
19340         * gst/gstmemchunk.h:
19341           fix signedness issues
19342         * win32/common/libgstreamer.def:
19343           fix get_type's
19344
19345 2005-10-16  Julien MOUTTE  <julien@moutte.net>
19346
19347         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
19348         fix. Because of unsigned ints, caps intersection was going nuts and
19349         trying to access structures with G_MAXUINT index. That fixes
19350         videotestsrc ! ffmpegcolorspace ! fakesink
19351         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
19352         consistency.
19353
19354 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19355
19356         * configure.ac:
19357           use the gettext macro
19358         * gst/elements/gstelements.c:
19359         * gst/gst.c:
19360         * gst/indexers/gstindexers.c:
19361           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
19362         * win32/common/config.h:
19363           updated config.h
19364         * win32/common/config.h.in:
19365           add the template to generate config.h
19366         * win32/common/gstenumtypes.c:
19367         * win32/common/gstversion.h:
19368           updated copies
19369
19370 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19371
19372         * gst/gst.c: (gst_version):
19373         * gst/gstversion.h.in:
19374           add the nano
19375
19376 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19377
19378         * gst/gstevent.h:
19379           Oops, add missing closing bracket.
19380
19381 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19382
19383         * configure.ac:
19384           use common m4's for argument checking
19385
19386 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
19387
19388         * docs/gst/gstreamer-sections.txt:
19389         * gst/gstevent.h:
19390           Add GST_EVENT_TYPE_NAME() macro.
19391
19392 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19393
19394         * gst/gstinfo.c:
19395         * gst/gstpluginfeature.c:
19396         * gst/gsttask.c:
19397           privatize more symbols
19398
19399 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19400
19401         * configure.ac:
19402           add srcdir, builddir includes to GST_ALL_CFLAGS, since
19403           everything that uses GStreamer API should have the includes
19404
19405 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19406
19407         * docs/gst/gstreamer-sections.txt:
19408         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
19409         * gst/gstvalue.h:
19410           give each value a _get_type, removes the DATA exports
19411
19412 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19413
19414         * gst/gst.c:
19415         * gst/gst.h:
19416           remove _gst_registry_auto_load, not used anymore
19417         * gst/gstbin.c: (gst_bin_get_type):
19418         * gst/gstbin.h:
19419         * gst/gstelement.c: (gst_element_get_type):
19420         * gst/gstelement.h:
19421         * gst/gstobject.c: (gst_object_get_type):
19422         * gst/gstobject.h:
19423         * gst/gstpad.c: (gst_pad_get_type):
19424         * gst/gstpad.h:
19425           make _get_type functions similar, fixes data export from library
19426
19427 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19428
19429         * configure.ac:
19430           correctly make conditionals
19431         * gst/elements/Makefile.am:
19432         * gst/elements/gstelements.c:
19433           fix typo causing fdsrc not to build
19434
19435 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19436
19437         * testsuite/Makefile.am:
19438         * testsuite/bytestream/.cvsignore:
19439         * testsuite/bytestream/Makefile.am:
19440         * testsuite/bytestream/filepadsink.c:
19441         * testsuite/bytestream/gstbstest.c:
19442         * testsuite/bytestream/test1.c:
19443         * testsuite/bytestream/testfile1:
19444         * testsuite/caps/normalisation.c:
19445         * testsuite/caps/random.c: (main):
19446         * testsuite/cleanup/.cvsignore:
19447         * testsuite/cleanup/Makefile.am:
19448         * testsuite/cleanup/cleanup1.c:
19449         * testsuite/cleanup/cleanup2.c:
19450         * testsuite/cleanup/cleanup3.c:
19451         * testsuite/cleanup/cleanup4.c:
19452         * testsuite/cleanup/cleanup5.c:
19453         * testsuite/controller/interpolator.c:
19454         * testsuite/debug/printf_extension.c: (main):
19455         * testsuite/elements/tee.c:
19456         * testsuite/negotiation/.cvsignore:
19457         * testsuite/negotiation/Makefile.am:
19458         * testsuite/negotiation/pad_link.c:
19459         * testsuite/pad/Makefile.am:
19460         * testsuite/pad/chainnopull.c:
19461         * testsuite/pad/getnopush.c:
19462         * testsuite/pad/link.c:
19463         * testsuite/refcounting/sched.c: (create_pipeline):
19464         * testsuite/registry/Makefile.am:
19465         * testsuite/registry/gst-print-formats.c:
19466         * testsuite/schedulers/.cvsignore:
19467         * testsuite/schedulers/142183-2.c:
19468         * testsuite/schedulers/142183.c:
19469         * testsuite/schedulers/143777-2.c:
19470         * testsuite/schedulers/143777.c:
19471         * testsuite/schedulers/147713.c:
19472         * testsuite/schedulers/147819.c:
19473         * testsuite/schedulers/147894-2.c:
19474         * testsuite/schedulers/147894.c:
19475         * testsuite/schedulers/Makefile.am:
19476         * testsuite/schedulers/group_link.c:
19477         * testsuite/schedulers/queue_link.c:
19478         * testsuite/schedulers/relink.c:
19479         * testsuite/schedulers/unlink.c:
19480         * testsuite/schedulers/unref.c:
19481         * testsuite/schedulers/useless_iteration.c:
19482         * testsuite/states/bin.c:
19483           clean out/remove some stuff from the testsuite directories
19484
19485 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19486
19487         * configure.ac:
19488           check for some headers
19489         * gst/elements/Makefile.am:
19490         * gst/elements/gstelements.c:
19491           don't compile fdsrc without sys/socket.h
19492         * gst/indexers/Makefile.am:
19493         * gst/indexers/gstindexers.c: (plugin_init):
19494           don't compile fileindex without mmap
19495
19496 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
19497
19498         * configure.ac:
19499           reorganize
19500           clean up
19501           document more
19502           remove cruft
19503         * check/Makefile.am:
19504         * docs/gst/Makefile.am:
19505         * examples/helloworld/Makefile.am:
19506         * gst/Makefile.am:
19507         * gst/base/Makefile.am:
19508         * gst/check/Makefile.am:
19509         * gst/elements/Makefile.am:
19510         * gst/indexers/Makefile.am:
19511         * gst/parse/Makefile.am:
19512         * libs/gst/controller/Makefile.am:
19513         * libs/gst/dataprotocol/Makefile.am:
19514         * examples/helloworld/helloworld.c: (event_loop):
19515           compile fixes, though it's not being compiled currently
19516
19517 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19518
19519         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
19520           Add some simple tests for the new taglist date API.
19521
19522 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19523
19524         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
19525         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
19526           Beautify 'last-message' output: print 'none' for buffer timestamps
19527           and durations if none is set; improve alignment with next messages.
19528
19529 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
19530
19531         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
19532         * gst/gstpluginfeature.h:
19533         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
19534         * gst/gstregistry.h:
19535         * docs/gst/gstreamer-sections.txt:
19536           Add new API to check plugin feature version requirements.
19537
19538         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
19539           Some basic tests for the above.         
19540
19541 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19542
19543         * gst/gststructure.c: (gst_structure_to_string):
19544           guard against NULL printf - happens when for example
19545           a message structure with GstClock gets serialized
19546
19547 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19548
19549         * gst/base/gstcollectpads.c: (gst_collectpads_event):
19550           Fix presumable copy'n'pasto.
19551
19552 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19553
19554         * gst/elements/gstfakesrc.h:
19555         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
19556         * gst/elements/gsttypefindelement.c:
19557           fix some signedness
19558         * gst/elements/gstfilesink.c: (gst_file_sink_render):
19559           I wonder if this could actually write +2GB files before
19560
19561 2005-10-13  Andy Wingo  <wingo@pobox.com>
19562
19563         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
19564         Fix Timmeke Waymans bug.
19565         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
19566         string of the proper length to gst_caps_from_string. There's a
19567         potential for, before this fix, that this could cause someone
19568         connecting over the network to cause a segfault if the payload is
19569         not NUL-terminated.
19570
19571 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19572
19573         * docs/design/draft-push-pull.txt:
19574         * docs/design/part-overview.txt:
19575         * docs/random/TODO-pre-0.9:
19576         * docs/random/old/ChangeLog.gstreamer:
19577         * gst/base/gstpushsrc.c:
19578         * gst/gstclock.c:
19579           fixed typos
19580
19581 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19582
19583         * gst/glib-compat.c: (gst_flags_get_first_value):
19584         * gst/glib-compat.h:
19585         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
19586         (gst_value_compare_double), (gst_value_serialize_flags):
19587           GLib 2.6 g_flags_get_first_value has a bug that triggers an
19588           infinite loop
19589
19590 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19593         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19594           fix up debugging
19595         * tools/gst-launch.c: (event_loop):
19596           print out clock nicely
19597
19598 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
19599
19600         * docs/gst/gstreamer-sections.txt:
19601         * gst/gsttaglist.h:
19602         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
19603         (gst_tag_list_get_date_index):
19604           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
19605           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
19606
19607 2005-10-13  Julien MOUTTE  <julien@moutte.net>
19608
19609         * gst/base/gstcollectpads.c: (gst_collectpads_event),
19610         (gst_collectpads_chain):
19611         * gst/base/gstcollectpads.h: Handle newsegment and store informations
19612         in CollectData.
19613
19614 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
19615
19616         * docs/gst/gstreamer-sections.txt:
19617         * gst/gst.c:
19618         * gst/gsterror.h:
19619         * tools/gst-inspect.c: (main):
19620         * tools/gst-launch.c: (main):
19621         * tools/gst-run.c: (main):
19622         * tools/gst-xmlinspect.c: (main):
19623           fix GOption context leaks
19624           doc fixes
19625
19626 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
19627
19628         * gst/gstbus.c:
19629           use HAVE_UNISTD_H
19630         * win32/common/config.h:
19631           update config
19632         * win32/vs6/grammar.dsp:
19633         * win32/vs6/libgstelements.dsp:
19634         * win32/vs6/libgstreamer.dsp:
19635           update vs6 files
19636
19637 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19638
19639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19640         * gst/base/gstbasesrc.c: (gst_base_src_query):
19641           fix more guint64<->gdouble conversions
19642
19643 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19644
19645         * Makefile.am:
19646           add win32-update target
19647         * win32/common/gstconfig.h:
19648         * win32/common/gstenumtypes.c:
19649         * win32/common/gstenumtypes.h:
19650         * win32/common/gstversion.h:
19651           add files that visual studio can't generate
19652
19653 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
19654
19655         * Makefile.am:
19656           add a win32-update target
19657         * configure.ac:
19658
19659 2005-10-12  Wim Taymans  <wim@fluendo.com>
19660
19661         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19662         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
19663         * gst/gstelement.c: (gst_element_commit_state),
19664         (gst_element_set_state):
19665         Protect flags with proper lock.
19666         unref provided cached clock in dispose.
19667
19668 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19669
19670         * gst/gst.c:
19671         * gst/gstminiobject.h:
19672         * gst/gstpad.h:
19673         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
19674           removed unused flags from miniobject
19675           doc fixes
19676
19677 2005-10-12  Wim Taymans  <wim@fluendo.com>
19678
19679         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19680         (gst_file_sink_event), (gst_file_sink_render):
19681         Flush before seeking.
19682
19683 2005-10-12  Andy Wingo  <wingo@pobox.com>
19684
19685         * gst/gst.c (gst_init_check): Ignore unknown options, as has
19686         always been the case.
19687
19688 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
19689
19690         * check/gst/gstbin.c: (GST_START_TEST):
19691         * docs/gst/gstreamer-sections.txt:
19692         * gst/base/gstbasesink.c: (gst_base_sink_init):
19693         * gst/base/gstbasesrc.c: (gst_base_src_init),
19694         (gst_base_src_get_range), (gst_base_src_check_get_range),
19695         (gst_base_src_start), (gst_base_src_stop):
19696         * gst/base/gstbasesrc.h:
19697         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
19698         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
19699         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
19700         (bin_bus_handler):
19701         * gst/gstbin.h:
19702         * gst/gstbuffer.h:
19703         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
19704         * gst/gstbus.h:
19705         * gst/gstelement.c: (gst_element_is_locked_state),
19706         (gst_element_set_locked_state), (gst_element_commit_state),
19707         (gst_element_set_state):
19708         * gst/gstelement.h:
19709         * gst/gstindex.c: (gst_index_init):
19710         * gst/gstindex.h:
19711         * gst/gstminiobject.h:
19712         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
19713         (gst_object_set_parent):
19714         * gst/gstobject.h:
19715         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
19716         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
19717         * gst/gstpad.h:
19718         * gst/gstpadtemplate.h:
19719         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
19720         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
19721         * gst/gstpipeline.h:
19722         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19723         (gst_file_index_commit):
19724         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
19725         * testsuite/pad/link.c: (gst_test_src_init),
19726         (gst_test_filter_init), (gst_test_sink_init):
19727         * testsuite/states/locked.c: (main):
19728           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
19729           moved bitshift from macro to enum definition
19730
19731 2005-10-12  Wim Taymans  <wim@fluendo.com>
19732
19733         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
19734         * gst/elements/gstfilesink.c: (gst_file_sink_event),
19735         (gst_file_sink_render):
19736         Some more debugging info.
19737
19738 2005-10-12  Wim Taymans  <wim@fluendo.com>
19739
19740         * docs/design/part-states.txt:
19741         * tools/gst-launch.c: (main):
19742         Some doc updates.
19743         Revert non-intentional change.
19744
19745 2005-10-12  Wim Taymans  <wim@fluendo.com>
19746
19747         * check/gst/gstbin.c: (GST_START_TEST):
19748         * check/gst/gstelement.c: (GST_START_TEST):
19749         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
19750         * check/gst/gstghostpad.c: (GST_START_TEST):
19751         * check/gst/gstpipeline.c: (GST_START_TEST):
19752         * check/pipelines/simple_launch_lines.c: (run_pipeline):
19753         * check/states/sinks.c: (GST_START_TEST):
19754         * gst/elements/gsttypefindelement.c: (stop_typefinding):
19755         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19756         (gst_bin_remove_func), (gst_bin_get_state_func),
19757         (gst_bin_recalc_state), (gst_bin_change_state_func),
19758         (bin_bus_handler):
19759         * gst/gstelement.c: (gst_element_get_state_func),
19760         (gst_element_get_state), (gst_element_abort_state),
19761         (gst_element_commit_state), (gst_element_set_state),
19762         (gst_element_change_state), (gst_element_change_state_func):
19763         * gst/gstelement.h:
19764         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
19765         (gst_pipeline_provide_clock_func):
19766         * gst/gstutils.c: (gst_element_link_pads_filtered):
19767         * tools/gst-launch.c: (main):
19768         * tools/gst-typefind.c: (main):
19769         Use GstClockTime in _get_state() instead of GTimeVal.
19770         Remove old code in gstutils.c
19771
19772 2005-10-12  Andy Wingo  <wingo@pobox.com>
19773
19774         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
19775         removed.
19776
19777         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
19778         there is no task. Shouldn't affect any code, as nothing in our
19779         plugins checks this return value.
19780         (gst_pad_stop_task): Also take the stream lock if the pad has no
19781         task. Docs updated.
19782
19783 2005-10-12  Wim Taymans  <wim@fluendo.com>
19784
19785         * gst/gstpad.c: (pre_activate), (post_activate),
19786         (gst_pad_activate_pull), (gst_pad_activate_push):
19787         Cleanup activation code. Reset old state if
19788         activation failed.
19789
19790 2005-10-12  Wim Taymans  <wim@fluendo.com>
19791
19792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19793         (gst_base_sink_change_state):
19794         No need to prerol after receiving EOS.
19795
19796         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
19797         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
19798         * gst/elements/gstidentity.c: (gst_identity_event):
19799         Print events more verbosely.
19800
19801 2005-10-12  Wim Taymans  <wim@fluendo.com>
19802
19803         * check/Makefile.am:
19804         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19805         * check/states/sinks2.c:
19806         Moved sinks2 testcode in sinks check.
19807
19808         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
19809         (gst_bin_remove_func), (gst_bin_recalc_state),
19810         (gst_bin_change_state_func), (bin_bus_handler):
19811         Fix potential race condition when _get_state() iterated over an
19812         ASYNC element right before it posted a state completion.
19813
19814         * gst/gstclock.h:
19815         Do proper cast here.
19816
19817         * gst/gstevent.c: (gst_event_new_newsegment),
19818         (gst_event_parse_newsegment):
19819         A playback rate of 0.0 is not allowed.
19820
19821 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19822
19823         * win32/common/config.h:
19824         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
19825         (_trewinddir), (_ttelldir), (_tseekdir):
19826         * win32/common/dirent.h:
19827         * win32/common/gtchar.h:
19828         * win32/common/libgstbase.def:
19829         * win32/common/libgstreamer.def:
19830         * win32/vs6/grammar.dsp:
19831         * win32/vs6/gst_inspect.dsp:
19832         * win32/vs6/gst_launch.dsp:
19833         * win32/vs6/gstreamer.dsw:
19834         * win32/vs6/libgstbase.dsp:
19835         * win32/vs6/libgstelements.dsp:
19836         * win32/vs6/libgstreamer.dsp:
19837           Visual Studio 6 project files, and a new common directory.
19838           Phear.
19839
19840 2005-10-11  Wim Taymans  <wim@fluendo.com>
19841
19842         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19843         (gst_base_sink_do_sync), (gst_base_sink_query),
19844         (gst_base_sink_change_state):
19845         * gst/base/gstbasesink.h:
19846         Correctly parse newsegment info.
19847
19848 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19849
19850         * gst/gst.c: (init_post):
19851           split plugin paths correctly
19852
19853 2005-10-11  Wim Taymans  <wim@fluendo.com>
19854
19855         * check/gst/gstevent.c: (GST_START_TEST):
19856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19857         (gst_base_sink_change_state):
19858         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
19859         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19860         * gst/elements/gstfilesink.c: (gst_file_sink_event):
19861         * gst/gstevent.c: (gst_event_new_newsegment),
19862         (gst_event_parse_newsegment):
19863         * gst/gstevent.h:
19864         Added extra flag to newsegment for future API freeze.
19865         Updated check and base elements.
19866
19867 2005-10-11  Julien MOUTTE  <julien@moutte.net>
19868
19869         * gst/base/gstcollectpads.c: (gst_collectpads_init),
19870         (gst_collectpads_add_pad), (gst_collectpads_pop),
19871         (gst_collectpads_event), (gst_collectpads_chain):
19872         * gst/base/gstcollectpads.h: Handle EOS correctly.
19873
19874 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19875
19876         * tools/gst-launch.c: (main):
19877           more null protecting
19878
19879 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19880
19881         * gst/gst-i18n-lib.h:
19882           check for ENABLE_NLS, not GETTEXT_PACKAGE
19883         * gst/gstregistry.c: (gst_registry_add_plugin),
19884         (gst_registry_scan_path_level),
19885         (_gst_registry_remove_cache_plugins):
19886           protect possibly NULL strings
19887         * gst/parse/types.h:
19888           config.h already included before
19889         * tools/gst-inspect.c: (main):
19890           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
19891           check for ENABLE_NLS, not GETTEXT_PACKAGE
19892         * tools/gst-launch.c: (main):
19893           check for ENABLE_NLS, not GETTEXT_PACKAGE
19894
19895 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19896
19897         * configure.ac:
19898           if we don't have glib, fail before testing 2.8
19899         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
19900           fix a leak, should fix plugins-base testsuite
19901
19902 2005-10-11  Andy Wingo  <wingo@pobox.com>
19903
19904         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
19905         take the mode we're going to as an arg. Go head and set the mode
19906         and flushing flags now, so that if the activate function starts a
19907         thread all the flags will be in the right state.
19908         (post_activate): Renamed also. Just handle making sure streaming
19909         finishes for the deactivation case, and setting the deactivated
19910         mode.
19911         (gst_pad_set_active): Complain loudly if deactivation fails.
19912         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
19913         (gst_pad_activate_push): Adapt to pre/post_activate changes,
19914         remove the terrible hack.
19915
19916 2005-10-11  Wim Taymans  <wim@fluendo.com>
19917
19918         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19919         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
19920         (gst_bin_recalc_state), (gst_bin_change_state_func),
19921         (gst_bin_dispose), (bin_bus_handler):
19922         * gst/gstbin.h:
19923         Prepare to make current EOS message queue more generic.
19924         Fix some typos.
19925
19926         * gst/gstevent.c: (gst_event_new_newsegment),
19927         (gst_event_parse_newsegment):
19928         * gst/gstevent.h:
19929         Rename base to stream_time.
19930
19931         * gst/gstmessage.h:
19932         Fix typo in docs.
19933
19934 2005-10-11  Wim Taymans  <wim@fluendo.com>
19935
19936         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
19937         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
19938         (gst_bin_change_state_func), (bin_bus_handler):
19939         * gst/gstbin.h:
19940         Work on proper clock selection.
19941
19942 2005-10-11  Edward Hervey  <edward@fluendo.com>
19943
19944         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
19945         * libs/gst/controller/gstcontroller.h:
19946         Added GList* version of _remove_properties() in order to be able to wrap
19947         it in bindings.
19948
19949 2005-10-11  Wim Taymans  <wim@fluendo.com>
19950
19951         * docs/design/part-states.txt:
19952         Some more docs.
19953
19954         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
19955         (gst_bin_change_state_func), (bin_bus_handler):
19956         Doc updates. Don't distribute the same clock over and over again.
19957
19958         * gst/gstclock.c:
19959         * gst/gstclock.h:
19960         Doc updates.
19961
19962         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
19963         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
19964         (gst_pad_send_event):
19965         * gst/gstpad.h:
19966         Make probe emission threadsafe again.
19967         Register quarks and move _get_name() from utils.
19968         Doc updates.
19969
19970         * gst/gstpipeline.c: (gst_pipeline_class_init),
19971         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
19972         Only redistribute the clock of it changed.
19973
19974         * gst/gstsystemclock.h:
19975         Doc updates. 
19976
19977         * gst/gstutils.c:
19978         * gst/gstutils.h:
19979         Moved the _flow_get_name() to GstPad.
19980
19981 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19982
19983         * check/gst-libs/gdp.c: (GST_START_TEST):
19984         * check/gst/gstcaps.c: (GST_START_TEST):
19985         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
19986         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
19987         (gst_dp_packet_from_caps):
19988           fix more valgrind warnings before turning up the heat
19989
19990 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19991
19992         * gst/parse/grammar.y:
19993           some cleanup before the hacking
19994
19995 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19996
19997         * gst/base/gstbasesrc.c: (gst_base_src_query):
19998           use conversions
19999         * gst/gstutils.c: (gst_guint64_to_gdouble),
20000         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
20001         * gst/gstutils.h:
20002           externalize, basesrc uses it
20003           obviously the implementation needs testing
20004
20005 2005-10-10  Wim Taymans  <wim@fluendo.com>
20006
20007         * tests/sched/Makefile.am:
20008         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
20009         (make_pipeline3), (make_pipeline4), (print_elem), (main):
20010
20011 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20012
20013         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
20014           apparently converting from guint64 to double is not implemented
20015           on MSVC
20016
20017 2005-10-10  Wim Taymans  <wim@fluendo.com>
20018
20019         * check/Makefile.am:
20020         * check/generic/states.c: (GST_START_TEST):
20021         * check/gst/gstbin.c: (GST_START_TEST):
20022         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20023         * check/states/sinks.c: (GST_START_TEST):
20024         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
20025         (main):
20026         Check fixes, use API as stated in design docs, remove hacks.
20027
20028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20029         (gst_base_sink_change_state):
20030         Catch stopping our task while we're shutting down.
20031
20032         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
20033         (gst_bin_remove_func), (gst_bin_get_state_func),
20034         (gst_bin_recalc_state), (gst_bin_change_state_func),
20035         (bin_bus_handler):
20036         * gst/gstbin.h:
20037         * gst/gstelement.c: (gst_element_init),
20038         (gst_element_get_state_func), (gst_element_abort_state),
20039         (gst_element_commit_state), (gst_element_lost_state),
20040         (gst_element_set_state), (gst_element_change_state),
20041         (gst_element_change_state_func):
20042         * gst/gstelement.h:
20043         New state change algorithm (see #318116)
20044
20045         * gst/gstpipeline.c: (gst_pipeline_class_init),
20046         (gst_pipeline_init), (gst_pipeline_set_property),
20047         (gst_pipeline_get_property), (do_pipeline_seek),
20048         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20049         * gst/gstpipeline.h:
20050         Remove crude state change hacks.
20051
20052         * gst/gstutils.h:
20053         Remove crude hacks.
20054
20055         * tools/gst-launch.c: (main):
20056         Fixes for state change. Needs some more work to fully use the
20057         new stuff.
20058
20059 2005-10-10  Andy Wingo  <wingo@pobox.com>
20060
20061         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
20062
20063         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
20064         this flag, but it's not even in GLib 2.6. Odd. Hack around the
20065         issue.
20066
20067 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20068
20069         * gst/gstiterator.c: (gst_iterator_new):
20070           Fix my previous commit: GTypes passed to gst_iterator_new()
20071           can be fundamental types.
20072
20073 2005-10-10  Wim Taymans  <wim@fluendo.com>
20074
20075         * gst/gstelement.c: (gst_element_iterate_pad_list),
20076         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
20077         (gst_element_iterate_sink_pads):
20078         Use src/sink pads lists for the respective iterators instead
20079         of filtering.
20080
20081 2005-10-10  Andy Wingo  <wingo@pobox.com>
20082
20083         Merged in popt removal + GOption addition patch from Ronald, bug
20084         #169772.
20085
20086         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
20087         GstElement macros around, remove popt-related symbols, add goption
20088         stuff.
20089
20090         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
20091         
20092         * docs/gst/Makefile.am:
20093         * docs/libs/Makefile.am: No POPT_CFLAGS.
20094         
20095         * examples/manual/Makefile.am:
20096         * docs/manual/basics-init.xml: Doc updates with an example.
20097         
20098         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
20099         (gst_init), (parse_one_option), (parse_goption_arg):
20100         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
20101         bit of hand merging and debugging to get the GOption stuff working
20102         tho.
20103         
20104         * tests/Makefile.am:
20105         * tools/Makefile.am:
20106         * tools/gst-inspect.c: (main):
20107         * tools/gst-launch.c: (main):
20108         * tools/gst-run.c: (main):
20109         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
20110
20111 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20112
20113         * gst/gstiterator.c: (gst_iterator_new):
20114           Add assertions to make sure passed GType is likely to really
20115           be a GType (as the compiler won't catch it if the size and
20116           GType arguments get mixed up, see #318447).
20117
20118 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
20119
20120         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20121
20122         * gst/gstbin.c: (gst_bin_iterate_sorted):
20123           Pass GType and size arguments to gst_iterator_new() in the right
20124           order (maybe we should make _new() take the GType as first argument
20125           just like _new_list()?) (#318447).
20126           
20127
20128 2005-10-10  Wim Taymans  <wim@fluendo.com>
20129
20130         * gst/gstelement.c: (gst_element_finalize):
20131         And free the GStaticRecMutex too
20132
20133 2005-10-10  Andy Wingo  <wingo@pobox.com>
20134
20135         * gst/gstelement.c (gst_element_init, gst_element_finalize):
20136         Allocate and free the mutex properly.
20137
20138         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
20139         New macros.
20140         (GstElement): The state_lock is now recursive. Rebuild your
20141         plugins, suckers. Old macros adapted.
20142
20143         * docs/gst/gstreamer-sections.txt: Doc updates.
20144
20145         * gst/gstutils.h:
20146         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
20147         (g_static_rec_cond_wait): Ported from state changes patch, while
20148         we wait on bug #317802 to be solved in a well-distributed GLib.
20149
20150         * gst/gstelement.c (gst_element_change_state_func): Renamed from
20151         gst_element_change_state, variable name changes.
20152         (gst_element_change_state): Split out of gst_element_set_state in
20153         preparation for the state change merge. Doesn't pay attention to
20154         the 'transition' argument.
20155         (gst_element_set_state): Updates, hopefully purely cosmetic.
20156         (gst_element_sync_state_with_parent): MT-safety. Ported from the
20157         state change patch.
20158         (gst_element_get_state_func): Renamed from get_state, cosmetic
20159         changes.
20160
20161 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20162
20163         * gst/elements/gstelements.c:
20164         * win32/GStreamer.vcproj:
20165         * win32/config.h:
20166         * win32/dirent.c: (_tseekdir):
20167         * win32/gst-inspect.vcproj:
20168         * win32/gst-launch.vcproj:
20169         * win32/gstconfig.h:
20170         * win32/gstelements.vcproj:
20171         * win32/gstenumtypes.c: (gst_object_flags_get_type):
20172         * win32/gstreamer.def:
20173         * win32/msvc71.sln:
20174           updates for the win32 build (patch from Sebastien Moutte)
20175
20176 2005-10-10  Andy Wingo  <wingo@pobox.com>
20177
20178         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
20179         gst_bin_get_state, cleaned up (but no logic changes).
20180         (bin_element_is_sink): Comment updates.
20181         (sink_iterator_filter): Remove needless cast.
20182         (gst_bin_iterate_sinks): Doc update.
20183         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
20184         cleaned up (but no logic changes).
20185
20186         * check/states/sinks.c (test_src_sink): Cleanups from the state
20187         change patch.
20188         (test_livesrc_sink): Sync on the state.
20189
20190         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
20191         the state change patch.
20192
20193         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
20194         change patch.
20195
20196         * check/gst/gstbin.c: Merge in some style fixes and additional
20197         checks from Wim's state change patch.
20198
20199 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
20200
20201         * gst/base/gsttypefindhelper.c: (helper_find_peek),
20202         (gst_type_find_helper):
20203           Check whether we have the requested data already in our list of
20204           cached buffers before pulling a new buffer; also make the buffer
20205           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
20206
20207 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20208
20209         * gst/gstcaps.c:
20210         * gst/gstevent.c:
20211           doc updates
20212         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
20213           don't use long long, it's not portable.  Replacing with
20214           gint64 seems to work; let's hope no skeletons fall out of the closet.
20215
20216 2005-10-10  Andy Wingo  <wingo@pobox.com>
20217
20218         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
20219
20220 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
20221
20222         * docs/gst/gstreamer-sections.txt:
20223         * gst/gstevent.c:
20224         * gst/gstevent.h:
20225         * gst/gstinfo.c:
20226         * gst/gstinfo.h:
20227         * gst/gstmessage.c: (gst_message_parse_state_changed):
20228         * gst/gstpad.c:
20229         * gst/gstpad.h:
20230           more docs, fix compilation
20231
20232 2005-10-09  Philippe Khalaf <burger@speedy.org>
20233         * gst/gstmessage.c:
20234           Fixed a few forgotten variables on previous commit
20235
20236 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
20237
20238         * gst/base/gsttypefindhelper.c: (helper_find_peek):
20239           Fix evil typefind crasher: getrange() might return a short
20240           buffer at the end of a file, but gst_type_find_peek() must
20241           either return the full data as requested or NULL, but
20242           never a short buffer.
20243
20244 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20245
20246         * gst/gstmessage.c: (gst_message_new_state_changed),
20247         (gst_message_parse_state_changed):
20248         * gst/gstmessage.h:
20249           don't use "new", it's a C++ keyword
20250
20251 2005-10-08  Wim Taymans  <wim@fluendo.com>
20252
20253         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
20254         * gst/gstelement.c: (gst_element_post_message):
20255         * gst/gstpipeline.c: (gst_pipeline_change_state):
20256         Small docs and debug updates.
20257
20258 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20259
20260         * docs/gst/gstreamer-sections.txt:
20261         * gst/gstelementfactory.c:
20262         * gst/gstevent.c:
20263         * gst/gsttaglist.c:
20264           more docs
20265
20266 2005-10-08  Wim Taymans  <wim@fluendo.com>
20267
20268         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
20269         (gst_bin_dispose), (bin_bus_handler):
20270         Fix typos, add comments.
20271         Clear EOS list when going to PAUSED from any direction and do it
20272         in a threadsafe way.
20273         Get base time in a threadsafe way too.
20274         Fix confusing debug in the change_state function.
20275         Various other small cleanups.
20276         
20277         * gst/gstelement.c: (gst_element_post_message):
20278         Fix very verbose bus posting code.
20279
20280         * gst/gstpipeline.c: (gst_pipeline_class_init),
20281         (gst_pipeline_set_property), (gst_pipeline_get_property),
20282         (gst_pipeline_change_state):
20283         Small ARG_ -> PROP_ cleanup
20284
20285 2005-10-08  Wim Taymans  <wim@fluendo.com>
20286
20287         * gst/gstbin.c: (is_eos), (bin_bus_handler):
20288         Do a less CPU demanding EOS check because we can.
20289
20290 2005-10-08  Wim Taymans  <wim@fluendo.com>
20291
20292         * libs/gst/dataprotocol/dataprotocol.c:
20293         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
20294         (gst_dp_packet_from_event):
20295         * libs/gst/dataprotocol/dataprotocol.h:
20296         * libs/gst/dataprotocol/dp-private.h:
20297         It's about time we bump the version number.
20298         Since event types don't fit in the guint8 anymore describing
20299         the payload type, make payload type 16 bits wide.
20300
20301 2005-10-08  Wim Taymans  <wim@fluendo.com>
20302
20303         * docs/design/part-TODO.txt:
20304         * docs/design/part-clocks.txt:
20305         * docs/design/part-events.txt:
20306         * docs/design/part-gstbin.txt:
20307         * docs/design/part-gstelement.txt:
20308         * docs/design/part-gstpipeline.txt:
20309         * docs/design/part-live-source.txt:
20310         * docs/design/part-messages.txt:
20311         * docs/design/part-overview.txt:
20312         * docs/design/part-states.txt:
20313         Many doc updates.
20314
20315 2005-10-08  Wim Taymans  <wim@fluendo.com>
20316
20317         * gst/gstevent.c:
20318         * gst/gstevent.h:
20319         Fix event quark registration.
20320         Add some space between events so we can insert them in the
20321         right groups.
20322
20323 2005-10-08  Wim Taymans  <wim@fluendo.com>
20324
20325         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20326         (gst_base_sink_handle_buffer):
20327         Better log message.
20328
20329         * gst/gstbus.h:
20330         * gst/gstelement.h:
20331         More docs.
20332
20333         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
20334         (gst_queue_set_property), (gst_queue_get_property):
20335         * gst/gstqueue.h:
20336         Remove old unused properties.
20337
20338 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
20339         * docs/gst/gstreamer-sections.txt:
20340         * gst/gstmessage.c:
20341         * gst/gstmessage.h:
20342         * gst/gstminiobject.c:
20343         * gst/gstminiobject.h:
20344         * gst/gstobject.h:
20345         * gst/gstpad.h:
20346         * gst/gstutils.h:
20347           lots of new docs and doc fixes
20348
20349 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20350
20351         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
20352         * gst/gstplugin.h:
20353         * gst/gstregistry.c: (gst_registry_lookup_locked),
20354         (gst_registry_scan_path_level):
20355         * gst/gstregistryxml.c: (load_plugin):
20356           Only ever load one plugin for a given plugin basename.
20357           This ensures correct overriding of GST_PLUGIN_PATH over
20358           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
20359           system installed plugins.
20360
20361 2005-10-08  Wim Taymans  <wim@fluendo.com>
20362
20363         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20364         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
20365         Prepare for doing QOS.
20366
20367 2005-10-08  Wim Taymans  <wim@fluendo.com>
20368
20369         * check/gst/gstbin.c: (GST_START_TEST):
20370         * check/pipelines/cleanup.c: (GST_START_TEST):
20371         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
20372         Allow new clock message too.
20373
20374 2005-10-08  Wim Taymans  <wim@fluendo.com>
20375
20376         * gst/gstmessage.c: (gst_message_new_error),
20377         (gst_message_new_warning), (gst_message_new_tag),
20378         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20379         (gst_message_new_clock_lost), (gst_message_new_new_clock),
20380         (gst_message_new_segment_start), (gst_message_new_segment_done),
20381         (gst_message_parse_state_changed),
20382         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
20383         (gst_message_parse_new_clock):
20384         * gst/gstmessage.h:
20385         Also carry the clock in question.
20386
20387 2005-10-08  Wim Taymans  <wim@fluendo.com>
20388
20389         * gst/gstmessage.c: (gst_message_new_custom),
20390         (gst_message_new_eos), (gst_message_new_error),
20391         (gst_message_new_warning), (gst_message_new_tag),
20392         (gst_message_new_state_changed), (gst_message_new_clock_provide),
20393         (gst_message_new_new_clock), (gst_message_new_segment_start),
20394         (gst_message_new_segment_done), (gst_message_parse_state_changed),
20395         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
20396         * gst/gstmessage.h:
20397         Clean up.
20398         Added clock related messages.
20399
20400         * gst/gstpipeline.c: (gst_pipeline_change_state):
20401         Post message when the clock changed.
20402
20403         * tools/gst-launch.c: (event_loop):
20404         Print new clock.
20405
20406 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
20407
20408         * tools/gst-inspect.c: (print_element_properties_info):
20409           Can't pass NULL strings to g_print() on windows.
20410
20411 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20412
20413         * docs/Makefile.am:
20414         * docs/gst/Makefile.am:
20415         * docs/gst/gstreamer-docs.sgml:
20416         * docs/gst/running.xml:
20417         * docs/version.entities.in:
20418           add a chapter on running GStreamer.
20419           document GST_DEBUG and GST_PLUGIN* env vars
20420
20421 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20422
20423         * Makefile.am:
20424           remove include dir
20425         * configure.ac:
20426           remove PLUGINS_BUILDDIR stuff
20427         * gst/gst.c: (init_post):
20428           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
20429         * idiottest.mak:
20430           remove, it was condescending and not needed
20431
20432 2005-10-08  Wim Taymans  <wim@fluendo.com>
20433
20434         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
20435         (gst_base_sink_handle_object), (gst_base_sink_event),
20436         (gst_base_sink_wait), (gst_base_sink_handle_event),
20437         (gst_base_sink_change_state):
20438         * gst/base/gstbasesink.h:
20439         Repost EOS message while going to PLAYING if still EOS.
20440         Make sure that when receiving a FLUSH_START we don't attempt
20441         to sync on the clock anymore.
20442
20443 2005-10-08  Wim Taymans  <wim@fluendo.com>
20444
20445         * tools/gst-launch.c: (event_loop):
20446         Better message printout.
20447
20448 2005-10-08  Wim Taymans  <wim@fluendo.com>
20449
20450         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
20451         (gst_bin_child_proxy_get_children_count):
20452         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
20453         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
20454         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
20455         (gst_child_proxy_set_valist):
20456         * gst/parse/grammar.y:
20457         Make ChildProxy threadsafe and fix mem leaks.
20458
20459 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20460
20461         * gst/gst.c: (init_post):
20462           debug the GST_PLUGIN_ env vars
20463
20464 2005-10-08  Wim Taymans  <wim@fluendo.com>
20465
20466         * check/gst/gstbin.c: (GST_START_TEST):
20467         * check/gst/gstmessage.c: (GST_START_TEST):
20468         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20469         * gst/gstelement.c: (gst_element_commit_state),
20470         (gst_element_lost_state):
20471         * gst/gstmessage.c: (gst_message_new_state_changed),
20472         (gst_message_parse_state_changed):
20473         * gst/gstmessage.h:
20474         * tools/gst-launch.c: (event_loop):
20475         Added extra field to STATE_CHANGE message with the pending
20476         state, which will be different from the new state soon.
20477
20478 2005-10-08  Wim Taymans  <wim@fluendo.com>
20479
20480         * gst/gstbus.c: (gst_bus_pop):
20481         * gst/gstclock.c:
20482         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20483         Small cleanups and doc updates.
20484
20485 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
20486
20487         * gst/gst.c: (init_pre):
20488         * gst/gstbin.c: (gst_bin_add_func):
20489           log distributing clocks and base time
20490         * gst/gstregistry.c: (gst_registry_add_plugin),
20491         (gst_registry_scan_path_level), (gst_registry_scan_path):
20492           clean up the debugging output a little
20493         * gst/gstutils.c: (gst_element_state_get_name):
20494           warn about a memleak (I've actually seen this be used, though
20495           it was probably a bug)
20496
20497 2005-10-07  Wim Taymans  <wim@fluendo.com>
20498
20499         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20500         (gst_base_src_init), (gst_base_src_default_newsegment),
20501         (gst_base_src_newsegment), (gst_base_src_do_seek),
20502         (gst_base_src_loop), (gst_base_src_start):
20503         * gst/base/gstbasesrc.h:
20504         Make the newsegment event customizable by subclasses.
20505
20506 2005-10-07  Wim Taymans  <wim@fluendo.com>
20507
20508         * gst/gstevent.c: (gst_event_new_buffersize),
20509         (gst_event_parse_buffersize):
20510         * gst/gstevent.h:
20511         New event for future idea.
20512
20513 2005-10-07  Andy Wingo  <wingo@pobox.com>
20514
20515         * gst/gstelement.c (gst_element_post_message): Doc update.
20516
20517         * docs/gst/gstreamer-sections.txt: Update.
20518
20519         * gst/gstmessage.c (gst_message_new_application): Made into a
20520         function like honest API calls.
20521         (gst_message_new_element): New message type.
20522
20523         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
20524
20525         * check/elements/fakesrc.c (test_no_preroll): New check, checks
20526         that setting a live fakesrc to PAUSED returns NO_PREROLL both
20527         times.
20528
20529         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
20530         NO_PREROLL from gst_element_change_state to fall through.
20531
20532 2005-10-07  Wim Taymans  <wim@fluendo.com>
20533
20534         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
20535         (gst_ghost_pad_do_activate_push):
20536         Activating a ghostpad with no internal pad in push mode
20537         is ok.
20538
20539 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
20540
20541         * gst/gstobject.h:
20542           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
20543           Fixes compilation on Windows.
20544
20545 2005-10-07  Michael Smith <msmith@fluendo.com>
20546
20547         * tools/gst-inspect.c:
20548           Print out feature and plugin count at the end when printing out
20549           all features.
20550
20551 2005-10-04  Michael Smith <msmith@fluendo.com>
20552
20553         * gst/gsterror.c: (_gst_stream_errors_init):
20554           Add another error string used in a few existing plugins.
20555
20556         * gst/gstplugin.c:
20557         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
20558         * tools/gst-inspect.c: (print_element_info):
20559           When a feature disappears from a plugin (and the feature exists in
20560           the cached registry file), things went horribly wrong. This isn't a
20561           complete fix, we should actually be removing the 'missing' features
20562           from the features list when we load the actual plugin. That's not
20563           yet implemented. 
20564
20565 2005-10-04  Johan Dahlin  <johan@gnome.org>
20566
20567         * check/gst/gstiterator.c: (GST_START_TEST):
20568         * gst/gstbin.c: (gst_bin_iterate_elements),
20569         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
20570         * gst/gstelement.c: (gst_element_iterate_pads):
20571         * gst/gstformat.c: (gst_format_iterate_definitions):
20572         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20573         (gst_iterator_new_list), (gst_iterator_filter):
20574         * gst/gstiterator.h:
20575         * gst/gstquery.c: (gst_query_type_iterate_definitions):
20576         Add a GType to GstIterator, update callsites and tests.
20577
20578 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20579
20580         * gst/gstpad.c: (gst_pad_event_default_dispatch):
20581           give events a chance to be handled by event probes when the pad
20582           is not linked
20583
20584 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20585
20586         * gst/gstevent.c: (gst_event_type_get_name),
20587         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
20588         * gst/gstevent.h:
20589           add string representations for event types
20590
20591 2005-10-06  Wim Taymans  <wim@fluendo.com>
20592
20593         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
20594         Don't use NULL pointers.
20595
20596 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20597
20598         * gst/gst_private.h:
20599         * gst/gstbus.c:
20600         * gst/gstelement.c:
20601         * gst/gstinfo.c:
20602         * gst/gstpluginfeature.c:
20603           widen the debug category in output to fit the biggest one we have
20604           add a bus category and use it
20605           play with the colors
20606           fix up some categories
20607
20608 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20609
20610         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
20611           add push activation of sink ghost pads.
20612           Andye, please verify
20613
20614 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20615
20616         * gst/gstutils.c: (gst_element_link_pads):
20617           fix a bug in the case where neither element has a pad
20618         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
20619           add a test for that case
20620
20621 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
20622
20623         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
20624           emit have-data before checking for peers.  This allows
20625           for probe handlers to connect elements.  This helps autopluggers.
20626         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
20627         (gst_pad_suite):
20628           add six checks, linked/unlinked with no/true/false probe
20629
20630 2005-10-04  Wim Taymans  <wim@fluendo.com>
20631
20632         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
20633         (gst_fake_sink_event), (gst_fake_sink_preroll),
20634         (gst_fake_sink_render), (gst_fake_sink_change_state):
20635         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
20636         (gst_fake_src_get_property), (gst_fake_src_create),
20637         (gst_fake_src_stop):
20638         * gst/elements/gstidentity.c: (gst_identity_stop):
20639         Protect last_message with lock.
20640
20641 2005-10-04  Edward Hervey  <edward@fluendo.com>
20642
20643         * gst/gstformat.h: 
20644         Added precision in the comments for GST_FORMAT_DEFAULT
20645
20646 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
20647
20648         * tools/gst-launch.c: (main):
20649           Don't try to run erroneous pipelines.
20650
20651 2005-10-04  Julien MOUTTE  <julien@moutte.net>
20652
20653         * gst/gstbus.c: We don't need this header.
20654
20655 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20656
20657         * configure.ac:
20658           back to development
20659
20660 === release 0.9.3 ===
20661
20662 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20663
20664         * README:
20665         * configure.ac:
20666           Releasing 0.9.3, "Unregistered"
20667
20668 2005-10-03  Andy Wingo  <wingo@pobox.com>
20669
20670         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
20671         whereby calling a pad's activatepush() function can start a thread
20672         that starts to push or pull before the pad gets the FLUSHING flag
20673         unset. Hack around it by holding the stream lock until the flag is
20674         set. Need to replace this with a proper solution. Together with
20675         the ghost pad fixes, this fixes mp3 playing/tagreading.
20676
20677         * docs/design/part-gstghostpad.txt: Add a note about activation of
20678         proxy pads outside of ghost pads.
20679
20680         * gst/gstghostpad.c: Implement the ghost pad activation design.
20681
20682 2005-10-02  Andy Wingo  <wingo@pobox.com>
20683
20684         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
20685         It is volatile, after all.
20686
20687         * docs/design/part-gstghostpad.txt: Flesh out activation with
20688         ghost pads.
20689
20690         * gst/base/gstbasesrc.c (gst_base_src_init): Use
20691         GST_DEBUG_FUNCPTR.
20692
20693 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
20694
20695         * configure.ac:
20696           Fix (unused) AM_CONDITIONAL tests.
20697
20698 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
20699
20700         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
20701
20702         * gst/gstutils.c: (gst_pad_query_convert):
20703           Add assertion that makes sure src_val is >=0, just like
20704           gst_query_new_convert() has. (#315895)
20705
20706 2005-09-30  Edward Hervey  <edward@fluendo.com>
20707
20708         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
20709         Let's not iterate pads we're not interested in, it avoids getting 
20710         sky-high refcounts on sinkpad.
20711
20712 2005-09-30  Wim Taymans  <wim@fluendo.com>
20713
20714         * gst/gstelement.c: (gst_element_set_state),
20715         (gst_element_change_state):
20716         Small tweak, element in ASYNC remains ASYNC.
20717
20718 2005-09-30  Wim Taymans  <wim@fluendo.com>
20719
20720         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
20721         Only error is an error.
20722
20723         * gst/gstbin.c: (gst_bin_change_state):
20724         Better debugging.
20725
20726         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
20727         Also call pad_block in pad alloc.
20728
20729         * gst/gstutils.c: (gst_flow_get_name):
20730         Better debugging.
20731
20732 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20733
20734         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20735         (gst_base_src_get_range):
20736           Fix documentation typos. Add some more debug info.
20737
20738 2005-09-29  David Schleef  <ds@schleef.org>
20739
20740         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
20741           more end-user friendly.
20742         * tools/gst-inspect.c: (main): Check if command-line argument is
20743           a file and attempt to load that file as a plugin.
20744
20745 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20746
20747         * check/gst/gstbin.c:
20748         * check/states/sinks.c:
20749           fix tests for the new warning
20750         * check/gst/gstpipeline.c:
20751           add a test for pipeline and bus interaction
20752         * gst/gstelement.c:
20753           elements should be NULL if they get disposed; add a warning if not
20754
20755 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20756
20757         * gst/gstobject.c:
20758           for 2.6 refcounting, make debug log more correct by printing
20759           the actual refcounts at the time of swap (Wim)
20760
20761 2005-09-29  Andy Wingo  <wingo@pobox.com>
20762
20763         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
20764         removes signal watches previously added via
20765         gst_bus_add_signal_watch.
20766         (gst_bus_add_signal_watch): Don't return the source id, just store
20767         it on the bus if there wasn't an id already.
20768
20769         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
20770         add_signal_watch and remove_signal_watch.
20771
20772 2005-09-29  Edward Hervey  <edward@fluendo.com>
20773
20774         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
20775         Better if we actually iterate the list :)
20776
20777 2005-09-29  Wim Taymans  <wim@fluendo.com>
20778
20779         * check/gst/gstbin.c: (GST_START_TEST):
20780         Change for new bus API.
20781
20782         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
20783         (send_messages), (GST_START_TEST), (gstbus_suite):
20784         Change for new bus signal API.
20785
20786         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
20787         (gst_bus_source_prepare), (gst_bus_source_check),
20788         (gst_bus_create_watch), (gst_bus_add_watch_full),
20789         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
20790         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
20791         * gst/gstbus.h:
20792         Remove support for multiple GSources operating on different
20793         message types as it is too complex and unneeded when using
20794         signals.
20795         Added support for receiving signals from the bus.
20796
20797 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
20798
20799         * docs/libs/tmpl/gstdataprotocol.sgml:
20800         * docs/manual/advanced-dataaccess.xml:
20801         * gst/elements/gstcapsfilter.c:
20802         * gst/gstutils.c:
20803           rename filter-caps to caps property
20804
20805 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20806
20807         * gst/gstvalue.c: (gst_value_deserialize_fraction):
20808           More robust fraction string parsing.
20809
20810         * docs/pwg/appendix-porting.xml:
20811           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
20812
20813 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
20814
20815         * gst/gstcaps.c: (gst_caps_do_simplify):
20816           Thou shalt not free a structure and then continue using it
20817           in the next loop iteration.
20818
20819         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
20820         (gst_caps_suite):
20821           Add test case for caps simplification.
20822
20823 2005-09-29  Wim Taymans  <wim@fluendo.com>
20824
20825         * check/gst/gstbin.c: (GST_START_TEST):
20826         Oops.
20827
20828 2005-09-29  Wim Taymans  <wim@fluendo.com>
20829
20830         * check/gst/gstbin.c: (GST_START_TEST):
20831         Add bus to bin.
20832
20833         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
20834         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20835         (find_element), (gst_bin_sort_iterator_next),
20836         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20837         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20838         (gst_bin_change_state), (gst_bin_dispose):
20839         A bin does not have a bus, it gets the bus from the parent.
20840
20841         * gst/gstelement.c: (gst_element_requires_clock),
20842         (gst_element_provides_clock), (gst_element_is_indexable),
20843         (gst_element_is_locked_state), (gst_element_change_state),
20844         (gst_element_set_bus_func):
20845         Small cleanups.
20846
20847         * gst/gstpipeline.c: (gst_pipeline_class_init),
20848         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
20849         The pipeline provides a bus.
20850
20851 2005-09-28  Johan Dahlin  <johan@gnome.org>
20852
20853         * gst/gstmessage.c (gst_message_parse_state_changed): Use
20854         gst_structure_get_enum instead of gst_structure_get_int
20855
20856         * gst/gststructure.c (gst_structure_get_enum): Impl.
20857
20858         * gst/gststructure.h (gst_structure_get_enum): Add
20859
20860         * docs/gst/gstreamer-sections.txt: Ditto
20861
20862         * gst/gstmessage.c (gst_message_new_state_changed): Use
20863         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
20864         which does introspection.
20865         Reviewed by Christian Schaller
20866
20867 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20868
20869         * gst/gstinfo.c: (gst_debug_log_default):
20870           don't do dummy g_strdup()s
20871         * libs/gst/controller/gstcontroller.c:
20872         (on_object_controlled_property_changed),
20873         (gst_controlled_property_new), (gst_controller_new_valist),
20874         (gst_controller_new_list),
20875         (gst_controller_remove_properties_valist), (gst_controller_set),
20876         (gst_controller_get), (gst_controller_sync_values),
20877         (gst_controller_get_value_array), (_gst_controller_class_init),
20878         (gst_controller_get_type):
20879         * libs/gst/controller/gstcontroller.h:
20880         * libs/gst/controller/gstinterpolation.c:
20881         (gst_controlled_property_find_timed_value_node):
20882           convert // to /**/ comments
20883
20884 2005-09-28  Wim Taymans  <wim@fluendo.com>
20885
20886         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
20887         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
20888         (gst_bus_sync_signal_handler):
20889         * gst/gstbus.h:
20890         Added async-message and sync-message signals to the bus.
20891         Added helper BusFunc to emit signals for all posted messages.
20892
20893         * gst/gstmessage.c: (gst_message_type_get_name),
20894         (gst_message_type_to_quark), (gst_message_get_type):
20895         * gst/gstmessage.h:
20896         Register quarks for message names.
20897
20898 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
20899
20900         * docs/libs/gstreamer-libs-sections.txt:
20901         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
20902         (gst_controller_new_list):
20903         * libs/gst/controller/gstcontroller.h:
20904           added another constructor for language bindings
20905
20906 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
20907
20908         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20909           add another check
20910         * gst/gstbus.c:
20911           add some doc
20912         * gst/gstinfo.c: (_gst_debug_init):
20913           slightly more readable color for refcount debugging
20914
20915 2005-09-28  Wim Taymans  <wim@fluendo.com>
20916
20917         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
20918         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
20919         (find_element), (gst_bin_sort_iterator_next),
20920         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20921         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20922         (gst_bin_change_state), (gst_bin_dispose):
20923         Small doc fixes. get_clock -> provide_clock.
20924
20925         * gst/gstelement.c: (gst_element_class_init),
20926         (gst_element_provides_clock), (gst_element_provide_clock),
20927         (gst_element_get_clock), (gst_element_commit_state),
20928         (gst_element_lost_state):
20929         * gst/gstelement.h:
20930         Make get/set_clock() symetric. Add provide_clock vmethod since
20931         that is actually what this function does.
20932
20933         * gst/gstpipeline.c: (gst_pipeline_class_init),
20934         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
20935         (gst_pipeline_get_clock):
20936         get_clock -> provide_clock.
20937
20938 2005-09-28  Andy Wingo  <wingo@pobox.com>
20939
20940         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
20941         lieu of real docs...
20942
20943         * gst/elements/gstfdsrc.c: Cleaned up a bit.
20944
20945 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
20946
20947         * gst/elements/gstcapsfilter.c:
20948         * gst/elements/gstfakesink.c:
20949         * gst/elements/gstfakesrc.c:
20950         * gst/elements/gstfdsink.c:
20951         * gst/elements/gstfdsrc.c:
20952         * gst/elements/gstfilesink.c:
20953         * gst/elements/gstfilesrc.c:
20954         * gst/elements/gstidentity.c:
20955         * gst/elements/gsttee.c:
20956         * gst/elements/gsttypefindelement.c:
20957           Make element details static.
20958
20959 2005-09-28  Wim Taymans  <wim@fluendo.com>
20960
20961         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
20962         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
20963         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
20964         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
20965         (gst_bin_change_state), (gst_bin_dispose):
20966         Some documentation updates.
20967         Clean up dispose handlers.
20968
20969         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
20970         * gst/gstpad.c: (gst_pad_dispose):
20971         Clean up dispose handler.
20972
20973         * gst/gstpipeline.c: (gst_pipeline_change_state):
20974         Removed spurious UNLOCK.
20975
20976 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
20977
20978         * docs/gst/gstreamer-sections.txt:
20979         * gst/base/gstbasesrc.h:
20980         * gst/gstelement.h:
20981         * gst/gstevent.h:
20982         * gst/gstobject.h:
20983         * gst/gstpad.h:
20984         * gst/gstpipeline.c:
20985         * gst/gstpipeline.h:
20986         * gst/gstutils.h:
20987         * gst/gstxml.h:
20988           added two new functions to the docs
20989                 documents all undocumented GstXXXFlags
20990                 completed some incomplete docs 
20991
20992 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
20993
20994         * gst/gstbin.c: (gst_bin_dispose):
20995         * gst/gstelement.c: (gst_element_dispose):
20996           remove now useless and leaky resurrection code in dispose
20997         * gst/base/gstbasesrc.c: (gst_base_src_init):
20998         * gst/gstelementfactory.c: (gst_element_factory_create):
20999         * gst/gstobject.c: (gst_object_set_parent):
21000           add some debugging
21001
21002 2005-09-27  Wim Taymans  <wim@fluendo.com>
21003
21004         * docs/design/part-TODO.txt:
21005         Update TODO.
21006
21007         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21008         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21009         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21010         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21011         (gst_bin_change_state):
21012         * gst/gstelement.h:
21013         Remove element variable, we keep element info in the iterator now.
21014
21015 2005-09-27  Andy Wingo  <wingo@pobox.com>
21016
21017         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
21018         values.
21019
21020 2005-09-27  Wim Taymans  <wim@fluendo.com>
21021
21022         * check/gst/gstbin.c: (GST_START_TEST):
21023         Enable check that works now.
21024
21025         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21026         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21027         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21028         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21029         (gst_bin_change_state):
21030         * gst/gstbin.h:
21031         Redid the state change algorithm using a topological sort algo.
21032         Handles all cases correctly.
21033         Exposed iterator for state change order.
21034
21035         * gst/gstelement.h:
21036         Temp storage for state changes. Need to get rid of this soon.
21037
21038 2005-09-27  Wim Taymans  <wim@fluendo.com>
21039
21040         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
21041         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
21042         (link_fold_func), (gst_pad_proxy_setcaps):
21043         Leak fixes, the fold functions need to unref the passed object and
21044         _get_parent_*() returns ref to parent.
21045
21046 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21047
21048         * check/gst/gstbuffer.c: (test_make_writable):
21049           Plug leak in test case and fix 'make check-valgrind'
21050
21051 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21052
21053         * gst/gstbuffer.c: (gst_subbuffer_init):
21054           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
21055           works correctly in all circumstances (we could have just copied
21056           the parent buffer's readonly flag, but conceptually it seems
21057           cleaner to mark all subbuffers as read-only). (based on patch
21058           by Alessandro Decina, #314710).
21059         
21060         * check/gst/gstbuffer.c: (create_read_only_buffer),
21061         (test_make_writable), (test_subbuffer_make_writable),
21062         (gst_test_suite):
21063           Add some tests for gst_buffer_make_writable().
21064
21065 2005-09-27  Wim Taymans  <wim@fluendo.com>
21066
21067         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
21068         use gst_object_has_ancestor().
21069
21070         * gst/gstobject.c: (gst_object_has_ancestor):
21071         * gst/gstobject.h:
21072         gst_object_has_ancestor() copied from gstbin.c as it is a
21073         useful function.
21074
21075         * tests/instantiate/create.c: (create_all_elements):
21076         * tests/lat.c: (handoff_src), (handoff_sink):
21077         * tests/sched/runxml.c: (main):
21078         * tests/seeking/seeking1.c: (main):
21079         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
21080         (main):
21081         Fix compilation of some tests.
21082
21083 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
21084
21085         * gst/gsterror.h:
21086           Remove comment. GST_TYPE_G_ERROR is here to stay,
21087           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
21088           (#316961, #300610).
21089
21090 2005-09-26  Wim Taymans  <wim@fluendo.com>
21091
21092         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21093         Added check that shows error in state change order.
21094
21095 2005-09-26  Wim Taymans  <wim@fluendo.com>
21096
21097         * gst/gstbin.c: (gst_bin_change_state):
21098         Make state change function use 3 queues again, we were
21099         adding elements in the wrong order.
21100
21101         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
21102         Some debug info,
21103
21104         * gst/gstpad.c: (gst_pad_dispose):
21105         Added some debug info first.
21106
21107 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
21108
21109         * docs/design/draft-push-pull.txt:
21110         * docs/design/part-events.txt:
21111         * docs/design/part-overview.txt:
21112         * docs/design/part-scheduling.txt:
21113           Replace all _pull_region() with _pull_range()
21114           
21115 2005-09-26  Andy Wingo  <wingo@pobox.com>
21116
21117         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
21118
21119         * check/gst-libs/controller.c: Update for controller api change.
21120
21121         * configure.ac: 
21122         * tests/Makefile.am:
21123         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
21124         over by GLib bug 118439.
21125         
21126         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
21127         routines to a function.
21128
21129         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
21130
21131         * libs/gst/controller/gsthelper.c:
21132         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
21133         (gst_object_sync_values): Renamed from sink_values. Ugh.
21134
21135         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
21136
21137         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
21138         Renamed from controller_key, as it is exported.
21139
21140         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
21141
21142 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
21143
21144         * gst/Makefile.am:
21145         * gst/gst.h:
21146         * gst/gstpad.h:
21147         * gst/gstpadtemplate.h:
21148         * gst/gstquery.c:
21149         * gst/gstquery.h:
21150         * gst/gstqueryutils.c:
21151         * gst/gstqueryutils.h:
21152           remove queryutils headers after moving the two used functions
21153           to gstquery.  also fixes build problem for gstsiddec
21154
21155 2005-09-26  Michael Smith <msmith@fluendo.com>
21156
21157         * tools/gst-launch.1.in:
21158         Correct documentation in manpage of debug syntax
21159
21160 2005-09-26  Wim Taymans  <wim@fluendo.com>
21161
21162         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
21163         (gst_base_src_is_seekable), (gst_base_src_change_state):
21164         Some more debugging info.
21165
21166 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21167
21168         * docs/gst/gstreamer-sections.txt:
21169         * gst/base/gstbasetransform.h:
21170         * gst/gstindex.h:
21171           added more docs
21172
21173 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21174
21175         * docs/gst/.cvsignore:
21176         * docs/gst/tmpl/.cvsignore:
21177         * docs/gst/tmpl/gstpipeline.sgml:
21178         * docs/gst/tmpl/gstplugin.sgml:
21179         * gst/gstpipeline.c:
21180         * gst/gstplugin.c:
21181         * gst/gstplugin.h:
21182           inlined the last two docs files
21183           removed the tmpl directory from cvs (no more conflicts here!)
21184
21185 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
21186
21187         * docs/gst/gstreamer-sections.txt:
21188         * docs/gst/tmpl/.cvsignore:
21189         * docs/gst/tmpl/gstpad.sgml:
21190         * docs/gst/tmpl/gstpadtemplate.sgml:
21191         * gst/Makefile.am:
21192         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
21193         (gst_pad_finalize), (gst_pad_set_pad_template):
21194         * gst/gstpad.h:
21195         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
21196         (gst_pad_template_class_init), (gst_pad_template_init),
21197         (gst_pad_template_dispose), (name_is_valid),
21198         (gst_static_pad_template_get), (gst_pad_template_new),
21199         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
21200         (gst_pad_template_pad_created):
21201         * gst/gstpadtemplate.h:
21202           inlined two more docs
21203           factored gstpadtemplate out of gstpad
21204
21205 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
21206
21207         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21208         (test_children_state_change_order_semi_sink):
21209           Fix test case: we can't rely on a fixed state change order when
21210           going from READY => PAUSED because the sink might commit its 
21211           new state first when the first buffer created by the source 
21212           reaches the sink before the source has finished its change state.
21213           (Test case still fails at times, see #316856, comment 5 onwards)
21214
21215 2005-09-24  Wim Taymans  <wim@fluendo.com>
21216
21217         * docs/design/part-events.txt:
21218         * docs/design/part-gstbus.txt:
21219         * docs/design/part-gstpipeline.txt:
21220         * docs/design/part-messages.txt:
21221         * docs/design/part-overview.txt:
21222         * docs/design/part-segments.txt:
21223         * gst/gstbin.c:
21224         * gst/gstbuffer.c:
21225         * gst/gstclock.c:
21226         * gst/gstelement.c:
21227         * gst/gstevent.c:
21228         * gst/gstfilter.c:
21229         * gst/gstiterator.c:
21230         Various documentation updates.
21231
21232 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21233
21234         * gst/gstclock.h:
21235           Well, that's embarassing.  Luckily we weren't using
21236           GST_CLOCK_DIFF anywhere.
21237
21238 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21239
21240         * common/gtk-doc.mak:
21241           don't fail on building XML, FC4 slave shows a bunch of doc
21242           missing bits that I don't get
21243         * gst/gstpad.c:
21244         * gst/gstpipeline.c:
21245         * gst/gststructure.c:
21246           some doc updates
21247
21248 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21249
21250         * docs/design/part-gstbin.txt:
21251         * docs/design/part-gstbus.txt:
21252         * gst/gstbus.c:
21253           Add blurb about how the bus goes into flushing mode and
21254           drops all messages when its bin goes from READY into NULL 
21255           state.
21256
21257 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21258
21259         * docs/gst/gstreamer-sections.txt:
21260         * gst/gststructure.c: (gst_structure_get_clock_time):
21261         * gst/gststructure.h:
21262           add a method to get a GstClockTime out of a structure
21263
21264 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
21265
21266         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
21267         (test_children_state_change_order_semi_sink), (gst_bin_suite):
21268           Added test to check state change order in bins (can still be made
21269           to fail here under heavy disk load; bails out with 'Push on pad
21270           fakesink:sink0, but it was not activated in push mode').
21271
21272         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
21273           Fix state change order when there is only a semi sink (#316856)
21274
21275         * gst/gstbus.c: (gst_bus_class_init):
21276           Use _class_peek_parent(), not _class_ref(); fix docs to say
21277           'default main context' instead of 'mainloop' where that is
21278           what's meant.
21279
21280         * gst/gstelement.c: (gst_element_commit_state),
21281         (gst_element_set_state):
21282           Fix typos in debug messages
21283
21284 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21285
21286         * docs/README:
21287         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
21288         * gst/gstpluginfeature.c:
21289         * gst/gstutils.c:
21290           various doc updates
21291         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21292           change an assert into an error until it gets fixed properly
21293
21294 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
21295
21296         * docs/gst/gstreamer-sections.txt:
21297         * docs/gst/tmpl/.cvsignore:
21298         * docs/gst/tmpl/gstelement.sgml:
21299         * docs/gst/tmpl/gstinfo.sgml:
21300         * docs/gst/tmpl/gstobject.sgml:
21301         * gst/gstelement.c:
21302         * gst/gstelement.h:
21303         * gst/gstinfo.c:
21304         * gst/gstinfo.h:
21305         * gst/gstobject.c: (gst_object_class_init):
21306         * gst/gstobject.h:
21307           inlined 3 more biiiig doc files and added some missing docs on the fly
21308
21309 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21310
21311         * check/gst/.cvsignore:
21312         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
21313         * gst/gstregistryxml.c: (load_plugin),
21314         (gst_registry_xml_save_plugin):
21315           put back source in registry.  add checks for find_plugin.
21316         * testsuite/states/bin.c: (assert_state), (empty_bin),
21317         (test_adding_one_element), (main):
21318         * testsuite/states/locked.c: (main):
21319           some compile/run fixes
21320
21321 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21322
21323         * check/gst/gstvalue.c: (GST_START_TEST):
21324           fix leaks in the test itself
21325
21326 2005-09-22  Wim Taymans  <wim@fluendo.com>
21327
21328         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21329         (gst_base_sink_send_event), (gst_base_sink_peer_query),
21330         (gst_base_sink_query):
21331         Prepare for more accurate position reporting and query
21332         handling.
21333
21334         * gst/gstelement.c: (gst_element_send_event),
21335         (gst_element_set_state):
21336         Add some comment.
21337
21338 2005-09-22  Wim Taymans  <wim@fluendo.com>
21339
21340         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
21341         (gst_query_parse_segment):
21342         * gst/gstquery.h:
21343         More documentation.
21344         Add segment query for future use.
21345
21346 2005-09-22  Wim Taymans  <wim@fluendo.com>
21347
21348         * gst/gstbin.c: (gst_bin_add_func):
21349         Some more debug info.
21350
21351         * gst/gstelement.c: (gst_element_send_event):
21352         Simplify send_event
21353
21354         * gst/gstelement.h:
21355         Don't know how flags got broken.
21356
21357         * gst/gstquery.h:
21358         Added new query.
21359
21360 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21361
21362         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
21363           Add simplistic test suite for GST_TYPE_DATE serialisation and
21364           deserialisation.
21365
21366 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
21367
21368         * docs/gst/gstreamer-sections.txt:
21369         * gst/gststructure.c: (gst_structure_set_valist),
21370         (gst_structure_get_date):
21371         * gst/gststructure.h:
21372         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
21373         (gst_date_copy), (gst_value_compare_date),
21374         (gst_value_serialize_date), (gst_value_deserialize_date),
21375         (gst_value_transform_date_string),
21376         (gst_value_transform_string_date), (_gst_value_initialize):
21377         * gst/gstvalue.h:
21378           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
21379           bunch of utility functions along with a hack that checks that
21380           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
21381           is required. Part of the grand scheme in #170777.
21382
21383 2005-09-22  Andy Wingo  <wingo@pobox.com>
21384
21385         * gst/gstconfig.h.in: Psych out gtk-doc.
21386
21387         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
21388
21389         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
21390
21391         * tools/gst-inspect.c (print_element_list): Plug some
21392         inconsequential leaks.
21393
21394         * gst/gstregistry.c (gst_registry_get_default): Doc.
21395
21396         * check/gst/gstplugin.c: 
21397         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
21398         * gst/gstelementfactory.c (gst_element_factory_create): 
21399         * gst/gstindexfactory.c (gst_index_factory_create): Update for
21400         refcount changes.
21401
21402         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
21403         (gst_plugin_feature_load): Doc, don't eat refs.
21404
21405         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
21406         (gst_plugin_list_free): Doc.
21407         (gst_plugin_load_file): Doc updates.
21408
21409         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
21410         accessors returning refcounted objects, return a ref.
21411
21412         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
21413         accessor for caps. IDEMPOTENCE. Oh yes.
21414
21415 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
21416
21417         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21418
21419         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
21420         (_gst_debug_register_funcptr):
21421           Add mutex to serialise access to the hash table with
21422           the function pointer => function name string mapping;
21423           make that hash table static scope (#316809).
21424
21425         * gst/registries/.cvsignore:
21426           Remove left-over file.
21427
21428 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21429
21430         * docs/pwg/appendix-porting.xml:
21431           And something about newsegment events and caps-on-buffers to
21432           the porting guide (feel free to improve).
21433
21434 2005-09-21  Andy Wingo  <wingo@pobox.com>
21435
21436         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
21437         data and event probes on the same pad.
21438         (test_buffer_probe_once): Test that removing probes from within
21439         the probe functions works.
21440
21441 2005-09-21  Andy Wingo  <wingo@pobox.com>
21442
21443         * check/gst/gstutils.c: New file.
21444         (test_buffer_probe_n_times): A simple buffer probe test. More to
21445         come, foolios.
21446
21447         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
21448         have-data::buffer, not have-data.
21449         (gst_pad_add_event_probe): Likewise for have-data::event.
21450         (gst_pad_add_data_probe): More docs. The part about 'resolving the
21451         peer' isn't quite right yet though.
21452         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
21453         (gst_pad_remove_data_probe): Change to take the guint handler_id
21454         as their arg, not the function+data, which is more glib-like.
21455
21456         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
21457         the signal emission to indicate if the data is a buffer or an
21458         event.
21459         (gst_pad_get_type): Initialize buffer and event quarks.
21460         (gst_pad_class_init): have-data is now a detailed signal, yes it
21461         is.
21462
21463 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
21464
21465         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
21466         * gst/gstutils.c: (gst_util_set_value_from_string),
21467         (gst_util_set_object_arg):
21468           Don't put functional code in g_return_if_fail() or
21469           g_return_val_if_fail() statements, otherwise things will 
21470           break when G_DISABLE_CHECKS is defined during compilation.
21471
21472 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21473
21474         * docs/gst/tmpl/.cvsignore:
21475         * docs/gst/tmpl/gstvalue.sgml:
21476         * gst/gstvalue.c:
21477         * gst/gstvalue.h:
21478           inlied another one and added  some obvious docs
21479
21480 2005-09-21  Wim Taymans  <wim@fluendo.com>
21481
21482         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
21483         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
21484         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
21485         (gst_fdsrc_get_property), (gst_fdsrc_create):
21486         * gst/elements/gstfdsrc.h:
21487         Properly implement fdsrc. Removed signal and timeout,
21488         better implemented somewhere else.
21489
21490 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21491
21492         * docs/gst/tmpl/.cvsignore:
21493         * docs/gst/tmpl/gstimplementsinterface.sgml:
21494         * gst/gstinterface.c:
21495           inlined more docs
21496
21497 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21498
21499         * docs/gst/gstreamer-sections.txt:
21500         * docs/gst/tmpl/.cvsignore:
21501         * docs/gst/tmpl/gstenumtypes.sgml:
21502           remove obsolete doc file
21503
21504 2005-09-21  David Schleef  <ds@schleef.org>
21505
21506         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
21507         little beer, fix a little leak.
21508
21509 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
21510
21511         * docs/gst/gstreamer-docs.sgml:
21512         * docs/gst/gstreamer-sections.txt:
21513         * docs/gst/tmpl/.cvsignore:
21514         * gst/Makefile.am:
21515         * gst/gst.h:
21516         * gst/gstbin.c:
21517         * gst/gstelement.h:
21518         * gst/gstindex.c: (gst_index_class_init):
21519         * gst/gstindex.h:
21520         * gst/gstindexfactory.c: (gst_index_factory_get_type),
21521         (gst_index_factory_class_init), (gst_index_factory_init),
21522         (gst_index_factory_finalize), (gst_index_factory_new),
21523         (gst_index_factory_destroy), (gst_index_factory_find),
21524         (gst_index_factory_create), (gst_index_factory_make):
21525         * gst/gstindexfactory.h:
21526         * gst/gstpluginfeature.c:
21527         * gst/gstpluginfeature.h:
21528         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21529           more docs inlined, splitted gstindex.{c,h}
21530
21531 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21532
21533         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21534           fix a leak
21535
21536 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21537
21538         * gst/elements/gstfilesink.c: (gst_file_sink_init):
21539           Set sync to FALSE by default.
21540
21541 2005-09-20  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21544         (gst_base_sink_init):
21545         Make sync property settable from subclass.
21546
21547         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
21548         (gst_fake_sink_change_state):
21549         Set sync to FALSE by default.
21550
21551 2005-09-20  Wim Taymans  <wim@fluendo.com>
21552
21553         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
21554         * tools/gst-launch.c: (main):
21555         The timeout handler should have lower priority than the source
21556         so we don't timeout before popping a message with 0 timeout.
21557         Dump error messages after failed state change.
21558
21559 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
21560
21561         * tools/gst-inspect.c: (print_element_properties_info):
21562           Fix two typos.
21563
21564 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21565
21566         * check/gst/gstevent.c:
21567         * gst/elements/gstfakesink.c:
21568         * gst/elements/gstfakesink.h:
21569           remove the sync property from fakesink.
21570           has the side effect of setting sync TRUE
21571           for fakesink, which is a change.  Anyone who knows how
21572           to fix this nicely in a GObject-y way, feel free.
21573
21574 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21575
21576         * docs/gst/gstreamer-docs.sgml:
21577           remove probe refsection
21578
21579 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21580
21581         * check/Makefile.am:
21582           disable valgrinding the controller test again
21583         * docs/gst/gstreamer-sections.txt:
21584           update for api-changes
21585
21586 2005-09-20  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
21589         (gst_base_sink_set_property), (gst_base_sink_get_property),
21590         (gst_base_sink_do_sync):
21591         * gst/base/gstbasesink.h:
21592         Added sync property to basesink to disable clock sync.
21593
21594 2005-09-20  Andy Wingo  <wingo@pobox.com>
21595
21596         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
21597         eating the caller's refcount.
21598
21599         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
21600         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
21601         refcount.
21602
21603         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
21604         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
21605         of GLib 2.8 public, so we can know which refcount to check in
21606         tests.
21607
21608         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
21609         (gst_object_init): Only set the gst refcount if we're going ahead
21610         with the refcount hack.
21611
21612 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21613
21614         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21615         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
21616           more leaks plumbed, added more debug-logging
21617         * gst/gstmacros.h:
21618           whitespace fix
21619
21620 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21621
21622         * gst/gstmessage.c:
21623           remove include of gstmemchunk.h
21624
21625 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21626
21627         * gst/gstclock.c: (_gst_clock_id_free):
21628           Commit from the Political Party For More Atomic CVS Commits,
21629           so that people don't waste too much of their day fishing
21630           out obvious leaks out of massive commits.
21631           Oh, and fix a pretty damn obvious leak in the memchunk
21632           removal code.
21633
21634 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
21635
21636         * check/Makefile.am:
21637         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
21638           plug mem-leak, re-add to valgrindable tests
21639
21640 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21641
21642         * gst/gstplugin.h:
21643           unbreak the build for those who have chronic arthritis
21644           and typing "make check" is just too taxing on the hands
21645
21646 2005-09-20  Andy Wingo  <wingo@pobox.com>
21647
21648         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
21649         really want it out, you should fix plugins at the same time.
21650
21651 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
21652
21653         * configure.ac:
21654         * docs/gst/gstreamer-sections.txt:
21655         * gst/gstobject.c:
21656           added missing symbols to api docs
21657           disable ref-count hack if we have glib >= 2.8
21658
21659 2005-09-19  David Schleef  <ds@schleef.org>
21660
21661         * docs/gst/Makefile.am: Ignore a few more internal headers
21662         * docs/gst/gstreamer-docs.sgml: Remove old sections
21663         * docs/gst/gstreamer-sections.txt: Remove old sections
21664         * docs/gst/tmpl/gstobject.sgml: update
21665         * docs/gst/tmpl/gstplugin.sgml: update
21666         * docs/gst/tmpl/gstpluginfeature.sgml: update
21667         * docs/random/ds/0.9-suggested-changes: update.
21668         * gst/Makefile.am: remove memchunk and trashstack, since they're
21669           not used.
21670         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
21671         * gst/gst.h: don't include some headers
21672         * gst/gstchildproxy.c: add gstmarshal.h
21673         * gst/gstclock.c: Don't use memchunks
21674         * gst/gstminiobject.c: Add some docs
21675         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
21676         * gst/gstobject.h: same
21677         * gst/gstplugin.c: include gstmacros.h
21678         * gst/gstplugin.h: don't include gstmacros.h, since it's private
21679         * gst/gstquery.c: don't use memchunks
21680         * gst/gstregistry.c: rename gst_registry_deinit()
21681         * gst/gstregistry.h: same
21682
21683 2005-09-19  David Schleef  <ds@schleef.org>
21684
21685         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
21686         * docs/libs/gstreamer-libs-sections.txt:
21687         * docs/libs/tmpl/gstgetbits.sgml:
21688         * docs/libs/tmpl/gstputbits.sgml:
21689
21690 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
21691
21692         * win32/gstenumtypes.c:
21693         * win32/gstenumtypes.h:
21694           Update.
21695
21696 2005-09-19  Wim Taymans  <wim@fluendo.com>
21697
21698         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
21699         Automatically PAUSE and RESUME a pipeline when a flushing seek
21700         is performed.
21701
21702 2005-09-19  Andy Wingo  <wingo@pobox.com>
21703
21704         * gst/gstregistry.h: Spacing fixen.
21705
21706 2005-09-19  Wim Taymans  <wim@fluendo.com>
21707
21708         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
21709         Handle state change failure more correctly.
21710
21711 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21712
21713         * check/Makefile.am:
21714         * check/pipelines/cleanup.c: (run_pipeline):
21715         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21716         (GST_START_TEST):
21717           enable cleanup again after fixing the leak
21718         * docs/README:
21719           some more info on docs
21720
21721 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21722
21723         * check/Makefile.am:
21724           re-enable tests now that leaks are plugged
21725         * check/gst/gst.c:
21726         * check/gst/gstbin.c:
21727         * check/gst/gstpipeline.c:
21728           add some more tests while fixing leaks
21729         * common/check.mak:
21730           make sure binaries are uptodate when valgrinding/gdbing
21731         * gst/gst.c:
21732         * gst/gstelementfactory.c:
21733           remove a ref too many, and add a FIXME for when we get
21734           round to disposing of classes
21735         * gst/gstplugin.c:
21736           fix the refcounting when loading a plugin from a file and
21737           the code pretends that the pointer is the same even though
21738           of course it can change
21739         * gst/gstpluginfeature.c:
21740           unref plugins marked cached (a bit confusing as a name)
21741           as the docs state should be done
21742           various doc additions to explain refcounting
21743         * gst/gstregistry.c:
21744         * gst/gstregistryxml.c:
21745           debugging
21746
21747 2005-09-19  Wim Taymans  <wim@fluendo.com>
21748
21749         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
21750         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21751         (send_messages), (GST_START_TEST), (gstbus_suite):
21752         * check/gst/gstpipeline.c: (GST_START_TEST):
21753         * check/pipelines/cleanup.c: (run_pipeline):
21754         * check/pipelines/simple_launch_lines.c: (run_pipeline),
21755         (GST_START_TEST):
21756         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
21757         (gst_bus_source_check), (gst_bus_source_dispatch),
21758         (gst_bus_create_watch), (gst_bus_add_watch_full),
21759         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
21760         * gst/gstbus.h:
21761         * tools/gst-launch.c: (event_loop):
21762         * tools/gst-md5sum.c: (event_loop):
21763         GstBusHandler -> GstBusFunc, return value has the same meaning as
21764         any other GSource (FALSE == remove source).
21765         _add_watch() and _add_watch_full() now take a MessageType mask to
21766         only handle specific types of messages.
21767         _poll() returns the GstMessage instead of the message type to avoid
21768         race conditions.
21769         _have_pending() takes a MessageType mask now too.
21770         Added testsuite for multiple bus watches.
21771         Fix testsuites and applications for new bus API.
21772
21773 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
21774
21775         * check/Makefile.am:
21776           mark a bunch of the tests as to fix until we fix them
21777
21778 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21779
21780         * common/check.mak:
21781           use GST_PLUGIN settings for valgrind tests as well, so we're
21782           valgrinding the correct thing
21783         * gst/gst.c: (init_post):
21784           plug another leak
21785
21786 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21787
21788         * gst/gst.c: (init_post), (gst_deinit):
21789         * gst/gstelementfactory.c: (gst_element_factory_class_init),
21790         (gst_element_factory_finalize), (gst_element_factory_cleanup):
21791         * gst/gstindex.c: (gst_index_factory_class_init),
21792         (gst_index_factory_finalize):
21793         * gst/gstobject.c: (gst_object_dispose):
21794         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
21795         (gst_plugin_load_file), (gst_plugin_desc_free):
21796         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
21797         (gst_plugin_feature_finalize):
21798         * gst/gstregistry.c: (gst_registry_class_init),
21799         (gst_registry_init), (gst_registry_finalize),
21800         (gst_registry_get_default), (gst_registry_deinit):
21801         * gst/gstregistry.h:
21802         * gst/gstregistryxml.c: (load_feature), (load_plugin):
21803           various cleanups and memleak plugging.  make valgrind is happy now.
21804
21805 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
21806
21807         * common/check.mak:
21808           add a check-valgrind target
21809
21810 2005-09-18  David Schleef  <ds@schleef.org>
21811
21812         * tools/gst-inspect.c: Revert the GOption code.
21813
21814 2005-09-17  David Schleef  <ds@schleef.org>
21815
21816         * check/Makefile.am: Fix environment variables.
21817         * check/gst/gstplugin.c: Fix for API changes.
21818         * tools/gst-inspect.c: Fix for API changes.
21819         * tools/gst-xmlinspect.c: Fix for API changes.
21820         * gst/gstelementfactory.c:
21821         * gst/gstplugin.c:
21822         * gst/gstplugin.h:
21823         * gst/gstpluginfeature.c:
21824         * gst/gstpluginfeature.h:
21825         * gst/gstregistry.c:
21826         * gst/gstregistry.h:
21827         * gst/gstregistryxml.c:
21828         * gst/gsttypefind.c:
21829         * gst/gsttypefindfactory.c:
21830         * gst/indexers/gstfileindex.c:
21831         * gst/indexers/gstmemindex.c:
21832         * gst/schedulers/Makefile.am:
21833           Change registry to keep track of both plugins and features,
21834           removing the feature tracking from plugins themselves.
21835
21836 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
21837
21838         * check/Makefile.am:
21839         * tools/gst-register.1.in:
21840           remove gst-register
21841
21842 2005-09-15  David Schleef  <ds@schleef.org>
21843
21844         * check/gst/gstplugin.c:
21845         * gst/gstelementfactory.c:
21846         * gst/gstplugin.c:
21847         * gst/gstpluginfeature.c:
21848         * gst/gstregistry.c:
21849           Getting tired of debugging.  Disabled all the unreffing of
21850           plugins and features, which fixes the segfaults, but of
21851           course leaks like crazy.  At least playbin works.
21852
21853 2005-09-15  David Schleef  <ds@schleef.org>
21854
21855         * check/gst/gstplugin.c: (register_check_elements),
21856         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
21857         More testing
21858         * gst/elements/gsttypefindelement.c: Fix refcounting.
21859         * gst/gsttypefind.c:
21860         * gst/gsttypefindfactory.c:
21861         * gst/gsttypefindfactory.h:
21862
21863 2005-09-15  David Schleef  <ds@schleef.org>
21864
21865         * gst/gstindex.c: get refcounting correct.
21866         * gst/gstregistry.c: Handle the case where a feature/plugin is
21867           not found.
21868
21869 2005-09-15  David Schleef  <ds@schleef.org>
21870
21871         * check/Makefile.am:
21872         * check/gst/gstplugin.c: Add test
21873         * gst/gstplugin.c: Fix problems noticed by testsuite
21874         * gst/gstplugin.h:
21875         * gst/gstregistry.c: 
21876         * gst/gstregistry.h:
21877
21878 2005-09-15  David Schleef  <ds@schleef.org>
21879
21880         * gst/gstplugin.c: Implement semi-decent recounting and locking
21881           in plugins and plugin features.
21882         * gst/gstplugin.h:
21883         * gst/gstpluginfeature.c:
21884         * gst/gstpluginfeature.h:
21885         * gst/gstregistry.c:
21886
21887 2005-09-15  Michael Smith <msmith@fluendo.com>
21888
21889         * gst/gstregistry.c: (gst_registry_get_feature_list):
21890           Implement this. Makes oggdemux work; decodebin still broken.
21891
21892 2005-09-14  David Schleef  <ds@schleef.org>
21893
21894         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
21895           #316076)
21896         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
21897         * gst/check/Makefile.am:
21898         * libs/gst/controller/Makefile.am:
21899         * libs/gst/dataprotocol/Makefile.am:
21900
21901 2005-09-14  David Schleef  <ds@schleef.org>
21902
21903         * configure.ac: Remove getbits library.  Nothing uses it, and
21904           it should be in something like liboil if someone did want
21905           to use it.
21906         * libs/gst/Makefile.am:
21907         * libs/gst/getbits/Makefile.am:
21908         * libs/gst/getbits/gbtest.c:
21909         * libs/gst/getbits/getbits.c:
21910         * libs/gst/getbits/getbits.h:
21911         * libs/gst/getbits/gstgetbits_generic.c:
21912         * libs/gst/getbits/gstgetbits_i386.s:
21913         * libs/gst/getbits/gstgetbits_inl.h:
21914
21915 2005-09-14  David Schleef  <ds@schleef.org>
21916
21917         * gst/Makefile.am: Dist glib-compat.h
21918
21919 2005-09-14  David Schleef  <ds@schleef.org>
21920
21921         * configure.ac: Remove gst/registries, since it's no longer used.
21922         * gst/registries/Makefile.am:
21923         * gst/registries/gstlibxmlregistry.c:
21924         * gst/registries/gstlibxmlregistry.h:
21925         * gst/registries/gstxmlregistry.c:
21926         * gst/registries/gstxmlregistry.h:
21927         * gst/registries/registrytest.c:
21928
21929 2005-09-14  David Schleef  <ds@schleef.org>
21930
21931         * gst/glib-compat.h:
21932         * gst/gstregistryxml.c:
21933           Convergence is near.  Seriously.
21934
21935 2005-09-14  David Schleef  <ds@schleef.org>
21936
21937         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21938         * gst/glib-compat.h:
21939           Attempt #4 to appease the buildbots.
21940
21941 2005-09-14  David Schleef  <ds@schleef.org>
21942
21943         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21944           Attempt #3.
21945
21946 2005-09-14  David Schleef  <ds@schleef.org>
21947
21948         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21949         Attempt #2.
21950
21951 2005-09-14  David Schleef  <ds@schleef.org>
21952
21953         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
21954           the new functions.
21955
21956 2005-09-14  David Schleef  <ds@schleef.org>
21957
21958         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
21959         * gst/glib-compat.h: Add some functions that are in newer versions
21960           of glib than we care to require.
21961         * gst/gstregistryxml.c: Use them.
21962
21963 2005-09-14  David Schleef  <ds@schleef.org>
21964
21965         * po/POTFILES.in: remove gst-register.c
21966
21967 2005-09-14  David Schleef  <ds@schleef.org>
21968
21969         * docs/gst/gstreamer-docs.sgml:
21970         * docs/gst/gstreamer-sections.txt:
21971         * docs/gst/gstreamer.types:
21972         * docs/gst/tmpl/gstelement.sgml:
21973         * docs/gst/tmpl/gstplugin.sgml:
21974         * docs/gst/tmpl/gstpluginfeature.sgml:
21975           Documentation updates for registry changes.
21976
21977 2005-09-14  David Schleef  <ds@schleef.org>
21978
21979         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
21980           because we don't require glib-2.8.
21981
21982 2005-09-14  David Schleef  <ds@schleef.org>
21983
21984         * gst/gstregistryxml.c: Added.  Essentially moved out of the
21985           registries directory.
21986
21987 2005-09-14  David Schleef  <ds@schleef.org>
21988
21989         * check/Makefile.am:
21990         * check/generic/states.c:
21991         * gst/Makefile.am:
21992         * gst/gst.c:
21993         * gst/gst.h:
21994         * gst/gst_private.h:
21995         * gst/gstelementfactory.c:
21996         * gst/gstindex.c:
21997         * gst/gstinfo.c:
21998         * gst/gstplugin.c:
21999         * gst/gstplugin.h:
22000         * gst/gstpluginfeature.c:
22001         * gst/gstpluginfeature.h:
22002         * gst/gstregistry.c:
22003         * gst/gstregistry.h:
22004         * gst/gstregistrypool.c: remove
22005         * gst/gstregistrypool.h: remove
22006         * gst/gsttypefind.c:
22007         * gst/gsttypefindfactory.c:
22008         * gst/gsturi.c:
22009         * tools/Makefile.am:
22010         * tools/gst-compprep.c:
22011         * tools/gst-inspect.c:
22012         * tools/gst-register.c: remove
22013         * tools/gst-xmlinspect.c:
22014           Registry rewrite.  Changes registry from being a file created
22015           by a tool into a simple cache file created automatically by 
22016           libgstreamer.  Removed gst-register (because it's no longer
22017           needed).  Remove registry pools, because we only have one
22018           registry implementation (XML).  Fix up other subsystems as
22019           necessary.
22020
22021 2005-09-13  Michael Smith <msmith@fluendo.com>
22022
22023         * gst/gstconfig.h.in:
22024           Don't Use windows linking attributes for MinGW. Fixes #316157
22025
22026 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
22027
22028         * gst/gstutils.c: (set_state_async_thread_func),
22029         (gst_element_set_state_async):
22030           Apparently people think it's better if this function doesn't
22031           try to set the state to whatever state was asked for on the first
22032           call to this function for any object.  Seriously.
22033
22034 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22035
22036         * check/gst/gstpipeline.c: (GST_START_TEST):
22037         * docs/gst/gstreamer-sections.txt:
22038         * gst/gstutils.c: (set_state_async_thread_func),
22039         (gst_element_set_state_async):
22040         * gst/gstutils.h:
22041           add a "gst_element_set_state_async" method that
22042           sets the state and starts a thread to make sure the state
22043           change completes as best as it can
22044
22045 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22046
22047         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22048           codify design+behaviour in testsuite after discussion
22049
22050 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
22051
22052         * docs/gst/tmpl/gstelement.sgml:
22053         * docs/manual/appendix-quotes.xml:
22054           add a quote
22055         * gst/gstelement.c: (gst_element_set_state):
22056           add some debug
22057
22058 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
22059
22060         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22061         (gst_base_transform_prepare_output_buf),
22062         (gst_base_transform_handle_buffer):
22063         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
22064         (gst_capsfilter_prepare_buf):
22065           Remove the requirement for sub-classes to call the parent
22066           implementation of prepare_output_buffer with a wrapper function.
22067           
22068         * gst/gsttaglist.h:
22069         * gst/gsttagsetter.h:
22070           Fix #define wrapper
22071
22072 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
22073
22074         * docs/gst/gstreamer-sections.txt:
22075           more doc cleanups
22076
22077 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22078
22079         * docs/gst/gstreamer-sections.txt:
22080         * docs/gst/tmpl/gstelement.sgml:
22081         * docs/gst/tmpl/gstplugin.sgml:
22082         * gst/gstminiobject.c:
22083         * gst/gstvalue.h:
22084           docs now stop throwing warnings
22085
22086 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22087
22088         * docs/gst/gstreamer-sections.txt:
22089         * docs/gst/gstreamer.types:
22090         * docs/gst/tmpl/gstpad.sgml:
22091         * docs/gst/tmpl/gsttypes.sgml:
22092         * gst/base/gstadapter.h:
22093         * gst/base/gstbasesink.h:
22094         * gst/base/gstbasesrc.h:
22095         * gst/gstbin.h:
22096         * gst/gstbuffer.h:
22097         * gst/gstbus.h:
22098         * gst/gstcaps.h:
22099         * gst/gstclock.h:
22100         * gst/gstelement.h:
22101         * gst/gstevent.h:
22102         * gst/gstmessage.h:
22103         * gst/gstpad.h:
22104         * gst/gststructure.c:
22105         * gst/registries/gstlibxmlregistry.h:
22106           various documentation fixes
22107
22108 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
22109
22110         * docs/gst/gstreamer-sections.txt:
22111         * docs/gst/tmpl/gstvalue.sgml:
22112           rearrange gstvalue section
22113         * gst/gstutils.c: (gst_element_state_get_name):
22114           NONE -> VOID
22115         * gst/gstvalue.c: (_gst_value_initialize):
22116         * gst/gstvalue.h:
22117           doc updates
22118
22119 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
22120
22121         * check/gst-libs/controller.c:
22122           Header include fix.
22123         * gst/base/gstbasetransform.c:
22124         (gst_base_transform_default_prepare_buf),
22125         (gst_base_transform_handle_buffer):
22126         * gst/base/gstbasetransform.h:
22127           Some more basetransform changes and fixes to enable sub-classes
22128           that modify buffer metadata only.
22129         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
22130         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
22131         (gst_capsfilter_prepare_buf):
22132           If the output pad has fixed allowed caps and input buffers 
22133           don't have any, set the fixed caps on outgoing buffers.
22134
22135 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
22136         * check/elements/identity.c: (GST_START_TEST):
22137           Make the error a little clearer when the test fails because
22138           identity made a copy of the buffer.
22139         * docs/gst/gstreamer-sections.txt:
22140           New symbols in gstbasetransform.h
22141         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
22142         (gst_base_transform_init), (gst_base_transform_transform_size),
22143         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22144         (gst_base_transform_default_prepare_buf),
22145         (gst_base_transform_get_unit_size),
22146         (gst_base_transform_buffer_alloc),
22147         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
22148         (gst_base_transform_change_state),
22149         (gst_base_transform_set_passthrough),
22150         (gst_base_transform_set_in_place),
22151         (gst_base_transform_is_in_place):
22152         * gst/base/gstbasetransform.h:
22153           Change BaseTransform to separate in_place operate from same_caps
22154           output. in_place implies that the element can perform the transform
22155           on incoming buffers in-place, even if the caps on the output are
22156           different.
22157           Sub-class elements can now implement special buffer allocation
22158           methods for outgoing buffers if they wish to.
22159           Big documentation addition.
22160         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
22161         * gst/elements/gstelements.c:
22162           Changes for basetransform modifications.
22163         * gst/elements/Makefile.am:
22164         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
22165           Compile fix. Extra debug output.
22166
22167 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22168
22169         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
22170         (gst_pad_suite):
22171           add tests for valid pad naming
22172         * gst/check/gstcheck.c: (gst_check_log_message_func),
22173         (gst_check_log_critical_func):
22174           add ASSERT_WARNING
22175           remove printing of code, it is fragile when the code contains
22176           % and the line number is enough info
22177         * gst/check/gstcheck.h:
22178         * gst/gstpad.c: (gst_pad_template_new):
22179           fix memleaks
22180
22181 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22182
22183         * configure.ac:
22184           say what CHECK flags we use
22185         * docs/libs/gstreamer-libs.types:
22186         * libs/gst/controller/Makefile.am:
22187         * libs/gst/controller/gst-controller.c:
22188         * libs/gst/controller/gst-controller.h:
22189         * libs/gst/controller/gst-helper.c:
22190         * libs/gst/controller/gst-interpolation.c:
22191         * libs/gst/controller/gstcontroller.c:
22192         * libs/gst/controller/gsthelper.c:
22193         * libs/gst/controller/gstinterpolation.c:
22194         * tools/gst-inspect.c: (print_plugin_info):
22195           we don't use dashes in header names
22196
22197 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
22198
22199         * check/Makefile.am:
22200         * check/gst/.cvsignore:
22201         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
22202         (gst_pipeline_suite), (main):
22203           adding a test for pipelines and state changes
22204         * gst/gstutils.c: (get_state_func):
22205           add some debugging
22206         * gstreamer.spec.in:
22207           fix up spec file
22208
22209 2005-09-08  Michael Smith <msmith@fluendo.com>
22210
22211         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
22212         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
22213         (gst_file_src_is_seekable), (gst_file_src_get_size),
22214         (gst_file_src_start):
22215         * gst/elements/gstfilesrc.h:
22216           Various fixes for unseekable, unmmapable, and non-normal files, so
22217           that fallback to read() rather than mmap() works.
22218         * gst/gstevent.c: (gst_event_new_newsegment):
22219           Allow newsegment events with segment_start == segment_end, as will
22220           correctly happen if you use filesrc on a zero-size file, for
22221           example.
22222
22223 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22224
22225         * gst/gstplugin.c: (gst_plugin_load_file):
22226           Call g_module_close when we don't load the module
22227
22228         * gst/registries/gstlibxmlregistry.c:
22229         (gst_xml_registry_get_property):
22230           Port leak fix from 0.8
22231
22232 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22233
22234         * docs/gst/gstreamer-docs.sgml:
22235         * docs/gst/tmpl/.cvsignore:
22236         * docs/gst/tmpl/gsttrace.sgml:
22237         * docs/gst/tmpl/gsttrashstack.sgml:
22238         * gst/Makefile.am:
22239         * gst/gst.h:
22240         * gst/gstelement.h:
22241         * gst/gstevent.h:
22242         * gst/gstmessage.c:
22243         * gst/gstmessage.h:
22244         * gst/gsttag.c:
22245         * gst/gsttag.h:
22246         * gst/gsttaginterface.c:
22247         * gst/gsttaginterface.h:
22248         * gst/gsttaglist.c:
22249         * gst/gsttaglist.h:
22250         * gst/gsttagsetter.c:
22251         * gst/gsttagsetter.h:
22252         * gst/gsttrace.c:
22253         * gst/gsttrace.h:
22254         * gst/gsttrashstack.c:
22255           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
22256           inlined docs for gsttrace, gsttrashstack
22257
22258 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22259
22260         * gst/Makefile.am:
22261         * gst/elements/gstbufferstore.h:
22262         * gst/elements/gsttypefindelement.c:
22263         * gst/elements/gsttypefindelement.h:
22264         * gst/gst.h:
22265         * gst/gsttypefind.c:
22266         * gst/gsttypefind.h:
22267         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
22268         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
22269         (gst_type_find_factory_dispose),
22270         (gst_type_find_factory_unload_thyself),
22271         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
22272         (gst_type_find_factory_get_caps),
22273         (gst_type_find_factory_get_extensions),
22274         (gst_type_find_factory_call_function):
22275         * gst/gsttypefindfactory.h:
22276         * gst/registries/gstlibxmlregistry.c:
22277         * gst/registries/gstxmlregistry.c:
22278           splitted gsttypefind into gsttypefind, gsttypefindfactory
22279
22280 2005-09-07  Andy Wingo  <wingo@pobox.com>
22281
22282         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
22283         condition whereby the pad's task function is entered before the
22284         pad_mode variable was set.
22285
22286 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
22287
22288         * gst/gstpad.c: (gst_pad_alloc_buffer):
22289           Catch misbehaving pad_alloc functions that don't
22290           set up caps and do it for them.
22291
22292 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
22293
22294         * check/pipelines/simple_launch_lines.c: (run_pipeline):
22295           test for pipe!=NULL
22296         * docs/gst/tmpl/.cvsignore:
22297         * docs/gst/tmpl/gstmemchunk.sgml:
22298         * docs/gst/tmpl/gstparse.sgml:
22299         * docs/gst/tmpl/gsttaglist.sgml:
22300         * docs/gst/tmpl/gsttagsetter.sgml:
22301         * docs/gst/tmpl/gsttypefind.sgml:
22302         * docs/gst/tmpl/gsttypefindfactory.sgml:
22303         * gst/gstmemchunk.c:
22304         * gst/gstparse.c:
22305         * gst/gsttag.c:
22306         * gst/gsttaginterface.c:
22307         * gst/gsttypefind.c:
22308         * gst/gsttypefind.h:
22309           inlined more docs
22310
22311 === release 0.9.2 ===
22312
22313 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
22314
22315         * NEWS:
22316         * RELEASE:
22317         * configure.ac:
22318           releasing 0.9.2, "South"
22319
22320 2005-09-05  Andy Wingo  <wingo@pobox.com>
22321
22322         * gst/registries/gstxmlregistry.h:
22323         * gst/registries/gstxmlregistry.c: Um... resurrect...
22324         
22325         * gst/registries/gstxmlregistry.h:
22326         * gst/registries/gstxmlregistry.c: and update to newer API.
22327         Incidentally they should be a bit faster now that they don't have
22328         to parse the caps.
22329         
22330 2005-09-05  Andy Wingo  <wingo@pobox.com>
22331
22332         * gst/registries/gstxmlregistry.h:
22333         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
22334         replaced by the libxml registry a while back
22335
22336 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22337
22338         * docs/gst/tmpl/gstplugin.sgml:
22339         * gst/elements/gstelements.c:
22340         * gst/gst.c:
22341         * gst/gstplugin.c: (gst_plugin_register_func),
22342         (gst_plugin_desc_copy), (gst_plugin_desc_free),
22343         (gst_plugin_get_source):
22344         * gst/gstplugin.h:
22345         * gst/registries/gstlibxmlregistry.c: (load_plugin),
22346         (gst_xml_registry_save_plugin):
22347         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
22348         (gst_xml_registry_save_plugin):
22349         * tools/gst-inspect.c: (print_plugin_info):
22350           add a "source" plugin description field, to represent the source
22351           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
22352           will set it to PACKAGE, which is automake's idea of the name of
22353           the source project.
22354
22355 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
22356
22357         * Makefile.am:
22358         * autogen.sh:
22359         * configure.ac:
22360         * docs/Makefile.am:
22361         * docs/faq/Makefile.am:
22362         * docs/gst/tmpl/gstelement.sgml:
22363         * docs/gst/tmpl/gsttypes.sgml:
22364         * docs/htmlinstall.mak:
22365         * docs/manual/Makefile.am:
22366         * docs/pwg/Makefile.am:
22367           reorganize doc build a little
22368           split out docbook and gtk-doc stuff
22369           have two separate --enable's and enable them through autogen
22370           but disable by default in configure (to be similar to other
22371           projects)
22372         * gstreamer.spec.in:
22373           clean up docs install
22374         * po/af.po:
22375         * po/az.po:
22376         * po/ca.po:
22377         * po/cs.po:
22378         * po/de.po:
22379         * po/en_GB.po:
22380         * po/fr.po:
22381         * po/it.po:
22382         * po/nb.po:
22383         * po/nl.po:
22384         * po/ru.po:
22385         * po/sq.po:
22386         * po/sr.po:
22387         * po/sv.po:
22388         * po/tr.po:
22389         * po/uk.po:
22390         * po/vi.po:
22391           translation updates
22392
22393 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
22394
22395         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
22396           Add comment.
22397           
22398         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22399         (gst_fake_sink_change_state):
22400           Make state change function thread-safe.
22401           
22402         * gst/gstpad.c: (gst_pad_alloc_buffer):
22403           Set offset on generic buffer allocated by fallback.
22404
22405 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
22406
22407         * docs/gst/gstreamer-sections.txt:
22408         * docs/gst/tmpl/gstelement.sgml:
22409         * gst/gstpad.c:
22410         * libs/gst/controller/gst-controller.c:
22411         (gst_controlled_property_set_interpolation_mode),
22412         (gst_controlled_property_new),
22413         (gst_controller_find_controlled_property):
22414          run the wingo-magic script against the docs
22415
22416 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22417
22418         * docs/gst/gstreamer-docs.sgml:
22419         * docs/gst/gstreamer-sections.txt:
22420         * docs/gst/tmpl/.cvsignore:
22421         * docs/gst/tmpl/gstelementdetails.sgml:
22422         * docs/gst/tmpl/gstelementfactory.sgml:
22423         * gst/gst.c:
22424         * gst/gstbus.c:
22425         * gst/gstelementfactory.c:
22426         * gst/gstelementfactory.h:
22427           merged elementdetails docs into elementfactory docs
22428           inlined both
22429
22430 2005-09-02  Andy Wingo  <wingo@pobox.com>
22431
22432         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
22433         consider this enum an enum and not a flags.
22434
22435 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
22436
22437         * docs/gst/gstreamer-docs.sgml:
22438         * docs/gst/tmpl/.cvsignore:
22439         * docs/gst/tmpl/gstghostpad.sgml:
22440         * docs/gst/tmpl/gstiterator.sgml:
22441         * docs/gst/tmpl/gstmacros.sgml:
22442         * docs/gst/tmpl/gstrealpad.sgml:
22443         * docs/gst/tmpl/gstregistry.sgml:
22444         * docs/gst/tmpl/gstregistrypool.sgml:
22445         * docs/gst/tmpl/gststructure.sgml:
22446         * docs/gst/tmpl/gstsystemclock.sgml:
22447         * docs/gst/tmpl/gsttrace.sgml:
22448         * gst/gstghostpad.c:
22449         * gst/gstmacros.h:
22450         * gst/gstmemchunk.c:
22451         * gst/gstmemchunk.h:
22452         * gst/gstqueue.c:
22453         * gst/gstregistry.c:
22454         * gst/gstregistrypool.c:
22455         * gst/gststructure.c:
22456         * gst/gstsystemclock.c:
22457           more docs inlined
22458
22459 2005-09-02  Andy Wingo  <wingo@pobox.com>
22460
22461         * gst/gstelement.h (GstState): Renamed from GstElementState,
22462         changed to be a normal enum instead of flags.
22463         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
22464         munged to be GST_STATE_CHANGE_*.
22465         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
22466         work with the new state representation.
22467         (GstStateChange): New enumeration of possible state transitions.
22468         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
22469         (GstElementClass::change_state): Pass the GstStateChange along as
22470         an argument. Helps language bindings, so they don't have to use
22471         tricky lock-needing macros like GST_STATE_CHANGE ().
22472
22473         * scripts/update-states (file): New script. Run it on a file to
22474         update it for state naming and API changes. Updates files in
22475         place.
22476
22477         * All files updated for the new API.
22478
22479 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
22480
22481         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
22482         * gst/gstutils.c: (gst_util_set_value_from_string),
22483         (gst_util_set_object_arg):
22484           fix a bunch of unchecked return values
22485         * tools/gst-complete.c: (main):
22486         * gstreamer.spec.in:
22487           clean up a little
22488
22489 2005-09-01  Wim Taymans  <wim@fluendo.com>
22490
22491         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22492         (gst_base_sink_event), (gst_base_sink_do_sync),
22493         (gst_base_sink_handle_event):
22494         * gst/base/gstbasesink.h:
22495         Handle newsegments more correctly.
22496
22497         * gst/gstbus.c:
22498         Fix docs.
22499
22500         * gst/gstevent.c: (gst_event_new_newsegment):
22501         A newsegment cannot have a start_time of -1
22502
22503 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
22504
22505         * win32/gstenumtypes.c:
22506         * win32/gstenumtypes.h:
22507           Update
22508
22509 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22510
22511         * libs/gst/controller/gst-controller.c:
22512         (gst_controlled_property_set_interpolation_mode),
22513         (gst_controlled_property_new):
22514          fixed boolean again
22515
22516 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
22517
22518         * docs/faq/gst-uninstalled:
22519           add -good
22520         * gst/gstevent.c:
22521         * gst/gstevent.h:
22522           remove wrong docs
22523         * gst/gstutils.c: (gst_element_link_filtered):
22524         * gst/gstutils.h:
22525           add gst_element_link_filtered
22526
22527 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22528
22529         * docs/gst/gstreamer-docs.sgml:
22530         * docs/gst/gstreamer-sections.txt:
22531         * docs/gst/tmpl/.cvsignore:
22532         * docs/gst/tmpl/gsterror.sgml:
22533         * docs/gst/tmpl/gstfilter.sgml:
22534         * docs/gst/tmpl/gsturihandler.sgml:
22535         * docs/gst/tmpl/gsturitype.sgml:
22536         * docs/gst/tmpl/gstutils.sgml:
22537         * docs/gst/tmpl/gstxml.sgml:
22538         * gst/gsterror.c:
22539         * gst/gsterror.h:
22540         * gst/gstfilter.c:
22541         * gst/gsturi.c:
22542         * gst/gsturitype.c:
22543         * gst/gstutils.c:
22544         * gst/gstxml.c:
22545           inlined more docs, fixed double id-ref
22546
22547 2005-08-31  Wim Taymans  <wim@fluendo.com>
22548
22549         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22550         (gst_base_transform_handle_buffer):
22551         Passthrough elements don't need the caps as they don't care.
22552
22553 2005-08-31  Wim Taymans  <wim@fluendo.com>
22554
22555         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22556         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
22557         Don't leak refcounts on buffers.
22558
22559 2005-08-31  Wim Taymans  <wim@fluendo.com>
22560
22561         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
22562         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
22563         (gst_base_transform_chain), (gst_base_transform_change_state):
22564         * gst/base/gstbasetransform.h:
22565         Handle the case where we are not negotiated more gracefully.
22566
22567 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
22568
22569         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
22570         (gst_file_src_map_region):
22571           Set READONLY flag on mmap'ed buffers, otherwise
22572           gst_buffer_make_writable() won't work properly (#314708).
22573
22574 2005-08-31  Wim Taymans  <wim@fluendo.com>
22575
22576         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
22577         passthrough elements can even do inplace on non writable
22578         buffers (as they don't touch them).
22579
22580 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
22581
22582         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
22583         (gst_test_mono_source_set_property),
22584         (gst_test_mono_source_class_init), (GST_START_TEST),
22585         (gst_controller_suite):
22586           more tests (hehe I have the most)
22587         * gst/gstbus.c:
22588           describe popping messages whenusing mulltiple sources
22589         * libs/gst/controller/gst-controller.c:
22590         (gst_controlled_property_set_interpolation_mode),
22591         (gst_controlled_property_new):
22592         * libs/gst/controller/gst-controller.h:
22593         * libs/gst/controller/gst-interpolation.c:
22594           implement boolean properties
22595
22596 2005-08-31  Wim Taymans  <wim@fluendo.com>
22597
22598         * gst/gstminiobject.c: (gst_mini_object_ref):
22599         Cannot assert that the refcount has to be positive
22600         since a disposed object can be resurrected.
22601
22602 2005-08-31  Wim Taymans  <wim@fluendo.com>
22603
22604         * gst/gstpad.c: (gst_pad_init):
22605         Revert change, need to first fix badly behaving 
22606         apps.
22607
22608 2005-08-30  Wim Taymans  <wim@fluendo.com>
22609
22610         * check/elements/fakesrc.c: (setup_fakesrc):
22611         * check/elements/identity.c: (setup_identity):
22612         Activate pads before using them.
22613
22614 2005-08-30  Wim Taymans  <wim@fluendo.com>
22615
22616         * gst/base/gstadapter.c: (gst_adapter_flush):
22617         Flushing out 0 bytes is ok for this function.
22618
22619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22620         no newsegment gives a warning and sets the start/stop to 
22621         invalid.
22622
22623         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
22624         (gst_base_transform_set_passthrough):
22625         Some debug info.
22626
22627         * gst/gstminiobject.c: (gst_mini_object_ref):
22628         Check refcount here too.
22629
22630         * gst/gstpad.c: (gst_pad_init):
22631         Pads are initially flushing and refusing data.
22632
22633         * gst/gstutils.c: (gst_element_link_pads_filtered):
22634         When adding a capsfilter element make sure it has the
22635         same state as the parent bin.
22636
22637 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22638
22639         * docs/gst/tmpl/.cvsignore:
22640         * docs/gst/tmpl/gstformat.sgml:
22641         * docs/gst/tmpl/gstversion.sgml:
22642         * gst/gstbus.h:
22643         * gst/gstformat.c:
22644         * gst/gstformat.h:
22645         * gst/gstversion.h.in:
22646           more docs and two more inlined
22647
22648 2005-08-30  Wim Taymans  <wim@fluendo.com>
22649
22650         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
22651         Don't sync to clock.
22652
22653 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22654
22655         * docs/gst/gstreamer-sections.txt:
22656           ultral33t func10ns deserve to appear in the docs actually
22657         * docs/gst/tmpl/.cvsignore:
22658         * docs/gst/tmpl/gstcompat.sgml:
22659         * docs/gst/tmpl/gstconfig.sgml:
22660         * gst/check/gstcheck.c:
22661         * gst/gstcompat.h:
22662         * gst/gstconfig.h.in:
22663           inlined more docs
22664
22665 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22666
22667         * docs/gst/tmpl/.cvsignore:
22668         * docs/gst/tmpl/gstquery.sgml:
22669         * docs/gst/tmpl/gstutils.sgml:
22670         * gst/gstquery.c:
22671         * gst/gstquery.h:
22672           inlined and extended docs
22673
22674 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
22675
22676         * check/gst-libs/controller.c: (GST_START_TEST),
22677         (gst_controller_suite):
22678           more tests
22679         * docs/gst/tmpl/gstutils.sgml:
22680         * docs/libs/gstreamer-libs-sections.txt:
22681         * docs/libs/tmpl/gstdataprotocol.sgml:
22682           include path fixes
22683         * examples/controller/audio-example.c: (main):
22684           controller example works now
22685         * gst/gstclock.h:
22686           doc fixes
22687         * tools/gst-inspect.c: (print_element_properties_info):
22688           show param spec flags
22689
22690 2005-08-29  Andy Wingo  <wingo@pobox.com>
22691
22692         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
22693
22694 2005-08-28  Andy Wingo  <wingo@pobox.com>
22695
22696         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
22697         as having two arguments instead of just one. Allows superclasses
22698         to access information on subclasses -- see the terrible for() loop
22699         in gtype.c:g_type_create_instance for the reason why. All callers
22700         changed.
22701
22702 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22703
22704         * docs/design/part-messages.txt:
22705           update info
22706         * docs/gst/tmpl/.cvsignore:
22707         * docs/gst/tmpl/gstcaps.sgml:
22708         * docs/gst/tmpl/gstclock.sgml:
22709         * gst/gstbus.c:
22710         * gst/gstcaps.c:
22711         * gst/gstcaps.h:
22712         * gst/gstclock.c:
22713         * gst/gstclock.h:
22714         * gst/gstmessage.c:
22715           added descriptions for bus and message
22716           inline caps and clock docs
22717
22718 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22719
22720         * gst/gstmessage.c:
22721         * gst/gstmessage.h:
22722           doc fixes
22723
22724 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
22725
22726         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22727           fix div-by-zero
22728
22729 2005-08-26  Andy Wingo  <wingo@pobox.com>
22730
22731         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
22732         element_set_state's return val.
22733         (test_2_elements): Add test that's been disabled for months.
22734
22735         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
22736         can-activate-pull properties.
22737
22738         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
22739         can-activate-pull properties. Implement is_seekable so fakesrc can
22740         operate in pull mode.
22741
22742         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
22743         properties.
22744         (gst_base_sink_activate, gst_base_sink_activate_pull)
22745         (gst_base_sink_activate_push): Make activation mode choosing work.
22746         Cleanups.
22747         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
22748         is right. Make pull mode work. Post an eos before pausing in pull
22749         mode.
22750         (gst_base_sink_change_state): Pay attention to the core's
22751         change_state() return val.
22752         
22753         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
22754         has-getrange properties. Cleanups.
22755         
22756         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
22757         has_getrange and replace with can_activate_pull and
22758         can_activate_push.
22759
22760         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
22761         locking comments. Remove has_loop, has_chain and replace with
22762         can_activate_pull and can_activate_push.
22763
22764 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
22765
22766         * configure.ac:
22767         * examples/Makefile.am:
22768         * examples/metadata/Makefile.am:
22769         * examples/metadata/read-metadata.c: (message_loop),
22770         (have_pad_handler), (make_pipeline), (print_tag), (main):
22771           Add metadata reading example that loops over a list of filenames,
22772           dumping any tags found.
22773
22774         * gst/gstbus.c: (gst_bus_dispose):
22775         * gst/gstelement.c: (gst_element_dispose):
22776           Release a few potentially-held references in dispose.
22777
22778 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22779
22780         * docs/gst/tmpl/gstminiobject.sgml:
22781           do *not* add tmpl/*.sgml files to CVS!
22782
22783 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22784
22785         * libs/gst/bytestream/.cvsignore:
22786         * libs/gst/bytestream/Makefile.am:
22787         * libs/gst/bytestream/adapter.c:
22788         * libs/gst/bytestream/adapter.h:
22789         * libs/gst/bytestream/bytestream.c:
22790         * libs/gst/bytestream/bytestream.h:
22791         * libs/gst/bytestream/filepad.c:
22792         * libs/gst/bytestream/filepad.h:
22793           removing obsolete files
22794
22795 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22796
22797         * docs/gst/gstreamer-docs.sgml:
22798         * docs/libs/gstreamer-libs-docs.sgml:
22799           disabed additional index entries again, as this makes docs-gen just
22800           slow and they aren't useful yet
22801         * docs/libs/gstreamer-libs-sections.txt:
22802           little -section.txt cleanup for libs
22803
22804 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22805
22806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22807         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
22808           fix up some debugging
22809         (gst_base_transform_get_unit_size),
22810         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22811         (gst_base_transform_handle_buffer):
22812         * gst/base/gstbasetransform.h:
22813           handle and store timed NEWSEGMENT events so that subclasses that
22814           calculate time by counting samples have a segment_start time they
22815           need to add to their timestamps - see audioresample
22816
22817 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
22818
22819         * gst/gstbin.h:
22820           removed ';' from the end of macro defs
22821         * docs/gst/gstreamer-docs.sgml:
22822         * docs/gst/gstreamer-sections.txt:
22823         * docs/gst/tmpl/.cvsignore:
22824         * gst/gstbus.h:
22825         * gst/gstelement.c: (gst_element_class_init),
22826         (gst_element_set_state), (activate_pads),
22827         (gst_element_save_thyself):
22828         * gst/gstevent.c: (gst_event_new_newsegment):
22829         * gst/gstevent.h:
22830         * gst/gstiterator.c:
22831         * gst/gstiterator.h:
22832         * gst/gstpad.c:
22833         * gst/gstprobe.h:
22834         * gst/gstutils.c: (gst_pad_query_convert):
22835         * gst/gstutils.h:
22836           fixed parameter name mismatches between source, header and docs
22837           added some more docs, resolved the last batch of unused elements in
22838           docs (now someone needs to doc them)
22839
22840 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22841
22842         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
22843         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
22844           don't walk through the plugins backwards.  Where is all this
22845           reversed logic coming from ?
22846
22847 2005-08-25  Wim Taymans  <wim@fluendo.com>
22848
22849         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22850         (gst_base_transform_transform_size),
22851         (gst_base_transform_configure_caps),
22852         (gst_base_transform_get_unit_size),
22853         (gst_base_transform_buffer_alloc),
22854         (gst_base_transform_change_state):
22855         * gst/base/gstbasetransform.h:
22856         Cache caps unit_size.
22857         Make sure we cannot negotiate up and downstream at the
22858         same time.
22859
22860 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22861
22862         * gst/gst.c: (init_pre), (init_post):
22863           register the installed plugin path after the env var
22864         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
22865         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
22866           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
22867           directories, so the tests can prefer uninstalled over installed
22868
22869 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
22870
22871         * gst/base/gstbasetransform.h:
22872           comment
22873         * gst/gstpad.c:
22874           add to docs
22875
22876 2005-08-25  Wim Taymans  <wim@fluendo.com>
22877
22878         * gst/gstbin.c: (bin_bus_handler):
22879         Be a bit more conservative about the posted message.
22880         
22881         * gst/gstbus.c: (gst_bus_post):
22882         Some cleanups, warn wrong return values.
22883
22884 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
22885
22886         * check/gst/gstbin.c: (GST_START_TEST):
22887         * gst/gstbin.c: (bin_bus_handler):
22888         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
22889         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
22890         (gst_message_new_warning), (gst_message_new_tag),
22891         (gst_message_new_state_changed), (gst_message_new_segment_start),
22892         (gst_message_new_segment_done), (gst_message_new_custom):
22893         * gst/gstmessage.h:
22894         * tools/gst-launch.c: (event_loop):
22895         * tools/gst-md5sum.c: (event_loop):
22896           Revert unpopular change for GST_MESSAGE_SRC to GObject.
22897
22898 2005-08-25  Wim Taymans  <wim@fluendo.com>
22899
22900         * check/generic/states.c: (GST_START_TEST):
22901         Cleanup can be done at the end.
22902
22903         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
22904         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22905         (gst_task_get_state), (gst_task_start), (gst_task_pause):
22906         Oh boy.. Thanks for finding this, Thomas. 
22907
22908 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22909
22910         * docs/gst/gstreamer.types:
22911           added missing types
22912
22913 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
22914
22915         * docs/gst/gstreamer-docs.sgml:
22916         * docs/gst/gstreamer-sections.txt:
22917         * docs/gst/tmpl/.cvsignore:
22918         * gst/gstbin.c:
22919         * gst/gstiterator.c:
22920         * gst/gstutils.c:
22921         * gst/registries/gstxmlregistry.h:
22922           added missing classes and symbols (123 more to go)
22923           removed removed symbols from section file
22924           fixed many doc-comments
22925
22926 2005-08-24  Wim Taymans  <wim@fluendo.com>
22927
22928         * check/generic/states.c: (GST_START_TEST):
22929         Make sure all tasks are stopped.
22930
22931         * check/gst/gstbin.c: (GST_START_TEST):
22932         Unref after usage for proper valgrinding.
22933
22934         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
22935         Really wait for the task to stop before destroying the
22936         mutex.
22937
22938         * gst/gstqueue.c: (gst_queue_sink_activate_push),
22939         (gst_queue_src_activate_push):
22940         Small cleanups. Don't stop the task when we did not start
22941         it.
22942
22943         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
22944         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
22945         (gst_task_get_state), (gst_task_start), (gst_task_pause),
22946         (gst_task_join):
22947         * gst/gsttask.h:
22948         Protect the stream lock with the object lock.
22949         Disallow setting the stream lock when running.
22950         Add cleanup_all to wait for the threadpool to finish.
22951         Remove code to autoallocate a mutex if none was provided.
22952         Add _join() to wait for a task to stop.
22953         Protect the thread pool with a global lock.
22954
22955 2005-08-24  Wim Taymans  <wim@fluendo.com>
22956
22957         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22958         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22959         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
22960         * gst/base/gstbasesink.h:
22961         Handle newsegment events correctly.
22962         Drop buffers out of the segment range.
22963
22964 2005-08-22  Andy Wingo  <wingo@pobox.com>
22965
22966         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
22967         macro, implements an interface and gstimplementsinterface for a
22968         new type.
22969
22970 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22971
22972         * check/Makefile.am:
22973         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
22974           add a test that does a bunch of state changes on elements
22975           needs some fixing for valgrind
22976         * check/states/sinks.c: (gst_object_suite):
22977           whitespace
22978         * gst/gstcaps.h:
22979           add prototype for gst_caps_is_equal_fixed
22980         * gst/gstplugin.c:
22981         * gst/gstregistrypool.c:
22982           doc fixes
22983
22984 2005-08-24  Andy Wingo  <wingo@pobox.com>
22985
22986         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
22987         convert a negative value. Doesn't make much sense. Mostly this is
22988         here to force callers to ensure -1 maps to -1.
22989
22990 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
22991
22992         * docs/pwg/advanced-types.xml:
22993           Well done to Michael for catching my deliberate introduction
22994           of this spelling mistake. 
22995         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
22996         * gst/gstelement.h:
22997           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
22998           unlink pads before removing the element from the bin.
22999
23000 2005-08-24  Andy Wingo  <wingo@pobox.com>
23001
23002         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
23003         the same thing as GST_DEBUG=*:4.
23004         (parse_debug_level, parse_debug_category): New helper parsers.
23005
23006 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23007
23008         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23009         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
23010         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
23011         (gst_base_transform_buffer_alloc),
23012         (gst_base_transform_handle_buffer):
23013           use gboolean return values and pointers to size so we can use the
23014           full GST_BUFFER_SIZE range (guint) for buffer sizes
23015           use GstPadDirection for transform_caps
23016         * gst/base/gstbasetransform.h:
23017           rename get_size to get_unit_size since that's what it is
23018         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
23019           use GstPadDirection for transform_caps
23020         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23021         * gst/gstutils.h:
23022           cleanup and debugging
23023
23024 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23025
23026         * gst/gstelement.c: (gst_element_class_init),
23027         (gst_element_set_state), (activate_pads),
23028         (gst_element_save_thyself):
23029         * tools/gst-compprep.c: (main):
23030         * tools/gst-inspect.c: (print_element_properties_info):
23031         * tools/gst-xmlinspect.c: (print_element_properties):
23032           Fixed long standing mem-leak
23033
23034 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23035
23036         * check/gst/gstbin.c: (GST_START_TEST):
23037         * gst/gstbin.c: (bin_bus_handler):
23038         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23039         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23040         (gst_message_new_warning), (gst_message_new_tag),
23041         (gst_message_new_state_changed), (gst_message_new_segment_start),
23042         (gst_message_new_segment_done), (gst_message_new_custom):
23043         * gst/gstmessage.h:
23044         * tools/gst-launch.c: (event_loop):
23045         * tools/gst-md5sum.c: (event_loop):
23046           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
23047           that applications can sensibly post custom messages with references
23048           to their own objects.
23049
23050 2005-08-24  Andy Wingo  <wingo@pobox.com>
23051
23052         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
23053         already.
23054
23055 2005-08-24  Wim Taymans  <wim@fluendo.com>
23056
23057         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23058         (gst_base_transform_transform_caps),
23059         (gst_base_transform_transform_size),
23060         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23061         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
23062         (gst_base_transform_handle_buffer):
23063         * gst/base/gstbasetransform.h:
23064         Many fixes and new features added by Thomas. Can now also do
23065         transforms with variable sizes and a custom fixate_caps function.
23066
23067 2005-08-24  Wim Taymans  <wim@fluendo.com>
23068
23069         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23070         Some debugging.
23071
23072         * gst/gstclock.h:
23073         Cast to ClockTime before formatting to time.
23074
23075         * gst/gstutils.h:
23076         Cleanups.
23077
23078 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
23079
23080         * check/gst-libs/controller.c: (GST_START_TEST),
23081         (gst_controller_suite):
23082         * docs/gst/tmpl/gstcaps.sgml:
23083         * docs/gst/tmpl/gstghostpad.sgml:
23084         * docs/gst/tmpl/gstquery.sgml:
23085         * docs/gst/tmpl/gstutils.sgml:
23086         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
23087         (gst_object_sink_values), (gst_object_get_value_arrays),
23088         (gst_object_get_value_array):
23089           gracefully handle helper method calls to objects that are not beeing
23090           controlled, added test case for that          
23091
23092 2005-08-23  Wim Taymans  <wim@fluendo.com>
23093
23094         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
23095         (gst_event_new_newsegment), (gst_event_parse_newsegment),
23096         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
23097         (gst_event_parse_qos), (gst_event_new_seek),
23098         (gst_event_parse_seek):
23099         * gst/gstevent.h:
23100         Some more debugging output and doc cleanups.
23101
23102         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23103         Fix possible deadlock.
23104
23105 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23106
23107         * docs/gst/gstreamer-docs.sgml:
23108         * docs/gst/gstreamer-sections.txt:
23109         * docs/gst/gstreamer.types:
23110         * docs/gst/tmpl/.cvsignore:
23111         * gst/gstbin.h:
23112         * gst/gstbus.c:
23113         * gst/gstelement.c:
23114         * gst/gstevent.h:
23115           added 100 symbols from gstreamer-unused.txt to the right sections
23116           fixed more broken comments
23117           added GstBus to docs
23118
23119 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23120
23121         * docs/gst/gstreamer-sections.txt:
23122         * docs/gst/tmpl/.cvsignore:
23123         * docs/gst/tmpl/gstbin.sgml:
23124         * docs/gst/tmpl/gstbuffer.sgml:
23125         * gst/base/gstbasesrc.c:
23126         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
23127         * gst/gstbuffer.c:
23128         * gst/gstbuffer.h:
23129         * tools/gst-launch.1.in:
23130           inlined more doc comments, added missing comments and fixed comments
23131           fixed typos
23132
23133 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
23134
23135         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
23136           some debugging
23137         * gst/gstcaps.h:
23138           whitespace fixes
23139         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
23140           more debugging
23141         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
23142         * gst/gststructure.h:
23143           add a fixate function for booleans; add a FIXME that these func
23144           names should probably be gst_structure_fixate_*
23145
23146 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
23147
23148         * docs/gst/gstreamer-docs.sgml:
23149         * docs/gst/gstreamer-sections.txt:
23150         * gst/Makefile.am:
23151         * gst/gstbin.c: (gst_bin_get_type),
23152         (gst_bin_child_proxy_get_child_by_index),
23153         (gst_bin_child_proxy_get_children_count),
23154         (gst_bin_child_proxy_init):
23155         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
23156         (gst_child_proxy_get_child_by_index),
23157         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
23158         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
23159         (gst_child_proxy_get), (gst_child_proxy_set_property),
23160         (gst_child_proxy_set_valist), (gst_child_proxy_set),
23161         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
23162         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
23163         * gst/gstchildproxy.h:
23164         * gst/parse/grammar.y:
23165         * tools/gst-inspect.c: (print_interfaces),
23166         (print_element_properties_info), (print_element_info):
23167           ported gstchildproxy over from 0.8
23168           ported gst-inspect fixes and enhancements over from 0.8
23169
23170 2005-08-22  Wim Taymans  <wim@fluendo.com>
23171
23172         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
23173         (gst_base_transform_handle_buffer):
23174         Also call the transform function if we have ANY caps.
23175
23176         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
23177         Fix debug info.
23178
23179 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23180
23181         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
23182           Don't pretend to handle seek events if the source is not seekable
23183
23184 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
23185
23186         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23187           Remove extra parameter to debug output
23188
23189         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23190         (gst_base_src_do_seek), (gst_base_src_activate_push):
23191           Fix seek event handling.
23192
23193         * gst/gstpipeline.c: (gst_pipeline_change_state):
23194         * gst/gstqueue.c: (gst_queue_handle_sink_event),
23195         (gst_queue_src_activate_push):
23196           Don't start the src pad task on FLUSH_STOP if the pad
23197           isn't linked.
23198           Debug changes.
23199
23200 2005-08-22  Wim Taymans  <wim@fluendo.com>
23201
23202         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
23203         Added check for gst_static_caps_get() refcounting.
23204
23205 2005-08-22  Wim Taymans  <wim@fluendo.com>
23206
23207         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
23208         Make _static_caps_get() refcounting sane.
23209         
23210         * gst/gstelement.c: (gst_element_set_state):
23211         Add g_return_val_if_fail() to protect against segfaults.
23212
23213 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
23214
23215         * docs/gst/tmpl/gstevent.sgml:
23216         * gst/gstevent.c:
23217         * gst/gstevent.h:
23218           inlined remaining docs, added missing doc comments
23219
23220 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
23221
23222         * check/gst/gstbin.c: (GST_START_TEST):
23223           since we don't know when preroll is done, use refcount range
23224           check for the sink
23225         * gst/check/gstcheck.h:
23226           add macro for checking refcount range
23227
23228 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23229
23230         * check/Makefile.am:
23231           clean up environment for when registry gets built versus
23232           when actual tests are run; valgrind seems to not report
23233           leaks if GST_PLUGIN_PATH is set to some specific values
23234         * check/gst/gstbin.c: (GST_START_TEST):
23235           add more refcounting checks; maybe this exposes a
23236           preroll lock bug ?
23237         * common/check.mak:
23238         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23239         * gst/check/gstcheck.h:
23240         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
23241         (gst_bin_change_state):
23242         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
23243           add/fix debugging/whitespace
23244
23245 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23246
23247         * check/gst/gstevent.c: (event_probe), (test_event),
23248         (GST_START_TEST):
23249          Er, don't call gst_bin_watch_for_state_change you idiot.
23250
23251 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
23252
23253         * check/Makefile.am:
23254           Use CHECK_CFLAGS and CHECK_LIBS
23255         * check/gst/gstevent.c: (event_probe), (test_event),
23256         (GST_START_TEST):
23257           Don't leak events.
23258         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
23259         (gst_base_src_start), (gst_base_src_stop),
23260         (gst_base_src_activate_push), (gst_base_src_activate_pull),
23261         (gst_base_src_change_state):
23262           Sprinkle gst_base_src_stop liberally around error paths to fix
23263           problems reusing a source after failed state changes.
23264         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23265         (helper_find_suggest), (gst_type_find_helper):
23266           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
23267         * gst/gstevent.h:
23268         * docs/gst/tmpl/gstevent.sgml:
23269           Migrate part of the docs from the SGML file. Wait for ensonic to
23270           tell me how I did it wrong ;)
23271         * tools/gst-typefind.c: (main):
23272           Extra robustness to state changes between files.
23273
23274 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
23275
23276         * check/Makefile.am:
23277           don't valgrind the controller test - it's leaking - Stefan, HELP
23278         * gst/check/gstcheck.c: (gst_check_message_error),
23279         (gst_check_chain_func), (gst_check_setup_element),
23280         (gst_check_teardown_element), (gst_check_setup_src_pad),
23281         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
23282         (gst_check_teardown_sink_pad):
23283         * gst/check/gstcheck.h:
23284           add a bunch of methods to set up elements, and src and sink pads
23285         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
23286         * check/elements/identity.c: (setup_identity), (cleanup_identity),
23287         (GST_START_TEST):
23288           use them
23289         * gst/gstmessage.c:
23290         * gst/gsttag.h:
23291           whitespace/doc fixes
23292
23293 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23294
23295         * gst/gstelement.h:
23296           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
23297           be handled by the application and not always printed as well
23298
23299 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23300
23301         * check/Makefile.am:
23302           set GST_TOOLS_DIR
23303         * gst/check/gstcheck.c: (gst_check_message_error):
23304         * gst/check/gstcheck.h:
23305           add a fail_unless_equals_int
23306           add fail_unless for error messages
23307
23308 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23309
23310         * check/Makefile.am:
23311         * check/gst.supp:
23312         * common/Makefile.am:
23313         * common/check.mak:
23314         * common/gst.supp:
23315           factor out some of the common stuff so we can use it
23316
23317 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23318
23319         * check/Makefile.am:
23320         * check/gst/gstiterator.c: (GST_START_TEST):
23321         * check/gst/gstsystemclock.c: (GST_START_TEST),
23322         (gst_systemclock_suite):
23323         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23324         * gst/gstclock.c:
23325           valgrind more tests
23326
23327 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
23328
23329         * check/elements/.cvsignore:
23330         * check/elements/gstfakesrc.c:
23331           rename to name of element
23332         * check/elements/identity.c: (chain_func), (event_func),
23333         (setup_identity), (cleanup_identity), (GST_START_TEST),
23334         (identity_suite), (main):
23335           add a test for identity
23336         * check/Makefile.am:
23337         * pkgconfig/Makefile.am:
23338         * pkgconfig/gstreamer-check.pc.in:
23339         * pkgconfig/gstreamer-check-uninstalled.pc.in:
23340         * gst/check:
23341         * gst/Makefile.am:
23342         * configure.ac:
23343           move the check stuff to a library that gets installed
23344         * check/gst-libs/controller.c: (GST_START_TEST):
23345         * check/gst-libs/gdp.c:
23346         * check/gst/gst.c: (GST_START_TEST):
23347         * check/gst/gstbin.c:
23348         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23349         * check/gst/gstbus.c:
23350         * check/gst/gstcaps.c: (GST_START_TEST):
23351         * check/gst/gstelement.c:
23352         * check/gst/gstghostpad.c:
23353         * check/gst/gstiterator.c:
23354         * check/gst/gstmessage.c:
23355         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
23356         * check/gst/gstobject.c:
23357         * check/gst/gstpad.c: (GST_START_TEST):
23358         * check/gst/gststructure.c: (GST_START_TEST):
23359         * check/gst/gstsystemclock.c: (GST_START_TEST),
23360         (gst_systemclock_suite):
23361         * check/gst/gsttag.c: (gst_tag_suite):
23362         * check/gst/gstvalue.c:
23363         * check/pipelines/cleanup.c:
23364         * check/pipelines/simple_launch_lines.c:
23365         * check/states/sinks.c:
23366           change include statement
23367
23368         * docs/gst/gstreamer-sections.txt:
23369         * docs/gst/tmpl/gstpad.sgml:
23370           document more pad stuff
23371         * gst/gstminiobject.c: (gst_mini_object_ref),
23372         (gst_mini_object_unref):
23373           debug refcounting
23374
23375 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
23376
23377         * docs/gst/tmpl/gst.sgml:
23378         * gst/gst.c:
23379           eliminate another tmpl file, fix spelling in the long-description
23380
23381 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23382
23383         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23384         (test_event), (timediff), (gstevents_suite):
23385           Should fix build on 64-bit arch's
23386
23387 2005-08-18  Andy Wingo  <wingo@pobox.com>
23388
23389         Make sure that when a pipeline goes to PLAYING, that data has
23390         actually hit the sink.
23391
23392         * check/states/sinks.c (test_sink): A sink that doesn't get any
23393         data shouldn't return SUCCESS for going to either PLAYING or
23394         PAUSED. Test also the return values on the way back down.
23395
23396         * gst/gstelement.c (gst_element_set_state): When changing the
23397         state of an element currently changing state asynchronously, go to
23398         lost-state after commiting the pending state. Makes future calls
23399         to get_state continue to return ASYNC.
23400
23401         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
23402         ASYNC when going to PLAYING if we still don't have preroll, as can
23403         happen with live sources.
23404
23405 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23406
23407         * docs/pwg/advanced-types.xml:
23408           Hack long paragraph into 2 chunks as a workaround for buggy
23409           jadetex version in sid and breezy that loops infinitely and
23410           eats all RAM.
23411
23412 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23413
23414         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23415         (test_event), (timediff), (gstevents_suite):
23416           Provide more error margin in clock measurements to allow for 
23417           g_get_current_time inaccuracies.
23418
23419 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23420
23421         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23422         (test_event), (timediff), (gstevents_suite):
23423            Fix error message output so I might be able to tell why the
23424            test works here but fails on the build farm.
23425
23426 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
23427
23428         * check/Makefile.am:
23429         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
23430         (test_event), (timediff), (gstevents_suite), (main):
23431           I wrote a test!
23432
23433         * docs/design/part-seeking.txt:
23434           Spelling correction
23435
23436         * docs/gst/tmpl/gstevent.sgml:
23437         * docs/gst/tmpl/gstfakesrc.sgml:
23438           Docs updates.
23439
23440         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23441           Treat a buffer-without-newsegment the same as a receiving 
23442           a newsegment not in time format, and disable syncing to the clock
23443           with a warning.
23444
23445         * gst/gstbus.c: (gst_bus_set_sync_handler):
23446           Assert if anyone tries to replace the existing sync_handler for bus, 
23447           as only the owner should be setting it.
23448
23449         * gst/gstevent.h:
23450           Have a fixed set of custom event enums with events identified by
23451           their structure name (as in 0.8), rather than a free-for-all
23452           allowing collisions between enum values from different plugins.
23453
23454         * gst/gstpad.c: (gst_pad_class_init):
23455           Docs change.
23456           
23457         * gst/gstqueue.c: (gst_queue_handle_sink_event):
23458           Handle out-of-band downstream events from the sending thread.
23459
23460 2005-08-17  Andy Wingo  <wingo@pobox.com>
23461
23462         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
23463         play-timeout==0 to mean no timeout at all. In that case, don't
23464         bother with a get_state or a warning, just return directly, even
23465         if it's ASYNC.
23466
23467         * gst/base/gstbasetransform.c: Debug changes.
23468
23469         * gst/gstutils.h:
23470         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
23471         ensure bins post state change messages. A bit of a hack but I can't
23472         think of a way to avoid it.
23473
23474         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
23475
23476 2005-08-16  Andy Wingo  <wingo@pobox.com>
23477
23478         * gst/base/gstadapter.h:
23479         * gst/base/gstadapter.c (gst_adapter_take): New function, like
23480         peek() but you own the data. Not terribly efficient atm.
23481
23482 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23483
23484         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
23485         (gst_element_found_tags):
23486         * gst/gstutils.h:
23487           Add two utility functions for tag handling.
23488
23489 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23490
23491         * docs/manual/advanced-dataaccess.xml:
23492         * docs/manual/basics-helloworld.xml:
23493           Fix docs to use _bin_add() before _link(), which fixes the examples
23494           with recent core versions (reported by Madhan Raj M
23495           <raj_madan@rediffmail.com>, #313199).
23496
23497 2005-08-16  Wim Taymans  <wim@fluendo.com>
23498
23499         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23500         Added subtract checks.
23501
23502         * docs/design/part-events.txt:
23503         Some more docs about newsegment
23504
23505         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23506         Fix FIXME
23507
23508         * gst/gstcaps.c: (gst_caps_to_string):
23509         Add comments, cleanups.
23510         
23511         * gst/gstelement.c: (gst_element_save_thyself):
23512         cleanups
23513         
23514         * gst/gstvalue.c: (gst_value_collect_int_range),
23515         (gst_string_unwrap), (gst_value_union_int_int_range),
23516         (gst_value_union_int_range_int_range),
23517         (gst_value_intersect_int_int_range),
23518         (gst_value_intersect_int_range_int_range),
23519         (gst_value_intersect_double_double_range),
23520         (gst_value_intersect_double_range_double_range),
23521         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
23522         (gst_value_subtract_int_range_int),
23523         (gst_value_subtract_double_range_double),
23524         (gst_value_subtract_double_range_double_range),
23525         (gst_value_subtract_from_list), (gst_value_subtract_list),
23526         (gst_value_can_compare), (gst_value_compare_fraction):
23527         Cleanups, add comments, remove unneeded asserts.
23528
23529 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23530
23531         * tools/gst-launch.c: (event_loop):
23532           don't convert NULL structures to strings
23533
23534 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
23535
23536         * docs/gst/gstreamer-sections.txt:
23537           made some defines private
23538         * docs/gst/tmpl/gstconfig.sgml:
23539         * docs/gst/tmpl/gstqueue.sgml:
23540         * docs/gst/tmpl/gsttaglist.sgml:
23541         * docs/gst/tmpl/gsttypes.sgml:
23542         * docs/gst/tmpl/gstutils.sgml:
23543         * docs/pwg/appendix-porting.xml:
23544         * gst/base/gstbasesink.h:
23545         * gst/base/gstbasesrc.c:
23546         * gst/base/gstbasesrc.h:
23547         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
23548         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
23549         * gst/gstelement.c: (gst_element_class_init):
23550         * gst/gstpad.c: (gst_pad_class_init):
23551         * gst/gstqueue.c: (gst_queue_class_init):
23552         * gst/gstxml.c: (gst_xml_class_init):
23553           documented all undocumented signal inline
23554         * libs/gst/controller/gst-controller.h:
23555           added padding
23556
23557 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23558
23559         * docs/pwg/appendix-porting.xml:
23560           Document _set_link_function -> _set_setcaps_function.
23561
23562 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
23563
23564         * check/Makefile.am:
23565           add a .check target for running the check
23566         * check/gst-libs/controller.c: (GST_START_TEST):
23567           cosmetic fixups
23568         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23569           complete checks for gstbuffer; would be nice if I could get the
23570           gcov stuff to work so I can see if I actually completed gstbuffer.c
23571         * check/gstcheck.h:
23572           add ASSERT_BUFFER_REFCOUNT
23573
23574 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
23575
23576         * docs/gst/gstreamer-sections.txt:
23577         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
23578         * gst/gsttag.h:
23579           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
23580           spew out a warning if a tag that is already registered
23581           is re-registered, unless it is re-registered with a 
23582           different type (#308438).
23583
23584 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
23585
23586         * docs/pwg/appendix-porting.xml:
23587         * docs/pwg/building-state.xml:
23588           Add some paragraphs about state changes in 0.9 to the PWG
23589           and the porting guide, in particular about the new meaning
23590           of GST_STATE_PAUSED and how to write state change functions
23591           with concurrent access by multiple threads in mind.
23592
23593 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
23594
23595         * docs/gst/gstreamer-docs.sgml:
23596         * docs/libs/gstreamer-libs-docs.sgml:
23597           added deprecation and since indexes
23598         * libs/gst/controller/gst-controller.c:
23599         * libs/gst/controller/gst-helper.c:
23600           added since tags
23601
23602
23603 2005-08-11  Wim Taymans  <wim@fluendo.com>
23604
23605         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
23606         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
23607         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
23608         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
23609         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
23610         (gst_ghost_pad_set_target):
23611         Actually implement (re)setting the target on a ghostpad
23612         as described in the docs.
23613
23614 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23615
23616         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
23617           Check whether GST_DEBUG_NO_COLOR environment variable is
23618           set and disable coloured debug output if that is the case.
23619
23620 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
23621
23622         * gst/base/gsttypefindhelper.c: (helper_find_peek),
23623         (gst_type_find_helper):
23624           The memory returned by gst_type_find_peek() needs to
23625           stay valid until the end of a typefind function, and
23626           typefind functions may keep results from different 
23627           offsets around, so we can't just unref the buffer from
23628           the previous _peek(), but have to save all buffers 
23629           returned by _peek() until typefinding is done and only
23630           free them then.
23631
23632 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
23633
23634         * docs/gst/gstreamer-sections.txt:
23635         * gst/gstutils.h:
23636           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
23637
23638 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23639
23640         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
23641           Fix a pretty good memleak.
23642
23643 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23644
23645         * gst/gstiterator.h:
23646           Fix wrong include and 'make distcheck'.
23647
23648 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23649
23650         * gst/gstbin.c: (bin_bus_handler):
23651           Use gst_element_post_message() instead.
23652
23653 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
23654
23655         * gst/base/gstadapter.h:
23656         * gst/base/gstbasesink.h:
23657         * gst/base/gstbasesrc.h:
23658         * gst/base/gstbasetransform.h:
23659         * gst/base/gstcollectpads.h:
23660         * gst/base/gstpushsrc.h:
23661         * gst/gstiterator.h:
23662           Add padding to our base elements' class and instance structs and
23663           to GstIterator (you will need to rebuild all plugins and apps!)
23664
23665 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23666
23667         * gst/gstbin.c: (bin_bus_handler):
23668           Make default message forwarding from child->bus to bin->bus
23669           threadsafe and make it not emit warnings if the parent has no bus.
23670
23671 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23672
23673         * gst/gstelement.c: (activate_pads):
23674           On paused->ready, set pad->caps to NULL, as is the documented
23675           behaviour in this state change. Fixes playback of series of
23676           media files when visualization is enabled in Totem.
23677
23678 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23679
23680         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
23681           Allow NULL as filter-caps (which means "any").
23682
23683 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23684
23685         * docs/libs/gstreamer-libs-sections.txt:
23686         * libs/gst/controller/gst-controller.c:
23687         * libs/gst/controller/gst-controller.h:
23688         * libs/gst/controller/gst-helper.c:
23689           adding more entries to the docs and fix small doc-bugs
23690
23691 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23692
23693         * docs/gst/gstreamer-docs.sgml:
23694         * docs/gst/gstreamer-sections.txt:
23695         * docs/gst/gstreamer.types:
23696         * docs/gst/tmpl/gstbasesink.sgml:
23697         * docs/gst/tmpl/gstbasesrc.sgml:
23698         * docs/gst/tmpl/gstbasetransform.sgml:
23699         * docs/gst/tmpl/gstfakesrc.sgml:
23700         * gst/base/gstcollectpads.c:
23701         * gst/base/gstcollectpads.h:
23702         * libs/gst/controller/gst-controller.c:
23703         * libs/gst/controller/gst-controller.h:
23704         * libs/gst/controller/gst-helper.c:
23705         * libs/gst/controller/gst-interpolation.c:
23706         * libs/gst/controller/lib.c:
23707           added long/short desc for controller docs
23708           added collectpads base class docs
23709           added correct includes to base-class docs
23710
23711 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
23712
23713         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23714         (gst_test_mono_source_set_property),
23715         (gst_test_mono_source_class_init), (GST_START_TEST),
23716         (gst_controller_suite):
23717         * docs/gst/gstreamer-docs.sgml:
23718         * docs/gst/gstreamer-sections.txt:
23719         * docs/gst/gstreamer.types:
23720         * docs/libs/gstreamer-libs-docs.sgml:
23721         * docs/libs/gstreamer-libs-sections.txt:
23722         * gst/base/gstadapter.c:
23723         * libs/gst/controller/gst-controller.c:
23724         (gst_controlled_property_new), (gst_controlled_property_free),
23725         (gst_controller_new_valist),
23726         (gst_controller_remove_properties_valist),
23727         (gst_controller_sink_values), (_gst_controller_finalize):
23728         * libs/gst/controller/gst-controller.h:
23729         * libs/gst/controller/gst-helper.c:
23730         (gst_object_control_properties), (gst_object_uncontrol_properties),
23731         (gst_object_get_controller), (gst_object_set_controller),
23732         (gst_object_sink_values), (gst_object_get_value_arrays),
23733         (gst_object_get_value_array):
23734           more tests (and fixes) for the controller
23735           more docs for the controller
23736           integrated companies docs for the adapter 
23737
23738 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
23739
23740         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
23741         (GST_START_TEST), (fakesrc_suite):
23742           add tests for sizetype
23743
23744 2005-08-04  Andy Wingo  <wingo@pobox.com>
23745
23746         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
23747         fixes buffer_alloc proxying among other things.
23748
23749         * gst/base/gstbasetransform.c:
23750         * gst/base/gstbasetransform.h:
23751         Revert patch to gstbasetransform from 7-28 removing
23752         delay_configure.
23753
23754         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
23755         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
23756         Semantics changed, should return not the size of the output buffer
23757         but the byte size of a buffer with a given caps.
23758
23759         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
23760         debug object.
23761         (gst_base_transform_configure_caps): Don't set out_size here: (in,
23762         out) are not the pad caps until setcaps finishes.
23763         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
23764         not-in-place case as well. Deal with changing from in-place to
23765         not-in-place within calling pad_alloc_buffer. Still a bit
23766         concerned about the overhead here...
23767
23768 2005-08-03  Andy Wingo  <wingo@pobox.com>
23769
23770         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
23771         fixating is an error.
23772
23773 2005-08-04  Edward Hervey  <edward@fluendo.com>
23774
23775         * gst/base/gstadapter.h: 
23776         Added gst_adapter_get_type() to the header
23777
23778 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23779
23780         * check/Makefile.am:
23781         * check/gst-libs/controller.c:
23782         * libs/gst/controller/gst-controller.c:
23783         (gst_controller_new_valist):
23784           added check test suite for the controller
23785         * gst/base/gstpushsrc.c:
23786           fixed a doc typo
23787
23788 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23789
23790         * docs/gst/Makefile.am:
23791         * docs/gst/gstreamer-docs.sgml:
23792         * docs/gst/gstreamer-sections.txt:
23793         * docs/gst/gstreamer.types:
23794         * docs/gst/tmpl/gstfakesrc.sgml:
23795         * gst/base/README:
23796         * gst/base/gstbasesink.c:
23797         * gst/base/gstbasesink.h:
23798         * gst/base/gstbasesrc.c:
23799         * gst/base/gstbasesrc.h:
23800         * gst/base/gstbasetransform.c:
23801         * gst/base/gstpushsrc.c:
23802         * gst/base/gstpushsrc.h:
23803           add short/long description docs to base classes
23804           add pushsrc to the docs
23805           remove consolidated doc fragments
23806
23807 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
23808
23809         * configure.ac:
23810         * docs/libs/Makefile.am:
23811         * docs/libs/gstreamer-libs-docs.sgml:
23812         * docs/libs/gstreamer-libs-sections.txt:
23813         * docs/libs/gstreamer-libs.types:
23814         * examples/Makefile.am:
23815         * examples/controller/.cvsignore:
23816         * examples/controller/Makefile.am:
23817         * examples/controller/audio-example.c: (main):
23818         * libs/gst/Makefile.am:
23819         * libs/gst/controller/.cvsignore:
23820         * libs/gst/controller/Makefile.am:
23821         * libs/gst/controller/gst-controller.c:
23822         (on_object_controlled_property_changed), (gst_timed_value_compare),
23823         (gst_timed_value_find),
23824         (gst_controlled_property_set_interpolation_mode),
23825         (gst_controlled_property_new), (gst_controlled_property_free),
23826         (gst_controller_find_controlled_property),
23827         (gst_controller_new_valist), (gst_controller_new),
23828         (gst_controller_remove_properties_valist),
23829         (gst_controller_remove_properties), (gst_controller_set),
23830         (gst_controller_set_from_list), (gst_controller_unset),
23831         (gst_controller_get), (gst_controller_get_all),
23832         (gst_controller_sink_values), (gst_controller_get_value_arrays),
23833         (gst_controller_get_value_array),
23834         (gst_controller_set_interpolation_mode),
23835         (_gst_controller_finalize), (_gst_controller_init),
23836         (_gst_controller_class_init), (gst_controller_get_type):
23837         * libs/gst/controller/gst-controller.h:
23838         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
23839         (g_object_uncontrol_properties), (g_object_get_controller),
23840         (g_object_set_controller), (g_object_sink_values),
23841         (g_object_get_value_arrays), (g_object_get_value_array):
23842         * libs/gst/controller/gst-interpolation.c:
23843         (gst_controlled_property_find_timed_value_node),
23844         (interpolate_none_get), (interpolate_trigger_get),
23845         (interpolate_trigger_get_value_array):
23846         * libs/gst/controller/lib.c: (gst_controller_init):
23847         * pkgconfig/Makefile.am:
23848         * pkgconfig/gstreamer-control-uninstalled.pc.in:
23849         * pkgconfig/gstreamer-control.pc.in:
23850         * testsuite/Makefile.am:
23851         * testsuite/controller/.cvsignore:
23852         * testsuite/controller/Makefile.am:
23853         * testsuite/controller/interpolator.c: (main):
23854           added controller code
23855           removed dparam pc files
23856
23857 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23858         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
23859         (gst_collectpads_stop):
23860           Broadcast the condition when shutting down, to make sure we wake all
23861           threads up. Shut down pads on finalize, for safety.
23862
23863 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
23864         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23865         (gst_base_transform_handle_buffer),
23866         (gst_base_transform_change_state):
23867           Handle PAUSED->READY->PAUSED transition after negotiation
23868           occurred already.
23869         * gst/gstmessage.c: (gst_message_init):
23870           Extra piece of debug for new messages.
23871
23872 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
23873
23874         * configure.ac:
23875         * docs/gst/tmpl/gstbasesrc.sgml:
23876         * docs/gst/tmpl/gstelement.sgml:
23877         * docs/gst/tmpl/gstevent.sgml:
23878         * docs/gst/tmpl/gstfakesrc.sgml:
23879         * docs/gst/tmpl/gstformat.sgml:
23880         * docs/gst/tmpl/gstghostpad.sgml:
23881         * docs/gst/tmpl/gstpad.sgml:
23882         * docs/gst/tmpl/gstquery.sgml:
23883         * docs/gst/tmpl/gststructure.sgml:
23884         * docs/gst/tmpl/gsttaglist.sgml:
23885         * docs/gst/tmpl/gstvalue.sgml:
23886         * docs/libs/gstreamer-libs-docs.sgml:
23887         * docs/libs/gstreamer-libs-sections.txt:
23888         * docs/libs/gstreamer-libs.types:
23889         * libs/gst/Makefile.am:
23890         * libs/gst/control/.cvsignore:
23891         * libs/gst/control/Makefile.am:
23892         * libs/gst/control/control.c:
23893         * libs/gst/control/control.h:
23894         * libs/gst/control/dparam.c:
23895         * libs/gst/control/dparam.h:
23896         * libs/gst/control/dparam_smooth.c:
23897         * libs/gst/control/dparam_smooth.h:
23898         * libs/gst/control/dparamcommon.h:
23899         * libs/gst/control/dparammanager.c:
23900         * libs/gst/control/dparammanager.h:
23901         * libs/gst/control/dplinearinterp.c:
23902         * libs/gst/control/dplinearinterp.h:
23903         * libs/gst/control/unitconvert.c:
23904         * libs/gst/control/unitconvert.h:
23905         * testsuite/Makefile.am:
23906         * testsuite/dynparams/.cvsignore:
23907         * testsuite/dynparams/Makefile.am:
23908         * testsuite/dynparams/dparamstest.c:
23909         * tools/Makefile.am:
23910         * tools/gst-inspect.c: (print_element_info), (main):
23911         * tools/gst-xmlinspect.c: (print_element_info), (main):
23912           deactivate and remove dparams (libgstcontrol)
23913
23914 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23915
23916         * gst/elements/gsttypefindelement.c:
23917         (gst_type_find_element_have_type), (gst_type_find_element_init),
23918         (stop_typefinding), (gst_type_find_element_handle_event),
23919         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23920         * gst/elements/gsttypefindelement.h:
23921           Set caps on all outgoing buffers, not just the first one.
23922
23923 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23924
23925         * gst/elements/gsttypefindelement.c:
23926         (gst_type_find_element_have_type),
23927         (gst_type_find_element_check_set_buffer_caps),
23928         (gst_type_find_element_init), (stop_typefinding),
23929         (gst_type_find_element_handle_event),
23930         (gst_type_find_element_chain), (gst_type_find_element_getrange):
23931         * gst/elements/gsttypefindelement.h:
23932           Set caps on first outgoing buffer when we've found the type.
23933
23934 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
23935
23936         * docs/gst/gstreamer-docs.sgml:
23937         * docs/gst/gstreamer-sections.txt:
23938         * docs/gst/tmpl/gstscheduler.sgml:
23939         * docs/gst/tmpl/gstschedulerfactory.sgml:
23940           Remove some old cruft from docs.
23941
23942 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
23943
23944         * gst/gstpad.h:
23945           Fix inline docs for GstPadLinkReturn.
23946           
23947         * gst/gststructure.c: (gst_structure_has_name):
23948         * gst/gststructure.h:
23949         * docs/gst/gstreamer-sections.txt:
23950           New API: gst_structure_has_name().
23951
23952 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
23953
23954         * configure.ac:
23955           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
23956           and _LARGEFILE_SOURCE in config.h as required. Do not 
23957           export those flags in our .pc files any longer (#142209).
23958
23959           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
23960
23961         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
23962         (gst_file_sink_do_seek), (gst_file_sink_event),
23963         (gst_file_sink_get_current_offset), (gst_file_sink_render):
23964           Redo seek/tell calls with large file support in mind; add some
23965           debugging messages; add log message that tells us when large
23966           file support is unavailable or not enabled for some reason.
23967
23968         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
23969           Add log message that tells us when large file support 
23970           is unavailable or not enabled for some reason.
23971
23972 2005-07-29  Wim Taymans  <wim@fluendo.com>
23973
23974         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
23975         Added test for removing an element with ghostpad from a bin.
23976         Fixed test as current implementation does the right thing.
23977
23978         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
23979         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
23980         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
23981         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
23982         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
23983         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
23984         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
23985         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23986         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
23987         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
23988         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
23989         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
23990         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
23991         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
23992         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
23993         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
23994         * gst/gstghostpad.h:
23995         Clean up ghostpads, remove properties for internal stuff.
23996         Make threadsafe.
23997         Fix refcounting.
23998         Prepare for switching targets, not all use cases work yet.
23999
24000 2005-07-29  Wim Taymans  <wim@fluendo.com>
24001
24002         * docs/design/part-gstghostpad.txt:
24003         Small update.
24004
24005         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24006         (gst_bin_remove_func):
24007         Unlinking pads while holding the bin LOCK is not a good
24008         idea.
24009
24010         * gst/gstpad.c: (gst_pad_class_init),
24011         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
24012         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
24013         No prob setting template after creating the pad.
24014
24015 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
24016
24017         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
24018         (gst_bus_peek), (gst_bus_source_dispatch),
24019         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
24020         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
24021           gst_bus_poll may be called from other threads. Handle
24022           this nicely by not making poll_data disappear off the
24023           stack once gst_bus_poll returns.
24024           gst_bus_peek now increments the refcount on the returned
24025           message.
24026
24027 2005-07-29  Wim Taymans  <wim@fluendo.com>
24028
24029         * docs/design/part-gstghostpad.txt:
24030         Overview of current GhostPad datastructures and use
24031         cases for changing the target.
24032
24033 2005-07-28  Wim Taymans  <wim@fluendo.com>
24034
24035         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
24036         Added checks for hierarchy consistency whan adding linked
24037         elements to bins.
24038
24039         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24040         Added check to test element scheduling without bin/pipeline.
24041
24042         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
24043         First add elements to bin, then link.
24044         
24045         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
24046         (gst_bin_remove_func):
24047         Unlink pads from elements added/removed from bin to maintain
24048         hierarchy consistency.
24049
24050 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24051
24052         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
24053         (gst_base_transform_handle_buffer):
24054         * gst/base/gstbasetransform.h:
24055           Remove broken delay_configure (fixes renegotiation of software
24056           scaling pipelines); remove some leftover printf()s.
24057
24058 2005-07-28  Wim Taymans  <wim@fluendo.com>
24059
24060         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24061         Added some more tests for wrong hierarchy
24062
24063         * docs/design/part-overview.txt:
24064         Some updates.
24065
24066         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
24067         Cleanups.
24068
24069         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
24070         (gst_element_dispose):
24071         Some more cleanups.
24072
24073         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24074         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
24075         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24076         (gst_pad_set_caps), (gst_pad_send_event):
24077         Check for correct hierarchy when linking pads. Moving to
24078         strict requirement for ghostpads when linking elements in
24079         different bins.
24080
24081         * gst/gstpad.h:
24082         Clean ups. Added WRONG_HIERARCHY return value.
24083
24084 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24085
24086         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24087           Better debug if no transform is possible.
24088
24089 2005-07-27  Wim Taymans  <wim@fluendo.com>
24090
24091         * docs/random/wtay/network-transp:
24092         Some old doc I had.
24093
24094 2005-07-27  Wim Taymans  <wim@fluendo.com>
24095
24096         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24097         (gst_dp_event_from_packet):
24098         Fix serialization of seek events.
24099
24100 2005-07-27  Wim Taymans  <wim@fluendo.com>
24101
24102         * check/gst-libs/gdp.c: (GST_START_TEST):
24103         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24104         Fix compilation and fix event serialization.
24105
24106 2005-07-27  Wim Taymans  <wim@fluendo.com>
24107
24108         * CHANGES-0.9:
24109         * docs/design/part-TODO.txt:
24110         * docs/design/part-events.txt:
24111         Some docs updates
24112
24113         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24114         (gst_base_sink_event), (gst_base_sink_do_sync),
24115         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24116         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24117         (gst_base_src_do_seek), (gst_base_src_event_handler),
24118         (gst_base_src_loop):
24119         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24120         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24121         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24122         (gst_base_transform_event), (gst_base_transform_handle_buffer),
24123         (gst_base_transform_set_passthrough),
24124         (gst_base_transform_is_passthrough):
24125         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
24126         * gst/elements/gstfilesink.c: (gst_file_sink_event):
24127         Event updates.
24128
24129         * gst/gstbuffer.h:
24130         Use faster casts.
24131
24132         * gst/gstelement.c: (gst_element_seek):
24133         * gst/gstelement.h:
24134         Update gst_element_seek.
24135
24136         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
24137         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
24138         (gst_event_new_flush_start), (gst_event_new_flush_stop),
24139         (gst_event_new_eos), (gst_event_new_newsegment),
24140         (gst_event_parse_newsegment), (gst_event_new_tag),
24141         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
24142         (gst_event_parse_qos), (gst_event_new_seek),
24143         (gst_event_parse_seek), (gst_event_new_navigation):
24144         * gst/gstevent.h:
24145         Make GstEvent use GstStructure. Add parsing code, make sure the
24146         API is sufficiently generic.
24147         Mark possible directions of events and serialization.
24148
24149         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
24150         (_gst_message_copy), (gst_message_new_segment_start),
24151         (gst_message_new_segment_done), (gst_message_new_custom),
24152         (gst_message_parse_segment_start),
24153         (gst_message_parse_segment_done):
24154         Small cleanups.
24155
24156         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24157         (gst_pad_set_caps), (gst_pad_send_event):
24158         Update for new events. 
24159         Catch events sent in wrong directions.
24160
24161         * gst/gstqueue.c: (gst_queue_link_src),
24162         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24163         (gst_queue_handle_src_query):
24164         Event updates.
24165
24166         * gst/gsttag.c:
24167         * gst/gsttag.h:
24168         Remove event code from this file.
24169
24170         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
24171         (gst_dp_event_from_packet):
24172         Event updates.
24173
24174 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24175
24176         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
24177         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24178         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
24179           Make debugging actually useful.
24180
24181 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24182
24183         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
24184         (gst_pad_fixate_caps):
24185           Implement default fixation once again, so that gst_pad_fixate()
24186           actually does anything at all. This probably needs to be some
24187           sort of a last resort, and use profile-based fixation first, but
24188           since that doesn't exist yet, this is the best we have. Fixes
24189           visualization in Totem.
24190
24191 2005-07-22  Wim Taymans  <wim@fluendo.com>
24192
24193         * docs/design/part-events.txt:
24194         Small update.
24195
24196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24197         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
24198         (gst_base_sink_activate_pull):
24199         Some more comments.
24200
24201         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
24202         (gst_fake_src_create):
24203         Fix handoff marshall.
24204
24205         * gst/elements/gstidentity.c: (gst_identity_class_init),
24206         (gst_identity_transform_ip):
24207         We're a real inplace element.
24208
24209         * gst/gstbus.c: (gst_bus_post):
24210         Added some comments.
24211
24212         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
24213         * tests/muxing/case1.c: (main):
24214         * tests/sched/dynamic-pipeline.c: (main):
24215         * tests/sched/interrupt1.c: (main):
24216         * tests/sched/interrupt2.c: (main):
24217         * tests/sched/interrupt3.c: (main):
24218         * tests/sched/runxml.c: (main):
24219         * tests/sched/sched-stress.c: (main):
24220         * tests/seeking/seeking1.c: (event_received), (main):
24221         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
24222         (main):
24223         * tests/threadstate/threadstate3.c: (main):
24224         * tests/threadstate/threadstate4.c: (main):
24225         * tests/threadstate/threadstate5.c: (main):
24226         Fix the tests.
24227
24228 2005-07-21  Wim Taymans  <wim@fluendo.com>
24229
24230         * docs/design/part-seeking.txt:
24231         Some small additions.
24232
24233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24234         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24235         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
24236         * gst/base/gstbasesink.h:
24237         discont values are gint64, handle the math correctly.
24238
24239         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24240         Make the basesrc report error if the source pad is not linked.
24241
24242         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
24243         (gst_queue_loop), (gst_queue_handle_src_query),
24244         (gst_queue_src_activate_push):
24245         Make queue collect data even if the srcpad is not linked.
24246         Start pushing out data as soon as it is linked.
24247
24248         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
24249         * gst/gstutils.h:
24250         Added gst_flow_get_name() to ease error reporting.
24251
24252 2005-07-20  Wim Taymans  <wim@fluendo.com>
24253
24254         * gst/gstmessage.c: (gst_message_new_segment_start),
24255         (gst_message_new_segment_done), (gst_message_parse_segment_start),
24256         (gst_message_parse_segment_done):
24257         * gst/gstmessage.h:
24258         Added a bunch of messages for advanced seeking.
24259
24260         * gst/parse/grammar.y:
24261         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
24262         (gst_dpman_state_changed):
24263         Fix some new-pad -> pad-added signals
24264
24265 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24266
24267         * docs/manual/appendix-porting.xml:
24268         * docs/pwg/appendix-porting.xml:
24269           Document new-pad/state-change signal renames and the FixedList
24270           type rename.
24271
24272 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24273
24274         * docs/manual/advanced-autoplugging.xml:
24275         * docs/manual/basics-helloworld.xml:
24276         * docs/manual/basics-pads.xml:
24277         * docs/random/ds/0.9-suggested-changes:
24278         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
24279         * gst/gstelement.h:
24280         * gst/gstevent.h:
24281         * gst/gstformat.h:
24282         * gst/gstquery.h:
24283         * gst/gststructure.c: (gst_structure_value_get_generic_type),
24284         (gst_structure_parse_array), (gst_structure_parse_value):
24285         * gst/gstvalue.c: (gst_type_is_fixed),
24286         (gst_value_list_prepend_value), (gst_value_list_append_value),
24287         (gst_value_list_get_size), (gst_value_list_get_value),
24288         (gst_value_transform_array_string), (gst_value_serialize_array),
24289         (gst_value_deserialize_array), (gst_value_intersect_array),
24290         (gst_value_is_fixed), (_gst_value_initialize):
24291         * gst/gstvalue.h:
24292           GstElement::new-pad -> pad-added, GstElement::state-change ->
24293           state-changed, GstValueFixedList -> GstValueArray, add format and
24294           flags as their own arguments in gst_element_seek() (should improve
24295           "bindeability"), remove function generators since they don't work
24296           under a whole bunch of compilers (they were deprecated already
24297           anyway).
24298
24299 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24300
24301         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
24302         (_gst_debug_register_funcptr):
24303         * gst/gstinfo.h:
24304           Fix illegal cast on some platforms (#309253).
24305
24306 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24307
24308         * gst/gstmessage.c: (gst_message_new_custom):
24309         * gst/gstmessage.h:
24310           Add _new_custom, make _new_application a macro to _new_custom.
24311
24312 2005-07-20  Wim Taymans  <wim@fluendo.com>
24313
24314         * gst/base/gstbasesrc.c: (gst_base_src_init),
24315         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
24316         * gst/base/gstbasesrc.h:
24317         Add a gboolean to decide when to push out a discont.
24318
24319         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24320         (gst_queue_loop), (gst_queue_handle_src_query),
24321         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
24322         (gst_queue_set_property), (gst_queue_get_property):
24323         Some cleanups.
24324
24325         * tests/threadstate/threadstate1.c: (main):
24326         Make a thread test compile and run... very silly..
24327
24328
24329 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24330
24331         * docs/manual/appendix-porting.xml:
24332           Mention removal of libgstgconf-0.9.la and existence of gconf
24333           elements.
24334
24335 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24336
24337         * docs/pwg/advanced-clock.xml:
24338         * docs/pwg/appendix-porting.xml:
24339         * docs/pwg/intro-preface.xml:
24340         * docs/pwg/other-base.xml:
24341         * docs/pwg/other-manager.xml:
24342         * docs/pwg/other-nton.xml:
24343         * docs/pwg/other-ntoone.xml:
24344         * docs/pwg/other-oneton.xml:
24345         * docs/pwg/pwg.xml:
24346           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
24347           demuxer), remove n-to-n (was never written), fix some code examples
24348           and links and update the porting section to include all this.
24349
24350 2005-07-19  Wim Taymans  <wim@fluendo.com>
24351
24352         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
24353         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
24354         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
24355         (gst_queue_src_activate_push), (gst_queue_change_state),
24356         (gst_queue_get_property):
24357         * gst/gstqueue.h:
24358         Propagate GstFlowReturn more intelligently upstream and output
24359         an ERROR/EOS when streaming stopped due to fatal error.
24360
24361 2005-07-19  Wim Taymans  <wim@fluendo.com>
24362
24363         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24364         Don't block forever for the state change to complete, the
24365         pipeline already did with a sensible timeout.
24366
24367 2005-07-19  Wim Taymans  <wim@fluendo.com>
24368
24369         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
24370         Make sure we never call the create function is we
24371         got deactivated.
24372
24373 2005-07-19  Andy Wingo  <wingo@pobox.com>
24374
24375         * gst/parse/parse.l: Attempt to solve bug #172815.
24376
24377 2005-07-19  Wim Taymans  <wim@fluendo.com>
24378
24379         * docs/design/part-clocks.txt:
24380         * docs/design/part-events.txt:
24381         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
24382         Small docs updates.
24383         Only update the seeking values when we are not
24384         busy streaming.
24385
24386 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24387
24388         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24389           Oops, ignore the result of gst_pad_push_event here.
24390
24391 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
24392
24393         * gst/base/gstbasesrc.c: (gst_base_src_loop),
24394         (gst_base_src_activate_push):
24395           Send discont event from the loop function, as pads
24396           aren't activated yet in the activate_push handler.
24397
24398         * gst/gstbin.c: (bin_bus_handler):
24399           Don't leak element name.
24400
24401 2005-07-18  Andy Wingo  <wingo@pobox.com>
24402
24403         * configure.ac: Use AS_LIBTOOL_TAGS.
24404
24405 2005-07-18  Wim Taymans  <wim@fluendo.com>
24406
24407         * docs/gst/gstreamer.types:
24408         Remove deleted types.
24409
24410 2005-07-18  Wim Taymans  <wim@fluendo.com>
24411
24412         * check/elements/gstfakesrc.c: (GST_START_TEST):
24413         * configure.ac:
24414         * gst/Makefile.am:
24415         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
24416         (init_popt_callback):
24417         * gst/gst.h:
24418         * gst/gst_private.h:
24419         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
24420         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
24421         * gst/gstbin.h:
24422         * gst/gstbus.h:
24423         * gst/gstconfig.h.in:
24424         * gst/gstelement.c: (gst_element_class_init),
24425         (gst_element_set_base_time), (gst_element_get_base_time),
24426         (iterator_fold_with_resync), (gst_element_change_state),
24427         (gst_element_dispose), (gst_element_get_bus):
24428         * gst/gstelement.h:
24429         * gst/gstelementfactory.h:
24430         * gst/gsterror.c: (_gst_core_errors_init):
24431         * gst/gsterror.h:
24432         * gst/gstevent.h:
24433         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24434         * gst/gstindex.c:
24435         * gst/gstinfo.c: (_gst_debug_init):
24436         * gst/gstmessage.c: (_gst_message_copy):
24437         * gst/gstmessage.h:
24438         * gst/gstminiobject.h:
24439         * gst/gstobject.c:
24440         * gst/gstobject.h:
24441         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24442         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
24443         * gst/gstpad.h:
24444         * gst/gstparse.h:
24445         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
24446         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24447         (gst_pipeline_get_last_stream_time):
24448         * gst/gstpipeline.h:
24449         * gst/gstpluginfeature.h:
24450         * gst/gstquery.h:
24451         * gst/gstscheduler.c:
24452         * gst/gstscheduler.h:
24453         * gst/gststructure.h:
24454         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
24455         (gst_task_finalize), (gst_task_func), (gst_task_create),
24456         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
24457         (gst_task_stop), (gst_task_pause):
24458         * gst/gsttask.h:
24459         * gst/gsttypefind.h:
24460         * gst/gsttypes.h:
24461         * gst/registries/gstlibxmlregistry.c: (load_feature),
24462         (gst_xml_registry_load), (gst_xml_registry_save_feature):
24463         * gst/registries/gstxmlregistry.c:
24464         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
24465         * gst/schedulers/threadscheduler.c:
24466         * libs/gst/control/dparammanager.h:
24467         * tools/gst-inspect.c: (print_element_list),
24468         (print_plugin_features), (print_element_features):
24469         * tools/gst-xmlinspect.c: (print_element_list),
24470         (print_plugin_info), (main):
24471         Removed plugable schedulers.
24472         Removed Scheduler/Manager from elements.
24473         Removed gsttypes.h, rearranged includes.
24474         Removed dependency pad<->element, element<>pipeline, and
24475         various others,  fix includes.
24476         implement gst_pad_get_parent() with gst_object_get_parent()
24477         Make GstTask sefcontained.
24478         Fix _get_state() on GstBin, it did not return ASYNC with a 0
24479         timeout.
24480         Fix endless loop in iterator_fold_with_resync.
24481
24482
24483 2005-07-18  Wim Taymans  <wim@fluendo.com>
24484
24485         * gst/Makefile.am:
24486         * gst/gstarch.h:
24487         Remove old file.
24488
24489 2005-07-18  Wim Taymans  <wim@fluendo.com>
24490
24491         * gst/Makefile.am:
24492         No more cothreads.h
24493
24494 2005-07-18  Wim Taymans  <wim@fluendo.com>
24495
24496         * gst/cothreads.c:
24497         * gst/cothreads.h:
24498         Let's remove these.
24499
24500 2005-07-18  Wim Taymans  <wim@fluendo.com>
24501
24502         * docs/design/part-dynamic.txt:
24503         * docs/design/part-events.txt:
24504         * docs/design/part-seeking.txt:
24505         Some more docs in the works.
24506
24507         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24508         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
24509         (gst_base_transform_setcaps), (gst_base_transform_get_size),
24510         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24511         (gst_base_transform_handle_buffer),
24512         (gst_base_transform_sink_activate_push),
24513         (gst_base_transform_src_activate_pull),
24514         (gst_base_transform_set_passthrough),
24515         (gst_base_transform_is_passthrough):
24516         Refcounting fixes.
24517
24518         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
24519         Cleanups.
24520
24521         * gst/gstevent.c: (gst_event_finalize):
24522         Set SRC to NULL.
24523
24524         * gst/gstutils.c: (gst_element_unlink),
24525         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
24526         (gst_pad_proxy_setcaps):
24527         * gst/gstutils.h:
24528         Add _get_parent_element() to get a pads parent as an element.
24529
24530 2005-07-18  Wim Taymans  <wim@fluendo.com>
24531
24532         * check/gst/gstbin.c: (GST_START_TEST):
24533         Remove bogus test.
24534
24535 2005-07-18  Wim Taymans  <wim@fluendo.com>
24536
24537         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24538         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24539         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
24540         (gst_base_sink_event), (gst_base_sink_do_sync),
24541         (gst_base_sink_chain), (gst_base_sink_loop),
24542         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
24543         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
24544         Refcounting fixes.
24545         Fix logic for returning ASYNC when not prerolled.
24546
24547 2005-07-18  Wim Taymans  <wim@fluendo.com>
24548
24549         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24550         Fix nasty refcount bug.
24551
24552 2005-07-16 Philippe Khalaf <burger@speedy.org>
24553
24554         * gst/elements/gstfdsrc.c:
24555         * gst/elements/gstfdsrc.h:
24556         * gst/elements/gstelements.c:
24557         * gst/elements/Makefile.am:
24558         Ported fdsrc to 0.9.
24559
24560 2005-07-16  Wim Taymans  <wim@fluendo.com>
24561
24562         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24563         (gst_base_sink_do_sync):
24564         Fix compile error.
24565
24566 2005-07-16  Wim Taymans  <wim@fluendo.com>
24567
24568         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24569         (gst_base_sink_event), (gst_base_sink_get_times),
24570         (gst_base_sink_do_sync), (gst_base_sink_change_state):
24571         * gst/base/gstbasesink.h:
24572         Store and use discont values when syncing buffers as described
24573         in design docs.
24574         
24575         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24576         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
24577         (gst_base_src_activate_push):
24578         Push discont event when starting.
24579
24580         * gst/elements/gstidentity.c: (gst_identity_transform):
24581         Small cleanups.
24582
24583         * gst/gstbin.c: (gst_bin_change_state):
24584         Small cleanups in base_time  distribution.
24585
24586         * gst/gstelement.c: (gst_element_set_base_time),
24587         (gst_element_get_base_time), (gst_element_change_state):
24588         * gst/gstelement.h:
24589         Added methods for the base_time of the element.
24590         Some MT fixes.
24591
24592         * gst/gstpipeline.c: (gst_pipeline_send_event),
24593         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
24594         (gst_pipeline_get_last_stream_time):
24595         * gst/gstpipeline.h:
24596         MT fixes.
24597         Handle seeking as described in design doc, remove stream_time
24598         hack.
24599         Cleanups clock and stream_time selection code. Added accessors
24600         for the stream_time.
24601         
24602
24603 2005-07-16  Andy Wingo  <wingo@pobox.com>
24604
24605         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
24606         (#305291).
24607
24608 2005-07-16  Wim Taymans  <wim@fluendo.com>
24609
24610         * check/gst/gstbin.c: (GST_START_TEST):
24611         Make elements silent as the deep_notify refs the
24612         parent, which might make the test fail.
24613
24614         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
24615         Don't hold the lock for too long.
24616
24617 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
24618
24619         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
24620           Don't unref the caps we passed to gst_caps_make_writable() after
24621           passing them. gst_caps_make_writable() will do that for us.
24622
24623 2005-07-15  Andy Wingo  <wingo@pobox.com>
24624
24625         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
24626         (#157311).
24627
24628         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
24629         own marshalling function for the handoff signal. Properly type the
24630         buffer as a buffer. Fixes some warnings. Should do a more general
24631         solution.
24632         (gst_identity_class_init): Plug into the right marshaller.
24633
24634 2005-07-15  Wim Taymans  <wim@fluendo.com>
24635
24636         * docs/design/part-TODO.txt:
24637         * docs/design/part-clocks.txt:
24638         * docs/design/part-element-sink.txt:
24639         * docs/design/part-events.txt:
24640         * docs/design/part-gstpipeline.txt:
24641         Updated docs, mostly DISCONT related.
24642
24643 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
24644
24645         * docs/pwg/building-pads.xml:
24646           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
24647
24648 2005-07-15  Andy Wingo  <wingo@pobox.com>
24649
24650         * tools/gst-typefind.c: Update, add copyright block.
24651
24652         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
24653         Normalize and truncate caps before fixation.
24654
24655         * gst/gstcaps.h:
24656         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
24657         discards all but the first structure from its argument.
24658
24659 2005-07-15  Wim Taymans  <wim@fluendo.com>
24660
24661         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24662         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
24663         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24664         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24665         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
24666         (gst_base_transform_chain), (gst_base_transform_change_state),
24667         (gst_base_transform_set_passthrough),
24668         (gst_base_transform_is_passthrough):
24669         * gst/base/gstbasetransform.h:
24670         Make passthrough work using the bufferpools.
24671         Changed API a bit, subclasses have to write into a buffer
24672         provided by the base class.
24673         More debug info in nego functions.
24674         
24675         * gst/elements/gstidentity.c: (gst_identity_init),
24676         (gst_identity_transform):
24677         Port to new base class.
24678
24679 2005-07-15  Wim Taymans  <wim@fluendo.com>
24680
24681         * gst/gstmessage.c: (gst_message_new_state_changed):
24682         * tools/gst-launch.c: (event_loop), (main):
24683         Totally dump messages in -launch with the -m option.
24684         Fix message name for State messages,
24685
24686 2005-07-14  Wim Taymans  <wim@fluendo.com>
24687
24688         * gst/base/gstbasesrc.c: (gst_base_src_loop):
24689         Post error messages on errors.
24690
24691 2005-07-14  Wim Taymans  <wim@fluendo.com>
24692
24693         * gst/gstcaps.c: (gst_caps_do_simplify):
24694         Remove debug info.
24695
24696         * gst/gsterror.h:
24697         Define error for stream stopped.
24698
24699         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
24700         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
24701         Do proper return values.
24702
24703         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
24704         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
24705         (gst_pad_get_range):
24706         Better return values.
24707
24708         * gst/gstpad.h:
24709         Reorganise return values, add macro to check for fatal errors.
24710
24711         * gst/gstqueue.c: (gst_queue_chain):
24712         Return proper GstFlowReturn values,
24713
24714 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
24715
24716         * docs/gst/gstreamer-sections.txt:
24717         * docs/gst/gstreamer.types:
24718         * docs/gst/tmpl/gst.sgml:
24719         * docs/gst/tmpl/gstbasesink.sgml:
24720         * docs/gst/tmpl/gstbasesrc.sgml:
24721         * docs/gst/tmpl/gstbasetransform.sgml:
24722         * docs/gst/tmpl/gstbin.sgml:
24723         * docs/gst/tmpl/gstbuffer.sgml:
24724         * docs/gst/tmpl/gstcaps.sgml:
24725         * docs/gst/tmpl/gstclock.sgml:
24726         * docs/gst/tmpl/gstcompat.sgml:
24727         * docs/gst/tmpl/gstconfig.sgml:
24728         * docs/gst/tmpl/gstelement.sgml:
24729         * docs/gst/tmpl/gstelementdetails.sgml:
24730         * docs/gst/tmpl/gstelementfactory.sgml:
24731         * docs/gst/tmpl/gstenumtypes.sgml:
24732         * docs/gst/tmpl/gsterror.sgml:
24733         * docs/gst/tmpl/gstevent.sgml:
24734         * docs/gst/tmpl/gstfakesink.sgml:
24735         * docs/gst/tmpl/gstfakesrc.sgml:
24736         * docs/gst/tmpl/gstfilesink.sgml:
24737         * docs/gst/tmpl/gstfilesrc.sgml:
24738         * docs/gst/tmpl/gstfilter.sgml:
24739         * docs/gst/tmpl/gstformat.sgml:
24740         * docs/gst/tmpl/gstghostpad.sgml:
24741         * docs/gst/tmpl/gstimplementsinterface.sgml:
24742         * docs/gst/tmpl/gstindex.sgml:
24743         * docs/gst/tmpl/gstindexfactory.sgml:
24744         * docs/gst/tmpl/gstinfo.sgml:
24745         * docs/gst/tmpl/gstiterator.sgml:
24746         * docs/gst/tmpl/gstmacros.sgml:
24747         * docs/gst/tmpl/gstmemchunk.sgml:
24748         * docs/gst/tmpl/gstminiobject.sgml:
24749         * docs/gst/tmpl/gstobject.sgml:
24750         * docs/gst/tmpl/gstpad.sgml:
24751         * docs/gst/tmpl/gstpadtemplate.sgml:
24752         * docs/gst/tmpl/gstparse.sgml:
24753         * docs/gst/tmpl/gstpipeline.sgml:
24754         * docs/gst/tmpl/gstplugin.sgml:
24755         * docs/gst/tmpl/gstpluginfeature.sgml:
24756         * docs/gst/tmpl/gstquery.sgml:
24757         * docs/gst/tmpl/gstqueue.sgml:
24758         * docs/gst/tmpl/gstregistry.sgml:
24759         * docs/gst/tmpl/gstregistrypool.sgml:
24760         * docs/gst/tmpl/gstscheduler.sgml:
24761         * docs/gst/tmpl/gstschedulerfactory.sgml:
24762         * docs/gst/tmpl/gststructure.sgml:
24763         * docs/gst/tmpl/gstsystemclock.sgml:
24764         * docs/gst/tmpl/gsttaglist.sgml:
24765         * docs/gst/tmpl/gsttagsetter.sgml:
24766         * docs/gst/tmpl/gsttrace.sgml:
24767         * docs/gst/tmpl/gsttrashstack.sgml:
24768         * docs/gst/tmpl/gsttypefind.sgml:
24769         * docs/gst/tmpl/gsttypefindfactory.sgml:
24770         * docs/gst/tmpl/gsttypes.sgml:
24771         * docs/gst/tmpl/gsturihandler.sgml:
24772         * docs/gst/tmpl/gsturitype.sgml:
24773         * docs/gst/tmpl/gstutils.sgml:
24774         * docs/gst/tmpl/gstvalue.sgml:
24775         * docs/gst/tmpl/gstversion.sgml:
24776         * docs/gst/tmpl/gstxml.sgml:
24777         * docs/libs/tmpl/gstcontrol.sgml:
24778         * docs/libs/tmpl/gstdataprotocol.sgml:
24779         * docs/libs/tmpl/gstdparam.sgml:
24780         * docs/libs/tmpl/gstdplinint.sgml:
24781         * docs/libs/tmpl/gstdpman.sgml:
24782         * docs/libs/tmpl/gstdpsmooth.sgml:
24783         * docs/libs/tmpl/gstgetbits.sgml:
24784         * docs/libs/tmpl/gstunitconvert.sgml:
24785         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
24786         (gst_push_src_base_init), (gst_push_src_class_init),
24787         (gst_push_src_init), (gst_push_src_create):
24788         * gst/base/gstpushsrc.h:
24789         * gst/elements/gstelements.c:
24790         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
24791         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
24792         (gst_fake_sink_init), (gst_fake_sink_set_property),
24793         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
24794         (gst_fake_sink_event), (gst_fake_sink_preroll),
24795         (gst_fake_sink_render), (gst_fake_sink_change_state):
24796         * gst/elements/gstfakesink.h:
24797         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
24798         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
24799         (gst_fake_src_base_init), (gst_fake_src_class_init),
24800         (gst_fake_src_init), (gst_fake_src_event_handler),
24801         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
24802         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
24803         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
24804         (gst_fake_src_create_buffer), (gst_fake_src_create),
24805         (gst_fake_src_start), (gst_fake_src_stop):
24806         * gst/elements/gstfakesrc.h:
24807         * gst/elements/gstfilesink.c: (_do_init),
24808         (gst_file_sink_base_init), (gst_file_sink_class_init),
24809         (gst_file_sink_init), (gst_file_sink_dispose),
24810         (gst_file_sink_set_location), (gst_file_sink_set_property),
24811         (gst_file_sink_get_property), (gst_file_sink_open_file),
24812         (gst_file_sink_close_file), (gst_file_sink_query),
24813         (gst_file_sink_event), (gst_file_sink_render),
24814         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
24815         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
24816         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
24817         * gst/elements/gstfilesink.h:
24818         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
24819         (gst_file_src_class_init), (gst_file_src_init),
24820         (gst_file_src_finalize), (gst_file_src_set_location),
24821         (gst_file_src_set_property), (gst_file_src_get_property),
24822         (gst_file_src_map_region), (gst_file_src_map_small_region),
24823         (gst_file_src_create_mmap), (gst_file_src_create_read),
24824         (gst_file_src_create), (gst_file_src_is_seekable),
24825         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
24826         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
24827         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
24828         (gst_file_src_uri_handler_init):
24829         * gst/elements/gstfilesrc.h:
24830           more autistic cleanliness in functions/names/defines
24831
24832 2005-07-13  Andy Wingo  <wingo@pobox.com>
24833
24834         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
24835         source couldn't negotiate.
24836
24837         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
24838         connections again.
24839
24840         * gst/gstutils.h:
24841         * gst/gstutils.c (gst_element_link_pads_filtered): New old
24842         function. I am channeling Hades. Put your boots on suckers!!!
24843
24844 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
24845
24846         * testsuite/caps/Makefile.am:
24847         * testsuite/caps/value_compare.c:
24848         * testsuite/caps/value_intersect.c:
24849         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24850           move two testsuite apps over to the check dir
24851
24852 2005-07-12  Wim Taymans  <wim@fluendo.com>
24853
24854         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
24855         Added more debug info in the negotiate process.
24856
24857         * gst/gstmessage.h:
24858         Prepare for segment playback.
24859
24860         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
24861         Better debugging.
24862
24863         * gst/gstutils.c:
24864         Some more docs.
24865
24866         * tools/gst-launch.c: (main):
24867         NULL pipeline on errors.
24868
24869 2005-07-12  Andy Wingo  <wingo@pobox.com>
24870
24871         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
24872         not it comes from a malloc region. Make sure our copy gets freed.
24873
24874 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24875
24876         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
24877         * check/gst/gstmessage.c: (GST_START_TEST):
24878         * check/gst/gststructure.c: (GST_START_TEST),
24879         (gst_structure_suite), (main):
24880           more testing
24881         * gst/gstelement.c: (gst_element_message_full):
24882           clean up GError and debug string now that they get copied
24883         * gst/gstmessage.c: (gst_message_new_error),
24884         (gst_message_new_warning), (gst_message_parse_error),
24885         (gst_message_parse_warning):
24886           use GST_TYPE_G_ERROR for structure_new, and take copies of
24887           arguments, so that we don't mess up refcounting
24888
24889 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24890
24891         * check/Makefile.am:
24892           add per-test valgrind targets
24893         * check/gst-libs/gdp.c: (GST_START_TEST),
24894         (gst_data_protocol_suite), (main):
24895           clean up
24896
24897 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
24898
24899         * check/Makefile.am:
24900           instate more valgrindable tests
24901         * check/elements/gstfakesrc.c: (chain_func), (event_func),
24902         (GST_START_TEST), (fakesrc_suite):
24903         * check/gst/gstpad.c: (GST_START_TEST):
24904         * check/gst/gststructure.c: (GST_START_TEST):
24905           fix test leaks
24906         * docs/gst/tmpl/gstminiobject.sgml:
24907         * gst/gstpad.c: (gst_pad_finalize):
24908           fix the static mutex leak
24909
24910 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24911
24912         * check/Makefile.am:
24913           add two more tests for valgrinding
24914         * check/gst/gstvalue.c: (GST_START_TEST):
24915           test refcount of deserialized buffer, found a leak
24916         * docs/gst/gstreamer-docs.sgml:
24917         * docs/gst/gstreamer-sections.txt:
24918         * docs/gst/gstreamer.types:
24919         * docs/gst/tmpl/gstminiobject.sgml:
24920           add miniobject to docs
24921         * gst/gstminiobject.c:
24922           add some docs
24923         * gst/gstvalue.c: (gst_value_deserialize_buffer),
24924         (gst_string_unwrap):
24925           fix a hard-to-find invalid write for one of the tests
24926           fix a leak for deserialized buffers
24927
24928 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24929
24930         * docs/pwg/advanced-events.xml:
24931         * docs/pwg/advanced-request.xml:
24932         * docs/pwg/advanced-scheduling.xml:
24933         * docs/pwg/appendix-porting.xml:
24934         * docs/pwg/building-boiler.xml:
24935         * docs/pwg/intro-preface.xml:
24936         * docs/pwg/other-ntoone.xml:
24937           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
24938           of example code and explanation for pad activation, loop() and
24939           getrange() functions and a bit more. Remove old comments pointing
24940           to loop-functions.
24941         * examples/pwg/Makefile.am:
24942           Add loop/getrange examples.
24943
24944 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24945
24946         * configure.ac:
24947           check for valgrind binary + some fixes
24948         * check/gst.supp:
24949           valgrind suppressions for the tests
24950         * check/Makefile.am:
24951           add a valgrind: target that valgrinds the unit tests
24952         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
24953         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
24954         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24955         * check/gst/gstghostpad.c:
24956           added some cleanup
24957         * check/gst/gstdata.c:
24958           removed
24959         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
24960         (thread_unref), (gst_mini_object_suite), (main):
24961           added
24962         * gst/gst.c: (gst_deinit):
24963         * gst/gst.h:
24964           add a method to clean up.
24965         * gst/gstsystemclock.c: (gst_system_clock_dispose),
24966         (gst_system_clock_obtain):
24967           allow for disposing the system clock.
24968         * tools/gst-launch.c: (main):
24969           deinit
24970
24971 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
24972
24973         * docs/gst/tmpl/gstbasesrc.sgml:
24974         * docs/gst/tmpl/gstfakesrc.sgml:
24975         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
24976         (gst_base_src_init), (gst_base_src_set_property),
24977         (gst_base_src_get_property), (gst_base_src_get_range),
24978         (gst_base_src_start):
24979         * gst/base/gstbasesrc.h:
24980           add num-buffers property
24981         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24982         (gst_fakesrc_init), (gst_fakesrc_set_property),
24983         (gst_fakesrc_get_property), (gst_fakesrc_create),
24984         (gst_fakesrc_start):
24985           remove num-buffers property
24986
24987 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
24988
24989         * docs/gst/gstreamer-sections.txt:
24990         * docs/gst/tmpl/gstbasesink.sgml:
24991         * docs/gst/tmpl/gstbasesrc.sgml:
24992         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
24993         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
24994         (gst_base_sink_finalize), (gst_base_sink_set_clock),
24995         (gst_base_sink_set_property), (gst_base_sink_get_property),
24996         (gst_base_sink_handle_object), (gst_base_sink_event),
24997         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
24998         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
24999         (gst_base_sink_loop), (gst_base_sink_deactivate),
25000         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
25001         (gst_base_sink_change_state):
25002         * gst/base/gstbasesink.h:
25003         * gst/base/gstbasesrc.h:
25004         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
25005         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25006         (gst_filesink_init):
25007           more macro splitting
25008
25009 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25010
25011         * gst/gstelement.c: (gst_element_get_bus):
25012           add debug
25013         * tools/gst-launch.c: (check_intr), (event_loop):
25014           fix bus leaks
25015
25016 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25017
25018         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
25019           fix a caps leak
25020
25021 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25022
25023         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25024         (gst_base_src_finalize):
25025           add finalize method and clean up properly
25026         * gst/gstpipeline.c: (gst_pipeline_dispose):
25027           add debug
25028
25029 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25030
25031         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
25032         (gst_bin_suite):
25033           add more things to check
25034         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
25035         * gst/gstelement.c:
25036           more debug
25037
25038 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25039
25040         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25041         (GST_START_TEST), (fakesrc_suite):
25042         * check/gst-libs/gdp.c: (GST_START_TEST):
25043         * check/gst/gst.c: (GST_START_TEST):
25044         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25045         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25046         * check/gst/gstbus.c: (GST_START_TEST):
25047         * check/gst/gstcaps.c: (GST_START_TEST):
25048         * check/gst/gstdata.c: (GST_START_TEST):
25049         * check/gst/gstelement.c: (GST_START_TEST):
25050         * check/gst/gstghostpad.c: (GST_START_TEST):
25051         * check/gst/gstiterator.c: (GST_START_TEST):
25052         * check/gst/gstmessage.c: (GST_START_TEST):
25053         * check/gst/gstobject.c: (GST_START_TEST):
25054         * check/gst/gstpad.c: (GST_START_TEST):
25055         * check/gst/gststructure.c: (GST_START_TEST):
25056         * check/gst/gstsystemclock.c: (GST_START_TEST),
25057         (gst_systemclock_suite):
25058         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
25059         * check/gst/gstvalue.c: (GST_START_TEST):
25060         * check/pipelines/cleanup.c: (GST_START_TEST):
25061         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25062         * check/states/sinks.c: (GST_START_TEST):
25063         * check/gstcheck.c: (gst_check_init):
25064         * check/gstcheck.h:
25065           add debugging category
25066           use GST_START_TEST now, so we add a debug line
25067
25068 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
25069
25070         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
25071           add test for state change message on a bin
25072         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
25073           add another test
25074         * gst/gstbin.c: (gst_bin_init):
25075         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
25076         * gst/gstelement.c: (gst_element_post_message),
25077         (gst_element_set_state):
25078         * gst/gstelementfactory.c: (gst_element_factory_create):
25079         * gst/gstmessage.c: (gst_message_new):
25080         * gst/gstscheduler.c:
25081           various debugging additions and cleanups
25082
25083 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25084
25085         * check/Makefile.am:
25086         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
25087         (main):
25088           adding tests for elements
25089         * gst/gstelement.c: (gst_element_dispose):
25090
25091 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25092
25093         * gst/registries/gstlibxmlregistry.c: (load_feature):
25094           plug more leaks.  A simple gst_init() now is leakfree, yay.
25095
25096 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25097
25098         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
25099         (gst_xml_registry_load):
25100           plug another memleak
25101
25102 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25103
25104         * configure.ac:
25105           use GST_SET_ERROR_CFLAGS
25106         * docs/faq/cvs.xml:
25107           change to ERROR_CFLAGS
25108
25109 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
25110
25111         * configure.ac:
25112           make GST_ERROR_CFLAGS overridable and re-enable Werror
25113         * docs/faq/cvs.xml:
25114           add a note about error CFLAGS
25115         * docs/gst/tmpl/gstfakesrc.sgml:
25116         * gst/elements/gstfakesrc.c:
25117           comment out some unused code
25118         * gst/gst.c: (split_and_iterate):
25119         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
25120         (load_feature):
25121           plug some memleaks
25122
25123 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25124
25125         * common/Makefile.am:
25126         * common/gtk-doc.mak:
25127         * docs/gst/Makefile.am:
25128           factor out gtk-doc.mak
25129
25130 2005-07-07  Wim Taymans  <wim@fluendo.com>
25131
25132         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
25133         (gst_thread_scheduler_dispose):
25134         Unlock the STREAM_LOCK completely.
25135
25136 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
25137
25138         * check/Makefile.am:
25139         * check/elements/.cvsignore:
25140         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25141         (START_TEST), (fakesrc_suite), (main):
25142         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25143         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25144         (gst_fakesrc_create), (gst_fakesrc_start):
25145         * gst/elements/gstfakesrc.h:
25146           adding a first element test
25147
25148 2005-07-07  Andy Wingo  <wingo@pobox.com>
25149
25150         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
25151         debug message.
25152
25153 2005-07-07  Wim Taymans  <wim@fluendo.com>
25154
25155         * gst/gstquery.c:
25156         * gst/gstquery.h:
25157         Remove old types
25158
25159 2005-07-07  Wim Taymans  <wim@fluendo.com>
25160
25161         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
25162         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
25163         Allow subclasses to implement their own negotiation.
25164
25165 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25166
25167         * docs/design/part-gstbin.txt:
25168         * docs/design/part-gstpipeline.txt:
25169           Update design notes to reflect the movement of
25170           responsibility for bus handling from GstPipeline to
25171           GstBin
25172
25173 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25174
25175         * configure.ac:
25176           Remove unnecessary queue2/3/4 examples.
25177
25178 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
25179
25180         * examples/Makefile.am:
25181         * examples/helloworld/helloworld.c: (event_loop), (main):
25182         * examples/queue/queue.c: (event_loop), (main):
25183         * examples/queue2/queue2.c: (main):
25184           Update a couple of the examples to work again.
25185
25186         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25187         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
25188          Spelling corrections and extra debug.
25189         
25190         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
25191         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
25192         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
25193         * gst/gstbin.h:
25194         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25195         (gst_pipeline_change_state):
25196         * gst/gstpipeline.h:
25197           Move the bus handler for children to the GstBin, and create a
25198           separate bus for receiving messages from children to the one the
25199           bus sends 'upwards' on.
25200
25201 2005-07-06  Wim Taymans  <wim@fluendo.com>
25202
25203         * gst/base/README:
25204         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25205         (gst_base_sink_handle_object), (gst_base_sink_loop),
25206         (gst_base_sink_change_state):
25207         * gst/base/gstbasesink.h:
25208         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25209         (gst_base_src_init), (gst_base_src_setcaps),
25210         (gst_base_src_getcaps), (gst_base_src_loop),
25211         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
25212         (gst_base_src_start), (gst_base_src_change_state):
25213         * gst/base/gstbasesrc.h:
25214         Make basesrc negotiate.
25215         Handle the case where preroll fails in basesink.
25216         Update README.
25217
25218 2005-07-06  Wim Taymans  <wim@fluendo.com>
25219
25220         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
25221         Implement the fixate function.
25222         Clean up acceptcaps.
25223
25224 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25225
25226         * docs/pwg/building-filterfactory.xml:
25227         * docs/pwg/pwg.xml:
25228           Remove never-written filter-factory chapter; I'll add the various
25229           base classes to part 4 ("other element types") later on.
25230
25231 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25232
25233         * docs/pwg/advanced-negotiation.xml:
25234         * docs/pwg/building-boiler.xml:
25235         * docs/pwg/building-pads.xml:
25236         * docs/pwg/pwg.xml:
25237         * examples/pwg/Makefile.am:
25238           Add a chapter on caps negotiation, simplify the original code
25239           samples a bit w.r.t. caps negotiation, add link to the advanced
25240           section. Add a bunch of examples showing different use cases of
25241           different types of caps negotiation. Upstream renegotiation isn't
25242           fully documented yet since nobody knows how that works.
25243
25244 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
25245
25246         * check/gst/gstpad.c:
25247         * check/gstcheck.c:
25248         * gst/gstpad.c: (gst_pad_get_internal_links_default):
25249           if pad has no parent, return NULL as list of internal links
25250
25251 2005-07-05  Andy Wingo  <wingo@pobox.com>
25252
25253         * gst/elements/gstfilesrc.c:
25254         * gst/elements/gstfakesrc.c: 
25255         * gst/base/gstpushsrc.c:
25256         * gst/base/gstbasesrc.h: 
25257         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
25258         
25259 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
25260
25261         * Makefile.am:
25262           better report generation target (lcov needs a patch)
25263
25264 2005-07-05  Andy Wingo  <wingo@pobox.com>
25265
25266         * gst/elements, testsuite: Null if we got it...
25267
25268 2005-07-05  Wim Taymans  <wim@fluendo.com>
25269
25270         * configure.ac:
25271         * libs/gst/dataprotocol/Makefile.am:
25272         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
25273         * libs/gst/dataprotocol/dataprotocol.h:
25274         * pkgconfig/Makefile.am:
25275         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
25276         * pkgconfig/gstreamer-dataprotocol.pc.in:
25277         Ported dataprotol to 0.9. 
25278         Added pkgconfig files.
25279
25280 2005-07-05  Andy Wingo  <wingo@pobox.com>
25281
25282         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
25283         Default to returning TRUE for the case when tranform_caps returns
25284         a fixed caps, like for identity or volume.
25285
25286         * check/gst/gstbus.c (pound_bus_with_messages): 
25287         * check/gst/gstmessage.c (START_TEST): 
25288         * check/pipelines/simple_launch_lines.c (got_handoff): Application
25289         message API change.
25290
25291         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
25292         logic weaks here: always run transform_caps, trying passthrough
25293         operation only if the original caps intersects with the transform.
25294
25295         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
25296         source and sink caps.
25297
25298         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
25299         Intersect the peer caps with the pad template before going into
25300         transform_caps.
25301         (gst_base_transform_transform_caps): More debugging.
25302
25303         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
25304         src argument.
25305
25306 2005-07-04  Edward Hervey  <edward@fluendo.com>
25307
25308         * gst/gstutils.c:
25309         * gst/gstutils.h:
25310         (gst_pad_add_*_probe): now returns the signal id for better wrapping
25311         in bindings.
25312
25313 2005-07-04  Andy Wingo  <wingo@pobox.com>
25314
25315         * check/gst/gstpad.c: Only set explicit caps on pads.
25316
25317 2005-07-01  Andy Wingo  <wingo@pobox.com>
25318
25319         * tests/network-clock.scm: Commentary update.
25320
25321         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
25322         Didn't really make sense, not implementable with basetransform,
25323         etc.
25324         (gst_identity_transform): Unref inbuf via make_writable. Feeble
25325         attempt at implementing the sync property, needs an unlock method.
25326
25327         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
25328         New func, by default returns the same caps (the identity
25329         transformation).
25330         (gst_base_transform_getcaps): Uses transform_caps to return
25331         something sensible.
25332         (gst_base_transform_setcaps): Complicated logic to get caps on
25333         both pads, even if they are different, and to call set_caps once
25334         for every time both pads get their caps set.
25335         (gst_base_transform_handle_buffer): Give the ref to the transform
25336         function. Allows in-place modification of the buffer.
25337
25338         * gst/base/gstbasetransform.h (transform_caps): New class method.
25339         Given caps on one side, what can I do on the other.
25340         (set_caps): Take two caps, one for each side of the element.
25341
25342         * gst/gstpad.h:
25343         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
25344         caps in place. This is safe because we can check the mutability of
25345         the caps, and a good idea because fixate functions are just called
25346         as a matter of last resort. (Not actually implemented.)
25347         (gst_pad_set_caps): If the caps we're setting is actually the same
25348         as the existing pad caps, just update the pointer without calling
25349         setcaps. Assert that caps is either NULL or fixed, as per the
25350         docs.
25351
25352         * gst/gstghostpad.c: Update for fixate changes.
25353
25354 2005-07-02  Andy Wingo  <wingo@pobox.com>
25355
25356         * gst/gstcaps.c:
25357         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
25358         two refcounts makes it immutable, which is enough. Doc more.
25359
25360 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
25361
25362         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
25363           Put the mini_object into GValue as a mini_object,
25364           not a gpointer, since that's how we declared
25365           the signal.
25366
25367 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25368
25369         * examples/pwg/Makefile.am:
25370           Fix buildbot again.
25371
25372 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25373
25374         * docs/pwg/building-testapp.xml:
25375           Add extra check.
25376         * examples/pwg/Makefile.am:
25377           Fix buildbot.
25378
25379 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25380
25381         * configure.ac:
25382         * examples/Makefile.am:
25383         * examples/pwg/Makefile.am:
25384         * examples/pwg/extract.pl:
25385           Enable building the PWG examples.
25386         * docs/pwg/advanced-interfaces.xml:
25387           Add URI interface stub.
25388         * docs/pwg/advanced-types.xml:
25389         * docs/pwg/other-autoplugger.xml:
25390         * docs/pwg/appendix-porting.xml:
25391         * docs/pwg/pwg.xml:
25392           Add porting guide (mostly stubs), remove autoplugging (see ADM).
25393         * docs/pwg/building-boiler.xml:
25394         * docs/pwg/building-chainfn.xml:
25395         * docs/pwg/building-pads.xml:
25396         * docs/pwg/building-props.xml:
25397         * docs/pwg/building-state.xml:
25398         * docs/pwg/building-testapp.xml:
25399           Update the building-*.xml parts for 0.9 changes. All examples
25400           code blocks compile in examples/pwg/*.
25401
25402 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25403
25404         * docs/manual/advanced-autoplugging.xml:
25405         * docs/manual/appendix-checklist.xml:
25406         * docs/manual/appendix-integration.xml:
25407         * docs/manual/highlevel-components.xml:
25408           Fix playbin/decodebin examples, update docs a bit, mention bus
25409           instead of signals in various places, mention kmplayer and
25410           kaffeine since they have a working GStreamer backend in the KDE
25411           section.
25412
25413 2005-06-30  Wim Taymans  <wim@fluendo.com>
25414
25415         * CHANGES-0.9:
25416         * docs/design/draft-ghostpads.txt:
25417         * docs/design/draft-push-pull.txt:
25418         * docs/design/draft-query.txt:
25419         * docs/design/part-TODO.txt:
25420         * docs/design/part-query.txt:
25421         Added CHANGES-0.9 doc, updated status of other docs.
25422         
25423         * gst/gstquery.h:
25424         Remove "hmm" macro
25425
25426 2005-06-30  Wim Taymans  <wim@fluendo.com>
25427
25428         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
25429         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25430         (gst_base_sink_change_state):
25431         * gst/base/gstbasesink.h:
25432         Some tweaks, only EOS and a buffer complete a preroll.
25433
25434 2005-06-30  Andy Wingo  <wingo@pobox.com>
25435
25436         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
25437         activate_push down to the internal pad as well.
25438
25439 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
25440
25441         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25442
25443         * gst/gsttaginterface.c:
25444           Some documentation fixes (#307394 and #307397).
25445
25446 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
25447
25448         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25449
25450         * gst/gstvalue.c: (gst_value_intersect_list):
25451           Fix memleak (#309125).
25452
25453 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25454
25455         * docs/manual/advanced-dataaccess.xml:
25456           Fix fakesrc example to compile; doesn't work, bug somewhere...?
25457         * docs/manual/basics-pads.xml:
25458           Add reference for filtered caps to above chapter.
25459
25460 2005-06-30  Wim Taymans  <wim@fluendo.com>
25461
25462         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
25463         (gst_bin_change_state):
25464         Probes are gone.
25465         Lame attempt at making the state change function a bit
25466         more readable.
25467
25468 2005-06-30  Wim Taymans  <wim@fluendo.com>
25469
25470         * docs/design/part-clocks.txt:
25471         * docs/design/part-element-sink.txt:
25472         * docs/design/part-events.txt:
25473         * docs/design/part-preroll.txt:
25474         * docs/design/part-states.txt:
25475         Some more tweeks and additions to the docs.
25476
25477 2005-06-30  Wim Taymans  <wim@fluendo.com>
25478
25479         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25480         (default_have_data), (gst_pad_class_init), (gst_pad_init),
25481         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25482         (gst_pad_check_pull_range), (gst_pad_get_range),
25483         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
25484         * gst/gstpad.h:
25485         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
25486         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25487         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25488         (gst_pad_remove_buffer_probe):
25489         Removed atomic operations, use existing LOCK.
25490         Move exception handling out of main code path.
25491
25492 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25493
25494         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25495         (silly_return_true_function), (gst_pad_class_init),
25496         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
25497         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
25498         (gst_pad_send_event):
25499           Fix accumulator, add default value by using _emitv() instead
25500           of _emit() for signal emission.
25501
25502 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25503
25504         * docs/manual/advanced-dataaccess.xml:
25505         * examples/manual/Makefile.am:
25506           Add probe example.
25507         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
25508           Make work (??).
25509
25510 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
25511
25512         * gst/elements/gstfilesink.c: (gst_filesink_render):
25513           Simplify code so that we don't have to handle short
25514           writes and return GST_FLOW_ERROR if an error occured.
25515
25516 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25517
25518         * docs/gst/gstreamer-docs.sgml:
25519           Remove probes more.
25520
25521 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25522
25523         * docs/gst/gstreamer-sections.txt:
25524         * docs/gst/tmpl/gstpad.sgml:
25525         * docs/gst/tmpl/gstprobe.sgml:
25526         * gst/Makefile.am:
25527         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
25528         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
25529         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
25530         (gst_pad_push_event), (gst_pad_send_event):
25531         * gst/gstpad.h:
25532         * gst/gstutils.c: (gst_pad_add_data_probe),
25533         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
25534         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
25535         (gst_pad_remove_buffer_probe):
25536         * gst/gstutils.h:
25537           Remove old probes, add new g-signal-based probes and some utility
25538           functions.
25539
25540 2005-06-29  Edward Hervey  <edward@fluendo.com>
25541
25542         * gst/gstelementfactory.c:
25543         * gst/gstutils.h:
25544         * gst/gstutils.c:
25545         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
25546         the definition to the header file.
25547
25548 2005-06-29  Andy Wingo  <wingo@pobox.com>
25549
25550         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
25551         plugins from the source directory.
25552
25553 2005-06-29  Wim Taymans  <wim@fluendo.com>
25554
25555         * docs/gst/tmpl/gstbuffer.sgml:
25556         * docs/gst/tmpl/gstclock.sgml:
25557         Some fixings for blantently wrong text.
25558
25559 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25560
25561         * check/Makefile.am:
25562         * gst/gst.c: (add_path_func), (init_pre):
25563         * gst/gstregistry.c: (gst_registry_add_path):
25564           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
25565           only scan the GST_PLUGIN_PATH locations, and not add
25566           system locations
25567
25568 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
25569
25570         * docs/gst/gstreamer-sections.txt:
25571         * docs/gst/tmpl/gstbasesrc.sgml:
25572         * gst/gstelement.c:
25573         * gst/gstelement.h:
25574         * gst/gstevent.c:
25575         * gst/gstutils.c:
25576           doc fixes
25577
25578 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25579
25580         * docs/manual/advanced-autoplugging.xml:
25581           Fix autoplugging example.
25582
25583 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25584
25585         * docs/manual/advanced-autoplugging.xml:
25586         * docs/manual/mime-world.fig:
25587           Try to get autoplugging working, fix type detection. Fix text
25588           in hello-world image.
25589
25590 2005-06-29  Wim Taymans  <wim@fluendo.com>
25591
25592         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25593         (gst_base_sink_change_state):
25594         Small debug line.
25595
25596         * gst/gstclock.h:
25597         map SIGNAL and BROADCAST to the right function.
25598
25599         * gst/gstobject.h:
25600         Remove redundant braces.
25601
25602         * gst/gstpad.c: (gst_pad_set_caps):
25603         Don't call setcaps function when reseting caps to NULL.
25604
25605         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25606         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
25607         (gst_system_clock_id_unschedule):
25608         Use BROADCAST as this is what we do.
25609
25610 2005-06-29  Wim Taymans  <wim@fluendo.com>
25611
25612         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
25613         We are actually prerolling before commiting the state
25614         change. 
25615
25616 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25617
25618         * docs/manual/advanced-clocks.xml:
25619         * docs/manual/advanced-interfaces.xml:
25620         * docs/manual/advanced-metadata.xml:
25621         * docs/manual/advanced-position.xml:
25622         * docs/manual/advanced-schedulers.xml:
25623         * docs/manual/advanced-threads.xml:
25624         * docs/manual/appendix-porting.xml:
25625         * docs/manual/basics-bins.xml:
25626         * docs/manual/basics-bus.xml:
25627         * docs/manual/basics-elements.xml:
25628         * docs/manual/basics-helloworld.xml:
25629         * docs/manual/basics-pads.xml:
25630         * docs/manual/highlevel-components.xml:
25631         * docs/manual/manual.xml:
25632         * docs/manual/thread.fig:
25633           Update (until threads/scheduling) Application Development Manual;
25634           remove GstThread, add GstBus, add simple porting checklist, add
25635           documentation for tag writing, clocks, make all examples until this
25636           part compile and run.
25637         * examples/manual/Makefile.am:
25638           Update from changes to Application Development Manual; add bus
25639           example, remove thread example.
25640
25641 2005-06-28  Wim Taymans  <wim@fluendo.com>
25642
25643         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
25644         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
25645         (gst_bus_source_dispatch):
25646         Add debugging messages.
25647         Make internal methods static.
25648         Handle the case where the bus is flushed in the handler.
25649         
25650         * gst/gstelement.c: (gst_element_get_bus):
25651         Fix refcount in _get_bus();
25652
25653         * gst/gstpipeline.c: (gst_pipeline_change_state),
25654         (gst_pipeline_get_clock_func):
25655         Clock refcounting fixes.
25656         Handle the case where preroll timed out more gracefully.
25657         
25658         * gst/gstsystemclock.c: (gst_system_clock_dispose):
25659         Clean up the internal thread in dispose. This is needed
25660         for subclasses that actually get disposed.
25661         
25662         * gst/schedulers/threadscheduler.c:
25663         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
25664         (gst_thread_scheduler_dispose):
25665         Free thread pool in dispose.
25666
25667 2005-06-28  Andy Wingo  <wingo@pobox.com>
25668
25669         * tests/network-clock-utils.scm (debug, print-event): New utils.
25670
25671         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
25672         (*packet-loss*): Unified loss probability.
25673         (network-time): Report out-of-band events.
25674
25675         * tests/plot-data: Add support for out-of-band events. Hack it
25676         into this script instead of passing it down the pipe; should fix
25677         this later.
25678
25679 2005-06-28  Wim Taymans  <wim@fluendo.com>
25680
25681         * docs/gst/gstreamer.types:
25682         * docs/gst/tmpl/gstbasesrc.sgml:
25683         * docs/gst/tmpl/gstpad.sgml:
25684         Docs fixes.
25685
25686 2005-06-28  Wim Taymans  <wim@fluendo.com>
25687
25688         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25689         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
25690         (gst_proxy_pad_do_fixatecaps):
25691         Correctly proxy the check_pull_range function.
25692
25693 2005-06-28  Andy Wingo  <wingo@pobox.com>
25694
25695         * tests/network-clock.scm: Removed need for slib.
25696         
25697 2005-06-28  Wim Taymans  <wim@fluendo.com>
25698
25699         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
25700         (gst_basesink_preroll_queue_flush):
25701         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
25702         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
25703         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25704         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25705         (gst_proxy_pad_set_property):
25706         * gst/gstpad.c:
25707         * gst/gstpad.h:
25708         * gst/gstqueue.c: (gst_queue_init):
25709         The deprecated pad loop function is removed now.
25710
25711 2005-06-28  Andy Wingo  <wingo@pobox.com>
25712
25713         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
25714         New parameters, simulate network packet loss.
25715
25716         * tests/network-clock-utils.scm: Initialize the RNG.
25717
25718 2005-06-28  Wim Taymans  <wim@fluendo.com>
25719
25720         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
25721         (gst_basesink_event), (gst_basesink_deactivate):
25722         Flushing the preroll queue always needs to unlock the waiters.
25723
25724 2005-06-28  Edward Hervey  <edward@fluendo.com>
25725
25726         * gst/gstpipeline.c: (gst_pipeline_send_event): 
25727         Wheen a seek was successful on a pipeline, set the stream_time to the
25728         seek offset in order to have a synchronized stream_time.
25729
25730 2005-06-28  Wim Taymans  <wim@fluendo.com>
25731
25732         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25733         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
25734         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
25735         (gst_proxy_pad_do_fixatecaps):
25736         Call wrapper function instead of just calling the function
25737         pointers. This takes care of any locking and whatmore.
25738
25739 2005-06-28  Wim Taymans  <wim@fluendo.com>
25740
25741         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
25742         (gst_pad_pull_range):
25743         * gst/gstpad.h:
25744         CONNECTED -> LINKED.
25745
25746 2005-06-28  Andy Wingo  <wingo@pobox.com>
25747
25748         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
25749         source-munging commit!!!
25750
25751         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
25752         (gst_object_sink): Take gpointer arguments, not GstObject --
25753         avoids casts. Like GLib.
25754
25755         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
25756         activate.
25757
25758 2005-06-27  Andy Wingo  <wingo@pobox.com>
25759
25760         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
25761         remaining buffer.
25762
25763         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
25764         returns a sorted copy of the trace list.
25765         (gst_alloc_trace_print_live): New API, only prints traces with
25766         live objects. Sort the list.
25767         (gst_alloc_trace_print_all): Sort the list.
25768         (gst_alloc_trace_print): Align columns.
25769
25770         * gst/elements/gstttypefindelement.c:
25771         * gst/elements/gsttee.c:
25772         * gst/base/gstbasesrc.c:
25773         * gst/base/gstbasesink.c:
25774         * gst/base/gstbasetransform.c:
25775         * gst/gstqueue.c: Adapt for pad activation changes.
25776
25777         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
25778         sched.
25779         (gst_pipeline_dispose): Drop ref on sched.
25780
25781         * gst/gstpad.c (gst_pad_init): Set the default activate func.
25782         (gst_pad_activate_default): Push mode by default.
25783         (pre_activate_switch, post_activate_switch): New stubs, things to
25784         do before and after switching activation modes on pads.
25785         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
25786         the pad's activate function to choose which mode to activate.
25787         Shortcut on deactivation and call the right function directly.
25788         (gst_pad_activate_pull): New API, (de)activates a pad in pull
25789         mode.
25790         (gst_pad_activate_push): New API, same for push mode.
25791         (gst_pad_set_activate_function) 
25792         (gst_pad_set_activatepull_function) 
25793         (gst_pad_set_activatepush_function): Setters for new API.
25794
25795         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
25796         Trace all miniobjects.
25797         (gst_mini_object_make_writable): Unref the arg if we copy, like
25798         gst_caps_make_writable.
25799
25800         * gst/gstmessage.c (_gst_message_initialize): No trace init.
25801
25802         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
25803         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
25804         Adapt for new pad API.
25805
25806         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
25807
25808         * gst/gstelement.h:
25809         * gst/gstelement.c (gst_element_iterate_src_pads) 
25810         (gst_element_iterate_sink_pads): New API functions.
25811         
25812         * gst/gstelement.c (iterator_fold_with_resync): New utility,
25813         should fold into gstiterator.c in some form.
25814         (gst_element_pads_activate): Simplified via use of fold and
25815         delegation of decisions to gstpad->activate.
25816
25817         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
25818         help in debugging.
25819
25820         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
25821         class once in init, like gstmessage. Didn't run into this issue
25822         but it seems correct. Don't initialize a trace, gstminiobject does
25823         that.
25824
25825         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
25826         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
25827         to the bus.
25828         (assert_live_count): New util function, uses alloc traces to check
25829         cleanup.
25830
25831         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
25832         To be modified when unlink drops the internal pad.
25833
25834 2005-06-27  Wim Taymans  <wim@fluendo.com>
25835
25836         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
25837         (gst_bin_change_state):
25838         Cleanup the get_state() function a little, make sure it
25839         iterates the same set of elements.
25840         Added stub iterate_state_order().
25841
25842 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
25843
25844         * docs/gst/gstreamer-docs.sgml:
25845         * docs/gst/gstreamer-sections.txt:
25846         * docs/gst/gstreamer.types:
25847         * docs/gst/tmpl/gstbasesink.sgml:
25848         * docs/gst/tmpl/gstbasesrc.sgml:
25849         * docs/gst/tmpl/gstbasetransform.sgml:
25850         * docs/gst/tmpl/gstelement.sgml:
25851         * docs/gst/tmpl/gstiterator.sgml:
25852         * gst/base/gstbasesrc.c:
25853         * gst/base/gstbasesrc.h:
25854         * gst/base/gstbasetransform.h:
25855         * gst/gstelement.c:
25856         * gst/gstiterator.h:
25857           adding basetransform and iterator docs
25858
25859 2005-06-27  Andy Wingo  <wingo@pobox.com>
25860
25861         * docs/design/part-activation.txt: Notes on how activation should
25862         work -- not quite implemented yet.
25863
25864 2005-06-25  Wim Taymans  <wim@fluendo.com>
25865
25866         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
25867         At least get the chain function correct, needs more
25868         fixing.
25869
25870 2005-06-25  Wim Taymans  <wim@fluendo.com>
25871
25872         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25873         (gst_basesink_handle_object), (gst_basesink_event),
25874         (gst_basesink_do_sync), (gst_basesink_handle_event),
25875         (gst_basesink_change_state):
25876         * gst/gsttask.h:
25877         Right, two problems here: ghostpads don't take locks and
25878         glib _rec_mutex_lock_full() with depth==0 still locks.
25879         Catch illegal locking and g_warn them.
25880
25881 2005-06-25  Wim Taymans  <wim@fluendo.com>
25882
25883         * check/states/sinks.c: (START_TEST), (gst_object_suite):
25884         Have to check for completion now...
25885
25886 2005-06-25  Wim Taymans  <wim@fluendo.com>
25887
25888         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25889         (gst_basesink_handle_object), (gst_basesink_event),
25890         (gst_basesink_do_sync), (gst_basesink_handle_event),
25891         (gst_basesink_change_state):
25892         * gst/gstpad.h:
25893         Unlock STREAM_LOCK whatever the recursion was.
25894
25895 2005-06-25  Wim Taymans  <wim@fluendo.com>
25896
25897         * gst/base/gstbasesink.c: (gst_basesink_set_property),
25898         (gst_basesink_preroll_queue_empty),
25899         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
25900         (gst_basesink_event), (gst_basesink_do_sync),
25901         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
25902         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
25903         (gst_basesink_change_state):
25904         Reworked the base sink, handle event and buffer serialisation
25905         correctly and removed possible deadlock.
25906         Handle EOS correctly.
25907
25908 2005-06-25  Wim Taymans  <wim@fluendo.com>
25909
25910         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
25911         (gst_pipeline_change_state):
25912         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25913         Allow elements to post EOS in the state change function.
25914         Fix up -launch, make it exit the poll loop when the
25915         pipeline actually changed state.
25916         Fix up warning parsing in -launch.
25917
25918 2005-06-25  Wim Taymans  <wim@fluendo.com>
25919
25920         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
25921         (gst_tee_sink_activate):
25922         Core takes STREAM_LOCK for us now.
25923
25924 2005-06-25  Wim Taymans  <wim@fluendo.com>
25925
25926         * gst/gstelement.c: (gst_element_get_state_func),
25927         (gst_element_set_state):
25928         * gst/gstelement.h:
25929         * gst/gstmessage.c: (gst_message_parse_error),
25930         (gst_message_parse_warning):
25931         Keep track of current target state while performing a state
25932         change so that subclasses can do something interesting.
25933         Fix parsing of warning/error messages when GError is NULL.
25934
25935 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
25936
25937         * docs/gst/Makefile.am:
25938         * docs/gst/gstreamer-docs.sgml:
25939         * docs/gst/gstreamer-sections.txt:
25940         * docs/gst/gstreamer.types:
25941         * docs/gst/tmpl/gstbasesink.sgml:
25942         * docs/gst/tmpl/gstbasesrc.sgml:
25943         * docs/gst/tmpl/gstbin.sgml:
25944         * docs/gst/tmpl/gstcompat.sgml:
25945         * docs/gst/tmpl/gstfakesink.sgml:
25946         * docs/gst/tmpl/gstfakesrc.sgml:
25947         * docs/gst/tmpl/gstfilesink.sgml:
25948         * docs/gst/tmpl/gstfilesrc.sgml:
25949         * docs/gst/tmpl/gstindex.sgml:
25950         * docs/manual/appendix-quotes.xml:
25951         * gst/base/gstbasesrc.h:
25952         * gst/elements/gstfakesrc.h:
25953         * gst/gstmessage.h:
25954           start pulling in base classes and elements in our docs
25955
25956 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
25957
25958         * docs/gst/Makefile.am:
25959         * docs/libs/Makefile.am:
25960           fixed make distcheck with gtk-doc 1.3
25961
25962 2005-06-23  Wim Taymans  <wim@fluendo.com>
25963
25964         * gst/gstelement.c: (gst_element_get_state_func),
25965         (gst_element_set_state), (gst_element_change_state):
25966         When the state did not change, also report NO_PREROLL
25967         when it matters.
25968
25969 2005-06-23  Wim Taymans  <wim@fluendo.com>
25970
25971         * gst/gstpad.c: (gst_pad_event_default):
25972         * gst/gstqueue.c: (gst_queue_loop):
25973         No unsafe task pausing please.
25974
25975 2005-06-23  Wim Taymans  <wim@fluendo.com>
25976
25977         * gst/schedulers/threadscheduler.c:
25978         (gst_thread_scheduler_task_start),
25979         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
25980         Ref the task before pushing it on the threadpool. This
25981         makes sure that we have a ref when the threadfunction is
25982         actually called.
25983
25984 2005-06-23  Andy Wingo  <wingo@pobox.com>
25985
25986         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
25987         offset is greater than the file's size.
25988
25989         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
25990         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
25991         * gst/gstobject.c (gst_object_class_init): Make the class lock
25992         recursive. Wim won't let me drop deep_notify. Decodebin works
25993         again, whoopdy doo.
25994
25995         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
25996         internal pad, and hacks accordingly. Doesn't do it on the target
25997         pad because we change its caps. Probably catches all cases of
25998         interest tho.
25999         (gst_ghost_pad_set_property): Connect to notify::caps as
26000         appropritate.
26001
26002         * tests/network-clock.scm (plot-simulation): Pipe data to the
26003         elite python skript.
26004
26005         * tests/network-clock-utils.scm (define-parameter): New macro,
26006         defines a parameter that can be set via the command line.
26007         (set-parameter!, parse-parameter-arguments): Command line args
26008         parser.
26009
26010         * tests/plot-data: Simple matplotlib-based plotter, takes input on
26011         stdin.
26012
26013 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
26014
26015         * gst/elements/gsttypefindelement.c:
26016         (gst_type_find_element_handle_event):
26017           Don't restart typefinding on a discont.
26018         * gst/gstelement.c: (gst_element_set_state):
26019           Debug spelling fix.
26020         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
26021           Allow changing mode of an active pad.
26022           Debug output fixes.
26023         * gst/registries/gstlibxmlregistry.c: (load_feature):
26024           Don't cast a static pad template to a normal pad template.
26025
26026 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26027
26028         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26029         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26030           remove gst_strtoll completely, since it didn't actually do
26031           anything more than what g_ascii_strtoull already does.
26032           check for range errors when deserializing
26033           do a cast for the unsigned cases; but further fixing needs
26034           a decision on what the interpretation of "(int)" and
26035           deserialization should be for values that fall outside the
26036           type's boundaries (ie, refuse, or interpret as casting)
26037
26038 2005-06-23  Wim Taymans  <wim@fluendo.com>
26039
26040         * check/Makefile.am:
26041         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
26042         * docs/design/part-live-source.txt:
26043         * docs/design/part-states.txt:
26044         * gst/base/gstbasesrc.c: (gst_basesrc_init),
26045         (gst_basesrc_set_live), (gst_basesrc_is_live),
26046         (gst_basesrc_get_range), (gst_basesrc_activate),
26047         (gst_basesrc_change_state):
26048         * gst/base/gstbasesrc.h:
26049         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26050         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
26051         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
26052         * gst/gstelement.c: (gst_element_get_state_func),
26053         (gst_element_set_state):
26054         * gst/gstelement.h:
26055         * gst/gsttypes.h:
26056         * tools/gst-launch.c: (event_loop), (main):
26057         Added support for live sources and other elements that
26058         cannot do preroll.
26059         Updated design docs, added live-source design doc.
26060         Implemented live source functionality in basesrc
26061         Fix error condition in _bin_get_state()
26062         Implement live source handling in -launch.
26063         Added check for live sources.
26064         Fixed case in GstBin where elements were changed state
26065         multiple times.
26066
26067
26068 2005-06-23  Andy Wingo  <wingo@pobox.com>
26069
26070         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
26071         borken refcounting.
26072
26073         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
26074         gst_caps_replace takes care of this for us.
26075
26076         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
26077         gst_pad_set_caps on the target, not just its setcaps() function.
26078
26079         * tests/network-clock.scm: 
26080         * tests/network-clock-utils.scm: A network clock simulator.
26081         Something of an algorithmic testbed before doing something in C.
26082
26083 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26084
26085         * check/Makefile.am:
26086         * check/gst/capslist.h:
26087           copy over from 0.8, and add two with bitmasks specified with
26088           (int) 0xFF...
26089         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26090           add test to parse everything from capslist.h
26091         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
26092         (main):
26093           add test for structure deserialization
26094         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26095           add tests for deserialization of strings to int types
26096         * gst/gststructure.c: (gst_structure_nth_field_name):
26097         * gst/gststructure.h:
26098           add a way to get the name of a field referenced by index
26099         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
26100           instead of checking if the resulting long long lies between
26101           min and max, we check if the long long would fit into
26102           a number of bytes for the final type.
26103           This fixes cases where a string represents 2^32 - 1, which
26104           when cast to int would be the (valid) -1, but is bigger than
26105           G_MAXINT
26106
26107 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26108
26109         * gst/parse/grammar.y:
26110           add a log line for type deserialization
26111
26112 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26113
26114         * check/gst/gstvalue.c: (START_TEST):
26115         * gst/gstvalue.c: (gst_value_deserialize):
26116           return long long, not int, so gint64 deserialization actually
26117           works.  Is there any flag that makes the compiler check this ?
26118           Fixes #308559
26119
26120 2005-06-22  Wim Taymans  <wim@fluendo.com>
26121
26122         * gst/gstbuffer.h:
26123         Added convenience macros for setting buffers in GValue.
26124
26125 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26126
26127         * check/gst/.cvsignore:
26128         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
26129           add a test deserializing int64, and comment part out because
26130           it fails, yay !
26131
26132 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
26133
26134         * check/Makefile.am:
26135         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
26136         * testsuite/Makefile.am:
26137         * testsuite/caps/Makefile.am:
26138         * testsuite/caps/value_serialize.c:
26139         * testsuite/test_gst_init.c:
26140           move a value_serialize test over
26141
26142 2005-06-20  Wim Taymans  <wim@fluendo.com>
26143
26144         * gst/gstpad.c:
26145         Small doc updates.
26146         
26147         * gst/gstvalue.c: (gst_value_compare_buffer),
26148         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
26149         (gst_value_compare_flags), (gst_value_serialize_flags),
26150         (gst_value_deserialize_flags), (_gst_value_initialize):
26151         Fix serialisation of buffers, they are not boxed types anymore
26152
26153 2005-06-20  Wim Taymans  <wim@fluendo.com>
26154
26155         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
26156         Testcase to show error in buffer-on-caps serialisation.
26157
26158 2005-06-20  Andy Wingo  <wingo@pobox.com>
26159
26160         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
26161         will be adding to later.
26162
26163         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
26164         if its socks fill with rocks.
26165         (gst_system_clock_obtain): Set the name on object construction.
26166         Avoid double-checked locking.
26167
26168 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
26169
26170         * gst/gsturi.c: (gst_element_make_from_uri):
26171           Fix potential endless loop.
26172
26173 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26174
26175         * check/Makefile.am:
26176           add gsttag
26177         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
26178         (main):
26179           move over from testsuite dir and clean up
26180         * configure.ac:
26181         * gst/gsttag.c:
26182         * testsuite/Makefile.am:
26183         * testsuite/tags/.cvsignore:
26184         * testsuite/tags/Makefile.am:
26185         * testsuite/tags/merge.c:
26186           remove testsuite/tags
26187
26188 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26189
26190         * docs/gst/gstreamer-sections.txt:
26191         * docs/gst/tmpl/gstenumtypes.sgml:
26192         * win32/gstenumtypes.c:
26193           clean up documentation build a little
26194
26195 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26196
26197         * check/gstcheck.h:
26198           add macros for checking refcounts on objects and caps
26199         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
26200           add some more unit tests
26201         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
26202         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
26203           fix leaked refcounts (I hope :)) so unittest works
26204         * gst/gstpad.h:
26205           whitespace removal
26206
26207 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
26208
26209         * configure.ac: back to HEAD
26210
26211 === release 0.9.1 ===
26212
26213 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26214
26215         * NEWS:
26216         * RELEASE:
26217           updated
26218
26219 2005-06-17  Andy Wingo  <wingo@pobox.com>
26220
26221         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
26222         assert; it's always possible that the pad gets deactivated in
26223         between the checks in gstpad.c and the implementation. Rely on
26224         finish_preroll() to return a FLUSHING or similar instead of on the
26225         assert.
26226         
26227         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
26228         clock and post an EOS message if we come out of finish_preroll in
26229         the playing state.
26230
26231 2005-06-16  David Schleef  <ds@schleef.org>
26232
26233         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
26234         (gst_capsfilter_set_property): Allow NULL as possible value
26235         for filter_caps property, indicating GST_CAPS_ANY.
26236
26237 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26238
26239         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
26240           fix debug output
26241         * gst/schedulers/Makefile.am:
26242           use libgst prefix
26243         * gstreamer.spec.in:
26244           fix spec for it
26245
26246 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26247
26248         * gstreamer.spec.in:
26249           clean up
26250
26251 2005-06-08  Andy Wingo  <wingo@pobox.com>
26252
26253         * gst/gstutils.c: RPAD fixes all around.
26254         (gst_element_link_pads): Refcounting fixes.
26255
26256         * tools/gst-inspect.c:
26257         * tools/gst-xmlinspect.c:
26258         * parse/grammar.y:
26259         * gst/base/gsttypefindhelper.c:
26260         * gst/base/gstbasesink.c:
26261         * gst/gstqueue.c: RPAD fixes.
26262
26263         * gst/gstghostpad.h:
26264         * gst/gstghostpad.c: New ghost pad implementation as full proxy
26265         pads. The tricky thing is they provide both source and sink
26266         interfaces, since they proxy the internal pad for the external
26267         pad, and vice versa. Implement with lower-level ProxyPad objects,
26268         with the interior proxy pad as a child of the exterior ghost pad.
26269         Should write a doc on this.
26270         
26271         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
26272         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
26273         gst_object API.
26274         
26275         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
26276         pads are real pads. No ghost pads in this file. Not documenting
26277         the myriad s/RPAD/PAD/ and REALIZE fixes.
26278         (gst_pad_class_init): Add properties for "direction" and
26279         "template". Both are construct-only, so they can't change during
26280         the life of the pad. Fixes properly deriving from GstPad.
26281         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
26282         derived objects, just set properties when creating the objects via
26283         g_object_new.
26284         (gst_pad_get_parent): Implement as a function, return NULL if the
26285         parent is not an element.
26286         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
26287         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
26288         
26289         * gst/gstobject.c (gst_object_class_init): Make name a construct
26290         property. Don't set it in the object init.
26291
26292         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
26293         with UNKNOWN direction.
26294         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
26295         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
26296         (gst_element_remove_pad): Remove ghost-pad special cases.
26297         (gst_element_pads_activate): Remove rpad cruft.
26298
26299         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
26300         catch the pad's-parent-not-an-element case.
26301
26302         * gst/gst.h: Include gstghostpad.h.
26303
26304         * gst/gst.c (init_post): No more real, ghost pads.
26305
26306         * gst/Makefile.am: Add gstghostpad.[ch].
26307
26308         * check/Makefile.am:
26309         * check/gst/gstbin.c:
26310         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
26311         into a bin creates ghost pads, and that the refcounts are right.
26312         Partly moved from gstbin.c.
26313
26314 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26315
26316         * check/gst-libs/.cvsignore:
26317         * check/gst/.cvsignore:
26318         * check/pipelines/.cvsignore:
26319           ignore more
26320         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
26321         (START_TEST), (cleanup_suite), (main):
26322           add some tests related to cleanup after running pipelines
26323
26324 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26325
26326         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
26327           add a testsuite for GstBuffer
26328
26329 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26330
26331         * gst/gstminiobject.h:
26332           add defines for accessing the refcount
26333
26334 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
26335
26336         * Makefile.am: added support for html unit test coverage reports
26337
26338 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
26339
26340         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
26341           Free existing caps if the capsfilter changes. Add a FIXME about
26342           setting those caps on the pads.
26343
26344         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
26345           Before adding a ghost pad to a parent bin, check that there isn't
26346           already one for the element on the bin. Prevents infinite recursion
26347           when using decodebin in parse pipelines. Andy says he'll rewrite the
26348           way this works anyway, so ignore the hack.
26349
26350 2005-06-02  Andy Wingo  <wingo@pobox.com>
26351
26352         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
26353         file size, pass it on to the type find helper.
26354
26355         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
26356         segment_start and segment_end properly according to the seek
26357         method. Segment_end is still a bit flaky because offset can be
26358         negative for CUR and END cases, but it takes -1 as an "unset"
26359         value.
26360
26361 2005-06-02  Wim Taymans  <wim@fluendo.com>
26362
26363         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
26364         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
26365         (gst_basesink_activate):
26366         * gst/base/gstbasesink.h:
26367         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26368         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26369         (gst_pad_query), (gst_pad_start_task):
26370         * gst/gstpad.h:
26371         * gst/gstqueue.c: (gst_queue_bufferalloc),
26372         (gst_queue_handle_sink_event), (gst_queue_chain):
26373         Bufferalloc: return GstFlowReturn to more accuratly report
26374         why allocation failed.
26375
26376 2005-06-02  Wim Taymans  <wim@fluendo.com>
26377
26378         * gst/gstpipeline.c: (gst_pipeline_send_event):
26379         Take snapshot of state without blocking.
26380
26381 2005-06-02  Wim Taymans  <wim@fluendo.com>
26382
26383         * docs/design/part-TODO.txt:
26384         * docs/design/part-caps.txt:
26385         * docs/design/part-clocks.txt:
26386         * docs/design/part-negotiation.txt:
26387         * docs/design/part-preroll.txt:
26388         Small doc updates 
26389
26390 2005-05-30  Wim Taymans  <wim@fluendo.com>
26391
26392         * gst/elements/gstidentity.c: (gst_identity_event),
26393         (gst_identity_transform), (gst_identity_get_property):
26394         Protect last_message property as it is accessed from
26395         multiple threads.
26396
26397 2005-05-30  Wim Taymans  <wim@fluendo.com>
26398
26399         * gst/gstelement.c: (gst_element_init),
26400         (gst_element_pads_activate), (gst_element_change_state):
26401         Slicker pad activation code.
26402
26403 2005-05-30  Wim Taymans  <wim@fluendo.com>
26404
26405         * gst/Makefile.am:
26406         * gst/gstelement.h:
26407         * gst/gstelementfactory.h:
26408         * gst/gsttypes.h:
26409         Move elementfactory methods to separate .h file.
26410
26411 2005-05-30  Wim Taymans  <wim@fluendo.com>
26412
26413         * docs/design/part-overview.txt:
26414         * gst/gstsystemclock.h:
26415         Small typo fixes, doc updates.
26416
26417 2005-05-30  Wim Taymans  <wim@fluendo.com>
26418
26419         * gst/gst.c: (gst_init_get_popt_table), (init_post),
26420         (init_popt_callback):
26421         Remove cpu-opt flag.
26422
26423 2005-05-30  Wim Taymans  <wim@fluendo.com>
26424
26425         * gst/gstbuffer.c: (gst_subbuffer_finalize),
26426         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
26427         * gst/gstbuffer.h:
26428         Avoid typechecking in places where not needed.
26429         Added accessor for malloc_data.
26430
26431 2005-05-30  Wim Taymans  <wim@fluendo.com>
26432
26433         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
26434         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
26435         (gst_pad_configure_sink), (gst_pad_configure_src),
26436         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
26437         (gst_pad_start_task):
26438         Propagate errors from _set_caps() in configure_src/sink
26439         functions instead of returning TRUE.
26440         FLUSH events can travel up and downstream
26441
26442
26443 2005-05-30  Wim Taymans  <wim@fluendo.com>
26444
26445         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26446         (gst_basesink_activate):
26447         Handle EOS in preroll.
26448
26449 2005-05-30  Wim Taymans  <wim@fluendo.com>
26450
26451         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26452         (gst_queue_loop), (gst_queue_handle_src_event):
26453         Remove old pieces of code
26454         Flushing the queue in an upstream event is a very bad idea.
26455
26456 2005-05-26  Andy Wingo  <wingo@pobox.com>
26457
26458         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
26459         gst_value_set_mini_object so as to add a ref on the object (which
26460         will be removed when the value is unset).
26461
26462         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
26463         arg type in ::handoff.
26464
26465         * gst/gstelement.c (gst_element_change_state): Also deactivate
26466         pads in READY->NULL, just in case the element didn't make it to
26467         PAUSED. Wingo tested, Wim approved.
26468
26469 2005-05-26  Wim Taymans  <wim@fluendo.com>
26470
26471         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26472         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
26473         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
26474         A flushing pad cannot be used to alloc_buffer from.
26475
26476 2005-05-26  Wim Taymans  <wim@fluendo.com>
26477
26478         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
26479         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
26480         (gst_bus_source_dispatch), (gst_bus_source_finalize),
26481         (gst_bus_create_watch), (gst_bus_add_watch_full):
26482         * gst/gstbus.h:
26483         Implement a real GSource and use g_main_context_wakeup() to
26484         signal new messages instead of the socketpair.
26485
26486 2005-05-25  Wim Taymans  <wim@fluendo.com>
26487
26488         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
26489         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
26490         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
26491         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
26492         (gst_pad_send_event), (gst_pad_start_task):
26493         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
26494         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
26495         (gst_queue_sink_activate), (gst_queue_src_activate),
26496         (gst_queue_change_state):
26497         * gst/gstqueue.h:
26498         Fix state changes for non sinks. We now change sinks, then elements
26499         with unconnected srcpads, then the rest.
26500         More efficient queue unlocking in flush and state changes.
26501         Set the pad activate mode even if it does not have an activate
26502         function.
26503
26504 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26505
26506         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
26507           Don't go in pull mode for non-seekable sources.
26508         * gst/elements/gsttypefindelement.h:
26509         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
26510         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
26511         (free_entry), (stop_typefinding),
26512         (gst_type_find_element_handle_event), (find_peek),
26513         (gst_type_find_element_chain), (do_pull_typefind),
26514         (gst_type_find_element_change_state):
26515           Allow typefinding (w/o seeking) in push-mode, simplified version
26516           of what was in 0.8.
26517         * gst/gstutils.c: (gst_buffer_join):
26518         * gst/gstutils.h:
26519           gst_buffer_join() from 0.8.
26520
26521 2005-05-25  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_query),
26525         (gst_pad_send_event), (gst_pad_start_task):
26526         Disable attempt at mode switching until it is figured out.
26527
26528 2005-05-25  Wim Taymans  <wim@fluendo.com>
26529
26530         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
26531         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
26532         (gst_basesink_finish_preroll), (gst_basesink_chain),
26533         (gst_basesink_loop), (gst_basesink_activate),
26534         (gst_basesink_change_state):
26535         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
26536         (gst_basesrc_get_range), (gst_basesrc_loop),
26537         (gst_basesrc_activate):
26538         * gst/elements/gsttee.c: (gst_tee_sink_activate):
26539         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26540         (gst_real_pad_init), (gst_real_pad_set_property),
26541         (gst_real_pad_get_property), (gst_pad_set_active),
26542         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
26543         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
26544         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
26545         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
26546         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26547         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
26548         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
26549         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26550         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
26551         (gst_pad_stop_task):
26552         * gst/gstpad.h:
26553         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
26554         (gst_queue_loop), (gst_queue_src_activate):
26555         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
26556         (gst_task_get_state):
26557         * gst/gsttask.h:
26558         * gst/schedulers/threadscheduler.c:
26559         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
26560         Implement gst_pad_pause/start/stop_task(), take STREAM lock
26561         in task function.
26562         Remove ACTIVE pad flag, use FLUSHING everywhere
26563         Added _pad_chain(), _pad_get_range() to call chain/getrange 
26564         functions.
26565         Add locks around IS_FLUSHING when reading.
26566         Take STREAM lock in chain(), get_range() functions so plugins
26567         don't need to take it anymore.
26568         
26569
26570
26571 2005-05-25  Wim Taymans  <wim@fluendo.com>
26572
26573         * tools/gst-launch.c: (event_loop):
26574         Unref message after using its contents instead of
26575         before.
26576
26577 2005-05-24  Wim Taymans  <wim@fluendo.com>
26578
26579         * docs/design/draft-ghostpads.txt:
26580         * docs/design/draft-push-pull.txt:
26581         * docs/design/draft-query.txt:
26582         * docs/design/part-overview.txt:
26583         Docs updates, added general overview doc.
26584
26585 2005-05-21  David Schleef  <ds@schleef.org>
26586
26587         * docs/gst/tmpl/old/GstBin.sgml:
26588         * docs/gst/tmpl/old/GstBuffer.sgml:
26589         * docs/gst/tmpl/old/GstCaps.sgml:
26590         * docs/gst/tmpl/old/GstClock.sgml:
26591         * docs/gst/tmpl/old/GstCompat.sgml:
26592         * docs/gst/tmpl/old/GstData.sgml:
26593         * docs/gst/tmpl/old/GstElement.sgml:
26594         * docs/gst/tmpl/old/GstEvent.sgml:
26595         * docs/gst/tmpl/old/GstIndex.sgml:
26596         * docs/gst/tmpl/old/GstStructure.sgml:
26597         * docs/gst/tmpl/old/GstTag.sgml:
26598         * docs/gst/tmpl/old/cothreads.sgml:
26599         * docs/gst/tmpl/old/cothreads_compat.sgml:
26600         * docs/gst/tmpl/old/gettext.sgml:
26601         * docs/gst/tmpl/old/gobject2gtk.sgml:
26602         * docs/gst/tmpl/old/grammar.tab.sgml:
26603         * docs/gst/tmpl/old/gst-i18n-app.sgml:
26604         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
26605         * docs/gst/tmpl/old/gst_private.sgml:
26606         * docs/gst/tmpl/old/gstaggregator.sgml:
26607         * docs/gst/tmpl/old/gstarch.sgml:
26608         * docs/gst/tmpl/old/gstatomic_impl.sgml:
26609         * docs/gst/tmpl/old/gstbufferstore.sgml:
26610         * docs/gst/tmpl/old/gstdata_private.sgml:
26611         * docs/gst/tmpl/old/gstdisksink.sgml:
26612         * docs/gst/tmpl/old/gstdisksrc.sgml:
26613         * docs/gst/tmpl/old/gstelementfactory.sgml:
26614         * docs/gst/tmpl/old/gstextratypes.sgml:
26615         * docs/gst/tmpl/old/gstfakesink.sgml:
26616         * docs/gst/tmpl/old/gstfakesrc.sgml:
26617         * docs/gst/tmpl/old/gstfdsink.sgml:
26618         * docs/gst/tmpl/old/gstfdsrc.sgml:
26619         * docs/gst/tmpl/old/gstfilesink.sgml:
26620         * docs/gst/tmpl/old/gstfilesrc.sgml:
26621         * docs/gst/tmpl/old/gsthttpsrc.sgml:
26622         * docs/gst/tmpl/old/gstidentity.sgml:
26623         * docs/gst/tmpl/old/gstindexfactory.sgml:
26624         * docs/gst/tmpl/old/gstmarshal.sgml:
26625         * docs/gst/tmpl/old/gstmd5sink.sgml:
26626         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
26627         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
26628         * docs/gst/tmpl/old/gstpadtemplate.sgml:
26629         * docs/gst/tmpl/old/gstpipefilter.sgml:
26630         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
26631         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
26632         * docs/gst/tmpl/old/gstshaper.sgml:
26633         * docs/gst/tmpl/old/gstspider.sgml:
26634         * docs/gst/tmpl/old/gstspideridentity.sgml:
26635         * docs/gst/tmpl/old/gststatistics.sgml:
26636         * docs/gst/tmpl/old/gsttee.sgml:
26637         * docs/gst/tmpl/old/gsttimecache.sgml:
26638         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
26639         * docs/gst/tmpl/old/gstxmlregistry.sgml:
26640         * docs/gst/tmpl/old/gthread-cothreads.sgml:
26641         * docs/gst/tmpl/old/types.sgml:
26642           I didn't intend to add these or check them in.
26643
26644 2005-05-19  David Schleef  <ds@schleef.org>
26645
26646         * configure.ac: Use -no-common everywhere.  In a sane world, it
26647           would be the default in libtool, because without it, you can't
26648           build DLLs on Windows.
26649         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
26650         * docs/gst/gstreamer-sections.txt:
26651         * docs/gst/tmpl/gstcpu.sgml:
26652         * docs/gst/tmpl/gstdata.sgml:
26653         * docs/gst/tmpl/gstthread.sgml:
26654
26655 2005-05-19  David Schleef  <ds@schleef.org>
26656
26657         * gst/gstminiobject.c: (gst_value_set_mini_object),
26658         (gst_value_take_mini_object), (gst_value_get_mini_object):
26659         * gst/gstminiobject.h: Add GValue set/get functions.
26660
26661 2005-05-19  Wim Taymans  <wim@fluendo.com>
26662
26663         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
26664         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
26665         (gst_subbuffer_init), (gst_buffer_is_span_fast):
26666         * gst/gstbuffer.h:
26667         * gst/gstbus.c: (gst_bus_post):
26668         * gst/gstelement.c: (gst_element_get_random_pad):
26669         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
26670         Make subbufer unref the parent in finalize.
26671         some more debugging info.
26672
26673
26674 2005-05-19  Wim Taymans  <wim@fluendo.com>
26675
26676         * gst/base/gstbasesink.c: (gst_basesink_class_init),
26677         (gst_basesink_init), (gst_basesink_finalize),
26678         (gst_basesink_activate), (gst_basesink_change_state):
26679         Don't free preroll queue too early.
26680
26681 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26682
26683         * gst/Makefile.am:
26684         * gst/ROADMAP:
26685           Hi, I'm outdated. Please shoot me.
26686
26687 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26688
26689         * gst/gstpipeline.c: (gst_pipeline_send_event):
26690           Do not access variables after they have been deleted.
26691
26692 2005-05-19  Wim Taymans  <wim@fluendo.com>
26693
26694         * tools/gst-inspect.c: (print_plugin_features):
26695         A plugin feature does unfortunatly not use the
26696         object name yet...
26697
26698 2005-05-18  Wim Taymans  <wim@fluendo.com>
26699
26700         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
26701         Port _span() functions to new subbuffers.
26702
26703 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26704
26705         * gst/gstbin.c: (gst_bin_add_func):
26706           Fix clock settery in bins when adding kids after the clock has
26707           been selected.
26708
26709 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26710
26711         * gst/elements/gstidentity.c: (gst_identity_class_init):
26712           Workaround until signals support GstMiniObject.
26713
26714 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
26715
26716         * gst/gstbuffer.c:
26717         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
26718
26719 2005-05-18  Wim Taymans  <wim@fluendo.com>
26720
26721         * gst/base/Makefile.am:
26722         * gst/base/gstadapter.c: (gst_adapter_base_init),
26723         (gst_adapter_class_init), (gst_adapter_init),
26724         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
26725         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
26726         (gst_adapter_flush), (gst_adapter_available),
26727         (gst_adapter_available_fast):
26728         * gst/base/gstadapter.h:
26729         Ported and added adapter to the base classes.
26730
26731 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
26732
26733         * gst/gst.c:
26734         * gst/gstmessage.c:
26735           Make sure the class is reffed/unreffed once before threads can be
26736           used.  Fixes #304551.
26737
26738 2005-05-17  Wim Taymans  <wim@fluendo.com>
26739
26740         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
26741         (gst_basesink_chain_unlocked), (gst_basesink_activate):
26742         * gst/gstminiobject.c: (gst_mini_object_get_type),
26743         (gst_mini_object_free):
26744         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
26745         (gst_pad_push), (gst_pad_push_event):
26746         * gst/gstqueue.c: (gst_queue_change_state):
26747         Don't queue buffers in basesink when we are flushing.
26748         Unref buffer when flushing in basesink.
26749         Flush queue when going to READY
26750         Unref buffer when _push() returns an error.
26751         Don't free MiniObject instance when refcount is incremented
26752         in _finalize() so that we can recover objects.
26753
26754 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
26755
26756         * docs/manual/advanced-schedulers.xml:
26757         * docs/manual/appendix-checklist.xml:
26758         * docs/pwg/advanced-clock.xml:
26759         * docs/pwg/advanced-interfaces.xml:
26760         * docs/pwg/advanced-request.xml:
26761         * docs/pwg/advanced-types.xml:
26762         * docs/pwg/intro-preface.xml:
26763         * examples/plugins/example.c: (gst_example_get_type),
26764         (gst_example_class_init), (gst_example_chain),
26765         (gst_example_set_property), (gst_example_get_property),
26766         (gst_example_change_state), (plugin_init):
26767         * examples/plugins/example.h:
26768           small doc fixes
26769
26770 2005-05-17  Wim Taymans  <wim@fluendo.com>
26771
26772         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
26773         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
26774         * gst/gstqueue.c: (gst_queue_change_state):
26775         Clear queue when going to READY.
26776         Remove IN_SETCAPS flag too.
26777
26778 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
26779
26780         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
26781           Remove implicit cast from gboolean to GstElementStateReturn;
26782           make sure we still return failure in paused => ready case if
26783           the parent class fails to change state and our own stop 
26784           vfunc succeeds.
26785
26786 2005-05-17  Wim Taymans  <wim@fluendo.com>
26787
26788         * tools/gst-launch.c: (event_loop):
26789         Message was unreffed too soon.
26790
26791 2005-05-16  Andy Wingo  <wingo@pobox.com>
26792
26793         * gst/gstbin.c (sink_iterator_filter): Err... um...
26794
26795         * check/gst/gstbin.c (test_ghost_pads): New test for the
26796         ghosting-if-elements-not-in-same-bin behavior.
26797
26798 2005-05-16  David Schleef  <ds@schleef.org>
26799
26800         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
26801         accessing refcount directly.
26802
26803 2005-05-15  David Schleef  <ds@schleef.org>
26804
26805         * check/Makefile.am: remove GstData checks
26806         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
26807         * gst/Makefile.am: add miniobject, remove data
26808         * gst/gst.h: add miniobject, remove data
26809         * gst/gstdata.c: remove
26810         * gst/gstdata.h: remove
26811         * gst/gstdata_private.h: remove
26812         * gst/gsttypes.h: remove GstEvent and GstMessage
26813         * gst/gstelement.c: (gst_element_post_message): fix for API changes
26814         * gst/gstmarshal.list: change BOXED -> OBJECT
26815
26816         Implement GstMiniObject.
26817         * gst/gstminiobject.c:
26818         * gst/gstminiobject.h:
26819
26820         Modify to be subclasses of GstMiniObject.
26821         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
26822         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
26823         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
26824         (gst_subbuffer_get_type), (gst_subbuffer_init),
26825         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
26826         (gst_buffer_span):
26827         * gst/gstbuffer.h:
26828         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
26829         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
26830         (_gst_event_copy), (gst_event_new):
26831         * gst/gstevent.h:
26832         * gst/gstmessage.c: (_gst_message_initialize),
26833         (gst_message_get_type), (gst_message_class_init),
26834         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
26835         (gst_message_new), (gst_message_new_error),
26836         (gst_message_new_warning), (gst_message_new_tag),
26837         (gst_message_new_state_changed), (gst_message_new_application):
26838         * gst/gstmessage.h:
26839         * gst/gstprobe.c: (gst_probe_perform),
26840         (gst_probe_dispatcher_dispatch):
26841         * gst/gstprobe.h:
26842         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
26843         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
26844         (_gst_query_copy), (gst_query_new):
26845
26846         Update elements for GstData -> GstMiniObject changes
26847         * gst/gstquery.h:
26848         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
26849         (gst_queue_chain), (gst_queue_loop):
26850         * gst/elements/gstbufferstore.c:
26851         (gst_buffer_store_add_buffer_func),
26852         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
26853         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
26854         (gst_fakesink_render):
26855         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26856         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
26857         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
26858         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
26859         (gst_filesrc_create_read):
26860         * gst/elements/gstidentity.c: (gst_identity_class_init):
26861         * gst/elements/gsttypefindelement.c:
26862         (gst_type_find_element_src_event), (free_entry_buffers),
26863         (gst_type_find_element_handle_event):
26864         * libs/gst/dataprotocol/dataprotocol.c:
26865         (gst_dp_header_from_buffer):
26866         * libs/gst/dataprotocol/dataprotocol.h:
26867         * libs/gst/dataprotocol/dp-private.h:
26868
26869 2005-05-15  David Schleef  <ds@schleef.org>
26870
26871         * gst/elements/gstelements.c: Don't include headers that were
26872         just removed.
26873
26874 2005-05-15  David Schleef  <ds@schleef.org>
26875
26876         * gst/elements/Makefile.am: Remove some elements that don't
26877         need to be in the core (or even exist at all).
26878         * gst/elements/gstaggregator.c:
26879         * gst/elements/gstaggregator.h:
26880         * gst/elements/gstmd5sink.c:
26881         * gst/elements/gstmd5sink.h:
26882         * gst/elements/gstmultifilesrc.c:
26883         * gst/elements/gstmultifilesrc.h:
26884         * gst/elements/gstpipefilter.c:
26885         * gst/elements/gstpipefilter.h:
26886         * gst/elements/gstshaper.c:
26887         * gst/elements/gstshaper.h:
26888         * gst/elements/gststatistics.c:
26889         * gst/elements/gststatistics.h:
26890         * po/POTFILES.in: Remove above files.
26891
26892 2005-05-14  Andy Wingo  <wingo@pobox.com>
26893
26894         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
26895         so as to get the refs right.
26896         (sink_iterator_filter): New function, wraps bin_element_is_sink,
26897         unreffing objects that don't pass the filter.
26898
26899         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
26900         gst_element_set_bus.
26901         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
26902         normal cases, this will destroy the bus.
26903
26904         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
26905         object.
26906
26907         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
26908         has no sinks.
26909
26910 2005-05-13  Andy Wingo  <wingo@pobox.com>
26911
26912         * gst/gstutils.c (gst_element_link_pads): Instead of calling
26913         gst_pad_link, call pad_link_maybe_ghosting,
26914         (pad_link_maybe_ghosting): Links pads, making sure that the
26915         elements being linked are in the same bin.
26916         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
26917         Helpers for pad_link_maybe_ghosting.
26918
26919 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26920
26921         * configure.ac:
26922           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
26923
26924 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
26925
26926         * docs/design/part-element-source.txt:
26927           Mention GstPushSrc
26928
26929 2005-05-12  Wim Taymans  <wim@fluendo.com>
26930
26931         * gst/base/gstbasesink.c: (gst_basesink_init),
26932         (gst_basesink_activate):
26933         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
26934         (gst_basesrc_is_seekable):
26935         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
26936         (bin_element_is_sink), (gst_bin_change_state):
26937         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26938         * gst/gstelement.h:
26939         Identify sinks by their flag to avoid overly complicated
26940         checks (fow now).
26941         Do state changes even for elements not reachable from the
26942         sinks.
26943         BaseSink is a sink now :)
26944         Some more debugging info in the basesrc.
26945
26946
26947 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26948
26949         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
26950           Implement _query on a bin, similar to _send_event.
26951
26952 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
26953
26954         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
26955           Discont event offset format should be GST_FORMAT_BYTES,
26956           not GST_FORMAT_TIME.
26957
26958 2005-05-12  Wim Taymans  <wim@fluendo.com>
26959
26960         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
26961         Same fix as Ronald's but without the signal. 
26962
26963 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26964
26965         * gst/gstutils.c: (gst_element_query_position):
26966           No, an element is not a pad.
26967
26968 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26969
26970         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
26971         (gst_bin_get_state):
26972           If a child is removed from a bin while we remove the child from
26973           the bin and while we're retrieving its state, signal this to the
26974           get_state function so we abort the wait (instead of waiting for
26975           a timeout) and can immediately re-iterate over all other elements.
26976
26977 2005-05-12  Wim Taymans  <wim@fluendo.com>
26978
26979         * gst/base/Makefile.am:
26980         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
26981         (gst_basesrc_start):
26982         * gst/base/gstbasesrc.h:
26983         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
26984         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
26985         (gst_pushsrc_init), (gst_pushsrc_create):
26986         * gst/base/gstpushsrc.h:
26987         Added is_seekable to BaseSrc
26988         Added simple PushSrc.
26989
26990 2005-05-11  Wim Taymans  <wim@fluendo.com>
26991
26992         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
26993         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26994         (gst_element_link_pads), (gst_element_query_position),
26995         (gst_element_query_convert), (intersect_caps_func),
26996         (gst_pad_query_position), (gst_pad_query_convert):
26997         Fix refcounting in utils function.
26998         No point in trying to activate a pad when it's added, it could
26999         be added from the state change function and then we deadlock, the
27000         element has to decide what to do.
27001
27002 2005-05-10  Andy Wingo  <wingo@pobox.com>
27003
27004         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
27005         *all* the arguments.
27006
27007         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
27008         stream lock if it's a FLUSH_DONE; normal flushes don't get the
27009         lock (according to the docs -- if this is wrong change the docs).
27010
27011         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
27012         flush messages in the NULL state.
27013
27014         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
27015         message immediately and return.
27016         (gst_bus_set_flushing): New function. If a bus is flushing, it
27017         flushes out any queued messages and immediately unrefs new
27018         messages. This is so when an element goes to NULL, all of the
27019         unhandled messages coming from it can be freed, and their
27020         references to the element dropped. In other words: message source
27021         ref considered harmful :P
27022
27023         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
27024         we're finished with it.
27025
27026         * gst/gstmessage.c (gst_message_new_state_changed): 
27027
27028 2005-05-10  Wim Taymans  <wim@fluendo.com>
27029
27030         * gst/gstvalue.c: (gst_value_compare_flags),
27031         (gst_value_serialize_flags), (gst_value_deserialize_flags),
27032         (_gst_value_initialize):
27033         Added flags serialize/deserialize/compare code.
27034
27035 2005-05-09  Andy Wingo  <wingo@pobox.com>
27036
27037         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
27038         Intersect the peer's caps with our caps.
27039
27040 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27041
27042         * gst/base/gsttypefindhelper.c: (helper_find_peek):
27043         * gst/elements/gsttypefindelement.c: (find_peek):
27044           Handle negative offsets better. Fixes decodebin.
27045
27046 2005-05-09  Wim Taymans  <wim@fluendo.com>
27047
27048         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
27049         (gst_base_transform_event):
27050         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
27051         Implement accept_caps.
27052         Fix silly lock/unlock mismatch in base class.
27053
27054 2005-05-09  Wim Taymans  <wim@fluendo.com>
27055
27056         * docs/design/draft-push-pull.txt:
27057         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
27058         * gst/elements/gstfilesink.c: (gst_filesink_init),
27059         (gst_filesink_query):
27060         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27061         (gst_type_find_handle_src_query), (find_element_get_length):
27062         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
27063         * gst/gstelement.h:
27064         * gst/gstmessage.c:
27065         * gst/gstmessage.h:
27066         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
27067         (gst_real_pad_get_caps_unlocked),
27068         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
27069         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27070         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
27071         (gst_real_pad_dispose), (gst_real_pad_finalize),
27072         (gst_pad_load_and_link), (gst_pad_save_thyself),
27073         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
27074         (gst_pad_check_pull_range), (gst_pad_pull_range),
27075         (gst_pad_template_get_type), (gst_pad_template_class_init),
27076         (gst_pad_template_init), (gst_pad_template_dispose),
27077         (name_is_valid), (gst_static_pad_template_get),
27078         (gst_pad_template_new), (gst_static_pad_template_get_caps),
27079         (gst_pad_template_get_caps), (gst_pad_set_element_private),
27080         (gst_pad_get_element_private), (gst_pad_start_task),
27081         (gst_pad_pause_task), (gst_pad_stop_task),
27082         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
27083         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
27084         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
27085         (gst_ghost_pad_new):
27086         * gst/gstpad.h:
27087         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
27088         (gst_query_new_position), (gst_query_set_position),
27089         (gst_query_parse_position), (gst_query_new_convert),
27090         (gst_query_set_convert), (gst_query_parse_convert):
27091         * gst/gstquery.h:
27092         * gst/gstqueryutils.c:
27093         * gst/gstqueryutils.h:
27094         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27095         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27096         (gst_queue_handle_src_query):
27097         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27098         (gst_element_query_position), (gst_element_query_convert),
27099         (intersect_caps_func), (gst_pad_query_position),
27100         (gst_pad_query_convert):
27101         * gst/gstutils.h:
27102         * tools/gst-inspect.c: (print_pad_info):
27103         * tools/gst-xmlinspect.c: (print_element_info):
27104         Remove old query functions. Ported old code.
27105         Added position/convert helper functions to gstutils.
27106         Reordered gstpad.c code, grouping relevant things.
27107         Remove gst_message_new(), always need to speficy a specific
27108         message.
27109
27110
27111 2005-05-09  Andy Wingo  <wingo@pobox.com>
27112
27113         * gst/gstiterator.h: Add some includes.
27114
27115         * gst/gstqueryutils.h: Include more headers.
27116
27117         * gst/gstpad.h:
27118         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
27119         some uses of gst_pad_query.
27120
27121         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
27122         NULL out parameters.
27123         (gst_query_new_position): New proc, allocates a new position
27124         query.
27125
27126         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
27127         gstqueryutils.c to the build.
27128
27129         * gst/gststructure.c (gst_structure_set_valist): Implement with
27130         the generic G_VALUE_COLLECT.
27131         
27132 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
27133
27134         * gst/Makefile.am: (gst_headers):
27135         Added gstqueryutils.h to the list of headers to install, that was
27136         a 'nachty' move wingo :)
27137
27138 2005-05-06  Andy Wingo  <wingo@pobox.com>
27139
27140         * gst/gstquery.h
27141         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
27142         GstData, init a memchunk.
27143         (standard_definitions): Add a few query types, deprecate a few.
27144         (gst_query_get_type): New proc.
27145         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
27146         implementation.
27147         (gst_query_new_application, gst_query_get_structure): New public
27148         procs.
27149
27150         * docs/design/draft-query.txt: Removed LINKS from the query types,
27151         because all the rest can be dispatched to other pads -- seemed
27152         ugly to have a query that couldn't be dispatched. internal_links
27153         is fine as a pad method.
27154
27155         * gst/gstpad.h: Add query2 as a pad method, add the new functions
27156         in gstpad.c, but maintain binary compatibility for the moment.
27157         Will fix before 0.9 is out.
27158
27159         * gst/gstqueryutils.c: 
27160         * gst/gstqueryutils.h: New files, implement 3 methods for each
27161         query type: parse_query, parse_response, and set. Probably need an
27162         allocator as well.
27163
27164         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
27165
27166         * gst/elements/gstfilesink.c (gst_filesink_query2):
27167         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
27168         query_types, and formats methods.
27169
27170         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
27171         (gst_pad_set_query2_function): New functions.
27172         (gst_real_pad_init): Set query2_default as the default query2
27173         function. Basically just dispatches to internally linked pads.
27174
27175         Needs review!
27176         
27177         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
27178         without using the atomic operations. Only one thread can possibly
27179         be accessing the data at this point. Changed so as to avoid
27180         gst_atomic operations.
27181
27182 2005-05-06  Wim Taymans  <wim@fluendo.com>
27183
27184         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
27185         Also set caps if we use the fallback buffer alloc.
27186
27187 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
27188
27189         * docs/gst/Makefile.am:
27190         * docs/gst/gstreamer-docs.sgml:
27191         * docs/gst/gstreamer-sections.txt:
27192         * docs/gst/tmpl/gstatomic.sgml:
27193         * docs/gst/tmpl/gstmemchunk.sgml:
27194         * testsuite/elements/struct_i386.h:
27195         * win32/GStreamer.vcproj:
27196         * win32/Makefile:
27197           Purge GstAtomic stuff from docs and win32 makefiles as well
27198
27199 2005-05-06  Wim Taymans  <wim@fluendo.com>
27200
27201         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
27202         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
27203         * gst/gstpad.c: (gst_pad_peer_get_caps):
27204         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
27205         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
27206         (gst_queue_src_activate), (gst_queue_change_state):
27207         * gst/gstqueue.h:
27208         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27209         (intersect_caps_func):
27210         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
27211         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
27212         Some fixes for the peer_get_caps() change.
27213
27214 2005-05-06  Wim Taymans  <wim@fluendo.com>
27215
27216         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27217         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
27218         (gst_basesink_activate):
27219         Actually do something with error codes returned from the push
27220         functions.
27221
27222 2005-05-06  Wim Taymans  <wim@fluendo.com>
27223
27224         * docs/design/part-element-sink.txt:
27225         * docs/design/part-element-source.txt:
27226         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27227         (gst_basesink_event), (gst_basesink_activate):
27228         * gst/base/gstbasesink.h:
27229         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
27230         (gst_basesrc_activate):
27231         * gst/base/gstbasesrc.h:
27232         * gst/gstelement.c: (gst_element_pads_activate):
27233         Some more documentation.
27234         Fixed scheduling decision in _pads_activate().
27235
27236 2005-05-05  Andy Wingo  <wingo@pobox.com>
27237
27238         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
27239         the test suite.
27240
27241 2005-05-05  Wim Taymans  <wim@fluendo.com>
27242
27243         * gst/base/Makefile.am:
27244         * gst/base/gstbasesink.h:
27245         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27246         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
27247         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
27248         (gst_collectpads_class_init), (gst_collectpads_init),
27249         (gst_collectpads_finalize), (gst_collectpads_new),
27250         (gst_collectpads_set_function), (gst_collectpads_add_pad),
27251         (find_pad), (gst_collectpads_remove_pad),
27252         (gst_collectpads_is_active), (gst_collectpads_collect),
27253         (gst_collectpads_collect_range), (gst_collectpads_start),
27254         (gst_collectpads_stop), (gst_collectpads_peek),
27255         (gst_collectpads_pop), (gst_collectpads_available),
27256         (gst_collectpads_read), (gst_collectpads_flush),
27257         (gst_collectpads_chain):
27258         * gst/base/gstcollectpads.h:
27259         * gst/elements/Makefile.am:
27260         * gst/elements/gstelements.c:
27261         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27262         (gst_fakesink_get_times), (gst_fakesink_event),
27263         (gst_fakesink_preroll), (gst_fakesink_render):
27264         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
27265         (gst_filesink_init), (gst_filesink_set_location),
27266         (gst_filesink_open_file), (gst_filesink_close_file),
27267         (gst_filesink_pad_query), (gst_filesink_event),
27268         (gst_filesink_render), (gst_filesink_change_state):
27269         * gst/elements/gstfilesink.h:
27270         Added object to help in making collect pad based elements.
27271         Ported filesink.
27272         Make event function in sink baseclass return gboolean.
27273
27274 2005-05-05  Wim Taymans  <wim@fluendo.com>
27275
27276         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
27277         (gst_bin_get_by_name):
27278         * gst/gstbuffer.h:
27279         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
27280         (gst_clock_finalize):
27281         * gst/gstdata.c: (gst_data_replace):
27282         * gst/gstdata.h:
27283         * gst/gstelement.c: (gst_element_request_pad),
27284         (gst_element_pads_activate):
27285         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
27286         (gst_object_unref):
27287         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27288         (gst_pad_set_checkgetrange_function),
27289         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
27290         (gst_pad_check_pull_range), (gst_pad_pull_range),
27291         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27292         (gst_pad_pause_task), (gst_pad_stop_task):
27293         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27294         (gst_element_request_pad), (gst_pad_proxy_getcaps):
27295         Fix name lookup in GstBin.
27296         Added _data_replace() function and _buffer_replace()
27297         Use finalize method to clean up clock.
27298         Fix refcounting on request pads.
27299         Fix pad schedule mode error.
27300         Some more object refcounting debug info,
27301
27302
27303 2005-05-04  Andy Wingo <wingo@pobox.com>
27304
27305         * check/Makefile.am:
27306         * docs/gst/tmpl/gstatomic.sgml:
27307         * docs/gst/tmpl/gstplugin.sgml:
27308         * gst/base/gstbasesink.c: (gst_basesink_activate):
27309         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
27310         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
27311         (gst_basesrc_query), (gst_basesrc_set_property),
27312         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
27313         (gst_basesrc_activate):
27314         * gst/base/gstbasesrc.h:
27315         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
27316         (gst_base_transform_src_activate):
27317         * gst/elements/gstelements.c:
27318         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27319         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27320         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27321         * gst/elements/gsttypefindelement.c: (find_element_get_length),
27322         (gst_type_find_element_checkgetrange),
27323         (gst_type_find_element_activate):
27324         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
27325         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
27326         (gst_caps_load_thyself):
27327         * gst/gstelement.c: (gst_element_pads_activate),
27328         (gst_element_save_thyself), (gst_element_restore_thyself):
27329         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
27330         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
27331         * gst/gstpad.h:
27332         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
27333         (gst_xml_parse_file), (gst_xml_parse_memory),
27334         (gst_xml_get_element), (gst_xml_make_element):
27335         * gst/indexers/gstfileindex.c: (gst_file_index_load),
27336         (_file_index_id_save_xml), (gst_file_index_commit):
27337         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
27338         (read_enum), (load_pad_template), (load_feature), (load_plugin),
27339         (load_paths):
27340         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
27341         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
27342         * tools/gst-complete.c: (main):
27343         * tools/gst-compprep.c: (main):
27344         * tools/gst-inspect.c: (print_element_properties_info):
27345         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
27346         * tools/gst-xmlinspect.c: (print_element_properties):
27347         GCC 4 fixen.
27348         
27349 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
27350
27351         * gst/gstplugin.c: (gst_plugin_check_module),
27352         (gst_plugin_check_file), (gst_plugin_load_file):
27353             apply patch from #172526 to make register work on MacOSX
27354
27355 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27356
27357         * docs/gst/tmpl/gstconfig.sgml:
27358         * gst/gstconfig.h.in:
27359           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
27360         * testsuite/debug/printf_extension.c: (main):
27361           Do not use GST_PTR_FORMAT on pointers to types with
27362           sizeof < sizeof(gpointer).  Fixes test on 64-bit
27363         * testsuite/elements/property.h:
27364           use correct printf format
27365
27366 2005-05-02  Wim Taymans  <wim@fluendo.com>
27367
27368         * docs/design/draft-push-pull.txt:
27369         * docs/design/draft-query.txt:
27370         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
27371         (gst_basesrc_start):
27372         Added draft for new query API.
27373         Added draft for better selecting scheduling methods.
27374         Make basesrc ignore length if the subclass does not support
27375         it.
27376
27377 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27378
27379         * gst/Makefile.am:
27380           possible fixes for automake-1.5 - _LIBADD is reserved
27381
27382 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
27383
27384         * docs/faq/Makefile.am:
27385         * docs/manual/Makefile.am:
27386         * docs/manuals.mak:
27387         * docs/pwg/Makefile.am:
27388         * gst/Makefile.am:
27389           possible fixes for automake-1.5
27390
27391 2005-04-28  Wim Taymans  <wim@fluendo.com>
27392
27393         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27394         (gst_basesink_pad_getcaps), (gst_basesink_init),
27395         (gst_basesink_do_sync):
27396         * gst/gstclock.c: (gst_clock_entry_new):
27397         * gst/gstevent.c: (gst_event_discont_get_value):
27398         * gst/gstpipeline.c: (pipeline_bus_handler),
27399         (gst_pipeline_change_state):
27400         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
27401         Better debugging of clocking info.
27402         Allow NULL values when getting discont values.
27403
27404 2005-04-27  Wim Taymans  <wim@fluendo.com>
27405
27406         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
27407         * check/gst/gstpad.c: (gst_pad_suite):
27408         Increase timeout for checks.
27409
27410 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27411
27412         * check/Makefile.am:
27413           fix the broken rule for cleanup.  Apparently this rule is
27414           only needed on FC2, so maybe this warrants further autotool
27415           inspection.
27416
27417 2005-04-26  Wim Taymans  <wim@fluendo.com>
27418
27419         * gst/gsttrashstack.h:
27420         Ooohh. a nasty one! After having a failed pop() from the stack,
27421         it's possible that the stack is empty. In that case, don't
27422         follow the NULL pointer.
27423
27424 2005-04-25  Wim Taymans  <wim@fluendo.com>
27425
27426         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27427         (gst_pad_set_checkgetrange_function),
27428         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
27429         (gst_pad_check_pull_range), (gst_pad_pull_range),
27430         (gst_static_pad_template_get_caps), (gst_pad_start_task),
27431         (gst_pad_pause_task), (gst_pad_stop_task):
27432         * gst/gstplugin.c: (gst_plugin_load):
27433         * gst/gstplugin.h:
27434         Remove gst_library_load as it does more harm than good with
27435         the new g_module flags.
27436         Revert bogus caps template check in pad linking, pad caps
27437         are important when linking not the template, which is more
27438         general than the current caps.
27439
27440 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27441
27442         * gst/autoplug/.cvsignore:
27443         * gst/autoplug/Makefile.am:
27444         * gst/autoplug/gstsearchfuncs.c:
27445         * gst/autoplug/gstsearchfuncs.h:
27446         * gst/autoplug/gstspider.c:
27447         * gst/autoplug/gstspider.h:
27448         * gst/autoplug/gstspideridentity.c:
27449         * gst/autoplug/gstspideridentity.h:
27450         * gst/autoplug/spidertest.c:
27451           Die, spider, die.
27452
27453 2005-04-25  Wim Taymans  <wim@fluendo.com>
27454
27455         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27456         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27457         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
27458         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
27459         * gst/gstpad.h:
27460         Added stubs for unimplemented functions. 
27461
27462 2005-04-24  David Schleef  <ds@schleef.org>
27463
27464         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
27465         please fix.
27466
27467 2005-04-24  David Schleef  <ds@schleef.org>
27468
27469         Convert everything from GstAtomicInt to g_atomic_int_*, and
27470         remove gstatomic.
27471         * gst/Makefile.am:
27472         * gst/gstatomic.c:
27473         * gst/gstatomic.h:
27474         * gst/gstatomic_impl.h:
27475         * gst/gstbuffer.c:
27476         * gst/gstcaps.c:
27477         * gst/gstcaps.h:
27478         * gst/gstclock.c:
27479         * gst/gstclock.h:
27480         * gst/gstdata.c:
27481         * gst/gstdata.h:
27482         * gst/gstdata_private.h:
27483         * gst/gstevent.c:
27484         * gst/gstinfo.c:
27485         * gst/gstinfo.h:
27486         * gst/gstmessage.c:
27487         * gst/gstobject.c:
27488         * gst/gstobject.h:
27489         * gst/gststructure.c:
27490         * gst/gststructure.h:
27491         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
27492         * gst/gstutils.h:
27493
27494 2005-04-24  David Schleef  <ds@schleef.org>
27495
27496         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
27497         make the regressions tests work.  Remove some code that is no
27498         longer true.
27499         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
27500         Disable warning for pads without templates.
27501
27502 2005-04-24  David Schleef  <ds@schleef.org>
27503
27504         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
27505         functions that handle filtered links.
27506         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
27507         removed functions.
27508         * gst/gstutils.c: Fix/remove utility functions that handle
27509         filtered caps.
27510         * gst/gstutils.h:
27511         * gst/gstvalue.c: Add serialization/deserialization of caps
27512         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
27513         requires fixing so that the filter caps notation creates
27514         a capsfilter element and sets the filter_caps property.  I
27515         think everyone probably wants to keep the shorthand notation.
27516         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
27517         * docs/gst/tmpl/gstpad.sgml:
27518
27519         * gst/elements/gstelements.c: Register capsfilter element.
27520         * gst/Makefile.am: fix spacing
27521         * docs/random/ds/0.9-suggested-changes: random
27522
27523 2005-04-23  David Schleef  <ds@schleef.org>
27524
27525         * gst/elements/Makefile.am:
27526         * gst/elements/gstcapsfilter.c: New element that acts like an
27527         identity, but filters caps.  Will eventually replace filtered
27528         caps in pad linking.
27529         * gst/gstutils.c: (gst_element_create_all_pads): New function
27530         to create all the ALWAYS pads that are registered with an
27531         element class.  This functionality should eventually be
27532         merged in with GstElement initialization.
27533         * gst/gstutils.h:
27534         * testsuite/trigger/README: part of trigger test code that should
27535         have been checked in a long time ago.
27536
27537 2005-04-23  David Schleef  <ds@schleef.org>
27538
27539         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
27540         needed with new versions of libtool (nobody will confirm this),
27541         and hard to carry around.
27542         * gst/autoplug/Makefile.am:
27543         * gst/base/Makefile.am:
27544         * gst/elements/Makefile.am:
27545         * gst/indexers/Makefile.am:
27546         * gst/schedulers/Makefile.am:
27547         * libs/gst/bytestream/Makefile.am:
27548         * libs/gst/control/Makefile.am:
27549         * libs/gst/dataprotocol/Makefile.am:
27550         * libs/gst/getbits/Makefile.am:
27551
27552 2005-04-21  Wim Taymans  <wim@fluendo.com>
27553
27554         * docs/design/draft-push-pull.txt:
27555         * docs/design/part-MT-refcounting.txt:
27556         * docs/design/part-TODO.txt:
27557         * docs/design/part-caps.txt:
27558         * docs/design/part-events.txt:
27559         * docs/design/part-gstbus.txt:
27560         * docs/design/part-gstpipeline.txt:
27561         * docs/design/part-messages.txt:
27562         * docs/design/part-push-pull.txt:
27563         * docs/design/part-query.txt:
27564         Some more docs.
27565
27566 2005-04-21  Wim Taymans  <wim@fluendo.com>
27567
27568         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
27569         (gst_message_new), (gst_message_new_error),
27570         (gst_message_new_warning), (gst_message_new_tag),
27571         (gst_message_new_state_changed), (gst_message_new_application),
27572         (gst_message_get_structure):
27573         * gst/gstmessage.h:
27574         * gst/gststructure.c: (gst_structure_set_parent_refcount),
27575         (gst_structure_copy_conditional):
27576         Use parent refcount in GstMessage to ensure GstStructure
27577         consistency.
27578         Cleaned up headers a bit.
27579         
27580
27581 2005-04-20  Wim Taymans  <wim@fluendo.com>
27582
27583         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27584         (gst_basesink_pad_getcaps), (gst_basesink_init),
27585         (gst_basesink_chain_unlocked):
27586         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
27587         (gst_type_find_helper):
27588         * gst/elements/gsttypefindelement.c:
27589         (gst_type_find_element_have_type), (gst_type_find_element_init),
27590         (stop_typefinding), (gst_type_find_element_handle_event),
27591         (find_suggest), (gst_type_find_element_chain),
27592         (gst_type_find_element_checkgetrange),
27593         (gst_type_find_element_getrange), (do_typefind),
27594         (gst_type_find_element_activate):
27595         * gst/gstbuffer.c: (_gst_buffer_sub_free),
27596         (gst_buffer_default_free), (gst_buffer_default_copy),
27597         (gst_buffer_set_caps):
27598         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
27599         (gst_caps_replace):
27600         * gst/gstmessage.c: (gst_message_new),
27601         (gst_message_new_state_changed):
27602         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27603         (gst_pad_set_checkgetrange_function),
27604         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
27605         (gst_pad_set_caps), (gst_pad_check_pull_range),
27606         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
27607         * gst/gstpad.h:
27608         * gst/gsttypefind.c: (gst_type_find_register):
27609         Make gst_caps_replace() work like other _replace() functions.
27610         Use _caps_replace() where possible.
27611         Make sure _message_new() initialises its field.
27612         Add gst_static_pad_template_get_caps()
27613
27614
27615 2005-04-18  Andy Wingo  <wingo@pobox.com>
27616
27617         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
27618         on the peer, not the pad. I think that was a typo. Pass an extra
27619         arg to see if random access is possible. Activate the pads as
27620         PULL_RANGE if possible.
27621
27622         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
27623
27624         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
27625         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
27626         to PROP_....
27627
27628 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27629
27630         * docs/faq/using.xml:
27631           Add note on gstreamer-properties (#154996).
27632
27633 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27634
27635         * docs/random/bbb/optional-properties:
27636           Some analysis on optional properties.
27637
27638 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27639
27640         * docs/gst/tmpl/gstelementfactory.sgml:
27641         * gst/gstelement.h:
27642         * gst/gstelementfactory.c: (gst_element_factory_init),
27643         (gst_element_factory_cleanup), (gst_element_register),
27644         (__gst_element_factory_add_static_pad_template),
27645         (gst_element_factory_get_static_pad_templates),
27646         (gst_element_factory_can_src_caps),
27647         (gst_element_factory_can_sink_caps):
27648         * gst/registries/Makefile.am:
27649         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
27650         (gst_xml_registry_class_init), (gst_xml_registry_init),
27651         (gst_xml_registry_new), (gst_xml_registry_set_property),
27652         (gst_xml_registry_get_property), (get_time), (make_dir),
27653         (gst_xml_registry_get_perms_func),
27654         (plugin_times_older_than_recurse), (plugin_times_older_than),
27655         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
27656         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
27657         (add_to_char_array), (read_string), (read_uint), (read_enum),
27658         (load_pad_template), (load_feature), (load_plugin), (load_paths),
27659         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
27660         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
27661         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
27662         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
27663         (gst_xml_registry_rebuild):
27664         * gst/registries/gstlibxmlregistry.h:
27665         * tools/gst-compprep.c: (main):
27666         * tools/gst-inspect.c: (print_pad_templates_info):
27667         * tools/gst-xmlinspect.c: (print_element_info):
27668           Use libxml2 for registry parsing, use staticpadtemplates in
27669           elementfactories. Makes gst_init() +/- 10x faster.
27670
27671 2005-04-12  Wim Taymans  <wim@fluendo.com>
27672
27673         * gst/base/Makefile.am:
27674         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27675         (gst_basesink_pad_getcaps), (gst_basesink_init),
27676         (gst_basesink_event), (gst_basesink_change_state):
27677         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27678         (gst_basesrc_init), (gst_basesrc_query),
27679         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27680         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27681         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27682         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27683         (gst_basesrc_stop), (gst_basesrc_activate),
27684         (gst_basesrc_change_state):
27685         * gst/base/gsttypefindhelper.c: (helper_find_peek),
27686         (helper_find_suggest), (gst_type_find_helper):
27687         * gst/base/gsttypefindhelper.h:
27688         * gst/elements/Makefile.am:
27689         * gst/elements/gstelements.c:
27690         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27691         (gst_fakesink_get_times), (gst_fakesink_event),
27692         (gst_fakesink_preroll), (gst_fakesink_render):
27693         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27694         (gst_fakesrc_init), (gst_fakesrc_event_handler),
27695         (gst_fakesrc_get_property), (gst_fakesrc_create),
27696         (gst_fakesrc_start), (gst_fakesrc_stop):
27697         * gst/elements/gstfakesrc.h:
27698         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
27699         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27700         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27701         (gst_filesrc_create_read), (gst_filesrc_create),
27702         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
27703         (gst_filesrc_start):
27704         * gst/elements/gsttypefindelement.c:
27705         (gst_type_find_element_have_type), (gst_type_find_element_init),
27706         (start_typefinding), (stop_typefinding), (push_buffer_store),
27707         (gst_type_find_element_handle_event),
27708         (gst_type_find_element_chain),
27709         (gst_type_find_element_checkgetrange),
27710         (gst_type_find_element_getrange), (do_typefind),
27711         (gst_type_find_element_activate),
27712         (gst_type_find_element_change_state):
27713         * gst/elements/gsttypefindelement.h:
27714         * gst/gstpipeline.c: (pipeline_bus_handler):
27715         Added typefind helper.
27716         Small preroll fix in the base sink.
27717         Disable typefind code in basesrc.
27718         Crude port of typefindelement.
27719         Fakesrc cleanups.
27720
27721
27722 2005-04-11  Wim Taymans  <wim@fluendo.com>
27723
27724         * check/gst/gstbus.c: (gstbus_suite):
27725         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
27726         * check/gstcheck.h:
27727           Fix up the timeout so that the test does not fail.
27728
27729 2005-04-06  Wim Taymans  <wim@fluendo.com>
27730
27731         * gst/base/README:
27732         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27733         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
27734         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
27735         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
27736         (gst_basesrc_check_get_range), (gst_basesrc_loop),
27737         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
27738         (gst_basesrc_stop), (gst_basesrc_activate),
27739         (gst_basesrc_change_state), (basesrc_find_peek),
27740         (basesrc_find_suggest), (gst_basesrc_type_find):
27741         * gst/base/gstbasesrc.h:
27742         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
27743         (gst_filesrc_class_init), (gst_filesrc_init),
27744         (gst_filesrc_finalize), (gst_filesrc_set_location),
27745         (gst_filesrc_set_property), (gst_filesrc_get_property),
27746         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
27747         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
27748         (gst_filesrc_create_read), (gst_filesrc_create),
27749         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
27750         * gst/elements/gstfilesrc.h:
27751         * gst/gstelement.c: (gst_element_get_state_func),
27752         (gst_element_lost_state), (gst_element_pads_activate):
27753         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27754         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
27755         (gst_pad_pull_range):
27756         * gst/gstpad.h:
27757         More work on the generic source base class, implement seeking,
27758         query.
27759         Make filesrc extend the base source class.
27760         Added gst_pad_set_checkgetrange_function to GstPad.
27761
27762 2005-04-06  Andy Wingo  <wingo@pobox.com>
27763
27764         * pkgconfig/gstreamer-base.pc.in:
27765         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
27766
27767         * pkgconfig/Makefile.am:
27768         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
27769
27770 2005-04-04  Wim Taymans  <wim@fluendo.com>
27771
27772         * gst/base/Makefile.am:
27773         * gst/base/README:
27774         * gst/base/gstbasesink.c: (gst_basesink_base_init),
27775         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27776         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27777         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
27778         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
27779         (gst_basesrc_base_init), (gst_basesrc_class_init),
27780         (gst_basesrc_init), (gst_basesrc_get_formats),
27781         (gst_basesrc_get_query_types), (gst_basesrc_query),
27782         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
27783         (gst_basesrc_set_property), (gst_basesrc_get_property),
27784         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
27785         (gst_basesrc_loop), (gst_basesrc_activate),
27786         (gst_basesrc_change_state):
27787         * gst/base/gstbasesrc.h:
27788         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
27789         (gst_fakesrc_class_init), (gst_fakesrc_init),
27790         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
27791         (gst_fakesrc_get_property), (gst_fakesrc_create):
27792         * gst/elements/gstfakesrc.h:
27793         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
27794         (gst_filesrc_open_file), (gst_filesrc_loop),
27795         (gst_filesrc_activate), (filesrc_find_peek),
27796         (gst_filesrc_type_find):
27797         Made base source class, make fakesrc extend it.
27798         Add comments to basesink class.
27799         Some filesrc cleanup.
27800
27801 2005-03-31  David Schleef  <ds@schleef.org>
27802
27803         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
27804         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
27805         expected to link against libgstreamer.
27806         * gst/base/Makefile.am: link against libgstreamer
27807         * gst/elements/Makefile.am: same
27808
27809 2005-03-31  Andy Wingo  <wingo@pobox.com>
27810
27811         * tests/instantiate/Makefile.am:
27812         * tests/instantiate/caps.c: Add test to test speed of caps copy
27813         and free.
27814
27815         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
27816         GMemChunk to be fair.
27817
27818         * gst/gsttrashstack.h: Remove warning about using the fallback
27819         trash stack implementation, it's still faster than malloc.
27820
27821 2005-03-30  Andy Wingo  <wingo@pobox.com>
27822
27823         * tests/complexity.c: Add a copyright.
27824
27825 2005-03-31  Wim Taymans  <wim@fluendo.com>
27826
27827         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
27828         (gst_base_transform_class_init), (gst_base_transform_init),
27829         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
27830         (gst_base_transform_get_property),
27831         (gst_base_transform_sink_activate),
27832         (gst_base_transform_src_activate),
27833         (gst_base_transform_change_state):
27834         * gst/base/gstbasetransform.h:
27835         * gst/elements/gstidentity.c: (gst_identity_class_init),
27836         (gst_identity_event), (gst_identity_check_perfect),
27837         (gst_identity_transform), (gst_identity_start),
27838         (gst_identity_stop):
27839         Added start/stop methods to transform base class so subclasses 
27840         don't need to deal with state changes even.
27841
27842 2005-03-31  Wim Taymans  <wim@fluendo.com>
27843
27844         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
27845         (gst_event_new_discontinuous), (gst_event_discont_get_value):
27846         * gst/gstevent.h:
27847         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27848         (gst_pad_pull_range):
27849         Added rate to the discont event to prepare for variable speed
27850         and reverse playback.
27851
27852 2005-03-29  David Schleef  <ds@schleef.org>
27853
27854         * configure.ac:
27855         * testsuite/trigger/Makefile.am:
27856         * testsuite/trigger/trigger.c: A little example program to show
27857         how trigger-based elements can work.
27858
27859 2005-03-29  Wim Taymans  <wim@fluendo.com>
27860
27861         * gst/base/Makefile.am:
27862         * gst/base/README:
27863         * gst/base/gstbasesink.c: (gst_basesink_get_type),
27864         (gst_basesink_base_init), (gst_basesink_class_init),
27865         (gst_basesink_pad_getcaps), (gst_basesink_init),
27866         (gst_basesink_activate), (gst_basesink_change_state):
27867         * gst/base/gstbasesink.h:
27868         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
27869         (gst_base_transform_base_init), (gst_base_transform_finalize),
27870         (gst_base_transform_class_init), (gst_base_transform_init),
27871         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
27872         (gst_base_transform_event), (gst_base_transform_getrange),
27873         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
27874         (gst_base_transform_set_property),
27875         (gst_base_transform_get_property),
27876         (gst_base_transform_sink_activate),
27877         (gst_base_transform_src_activate),
27878         (gst_base_transform_change_state):
27879         * gst/base/gstbasetransform.h:
27880         * gst/elements/gstidentity.c: (gst_identity_finalize),
27881         (gst_identity_class_init), (gst_identity_init),
27882         (gst_identity_event), (gst_identity_check_perfect),
27883         (gst_identity_transform), (gst_identity_set_property),
27884         (gst_identity_get_property), (gst_identity_change_state):
27885         * gst/elements/gstidentity.h:
27886         * gst/gstelement.c: (gst_element_get_state_func),
27887         (gst_element_lost_state), (gst_element_pads_activate):
27888         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
27889         (gst_pad_check_pull_range), (gst_pad_pull_range):
27890         * gst/gstpad.h:
27891         Simplify pad activation.
27892         Added function to check if pull_range can be performed.
27893         Error out when pulling inactive or flushing pads.
27894         Removed const from refcounted types as it does not make sense.
27895         Simplify pad templates in basesink
27896         Added base class for simple 1-to-1 transforms.
27897         Make identity subclass the base transform.
27898
27899 2005-03-29  Andy Wingo  <wingo@pobox.com>
27900
27901         * docs/libs/gstreamer-libs-overrides.txt: 
27902         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
27903         really don't understand what's going on, but like whatever. I want
27904         green buildbot!
27905
27906         * docs/gst/Makefile.am:
27907         * docs/libs/Makefile.am: Dist the overrides files.
27908
27909         * check/Makefile.am (clean-local): Remove .libs directories.
27910
27911         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
27912         elements to EXTRA_DIST, so po/ files are happy.
27913
27914         * po/POTFILES.in: Er, remove it here.
27915
27916         * po/POTFILES: Remove gstspider.c.
27917
27918         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
27919
27920         * docs/libs/gstreamer-libs-docs.sgml: 
27921         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
27922         bytestream.
27923
27924         * tests/complexity.c (main): Set the length of the preroll queue
27925         on the sinks to prevent a lockup.
27926
27927         * libs/gst/dataprotocol/Makefile.am: 
27928         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
27929         the same as the one in check/gst-libs/gdp.c.
27930
27931         * po/, docs/gst/: Commit automatic changes to docs and po files.
27932
27933         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
27934         the versioned libgstbase.
27935
27936         * check/Makefile.am: Depend on an unversioned gst-register, seems
27937         to make autoconf happier.
27938
27939         * gst/base/Makefile.am: Make libgstbase a versioned lib.
27940
27941 2005-03-28  Wim Taymans  <wim@fluendo.com>
27942
27943         * configure.ac:
27944         * docs/design/part-gstelement.txt:
27945         * docs/design/part-negotiation.txt:
27946         * docs/design/part-preroll.txt:
27947         * docs/design/part-scheduling.txt:
27948         * docs/design/part-states.txt:
27949         * gst/Makefile.am:
27950         * gst/base/Makefile.am:
27951         * gst/base/README:
27952         * gst/base/gstbasesink.c: (gst_basesink_get_template),
27953         (gst_basesink_base_init), (gst_basesink_class_init),
27954         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
27955         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
27956         (gst_basesink_set_pad_functions),
27957         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
27958         (gst_basesink_set_property), (gst_basesink_get_property),
27959         (gst_base_sink_get_template), (gst_base_sink_get_caps),
27960         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
27961         (gst_basesink_preroll_queue_push),
27962         (gst_basesink_preroll_queue_empty),
27963         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
27964         (gst_basesink_event), (gst_basesink_get_times),
27965         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
27966         (gst_basesink_chain_unlocked), (gst_basesink_chain),
27967         (gst_basesink_loop), (gst_basesink_activate),
27968         (gst_basesink_change_state):
27969         * gst/base/gstbasesink.h:
27970         * gst/elements/Makefile.am:
27971         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
27972         (gst_fakesink_class_init), (gst_fakesink_init),
27973         (gst_fakesink_set_property), (gst_fakesink_get_property),
27974         (gst_fakesink_get_times), (gst_fakesink_event),
27975         (gst_fakesink_preroll), (gst_fakesink_render),
27976         (gst_fakesink_change_state):
27977         * gst/elements/gstfakesink.h:
27978         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
27979         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
27980         * gst/gstelement.c: (gst_element_add_pad),
27981         (gst_element_get_state_func), (gst_element_abort_state),
27982         (gst_element_commit_state), (gst_element_lost_state),
27983         (gst_element_set_state), (gst_element_pads_activate):
27984         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
27985         * gst/gstpipeline.c: (gst_pipeline_send_event),
27986         (gst_pipeline_change_state):
27987         Added state change code.
27988         Added/updated docs.
27989         Added sink base class, make fakesink extend the base class.
27990         Small cleanups in GstPipeline.
27991
27992 2005-03-26  David Schleef  <ds@schleef.org>
27993
27994         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
27995         is broken and should be implemented in a different library.
27996         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
27997         * gst/gst.h: remove gstcpu.h
27998         * gst/gstcpu.c: remove
27999         * gst/gstcpu.h: remove
28000         * gst/Makefile.am.future: Remove this file.  It's ancient.
28001
28002 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28003
28004         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28005         (gst_bin_send_event):
28006           Add default event/set_manager handlers. The set_manager handler
28007           takes care that the manager is distributed over kids that were
28008           already in the bin before the manager was set. The event handler
28009           is a utility virtual function that sends the event over all sinks,
28010           so that gst_element_send_event (bin, event); has the expected
28011           behaviour.
28012         * gst/gstpad.c: (gst_pad_event_default):
28013           Re-install default event handling for discontinuities, so that
28014           seeking works without requiring hacks in applications or extra
28015           code in sinks.
28016         * gst/gstpipeline.c: (gst_pipeline_class_init),
28017         (gst_pipeline_send_event):
28018           Half hack, half utility: set a pipeline to PAUSED for seek events,
28019           since that is the only way we can guarantee a/v sync. Means that
28020           you can do gst_element_seek (pipeline, method, pos); on a pipeline
28021           and it "just works".
28022
28023 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28024
28025         * gst/gstpipeline.c: (gst_pipeline_use_clock):
28026           Lock/unlock mismatch.
28027
28028 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
28029
28030         * docs/faq/gst-uninstalled:
28031           add gst-plugins-base
28032         * docs/gst/Makefile.am:
28033           don't error out until docs are fixed
28034         * docs/gst/gstreamer.types:
28035           remove thread
28036
28037 2005-03-22  Wim Taymans  <wim@fluendo.com>
28038
28039         * check/Makefile.am:
28040         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
28041         * gst/gststructure.c: (gst_structure_set_valist),
28042         (gst_structure_copy_conditional):
28043         Activated more tests.
28044         Added message test.
28045         Added G_TYPE_POINTER to GstStructure.
28046         
28047
28048 2005-03-22  Wim Taymans  <wim@fluendo.com>
28049
28050         * docs/design/part-TODO.txt:
28051         * docs/design/part-events.txt:
28052         * docs/design/part-gstbin.txt:
28053         * docs/design/part-gstbus.txt:
28054         * docs/design/part-gstpipeline.txt:
28055         * docs/design/part-messages.txt:
28056         * gst/gstbus.c:
28057         * gst/gstmessage.c:
28058         Docs updates
28059
28060 2005-03-21  Wim Taymans  <wim@fluendo.com>
28061
28062         * gst/gstbus.c: (gst_bus_post):
28063         Fix copy-and-paste error.
28064
28065 2005-03-21  Wim Taymans  <wim@fluendo.com>
28066
28067         * check/Makefile.am:
28068         * gst/Makefile.am:
28069         * gst/elements/Makefile.am:
28070         * gst/elements/gstelements.c:
28071         * gst/elements/gstfakesink.c: (gst_fakesink_init),
28072         (gst_fakesink_event), (gst_fakesink_chain):
28073         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28074         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
28075         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
28076         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
28077         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
28078         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
28079         (gst_fakesrc_loop), (gst_fakesrc_activate),
28080         (gst_fakesrc_change_state):
28081         * gst/elements/gstfakesrc.h:
28082         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
28083         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
28084         (gst_filesrc_open_file), (gst_filesrc_loop),
28085         (gst_filesrc_activate), (gst_filesrc_change_state),
28086         (filesrc_find_peek), (filesrc_find_suggest),
28087         (gst_filesrc_type_find):
28088         * gst/elements/gstidentity.c: (gst_identity_finalize),
28089         (gst_identity_class_init), (gst_identity_init),
28090         (gst_identity_proxy_getcaps), (identity_queue_push),
28091         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
28092         (gst_identity_getrange), (gst_identity_chain),
28093         (gst_identity_sink_loop), (gst_identity_src_loop),
28094         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
28095         (gst_identity_set_property), (gst_identity_get_property),
28096         (gst_identity_change_state):
28097         * gst/elements/gstidentity.h:
28098         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
28099         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
28100         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
28101         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
28102         (gst_tee_sink_activate):
28103         * gst/elements/gsttee.h:
28104         * gst/gst.c: (gst_register_core_elements), (init_post):
28105         * gst/gst.h:
28106         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
28107         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
28108         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
28109         (gst_bin_change_state):
28110         * gst/gstbin.h:
28111         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
28112         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
28113         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
28114         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
28115         (gst_bus_set_sync_handler), (gst_bus_create_watch),
28116         (bus_watch_callback), (bus_watch_destroy),
28117         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
28118         (poll_timeout), (gst_bus_poll):
28119         * gst/gstbus.h:
28120         * gst/gstcaps.h:
28121         * gst/gstdata.h:
28122         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28123         (gst_element_post_message), (gst_element_message_full),
28124         (gst_element_get_state_func), (gst_element_get_state),
28125         (gst_element_abort_state), (gst_element_commit_state),
28126         (gst_element_lost_state), (gst_element_set_state),
28127         (gst_element_pads_activate), (gst_element_change_state),
28128         (gst_element_dispose), (gst_element_set_manager_func),
28129         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
28130         (gst_element_set_manager), (gst_element_get_manager),
28131         (gst_element_set_bus), (gst_element_get_bus),
28132         (gst_element_set_scheduler), (gst_element_get_scheduler):
28133         * gst/gstelement.h:
28134         * gst/gstevent.c: (gst_event_new_segment_seek),
28135         (gst_event_new_flush):
28136         * gst/gstevent.h:
28137         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
28138         (_gst_message_free), (gst_message_get_type), (gst_message_new),
28139         (gst_message_new_eos), (gst_message_new_error),
28140         (gst_message_new_warning), (gst_message_new_tag),
28141         (gst_message_new_state_changed), (gst_message_new_application),
28142         (gst_message_get_structure), (gst_message_parse_tag),
28143         (gst_message_parse_state_changed), (gst_message_parse_error),
28144         (gst_message_parse_warning):
28145         * gst/gstmessage.h:
28146         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
28147         (gst_real_pad_set_property), (gst_pad_set_active),
28148         (gst_pad_is_active), (gst_pad_set_blocked_async),
28149         (gst_pad_set_blocked), (gst_pad_is_blocked),
28150         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
28151         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
28152         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
28153         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
28154         (gst_pad_link_filtered), (gst_pad_relink_filtered),
28155         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
28156         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
28157         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
28158         (gst_pad_set_caps), (gst_pad_configure_sink),
28159         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
28160         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
28161         (gst_real_pad_dispose), (gst_real_pad_finalize),
28162         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
28163         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28164         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
28165         * gst/gstpad.h:
28166         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
28167         (pipeline_bus_handler), (gst_pipeline_change_state),
28168         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
28169         * gst/gstpipeline.h:
28170         * gst/gstprobe.h:
28171         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
28172         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
28173         (gst_queue_link_src), (gst_queue_bufferalloc),
28174         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
28175         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
28176         (gst_queue_loop), (gst_queue_handle_src_event),
28177         (gst_queue_handle_src_query), (gst_queue_src_activate),
28178         (gst_queue_change_state):
28179         * gst/gstqueue.h:
28180         * gst/gstscheduler.c: (gst_scheduler_init),
28181         (gst_scheduler_dispose), (gst_scheduler_create_task),
28182         (gst_scheduler_factory_create):
28183         * gst/gstscheduler.h:
28184         * gst/gststructure.c: (gst_structure_get_type),
28185         (gst_structure_copy_conditional):
28186         * gst/gststructure.h:
28187         * gst/gsttaginterface.h:
28188         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
28189         (gst_task_init), (gst_task_dispose), (gst_task_create),
28190         (gst_task_get_state), (gst_task_start), (gst_task_stop),
28191         (gst_task_pause):
28192         * gst/gsttask.h:
28193         * gst/gstthread.c:
28194         * gst/gstthread.h:
28195         * gst/gsttypes.h:
28196         * gst/schedulers/Makefile.am:
28197         * gst/schedulers/cothreads_compat.h:
28198         * gst/schedulers/entryscheduler.c:
28199         * gst/schedulers/faircothreads.c:
28200         * gst/schedulers/faircothreads.h:
28201         * gst/schedulers/fairscheduler.c:
28202         * gst/schedulers/gstbasicscheduler.c:
28203         * gst/schedulers/gstoptimalscheduler.c:
28204         * gst/schedulers/gthread-cothreads.h:
28205         * gst/schedulers/threadscheduler.c:
28206         (gst_thread_scheduler_task_get_type),
28207         (gst_thread_scheduler_task_class_init),
28208         (gst_thread_scheduler_task_init),
28209         (gst_thread_scheduler_task_start),
28210         (gst_thread_scheduler_task_stop),
28211         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
28212         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
28213         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
28214         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
28215         (plugin_init):
28216         * libs/gst/Makefile.am:
28217         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
28218         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
28219         (gst_file_pad_parent_set):
28220         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
28221         (gst_dp_event_from_packet):
28222         * tests/complexity.c: (main):
28223         * tests/mass_elements.c: (main):
28224         * testsuite/states/locked.c: (message_received), (main):
28225         * testsuite/states/parent.c: (main):
28226         * tools/gst-inspect.c: (print_element_flag_info),
28227         (print_implementation_info), (print_pad_info):
28228         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
28229         (main):
28230         * tools/gst-md5sum.c: (event_loop), (main):
28231         * tools/gst-typefind.c: (main):
28232         * tools/gst-xmlinspect.c: (print_element_info):
28233         Next big merge.
28234         Added GstBus for mainloop integration.
28235         Added GstMessage for sending notifications on the bus.
28236         Added GstTask as an abstraction for pipeline entry points.
28237         Removed GstThread.
28238         Removed Schedulers.
28239         Simplified GstQueue for multithreaded core.
28240         Made _link threadsafe, removed old capsnego.
28241         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
28242         Added pad blocking functions.
28243         Reworked scheduling functions in GstPad to prepare for
28244         scheduling updates soon.
28245         Moved events out of data stream.
28246         Simplified GstEvent types.
28247         Added return values to push/pull.
28248         Removed clocking from GstElement.
28249         Added prototypes for state change function for next merge.
28250         Removed iterate from bins and state change management.
28251         Fixed some elements, disabled others for now.
28252         Fixed -inspect and -launch.
28253         Added check for GstBus.
28254
28255 2005-03-10  Wim Taymans  <wim@fluendo.com>
28256
28257         * docs/design/part-MT-refcounting.txt:
28258         * docs/design/part-clocks.txt:
28259         * docs/design/part-gstelement.txt:
28260         * docs/design/part-gstobject.txt:
28261         * docs/design/part-standards.txt:
28262         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28263         (gst_bin_remove_func), (gst_bin_remove):
28264         * gst/gstbin.h:
28265         * gst/gstbuffer.c:
28266         * gst/gstcaps.h:
28267         * testsuite/clock/clock1.c: (main):
28268         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
28269         (main):
28270         * testsuite/dlopen/loadgst.c: (do_test):
28271         * testsuite/refcounting/bin.c: (add_remove_test1),
28272         (add_remove_test2), (main):
28273         * testsuite/refcounting/element.c: (main):
28274         * testsuite/refcounting/element_pad.c: (main):
28275         * testsuite/refcounting/pad.c: (main):
28276         * tools/gst-launch.c: (sigint_handler_sighandler):
28277         * tools/gst-typefind.c: (main):
28278         Doc updates.
28279         Added doc about clock.
28280         removed gst_bin_iterate_recurse_up(), marked methods
28281         for removal.
28282         Fix more testsuites.
28283
28284 2005-03-09  Wim Taymans  <wim@fluendo.com>
28285
28286         * gst/gstpad.c: (gst_pad_get_direction),
28287         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
28288         (gst_pad_collect_valist):
28289         * testsuite/bins/interface.c: (main):
28290         * testsuite/caps/audioscale.c: (test_caps):
28291         * testsuite/caps/caps.c: (test1), (test2), (test3):
28292         * testsuite/caps/deserialize.c: (main):
28293         * testsuite/caps/enumcaps.c: (main):
28294         * testsuite/caps/filtercaps.c: (main):
28295         * testsuite/caps/intersect2.c: (main):
28296         * testsuite/caps/random.c: (main):
28297         * testsuite/caps/renegotiate.c: (my_fixate), (main):
28298         * testsuite/caps/sets.c: (check_caps):
28299         * testsuite/caps/simplify.c: (check_caps), (main):
28300         * testsuite/caps/subtract.c: (check_caps):
28301         Fix _pad_get_direction wrt ghostpads.
28302         Fix caps testsuite.
28303
28304 2005-03-09  Wim Taymans  <wim@fluendo.com>
28305
28306         * check/Makefile.am:
28307         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
28308         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
28309         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
28310         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
28311         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
28312         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
28313         (gst_bin_remove), (gst_bin_iterate_recurse_up),
28314         (bin_element_is_sink), (gst_bin_iterate_sinks),
28315         (gst_bin_iterate_all_by_interface):
28316         * gst/gstbin.h:
28317         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
28318         (gst_element_change_state), (gst_element_dispose),
28319         (gst_element_finalize), (gst_element_set_loop_function):
28320         * gst/gstelement.h:
28321         * gst/gstiterator.c: (find_custom_fold_func):
28322         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28323         (gst_pad_collectv), (gst_pad_collect_valist),
28324         (gst_pad_template_new):
28325         * gst/gstpipeline.c: (gst_pipeline_class_init),
28326         (gst_pipeline_dispose), (gst_pipeline_set_property),
28327         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
28328         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
28329         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
28330         * gst/gstutils.h:
28331         * gst/schedulers/entryscheduler.c:
28332         * gst/schedulers/gstbasicscheduler.c:
28333         (gst_basic_scheduler_cothreaded_chain),
28334         (gst_basic_scheduler_chain_add_element):
28335         * testsuite/bins/interface.c: (main):
28336         Added GstBin test.
28337         Added GstSystemClock test.
28338         Implemented clock distribution code in GstBin.
28339         Implemented iterate sinks method for future use.
28340         Rearranged gstelement.h
28341         Fix GstIterator comparison bug.
28342         Moved some code to GstPipeline, mostly clocking related.
28343
28344 2005-03-09  Wim Taymans  <wim@fluendo.com>
28345
28346         * configure.ac:
28347         * gst/gst_private.h:
28348         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28349         (gst_bin_remove_func), (gst_bin_remove),
28350         (gst_bin_get_by_name_recurse_up):
28351         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
28352         (gst_clock_id_compare_func), (gst_clock_id_wait),
28353         (gst_clock_id_wait_async), (gst_clock_init),
28354         (gst_clock_adjust_unlocked), (gst_clock_get_time):
28355         * gst/gstelement.h:
28356         * gst/gstinfo.c: (_gst_debug_init):
28357         * gst/gstobject.h:
28358         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
28359         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
28360         * gst/gstpad.h:
28361         Bump version number, we're now 0.9.0
28362         Add future debugging category.
28363         Fix NULL _unref() in _get_by_name_recurse_up
28364         Rearrange gstpad.h.
28365         Update some docs.
28366
28367 2005-03-08  Wim Taymans  <wim@fluendo.com>
28368
28369         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
28370         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
28371         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28372         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
28373         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
28374         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
28375         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
28376         * gst/elements/gstidentity.c: (gst_identity_class_init):
28377         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
28378         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
28379         * gst/elements/gstshaper.c: (gst_shaper_class_init):
28380         * gst/elements/gststatistics.c: (gst_statistics_class_init):
28381         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
28382         (gst_tee_link):
28383         * gst/gstelement.c: (gst_element_class_init),
28384         (gst_element_base_class_init), (gst_element_init),
28385         (gst_element_get_random_pad), (gst_element_wait_state_change),
28386         (gst_element_change_state), (gst_element_dispose),
28387         (gst_element_finalize), (gst_element_set_loop_function):
28388         * gst/gstelement.h:
28389         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
28390         * gst/gstthread.c: (gst_thread_class_init),
28391         (gst_thread_release_children_locks), (gst_thread_change_state):
28392         * gst/schedulers/gstbasicscheduler.c:
28393         (gst_basic_scheduler_loopfunc_wrapper),
28394         (gst_basic_scheduler_chain_wrapper),
28395         (gst_basic_scheduler_src_wrapper),
28396         (gst_basic_scheduler_remove_element):
28397         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
28398         Remove threadsafe properties. Fix elements because GObject
28399         complains when installing a property before declaring a
28400         set/get_property handler.
28401         Rearrange gstelement.h file, use STATE macros for state locks.
28402         Free mutexes in the finalize method instead of dispose.
28403
28404 2005-03-08  Wim Taymans  <wim@fluendo.com>
28405
28406         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28407         * gst/gstthread.c: (gst_thread_release_children_locks):
28408         Added parentage check.
28409         Fix build og GstThread again.
28410
28411 2005-03-08  Wim Taymans  <wim@fluendo.com>
28412
28413         * docs/design/part-MT-refcounting.txt:
28414         * docs/design/part-conventions.txt:
28415         * docs/design/part-gstobject.txt:
28416         * docs/design/part-relations.txt:
28417         * docs/design/part-standards.txt:
28418         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
28419         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
28420         (gst_bin_get_by_name), (gst_bin_get_by_interface),
28421         (gst_bin_iterate_all_by_interface):
28422         * gst/gstbuffer.h:
28423         * gst/gstclock.h:
28424         * gst/gstelement.c: (gst_element_class_init),
28425         (gst_element_change_state), (gst_element_set_loop_function):
28426         * gst/gstelement.h:
28427         * gst/gstiterator.c:
28428         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
28429         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
28430         (gst_object_dispatch_properties_changed), (gst_object_set_name),
28431         (gst_object_set_parent), (gst_object_unparent),
28432         (gst_object_check_uniqueness):
28433         * gst/gstobject.h:
28434         Docs updates, clean up some headers.
28435
28436 2005-03-07  Wim Taymans  <wim@fluendo.com>
28437
28438         * check/.cvsignore:
28439         * check/Makefile.am:
28440         * check/gst-libs/.cvsignore:
28441         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
28442         * check/gst/.cvsignore:
28443         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
28444         (START_TEST), (gstbus_suite), (main):
28445         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
28446         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
28447         (gst_data_suite), (main):
28448         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
28449         (add_fold_func), (gstiterator_suite), (main):
28450         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
28451         (thread_name_object), (thread_name_object_default),
28452         (gst_object_name_compare), (gst_object_suite), (main):
28453         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
28454         (gst_pad_suite), (main):
28455         * check/gstcheck.c: (gst_check_log_message_func),
28456         (gst_check_log_critical_func), (gst_check_init):
28457         * check/gstcheck.h:
28458         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
28459         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
28460         Added checks.
28461
28462 2005-03-07  Wim Taymans  <wim@fluendo.com>
28463
28464         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
28465         (gst_list_iterator_next), (gst_list_iterator_resync),
28466         (gst_list_iterator_free), (gst_iterator_new_list),
28467         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
28468         (gst_iterator_free), (gst_iterator_push), (filter_next),
28469         (filter_resync), (filter_uninit), (filter_free),
28470         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
28471         (gst_iterator_foreach), (find_custom_fold_func),
28472         (gst_iterator_find_custom):
28473         * gst/gstiterator.h:
28474         Added missing files.
28475
28476 2005-03-07  Wim Taymans  <wim@fluendo.com>
28477
28478         * Makefile.am:
28479         * configure.ac:
28480         * docs/design/part-MT-refcounting.txt:
28481         * docs/design/part-conventions.txt:
28482         * docs/design/part-gstobject.txt:
28483         * docs/design/part-relations.txt:
28484         * examples/mixer/mixer.c: (main):
28485         * examples/thread/thread.c: (eos), (main):
28486         * gst/Makefile.am:
28487         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
28488         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
28489         (gst_spider_plug_from_srcpad):
28490         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
28491         (gst_spider_identity_change_state),
28492         (gst_spider_identity_sink_loop_type_finding):
28493         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
28494         * gst/elements/gstidentity.c: (gst_identity_init):
28495         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
28496         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
28497         * gst/elements/gsttypefindelement.c: (free_entry):
28498         * gst/gst.c:
28499         * gst/gst.h:
28500         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
28501         (gst_bin_set_clock_func), (gst_bin_auto_clock),
28502         (gst_bin_set_index), (gst_bin_set_element_sched),
28503         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
28504         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
28505         (gst_bin_iterate_elements), (iterate_child_recurse),
28506         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
28507         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
28508         (compare_interface), (gst_bin_get_by_interface),
28509         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
28510         * gst/gstbin.h:
28511         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
28512         (gst_buffer_default_free), (gst_buffer_default_copy),
28513         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
28514         (gst_buffer_create_sub):
28515         * gst/gstbuffer.h:
28516         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
28517         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
28518         (gst_caps_unref), (gst_static_caps_get),
28519         (gst_caps_remove_and_get_structure), (gst_caps_append),
28520         (gst_caps_append_structure), (gst_caps_remove_structure),
28521         (gst_caps_copy_nth), (gst_caps_set_simple),
28522         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
28523         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
28524         (gst_caps_structure_intersect_field), (gst_caps_intersect),
28525         (gst_caps_structure_subtract_field), (gst_caps_subtract),
28526         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
28527         (gst_caps_structure_figure_out_union),
28528         (gst_caps_switch_structures), (gst_caps_do_simplify),
28529         (gst_caps_replace), (gst_caps_from_string),
28530         (gst_caps_copy_conditional):
28531         * gst/gstcaps.h:
28532         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
28533         (_gst_clock_id_free), (gst_clock_id_unref),
28534         (gst_clock_id_compare_func), (gst_clock_id_wait),
28535         (gst_clock_id_wait_async), (gst_clock_class_init),
28536         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
28537         (gst_clock_get_time), (gst_clock_set_time_adjust),
28538         (gst_clock_set_property), (gst_clock_get_property):
28539         * gst/gstclock.h:
28540         * gst/gstcompat.h:
28541         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
28542         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
28543         * gst/gstdata.h:
28544         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
28545         (gst_element_requires_clock), (gst_element_provides_clock),
28546         (gst_element_set_clock), (gst_element_clock_wait),
28547         (gst_element_wait), (gst_element_set_time_delay),
28548         (gst_element_is_indexable), (gst_element_add_pad),
28549         (gst_element_add_ghost_pad), (gst_element_remove_pad),
28550         (pad_compare_name), (gst_element_get_static_pad),
28551         (gst_element_request_pad), (gst_element_get_request_pad),
28552         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
28553         (gst_element_class_get_pad_template_list),
28554         (gst_element_class_get_pad_template), (gst_element_error_func),
28555         (gst_element_get_random_pad), (gst_element_get_event_masks),
28556         (gst_element_send_event), (gst_element_seek),
28557         (gst_element_get_query_types), (gst_element_query),
28558         (gst_element_get_formats), (gst_element_convert),
28559         (gst_element_is_locked_state), (gst_element_set_locked_state),
28560         (gst_element_sync_state_with_parent), (gst_element_change_state),
28561         (gst_element_finalize), (gst_element_yield),
28562         (gst_element_interrupt), (gst_element_set_scheduler),
28563         (gst_element_get_scheduler), (gst_element_set_loop_function):
28564         * gst/gstelement.h:
28565         * gst/gstevent.h:
28566         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
28567         (gst_format_get_by_nick), (gst_format_get_details),
28568         (gst_format_iterate_definitions):
28569         * gst/gstformat.h:
28570         * gst/gstindex.c: (gst_index_gtype_resolver):
28571         * gst/gstinfo.c:
28572         * gst/gstinfo.h:
28573         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
28574         (gst_mem_chunk_free):
28575         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
28576         (gst_object_ref), (gst_object_unref), (gst_object_sink),
28577         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
28578         (gst_object_dispatch_properties_changed),
28579         (gst_object_set_name_default), (gst_object_set_name),
28580         (gst_object_get_name), (gst_object_set_name_prefix),
28581         (gst_object_get_name_prefix), (gst_object_set_parent),
28582         (gst_object_get_parent), (gst_object_unparent),
28583         (gst_object_check_uniqueness), (gst_object_save_thyself),
28584         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
28585         (gst_object_set_property), (gst_object_get_property),
28586         (gst_object_get_path_string):
28587         * gst/gstobject.h:
28588         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
28589         (gst_real_pad_init), (gst_real_pad_get_property),
28590         (gst_pad_custom_new), (gst_pad_get_direction),
28591         (gst_pad_set_active), (gst_pad_is_active),
28592         (gst_pad_set_event_function), (gst_pad_is_linked),
28593         (gst_pad_link_free), (gst_pad_link_intersect),
28594         (gst_pad_link_fixate), (gst_pad_set_caps),
28595         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
28596         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
28597         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
28598         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
28599         (gst_pad_get_caps), (gst_pad_peer_get_caps),
28600         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
28601         (gst_pad_realize), (gst_pad_get_allowed_caps),
28602         (gst_real_pad_dispose), (gst_real_pad_finalize),
28603         (gst_pad_collectv), (gst_pad_collect_valist),
28604         (gst_pad_template_dispose), (gst_pad_template_new),
28605         (gst_pad_get_internal_links):
28606         * gst/gstpad.h:
28607         * gst/gstpipeline.c: (gst_pipeline_dispose),
28608         (gst_pipeline_change_state):
28609         * gst/gstpipeline.h:
28610         * gst/gstplugin.c:
28611         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
28612         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
28613         * gst/gstpluginfeature.h:
28614         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
28615         * gst/gstquery.c: (_gst_query_type_initialize),
28616         (gst_query_type_register), (gst_query_type_get_by_nick),
28617         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
28618         * gst/gstquery.h:
28619         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
28620         * gst/gstscheduler.c: (gst_scheduler_add_element),
28621         (gst_scheduler_factory_create):
28622         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28623         (gst_structure_free), (gst_structure_set_name),
28624         (gst_structure_id_set_value), (gst_structure_set_value),
28625         (gst_structure_set_valist), (gst_structure_remove_field),
28626         (gst_structure_remove_fields),
28627         (gst_structure_remove_fields_valist),
28628         (gst_structure_remove_all_fields), (gst_structure_foreach),
28629         (gst_structure_map_in_place),
28630         (gst_caps_structure_fixate_field_nearest_int),
28631         (gst_caps_structure_fixate_field_nearest_double):
28632         * gst/gststructure.h:
28633         * gst/gstsystemclock.c: (gst_system_clock_class_init),
28634         (gst_system_clock_init), (gst_system_clock_dispose),
28635         (gst_system_clock_async_thread),
28636         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
28637         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
28638         * gst/gstsystemclock.h:
28639         * gst/gsttag.c: (gst_tag_list_add_value_internal),
28640         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
28641         * gst/gsttaginterface.c:
28642         * gst/gstthread.c: (gst_thread_dispose),
28643         (gst_thread_release_children_locks), (gst_thread_change_state),
28644         (gst_thread_main_loop):
28645         * gst/gsttrashstack.h:
28646         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
28647         * gst/gsttypes.h:
28648         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28649         (gst_element_request_pad), (gst_element_get_pad_from_template),
28650         (gst_element_request_compatible_pad),
28651         (gst_element_get_compatible_pad_filtered),
28652         (gst_element_get_compatible_pad), (gst_element_state_get_name),
28653         (gst_element_link_pads_filtered), (gst_element_link_filtered),
28654         (gst_element_link_many), (gst_element_link),
28655         (gst_element_link_pads), (gst_element_unlink_pads),
28656         (gst_element_unlink_many), (gst_element_unlink),
28657         (gst_pad_can_link_filtered), (gst_pad_can_link),
28658         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
28659         (gst_object_default_error), (gst_bin_add_many),
28660         (gst_bin_remove_many), (gst_element_populate_std_props),
28661         (gst_element_class_install_std_props), (gst_buffer_merge),
28662         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
28663         (link_fold_func), (gst_pad_proxy_setcaps):
28664         * gst/gstutils.h:
28665         * gst/gstvalue.c: (gst_value_deserialize_string):
28666         * gst/parse/grammar.y:
28667         * gst/schedulers/gstbasicscheduler.c:
28668         (gst_basic_scheduler_cothreaded_chain),
28669         (gst_basic_scheduler_chain_recursive_add),
28670         (gst_basic_scheduler_pad_link):
28671         * gst/schedulers/gstoptimalscheduler.c:
28672         (get_group_schedule_function),
28673         (gst_opt_scheduler_state_transition),
28674         (gst_opt_scheduler_add_element), (element_get_reachables_func):
28675         * libs/gst/bytestream/bytestream.c:
28676         * libs/gst/dataprotocol/dataprotocol.c:
28677         (gst_dp_header_from_buffer):
28678         * po/nb.po:
28679         * po/ru.po:
28680         * tests/threadstate/threadstate2.c: (eos):
28681         * tools/gst-compprep.c: (main):
28682         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
28683         (print_pad_info), (print_children_info):
28684         * tools/gst-launch.c: (idle_func), (main):
28685         * tools/gst-md5sum.c: (idle_func), (main):
28686         * tools/gst-xmlinspect.c: (print_element_info):
28687         First THREADED backport attempt, focusing on adding locks and
28688         making sure the API is threadsafe. Needs more work. More docs
28689         follow this week.
28690
28691 2005-02-24  Andy Wingo  <wingo@pobox.com>
28692
28693         * tests/bench-complexity.scm:
28694         * tests/complexity.gnuplot: New files, good for running complexity
28695         benchmarks.
28696
28697         * tests/Makefile.am:
28698         * tests/complexity.c: New test, sets up N elements, at each level
28699         teeing into M streams per element. Eeeenteresting.
28700
28701         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
28702         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
28703         running bench-mass_elements.scm.
28704
28705         * tests/bench-mass_elements.scm: New script, runs mass_elements
28706         for various numbers of identities, outputting the results to a
28707         file. Requires guile 1.6. Just for testing.
28708
28709 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
28710
28711         * gst/schedulers/fairscheduler.c:
28712           compile with debug disabled
28713
28714 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
28715
28716         * configure.ac:
28717           hunting season on 0.9 is now OPEN