a8bfd9240539eb4f5b497de078d540e1676a0f24
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-07-26  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
4         (gst_subbuffer_get_type), (gst_buffer_create_sub):
5         Avoid function call for known types by keeping the buffer and
6         subbuffer GType global.
7
8         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
9         Random silly optimisations in read() path.
10
11 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
12
13         * tools/gst-launch.c: (main):
14           If the top-level of the parse is a normal bin, it doesn't do the
15           right logic to run as a top-level element, so place it inside a
16           pipeline.
17
18 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
19
20         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
21           Remove superfluous g_object_notify() calls, GObject does
22           that for us automatically.
23
24 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
25
26         * gst/gstinfo.h:
27           Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
28           here.
29
30 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
31
32         * gst/gsttaglist.c: (_gst_tag_initialize):
33           Allow more than one GST_TAG_IMAGE per taglist.
34
35 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
36
37         * gst/gstminiobject.c:
38           update docs
39         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
40         (gst_fd_src_create):
41           log recurring events at LOG level
42           add more debug for when the fd gets set
43
44 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
45
46         * gst/gstparse.c: (gst_parse_launch):
47           Also remove reentrance checks if flex is MT save (#348179)
48          Fix my empty ChangeLog entry below
49
50 2006-07-21  Andy Wingo  <wingo@pobox.com>
51
52         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
53
54         * libs/gst/check/Makefile.am
55         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
56         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
57         * libs/gst/check/gstbufferstraw.h:
58         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
59         functions, thus proving I am still a GStreamer haxor. OK I wrote
60         them a long time ago, but anyways.
61
62 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
63
64         * configure.ac:
65         * gst/gstparse.c: (gst_parse_launch):
66           Check for flex version and omit mutex if we have a MT save flex
67           (fixes #348179)
68
69 2006-07-21  Wim Taymans  <wim@fluendo.com>
70
71         * gst/gstparse.c: (gst_parse_launch):
72         Protect recursive calls to _parse with a recursive mutex
73         and busy flag.
74
75 2006-07-21  Wim Taymans  <wim@fluendo.com>
76
77         * tests/check/gst/gstpad.c: (GST_START_TEST):
78         Fix leak in test.
79
80 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
81
82         * gst/gstparse.c: (gst_parse_launch):
83           Do not hange on recursive uasge of gst_parse_launch()
84
85 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
86
87         * gst/gsttaglist.c:
88           Add some more docs, comments and FIXME 0.11s here and there
89           and  also fix some typos.
90
91 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
92
93         * gst/gstsegment.h:
94           Convert tabs to spaces for better readability. 
95
96 2006-07-20  Edward Hervey  <edward@fluendo.com>
97
98         * tests/check/libs/gdp.c: (gst_dp_suite):
99         the test_buffer test fails at line 140 on ppc64 at the following
100         check:
101         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
102                 "GST_BUFFER_IN_CAPS flag should have been copied !");
103         See bug #348114 for more details.
104
105 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
106
107         * docs/pwg/advanced-scheduling.xml:
108         * gst/gstpad.c:
109           Fix typos (#348000).
110
111 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
112
113         * docs/pwg/intro-basics.xml:
114           Fix wrong links (#347927).
115
116 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
117
118         * gst/gstregistry.h:
119         * gst/gstregistryxml.c: (load_feature),
120         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
121         * win32/common/config.h:
122         make --disable-index work (#342564)
123
124 2006-07-18  Wim Taymans  <wim@fluendo.com>
125
126         Patch by: Peter Kjellerstedt <pkj at axis dot com>
127
128         * gst/Makefile.am:
129         * gst/gsttrace.h:
130         The attached patch adds two missing defines to gsttrace.h when tracing
131         is disabled.  It also corrects one existing define.
132         Fixes #347756.
133
134 2006-07-17  Wim Taymans  <wim@fluendo.com>
135
136         * docs/gst/gstreamer-sections.txt:
137         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
138         * gst/gst.h:
139         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
140         Add two functions to check and change the SIGSEGV behaviour
141         when loading plugins.
142         Don't mess with the SIGSEGV handler when we were told not to.
143         Fixes #347794.
144         API: gst_segtrap_is_enabled
145         API: gst_segtrap_set_enabled
146
147 2006-07-14  Wim Taymans  <wim@fluendo.com>
148
149         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
150         * tests/check/elements/filesrc.c: (GST_START_TEST):
151         Revert fix for regression in #347408 after release.
152
153 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
154
155         Patch by: Antoine Tremblay <hexa00 at gmail com>
156
157         * gst/gstutils.c: (gst_element_unlink):
158           Free iterator when done (#347311).
159
160         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
161           And add a test case for this.
162
163 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
164
165         * configure.ac:
166         Bump nano back to CVS
167
168 === release 0.10.9 ===
169
170 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
171
172         * configure.ac:
173           releasing 0.10.9, "On the road again"
174
175 2006-07-13  Wim Taymans  <wim@fluendo.com>
176
177         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
178         * tests/check/elements/filesrc.c: (GST_START_TEST):
179         Revert pull-0 fix for release. Disable check. Fixes #347408.
180
181 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
182
183         * libs/gst/dataprotocol/dataprotocol.c:
184         (gst_dp_event_from_packet_1_0):
185           Fixes #347337: failure to deserialize event packets with
186           empty payload (only event type)
187
188 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
189
190         * gst/Makefile.am:
191           do not install a .c file in the header directory
192
193 2006-07-13  Edward Hervey  <edward@fluendo.com>
194
195         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
196         GhostPad no longer implicitely use the padtemplates of the targets.
197         Fixes #347384
198
199 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
200
201         * gst/gstvalue.c: (gst_value_compare_list),
202         (gst_value_compare_array), (_gst_value_initialize):
203         * tests/check/gst/gstvalue.c: (GST_START_TEST):
204         Make GstValueArray comparison be order dependent as designed.
205         Add checks for value lists and value array comparisons.
206         Fixes #347221
207
208 2006-07-11  Edward Hervey  <edward@fluendo.com>
209
210         * gst/gstbin.c: (activate_pads),
211         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
212         (gst_bin_change_state_func):
213         (de)activate src pads before calling state_change on the childs.
214         This is to avoid the case where a src ghostpad is blocked (holding the
215         stream lock), which would block the deactivation of the ghostpad's
216         target pad.
217         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
218         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
219         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
220         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
221         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
222         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
223         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
224         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
225         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
226         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
227         (gst_ghost_pad_class_init),
228         (gst_ghost_pad_internal_do_activate_push),
229         (gst_ghost_pad_internal_do_activate_pull),
230         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
231         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
232         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
233         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
234         GhostPads now create their internal GstProxyPad at creation (and not
235         when they're linked, as it was being done previously).
236         The internal and target pads are linked straight away.
237         The data will also travel through the other pad in order to make
238         pad blocking and probes non-hackish (the probe/block now really happens
239         on the GhostPad and not on the target).
240         * gst/gstpad.c: (gst_pad_set_blocked_async),
241         (gst_pad_link_prepare), (gst_pad_push_event):
242         Remove previous ghostpad cruft.
243         * gst/gstutils.c: (gst_pad_add_data_probe),
244         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
245         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
246         (gst_pad_remove_buffer_probe):
247         Remove previous ghost pad cruft.
248         Added more detailed debug statements.
249         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
250         Fix the testsuite for refcounting changes.
251         The comments about who has references were correct, but the refcount
252         being checked wasn't the same (!?!).
253
254         Fixes #341029
255
256 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
257
258         * docs/gst/gstreamer-sections.txt:
259         * gst/gstconfig.h.in:
260         More docs for configuration options, add docs to gtk-doc.
261
262 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
263
264         * gst/Makefile.am:
265         * gst/gstconfig.h.in:
266         * win32/common/config.h:
267         Fix build when disabling tracing (fixes #344016). Also start to document
268         the defines that disable the sub-systems.
269
270 2006-07-10  Edward Hervey  <edward@fluendo.com>
271
272         * gst/gst.c: (ensure_current_registry_forking):
273         let's make valgrind happy...
274
275 2006-07-09  Wim Taymans  <wim@fluendo.com>
276
277         * gst/gstelement.c: (activate_pads),
278         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
279         Better pad activation code: Reset the collect value too on resync.
280         Add some comments.
281
282 2006-07-09  Wim Taymans  <wim@fluendo.com>
283
284         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
285         (gst_pad_activate_push):
286         Use some more macros where it makes sense.
287         Allow pad mode switching instead of asserting. When a pad
288         is activated in one mode and we activate it in another, 
289         deactivate it first before activating it in a different mode.
290         Fixes #329198.
291
292 2006-07-08  Andy Wingo  <wingo@pobox.com>
293
294         * tools/gst-launch.c (main): Handle err == NULL.
295
296         * gst/gst.c (init_post, ensure_current_registry)
297         (ensure_current_registry_forking)
298         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
299         factoring out the registry scanning into separate functions. Don't
300         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
301         Better environment var name/interface suggestions accepted.
302
303 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
304
305         * gst/gstobject.c: (gst_object_set_name_default),
306         (gst_object_set_name):
307           Random micro-optimisation: don't use a hash table
308           with strings as keys and the usual strdup/strcmp
309           involved, but rather just use the GQuark of the
310           type name as key, since it needs to be looked up
311           anyway to get the type name string.
312
313         * tests/check/gst/gstobject.c: (GST_START_TEST):
314           Fix various leaks.
315
316 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
317
318         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
319         (gst_bin_iterate_all_by_interface):
320           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
321           GTypes are gulongs and thus the top 4 bytes might be cut
322           off on some platforms when doing GPOINTER_TO_INT, leading
323           to invalid GTypes and bad things happening (see RH bug #179654).
324           Also add a check to make sure the type passed in is really
325           an interface type.
326
327 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
328
329         * .cvsignore:
330           Ignore more.
331
332 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
333
334         * Makefile.am:
335         * configure.ac:
336         * gst-element-check.m4:
337         * gst-element-check.m4.in:
338           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
339           instead of the unversioned gst-inspect (#324176, #168659).
340
341 2006-07-06  Wim Taymans  <wim@fluendo.com>
342
343         * gst/gstmessage.h:
344         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
345         warnings.
346
347 2006-07-06  Wim Taymans  <wim@fluendo.com>
348
349         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
350         (gst_base_src_wait), (gst_base_src_update_length),
351         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
352         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
353         (gst_base_src_loop), (gst_base_src_start),
354         (gst_base_src_activate_pull):
355         Update docs.
356         blocksize == 0 now means the default blocksize when working in push
357         based mode.
358         Remove some pointless asserts in _wait function.
359         Fix offset/length calculations and EOS handling. We can now pull 0
360         bytes as well, which is allowed.
361         use _check_get_range() to decide if we can operate in _pull based
362         mode.
363         Fix refcounting leak when check_get_range function was not 
364         implemented.
365         API GstBaseSrc::blocksize range can be 0 too now (default)
366
367         * tests/check/elements/filesrc.c: (GST_START_TEST),
368         (filesrc_suite):
369         Added check to test _get_range() behaviour.
370
371 2006-07-06  Wim Taymans  <wim@fluendo.com>
372
373         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
374         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
375         (gst_pad_pull_range):
376         * gst/gstpad.h:
377         Lots of comments and docs added to the pad functions.
378         Flesh out the expected behaviour of the get_range() functions.
379
380 2006-07-06  Wim Taymans  <wim@fluendo.com>
381
382         * gst/gstbus.h:
383         * gst/gstclock.h:
384         * gst/gstevent.h:
385         * gst/gstiterator.h:
386         * gst/gstpad.h:
387         * gst/gstplugin.h:
388         * gst/gsttask.h:
389         Remove comma at end of enumerator list. 
390
391 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
392
393         * win32/common/libgstbase.def:
394         * win32/common/libgstdataprotocol.def:
395         * win32/common/libsgtreamer.def:
396         Add new exported functions.
397
398 2006-07-05  Wim Taymans  <wim@fluendo.com>
399
400         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
401         Add some more docs here and there.
402
403 2006-07-05  Wim Taymans  <wim@fluendo.com>
404
405         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
406         (gst_base_sink_loop), (gst_base_sink_get_position):
407         When operating in pull mode update the offset so that we
408         read sequentially.
409
410 2006-07-05  Wim Taymans  <wim@fluendo.com>
411
412         * gst/gstregistryxml.c: (read_string):
413         Avoid strdup. (will happen in libxml, but hey!)
414
415         * gst/gsturi.c:
416         Add some more docs.
417
418 2006-07-05  Wim Taymans  <wim@fluendo.com>
419
420         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
421         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
422         (gst_buffer_suite):
423         No point in checking if the size of the subbuffer > 0, the
424         code handles it correclty as demonstrated by unit test.
425         Also add a unit test for the zero sized _new_and_alloc and
426         _copy. Fixes #346663.
427
428 2006-07-05  Wim Taymans  <wim@fluendo.com>
429
430         * libs/gst/base/gstbasetransform.c:
431         (gst_base_transform_prepare_output_buffer),
432         (gst_base_transform_buffer_alloc),
433         (gst_base_transform_handle_buffer):
434         Make sure the buffer we pass to transform_ip has a refcount of
435         1 and thus is writable. Fixes #343196
436
437 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
438
439         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
440         (gst_file_src_init), (gst_file_src_set_property),
441         (gst_file_src_get_property), (gst_file_src_map_region):
442         * plugins/elements/gstfilesrc.h:
443         Add "sequential" property, off by default, to use madvise and hint
444         to the kernel that sequential access is desired.
445         Touch all retrieved pages by default to ensure they are pulled
446         into memory. (Closes #345720)
447
448 2006-07-03  Wim Taymans  <wim@fluendo.com>
449
450         * docs/design/part-block.txt:
451         * docs/design/part-dynamic.txt:
452         Small docs updates.
453
454 2006-07-03  Wim Taymans  <wim@fluendo.com>
455
456         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
457         (gst_caps_unref), (gst_static_caps_get),
458         (gst_caps_append_structure):
459         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
460         Use GSlice when the glib we build against is >= 2.10
461
462 2006-07-03  Wim Taymans  <wim@fluendo.com>
463
464         * gst/gstelement.c: (gst_element_pads_activate):
465         Small cleanup in pad activation code.
466
467 2006-07-03  Wim Taymans  <wim@fluendo.com>
468
469         Patch by: Peter Kjellerstedt <pkj at axis dot com>
470
471         * gst/gst-i18n-app.h:
472         * gst/gst-i18n-lib.h:
473         * tools/gst-inspect.c: (print_signal_info):
474         The attached patch will make the inclusion of gettext.h unconditional in
475         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
476         libintl.h in tools/gst-inspect.c.
477         This allows use of --disable-nls again and fixes #344642.
478
479 2006-07-03  Edward Hervey  <edward@fluendo.com>
480
481         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
482         Implement pad blocking on events according to part-block.txt.
483         More comments on behaviour.
484         * tests/check/gst/gstevent.c: (test_event):
485         Send event to peer pad of blocked pad (else it will block).
486
487 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
488
489         * libs/gst/check/gstcheck.c: (gst_check_message_error),
490         (gst_check_run_suite):
491           if we get the wrong message, give us the types as string
492         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
493           Fix a translatable
494         * tests/check/elements/filesrc.c: (GST_START_TEST):
495           add a test for trying to open a non-existing file
496
497 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
498
499         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
500           add a test for adding self
501
502 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
503
504         * libs/gst/check/gstcheck.h:
505           add some assert_ as alias for fail_unless_*
506         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
507           increase test coverage
508
509 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
510
511         * Makefile.am:
512           include lcov.mak for lcov coverage generation
513         * tools/Makefile.am:
514           add to CLEANFILES
515
516 2006-07-02  Edward Hervey  <edward@fluendo.com>
517
518         * tests/check/elements/.cvsignore:
519         moaping
520
521 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
522
523         * configure.ac:
524           don't set CFLAGS and friends for gcov, done from GST_GCOV now
525         * tests/check/Makefile.am:
526           clean up gcov files
527
528 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
529
530         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
531           remove gst_caps_simplify; it was not declared and not used
532           and deprecated in 0.8
533
534 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
535
536         * docs/faq/gst-uninstalled:
537           don't put empty paths on PYTHONPATH
538         * docs/gst/gstreamer-sections.txt:
539           remove some symbols that are not there
540
541 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
542
543         * gst/gstcaps.c: (gst_caps_compare_structures):
544           whitespace fixes
545         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
546         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
547           add more tests
548
549 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
550
551         * libs/gst/dataprotocol/Makefile.am:
552           build dataprotocol test by linking to the lib, instead of
553           compiling the source, so we get coverage
554         * tests/check/Makefile.am:
555         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
556         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
557           add a test for filesrc
558
559 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
560
561         * tests/check/gst/gststructure.c: (GST_START_TEST),
562         (gst_structure_suite):
563           Push coverage from 59.04% to 70.00%
564
565 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
566
567         * tests/check/Makefile.am:
568           gst-inspect every element; this makes sure that we also get
569           coverage on element's get/set functions
570
571 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
572
573         * configure.ac:
574           set CFLAGS and friends to -O0 if gcov is being used
575           add GCOV LIBS
576         * gst/Makefile.am:
577         * libs/gst/base/Makefile.am:
578         * libs/gst/check/Makefile.am:
579         * libs/gst/controller/Makefile.am:
580         * libs/gst/dataprotocol/Makefile.am:
581         * libs/gst/net/Makefile.am:
582         * plugins/elements/Makefile.am:
583         * plugins/indexers/Makefile.am:
584           add makefile rules to generate gcov data and clean up
585         * tests/check/Makefile.am:
586           add a coverage target that generates an html overview
587           of coverage data
588
589 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
590
591         * tests/check/elements/fakesink.c:
592         * tests/check/elements/fakesrc.c:
593         * tests/check/elements/fdsrc.c:
594         * tests/check/elements/identity.c:
595         * tests/check/generic/sinks.c: (gst_sinks_suite):
596         * tests/check/generic/states.c:
597         * tests/check/gst/gst.c:
598         * tests/check/gst/gstabi.c:
599         * tests/check/gst/gstbin.c:
600         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
601         * tests/check/gst/gstbus.c: (gst_bus_suite):
602         * tests/check/gst/gstcaps.c: (GST_START_TEST):
603         * tests/check/gst/gstelement.c:
604         * tests/check/gst/gstevent.c: (gst_event_suite):
605         * tests/check/gst/gstghostpad.c:
606         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
607         * tests/check/gst/gstmessage.c: (gst_message_suite):
608         * tests/check/gst/gstminiobject.c:
609         * tests/check/gst/gstobject.c:
610         * tests/check/gst/gstpad.c:
611         * tests/check/gst/gstpipeline.c:
612         * tests/check/gst/gstplugin.c:
613         * tests/check/gst/gstquery.c: (gst_query_suite):
614         * tests/check/gst/gstsegment.c: (gst_segment_suite):
615         * tests/check/gst/gststructure.c:
616         * tests/check/gst/gstsystemclock.c:
617         * tests/check/gst/gsttag.c:
618         * tests/check/gst/gsttask.c: (gst_task_suite):
619         * tests/check/gst/gstutils.c:
620         * tests/check/gst/gstvalue.c:
621         * tests/check/libs/adapter.c:
622         * tests/check/libs/basesrc.c:
623         * tests/check/libs/collectpads.c:
624         * tests/check/libs/controller.c:
625         * tests/check/libs/gdp.c: (gst_dp_suite):
626         * tests/check/libs/gstnetclientclock.c:
627         * tests/check/libs/gstnettimeprovider.c:
628         * tests/check/libs/libsabi.c: (libsabi_suite):
629         * tests/check/libs/typefindhelper.c:
630         * tests/check/pipelines/cleanup.c:
631         * tests/check/pipelines/parse-launch.c:
632         * tests/check/pipelines/simple-launch-lines.c:
633         * tests/check/pipelines/stress.c: (stress_suite):
634           use the new macro
635
636 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
637
638         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
639         * libs/gst/check/gstcheck.h:
640           create a macro and function so that the simple unit test
641           case can be just one macro to create main()
642
643 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
644
645         * gst/gstbin.c: (gst_bin_restore_thyself):
646         * gst/gstxml.c: (gst_xml_make_element):
647           Fix deserialisation from XML. Set parent manually
648           instead of using gst_bin_add(), since gst_bin_add()
649           will unlink all pads of the element being added.
650           Fixes #341667.
651
652 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
653
654         Patch by: Peter Kjellerstedt <pkj at axis com>
655
656         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
657           Fix missing g_strdup() and double free when using the
658           --gst-plugin-load command line option (#346097).
659
660 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
661
662         * gst/gstinfo.c:
663           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
664
665         * libs/gst/net/gstnetclientclock.c:
666         * libs/gst/net/gstnettimeprovider.c:
667           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
668
669 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
670
671         * docs/manual/advanced-dataaccess.xml:
672           Fix buffer probe example compilation in
673           ADM (#345708).
674         
675 2006-06-22  Edward Hervey  <edward@fluendo.com>
676
677         * gst/gstelement.c: (gst_element_pads_activate):
678         We need to deactivate src pads first and then sink pads.
679         The reason is the src pads might be blocking while holding the streaming
680         lock, so we need to deactivate them first so that deactivating the sink
681         pads doesn't block (since it will require the streaming lock).
682
683 2006-06-22  Wim Taymans  <wim@fluendo.com>
684
685         * libs/gst/base/gstbasetransform.c:
686         (gst_base_transform_buffer_alloc):
687         Forgot to remove two unneeded unrefs.
688         Simplify a check _is_equal allready checks the obvious case.
689
690 2006-06-22  Wim Taymans  <wim@fluendo.com>
691
692         * docs/design/part-block.txt:
693         Some docs about what pad_block should do.
694
695 2006-06-22  Wim Taymans  <wim@fluendo.com>
696
697         * gst/gstcaps.c: (gst_caps_replace):
698         Fix crasher when passed NULL. Doc clarification.
699         Optimize for the trivial case.
700
701         * gst/gstpipeline.c: (gst_pipeline_change_state):
702         Small cleanups.
703
704         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
705         Small documentation cleanup.
706
707         * libs/gst/base/gstbasetransform.c:
708         (gst_base_transform_buffer_alloc):
709         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
710         is what we need and it avoids a whole lot of redundant 
711         refcount operations.
712
713 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
714
715         Patch by: Philip Jägenstedt  <philip at lysator liu se>
716
717         * docs/manual/advanced-dataaccess.xml:
718           Fix 'Embedding static elements' section to use
719           GST_PLUGIN_DEFINE_STATIC (#345607).
720
721 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
722
723         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
724           Attempt to 'fix' spuriously failing test case: it seems like the
725           timeout of half a second is simply too small when the system is under
726           load otherwise, and the timeout doesn't really seem to serve any
727           particular purpose here. Give the pipeline a few seconds to preroll
728           first, and then give it another half a second to go from PAUSED to
729           PLAYING and marshal the message into the main thread.
730
731 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
732
733         * tools/gst-feedback-m.m:
734           Don't only use unversioned tools, try versioned tools as well
735           (#345086).
736
737 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
738
739         * gst/gstbus.c: (gst_bus_class_init):
740           Fix some typos, make docs more explicit.
741
742 2006-06-20  Wim Taymans  <wim@fluendo.com>
743
744         * tests/check/gst/gstghostpad.c: (block_callback),
745         (GST_START_TEST), (gst_ghost_pad_suite):
746         Added some more ghostpad tests, mainly blocking
747         and probes.
748
749 2006-06-16  Wim Taymans  <wim@fluendo.com>
750
751         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
752         (gst_file_sink_close_file), (gst_file_sink_do_seek),
753         (gst_file_sink_event), (gst_file_sink_render):
754         * plugins/elements/gstfilesink.h:
755         Check if we can seek in the file instead of assuming
756         we always can. Post an error when we are asked to seek in a
757         non-seekable file (like a fifo). Fixes #343312.
758         Some cleanups.
759
760 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
761
762         * tools/gst-launch.1.in:
763           Un-garble (fourcc) bit in filtered caps section.
764
765 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
766
767         * docs/manual/advanced-autoplugging.xml:
768         * docs/manual/basics-helloworld.xml:
769         * docs/manual/highlevel-components.xml:
770           Don't leak bus reference in sample code.
771
772 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
773
774         * autogen.sh:
775           Add default for new --enable-plugin-docs switch.
776
777         * configure.ac:
778           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
779           Fixes #344039.
780
781         * docs/Makefile.am:
782           Use new ENABLE_PLUGIN_DOCS conditional.
783
784 2006-06-14  Wim Taymans  <wim@fluendo.com>
785
786         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
787         Make it clear with a FIXME and a real define what the #if 0
788         previously disabled.
789
790 2006-06-14  Wim Taymans  <wim@fluendo.com>
791
792         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
793         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
794         * libs/gst/base/gstbasetransform.c:
795         (gst_base_transform_sink_eventfunc):
796         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
797         Don't randomly and silently reset a segment when the format 
798         changes as this is a bug somewhere upstream. Fixes #330379.
799
800 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
801
802         Patch by: Wouter Paesen  <wouter at kangaroot net>
803
804         * libs/gst/controller/gstcontroller.c:
805         (gst_controlled_property_new):
806           Fix controlling of float properties (#344849).
807
808         * tests/check/libs/controller.c:
809         (gst_test_mono_source_get_property),
810         (gst_test_mono_source_set_property),
811         (gst_test_mono_source_class_init), (GST_START_TEST):
812           While we're at it, add some float stuff to unit test.
813
814 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
815
816         * docs/README:
817         * docs/images/gdp-header.svg:
818           add a gdp image
819         * docs/libs/Makefile.am:
820         * docs/libs/gdp-header.png:
821         * libs/gst/dataprotocol/dataprotocol.c:
822           add it to the API docs
823         * docs/manual/intro-motivation.xml:
824           fix typo
825
826 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
827
828         * gst/gst.c: (scan_and_update_registry), (init_post):
829           If the fork()'ed child process can't write the updated registry cache
830           file to disk for some reason, make it exit with a failure exit code,
831           so that the parent can then re-scan the plugins itself and update the
832           registry structures in memory and work with that (rather than failing
833           when creating elements because seemingly no plugins are available).
834           Refactor registry scanning code into separate function for this and
835           also separate fork() and non-fork() code paths. Fixes #344748.
836
837 2006-06-13  Wim Taymans  <wim@fluendo.com>
838
839         * docs/manual/advanced-dataaccess.xml:
840         Fix wrong PluginDesc. Fixes #344755.
841
842 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
843
844         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
845           Fix silly bug that prevented us from creating
846           ~/.gstreamer-0.10 and writing the registry in one
847           go (the first call to g_mkstemp() would overwrite the
848           placeholder in the template string, so the second call
849           to g_mkstemp() after creating the missing directory
850           would then error out with 'invalid argument').
851
852 2006-06-13  Edward Hervey  <edward@fluendo.com>
853
854         * gst/gst.c: (init_post):
855         Free string.
856
857 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
858
859         * gst/glib-compat-private.h:
860         * gst/glib-compat.c:
861         * gst/glib-compat.h:
862         * gst/gstvalue.c: (gst_value_serialize_flags):
863           remove GLib 2.6 compatibility code
864
865 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
866
867         * gst/parse/Makefile.am:
868           Fix build with 'make -j N' even more (#340016).
869
870 2006-06-12  Wim Taymans  <wim@fluendo.com>
871
872         * docs/gst/gstreamer-sections.txt:
873         Fix docs.
874
875 2006-06-12  Wim Taymans  <wim@fluendo.com>
876
877         * gst/gstsegment.c: (gst_segment_set_duration),
878         (gst_segment_set_last_stop), (gst_segment_set_seek),
879         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
880         (gst_segment_to_running_time), (gst_segment_clip):
881         Use G_UNLIKELY to help the compiler a bit.
882
883 2006-06-12  Wim Taymans  <wim@fluendo.com>
884
885         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
886
887         * gst/gstevent.c: (gst_event_get_type):
888         * gst/gstmessage.c:
889         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
890         (gst_pad_push):
891         constify quark registration strings. Fixes #344115
892         Avoid unneeded type checking is _pad_push() by internally
893         calling gst_pad_chain_unchecked().
894
895 2006-06-12  Wim Taymans  <wim@fluendo.com>
896
897         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
898         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
899         (gst_subbuffer_finalize), (gst_buffer_create_sub),
900         (gst_buffer_is_span_fast), (gst_buffer_span):
901         Init _type for consistency.
902         Use _FLAGS macro to avoid type check.
903         Avoid unneeded type checks in subbufer code.
904
905 2006-06-12  Wim Taymans  <wim@fluendo.com>
906
907         * gst/gst.c: (gst_debug_help):
908         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
909         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
910         (gst_plugin_feature_list_free):
911         * gst/gstregistry.c: (gst_registry_add_plugin),
912         (gst_registry_add_feature), (gst_registry_plugin_filter),
913         (gst_registry_feature_filter), (gst_registry_find_plugin),
914         (gst_registry_find_feature), (gst_registry_get_plugin_list),
915         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
916         * gst/gstregistryxml.c: (load_feature),
917         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
918         * gst/gstminiobject.c: (gst_mini_object_unref),
919         (gst_mini_object_replace), (gst_value_mini_object_free),
920         (gst_value_mini_object_copy):
921         Use _CAST macros to avoid unneeded type checking.
922         Added some more G_UNLIKELY.
923
924 2006-06-12  Wim Taymans  <wim@fluendo.com>
925
926         * gst/gstbuffer.h:
927         Avoid unneeded type checking.
928         API: GST_BUFFER_IS_DISCONT
929
930         * gst/gstminiobject.h:
931         Avoid type check in flag accessor.
932
933         * gst/gstelementfactory.h:
934         * gst/gstplugin.h:
935         * gst/gstpluginfeature.h:
936         Add _CAST macros.
937         API: GST_ELEMENT_FACTORY_CAST
938         API: GST_PLUGIN_CAST
939         API: GST_PLUGIN_FEATURE_CAST
940
941 2006-06-12  Wim Taymans  <wim@fluendo.com>
942
943         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
944         (gst_object_unref):
945         Add G_UNLIKELY in type registration.
946         Avoid type check in _ref/_unref since that is also
947         done in glib.
948
949 2006-06-12  Wim Taymans  <wim@fluendo.com>
950
951         * gst/gsterror.c: (gst_g_error_get_type):
952         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
953         (gst_static_pad_template_get_type):
954         * gst/gsttaglist.c: (gst_tag_list_get_type):
955         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
956         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
957         * gst/gsturi.c: (gst_uri_handler_get_type):
958         * gst/gstvalue.c: (gst_date_get_type):
959         * gst/gstxml.c: (gst_xml_get_type):
960         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
961         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
962         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
963         Add G_UNLIKELY in type registration.
964
965 2006-06-12  Wim Taymans  <wim@fluendo.com>
966
967         * tools/gst-inspect.c: (print_signal_info):
968         Properly print enum values.
969
970 2006-06-12  Wim Taymans  <wim@fluendo.com>
971
972         * gst/gstinfo.c: (gst_debug_set_active),
973         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
974         * gst/gstinfo.h:
975         Add some G_[UN]LIKELY.
976         Maintain __gst_debug_min to avoid formatting the arguments of
977         debug messages that will be dropped anyway to avoid a lot of 
978         overhead from the debugging system.
979
980 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
981
982         * po/POTFILES.in:
983         * po/POTFILES.skip:
984           add missing files containing translatable strings, tell intltool about
985           one exception
986
987 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
988
989         * tests/check/libs/.cvsignore:
990         add test-binary to ignore list
991
992 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
993
994         * docs/libs/gstreamer-libs-docs.sgml:
995         reorder (put dp into a chapter) and indent
996
997 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
998
999         * configure.ac:
1000           back to HEAD
1001
1002 === release 0.10.8 ===
1003
1004 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
1005
1006         * configure.ac:
1007           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
1008
1009 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1010
1011         * gst/gst.c: (init_post):
1012           move pid declaration to declaration block
1013
1014 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1015
1016         * gst/gst.c: (init_post):
1017           use _exit() instead of exit() in our forked child; this ensures
1018           that none of the registered exit handlers from whatever is using
1019           GStreamer get executed.  This fixes gnome-mixer-applet failing
1020           to load, because ORBit would shut down.
1021           Spotted by: Edward Hervey  <edward@fluendo.com>
1022           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
1023           Fixes #344474
1024
1025 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1026
1027         * configure.ac:
1028           back to TRUNK
1029
1030 === release 0.10.7 ===
1031
1032 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
1033
1034         * configure.ac:
1035           releasing 0.10.7, "Soepeke, ik zie ou"
1036
1037 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1038
1039         * configure.ac:
1040         * po/af.po:
1041         * po/az.po:
1042         * po/bg.po:
1043         * po/ca.po:
1044         * po/cs.po:
1045         * po/de.po:
1046         * po/en_GB.po:
1047         * po/fr.po:
1048         * po/it.po:
1049         * po/nb.po:
1050         * po/nl.po:
1051         * po/ru.po:
1052         * po/sq.po:
1053         * po/sr.po:
1054         * po/sv.po:
1055         * po/tr.po:
1056         * po/uk.po:
1057         * po/vi.po:
1058         * po/zh_CN.po:
1059         * po/zh_TW.po:
1060         * win32/common/config.h:
1061           0.10.6.2 prerelease
1062
1063 2006-06-07  Wim Taymans  <wim@fluendo.com>
1064
1065         * gst/gstindex.c: (gst_index_gtype_resolver):
1066         * tools/gst-xmlinspect.c: (print_plugin_info):
1067         Fix leak spotted by coverity checker. Fixes #343827
1068         Fix another other leak found by paolo borelli.
1069
1070 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1071
1072         * libs/gst/dataprotocol/dataprotocol.c:
1073         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1074         (gst_dp_version_get_type), (gst_dp_init),
1075         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
1076         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
1077         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
1078         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
1079         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
1080         (gst_dp_packetizer_free):
1081         * libs/gst/dataprotocol/dataprotocol.h:
1082           API: add a GstDPPacketizer object, and create/free functions
1083           API: add GstDPVersion enum
1084           Add 1.0 event function that uses the string serialization
1085           Serialize more useful buffer flags
1086           Fixes #343988
1087
1088 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1089
1090         * tests/check/Makefile.am:
1091         * tests/check/gst/gstabi.c:
1092         * tests/check/gst/struct_ppc64.h:
1093         * tests/check/libs/libsabi.c:
1094         * tests/check/libs/struct_ppc64.h:
1095           add ppc64 structure sizes
1096
1097 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1098
1099         * tests/check/Makefile.am:
1100         * tests/check/gst/gstabi.c:
1101         * tests/check/gst/struct_x86_64.h:
1102         * tests/check/libs/libsabi.c:
1103         * tests/check/libs/struct_x86_64.h:
1104           generate and add structure size lists for x86_64
1105
1106 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1107
1108         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1109         * libs/gst/check/gstcheck.h:
1110           factor out the method from tests that checks size of structures,
1111           and add code to generate the header containing these sizes
1112         * tests/check/gst/gstabi.c: (GST_START_TEST):
1113         * tests/check/gst/struct_i386.h:
1114         * tests/check/libs/libsabi.c: (GST_START_TEST):
1115         * tests/check/libs/struct_i386.h:
1116           use it
1117
1118 2006-06-06  Michael Smith  <msmith@fluendo.com>
1119
1120         * gst/gstsegment.h:
1121           Don't use c++-style comments, fixes #343929
1122
1123 2006-06-05  Edward Hervey  <edward@fluendo.com>
1124
1125         * gst/gst.c:
1126         plugin_paths is not used if we build without registry support.
1127
1128         * gst/gstsegment.c: (gst_segment_copy): 
1129         _copy() was always returning NULL...
1130
1131 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1132
1133         * libs/gst/dataprotocol/dataprotocol.c:
1134         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1135         (gst_dp_packet_from_event):
1136           factor out CRC code
1137
1138 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1139
1140         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
1141           make sure we unset caps
1142
1143 2006-06-02  Michael Smith  <msmith@fluendo.com>
1144
1145         * libs/gst/check/gstcheck.c: (gst_check_init),
1146         (gst_check_chain_func):
1147         * libs/gst/check/gstcheck.h:
1148           Add a cond/mutex to the check support lib, signal this whenever we
1149           add to the buffers list. This will allow tests to not busy-wait on
1150           the buffer-list.
1151
1152 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1153
1154         * libs/gst/dataprotocol/dataprotocol.c:
1155         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1156         (gst_dp_packet_from_event):
1157           factor out some common header init code
1158
1159 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1160
1161         * docs/libs/gstreamer-libs-sections.txt:
1162         * docs/libs/tmpl/gstdataprotocol.sgml:
1163         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
1164         * libs/gst/dataprotocol/dataprotocol.h:
1165           API: make gst_dp_crc() public
1166
1167 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
1168
1169         * plugins/indexers/gstindexers.c: (plugin_init):
1170         conditionally register fileindexer (fixes #343598)
1171
1172 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
1173
1174         * gst/gsttagsetter.h:
1175         Can't cast ifaces to a class
1176
1177         * libs/gst/net/gstnetclientclock.h:
1178         * libs/gst/net/gstnettimeprovider.h:
1179         * plugins/elements/gstfakesink.h:
1180         * plugins/elements/gstfakesrc.h:
1181         * plugins/elements/gstfdsink.h:
1182         * plugins/elements/gstfdsrc.h:
1183         * plugins/elements/gstfilesink.h:
1184         * plugins/elements/gstfilesrc.h:
1185         * plugins/elements/gstidentity.h:
1186         * plugins/elements/gstqueue.h:
1187         * plugins/elements/gsttee.h:
1188         * plugins/indexers/gstfileindex.c:
1189         * plugins/indexers/gstmemindex.c:
1190         * tests/old/examples/plugins/example.h:
1191         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
1192
1193 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1194
1195         * libs/gst/dataprotocol/dataprotocol.c:
1196         (gst_dp_header_from_buffer):
1197           make sure we zero the whole ABI-compatible area
1198
1199 2006-06-01  Wim Taymans  <wim@fluendo.com>
1200
1201         Patch by: Alessandro Decina <alessandro at nnva dot org>
1202
1203         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
1204         Make sure the EOS flag is cleared from pads after a flush
1205         or stop. Fixes #343538.
1206
1207         * tests/check/libs/collectpads.c: (GST_START_TEST),
1208         (gst_collect_pads_suite):
1209         Added test for collectpads reusage after EOS.
1210
1211 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
1212
1213         * gst/gst.c:
1214          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
1215         * win32/common/libgstbase.def:
1216          export gst_collect_pads_set_flushing
1217         * win32/common/libgstreamer.def:
1218          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
1219          gst_value_fraction_multiply
1220         * win32/vs6/gst_inspect.dsp:
1221          add a link to intl.lib
1222
1223 2006-05-30  Wim Taymans  <wim@fluendo.com>
1224
1225         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1226         (gst_collect_pads_chain):
1227         Handle the case where a pad is removed from the collection
1228         that could cause the other pads to become collectable.
1229
1230 2006-05-30  Wim Taymans  <wim@fluendo.com>
1231
1232         * gst/gstelement.c:
1233         Clarify the use of _release_request_pad() and
1234         _get_request_pad() a bit better.
1235
1236         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
1237         (gst_adapter_take_buffer):
1238         Fix some doc and comment typos.
1239
1240 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1241
1242         * docs/gst/gstreamer-sections.txt:
1243         * docs/libs/gstreamer-libs-sections.txt:
1244           add declared symbols
1245
1246 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
1247
1248         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
1249         Add debug that can be enabled using a #define at the top of the file,
1250         for dumping stats about how late/early we were when waking up from
1251         waiting on the clock.
1252
1253 2006-05-30  Wim Taymans  <wim@fluendo.com>
1254
1255         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
1256         When rebuilding the pad list, don't leak the previous list.
1257
1258 2006-05-30  Wim Taymans  <wim@fluendo.com>
1259
1260         Patch by: Lutz Mueller <lutz at topfrose dot de>
1261
1262         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1263         (gst_base_src_get_query_types), (gst_base_src_update_length):
1264         Publish supported query types.
1265         Update last_stop field in get_range mode so the position
1266         query works. Fixes #342321.
1267
1268 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
1269
1270         * docs/gst/gstreamer-sections.txt:
1271         * gst/gsttaglist.c: (_gst_tag_initialize):
1272         * gst/gsttaglist.h:
1273           API: add GST_TAG_PREVIEW_IMAGE (#343341).
1274
1275 2006-05-30  Wim Taymans  <wim@fluendo.com>
1276
1277         Patch by: Alessandro Decina <alessandro at nnva dot org>
1278
1279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1280         Unlock mutex when removing an unknown pad.
1281         Fixes #343334.
1282
1283         * tests/check/Makefile.am:
1284         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
1285         (push_event), (setup), (teardown), (GST_START_TEST),
1286         (gst_collect_pads_suite), (main):
1287         Added collecpads check, disabled for now as check crashes for
1288         some reason.
1289
1290 2006-05-29  Wim Taymans  <wim@fluendo.com>
1291
1292         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
1293         Don't leak pads lists.
1294
1295 2006-05-29  Wim Taymans  <wim@fluendo.com>
1296
1297         * docs/libs/gstreamer-libs-sections.txt:
1298         * libs/gst/base/gstcollectpads.c:
1299         (gst_collect_pads_set_flushing_unlocked),
1300         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1301         (gst_collect_pads_stop):
1302         * libs/gst/base/gstcollectpads.h:
1303         API: gst_collect_pads_set_flushing()
1304         Added api to set the pads to flushing, useful for seeking
1305         code in elements using collectpads.
1306         Clear segment when receiving a flush.
1307
1308 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
1309
1310         * gst/gst.c: (add_path_func), (init_post):
1311           Don't scan registry paths passed via --gst-plugin-path immediately
1312           (will crash, because absolutely nothing is set up and no types are
1313           registered etc.); do this later in init_post(). Fixes #343057.
1314
1315 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1316
1317         * gst/gst.c: (init_post):
1318           if we have fork, fork while reading/rebuilding the registry
1319           so the parent doesn't take the hit of having all plugins loaded
1320           in memory.  Fixes #342777.
1321         * configure.ac:
1322           Check if we have fork()
1323         * win32/common/config.h.in:
1324           no fork() on win32
1325
1326 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
1327
1328         * plugins/elements/gstelements.c:
1329         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1330         (gst_file_src_init), (gst_file_src_set_property),
1331         (gst_file_src_get_property), (gst_file_src_start):
1332         * plugins/elements/gstfilesrc.h:
1333           API: GstFileSrc::use-mmap
1334
1335         Add a use-mmap property to enable easier testing of all code paths.
1336         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
1337         in the absence of gnomevfssrc. (Closes #340501)
1338
1339 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1340
1341         * tools/gst-inspect.c:
1342         Add missing include, removes warning of ngettext not being defined on
1343         some arches.
1344
1345 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
1346
1347         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1348         Handle NULL input and output pointers silently as a failed conversion,
1349         rather than g_warnings.
1350
1351 2006-05-25  Wim Taymans  <wim@fluendo.com>
1352
1353         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
1354         Initialize variable before using. Fixes #342820.
1355
1356 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1357
1358         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
1359           Fix off-by-one bug that would only allow peeks of N-1 bytes
1360           from the start even if the buffer to typefind on contains
1361           in fact N bytes of data (makes vorbis typefinding from a
1362           vorbis identification header buffer work).
1363
1364         * tests/check/Makefile.am:
1365         * tests/check/libs/.cvsignore:
1366         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
1367         (gst_typefindhelper_suite), (main), (foobar_typefind),
1368         (plugin_init):
1369           Add very basic unit test for gst_type_find_helper_for_buffer()
1370           that checks for the problem fixed above.
1371
1372 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1373
1374         * tools/gst-inspect.c: (print_interfaces),
1375         (print_element_properties_info), (print_element_list), (main):
1376           add more translatable strings
1377
1378 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
1379
1380         Patch by: Julien Moutte  <julien at moutte net>
1381
1382         * docs/gst/gstreamer-sections.txt:
1383           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
1384           
1385         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1386         (gst_fake_sink_preroll):
1387         * plugins/elements/gstfakesink.h:
1388           API: Add new GstFakeSink::preroll-handoff signal (#337100).
1389
1390 2006-05-23  Wim Taymans  <wim@fluendo.com>
1391
1392         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
1393         * gst/gstpad.h:
1394         Added _CUSTOM error and success GstFlowReturn that can be
1395         used be elements internally. 
1396         Added macro to check for SUCCESS flowreturns.
1397         API: GST_FLOW_CUSTOM_SUCCESS
1398         API: GST_FLOW_CUSTOM_ERROR
1399         API: GST_FLOW_IS_SUCCESS
1400
1401         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1402         Added check for GstFlowReturn sanity.
1403
1404 2006-05-23  Wim Taymans  <wim@fluendo.com>
1405
1406         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1407
1408         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1409         (gst_collect_pads_event):
1410         clear/reset segment info in FLUSH_STOP.
1411         Fixes #336929.
1412
1413 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
1416         (gst_collect_pads_check_collected):
1417         Flush queued buffer on _stop(), fixes playing again (#342454)
1418
1419 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1420
1421         * tests/check/gst/gststructure.c: (GST_START_TEST),
1422         (gst_structure_suite):
1423           add a test for a complete structure
1424
1425 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1426
1427         * docs/faq/developing.xml:
1428         * docs/faq/faq.xml:
1429         * docs/faq/troubleshooting.xml:
1430         * docs/faq/using.xml:
1431           Some minor FAQ updates that won't change the fact that
1432           our FAQ is badly structured, full of information hardly
1433           anyone new to GStreamer needs to know and lacking lots
1434           of information people constantly ask for.
1435           
1436 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
1437
1438         * gst/gstpad.c: (gst_pad_set_caps):
1439           Short-circuit gst_pad_set_caps if setting the existing
1440           caps pointer again, and avoid printing debug and 
1441           reffing/unreffing the caps.
1442
1443         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1444           There's actually no need to set the caps before pushing -
1445           the acceptcaps method will handle it anyway.
1446
1447 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1448
1449         * docs/gst/gstreamer-sections.txt:
1450         * win32/common/libgstreamer.def:
1451         * gst/gstutils.c: (gst_element_seek_simple):
1452         * gst/gstutils.h:
1453           API: add gst_element_seek_simple() (#342238).
1454
1455 2006-05-18  Edward Hervey  <edward@fluendo.com>
1456
1457         * gst/gsttypefind.c: (gst_type_find_get_type):
1458         * gst/gsttypefind.h:
1459         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1460         registered for GstTypeFind pointers. This allows wrapping the structure
1461         in bindings (i.e. gst-python).
1462
1463 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1464
1465         * gst/gsttagsetter.c:
1466           Docs additions and fixes (see #339918).
1467
1468 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
1469
1470         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1471         The caps intersection algorithm can produce multiple copies of the
1472         caps. Until that is fixed, we need to simplify the result to be
1473         sure whether the allowed caps are fixed or not.
1474
1475         * plugins/elements/gstqueue.c: (gst_queue_init),
1476         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1477         (gst_queue_push_one):
1478         Proxied buffer alloc should not set the caps on the source pad.
1479         When pushing buffers, we always accept the caps change that triggers.
1480         This prevents negotiation errors caused by caps changing mid-stream 
1481         and then being refused on our source pad (because upstream is now
1482         refusing those caps).
1483
1484 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1485
1486         * tests/examples/helloworld/helloworld.c: (main):
1487           Must plug audioconvert and audioresample between decoder
1488           and audio sink.
1489
1490 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
1491
1492         * gst/gstregistryxml.c: (read_string), (load_pad_template),
1493         (load_feature), (load_plugin):
1494         Allow empty strings for some of the plugin fields so we don't 
1495         drop valid plugin entries that were written out correctly
1496         (Fixes #341479)
1497
1498 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
1499         
1500         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1501           Use g_remove and g_rename instead of remove and rename that don't 
1502           handle utf8 characters. rename was failing for users who had specific
1503           characters in their name then the registry was built at each 
1504           gstreamer init.
1505         * win32/vs6/gst_inspect.dsp:
1506         * win32/vs6/gst_launch.dsp:
1507         * win32/vs6/libgstbase.dsp:
1508         * win32/vs6/libgstcoreelements.dsp:
1509         * win32/vs6/libgstreamer.dsp:
1510           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
1511           build of libgstreamer and clean unused libraries in projects link 
1512           settings.
1513
1514 2006-05-17  Edward Hervey  <edward@fluendo.com>
1515
1516         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1517         The queue is not responsible for pushing an EOS when receiving a fatal
1518         flow error. It's up to the real element driving the pipeline to do that.
1519
1520 2006-05-16  Edward Hervey  <edward@fluendo.com>
1521
1522         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1523         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1524         buffer returned a fatal error. It should just send an EOS and stop
1525         its task.
1526         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1527         when pushing buffers on the queue and will be able to handle the event.
1528
1529 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1530
1531         * docs/manual/basics-bins.xml:
1532         * docs/manual/basics-init.xml:
1533           Fix typos and minor errors in sample code (#341856).
1534
1535 2006-05-16  Wim Taymans  <wim@fluendo.com>
1536
1537         * docs/design/part-qos.txt:
1538         Fix indexes in formulas to make more sense.
1539
1540 2006-05-15  Wim Taymans  <wim@fluendo.com>
1541
1542         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1543         Don't report POSITION based on clock time if sync is
1544         disabled in a sink.
1545
1546 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
1547
1548         * gst/gstobject.h:
1549           Add cast to make compiler happy - refcount variable was a gint
1550           in GstObject but is a guint in GObject and g_atomic_int_get()
1551           wants a gint *.
1552
1553 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1554
1555         * gst/parse/Makefile.am:
1556           chain commands using &&, which also makes parallel make work
1557
1558 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * docs/gst/gstreamer-sections.txt:
1561         * gst/gstevent.c:
1562         * gst/gstevent.h:
1563         * gst/gstmessage.h:
1564           Minor docs fixes.
1565
1566 === release 0.10.6 ===
1567
1568 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
1569
1570         * configure.ac:
1571           releasing 0.10.6, "Take the cannoli"
1572
1573 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
1574
1575         * tools/gst-launch.c: (print_tag):
1576           Fix use of uninitialized variable in the hypothetical
1577           case that some broken plugin creates a GST_TAG_IMAGE
1578           tag containing a NULL buffer (#341667).
1579
1580 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
1581
1582         * tools/gst-launch.c: (print_tag):
1583           Print something more intelligible for image tags when
1584           using the -t switch (#341556).
1585
1586 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1587
1588         * Makefile.am:
1589           updates for win32
1590         * configure.ac:
1591           define GST_MAJORMINOR so we have it available in win32/common/config.h
1592           Possibly remove it from our Makefile.am files later
1593         * win32/common/config.h:
1594         * win32/common/config.h.in:
1595           added GST_MAJORMINOR
1596         * win32/common/gstenumtypes.c: (register_gst_resource_error):
1597         * win32/common/gstversion.h:
1598           updated
1599
1600 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
1601
1602         * win32/MANIFEST:
1603           Update win32 files listing.
1604         * win32/common/gstversion.h:
1605           Add GST_MAJORMINOR definition.
1606         * win32/common/libgstreamer.def:
1607           Add new exported functions.
1608           
1609 2006-05-12  Michael Smith  <msmith@fluendo.com>
1610
1611         * gst/gstplugin.c: (gst_plugin_load_file):
1612           If an so file has no plugin entry point, unload the module.
1613
1614 2006-05-11  Wim Taymans  <wim@fluendo.com>
1615
1616         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1617         (gst_queue_set_property):
1618         Don't forget to signal the _chain or _loop function 
1619         when the queue size or thresholds change since that might
1620         cause them to make progres again.
1621
1622 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
1623
1624         * gst/gstclock.c: (gst_clock_class_init):
1625         * gst/gstindex.c: (gst_index_class_init):
1626         * gst/gstobject.c: (gst_object_class_init):
1627         * gst/gstpad.c: (gst_pad_class_init):
1628         * gst/gstpipeline.c: (gst_pipeline_class_init):
1629         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1630         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1631         * libs/gst/base/gstbasetransform.c:
1632         (gst_base_transform_class_init):
1633         * libs/gst/net/gstnetclientclock.c:
1634         (gst_net_client_clock_class_init):
1635         * libs/gst/net/gstnettimeprovider.c:
1636         (gst_net_time_provider_class_init):
1637         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1638         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1639         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1640         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1641         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1642         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1643         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1644         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1645         * plugins/elements/gsttee.c: (gst_tee_class_init):
1646         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1647         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1648           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1649
1650 2006-05-11  Wim Taymans  <wim@fluendo.com>
1651
1652         * gst/gstbuffer.c: (_gst_buffer_initialize):
1653         Register subbufer along with the buffer type so that
1654         it does not accidentally gets registered from N
1655         different streaming threads in a non threadsafe way.
1656
1657 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1658
1659         * gst/gstbuffer.h:
1660         * gst/gstevent.h:
1661         * gst/gstmessage.h:
1662           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1663           gst_event_ref() and gst_message_ref() functions again
1664           (ugly hack, please do fix if there's a better way besides
1665           overrides.txt, which doesn't seem to work).
1666
1667 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1668
1669         * libs/gst/check/gstcheck.h:
1670           add an assert for setting state to avoid lots of repetitive code
1671           in the future
1672
1673 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1674
1675         * gst/gstvalue.c: (gst_value_serialize_flags):
1676           fix a leak if no flags are set
1677         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1678           fix leak in tests
1679
1680 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * docs/manual/basics-pads.xml:
1683           Expand a bit on caps and filtered links and update
1684           examples that were still using the no longer existing
1685           gst_pad_link_filtered() (#338206).
1686
1687 2006-05-10  Wim Taymans  <wim@fluendo.com>
1688
1689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1690         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1691         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1692         (gst_collect_pads_stop):
1693         * libs/gst/base/gstcollectpads.h:
1694         No need to call _stop in _finalize.
1695         Iterate the main pad list in _finalize.
1696         Added some more debug.
1697         Free lists and data in the right order.
1698         Also free data whem doing _remove_pad when stopped for
1699         backward compatibility protect ::started with PAD_LOCK as
1700         well.
1701
1702 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1703
1704         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1705         (gst_structure_parse_value):
1706           add some comments
1707           rename a method so that it actually says what it does better
1708
1709 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1710
1711         * gst/gstevent.c: (_gst_event_initialize):
1712         * gst/gstformat.c: (_gst_format_initialize):
1713           make sure some essential types used by events are registered
1714           as part of gst_init()
1715         * gst/gstvalue.c: (gst_value_serialize_flags):
1716           if no flags are set, serialize them to a value that represents NONE
1717           so that deserializing them works
1718         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1719           add tests for serialization and deserialization of flags
1720
1721 2006-05-10  Wim Taymans  <wim@fluendo.com>
1722
1723         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1724         (gst_collect_pads_collect_range), (gst_collect_pads_available),
1725         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1726         (gst_collect_pads_event), (gst_collect_pads_chain):
1727         Update docs.
1728         Better debug info.
1729         Catch and return errors from the collect function
1730         Refuse data on eos pads.
1731
1732 2006-05-10  Edward Hervey  <edward@fluendo.com>
1733
1734         * gst/gstinterface.h:
1735         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1736         GInterface type checking.
1737         They were previously using non-defined macros.
1738
1739 2006-05-09  Wim Taymans  <wim@fluendo.com>
1740
1741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1742         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1743         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1744         (gst_collect_pads_start), (gst_collect_pads_stop),
1745         (gst_collect_pads_peek), (gst_collect_pads_pop),
1746         (gst_collect_pads_available), (gst_collect_pads_read),
1747         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1748         (gst_collect_pads_is_collected), (gst_collect_pads_event),
1749         (gst_collect_pads_chain):
1750         * libs/gst/base/gstcollectpads.h:
1751         Clean up the mess that is collectpads, add comments and
1752         FIXMEs where needed.
1753         Maintain a separate pad list so we can add pads while
1754         collecting the other ones. For this we need a new separate 
1755         lock (see comics).
1756         Fix memory leak in finalize.
1757         Refactor some weird code to set/unset pad flushing flags, mark
1758         with comments.
1759         Don't crash in _available, _read, _flush when we're EOS.
1760
1761         * tests/check/libs/.cvsignore:
1762         Ignore adapter check binary.
1763
1764 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1765
1766         * gst/gstindex.c: (gst_index_resolver_get_type):
1767         * plugins/elements/gstfakesink.c:
1768         (gst_fake_sink_state_error_get_type):
1769         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1770         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1771         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1772           Const-ify GEnumValue arrays.
1773
1774 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1775
1776         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1777           Add test case for flags + gst_buffer_make_metadata_writable().
1778
1779 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1780
1781         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1782           gst_buffer_make_metadata_writable() should maintain the
1783           buffer flags (those that make sense at least) (see #340859).
1784
1785 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1786
1787         * tools/gst-inspect.c:
1788         * tools/gst-launch.c:
1789         * tools/gst-typefind.c:
1790         * tools/gst-xmlinspect.c:
1791         * tools/tools.h:
1792           Fix up includes: need to include stdlib.h in tools.h for exit().
1793
1794 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1795
1796         * gst/gsttaglist.c: (_gst_tag_initialize):
1797         * gst/gsttaglist.h:
1798           API: add GST_TAG_IMAGE tag (#340721).
1799
1800 2006-05-08  Wim Taymans  <wim@fluendo.com>
1801
1802         * gst/gstquery.c:
1803         Added some docs for the segment query.
1804
1805 2006-05-08  Wim Taymans  <wim@fluendo.com>
1806
1807         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1808         (gst_base_src_loop), (gst_base_src_change_state):
1809         Always push non-flushing serialized events in the streaming 
1810         thread.
1811
1812 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1813
1814         * gst/gsterror.c: (_gst_stream_errors_init):
1815           Add a missing error string.
1816
1817 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
1818
1819         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1820         Add applied_rate to the debug
1821
1822         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1823         Copy applied_rate into the outgoing NEWSEGMENT event
1824
1825 2006-05-08  Wim Taymans  <wim@fluendo.com>
1826
1827         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1828
1829         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1830         (gst_base_sink_change_state):
1831         call ::unlock before taking the PREROLL_LOCK so we can safely
1832         handle elements that lock in ::render.
1833         Fixes #340174.
1834
1835 2006-05-08  Edward Hervey  <edward@fluendo.com>
1836
1837         * autogen.sh: (CONFIGURE_DEF_OPT): 
1838         Darwin's libtoolize is in fact called glibtoolize.
1839         Adding glibtoolize to the list of accepted names for libtoolize.
1840
1841 2006-05-08  Wim Taymans  <wim@fluendo.com>
1842
1843         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1844         Unify error handling, don't post an error message
1845         when a push() returns EOS but perform our normal EOS
1846         handling code. Fixes #340772.
1847
1848 2006-05-08  Wim Taymans  <wim@fluendo.com>
1849
1850         * docs/design/part-overview.txt:
1851         Make upsteam/downstream concepts more clear.
1852         Give an example of serialized/non-serialized events.
1853
1854         * docs/design/part-events.txt:
1855         * docs/design/part-streams.txt:
1856         Mention applied_rate.
1857
1858         * docs/design/part-trickmodes.txt:
1859         Mention applied rate, flesh out some more use cases.
1860
1861         * gst/gstevent.c: (gst_event_new_new_segment),
1862         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1863         (gst_event_parse_new_segment_full), (gst_event_new_tag),
1864         (gst_event_parse_tag), (gst_event_new_buffer_size),
1865         (gst_event_parse_buffer_size), (gst_event_new_qos),
1866         (gst_event_parse_qos), (gst_event_parse_seek),
1867         (gst_event_new_navigation):
1868         * gst/gstevent.h:
1869         Add applied_rate field to NEWSEGMENT event.
1870         API: gst_event_new_new_segment_full()
1871         API: gst_event_parse_new_segment_full()
1872
1873         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1874         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1875         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1876         * gst/gstsegment.h:
1877         Add applied_rate to GstSegment structure.
1878         Make calculation of stream_time and running_time more correct
1879         wrt rate/applied_rate.
1880         Add some more docs.
1881         API: GstSegment::applied_rate field
1882         API: gst_segment_set_newsegment_full();
1883
1884         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1885         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1886         * libs/gst/base/gstbasetransform.c:
1887         (gst_base_transform_sink_eventfunc),
1888         (gst_base_transform_handle_buffer):
1889         Parse and use applied_rate in the GstSegment field.
1890
1891         * tests/check/gst/gstevent.c: (GST_START_TEST):
1892         Add check for applied_rate field.
1893
1894         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1895         (gstsegments_suite):
1896         Add more checks for various GstSegment operations.
1897
1898 2006-05-08  Wim Taymans  <wim@fluendo.com>
1899
1900         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1901         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1902         (gst_base_sink_get_position), (gst_base_sink_change_state):
1903         Store the sync time of the buffer end position separatly in a
1904         new variable eos_rtime so we can properly sync the EOS event.
1905         Fixes #340697.
1906         Fix the docs for gst_base_sink_set_qos_enabled().
1907         Don't set segment start to invalid value when we receive a 
1908         non TIME newsegment.
1909         get closer to handling position reporting for negative rates 
1910         correctly.
1911
1912 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1913
1914         * gst/gstcaps.c:
1915         Docs about how to print caps for debug purposes.
1916
1917         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1918         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1919
1920 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1921
1922         * gst/gstelement.c:
1923           use full enum names and preprend a '%' in docs strings to make recent 
1924           gtk-doc turn that into a link
1925
1926 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1927
1928         * docs/manual/basics-bins.xml:
1929         * docs/manual/basics-bus.xml:
1930         * docs/manual/basics-pads.xml:
1931           Some typo fixes, some additions, some clarifications. 
1932
1933 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1934
1935         * tools/gst-inspect.c: (main):
1936         * tools/gst-launch.c: (main):
1937         * tools/gst-run.c: (main):
1938         * tools/gst-typefind.c: (main):
1939         * tools/gst-xmlinspect.c: (main):
1940           Use the string passed to g_option_context_new() for
1941           what it's intended for - the program name is already
1942           printed elsewhere.
1943
1944 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1945
1946         * tools/Makefile.am:
1947         * tools/gst-inspect.c: (main):
1948         * tools/gst-launch.c: (main):
1949         * tools/gst-xmlinspect.c: (main):
1950         * tools/tools.h:
1951           Add back --version command line option (#340460).
1952
1953         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1954           Add --version option and use GOption for argument parsing; refactor a
1955           bit; accept directories as arguments and recurse into them; lastly,
1956           print a decent error message when things go wrong.
1957
1958 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1959
1960         * docs/manual/basics-bins.xml:
1961         Don't mention GstThread (#340611)
1962         * docs/manual/basics-elements.xml:
1963         Update link to GObject tutorial (#340607)
1964         
1965 2006-05-05  Wim Taymans  <wim@fluendo.com>
1966
1967         * gst/gstbuffer.h:
1968         * gst/gstminiobject.c:
1969         Add note about refcounting and miniobject/buffer writeability
1970         to docs. Fixes #340604
1971
1972         * gst/gstelementfactory.h:
1973         Added some explanation about @klass.
1974
1975 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1976
1977         * docs/manual/intro-motivation.xml:
1978         * docs/manual/manual.xml:
1979         Avoid CORBA & Bonobo references (#340598)
1980
1981 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1982
1983         * docs/manual/basics-bus.xml:
1984         * docs/manual/basics-pads.xml:
1985         Fix up some inaccuracies and omissions (#340609)
1986         
1987 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1988
1989         * gst/gstghostpad.c:
1990           Small typo in docs (#340625)
1991
1992 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1993
1994         * gst/parse/Makefile.am:
1995           Make 'make -j' proof (see #340698).
1996
1997 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1998
1999         * configure.ac:
2000           Require GLib-2.8 here as well.
2001
2002 2006-05-05  Wim Taymans  <wim@fluendo.com>
2003
2004         * gst/glib-compat.c:
2005         * gst/gst.c: (init_pre):
2006         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
2007         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
2008         (gst_object_dispatch_properties_changed):
2009         * gst/gstobject.h:
2010         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2011         * gst/gststructure.c: (gst_structure_set_valist):
2012         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2013         Remove pre glib2.8 compatibility, fixes #340508
2014
2015 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2016
2017         * gst/gsttaglist.h:
2018           Mention type of tags in doc blurbs.
2019
2020 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
2021
2022         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2023         (gst_pad_configure_src), (gst_pad_push):
2024         Restore acceptcaps checking behaviour now that good plugins have
2025         been released.
2026
2027 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2028
2029         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
2030
2031         * gst/gst.c:
2032         * gst/gstbus.c:
2033         * gst/gstclock.c:
2034         * gst/gstevent.c:
2035         * gst/gstformat.c:
2036         * gst/gstmessage.c:
2037         * gst/gstparse.c:
2038         * gst/gstquery.c:
2039         * gst/gstutils.c:
2040         * gst/parse/Makefile.am:
2041         * libs/gst/base/gstadapter.c:
2042         * libs/gst/base/gstbasesrc.c:
2043         * libs/gst/base/gstpushsrc.c:
2044         * libs/gst/base/gsttypefindhelper.c:
2045         * plugins/elements/gstfakesrc.c:
2046         * plugins/elements/gstidentity.c:
2047           Make sure gstprivate.h and/or config.h are
2048           always included first, otherwise some of our
2049           defines (like _FILE_OFFSET_BITS) might be
2050           redefined in the system headers. Fixes build
2051           on opensolaris (#340016).
2052
2053 2006-05-04  Wim Taymans  <wim@fluendo.com>
2054
2055         * docs/libs/gstreamer-libs-sections.txt:
2056         API: addition: gst_adapter_take_buffer()
2057         
2058         * libs/gst/base/gstadapter.c: (gst_adapter_push),
2059         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
2060         (gst_adapter_available_fast):
2061         * libs/gst/base/gstadapter.h:
2062         Prepare for optimizing the hell out of this hugely inefficient
2063         piece of code. 
2064         Added gst_adapter_take_buffer() so we can at least start thinking
2065         about subbuffering and merging.
2066         Added some comments.
2067
2068         * tests/check/Makefile.am:
2069         * tests/check/libs/adapter.c: (GST_START_TEST),
2070         (gst_adapter_suite), (main):
2071         Added GstAdapter check.
2072
2073 2006-05-04  Wim Taymans  <wim@fluendo.com>
2074
2075         * docs/design/part-overview.txt:
2076         Fix some typos, add blurb about buffer flags.
2077
2078 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2079
2080         * docs/libs/gstreamer-libs-sections.txt:
2081           make sure GstBaseTransformClass shows up in the docs
2082         * libs/gst/base/gstbasetransform.c:
2083         * libs/gst/base/gstbasetransform.h:
2084           move docs so gtk-doc picks it up now
2085
2086 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
2087
2088         * docs/libs/gstreamer-libs-sections.txt:
2089           add missing symbols to docs
2090
2091 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
2092
2093         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2094           back out the newsegment handling change, see #340060 for ongoing
2095           discussion
2096
2097 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
2098
2099         * tools/gst-run.c: (get_candidates), (main):
2100           Fix wrong g_file_test() usage (see glib docs for why it doesn't
2101           work); fix typo in error message. Fixes #340079.
2102
2103 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2104
2105         * common/Makefile.am:
2106         * docs/Makefile.am:
2107         * docs/faq/Makefile.am:
2108         * docs/gst/Makefile.am:
2109         * docs/libs/Makefile.am:
2110         * docs/manual/Makefile.am:
2111         * docs/plugins/Makefile.am:
2112         * docs/pwg/Makefile.am:
2113         * docs/slides/Makefile.am:
2114         * docs/upload.mak:
2115         * common/upload.mak:
2116           move upload.mak to common
2117
2118 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2119
2120         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2121           add more asserts on refcounts
2122           do more cleanup at end of tests
2123           fix test leaks showing in FC5
2124
2125 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
2126
2127         * plugins/elements/gsttypefindelement.c:
2128         (gst_type_find_element_handle_event):
2129         reverted wrong change and reflowed code to avoid others falling into
2130         this trap
2131
2132 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2133
2134         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2135           fix changelog entry about last collectpads change,
2136           add notes about proper fix
2137
2138 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2139
2140         * gst/gst.c:
2141         * gst/gstregistry.c: (gst_registry_scan_path_level),
2142         (gst_registry_scan_path):
2143         * gst/gstregistry.h:
2144           only write out registry if it has changed, fixes #338339
2145
2146 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2147
2148         * gst/gstbin.c:
2149         * gst/gstpipeline.c:
2150         * plugins/elements/gstcapsfilter.c:
2151         * plugins/elements/gstfakesink.c:
2152         * plugins/elements/gstfakesrc.c:
2153         * plugins/elements/gstfdsink.c:
2154         * plugins/elements/gstfdsrc.c:
2155         * plugins/elements/gstfilesink.c:
2156         * plugins/elements/gstfilesrc.c:
2157         * plugins/elements/gstidentity.c:
2158         * plugins/elements/gstqueue.c:
2159         * plugins/elements/gsttee.c:
2160         * plugins/elements/gsttypefindelement.c:
2161         (gst_type_find_element_handle_event):
2162           make GstElementDetails const
2163
2164 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2165
2166         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2167         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2168         (gst_collect_pads_is_collected), (gst_collect_pads_event):
2169           more detailed debug and formatting cleanup,
2170           forward newsegments to src-pad (so that e.g. adder not eats them)
2171
2172 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2173
2174         * gst/gstutils.c: (gst_element_link_pads):
2175           cleanup double code
2176
2177 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2178
2179         * libs/gst/controller/gstcontroller.c:
2180         (gst_controller_sync_values):
2181           some little tuning
2182         * tests/check/libs/controller.c: (GST_START_TEST),
2183         (gst_controller_suite):
2184           a new test for live value handling
2185
2186 2006-04-28  Wim Taymans  <wim@fluendo.com>
2187
2188         * gst/gstutils.c: (push_and_ref):
2189         Added some more docs.
2190         Fix refcount issue whith gst_element_found_tags() helper 
2191         function. Fixes #338335
2192
2193         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2194         Added testsuite for gst_element_found_tags().
2195
2196 2006-04-28  Michael Smith  <msmith@fluendo.com>
2197
2198         * gst/gstvalue.c: (gst_value_serialize_flags):
2199           Avoid NULL dereference when trying to serialize flags containing
2200           invalid values.
2201
2202 2006-04-28  Michael Smith  <msmith@fluendo.com>
2203
2204         * plugins/elements/gsttypefindelement.c:
2205         (gst_type_find_element_handle_event):
2206           If we get EOS before any data is accumulated, don't use
2207           uninitialised local variables.
2208
2209 2006-04-28  Michael Smith  <msmith@fluendo.com>
2210
2211         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2212         (gst_dp_event_from_packet):
2213           Fixes in reading/writing events over GDP (not currently used?) - 
2214           dereferencing NULL events for unknown/invalid event types, memory
2215           leak, and change g_warning to GST_WARNING.
2216
2217 2006-04-28  Wim Taymans  <wim@fluendo.com>
2218
2219         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
2220         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2221         (gst_base_sink_get_position), (gst_base_sink_change_state):
2222         When frame dropping is enabled, we should not ignore frames
2223         without a duration.
2224         Update some documentation.
2225
2226 2006-04-28  Wim Taymans  <wim@fluendo.com>
2227
2228         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2229         (gst_base_src_send_event), (gst_base_src_change_state):
2230         Documentation updates.
2231
2232 2006-04-28  Wim Taymans  <wim@fluendo.com>
2233
2234         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2235         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
2236         handle EAGAIN, EINTR and short writes correctly. Also clean
2237         up some error cases, avoid a deadlock on bad file descriptors and
2238         use GST_DEBUG_OBJECT.
2239         Fixes #339843
2240
2241 2006-04-28  Wim Taymans  <wim@fluendo.com>
2242
2243         * gst/gstvalue.c: (gst_value_serialize_buffer),
2244         (gst_value_deserialize_buffer):
2245         Don't try to serialize a GValue with a NULL buffer. 
2246         Fixes #339821.
2247
2248         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2249         Added check for serialisation of NULL buffers.
2250
2251 2006-04-28  Wim Taymans  <wim@fluendo.com>
2252
2253         * gst/gstminiobject.c: (gst_value_take_mini_object):
2254         Taking a NULL miniobject is valid, fix the case where
2255         we try to unref the NULL miniobject.
2256
2257 2006-04-28  Wim Taymans  <wim@fluendo.com>
2258
2259         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2260
2261         * gst/gstbin.c: (gst_bin_handle_message_func):
2262         Update docs.
2263         Don't leak bin refcount when a state recalc is
2264         in progress and we delay another one #339808.
2265
2266 2006-04-28  Wim Taymans  <wim@fluendo.com>
2267
2268         * docs/design/part-TODO.txt:
2269         Mention QoS as an ongoing work item.
2270
2271         * docs/design/part-buffering.txt:
2272         New doc about buffering that needs to be fleshed out
2273         at some point.
2274
2275         * docs/design/part-qos.txt:
2276         More QoS policy for decoders/demuxers/transforms
2277
2278         * docs/design/part-trickmodes.txt:
2279         Small update.
2280
2281 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2282
2283         * configure.ac:
2284           back to HEAD
2285
2286 === release 0.10.5 ===
2287
2288 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
2289
2290         * configure.ac:
2291           releasing 0.10.5, "Fogo"
2292
2293 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2294
2295         patch by: Wim Taymans
2296
2297         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2298         (gst_pad_configure_src), (gst_pad_push):
2299         * gst/gstpipeline.c: (gst_pipeline_init):
2300           Fix internal data flow errors.  Fixes #338711.
2301
2302 2006-04-12  Wim Taymans  <wim@fluendo.com>
2303
2304         * tests/check/gst/gstelement.c: (GST_START_TEST):
2305         Don't leak the factory.
2306
2307 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2308
2309         * configure.ac:
2310         * win32/common/config.h:
2311           prerelease
2312
2313 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2314
2315         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2316         (gst_controller_unset_all):
2317           Free allocated GstTimedValues when freeing list nodes.
2318           Should fix leaks 'make check-valgrind' complains about.
2319
2320         * win32/common/libgstcontroller.def:
2321           Add gst_controller_unset_all.
2322
2323 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
2324
2325         * docs/libs/gstreamer-libs-sections.txt:
2326         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2327         (gst_controller_unset_all):
2328         * libs/gst/controller/gstcontroller.h:
2329         API: Added new method gst_controller_unset_all()
2330         fixed gst_controller_unset()
2331         * tests/check/libs/controller.c: (GST_START_TEST),
2332         (gst_controller_suite):
2333         Added two testcases for new and fixed method
2334
2335 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
2336
2337         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2338           MSG_DONTWAIT is not defined on Cygwin, so work
2339           around that (fixes #317048).
2340           
2341 2006-04-11  Wim Taymans  <wim@fluendo.com>
2342
2343         * gst/gstelementfactory.c: (gst_element_register),
2344         (gst_element_factory_create), (gst_element_factory_make):
2345         Some cleanups.
2346         Fixed a FIXME.
2347         Updated docs (Fixes #131079)
2348
2349         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2350         Small cleanups.
2351
2352         * tests/check/gst/gstelement.c: (GST_START_TEST),
2353         (gst_element_suite):
2354         Added testcase for elementfactory class field.
2355
2356 2006-04-10  Wim Taymans  <wim@fluendo.com>
2357
2358         * gst/gstsegment.c:
2359         Added some more docs.
2360
2361         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
2362         (gst_base_sink_reset_qos):
2363         Calculate more accurate rate values.
2364
2365 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
2366
2367         * gst/gst_private.h:
2368           add a new #ifdef to use __declspec(dllimport) only for
2369           other modules and not for gstreamer core
2370         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
2371           use gst_guint64_to_gdouble for conversion
2372         * win32/common/libgstreamer.def:
2373           add new exported functions
2374         * win32/vs6/gst_inspect.dsp:
2375         * win32/vs6/gst_launch.dsp:
2376         * win32/vs6/libgstbase.dsp:
2377         * win32/vs6/libgstcontroller.dsp:
2378         * win32/vs6/libgstcoreelements.dsp:
2379         * win32/vs6/libgstdataprotocol.dsp:
2380         * win32/vs6/libgstnet.dsp:
2381           update project files
2382
2383 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * gst/gstbuffer.c: (gst_subbuffer_class_init):
2386         * gst/gstclock.c: (gst_clock_class_init):
2387         * gst/gstelement.c: (gst_element_class_init):
2388         * gst/gstindex.c: (gst_index_class_init):
2389         * gst/gstindexfactory.c: (gst_index_factory_class_init):
2390         * gst/gstobject.c: (gst_object_class_init),
2391         (gst_signal_object_class_init):
2392         * gst/gstpad.c: (gst_pad_class_init):
2393         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
2394         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
2395         * gst/gstregistry.c: (gst_registry_class_init):
2396         * gst/gstsystemclock.c: (gst_system_clock_class_init):
2397         * gst/gsttask.c: (gst_task_class_init):
2398         * gst/gstxml.c: (gst_xml_class_init):
2399         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2400         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2401         (gst_base_src_loop):
2402         * libs/gst/controller/gstcontroller.c:/
2403         (_gst_controller_class_init):
2404         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2405         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2406         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
2407         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2408         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2409         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2410
2411 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
2412
2413         * gst/gstpad.c: (gst_pad_link):
2414           Must set peer pads before calling the link function, otherwise
2415           a task started from a link function might get a flow-not-linked
2416           result when trying to push because the other thread where the
2417           linking happens hasn't had a chance to set the peers yet. This
2418           might happen for example when a queue gets linked to a downstream
2419           element, as queue starts a streaming task when its source pad
2420           gets linked. Happens in real life when playing back flac/musepack
2421           files in playbin (#332390).
2422           
2423 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
2424
2425         * gst/gstindex.h:
2426         * gst/gstxml.h:
2427         * libs/gst/base/gstadapter.h:
2428         * libs/gst/base/gstbasesink.h:
2429         * libs/gst/base/gstbasesrc.h:
2430         * libs/gst/base/gstbasetransform.h:
2431         * libs/gst/base/gstcollectpads.h:
2432         * libs/gst/base/gstpushsrc.h:
2433         Fix broken GObject macros
2434
2435 2006-04-07  Wim Taymans  <wim@fluendo.com>
2436
2437         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2438         Initialize start and stop times, thanks valgrind.
2439
2440 2006-04-07  Wim Taymans  <wim@fluendo.com>
2441
2442         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2443         Be a bit nicer to badly behaving upstream elements that expect
2444         us to deal with non TIME segments and timestamps (such as fakesrc
2445         in the testsuite).
2446
2447 2006-04-07  Wim Taymans  <wim@fluendo.com>
2448
2449         * gst/gstbus.c:
2450         Small documentation clarification about the signal watch.
2451
2452         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2453         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2454         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2455         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2456         (gst_base_sink_get_position_last),
2457         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2458         Convert and store timestamps in stream time and running time, the
2459         raw timestamps are not usefull, also document this better.
2460         Use different window sizes for good and bad QoS observations so
2461         we react to badness a little quicker.
2462         Keep track of the amount of rendered and dropped buffers.
2463         Send QoS timestamps in running time.
2464
2465         * libs/gst/base/gstbasetransform.c:
2466         (gst_base_transform_sink_eventfunc),
2467         (gst_base_transform_handle_buffer):
2468         Compare QoS timestamps against running time.
2469
2470 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2471
2472         * gst/gstpad.c:
2473           Typo fixes in docs.
2474
2475 2006-04-06  Michael Smith  <msmith@fluendo.com>
2476
2477         * gst/gstpad.c: (gst_pad_set_property):
2478           Use g_value_get_object() instead of g_value_dup_gst_object(),
2479           to avoid double-reffing the pad template (which we then sink,
2480           so this worked previously if (and only if) the pad template
2481           was floating.
2482
2483         * gst/gstpadtemplate.c: (gst_pad_template_init),
2484         (gst_pad_template_pad_created):
2485           Never return floating references to pad templates, create
2486           them as initially-sunken.
2487
2488           Document an extra function (and make this stop sinking our
2489           pad template, since that is now guaranteed to do nothing,
2490           since we created it sunken).
2491
2492         * gst/gstghostpad.c:
2493           Fix docs typo.
2494
2495 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2496
2497         * gst/gstinfo.c: (__gst_in_valgrind):
2498           Add some newlines.
2499
2500         * plugins/elements/gsttypefindelement.c:
2501         (gst_type_find_element_chain):
2502           Don't leak buffer caps.
2503
2504 2006-04-06  Michael Smith  <msmith@fluendo.com>
2505
2506         * gst/parse/grammar.y:
2507           Fix a leak in parse-launch for any source-or-sink named element 
2508           references used.
2509
2510         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2511           Unref the pipeline if it exists after we've failed parsing.
2512
2513 2006-04-05  Michael Smith  <msmith@fluendo.com>
2514
2515         * gst/gstpipeline.c: (gst_pipeline_init):
2516           When we create a pipeline bus, initially create it in flushing mode.
2517           Fixes leaks in at least one test, and makes a new pipeline work the
2518           same as one that has gone to READY and then back to NULL.
2519
2520         * gst/gstelement.c:
2521           Typo fix in docs.
2522
2523 2006-04-05  Michael Smith  <msmith@fluendo.com>
2524
2525         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2526           Unref a pad we reffed.
2527         * tests/check/gst/gstutils.c: (GST_START_TEST):
2528           Unref bins
2529
2530 2006-04-05  Michael Smith  <msmith@fluendo.com>
2531
2532         * gst/gstquery.c: (gst_query_set_formats),
2533         (gst_query_set_formatsv):
2534           Fix leaking GValues in queries, as shown by valgrind/testsuite.
2535
2536 2006-04-05  Michael Smith  <msmith@fluendo.com>
2537
2538         * tests/check/generic/sinks.c: (GST_START_TEST):
2539           Fix a variety of memleaks in sinks check, which are only sometimes 
2540           shown by running the tests under valgrind (weird?).
2541
2542 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
2543
2544         * docs/version.entities.in:
2545           Fix the substituted entity name after thomas' changes on the
2546           weekend.
2547
2548 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2549
2550         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2551         VALGRIND_PRINTF
2552         
2553 2006-04-05  Andy Wingo  <wingo@pobox.com>
2554
2555         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2556
2557         * libs/gst/base/gstbasetransform.c
2558         (gst_base_transform_sink_eventfunc): When resetting our segment on
2559         FLUSH_STOP, also update the flag saying we haven't seen a
2560         newsegment.
2561
2562 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2563
2564         Patch by: Paolo Borelli  <pborelli at katamail dot com>
2565
2566         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2567         (gst_plugin_check_license):
2568           minor clean-ups: G_DEFINE_TYPE already takes care of the
2569           parent_class stuff, no need to do it twice. Mark array of
2570           license strings as constant. (#337103)
2571           
2572 2006-04-04  Michael Smith  <msmith@fluendo.com>
2573
2574         * tools/gst-inspect.c: (print_element_list):
2575           Free the right plugin list; fixes a memory leak.
2576
2577 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2578
2579         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
2580
2581         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2582           Don't error out on empty buffers (#336945).
2583           
2584 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
2585
2586         * docs/libs/gstreamer-libs-sections.txt:
2587         * gst/gsttaglist.c:
2588         * libs/gst/base/gstbasesink.c:
2589         * libs/gst/base/gstbasesink.h:
2590         * libs/gst/base/gstbasesrc.c:
2591         * libs/gst/base/gstbasesrc.h:
2592           Documentation updates. Make BaseSink and BaseSrc docs contain the
2593           class structure so that people can actually see the prototypes for
2594           virtual functions they're supposed to be overriding.
2595
2596 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2597
2598         * plugins/elements/gsttypefindelement.c:
2599         (gst_type_find_element_chain):
2600           More debug info; when skipping typefinding, send cached
2601           events in all cases.
2602
2603 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2604
2605         * configure.ac:
2606           use new AS_VERSION and AS_NANO macros
2607         * gst/gst-i18n-lib.h:
2608         * gst/gst.c:
2609         * gst/gsterror.c:
2610         * gst/gstversion.h.in:
2611         * win32/common/config.h:
2612         * win32/common/config.h.in:
2613           update accordingly
2614
2615 2006-03-31  Michael Smith  <msmith@fluendo.com>
2616
2617         * plugins/elements/gsttypefindelement.c:
2618         (gst_type_find_element_chain):
2619           Do not typefind content if the buffers already have caps.
2620           Neccesary for icydemux (#333657), and the right thing to do anyway.
2621
2622 2006-03-30  Wim Taymans  <wim@fluendo.com>
2623
2624         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2625         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2626         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2627         (gst_base_sink_record_qos_observation),
2628         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2629         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2630         (gst_base_sink_change_state):
2631         More QoS measurements as described in the design doc.
2632         Get rid of ringbuffer with observations, running average is
2633         more simple and equally good.
2634         Calculates valid proportion now.
2635         Added beginning of flood measurement.
2636
2637 2006-03-29  Wim Taymans  <wim@fluendo.com>
2638
2639         * docs/design/part-qos.txt:
2640         * gst/gstclock.c:
2641         Small documentation updates and additions.
2642
2643 2006-03-29  Wim Taymans  <wim@fluendo.com>
2644
2645         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2646         (gst_base_src_send_event), (gst_base_src_loop),
2647         (gst_base_src_change_state):
2648         Perform the EOS logic when we reach the segment stop position.
2649         Fix compilation on gcc4.1
2650
2651 2006-03-29  Wim Taymans  <wim@fluendo.com>
2652
2653         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2654
2655         * plugins/elements/gstqueue.c: (gst_queue_init),
2656         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2657         (gst_queue_set_property):
2658         * plugins/elements/gstqueue.h:
2659         In queue, when EOS is received, if minimum threshold > max_size -
2660         current_level, there is chance that queue blocks forever in conditional
2661         item del wait. This is because the queue is not emptied completely due
2662         to minimum threshold.  Here is another approach. Instead of setting
2663         cur_levels to max in EOS, just zero all minimum threshold levels. This
2664         should make sure that queue gives out all data. When going to READY
2665         (stop) state, just reset the original minimum threshold levels.
2666         Fixes #336336.
2667
2668 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
2669
2670         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2671         (gst_type_find_element_handle_event),
2672         (gst_type_find_element_send_cached_events),
2673         (gst_type_find_element_change_state):
2674         * plugins/elements/gsttypefindelement.h:
2675           When typefinding is done in push mode, we should cache
2676           events we receive during typefinding instead of just
2677           dropping them (e.g. newsegment, custom events from
2678           dvdreadsrc etc.) and then send them out once we've
2679           determined the type of the stream (and decodebin
2680           has had a chance to plug in a decoder/demuxer).
2681           
2682 2006-03-27  Wim Taymans  <wim@fluendo.com>
2683
2684         * docs/design/part-qos.txt:
2685         First QoS ideas.
2686
2687 2006-03-27  Wim Taymans  <wim@fluendo.com>
2688
2689         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2690
2691         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2692         (gst_base_src_send_event), (gst_base_src_change_state):
2693         Handle element seek correctly when we are streaming.
2694         Fixes #326998.
2695
2696 2006-03-24  Michael Smith  <msmith@fluendo.com>
2697
2698         * docs/faq/gst-uninstalled:
2699           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2700           allow you to correctly run intalled applications built against old 
2701           core, using plugins that require updated core (e.g. running
2702           installed totem against a full uninstalled gstreamer stack)
2703
2704 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2705
2706         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2707         more debug details
2708
2709 2006-03-24  Wim Taymans  <wim@fluendo.com>
2710
2711         * docs/gst/gstreamer-sections.txt:
2712         Rearrange the order of the methods so that related methods
2713         are grouped together in sections.
2714
2715 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2716
2717         * gst/gstelement.c:
2718           Little clarification in the docs
2719
2720 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2721
2722         * docs/README:
2723         formatting fix
2724         * plugins/elements/gstidentity.c:
2725         * plugins/elements/gstqueue.c:
2726         * plugins/elements/gsttee.c:
2727         * plugins/elements/gsttypefindelement.c:
2728         GST_ELEMENT_DETAILS formatting
2729
2730 2006-03-24  Wim Taymans  <wim@fluendo.com>
2731
2732         * libs/gst/base/gstbasesink.h:
2733         Only add fields, not insert or we break ABI.
2734
2735 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2736
2737         * win32/common/libgstbase.def:
2738         * win32/common/libgstreamer.def:
2739           Update, add recently added functions.
2740
2741 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2742
2743         * docs/gst/gstreamer-sections.txt:
2744         * gst/gstutils.c: (gst_pad_query_peer_position),
2745         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2746         * gst/gstutils.h:
2747           API: add some new utility functions:
2748            - gst_pad_query_peer_position()
2749            - gst_pad_query_peer_duration()
2750            - gst_pad_query_peer_convert()
2751           
2752 2006-03-23  Wim Taymans  <wim@fluendo.com>
2753
2754         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2755         (gst_base_sink_init), (gst_base_sink_finalize),
2756         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2757         (gst_base_sink_set_property), (gst_base_sink_get_property),
2758         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2759         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2760         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2761         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2762         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2763         (gst_base_sink_preroll_object), (gst_base_sink_event),
2764         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2765         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2766         (gst_base_sink_query), (gst_base_sink_change_state):
2767         Decouple max-lateness and the fact that QoS messages are generated
2768         with a new property (qos).
2769         added API: GstBaseSink::async_play()
2770         Add vmethod so subclasses can be notified of ASYNC playing
2771         state changes.
2772         Collect timestamp start and stop to report better current
2773         position in EOS/PLAYING/PAUSED/READY/NULL.
2774         Refactor QoS/frame dropping and other measurements.
2775         API: GstBaseSrc::qos
2776         Fixes #326311
2777
2778         * libs/gst/base/gstbasesink.h:
2779         Added Private struct.
2780         API: gst_base_sink_set_qos_enabled()
2781         API: gst_base_sink_is_qos_enabled()
2782
2783 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2784
2785         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2786           If compiling against GLib-2.8 or newer, try to read the
2787           registry file using GMappedFile first before falling back
2788           to fopen() + fread() (#332151).
2789
2790 2006-03-22  Wim Taymans  <wim@fluendo.com>
2791
2792         * gst/gstinfo.c: (gst_debug_set_active),
2793         (gst_debug_category_set_threshold):
2794         Disable debugging unless explicitly activated.
2795         Fixes #335480.
2796
2797 2006-03-22  Wim Taymans  <wim@fluendo.com>
2798
2799         * gst/gstelement.c: (gst_element_set_locked_state),
2800         (gst_element_dispose):
2801         Cleanup the error case.
2802
2803         * gst/gstobject.c: (gst_object_dispose):
2804         print a critical when some object was disposed with
2805         a parent, also revive the object since it might
2806         crash the parent.
2807
2808 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
2809
2810         * tools/gst-launch.1.in:
2811           Fix another typo.
2812
2813 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2814
2815         * configure.ac:
2816         * tests/check/Makefile.am:
2817           disable some tests when we don't have a registry
2818         * tests/check/gst/gstutils.c: (gst_utils_suite):
2819           don't build the part that needs parsing
2820
2821 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2822
2823         * gst/Makefile.am
2824         * tests/examples/Makefile.am:
2825           fix --disable-parse build
2826
2827 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * tools/gst-feedback.1.in:
2830           Fix typo: s/feeback/feedback/ (#133494).
2831
2832 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2833
2834         * tools/Makefile.am:
2835         * tools/gst-launch.1.in:
2836           Add FILES section and correct entry about GST_REGISTRY_PATH
2837           environment variable (#133495; #133494).
2838
2839 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2840
2841         * tools/Makefile.am:
2842         * tools/gst-md5sum.1.in:
2843         * tools/gst-md5sum.c:
2844           Remove gst-md5sum and man page (the md5sink element
2845           required was removed ages ago)
2846
2847 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2848
2849         * gst/gststructure.c: (gst_structure_id_set_value):
2850           Make sure that string fields in structures/taglists
2851           contain valid UTF-8 - we don't want to pass rubbish to
2852           applications because of a buggy plugin (cp. #334167).
2853
2854 2006-03-21  Edward Hervey  <edward@fluendo.com>
2855
2856         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2857         (gst_bin_handle_message_func):
2858         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2859         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2860         (gst_element_set_bus_func):
2861         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2862         * gst/gstminiobject.c: (gst_value_set_mini_object),
2863         (gst_value_take_mini_object):
2864         * gst/gstpad.c: (gst_pad_set_pad_template):
2865         * gst/gstpipeline.c: (gst_pipeline_dispose),
2866         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2867         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2868         (gst_collect_pads_chain):
2869         * libs/gst/net/gstnettimeprovider.c:
2870         (gst_net_time_provider_set_property):
2871         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2872         It's in fact all issues with gst_*object_replace().
2873
2874 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2875
2876         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
2877         
2878         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2879         * pkgconfig/gstreamer-check.pc.in:
2880           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2881
2882 2006-03-21  Edward Hervey  <edward@fluendo.com>
2883
2884         * gst/gstbuffer.h:
2885         * gst/gstevent.h:
2886         * gst/gstmessage.h:
2887         gst_[buffer|event|message]_ref() macros are replaced by a static
2888         inline functions because gcc-4.1 will about if the return value
2889         isn't used.
2890         * tests/check/gst/gstevent.c: (event_probe):
2891         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2892
2893 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
2894
2895         * gst/gstutils.h:
2896         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2897         the type' case. (Closes: #335195 for now). In the future, when we
2898         depend on GLib 2.10, we could also intern the type name using
2899         g_intern_static_string()
2900
2901 2006-03-20  Wim Taymans  <wim@fluendo.com>
2902
2903         * gst/gstbin.c: (gst_bin_handle_message_func),
2904         (bin_query_max_init), (bin_query_position_fold),
2905         (bin_query_position_done), (gst_bin_query):
2906         Position query should also take max of all streams.
2907
2908 2006-03-20  Wim Taymans  <wim@fluendo.com>
2909
2910         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2911         (gst_fake_src_finalize):
2912         Fix leaks in fakesrc.
2913
2914         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2915         Fix leaks in the testcase.
2916
2917 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
2918
2919         * gst/gst_private.h:
2920           add win32 specific import decoration(__declspec(dllimport)) 
2921           for all extern GstDebugCategory * variables
2922         * win32/common/libgstbase.def:
2923         * win32/common/libgstcontroller.def:
2924         * win32/common/libgstreamer.def:
2925           Add some exports, remove empty lines
2926         * win32/common/libgstdataprotocol.def:
2927         * win32/common/libgstdataprotocol.dsp:
2928         * win32/common/libgstnet.def:
2929         * win32/common/libgstnet.dsp:
2930           new project files and exportation files added
2931         
2932 2006-03-19  Wim Taymans  <wim@fluendo.com>
2933
2934         * tests/check/libs/basesrc.c: (eos_event_counter):
2935         Use proper return value for probe.
2936
2937 2006-03-17  Wim Taymans  <wim@fluendo.com>
2938
2939         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2940         (gst_pad_push):
2941         Don't leak buffers, caps and pads on negotiation errors.
2942
2943 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
2944
2945         * docs/faq/cvs.xml:
2946         * docs/faq/dependencies.xml:
2947         * docs/faq/developing.xml:
2948         * docs/faq/faq.xml:
2949         * docs/faq/general.xml:
2950         * docs/faq/getting.xml:
2951         * docs/faq/legal.xml:
2952         * docs/faq/troubleshooting.xml:
2953         * docs/faq/using.xml:
2954         Faq review and update.
2955
2956 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
2957
2958         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2959         (gst_pad_push):
2960         Don't pound the cpu to pieces by checking get_caps when accept_caps
2961         is called with the same caps as the pad already has.
2962         Use GST_DEBUG_OBJECT when outputting caps change information.
2963
2964 2006-03-15  Wim Taymans  <wim@fluendo.com>
2965
2966         * gst/gstclock.c: (gst_clock_class_init):
2967         Fix docs.
2968
2969 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
2970
2971         * gst/gstbuffer.h:
2972         Documentation fix.
2973
2974         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2975         (gst_pad_accept_caps), (gst_pad_configure_sink),
2976         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2977         Make the default acceptcaps behaviour be to check the requested 
2978         caps against the gst_pad_get_caps output. 
2979
2980         Ensure that gst_pad_accept_caps is used to check caps when a pad
2981         doesn't have a setcaps function, so that pads automatically refuse 
2982         caps that they don't allow in their pad template. (Fixes #332986)
2983
2984         When a buffer with attached caps is pushed, ensure that the source 
2985         pad receives those caps even if the element didn't call
2986         gst_pad_set_caps first.
2987
2988 2006-03-15  Wim Taymans  <wim@fluendo.com>
2989
2990         * libs/gst/base/gstadapter.c:
2991         Add some docs.
2992
2993 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2994
2995         * win32/common/libgstbase.def:
2996         * win32/common/libgstcontroller.def:
2997         * win32/common/libgstreamer.def:
2998           Add a whole bunch of missing functions (#334434).
2999
3000 2006-03-14  Wim Taymans  <wim@fluendo.com>
3001
3002         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3003         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3004         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
3005         Better debug info when we receive a segment event.
3006         Reorganize a bit so we can pass the get_times() results around.
3007         Use the segment format when calculating the running time.
3008         Don't do QoS is sync is disabled or we have no clock or the
3009         element does not want us to sync to the clock.
3010         Don't drop buffers if QoS is disabled for now.
3011
3012 2006-03-14  Wim Taymans  <wim@fluendo.com>
3013
3014         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
3015         Marked the stats property as unimplemented so people don't get
3016         wild ideas.
3017         Add debug message when regression goes wrong.
3018         Added some more docs.
3019
3020 2006-03-14  Wim Taymans  <wim@fluendo.com>
3021
3022         * gst/gstsegment.c: (gst_segment_to_stream_time):
3023         Return correct return type in case of errors.
3024
3025 2006-03-14  Wim Taymans  <wim@fluendo.com>
3026
3027         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
3028           Don't segfault on invalid formats.
3029
3030 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3031
3032         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3033           Can't use gst_segment_to_running_time() when the segment
3034           is not in GST_TIME_FORMAT (like with filesink, for example).
3035           Stops flac encoding pipelines from spewing critical warnings
3036           at EOS (#331248).
3037           
3038 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3039
3040         * gst/gstpipeline.c: (gst_pipeline_class_init):
3041           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
3042
3043         * plugins/elements/gsttypefindelement.c:
3044         (gst_type_find_element_handle_event):
3045           Don't try to typefind empty streams.
3046
3047 2006-03-14  Wim Taymans  <wim@fluendo.com>
3048
3049         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3050         (gst_base_sink_do_qos):
3051         Separate QoS calculation.
3052         Only drop buffers when lateness is bigger than the 
3053         duration of the buffer.
3054
3055 2006-03-13  Wim Taymans  <wim@fluendo.com>
3056
3057         * gst/gstpipeline.c: (gst_pipeline_set_property),
3058         (gst_pipeline_get_property), (do_pipeline_seek),
3059         (gst_pipeline_change_state), (gst_pipeline_set_delay),
3060         (gst_pipeline_get_delay):
3061         Don't deadlock when reading properties.
3062
3063 2006-03-13  Wim Taymans  <wim@fluendo.com>
3064
3065         * libs/gst/base/gstbasetransform.c:
3066         (gst_base_transform_class_init), (gst_base_transform_init),
3067         (gst_base_transform_sink_event),
3068         (gst_base_transform_sink_eventfunc),
3069         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
3070         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3071         (gst_base_transform_set_property),
3072         (gst_base_transform_get_property),
3073         (gst_base_transform_change_state), (gst_base_transform_update_qos),
3074         (gst_base_transform_set_qos_enabled),
3075         (gst_base_transform_is_qos_enabled):
3076         * libs/gst/base/gstbasetransform.h:
3077         Make basetransform virtual method for src events too.
3078         Handle QOS in basetransform.
3079         API: gst_base_transform_update_qos()
3080         API: gst_base_transform_set_qos_enabled()
3081         API: gst_base_transform_is_qos_enabled()
3082
3083 2006-03-13  Wim Taymans  <wim@fluendo.com>
3084
3085         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3086         (gst_base_sink_do_sync):
3087         Small cleanups.
3088         Use QOS debug category.
3089
3090 2006-03-13  Wim Taymans  <wim@fluendo.com>
3091
3092         * plugins/elements/gstqueue.c:
3093         Very small doc update.
3094
3095 2006-03-13  Wim Taymans  <wim@fluendo.com>
3096
3097         * gst/gst_private.h:
3098         * gst/gstinfo.c: (_gst_debug_init):
3099         Added QOS debug category
3100
3101 2006-03-13  Wim Taymans  <wim@fluendo.com>
3102
3103         * docs/gst/gstreamer-sections.txt:
3104         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
3105         * gst/gstbin.h:
3106         * gst/gstbus.c: (gst_bus_class_init):
3107         * gst/gstbus.h:
3108         * gst/gstclock.c:
3109         * gst/gstelement.c: (gst_element_set_locked_state):
3110         * gst/gstsegment.c:
3111         Documentation updates.
3112
3113         * gst/gstpipeline.c: (gst_pipeline_get_type),
3114         (gst_pipeline_class_init), (gst_pipeline_init),
3115         (gst_pipeline_dispose), (gst_pipeline_set_property),
3116         (gst_pipeline_get_property), (do_pipeline_seek),
3117         (gst_pipeline_send_event), (gst_pipeline_change_state),
3118         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
3119         (gst_pipeline_get_delay):
3120         * gst/gstpipeline.h:
3121         Added methods for setting the delay.
3122         API: gst_pipeline_set_delay()
3123         API: gst_pipeline_get_delay()
3124         Add pipeline debug category
3125         Various cleanups.
3126         Updated docs.
3127         Don't reset stream time when seek failed.
3128
3129 2006-03-13  Wim Taymans  <wim@fluendo.com>
3130
3131         * docs/design/draft-klass.txt:
3132         * docs/design/part-clocks.txt:
3133         * docs/design/part-events.txt:
3134         * docs/design/part-gstbin.txt:
3135         * docs/design/part-gstpipeline.txt:
3136         * docs/design/part-messages.txt:
3137         * docs/design/part-negotiation.txt:
3138         * docs/design/part-overview.txt:
3139         * docs/design/part-preroll.txt:
3140         * docs/design/part-seeking.txt:
3141         * docs/design/part-states.txt:
3142         * docs/design/part-streams.txt:
3143         Documentation updates.
3144
3145 2006-03-12  Julien MOUTTE  <julien@moutte.net>
3146
3147         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
3148         us to leak strings...
3149
3150 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3151
3152         * libs/gst/net/gstnettimeprovider.c:
3153           fix docs
3154         * win32/common/config.h:
3155           update
3156
3157 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3158
3159         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
3160
3161         * configure.ac:
3162           Don't check for libgnomeui (leftover from old examples
3163           that aren't built or disted any longer) (#334303).
3164           
3165 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
3166
3167         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3168         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3169           Emit RESOURCE_NO_SPACE_LEFT error here as well when
3170           there's no space left on the device.
3171
3172 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
3173
3174         * gst/gstclock.h:
3175           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
3176           to cast the input to GstClockTime before comparing with
3177           another GstClockTime value.
3178
3179 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3180
3181         * configure.ac:
3182           back to trunk
3183
3184 === release 0.10.4 ===
3185
3186 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
3187
3188         * configure.ac:
3189           releasing 0.10.4, "Light"
3190
3191 2006-03-10  Michael Smith  <msmith@fluendo.com>
3192
3193         * libs/gst/dataprotocol/dataprotocol.c:
3194           Fix docs for dataprocotol to not get the return types completely
3195           wrong for a few functions.
3196
3197 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3198
3199         * docs/gst/gstreamer-sections.txt:
3200         * gst/gstpipeline.c: (gst_pipeline_class_init),
3201         (gst_pipeline_init), (gst_pipeline_set_property),
3202         (gst_pipeline_get_property), (gst_pipeline_change_state),
3203         (gst_pipeline_set_auto_flush_bus),
3204         (gst_pipeline_get_auto_flush_bus):
3205         * gst/gstpipeline.h:
3206           Add new API: gst_pipeline_set_auto_flush_bus() and
3207           gst_pipeline_get_auto_flush_bus() to disable automatic
3208           flushing of the pipeline's GstBus when going from READY
3209           to NULL state (#332045).
3210
3211 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3212
3213         * docs/gst/gstreamer-sections.txt:
3214         * gst/gsturi.c: (gst_uri_has_protocol):
3215         * gst/gsturi.h:
3216            Add new API: gst_uri_has_protocol() (#333779).
3217
3218 2006-03-09  Wim Taymans  <wim@fluendo.com>
3219
3220         * gst/gstclock.c: (gst_clock_entry_new),
3221         (gst_clock_id_compare_func), (gst_clock_id_wait),
3222         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
3223         (gst_clock_init), (gst_clock_get_internal_time),
3224         (gst_clock_set_master), (do_linear_regression),
3225         (gst_clock_add_observation), (gst_clock_set_property):
3226         * gst/gstclock.h:
3227         Review docs.
3228         Small cleanups.
3229         Fix a possible segfault when the window-size is made smaller.
3230         Calculate jitter before performing the clock wait. Ideally
3231         the clock implementation should calculate jitter but we need
3232         API breakage for that.
3233
3234         * gst/gstsystemclock.c: (gst_system_clock_init):
3235         Docs review.
3236         
3237         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3238         Remove leftover else
3239
3240         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3241         (gst_systemclock_suite):
3242         Added check to test GST_CLOCK_DIFF.
3243
3244 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3245
3246         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
3247         (gst_type_find_helper_get_range):
3248           If we are provided with the size, we should implement
3249           GstTypeFind::get_length, so that typefind functions who
3250           want to can actually peek at the middle of a file.
3251
3252 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
3253
3254         * docs/manual/advanced-dataaccess.xml:
3255           Add some very very basic error checking.
3256
3257         * docs/pwg/appendix-checklist.xml:
3258           Some updates to the list of things to check when writing an element.
3259
3260 2006-03-08  Wim Taymans  <wim@fluendo.com>
3261
3262         * docs/design/part-element-transform.txt:
3263         Added some docs about the design of tranform elements.
3264
3265         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3266         (gst_base_src_loop), (gst_base_src_change_state):
3267         Mark buffers with the DISCONT flag.
3268
3269 2006-03-08  Michael Smith  <msmith@fluendo.com>
3270
3271         * gst/gstregistry.h:
3272         * gst/gstregistryxml.c: (gst_registry_save),
3273         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
3274         (gst_registry_xml_save_pad_template),
3275         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
3276         (gst_registry_xml_write_cache):
3277           Rewrite registry-saving to avoid race conditions and check for
3278           failed writes.
3279
3280 2006-03-08  Wim Taymans  <wim@fluendo.com>
3281
3282         * libs/gst/base/gstbasetransform.c:
3283         (gst_base_transform_transform_caps),
3284         (gst_base_transform_transform_size),
3285         (gst_base_transform_prepare_output_buffer),
3286         (gst_base_transform_get_unit_size),
3287         (gst_base_transform_buffer_alloc),
3288         (gst_base_transform_handle_buffer),
3289         (gst_base_transform_change_state):
3290         Cleanups, separate normal flow from errors, add sensible
3291         DEBUG lines.
3292         Don't try to renegotiate when allocating an output buffer.
3293         Also copy DISCONT buffer flag when copying a buffer.
3294         Reset the transform after we finish streaming, not during.
3295
3296 2006-03-08  Wim Taymans  <wim@fluendo.com>
3297
3298         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3299         Use last buffer timestamp in qos message.
3300
3301 2006-03-07  Wim Taymans  <wim@fluendo.com>
3302
3303         Patch by: Christophe Fergeau
3304
3305         * docs/pwg/advanced-tagging.xml:
3306         * docs/pwg/building-pads.xml:
3307           fixes #333416
3308
3309 2006-03-07  Wim Taymans  <wim@fluendo.com>
3310
3311         * docs/libs/gstreamer-libs-sections.txt:
3312         Added basesink new methods.
3313
3314         * gst/gstevent.c:
3315         * gst/gstevent.h:
3316         Docs updates. Flesh out the QoS docs.
3317
3318         * libs/gst/base/gstadapter.c:
3319         Small doc clarification about ownership and flushing.
3320
3321         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
3322         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3323         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
3324         (gst_base_sink_get_property), (gst_base_sink_do_sync):
3325         * libs/gst/base/gstbasesink.h:
3326         API additions: 
3327         Added new methods to allow subclass to control max-lateness 
3328         and sync.
3329         Generate very basic QoS events based on last sync observation.
3330         Updated docs, fix typo, added some QoS blurb.
3331
3332         * libs/gst/base/gstbasesrc.c:
3333         Remove obsolete _get_state() calls from docs.
3334
3335 2006-03-07  Wim Taymans  <wim@fluendo.com>
3336
3337         * docs/libs/gstreamer-libs-sections.txt:
3338         * libs/gst/base/gstbasetransform.h:
3339         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
3340         Fix docs for GstBaseSrc.
3341
3342 2006-03-07  Wim Taymans  <wim@fluendo.com>
3343
3344         * docs/gst/gstreamer-sections.txt:
3345         * gst/gstbuffer.h:
3346         * gst/gstvalue.c:
3347         * libs/gst/base/gstbasetransform.h:
3348         Small documentation fixes.
3349
3350 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3351
3352         * gst/gstvalue.c:
3353           Document thread-unsafety of gst_value_register_foo_func()
3354           when used at the same time as gst_value_foo() (#322628).
3355
3356 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
3359         (gst_push_src_check_get_range):
3360           Push sources don't support pull mode by default.
3361
3362 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
3363
3364         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3365         (gst_base_src_init), (gst_base_src_pad_check_get_range),
3366         (gst_base_src_default_check_get_range):
3367         * libs/gst/base/gstbasesrc.h:
3368           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
3369           provide default implementation, and rename
3370           gst_base_src_check_get_range() to
3371           gst_base_src_pad_check_get_range() for clarity.
3372
3373 2006-03-06  Wim Taymans  <wim@fluendo.com>
3374
3375         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3376         Make property overridable.
3377
3378 2006-03-06  Wim Taymans  <wim@fluendo.com>
3379
3380         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3381         (gst_base_sink_init), (gst_base_sink_set_property),
3382         (gst_base_sink_get_property), (gst_base_sink_do_sync):
3383         * libs/gst/base/gstbasesink.h:
3384         API addition: Make max-lateness a property.
3385
3386 2006-03-06  Wim Taymans  <wim@fluendo.com>
3387
3388         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
3389         (gst_base_sink_do_sync), (gst_base_sink_render_object):
3390         Don't ever draw a frame that is >10ms late.
3391
3392 2006-03-06  Michael Smith  <msmith@fluendo.com>
3393
3394         * gst/gstmessage.c: (_gst_message_copy):
3395           When copying a message, set the parent_refcount of the enclosed
3396           structure to point at the copy, not the original message.
3397
3398 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
3399
3400         Patch by: Christophe Fergeau
3401
3402         * gst/gstutils.h:
3403           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
3404           usable in c++ code (#333417)
3405
3406 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3407
3408         * gst/gstclock.h:
3409           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
3410
3411 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
3412
3413         * libs/gst/base/gstbasetransform.c:
3414         (gst_base_transform_transform_caps):
3415           Make sure caps are writable before passing them to
3416           gst_caps_append().
3417
3418 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
3419
3420         * gst/gsterror.h:
3421           Fix some minor docs errors.
3422
3423 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
3424
3425           Patch by: Ross Burton <ross at burtonini dot com>
3426
3427         * gst/gsterror.c: (_gst_resource_errors_init):
3428         * gst/gsterror.h:
3429           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
3430
3431 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
3432
3433         * gst/gst.c:
3434         Add a check and output a g_warning when GStreamer is built
3435         against GLib 2.6 but running against 2.8 or higher, and vice 
3436         versa. (Closes: #323542)
3437
3438 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
3439
3440         * gst/parse/parse.l:
3441           Commit patch for parse_launch syntax from #331255. Removes 
3442           support for quoted strings and mimetypes when writing filtered 
3443           caps. See the bug report for more details - I'm pretty sure this
3444           obscure feature is not in use by _anyone_ anywhere.
3445
3446           With this simple change, the size of the gstreamer.so here 
3447           drops from 2193KB to 1565KB.
3448
3449 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3450
3451         * plugins/elements/gsttypefindelement.h:
3452         * plugins/elements/gsttypefindelement.c:
3453         (gst_type_find_element_src_event), (start_typefinding),
3454         (stop_typefinding), (gst_type_find_element_handle_event),
3455         (gst_type_find_element_chain),
3456         (gst_type_find_element_chain_do_typefinding):
3457           Use gst_type_find_helper_for_buffer() for chain-based
3458           typefinding.
3459
3460 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3461
3462         * plugins/elements/gsttypefindelement.c:
3463         (gst_type_find_element_class_init),
3464         (gst_type_find_element_set_property),
3465         (gst_type_find_element_get_property):
3466           Deprecate "maximum" property (not only was it only taken into
3467           account for typefinding in push-mode anyway, it also was never
3468           actually possible to set it in the first place because the
3469           property was registered with the numeric property ID for the
3470           "minimum" property). Register "maximum" property correctly,
3471           for the sake of future copy'n'pasters. Remove some cruft
3472           from property get/set functions.
3473
3474 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3475
3476         * plugins/elements/gsttypefindelement.c:
3477         (gst_type_find_element_activate):
3478           Use gst_type_find_helper_get_range() here, so we
3479           can honour the "minimum" property and also emit
3480           the signal with the correct probability of the found caps.
3481
3482 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
3483
3484         * docs/libs/gstreamer-libs-sections.txt:
3485         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3486         (helper_find_suggest), (gst_type_find_helper_get_range),
3487         (gst_type_find_helper):
3488         * libs/gst/base/gsttypefindhelper.h:
3489           New API: gst_type_find_helper_get_range() (#333042).
3490
3491 2006-03-02  Michael Smith  <msmith@fluendo.com>
3492
3493         * gst/gstregistryxml.c: (load_feature):
3494           Asserting on a failure to read part of the registry is Not Cool.
3495           Just log a warning and return NULL (which is already handled)
3496
3497 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
3498
3499         * win32/common/libgstbase.def:
3500           added export of gst_type_find_helper_for_buffer
3501         * win32/common/libgstbase.def:
3502           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3503           gst_ghost_pad_get_target
3504
3505 2006-02-28  Wim Taymans  <wim@fluendo.com>
3506
3507         * docs/design/draft-klass.txt:
3508         We use Filter now.
3509         Added Connector to mark elements that are only used to
3510         allow pipeline connections.
3511         Moved Debug to extra feature since most of them are 
3512         functionally something else.
3513
3514 2006-02-28  Wim Taymans  <wim@fluendo.com>
3515
3516         * docs/design/draft-klass.txt:
3517         Some updates and clarifications.
3518
3519 2006-02-28  Wim Taymans  <wim@fluendo.com>
3520
3521         * docs/design/draft-klass.txt:
3522         Proposal for klass field values.
3523
3524         * docs/design/part-streams.txt:
3525         Start of a doc describing stream anatomy.
3526
3527 2006-02-28  Wim Taymans  <wim@fluendo.com>
3528
3529         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3530         Help the compiler a bit with type registration.
3531         Use existing forward cod path instead of duplicating it when 
3532         handling a message.
3533         
3534         * gst/gstbus.c: (gst_bus_get_type):
3535         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3536         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3537         * gst/gstclock.c: (gst_clock_get_type):
3538         * gst/gstelement.c: (gst_element_get_type),
3539         * gst/gstelementfactory.c: (gst_element_factory_get_type):
3540         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3541         * gst/gstminiobject.c: (gst_mini_object_get_type):
3542         * gst/gstpad.c: (gst_pad_get_type):
3543         * gst/gstsegment.c: (gst_segment_get_type):
3544         * gst/gststructure.c: (gst_structure_get_type):
3545         * gst/gstsystemclock.c: (gst_system_clock_get_type):
3546         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3547         * gst/gstvalue.c:
3548         Help compiler with type registration.
3549
3550         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3551         Small doc update.
3552
3553 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3554
3555         * plugins/elements/gsttypefindelement.c:
3556         (gst_type_find_element_handle_event):
3557           When we get an EOS event and have not found a type yet
3558           (most likely because we had not yet accumulated
3559           TYPE_FIND_MIN_SIZE of data yet), try to determine the
3560           type given the data we have so far. Fixes typefinding
3561           for very short streams again, most notably quicktime
3562           redirections as used on Apple's trailer site (#331701).
3563
3564 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3565
3566         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3567         (gst_type_find_helper):
3568           Try typefinding factories with the highest rank first.
3569
3570 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3571
3572         * docs/libs/gstreamer-libs-docs.sgml:
3573         * docs/libs/gstreamer-libs-sections.txt:
3574         * libs/gst/base/gsttypefindhelper.c:
3575           Add section for typefind helper and add documentation
3576           for the old and the new function.
3577
3578 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3579
3580         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3581         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3582         (gst_type_find_helper_for_buffer):
3583         * libs/gst/base/gsttypefindhelper.h:
3584           New API: gst_type_find_helper_for_buffer() (#332723).
3585           
3586 2006-02-27  Michael Smith  <msmith@fluendo.com>
3587
3588         Patch by: Loïc Minier
3589
3590         * configure.ac:
3591         * docs/Makefile.am:
3592         * docs/slides/Makefile.am:
3593           prevent CVS directories getting disted.
3594
3595 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3598           Use the REFCOUNTING category for caps refcounting.
3599           
3600 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3601
3602         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3603           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3604
3605 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3606
3607         * plugins/elements/gsttypefindelement.c:
3608         (gst_type_find_element_activate):
3609           Use gst_pad_check_pull_range() before _activate_pull()
3610           to avoid unnecessary open/close (see #331690).
3611
3612 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3613
3614         * gst/gstutils.c:
3615           Docs enhancement: make it crystal clear what the
3616           gst_pad_add_*_probe() callbacks should look like.
3617
3618 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3619
3620         * libs/gst/base/gstbasesrc.c:
3621           Document how applications can stop recording from
3622           live sources (see #330996).
3623
3624 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3625
3626         * tests/check/Makefile.am:
3627         * tests/check/libs/basesrc.c: (eos_event_counter),
3628         (basesrc_eos_events_pull), (basesrc_eos_events_push),
3629         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3630         (gst_basesrc_suite), (main):
3631           ... and add some tests for the base source EOS stuff.
3632
3633 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3634
3635         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3636           Test case originally showed the problem fixed below,
3637           but was then amended. Add checks back at the place
3638           where they used to be.
3639
3640 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3641
3642         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3643         (gst_base_src_init), (gst_base_src_loop),
3644         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3645         (gst_base_src_change_state):
3646         * libs/gst/base/gstbasesrc.h:
3647           Don't unconditionally send EOS when going from PAUSED to
3648           READY state, esp. make sure we don't send two EOS events
3649           in some cases (e.g. one when reaching EOS and one when
3650           going from PAUSED to READY). Also, we don't want to send
3651           EOS events when operating in pull mode. However, we do
3652           want to send an EOS event when shutting down a live
3653           source explicitly, for example (fixes #330996).
3654           
3655 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3656
3657         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3658           Update src->read_position after a seek when not using mmap.
3659           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3660
3661 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
3662
3663         * gst/Makefile.am:
3664         * gst/gstparse.h:
3665         * gst/gstutils.c:
3666         * gst/gstutils.h:
3667         Make things work with --disable-parse as they do with 
3668         --disable-load-save - the symbols involved disappear, but the
3669         header is still installed and GST_DISABLE_PARSE is included via
3670         gstconfig.h
3671
3672 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3673
3674         * libs/gst/base/gstbasetransform.c:
3675         (gst_base_transform_change_state): Fix a stupid bug. I was 
3676         sure I compiled that.
3677
3678 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3679
3680         * gst/gstpad.c: (gst_pad_set_blocked_async):
3681         * gst/gstutils.c: (gst_pad_add_data_probe),
3682         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3683         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3684         (gst_pad_remove_buffer_probe): Make those function act on the
3685         ghostpad target when it's a ghostpad. (Closes #331727)
3686
3687 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3688
3689         * libs/gst/base/gstbasetransform.c:
3690         (gst_base_transform_change_state): Make basetransform reusable.
3691         (Closes #331898)
3692
3693 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
3694
3695         * docs/random/release:
3696         Move the current documentation of how to do a release to the top
3697         of the file.
3698
3699         * gst/gstbin.c: (gst_bin_class_init),
3700         (gst_bin_handle_message_func):
3701         Allow multiple state-recalculation threads. (Closes #328873)
3702
3703 2006-02-19  Julien MOUTTE  <julien@moutte.net>
3704
3705         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3706         * gst/gstpad.c: (gst_pad_set_event_function),
3707         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3708         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3709         2 strings. You can't use the STR_NULL macro on that.
3710
3711 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
3712
3713         * gst/gstpad.c: (gst_pad_set_event_function),
3714         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3715         (gst_pad_set_getcaps_function)
3716         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3717           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3718           So now, we can use --gst-debug-level=5 on Windows
3719         * win32/common/libgstcontroller.def:
3720           Added export of gst_controller_init
3721         * win32/vs6/libgstcontroller.dsp:
3722           Fixed Release post build configuration
3723
3724 2006-02-17  Wim Taymans  <wim@fluendo.com>
3725
3726         * tests/check/gst/gstquery.c: (GST_START_TEST):
3727         Added another check.
3728
3729 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         * plugins/elements/gsttypefindelement.c: (find_peek):
3732           We can do peeks at non-zero offsets, as long as they
3733           fall within the buffer we have.
3734
3735 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
3736
3737         * tests/check/Makefile.am:
3738         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3739         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3740         (parse_suite), (main):
3741           Add testsuite for parse launch syntax
3742
3743 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
3744
3745         * plugins/elements/gsttypefindelement.c:
3746         (gst_type_find_element_chain):
3747           When typefinding is unsuccessful in the chain function, don't
3748           error out immediately. Only error out with NO_CAPS_FOUND if
3749           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3750           otherwise simply wait for more data so we can try typefinding
3751           again with more data later. Also, don't attempt to typefind
3752           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3753           this should improve typefinding from network sources where the
3754           size of the first buffer can be somewhat random.
3755
3756 2006-02-14  Wim Taymans  <wim@fluendo.com>
3757
3758         * docs/gst/gstreamer-sections.txt:
3759         * gst/gstpadtemplate.c:
3760         * gst/gstpadtemplate.h:
3761         Fix padtemplate docs, fixes #328805.
3762
3763 2006-02-14  Wim Taymans  <wim@fluendo.com>
3764
3765         * tools/gst-launch.c: (main):
3766         NO_PREROLL is not an ERROR so don't send confusing messages
3767         to the user.
3768
3769 2006-02-14  Wim Taymans  <wim@fluendo.com>
3770
3771         Patch by: Torsten Schoenfeld
3772
3773         * gst/gstregistry.c: (gst_registry_get_default),
3774         (_gst_registry_cleanup):
3775         Protect default registry with lock and ref/sink it.
3776         Fixes #324818
3777
3778 2006-02-14  Wim Taymans  <wim@fluendo.com>
3779
3780         * gst/gstbuffer.c:
3781         * gst/gstquery.c: (gst_query_list_add_format),
3782         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3783         (gst_query_parse_formats_nth):
3784         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3785         Docs fixes.
3786
3787 2006-02-14  Wim Taymans  <wim@fluendo.com>
3788
3789         * docs/gst/gstreamer-sections.txt:
3790         Reworked query docs.
3791
3792         * gst/gstquery.c: (gst_query_new_formats),
3793         (gst_query_list_add_format), (gst_query_set_formats),
3794         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3795         (gst_query_parse_formats_nth):
3796         * gst/gstquery.h:
3797         Flesh out formats query, added some new methods.
3798         Fix part of #324398.
3799
3800         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3801         Added query creation tests.
3802
3803 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
3804
3805         * gst/gstpad.c: (fixate_value):
3806         Add a default fixation for fraction lists.
3807
3808 2006-02-13  Wim Taymans  <wim@fluendo.com>
3809
3810         * gst/gsttask.c: (gst_task_init), (gst_task_func),
3811         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3812         (gst_task_join):
3813         * gst/gsttask.h:
3814         Detect and warn for obvious deadlocks. fixes #320340
3815         Fix error case where lock was not released.
3816
3817         * tests/check/Makefile.am:
3818         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3819         (task_func), (gst_element_suite), (main):
3820         Add task check.
3821
3822 2006-02-13  Wim Taymans  <wim@fluendo.com>
3823
3824         * docs/gst/gstreamer-sections.txt:
3825         * gst/gstbus.c:
3826         Add new functions to docs.
3827
3828 2006-02-13  Wim Taymans  <wim@fluendo.com>
3829
3830         * docs/design/part-TODO.txt:
3831         Updated TODO list, basesrc supports seeking to non-bytes
3832         formats.
3833
3834         * docs/design/part-element-sink.txt:
3835         Update docs.
3836
3837         * gst/gstbin.c: (bin_replace_message),
3838         (gst_bin_handle_message_func):
3839         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3840         * gst/gstevent.c: (gst_event_finalize):
3841         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3842         (gst_pad_send_event):
3843         Use shiny new _TYPE_NAME macros.
3844
3845         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3846         Move debug statement up.
3847
3848         * gst/gstelement.c: (gst_element_set_locked_state):
3849         Add some debugging.
3850
3851 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
3852
3853         * docs/gst/gstreamer-sections.txt:
3854         * gst/gstmessage.h:
3855         * gst/gstquery.h:
3856           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3857           macros (#330906). Also, document the already existing
3858           GST_QUERY_TYPE macro.
3859
3860 2006-02-13  Wim Taymans  <wim@fluendo.com>
3861
3862         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3863         (event_probe), (GST_START_TEST):
3864         Only events up to the pipeline EOS are counted, there are
3865         some more when going to NULL currently which we don't care
3866         about for now.
3867
3868 2006-02-13  Wim Taymans  <wim@fluendo.com>
3869
3870         * gst/gstpad.c: (gst_pad_send_event):
3871         Correctly check flushing and emit probes. fixes #330125
3872
3873 2006-02-10  Andy Wingo  <wingo@pobox.com>
3874
3875         * gst/gstbus.c (gst_bus_class_init): Declare our private data
3876         structure.
3877         (gst_bus_init): Cache the location of the private data in the
3878         instance structure.
3879         (gst_bus_enable_sync_message_emission) 
3880         (gst_bus_disable_sync_message_emission): Implement new public
3881         functions.
3882         (gst_bus_post): Emit the sync-message signal if the user asked for
3883         it. Fixes #330684.
3884
3885         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3886         location of the bus-private structure.
3887         (gst_bus_enable_sync_message_emission)
3888         (gst_bus_disable_sync_message_emission): API addition
3889
3890 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
3891
3892         Patch by: Vincent Torri
3893
3894         * docs/pwg/building-boiler.xml:
3895         PWG patch from #326800
3896
3897 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3898
3899         * configure.ac:
3900         * docs/Makefile.am:
3901         * docs/design/Makefile.am:
3902           Dist design docs.
3903
3904 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3905
3906         * configure.ac:
3907           back to CVS
3908
3909 === release 0.10.3 ===
3910
3911 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
3912
3913         * configure.ac:
3914           releasing 0.10.3, "Like a virgin"
3915
3916 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3917
3918         * configure.ac:
3919           2nd prerelease of 0.10.3
3920           Bump libtool versioning.
3921
3922 2006-02-07  Andy Wingo  <wingo@pobox.com>
3923
3924         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3925         update last_stop if we're in TIME format and the timestamp is
3926         valid.
3927
3928         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
3929         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
3930         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3931         If we get a new newsegment with a different format, adapt
3932         accordingly.
3933
3934         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3935         of 0. Not a problem, really.
3936
3937         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3938         warn if sync=true.
3939
3940 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
3941
3942         * configure.ac:
3943           Prelease of 0.10.3
3944
3945 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
3946
3947         * win32/vs7:
3948           project files updated to the default vs7 configuration
3949         * win32/common/libgstbase.def:
3950         * win32/common/libgstreamer.def:
3951           added new symbols,
3952           removed empty lines,
3953           sorted all exported symbols alphabetically
3954         * win32/common/dirent.c:
3955         * win32/common/dirent.h:
3956         * win32/common/gchar.h:
3957           use windows line end.
3958           
3959 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3960
3961         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3962           Send EOS event when stopping.
3963
3964 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3965
3966         * docs/README:
3967           Tell folks what to do if the plugin-foobar.xml file
3968           hasn't been generated for a newly-added plugin.
3969
3970 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3971
3972         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3973         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3974         (gst_collect_pads_start), (gst_collect_pads_stop),
3975         (gst_collect_pads_event): Collectpads now holds a reference
3976         to the GstPad that was added. Indeed we don't want to look
3977         at pads that might just go away with no warning...
3978
3979 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3980
3981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3982         (gst_collect_pads_start), (gst_collect_pads_stop),
3983         (gst_collect_pads_event), (gst_collect_pads_chain):
3984         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3985         Mark Nauwelaerts's patch on bug #328491.
3986
3987 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3988
3989         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3990         (gst_utils_suite):
3991           Add some simple tests for gst_parse_bin_from_description() and
3992           gst_bin_find_unconnected_pad() (#329069).
3993
3994 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3995
3996         * tools/gst-launch.c: (event_loop), (main):
3997           Catch errors during preroll (#320084).
3998
3999 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
4000
4001         * plugins/elements/gsttypefindelement.c:
4002         (gst_type_find_element_activate):
4003           Post TYPE_NOT_FOUND error message when typefinding
4004           is unsuccessful in the activate function as well.
4005
4006 2006-02-02  Wim Taymans  <wim@fluendo.com>
4007
4008         * docs/design/part-element-sink.txt:
4009         Updated doc.
4010
4011 2006-02-02  Wim Taymans  <wim@fluendo.com>
4012
4013         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4014         (gst_base_sink_render_object),
4015         (gst_base_sink_queue_object_unlocked):
4016         Only keep track of prerollable items when we are 
4017         prerolling.
4018         Before rendering after preroll, always check if we
4019         have queued items.
4020         Added some more debugging.
4021
4022 2006-02-02  Wim Taymans  <wim@fluendo.com>
4023
4024         * gst/gstelement.c: (gst_element_continue_state),
4025         (gst_element_set_state_func), (gst_element_change_state):
4026         Fixed #326576, been running this for quite some time with
4027         no regressions at all.
4028
4029 2006-02-02  Wim Taymans  <wim@fluendo.com>
4030
4031         * common/gst.supp:
4032         Added more suppressions
4033
4034 2006-02-02  Wim Taymans  <wim@fluendo.com>
4035
4036         * docs/design/part-element-sink.txt:
4037         Updated document.
4038
4039         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4040         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
4041         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
4042         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4043         (gst_base_sink_do_sync), (gst_base_sink_render_object),
4044         (gst_base_sink_preroll_object),
4045         (gst_base_sink_queue_object_unlocked),
4046         (gst_base_sink_queue_object), (gst_base_sink_event),
4047         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
4048         (gst_base_sink_loop), (gst_base_sink_activate_pull),
4049         (gst_base_sink_get_position), (gst_base_sink_change_state):
4050         * libs/gst/base/gstbasesink.h:
4051         Totally refactored matching the design doc.
4052         Use two segments, one to clip incomming buffers and another to
4053         perform sync.
4054         Handle queueing correctly, bypass the queue when playing.
4055         Make EOS cancelable.
4056         Handle errors correctly when operating in pull based mode.
4057
4058         * tests/check/elements/fakesink.c: (GST_START_TEST),
4059         (fakesink_suite):
4060         Added new check for sinks.
4061
4062 2006-02-02  Wim Taymans  <wim@fluendo.com>
4063
4064         * gst/gstsegment.c: (gst_segment_clip):
4065         No reason to refuse to clip when start == -1
4066
4067 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * docs/README:
4070         * docs/manual/intro-basics.xml:
4071         * docs/manual/intro-preface.xml:
4072         * docs/manual/manual.xml:
4073         * docs/pwg/advanced-dparams.xml:
4074         * docs/pwg/intro-basics.xml:
4075         * docs/pwg/intro-preface.xml:
4076         * docs/pwg/pwg.xml:
4077           describe dparams (controller) for plugins
4078           unify docs a little more
4079
4080 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
4081
4082         * docs/gst/gstreamer-sections.txt:
4083         * gst/gstutils.c: (element_find_unconnected_pad),
4084         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
4085         * gst/gstutils.h:
4086           Add new API: gst_parse_bin_from_description() and
4087           gst_bin_find_unconnected_pad() (#329069).
4088
4089 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
4090
4091         * docs/manual/README:
4092           uncover a nasty detail of the docs build
4093
4094 2006-01-31  Wim Taymans  <wim@fluendo.com>
4095
4096         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
4097         Don't cache duration messages if we're not going to use or
4098         free them.
4099
4100 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
4101
4102         * docs/manual/advanced-dparams.xml:
4103         * docs/pwg/advanced-dparams.xml:
4104           more dparam docs
4105         * gst/gstindex.c:
4106           fix docs
4107         * libs/gst/controller/lib.c: (gst_controller_init):
4108           init just once
4109
4110 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
4111
4112         * gst/gstelement.c: (gst_element_message_full):
4113           also show file/line/func if no additional debug was given
4114
4115 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
4116         
4117         * win32/vs7/grammar.vcproj:
4118           activate copy of autogenerated files for Release mode
4119
4120 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
4121         
4122         * win32/common/libgstreamer.def:
4123           export gst_value_compare
4124
4125 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
4126
4127         * plugins/elements/Makefile.am:
4128         * plugins/elements/gstelements.c:
4129         * plugins/elements/gstfdsink.c: (_do_init),
4130         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
4131         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
4132         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
4133         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
4134         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
4135         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
4136         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
4137         * plugins/elements/gstfdsink.h:
4138         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
4139
4140 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
4141
4142         * docs/manual/advanced-dparams.xml:
4143           describe controller
4144         * docs/manual/advanced-position.xml:
4145         * docs/manual/basics-init.xml:
4146         * docs/manual/manual.xml:
4147         * docs/manual/titlepage.xml:
4148         * docs/pwg/pwg.xml:
4149         * docs/pwg/titlepage.xml:
4150           cleanup xml (more to come)
4151         * libs/gst/controller/gstcontroller.c:
4152           fix typo
4153
4154 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
4155         
4156         * win32/vs6/grammar.dsp:
4157           add autogen of gstmarshal.c,h for Release mode
4158                 
4159 2006-01-30  Wim Taymans  <wim@fluendo.com>
4160
4161         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4162         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
4163         (gst_base_sink_handle_object), (gst_base_sink_event),
4164         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
4165         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4166         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
4167         (gst_base_sink_deactivate), (gst_base_sink_activate),
4168         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
4169         (gst_base_sink_query), (gst_base_sink_change_state):
4170         Basesink cleanups, remove some old code.
4171         Handle the case where a subclass can preroll in the render
4172         method (mostly audiosinks).
4173         Handle more events.
4174         Remove some locks around variables that are now protected
4175         with the PREROLL_LOCK (clock_id, flushing, ..).
4176         Optimize position query some more, do correct locking.
4177         Remove old code to push queue in state change, this is not
4178         needed anymore since preroll blocks on all prerollable items 
4179         now.
4180         Almost implemented as described in design doc.
4181
4182 2006-01-30  Wim Taymans  <wim@fluendo.com>
4183
4184         * tests/check/gst/gstbin.c: (GST_START_TEST):
4185         Wait for refcount to settle down before checking.
4186
4187 2006-01-30  Wim Taymans  <wim@fluendo.com>
4188
4189         * docs/design/part-element-sink.txt:
4190         Pseudo code overview of desired sink behaviour regarding
4191         preroll.
4192
4193 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4194         * win32/vs6/grammar.dsp:
4195           fix some bugs in Release mode for autogenerated files
4196                 
4197 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4198         * win32/common/libgstbase.def:
4199         * win32/common/libgstreamer.def:
4200           export some new symbols: gst_base_src_set_format,
4201           gst_iterator_next, gst_structure_set_valist
4202
4203 2006-01-29  Julien MOUTTE  <julien@moutte.net>
4204
4205         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4206         Set pad functions unconditionally. Fixes #329105.
4207
4208 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4209         * win32/vs8:
4210           add vs8 project files created by Sergey Scobich
4211
4212 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
4213
4214         * gst/gstutils.c: (gst_element_unlink_pads):
4215         Don't leak pad references.
4216
4217         * tests/check/elements/fakesink.c: (GST_START_TEST):
4218         * tests/check/generic/sinks.c: (GST_START_TEST):
4219         * tests/check/generic/states.c: (GST_START_TEST):
4220         * tests/check/gst/gstbin.c: (GST_START_TEST):
4221         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4222         * tests/check/gst/gstelement.c: (GST_START_TEST):
4223         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4224         * tests/check/gst/gstiterator.c: (GST_START_TEST):
4225         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4226         Fix a bunch of leaks. Make generic/sinks.c
4227         use a bit less cpu by slowing the buffer rate
4228         between fakesrc and fakesink.
4229         
4230 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
4231         * gst/gstcaps.c:
4232         * gst/gstelement.c: (gst_element_send_event):
4233         * gst/gstevent.c:
4234         * gst/gstinfo.c:
4235         * gst/gstiterator.c:
4236         * gst/gstiterator.h:
4237         * gst/gstpad.c: (gst_pad_send_event):
4238         * gst/gststructure.c:
4239         * gst/gsturi.c:
4240         * gst/gstutils.c:
4241         * gst/gstvalue.c:
4242         * libs/gst/base/gstadapter.c:
4243           doc fixes, to link to function, just write gst_cool_function(), don't
4244           prefix with '#'
4245
4246 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4247
4248         * plugins/elements/gsttee.c: (gst_tee_do_push),
4249         (gst_tee_handle_buffer):
4250         Always prefer an actual return value from a src
4251         pad in place of NOT_LINKED. This means we return
4252         WRONG_STATE when all src pads are WRONG_STATE
4253         instead of NOT_LINKED.
4254
4255         Lock when replacing the last message to prevent
4256         racing with the get_property method.
4257
4258         Add debug output
4259
4260 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4261
4262         * tests/check/Makefile.am:
4263         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
4264         (main):
4265         Add a very simple check that should have caught the memleak I fixed
4266         last night (if not for the slice allocator hiding it)
4267
4268 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4269
4270         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4271         (gst_bin_remove_func), (gst_bin_handle_message_func),
4272         (bin_query_duration_fold), (bin_query_generic_fold):
4273         Clean up references to the clock provider when disposed or when
4274         handling a clock-lost message from it.
4275
4276         Unref sinks when performing a query via gst_iterator_fold, as the
4277         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
4278
4279         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
4280         (gst_clock_set_master):
4281         Drop our reference to the master clock, if any, when we are disposed.
4282
4283         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
4284         Chain up in dispose. 
4285
4286 2006-01-26  Wim Taymans  <wim@fluendo.com>
4287
4288         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4289         Add some debugging.
4290
4291 2006-01-26  Julien MOUTTE  <julien@moutte.net>
4292
4293         * plugins/elements/gsttee.c: (gst_tee_do_push),
4294         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
4295         handles pad being NOT_LINKED or in WRONG_STATE.
4296
4297 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4298
4299         * win32/MANIFEST:
4300           more updating
4301
4302 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4303
4304         * win32/MANIFEST:
4305           remove obsolete entry
4306
4307 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4308
4309         * docs/gst/gstreamer-sections.txt:
4310         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
4311         (gst_bin_iterate_sources), (gst_bin_send_event):
4312         * gst/gstbin.h:
4313         * gst/gstelement.c: (gst_element_send_event):
4314         * gst/gstevent.c:
4315         * gst/gstpad.c: (gst_pad_send_event):
4316           added code for downstream events, reviewed docs in gstevent.c
4317
4318 2006-01-25  Julien MOUTTE  <julien@moutte.net>
4319
4320         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4321         We only query position using the clock in the playing state.
4322         Query peer in the other cases.
4323         * win32/common/config.h: Updates.
4324
4325 2006-01-24  Wim Taymans  <wim@fluendo.com>
4326
4327         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4328         A clock entry that is scheduled for the exact time of the
4329         clock is still in time.
4330
4331         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4332         (gst_base_sink_do_sync):
4333         Add some more debug info.
4334
4335 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
4336
4337         * win32/vs7:
4338           Add new vs7 project files and solution.
4339
4340 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
4341
4342         * win32/vs7:
4343           all files removed as they were out-dated.
4344
4345 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4346
4347         * docs/random/release:
4348           update notes
4349         * gst/gstbin.c: (gst_bin_init):
4350         * gst/gstbus.c: (gst_bus_new):
4351         * gst/gstbus.h:
4352         * gst/gstpipeline.c: (gst_pipeline_init):
4353           use gst_bus_new(), improve logging, fix docs
4354         * win32/common/config.h:
4355           update for cvs build
4356
4357 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4358
4359         * autogen.sh:
4360           up required version of automake to 1.7
4361
4362 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
4363
4364         * win32/common/libgstreamer.def:
4365           export gst_buffer_is_metadata_writable
4366
4367 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4368
4369         * docs/gst/gstreamer-sections.txt:
4370         * gst/gstevent.h:
4371           Add gst_event_replace() (#327001)
4372
4373 2006-01-20  Wim Taymans  <wim@fluendo.com>
4374
4375         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4376         Make it actually compile too..
4377
4378 2006-01-20  Wim Taymans  <wim@fluendo.com>
4379
4380         * gst/gstcaps.c:
4381         Clarify behaviour of _is_equal() when passing NULL parameters.
4382
4383         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4384         (gst_pad_set_caps):
4385         Cleanups. Don't unref NULL caps.
4386         When setting the same caps, protect caps of the pad with
4387         proper lock.
4388         Use full functionality of _is_equal() when comparing caps.
4389
4390 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
4391
4392         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4393         Don't loop infinitely if there are no buffers to present. Partially
4394         fixes #327197, but collectpads is just broken for reusing elements
4395         to do multiple encodes atm.
4396
4397 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
4398
4399         * tools/gst-inspect.c: (print_element_features):
4400         * tools/gst-xmlinspect.c: (main):
4401         URL_HANDLER is not a plugin feature we can search for in
4402         the registry.
4403
4404 2006-01-19  Edward Hervey  <edward@fluendo.com>
4405
4406         * gst/gstelement.c: (gst_element_pads_activate): 
4407         When activating, do src pads first, then sink pads.
4408         When de-activating, do sink pads first, then src pads.
4409
4410 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4411
4412         * docs/gst/gstreamer-sections.txt:
4413         Add gst_index_add_associationv to the docs
4414
4415 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4416
4417         * gst/gstevent.c:
4418           Fix docs typo
4419
4420         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
4421         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
4422           Do some refactoring. Doesn't actually change functionality,
4423           but makes landing the DRAIN event easier later.
4424
4425 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
4426
4427         * docs/pwg/advanced-scheduling.xml:
4428           Update from 0.9.x to 0.10 API and make example a bit
4429           clearer.
4430
4431 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4432
4433         * docs/gst/gstreamer-sections.txt:
4434         Add gst_buffer_(is|make)_metadata_writable methods.
4435
4436 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4437
4438         * docs/design/part-sparsestreams.txt:
4439         Update sparse streams doc, hopefully for greater clarity
4440
4441 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
4442
4443         * docs/design/part-events.txt:
4444         Remove mention of FILLER events.
4445         Add DRAIN event.
4446
4447         * docs/design/part-sparsestreams.txt:
4448         Write some things about using NEWSEGMENT to keep sparse streams
4449         flowing.
4450
4451 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * gst/gstbin.c: (gst_bin_dispose):
4454           Guard gst_object_unref call against a NULL object (dispose
4455           can theoretically be called multiple times).
4456           
4457 2006-01-18  Wim Taymans  <wim@fluendo.com>
4458
4459         * gst/gstbin.c: (gst_bin_element_set_state):
4460         * gst/gstclock.c: (gst_clock_id_wait):
4461         Added some more debug info.
4462
4463         * libs/gst/base/gstadapter.c:
4464         Added more docs.
4465
4466         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4467         (gst_base_sink_do_sync), (gst_base_sink_chain):
4468         Added some comments.
4469
4470 2006-01-18  Wim Taymans  <wim@fluendo.com>
4471
4472         * tests/check/Makefile.am:
4473         * tests/check/elements/fakesink.c: (chain_async_buffer),
4474         (chain_async), (chain_async_return), (GST_START_TEST),
4475         (fakesink_suite), (main):
4476         Added fakesink test that checks prerolling and clipping
4477         behaviour.
4478
4479         * tests/check/gst/gstutils.c: (GST_START_TEST):
4480         Make check run faster so that buildbots don't timeout.
4481
4482 2006-01-18  Wim Taymans  <wim@fluendo.com>
4483
4484         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4485         (gst_base_sink_do_sync):
4486         Some cleanups.
4487         When the sink finishes blocking on the preroll buffer, it can
4488         immediatly render it instead of rendering when the next buffer
4489         arrives.
4490
4491 2006-01-18  Wim Taymans  <wim@fluendo.com>
4492
4493         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4494         (gst_base_sink_get_property), (gst_base_sink_do_sync),
4495         (gst_base_sink_chain):
4496         Small cleanups.
4497         GST_ELEMENT_CLOCK and sync are protected with LOCK.
4498         Don't store _last_stop if the buffer is dropped.
4499
4500 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4501
4502         * plugins/elements/gsttypefindelement.c:
4503         (gst_type_find_element_class_init):
4504           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4505           object method handler that sets the caps on the pad and we want
4506           that to happen before we emit the signal (fixes e.g. feeding a
4507           plain text file to decodebin).
4508
4509 2006-01-18  Christian Schaller  <Christian@fluendo.com>
4510
4511         * gst/gstplugin.c: Add MPL and Proprietary as license options
4512
4513 2006-01-18  Andy Wingo  <wingo@pobox.com>
4514
4515         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4516         symbol was exported before, it appears this was just an oversight.
4517         Fixes #168703.
4518         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4519
4520         * gst/gstindex.c (gst_index_add_associationv): Changed int in
4521         prototype to gint. OK since this prototype was not in the header.
4522
4523 2006-01-17  Andy Wingo  <wingo@pobox.com>
4524
4525         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4526         registry while we remove plugins.
4527
4528         * tools/gst-inspect.c (print_element_info): Don't unref the
4529         factory arg, that should be the responsibility of whatever code
4530         received the ref. Fixes a double-free when called from
4531         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4532         (main): Unref the factory if we have one.
4533         (print_element_list): No change -- relies on the
4534         plugin_feature_list_free to free the list of features.
4535
4536 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
4537
4538         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4539         (gst_buffer_make_metadata_writable):
4540         * gst/gstbuffer.h:
4541         * libs/gst/base/gstbasetransform.c:
4542         (gst_base_transform_prepare_output_buf):
4543         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4544         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4545           Replace gst_buffer_(make|is)_metadata_writable patch now
4546           that the release is out.
4547
4548 2006-01-17  Andy Wingo  <wingo@pobox.com>
4549
4550         * gst/gstregistry.c: Reflow design comment. Update so as to speak
4551         in the present tense without reference to versions.
4552
4553         * gst/gstregistry.c (gst_registry_add_plugin)
4554         (gst_registry_remove_plugin, gst_registry_remove_feature)
4555         (gst_registry_find_feature, gst_registry_get_feature_list)
4556         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4557         (gst_registry_lookup, gst_registry_scan_path)
4558         (_gst_registry_remove_cache_plugins)
4559         (gst_registry_get_feature_list_by_plugin): Add argument
4560         validation.
4561
4562 === release 0.10.2 ===
4563
4564 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
4565
4566         * configure.ac:
4567           releasing 0.10.2, "If man is five"
4568
4569 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4570
4571         * gst/gstbuffer.c:
4572         * gst/gstbuffer.h:
4573         * libs/gst/base/gstbasetransform.c:
4574         (gst_base_transform_prepare_output_buf):
4575         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4576         * tests/check/gst/gstbuffer.c: (gst_test_suite):
4577           Back out patch until after the release.
4578
4579 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4580
4581         * gst/gstminiobject.c:
4582           Spelling fix in docs.
4583         * ChangeLog - remove conflict indicator
4584
4585 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4586
4587         Reviewed By: Andy Wingo
4588
4589         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4590         (gst_buffer_make_metadata_writable):
4591         * gst/gstbuffer.h:
4592           Add gst_buffer_(is|make)_metadata_writable as analogues of
4593           gst_buffer_(is|make)_writable.
4594
4595         * libs/gst/base/gstbasetransform.c:
4596         (gst_base_transform_prepare_output_buf):
4597         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4598           Use name gst_buffer_(is|make)_metadata_writable functions.
4599
4600         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4601           Test gst_buffer_(is|make)_metadata_writable
4602         
4603           (Closes: #324162)
4604
4605 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4606
4607         * docs/manual/Makefile.am:
4608           don't do parallel make
4609         * configure.ac:
4610           AC_SUBST HOST_CPU
4611         * win32/common/config.h.in:
4612           add generations for HOST_CPU and GST_MAJORMINOR
4613         * win32/common/config.h:
4614           commit generated result
4615
4616 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
4617
4618         * docs/manual/appendix-integration.xml:
4619           Update GNOME integration section to use gst_init_get_option_group()
4620           instead of the old popt stuff (#322911). Also, GNOME applications
4621           should  now use gconf*sink and gconf*src instead of the old gconf
4622           helper lib we had.
4623
4624 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
4625
4626
4627         * docs/gst/gstreamer-docs.sgml:
4628         * docs/gst/gstreamer-sections.txt:
4629         * docs/libs/gstreamer-libs-sections.txt:
4630           add new API entries to the docs
4631         * libs/gst/controller/Makefile.am:
4632         * libs/gst/controller/gstcontroller.c:
4633         * libs/gst/controller/gstcontroller.h:
4634         * libs/gst/controller/gstcontrollerprivate.h:
4635         * libs/gst/controller/gsthelper.c:
4636         * libs/gst/controller/gstinterpolation.c:
4637           move private structs to private header
4638         * po/README:
4639           gstreamer-0.7 -> gstreamer-0.10
4640         * tests/check/libs/struct_i386.h:
4641           remove private structs
4642
4643 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4644
4645         * plugins/indexers/Makefile.am:
4646           Fixes as part of #317048
4647
4648 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4649
4650         * plugins/indexers/Makefile.am:
4651           fix #316086 - compilation when mmap is missing
4652
4653 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
4654
4655         * libs/gst/base/gstbasesink.c:
4656           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
4657           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4658         * win32/common/config.h:
4659           added some defines GST_MAJORMINOR and HOST_CPU
4660         * win32/common/libgstbase.def:
4661         * win32/common/libgstreamer.def:
4662           added some exported functions.
4663
4664 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4665
4666         * libs/gst/controller/gstcontroller.c:
4667         (gst_controlled_property_set_interpolation_mode),
4668         (gst_controlled_property_new):
4669         * libs/gst/controller/gstcontroller.h:
4670         * libs/gst/controller/gstinterpolation.c:
4671         (interpolate_none_get_string_value_array):
4672           make G_TYPE_STRING controlable
4673
4674 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4675
4676         * tools/README:
4677         * tools/gst-feedback.1.in:
4678         * tools/gst-inspect.1.in:
4679         * tools/gst-launch.1.in:
4680         * tools/gst-md5sum.1.in:
4681         * tools/gst-typefind.1.in:
4682         * tools/gst-xmlinspect.1.in:
4683         * tools/gst-xmllaunch.1.in:
4684           cleanup man-pages, remove reference to gst-register, document env-vars
4685
4686 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
4687
4688         * gst/gstbuffer.c: (gst_buffer_span):
4689           gst_buffer_span should copy the timestamp of the first buffer
4690           if they were both originally overlapping subbuffers of the 
4691           same parent, using the same logic as the 'slow copy' case.
4692
4693 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
4694
4695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4696           Need to awaken ALL the pads when we pop a buffer, otherwise
4697           collectpads only works when there is 2 input streams.
4698
4699 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
4700
4701         * docs/random/ensonic/media-device-daemon.txt:
4702           more ideas (dbus)
4703         * gst/gstbuffer.c:
4704           fix doc example, add clarification
4705         * tools/gst-launch.1.in:
4706           add initial info about GST_PLUGIN_PATH, needs more work
4707
4708 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4709
4710         * docs/manual/basics-bins.xml:
4711         * docs/manual/basics-elements.xml:
4712         * docs/manual/intro-basics.xml:
4713           Some more minor docs additions and updates.
4714
4715 2006-01-11  Wim Taymans  <wim@fluendo.com>
4716
4717         * docs/manual/basics-bins.xml:
4718         * docs/manual/basics-elements.xml:
4719         Some small fixes as pointed out by Ser-ver on IRC.
4720
4721 2006-01-10  Edward Hervey  <edward@fluendo.com>
4722
4723         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4724         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4725         the single-segment mode.
4726
4727 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
4728
4729         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4730
4731         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4732         (gst_base_src_perform_seek), (gst_base_src_send_event),
4733         (gst_base_src_set_property), (gst_base_src_get_property),
4734         (gst_base_src_loop), (gst_base_src_start),
4735         (gst_base_src_activate_push):
4736         * libs/gst/base/gstbasesrc.h:
4737           Name (private) union; makes Sun's Forte compiler happy (#324900).
4738
4739 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4740
4741         * README:
4742           gst-register is gone.
4743
4744 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4745
4746         * gst/gstvalue.c: (_gst_value_initialize):
4747           make the G_TYPE_DATE instantiation work if debug is disabled
4748
4749 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
4750
4751         * gst/gstmessage.c: (gst_message_parse_tag),
4752         (gst_message_parse_error), (gst_message_parse_warning):
4753           Don't crash when return location for error/warning debug
4754           string is NULL; add fact that return locations can be
4755           NULL to docs where appropriate.
4756
4757 2006-01-05  Wim Taymans  <wim@fluendo.com>
4758
4759         * gst/gstplugin.c: (gst_plugin_load_file):
4760         Replace strdup by g_strdup.
4761
4762 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4763
4764         * docs/pwg/advanced-types.xml:
4765           fix doc borkage
4766
4767 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4768
4769         submitted by: Abel Cheung
4770
4771         * po/LINGUAS:
4772         * po/zh_TW.po:
4773           Added Chinese (traditional) translation
4774
4775 2006-01-04  Wim Taymans  <wim@fluendo.com>
4776
4777         * docs/manual/basics-pads.xml:
4778         * docs/plugins/Makefile.am:
4779         * docs/plugins/gstreamer-plugins-docs.sgml:
4780         * docs/plugins/gstreamer-plugins-sections.txt:
4781         * docs/pwg/advanced-clock.xml:
4782         * docs/pwg/advanced-scheduling.xml:
4783         * docs/pwg/advanced-types.xml:
4784         * plugins/elements/gstfdsink.c:
4785         * plugins/elements/gstfdsrc.c:
4786         * plugins/elements/gstfdsrc.h:
4787         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4788         * plugins/elements/gstidentity.h:
4789         * plugins/elements/gstqueue.h:
4790         * plugins/elements/gsttee.c:
4791         * plugins/elements/gsttee.h:
4792         * plugins/elements/gsttypefindelement.c:
4793         (gst_type_find_element_class_init):
4794         * plugins/elements/gsttypefindelement.h:
4795         Small updates to various docs.
4796         Added core plugins to docs.
4797
4798 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4799
4800         * common/gst.supp:
4801           add a suppression for liboil's uninitialized variable
4802
4803 2006-01-02  James Livingston  <jrl at ids dot org dot au>
4804
4805         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4806
4807         * gst/gstutils.h:
4808           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4809           macro, so that gcc doesn't complain if the -Wmissing-prototypes
4810           compiler switch is being used (#325429).
4811
4812 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
4813
4814         * gst/gstbin.c: (gst_bin_query):
4815           Disable duration query caching in bins until it gets
4816           fixed (see #324807).
4817
4818 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4819
4820         * tools/gst-inspect.c: (print_element_properties_info):
4821           Handle properties of POINTER and BOXED type.
4822
4823 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * gst/gst.c: (init_post):
4826           Init tags stuff and some other things before loading
4827           any static plugins (there may be other static plugins
4828           than just the GStreamer ones, and they may want to
4829           register their own tags or formats or whatever, and
4830           preferably without segfaulting).
4831
4832         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4833           Print at least a warning in the debug logs if we drop a
4834           query just because we don't know how to adjust the value
4835           in the particular format.
4836
4837 2005-12-24  David Schleef  <ds@schleef.org>
4838
4839         * tools/gstreamer-completion:
4840           Replacement for gst-complete written in sh and sed.  Only
4841           completes names of features, but that's 90% of what I want
4842           it for.  Properties are not available in registry.xml.  (Maybe
4843           they should be...)
4844
4845 === release 0.10.1 ===
4846
4847 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4848
4849         * configure.ac:
4850           releasing 0.10.1, "Nollaig chridheil"
4851
4852 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
4853
4854         * docs/faq/cvs.xml:
4855           Add missing quote, should be make ERROR_CFLAGS="".
4856
4857 2005-12-20  Wim Taymans  <wim@fluendo.com>
4858
4859         * docs/design/part-trickmodes.txt:
4860         More documentation on trickmodes.
4861
4862 2005-12-20  Edward Hervey  <edward@fluendo.com>
4863
4864         * gst/gstcaps.c: (gst_static_caps_get_type):
4865         * gst/gstcaps.h:
4866           API addition: GST_TYPE_STATIC_CAPS
4867         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4868         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4869         * gst/gstpadtemplate.h:
4870           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4871         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4872         bindings.
4873
4874 2005-12-18  Wim Taymans  <wim@fluendo.com>
4875
4876         * libs/gst/base/gstadapter.c:
4877         * libs/gst/base/gstadapter.h:
4878         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4879         (gst_base_sink_get_position):
4880         * libs/gst/base/gstbasesink.h:
4881         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4882         (gst_base_src_default_query), (gst_base_src_default_do_seek),
4883         (gst_base_src_do_seek), (gst_base_src_perform_seek),
4884         (gst_base_src_send_event), (gst_base_src_update_length),
4885         (gst_base_src_get_range), (gst_base_src_loop),
4886         (gst_base_src_start):
4887         * libs/gst/base/gstbasesrc.h:
4888         * libs/gst/base/gstbasetransform.h:
4889         * libs/gst/base/gstcollectpads.h:
4890         * libs/gst/base/gstpushsrc.c:
4891         * libs/gst/base/gstpushsrc.h:
4892         * libs/gst/dataprotocol/dataprotocol.c:
4893         * libs/gst/dataprotocol/dataprotocol.h:
4894         * libs/gst/net/gstnetclientclock.h:
4895         * libs/gst/net/gstnettimeprovider.h:
4896         Documentation updates.
4897
4898 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * docs/manual/basics-helloworld.xml:
4901           Remove superfluous closing bracket in helloworld example.
4902
4903 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         * tools/gst-launch.1.in:
4906           Update gst-launch man page; add a section with useful
4907           environment variables. Fixes #323882.
4908
4909 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
4910
4911         * gst/gst.c:
4912         * gst/gst_private.h:
4913           change some char* into char[]
4914
4915 2005-12-16  Wim Taymans  <wim@fluendo.com>
4916
4917         * gst/gstregistryxml.c: (load_feature):
4918         Cleanups.
4919         Don't use g_object_unref on GstObjects so that we avoid
4920         leaks on unsafe glibs.
4921
4922 2005-12-16  Wim Taymans  <wim@fluendo.com>
4923
4924         * gst/gstbin.c: (gst_bin_recalc_state):
4925         Small doc updates.
4926
4927 2005-12-16  Wim Taymans  <wim@fluendo.com>
4928
4929         * common/check.mak:
4930         Added make forever target for check.
4931
4932 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4933
4934         * gst/gst.c: (init_post):
4935           make the registry cache file HOST_CPU-dependent
4936
4937 2005-12-16  Andy Wingo  <wingo@pobox.com>
4938
4939         * plugins/elements/gstbufferstore.c
4940         (gst_buffer_store_cleared_func): Pay attention to g_list_append
4941         return value.
4942
4943         * tests/check/gst/gstobject.c
4944         (test_fake_object_name_threaded_unique): Pay attention to
4945         g_list_sort return value.
4946
4947 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4948
4949         * tools/gst-feedback-m.m:
4950           Update for 0.9/0.10 (fixes #323870).
4951
4952 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
4953
4954         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4955           Fix lcopy for mini objects, the mini object needs to be ref'ed.
4956           
4957         * tests/check/gst/gstminiobject.c: (my_foo_init),
4958         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4959         (test_value_collection), (gst_mini_object_suite):
4960           Add test to ensure refcounts end up as expected when passing
4961           GstMiniObjects through g_object_get() and g_object_set().
4962
4963 2005-12-14  Julien MOUTTE  <julien@moutte.net>
4964
4965         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4966         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4967         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4968         of collectpads. This version removes a lot of races without
4969         touching API/ABI. Yay !
4970
4971 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
4972
4973         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4974           Don't allow activation of a srcpad in pull_range if it has no
4975           getrange function.
4976           Change some debug statements to be a little clearer
4977
4978         * plugins/elements/gsttypefindelement.c:
4979         (gst_type_find_handle_src_query):
4980           Check that we have a peer before executing queries thereupon.
4981
4982         * tests/examples/metadata/read-metadata.c: (message_loop):
4983           Use gst_bus_pop instead of gst_bus_poll when we just want it to
4984           immediately return us any available message with 0 timeout.
4985
4986 2005-12-12  Michael Smith  <msmith@fluendo.com>
4987
4988         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4989           Don't unref factories after calling them.
4990         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4991         * plugins/elements/gsttypefindelement.c:
4992         (gst_type_find_element_chain):
4993           Free lists of factories after using them. Fixing typefinding memory
4994           leaks.
4995
4996 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4997
4998         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4999         (gst_plugin_feature_load):
5000           more meaningful debug output
5001         * configure.ac:
5002         * tests/Makefile.am:
5003         * tests/old/examples/Makefile.am:
5004           make make distcheck happy again
5005
5006 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5007
5008         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5009           Catch the special case where we are operating chain-based,
5010           but the downstream peer pad has no chain function. Emit a
5011           custom error message in this case instead of letting the
5012           core generate one implying that this is some sort of core
5013           bug. It's not, it just means that whatever got plugged
5014           into the pipeline downstream when we announced the type
5015           can only operate pull-based, while our source can only
5016           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
5017           Error string has not been marked for translation yet, as
5018           it probably needs some more work first.
5019
5020         (gst_type_find_element_get_best_possibility):
5021           Add helper function to find the best of all available
5022           found possibilities that qualify given the min. threshold.
5023
5024         (gst_type_find_element_handle_event):
5025           Fix the case where we get an EOS while still in TYPEFIND
5026           mode (we want to chose the best of all possible types,
5027           not just the first type that happens to be in our unsorted
5028           list of possible types).
5029
5030         (gst_type_find_element_chain):
5031           Make sure we return GST_FLOW_ERROR when we errored out
5032           in stop_typefinding(); also, don't just find the best of
5033           all found type entries and then use the last examined
5034           type entry, but actually use the best entry.
5035
5036 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5037
5038         * tests/examples/typefind/typefind.c: (type_found):
5039         * tests/examples/xml/runxml.c: (xml_loaded):
5040           More gcc4 fixes and a mem leak fix.
5041
5042 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5043
5044         * tests/examples/xml/createxml.c: (object_saved):
5045           gcc 4 fixes
5046
5047 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5048
5049         * tests/Makefile.am:
5050           enable the examples even more
5051
5052 2005-12-12  Andy Wingo  <wingo@pobox.com>
5053
5054         * libs/gst/net/gstnettimeprovider.c
5055         (gst_net_time_provider_class_init, gst_net_time_provider_init)
5056         (gst_net_time_provider_set_property)
5057         (gst_net_time_provider_get_property):
5058         API addition: Export "active" as a GObject property.
5059         (gst_net_time_provider_thread): Only respond to time queries if
5060         the time provider is active.
5061
5062         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
5063         NetTimeProvider, preserving binary compat.
5064
5065 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5066
5067         * tests/examples/controller/audio-example.c: (main):
5068         * tests/examples/launch/Makefile.am:
5069           convert comments again
5070
5071 2005-12-12  Wim Taymans  <wim@fluendo.com>
5072
5073         * libs/gst/base/gstpushsrc.c:
5074         Fix typo.
5075
5076 2005-12-12  Wim Taymans  <wim@fluendo.com>
5077
5078         * docs/libs/gstreamer-libs-sections.txt:
5079         Added new symbol to docs.
5080
5081         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5082         (gst_base_src_init), (gst_base_src_set_format),
5083         (gst_base_src_default_query), (gst_base_src_query),
5084         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
5085         (gst_base_src_perform_seek), (gst_base_src_send_event),
5086         (gst_base_src_default_event), (gst_base_src_event_handler),
5087         (gst_base_src_set_property), (gst_base_src_get_property),
5088         (gst_base_src_wait), (gst_base_src_do_sync),
5089         (gst_base_src_update_length), (gst_base_src_get_range),
5090         (gst_base_src_check_get_range), (gst_base_src_loop),
5091         (gst_base_src_default_negotiate), (gst_base_src_start),
5092         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5093         (gst_base_src_change_state):
5094         * libs/gst/base/gstbasesrc.h:
5095         Implement seeking to other formats than _BYTES.
5096         Implement more seeking methods correctly.
5097         Doc updates.
5098         Added query vmethod.
5099         Added do_seek vmethod to make life easier for subclasses
5100         when seeking.
5101         API addition: gst_base_src_set_format()
5102
5103 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5104
5105         * tests/examples/Makefile.am:
5106           added that too
5107
5108 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5109
5110         * configure.ac:
5111         * docs/random/ensonic/media-device-daemon.txt:
5112         * tests/examples/controller/.cvsignore:
5113         * tests/examples/controller/Makefile.am:
5114         * tests/examples/controller/audio-example.c: (main):
5115         * tests/examples/helloworld/.cvsignore:
5116         * tests/examples/helloworld/Makefile.am:
5117         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
5118         * tests/examples/launch/.cvsignore:
5119         * tests/examples/launch/Makefile.am:
5120         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
5121         * tests/examples/metadata/.cvsignore:
5122         * tests/examples/metadata/Makefile.am:
5123         * tests/examples/metadata/read-metadata.c: (message_loop),
5124         (make_pipeline), (print_tag), (main):
5125         * tests/examples/queue/.cvsignore:
5126         * tests/examples/queue/Makefile.am:
5127         * tests/examples/queue/queue.c: (event_loop), (main):
5128         * tests/examples/typefind/.cvsignore:
5129         * tests/examples/typefind/Makefile.am:
5130         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
5131         (main):
5132         * tests/examples/xml/.cvsignore:
5133         * tests/examples/xml/Makefile.am:
5134         * tests/examples/xml/createxml.c: (object_saved), (main):
5135         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
5136         * tests/old/examples/Makefile.am:
5137         * tests/old/examples/TODO:
5138         * tests/old/examples/controller/.cvsignore:
5139         * tests/old/examples/controller/Makefile.am:
5140         * tests/old/examples/controller/audio-example.c:
5141         * tests/old/examples/helloworld/.cvsignore:
5142         * tests/old/examples/helloworld/Makefile.am:
5143         * tests/old/examples/helloworld/helloworld.c:
5144         * tests/old/examples/launch/.cvsignore:
5145         * tests/old/examples/launch/Makefile.am:
5146         * tests/old/examples/launch/mp3parselaunch.c:
5147         * tests/old/examples/launch/mp3play:
5148         * tests/old/examples/manual/Makefile.am:
5149         * tests/old/examples/metadata/Makefile.am:
5150         * tests/old/examples/metadata/read-metadata.c:
5151         * tests/old/examples/queue/.cvsignore:
5152         * tests/old/examples/queue/Makefile.am:
5153         * tests/old/examples/queue/queue.c:
5154         * tests/old/examples/typefind/.cvsignore:
5155         * tests/old/examples/typefind/Makefile.am:
5156         * tests/old/examples/typefind/typefind.c:
5157         * tests/old/examples/xml/.cvsignore:
5158         * tests/old/examples/xml/Makefile.am:
5159         * tests/old/examples/xml/createxml.c:
5160         * tests/old/examples/xml/runxml.c:
5161           applied some simple fixing to some examples
5162           re-enabled the working examples
5163
5164 2005-12-12  Wim Taymans  <wim@fluendo.com>
5165
5166         * gst/gstsegment.c: (gst_segment_init),
5167         (gst_segment_set_last_stop), (gst_segment_set_seek),
5168         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5169         (gst_segment_to_running_time):
5170         Added more documentation.
5171         Make sure the last_pos value is updated properly.
5172         Make sure to_stream_time and to_running_time don't
5173         operate on wrong values.
5174
5175         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5176         Update check.
5177
5178 2005-12-12  Michael Smith  <msmith@fluendo.com>
5179
5180         * plugins/elements/gsttypefindelement.c: (free_entry),
5181         (gst_type_find_element_chain):
5182           Now that we're not leaking factories, make sure we keep references
5183           to them while we need them.
5184
5185 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5186
5187         * tests/check/gst/struct_i386.h:
5188           ifdef out the XML structs
5189
5190 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5191
5192         * gst/gstvalue.c: (gst_value_transform_double_fraction):
5193           floor is not needed, F is always positive; this obviates the
5194           need for adding -lm when building without libxml
5195
5196 2005-12-12  Wim Taymans  <wim@fluendo.com>
5197
5198         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5199         Take current playback rate into account when reporting
5200         the position.
5201
5202 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5203
5204         * docs/manual/mime-world.fig:
5205           Let's try this again, this time with a file that is
5206           actually in XFig format.
5207
5208 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5209
5210         * docs/manual/mime-world.fig:
5211           Add audioconvert element to diagram so that it
5212           matches the text and the code (fixes #319526).
5213
5214 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5215
5216         * docs/pwg/building-chainfn.xml:
5217         * docs/pwg/building-pads.xml:
5218         * docs/pwg/building-state.xml:
5219         * docs/pwg/other-source.xml:
5220           Update state change stuff for 0.10 (fixes #322969).
5221
5222 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5223
5224         * docs/manual/advanced-dataaccess.xml:
5225         * docs/manual/appendix-checklist.xml:
5226         * docs/manual/appendix-programs.xml:
5227         * docs/manual/basics-pads.xml:
5228         * docs/manual/highlevel-components.xml:
5229         * docs/manual/manual.xml:
5230           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
5231           add converters in front of pipelines; remove curly
5232           brackets for threads stuff, they no longer exist; use
5233           GST_TYPE_FRACTION for framerates; update some pieces of
5234           code to 0.10, but there's plenty more to do.
5235
5236         * docs/manual/appendix-porting.xml:
5237           Expand on asynchroneous state changes; s/0.9/0.10/;
5238           mention disappearance of gst_init_get_popt_table()
5239           (fixes #322916).
5240
5241 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5242
5243         * docs/faq/using.xml:
5244           Spider no longer exists, and neither does gst-launch-ext.
5245           Update examples to use decodebin and playbin and put
5246           converters in front of sinks (fixes #323726).
5247
5248 2005-12-09  Michael Smith  <msmith@fluendo.com>
5249
5250         * plugins/elements/gsttypefindelement.c: (find_peek),
5251         (gst_type_find_element_chain):
5252           Fix leaking element factories in typefinding.
5253           Fix problem where we forgot about a probable type on non-seekable
5254           files, and thus later mis-typefound it.
5255
5256 2005-12-09  Michael Smith  <msmith@fluendo.com>
5257
5258         * common/m4/gst-makecontext.m4:
5259         * common/m4/gst-mcsc.m4:
5260         * configure.ac:
5261         * win32/common/config.h:
5262         * win32/common/config.h.in:
5263           Remove makecontext stuff; not used in 0.10 and causes problems on
5264           HPUX according to bug #322441
5265
5266 2005-12-07  Wim Taymans  <wim@fluendo.com>
5267
5268         * tests/check/Makefile.am:
5269         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
5270         (main):
5271         * tests/check/libs/struct_i386.h:
5272         Added ABI check for libs
5273
5274 2005-12-07  Wim Taymans  <wim@fluendo.com>
5275
5276         * tests/check/Makefile.am:
5277         And add the struct_i386.h to dist.
5278
5279 2005-12-07  Wim Taymans  <wim@fluendo.com>
5280
5281         * tests/check/Makefile.am:
5282         * tests/check/gst/.cvsignore:
5283         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
5284         (main):
5285         * tests/check/gst/struct_i386.h:
5286         Added check for ABI compatibility.
5287
5288 2005-12-07  Wim Taymans  <wim@fluendo.com>
5289
5290         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5291         (gst_fake_src_get_times), (gst_fake_src_create):
5292         Fix broken sync option, fixes #323259
5293
5294 2005-12-07  Wim Taymans  <wim@fluendo.com>
5295
5296         * gst/gstbuffer.c:
5297         Small docs update.
5298
5299         * gst/gstcaps.c: (gst_caps_is_equal):
5300         Don't assert on NULL <--> X. Fixes #323260
5301
5302         * gst/gstminiobject.c: (gst_mini_object_replace):
5303         If we're doing atomic operations, we might just as well use
5304         the proper way to get an atomic pointer.
5305
5306         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5307         Clean up debugging.
5308
5309 2005-12-07  Michael Smith  <msmith@fluendo.com>
5310
5311         * gst/parse/grammar.y:
5312           Remove handling of { } for threads.
5313
5314 2005-12-06  David Schleef  <ds@schleef.org>
5315
5316         * libs/gst/base/gstbasetransform.c: speling fix.
5317
5318 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5319
5320         * docs/libs/tmpl/gstdataprotocol.sgml:
5321         * docs/random/omega/testing/gstobject.c:
5322         * gst/gst.c:
5323         * gst/gstclock.c:
5324         * gst/gstelement.c:
5325         * gst/gstelementfactory.c:
5326         * gst/gsterror.c:
5327         * gst/gstevent.c:
5328         * gst/gstghostpad.c:
5329         * gst/gstinfo.c:
5330         * gst/gstpadtemplate.c:
5331         * gst/gstregistryxml.c:
5332         * gst/gsttaglist.c:
5333         * gst/gsttagsetter.c:
5334         * gst/gsttypefind.c:
5335         * gst/gstvalue.c:
5336         * libs/gst/base/gstbasesrc.c:
5337         * libs/gst/net/gstnetclientclock.c:
5338         * libs/gst/net/gstnettimeprovider.c:
5339         * plugins/elements/gstfakesrc.c:
5340         * plugins/elements/gstfdsrc.c:
5341         * plugins/elements/gstfilesrc.c:
5342         * plugins/elements/gstidentity.c:
5343         * plugins/elements/gstqueue.c:
5344         * plugins/elements/gsttypefindelement.c:
5345         * plugins/indexers/gstfileindex.c:
5346         * plugins/indexers/gstmemindex.c:
5347         * tests/check/gst/gsttag.c:
5348         * tests/old/examples/cutter/cutter.c:
5349         * tests/old/examples/mixer/mixer.c:
5350         * tests/old/examples/xml/runxml.c: (main):
5351         * tests/old/testsuite/caps/normalisation.c:
5352         * tests/old/testsuite/debug/global.c:
5353         * tests/old/testsuite/parse/parse1.c:
5354         * tools/gst-xmlinspect.c:
5355         * win32/common/dirent.c:
5356           expand tabs
5357
5358 === release 0.10.0 ===
5359
5360 2005-12-05   <thomas (at) apestaart (dot) org>
5361
5362         * configure.ac:
5363           releasing 0.10.0, "Maroilles"
5364
5365 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5366
5367         submitted by: Funda Wang <fundawang@linux.net.cn>
5368
5369         * po/LINGUAS:
5370         * po/zh_CN.po:
5371           added Chinese (Traditional) translation
5372
5373 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5374
5375         * docs/gst/gstreamer-sections.txt:
5376         * docs/libs/tmpl/gstdataprotocol.sgml:
5377         * docs/random/thomasvs/TODO:
5378         * gst/gstutils.c:
5379         * gst/gstutils.h:
5380           fix docs
5381
5382 2005-12-05  Andy Wingo  <wingo@pobox.com>
5383
5384         patch by: Wim Taymans <wim@fluendo.com>
5385
5386         * libs/gst/base/gstbasetransform.c
5387         (gst_base_transform_prepare_output_buf)
5388         (gst_base_transform_buffer_alloc):
5389         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
5390         alloc_buffer_and_set_caps.
5391
5392         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
5393         set_caps on the source pad.
5394         (gst_pad_alloc_buffer_and_set_caps): New function, does what
5395         alloc_buffer used to do. Fixes #322874.
5396
5397         * docs/gst/gstreamer-sections.txt: 
5398         * docs/design/part-negotiation.txt: 
5399         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
5400         changes.
5401
5402 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5403
5404         patch by: Sebastien Moutte
5405
5406         * win32/MANIFEST:
5407         * win32/common/config.h.in:
5408         * win32/vs6/libgstcontroller.dsp:
5409           win32 build fixes
5410
5411 2005-12-05  Wim Taymans  <wim@fluendo.com>
5412
5413         * gst/gstcaps.c: (gst_caps_is_equal):
5414         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5415         (gst_fake_src_create):
5416         Back out previous code changes, leave doc updates, file bugs 
5417         instead. 
5418
5419 2005-12-05  Wim Taymans  <wim@fluendo.com>
5420
5421         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5422         (gst_fake_src_get_times), (gst_fake_src_create):
5423         * plugins/elements/gstfakesrc.h:
5424         Fix broken sync code.
5425
5426 2005-12-05  Wim Taymans  <wim@fluendo.com>
5427
5428         * gst/gstcaps.c: (gst_caps_is_equal):
5429         Comparing NULL against !NULL yields different caps, not a
5430         failure.
5431
5432 2005-12-05  Wim Taymans  <wim@fluendo.com>
5433
5434         * gst/gstpipeline.c:
5435         Fix small typo in docs.
5436
5437 2005-12-05  Andy Wingo  <wingo@pobox.com>
5438
5439         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
5440
5441         * gst/gst.c (init_post): remove hard-coded 0.9 location for
5442         registries/plugins with a MAJORMINOR one.
5443         (plugin_desc): Rename library from gstcoreleements to
5444         staticelements. Fixes #323222.
5445
5446 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
5447
5448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5449           Change debug category to 'collectpads' from 'collect_pads'
5450           (fixes #323250).
5451
5452 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5453
5454         patch by: Sebastien Moutte
5455
5456         * libs/gst/controller/gstinterpolation.c:
5457           use convert function for uint64/double
5458         * win32/vs6/libgstcontroller.dsp:
5459           link to GLib
5460
5461 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5462
5463         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5464         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5465         * gst/gstutils.h:
5466         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5467           add tests that seem to show that the guint64/gdouble conversions
5468           are correct.
5469
5470 2005-12-02  Wim Taymans  <wim@fluendo.com>
5471
5472         * gst/gstregistry.c: (gst_registry_add_path):
5473         * gst/gstregistry.h:
5474         * gst/gstregistryxml.c:
5475         Fix docs again.
5476
5477 2005-12-02  Wim Taymans  <wim@fluendo.com>
5478
5479         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5480         (gst_util_uint64_scale_int):
5481         Small cleanup.
5482
5483         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5484         Add debug log line.
5485
5486         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5487         Add FIXME.
5488
5489 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5490
5491         * win32/MANIFEST:
5492         * win32/common/config.h:
5493         * win32/vs6/gstreamer.dsw:
5494         * win32/vs6/libgstcoreelements.dsp:
5495         * win32/vs6/libgstelements.dsp:
5496           renamed core elements plugin
5497
5498 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5499
5500         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5501         (get_candidates):
5502           do piece-wise major/minor comparison so 0.9 < 0.10
5503           also allow .exe extensions for tools
5504
5505 2005-12-02  Michael Smith  <msmith@fluendo.com>
5506
5507         * gst/gst.c:
5508           Escape a % to make gtkdoc happier; bug 322958.
5509
5510 === release 0.9.7 ===
5511
5512 2005-12-01   <thomas (at) apestaart (dot) org>
5513
5514         * configure.ac:
5515           releasing 0.9.7, "My Dog Has No Nose"
5516
5517 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5518
5519         * common/gst-xmlinspect.py:
5520         * configure.ac:
5521         * docs/libs/tmpl/gstdataprotocol.sgml:
5522         * docs/random/release:
5523         * po/af.po:
5524         * po/az.po:
5525         * po/bg.po:
5526         * po/ca.po:
5527         * po/cs.po:
5528         * po/de.po:
5529         * po/en_GB.po:
5530         * po/fr.po:
5531         * po/it.po:
5532         * po/nb.po:
5533         * po/nl.po:
5534         * po/ru.po:
5535         * po/sq.po:
5536         * po/sr.po:
5537         * po/sv.po:
5538         * po/tr.po:
5539         * po/uk.po:
5540         * po/vi.po:
5541         * win32/common/config.h:
5542         * win32/common/config.h.in:
5543         * win32/vs6/gst_inspect.dsp:
5544         * win32/vs6/gst_launch.dsp:
5545         * win32/vs6/libgstbase.dsp:
5546         * win32/vs6/libgstelements.dsp:
5547         * win32/vs6/libgstreamer.dsp:
5548         * win32/vs7/GStreamer.vcproj:
5549         * win32/vs7/gst-inspect.vcproj:
5550         * win32/vs7/gst-launch.vcproj:
5551         * win32/vs7/libgstbase.vcproj:
5552           bump GST_MAJORMINOR to 0.10
5553           reset libtool version
5554
5555 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5556
5557         * po/LINGUAS:
5558         * po/bg.po:
5559           Added Bulgarian translation by (Alexander Shopov)
5560
5561 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5562
5563         * tests/check/gst/gstplugin.c:
5564           fix test
5565
5566 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5567
5568         * common/gst-xmlinspect.py:
5569         * common/gtk-doc-plugins.mak:
5570         * configure.ac:
5571         * docs/Makefile.am:
5572         * docs/gst/Makefile.am:
5573         * docs/gst/gstreamer-docs.sgml:
5574         * docs/gst/gstreamer-sections.txt:
5575         * docs/gst/gstreamer.types:
5576         * docs/gst/gstreamer.types.in:
5577         * docs/plugins/Makefile.am:
5578         * docs/plugins/gstreamer-plugins-docs.sgml:
5579         * docs/plugins/gstreamer-plugins-sections.txt:
5580         * docs/plugins/gstreamer-plugins.types:
5581         * docs/plugins/inspect.stamp:
5582         * docs/plugins/inspect/plugin-coreelements.xml:
5583         * docs/plugins/inspect/plugin-coreindexers.xml:
5584         * docs/plugins/scanobj-build.stamp:
5585         * gstreamer.spec.in:
5586         * plugins/elements/Makefile.am:
5587         * plugins/elements/gstelements.c:
5588         * plugins/elements/gstfakesink.c:
5589         * plugins/elements/gstfakesrc.c:
5590         * plugins/elements/gstfilesink.c:
5591         * plugins/elements/gstfilesrc.c:
5592         * plugins/elements/gstqueue.c:
5593         * plugins/indexers/Makefile.am:
5594         * plugins/indexers/gstindexers.c:
5595           document core plugins in a separate document just like all the
5596           others
5597           rename these plugins to something starting with core
5598
5599 2005-12-01  Andy Wingo  <wingo@pobox.com>
5600
5601         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5602         padding here before, but it missed the commit.
5603
5604 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5605
5606         * libs/gst/controller/gstinterpolation.c:
5607           whitespace prices have crashed, we should feel free to use some now
5608           use gst_guint64_to_gdouble
5609
5610 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5611
5612         * libs/gst/controller/gstcontroller.c:
5613         * libs/gst/controller/gsthelper.c:
5614         * libs/gst/controller/gstinterpolation.c:
5615         * libs/gst/controller/lib.c:
5616           wrap config.h include
5617
5618 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5619
5620         * docs/gst/gstreamer-sections.txt:
5621           update docs
5622
5623 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5624
5625         * plugins/elements/gstelements.c:
5626         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5627         (gst_fd_sink__class_init), (gst_fd_sink__init),
5628         (gst_fd_sink__chain), (gst_fd_sink__set_property),
5629         (gst_fd_sink__get_property):
5630         * plugins/elements/gstfdsink.h:
5631         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5632         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5633         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5634         (gst_fd_src_unlock), (gst_fd_src_set_property),
5635         (gst_fd_src_get_property), (gst_fd_src_create),
5636         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5637         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5638         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5639         (gst_fd_src_uri_handler_init):
5640         * plugins/elements/gstfdsrc.h:
5641         * plugins/elements/gstqueue.c: (gst_queue_get_type):
5642           more anal cleanup
5643
5644 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5645
5646         * docs/gst/Makefile.am:
5647         * docs/gst/gstreamer.types.in:
5648         * gst/Makefile.am:
5649           fix the docs build
5650
5651 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5652
5653         * configure.ac:
5654         * gst/Makefile.am:
5655         * gst/gst.c:
5656         * gst/gstplugin.h:
5657         * gst/gstregistry.h:
5658         * tests/benchmarks/complexity.c:
5659         * tests/benchmarks/mass-elements.c:
5660         * tests/check/Makefile.am:
5661         * tools/Makefile.am:
5662         * tools/gst-inspect.c:
5663         * tools/gst-xmlinspect.c:
5664           various fixes to make
5665           --disable-nls --disable-registry --disable-loadsave
5666           --disable-parse --disable-gst-debug
5667           work and get the core .so down to 360444 bytes after stripping
5668
5669 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5670
5671         * Makefile.am:
5672         * configure.ac:
5673           descend into tests
5674         * docs/random/thomasvs/TODO:
5675         * tests/Makefile.am:
5676         * tests/README:
5677           add a README
5678
5679 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5680
5681         * win32/GStreamer.vcproj:
5682         * win32/MANIFEST:
5683         * win32/Makefile:
5684         * win32/Makefile.inspect:
5685         * win32/Makefile.launch:
5686         * win32/Makefile.register:
5687         * win32/README.txt:
5688         * win32/gst-inspect.vcproj:
5689         * win32/gst-launch.vcproj:
5690         * win32/gst-register.vcproj:
5691         * win32/gstelements.vcproj:
5692         * win32/gstgetbits.def:
5693         * win32/gstgetbits.vcproj:
5694         * win32/gstreamer-dbg.def:
5695         * win32/gstreamer.def:
5696         * win32/libgstbase.def:
5697         * win32/libgstbase.vcproj:
5698         * win32/link_oldruntime.c:
5699         * win32/mman.c:
5700         * win32/mman.h:
5701         * win32/mman.inl:
5702         * win32/msvc71.sln:
5703           move even more stuff, win32/ is nice and clean now
5704
5705 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5706
5707         * libs/gst/control/.cvsignore:
5708         * win32/MANIFEST:
5709         * win32/config.h:
5710         * win32/dirent.c:
5711         * win32/dirent.h:
5712         * win32/gstbytestream.def:
5713         * win32/gstbytestream.vcproj:
5714         * win32/gstconfig.h:
5715         * win32/gstenumtypes.c:
5716         * win32/gstenumtypes.h:
5717         * win32/gstoptimalscheduler.vcproj:
5718         * win32/gstversion.h:
5719         * win32/gtchar.h:
5720         * win32/testsuite/bins.vcproj:
5721         * win32/testsuite/bytestream.vcproj:
5722         * win32/testsuite/caps.vcproj:
5723         * win32/testsuite/cleanup.vcproj:
5724         * win32/testsuite/clock.vcproj:
5725         * win32/testsuite/debug.vcproj:
5726         * win32/testsuite/dlopen.vcproj:
5727         * win32/testsuite/dynparams.vcproj:
5728         * win32/testsuite/elements.vcproj:
5729         * win32/testsuite/ghostpads.vcproj:
5730         * win32/testsuite/indexers.vcproj:
5731         * win32/testsuite/negotiation.vcproj:
5732         * win32/testsuite/parse.vcproj:
5733         * win32/testsuite/plugin.vcproj:
5734         * win32/testsuite/refcounting.vcproj:
5735         * win32/testsuite/schedulers.vcproj:
5736         * win32/testsuite/states.vcproj:
5737         * win32/testsuite/tags.vcproj:
5738         * win32/testsuite/threads.vcproj:
5739           remove old win32 stuff that isn't maintained and should be
5740           reorganized
5741
5742 2005-11-30  Andy Wingo  <wingo@pobox.com>
5743
5744         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5745         loading the gst.interfaces python module bork.
5746
5747         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5748         available since GLib 2.2. Fixes #318031.
5749
5750 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5751
5752         * Makefile.am:
5753         * check/.cvsignore:
5754         * check/Makefile.am:
5755         * check/elements/.cvsignore:
5756         * check/elements/fakesrc.c:
5757         * check/elements/fdsrc.c:
5758         * check/elements/identity.c:
5759         * check/generic/.cvsignore:
5760         * check/generic/states.c:
5761         * check/gst-libs/.cvsignore:
5762         * check/gst-libs/controller.c:
5763         * check/gst-libs/gdp.c:
5764         * check/gst/.cvsignore:
5765         * check/gst/capslist.h:
5766         * check/gst/gst.c:
5767         * check/gst/gstbin.c:
5768         * check/gst/gstbuffer.c:
5769         * check/gst/gstbus.c:
5770         * check/gst/gstcaps.c:
5771         * check/gst/gstelement.c:
5772         * check/gst/gstevent.c:
5773         * check/gst/gstghostpad.c:
5774         * check/gst/gstiterator.c:
5775         * check/gst/gstmessage.c:
5776         * check/gst/gstminiobject.c:
5777         * check/gst/gstobject.c:
5778         * check/gst/gstpad.c:
5779         * check/gst/gstpipeline.c:
5780         * check/gst/gstplugin.c:
5781         * check/gst/gstsegment.c:
5782         * check/gst/gststructure.c:
5783         * check/gst/gstsystemclock.c:
5784         * check/gst/gsttag.c:
5785         * check/gst/gstutils.c:
5786         * check/gst/gstvalue.c:
5787         * check/net/.cvsignore:
5788         * check/net/gstnetclientclock.c:
5789         * check/net/gstnettimeprovider.c:
5790         * check/pipelines/.cvsignore:
5791         * check/pipelines/cleanup.c:
5792         * check/pipelines/simple_launch_lines.c:
5793         * check/pipelines/stress.c:
5794         * check/states/.cvsignore:
5795         * check/states/sinks.c:
5796         * configure.ac:
5797         * examples/Makefile.am:
5798         * examples/appreader/.cvsignore:
5799         * examples/appreader/Makefile.am:
5800         * examples/appreader/appreader.c:
5801         * examples/controller/.cvsignore:
5802         * examples/controller/Makefile.am:
5803         * examples/controller/audio-example.c:
5804         * examples/cutter/.cvsignore:
5805         * examples/cutter/Makefile.am:
5806         * examples/cutter/cutter.c:
5807         * examples/cutter/cutter.h:
5808         * examples/events/Makefile.am:
5809         * examples/events/seek.c:
5810         * examples/helloworld/.cvsignore:
5811         * examples/helloworld/Makefile.am:
5812         * examples/helloworld/helloworld.c:
5813         * examples/helloworld2/.cvsignore:
5814         * examples/helloworld2/Makefile.am:
5815         * examples/helloworld2/helloworld2.c:
5816         * examples/launch/.cvsignore:
5817         * examples/launch/Makefile.am:
5818         * examples/launch/mp3parselaunch.c:
5819         * examples/launch/mp3play:
5820         * examples/manual/.cvsignore:
5821         * examples/manual/Makefile.am:
5822         * examples/manual/extract.pl:
5823         * examples/metadata/Makefile.am:
5824         * examples/metadata/read-metadata.c:
5825         * examples/mixer/.cvsignore:
5826         * examples/mixer/Makefile.am:
5827         * examples/mixer/mixer.c:
5828         * examples/mixer/mixer.h:
5829         * examples/pingpong/.cvsignore:
5830         * examples/pingpong/Makefile.am:
5831         * examples/pingpong/pingpong.c:
5832         * examples/plugins/.cvsignore:
5833         * examples/plugins/Makefile.am:
5834         * examples/plugins/example.c:
5835         * examples/plugins/example.h:
5836         * examples/pwg/.cvsignore:
5837         * examples/pwg/Makefile.am:
5838         * examples/pwg/extract.pl:
5839         * examples/queue/.cvsignore:
5840         * examples/queue/Makefile.am:
5841         * examples/queue/queue.c:
5842         * examples/queue2/.cvsignore:
5843         * examples/queue2/Makefile.am:
5844         * examples/queue2/queue2.c:
5845         * examples/queue3/.cvsignore:
5846         * examples/queue3/Makefile.am:
5847         * examples/queue3/queue3.c:
5848         * examples/queue4/.cvsignore:
5849         * examples/queue4/Makefile.am:
5850         * examples/queue4/queue4.c:
5851         * examples/retag/.cvsignore:
5852         * examples/retag/Makefile.am:
5853         * examples/retag/retag.c:
5854         * examples/retag/transcode.c:
5855         * examples/thread/.cvsignore:
5856         * examples/thread/Makefile.am:
5857         * examples/thread/thread.c:
5858         * examples/typefind/.cvsignore:
5859         * examples/typefind/Makefile.am:
5860         * examples/typefind/typefind.c:
5861         * examples/xml/.cvsignore:
5862         * examples/xml/Makefile.am:
5863         * examples/xml/createxml.c:
5864         * examples/xml/runxml.c:
5865         * tests/Makefile.am:
5866         * tests/check/Makefile.am:
5867         * testsuite/.cvsignore:
5868         * testsuite/Makefile.am:
5869         * testsuite/Rules:
5870         * testsuite/caps/.cvsignore:
5871         * testsuite/caps/Makefile.am:
5872         * testsuite/caps/app_fixate.c:
5873         * testsuite/caps/audioscale.c:
5874         * testsuite/caps/caps.c:
5875         * testsuite/caps/caps.h:
5876         * testsuite/caps/caps_strings:
5877         * testsuite/caps/compatibility.c:
5878         * testsuite/caps/deserialize.c:
5879         * testsuite/caps/enumcaps.c:
5880         * testsuite/caps/eratosthenes.c:
5881         * testsuite/caps/filtercaps.c:
5882         * testsuite/caps/fixed.c:
5883         * testsuite/caps/fraction-convert.c:
5884         * testsuite/caps/fraction-multiply-and-zero.c:
5885         * testsuite/caps/intersect2.c:
5886         * testsuite/caps/intersection.c:
5887         * testsuite/caps/normalisation.c:
5888         * testsuite/caps/random.c:
5889         * testsuite/caps/renegotiate.c:
5890         * testsuite/caps/sets.c:
5891         * testsuite/caps/simplify.c:
5892         * testsuite/caps/string-conversions.c:
5893         * testsuite/caps/structure.c:
5894         * testsuite/caps/subtract.c:
5895         * testsuite/caps/union.c:
5896         * testsuite/debug/.cvsignore:
5897         * testsuite/debug/Makefile.am:
5898         * testsuite/debug/category.c:
5899         * testsuite/debug/commandline.c:
5900         * testsuite/debug/global.c:
5901         * testsuite/debug/output.c:
5902         * testsuite/debug/printf_extension.c:
5903         * testsuite/dlopen/.cvsignore:
5904         * testsuite/dlopen/Makefile.am:
5905         * testsuite/dlopen/dlopen_gst.c:
5906         * testsuite/dlopen/loadgst.c:
5907         * testsuite/elements/.cvsignore:
5908         * testsuite/elements/Makefile.am:
5909         * testsuite/elements/gst-inspect-check.in:
5910         * testsuite/elements/struct_i386.h:
5911         * testsuite/elements/struct_size.c:
5912         * testsuite/indexers/.cvsignore:
5913         * testsuite/indexers/Makefile.am:
5914         * testsuite/indexers/cache1.c:
5915         * testsuite/indexers/indexdump.c:
5916         * testsuite/parse/.cvsignore:
5917         * testsuite/parse/Makefile.am:
5918         * testsuite/parse/parse1.c:
5919         * testsuite/parse/parse2.c:
5920         * testsuite/plugin/.cvsignore:
5921         * testsuite/plugin/Makefile.am:
5922         * testsuite/plugin/README:
5923         * testsuite/plugin/dynamic.c:
5924         * testsuite/plugin/linked.c:
5925         * testsuite/plugin/loading.c:
5926         * testsuite/plugin/registry.c:
5927         * testsuite/plugin/static.c:
5928         * testsuite/plugin/static2.c:
5929         * testsuite/plugin/testplugin.c:
5930         * testsuite/plugin/testplugin2.c:
5931         * testsuite/plugin/testplugin2_s.c:
5932         * testsuite/plugin/testplugin_s.c:
5933         * testsuite/refcounting/.cvsignore:
5934         * testsuite/refcounting/Makefile.am:
5935         * testsuite/refcounting/bin.c:
5936         * testsuite/refcounting/element.c:
5937         * testsuite/refcounting/element_pad.c:
5938         * testsuite/refcounting/mainloop.c:
5939         * testsuite/refcounting/mem.c:
5940         * testsuite/refcounting/mem.h:
5941         * testsuite/refcounting/object.c:
5942         * testsuite/refcounting/pad.c:
5943         * testsuite/refcounting/sched.c:
5944         * testsuite/refcounting/thread.c:
5945         * testsuite/states/.cvsignore:
5946         * testsuite/states/Makefile.am:
5947         * testsuite/states/bin.c:
5948         * testsuite/states/locked.c:
5949         * testsuite/states/parent.c:
5950         * testsuite/threads/.cvsignore:
5951         * testsuite/threads/159566.c:
5952         * testsuite/threads/159852.c:
5953         * testsuite/threads/Makefile.am:
5954         * testsuite/threads/queue.c:
5955         * testsuite/threads/signals.c:
5956         * testsuite/threads/staticrec.c:
5957         * testsuite/threads/thread.c:
5958         * testsuite/threads/threadb.c:
5959         * testsuite/threads/threadc.c:
5960         * testsuite/threads/threadd.c:
5961         * testsuite/threads/threade.c:
5962         * testsuite/threads/threadf.c:
5963         * testsuite/threads/threadg.c:
5964         * testsuite/threads/threadh.c:
5965         * testsuite/threads/threadi.c:
5966           move all of these under tests
5967
5968 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5969
5970         * configure.ac:
5971         * tests/Makefile.am:
5972           fix distcheck
5973
5974 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5975
5976         * docs/gst/gstreamer-sections.txt:
5977         * tests/sched/.cvsignore:
5978         * tests/sched/Makefile.am:
5979         * tests/sched/cases/(fs-fs).xml:
5980         * tests/sched/cases/(fs-i-fs).xml:
5981         * tests/sched/cases/(fs-i-i-fs).xml:
5982         * tests/sched/cases/(fs-i-q[i-fs]).xml:
5983         * tests/sched/dynamic-pipeline.c:
5984         * tests/sched/interrupt1.c:
5985         * tests/sched/interrupt2.c:
5986         * tests/sched/interrupt3.c:
5987         * tests/sched/runtestcases:
5988         * tests/sched/runxml.c:
5989         * tests/sched/sched-stress.c:
5990         * tests/sched/sort.c:
5991         * tests/sched/testcases:
5992         * tests/sched/testcases1.tc:
5993         * tests/seeking/.cvsignore:
5994         * tests/seeking/Makefile.am:
5995         * tests/seeking/seeking1.c:
5996         * tests/threadstate/.cvsignore:
5997         * tests/threadstate/Makefile.am:
5998         * tests/threadstate/test1.c:
5999         * tests/threadstate/test2.c:
6000         * tests/threadstate/threadstate1.c:
6001         * tests/threadstate/threadstate2.c:
6002         * tests/threadstate/threadstate3.c:
6003         * tests/threadstate/threadstate4.c:
6004         * tests/threadstate/threadstate5.c:
6005           remove obsolete tests
6006         * configure.ac:
6007         * tests/bench-complexity.scm:
6008         * tests/bench-mass_elements.scm:
6009         * tests/complexity.c:
6010         * tests/complexity.gnuplot:
6011         * tests/instantiate/.cvsignore:
6012         * tests/instantiate/Makefile.am:
6013         * tests/instantiate/caps.c:
6014         * tests/mass_elements.c:
6015         * tests/network-clock-utils.scm:
6016         * tests/network-clock.scm:
6017         * tests/plot-data:
6018         First pass at cleaning up tests/ dir before moving the rest
6019         Combined with CVS surgery
6020
6021 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6022
6023         * po/POTFILES.in:
6024           queue has moved, update
6025
6026 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6027
6028         * docs/gst/gstreamer-sections.txt:
6029           remove double entries from the docs
6030         * gst/gst_private.h:
6031         * gst/gstinfo.c: (_gst_debug_init):
6032           remove the THREAD debug category
6033         * gst/Makefile.am:
6034         * gst/gstqueue.c:
6035         * gst/gstqueue.h:
6036         * docs/gst/gstreamer.types:
6037         * plugins/elements/gstqueue.c: (gst_queue_get_type),
6038         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
6039           completely move queue and fix up debugging categories
6040
6041 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6042
6043         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6044           make initialization portable, using LL is not
6045
6046 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6047
6048         * win32/common/gstconfig.h:
6049           add large padding
6050
6051 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6052
6053         * win32/common/libgstreamer.def:
6054           rename symbols; sort base section
6055
6056 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6057
6058         * gst/gstclock.c: (do_linear_regression):
6059           remove crack non-portable handrolled DEBUG macro
6060
6061 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6062
6063         * docs/random/release:
6064           update notes
6065         * win32/common/gstenumtypes.c: (register_gst_object_flags),
6066         (gst_object_flags_get_type), (register_gst_bin_flags),
6067         (gst_bin_flags_get_type), (register_gst_buffer_flag),
6068         (gst_buffer_flag_get_type), (register_gst_bus_flags),
6069         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6070         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
6071         (gst_caps_flags_get_type), (register_gst_clock_return),
6072         (gst_clock_return_get_type), (register_gst_clock_entry_type),
6073         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6074         (gst_clock_flags_get_type), (register_gst_state),
6075         (gst_state_get_type), (register_gst_state_change_return),
6076         (gst_state_change_return_get_type), (register_gst_state_change),
6077         (gst_state_change_get_type), (register_gst_element_flags),
6078         (gst_element_flags_get_type), (register_gst_core_error),
6079         (gst_core_error_get_type), (register_gst_library_error),
6080         (gst_library_error_get_type), (register_gst_resource_error),
6081         (gst_resource_error_get_type), (register_gst_stream_error),
6082         (gst_stream_error_get_type), (register_gst_event_type_flags),
6083         (gst_event_type_flags_get_type), (register_gst_event_type),
6084         (gst_event_type_get_type), (register_gst_seek_type),
6085         (gst_seek_type_get_type), (register_gst_seek_flags),
6086         (gst_seek_flags_get_type), (register_gst_format),
6087         (gst_format_get_type), (register_gst_index_certainty),
6088         (gst_index_certainty_get_type), (register_gst_index_entry_type),
6089         (gst_index_entry_type_get_type),
6090         (register_gst_index_lookup_method),
6091         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6092         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6093         (gst_index_resolver_method_get_type), (register_gst_index_flags),
6094         (gst_index_flags_get_type), (register_gst_debug_level),
6095         (gst_debug_level_get_type), (register_gst_debug_color_flags),
6096         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6097         (gst_iterator_result_get_type), (register_gst_iterator_item),
6098         (gst_iterator_item_get_type), (register_gst_message_type),
6099         (gst_message_type_get_type), (register_gst_mini_object_flags),
6100         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6101         (gst_pad_link_return_get_type), (register_gst_flow_return),
6102         (gst_flow_return_get_type), (register_gst_activate_mode),
6103         (gst_activate_mode_get_type), (register_gst_pad_direction),
6104         (gst_pad_direction_get_type), (register_gst_pad_flags),
6105         (gst_pad_flags_get_type), (register_gst_pad_presence),
6106         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6107         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6108         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6109         (gst_plugin_error_get_type), (register_gst_plugin_flags),
6110         (gst_plugin_flags_get_type), (register_gst_rank),
6111         (gst_rank_get_type), (register_gst_query_type),
6112         (gst_query_type_get_type), (register_gst_tag_merge_mode),
6113         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6114         (gst_tag_flag_get_type), (register_gst_task_state),
6115         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6116         (gst_alloc_trace_flags_get_type),
6117         (register_gst_type_find_probability),
6118         (gst_type_find_probability_get_type), (register_gst_uri_type),
6119         (gst_uri_type_get_type), (register_gst_parse_error),
6120         (gst_parse_error_get_type):
6121         * win32/common/gstenumtypes.h:
6122         * win32/common/gstversion.h:
6123           update visual studio generated files
6124
6125 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6126
6127         * win32/vs6/libgstbase.dsp:
6128         * win32/vs6/libgstelements.dsp:
6129           update project files for new locations
6130
6131 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6132
6133         * Makefile.am:
6134           remove some files
6135         * README:
6136           reinstate and update
6137         * DEVEL:
6138         * REQUIREMENTS:
6139           removed
6140         * LICENSE:
6141         * docs/random/LICENSE:
6142           moved to random
6143
6144 2005-11-30  Edward Hervey  <edward@fluendo.com>
6145
6146         * gst/gsttypefind.c: (gst_type_find_register):
6147         * gst/gsttypefind.h:
6148         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6149         (gst_type_find_factory_dispose):
6150         * gst/gsttypefindfactory.h:
6151         Fix memory leak in GstTypeFindFactory.
6152
6153 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6154
6155         * gst/gst.c:
6156         * plugins/elements/Makefile.am:
6157         * plugins/elements/gstelements.c:
6158         * plugins/elements/gstqueue.c:
6159           move queue from core to the elements plugin
6160
6161 2005-11-29  Andy Wingo  <wingo@pobox.com>
6162
6163         * libs/gst/base/gstbasetransform.h: 
6164         * libs/gst/base/gstbasesrc.h: 
6165         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
6166
6167         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
6168         of pointers by which to pad very extensible base classes (like the
6169         ones in libs/gst/base).
6170
6171 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6172
6173         * docs/gst/gstreamer-docs.sgml:
6174         * docs/gst/gstreamer-sections.txt:
6175         * docs/libs/gstreamer-libs-docs.sgml:
6176         * docs/libs/gstreamer-libs-sections.txt:
6177           moving documentation from core to lib
6178
6179 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6180
6181         * check/Makefile.am:
6182         * configure.ac:
6183         * docs/gst/Makefile.am:
6184         * gst/Makefile.am:
6185         * gst/base/.cvsignore:
6186         * gst/base/Makefile.am:
6187         * gst/base/README:
6188         * gst/base/gstadapter.c:
6189         * gst/base/gstadapter.h:
6190         * gst/base/gstbasesink.c:
6191         * gst/base/gstbasesink.h:
6192         * gst/base/gstbasesrc.c:
6193         * gst/base/gstbasesrc.h:
6194         * gst/base/gstbasetransform.c:
6195         * gst/base/gstbasetransform.h:
6196         * gst/base/gstcollectpads.c:
6197         * gst/base/gstcollectpads.h:
6198         * gst/base/gstpushsrc.c:
6199         * gst/base/gstpushsrc.h:
6200         * gst/base/gsttypefindhelper.c:
6201         * gst/base/gsttypefindhelper.h:
6202         * gst/check/Makefile.am:
6203         * gst/check/gstcheck.c:
6204         * gst/check/gstcheck.h:
6205         * gst/net/Makefile.am:
6206         * gst/net/gstnet.h:
6207         * gst/net/gstnetclientclock.c:
6208         * gst/net/gstnetclientclock.h:
6209         * gst/net/gstnettimepacket.c:
6210         * gst/net/gstnettimepacket.h:
6211         * gst/net/gstnettimeprovider.c:
6212         * gst/net/gstnettimeprovider.h:
6213         * libs/gst/Makefile.am:
6214         * libs/gst/base/Makefile.am:
6215         * libs/gst/base/gstbasetransform.c:
6216         * libs/gst/check/Makefile.am:
6217         * plugins/elements/Makefile.am:
6218         * po/POTFILES.in:
6219           CVS surgery + support to move base, check, and net out of gst
6220           and into libs/gst
6221
6222 2005-11-29  Andy Wingo  <wingo@pobox.com>
6223
6224         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
6225
6226         * gst/gststructure.h (struct _GstStructure): Only one pointer of
6227         padding.
6228
6229         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
6230
6231         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
6232
6233         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
6234
6235         * gst/gstobject.h: (struct _GstObject): Only one pointer of
6236         padding; reduces object size by about 30%. We don't expect
6237         anything else to go into gstobject.
6238
6239         * gst/gstminiobject.h (struct _GstMiniObject)
6240         (struct _GstMiniObjectClass): Only one pointer of padding; the
6241         payload is only a pointer and two ints anyway. For the class there
6242         are only two methods as well.
6243         
6244         * gst/gstelement.h (struct _GstElementClass): Removed
6245         the state_changed signal callback, it is not used.
6246
6247 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6248
6249         * docs/gst/gstreamer.types:
6250           fix includes, though they are a little dinky
6251
6252 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6253
6254         * check/Makefile.am:
6255           look in the right place for elements, a lot more chance of
6256           success
6257         * gst/Makefile.am:
6258           remove indexers and elements subdirs
6259         * plugins/Makefile.am:
6260           make indexers conditional
6261
6262 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6263
6264         * Makefile.am:
6265         * configure.ac:
6266         * plugins/elements/Makefile.am:
6267         * plugins/elements/gstcapsfilter.c:
6268         * plugins/elements/gstfilesink.c:
6269         * plugins/elements/gstfilesrc.c:
6270         * plugins/elements/gstidentity.c:
6271         * plugins/indexers/Makefile.am:
6272           do CVS surgery and related build fixery to move elements
6273           and indexers in a new gstreamer/plugins directory, out of the
6274           gst/ directory
6275
6276 2005-11-29  Andy Wingo  <wingo@pobox.com>
6277
6278         * check/Makefile.am:
6279         * pkgconfig/gstreamer-net-uninstalled.pc.in:
6280         * pkgconfig/gstreamer-net.pc.in:
6281         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
6282         #322257.
6283
6284 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6285
6286         * tools/Makefile.am:
6287         * tools/gst-complete.1.in:
6288         * tools/gst-complete.c:
6289         * tools/gst-compprep.1.in:
6290         * tools/gst-compprep.c:
6291           removing -compprep and -complete
6292
6293 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6294
6295         * gst/gstevent.c: (gst_event_new_new_segment),
6296         (gst_event_parse_new_segment):
6297         * gst/gstevent.h:
6298           fix #320529 - clean up new_segment API and structure.
6299           Let's hope everyone was using the methods, and not the structure.
6300
6301 2005-11-29  Edward Hervey  <edward@fluendo.com>
6302
6303         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6304         (gst_base_sink_event), (gst_base_sink_do_sync),
6305         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6306         Properly handle non GST_FORMAT_TIME segment
6307         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6308         Properly handle non GST_FORMAT_TIME segment
6309         * gst/gstsegment.c:
6310         This function is valid if the accumulator is 0 and the format
6311         is different from the requested format.
6312         
6313 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6314
6315         * docs/gst/gstreamer-sections.txt:
6316         Add gst_query_new_seeking and gst_query_parse_seeking to the
6317         docs.
6318
6319 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6320
6321         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6322           Treat a pad alloc with new caps the same as if we were not
6323           negotiated, in order to allow a changing upstream output
6324           to produce a new format of data.
6325
6326 2005-11-29  Edward Hervey  <edward@fluendo.com>
6327
6328         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6329         (gst_base_transform_event), (gst_base_transform_eventfunc):
6330         The event virtual method is now properly implemented, with a default
6331         handler
6332         Sub classes should call the parent_class event method. They should
6333         return FALSE if they had a problem handling the given event, or don't
6334         want GstBaseTransform to send that even downstream
6335         * gst/elements/gstidentity.c: (gst_identity_class_init),
6336         (gst_identity_init), (gst_identity_event),
6337         (gst_identity_transform_ip), (gst_identity_set_property),
6338         (gst_identity_get_property):
6339         * gst/elements/gstidentity.h:
6340         Added the single-segment boolean property.
6341         If set to TRUE, it will output a single segment of data, starting from
6342         0, will eat up all incoming newsegment, and modify the timestamp of the
6343         buffers accordingly
6344
6345 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
6346
6347         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
6348           Don't ref NULL target pad (#322751). Improve docs.
6349
6350 2005-11-29  Michael Smith  <msmith@fluendo.com>
6351
6352         * gst/gstregistryxml.c: (load_plugin):
6353           Don't crash if we failed to load a feature from a plugin. 
6354
6355 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6356
6357         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6358         (GST_START_TEST):
6359           use more check API and less GLib API
6360
6361 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6362
6363         * Makefile.am:
6364           don't run checks if we don't have check
6365         * common/check.mak:
6366           remove the registry when running make torture
6367         * docs/gst/gstreamer-sections.txt:
6368           remove second multiply
6369         * gst/gstqueue.c: (gst_queue_loop):
6370           fix a compile warning when disabling debug
6371
6372 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6373
6374         * gst/gstinfo.h:
6375         Hey! Let's print the pad name if the pointer != NULL instead
6376         of when it == NULL :-)
6377
6378 2005-11-28  Wim Taymans  <wim@fluendo.com>
6379
6380         * check/gst/gstutils.c: (GST_START_TEST):
6381         Updated check, add some scaling accuracy checking code.
6382
6383         * gst/gstutils.c: (gst_util_div128_64),
6384         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
6385         (gst_util_uint64_scale_int):
6386         Fix 6 times faster division code. Optimize for common 
6387         1/1 and less common X/1 cases.
6388
6389 2005-11-28  Wim Taymans  <wim@fluendo.com>
6390
6391         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6392         More checks.
6393
6394         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
6395         (do_linear_regression), (gst_clock_add_observation):
6396         Cleanups.
6397         Release lock when the clock cannot be slaved.
6398         Catch the case where the regression returned an invalid denominator.
6399
6400         * gst/gstutils.c: (gst_util_div128_64_iterate),
6401         (gst_util_div128_64), (gst_util_uint64_scale_int64),
6402         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6403         Add protentially more performant non-iterative 128/64 divide function
6404         that unfortunatly does not work yet.
6405         Shortcut the trivial 0/X = 0 case.
6406         Remove the warnings on overflow.
6407
6408 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6409
6410         * gst/gstplugin.c: (gst_plugin_register_func):
6411           everything causing a plugin not to load should be at least a WARNING
6412
6413 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
6414
6415         * docs/random/ensonic/dparams.txt:
6416           some TODOs for the next dev cycle
6417         * libs/gst/controller/gstcontroller.c:
6418         (gst_controlled_property_set_interpolation_mode),
6419         (gst_controlled_property_new):
6420         * libs/gst/controller/gstcontroller.h:
6421           use base type to assign acccessor functions
6422
6423 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6424
6425         * check/Makefile.am:
6426         Oops, that should have been top_srcdir
6427
6428 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6429
6430         * check/Makefile.am:
6431         * check/elements/fdsrc.c: (GST_START_TEST):
6432         Use a cmdline define to specify the location of a file to use for
6433         testing, to avoid breaking distcheck.
6434
6435 2005-11-28  Andy Wingo  <wingo@pobox.com>
6436
6437         * gst/gstpad.c (fixate_value): Use array functions for arrays.
6438
6439 2005-11-28  Edward Hervey  <edward@fluendo.com>
6440
6441         * tools/gst-launch.c: (main):
6442         Clarify the output strings, makes it easier to translate.
6443         Fixes #322626
6444
6445 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6446
6447         * gst/Makefile.am:
6448           don't try and build net if we don't even have <sys/socket.h>
6449
6450 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
6451
6452         * check/Makefile.am:
6453         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6454         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6455           Add tests for fdsrc seekability
6456
6457         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6458         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6459         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6460         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6461         * gst/elements/gstfdsrc.h:
6462           fdsrc should not be a 'live' source.
6463           Implement seeking on seekable fd's.
6464
6465         * gst/gstquery.c: (gst_query_new_seeking),
6466         (gst_query_parse_seeking):
6467         * gst/gstquery.h:
6468           Implement SEEKING query functions: 
6469             *_new_seeking and *_parse_seeking
6470
6471 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
6472
6473         * gst/gstelement.c: (gst_element_dispose):
6474           don't loop forever
6475
6476         * gst/gstiterator.c:
6477         * gst/gststructure.c:
6478           doc fixes
6479
6480         * libs/gst/controller/gstcontroller.c:
6481         (gst_controlled_property_set_interpolation_mode):
6482         * libs/gst/controller/gstcontroller.h:
6483         * libs/gst/controller/gstinterpolation.c:
6484         (interpolate_none_get_enum_value_array):
6485           support controlling enums
6486
6487 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6488
6489         * gst/gstvalue.c:
6490           Improve documentation for gst_value_union().
6491
6492         * gst/gstvalue.h:
6493           Change return value for union, intersect and subtract functions
6494           from gint to gboolean.
6495
6496 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6497
6498         * gst/gstvalue.c: (gst_value_serialize_any_list),
6499         (gst_value_transform_any_list_string),
6500         (gst_value_deserialize_list), (gst_value_deserialize_array),
6501         (gst_value_set_int_range), (gst_value_deserialize_int_range),
6502         (gst_value_set_double_range), (gst_value_deserialize_double_range),
6503         (gst_value_set_fraction_range_full),
6504         (gst_value_deserialize_fraction_range),
6505         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6506         (gst_value_deserialize_boolean),
6507         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6508         (gst_value_serialize_float), (gst_value_deserialize_float),
6509         (gst_string_wrap), (gst_value_deserialize_string),
6510         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6511         (gst_value_union_int_range_int_range),
6512         (gst_value_intersect_int_range_int_range),
6513         (gst_value_intersect_double_range_double_range),
6514         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6515         (gst_value_subtract_int_range_int_range),
6516         (gst_value_subtract_double_double_range),
6517         (gst_value_subtract_double_range_double_range),
6518         (gst_value_deserialize_fraction):
6519         * gst/gstvalue.h:
6520           Use gint, gdouble and gchar in our API instead of int, double and
6521           char (and make usage in gstvalue.c more consistent).
6522
6523 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6524
6525         * check/Makefile.am:
6526         * libs/gst/controller/Makefile.am:
6527         * libs/gst/dataprotocol/Makefile.am:
6528           fix up Makefile.am and remove GST_ENABLE_NEW
6529
6530 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6531
6532         * configure.ac:
6533         * gst/Makefile.am:
6534         * gst/base/Makefile.am:
6535         * gst/check/Makefile.am:
6536         * gst/elements/Makefile.am:
6537         * gst/net/Makefile.am:
6538           update LDFLAGS use some more
6539
6540 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6541
6542         * common/m4/gst-doc.m4:
6543           Fixes #312589
6544
6545 2005-11-26  Edward Hervey  <edward@fluendo.com>
6546
6547         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6548         This shouldn't issue a g_warning since it returns NULL if it
6549         couldn't find the plugin, and all functions using this behave
6550         properly on a NULL return. Switching to a GST_WARNING.
6551
6552 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
6553
6554         * gst/gstbin.c: (gst_bin_handle_message_func):
6555         Don't leak clock messages.
6556
6557 2005-11-25  Wim Taymans  <wim@fluendo.com>
6558
6559         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6560         (gst_util_uint64_scale_int):
6561         Optimisations, remove unneeded vars.
6562
6563 2005-11-25  Wim Taymans  <wim@fluendo.com>
6564
6565         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6566         Added more checks for the high precision uint64 cases.
6567
6568         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6569         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6570         Implement high precision (guint64 * guint64) / guint64.
6571
6572 2005-11-24  Wim Taymans  <wim@fluendo.com>
6573
6574         * gst/base/gstbasesrc.c: (gst_base_src_query):
6575         Fix wrong percentage query.
6576
6577         * gst/gstutils.c: (gst_util_uint64_scale),
6578         (gst_util_uint64_scale_int):
6579         Add some more common cases that can be handled 
6580         efficiently to _scale.
6581
6582 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6583
6584         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6585         (gst_mini_object_suite):
6586           don't use check calls from threads; check probably isn't
6587           threadsafe and using a lock to make it threadsafe would
6588           defeat the purpose of this check
6589         * gst/check/gstcheck.c:
6590         * gst/check/gstcheck.h:
6591           use GST_DEBUG some more
6592
6593 2005-11-24  Wim Taymans  <wim@fluendo.com>
6594
6595         * gst/gstutils.c: (gst_util_uint64_scale),
6596         (gst_util_uint64_scale_int):
6597         Chain trivial case to _scale_int.
6598
6599 2005-11-24  Wim Taymans  <wim@fluendo.com>
6600
6601         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6602         Added test for scaling.
6603
6604         * gst/gstclock.h:
6605         Small doc fix.
6606
6607         * gst/gstutils.c: (gst_util_uint64_scale_int):
6608         Implemented high precision scaling code.
6609
6610 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
6611
6612         * gst/gstinfo.h:
6613           do not crash on pad==NULL
6614
6615 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6616
6617         Patch by: Stefan Kost
6618
6619         * common/gtk-doc.mak:
6620         * docs/gst/Makefile.am:
6621         * docs/libs/Makefile.am:
6622           Fix distcheck issues for the libraries docs build
6623           Closes #319599.
6624
6625 2005-11-24  Michael Smith <msmith@fluendo.com>
6626
6627         * docs/manual/basics-helloworld.xml:
6628           Fix bug #315027: memory leak in example code in docs.
6629
6630 2005-11-24  Michael Smith <msmith@fluendo.com>
6631
6632         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6633           Unlock the PREROLL_LOCK in a failure case.
6634
6635 2005-11-24  Wim Taymans  <wim@fluendo.com>
6636
6637         * docs/gst/gstreamer-sections.txt:
6638         * gst/base/gstadapter.h:
6639         * gst/base/gstbasesink.h:
6640         * gst/base/gstbasesrc.h:
6641         * gst/base/gstbasetransform.h:
6642         * gst/base/gstpushsrc.h:
6643         * gst/elements/gstfakesink.h:
6644         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6645         * gst/elements/gstfakesrc.h:
6646         * gst/elements/gstfilesink.h:
6647         * gst/elements/gstfilesrc.h:
6648         * gst/gst.c:
6649         * gst/gstbin.c:
6650         * gst/gstbuffer.c: (_gst_buffer_copy):
6651         * gst/gstbus.h:
6652         * gst/gstcaps.c:
6653         * gst/gstchildproxy.c:
6654         * gst/gstclock.c:
6655         * gst/gstelement.c:
6656         * gst/gstelementfactory.c:
6657         * gst/gstelementfactory.h:
6658         * gst/gstevent.c:
6659         * gst/gstghostpad.h:
6660         * gst/gstindex.h:
6661         * gst/gstinterface.h:
6662         * gst/gstminiobject.c:
6663         * gst/gstminiobject.h:
6664         * gst/gstpad.c:
6665         * gst/gstpad.h:
6666         * gst/gstpadtemplate.h:
6667         * gst/gstpipeline.h:
6668         * gst/gstpluginfeature.h:
6669         * gst/gstquery.h:
6670         * gst/gstqueue.h:
6671         * gst/gsttaglist.c:
6672         * gst/gsttaglist.h:
6673         * gst/gsttagsetter.c:
6674         * gst/gsttagsetter.h:
6675         * gst/gsttrace.c:
6676         * gst/gsttrace.h:
6677         * gst/gsttypefind.h:
6678         * gst/gsturi.h:
6679         * gst/gstvalue.c:
6680         * gst/net/gstnetclientclock.c:
6681         * gst/net/gstnetclientclock.h:
6682         * gst/net/gstnettimepacket.c:
6683         * gst/net/gstnettimeprovider.c:
6684         * gst/net/gstnettimeprovider.h:
6685         Doc fixes.
6686
6687 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6688
6689         * configure.ac: back to HEAD
6690
6691 === release 0.9.6 ===
6692
6693 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
6694
6695         * configure.ac:
6696           releasing 0.9.6, "Always On Time"
6697
6698 2005-11-23  Wim Taymans  <wim@fluendo.com>
6699
6700         * docs/gst/gstreamer-sections.txt:
6701         * gst/glib-compat.c:
6702         * gst/gsttagsetter.c:
6703         * gst/gstvalue.c:
6704         * gst/net/gstnetclientclock.c:
6705         * gst/net/gstnettimepacket.h:
6706         Doc updates.
6707
6708 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6709
6710         * docs/faq/using.xml:
6711         * docs/libs/tmpl/gstcontrol.sgml:
6712         * docs/manual/advanced-dparams.xml:
6713         * docs/manual/appendix-checklist.xml:
6714         * docs/manual/basics-elements.xml:
6715         * docs/pwg/other-source.xml:
6716         * docs/random/moving-plugins:
6717         * gst/gstpad.c:
6718         * tools/gst-launch.1.in:
6719           remove mentions of sinesrc
6720
6721 2005-11-23  Michael Smith <msmith@fluendo.com>
6722
6723         * docs/gst/gstreamer-sections.txt:
6724           Update for new API and API changes.
6725         * gst/gstobject.h:
6726           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6727         * gst/gstvalue.c:
6728           Documentation typo fix.
6729         * gst/net/gstnettimepacket.c:
6730           Documentation fixes for arguments.
6731
6732 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
6733
6734         * gst/gststructure.c: (gst_structure_get_fraction),
6735         (gst_structure_parse_value),
6736         (gst_structure_fixate_field_nearest_fraction):
6737         * gst/gststructure.h:
6738         * gst/gstutils.c: (gst_util_uint64_scale_int):
6739         * gst/gstutils.h:
6740         * scripts/update-funcnames:
6741         API Changes. 
6742         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6743         Make gst_structure_fixate_field_nearest_fraction take a numerator
6744         and denominator argument instead of a GValue
6745         add gst_structure_get_fraction helper function.
6746
6747 2005-11-23  Wim Taymans  <wim@fluendo.com>
6748
6749         * docs/design/part-TODO.txt:
6750         Update TODO.
6751
6752         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6753         * gst/net/gstnetclientclock.h:
6754         Use parent fields for timeout and window_size.
6755
6756 2005-11-23  Andy Wingo  <wingo@pobox.com>
6757
6758         * check/net/gstnetclientclock.c (test_functioning): Adjust to
6759         rate_num/rate_denom change.
6760
6761         * gst/net/gstnetclientclock.c
6762         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6763         OBJECT_LOCK. Don't call add_observation with the lock.
6764
6765         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6766         fraction.
6767         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6768         rate fraction.
6769         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6770         deal with rate as a fraction whose numerator and denominator are
6771         GstClockTime values.
6772         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6773         master; the other fields are protected by the SLAVE_LOCK.
6774         (do_linear_regression): Note that this must be called with the
6775         SLAVE_LOCK.
6776         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6777         OBJECT_LOCK. Call set_calibration instead of touching the
6778         variables directly.
6779         (gst_clock_set_property, gst_clock_get_property): Protect
6780         master/slave parameters with the SLAVE_LOCK.
6781
6782         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6783         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6784         note that all of the instance variables that add_observation and
6785         the set_master functions use are protected by that lock and not
6786         the OBJECT_LOCK.
6787         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6788
6789         * gst/gstclock.c (gst_clock_add_observation): No longer requires
6790         the caller to take the object lock.
6791
6792 2005-11-23  Wim Taymans  <wim@fluendo.com>
6793
6794         * gst/gsterror.c: (_gst_core_errors_init):
6795         * gst/gsterror.h:
6796         Add error for clock stuff.
6797
6798         * gst/gstpipeline.c: (gst_pipeline_change_state),
6799         (gst_pipeline_set_clock):
6800         Post clock error when clock cannot be used in a pipeline.
6801
6802 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
6803
6804         * docs/gst/gstreamer-sections.txt:
6805           make two symbols from gstinfo private for the docs
6806         * gst/base/gstcollectpads.h:
6807         * gst/gstutils.c:
6808           fix doc typos, update docs
6809
6810 2005-11-22  Wim Taymans  <wim@fluendo.com>
6811
6812         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6813         (gst_base_sink_wait), (gst_base_sink_do_sync),
6814         (gst_base_sink_handle_event):
6815         * gst/base/gstbasesink.h:
6816         No need to store the clock, the parent element class already
6817         has it.
6818
6819         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6820         Updates for clock_set returning a gboolean
6821
6822         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6823         (gst_clock_id_wait_async), (gst_clock_class_init),
6824         (gst_clock_init), (gst_clock_finalize),
6825         (gst_clock_get_internal_time), (gst_clock_get_time),
6826         (gst_clock_slave_callback), (gst_clock_set_master),
6827         (gst_clock_get_master), (do_linear_regression),
6828         (gst_clock_add_observation), (gst_clock_set_property),
6829         (gst_clock_get_property):
6830         * gst/gstclock.h:
6831         Implement master/slave. When setting a clock as a slave, a
6832         periodic timeout is scheduled to sample master and slave times.
6833         Then the slave clock is recalibrated to match offset and rate
6834         of the master clock.
6835         Update logging a bit.
6836         Add flag so that a clock can state that is cannot be slaved to
6837         another clock.
6838
6839         * gst/gstelement.c: (gst_element_set_clock):
6840         * gst/gstelement.h:
6841         The set clock returns a gboolean for when an element cannot
6842         deal with the selected clock in the pipeline. 
6843
6844         * gst/gstpipeline.c: (gst_pipeline_change_state),
6845         (gst_pipeline_set_clock):
6846         * gst/gstpipeline.h:
6847         Handle the case where the selected clock cannot be set on
6848         the pipeline.
6849
6850         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6851         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6852         (gst_net_client_clock_set_property),
6853         (gst_net_client_clock_get_property),
6854         (gst_net_client_clock_observe_times):
6855         * gst/net/gstnetclientclock.h:
6856         Use regression code in GstClock parent, remove duplicated
6857         functionality.
6858
6859 2005-11-22  Michael Smith <msmith@fluendo.com>
6860
6861         * gst/gstutils.c: (gst_util_clock_time_scale):
6862         * gst/gstutils.h:
6863         * docs/gst/gstreamer-sections.txt:
6864           Rename method to have extra underscore.
6865
6866 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6867
6868         * gst/elements/Makefile.am:
6869         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6870         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6871         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6872         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6873         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6874         * gst/elements/gstfakesrc.h:
6875         * gst/gstqueue.c: (queue_leaky_get_type):
6876           correctly fix GEnumValues so that nick is the short lowercase
6877           dashed tag
6878         * tools/gst-inspect.c: (print_element_properties_info):
6879           also show the nick, since it's useful to use from parse_launch
6880           syntax
6881           Fixes #322139
6882
6883 2005-11-22  Michael Smith <msmith@fluendo.com>
6884
6885         * gst/gstutils.c: (gst_util_clocktime_scale):
6886         * gst/gstutils.h:
6887         * docs/gst/gstreamer-sections.txt:
6888           Add util method for scaling a clocktime by a fraction. Useful 
6889           implementation is left as an exercise for the reader.
6890
6891 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6892
6893         * gst/gstvalue.c: (gst_value_collect_fraction_range):
6894         If needed, allocate storage in the destination value during
6895         collection.
6896
6897 2005-11-22  Edward Hervey  <edward@fluendo.com>
6898
6899         * docs/gst/gstreamer-sections.txt:
6900         * gst/Makefile.am:
6901         * gst/gst.h:
6902         * gst/gsturitype.c:
6903         * gst/gsturitype.h:
6904         * gst/gstutils.c: (gst_util_set_object_arg):
6905         * tools/gst-compprep.c: (main):
6906         * tools/gst-inspect.c: (print_element_properties_info):
6907         Removed GstURI, closes bug #321061
6908
6909 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6910
6911         * check/gst/gststructure.c: (GST_START_TEST):
6912         * gst/gststructure.c: (gst_structure_parse_value):
6913           Oops, broke automatic string type parsing.
6914           Add a test to catch it in future.
6915
6916 2005-11-22  Andy Wingo  <wingo@pobox.com>
6917
6918         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
6919         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6920         Actually rename the function implementations. Grr.
6921
6922 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6923
6924         * check/gst/capslist.h:
6925           Comment test cases
6926         * check/gst/gststructure.c: (GST_START_TEST),
6927         (gst_structure_suite):
6928           Test automatic value type detection in gst_structure_from_string.
6929         * gst/gststructure.c: (gst_structure_parse_value):
6930           Add fraction as a type we try and guess automatically in
6931           caps/structure strings.
6932
6933 2005-11-22  Andy Wingo  <wingo@pobox.com>
6934
6935         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6936
6937         * gst/gsttagsetter.h:
6938         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6939         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6940         (gst_tag_setter_add_tag_valist)
6941         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6942         _add_values, _add_valist, and _add_valist_values. Since this is an
6943         interface the function suffixes should be more explicit so
6944         language binding don't end up with element.add_valist ->
6945         gst_tag_setter_add_valist, for example. Fixes #322069.
6946
6947 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6948
6949         * check/gst/gstcaps.c: (GST_START_TEST):
6950           Extend caps string tests to check that a caps to string
6951           conversion is reversible and produces the same caps.
6952
6953         * gst/gststructure.c: (gst_structure_value_get_generic_type):
6954           Output "fraction" as the generic type fraction range, so caps
6955           serialisation and deserialisation works.
6956         * check/gst/capslist.h:
6957         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6958           Support 'MIN' and 'MAX' for deserialising fractions.
6959
6960 2005-11-22  Andy Wingo  <wingo@pobox.com>
6961
6962         * gst/gstevent.h (gst_event_new_new_segment)
6963         (gst_event_parse_new_segment, gst_event_new_buffer_size)
6964         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6965         Renamed from *_newsegment, *_buffersize, *_notarget.
6966
6967         * scripts/update-funcnames: New script, performs the changes
6968         listed above.
6969
6970 2005-11-22  Wim Taymans  <wim@fluendo.com>
6971
6972         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6973         Make sure the GstFlowReturn is returned.
6974
6975         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6976         (gst_bus_add_signal_watch):
6977         * gst/gstbus.h:
6978         add gst_bus_add_signal_watch_full.
6979
6980         * gst/gstplugin.c: (gst_plugin_load_file):
6981         Small style cleanup.
6982
6983 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6984
6985         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6986           Block the fakesrc srcpad when we send an event, to avoid
6987           contention on the stream_lock causing random test failures.
6988
6989 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6990
6991         * check/gst/gstvalue.c: (GST_START_TEST):
6992         * gst/gstvalue.c: (gst_value_fraction_subtract):
6993           Fix subtraction.
6994
6995 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
6996
6997         * gst/gst.h:
6998           include "gstchildproxy.h"
6999         * gst/gstchildproxy.h:
7000         * libs/gst/controller/gstcontroller.h:
7001           use G_GNUC_NULL_TERMINATED
7002
7003 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7004
7005         * check/gst/capslist.h:
7006         * check/gst/gstcaps.c: (GST_START_TEST):
7007         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7008         * gst/gststructure.c: (gst_structure_parse_range),
7009         (gst_structure_fixate_field_nearest_fraction):
7010         * gst/gststructure.h:
7011         * gst/gstvalue.c: (gst_value_init_fraction_range),
7012         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
7013         (gst_value_collect_fraction_range),
7014         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
7015         (gst_value_set_fraction_range_full),
7016         (gst_value_get_fraction_range_min),
7017         (gst_value_get_fraction_range_max),
7018         (gst_value_serialize_fraction_range),
7019         (gst_value_transform_fraction_range_string),
7020         (gst_value_compare_fraction_range),
7021         (gst_value_deserialize_fraction_range),
7022         (gst_value_intersect_fraction_fraction_range),
7023         (gst_value_intersect_fraction_range_fraction_range),
7024         (gst_value_subtract_fraction_fraction_range),
7025         (gst_value_subtract_fraction_range_fraction),
7026         (gst_value_subtract_fraction_range_fraction_range),
7027         (gst_value_collect_fraction), (gst_value_fraction_multiply),
7028         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
7029         (gst_value_transform_string_fraction), (_gst_value_initialize):
7030         * gst/gstvalue.h:
7031           Implement fraction ranges and extend GstFraction to support
7032           arithmetic subtraction, as well as deserialization from integer
7033           strings such as "100"
7034           Add a testsuite as for int and double range set operations
7035
7036 2005-11-21  Andy Wingo  <wingo@pobox.com>
7037
7038         * gst/gsttaglist.h: 
7039         * gst/gstcaps.h: 
7040         * gst/gststructure.h: Add glib-compat.h.
7041
7042 2005-11-21  Wim Taymans  <wim@fluendo.com>
7043
7044         * gst/gstbin.c: (gst_bin_change_state_func):
7045         Fix for #321595
7046
7047 2005-11-21  Wim Taymans  <wim@fluendo.com>
7048
7049         * gst/gstsegment.h:
7050         And add a nice define too.
7051
7052 2005-11-21  Wim Taymans  <wim@fluendo.com>
7053
7054         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
7055         (gst_segment_new), (gst_segment_free), (gst_segment_init),
7056         (gst_segment_set_duration), (gst_segment_set_last_stop),
7057         (gst_segment_set_seek), (gst_segment_set_newsegment),
7058         (gst_segment_to_stream_time), (gst_segment_to_running_time),
7059         (gst_segment_clip):
7060         * gst/gstsegment.h:
7061         Make binding friendly.
7062
7063 2005-11-21  Andy Wingo  <wingo@pobox.com>
7064
7065         * gst/gsttagsetter.h: 
7066         * gst/gsttaglist.h: 
7067         * gst/gststructure.h: 
7068         * gst/gstcaps.h: 
7069         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
7070         #319940.
7071
7072         * gst/gsterror.c (_gst_core_errors_init):
7073         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
7074         category.
7075
7076         * gst/Makefile.am (gst_headers): Add glib-compat.h.
7077         (noinst_HEADERS): noinst the -private.
7078
7079 2005-11-21  Michael Smith <msmith@fluendo.com>
7080
7081         * gst/gstplugin.h:
7082         * gst/gstregistry.h:
7083           Remove unimplemented declarations for which we can see no sensible
7084           use.
7085
7086 2005-11-21  Andy Wingo  <wingo@pobox.com>
7087
7088         * gst/gst.h: Include glib-compat.h.
7089
7090         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
7091
7092         * gst/glib-compat.c: Include the public and the private header.
7093
7094         * gst/glib-compat-private.h: Copied here from glib-compat.h.
7095
7096         * gst/gstvalue.c: 
7097         * gst/gstpad.c: 
7098         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
7099
7100         * check/gst/gstevent.c (create_custom_events): Check that
7101         FLUSH_STOP is serialized.
7102
7103         * check/elements/identity.c (event_func): 
7104         * check/elements/fakesrc.c (event_func): No stream lock, the core
7105         takes it.
7106
7107         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
7108         stream lock taking, yay.
7109
7110         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
7111         ensure that core takes the stream lock.
7112
7113         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
7114         lock name change.
7115
7116         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
7117         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
7118         it already. For the flush start we do take it though so we get the
7119         right preroll state change messages.
7120
7121         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
7122         the stream lock here, the core does it for us.
7123
7124         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
7125         GST_STREAM_GET_LOCK.
7126         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
7127         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
7128         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
7129         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
7130         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
7131         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
7132
7133         * gst/gstpad.c: Update for stream lock name change.
7134
7135         * gst/base/gstbasesink.c: Update for preroll lock name change.
7136
7137 2005-11-21  Wim Taymans  <wim@fluendo.com>
7138
7139         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
7140         (gst_clock_get_master):
7141         * gst/gstclock.h:
7142         * gst/gstsystemclock.c: (gst_system_clock_init):
7143         Convert Clock flags to object flags.
7144         Added methods to manage master/slave clocks.
7145
7146 2005-11-21  Wim Taymans  <wim@fluendo.com>
7147
7148         * check/gst/gstsegment.c: (GST_START_TEST):
7149         * docs/design/part-TODO.txt:
7150         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7151         (gst_base_sink_event), (gst_base_sink_do_sync),
7152         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7153         (gst_base_sink_query), (gst_base_sink_change_state):
7154         * gst/base/gstbasesink.h:
7155         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7156         (gst_base_src_default_newsegment),
7157         (gst_base_src_configure_segment), (gst_base_src_do_seek),
7158         (gst_base_src_get_range), (gst_base_src_loop),
7159         (gst_base_src_change_state):
7160         * gst/base/gstbasesrc.h:
7161         * gst/base/gstbasetransform.c:
7162         (gst_base_transform_prepare_output_buf),
7163         (gst_base_transform_event), (gst_base_transform_change_state):
7164         * gst/base/gstbasetransform.h:
7165         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7166         (gst_collect_pads_event):
7167         * gst/base/gstcollectpads.h:
7168         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
7169         (gst_fake_src_create):
7170         * gst/elements/gstfakesrc.h:
7171         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7172         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7173         (gst_segment_set_last_stop), (gst_segment_set_seek),
7174         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7175         (gst_segment_to_running_time), (gst_segment_clip):
7176         * gst/gstsegment.h:
7177         More segment updates, replace code in plugins with segment
7178         helper functions.
7179
7180 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7181
7182         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
7183         Don't ignore sscanf results
7184
7185 2005-11-21  Andy Wingo  <wingo@pobox.com>
7186
7187         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
7188
7189         * *.h:
7190         * *.c: Ran scripts/update-macros. Oh yes.
7191
7192         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
7193         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
7194         GST_GET_LOCK, etc.
7195
7196         * scripts/update-macros: New script. Run it on your files to
7197         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
7198         well.
7199
7200 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
7201
7202         * docs/gst/Makefile.am:
7203         * docs/gst/gstreamer-docs.sgml:
7204         * docs/gst/gstreamer-sections.txt:
7205         * docs/gst/gstreamer.types:
7206         * gst/gstinfo.h:
7207           more docs fixes, add new api to the docs
7208
7209 2005-11-21  Andy Wingo  <wingo@pobox.com>
7210
7211         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
7212         state_broadcast call.
7213
7214         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
7215
7216 2005-11-21  Julien MOUTTE  <julien@moutte.net>
7217
7218         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
7219         function calls for arrays.
7220
7221 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
7222
7223         * docs/random/ensonic/media-device-daemon.txt:
7224           wild idea, can this be done?
7225         * docs/gst/gstreamer-sections.txt:
7226         * gst/gsterror.h:
7227         * gst/gstfilter.c:
7228         * gst/gstfilter.h:
7229         * gst/gstplugin.h:
7230         * gst/gstpluginfeature.c:
7231         * gst/gsttrace.c:
7232         * gst/gstvalue.c:
7233         * gst/gstvalue.h:
7234           doc fixes and additions
7235
7236 2005-11-21  Andy Wingo  <wingo@pobox.com>
7237
7238         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
7239         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
7240         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
7241         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
7242         private to the basesrc implementation.
7243
7244         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
7245         behalf of event function if necessary. It should no longer be
7246         necessary to take the stream lock in pad's event functions. Fixes
7247         #320299.
7248
7249 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7250         * docs/gst/gstreamer-sections.txt:
7251         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
7252         (gst_structure_fixate_field_nearest_double),
7253         (gst_structure_fixate_field_boolean):
7254         * gst/gststructure.h:
7255         * win32/common/libgstreamer.def:
7256         * win32/gstreamer.def:
7257
7258         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
7259         (#322027)
7260
7261 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7262
7263         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
7264         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
7265         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
7266         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
7267         (gst_fdsrc_uri_handler_init):
7268         * gst/elements/gstfdsrc.h:
7269           Port fd:// URI handler from 0.8 to fdsrc
7270
7271 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7272
7273         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
7274         (gst_value_serialize_fourcc):
7275         * gst/gstvalue.h:
7276           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
7277           consistent with our other format defines (#320324).
7278
7279 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7280
7281         * gst/gstvalue.c: (gst_value_is_fixed):
7282           Revert previous commit. Value lists are by definition
7283           not fixed, as they are a list of possible values.
7284
7285 2005-11-21  Andy Wingo  <wingo@pobox.com>
7286
7287         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
7288         during the stable series if we need it. Fixes #319178.
7289
7290         * gst/gstevent.c (gst_event_new_filler): Removed.
7291
7292         * check/gst/gstevent.c: Update comment about filler events.
7293
7294 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7295
7296         * gst/gstvalue.c: (gst_value_is_fixed):
7297           Should handle both value arrays and value lists.
7298
7299 2005-11-21  Andy Wingo  <wingo@pobox.com>
7300
7301         patch by: Alessandro Dessina <alessandro nnva org>
7302
7303         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
7304         functions to access arrays. Fixes #321962.
7305
7306 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * docs/gst/gstreamer.types:
7309           gst_collectpads_get_type => gst_collect_pads_get_type.
7310           
7311         * gst/base/gstbasetransform.c:
7312           Remove unused SIGNAL_HANDOFF enum.
7313
7314 2005-11-21  Andy Wingo  <wingo@pobox.com>
7315
7316         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
7317         the event type (upstream, downstream, serialized). Renamed
7318         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
7319         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
7320         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
7321
7322         * gst/gstevent.c: Update for new CUSTOM event names.
7323
7324         * check/gst/gstevent.c: Update check for new CUSTOM event names.
7325
7326         * gst/gstevent.h:
7327         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
7328         bug #319392.
7329
7330 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7331
7332         * docs/gst/gstreamer-sections.txt:
7333         * win32/common/libgstbase.def:
7334         * win32/libgstbase.def:
7335         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7336         (gst_collect_pads_class_init), (gst_collect_pads_init),
7337         (gst_collect_pads_finalize), (gst_collect_pads_new),
7338         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
7339         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
7340         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
7341         (gst_collect_pads_start), (gst_collect_pads_stop),
7342         (gst_collect_pads_peek), (gst_collect_pads_pop),
7343         (gst_collect_pads_available), (gst_collect_pads_read),
7344         (gst_collect_pads_flush), (gst_collect_pads_event),
7345         (gst_collect_pads_chain):
7346         * gst/base/gstcollectpads.h:
7347           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
7348           unimplemented functions as unimplemented. Add padding to
7349           GstCollectData. (#320766, #320423)
7350
7351 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7352
7353         * gst/gstmessage.c:
7354           Improve docs for DURATION message (usage of duration parameter)
7355           (#320113)
7356
7357 2005-11-20  Wim Taymans  <wim@fluendo.com>
7358
7359         * check/Makefile.am:
7360         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
7361         (main):
7362         * gst/Makefile.am:
7363         * gst/gst.h:
7364         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7365         (gst_segment_set_seek), (gst_segment_set_newsegment),
7366         (gst_segment_to_stream_time), (gst_segment_to_running_time),
7367         (gst_segment_clip):
7368         * gst/gstsegment.h:
7369         Added segment helper structure and methods. Not fully implemented
7370         yet.
7371         Added segment check.
7372
7373 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
7374
7375         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7376           Add a deserialisation test for fractions
7377         * examples/metadata/read-metadata.c: (message_loop),
7378         (make_pipeline), (main):
7379           Fix up metadata reading sample.
7380         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7381           Debug format fix
7382         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7383           Don't try and fixate empty caps
7384         * gst/gst_private.h:
7385           Wrap in G_BEGIN_DECLS/G_END_DECLS
7386         * gst/gstvalue.c: (gst_value_collect_fraction),
7387         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
7388         (gst_value_transform_string_fraction),
7389         (gst_value_compare_fraction):
7390           Add some extra guards to ensure that we don't end up 
7391           with an invalid denominator of 0 in a gstfraction and
7392           that fractions always get reduced.
7393
7394 2005-11-20  Wim Taymans  <wim@fluendo.com>
7395
7396         * docs/gst/gstreamer-sections.txt:
7397         * gst/gstbuffer.h:
7398         * gst/gstelement.c:
7399         * gst/gstformat.c:
7400         * gst/gstformat.h:
7401         * gst/gstindex.h:
7402         * gst/gstquery.c:
7403         * gst/gstquery.h:
7404         * gst/gstvalue.c:
7405         Doc fixes.
7406
7407 2005-11-20  Wim Taymans  <wim@fluendo.com>
7408
7409         * docs/design/part-TODO.txt:
7410         * gst/gstcaps.h:
7411         Make a proper enum of the flag.
7412
7413 2005-11-19  Wim Taymans  <wim@fluendo.com>
7414
7415         * docs/design/part-TODO.txt:
7416         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
7417         (gst_format_to_quark), (gst_format_register):
7418         * gst/gstformat.h:
7419         * gst/gstquery.c: (_gst_query_initialize),
7420         (gst_query_type_get_name), (gst_query_type_to_quark),
7421         (gst_query_type_register):
7422         * gst/gstquery.h:
7423         Add type to quark and type to string conversions.
7424
7425 2005-11-19  Andy Wingo  <wingo@pobox.com>
7426
7427         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
7428         #320097.
7429
7430 2005-11-19  Wim Taymans  <wim@fluendo.com>
7431
7432         * docs/design/part-TODO.txt:
7433         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7434         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
7435         (gst_bin_handle_message_func):
7436         * gst/gstbin.h:
7437         Make message handling overridable.
7438
7439 2005-11-19  Andy Wingo  <wingo@pobox.com>
7440
7441         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7442
7443         * gst/gstclock.h:
7444         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7445         be a GstClockTime.
7446         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7447         is a GstClockTime. Fixes #321710.
7448
7449         * gst/gstclock.h (GstClock): Remove offset property. Add
7450         internal_calibration and external_calibration. Fix padding. Pad
7451         also by GstClockTime so we don't run into problems.
7452
7453         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7454         (gst_clock_get_rate_offset): Remove.
7455         (gst_clock_set_time_adjust): Remove. Fixes #321712.
7456
7457         * gst/gstutils.h:
7458         * gst/gstutils.c (g_static_rec_cond_wait)
7459         (g_static_rec_cond_timed_wait): Removed, no longer needed.
7460
7461         * gst/gstbin.c: Remove terrible continue_state prototype.
7462
7463         * gst/gstelement.h (gst_element_continue_state): Make public.
7464
7465         * gst/gstelement.h:
7466         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7467         by continue_state. Fixes #319389.
7468
7469         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7470         Really fixes #168438. However I don't see anywhere where the
7471         filter function is called... stupid GStreamer...
7472         
7473         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7474         don't have a dispose function, so it won't get called when the
7475         object is unreffed, but oh well!
7476
7477         * gst/gstindex.c (gst_index_set_filter_full): New API function,
7478         allows a destroy function to be set so user_data can be freed.
7479         Fixes #168438.
7480         (gst_index_set_filter): Call gst_index_set_filter_full.
7481
7482         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7483
7484         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7485         string should produce an error, given the lack of a way to
7486         represent NULL strings. Fixes #165650.
7487         
7488         * gst/gstvalue.h: 
7489         * gst/gstvalue.c (gst_value_array_append_value) 
7490         (gst_value_array_prepend_value, gst_value_array_get_size) 
7491         (gst_value_array_get_value): New API, copied from
7492         gst_value_list_*, only operates on arrays.
7493         (gst_value_list_append_value, gst_value_list_prepend_value) 
7494         (gst_value_list_concat, gst_value_list_get_size) 
7495         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7496
7497         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7498         init_list, because it works on both.
7499         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7500         (gst_value_copy_list_or_array): Renamed from copy_list.
7501         (gst_value_free_list_or_array): Renamed from free_list.
7502         (gst_value_collect_list_or_array): Renamed from collect_list.
7503         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7504         (gst_value_list_or_array_peek_pointer): Renamed from
7505         list_peek_pointer.
7506         (_gst_value_array_value_table, _gst_value_list_value_table):
7507         Update value table functions.
7508         (gst_value_compare_list_or_array): Renamed from compare_list.
7509
7510         * gsttaglist.h: Whoops, foreach function returns void. Also fix
7511         some constness.
7512
7513         * gst/gsttaglist.c:
7514         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7515         GstTagList*. Fixes #143472.
7516
7517         * gst/gststructure.h: Clarify what the foreach/map functions can
7518         or can't do to their arguments.
7519
7520 2005-11-18  Wim Taymans  <wim@fluendo.com>
7521
7522         * gst/gstclock.c: (gst_clock_set_calibration),
7523         (gst_clock_get_calibration):
7524         Doc and API fixes.
7525         Calibration can be set with internal time equal to current
7526         internal time too.
7527
7528 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7529
7530         * gst/gsterror.c:
7531         * gst/gsterror.h:
7532           document
7533
7534 2005-11-18  Andy Wingo  <wingo@pobox.com>
7535
7536         * configure.ac: 
7537         * pkgconfig/gstreamer-net.pc.in:
7538         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7539         * pkgconfig/Makefile.am: Add net pkgconfig files.
7540
7541 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
7542
7543         * gst/gstcaps.c:
7544         * gst/gstghostpad.c:
7545         * gst/gsttrace.c:
7546         * gst/gstvalue.c:
7547         * gst/gstvalue.h:
7548           docs fixes
7549
7550 2005-11-18  Andy Wingo  <wingo@pobox.com>
7551
7552         * gst/net/gstnetclientclock.c: Turn off debugging.
7553
7554         * check/net/gstnetclientclock.c (test_functioning): Assert that the
7555         times connverge somewhat. Can't make a real test.
7556
7557         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7558         integer arithmetic. Return the minimum of the domain, which can be
7559         set as "internal" for gst_clock_set_calibration.
7560         (gst_net_client_clock_observe_times): Call _set_calibration.
7561         (gst_net_client_clock_new): Call _set_calibration instead of
7562         rate_offset.
7563
7564         * check/net/gstnetclientclock.c (test_functioning): Use the right
7565         adjustment api.
7566
7567         * gst/gstclock.h:
7568         * gst/gstclock.c (gst_clock_get_calibration) 
7569         (gst_clock_set_calibration): New functions, obsolete the ones I
7570         added yesterday. Doh. Precision issues mean we have to extrapolate
7571         from a point in the more recent past than 1970.
7572         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7573         obsolete.
7574         (gst_clock_adjust_unlocked): Use the right calibration data.
7575
7576 2005-11-18  Edward Hervey  <edward@fluendo.com>
7577
7578         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
7579         Also reset the ->current_* values in READY->PAUSED
7580
7581 2005-11-18  Andy Wingo  <wingo@pobox.com>
7582
7583         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7584         Whoops, check the right fd. Also add some debugging.
7585         (gst_net_client_clock_observe_times): Adjust for int64 offset.
7586         (do_linear_regression): Add a crapload of debugging. Subtract off
7587         the minimum values from the input series to discard unneeded bits.
7588         Use only int arithmetic. There is still double arithmetic when
7589         calculating the intercept that needs fixing. Return boolean to
7590         indicate success; FALSE would mean the domain or range is too
7591         great. Still needs fixes.
7592
7593 2005-11-18  Wim Taymans  <wim@fluendo.com>
7594
7595         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7596         For the current position in stream time, we need to subtract
7597         accumulated time.
7598         
7599         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7600         Release lock before calling the callback function of async
7601         entries.
7602
7603 2005-11-18  Andy Wingo  <wingo@pobox.com>
7604
7605         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7606         Port goes all the way to MAXUINT16.
7607
7608         * gst/net/gstnettimeprovider.c: Make the port range the same as
7609         for the kernel: 0 assigns, otherwise ports are less than
7610         MAXUINT16.
7611
7612         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7613         port change.
7614
7615         * check/net/gstnetclientclock.c (test_functioning): Add the start
7616         of another test. 
7617
7618 2005-11-18  Wim Taymans  <wim@fluendo.com>
7619
7620         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7621         (gst_bin_remove_func), (bin_bus_handler):
7622         * gst/gstbin.h:
7623         Removing a clock provider from a bin, triggers a clock lost message
7624         so that a new clock will be selected.
7625         Adding a clock to a bin triggers a clock provider message.
7626         Make sure we reselect a clock when we received a clock lost message.
7627         Keep a reference to the element that provided the clock.
7628
7629 2005-11-18  Andy Wingo  <wingo@pobox.com>
7630
7631         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7632         the clock initially so it produces values around the base time.
7633         (gst_net_client_clock_class_init): Typo fix.
7634         (gst_net_client_clock_thread): Add note on when the socket gets
7635         closed.
7636
7637 2005-11-17  Wim Taymans  <wim@fluendo.com>
7638
7639         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7640         Free remote and local time arrays.
7641
7642 2005-11-17  Wim Taymans  <wim@fluendo.com>
7643
7644         * gst/net/gstnetclientclock.c: (do_linear_regression),
7645         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7646         Fix compilation, uninitialized vars and a forgotten continue.
7647
7648 2005-11-17  Andy Wingo  <wingo@pobox.com>
7649
7650         * check/Makefile.am (check_PROGRAMS): 
7651         * check/net/gstnetclientclock.c: Add a most minimal test for the
7652         net client clock. More to come later.
7653
7654         * gst/net/gstnet.h: 
7655         * gst/net/Makefile.am: Add netclientclock.
7656
7657         * gst/net/gstnetclientclock.h:
7658         * gst/net/gstnetclientclock.c: New files, implement an untested
7659         GstClock that takes its time from a network time provider.
7660         Implements the algorithm in network-clock.scm.
7661
7662         * tests/network-clock.scm (*window-size*): Rename from
7663         *queue-length*.
7664         * tests/network-clock.scm (network-time): 
7665         * tests/network-clock-utils.scm (q-push): Update callers.
7666
7667 2005-11-17  Wim Taymans  <wim@fluendo.com>
7668
7669         * gst/gstbin.c: (gst_bin_provide_clock_func),
7670         (gst_bin_sort_iterator_new):
7671         And unref the child too..
7672
7673 2005-11-17  Wim Taymans  <wim@fluendo.com>
7674
7675         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7676         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7677         Refactor the sort iterator so it can be used while holding the
7678         LOCK too.
7679         Make clock selection select a clock closest to the source.
7680
7681 2005-11-17  Michael Smith <msmith@fluendo.com>
7682
7683         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7684         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7685         * gst/gstclock.h:
7686           Anonymous structs are a gcc (and some other compilers) extension, so
7687           don't use them. Since this is only for ABI-compatibility, and our
7688           API/ABI freeze is over in a few days, this whole thing will only
7689           last a few days, so don't bother trying to think up a meaningful
7690           name for the struct.
7691
7692 2005-11-17  Andy Wingo  <wingo@pobox.com>
7693
7694         * gst/gstclock.h (GstClock): Add rate and offset properties,
7695         preserving ABI stability. Add rate/offset accessors. Will file bug
7696         for the freeze break.
7697
7698         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7699         and offset, trying to keep precision and avoiding
7700         underflow/overflow.
7701         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7702         functions. Make gst_clock_set_time_adjust obsolete.
7703         (gst_clock_set_time_adjust): Note that this function is obsolete.
7704         Will file bug soon.
7705
7706         * gst/base/gstbasetransform.h: Make the ABI-stability hack
7707         greppable by using GST_PADDING-1+1.
7708
7709 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
7710
7711         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7712
7713         * gst/gstmessage.c: (gst_message_parse_clock_lost):
7714           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7715
7716         * gst/gstpadtemplate.h:
7717         * gst/gstpluginfeature.h:
7718           Don't use c++ style comments in headers (#321638).
7719
7720 2005-11-16  Andy Wingo  <wingo@pobox.com>
7721
7722         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7723         buffer.
7724
7725         * check/net/gstnettimeprovider.c: Check to see that the time
7726         provider actually provides times. Works, yo!
7727
7728 2005-11-16  Wim Taymans  <wim@fluendo.com>
7729
7730         * check/Makefile.am:
7731         Enable more tests.
7732
7733         * check/elements/fakesrc.c: (GST_START_TEST):
7734         Set element to NULL before disposing it.
7735
7736 2005-11-16  Andy Wingo  <wingo@pobox.com>
7737
7738         * gst/net/Makefile.am:
7739         * gst/net/gstnet.h:
7740         * gst/net/gstnettimeprovider.c: 
7741         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7742         provider, include it from gstnet.h, and add it to the build.
7743
7744         * gst/net/gstnettimepacket.h: 
7745         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7746         sending and receiving.
7747
7748 2005-11-16  Wim Taymans  <wim@fluendo.com>
7749
7750         * check/Makefile.am:
7751         Enable valgrind check.
7752
7753         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7754         (gst_fake_src_alloc_buffer):
7755         Fix memleak.
7756
7757 2005-11-16  Wim Taymans  <wim@fluendo.com>
7758
7759         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7760         Call parent finalize too.
7761
7762 2005-11-16  Wim Taymans  <wim@fluendo.com>
7763
7764         * check/Makefile.am:
7765         Enable valgrind check that should work fine now.
7766
7767         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7768         * gst/gstqueue.c: (gst_queue_init):
7769         Fix memleaks in pad allocation.
7770
7771 2005-11-16  Andy Wingo  <wingo@pobox.com>
7772
7773         * gst/net/Makefile.am:
7774         * gst/net/gstnet.h: New part of core to hold network elements and
7775         objects. Put in core because it exposes API that applications want
7776         to use. The library is named libgstnet-tempname right now because
7777         of the existing libgstnet in gst-plugins-base. Solution is
7778         probably to rename the one in plugins-base; will file a bug for
7779         the freeze break.
7780
7781         * gst/net/gstnettimeprovider.c: 
7782         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7783         get_time call over the network.
7784
7785         * configure.ac: 
7786         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7787
7788         * check/Makefile.am:
7789         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7790         get additions shortly.
7791
7792 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7793
7794         * gst/gstpad.c: (gst_pad_new_from_static_template):
7795         * gst/gstpad.h:
7796           add gst_pad_new_from_static_template functions
7797         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7798         (gst_check_setup_sink_pad):
7799         * gst/elements/gsttee.c: (gst_tee_init):
7800           and use them
7801
7802 2005-11-16  Wim Taymans  <wim@fluendo.com>
7803
7804         * gst/gstpad.c: (gst_pad_pause_task):
7805         Removed warning, it's not really an error either.
7806
7807 2005-11-16  Wim Taymans  <wim@fluendo.com>
7808
7809         * gst/base/gstbasetransform.c:
7810         (gst_base_transform_prepare_output_buf),
7811         (gst_base_transform_event):
7812         Check if the caps are NULL, this can happen if the element
7813         is shutting down and the pad caps are set to NULL.
7814
7815 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7816
7817         * gst/elements/gsttee.c: (gst_tee_init):
7818           fix pad template leak in tee
7819
7820 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7821
7822         * gst/glib-compat.c: (g_value_dup_gst_object):
7823         * gst/glib-compat.h:
7824         * gst/gstpad.c: (gst_pad_set_property):
7825           use gst_object_ref when setting the pad template; this will
7826           trigger the pad template leaks on GLib 2.6 and the slaves
7827
7828 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7829
7830         * gst/glib-compat.c: (gst_flags_get_first_value):
7831         * gst/glib-compat.h:
7832         * gst/gstregistryxml.c:
7833           remove functions copied from GLib 2.6
7834
7835 2005-11-16  Michael Smith <msmith@fluendo.com>
7836
7837         * gst/Makefile.am:
7838           Don't link against VALGRIND_LIBS. That was always the wrong thing to
7839           do, but only breaks with newer valgrind versions. We're not a
7840           valgrind tool, we have no link-time dependencies on libcoregrind.
7841
7842 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7843
7844         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7845           some debug changes
7846         * gst/gstmessage.h:
7847           typo fixes
7848
7849 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7850
7851         * gst/base/gstbasesrc.c: (gst_base_src_init):
7852         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7853         * gst/gstqueue.c: (gst_queue_init):
7854         * gst/gstregistryxml.c: (load_feature):
7855           Revert all these unrefs, they don't even pass make check !
7856
7857 2005-11-15  Johan Dahlin  <johan@gnome.org>
7858
7859         * gst/base/gstbasesrc.c: (gst_base_src_init):
7860         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7861         * gst/gstqueue.c: (gst_queue_init): 
7862         Free pad templates, fixes a couple of leaks.
7863
7864 2005-11-15  Daniel Fischer  <dan at f3c dot com>
7865
7866         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7867
7868         * gst/gstpad.c: (gst_pad_get_property):
7869           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7870           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7871           (#321452)
7872
7873 2005-11-15  Wim Taymans  <wim@fluendo.com>
7874
7875         * gst/gstevent.c:
7876         Small doc update.
7877
7878 2005-11-15  Andy Wingo  <wingo@pobox.com>
7879
7880         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7881
7882         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7883         using GST_CLOCK_TIME_NONE to disable base time management.
7884         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7885         time if it was NONE before.
7886         (gst_pipeline_change_state): Only munge the base time if
7887         stream_time != GST_CLOCK_TIME_NONE.
7888
7889         * check/gst/gstpipeline.c (test_base_time): Punt around the
7890         problem of the probe not being called, because that's not the
7891         issue I'm looking at. Add a check that setting stream_time to NONE
7892         disables base time management.
7893         
7894 2005-11-15  Wim Taymans  <wim@fluendo.com>
7895
7896         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7897         segment_stop == -1 at startup.
7898
7899         * gst/base/gstbasetransform.c: (gst_base_transform_event),
7900         (gst_base_transform_change_state):
7901         Init segment values at start.
7902
7903 2005-11-15  Wim Taymans  <wim@fluendo.com>
7904
7905         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7906         0 segment values are 0 in any format.
7907
7908         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7909         * gst/base/gstbasetransform.h:
7910         Parse newsegment correctly in basetransform
7911
7912         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7913         Sync to clock using updated segment values.
7914
7915 2005-11-15  Andy Wingo  <wingo@pobox.com>
7916
7917         * check/gst/gstpipeline.c (test_base_time): Add check that the
7918         base time and stream time are reset correctly.
7919
7920 2005-11-15  Wim Taymans  <wim@fluendo.com>
7921
7922         * docs/design/part-TODO.txt:
7923         Some more TODO items.
7924
7925 2005-11-15  Andy Wingo  <wingo@pobox.com>
7926
7927         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7928         error if the user selected "no clock" as the clocking method.
7929
7930         * check/gst/gstpipeline.c (test_base_time): New test for buffer
7931         timestamps with live capture.
7932
7933         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7934         is 0 but we are a live source, timestamp the buffers using the
7935         element's clock.
7936
7937 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
7938
7939         * docs/gst/gstreamer-sections.txt:
7940         * gst/gsterror.c:
7941         * gst/gstghostpad.c:
7942         * gst/gstobject.h:
7943         * gst/gstxml.c:
7944           more section docs
7945
7946 2005-11-14  Wim Taymans  <wim@fluendo.com>
7947
7948         * common/gst.supp:
7949           add suppressions from Wim's Debian machine
7950
7951 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7952
7953         * common/gst.supp:
7954           add suppressions from Andy's AMD64 Ubuntu machine
7955
7956 2005-11-14  Andy Wingo  <wingo@pobox.com>
7957
7958         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7959         STATE_LOCK not necessary. Fixes #311489.
7960
7961         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7962         #305291.
7963
7964         * gst/gstindex.c (gst_index_add_object): Note in the docs that
7965         this function is not implemented.
7966
7967 2005-11-14  Julien MOUTTE  <julien@moutte.net>
7968
7969         * gst/base/gstbasetransform.c:
7970         (gst_base_transform_prepare_output_buf):
7971         Ref the source pad caps while we need them.
7972         Fixes (#321386)
7973
7974 2005-11-11  Wim Taymans  <wim@fluendo.com>
7975
7976         * docs/gst/gstreamer-sections.txt:
7977         Added some docs for GstCollectData.
7978
7979         * gst/base/gstadapter.c:
7980         Some small code example fix.
7981
7982         * gst/base/gstcollectpads.c:
7983         * gst/base/gstcollectpads.h:
7984         Document some more.
7985
7986 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7987
7988         * configure.ac: back to HEAD
7989
7990 === release 0.9.5 ===
7991
7992 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
7993
7994         * configure.ac:
7995           releasing 0.9.5, "Bike Lunch Day"
7996
7997 2005-11-11  Wim Taymans  <wim@fluendo.com>
7998
7999         * gst/gstbuffer.c: (_gst_buffer_copy):
8000         Copy more flags.
8001
8002         * gst/gstcaps.c: (gst_caps_is_equal):
8003         Fix some docs.
8004         Make _is_equal fast in the trivial cases.
8005
8006         * gst/gstminiobject.c:
8007         * gst/gstminiobject.h:
8008         More docs. Spifify .h file.
8009
8010         * gst/gstutils.c:
8011         Small doc update.
8012
8013 2005-11-11  Wim Taymans  <wim@fluendo.com>
8014
8015         * gst/base/gstbasetransform.c:
8016         (gst_base_transform_prepare_output_buf),
8017         (gst_base_transform_handle_buffer):
8018         Small cleanups.
8019         If we're processing a buffer and need to allocate an output
8020         buffer, we cannot accept a format change. If we did get a 
8021         format change, we have to alloc a buffer ourselves of the 
8022         right size.
8023
8024 2005-11-11  Wim Taymans  <wim@fluendo.com>
8025
8026         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
8027         While checking the flag for reentrancy in the gstcaps function
8028         is nice to detect recursive invocations, it also makes it 
8029         impossible to call getcaps from multiple threads, which must be
8030         possible. So, checking for recursive calls has to go.
8031
8032 2005-11-11  Michael Smith <msmith@fluendo.com>
8033
8034         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8035           Don't sync on buffers that fall partially outside our current
8036           segment. Prevents an assertion failure/abort playing some files.
8037
8038 2005-11-10  Andy Wingo  <wingo@pobox.com>
8039
8040         * check/gst/gstbin.c (test_message_state_changed_children): Style
8041         fix..
8042
8043         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
8044         gst_bus_poll with the signal watch. Ensures that poll and a signal
8045         watch see the same messages.
8046
8047         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
8048         a poll and a watch at the same time get the same messages.
8049
8050 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8051
8052         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
8053         * gst/gstcaps.c: (gst_caps_intersect):
8054           Don't call gst_caps_do_simplify - it doesn't respect order of caps
8055           and it's not needed.
8056
8057 2005-11-10  Wim Taymans  <wim@fluendo.com>
8058
8059         * docs/design/part-TODO.txt:
8060         Updated todo.
8061
8062 2005-11-10  Wim Taymans  <wim@fluendo.com>
8063
8064         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8065         * gst/base/gstbasesrc.c: (gst_base_src_wait),
8066         (gst_base_src_do_sync), (gst_base_src_get_range):
8067         Implement clock sync in base class.
8068
8069 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8070
8071         patch by: Tim-Philipp Müller <tim at centricular dot net>
8072
8073         * gst/gststructure.c: (gst_structure_parse_field),
8074         (gst_structure_from_string):
8075           Forward-port a 0.8 patch to handle escaped spaces in structure string,
8076           so that gst_parse_launch() can deal with spaces in filtered link
8077           caps (fixes #164479)
8078         * check/gst/capslist.h:
8079         * check/gst/gststructure.c: (GST_START_TEST):
8080           add unit tests for this change
8081
8082 2005-11-10  Wim Taymans  <wim@fluendo.com>
8083
8084         * docs/gst/gstreamer-sections.txt:
8085         * gst/gstelement.c:
8086         * gst/gstelement.h:
8087         Fix docs, move some STATE macros to private.
8088
8089 2005-11-10  Wim Taymans  <wim@fluendo.com>
8090
8091         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8092         Added check for bug #317341
8093
8094         * gst/gstbuffer.c:
8095         * gst/gstbuffer.h:
8096         Some more spiffifying.
8097
8098         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
8099         Call peer linkfunction if we are a source pad. Totally fixes
8100         #317341
8101
8102         * gst/gstpad.c:
8103         Update docs, source pads should call the peer linkfunction
8104         so they can atomically perform the pad link.
8105
8106 2005-11-09  Wim Taymans  <wim@fluendo.com>
8107
8108         * gst/gstbuffer.c:
8109         * gst/gstbuffer.h:
8110         Uber-spiffy-spiffify some more.
8111
8112 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
8113
8114         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
8115         * gst/elements/gstfilesink.c: (gst_file_sink_init):
8116         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8117         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
8118         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
8119         * gst/gstpad.c: (gst_pad_init):
8120           Use GST_DEBUG_FUNCPTR() more extensively.
8121
8122 2005-11-09  Wim Taymans  <wim@fluendo.com>
8123
8124         * gst/gstobject.c: (gst_object_class_init):
8125         * gst/gstobject.h:
8126         Documentation fixes.
8127
8128 2005-11-09  Edward Hervey  <edward@fluendo.com>
8129
8130         * gst/gsttypefindfactory.c:
8131         Fix docs.
8132         
8133 2005-11-09  Edward Hervey  <edward@fluendo.com>
8134
8135         * gst/base/gsttypefindhelper.c:
8136         * gst/gsttypefind.c:
8137         * gst/gsttypefind.h:
8138         Fix docs.
8139
8140 2005-11-09  Wim Taymans  <wim@fluendo.com>
8141
8142         * gst/gstiterator.c:
8143         Fix revision data.
8144
8145         * gst/gsttask.c:
8146         * gst/gsttask.h:
8147         Fix docs.
8148
8149 2005-11-09  Wim Taymans  <wim@fluendo.com>
8150
8151         * gst/gstevent.h:
8152         * gst/gsturi.h:
8153         Fix docs.
8154
8155 2005-11-09  Wim Taymans  <wim@fluendo.com>
8156
8157         * docs/gst/gstreamer-sections.txt:
8158         Moved the message async delivery private lock and cond
8159         to the private section.
8160
8161         * gst/gstmessage.c:
8162         * gst/gstmessage.h:
8163         Fixed docs.
8164
8165 2005-11-09  Edward Hervey  <edward@fluendo.com>
8166
8167         * docs/gst/gstreamer-sections.txt:
8168         * gst/gsturi.c:
8169         * gst/gsturi.h:
8170         Document GstURIHandler
8171
8172 2005-11-09  Wim Taymans  <wim@fluendo.com>
8173
8174         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
8175         (gst_iterator_find_custom):
8176         * gst/gstiterator.h:
8177         Fix iterator docs.
8178
8179 2005-11-09  Wim Taymans  <wim@fluendo.com>
8180
8181         * gst/gstbin.h:
8182         Document another field.
8183
8184         * gst/gststructure.c:
8185         * gst/gststructure.h:
8186         Document.
8187
8188 2005-11-09  Wim Taymans  <wim@fluendo.com>
8189
8190         * gst/gstbin.h:
8191         Documented structs.
8192
8193 2005-11-09  Wim Taymans  <wim@fluendo.com>
8194
8195         * docs/gst/gstreamer-sections.txt:
8196         Added some new macros.
8197
8198         * gst/gstclock.c:
8199         * gst/gstclock.h:
8200         * gst/gstobject.h:
8201         Docs updates.
8202
8203 2005-11-09  Wim Taymans  <wim@fluendo.com>
8204
8205         * docs/design/part-TODO.txt:
8206         Some more items for the TODO
8207
8208         * gst/gstcaps.c:
8209         * gst/gstcaps.h:
8210         Document GstCaps.
8211
8212 2005-11-09  Andy Wingo  <wingo@pobox.com>
8213
8214         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
8215         to work on something else now tho...
8216
8217         * gst/base/gstadapter.c: More adapter docs.
8218
8219         * gst/elements/gstfilesink.c (gst_file_sink_start) 
8220         (gst_file_sink_stop): New functions, replace the state change
8221         handler.
8222         (gst_file_sink_class_init): Hook up the start and stop functions.
8223         (gst_file_sink_base_init): Don't set the state change handler any
8224         more. It was a bit ugly too, being set from here...
8225         (gst_file_sink_get_property, gst_file_sink_set_property):
8226         Cleanups...
8227         (gst_file_sink_set_location): More robust check that doesn't call
8228         GST_STATE. Ugggggg.
8229
8230 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
8231
8232         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8233           Hold STREAM_LOCK while pushing newsegment or tag events as well.
8234
8235 2005-11-08  Wim Taymans  <wim@fluendo.com>
8236
8237         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8238         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8239         (gst_base_sink_chain), (gst_base_sink_change_state):
8240         * gst/base/gstbasesink.h:
8241         * gst/base/gstbasesrc.h:
8242         * gst/gstelement.h:
8243         * gst/gstevent.h:
8244         Avoid excessive typechecking in macros.
8245
8246         * gst/gstminiobject.c: (gst_mini_object_get_type),
8247         (gst_mini_object_init), (gst_mini_object_new),
8248         (gst_mini_object_free):
8249         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8250         (gst_object_finalize):
8251         Remove cruft code, optimize alloc_trace.
8252
8253 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8254
8255         * docs/faq/gst-uninstalled:
8256           fix up PS1 for systems that try to reset it
8257
8258 2005-11-07  Wim Taymans  <wim@fluendo.com>
8259
8260         * gst/base/gstbasesrc.c: (gst_base_src_init),
8261         (gst_base_src_get_range):
8262         Set the segment_end to -1 initially. Fixed typefind.
8263
8264 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8265
8266         * gst/base/gstadapter.c:
8267           Debug category should be 'adapter', not 'GstAdapter'.
8268           
8269         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
8270         (gst_collectpads_class_init), (gst_collectpads_init),
8271         (gst_collectpads_peek), (gst_collectpads_pop),
8272         (gst_collectpads_event), (gst_collectpads_chain):
8273           Add debug category and some debugging output. Use boilerplate
8274           macros. Remove some extraneous words from docs.
8275
8276 2005-11-05  Andy Wingo  <wingo@pobox.com>
8277
8278         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
8279         macro.
8280
8281 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
8282
8283         * docs/gst/gstreamer-sections.txt:
8284         * gst/gstcaps.h:
8285         * gst/gstinfo.c:
8286         * gst/gstminiobject.h:
8287         * gst/gstobject.h:
8288         * gst/gstutils.h:
8289           more docs added
8290
8291 2005-11-04  Wim Taymans  <wim@fluendo.com>
8292
8293         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8294         Small update to stop at the configured segment_end
8295         position.
8296
8297 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
8298
8299         * gst/gstregistry.c:
8300         * gst/gstregistry.h:
8301           added missing docs
8302
8303 2005-11-04  Edward Hervey  <edward@fluendo.com>
8304
8305         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8306         Check if we are doing a segment seek and have arrived at the
8307         end of that segment.
8308
8309 2005-11-04  Wim Taymans  <wim@fluendo.com>
8310
8311         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
8312         Don't leak a mutex unlock in case of an error.
8313
8314         * gst/gstbus.h:
8315         Doc fixes.
8316
8317 2005-11-04  Wim Taymans  <wim@fluendo.com>
8318
8319         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
8320         (gst_bus_post):
8321         Get the context to wake up only once.
8322
8323 2005-11-03  Wim Taymans  <wim@fluendo.com>
8324
8325         * check/states/sinks.c: (GST_START_TEST):
8326         Uncomment fixed check.
8327
8328         * docs/design/part-TODO.txt:
8329         Updated TODO.
8330
8331         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8332         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8333         (gst_base_sink_get_position):
8334         If we are going to PLAYING, post the right pending state
8335         when we post the intermediate paused message.
8336
8337         * gst/gstelement.c: (gst_element_continue_state),
8338         (gst_element_set_state_func), (gst_element_change_state):
8339         Don't post state changes that were between the same state
8340         and were not ASYNC.
8341
8342 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
8343
8344         * docs/gst/gstreamer-sections.txt:
8345         * gst/gstcaps.h:
8346         * gst/gstinfo.c:
8347         * gst/gstminiobject.h:
8348         * gst/gstobject.h:
8349         * gst/gstutils.h:
8350           more docs and doc style fixes
8351
8352 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
8353
8354         * docs/gst/gstreamer-sections.txt:
8355         * gst/gstelement.c:
8356         * gst/gstminiobject.c:
8357         doc fixes
8358
8359 2005-11-03  Andy Wingo  <wingo@pobox.com>
8360
8361         * check/states/sinks.c (test_livesrc_sink): Add checks that the
8362         state-changed messages actually have the right order and the right
8363         values.
8364
8365 2005-11-03  Wim Taymans  <wim@fluendo.com>
8366
8367         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8368         Added some more checks. Specifically the case where NO_PREROLL
8369         elements are in the pipeline.
8370
8371         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8372         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8373         (gst_base_sink_get_position):
8374         Post READY->PAUSED state change messages too.
8375         Fix bug where VOID was posted as pending state...
8376
8377         * gst/gstbin.c: (gst_bin_recalc_state):
8378         use _element_continue_state() to continue the state change.
8379
8380         * gst/gstelement.c: (gst_element_continue_state),
8381         (gst_element_commit_state), (gst_element_set_state_func),
8382         (gst_element_change_state), (gst_element_change_state_func):
8383         Lots of state change cleanups, assign the STATE_RETURN in
8384         a new continue_state() function that also propagates the
8385         last return value from a state change to the app.
8386         Update some debug statements with proper category.
8387
8388 2005-11-03  Wim Taymans  <wim@fluendo.com>
8389
8390         * docs/design/part-events.txt:
8391         * docs/design/part-gstpipeline.txt:
8392         * docs/design/part-messages.txt:
8393         * docs/design/part-overview.txt:
8394         * docs/design/part-seeking.txt:
8395         * docs/design/part-states.txt:
8396         * docs/design/part-trickmodes.txt:
8397         * docs/manual/advanced-position.xml:
8398         Small docs updates.
8399
8400         * gst/gstobject.h:
8401         People think !! is ugly, this looks better.
8402
8403         * gst/gstpad.c: (gst_pad_set_blocked_async):
8404         Remove !! since it's fixed elsewhere now.
8405
8406 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * gst/gstminiobject.h:
8409         * gst/gstobject.h:
8410           Add !! to _FLAG_IS_SET macros to make the result boolean.
8411
8412 2005-11-03  Edward Hervey  <edward@fluendo.com>
8413
8414         * gst/gstpad.c: (gst_pad_set_blocked_async):
8415         comparing a flag and a gboolean rarely returns coherent results...
8416         Added two characters (!!) to make that work correctly.
8417         
8418 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8419
8420         * gst/gstbus.c: (gst_bus_class_init):
8421           Fix some typos.
8422           
8423         * gst/gstqueue.c: (gst_queue_loop):
8424           Don't assume a miniobject that isn't a buffer is an
8425           event (it could be that there is a refcounting
8426           problem somewhere and the pointer is stale and
8427           refers to an already destroyed miniobject).
8428
8429 2005-11-03  Julien MOUTTE  <julien@moutte.net>
8430
8431         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
8432
8433 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         * docs/manual/advanced-position.xml:
8436           Update seek example and explanations to current 0.9 API.
8437
8438         * gst/elements/gsttypefindelement.c:
8439         (gst_type_find_element_activate):
8440           Remove FIXME comment now that the found caps
8441           are unreffed.
8442
8443 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8444
8445         * gst/gstregistryxml.c: (load_feature):
8446           Add another GST_STR_NULL instance
8447
8448 2005-11-02  Edward Hervey  <edward@fluendo.com>
8449
8450         * gst/gstpad.c: (handle_pad_block):
8451         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8452         
8453 2005-11-02  Wim Taymans  <wim@fluendo.com>
8454
8455         * gst/gstbin.c:
8456         Fix typo in docs.
8457
8458         * gst/gstelement.c: (gst_element_commit_state):
8459         Remove unused value.
8460
8461         * gst/gstiterator.c:
8462         Mention that the returned element is reffed in the docs.
8463
8464 2005-11-02  Wim Taymans  <wim@fluendo.com>
8465
8466         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8467         (gst_pad_push), (gst_pad_push_event):
8468         Unlock blocked pads when they are flushed.
8469
8470 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8471
8472         * docs/README:
8473         * docs/gst/gstreamer-sections.txt:
8474         * gst/gstbin.c:
8475           doc updates
8476         * gst/gstregistry.c: (gst_registry_scan_path_level):
8477           fix for a nasty little missed situation where an installed plug-in
8478           which was in the cache did not get overridden by an uninstalled one
8479           which was earlier in the plugin path because the newly created plugin
8480           for the uninstalled one (not in the registry) didn't get its
8481           ->registered set to TRUE
8482
8483 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8484
8485         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8486         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8487         (gst_collectpads_is_active), (gst_collectpads_collect),
8488         (gst_collectpads_collect_range), (gst_collectpads_start),
8489         (gst_collectpads_stop), (gst_collectpads_peek),
8490         (gst_collectpads_pop), (gst_collectpads_available),
8491         (gst_collectpads_read), (gst_collectpads_flush):
8492           Guard public API with assertions.
8493         
8494         * gst/gstpad.c:
8495           Fix docs for gst_pad_set_link_function().
8496
8497 2005-11-02  Johan Dahlin  <johan@gnome.org>
8498
8499         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
8500         Unref found_caps after we used it.
8501
8502 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8503
8504         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8505           Don't try to ref NULL.
8506
8507 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8508
8509         * win32/common/config.h.in:
8510           provide a GST_FUNCTION that just gives a string for now
8511
8512 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8513
8514         * win32/common/gstenumtypes.c: (register_gst_object_flags),
8515         (gst_object_flags_get_type), (register_gst_bin_flags),
8516         (gst_bin_flags_get_type), (register_gst_buffer_flag),
8517         (gst_buffer_flag_get_type), (register_gst_bus_flags),
8518         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8519         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8520         (gst_clock_return_get_type), (register_gst_clock_entry_type),
8521         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8522         (gst_clock_flags_get_type), (register_gst_state),
8523         (gst_state_get_type), (register_gst_state_change_return),
8524         (gst_state_change_return_get_type), (register_gst_state_change),
8525         (gst_state_change_get_type), (register_gst_element_flags),
8526         (gst_element_flags_get_type), (register_gst_core_error),
8527         (gst_core_error_get_type), (register_gst_library_error),
8528         (gst_library_error_get_type), (register_gst_resource_error),
8529         (gst_resource_error_get_type), (register_gst_stream_error),
8530         (gst_stream_error_get_type), (register_gst_event_type),
8531         (gst_event_type_get_type), (register_gst_seek_type),
8532         (gst_seek_type_get_type), (register_gst_seek_flags),
8533         (gst_seek_flags_get_type), (register_gst_format),
8534         (gst_format_get_type), (register_gst_index_certainty),
8535         (gst_index_certainty_get_type), (register_gst_index_entry_type),
8536         (gst_index_entry_type_get_type),
8537         (register_gst_index_lookup_method),
8538         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8539         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8540         (gst_index_resolver_method_get_type), (register_gst_index_flags),
8541         (gst_index_flags_get_type), (register_gst_debug_level),
8542         (gst_debug_level_get_type), (register_gst_debug_color_flags),
8543         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8544         (gst_iterator_result_get_type), (register_gst_iterator_item),
8545         (gst_iterator_item_get_type), (register_gst_message_type),
8546         (gst_message_type_get_type), (register_gst_mini_object_flags),
8547         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8548         (gst_pad_link_return_get_type), (register_gst_flow_return),
8549         (gst_flow_return_get_type), (register_gst_activate_mode),
8550         (gst_activate_mode_get_type), (register_gst_pad_direction),
8551         (gst_pad_direction_get_type), (register_gst_pad_flags),
8552         (gst_pad_flags_get_type), (register_gst_pad_presence),
8553         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8554         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8555         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8556         (gst_plugin_error_get_type), (register_gst_plugin_flags),
8557         (gst_plugin_flags_get_type), (register_gst_rank),
8558         (gst_rank_get_type), (register_gst_query_type),
8559         (gst_query_type_get_type), (register_gst_tag_merge_mode),
8560         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8561         (gst_tag_flag_get_type), (register_gst_task_state),
8562         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8563         (gst_alloc_trace_flags_get_type),
8564         (register_gst_type_find_probability),
8565         (gst_type_find_probability_get_type), (register_gst_uri_type),
8566         (gst_uri_type_get_type), (register_gst_parse_error),
8567         (gst_parse_error_get_type):
8568         * win32/common/gstversion.h:
8569           update win32 copies
8570
8571 2005-11-01  Luca Ognibene  <luogni@tin.it>
8572
8573         * gst/gst.c:
8574           fix docs. popt is dead, long live GOption.
8575
8576 2005-10-31  Wim Taymans  <wim@fluendo.com>
8577
8578         * gst/gstbuffer.h:
8579         Small doc fix.
8580
8581 2005-10-31  Andy Wingo  <wingo@pobox.com>
8582
8583         * Boo!
8584
8585         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8586
8587         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8588         need to serialize property notifications on GLib 2.8. GLib 2.6 has
8589         the possibility of deadlocks here if code calling notify() or
8590         set() has a lock that can be taken in another notify handler (ABBA
8591         with class lock and e.g. python GIL state lock).
8592
8593 2005-10-28  Julien MOUTTE  <julien@moutte.net>
8594
8595         * gst/gstbus.c: Doc updates.
8596
8597 2005-10-28  Wim Taymans  <wim@fluendo.com>
8598
8599         * docs/design/part-TODO.txt:
8600         * gst/gstiterator.c:
8601         * gst/gstsystemclock.c:
8602         * gst/gstsystemclock.h:
8603         Doc updates.
8604
8605 2005-10-28  Edward Hervey  <edward@fluendo.com>
8606
8607         * docs/gst/gstreamer-docs.sgml:
8608         * docs/gst/gstreamer-sections.txt:
8609         the GstURIType documentation page is private, it only defines GstURIType
8610         which should be defined in the GstURIHandler page
8611         
8612 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8613
8614         * gst/gstbin.c: (gst_bin_class_init):
8615         * gst/gstbin.h:
8616         * gst/gstutils.c:
8617         Documentation updates.
8618
8619 2005-10-28  Wim Taymans  <wim@fluendo.com>
8620
8621         * docs/gst/gstreamer-sections.txt:
8622         * gst/gstclock.c:
8623         * gst/gstclock.h:
8624         Documented the clocks.
8625
8626 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
8627
8628         * docs/gst/gstreamer-sections.txt:
8629           move some macros to private sections
8630         * gst/gstminiobject.c:
8631         * gst/gstminiobject.h:
8632           add descriptions provided by ds and some more
8633         * gst/gstpad.h:
8634           mark macro as to be removed
8635
8636 2005-10-28  Wim Taymans  <wim@fluendo.com>
8637
8638         * docs/design/part-TODO.txt:
8639         Add an item to TODO.
8640
8641         * gst/gstiterator.c: (gst_iterator_fold),
8642         (gst_iterator_find_custom):
8643         * gst/gstiterator.h:
8644         Add iterator docs.
8645
8646 2005-10-28  Wim Taymans  <wim@fluendo.com>
8647
8648         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8649         (gst_base_transform_init):
8650         Don't leak class.
8651
8652         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8653         An EOS event marks the queue as completely filled.
8654
8655 2005-10-27  Wim Taymans  <wim@fluendo.com>
8656
8657         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8658         (gst_base_sink_do_sync), (gst_base_sink_get_position):
8659         Some more debugging.
8660
8661         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8662         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8663         (gst_base_transform_event), (gst_base_transform_getrange),
8664         (gst_base_transform_chain):
8665         * gst/base/gstbasetransform.h:
8666         Fix debugging,
8667         Protect transform and concurrent buffer alloc with a new lock.
8668         Try not to break ABI/API.
8669
8670 2005-10-27  Wim Taymans  <wim@fluendo.com>
8671
8672         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8673         (gst_base_src_init), (gst_base_src_query),
8674         (gst_base_src_default_newsegment),
8675         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8676         (gst_base_src_send_event), (gst_base_src_event_handler),
8677         (gst_base_src_pad_get_range), (gst_base_src_loop),
8678         (gst_base_src_unlock), (gst_base_src_default_negotiate),
8679         (gst_base_src_start), (gst_base_src_deactivate),
8680         (gst_base_src_activate_push), (gst_base_src_change_state):
8681         Move some stuff around and cleanup things.
8682
8683 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
8684
8685         * gst/base/gstbasesrc.c: (gst_base_src_query):
8686           Add missing break statements.
8687
8688 2005-10-27  Wim Taymans  <wim@fluendo.com>
8689
8690         * check/gst/gstbin.c: (GST_START_TEST):
8691         An extra refcount is taken in basesrc.
8692
8693         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8694         (gst_base_src_get_range), (gst_base_src_pad_get_range),
8695         (gst_base_src_loop):
8696         Small cleanups, check for flushing after being unlocked from the 
8697         LIVE_LOCK. take refcounts correctly (not yet everywhere).
8698         Don't send out EOS when going to READY.
8699
8700 2005-10-27  Wim Taymans  <wim@fluendo.com>
8701
8702         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8703         (gst_base_sink_get_position):
8704         Some more debug.
8705
8706         * gst/gstbin.c: (message_check), (bin_replace_message),
8707         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8708         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8709         (bin_query_duration_init), (bin_query_duration_fold),
8710         (bin_query_duration_done), (bin_query_generic_fold),
8711         (gst_bin_query):
8712         * tools/gst-launch.c: (main):
8713         Remove old option.
8714
8715 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
8716
8717         * examples/controller/audio-example.c: (main):
8718         * examples/queue/queue.c: (event_loop):
8719         * gst/base/gstbasetransform.h:
8720         * gst/gstelement.c: (gst_element_send_event):
8721         * gst/gstevent.h:
8722         * gst/gstpad.c: (gst_pad_send_event):
8723           fixing examples
8724           fixing docs typos
8725           changing log priority in error situations
8726
8727 2005-10-25  Wim Taymans  <wim@fluendo.com>
8728
8729         * gst/gstbin.c: (message_check), (bin_replace_message),
8730         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8731         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8732         (bin_query_duration_init), (bin_query_duration_fold),
8733         (bin_query_duration_done), (bin_query_generic_fold),
8734         (gst_bin_query):
8735         Some doc and debug updates.
8736         Cache previously requested query DURATION for speed. invalidate
8737         cached duration if element posts a DURATION message.
8738
8739 2005-10-25  Wim Taymans  <wim@fluendo.com>
8740
8741         * docs/design/part-TODO.txt:
8742         Update TODO.
8743
8744         * gst/gstbin.c: (message_check), (bin_replace_message),
8745         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8746         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8747         (bin_query_duration_init), (bin_query_duration_fold),
8748         (bin_query_duration_done), (bin_query_generic_fold),
8749         (gst_bin_query):
8750         Handle SEGMENT_START/DONE messages correctly.
8751         More evolved query algorithm that handles duration queries
8752         correctly.
8753
8754         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8755         (gst_element_get_state_func), (gst_element_abort_state),
8756         (gst_element_commit_state), (gst_element_lost_state):
8757         Some more debugging.
8758
8759         * gst/gstmessage.h:
8760         Added doc.
8761
8762 2005-10-25  Wim Taymans  <wim@fluendo.com>
8763
8764         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8765         Don't use invalid stream_time.
8766
8767         * gst/gstevent.c: (gst_event_new_newsegment):
8768         stream_time in newsegment cannot be undefined.
8769
8770 2005-10-24  Wim Taymans  <wim@fluendo.com>
8771
8772         * gst/gstbus.c:
8773         Doc fix.
8774
8775         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8776         (gst_queue_loop):
8777         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8778
8779 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
8780
8781         * docs/libs/tmpl/gstdparam.sgml:
8782         * docs/libs/tmpl/gstdplinint.sgml:
8783         * docs/libs/tmpl/gstdpman.sgml:
8784         * docs/libs/tmpl/gstdpsmooth.sgml:
8785         * docs/libs/tmpl/gstunitconvert.sgml:
8786           these are obsolete
8787
8788 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8789
8790         * configure.ac:
8791           back to HEAD
8792
8793 === release 0.9.4 ===
8794
8795 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8796
8797         * configure.ac:
8798           releasing 0.9.4, "Tyrannosaurus Rex"
8799
8800 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
8801
8802         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8803         (gst_file_sink_get_current_offset):
8804           Use fseeko() and ftello() if available. When falling back on
8805           lseek() to get the current offset, fflush() first to make sure
8806           everything is up-to-date and we get the right offset.
8807
8808 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8809
8810         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8811         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8812         * gst/gsterror.c: (_gst_stream_errors_init):
8813         * gst/gsterror.h:
8814         * gst/gstqueue.c: (gst_queue_loop):
8815         * po/POTFILES.in:
8816           remove prematurely added error category and clean up the instances
8817
8818 2005-10-21  Wim Taymans  <wim@fluendo.com>
8819
8820         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8821         (gst_base_sink_get_position), (gst_base_sink_query),
8822         (gst_base_sink_change_state):
8823         Simply set the right flag when going to playing, that's all
8824         we need to do instead of calling a function inside the object
8825         lock (that could take the lock as well and deadlock)
8826
8827 2005-10-21  Wim Taymans  <wim@fluendo.com>
8828
8829         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8830         (gst_base_src_loop):
8831         Don't warn, the peer element knows what to do best when
8832         the seek failed, it might try something else.
8833
8834 2005-10-21  Wim Taymans  <wim@fluendo.com>
8835
8836         * gst/base/gstbasesrc.c: (gst_base_src_init),
8837         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8838         Fix seeking.
8839
8840 2005-10-21  Wim Taymans  <wim@fluendo.com>
8841
8842         * docs/design/part-segments.txt:
8843         More docs.
8844
8845         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8846         Correctly set caps, even on the subbufer.
8847
8848 2005-10-21  Wim Taymans  <wim@fluendo.com>
8849
8850         * docs/gst/gstreamer-docs.sgml:
8851         * docs/gst/gstreamer-sections.txt:
8852         * gst/gstelement.h:
8853         * gst/gstevent.c:
8854         * gst/gstevent.h:
8855         * gst/gstmessage.h:
8856         * gst/gstpad.h:
8857         * gst/gstparse.h:
8858         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8859         * gst/gsttask.h:
8860         * gst/gstutils.c:
8861         * gst/gstutils.h:
8862         And 2% more doc coverage.
8863
8864 2005-10-21  Andy Wingo  <wingo@pobox.com>
8865
8866         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8867         position reporting.
8868
8869 2005-10-20  Wim Taymans  <wim@fluendo.com>
8870
8871         * gst/gsterror.c: (gst_error_get_message):
8872         * gst/gstparse.h:
8873         * gst/gstquery.h:
8874         * gst/gststructure.c:
8875         * gst/gsttrace.c:
8876         * gst/gstutils.c:
8877         More docs.
8878
8879 2005-10-20  Wim Taymans  <wim@fluendo.com>
8880
8881         * gst/gstbuffer.h:
8882         * gst/gstpad.c:
8883         * gst/gstparse.c:
8884         Another 1% more coverage.
8885
8886 2005-10-20  Wim Taymans  <wim@fluendo.com>
8887
8888         * docs/gst/gstreamer-sections.txt:
8889         * gst/gstelement.c: (gst_element_get_state_func),
8890         (gst_element_abort_state), (gst_element_commit_state),
8891         (gst_element_lost_state):
8892         * gst/gstevent.h:
8893         * gst/gstquery.c: (gst_query_set_position),
8894         (gst_query_parse_position), (gst_query_set_duration),
8895         (gst_query_parse_duration), (gst_query_new_convert):
8896         * gst/gstutils.c:
8897         Yay! 1% more docs coverage.
8898
8899 2005-10-20  Wim Taymans  <wim@fluendo.com>
8900
8901         * gst/gstpad.h:
8902         * gst/gstquery.c: (gst_query_set_position),
8903         (gst_query_parse_position), (gst_query_set_duration),
8904         (gst_query_parse_duration), (gst_query_new_convert):
8905         * gst/gstquery.h:
8906         * gst/gstutils.c: (gst_element_query_convert):
8907         * gst/gstutils.h:
8908         Docs and consistency fixes.
8909
8910 2005-10-20  Wim Taymans  <wim@fluendo.com>
8911
8912         * gst/gsttask.c:
8913         * gst/gsttask.h:
8914         More docs.
8915
8916 2005-10-20  Wim Taymans  <wim@fluendo.com>
8917
8918         * gst/gstbin.c: (message_check), (bin_replace_message),
8919         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8920         (update_degree), (gst_bin_sort_iterator_next),
8921         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8922         Reworked the message handling a bit, cache the messages instead of
8923         only the senders. alows us to do more in the future.
8924
8925 2005-10-20  Wim Taymans  <wim@fluendo.com>
8926
8927         * docs/design/part-TODO.txt:
8928         Update TODO
8929
8930         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8931         (gst_base_sink_query):
8932         Don't use clock time to report position when in EOS.
8933
8934 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
8935
8936         * tools/gst-inspect.c: (print_interfaces),
8937         (print_element_properties_info), (print_element_info):
8938           Fix interface output with gst-inspect -a; don't print
8939           newlines after double/float properties.
8940
8941 2005-10-20  Wim Taymans  <wim@fluendo.com>
8942
8943         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8944         (gst_base_sink_query):
8945         Speed up current position calculation.
8946
8947         * gst/base/gstbasesrc.c: (gst_base_src_query),
8948         (gst_base_src_default_newsegment):
8949         Correctly set stream position in newsegment.
8950
8951         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8952         (update_degree), (gst_bin_sort_iterator_next),
8953         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8954         * gst/gstmessage.c: (gst_message_new_custom):
8955         Clean up debugging info
8956
8957         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8958         (gst_queue_loop), (gst_queue_handle_src_query):
8959         Pause task faster.
8960
8961 2005-10-19  Wim Taymans  <wim@fluendo.com>
8962
8963         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8964         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8965         Fix query handling again.
8966
8967 2005-10-19  Wim Taymans  <wim@fluendo.com>
8968
8969         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8970         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8971         * gst/base/gstbasesrc.c: (gst_base_src_query):
8972         * gst/elements/gstfilesink.c: (gst_file_sink_query):
8973         * gst/elements/gsttypefindelement.c:
8974         (gst_type_find_handle_src_query), (find_element_get_length),
8975         (gst_type_find_element_activate):
8976         API change fix.
8977
8978         * gst/gstquery.c: (gst_query_new_position),
8979         (gst_query_set_position), (gst_query_parse_position),
8980         (gst_query_new_duration), (gst_query_set_duration),
8981         (gst_query_parse_duration), (gst_query_set_segment),
8982         (gst_query_parse_segment):
8983         * gst/gstquery.h:
8984         Bundling query position/duration is not a good idea since duration
8985         does not change much and we don't want to recalculate it for every
8986         position query, so they are separated again..
8987         Base value in segment query is not needed.
8988
8989         * gst/gstqueue.c: (gst_queue_handle_src_query):
8990         * gst/gstutils.c: (gst_element_query_position),
8991         (gst_element_query_duration), (gst_pad_query_position),
8992         (gst_pad_query_duration):
8993         * gst/gstutils.h:
8994         Updates for query API change.
8995         Added some docs here and there.
8996
8997 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8998
8999         * check/gst/gstbin.c: (GST_START_TEST):
9000         * check/gst/gstghostpad.c: (GST_START_TEST):
9001         * check/pipelines/cleanup.c: (GST_START_TEST):
9002           wait on thread to die so we can check refcount correctly
9003
9004 2005-10-18  Wim Taymans  <wim@fluendo.com>
9005
9006         * check/pipelines/stress.c: (GST_START_TEST):
9007         Make check a little more time consuming.
9008
9009 2005-10-18  Wim Taymans  <wim@fluendo.com>
9010
9011         * check/Makefile.am:
9012         * check/pipelines/stress.c: (GST_START_TEST),
9013         (simple_launch_lines_suite), (main):
9014         Small state change torture test.
9015
9016         * docs/design/part-states.txt:
9017         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9018         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
9019         (gst_base_sink_change_state):
9020         Never take state lock from streaming thread, clean up ugly
9021         hacks. Unfortunatly core does not yet support nice ways to
9022         async commit state.
9023         
9024         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
9025         (bin_bus_handler):
9026         Start state recalc if a STATE_DIRTY message is posted, but only
9027         on the toplevel bin.
9028
9029         * gst/gstelement.c: (gst_element_sync_state_with_parent),
9030         (gst_element_get_state_func), (gst_element_abort_state),
9031         (gst_element_commit_state), (gst_element_lost_state),
9032         (gst_element_set_state_func), (gst_element_change_state):
9033         * gst/gstelement.h:
9034         State variables are now protected with the LOCK, the state
9035         lock is only used to serialize _set_state().
9036
9037 2005-10-18  Wim Taymans  <wim@fluendo.com>
9038
9039         * check/gst/gstbin.c: (GST_START_TEST):
9040         * check/gst/gstmessage.c: (GST_START_TEST):
9041         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9042         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
9043         (bin_bus_handler):
9044         * gst/gstelement.c: (gst_element_abort_state),
9045         (gst_element_commit_state), (gst_element_lost_state):
9046         * gst/gstmessage.c: (gst_message_new_state_changed),
9047         (gst_message_new_state_dirty), (gst_message_new_segment_start),
9048         (gst_message_new_segment_done), (gst_message_new_duration),
9049         (gst_message_parse_state_changed),
9050         (gst_message_parse_segment_start),
9051         (gst_message_parse_segment_done), (gst_message_parse_duration):
9052         * gst/gstmessage.h:
9053         * tools/gst-launch.c: (event_loop):
9054         Seriously, this is better than a previous commit as we only need
9055         to notify the fact that an element changed state in a streaming
9056         thread, marking the state of the parents dirty, hence the 
9057         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
9058         message.
9059
9060 2005-10-18  Wim Taymans  <wim@fluendo.com>
9061
9062         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
9063         (gst_bin_recalc_func):
9064         * gst/gstelement.c: (gst_element_set_clock),
9065         (gst_element_abort_state), (gst_element_lost_state):
9066         Cleanups, prepare for state change fixes.
9067
9068 2005-10-18  Wim Taymans  <wim@fluendo.com>
9069
9070         * gst/gstbin.h:
9071         * gst/gstelement.c: (gst_element_class_init),
9072         (gst_element_set_state), (gst_element_set_state_func):
9073         * gst/gstelement.h:
9074         Pending ABI changes.
9075         GThreadPool in GstBinClass to monitor async state changes.
9076         state_cookie in GstElement to detect concurrent gst/set state.
9077         set_state is now virtual too in case a very complicated element
9078         has to be constructed.
9079
9080 2005-10-18  Wim Taymans  <wim@fluendo.com>
9081
9082         * check/gst/gstbin.c: (GST_START_TEST):
9083         * check/gst/gstmessage.c: (GST_START_TEST):
9084         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9085         * gst/gstbin.c: (bin_bus_handler):
9086         * gst/gstelement.c: (gst_element_commit_state),
9087         (gst_element_lost_state):
9088         * gst/gstmessage.c: (gst_message_new_state_changed),
9089         (gst_message_new_segment_start), (gst_message_new_segment_done),
9090         (gst_message_new_duration), (gst_message_parse_state_changed),
9091         (gst_message_parse_segment_start),
9092         (gst_message_parse_segment_done), (gst_message_parse_duration):
9093         * gst/gstmessage.h:
9094         * tools/gst-launch.c: (event_loop):
9095         Make messages future proof.
9096         state-change gets a flag if it was a message comming from the
9097         streaming thread.
9098         segment-start/stop can also be specified in other formats.
9099         A message to notify an app that a pipeline changed playback 
9100         duration.
9101         Also fix a GstMessage leak in -launch
9102
9103 2005-10-18  Andy Wingo  <wingo@pobox.com>
9104
9105         * gst/gstelement.c (gst_element_dispose): More helpful message.
9106
9107 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9108
9109         reviewed by: <delete if not using a buddy>
9110
9111         * common/gtk-doc.mak:
9112
9113 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9114
9115         * gst/gstregistry.c: (gst_registry_scan_path_level):
9116           unref a plug-in we get that was already initialized
9117
9118 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
9119
9120         * docs/gst/gstreamer-sections.txt:
9121         * docs/libs/gstreamer-libs-sections.txt:
9122         * gst/gstelement.h:
9123           add new api entries
9124           hide internal macro
9125
9126 2005-10-17  Andy Wingo  <wingo@pobox.com>
9127
9128         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
9129         cleanup.
9130
9131         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
9132
9133         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
9134
9135         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
9136         (gst_element_get_state_func): Better debug message.
9137         (gst_element_commit_state): s/INFO/DEBUG/.
9138         (gst_element_lost_state, gst_element_change_state): 
9139
9140         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
9141         (gst_message_new_custom): s/INFO/LOG/.
9142
9143 2005-10-17  Michael Smith <msmith@fluendo.com>
9144
9145         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9146           Check if end time is valid using end time, not start time.
9147
9148 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
9149
9150         * check/gst-libs/controller.c: (GST_START_TEST),
9151         (gst_controller_suite):
9152         * libs/gst/controller/gstcontroller.c:
9153         (gst_controlled_property_set_interpolation_mode):
9154         * libs/gst/controller/gstcontroller.h:
9155         * libs/gst/controller/gstinterpolation.c:
9156         * testsuite/controller/.cvsignore:
9157         * testsuite/controller/Makefile.am:
9158         * testsuite/controller/interpolator.c:
9159           merge controller testsuites
9160           fix broken tests
9161           remove mem-chunk from docs
9162
9163 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9164
9165         * gst/gstmemchunk.c:
9166         * gst/gstmemchunk.h:
9167         * gst/gsttrashstack.c:
9168         * gst/gsttrashstack.h:
9169           out.  get out.  you're fired.  to the Attic !
9170
9171 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9172
9173         * gst/gstcaps.c: (gst_caps_intersect):
9174           fix signedness issues in a (hopefully) correct way
9175         * gst/gstelement.c: (gst_element_pads_activate):
9176           some debugging
9177         * gst/gstobject.c: (gst_object_set_parent):
9178           some debugging
9179
9180 2005-10-17  Julien MOUTTE  <julien@moutte.net>
9181
9182         * gst/gstvalue.h: Fix prototypes.
9183
9184 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9185
9186         * docs/gst/gstreamer-sections.txt:
9187         * gst/gst.c: (gst_version_string):
9188         * gst/gst.h:
9189         * gst/gstversion.h.in:
9190         * win32/common/libgstreamer.def:
9191           add gst_version_string ()
9192
9193 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9194
9195         * configure.ac:
9196           clean up further
9197         * gst/gst.c: (init_post):
9198         * win32/common/config.h.in:
9199           it's PLUGINDIR now
9200         * gst/gstcaps.c: (gst_caps_intersect):
9201           use gint64, the range could be bigger than a guint
9202
9203 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9204
9205         * gst/gstclock.h:
9206           document potential problem in 2038
9207
9208 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9209
9210         * gst/gstcaps.c: (gst_caps_intersect):
9211           Fix guint j diving under 0
9212
9213 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9214
9215         * configure.ac:
9216         * win32/common/config.h:
9217         * win32/common/config.h.in:
9218           check for process.h, declares getpid() on Windows
9219         * gst/gstinfo.c:
9220           include process.h if we have it
9221         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
9222         * gst/gstmemchunk.h:
9223           fix signedness issues
9224         * win32/common/libgstreamer.def:
9225           fix get_type's
9226
9227 2005-10-16  Julien MOUTTE  <julien@moutte.net>
9228
9229         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
9230         fix. Because of unsigned ints, caps intersection was going nuts and
9231         trying to access structures with G_MAXUINT index. That fixes
9232         videotestsrc ! ffmpegcolorspace ! fakesink
9233         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
9234         consistency.
9235
9236 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9237
9238         * configure.ac:
9239           use the gettext macro
9240         * gst/elements/gstelements.c:
9241         * gst/gst.c:
9242         * gst/indexers/gstindexers.c:
9243           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
9244         * win32/common/config.h:
9245           updated config.h
9246         * win32/common/config.h.in:
9247           add the template to generate config.h
9248         * win32/common/gstenumtypes.c:
9249         * win32/common/gstversion.h:
9250           updated copies
9251
9252 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9253
9254         * gst/gst.c: (gst_version):
9255         * gst/gstversion.h.in:
9256           add the nano
9257
9258 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9259
9260         * gst/gstevent.h:
9261           Oops, add missing closing bracket.
9262
9263 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9264
9265         * configure.ac:
9266           use common m4's for argument checking
9267
9268 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9269
9270         * docs/gst/gstreamer-sections.txt:
9271         * gst/gstevent.h:
9272           Add GST_EVENT_TYPE_NAME() macro.
9273
9274 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9275
9276         * gst/gstinfo.c:
9277         * gst/gstpluginfeature.c:
9278         * gst/gsttask.c:
9279           privatize more symbols
9280
9281 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9282
9283         * configure.ac:
9284           add srcdir, builddir includes to GST_ALL_CFLAGS, since
9285           everything that uses GStreamer API should have the includes
9286
9287 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9288
9289         * docs/gst/gstreamer-sections.txt:
9290         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9291         * gst/gstvalue.h:
9292           give each value a _get_type, removes the DATA exports
9293
9294 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9295
9296         * gst/gst.c:
9297         * gst/gst.h:
9298           remove _gst_registry_auto_load, not used anymore
9299         * gst/gstbin.c: (gst_bin_get_type):
9300         * gst/gstbin.h:
9301         * gst/gstelement.c: (gst_element_get_type):
9302         * gst/gstelement.h:
9303         * gst/gstobject.c: (gst_object_get_type):
9304         * gst/gstobject.h:
9305         * gst/gstpad.c: (gst_pad_get_type):
9306         * gst/gstpad.h:
9307           make _get_type functions similar, fixes data export from library
9308
9309 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9310
9311         * configure.ac:
9312           correctly make conditionals
9313         * gst/elements/Makefile.am:
9314         * gst/elements/gstelements.c:
9315           fix typo causing fdsrc not to build
9316
9317 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9318
9319         * testsuite/Makefile.am:
9320         * testsuite/bytestream/.cvsignore:
9321         * testsuite/bytestream/Makefile.am:
9322         * testsuite/bytestream/filepadsink.c:
9323         * testsuite/bytestream/gstbstest.c:
9324         * testsuite/bytestream/test1.c:
9325         * testsuite/bytestream/testfile1:
9326         * testsuite/caps/normalisation.c:
9327         * testsuite/caps/random.c: (main):
9328         * testsuite/cleanup/.cvsignore:
9329         * testsuite/cleanup/Makefile.am:
9330         * testsuite/cleanup/cleanup1.c:
9331         * testsuite/cleanup/cleanup2.c:
9332         * testsuite/cleanup/cleanup3.c:
9333         * testsuite/cleanup/cleanup4.c:
9334         * testsuite/cleanup/cleanup5.c:
9335         * testsuite/controller/interpolator.c:
9336         * testsuite/debug/printf_extension.c: (main):
9337         * testsuite/elements/tee.c:
9338         * testsuite/negotiation/.cvsignore:
9339         * testsuite/negotiation/Makefile.am:
9340         * testsuite/negotiation/pad_link.c:
9341         * testsuite/pad/Makefile.am:
9342         * testsuite/pad/chainnopull.c:
9343         * testsuite/pad/getnopush.c:
9344         * testsuite/pad/link.c:
9345         * testsuite/refcounting/sched.c: (create_pipeline):
9346         * testsuite/registry/Makefile.am:
9347         * testsuite/registry/gst-print-formats.c:
9348         * testsuite/schedulers/.cvsignore:
9349         * testsuite/schedulers/142183-2.c:
9350         * testsuite/schedulers/142183.c:
9351         * testsuite/schedulers/143777-2.c:
9352         * testsuite/schedulers/143777.c:
9353         * testsuite/schedulers/147713.c:
9354         * testsuite/schedulers/147819.c:
9355         * testsuite/schedulers/147894-2.c:
9356         * testsuite/schedulers/147894.c:
9357         * testsuite/schedulers/Makefile.am:
9358         * testsuite/schedulers/group_link.c:
9359         * testsuite/schedulers/queue_link.c:
9360         * testsuite/schedulers/relink.c:
9361         * testsuite/schedulers/unlink.c:
9362         * testsuite/schedulers/unref.c:
9363         * testsuite/schedulers/useless_iteration.c:
9364         * testsuite/states/bin.c:
9365           clean out/remove some stuff from the testsuite directories
9366
9367 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9368
9369         * configure.ac:
9370           check for some headers
9371         * gst/elements/Makefile.am:
9372         * gst/elements/gstelements.c:
9373           don't compile fdsrc without sys/socket.h
9374         * gst/indexers/Makefile.am:
9375         * gst/indexers/gstindexers.c: (plugin_init):
9376           don't compile fileindex without mmap
9377
9378 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9379
9380         * configure.ac:
9381           reorganize
9382           clean up
9383           document more
9384           remove cruft
9385         * check/Makefile.am:
9386         * docs/gst/Makefile.am:
9387         * examples/helloworld/Makefile.am:
9388         * gst/Makefile.am:
9389         * gst/base/Makefile.am:
9390         * gst/check/Makefile.am:
9391         * gst/elements/Makefile.am:
9392         * gst/indexers/Makefile.am:
9393         * gst/parse/Makefile.am:
9394         * libs/gst/controller/Makefile.am:
9395         * libs/gst/dataprotocol/Makefile.am:
9396         * examples/helloworld/helloworld.c: (event_loop):
9397           compile fixes, though it's not being compiled currently
9398
9399 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9400
9401         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
9402           Add some simple tests for the new taglist date API.
9403
9404 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9405
9406         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
9407         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
9408           Beautify 'last-message' output: print 'none' for buffer timestamps
9409           and durations if none is set; improve alignment with next messages.
9410
9411 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9412
9413         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
9414         * gst/gstpluginfeature.h:
9415         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
9416         * gst/gstregistry.h:
9417         * docs/gst/gstreamer-sections.txt:
9418           Add new API to check plugin feature version requirements.
9419
9420         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
9421           Some basic tests for the above.         
9422
9423 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9424
9425         * gst/gststructure.c: (gst_structure_to_string):
9426           guard against NULL printf - happens when for example
9427           a message structure with GstClock gets serialized
9428
9429 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9430
9431         * gst/base/gstcollectpads.c: (gst_collectpads_event):
9432           Fix presumable copy'n'pasto.
9433
9434 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9435
9436         * gst/elements/gstfakesrc.h:
9437         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9438         * gst/elements/gsttypefindelement.c:
9439           fix some signedness
9440         * gst/elements/gstfilesink.c: (gst_file_sink_render):
9441           I wonder if this could actually write +2GB files before
9442
9443 2005-10-13  Andy Wingo  <wingo@pobox.com>
9444
9445         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9446         Fix Timmeke Waymans bug.
9447         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9448         string of the proper length to gst_caps_from_string. There's a
9449         potential for, before this fix, that this could cause someone
9450         connecting over the network to cause a segfault if the payload is
9451         not NUL-terminated.
9452
9453 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9454
9455         * docs/design/draft-push-pull.txt:
9456         * docs/design/part-overview.txt:
9457         * docs/random/TODO-pre-0.9:
9458         * docs/random/old/ChangeLog.gstreamer:
9459         * gst/base/gstpushsrc.c:
9460         * gst/gstclock.c:
9461           fixed typos
9462
9463 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9464
9465         * gst/glib-compat.c: (gst_flags_get_first_value):
9466         * gst/glib-compat.h:
9467         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9468         (gst_value_compare_double), (gst_value_serialize_flags):
9469           GLib 2.6 g_flags_get_first_value has a bug that triggers an
9470           infinite loop
9471
9472 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9473
9474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9475         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9476           fix up debugging
9477         * tools/gst-launch.c: (event_loop):
9478           print out clock nicely
9479
9480 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9481
9482         * docs/gst/gstreamer-sections.txt:
9483         * gst/gsttaglist.h:
9484         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9485         (gst_tag_list_get_date_index):
9486           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9487           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9488
9489 2005-10-13  Julien MOUTTE  <julien@moutte.net>
9490
9491         * gst/base/gstcollectpads.c: (gst_collectpads_event),
9492         (gst_collectpads_chain):
9493         * gst/base/gstcollectpads.h: Handle newsegment and store informations
9494         in CollectData.
9495
9496 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9497
9498         * docs/gst/gstreamer-sections.txt:
9499         * gst/gst.c:
9500         * gst/gsterror.h:
9501         * tools/gst-inspect.c: (main):
9502         * tools/gst-launch.c: (main):
9503         * tools/gst-run.c: (main):
9504         * tools/gst-xmlinspect.c: (main):
9505           fix GOption context leaks
9506           doc fixes
9507
9508 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9509
9510         * gst/gstbus.c:
9511           use HAVE_UNISTD_H
9512         * win32/common/config.h:
9513           update config
9514         * win32/vs6/grammar.dsp:
9515         * win32/vs6/libgstelements.dsp:
9516         * win32/vs6/libgstreamer.dsp:
9517           update vs6 files
9518
9519 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9520
9521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9522         * gst/base/gstbasesrc.c: (gst_base_src_query):
9523           fix more guint64<->gdouble conversions
9524
9525 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9526
9527         * Makefile.am:
9528           add win32-update target
9529         * win32/common/gstconfig.h:
9530         * win32/common/gstenumtypes.c:
9531         * win32/common/gstenumtypes.h:
9532         * win32/common/gstversion.h:
9533           add files that visual studio can't generate
9534
9535 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9536
9537         * Makefile.am:
9538           add a win32-update target
9539         * configure.ac:
9540
9541 2005-10-12  Wim Taymans  <wim@fluendo.com>
9542
9543         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9544         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9545         * gst/gstelement.c: (gst_element_commit_state),
9546         (gst_element_set_state):
9547         Protect flags with proper lock.
9548         unref provided cached clock in dispose.
9549
9550 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9551
9552         * gst/gst.c:
9553         * gst/gstminiobject.h:
9554         * gst/gstpad.h:
9555         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9556           removed unused flags from miniobject
9557           doc fixes
9558
9559 2005-10-12  Wim Taymans  <wim@fluendo.com>
9560
9561         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9562         (gst_file_sink_event), (gst_file_sink_render):
9563         Flush before seeking.
9564
9565 2005-10-12  Andy Wingo  <wingo@pobox.com>
9566
9567         * gst/gst.c (gst_init_check): Ignore unknown options, as has
9568         always been the case.
9569
9570 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9571
9572         * check/gst/gstbin.c: (GST_START_TEST):
9573         * docs/gst/gstreamer-sections.txt:
9574         * gst/base/gstbasesink.c: (gst_base_sink_init):
9575         * gst/base/gstbasesrc.c: (gst_base_src_init),
9576         (gst_base_src_get_range), (gst_base_src_check_get_range),
9577         (gst_base_src_start), (gst_base_src_stop):
9578         * gst/base/gstbasesrc.h:
9579         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9580         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9581         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9582         (bin_bus_handler):
9583         * gst/gstbin.h:
9584         * gst/gstbuffer.h:
9585         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9586         * gst/gstbus.h:
9587         * gst/gstelement.c: (gst_element_is_locked_state),
9588         (gst_element_set_locked_state), (gst_element_commit_state),
9589         (gst_element_set_state):
9590         * gst/gstelement.h:
9591         * gst/gstindex.c: (gst_index_init):
9592         * gst/gstindex.h:
9593         * gst/gstminiobject.h:
9594         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9595         (gst_object_set_parent):
9596         * gst/gstobject.h:
9597         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9598         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9599         * gst/gstpad.h:
9600         * gst/gstpadtemplate.h:
9601         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9602         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9603         * gst/gstpipeline.h:
9604         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9605         (gst_file_index_commit):
9606         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9607         * testsuite/pad/link.c: (gst_test_src_init),
9608         (gst_test_filter_init), (gst_test_sink_init):
9609         * testsuite/states/locked.c: (main):
9610           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9611           moved bitshift from macro to enum definition
9612
9613 2005-10-12  Wim Taymans  <wim@fluendo.com>
9614
9615         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9616         * gst/elements/gstfilesink.c: (gst_file_sink_event),
9617         (gst_file_sink_render):
9618         Some more debugging info.
9619
9620 2005-10-12  Wim Taymans  <wim@fluendo.com>
9621
9622         * docs/design/part-states.txt:
9623         * tools/gst-launch.c: (main):
9624         Some doc updates.
9625         Revert non-intentional change.
9626
9627 2005-10-12  Wim Taymans  <wim@fluendo.com>
9628
9629         * check/gst/gstbin.c: (GST_START_TEST):
9630         * check/gst/gstelement.c: (GST_START_TEST):
9631         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9632         * check/gst/gstghostpad.c: (GST_START_TEST):
9633         * check/gst/gstpipeline.c: (GST_START_TEST):
9634         * check/pipelines/simple_launch_lines.c: (run_pipeline):
9635         * check/states/sinks.c: (GST_START_TEST):
9636         * gst/elements/gsttypefindelement.c: (stop_typefinding):
9637         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9638         (gst_bin_remove_func), (gst_bin_get_state_func),
9639         (gst_bin_recalc_state), (gst_bin_change_state_func),
9640         (bin_bus_handler):
9641         * gst/gstelement.c: (gst_element_get_state_func),
9642         (gst_element_get_state), (gst_element_abort_state),
9643         (gst_element_commit_state), (gst_element_set_state),
9644         (gst_element_change_state), (gst_element_change_state_func):
9645         * gst/gstelement.h:
9646         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9647         (gst_pipeline_provide_clock_func):
9648         * gst/gstutils.c: (gst_element_link_pads_filtered):
9649         * tools/gst-launch.c: (main):
9650         * tools/gst-typefind.c: (main):
9651         Use GstClockTime in _get_state() instead of GTimeVal.
9652         Remove old code in gstutils.c
9653
9654 2005-10-12  Andy Wingo  <wingo@pobox.com>
9655
9656         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9657         removed.
9658
9659         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9660         there is no task. Shouldn't affect any code, as nothing in our
9661         plugins checks this return value.
9662         (gst_pad_stop_task): Also take the stream lock if the pad has no
9663         task. Docs updated.
9664
9665 2005-10-12  Wim Taymans  <wim@fluendo.com>
9666
9667         * gst/gstpad.c: (pre_activate), (post_activate),
9668         (gst_pad_activate_pull), (gst_pad_activate_push):
9669         Cleanup activation code. Reset old state if
9670         activation failed.
9671
9672 2005-10-12  Wim Taymans  <wim@fluendo.com>
9673
9674         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9675         (gst_base_sink_change_state):
9676         No need to prerol after receiving EOS.
9677
9678         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9679         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9680         * gst/elements/gstidentity.c: (gst_identity_event):
9681         Print events more verbosely.
9682
9683 2005-10-12  Wim Taymans  <wim@fluendo.com>
9684
9685         * check/Makefile.am:
9686         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9687         * check/states/sinks2.c:
9688         Moved sinks2 testcode in sinks check.
9689
9690         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9691         (gst_bin_remove_func), (gst_bin_recalc_state),
9692         (gst_bin_change_state_func), (bin_bus_handler):
9693         Fix potential race condition when _get_state() iterated over an
9694         ASYNC element right before it posted a state completion.
9695
9696         * gst/gstclock.h:
9697         Do proper cast here.
9698
9699         * gst/gstevent.c: (gst_event_new_newsegment),
9700         (gst_event_parse_newsegment):
9701         A playback rate of 0.0 is not allowed.
9702
9703 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9704
9705         * win32/common/config.h:
9706         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9707         (_trewinddir), (_ttelldir), (_tseekdir):
9708         * win32/common/dirent.h:
9709         * win32/common/gtchar.h:
9710         * win32/common/libgstbase.def:
9711         * win32/common/libgstreamer.def:
9712         * win32/vs6/grammar.dsp:
9713         * win32/vs6/gst_inspect.dsp:
9714         * win32/vs6/gst_launch.dsp:
9715         * win32/vs6/gstreamer.dsw:
9716         * win32/vs6/libgstbase.dsp:
9717         * win32/vs6/libgstelements.dsp:
9718         * win32/vs6/libgstreamer.dsp:
9719           Visual Studio 6 project files, and a new common directory.
9720           Phear.
9721
9722 2005-10-11  Wim Taymans  <wim@fluendo.com>
9723
9724         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9725         (gst_base_sink_do_sync), (gst_base_sink_query),
9726         (gst_base_sink_change_state):
9727         * gst/base/gstbasesink.h:
9728         Correctly parse newsegment info.
9729
9730 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9731
9732         * gst/gst.c: (init_post):
9733           split plugin paths correctly
9734
9735 2005-10-11  Wim Taymans  <wim@fluendo.com>
9736
9737         * check/gst/gstevent.c: (GST_START_TEST):
9738         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9739         (gst_base_sink_change_state):
9740         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9741         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9742         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9743         * gst/gstevent.c: (gst_event_new_newsegment),
9744         (gst_event_parse_newsegment):
9745         * gst/gstevent.h:
9746         Added extra flag to newsegment for future API freeze.
9747         Updated check and base elements.
9748
9749 2005-10-11  Julien MOUTTE  <julien@moutte.net>
9750
9751         * gst/base/gstcollectpads.c: (gst_collectpads_init),
9752         (gst_collectpads_add_pad), (gst_collectpads_pop),
9753         (gst_collectpads_event), (gst_collectpads_chain):
9754         * gst/base/gstcollectpads.h: Handle EOS correctly.
9755
9756 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9757
9758         * tools/gst-launch.c: (main):
9759           more null protecting
9760
9761 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9762
9763         * gst/gst-i18n-lib.h:
9764           check for ENABLE_NLS, not GETTEXT_PACKAGE
9765         * gst/gstregistry.c: (gst_registry_add_plugin),
9766         (gst_registry_scan_path_level),
9767         (_gst_registry_remove_cache_plugins):
9768           protect possibly NULL strings
9769         * gst/parse/types.h:
9770           config.h already included before
9771         * tools/gst-inspect.c: (main):
9772           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9773           check for ENABLE_NLS, not GETTEXT_PACKAGE
9774         * tools/gst-launch.c: (main):
9775           check for ENABLE_NLS, not GETTEXT_PACKAGE
9776
9777 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9778
9779         * configure.ac:
9780           if we don't have glib, fail before testing 2.8
9781         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9782           fix a leak, should fix plugins-base testsuite
9783
9784 2005-10-11  Andy Wingo  <wingo@pobox.com>
9785
9786         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9787         take the mode we're going to as an arg. Go head and set the mode
9788         and flushing flags now, so that if the activate function starts a
9789         thread all the flags will be in the right state.
9790         (post_activate): Renamed also. Just handle making sure streaming
9791         finishes for the deactivation case, and setting the deactivated
9792         mode.
9793         (gst_pad_set_active): Complain loudly if deactivation fails.
9794         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9795         (gst_pad_activate_push): Adapt to pre/post_activate changes,
9796         remove the terrible hack.
9797
9798 2005-10-11  Wim Taymans  <wim@fluendo.com>
9799
9800         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9801         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9802         (gst_bin_recalc_state), (gst_bin_change_state_func),
9803         (gst_bin_dispose), (bin_bus_handler):
9804         * gst/gstbin.h:
9805         Prepare to make current EOS message queue more generic.
9806         Fix some typos.
9807
9808         * gst/gstevent.c: (gst_event_new_newsegment),
9809         (gst_event_parse_newsegment):
9810         * gst/gstevent.h:
9811         Rename base to stream_time.
9812
9813         * gst/gstmessage.h:
9814         Fix typo in docs.
9815
9816 2005-10-11  Wim Taymans  <wim@fluendo.com>
9817
9818         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9819         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9820         (gst_bin_change_state_func), (bin_bus_handler):
9821         * gst/gstbin.h:
9822         Work on proper clock selection.
9823
9824 2005-10-11  Edward Hervey  <edward@fluendo.com>
9825
9826         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
9827         * libs/gst/controller/gstcontroller.h:
9828         Added GList* version of _remove_properties() in order to be able to wrap
9829         it in bindings.
9830
9831 2005-10-11  Wim Taymans  <wim@fluendo.com>
9832
9833         * docs/design/part-states.txt:
9834         Some more docs.
9835
9836         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9837         (gst_bin_change_state_func), (bin_bus_handler):
9838         Doc updates. Don't distribute the same clock over and over again.
9839
9840         * gst/gstclock.c:
9841         * gst/gstclock.h:
9842         Doc updates.
9843
9844         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9845         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9846         (gst_pad_send_event):
9847         * gst/gstpad.h:
9848         Make probe emission threadsafe again.
9849         Register quarks and move _get_name() from utils.
9850         Doc updates.
9851
9852         * gst/gstpipeline.c: (gst_pipeline_class_init),
9853         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9854         Only redistribute the clock of it changed.
9855
9856         * gst/gstsystemclock.h:
9857         Doc updates. 
9858
9859         * gst/gstutils.c:
9860         * gst/gstutils.h:
9861         Moved the _flow_get_name() to GstPad.
9862
9863 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9864
9865         * check/gst-libs/gdp.c: (GST_START_TEST):
9866         * check/gst/gstcaps.c: (GST_START_TEST):
9867         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9868         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9869         (gst_dp_packet_from_caps):
9870           fix more valgrind warnings before turning up the heat
9871
9872 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9873
9874         * gst/parse/grammar.y:
9875           some cleanup before the hacking
9876
9877 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9878
9879         * gst/base/gstbasesrc.c: (gst_base_src_query):
9880           use conversions
9881         * gst/gstutils.c: (gst_guint64_to_gdouble),
9882         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9883         * gst/gstutils.h:
9884           externalize, basesrc uses it
9885           obviously the implementation needs testing
9886
9887 2005-10-10  Wim Taymans  <wim@fluendo.com>
9888
9889         * tests/sched/Makefile.am:
9890         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9891         (make_pipeline3), (make_pipeline4), (print_elem), (main):
9892
9893 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9894
9895         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9896           apparently converting from guint64 to double is not implemented
9897           on MSVC
9898
9899 2005-10-10  Wim Taymans  <wim@fluendo.com>
9900
9901         * check/Makefile.am:
9902         * check/generic/states.c: (GST_START_TEST):
9903         * check/gst/gstbin.c: (GST_START_TEST):
9904         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9905         * check/states/sinks.c: (GST_START_TEST):
9906         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9907         (main):
9908         Check fixes, use API as stated in design docs, remove hacks.
9909
9910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9911         (gst_base_sink_change_state):
9912         Catch stopping our task while we're shutting down.
9913
9914         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9915         (gst_bin_remove_func), (gst_bin_get_state_func),
9916         (gst_bin_recalc_state), (gst_bin_change_state_func),
9917         (bin_bus_handler):
9918         * gst/gstbin.h:
9919         * gst/gstelement.c: (gst_element_init),
9920         (gst_element_get_state_func), (gst_element_abort_state),
9921         (gst_element_commit_state), (gst_element_lost_state),
9922         (gst_element_set_state), (gst_element_change_state),
9923         (gst_element_change_state_func):
9924         * gst/gstelement.h:
9925         New state change algorithm (see #318116)
9926
9927         * gst/gstpipeline.c: (gst_pipeline_class_init),
9928         (gst_pipeline_init), (gst_pipeline_set_property),
9929         (gst_pipeline_get_property), (do_pipeline_seek),
9930         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9931         * gst/gstpipeline.h:
9932         Remove crude state change hacks.
9933
9934         * gst/gstutils.h:
9935         Remove crude hacks.
9936
9937         * tools/gst-launch.c: (main):
9938         Fixes for state change. Needs some more work to fully use the
9939         new stuff.
9940
9941 2005-10-10  Andy Wingo  <wingo@pobox.com>
9942
9943         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9944
9945         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9946         this flag, but it's not even in GLib 2.6. Odd. Hack around the
9947         issue.
9948
9949 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9950
9951         * gst/gstiterator.c: (gst_iterator_new):
9952           Fix my previous commit: GTypes passed to gst_iterator_new()
9953           can be fundamental types.
9954
9955 2005-10-10  Wim Taymans  <wim@fluendo.com>
9956
9957         * gst/gstelement.c: (gst_element_iterate_pad_list),
9958         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9959         (gst_element_iterate_sink_pads):
9960         Use src/sink pads lists for the respective iterators instead
9961         of filtering.
9962
9963 2005-10-10  Andy Wingo  <wingo@pobox.com>
9964
9965         Merged in popt removal + GOption addition patch from Ronald, bug
9966         #169772.
9967
9968         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9969         GstElement macros around, remove popt-related symbols, add goption
9970         stuff.
9971
9972         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9973         
9974         * docs/gst/Makefile.am:
9975         * docs/libs/Makefile.am: No POPT_CFLAGS.
9976         
9977         * examples/manual/Makefile.am:
9978         * docs/manual/basics-init.xml: Doc updates with an example.
9979         
9980         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9981         (gst_init), (parse_one_option), (parse_goption_arg):
9982         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9983         bit of hand merging and debugging to get the GOption stuff working
9984         tho.
9985         
9986         * tests/Makefile.am:
9987         * tools/Makefile.am:
9988         * tools/gst-inspect.c: (main):
9989         * tools/gst-launch.c: (main):
9990         * tools/gst-run.c: (main):
9991         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9992
9993 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9994
9995         * gst/gstiterator.c: (gst_iterator_new):
9996           Add assertions to make sure passed GType is likely to really
9997           be a GType (as the compiler won't catch it if the size and
9998           GType arguments get mixed up, see #318447).
9999
10000 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
10001
10002         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10003
10004         * gst/gstbin.c: (gst_bin_iterate_sorted):
10005           Pass GType and size arguments to gst_iterator_new() in the right
10006           order (maybe we should make _new() take the GType as first argument
10007           just like _new_list()?) (#318447).
10008           
10009
10010 2005-10-10  Wim Taymans  <wim@fluendo.com>
10011
10012         * gst/gstelement.c: (gst_element_finalize):
10013         And free the GStaticRecMutex too
10014
10015 2005-10-10  Andy Wingo  <wingo@pobox.com>
10016
10017         * gst/gstelement.c (gst_element_init, gst_element_finalize):
10018         Allocate and free the mutex properly.
10019
10020         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
10021         New macros.
10022         (GstElement): The state_lock is now recursive. Rebuild your
10023         plugins, suckers. Old macros adapted.
10024
10025         * docs/gst/gstreamer-sections.txt: Doc updates.
10026
10027         * gst/gstutils.h:
10028         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
10029         (g_static_rec_cond_wait): Ported from state changes patch, while
10030         we wait on bug #317802 to be solved in a well-distributed GLib.
10031
10032         * gst/gstelement.c (gst_element_change_state_func): Renamed from
10033         gst_element_change_state, variable name changes.
10034         (gst_element_change_state): Split out of gst_element_set_state in
10035         preparation for the state change merge. Doesn't pay attention to
10036         the 'transition' argument.
10037         (gst_element_set_state): Updates, hopefully purely cosmetic.
10038         (gst_element_sync_state_with_parent): MT-safety. Ported from the
10039         state change patch.
10040         (gst_element_get_state_func): Renamed from get_state, cosmetic
10041         changes.
10042
10043 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10044
10045         * gst/elements/gstelements.c:
10046         * win32/GStreamer.vcproj:
10047         * win32/config.h:
10048         * win32/dirent.c: (_tseekdir):
10049         * win32/gst-inspect.vcproj:
10050         * win32/gst-launch.vcproj:
10051         * win32/gstconfig.h:
10052         * win32/gstelements.vcproj:
10053         * win32/gstenumtypes.c: (gst_object_flags_get_type):
10054         * win32/gstreamer.def:
10055         * win32/msvc71.sln:
10056           updates for the win32 build (patch from Sebastien Moutte)
10057
10058 2005-10-10  Andy Wingo  <wingo@pobox.com>
10059
10060         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
10061         gst_bin_get_state, cleaned up (but no logic changes).
10062         (bin_element_is_sink): Comment updates.
10063         (sink_iterator_filter): Remove needless cast.
10064         (gst_bin_iterate_sinks): Doc update.
10065         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
10066         cleaned up (but no logic changes).
10067
10068         * check/states/sinks.c (test_src_sink): Cleanups from the state
10069         change patch.
10070         (test_livesrc_sink): Sync on the state.
10071
10072         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
10073         the state change patch.
10074
10075         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
10076         change patch.
10077
10078         * check/gst/gstbin.c: Merge in some style fixes and additional
10079         checks from Wim's state change patch.
10080
10081 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10082
10083         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10084         (gst_type_find_helper):
10085           Check whether we have the requested data already in our list of
10086           cached buffers before pulling a new buffer; also make the buffer
10087           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
10088
10089 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10090
10091         * gst/gstcaps.c:
10092         * gst/gstevent.c:
10093           doc updates
10094         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10095           don't use long long, it's not portable.  Replacing with
10096           gint64 seems to work; let's hope no skeletons fall out of the closet.
10097
10098 2005-10-10  Andy Wingo  <wingo@pobox.com>
10099
10100         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
10101
10102 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
10103
10104         * docs/gst/gstreamer-sections.txt:
10105         * gst/gstevent.c:
10106         * gst/gstevent.h:
10107         * gst/gstinfo.c:
10108         * gst/gstinfo.h:
10109         * gst/gstmessage.c: (gst_message_parse_state_changed):
10110         * gst/gstpad.c:
10111         * gst/gstpad.h:
10112           more docs, fix compilation
10113
10114 2005-10-09  Philippe Khalaf <burger@speedy.org>
10115         * gst/gstmessage.c:
10116           Fixed a few forgotten variables on previous commit
10117
10118 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10119
10120         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10121           Fix evil typefind crasher: getrange() might return a short
10122           buffer at the end of a file, but gst_type_find_peek() must
10123           either return the full data as requested or NULL, but
10124           never a short buffer.
10125
10126 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10127
10128         * gst/gstmessage.c: (gst_message_new_state_changed),
10129         (gst_message_parse_state_changed):
10130         * gst/gstmessage.h:
10131           don't use "new", it's a C++ keyword
10132
10133 2005-10-08  Wim Taymans  <wim@fluendo.com>
10134
10135         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
10136         * gst/gstelement.c: (gst_element_post_message):
10137         * gst/gstpipeline.c: (gst_pipeline_change_state):
10138         Small docs and debug updates.
10139
10140 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
10141
10142         * docs/gst/gstreamer-sections.txt:
10143         * gst/gstelementfactory.c:
10144         * gst/gstevent.c:
10145         * gst/gsttaglist.c:
10146           more docs
10147
10148 2005-10-08  Wim Taymans  <wim@fluendo.com>
10149
10150         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
10151         (gst_bin_dispose), (bin_bus_handler):
10152         Fix typos, add comments.
10153         Clear EOS list when going to PAUSED from any direction and do it
10154         in a threadsafe way.
10155         Get base time in a threadsafe way too.
10156         Fix confusing debug in the change_state function.
10157         Various other small cleanups.
10158         
10159         * gst/gstelement.c: (gst_element_post_message):
10160         Fix very verbose bus posting code.
10161
10162         * gst/gstpipeline.c: (gst_pipeline_class_init),
10163         (gst_pipeline_set_property), (gst_pipeline_get_property),
10164         (gst_pipeline_change_state):
10165         Small ARG_ -> PROP_ cleanup
10166
10167 2005-10-08  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstbin.c: (is_eos), (bin_bus_handler):
10170         Do a less CPU demanding EOS check because we can.
10171
10172 2005-10-08  Wim Taymans  <wim@fluendo.com>
10173
10174         * libs/gst/dataprotocol/dataprotocol.c:
10175         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10176         (gst_dp_packet_from_event):
10177         * libs/gst/dataprotocol/dataprotocol.h:
10178         * libs/gst/dataprotocol/dp-private.h:
10179         It's about time we bump the version number.
10180         Since event types don't fit in the guint8 anymore describing
10181         the payload type, make payload type 16 bits wide.
10182
10183 2005-10-08  Wim Taymans  <wim@fluendo.com>
10184
10185         * docs/design/part-TODO.txt:
10186         * docs/design/part-clocks.txt:
10187         * docs/design/part-events.txt:
10188         * docs/design/part-gstbin.txt:
10189         * docs/design/part-gstelement.txt:
10190         * docs/design/part-gstpipeline.txt:
10191         * docs/design/part-live-source.txt:
10192         * docs/design/part-messages.txt:
10193         * docs/design/part-overview.txt:
10194         * docs/design/part-states.txt:
10195         Many doc updates.
10196
10197 2005-10-08  Wim Taymans  <wim@fluendo.com>
10198
10199         * gst/gstevent.c:
10200         * gst/gstevent.h:
10201         Fix event quark registration.
10202         Add some space between events so we can insert them in the
10203         right groups.
10204
10205 2005-10-08  Wim Taymans  <wim@fluendo.com>
10206
10207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10208         (gst_base_sink_handle_buffer):
10209         Better log message.
10210
10211         * gst/gstbus.h:
10212         * gst/gstelement.h:
10213         More docs.
10214
10215         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10216         (gst_queue_set_property), (gst_queue_get_property):
10217         * gst/gstqueue.h:
10218         Remove old unused properties.
10219
10220 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
10221         * docs/gst/gstreamer-sections.txt:
10222         * gst/gstmessage.c:
10223         * gst/gstmessage.h:
10224         * gst/gstminiobject.c:
10225         * gst/gstminiobject.h:
10226         * gst/gstobject.h:
10227         * gst/gstpad.h:
10228         * gst/gstutils.h:
10229           lots of new docs and doc fixes
10230
10231 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10232
10233         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
10234         * gst/gstplugin.h:
10235         * gst/gstregistry.c: (gst_registry_lookup_locked),
10236         (gst_registry_scan_path_level):
10237         * gst/gstregistryxml.c: (load_plugin):
10238           Only ever load one plugin for a given plugin basename.
10239           This ensures correct overriding of GST_PLUGIN_PATH over
10240           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
10241           system installed plugins.
10242
10243 2005-10-08  Wim Taymans  <wim@fluendo.com>
10244
10245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10246         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
10247         Prepare for doing QOS.
10248
10249 2005-10-08  Wim Taymans  <wim@fluendo.com>
10250
10251         * check/gst/gstbin.c: (GST_START_TEST):
10252         * check/pipelines/cleanup.c: (GST_START_TEST):
10253         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10254         Allow new clock message too.
10255
10256 2005-10-08  Wim Taymans  <wim@fluendo.com>
10257
10258         * gst/gstmessage.c: (gst_message_new_error),
10259         (gst_message_new_warning), (gst_message_new_tag),
10260         (gst_message_new_state_changed), (gst_message_new_clock_provide),
10261         (gst_message_new_clock_lost), (gst_message_new_new_clock),
10262         (gst_message_new_segment_start), (gst_message_new_segment_done),
10263         (gst_message_parse_state_changed),
10264         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10265         (gst_message_parse_new_clock):
10266         * gst/gstmessage.h:
10267         Also carry the clock in question.
10268
10269 2005-10-08  Wim Taymans  <wim@fluendo.com>
10270
10271         * gst/gstmessage.c: (gst_message_new_custom),
10272         (gst_message_new_eos), (gst_message_new_error),
10273         (gst_message_new_warning), (gst_message_new_tag),
10274         (gst_message_new_state_changed), (gst_message_new_clock_provide),
10275         (gst_message_new_new_clock), (gst_message_new_segment_start),
10276         (gst_message_new_segment_done), (gst_message_parse_state_changed),
10277         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
10278         * gst/gstmessage.h:
10279         Clean up.
10280         Added clock related messages.
10281
10282         * gst/gstpipeline.c: (gst_pipeline_change_state):
10283         Post message when the clock changed.
10284
10285         * tools/gst-launch.c: (event_loop):
10286         Print new clock.
10287
10288 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10289
10290         * tools/gst-inspect.c: (print_element_properties_info):
10291           Can't pass NULL strings to g_print() on windows.
10292
10293 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10294
10295         * docs/Makefile.am:
10296         * docs/gst/Makefile.am:
10297         * docs/gst/gstreamer-docs.sgml:
10298         * docs/gst/running.xml:
10299         * docs/version.entities.in:
10300           add a chapter on running GStreamer.
10301           document GST_DEBUG and GST_PLUGIN* env vars
10302
10303 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10304
10305         * Makefile.am:
10306           remove include dir
10307         * configure.ac:
10308           remove PLUGINS_BUILDDIR stuff
10309         * gst/gst.c: (init_post):
10310           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
10311         * idiottest.mak:
10312           remove, it was condescending and not needed
10313
10314 2005-10-08  Wim Taymans  <wim@fluendo.com>
10315
10316         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
10317         (gst_base_sink_handle_object), (gst_base_sink_event),
10318         (gst_base_sink_wait), (gst_base_sink_handle_event),
10319         (gst_base_sink_change_state):
10320         * gst/base/gstbasesink.h:
10321         Repost EOS message while going to PLAYING if still EOS.
10322         Make sure that when receiving a FLUSH_START we don't attempt
10323         to sync on the clock anymore.
10324
10325 2005-10-08  Wim Taymans  <wim@fluendo.com>
10326
10327         * tools/gst-launch.c: (event_loop):
10328         Better message printout.
10329
10330 2005-10-08  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
10333         (gst_bin_child_proxy_get_children_count):
10334         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
10335         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
10336         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
10337         (gst_child_proxy_set_valist):
10338         * gst/parse/grammar.y:
10339         Make ChildProxy threadsafe and fix mem leaks.
10340
10341 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10342
10343         * gst/gst.c: (init_post):
10344           debug the GST_PLUGIN_ env vars
10345
10346 2005-10-08  Wim Taymans  <wim@fluendo.com>
10347
10348         * check/gst/gstbin.c: (GST_START_TEST):
10349         * check/gst/gstmessage.c: (GST_START_TEST):
10350         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10351         * gst/gstelement.c: (gst_element_commit_state),
10352         (gst_element_lost_state):
10353         * gst/gstmessage.c: (gst_message_new_state_changed),
10354         (gst_message_parse_state_changed):
10355         * gst/gstmessage.h:
10356         * tools/gst-launch.c: (event_loop):
10357         Added extra field to STATE_CHANGE message with the pending
10358         state, which will be different from the new state soon.
10359
10360 2005-10-08  Wim Taymans  <wim@fluendo.com>
10361
10362         * gst/gstbus.c: (gst_bus_pop):
10363         * gst/gstclock.c:
10364         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10365         Small cleanups and doc updates.
10366
10367 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10368
10369         * gst/gst.c: (init_pre):
10370         * gst/gstbin.c: (gst_bin_add_func):
10371           log distributing clocks and base time
10372         * gst/gstregistry.c: (gst_registry_add_plugin),
10373         (gst_registry_scan_path_level), (gst_registry_scan_path):
10374           clean up the debugging output a little
10375         * gst/gstutils.c: (gst_element_state_get_name):
10376           warn about a memleak (I've actually seen this be used, though
10377           it was probably a bug)
10378
10379 2005-10-07  Wim Taymans  <wim@fluendo.com>
10380
10381         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10382         (gst_base_src_init), (gst_base_src_default_newsegment),
10383         (gst_base_src_newsegment), (gst_base_src_do_seek),
10384         (gst_base_src_loop), (gst_base_src_start):
10385         * gst/base/gstbasesrc.h:
10386         Make the newsegment event customizable by subclasses.
10387
10388 2005-10-07  Wim Taymans  <wim@fluendo.com>
10389
10390         * gst/gstevent.c: (gst_event_new_buffersize),
10391         (gst_event_parse_buffersize):
10392         * gst/gstevent.h:
10393         New event for future idea.
10394
10395 2005-10-07  Andy Wingo  <wingo@pobox.com>
10396
10397         * gst/gstelement.c (gst_element_post_message): Doc update.
10398
10399         * docs/gst/gstreamer-sections.txt: Update.
10400
10401         * gst/gstmessage.c (gst_message_new_application): Made into a
10402         function like honest API calls.
10403         (gst_message_new_element): New message type.
10404
10405         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
10406
10407         * check/elements/fakesrc.c (test_no_preroll): New check, checks
10408         that setting a live fakesrc to PAUSED returns NO_PREROLL both
10409         times.
10410
10411         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
10412         NO_PREROLL from gst_element_change_state to fall through.
10413
10414 2005-10-07  Wim Taymans  <wim@fluendo.com>
10415
10416         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
10417         (gst_ghost_pad_do_activate_push):
10418         Activating a ghostpad with no internal pad in push mode
10419         is ok.
10420
10421 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10422
10423         * gst/gstobject.h:
10424           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
10425           Fixes compilation on Windows.
10426
10427 2005-10-07  Michael Smith <msmith@fluendo.com>
10428
10429         * tools/gst-inspect.c:
10430           Print out feature and plugin count at the end when printing out
10431           all features.
10432
10433 2005-10-04  Michael Smith <msmith@fluendo.com>
10434
10435         * gst/gsterror.c: (_gst_stream_errors_init):
10436           Add another error string used in a few existing plugins.
10437
10438         * gst/gstplugin.c:
10439         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10440         * tools/gst-inspect.c: (print_element_info):
10441           When a feature disappears from a plugin (and the feature exists in
10442           the cached registry file), things went horribly wrong. This isn't a
10443           complete fix, we should actually be removing the 'missing' features
10444           from the features list when we load the actual plugin. That's not
10445           yet implemented. 
10446
10447 2005-10-04  Johan Dahlin  <johan@gnome.org>
10448
10449         * check/gst/gstiterator.c: (GST_START_TEST):
10450         * gst/gstbin.c: (gst_bin_iterate_elements),
10451         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10452         * gst/gstelement.c: (gst_element_iterate_pads):
10453         * gst/gstformat.c: (gst_format_iterate_definitions):
10454         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10455         (gst_iterator_new_list), (gst_iterator_filter):
10456         * gst/gstiterator.h:
10457         * gst/gstquery.c: (gst_query_type_iterate_definitions):
10458         Add a GType to GstIterator, update callsites and tests.
10459
10460 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10461
10462         * gst/gstpad.c: (gst_pad_event_default_dispatch):
10463           give events a chance to be handled by event probes when the pad
10464           is not linked
10465
10466 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10467
10468         * gst/gstevent.c: (gst_event_type_get_name),
10469         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10470         * gst/gstevent.h:
10471           add string representations for event types
10472
10473 2005-10-06  Wim Taymans  <wim@fluendo.com>
10474
10475         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10476         Don't use NULL pointers.
10477
10478 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10479
10480         * gst/gst_private.h:
10481         * gst/gstbus.c:
10482         * gst/gstelement.c:
10483         * gst/gstinfo.c:
10484         * gst/gstpluginfeature.c:
10485           widen the debug category in output to fit the biggest one we have
10486           add a bus category and use it
10487           play with the colors
10488           fix up some categories
10489
10490 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10491
10492         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10493           add push activation of sink ghost pads.
10494           Andye, please verify
10495
10496 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10497
10498         * gst/gstutils.c: (gst_element_link_pads):
10499           fix a bug in the case where neither element has a pad
10500         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10501           add a test for that case
10502
10503 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10504
10505         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10506           emit have-data before checking for peers.  This allows
10507           for probe handlers to connect elements.  This helps autopluggers.
10508         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10509         (gst_pad_suite):
10510           add six checks, linked/unlinked with no/true/false probe
10511
10512 2005-10-04  Wim Taymans  <wim@fluendo.com>
10513
10514         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10515         (gst_fake_sink_event), (gst_fake_sink_preroll),
10516         (gst_fake_sink_render), (gst_fake_sink_change_state):
10517         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10518         (gst_fake_src_get_property), (gst_fake_src_create),
10519         (gst_fake_src_stop):
10520         * gst/elements/gstidentity.c: (gst_identity_stop):
10521         Protect last_message with lock.
10522
10523 2005-10-04  Edward Hervey  <edward@fluendo.com>
10524
10525         * gst/gstformat.h: 
10526         Added precision in the comments for GST_FORMAT_DEFAULT
10527
10528 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
10529
10530         * tools/gst-launch.c: (main):
10531           Don't try to run erroneous pipelines.
10532
10533 2005-10-04  Julien MOUTTE  <julien@moutte.net>
10534
10535         * gst/gstbus.c: We don't need this header.
10536
10537 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10538
10539         * configure.ac:
10540           back to development
10541
10542 === release 0.9.3 ===
10543
10544 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10545
10546         * README:
10547         * configure.ac:
10548           Releasing 0.9.3, "Unregistered"
10549
10550 2005-10-03  Andy Wingo  <wingo@pobox.com>
10551
10552         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10553         whereby calling a pad's activatepush() function can start a thread
10554         that starts to push or pull before the pad gets the FLUSHING flag
10555         unset. Hack around it by holding the stream lock until the flag is
10556         set. Need to replace this with a proper solution. Together with
10557         the ghost pad fixes, this fixes mp3 playing/tagreading.
10558
10559         * docs/design/part-gstghostpad.txt: Add a note about activation of
10560         proxy pads outside of ghost pads.
10561
10562         * gst/gstghostpad.c: Implement the ghost pad activation design.
10563
10564 2005-10-02  Andy Wingo  <wingo@pobox.com>
10565
10566         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10567         It is volatile, after all.
10568
10569         * docs/design/part-gstghostpad.txt: Flesh out activation with
10570         ghost pads.
10571
10572         * gst/base/gstbasesrc.c (gst_base_src_init): Use
10573         GST_DEBUG_FUNCPTR.
10574
10575 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10576
10577         * configure.ac:
10578           Fix (unused) AM_CONDITIONAL tests.
10579
10580 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
10581
10582         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10583
10584         * gst/gstutils.c: (gst_pad_query_convert):
10585           Add assertion that makes sure src_val is >=0, just like
10586           gst_query_new_convert() has. (#315895)
10587
10588 2005-09-30  Edward Hervey  <edward@fluendo.com>
10589
10590         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10591         Let's not iterate pads we're not interested in, it avoids getting 
10592         sky-high refcounts on sinkpad.
10593
10594 2005-09-30  Wim Taymans  <wim@fluendo.com>
10595
10596         * gst/gstelement.c: (gst_element_set_state),
10597         (gst_element_change_state):
10598         Small tweak, element in ASYNC remains ASYNC.
10599
10600 2005-09-30  Wim Taymans  <wim@fluendo.com>
10601
10602         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10603         Only error is an error.
10604
10605         * gst/gstbin.c: (gst_bin_change_state):
10606         Better debugging.
10607
10608         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10609         Also call pad_block in pad alloc.
10610
10611         * gst/gstutils.c: (gst_flow_get_name):
10612         Better debugging.
10613
10614 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10615
10616         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10617         (gst_base_src_get_range):
10618           Fix documentation typos. Add some more debug info.
10619
10620 2005-09-29  David Schleef  <ds@schleef.org>
10621
10622         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10623           more end-user friendly.
10624         * tools/gst-inspect.c: (main): Check if command-line argument is
10625           a file and attempt to load that file as a plugin.
10626
10627 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10628
10629         * check/gst/gstbin.c:
10630         * check/states/sinks.c:
10631           fix tests for the new warning
10632         * check/gst/gstpipeline.c:
10633           add a test for pipeline and bus interaction
10634         * gst/gstelement.c:
10635           elements should be NULL if they get disposed; add a warning if not
10636
10637 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10638
10639         * gst/gstobject.c:
10640           for 2.6 refcounting, make debug log more correct by printing
10641           the actual refcounts at the time of swap (Wim)
10642
10643 2005-09-29  Andy Wingo  <wingo@pobox.com>
10644
10645         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10646         removes signal watches previously added via
10647         gst_bus_add_signal_watch.
10648         (gst_bus_add_signal_watch): Don't return the source id, just store
10649         it on the bus if there wasn't an id already.
10650
10651         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10652         add_signal_watch and remove_signal_watch.
10653
10654 2005-09-29  Edward Hervey  <edward@fluendo.com>
10655
10656         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
10657         Better if we actually iterate the list :)
10658
10659 2005-09-29  Wim Taymans  <wim@fluendo.com>
10660
10661         * check/gst/gstbin.c: (GST_START_TEST):
10662         Change for new bus API.
10663
10664         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10665         (send_messages), (GST_START_TEST), (gstbus_suite):
10666         Change for new bus signal API.
10667
10668         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10669         (gst_bus_source_prepare), (gst_bus_source_check),
10670         (gst_bus_create_watch), (gst_bus_add_watch_full),
10671         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10672         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10673         * gst/gstbus.h:
10674         Remove support for multiple GSources operating on different
10675         message types as it is too complex and unneeded when using
10676         signals.
10677         Added support for receiving signals from the bus.
10678
10679 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10680
10681         * docs/libs/tmpl/gstdataprotocol.sgml:
10682         * docs/manual/advanced-dataaccess.xml:
10683         * gst/elements/gstcapsfilter.c:
10684         * gst/gstutils.c:
10685           rename filter-caps to caps property
10686
10687 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10688
10689         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10690           More robust fraction string parsing.
10691
10692         * docs/pwg/appendix-porting.xml:
10693           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10694
10695 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10696
10697         * gst/gstcaps.c: (gst_caps_do_simplify):
10698           Thou shalt not free a structure and then continue using it
10699           in the next loop iteration.
10700
10701         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10702         (gst_caps_suite):
10703           Add test case for caps simplification.
10704
10705 2005-09-29  Wim Taymans  <wim@fluendo.com>
10706
10707         * check/gst/gstbin.c: (GST_START_TEST):
10708         Oops.
10709
10710 2005-09-29  Wim Taymans  <wim@fluendo.com>
10711
10712         * check/gst/gstbin.c: (GST_START_TEST):
10713         Add bus to bin.
10714
10715         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10716         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10717         (find_element), (gst_bin_sort_iterator_next),
10718         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10719         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10720         (gst_bin_change_state), (gst_bin_dispose):
10721         A bin does not have a bus, it gets the bus from the parent.
10722
10723         * gst/gstelement.c: (gst_element_requires_clock),
10724         (gst_element_provides_clock), (gst_element_is_indexable),
10725         (gst_element_is_locked_state), (gst_element_change_state),
10726         (gst_element_set_bus_func):
10727         Small cleanups.
10728
10729         * gst/gstpipeline.c: (gst_pipeline_class_init),
10730         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10731         The pipeline provides a bus.
10732
10733 2005-09-28  Johan Dahlin  <johan@gnome.org>
10734
10735         * gst/gstmessage.c (gst_message_parse_state_changed): Use
10736         gst_structure_get_enum instead of gst_structure_get_int
10737
10738         * gst/gststructure.c (gst_structure_get_enum): Impl.
10739
10740         * gst/gststructure.h (gst_structure_get_enum): Add
10741
10742         * docs/gst/gstreamer-sections.txt: Ditto
10743
10744         * gst/gstmessage.c (gst_message_new_state_changed): Use
10745         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10746         which does introspection.
10747         Reviewed by Christian Schaller
10748
10749 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10750
10751         * gst/gstinfo.c: (gst_debug_log_default):
10752           don't do dummy g_strdup()s
10753         * libs/gst/controller/gstcontroller.c:
10754         (on_object_controlled_property_changed),
10755         (gst_controlled_property_new), (gst_controller_new_valist),
10756         (gst_controller_new_list),
10757         (gst_controller_remove_properties_valist), (gst_controller_set),
10758         (gst_controller_get), (gst_controller_sync_values),
10759         (gst_controller_get_value_array), (_gst_controller_class_init),
10760         (gst_controller_get_type):
10761         * libs/gst/controller/gstcontroller.h:
10762         * libs/gst/controller/gstinterpolation.c:
10763         (gst_controlled_property_find_timed_value_node):
10764           convert // to /**/ comments
10765
10766 2005-09-28  Wim Taymans  <wim@fluendo.com>
10767
10768         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10769         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10770         (gst_bus_sync_signal_handler):
10771         * gst/gstbus.h:
10772         Added async-message and sync-message signals to the bus.
10773         Added helper BusFunc to emit signals for all posted messages.
10774
10775         * gst/gstmessage.c: (gst_message_type_get_name),
10776         (gst_message_type_to_quark), (gst_message_get_type):
10777         * gst/gstmessage.h:
10778         Register quarks for message names.
10779
10780 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10781
10782         * docs/libs/gstreamer-libs-sections.txt:
10783         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10784         (gst_controller_new_list):
10785         * libs/gst/controller/gstcontroller.h:
10786           added another constructor for language bindings
10787
10788 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10789
10790         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10791           add another check
10792         * gst/gstbus.c:
10793           add some doc
10794         * gst/gstinfo.c: (_gst_debug_init):
10795           slightly more readable color for refcount debugging
10796
10797 2005-09-28  Wim Taymans  <wim@fluendo.com>
10798
10799         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10800         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10801         (find_element), (gst_bin_sort_iterator_next),
10802         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10803         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10804         (gst_bin_change_state), (gst_bin_dispose):
10805         Small doc fixes. get_clock -> provide_clock.
10806
10807         * gst/gstelement.c: (gst_element_class_init),
10808         (gst_element_provides_clock), (gst_element_provide_clock),
10809         (gst_element_get_clock), (gst_element_commit_state),
10810         (gst_element_lost_state):
10811         * gst/gstelement.h:
10812         Make get/set_clock() symetric. Add provide_clock vmethod since
10813         that is actually what this function does.
10814
10815         * gst/gstpipeline.c: (gst_pipeline_class_init),
10816         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10817         (gst_pipeline_get_clock):
10818         get_clock -> provide_clock.
10819
10820 2005-09-28  Andy Wingo  <wingo@pobox.com>
10821
10822         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10823         lieu of real docs...
10824
10825         * gst/elements/gstfdsrc.c: Cleaned up a bit.
10826
10827 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
10828
10829         * gst/elements/gstcapsfilter.c:
10830         * gst/elements/gstfakesink.c:
10831         * gst/elements/gstfakesrc.c:
10832         * gst/elements/gstfdsink.c:
10833         * gst/elements/gstfdsrc.c:
10834         * gst/elements/gstfilesink.c:
10835         * gst/elements/gstfilesrc.c:
10836         * gst/elements/gstidentity.c:
10837         * gst/elements/gsttee.c:
10838         * gst/elements/gsttypefindelement.c:
10839           Make element details static.
10840
10841 2005-09-28  Wim Taymans  <wim@fluendo.com>
10842
10843         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10844         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10845         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10846         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10847         (gst_bin_change_state), (gst_bin_dispose):
10848         Some documentation updates.
10849         Clean up dispose handlers.
10850
10851         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10852         * gst/gstpad.c: (gst_pad_dispose):
10853         Clean up dispose handler.
10854
10855         * gst/gstpipeline.c: (gst_pipeline_change_state):
10856         Removed spurious UNLOCK.
10857
10858 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
10859
10860         * docs/gst/gstreamer-sections.txt:
10861         * gst/base/gstbasesrc.h:
10862         * gst/gstelement.h:
10863         * gst/gstevent.h:
10864         * gst/gstobject.h:
10865         * gst/gstpad.h:
10866         * gst/gstpipeline.c:
10867         * gst/gstpipeline.h:
10868         * gst/gstutils.h:
10869         * gst/gstxml.h:
10870           added two new functions to the docs
10871                 documents all undocumented GstXXXFlags
10872                 completed some incomplete docs 
10873
10874 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10875
10876         * gst/gstbin.c: (gst_bin_dispose):
10877         * gst/gstelement.c: (gst_element_dispose):
10878           remove now useless and leaky resurrection code in dispose
10879         * gst/base/gstbasesrc.c: (gst_base_src_init):
10880         * gst/gstelementfactory.c: (gst_element_factory_create):
10881         * gst/gstobject.c: (gst_object_set_parent):
10882           add some debugging
10883
10884 2005-09-27  Wim Taymans  <wim@fluendo.com>
10885
10886         * docs/design/part-TODO.txt:
10887         Update TODO.
10888
10889         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10890         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10891         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10892         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10893         (gst_bin_change_state):
10894         * gst/gstelement.h:
10895         Remove element variable, we keep element info in the iterator now.
10896
10897 2005-09-27  Andy Wingo  <wingo@pobox.com>
10898
10899         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10900         values.
10901
10902 2005-09-27  Wim Taymans  <wim@fluendo.com>
10903
10904         * check/gst/gstbin.c: (GST_START_TEST):
10905         Enable check that works now.
10906
10907         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10908         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10909         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10910         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10911         (gst_bin_change_state):
10912         * gst/gstbin.h:
10913         Redid the state change algorithm using a topological sort algo.
10914         Handles all cases correctly.
10915         Exposed iterator for state change order.
10916
10917         * gst/gstelement.h:
10918         Temp storage for state changes. Need to get rid of this soon.
10919
10920 2005-09-27  Wim Taymans  <wim@fluendo.com>
10921
10922         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10923         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10924         (link_fold_func), (gst_pad_proxy_setcaps):
10925         Leak fixes, the fold functions need to unref the passed object and
10926         _get_parent_*() returns ref to parent.
10927
10928 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10929
10930         * check/gst/gstbuffer.c: (test_make_writable):
10931           Plug leak in test case and fix 'make check-valgrind'
10932
10933 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10934
10935         * gst/gstbuffer.c: (gst_subbuffer_init):
10936           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10937           works correctly in all circumstances (we could have just copied
10938           the parent buffer's readonly flag, but conceptually it seems
10939           cleaner to mark all subbuffers as read-only). (based on patch
10940           by Alessandro Decina, #314710).
10941         
10942         * check/gst/gstbuffer.c: (create_read_only_buffer),
10943         (test_make_writable), (test_subbuffer_make_writable),
10944         (gst_test_suite):
10945           Add some tests for gst_buffer_make_writable().
10946
10947 2005-09-27  Wim Taymans  <wim@fluendo.com>
10948
10949         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10950         use gst_object_has_ancestor().
10951
10952         * gst/gstobject.c: (gst_object_has_ancestor):
10953         * gst/gstobject.h:
10954         gst_object_has_ancestor() copied from gstbin.c as it is a
10955         usefull function.
10956
10957         * tests/instantiate/create.c: (create_all_elements):
10958         * tests/lat.c: (handoff_src), (handoff_sink):
10959         * tests/sched/runxml.c: (main):
10960         * tests/seeking/seeking1.c: (main):
10961         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10962         (main):
10963         Fix compilation of some tests.
10964
10965 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * gst/gsterror.h:
10968           Remove comment. GST_TYPE_G_ERROR is here to stay,
10969           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10970           (#316961, #300610).
10971
10972 2005-09-26  Wim Taymans  <wim@fluendo.com>
10973
10974         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10975         Added check that shows error in state change order.
10976
10977 2005-09-26  Wim Taymans  <wim@fluendo.com>
10978
10979         * gst/gstbin.c: (gst_bin_change_state):
10980         Make state change function use 3 queues again, we were
10981         adding elements in the wrong order.
10982
10983         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10984         Some debug info,
10985
10986         * gst/gstpad.c: (gst_pad_dispose):
10987         Added some debug info first.
10988
10989 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
10990
10991         * docs/design/draft-push-pull.txt:
10992         * docs/design/part-events.txt:
10993         * docs/design/part-overview.txt:
10994         * docs/design/part-scheduling.txt:
10995           Replace all _pull_region() with _pull_range()
10996           
10997 2005-09-26  Andy Wingo  <wingo@pobox.com>
10998
10999         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11000
11001         * check/gst-libs/controller.c: Update for controller api change.
11002
11003         * configure.ac: 
11004         * tests/Makefile.am:
11005         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
11006         over by GLib bug 118439.
11007         
11008         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
11009         routines to a function.
11010
11011         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
11012
11013         * libs/gst/controller/gsthelper.c:
11014         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
11015         (gst_object_sync_values): Renamed from sink_values. Ugh.
11016
11017         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
11018
11019         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
11020         Renamed from controller_key, as it is exported.
11021
11022         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
11023
11024 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
11025
11026         * gst/Makefile.am:
11027         * gst/gst.h:
11028         * gst/gstpad.h:
11029         * gst/gstpadtemplate.h:
11030         * gst/gstquery.c:
11031         * gst/gstquery.h:
11032         * gst/gstqueryutils.c:
11033         * gst/gstqueryutils.h:
11034           remove queryutils headers after moving the two used functions
11035           to gstquery.  also fixes build problem for gstsiddec
11036
11037 2005-09-26  Michael Smith <msmith@fluendo.com>
11038
11039         * tools/gst-launch.1.in:
11040         Correct documentation in manpage of debug syntax
11041
11042 2005-09-26  Wim Taymans  <wim@fluendo.com>
11043
11044         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11045         (gst_base_src_is_seekable), (gst_base_src_change_state):
11046         Some more debugging info.
11047
11048 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11049
11050         * docs/gst/gstreamer-sections.txt:
11051         * gst/base/gstbasetransform.h:
11052         * gst/gstindex.h:
11053           added more docs
11054
11055 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11056
11057         * docs/gst/.cvsignore:
11058         * docs/gst/tmpl/.cvsignore:
11059         * docs/gst/tmpl/gstpipeline.sgml:
11060         * docs/gst/tmpl/gstplugin.sgml:
11061         * gst/gstpipeline.c:
11062         * gst/gstplugin.c:
11063         * gst/gstplugin.h:
11064           inlined the last two docs files
11065           removed the tmpl directory from cvs (no more conflicts here!)
11066
11067 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11068
11069         * docs/gst/gstreamer-sections.txt:
11070         * docs/gst/tmpl/.cvsignore:
11071         * docs/gst/tmpl/gstpad.sgml:
11072         * docs/gst/tmpl/gstpadtemplate.sgml:
11073         * gst/Makefile.am:
11074         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11075         (gst_pad_finalize), (gst_pad_set_pad_template):
11076         * gst/gstpad.h:
11077         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11078         (gst_pad_template_class_init), (gst_pad_template_init),
11079         (gst_pad_template_dispose), (name_is_valid),
11080         (gst_static_pad_template_get), (gst_pad_template_new),
11081         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
11082         (gst_pad_template_pad_created):
11083         * gst/gstpadtemplate.h:
11084           inlined two more docs
11085           factored gstpadtemplate out of gstpad
11086
11087 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
11088
11089         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11090         (test_children_state_change_order_semi_sink):
11091           Fix test case: we can't rely on a fixed state change order when
11092           going from READY => PAUSED because the sink might commit its 
11093           new state first when the first buffer created by the source 
11094           reaches the sink before the source has finished its change state.
11095           (Test case still fails at times, see #316856, comment 5 onwards)
11096
11097 2005-09-24  Wim Taymans  <wim@fluendo.com>
11098
11099         * docs/design/part-events.txt:
11100         * docs/design/part-gstbus.txt:
11101         * docs/design/part-gstpipeline.txt:
11102         * docs/design/part-messages.txt:
11103         * docs/design/part-overview.txt:
11104         * docs/design/part-segments.txt:
11105         * gst/gstbin.c:
11106         * gst/gstbuffer.c:
11107         * gst/gstclock.c:
11108         * gst/gstelement.c:
11109         * gst/gstevent.c:
11110         * gst/gstfilter.c:
11111         * gst/gstiterator.c:
11112         Various documentation updates.
11113
11114 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11115
11116         * gst/gstclock.h:
11117           Well, that's embarassing.  Luckily we weren't using
11118           GST_CLOCK_DIFF anywhere.
11119
11120 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11121
11122         * common/gtk-doc.mak:
11123           don't fail on building XML, FC4 slave shows a bunch of doc
11124           missing bits that I don't get
11125         * gst/gstpad.c:
11126         * gst/gstpipeline.c:
11127         * gst/gststructure.c:
11128           some doc updates
11129
11130 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
11131
11132         * docs/design/part-gstbin.txt:
11133         * docs/design/part-gstbus.txt:
11134         * gst/gstbus.c:
11135           Add blurb about how the bus goes into flushing mode and
11136           drops all messages when its bin goes from READY into NULL 
11137           state.
11138
11139 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11140
11141         * docs/gst/gstreamer-sections.txt:
11142         * gst/gststructure.c: (gst_structure_get_clock_time):
11143         * gst/gststructure.h:
11144           add a method to get a GstClockTime out of a structure
11145
11146 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
11147
11148         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11149         (test_children_state_change_order_semi_sink), (gst_bin_suite):
11150           Added test to check state change order in bins (can still be made
11151           to fail here under heavy disk load; bails out with 'Push on pad
11152           fakesink:sink0, but it was not activated in push mode').
11153
11154         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
11155           Fix state change order when there is only a semi sink (#316856)
11156
11157         * gst/gstbus.c: (gst_bus_class_init):
11158           Use _class_peek_parent(), not _class_ref(); fix docs to say
11159           'default main context' instead of 'mainloop' where that is
11160           what's meant.
11161
11162         * gst/gstelement.c: (gst_element_commit_state),
11163         (gst_element_set_state):
11164           Fix typos in debug messages
11165
11166 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11167
11168         * docs/README:
11169         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
11170         * gst/gstpluginfeature.c:
11171         * gst/gstutils.c:
11172           various doc updates
11173         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11174           change an assert into an error until it gets fixed properly
11175
11176 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
11177
11178         * docs/gst/gstreamer-sections.txt:
11179         * docs/gst/tmpl/.cvsignore:
11180         * docs/gst/tmpl/gstelement.sgml:
11181         * docs/gst/tmpl/gstinfo.sgml:
11182         * docs/gst/tmpl/gstobject.sgml:
11183         * gst/gstelement.c:
11184         * gst/gstelement.h:
11185         * gst/gstinfo.c:
11186         * gst/gstinfo.h:
11187         * gst/gstobject.c: (gst_object_class_init):
11188         * gst/gstobject.h:
11189           inlined 3 more biiiig doc files and added some missing docs on the fly
11190
11191 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11192
11193         * check/gst/.cvsignore:
11194         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
11195         * gst/gstregistryxml.c: (load_plugin),
11196         (gst_registry_xml_save_plugin):
11197           put back source in registry.  add checks for find_plugin.
11198         * testsuite/states/bin.c: (assert_state), (empty_bin),
11199         (test_adding_one_element), (main):
11200         * testsuite/states/locked.c: (main):
11201           some compile/run fixes
11202
11203 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11204
11205         * check/gst/gstvalue.c: (GST_START_TEST):
11206           fix leaks in the test itself
11207
11208 2005-09-22  Wim Taymans  <wim@fluendo.com>
11209
11210         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11211         (gst_base_sink_send_event), (gst_base_sink_peer_query),
11212         (gst_base_sink_query):
11213         Prepare for more accurate position reporting and query
11214         handling.
11215
11216         * gst/gstelement.c: (gst_element_send_event),
11217         (gst_element_set_state):
11218         Add some comment.
11219
11220 2005-09-22  Wim Taymans  <wim@fluendo.com>
11221
11222         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
11223         (gst_query_parse_segment):
11224         * gst/gstquery.h:
11225         More documentation.
11226         Add segment query for future use.
11227
11228 2005-09-22  Wim Taymans  <wim@fluendo.com>
11229
11230         * gst/gstbin.c: (gst_bin_add_func):
11231         Some more debug info.
11232
11233         * gst/gstelement.c: (gst_element_send_event):
11234         Simplify send_event
11235
11236         * gst/gstelement.h:
11237         Don't know how flags got broken.
11238
11239         * gst/gstquery.h:
11240         Added new query.
11241
11242 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
11243
11244         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
11245           Add simplistic test suite for GST_TYPE_DATE serialisation and
11246           deserialisation.
11247
11248 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
11249
11250         * docs/gst/gstreamer-sections.txt:
11251         * gst/gststructure.c: (gst_structure_set_valist),
11252         (gst_structure_get_date):
11253         * gst/gststructure.h:
11254         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
11255         (gst_date_copy), (gst_value_compare_date),
11256         (gst_value_serialize_date), (gst_value_deserialize_date),
11257         (gst_value_transform_date_string),
11258         (gst_value_transform_string_date), (_gst_value_initialize):
11259         * gst/gstvalue.h:
11260           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
11261           bunch of utility functions along with a hack that checks that
11262           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
11263           is required. Part of the grand scheme in #170777.
11264
11265 2005-09-22  Andy Wingo  <wingo@pobox.com>
11266
11267         * gst/gstconfig.h.in: Psych out gtk-doc.
11268
11269         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
11270
11271         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
11272
11273         * tools/gst-inspect.c (print_element_list): Plug some
11274         inconsequential leaks.
11275
11276         * gst/gstregistry.c (gst_registry_get_default): Doc.
11277
11278         * check/gst/gstplugin.c: 
11279         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
11280         * gst/gstelementfactory.c (gst_element_factory_create): 
11281         * gst/gstindexfactory.c (gst_index_factory_create): Update for
11282         refcount changes.
11283
11284         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
11285         (gst_plugin_feature_load): Doc, don't eat refs.
11286
11287         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
11288         (gst_plugin_list_free): Doc.
11289         (gst_plugin_load_file): Doc updates.
11290
11291         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
11292         accessors returning refcounted objects, return a ref.
11293
11294         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
11295         accessor for caps. IDEMPOTENCE. Oh yes.
11296
11297 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
11298
11299         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
11302         (_gst_debug_register_funcptr):
11303           Add mutex to serialise access to the hash table with
11304           the function pointer => function name string mapping;
11305           make that hash table static scope (#316809).
11306
11307         * gst/registries/.cvsignore:
11308           Remove left-over file.
11309
11310 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
11311
11312         * docs/pwg/appendix-porting.xml:
11313           And something about newsegment events and caps-on-buffers to
11314           the porting guide (feel free to improve).
11315
11316 2005-09-21  Andy Wingo  <wingo@pobox.com>
11317
11318         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
11319         data and event probes on the same pad.
11320         (test_buffer_probe_once): Test that removing probes from within
11321         the probe functions works.
11322
11323 2005-09-21  Andy Wingo  <wingo@pobox.com>
11324
11325         * check/gst/gstutils.c: New file.
11326         (test_buffer_probe_n_times): A simple buffer probe test. More to
11327         come, foolios.
11328
11329         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
11330         have-data::buffer, not have-data.
11331         (gst_pad_add_event_probe): Likewise for have-data::event.
11332         (gst_pad_add_data_probe): More docs. The part about 'resolving the
11333         peer' isn't quite right yet though.
11334         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
11335         (gst_pad_remove_data_probe): Change to take the guint handler_id
11336         as their arg, not the function+data, which is more glib-like.
11337
11338         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
11339         the signal emission to indicate if the data is a buffer or an
11340         event.
11341         (gst_pad_get_type): Initialize buffer and event quarks.
11342         (gst_pad_class_init): have-data is now a detailed signal, yes it
11343         is.
11344
11345 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
11346
11347         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11348         * gst/gstutils.c: (gst_util_set_value_from_string),
11349         (gst_util_set_object_arg):
11350           Don't put functional code in g_return_if_fail() or
11351           g_return_val_if_fail() statements, otherwise things will 
11352           break when G_DISABLE_CHECKS is defined during compilation.
11353
11354 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11355
11356         * docs/gst/tmpl/.cvsignore:
11357         * docs/gst/tmpl/gstvalue.sgml:
11358         * gst/gstvalue.c:
11359         * gst/gstvalue.h:
11360           inlied another one and added  some obvious docs
11361
11362 2005-09-21  Wim Taymans  <wim@fluendo.com>
11363
11364         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11365         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
11366         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
11367         (gst_fdsrc_get_property), (gst_fdsrc_create):
11368         * gst/elements/gstfdsrc.h:
11369         Properly implement fdsrc. Removed signal and timeout,
11370         better implemented somewhere else.
11371
11372 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11373
11374         * docs/gst/tmpl/.cvsignore:
11375         * docs/gst/tmpl/gstimplementsinterface.sgml:
11376         * gst/gstinterface.c:
11377           inlined more docs
11378
11379 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11380
11381         * docs/gst/gstreamer-sections.txt:
11382         * docs/gst/tmpl/.cvsignore:
11383         * docs/gst/tmpl/gstenumtypes.sgml:
11384           remove obsolete doc file
11385
11386 2005-09-21  David Schleef  <ds@schleef.org>
11387
11388         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
11389         little beer, fix a little leak.
11390
11391 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11392
11393         * docs/gst/gstreamer-docs.sgml:
11394         * docs/gst/gstreamer-sections.txt:
11395         * docs/gst/tmpl/.cvsignore:
11396         * gst/Makefile.am:
11397         * gst/gst.h:
11398         * gst/gstbin.c:
11399         * gst/gstelement.h:
11400         * gst/gstindex.c: (gst_index_class_init):
11401         * gst/gstindex.h:
11402         * gst/gstindexfactory.c: (gst_index_factory_get_type),
11403         (gst_index_factory_class_init), (gst_index_factory_init),
11404         (gst_index_factory_finalize), (gst_index_factory_new),
11405         (gst_index_factory_destroy), (gst_index_factory_find),
11406         (gst_index_factory_create), (gst_index_factory_make):
11407         * gst/gstindexfactory.h:
11408         * gst/gstpluginfeature.c:
11409         * gst/gstpluginfeature.h:
11410         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11411           more docs inlined, splitted gstindex.{c,h}
11412
11413 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11414
11415         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11416           fix a leak
11417
11418 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
11419
11420         * gst/elements/gstfilesink.c: (gst_file_sink_init):
11421           Set sync to FALSE by default.
11422
11423 2005-09-20  Wim Taymans  <wim@fluendo.com>
11424
11425         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11426         (gst_base_sink_init):
11427         Make sync property settable from subclass.
11428
11429         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11430         (gst_fake_sink_change_state):
11431         Set sync to FALSE by default.
11432
11433 2005-09-20  Wim Taymans  <wim@fluendo.com>
11434
11435         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11436         * tools/gst-launch.c: (main):
11437         The timeout handler should have lower priority than the source
11438         so we don't timeout before popping a message with 0 timeout.
11439         Dump error messages after failed state change.
11440
11441 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
11442
11443         * tools/gst-inspect.c: (print_element_properties_info):
11444           Fix two typos.
11445
11446 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11447
11448         * check/gst/gstevent.c:
11449         * gst/elements/gstfakesink.c:
11450         * gst/elements/gstfakesink.h:
11451           remove the sync property from fakesink.
11452           has the side effect of setting sync TRUE
11453           for fakesink, which is a change.  Anyone who knows how
11454           to fix this nicely in a GObject-y way, feel free.
11455
11456 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11457
11458         * docs/gst/gstreamer-docs.sgml:
11459           remove probe refsection
11460
11461 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11462
11463         * check/Makefile.am:
11464           disable valgrinding the controller test again
11465         * docs/gst/gstreamer-sections.txt:
11466           update for api-changes
11467
11468 2005-09-20  Wim Taymans  <wim@fluendo.com>
11469
11470         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11471         (gst_base_sink_set_property), (gst_base_sink_get_property),
11472         (gst_base_sink_do_sync):
11473         * gst/base/gstbasesink.h:
11474         Added sync property to basesink to disable clock sync.
11475
11476 2005-09-20  Andy Wingo  <wingo@pobox.com>
11477
11478         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11479         eating the caller's refcount.
11480
11481         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
11482         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11483         refcount.
11484
11485         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11486         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11487         of GLib 2.8 public, so we can know which refcount to check in
11488         tests.
11489
11490         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11491         (gst_object_init): Only set the gst refcount if we're going ahead
11492         with the refcount hack.
11493
11494 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11495
11496         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11497         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11498           more leaks plumbed, added more debug-logging
11499         * gst/gstmacros.h:
11500           whitespace fix
11501
11502 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11503
11504         * gst/gstmessage.c:
11505           remove include of gstmemchunk.h
11506
11507 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11508
11509         * gst/gstclock.c: (_gst_clock_id_free):
11510           Commit from the Political Party For More Atomic CVS Commits,
11511           so that people don't waste too much of their day fishing
11512           out obvious leaks out of massive commits.
11513           Oh, and fix a pretty damn obvious leak in the memchunk
11514           removal code.
11515
11516 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11517
11518         * check/Makefile.am:
11519         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11520           plug mem-leak, re-add to valgrindable tests
11521
11522 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11523
11524         * gst/gstplugin.h:
11525           unbreak the build for those who have chronic arthritis
11526           and typing "make check" is just too taxing on the hands
11527
11528 2005-09-20  Andy Wingo  <wingo@pobox.com>
11529
11530         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11531         really want it out, you should fix plugins at the same time.
11532
11533 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
11534
11535         * configure.ac:
11536         * docs/gst/gstreamer-sections.txt:
11537         * gst/gstobject.c:
11538           added missing symbols to api docs
11539           disable ref-count hack if we have glib >= 2.8
11540
11541 2005-09-19  David Schleef  <ds@schleef.org>
11542
11543         * docs/gst/Makefile.am: Ignore a few more internal headers
11544         * docs/gst/gstreamer-docs.sgml: Remove old sections
11545         * docs/gst/gstreamer-sections.txt: Remove old sections
11546         * docs/gst/tmpl/gstobject.sgml: update
11547         * docs/gst/tmpl/gstplugin.sgml: update
11548         * docs/gst/tmpl/gstpluginfeature.sgml: update
11549         * docs/random/ds/0.9-suggested-changes: update.
11550         * gst/Makefile.am: remove memchunk and trashstack, since they're
11551           not used.
11552         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11553         * gst/gst.h: don't include some headers
11554         * gst/gstchildproxy.c: add gstmarshal.h
11555         * gst/gstclock.c: Don't use memchunks
11556         * gst/gstminiobject.c: Add some docs
11557         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11558         * gst/gstobject.h: same
11559         * gst/gstplugin.c: include gstmacros.h
11560         * gst/gstplugin.h: don't include gstmacros.h, since it's private
11561         * gst/gstquery.c: don't use memchunks
11562         * gst/gstregistry.c: rename gst_registry_deinit()
11563         * gst/gstregistry.h: same
11564
11565 2005-09-19  David Schleef  <ds@schleef.org>
11566
11567         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11568         * docs/libs/gstreamer-libs-sections.txt:
11569         * docs/libs/tmpl/gstgetbits.sgml:
11570         * docs/libs/tmpl/gstputbits.sgml:
11571
11572 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
11573
11574         * win32/gstenumtypes.c:
11575         * win32/gstenumtypes.h:
11576           Update.
11577
11578 2005-09-19  Wim Taymans  <wim@fluendo.com>
11579
11580         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11581         Automatically PAUSE and RESUME a pipeline when a flushing seek
11582         is performed.
11583
11584 2005-09-19  Andy Wingo  <wingo@pobox.com>
11585
11586         * gst/gstregistry.h: Spacing fixen.
11587
11588 2005-09-19  Wim Taymans  <wim@fluendo.com>
11589
11590         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11591         Handle state change failure more correctly.
11592
11593 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11594
11595         * check/Makefile.am:
11596         * check/pipelines/cleanup.c: (run_pipeline):
11597         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11598         (GST_START_TEST):
11599           enable cleanup again after fixing the leak
11600         * docs/README:
11601           some more info on docs
11602
11603 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11604
11605         * check/Makefile.am:
11606           re-enable tests now that leaks are plugged
11607         * check/gst/gst.c:
11608         * check/gst/gstbin.c:
11609         * check/gst/gstpipeline.c:
11610           add some more tests while fixing leaks
11611         * common/check.mak:
11612           make sure binaries are uptodate when valgrinding/gdbing
11613         * gst/gst.c:
11614         * gst/gstelementfactory.c:
11615           remove a ref too many, and add a FIXME for when we get
11616           round to disposing of classes
11617         * gst/gstplugin.c:
11618           fix the refcounting when loading a plugin from a file and
11619           the code pretends that the pointer is the same even though
11620           of course it can change
11621         * gst/gstpluginfeature.c:
11622           unref plugins marked cached (a bit confusing as a name)
11623           as the docs state should be done
11624           various doc additions to explain refcounting
11625         * gst/gstregistry.c:
11626         * gst/gstregistryxml.c:
11627           debugging
11628
11629 2005-09-19  Wim Taymans  <wim@fluendo.com>
11630
11631         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11632         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11633         (send_messages), (GST_START_TEST), (gstbus_suite):
11634         * check/gst/gstpipeline.c: (GST_START_TEST):
11635         * check/pipelines/cleanup.c: (run_pipeline):
11636         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11637         (GST_START_TEST):
11638         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11639         (gst_bus_source_check), (gst_bus_source_dispatch),
11640         (gst_bus_create_watch), (gst_bus_add_watch_full),
11641         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11642         * gst/gstbus.h:
11643         * tools/gst-launch.c: (event_loop):
11644         * tools/gst-md5sum.c: (event_loop):
11645         GstBusHandler -> GstBusFunc, return value has the same meaning as
11646         any other GSource (FALSE == remove source).
11647         _add_watch() and _add_watch_full() now take a MessageType mask to
11648         only handle specific types of messages.
11649         _poll() returns the GstMessage instead of the message type to avoid
11650         race conditions.
11651         _have_pending() takes a MessageType mask now too.
11652         Added testsuite for multiple bus watches.
11653         Fix testsuites and applications for new bus API.
11654
11655 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11656
11657         * check/Makefile.am:
11658           mark a bunch of the tests as to fix until we fix them
11659
11660 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11661
11662         * common/check.mak:
11663           use GST_PLUGIN settings for valgrind tests as well, so we're
11664           valgrinding the correct thing
11665         * gst/gst.c: (init_post):
11666           plug another leak
11667
11668 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11669
11670         * gst/gst.c: (init_post), (gst_deinit):
11671         * gst/gstelementfactory.c: (gst_element_factory_class_init),
11672         (gst_element_factory_finalize), (gst_element_factory_cleanup):
11673         * gst/gstindex.c: (gst_index_factory_class_init),
11674         (gst_index_factory_finalize):
11675         * gst/gstobject.c: (gst_object_dispose):
11676         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11677         (gst_plugin_load_file), (gst_plugin_desc_free):
11678         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11679         (gst_plugin_feature_finalize):
11680         * gst/gstregistry.c: (gst_registry_class_init),
11681         (gst_registry_init), (gst_registry_finalize),
11682         (gst_registry_get_default), (gst_registry_deinit):
11683         * gst/gstregistry.h:
11684         * gst/gstregistryxml.c: (load_feature), (load_plugin):
11685           various cleanups and memleak plugging.  make valgrind is happy now.
11686
11687 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11688
11689         * common/check.mak:
11690           add a check-valgrind target
11691
11692 2005-09-18  David Schleef  <ds@schleef.org>
11693
11694         * tools/gst-inspect.c: Revert the GOption code.
11695
11696 2005-09-17  David Schleef  <ds@schleef.org>
11697
11698         * check/Makefile.am: Fix environment variables.
11699         * check/gst/gstplugin.c: Fix for API changes.
11700         * tools/gst-inspect.c: Fix for API changes.
11701         * tools/gst-xmlinspect.c: Fix for API changes.
11702         * gst/gstelementfactory.c:
11703         * gst/gstplugin.c:
11704         * gst/gstplugin.h:
11705         * gst/gstpluginfeature.c:
11706         * gst/gstpluginfeature.h:
11707         * gst/gstregistry.c:
11708         * gst/gstregistry.h:
11709         * gst/gstregistryxml.c:
11710         * gst/gsttypefind.c:
11711         * gst/gsttypefindfactory.c:
11712         * gst/indexers/gstfileindex.c:
11713         * gst/indexers/gstmemindex.c:
11714         * gst/schedulers/Makefile.am:
11715           Change registry to keep track of both plugins and features,
11716           removing the feature tracking from plugins themselves.
11717
11718 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11719
11720         * check/Makefile.am:
11721         * tools/gst-register.1.in:
11722           remove gst-register
11723
11724 2005-09-15  David Schleef  <ds@schleef.org>
11725
11726         * check/gst/gstplugin.c:
11727         * gst/gstelementfactory.c:
11728         * gst/gstplugin.c:
11729         * gst/gstpluginfeature.c:
11730         * gst/gstregistry.c:
11731           Getting tired of debugging.  Disabled all the unreffing of
11732           plugins and features, which fixes the segfaults, but of
11733           course leaks like crazy.  At least playbin works.
11734
11735 2005-09-15  David Schleef  <ds@schleef.org>
11736
11737         * check/gst/gstplugin.c: (register_check_elements),
11738         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11739         More testing
11740         * gst/elements/gsttypefindelement.c: Fix refcounting.
11741         * gst/gsttypefind.c:
11742         * gst/gsttypefindfactory.c:
11743         * gst/gsttypefindfactory.h:
11744
11745 2005-09-15  David Schleef  <ds@schleef.org>
11746
11747         * gst/gstindex.c: get refcounting correct.
11748         * gst/gstregistry.c: Handle the case where a feature/plugin is
11749           not found.
11750
11751 2005-09-15  David Schleef  <ds@schleef.org>
11752
11753         * check/Makefile.am:
11754         * check/gst/gstplugin.c: Add test
11755         * gst/gstplugin.c: Fix problems noticed by testsuite
11756         * gst/gstplugin.h:
11757         * gst/gstregistry.c: 
11758         * gst/gstregistry.h:
11759
11760 2005-09-15  David Schleef  <ds@schleef.org>
11761
11762         * gst/gstplugin.c: Implement semi-decent recounting and locking
11763           in plugins and plugin features.
11764         * gst/gstplugin.h:
11765         * gst/gstpluginfeature.c:
11766         * gst/gstpluginfeature.h:
11767         * gst/gstregistry.c:
11768
11769 2005-09-15  Michael Smith <msmith@fluendo.com>
11770
11771         * gst/gstregistry.c: (gst_registry_get_feature_list):
11772           Implement this. Makes oggdemux work; decodebin still broken.
11773
11774 2005-09-14  David Schleef  <ds@schleef.org>
11775
11776         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11777           #316076)
11778         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11779         * gst/check/Makefile.am:
11780         * libs/gst/controller/Makefile.am:
11781         * libs/gst/dataprotocol/Makefile.am:
11782
11783 2005-09-14  David Schleef  <ds@schleef.org>
11784
11785         * configure.ac: Remove getbits library.  Nothing uses it, and
11786           it should be in something like liboil if someone did want
11787           to use it.
11788         * libs/gst/Makefile.am:
11789         * libs/gst/getbits/Makefile.am:
11790         * libs/gst/getbits/gbtest.c:
11791         * libs/gst/getbits/getbits.c:
11792         * libs/gst/getbits/getbits.h:
11793         * libs/gst/getbits/gstgetbits_generic.c:
11794         * libs/gst/getbits/gstgetbits_i386.s:
11795         * libs/gst/getbits/gstgetbits_inl.h:
11796
11797 2005-09-14  David Schleef  <ds@schleef.org>
11798
11799         * gst/Makefile.am: Dist glib-compat.h
11800
11801 2005-09-14  David Schleef  <ds@schleef.org>
11802
11803         * configure.ac: Remove gst/registries, since it's no longer used.
11804         * gst/registries/Makefile.am:
11805         * gst/registries/gstlibxmlregistry.c:
11806         * gst/registries/gstlibxmlregistry.h:
11807         * gst/registries/gstxmlregistry.c:
11808         * gst/registries/gstxmlregistry.h:
11809         * gst/registries/registrytest.c:
11810
11811 2005-09-14  David Schleef  <ds@schleef.org>
11812
11813         * gst/glib-compat.h:
11814         * gst/gstregistryxml.c:
11815           Convergence is near.  Seriously.
11816
11817 2005-09-14  David Schleef  <ds@schleef.org>
11818
11819         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11820         * gst/glib-compat.h:
11821           Attempt #4 to appease the buildbots.
11822
11823 2005-09-14  David Schleef  <ds@schleef.org>
11824
11825         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11826           Attempt #3.
11827
11828 2005-09-14  David Schleef  <ds@schleef.org>
11829
11830         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11831         Attempt #2.
11832
11833 2005-09-14  David Schleef  <ds@schleef.org>
11834
11835         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11836           the new functions.
11837
11838 2005-09-14  David Schleef  <ds@schleef.org>
11839
11840         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11841         * gst/glib-compat.h: Add some functions that are in newer versions
11842           of glib than we care to require.
11843         * gst/gstregistryxml.c: Use them.
11844
11845 2005-09-14  David Schleef  <ds@schleef.org>
11846
11847         * po/POTFILES.in: remove gst-register.c
11848
11849 2005-09-14  David Schleef  <ds@schleef.org>
11850
11851         * docs/gst/gstreamer-docs.sgml:
11852         * docs/gst/gstreamer-sections.txt:
11853         * docs/gst/gstreamer.types:
11854         * docs/gst/tmpl/gstelement.sgml:
11855         * docs/gst/tmpl/gstplugin.sgml:
11856         * docs/gst/tmpl/gstpluginfeature.sgml:
11857           Documentation updates for registry changes.
11858
11859 2005-09-14  David Schleef  <ds@schleef.org>
11860
11861         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11862           because we don't require glib-2.8.
11863
11864 2005-09-14  David Schleef  <ds@schleef.org>
11865
11866         * gst/gstregistryxml.c: Added.  Essentially moved out of the
11867           registries directory.
11868
11869 2005-09-14  David Schleef  <ds@schleef.org>
11870
11871         * check/Makefile.am:
11872         * check/generic/states.c:
11873         * gst/Makefile.am:
11874         * gst/gst.c:
11875         * gst/gst.h:
11876         * gst/gst_private.h:
11877         * gst/gstelementfactory.c:
11878         * gst/gstindex.c:
11879         * gst/gstinfo.c:
11880         * gst/gstplugin.c:
11881         * gst/gstplugin.h:
11882         * gst/gstpluginfeature.c:
11883         * gst/gstpluginfeature.h:
11884         * gst/gstregistry.c:
11885         * gst/gstregistry.h:
11886         * gst/gstregistrypool.c: remove
11887         * gst/gstregistrypool.h: remove
11888         * gst/gsttypefind.c:
11889         * gst/gsttypefindfactory.c:
11890         * gst/gsturi.c:
11891         * tools/Makefile.am:
11892         * tools/gst-compprep.c:
11893         * tools/gst-inspect.c:
11894         * tools/gst-register.c: remove
11895         * tools/gst-xmlinspect.c:
11896           Registry rewrite.  Changes registry from being a file created
11897           by a tool into a simple cache file created automatically by 
11898           libgstreamer.  Removed gst-register (because it's no longer
11899           needed).  Remove registry pools, because we only have one
11900           registry implementation (XML).  Fix up other subsystems as
11901           necessary.
11902
11903 2005-09-13  Michael Smith <msmith@fluendo.com>
11904
11905         * gst/gstconfig.h.in:
11906           Don't Use windows linking attributes for MinGW. Fixes #316157
11907
11908 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11909
11910         * gst/gstutils.c: (set_state_async_thread_func),
11911         (gst_element_set_state_async):
11912           Apparently people think it's better if this function doesn't
11913           try to set the state to whatever state was asked for on the first
11914           call to this function for any object.  Seriously.
11915
11916 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11917
11918         * check/gst/gstpipeline.c: (GST_START_TEST):
11919         * docs/gst/gstreamer-sections.txt:
11920         * gst/gstutils.c: (set_state_async_thread_func),
11921         (gst_element_set_state_async):
11922         * gst/gstutils.h:
11923           add a "gst_element_set_state_async" method that
11924           sets the state and starts a thread to make sure the state
11925           change completes as best as it can
11926
11927 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11928
11929         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11930           codify design+behaviour in testsuite after discussion
11931
11932 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11933
11934         * docs/gst/tmpl/gstelement.sgml:
11935         * docs/manual/appendix-quotes.xml:
11936           add a quote
11937         * gst/gstelement.c: (gst_element_set_state):
11938           add some debug
11939
11940 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
11941
11942         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11943         (gst_base_transform_prepare_output_buf),
11944         (gst_base_transform_handle_buffer):
11945         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11946         (gst_capsfilter_prepare_buf):
11947           Remove the requirement for sub-classes to call the parent
11948           implementation of prepare_output_buffer with a wrapper function.
11949           
11950         * gst/gsttaglist.h:
11951         * gst/gsttagsetter.h:
11952           Fix #define wrapper
11953
11954 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
11955
11956         * docs/gst/gstreamer-sections.txt:
11957           more doc cleanups
11958
11959 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11960
11961         * docs/gst/gstreamer-sections.txt:
11962         * docs/gst/tmpl/gstelement.sgml:
11963         * docs/gst/tmpl/gstplugin.sgml:
11964         * gst/gstminiobject.c:
11965         * gst/gstvalue.h:
11966           docs now stop throwing warnings
11967
11968 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11969
11970         * docs/gst/gstreamer-sections.txt:
11971         * docs/gst/gstreamer.types:
11972         * docs/gst/tmpl/gstpad.sgml:
11973         * docs/gst/tmpl/gsttypes.sgml:
11974         * gst/base/gstadapter.h:
11975         * gst/base/gstbasesink.h:
11976         * gst/base/gstbasesrc.h:
11977         * gst/gstbin.h:
11978         * gst/gstbuffer.h:
11979         * gst/gstbus.h:
11980         * gst/gstcaps.h:
11981         * gst/gstclock.h:
11982         * gst/gstelement.h:
11983         * gst/gstevent.h:
11984         * gst/gstmessage.h:
11985         * gst/gstpad.h:
11986         * gst/gststructure.c:
11987         * gst/registries/gstlibxmlregistry.h:
11988           various documentation fixes
11989
11990 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11991
11992         * docs/gst/gstreamer-sections.txt:
11993         * docs/gst/tmpl/gstvalue.sgml:
11994           rearrange gstvalue section
11995         * gst/gstutils.c: (gst_element_state_get_name):
11996           NONE -> VOID
11997         * gst/gstvalue.c: (_gst_value_initialize):
11998         * gst/gstvalue.h:
11999           doc updates
12000
12001 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
12002
12003         * check/gst-libs/controller.c:
12004           Header include fix.
12005         * gst/base/gstbasetransform.c:
12006         (gst_base_transform_default_prepare_buf),
12007         (gst_base_transform_handle_buffer):
12008         * gst/base/gstbasetransform.h:
12009           Some more basetransform changes and fixes to enable sub-classes
12010           that modify buffer metadata only.
12011         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12012         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
12013         (gst_capsfilter_prepare_buf):
12014           If the output pad has fixed allowed caps and input buffers 
12015           don't have any, set the fixed caps on outgoing buffers.
12016
12017 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
12018         * check/elements/identity.c: (GST_START_TEST):
12019           Make the error a little clearer when the test fails because
12020           identity made a copy of the buffer.
12021         * docs/gst/gstreamer-sections.txt:
12022           New symbols in gstbasetransform.h
12023         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12024         (gst_base_transform_init), (gst_base_transform_transform_size),
12025         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12026         (gst_base_transform_default_prepare_buf),
12027         (gst_base_transform_get_unit_size),
12028         (gst_base_transform_buffer_alloc),
12029         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12030         (gst_base_transform_change_state),
12031         (gst_base_transform_set_passthrough),
12032         (gst_base_transform_set_in_place),
12033         (gst_base_transform_is_in_place):
12034         * gst/base/gstbasetransform.h:
12035           Change BaseTransform to separate in_place operate from same_caps
12036           output. in_place implies that the element can perform the transform
12037           on incoming buffers in-place, even if the caps on the output are
12038           different.
12039           Sub-class elements can now implement special buffer allocation
12040           methods for outgoing buffers if they wish to.
12041           Big documentation addition.
12042         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
12043         * gst/elements/gstelements.c:
12044           Changes for basetransform modifications.
12045         * gst/elements/Makefile.am:
12046         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
12047           Compile fix. Extra debug output.
12048
12049 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12050
12051         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
12052         (gst_pad_suite):
12053           add tests for valid pad naming
12054         * gst/check/gstcheck.c: (gst_check_log_message_func),
12055         (gst_check_log_critical_func):
12056           add ASSERT_WARNING
12057           remove printing of code, it is fragile when the code contains
12058           % and the line number is enough info
12059         * gst/check/gstcheck.h:
12060         * gst/gstpad.c: (gst_pad_template_new):
12061           fix memleaks
12062
12063 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12064
12065         * configure.ac:
12066           say what CHECK flags we use
12067         * docs/libs/gstreamer-libs.types:
12068         * libs/gst/controller/Makefile.am:
12069         * libs/gst/controller/gst-controller.c:
12070         * libs/gst/controller/gst-controller.h:
12071         * libs/gst/controller/gst-helper.c:
12072         * libs/gst/controller/gst-interpolation.c:
12073         * libs/gst/controller/gstcontroller.c:
12074         * libs/gst/controller/gsthelper.c:
12075         * libs/gst/controller/gstinterpolation.c:
12076         * tools/gst-inspect.c: (print_plugin_info):
12077           we don't use dashes in header names
12078
12079 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12080
12081         * check/Makefile.am:
12082         * check/gst/.cvsignore:
12083         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
12084         (gst_pipeline_suite), (main):
12085           adding a test for pipelines and state changes
12086         * gst/gstutils.c: (get_state_func):
12087           add some debugging
12088         * gstreamer.spec.in:
12089           fix up spec file
12090
12091 2005-09-08  Michael Smith <msmith@fluendo.com>
12092
12093         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
12094         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
12095         (gst_file_src_is_seekable), (gst_file_src_get_size),
12096         (gst_file_src_start):
12097         * gst/elements/gstfilesrc.h:
12098           Various fixes for unseekable, unmmapable, and non-normal files, so
12099           that fallback to read() rather than mmap() works.
12100         * gst/gstevent.c: (gst_event_new_newsegment):
12101           Allow newsegment events with segment_start == segment_end, as will
12102           correctly happen if you use filesrc on a zero-size file, for
12103           example.
12104
12105 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
12106
12107         * gst/gstplugin.c: (gst_plugin_load_file):
12108           Call g_module_close when we don't load the module
12109
12110         * gst/registries/gstlibxmlregistry.c:
12111         (gst_xml_registry_get_property):
12112           Port leak fix from 0.8
12113
12114 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12115
12116         * docs/gst/gstreamer-docs.sgml:
12117         * docs/gst/tmpl/.cvsignore:
12118         * docs/gst/tmpl/gsttrace.sgml:
12119         * docs/gst/tmpl/gsttrashstack.sgml:
12120         * gst/Makefile.am:
12121         * gst/gst.h:
12122         * gst/gstelement.h:
12123         * gst/gstevent.h:
12124         * gst/gstmessage.c:
12125         * gst/gstmessage.h:
12126         * gst/gsttag.c:
12127         * gst/gsttag.h:
12128         * gst/gsttaginterface.c:
12129         * gst/gsttaginterface.h:
12130         * gst/gsttaglist.c:
12131         * gst/gsttaglist.h:
12132         * gst/gsttagsetter.c:
12133         * gst/gsttagsetter.h:
12134         * gst/gsttrace.c:
12135         * gst/gsttrace.h:
12136         * gst/gsttrashstack.c:
12137           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
12138           inlined docs for gsttrace, gsttrashstack
12139
12140 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12141
12142         * gst/Makefile.am:
12143         * gst/elements/gstbufferstore.h:
12144         * gst/elements/gsttypefindelement.c:
12145         * gst/elements/gsttypefindelement.h:
12146         * gst/gst.h:
12147         * gst/gsttypefind.c:
12148         * gst/gsttypefind.h:
12149         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
12150         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
12151         (gst_type_find_factory_dispose),
12152         (gst_type_find_factory_unload_thyself),
12153         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
12154         (gst_type_find_factory_get_caps),
12155         (gst_type_find_factory_get_extensions),
12156         (gst_type_find_factory_call_function):
12157         * gst/gsttypefindfactory.h:
12158         * gst/registries/gstlibxmlregistry.c:
12159         * gst/registries/gstxmlregistry.c:
12160           splitted gsttypefind into gsttypefind, gsttypefindfactory
12161
12162 2005-09-07  Andy Wingo  <wingo@pobox.com>
12163
12164         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
12165         condition whereby the pad's task function is entered before the
12166         pad_mode variable was set.
12167
12168 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
12169
12170         * gst/gstpad.c: (gst_pad_alloc_buffer):
12171           Catch misbehaving pad_alloc functions that don't
12172           set up caps and do it for them.
12173
12174 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12175
12176         * check/pipelines/simple_launch_lines.c: (run_pipeline):
12177           test for pipe!=NULL
12178         * docs/gst/tmpl/.cvsignore:
12179         * docs/gst/tmpl/gstmemchunk.sgml:
12180         * docs/gst/tmpl/gstparse.sgml:
12181         * docs/gst/tmpl/gsttaglist.sgml:
12182         * docs/gst/tmpl/gsttagsetter.sgml:
12183         * docs/gst/tmpl/gsttypefind.sgml:
12184         * docs/gst/tmpl/gsttypefindfactory.sgml:
12185         * gst/gstmemchunk.c:
12186         * gst/gstparse.c:
12187         * gst/gsttag.c:
12188         * gst/gsttaginterface.c:
12189         * gst/gsttypefind.c:
12190         * gst/gsttypefind.h:
12191           inlined more docs
12192
12193 === release 0.9.2 ===
12194
12195 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12196
12197         * NEWS:
12198         * RELEASE:
12199         * configure.ac:
12200           releasing 0.9.2, "South"
12201
12202 2005-09-05  Andy Wingo  <wingo@pobox.com>
12203
12204         * gst/registries/gstxmlregistry.h:
12205         * gst/registries/gstxmlregistry.c: Um... resurrect...
12206         
12207         * gst/registries/gstxmlregistry.h:
12208         * gst/registries/gstxmlregistry.c: and update to newer API.
12209         Incidentally they should be a bit faster now that they don't have
12210         to parse the caps.
12211         
12212 2005-09-05  Andy Wingo  <wingo@pobox.com>
12213
12214         * gst/registries/gstxmlregistry.h:
12215         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
12216         replaced by the libxml registry a while back
12217
12218 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12219
12220         * docs/gst/tmpl/gstplugin.sgml:
12221         * gst/elements/gstelements.c:
12222         * gst/gst.c:
12223         * gst/gstplugin.c: (gst_plugin_register_func),
12224         (gst_plugin_desc_copy), (gst_plugin_desc_free),
12225         (gst_plugin_get_source):
12226         * gst/gstplugin.h:
12227         * gst/registries/gstlibxmlregistry.c: (load_plugin),
12228         (gst_xml_registry_save_plugin):
12229         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
12230         (gst_xml_registry_save_plugin):
12231         * tools/gst-inspect.c: (print_plugin_info):
12232           add a "source" plugin description field, to represent the source
12233           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
12234           will set it to PACKAGE, which is automake's idea of the name of
12235           the source project.
12236
12237 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12238
12239         * Makefile.am:
12240         * autogen.sh:
12241         * configure.ac:
12242         * docs/Makefile.am:
12243         * docs/faq/Makefile.am:
12244         * docs/gst/tmpl/gstelement.sgml:
12245         * docs/gst/tmpl/gsttypes.sgml:
12246         * docs/htmlinstall.mak:
12247         * docs/manual/Makefile.am:
12248         * docs/pwg/Makefile.am:
12249           reorganize doc build a little
12250           split out docbook and gtk-doc stuff
12251           have two separate --enable's and enable them through autogen
12252           but disable by default in configure (to be similar to other
12253           projects)
12254         * gstreamer.spec.in:
12255           clean up docs install
12256         * po/af.po:
12257         * po/az.po:
12258         * po/ca.po:
12259         * po/cs.po:
12260         * po/de.po:
12261         * po/en_GB.po:
12262         * po/fr.po:
12263         * po/it.po:
12264         * po/nb.po:
12265         * po/nl.po:
12266         * po/ru.po:
12267         * po/sq.po:
12268         * po/sr.po:
12269         * po/sv.po:
12270         * po/tr.po:
12271         * po/uk.po:
12272         * po/vi.po:
12273           translation updates
12274
12275 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12276
12277         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
12278           Add comment.
12279           
12280         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12281         (gst_fake_sink_change_state):
12282           Make state change function thread-safe.
12283           
12284         * gst/gstpad.c: (gst_pad_alloc_buffer):
12285           Set offset on generic buffer allocated by fallback.
12286
12287 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
12288
12289         * docs/gst/gstreamer-sections.txt:
12290         * docs/gst/tmpl/gstelement.sgml:
12291         * gst/gstpad.c:
12292         * libs/gst/controller/gst-controller.c:
12293         (gst_controlled_property_set_interpolation_mode),
12294         (gst_controlled_property_new),
12295         (gst_controller_find_controlled_property):
12296          run the wingo-magic script against the docs
12297
12298 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
12299
12300         * docs/gst/gstreamer-docs.sgml:
12301         * docs/gst/gstreamer-sections.txt:
12302         * docs/gst/tmpl/.cvsignore:
12303         * docs/gst/tmpl/gstelementdetails.sgml:
12304         * docs/gst/tmpl/gstelementfactory.sgml:
12305         * gst/gst.c:
12306         * gst/gstbus.c:
12307         * gst/gstelementfactory.c:
12308         * gst/gstelementfactory.h:
12309           merged elementdetails docs into elementfactory docs
12310           inlined both
12311
12312 2005-09-02  Andy Wingo  <wingo@pobox.com>
12313
12314         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
12315         consider this enum an enum and not a flags.
12316
12317 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
12318
12319         * docs/gst/gstreamer-docs.sgml:
12320         * docs/gst/tmpl/.cvsignore:
12321         * docs/gst/tmpl/gstghostpad.sgml:
12322         * docs/gst/tmpl/gstiterator.sgml:
12323         * docs/gst/tmpl/gstmacros.sgml:
12324         * docs/gst/tmpl/gstrealpad.sgml:
12325         * docs/gst/tmpl/gstregistry.sgml:
12326         * docs/gst/tmpl/gstregistrypool.sgml:
12327         * docs/gst/tmpl/gststructure.sgml:
12328         * docs/gst/tmpl/gstsystemclock.sgml:
12329         * docs/gst/tmpl/gsttrace.sgml:
12330         * gst/gstghostpad.c:
12331         * gst/gstmacros.h:
12332         * gst/gstmemchunk.c:
12333         * gst/gstmemchunk.h:
12334         * gst/gstqueue.c:
12335         * gst/gstregistry.c:
12336         * gst/gstregistrypool.c:
12337         * gst/gststructure.c:
12338         * gst/gstsystemclock.c:
12339           more docs inlined
12340
12341 2005-09-02  Andy Wingo  <wingo@pobox.com>
12342
12343         * gst/gstelement.h (GstState): Renamed from GstElementState,
12344         changed to be a normal enum instead of flags.
12345         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
12346         munged to be GST_STATE_CHANGE_*.
12347         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
12348         work with the new state representation.
12349         (GstStateChange): New enumeration of possible state transitions.
12350         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
12351         (GstElementClass::change_state): Pass the GstStateChange along as
12352         an argument. Helps language bindings, so they don't have to use
12353         tricky lock-needing macros like GST_STATE_CHANGE ().
12354
12355         * scripts/update-states (file): New script. Run it on a file to
12356         update it for state naming and API changes. Updates files in
12357         place.
12358
12359         * All files updated for the new API.
12360
12361 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12362
12363         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
12364         * gst/gstutils.c: (gst_util_set_value_from_string),
12365         (gst_util_set_object_arg):
12366           fix a bunch of unchecked return values
12367         * tools/gst-complete.c: (main):
12368         * gstreamer.spec.in:
12369           clean up a little
12370
12371 2005-09-01  Wim Taymans  <wim@fluendo.com>
12372
12373         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12374         (gst_base_sink_event), (gst_base_sink_do_sync),
12375         (gst_base_sink_handle_event):
12376         * gst/base/gstbasesink.h:
12377         Handle newsegments more correctly.
12378
12379         * gst/gstbus.c:
12380         Fix docs.
12381
12382         * gst/gstevent.c: (gst_event_new_newsegment):
12383         A newsegment cannot have a start_time of -1
12384
12385 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12386
12387         * win32/gstenumtypes.c:
12388         * win32/gstenumtypes.h:
12389           Update
12390
12391 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12392
12393         * libs/gst/controller/gst-controller.c:
12394         (gst_controlled_property_set_interpolation_mode),
12395         (gst_controlled_property_new):
12396          fixed boolean again
12397
12398 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12399
12400         * docs/faq/gst-uninstalled:
12401           add -good
12402         * gst/gstevent.c:
12403         * gst/gstevent.h:
12404           remove wrong docs
12405         * gst/gstutils.c: (gst_element_link_filtered):
12406         * gst/gstutils.h:
12407           add gst_element_link_filtered
12408
12409 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12410
12411         * docs/gst/gstreamer-docs.sgml:
12412         * docs/gst/gstreamer-sections.txt:
12413         * docs/gst/tmpl/.cvsignore:
12414         * docs/gst/tmpl/gsterror.sgml:
12415         * docs/gst/tmpl/gstfilter.sgml:
12416         * docs/gst/tmpl/gsturihandler.sgml:
12417         * docs/gst/tmpl/gsturitype.sgml:
12418         * docs/gst/tmpl/gstutils.sgml:
12419         * docs/gst/tmpl/gstxml.sgml:
12420         * gst/gsterror.c:
12421         * gst/gsterror.h:
12422         * gst/gstfilter.c:
12423         * gst/gsturi.c:
12424         * gst/gsturitype.c:
12425         * gst/gstutils.c:
12426         * gst/gstxml.c:
12427           inlined more docs, fixed double id-ref
12428
12429 2005-08-31  Wim Taymans  <wim@fluendo.com>
12430
12431         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12432         (gst_base_transform_handle_buffer):
12433         Passthrough elements don't need the caps as they don't care.
12434
12435 2005-08-31  Wim Taymans  <wim@fluendo.com>
12436
12437         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12438         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12439         Don't leak refcounts on buffers.
12440
12441 2005-08-31  Wim Taymans  <wim@fluendo.com>
12442
12443         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12444         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12445         (gst_base_transform_chain), (gst_base_transform_change_state):
12446         * gst/base/gstbasetransform.h:
12447         Handle the case where we are not negotiated more gracefully.
12448
12449 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
12450
12451         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12452         (gst_file_src_map_region):
12453           Set READONLY flag on mmap'ed buffers, otherwise
12454           gst_buffer_make_writable() won't work properly (#314708).
12455
12456 2005-08-31  Wim Taymans  <wim@fluendo.com>
12457
12458         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12459         passthrough elements can even do inplace on non writable
12460         buffers (as they don't touch them).
12461
12462 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12463
12464         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12465         (gst_test_mono_source_set_property),
12466         (gst_test_mono_source_class_init), (GST_START_TEST),
12467         (gst_controller_suite):
12468           more tests (hehe I have the most)
12469         * gst/gstbus.c:
12470           describe popping messages whenusing mulltiple sources
12471         * libs/gst/controller/gst-controller.c:
12472         (gst_controlled_property_set_interpolation_mode),
12473         (gst_controlled_property_new):
12474         * libs/gst/controller/gst-controller.h:
12475         * libs/gst/controller/gst-interpolation.c:
12476           implement boolean properties
12477
12478 2005-08-31  Wim Taymans  <wim@fluendo.com>
12479
12480         * gst/gstminiobject.c: (gst_mini_object_ref):
12481         Cannot assert that the refcount has to be positive
12482         since a disposed object can be resurrected.
12483
12484 2005-08-31  Wim Taymans  <wim@fluendo.com>
12485
12486         * gst/gstpad.c: (gst_pad_init):
12487         Revert change, need to first fix badly behaving 
12488         apps.
12489
12490 2005-08-30  Wim Taymans  <wim@fluendo.com>
12491
12492         * check/elements/fakesrc.c: (setup_fakesrc):
12493         * check/elements/identity.c: (setup_identity):
12494         Activate pads before using them.
12495
12496 2005-08-30  Wim Taymans  <wim@fluendo.com>
12497
12498         * gst/base/gstadapter.c: (gst_adapter_flush):
12499         Flushing out 0 bytes is ok for this function.
12500
12501         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12502         no newsegment gives a warning and sets the start/stop to 
12503         invalid.
12504
12505         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12506         (gst_base_transform_set_passthrough):
12507         Some debug info.
12508
12509         * gst/gstminiobject.c: (gst_mini_object_ref):
12510         Check refcount here too.
12511
12512         * gst/gstpad.c: (gst_pad_init):
12513         Pads are initially flushing and refusing data.
12514
12515         * gst/gstutils.c: (gst_element_link_pads_filtered):
12516         When adding a capsfilter element make sure it has the
12517         same state as the parent bin.
12518
12519 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12520
12521         * docs/gst/tmpl/.cvsignore:
12522         * docs/gst/tmpl/gstformat.sgml:
12523         * docs/gst/tmpl/gstversion.sgml:
12524         * gst/gstbus.h:
12525         * gst/gstformat.c:
12526         * gst/gstformat.h:
12527         * gst/gstversion.h.in:
12528           more docs and two more inlined
12529
12530 2005-08-30  Wim Taymans  <wim@fluendo.com>
12531
12532         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12533         Don't sync to clock.
12534
12535 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12536
12537         * docs/gst/gstreamer-sections.txt:
12538           ultral33t func10ns deserve to appear in the docs actually
12539         * docs/gst/tmpl/.cvsignore:
12540         * docs/gst/tmpl/gstcompat.sgml:
12541         * docs/gst/tmpl/gstconfig.sgml:
12542         * gst/check/gstcheck.c:
12543         * gst/gstcompat.h:
12544         * gst/gstconfig.h.in:
12545           inlined more docs
12546
12547 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12548
12549         * docs/gst/tmpl/.cvsignore:
12550         * docs/gst/tmpl/gstquery.sgml:
12551         * docs/gst/tmpl/gstutils.sgml:
12552         * gst/gstquery.c:
12553         * gst/gstquery.h:
12554           inlined and extended docs
12555
12556 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12557
12558         * check/gst-libs/controller.c: (GST_START_TEST),
12559         (gst_controller_suite):
12560           more tests
12561         * docs/gst/tmpl/gstutils.sgml:
12562         * docs/libs/gstreamer-libs-sections.txt:
12563         * docs/libs/tmpl/gstdataprotocol.sgml:
12564           include path fixes
12565         * examples/controller/audio-example.c: (main):
12566           controller example works now
12567         * gst/gstclock.h:
12568           doc fixes
12569         * tools/gst-inspect.c: (print_element_properties_info):
12570           show param spec flags
12571
12572 2005-08-29  Andy Wingo  <wingo@pobox.com>
12573
12574         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12575
12576 2005-08-28  Andy Wingo  <wingo@pobox.com>
12577
12578         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12579         as having two arguments instead of just one. Allows superclasses
12580         to access information on subclasses -- see the terrible for() loop
12581         in gtype.c:g_type_create_instance for the reason why. All callers
12582         changed.
12583
12584 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12585
12586         * docs/design/part-messages.txt:
12587           update info
12588         * docs/gst/tmpl/.cvsignore:
12589         * docs/gst/tmpl/gstcaps.sgml:
12590         * docs/gst/tmpl/gstclock.sgml:
12591         * gst/gstbus.c:
12592         * gst/gstcaps.c:
12593         * gst/gstcaps.h:
12594         * gst/gstclock.c:
12595         * gst/gstclock.h:
12596         * gst/gstmessage.c:
12597           added descriptions for bus and message
12598           inline caps and clock docs
12599
12600 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12601
12602         * gst/gstmessage.c:
12603         * gst/gstmessage.h:
12604           doc fixes
12605
12606 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12607
12608         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12609           fix div-by-zero
12610
12611 2005-08-26  Andy Wingo  <wingo@pobox.com>
12612
12613         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12614         element_set_state's return val.
12615         (test_2_elements): Add test that's been disabled for months.
12616
12617         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12618         can-activate-pull properties.
12619
12620         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12621         can-activate-pull properties. Implement is_seekable so fakesrc can
12622         operate in pull mode.
12623
12624         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12625         properties.
12626         (gst_base_sink_activate, gst_base_sink_activate_pull)
12627         (gst_base_sink_activate_push): Make activation mode choosing work.
12628         Cleanups.
12629         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12630         is right. Make pull mode work. Post an eos before pausing in pull
12631         mode.
12632         (gst_base_sink_change_state): Pay attention to the core's
12633         change_state() return val.
12634         
12635         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12636         has-getrange properties. Cleanups.
12637         
12638         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12639         has_getrange and replace with can_activate_pull and
12640         can_activate_push.
12641
12642         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12643         locking comments. Remove has_loop, has_chain and replace with
12644         can_activate_pull and can_activate_push.
12645
12646 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
12647
12648         * configure.ac:
12649         * examples/Makefile.am:
12650         * examples/metadata/Makefile.am:
12651         * examples/metadata/read-metadata.c: (message_loop),
12652         (have_pad_handler), (make_pipeline), (print_tag), (main):
12653           Add metadata reading example that loops over a list of filenames,
12654           dumping any tags found.
12655
12656         * gst/gstbus.c: (gst_bus_dispose):
12657         * gst/gstelement.c: (gst_element_dispose):
12658           Release a few potentially-held references in dispose.
12659
12660 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12661
12662         * docs/gst/tmpl/gstminiobject.sgml:
12663           do *not* add tmpl/*.sgml files to CVS!
12664
12665 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12666
12667         * libs/gst/bytestream/.cvsignore:
12668         * libs/gst/bytestream/Makefile.am:
12669         * libs/gst/bytestream/adapter.c:
12670         * libs/gst/bytestream/adapter.h:
12671         * libs/gst/bytestream/bytestream.c:
12672         * libs/gst/bytestream/bytestream.h:
12673         * libs/gst/bytestream/filepad.c:
12674         * libs/gst/bytestream/filepad.h:
12675           removing obsolete files
12676
12677 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12678
12679         * docs/gst/gstreamer-docs.sgml:
12680         * docs/libs/gstreamer-libs-docs.sgml:
12681           disabed additional index entries again, as this makes docs-gen just
12682           slow and they aren't useful yet
12683         * docs/libs/gstreamer-libs-sections.txt:
12684           little -section.txt cleanup for libs
12685
12686 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12687
12688         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12689         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12690           fix up some debugging
12691         (gst_base_transform_get_unit_size),
12692         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12693         (gst_base_transform_handle_buffer):
12694         * gst/base/gstbasetransform.h:
12695           handle and store timed NEWSEGMENT events so that subclasses that
12696           calculate time by counting samples have a segment_start time they
12697           need to add to their timestamps - see audioresample
12698
12699 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12700
12701         * gst/gstbin.h:
12702           removed ';' from the end of macro defs
12703         * docs/gst/gstreamer-docs.sgml:
12704         * docs/gst/gstreamer-sections.txt:
12705         * docs/gst/tmpl/.cvsignore:
12706         * gst/gstbus.h:
12707         * gst/gstelement.c: (gst_element_class_init),
12708         (gst_element_set_state), (activate_pads),
12709         (gst_element_save_thyself):
12710         * gst/gstevent.c: (gst_event_new_newsegment):
12711         * gst/gstevent.h:
12712         * gst/gstiterator.c:
12713         * gst/gstiterator.h:
12714         * gst/gstpad.c:
12715         * gst/gstprobe.h:
12716         * gst/gstutils.c: (gst_pad_query_convert):
12717         * gst/gstutils.h:
12718           fixed parameter name mismatches between source, header and docs
12719           added some more docs, resolved the last batch of unused elements in
12720           docs (now someone needs to doc them)
12721
12722 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12723
12724         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12725         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12726           don't walk through the plugins backwards.  Where is all this
12727           reversed logic coming from ?
12728
12729 2005-08-25  Wim Taymans  <wim@fluendo.com>
12730
12731         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12732         (gst_base_transform_transform_size),
12733         (gst_base_transform_configure_caps),
12734         (gst_base_transform_get_unit_size),
12735         (gst_base_transform_buffer_alloc),
12736         (gst_base_transform_change_state):
12737         * gst/base/gstbasetransform.h:
12738         Cache caps unit_size.
12739         Make sure we cannot negotiate up and downstream at the
12740         same time.
12741
12742 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12743
12744         * gst/gst.c: (init_pre), (init_post):
12745           register the installed plugin path after the env var
12746         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12747         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12748           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12749           directories, so the tests can prefer uninstalled over installed
12750
12751 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12752
12753         * gst/base/gstbasetransform.h:
12754           comment
12755         * gst/gstpad.c:
12756           add to docs
12757
12758 2005-08-25  Wim Taymans  <wim@fluendo.com>
12759
12760         * gst/gstbin.c: (bin_bus_handler):
12761         Be a bit more conservative about the posted message.
12762         
12763         * gst/gstbus.c: (gst_bus_post):
12764         Some cleanups, warn wrong return values.
12765
12766 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
12767
12768         * check/gst/gstbin.c: (GST_START_TEST):
12769         * gst/gstbin.c: (bin_bus_handler):
12770         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12771         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12772         (gst_message_new_warning), (gst_message_new_tag),
12773         (gst_message_new_state_changed), (gst_message_new_segment_start),
12774         (gst_message_new_segment_done), (gst_message_new_custom):
12775         * gst/gstmessage.h:
12776         * tools/gst-launch.c: (event_loop):
12777         * tools/gst-md5sum.c: (event_loop):
12778           Revert unpopular change for GST_MESSAGE_SRC to GObject.
12779
12780 2005-08-25  Wim Taymans  <wim@fluendo.com>
12781
12782         * check/generic/states.c: (GST_START_TEST):
12783         Cleanup can be done at the end.
12784
12785         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12786         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12787         (gst_task_get_state), (gst_task_start), (gst_task_pause):
12788         Oh boy.. Thanks for finding this, Thomas. 
12789
12790 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12791
12792         * docs/gst/gstreamer.types:
12793           added missing types
12794
12795 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12796
12797         * docs/gst/gstreamer-docs.sgml:
12798         * docs/gst/gstreamer-sections.txt:
12799         * docs/gst/tmpl/.cvsignore:
12800         * gst/gstbin.c:
12801         * gst/gstiterator.c:
12802         * gst/gstutils.c:
12803         * gst/registries/gstxmlregistry.h:
12804           added missing classes and symbols (123 more to go)
12805           removed removed symbols from section file
12806           fixed many doc-comments
12807
12808 2005-08-24  Wim Taymans  <wim@fluendo.com>
12809
12810         * check/generic/states.c: (GST_START_TEST):
12811         Make sure all tasks are stopped.
12812
12813         * check/gst/gstbin.c: (GST_START_TEST):
12814         Unref after usage for proper valgrinding.
12815
12816         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12817         Really wait for the task to stop before destroying the
12818         mutex.
12819
12820         * gst/gstqueue.c: (gst_queue_sink_activate_push),
12821         (gst_queue_src_activate_push):
12822         Small cleanups. Don't stop the task when we did not start
12823         it.
12824
12825         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12826         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12827         (gst_task_get_state), (gst_task_start), (gst_task_pause),
12828         (gst_task_join):
12829         * gst/gsttask.h:
12830         Protect the stream lock with the object lock.
12831         Disallow setting the stream lock when running.
12832         Add cleanup_all to wait for the threadpool to finish.
12833         Remove code to autoallocate a mutex if none was provided.
12834         Add _join() to wait for a task to stop.
12835         Protect the thread pool with a global lock.
12836
12837 2005-08-24  Wim Taymans  <wim@fluendo.com>
12838
12839         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12840         (gst_base_sink_get_times), (gst_base_sink_do_sync),
12841         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12842         * gst/base/gstbasesink.h:
12843         Handle newsegment events correctly.
12844         Drop buffers out of the segment range.
12845
12846 2005-08-22  Andy Wingo  <wingo@pobox.com>
12847
12848         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12849         macro, implements an interface and gstimplementsinterface for a
12850         new type.
12851
12852 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12853
12854         * check/Makefile.am:
12855         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12856           add a test that does a bunch of state changes on elements
12857           needs some fixing for valgrind
12858         * check/states/sinks.c: (gst_object_suite):
12859           whitespace
12860         * gst/gstcaps.h:
12861           add prototype for gst_caps_is_equal_fixed
12862         * gst/gstplugin.c:
12863         * gst/gstregistrypool.c:
12864           doc fixes
12865
12866 2005-08-24  Andy Wingo  <wingo@pobox.com>
12867
12868         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12869         convert a negative value. Doesn't make much sense. Mostly this is
12870         here to force callers to ensure -1 maps to -1.
12871
12872 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12873
12874         * docs/pwg/advanced-types.xml:
12875           Well done to Michael for catching my deliberate introduction
12876           of this spelling mistake. 
12877         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12878         * gst/gstelement.h:
12879           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12880           unlink pads before removing the element from the bin.
12881
12882 2005-08-24  Andy Wingo  <wingo@pobox.com>
12883
12884         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12885         the same thing as GST_DEBUG=*:4.
12886         (parse_debug_level, parse_debug_category): New helper parsers.
12887
12888 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12889
12890         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12891         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12892         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12893         (gst_base_transform_buffer_alloc),
12894         (gst_base_transform_handle_buffer):
12895           use gboolean return values and pointers to size so we can use the
12896           full GST_BUFFER_SIZE range (guint) for buffer sizes
12897           use GstPadDirection for transform_caps
12898         * gst/base/gstbasetransform.h:
12899           rename get_size to get_unit_size since that's what it is
12900         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12901           use GstPadDirection for transform_caps
12902         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12903         * gst/gstutils.h:
12904           cleanup and debugging
12905
12906 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12907
12908         * gst/gstelement.c: (gst_element_class_init),
12909         (gst_element_set_state), (activate_pads),
12910         (gst_element_save_thyself):
12911         * tools/gst-compprep.c: (main):
12912         * tools/gst-inspect.c: (print_element_properties_info):
12913         * tools/gst-xmlinspect.c: (print_element_properties):
12914           Fixed long standing mem-leak
12915
12916 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12917
12918         * check/gst/gstbin.c: (GST_START_TEST):
12919         * gst/gstbin.c: (bin_bus_handler):
12920         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12921         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12922         (gst_message_new_warning), (gst_message_new_tag),
12923         (gst_message_new_state_changed), (gst_message_new_segment_start),
12924         (gst_message_new_segment_done), (gst_message_new_custom):
12925         * gst/gstmessage.h:
12926         * tools/gst-launch.c: (event_loop):
12927         * tools/gst-md5sum.c: (event_loop):
12928           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12929           that applications can sensibly post custom messages with references
12930           to their own objects.
12931
12932 2005-08-24  Andy Wingo  <wingo@pobox.com>
12933
12934         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12935         already.
12936
12937 2005-08-24  Wim Taymans  <wim@fluendo.com>
12938
12939         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12940         (gst_base_transform_transform_caps),
12941         (gst_base_transform_transform_size),
12942         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12943         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12944         (gst_base_transform_handle_buffer):
12945         * gst/base/gstbasetransform.h:
12946         Many fixes and new features added by Thomas. Can now also do
12947         transforms with variable sizes and a custom fixate_caps function.
12948
12949 2005-08-24  Wim Taymans  <wim@fluendo.com>
12950
12951         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12952         Some debugging.
12953
12954         * gst/gstclock.h:
12955         Cast to ClockTime before formatting to time.
12956
12957         * gst/gstutils.h:
12958         Cleanups.
12959
12960 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12961
12962         * check/gst-libs/controller.c: (GST_START_TEST),
12963         (gst_controller_suite):
12964         * docs/gst/tmpl/gstcaps.sgml:
12965         * docs/gst/tmpl/gstghostpad.sgml:
12966         * docs/gst/tmpl/gstquery.sgml:
12967         * docs/gst/tmpl/gstutils.sgml:
12968         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12969         (gst_object_sink_values), (gst_object_get_value_arrays),
12970         (gst_object_get_value_array):
12971           gracefully handle helper method calls to objects that are not beeing
12972           controlled, added test case for that          
12973
12974 2005-08-23  Wim Taymans  <wim@fluendo.com>
12975
12976         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12977         (gst_event_new_newsegment), (gst_event_parse_newsegment),
12978         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12979         (gst_event_parse_qos), (gst_event_new_seek),
12980         (gst_event_parse_seek):
12981         * gst/gstevent.h:
12982         Some more debugging output and doc cleanups.
12983
12984         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12985         Fix possible deadlock.
12986
12987 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12988
12989         * docs/gst/gstreamer-docs.sgml:
12990         * docs/gst/gstreamer-sections.txt:
12991         * docs/gst/gstreamer.types:
12992         * docs/gst/tmpl/.cvsignore:
12993         * gst/gstbin.h:
12994         * gst/gstbus.c:
12995         * gst/gstelement.c:
12996         * gst/gstevent.h:
12997           added 100 symbols from gstreamer-unused.txt to the right sections
12998           fixed more broken comments
12999           added GstBus to docs
13000
13001 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13002
13003         * docs/gst/gstreamer-sections.txt:
13004         * docs/gst/tmpl/.cvsignore:
13005         * docs/gst/tmpl/gstbin.sgml:
13006         * docs/gst/tmpl/gstbuffer.sgml:
13007         * gst/base/gstbasesrc.c:
13008         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
13009         * gst/gstbuffer.c:
13010         * gst/gstbuffer.h:
13011         * tools/gst-launch.1.in:
13012           inlined more doc comments, added missing comments and fixed comments
13013           fixed typos
13014
13015 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13016
13017         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13018           some debugging
13019         * gst/gstcaps.h:
13020           whitespace fixes
13021         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
13022           more debugging
13023         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
13024         * gst/gststructure.h:
13025           add a fixate function for booleans; add a FIXME that these func
13026           names should probably be gst_structure_fixate_*
13027
13028 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13029
13030         * docs/gst/gstreamer-docs.sgml:
13031         * docs/gst/gstreamer-sections.txt:
13032         * gst/Makefile.am:
13033         * gst/gstbin.c: (gst_bin_get_type),
13034         (gst_bin_child_proxy_get_child_by_index),
13035         (gst_bin_child_proxy_get_children_count),
13036         (gst_bin_child_proxy_init):
13037         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13038         (gst_child_proxy_get_child_by_index),
13039         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
13040         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
13041         (gst_child_proxy_get), (gst_child_proxy_set_property),
13042         (gst_child_proxy_set_valist), (gst_child_proxy_set),
13043         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
13044         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
13045         * gst/gstchildproxy.h:
13046         * gst/parse/grammar.y:
13047         * tools/gst-inspect.c: (print_interfaces),
13048         (print_element_properties_info), (print_element_info):
13049           ported gstchildproxy over from 0.8
13050           ported gst-inspect fixes and enhancements over from 0.8
13051
13052 2005-08-22  Wim Taymans  <wim@fluendo.com>
13053
13054         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13055         (gst_base_transform_handle_buffer):
13056         Also call the transform function if we have ANY caps.
13057
13058         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
13059         Fix debug info.
13060
13061 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
13062
13063         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
13064           Don't pretend to handle seek events if the source is not seekable
13065
13066 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
13067
13068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13069           Remove extra parameter to debug output
13070
13071         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13072         (gst_base_src_do_seek), (gst_base_src_activate_push):
13073           Fix seek event handling.
13074
13075         * gst/gstpipeline.c: (gst_pipeline_change_state):
13076         * gst/gstqueue.c: (gst_queue_handle_sink_event),
13077         (gst_queue_src_activate_push):
13078           Don't start the src pad task on FLUSH_STOP if the pad
13079           isn't linked.
13080           Debug changes.
13081
13082 2005-08-22  Wim Taymans  <wim@fluendo.com>
13083
13084         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13085         Added check for gst_static_caps_get() refcounting.
13086
13087 2005-08-22  Wim Taymans  <wim@fluendo.com>
13088
13089         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
13090         Make _static_caps_get() refcounting sane.
13091         
13092         * gst/gstelement.c: (gst_element_set_state):
13093         Add g_return_val_if_fail() to protect against segfaults.
13094
13095 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
13096
13097         * docs/gst/tmpl/gstevent.sgml:
13098         * gst/gstevent.c:
13099         * gst/gstevent.h:
13100           inlined remaining docs, added missing doc comments
13101
13102 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13103
13104         * check/gst/gstbin.c: (GST_START_TEST):
13105           since we don't know when preroll is done, use refcount range
13106           check for the sink
13107         * gst/check/gstcheck.h:
13108           add macro for checking refcount range
13109
13110 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13111
13112         * check/Makefile.am:
13113           clean up environment for when registry gets built versus
13114           when actual tests are run; valgrind seems to not report
13115           leaks if GST_PLUGIN_PATH is set to some specific values
13116         * check/gst/gstbin.c: (GST_START_TEST):
13117           add more refcounting checks; maybe this exposes a
13118           preroll lock bug ?
13119         * common/check.mak:
13120         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13121         * gst/check/gstcheck.h:
13122         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
13123         (gst_bin_change_state):
13124         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
13125           add/fix debugging/whitespace
13126
13127 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
13128
13129         * check/gst/gstevent.c: (event_probe), (test_event),
13130         (GST_START_TEST):
13131          Er, don't call gst_bin_watch_for_state_change you idiot.
13132
13133 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
13134
13135         * check/Makefile.am:
13136           Use CHECK_CFLAGS and CHECK_LIBS
13137         * check/gst/gstevent.c: (event_probe), (test_event),
13138         (GST_START_TEST):
13139           Don't leak events.
13140         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13141         (gst_base_src_start), (gst_base_src_stop),
13142         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13143         (gst_base_src_change_state):
13144           Sprinkle gst_base_src_stop liberally around error paths to fix
13145           problems reusing a source after failed state changes.
13146         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13147         (helper_find_suggest), (gst_type_find_helper):
13148           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
13149         * gst/gstevent.h:
13150         * docs/gst/tmpl/gstevent.sgml:
13151           Migrate part of the docs from the SGML file. Wait for ensonic to
13152           tell me how I did it wrong ;)
13153         * tools/gst-typefind.c: (main):
13154           Extra robustness to state changes between files.
13155
13156 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13157
13158         * check/Makefile.am:
13159           don't valgrind the controller test - it's leaking - Stefan, HELP
13160         * gst/check/gstcheck.c: (gst_check_message_error),
13161         (gst_check_chain_func), (gst_check_setup_element),
13162         (gst_check_teardown_element), (gst_check_setup_src_pad),
13163         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
13164         (gst_check_teardown_sink_pad):
13165         * gst/check/gstcheck.h:
13166           add a bunch of methods to set up elements, and src and sink pads
13167         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
13168         * check/elements/identity.c: (setup_identity), (cleanup_identity),
13169         (GST_START_TEST):
13170           use them
13171         * gst/gstmessage.c:
13172         * gst/gsttag.h:
13173           whitespace/doc fixes
13174
13175 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13176
13177         * gst/gstelement.h:
13178           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
13179           be handled by the application and not always printed as well
13180
13181 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13182
13183         * check/Makefile.am:
13184           set GST_TOOLS_DIR
13185         * gst/check/gstcheck.c: (gst_check_message_error):
13186         * gst/check/gstcheck.h:
13187           add a fail_unless_equals_int
13188           add fail_unless for error messages
13189
13190 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13191
13192         * check/Makefile.am:
13193         * check/gst.supp:
13194         * common/Makefile.am:
13195         * common/check.mak:
13196         * common/gst.supp:
13197           factor out some of the common stuff so we can use it
13198
13199 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13200
13201         * check/Makefile.am:
13202         * check/gst/gstiterator.c: (GST_START_TEST):
13203         * check/gst/gstsystemclock.c: (GST_START_TEST),
13204         (gst_systemclock_suite):
13205         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13206         * gst/gstclock.c:
13207           valgrind more tests
13208
13209 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13210
13211         * check/elements/.cvsignore:
13212         * check/elements/gstfakesrc.c:
13213           rename to name of element
13214         * check/elements/identity.c: (chain_func), (event_func),
13215         (setup_identity), (cleanup_identity), (GST_START_TEST),
13216         (identity_suite), (main):
13217           add a test for identity
13218         * check/Makefile.am:
13219         * pkgconfig/Makefile.am:
13220         * pkgconfig/gstreamer-check.pc.in:
13221         * pkgconfig/gstreamer-check-uninstalled.pc.in:
13222         * gst/check:
13223         * gst/Makefile.am:
13224         * configure.ac:
13225           move the check stuff to a library that gets installed
13226         * check/gst-libs/controller.c: (GST_START_TEST):
13227         * check/gst-libs/gdp.c:
13228         * check/gst/gst.c: (GST_START_TEST):
13229         * check/gst/gstbin.c:
13230         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13231         * check/gst/gstbus.c:
13232         * check/gst/gstcaps.c: (GST_START_TEST):
13233         * check/gst/gstelement.c:
13234         * check/gst/gstghostpad.c:
13235         * check/gst/gstiterator.c:
13236         * check/gst/gstmessage.c:
13237         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
13238         * check/gst/gstobject.c:
13239         * check/gst/gstpad.c: (GST_START_TEST):
13240         * check/gst/gststructure.c: (GST_START_TEST):
13241         * check/gst/gstsystemclock.c: (GST_START_TEST),
13242         (gst_systemclock_suite):
13243         * check/gst/gsttag.c: (gst_tag_suite):
13244         * check/gst/gstvalue.c:
13245         * check/pipelines/cleanup.c:
13246         * check/pipelines/simple_launch_lines.c:
13247         * check/states/sinks.c:
13248           change include statement
13249
13250         * docs/gst/gstreamer-sections.txt:
13251         * docs/gst/tmpl/gstpad.sgml:
13252           document more pad stuff
13253         * gst/gstminiobject.c: (gst_mini_object_ref),
13254         (gst_mini_object_unref):
13255           debug refcounting
13256
13257 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
13258
13259         * docs/gst/tmpl/gst.sgml:
13260         * gst/gst.c:
13261           eliminate another tmpl file, fix spelling in the long-description
13262
13263 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13264
13265         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13266         (test_event), (timediff), (gstevents_suite):
13267           Should fix build on 64-bit arch's
13268
13269 2005-08-18  Andy Wingo  <wingo@pobox.com>
13270
13271         Make sure that when a pipeline goes to PLAYING, that data has
13272         actually hit the sink.
13273
13274         * check/states/sinks.c (test_sink): A sink that doesn't get any
13275         data shouldn't return SUCCESS for going to either PLAYING or
13276         PAUSED. Test also the return values on the way back down.
13277
13278         * gst/gstelement.c (gst_element_set_state): When changing the
13279         state of an element currently changing state asynchronously, go to
13280         lost-state after commiting the pending state. Makes future calls
13281         to get_state continue to return ASYNC.
13282
13283         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
13284         ASYNC when going to PLAYING if we still don't have preroll, as can
13285         happen with live sources.
13286
13287 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13288
13289         * docs/pwg/advanced-types.xml:
13290           Hack long paragraph into 2 chunks as a workaround for buggy
13291           jadetex version in sid and breezy that loops infinitely and
13292           eats all RAM.
13293
13294 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13295
13296         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13297         (test_event), (timediff), (gstevents_suite):
13298           Provide more error margin in clock measurements to allow for 
13299           g_get_current_time inaccuracies.
13300
13301 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13302
13303         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13304         (test_event), (timediff), (gstevents_suite):
13305            Fix error message output so I might be able to tell why the
13306            test works here but fails on the build farm.
13307
13308 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13309
13310         * check/Makefile.am:
13311         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13312         (test_event), (timediff), (gstevents_suite), (main):
13313           I wrote a test!
13314
13315         * docs/design/part-seeking.txt:
13316           Spelling correction
13317
13318         * docs/gst/tmpl/gstevent.sgml:
13319         * docs/gst/tmpl/gstfakesrc.sgml:
13320           Docs updates.
13321
13322         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13323           Treat a buffer-without-newsegment the same as a receiving 
13324           a newsegment not in time format, and disable syncing to the clock
13325           with a warning.
13326
13327         * gst/gstbus.c: (gst_bus_set_sync_handler):
13328           Assert if anyone tries to replace the existing sync_handler for bus, 
13329           as only the owner should be setting it.
13330
13331         * gst/gstevent.h:
13332           Have a fixed set of custom event enums with events identified by
13333           their structure name (as in 0.8), rather than a free-for-all
13334           allowing collisions between enum values from different plugins.
13335
13336         * gst/gstpad.c: (gst_pad_class_init):
13337           Docs change.
13338           
13339         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13340           Handle out-of-band downstream events from the sending thread.
13341
13342 2005-08-17  Andy Wingo  <wingo@pobox.com>
13343
13344         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
13345         play-timeout==0 to mean no timeout at all. In that case, don't
13346         bother with a get_state or a warning, just return directly, even
13347         if it's ASYNC.
13348
13349         * gst/base/gstbasetransform.c: Debug changes.
13350
13351         * gst/gstutils.h:
13352         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
13353         ensure bins post state change messages. A bit of a hack but I can't
13354         think of a way to avoid it.
13355
13356         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
13357
13358 2005-08-16  Andy Wingo  <wingo@pobox.com>
13359
13360         * gst/base/gstadapter.h:
13361         * gst/base/gstadapter.c (gst_adapter_take): New function, like
13362         peek() but you own the data. Not terribly efficient atm.
13363
13364 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13365
13366         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
13367         (gst_element_found_tags):
13368         * gst/gstutils.h:
13369           Add two utility functions for tag handling.
13370
13371 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13372
13373         * docs/manual/advanced-dataaccess.xml:
13374         * docs/manual/basics-helloworld.xml:
13375           Fix docs to use _bin_add() before _link(), which fixes the examples
13376           with recent core versions (reported by Madhan Raj M
13377           <raj_madan@rediffmail.com>, #313199).
13378
13379 2005-08-16  Wim Taymans  <wim@fluendo.com>
13380
13381         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13382         Added subtract checks.
13383
13384         * docs/design/part-events.txt:
13385         Some more docs about newsegment
13386
13387         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13388         Fix FIXME
13389
13390         * gst/gstcaps.c: (gst_caps_to_string):
13391         Add comments, cleanups.
13392         
13393         * gst/gstelement.c: (gst_element_save_thyself):
13394         cleanups
13395         
13396         * gst/gstvalue.c: (gst_value_collect_int_range),
13397         (gst_string_unwrap), (gst_value_union_int_int_range),
13398         (gst_value_union_int_range_int_range),
13399         (gst_value_intersect_int_int_range),
13400         (gst_value_intersect_int_range_int_range),
13401         (gst_value_intersect_double_double_range),
13402         (gst_value_intersect_double_range_double_range),
13403         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
13404         (gst_value_subtract_int_range_int),
13405         (gst_value_subtract_double_range_double),
13406         (gst_value_subtract_double_range_double_range),
13407         (gst_value_subtract_from_list), (gst_value_subtract_list),
13408         (gst_value_can_compare), (gst_value_compare_fraction):
13409         Cleanups, add comments, remove unneeded asserts.
13410
13411 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13412
13413         * tools/gst-launch.c: (event_loop):
13414           don't convert NULL structures to strings
13415
13416 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
13417
13418         * docs/gst/gstreamer-sections.txt:
13419           made some defines private
13420         * docs/gst/tmpl/gstconfig.sgml:
13421         * docs/gst/tmpl/gstqueue.sgml:
13422         * docs/gst/tmpl/gsttaglist.sgml:
13423         * docs/gst/tmpl/gsttypes.sgml:
13424         * docs/gst/tmpl/gstutils.sgml:
13425         * docs/pwg/appendix-porting.xml:
13426         * gst/base/gstbasesink.h:
13427         * gst/base/gstbasesrc.c:
13428         * gst/base/gstbasesrc.h:
13429         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
13430         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
13431         * gst/gstelement.c: (gst_element_class_init):
13432         * gst/gstpad.c: (gst_pad_class_init):
13433         * gst/gstqueue.c: (gst_queue_class_init):
13434         * gst/gstxml.c: (gst_xml_class_init):
13435           documented all undocumented signal inline
13436         * libs/gst/controller/gst-controller.h:
13437           added padding
13438
13439 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13440
13441         * docs/pwg/appendix-porting.xml:
13442           Document _set_link_function -> _set_setcaps_function.
13443
13444 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13445
13446         * check/Makefile.am:
13447           add a .check target for running the check
13448         * check/gst-libs/controller.c: (GST_START_TEST):
13449           cosmetic fixups
13450         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13451           complete checks for gstbuffer; would be nice if I could get the
13452           gcov stuff to work so I can see if I actually completed gstbuffer.c
13453         * check/gstcheck.h:
13454           add ASSERT_BUFFER_REFCOUNT
13455
13456 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
13457
13458         * docs/gst/gstreamer-sections.txt:
13459         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13460         * gst/gsttag.h:
13461           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13462           spew out a warning if a tag that is already registered
13463           is re-registered, unless it is re-registered with a 
13464           different type (#308438).
13465
13466 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
13467
13468         * docs/pwg/appendix-porting.xml:
13469         * docs/pwg/building-state.xml:
13470           Add some paragraphs about state changes in 0.9 to the PWG
13471           and the porting guide, in particular about the new meaning
13472           of GST_STATE_PAUSED and how to write state change functions
13473           with concurrent access by multiple threads in mind.
13474
13475 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
13476
13477         * docs/gst/gstreamer-docs.sgml:
13478         * docs/libs/gstreamer-libs-docs.sgml:
13479           added deprecation and since indexes
13480         * libs/gst/controller/gst-controller.c:
13481         * libs/gst/controller/gst-helper.c:
13482           added since tags
13483
13484
13485 2005-08-11  Wim Taymans  <wim@fluendo.com>
13486
13487         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13488         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13489         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13490         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13491         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13492         (gst_ghost_pad_set_target):
13493         Actually implement (re)setting the target on a ghostpad
13494         as described in the docs.
13495
13496 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13497
13498         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13499           Check whether GST_DEBUG_NO_COLOR environment variable is
13500           set and disable coloured debug output if that is the case.
13501
13502 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13503
13504         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13505         (gst_type_find_helper):
13506           The memory returned by gst_type_find_peek() needs to
13507           stay valid until the end of a typefind function, and
13508           typefind functions may keep results from different 
13509           offsets around, so we can't just unref the buffer from
13510           the previous _peek(), but have to save all buffers 
13511           returned by _peek() until typefinding is done and only
13512           free them then.
13513
13514 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13515
13516         * docs/gst/gstreamer-sections.txt:
13517         * gst/gstutils.h:
13518           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13519
13520 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13521
13522         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13523           Fix a pretty good memleak.
13524
13525 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13526
13527         * gst/gstiterator.h:
13528           Fix wrong include and 'make distcheck'.
13529
13530 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13531
13532         * gst/gstbin.c: (bin_bus_handler):
13533           Use gst_element_post_message() instead.
13534
13535 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13536
13537         * gst/base/gstadapter.h:
13538         * gst/base/gstbasesink.h:
13539         * gst/base/gstbasesrc.h:
13540         * gst/base/gstbasetransform.h:
13541         * gst/base/gstcollectpads.h:
13542         * gst/base/gstpushsrc.h:
13543         * gst/gstiterator.h:
13544           Add padding to our base elements' class and instance structs and
13545           to GstIterator (you will need to rebuild all plugins and apps!)
13546
13547 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13548
13549         * gst/gstbin.c: (bin_bus_handler):
13550           Make default message forwarding from child->bus to bin->bus
13551           threadsafe and make it not emit warnings if the parent has no bus.
13552
13553 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13554
13555         * gst/gstelement.c: (activate_pads):
13556           On paused->ready, set pad->caps to NULL, as is the documented
13557           behaviour in this state change. Fixes playback of series of
13558           media files when visualization is enabled in Totem.
13559
13560 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13561
13562         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13563           Allow NULL as filter-caps (which means "any").
13564
13565 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13566
13567         * docs/libs/gstreamer-libs-sections.txt:
13568         * libs/gst/controller/gst-controller.c:
13569         * libs/gst/controller/gst-controller.h:
13570         * libs/gst/controller/gst-helper.c:
13571           adding more entries to the docs and fix small doc-bugs
13572
13573 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13574
13575         * docs/gst/gstreamer-docs.sgml:
13576         * docs/gst/gstreamer-sections.txt:
13577         * docs/gst/gstreamer.types:
13578         * docs/gst/tmpl/gstbasesink.sgml:
13579         * docs/gst/tmpl/gstbasesrc.sgml:
13580         * docs/gst/tmpl/gstbasetransform.sgml:
13581         * docs/gst/tmpl/gstfakesrc.sgml:
13582         * gst/base/gstcollectpads.c:
13583         * gst/base/gstcollectpads.h:
13584         * libs/gst/controller/gst-controller.c:
13585         * libs/gst/controller/gst-controller.h:
13586         * libs/gst/controller/gst-helper.c:
13587         * libs/gst/controller/gst-interpolation.c:
13588         * libs/gst/controller/lib.c:
13589           added long/short desc for controller docs
13590           added collectpads base class docs
13591           added correct includes to base-class docs
13592
13593 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13594
13595         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13596         (gst_test_mono_source_set_property),
13597         (gst_test_mono_source_class_init), (GST_START_TEST),
13598         (gst_controller_suite):
13599         * docs/gst/gstreamer-docs.sgml:
13600         * docs/gst/gstreamer-sections.txt:
13601         * docs/gst/gstreamer.types:
13602         * docs/libs/gstreamer-libs-docs.sgml:
13603         * docs/libs/gstreamer-libs-sections.txt:
13604         * gst/base/gstadapter.c:
13605         * libs/gst/controller/gst-controller.c:
13606         (gst_controlled_property_new), (gst_controlled_property_free),
13607         (gst_controller_new_valist),
13608         (gst_controller_remove_properties_valist),
13609         (gst_controller_sink_values), (_gst_controller_finalize):
13610         * libs/gst/controller/gst-controller.h:
13611         * libs/gst/controller/gst-helper.c:
13612         (gst_object_control_properties), (gst_object_uncontrol_properties),
13613         (gst_object_get_controller), (gst_object_set_controller),
13614         (gst_object_sink_values), (gst_object_get_value_arrays),
13615         (gst_object_get_value_array):
13616           more tests (and fixes) for the controller
13617           more docs for the controller
13618           integrated companies docs for the adapter 
13619
13620 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13621
13622         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13623         (GST_START_TEST), (fakesrc_suite):
13624           add tests for sizetype
13625
13626 2005-08-04  Andy Wingo  <wingo@pobox.com>
13627
13628         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13629         fixes buffer_alloc proxying among other things.
13630
13631         * gst/base/gstbasetransform.c:
13632         * gst/base/gstbasetransform.h:
13633         Revert patch to gstbasetransform from 7-28 removing
13634         delay_configure.
13635
13636         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13637         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13638         Semantics changed, should return not the size of the output buffer
13639         but the byte size of a buffer with a given caps.
13640
13641         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13642         debug object.
13643         (gst_base_transform_configure_caps): Don't set out_size here: (in,
13644         out) are not the pad caps until setcaps finishes.
13645         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13646         not-in-place case as well. Deal with changing from in-place to
13647         not-in-place within calling pad_alloc_buffer. Still a bit
13648         concerned about the overhead here...
13649
13650 2005-08-03  Andy Wingo  <wingo@pobox.com>
13651
13652         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13653         fixating is an error.
13654
13655 2005-08-04  Edward Hervey  <edward@fluendo.com>
13656
13657         * gst/base/gstadapter.h: 
13658         Added gst_adapter_get_type() to the header
13659
13660 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13661
13662         * check/Makefile.am:
13663         * check/gst-libs/controller.c:
13664         * libs/gst/controller/gst-controller.c:
13665         (gst_controller_new_valist):
13666           added check test suite for the controller
13667         * gst/base/gstpushsrc.c:
13668           fixed a doc typo
13669
13670 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13671
13672         * docs/gst/Makefile.am:
13673         * docs/gst/gstreamer-docs.sgml:
13674         * docs/gst/gstreamer-sections.txt:
13675         * docs/gst/gstreamer.types:
13676         * docs/gst/tmpl/gstfakesrc.sgml:
13677         * gst/base/README:
13678         * gst/base/gstbasesink.c:
13679         * gst/base/gstbasesink.h:
13680         * gst/base/gstbasesrc.c:
13681         * gst/base/gstbasesrc.h:
13682         * gst/base/gstbasetransform.c:
13683         * gst/base/gstpushsrc.c:
13684         * gst/base/gstpushsrc.h:
13685           add short/long description docs to base classes
13686           add pushsrc to the docs
13687           remove consolidated doc fragments
13688
13689 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13690
13691         * configure.ac:
13692         * docs/libs/Makefile.am:
13693         * docs/libs/gstreamer-libs-docs.sgml:
13694         * docs/libs/gstreamer-libs-sections.txt:
13695         * docs/libs/gstreamer-libs.types:
13696         * examples/Makefile.am:
13697         * examples/controller/.cvsignore:
13698         * examples/controller/Makefile.am:
13699         * examples/controller/audio-example.c: (main):
13700         * libs/gst/Makefile.am:
13701         * libs/gst/controller/.cvsignore:
13702         * libs/gst/controller/Makefile.am:
13703         * libs/gst/controller/gst-controller.c:
13704         (on_object_controlled_property_changed), (gst_timed_value_compare),
13705         (gst_timed_value_find),
13706         (gst_controlled_property_set_interpolation_mode),
13707         (gst_controlled_property_new), (gst_controlled_property_free),
13708         (gst_controller_find_controlled_property),
13709         (gst_controller_new_valist), (gst_controller_new),
13710         (gst_controller_remove_properties_valist),
13711         (gst_controller_remove_properties), (gst_controller_set),
13712         (gst_controller_set_from_list), (gst_controller_unset),
13713         (gst_controller_get), (gst_controller_get_all),
13714         (gst_controller_sink_values), (gst_controller_get_value_arrays),
13715         (gst_controller_get_value_array),
13716         (gst_controller_set_interpolation_mode),
13717         (_gst_controller_finalize), (_gst_controller_init),
13718         (_gst_controller_class_init), (gst_controller_get_type):
13719         * libs/gst/controller/gst-controller.h:
13720         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13721         (g_object_uncontrol_properties), (g_object_get_controller),
13722         (g_object_set_controller), (g_object_sink_values),
13723         (g_object_get_value_arrays), (g_object_get_value_array):
13724         * libs/gst/controller/gst-interpolation.c:
13725         (gst_controlled_property_find_timed_value_node),
13726         (interpolate_none_get), (interpolate_trigger_get),
13727         (interpolate_trigger_get_value_array):
13728         * libs/gst/controller/lib.c: (gst_controller_init):
13729         * pkgconfig/Makefile.am:
13730         * pkgconfig/gstreamer-control-uninstalled.pc.in:
13731         * pkgconfig/gstreamer-control.pc.in:
13732         * testsuite/Makefile.am:
13733         * testsuite/controller/.cvsignore:
13734         * testsuite/controller/Makefile.am:
13735         * testsuite/controller/interpolator.c: (main):
13736           added controller code
13737           removed dparam pc files
13738
13739 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13740         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13741         (gst_collectpads_stop):
13742           Broadcast the condition when shutting down, to make sure we wake all
13743           threads up. Shut down pads on finalize, for safety.
13744
13745 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13746         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13747         (gst_base_transform_handle_buffer),
13748         (gst_base_transform_change_state):
13749           Handle PAUSED->READY->PAUSED transition after negotiation
13750           occurred already.
13751         * gst/gstmessage.c: (gst_message_init):
13752           Extra piece of debug for new messages.
13753
13754 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
13755
13756         * configure.ac:
13757         * docs/gst/tmpl/gstbasesrc.sgml:
13758         * docs/gst/tmpl/gstelement.sgml:
13759         * docs/gst/tmpl/gstevent.sgml:
13760         * docs/gst/tmpl/gstfakesrc.sgml:
13761         * docs/gst/tmpl/gstformat.sgml:
13762         * docs/gst/tmpl/gstghostpad.sgml:
13763         * docs/gst/tmpl/gstpad.sgml:
13764         * docs/gst/tmpl/gstquery.sgml:
13765         * docs/gst/tmpl/gststructure.sgml:
13766         * docs/gst/tmpl/gsttaglist.sgml:
13767         * docs/gst/tmpl/gstvalue.sgml:
13768         * docs/libs/gstreamer-libs-docs.sgml:
13769         * docs/libs/gstreamer-libs-sections.txt:
13770         * docs/libs/gstreamer-libs.types:
13771         * libs/gst/Makefile.am:
13772         * libs/gst/control/.cvsignore:
13773         * libs/gst/control/Makefile.am:
13774         * libs/gst/control/control.c:
13775         * libs/gst/control/control.h:
13776         * libs/gst/control/dparam.c:
13777         * libs/gst/control/dparam.h:
13778         * libs/gst/control/dparam_smooth.c:
13779         * libs/gst/control/dparam_smooth.h:
13780         * libs/gst/control/dparamcommon.h:
13781         * libs/gst/control/dparammanager.c:
13782         * libs/gst/control/dparammanager.h:
13783         * libs/gst/control/dplinearinterp.c:
13784         * libs/gst/control/dplinearinterp.h:
13785         * libs/gst/control/unitconvert.c:
13786         * libs/gst/control/unitconvert.h:
13787         * testsuite/Makefile.am:
13788         * testsuite/dynparams/.cvsignore:
13789         * testsuite/dynparams/Makefile.am:
13790         * testsuite/dynparams/dparamstest.c:
13791         * tools/Makefile.am:
13792         * tools/gst-inspect.c: (print_element_info), (main):
13793         * tools/gst-xmlinspect.c: (print_element_info), (main):
13794           deactivate and remove dparams (libgstcontrol)
13795
13796 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13797
13798         * gst/elements/gsttypefindelement.c:
13799         (gst_type_find_element_have_type), (gst_type_find_element_init),
13800         (stop_typefinding), (gst_type_find_element_handle_event),
13801         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13802         * gst/elements/gsttypefindelement.h:
13803           Set caps on all outgoing buffers, not just the first one.
13804
13805 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13806
13807         * gst/elements/gsttypefindelement.c:
13808         (gst_type_find_element_have_type),
13809         (gst_type_find_element_check_set_buffer_caps),
13810         (gst_type_find_element_init), (stop_typefinding),
13811         (gst_type_find_element_handle_event),
13812         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13813         * gst/elements/gsttypefindelement.h:
13814           Set caps on first outgoing buffer when we've found the type.
13815
13816 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13817
13818         * docs/gst/gstreamer-docs.sgml:
13819         * docs/gst/gstreamer-sections.txt:
13820         * docs/gst/tmpl/gstscheduler.sgml:
13821         * docs/gst/tmpl/gstschedulerfactory.sgml:
13822           Remove some old cruft from docs.
13823
13824 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
13825
13826         * gst/gstpad.h:
13827           Fix inline docs for GstPadLinkReturn.
13828           
13829         * gst/gststructure.c: (gst_structure_has_name):
13830         * gst/gststructure.h:
13831         * docs/gst/gstreamer-sections.txt:
13832           New API: gst_structure_has_name().
13833
13834 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
13835
13836         * configure.ac:
13837           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13838           and _LARGEFILE_SOURCE in config.h as required. Do not 
13839           export those flags in our .pc files any longer (#142209).
13840
13841           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13842
13843         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13844         (gst_file_sink_do_seek), (gst_file_sink_event),
13845         (gst_file_sink_get_current_offset), (gst_file_sink_render):
13846           Redo seek/tell calls with large file support in mind; add some
13847           debugging messages; add log message that tells us when large
13848           file support is unavailable or not enabled for some reason.
13849
13850         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13851           Add log message that tells us when large file support 
13852           is unavailable or not enabled for some reason.
13853
13854 2005-07-29  Wim Taymans  <wim@fluendo.com>
13855
13856         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13857         Added test for removing an element with ghostpad from a bin.
13858         Fixed test as current implementation does the right thing.
13859
13860         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13861         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13862         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13863         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13864         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13865         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13866         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13867         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13868         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13869         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13870         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13871         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13872         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13873         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13874         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13875         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13876         * gst/gstghostpad.h:
13877         Clean up ghostpads, remove properties for internal stuff.
13878         Make threadsafe.
13879         Fix refcounting.
13880         Prepare for switching targets, not all use cases work yet.
13881
13882 2005-07-29  Wim Taymans  <wim@fluendo.com>
13883
13884         * docs/design/part-gstghostpad.txt:
13885         Small update.
13886
13887         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13888         (gst_bin_remove_func):
13889         Unlinking pads while holding the bin LOCK is not a good
13890         idea.
13891
13892         * gst/gstpad.c: (gst_pad_class_init),
13893         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13894         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13895         No prob setting template after creating the pad.
13896
13897 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
13898
13899         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13900         (gst_bus_peek), (gst_bus_source_dispatch),
13901         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13902         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13903           gst_bus_poll may be called from other threads. Handle
13904           this nicely by not making poll_data disappear off the
13905           stack once gst_bus_poll returns.
13906           gst_bus_peek now increments the refcount on the returned
13907           message.
13908
13909 2005-07-29  Wim Taymans  <wim@fluendo.com>
13910
13911         * docs/design/part-gstghostpad.txt:
13912         Overview of current GhostPad datastructures and use
13913         cases for changing the target.
13914
13915 2005-07-28  Wim Taymans  <wim@fluendo.com>
13916
13917         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13918         Added checks for hierarchy consistency whan adding linked
13919         elements to bins.
13920
13921         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13922         Added check to test element scheduling without bin/pipeline.
13923
13924         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13925         First add elements to bin, then link.
13926         
13927         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13928         (gst_bin_remove_func):
13929         Unlink pads from elements added/removed from bin to maintain
13930         hierarchy consistency.
13931
13932 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13933
13934         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13935         (gst_base_transform_handle_buffer):
13936         * gst/base/gstbasetransform.h:
13937           Remove broken delay_configure (fixes renegotiation of software
13938           scaling pipelines); remove some leftover printf()s.
13939
13940 2005-07-28  Wim Taymans  <wim@fluendo.com>
13941
13942         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13943         Added some more tests for wrong hierarchy
13944
13945         * docs/design/part-overview.txt:
13946         Some updates.
13947
13948         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13949         Cleanups.
13950
13951         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13952         (gst_element_dispose):
13953         Some more cleanups.
13954
13955         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13956         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13957         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13958         (gst_pad_set_caps), (gst_pad_send_event):
13959         Check for correct hierarchy when linking pads. Moving to
13960         strict requirement for ghostpads when linking elements in
13961         different bins.
13962
13963         * gst/gstpad.h:
13964         Clean ups. Added WRONG_HIERARCHY return value.
13965
13966 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13967
13968         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13969           Better debug if no transform is possible.
13970
13971 2005-07-27  Wim Taymans  <wim@fluendo.com>
13972
13973         * docs/random/wtay/network-transp:
13974         Some old doc I had.
13975
13976 2005-07-27  Wim Taymans  <wim@fluendo.com>
13977
13978         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13979         (gst_dp_event_from_packet):
13980         Fix serialization of seek events.
13981
13982 2005-07-27  Wim Taymans  <wim@fluendo.com>
13983
13984         * check/gst-libs/gdp.c: (GST_START_TEST):
13985         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13986         Fix compilation and fix event serialization.
13987
13988 2005-07-27  Wim Taymans  <wim@fluendo.com>
13989
13990         * CHANGES-0.9:
13991         * docs/design/part-TODO.txt:
13992         * docs/design/part-events.txt:
13993         Some docs updates
13994
13995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13996         (gst_base_sink_event), (gst_base_sink_do_sync),
13997         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13998         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13999         (gst_base_src_do_seek), (gst_base_src_event_handler),
14000         (gst_base_src_loop):
14001         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14002         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14003         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14004         (gst_base_transform_event), (gst_base_transform_handle_buffer),
14005         (gst_base_transform_set_passthrough),
14006         (gst_base_transform_is_passthrough):
14007         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14008         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14009         Event updates.
14010
14011         * gst/gstbuffer.h:
14012         Use faster casts.
14013
14014         * gst/gstelement.c: (gst_element_seek):
14015         * gst/gstelement.h:
14016         Update gst_element_seek.
14017
14018         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
14019         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
14020         (gst_event_new_flush_start), (gst_event_new_flush_stop),
14021         (gst_event_new_eos), (gst_event_new_newsegment),
14022         (gst_event_parse_newsegment), (gst_event_new_tag),
14023         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
14024         (gst_event_parse_qos), (gst_event_new_seek),
14025         (gst_event_parse_seek), (gst_event_new_navigation):
14026         * gst/gstevent.h:
14027         Make GstEvent use GstStructure. Add parsing code, make sure the
14028         API is sufficiently generic.
14029         Mark possible directions of events and serialization.
14030
14031         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
14032         (_gst_message_copy), (gst_message_new_segment_start),
14033         (gst_message_new_segment_done), (gst_message_new_custom),
14034         (gst_message_parse_segment_start),
14035         (gst_message_parse_segment_done):
14036         Small cleanups.
14037
14038         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14039         (gst_pad_set_caps), (gst_pad_send_event):
14040         Update for new events. 
14041         Catch events sent in wrong directions.
14042
14043         * gst/gstqueue.c: (gst_queue_link_src),
14044         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14045         (gst_queue_handle_src_query):
14046         Event updates.
14047
14048         * gst/gsttag.c:
14049         * gst/gsttag.h:
14050         Remove event code from this file.
14051
14052         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14053         (gst_dp_event_from_packet):
14054         Event updates.
14055
14056 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14057
14058         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
14059         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14060         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
14061           Make debugging actually useful.
14062
14063 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14064
14065         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
14066         (gst_pad_fixate_caps):
14067           Implement default fixation once again, so that gst_pad_fixate()
14068           actually does anything at all. This probably needs to be some
14069           sort of a last resort, and use profile-based fixation first, but
14070           since that doesn't exist yet, this is the best we have. Fixes
14071           visualization in Totem.
14072
14073 2005-07-22  Wim Taymans  <wim@fluendo.com>
14074
14075         * docs/design/part-events.txt:
14076         Small update.
14077
14078         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14079         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
14080         (gst_base_sink_activate_pull):
14081         Some more comments.
14082
14083         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
14084         (gst_fake_src_create):
14085         Fix handoff marshall.
14086
14087         * gst/elements/gstidentity.c: (gst_identity_class_init),
14088         (gst_identity_transform_ip):
14089         We're a real inplace element.
14090
14091         * gst/gstbus.c: (gst_bus_post):
14092         Added some comments.
14093
14094         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
14095         * tests/muxing/case1.c: (main):
14096         * tests/sched/dynamic-pipeline.c: (main):
14097         * tests/sched/interrupt1.c: (main):
14098         * tests/sched/interrupt2.c: (main):
14099         * tests/sched/interrupt3.c: (main):
14100         * tests/sched/runxml.c: (main):
14101         * tests/sched/sched-stress.c: (main):
14102         * tests/seeking/seeking1.c: (event_received), (main):
14103         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14104         (main):
14105         * tests/threadstate/threadstate3.c: (main):
14106         * tests/threadstate/threadstate4.c: (main):
14107         * tests/threadstate/threadstate5.c: (main):
14108         Fix the tests.
14109
14110 2005-07-21  Wim Taymans  <wim@fluendo.com>
14111
14112         * docs/design/part-seeking.txt:
14113         Some small additions.
14114
14115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14116         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14117         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14118         * gst/base/gstbasesink.h:
14119         discont values are gint64, handle the math correctly.
14120
14121         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14122         Make the basesrc report error if the source pad is not linked.
14123
14124         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14125         (gst_queue_loop), (gst_queue_handle_src_query),
14126         (gst_queue_src_activate_push):
14127         Make queue collect data even if the srcpad is not linked.
14128         Start pushing out data as soon as it is linked.
14129
14130         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
14131         * gst/gstutils.h:
14132         Added gst_flow_get_name() to ease error reporting.
14133
14134 2005-07-20  Wim Taymans  <wim@fluendo.com>
14135
14136         * gst/gstmessage.c: (gst_message_new_segment_start),
14137         (gst_message_new_segment_done), (gst_message_parse_segment_start),
14138         (gst_message_parse_segment_done):
14139         * gst/gstmessage.h:
14140         Added a bunch of messages for advanced seeking.
14141
14142         * gst/parse/grammar.y:
14143         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
14144         (gst_dpman_state_changed):
14145         Fix some new-pad -> pad-added signals
14146
14147 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14148
14149         * docs/manual/appendix-porting.xml:
14150         * docs/pwg/appendix-porting.xml:
14151           Document new-pad/state-change signal renames and the FixedList
14152           type rename.
14153
14154 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14155
14156         * docs/manual/advanced-autoplugging.xml:
14157         * docs/manual/basics-helloworld.xml:
14158         * docs/manual/basics-pads.xml:
14159         * docs/random/ds/0.9-suggested-changes:
14160         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
14161         * gst/gstelement.h:
14162         * gst/gstevent.h:
14163         * gst/gstformat.h:
14164         * gst/gstquery.h:
14165         * gst/gststructure.c: (gst_structure_value_get_generic_type),
14166         (gst_structure_parse_array), (gst_structure_parse_value):
14167         * gst/gstvalue.c: (gst_type_is_fixed),
14168         (gst_value_list_prepend_value), (gst_value_list_append_value),
14169         (gst_value_list_get_size), (gst_value_list_get_value),
14170         (gst_value_transform_array_string), (gst_value_serialize_array),
14171         (gst_value_deserialize_array), (gst_value_intersect_array),
14172         (gst_value_is_fixed), (_gst_value_initialize):
14173         * gst/gstvalue.h:
14174           GstElement::new-pad -> pad-added, GstElement::state-change ->
14175           state-changed, GstValueFixedList -> GstValueArray, add format and
14176           flags as their own arguments in gst_element_seek() (should improve
14177           "bindeability"), remove function generators since they don't work
14178           under a whole bunch of compilers (they were deprecated already
14179           anyway).
14180
14181 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14182
14183         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14184         (_gst_debug_register_funcptr):
14185         * gst/gstinfo.h:
14186           Fix illegal cast on some platforms (#309253).
14187
14188 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14189
14190         * gst/gstmessage.c: (gst_message_new_custom):
14191         * gst/gstmessage.h:
14192           Add _new_custom, make _new_application a macro to _new_custom.
14193
14194 2005-07-20  Wim Taymans  <wim@fluendo.com>
14195
14196         * gst/base/gstbasesrc.c: (gst_base_src_init),
14197         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14198         * gst/base/gstbasesrc.h:
14199         Add a gboolean to decide when to push out a discont.
14200
14201         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14202         (gst_queue_loop), (gst_queue_handle_src_query),
14203         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
14204         (gst_queue_set_property), (gst_queue_get_property):
14205         Some cleanups.
14206
14207         * tests/threadstate/threadstate1.c: (main):
14208         Make a thread test compile and run... very silly..
14209
14210
14211 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14212
14213         * docs/manual/appendix-porting.xml:
14214           Mention removal of libgstgconf-0.9.la and existence of gconf
14215           elements.
14216
14217 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14218
14219         * docs/pwg/advanced-clock.xml:
14220         * docs/pwg/appendix-porting.xml:
14221         * docs/pwg/intro-preface.xml:
14222         * docs/pwg/other-base.xml:
14223         * docs/pwg/other-manager.xml:
14224         * docs/pwg/other-nton.xml:
14225         * docs/pwg/other-ntoone.xml:
14226         * docs/pwg/other-oneton.xml:
14227         * docs/pwg/pwg.xml:
14228           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
14229           demuxer), remove n-to-n (was never written), fix some code examples
14230           and links and update the porting section to include all this.
14231
14232 2005-07-19  Wim Taymans  <wim@fluendo.com>
14233
14234         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
14235         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
14236         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
14237         (gst_queue_src_activate_push), (gst_queue_change_state),
14238         (gst_queue_get_property):
14239         * gst/gstqueue.h:
14240         Propagate GstFlowReturn more intelligently upstream and output
14241         an ERROR/EOS when streaming stopped due to fatal error.
14242
14243 2005-07-19  Wim Taymans  <wim@fluendo.com>
14244
14245         * tools/gst-launch.c: (check_intr), (event_loop), (main):
14246         Don't block forever for the state change to complete, the
14247         pipeline already did with a sensible timeout.
14248
14249 2005-07-19  Wim Taymans  <wim@fluendo.com>
14250
14251         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14252         Make sure we never call the create function is we
14253         got deactivated.
14254
14255 2005-07-19  Andy Wingo  <wingo@pobox.com>
14256
14257         * gst/parse/parse.l: Attempt to solve bug #172815.
14258
14259 2005-07-19  Wim Taymans  <wim@fluendo.com>
14260
14261         * docs/design/part-clocks.txt:
14262         * docs/design/part-events.txt:
14263         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
14264         Small docs updates.
14265         Only update the seeking values when we are not
14266         busy streaming.
14267
14268 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
14269
14270         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14271           Oops, ignore the result of gst_pad_push_event here.
14272
14273 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
14274
14275         * gst/base/gstbasesrc.c: (gst_base_src_loop),
14276         (gst_base_src_activate_push):
14277           Send discont event from the loop function, as pads
14278           aren't activated yet in the activate_push handler.
14279
14280         * gst/gstbin.c: (bin_bus_handler):
14281           Don't leak element name.
14282
14283 2005-07-18  Andy Wingo  <wingo@pobox.com>
14284
14285         * configure.ac: Use AS_LIBTOOL_TAGS.
14286
14287 2005-07-18  Wim Taymans  <wim@fluendo.com>
14288
14289         * docs/gst/gstreamer.types:
14290         Remove deleted types.
14291
14292 2005-07-18  Wim Taymans  <wim@fluendo.com>
14293
14294         * check/elements/gstfakesrc.c: (GST_START_TEST):
14295         * configure.ac:
14296         * gst/Makefile.am:
14297         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
14298         (init_popt_callback):
14299         * gst/gst.h:
14300         * gst/gst_private.h:
14301         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
14302         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
14303         * gst/gstbin.h:
14304         * gst/gstbus.h:
14305         * gst/gstconfig.h.in:
14306         * gst/gstelement.c: (gst_element_class_init),
14307         (gst_element_set_base_time), (gst_element_get_base_time),
14308         (iterator_fold_with_resync), (gst_element_change_state),
14309         (gst_element_dispose), (gst_element_get_bus):
14310         * gst/gstelement.h:
14311         * gst/gstelementfactory.h:
14312         * gst/gsterror.c: (_gst_core_errors_init):
14313         * gst/gsterror.h:
14314         * gst/gstevent.h:
14315         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14316         * gst/gstindex.c:
14317         * gst/gstinfo.c: (_gst_debug_init):
14318         * gst/gstmessage.c: (_gst_message_copy):
14319         * gst/gstmessage.h:
14320         * gst/gstminiobject.h:
14321         * gst/gstobject.c:
14322         * gst/gstobject.h:
14323         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14324         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
14325         * gst/gstpad.h:
14326         * gst/gstparse.h:
14327         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14328         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14329         (gst_pipeline_get_last_stream_time):
14330         * gst/gstpipeline.h:
14331         * gst/gstpluginfeature.h:
14332         * gst/gstquery.h:
14333         * gst/gstscheduler.c:
14334         * gst/gstscheduler.h:
14335         * gst/gststructure.h:
14336         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14337         (gst_task_finalize), (gst_task_func), (gst_task_create),
14338         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
14339         (gst_task_stop), (gst_task_pause):
14340         * gst/gsttask.h:
14341         * gst/gsttypefind.h:
14342         * gst/gsttypes.h:
14343         * gst/registries/gstlibxmlregistry.c: (load_feature),
14344         (gst_xml_registry_load), (gst_xml_registry_save_feature):
14345         * gst/registries/gstxmlregistry.c:
14346         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
14347         * gst/schedulers/threadscheduler.c:
14348         * libs/gst/control/dparammanager.h:
14349         * tools/gst-inspect.c: (print_element_list),
14350         (print_plugin_features), (print_element_features):
14351         * tools/gst-xmlinspect.c: (print_element_list),
14352         (print_plugin_info), (main):
14353         Removed plugable schedulers.
14354         Removed Scheduler/Manager from elements.
14355         Removed gsttypes.h, rearranged includes.
14356         Removed dependency pad<->element, element<>pipeline, and
14357         various others,  fix includes.
14358         implement gst_pad_get_parent() with gst_object_get_parent()
14359         Make GstTask sefcontained.
14360         Fix _get_state() on GstBin, it did not return ASYNC with a 0
14361         timeout.
14362         Fix endless loop in iterator_fold_with_resync.
14363
14364
14365 2005-07-18  Wim Taymans  <wim@fluendo.com>
14366
14367         * gst/Makefile.am:
14368         * gst/gstarch.h:
14369         Remove old file.
14370
14371 2005-07-18  Wim Taymans  <wim@fluendo.com>
14372
14373         * gst/Makefile.am:
14374         No more cothreads.h
14375
14376 2005-07-18  Wim Taymans  <wim@fluendo.com>
14377
14378         * gst/cothreads.c:
14379         * gst/cothreads.h:
14380         Let's remove these.
14381
14382 2005-07-18  Wim Taymans  <wim@fluendo.com>
14383
14384         * docs/design/part-dynamic.txt:
14385         * docs/design/part-events.txt:
14386         * docs/design/part-seeking.txt:
14387         Some more docs in the works.
14388
14389         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14390         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
14391         (gst_base_transform_setcaps), (gst_base_transform_get_size),
14392         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14393         (gst_base_transform_handle_buffer),
14394         (gst_base_transform_sink_activate_push),
14395         (gst_base_transform_src_activate_pull),
14396         (gst_base_transform_set_passthrough),
14397         (gst_base_transform_is_passthrough):
14398         Refcounting fixes.
14399
14400         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
14401         Cleanups.
14402
14403         * gst/gstevent.c: (gst_event_finalize):
14404         Set SRC to NULL.
14405
14406         * gst/gstutils.c: (gst_element_unlink),
14407         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
14408         (gst_pad_proxy_setcaps):
14409         * gst/gstutils.h:
14410         Add _get_parent_element() to get a pads parent as an element.
14411
14412 2005-07-18  Wim Taymans  <wim@fluendo.com>
14413
14414         * check/gst/gstbin.c: (GST_START_TEST):
14415         Remove bogus test.
14416
14417 2005-07-18  Wim Taymans  <wim@fluendo.com>
14418
14419         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14420         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14421         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14422         (gst_base_sink_event), (gst_base_sink_do_sync),
14423         (gst_base_sink_chain), (gst_base_sink_loop),
14424         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
14425         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14426         Refcounting fixes.
14427         Fix logic for returning ASYNC when not prerolled.
14428
14429 2005-07-18  Wim Taymans  <wim@fluendo.com>
14430
14431         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14432         Fix nasty refcount bug.
14433
14434 2005-07-16 Philippe Khalaf <burger@speedy.org>
14435
14436         * gst/elements/gstfdsrc.c:
14437         * gst/elements/gstfdsrc.h:
14438         * gst/elements/gstelements.c:
14439         * gst/elements/Makefile.am:
14440         Ported fdsrc to 0.9.
14441
14442 2005-07-16  Wim Taymans  <wim@fluendo.com>
14443
14444         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14445         (gst_base_sink_do_sync):
14446         Fix compile error.
14447
14448 2005-07-16  Wim Taymans  <wim@fluendo.com>
14449
14450         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14451         (gst_base_sink_event), (gst_base_sink_get_times),
14452         (gst_base_sink_do_sync), (gst_base_sink_change_state):
14453         * gst/base/gstbasesink.h:
14454         Store and use discont values when syncing buffers as described
14455         in design docs.
14456         
14457         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14458         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14459         (gst_base_src_activate_push):
14460         Push discont event when starting.
14461
14462         * gst/elements/gstidentity.c: (gst_identity_transform):
14463         Small cleanups.
14464
14465         * gst/gstbin.c: (gst_bin_change_state):
14466         Small cleanups in base_time  distribution.
14467
14468         * gst/gstelement.c: (gst_element_set_base_time),
14469         (gst_element_get_base_time), (gst_element_change_state):
14470         * gst/gstelement.h:
14471         Added methods for the base_time of the element.
14472         Some MT fixes.
14473
14474         * gst/gstpipeline.c: (gst_pipeline_send_event),
14475         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14476         (gst_pipeline_get_last_stream_time):
14477         * gst/gstpipeline.h:
14478         MT fixes.
14479         Handle seeking as described in design doc, remove stream_time
14480         hack.
14481         Cleanups clock and stream_time selection code. Added accessors
14482         for the stream_time.
14483         
14484
14485 2005-07-16  Andy Wingo  <wingo@pobox.com>
14486
14487         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14488         (#305291).
14489
14490 2005-07-16  Wim Taymans  <wim@fluendo.com>
14491
14492         * check/gst/gstbin.c: (GST_START_TEST):
14493         Make elements silent as the deep_notify refs the
14494         parent, which might make the test fail.
14495
14496         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14497         Don't hold the lock for too long.
14498
14499 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
14500
14501         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14502           Don't unref the caps we passed to gst_caps_make_writable() after
14503           passing them. gst_caps_make_writable() will do that for us.
14504
14505 2005-07-15  Andy Wingo  <wingo@pobox.com>
14506
14507         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14508         (#157311).
14509
14510         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14511         own marshalling function for the handoff signal. Properly type the
14512         buffer as a buffer. Fixes some warnings. Should do a more general
14513         solution.
14514         (gst_identity_class_init): Plug into the right marshaller.
14515
14516 2005-07-15  Wim Taymans  <wim@fluendo.com>
14517
14518         * docs/design/part-TODO.txt:
14519         * docs/design/part-clocks.txt:
14520         * docs/design/part-element-sink.txt:
14521         * docs/design/part-events.txt:
14522         * docs/design/part-gstpipeline.txt:
14523         Updated docs, mostly DISCONT related.
14524
14525 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
14526
14527         * docs/pwg/building-pads.xml:
14528           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14529
14530 2005-07-15  Andy Wingo  <wingo@pobox.com>
14531
14532         * tools/gst-typefind.c: Update, add copyright block.
14533
14534         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14535         Normalize and truncate caps before fixation.
14536
14537         * gst/gstcaps.h:
14538         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14539         discards all but the first structure from its argument.
14540
14541 2005-07-15  Wim Taymans  <wim@fluendo.com>
14542
14543         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14544         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14545         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14546         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14547         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14548         (gst_base_transform_chain), (gst_base_transform_change_state),
14549         (gst_base_transform_set_passthrough),
14550         (gst_base_transform_is_passthrough):
14551         * gst/base/gstbasetransform.h:
14552         Make passthrough work using the bufferpools.
14553         Changed API a bit, subclasses have to write into a buffer
14554         provided by the base class.
14555         More debug info in nego functions.
14556         
14557         * gst/elements/gstidentity.c: (gst_identity_init),
14558         (gst_identity_transform):
14559         Port to new base class.
14560
14561 2005-07-15  Wim Taymans  <wim@fluendo.com>
14562
14563         * gst/gstmessage.c: (gst_message_new_state_changed):
14564         * tools/gst-launch.c: (event_loop), (main):
14565         Totally dump messages in -launch with the -m option.
14566         Fix message name for State messages,
14567
14568 2005-07-14  Wim Taymans  <wim@fluendo.com>
14569
14570         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14571         Post error messages on errors.
14572
14573 2005-07-14  Wim Taymans  <wim@fluendo.com>
14574
14575         * gst/gstcaps.c: (gst_caps_do_simplify):
14576         Remove debug info.
14577
14578         * gst/gsterror.h:
14579         Define error for stream stopped.
14580
14581         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14582         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14583         Do proper return values.
14584
14585         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14586         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14587         (gst_pad_get_range):
14588         Better return values.
14589
14590         * gst/gstpad.h:
14591         Reorganise return values, add macro to check for fatal errors.
14592
14593         * gst/gstqueue.c: (gst_queue_chain):
14594         Return proper GstFlowReturn values,
14595
14596 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * docs/gst/gstreamer-sections.txt:
14599         * docs/gst/gstreamer.types:
14600         * docs/gst/tmpl/gst.sgml:
14601         * docs/gst/tmpl/gstbasesink.sgml:
14602         * docs/gst/tmpl/gstbasesrc.sgml:
14603         * docs/gst/tmpl/gstbasetransform.sgml:
14604         * docs/gst/tmpl/gstbin.sgml:
14605         * docs/gst/tmpl/gstbuffer.sgml:
14606         * docs/gst/tmpl/gstcaps.sgml:
14607         * docs/gst/tmpl/gstclock.sgml:
14608         * docs/gst/tmpl/gstcompat.sgml:
14609         * docs/gst/tmpl/gstconfig.sgml:
14610         * docs/gst/tmpl/gstelement.sgml:
14611         * docs/gst/tmpl/gstelementdetails.sgml:
14612         * docs/gst/tmpl/gstelementfactory.sgml:
14613         * docs/gst/tmpl/gstenumtypes.sgml:
14614         * docs/gst/tmpl/gsterror.sgml:
14615         * docs/gst/tmpl/gstevent.sgml:
14616         * docs/gst/tmpl/gstfakesink.sgml:
14617         * docs/gst/tmpl/gstfakesrc.sgml:
14618         * docs/gst/tmpl/gstfilesink.sgml:
14619         * docs/gst/tmpl/gstfilesrc.sgml:
14620         * docs/gst/tmpl/gstfilter.sgml:
14621         * docs/gst/tmpl/gstformat.sgml:
14622         * docs/gst/tmpl/gstghostpad.sgml:
14623         * docs/gst/tmpl/gstimplementsinterface.sgml:
14624         * docs/gst/tmpl/gstindex.sgml:
14625         * docs/gst/tmpl/gstindexfactory.sgml:
14626         * docs/gst/tmpl/gstinfo.sgml:
14627         * docs/gst/tmpl/gstiterator.sgml:
14628         * docs/gst/tmpl/gstmacros.sgml:
14629         * docs/gst/tmpl/gstmemchunk.sgml:
14630         * docs/gst/tmpl/gstminiobject.sgml:
14631         * docs/gst/tmpl/gstobject.sgml:
14632         * docs/gst/tmpl/gstpad.sgml:
14633         * docs/gst/tmpl/gstpadtemplate.sgml:
14634         * docs/gst/tmpl/gstparse.sgml:
14635         * docs/gst/tmpl/gstpipeline.sgml:
14636         * docs/gst/tmpl/gstplugin.sgml:
14637         * docs/gst/tmpl/gstpluginfeature.sgml:
14638         * docs/gst/tmpl/gstquery.sgml:
14639         * docs/gst/tmpl/gstqueue.sgml:
14640         * docs/gst/tmpl/gstregistry.sgml:
14641         * docs/gst/tmpl/gstregistrypool.sgml:
14642         * docs/gst/tmpl/gstscheduler.sgml:
14643         * docs/gst/tmpl/gstschedulerfactory.sgml:
14644         * docs/gst/tmpl/gststructure.sgml:
14645         * docs/gst/tmpl/gstsystemclock.sgml:
14646         * docs/gst/tmpl/gsttaglist.sgml:
14647         * docs/gst/tmpl/gsttagsetter.sgml:
14648         * docs/gst/tmpl/gsttrace.sgml:
14649         * docs/gst/tmpl/gsttrashstack.sgml:
14650         * docs/gst/tmpl/gsttypefind.sgml:
14651         * docs/gst/tmpl/gsttypefindfactory.sgml:
14652         * docs/gst/tmpl/gsttypes.sgml:
14653         * docs/gst/tmpl/gsturihandler.sgml:
14654         * docs/gst/tmpl/gsturitype.sgml:
14655         * docs/gst/tmpl/gstutils.sgml:
14656         * docs/gst/tmpl/gstvalue.sgml:
14657         * docs/gst/tmpl/gstversion.sgml:
14658         * docs/gst/tmpl/gstxml.sgml:
14659         * docs/libs/tmpl/gstcontrol.sgml:
14660         * docs/libs/tmpl/gstdataprotocol.sgml:
14661         * docs/libs/tmpl/gstdparam.sgml:
14662         * docs/libs/tmpl/gstdplinint.sgml:
14663         * docs/libs/tmpl/gstdpman.sgml:
14664         * docs/libs/tmpl/gstdpsmooth.sgml:
14665         * docs/libs/tmpl/gstgetbits.sgml:
14666         * docs/libs/tmpl/gstunitconvert.sgml:
14667         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14668         (gst_push_src_base_init), (gst_push_src_class_init),
14669         (gst_push_src_init), (gst_push_src_create):
14670         * gst/base/gstpushsrc.h:
14671         * gst/elements/gstelements.c:
14672         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14673         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14674         (gst_fake_sink_init), (gst_fake_sink_set_property),
14675         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14676         (gst_fake_sink_event), (gst_fake_sink_preroll),
14677         (gst_fake_sink_render), (gst_fake_sink_change_state):
14678         * gst/elements/gstfakesink.h:
14679         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14680         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14681         (gst_fake_src_base_init), (gst_fake_src_class_init),
14682         (gst_fake_src_init), (gst_fake_src_event_handler),
14683         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14684         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14685         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14686         (gst_fake_src_create_buffer), (gst_fake_src_create),
14687         (gst_fake_src_start), (gst_fake_src_stop):
14688         * gst/elements/gstfakesrc.h:
14689         * gst/elements/gstfilesink.c: (_do_init),
14690         (gst_file_sink_base_init), (gst_file_sink_class_init),
14691         (gst_file_sink_init), (gst_file_sink_dispose),
14692         (gst_file_sink_set_location), (gst_file_sink_set_property),
14693         (gst_file_sink_get_property), (gst_file_sink_open_file),
14694         (gst_file_sink_close_file), (gst_file_sink_query),
14695         (gst_file_sink_event), (gst_file_sink_render),
14696         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14697         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14698         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14699         * gst/elements/gstfilesink.h:
14700         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14701         (gst_file_src_class_init), (gst_file_src_init),
14702         (gst_file_src_finalize), (gst_file_src_set_location),
14703         (gst_file_src_set_property), (gst_file_src_get_property),
14704         (gst_file_src_map_region), (gst_file_src_map_small_region),
14705         (gst_file_src_create_mmap), (gst_file_src_create_read),
14706         (gst_file_src_create), (gst_file_src_is_seekable),
14707         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14708         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14709         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14710         (gst_file_src_uri_handler_init):
14711         * gst/elements/gstfilesrc.h:
14712           more autistic cleanliness in functions/names/defines
14713
14714 2005-07-13  Andy Wingo  <wingo@pobox.com>
14715
14716         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14717         source couldn't negotiate.
14718
14719         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14720         connections again.
14721
14722         * gst/gstutils.h:
14723         * gst/gstutils.c (gst_element_link_pads_filtered): New old
14724         function. I am channeling Hades. Put your boots on suckers!!!
14725
14726 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14727
14728         * testsuite/caps/Makefile.am:
14729         * testsuite/caps/value_compare.c:
14730         * testsuite/caps/value_intersect.c:
14731         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14732           move two testsuite apps over to the check dir
14733
14734 2005-07-12  Wim Taymans  <wim@fluendo.com>
14735
14736         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14737         Added more debug info in the negotiate process.
14738
14739         * gst/gstmessage.h:
14740         Prepare for segment playback.
14741
14742         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14743         Better debugging.
14744
14745         * gst/gstutils.c:
14746         Some more docs.
14747
14748         * tools/gst-launch.c: (main):
14749         NULL pipeline on errors.
14750
14751 2005-07-12  Andy Wingo  <wingo@pobox.com>
14752
14753         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14754         not it comes from a malloc region. Make sure our copy gets freed.
14755
14756 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14757
14758         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14759         * check/gst/gstmessage.c: (GST_START_TEST):
14760         * check/gst/gststructure.c: (GST_START_TEST),
14761         (gst_structure_suite), (main):
14762           more testing
14763         * gst/gstelement.c: (gst_element_message_full):
14764           clean up GError and debug string now that they get copied
14765         * gst/gstmessage.c: (gst_message_new_error),
14766         (gst_message_new_warning), (gst_message_parse_error),
14767         (gst_message_parse_warning):
14768           use GST_TYPE_G_ERROR for structure_new, and take copies of
14769           arguments, so that we don't mess up refcounting
14770
14771 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14772
14773         * check/Makefile.am:
14774           add per-test valgrind targets
14775         * check/gst-libs/gdp.c: (GST_START_TEST),
14776         (gst_data_protocol_suite), (main):
14777           clean up
14778
14779 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14780
14781         * check/Makefile.am:
14782           instate more valgrindable tests
14783         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14784         (GST_START_TEST), (fakesrc_suite):
14785         * check/gst/gstpad.c: (GST_START_TEST):
14786         * check/gst/gststructure.c: (GST_START_TEST):
14787           fix test leaks
14788         * docs/gst/tmpl/gstminiobject.sgml:
14789         * gst/gstpad.c: (gst_pad_finalize):
14790           fix the static mutex leak
14791
14792 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14793
14794         * check/Makefile.am:
14795           add two more tests for valgrinding
14796         * check/gst/gstvalue.c: (GST_START_TEST):
14797           test refcount of deserialized buffer, found a leak
14798         * docs/gst/gstreamer-docs.sgml:
14799         * docs/gst/gstreamer-sections.txt:
14800         * docs/gst/gstreamer.types:
14801         * docs/gst/tmpl/gstminiobject.sgml:
14802           add miniobject to docs
14803         * gst/gstminiobject.c:
14804           add some docs
14805         * gst/gstvalue.c: (gst_value_deserialize_buffer),
14806         (gst_string_unwrap):
14807           fix a hard-to-find invalid write for one of the tests
14808           fix a leak for deserialized buffers
14809
14810 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14811
14812         * docs/pwg/advanced-events.xml:
14813         * docs/pwg/advanced-request.xml:
14814         * docs/pwg/advanced-scheduling.xml:
14815         * docs/pwg/appendix-porting.xml:
14816         * docs/pwg/building-boiler.xml:
14817         * docs/pwg/intro-preface.xml:
14818         * docs/pwg/other-ntoone.xml:
14819           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14820           of example code and explanation for pad activation, loop() and
14821           getrange() functions and a bit more. Remove old comments pointing
14822           to loop-functions.
14823         * examples/pwg/Makefile.am:
14824           Add loop/getrange examples.
14825
14826 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14827
14828         * configure.ac:
14829           check for valgrind binary + some fixes
14830         * check/gst.supp:
14831           valgrind suppressions for the tests
14832         * check/Makefile.am:
14833           add a valgrind: target that valgrinds the unit tests
14834         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14835         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14836         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14837         * check/gst/gstghostpad.c:
14838           added some cleanup
14839         * check/gst/gstdata.c:
14840           removed
14841         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14842         (thread_unref), (gst_mini_object_suite), (main):
14843           added
14844         * gst/gst.c: (gst_deinit):
14845         * gst/gst.h:
14846           add a method to clean up.
14847         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14848         (gst_system_clock_obtain):
14849           allow for disposing the system clock.
14850         * tools/gst-launch.c: (main):
14851           deinit
14852
14853 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14854
14855         * docs/gst/tmpl/gstbasesrc.sgml:
14856         * docs/gst/tmpl/gstfakesrc.sgml:
14857         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14858         (gst_base_src_init), (gst_base_src_set_property),
14859         (gst_base_src_get_property), (gst_base_src_get_range),
14860         (gst_base_src_start):
14861         * gst/base/gstbasesrc.h:
14862           add num-buffers property
14863         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14864         (gst_fakesrc_init), (gst_fakesrc_set_property),
14865         (gst_fakesrc_get_property), (gst_fakesrc_create),
14866         (gst_fakesrc_start):
14867           remove num-buffers property
14868
14869 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14870
14871         * docs/gst/gstreamer-sections.txt:
14872         * docs/gst/tmpl/gstbasesink.sgml:
14873         * docs/gst/tmpl/gstbasesrc.sgml:
14874         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14875         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14876         (gst_base_sink_finalize), (gst_base_sink_set_clock),
14877         (gst_base_sink_set_property), (gst_base_sink_get_property),
14878         (gst_base_sink_handle_object), (gst_base_sink_event),
14879         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14880         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14881         (gst_base_sink_loop), (gst_base_sink_deactivate),
14882         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14883         (gst_base_sink_change_state):
14884         * gst/base/gstbasesink.h:
14885         * gst/base/gstbasesrc.h:
14886         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14887         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14888         (gst_filesink_init):
14889           more macro splitting
14890
14891 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14892
14893         * gst/gstelement.c: (gst_element_get_bus):
14894           add debug
14895         * tools/gst-launch.c: (check_intr), (event_loop):
14896           fix bus leaks
14897
14898 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14899
14900         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14901           fix a caps leak
14902
14903 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14904
14905         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14906         (gst_base_src_finalize):
14907           add finalize method and clean up properly
14908         * gst/gstpipeline.c: (gst_pipeline_dispose):
14909           add debug
14910
14911 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14912
14913         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14914         (gst_bin_suite):
14915           add more things to check
14916         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14917         * gst/gstelement.c:
14918           more debug
14919
14920 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14921
14922         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14923         (GST_START_TEST), (fakesrc_suite):
14924         * check/gst-libs/gdp.c: (GST_START_TEST):
14925         * check/gst/gst.c: (GST_START_TEST):
14926         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14927         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14928         * check/gst/gstbus.c: (GST_START_TEST):
14929         * check/gst/gstcaps.c: (GST_START_TEST):
14930         * check/gst/gstdata.c: (GST_START_TEST):
14931         * check/gst/gstelement.c: (GST_START_TEST):
14932         * check/gst/gstghostpad.c: (GST_START_TEST):
14933         * check/gst/gstiterator.c: (GST_START_TEST):
14934         * check/gst/gstmessage.c: (GST_START_TEST):
14935         * check/gst/gstobject.c: (GST_START_TEST):
14936         * check/gst/gstpad.c: (GST_START_TEST):
14937         * check/gst/gststructure.c: (GST_START_TEST):
14938         * check/gst/gstsystemclock.c: (GST_START_TEST),
14939         (gst_systemclock_suite):
14940         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14941         * check/gst/gstvalue.c: (GST_START_TEST):
14942         * check/pipelines/cleanup.c: (GST_START_TEST):
14943         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14944         * check/states/sinks.c: (GST_START_TEST):
14945         * check/gstcheck.c: (gst_check_init):
14946         * check/gstcheck.h:
14947           add debugging category
14948           use GST_START_TEST now, so we add a debug line
14949
14950 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14951
14952         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14953           add test for state change message on a bin
14954         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14955           add another test
14956         * gst/gstbin.c: (gst_bin_init):
14957         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14958         * gst/gstelement.c: (gst_element_post_message),
14959         (gst_element_set_state):
14960         * gst/gstelementfactory.c: (gst_element_factory_create):
14961         * gst/gstmessage.c: (gst_message_new):
14962         * gst/gstscheduler.c:
14963           various debugging additions and cleanups
14964
14965 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14966
14967         * check/Makefile.am:
14968         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14969         (main):
14970           adding tests for elements
14971         * gst/gstelement.c: (gst_element_dispose):
14972
14973 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14974
14975         * gst/registries/gstlibxmlregistry.c: (load_feature):
14976           plug more leaks.  A simple gst_init() now is leakfree, yay.
14977
14978 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14979
14980         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14981         (gst_xml_registry_load):
14982           plug another memleak
14983
14984 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14985
14986         * configure.ac:
14987           use GST_SET_ERROR_CFLAGS
14988         * docs/faq/cvs.xml:
14989           change to ERROR_CFLAGS
14990
14991 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14992
14993         * configure.ac:
14994           make GST_ERROR_CFLAGS overridable and re-enable Werror
14995         * docs/faq/cvs.xml:
14996           add a note about error CFLAGS
14997         * docs/gst/tmpl/gstfakesrc.sgml:
14998         * gst/elements/gstfakesrc.c:
14999           comment out some unused code
15000         * gst/gst.c: (split_and_iterate):
15001         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15002         (load_feature):
15003           plug some memleaks
15004
15005 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15006
15007         * common/Makefile.am:
15008         * common/gtk-doc.mak:
15009         * docs/gst/Makefile.am:
15010           factor out gtk-doc.mak
15011
15012 2005-07-07  Wim Taymans  <wim@fluendo.com>
15013
15014         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
15015         (gst_thread_scheduler_dispose):
15016         Unlock the STREAM_LOCK completely.
15017
15018 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15019
15020         * check/Makefile.am:
15021         * check/elements/.cvsignore:
15022         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15023         (START_TEST), (fakesrc_suite), (main):
15024         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15025         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
15026         (gst_fakesrc_create), (gst_fakesrc_start):
15027         * gst/elements/gstfakesrc.h:
15028           adding a first element test
15029
15030 2005-07-07  Andy Wingo  <wingo@pobox.com>
15031
15032         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
15033         debug message.
15034
15035 2005-07-07  Wim Taymans  <wim@fluendo.com>
15036
15037         * gst/gstquery.c:
15038         * gst/gstquery.h:
15039         Remove old types
15040
15041 2005-07-07  Wim Taymans  <wim@fluendo.com>
15042
15043         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15044         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
15045         Allow subclasses to implement their own negotiation.
15046
15047 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15048
15049         * docs/design/part-gstbin.txt:
15050         * docs/design/part-gstpipeline.txt:
15051           Update design notes to reflect the movement of
15052           responsibility for bus handling from GstPipeline to
15053           GstBin
15054
15055 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15056
15057         * configure.ac:
15058           Remove unnecessary queue2/3/4 examples.
15059
15060 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15061
15062         * examples/Makefile.am:
15063         * examples/helloworld/helloworld.c: (event_loop), (main):
15064         * examples/queue/queue.c: (event_loop), (main):
15065         * examples/queue2/queue2.c: (main):
15066           Update a couple of the examples to work again.
15067
15068         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15069         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
15070          Spelling corrections and extra debug.
15071         
15072         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
15073         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
15074         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
15075         * gst/gstbin.h:
15076         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15077         (gst_pipeline_change_state):
15078         * gst/gstpipeline.h:
15079           Move the bus handler for children to the GstBin, and create a
15080           separate bus for receiving messages from children to the one the
15081           bus sends 'upwards' on.
15082
15083 2005-07-06  Wim Taymans  <wim@fluendo.com>
15084
15085         * gst/base/README:
15086         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15087         (gst_base_sink_handle_object), (gst_base_sink_loop),
15088         (gst_base_sink_change_state):
15089         * gst/base/gstbasesink.h:
15090         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15091         (gst_base_src_init), (gst_base_src_setcaps),
15092         (gst_base_src_getcaps), (gst_base_src_loop),
15093         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
15094         (gst_base_src_start), (gst_base_src_change_state):
15095         * gst/base/gstbasesrc.h:
15096         Make basesrc negotiate.
15097         Handle the case where preroll fails in basesink.
15098         Update README.
15099
15100 2005-07-06  Wim Taymans  <wim@fluendo.com>
15101
15102         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
15103         Implement the fixate function.
15104         Clean up acceptcaps.
15105
15106 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15107
15108         * docs/pwg/building-filterfactory.xml:
15109         * docs/pwg/pwg.xml:
15110           Remove never-written filter-factory chapter; I'll add the various
15111           base classes to part 4 ("other element types") later on.
15112
15113 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15114
15115         * docs/pwg/advanced-negotiation.xml:
15116         * docs/pwg/building-boiler.xml:
15117         * docs/pwg/building-pads.xml:
15118         * docs/pwg/pwg.xml:
15119         * examples/pwg/Makefile.am:
15120           Add a chapter on caps negotiation, simplify the original code
15121           samples a bit w.r.t. caps negotiation, add link to the advanced
15122           section. Add a bunch of examples showing different use cases of
15123           different types of caps negotiation. Upstream renegotiation isn't
15124           fully documented yet since nobody knows how that works.
15125
15126 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15127
15128         * check/gst/gstpad.c:
15129         * check/gstcheck.c:
15130         * gst/gstpad.c: (gst_pad_get_internal_links_default):
15131           if pad has no parent, return NULL as list of internal links
15132
15133 2005-07-05  Andy Wingo  <wingo@pobox.com>
15134
15135         * gst/elements/gstfilesrc.c:
15136         * gst/elements/gstfakesrc.c: 
15137         * gst/base/gstpushsrc.c:
15138         * gst/base/gstbasesrc.h: 
15139         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
15140         
15141 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
15142
15143         * Makefile.am:
15144           better report generation target (lcov needs a patch)
15145
15146 2005-07-05  Andy Wingo  <wingo@pobox.com>
15147
15148         * gst/elements, testsuite: Null if we got it...
15149
15150 2005-07-05  Wim Taymans  <wim@fluendo.com>
15151
15152         * configure.ac:
15153         * libs/gst/dataprotocol/Makefile.am:
15154         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
15155         * libs/gst/dataprotocol/dataprotocol.h:
15156         * pkgconfig/Makefile.am:
15157         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
15158         * pkgconfig/gstreamer-dataprotocol.pc.in:
15159         Ported dataprotol to 0.9. 
15160         Added pkgconfig files.
15161
15162 2005-07-05  Andy Wingo  <wingo@pobox.com>
15163
15164         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
15165         Default to returning TRUE for the case when tranform_caps returns
15166         a fixed caps, like for identity or volume.
15167
15168         * check/gst/gstbus.c (pound_bus_with_messages): 
15169         * check/gst/gstmessage.c (START_TEST): 
15170         * check/pipelines/simple_launch_lines.c (got_handoff): Application
15171         message API change.
15172
15173         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
15174         logic weaks here: always run transform_caps, trying passthrough
15175         operation only if the original caps intersects with the transform.
15176
15177         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
15178         source and sink caps.
15179
15180         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
15181         Intersect the peer caps with the pad template before going into
15182         transform_caps.
15183         (gst_base_transform_transform_caps): More debugging.
15184
15185         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
15186         src argument.
15187
15188 2005-07-04  Edward Hervey  <edward@fluendo.com>
15189
15190         * gst/gstutils.c:
15191         * gst/gstutils.h:
15192         (gst_pad_add_*_probe): now returns the signal id for better wrapping
15193         in bindings.
15194
15195 2005-07-04  Andy Wingo  <wingo@pobox.com>
15196
15197         * check/gst/gstpad.c: Only set explicit caps on pads.
15198
15199 2005-07-01  Andy Wingo  <wingo@pobox.com>
15200
15201         * tests/network-clock.scm: Commentary update.
15202
15203         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
15204         Didn't really make sense, not implementable with basetransform,
15205         etc.
15206         (gst_identity_transform): Unref inbuf via make_writable. Feeble
15207         attempt at implementing the sync property, needs an unlock method.
15208
15209         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
15210         New func, by default returns the same caps (the identity
15211         transformation).
15212         (gst_base_transform_getcaps): Uses transform_caps to return
15213         something sensible.
15214         (gst_base_transform_setcaps): Complicated logic to get caps on
15215         both pads, even if they are different, and to call set_caps once
15216         for every time both pads get their caps set.
15217         (gst_base_transform_handle_buffer): Give the ref to the transform
15218         function. Allows in-place modification of the buffer.
15219
15220         * gst/base/gstbasetransform.h (transform_caps): New class method.
15221         Given caps on one side, what can I do on the other.
15222         (set_caps): Take two caps, one for each side of the element.
15223
15224         * gst/gstpad.h:
15225         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
15226         caps in place. This is safe because we can check the mutability of
15227         the caps, and a good idea because fixate functions are just called
15228         as a matter of last resort. (Not actually implemented.)
15229         (gst_pad_set_caps): If the caps we're setting is actually the same
15230         as the existing pad caps, just update the pointer without calling
15231         setcaps. Assert that caps is either NULL or fixed, as per the
15232         docs.
15233
15234         * gst/gstghostpad.c: Update for fixate changes.
15235
15236 2005-07-02  Andy Wingo  <wingo@pobox.com>
15237
15238         * gst/gstcaps.c:
15239         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
15240         two refcounts makes it immutable, which is enough. Doc more.
15241
15242 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
15243
15244         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
15245           Put the mini_object into GValue as a mini_object,
15246           not a gpointer, since that's how we declared
15247           the signal.
15248
15249 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15250
15251         * examples/pwg/Makefile.am:
15252           Fix buildbot again.
15253
15254 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15255
15256         * docs/pwg/building-testapp.xml:
15257           Add extra check.
15258         * examples/pwg/Makefile.am:
15259           Fix buildbot.
15260
15261 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15262
15263         * configure.ac:
15264         * examples/Makefile.am:
15265         * examples/pwg/Makefile.am:
15266         * examples/pwg/extract.pl:
15267           Enable building the PWG examples.
15268         * docs/pwg/advanced-interfaces.xml:
15269           Add URI interface stub.
15270         * docs/pwg/advanced-types.xml:
15271         * docs/pwg/other-autoplugger.xml:
15272         * docs/pwg/appendix-porting.xml:
15273         * docs/pwg/pwg.xml:
15274           Add porting guide (mostly stubs), remove autoplugging (see ADM).
15275         * docs/pwg/building-boiler.xml:
15276         * docs/pwg/building-chainfn.xml:
15277         * docs/pwg/building-pads.xml:
15278         * docs/pwg/building-props.xml:
15279         * docs/pwg/building-state.xml:
15280         * docs/pwg/building-testapp.xml:
15281           Update the building-*.xml parts for 0.9 changes. All examples
15282           code blocks compile in examples/pwg/*.
15283
15284 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15285
15286         * docs/manual/advanced-autoplugging.xml:
15287         * docs/manual/appendix-checklist.xml:
15288         * docs/manual/appendix-integration.xml:
15289         * docs/manual/highlevel-components.xml:
15290           Fix playbin/decodebin examples, update docs a bit, mention bus
15291           instead of signals in various places, mention kmplayer and
15292           kaffeine since they have a working GStreamer backend in the KDE
15293           section.
15294
15295 2005-06-30  Wim Taymans  <wim@fluendo.com>
15296
15297         * CHANGES-0.9:
15298         * docs/design/draft-ghostpads.txt:
15299         * docs/design/draft-push-pull.txt:
15300         * docs/design/draft-query.txt:
15301         * docs/design/part-TODO.txt:
15302         * docs/design/part-query.txt:
15303         Added CHANGES-0.9 doc, updated status of other docs.
15304         
15305         * gst/gstquery.h:
15306         Remove "hmm" macro
15307
15308 2005-06-30  Wim Taymans  <wim@fluendo.com>
15309
15310         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15311         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15312         (gst_base_sink_change_state):
15313         * gst/base/gstbasesink.h:
15314         Some tweaks, only EOS and a buffer complete a preroll.
15315
15316 2005-06-30  Andy Wingo  <wingo@pobox.com>
15317
15318         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
15319         activate_push down to the internal pad as well.
15320
15321 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
15322
15323         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15324
15325         * gst/gsttaginterface.c:
15326           Some documentation fixes (#307394 and #307397).
15327
15328 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
15329
15330         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15331
15332         * gst/gstvalue.c: (gst_value_intersect_list):
15333           Fix memleak (#309125).
15334
15335 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15336
15337         * docs/manual/advanced-dataaccess.xml:
15338           Fix fakesrc example to compile; doesn't work, bug somewhere...?
15339         * docs/manual/basics-pads.xml:
15340           Add reference for filtered caps to above chapter.
15341
15342 2005-06-30  Wim Taymans  <wim@fluendo.com>
15343
15344         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
15345         (gst_bin_change_state):
15346         Probes are gone.
15347         Lame attempt at making the state change function a bit
15348         more readable.
15349
15350 2005-06-30  Wim Taymans  <wim@fluendo.com>
15351
15352         * docs/design/part-clocks.txt:
15353         * docs/design/part-element-sink.txt:
15354         * docs/design/part-events.txt:
15355         * docs/design/part-preroll.txt:
15356         * docs/design/part-states.txt:
15357         Some more tweeks and additions to the docs.
15358
15359 2005-06-30  Wim Taymans  <wim@fluendo.com>
15360
15361         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15362         (default_have_data), (gst_pad_class_init), (gst_pad_init),
15363         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15364         (gst_pad_check_pull_range), (gst_pad_get_range),
15365         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
15366         * gst/gstpad.h:
15367         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
15368         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15369         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15370         (gst_pad_remove_buffer_probe):
15371         Removed atomic operations, use existing LOCK.
15372         Move exception handling out of main code path.
15373
15374 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15375
15376         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15377         (silly_return_true_function), (gst_pad_class_init),
15378         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15379         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
15380         (gst_pad_send_event):
15381           Fix accumulator, add default value by using _emitv() instead
15382           of _emit() for signal emission.
15383
15384 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15385
15386         * docs/manual/advanced-dataaccess.xml:
15387         * examples/manual/Makefile.am:
15388           Add probe example.
15389         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
15390           Make work (??).
15391
15392 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
15393
15394         * gst/elements/gstfilesink.c: (gst_filesink_render):
15395           Simplify code so that we don't have to handle short
15396           writes and return GST_FLOW_ERROR if an error occured.
15397
15398 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15399
15400         * docs/gst/gstreamer-docs.sgml:
15401           Remove probes more.
15402
15403 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15404
15405         * docs/gst/gstreamer-sections.txt:
15406         * docs/gst/tmpl/gstpad.sgml:
15407         * docs/gst/tmpl/gstprobe.sgml:
15408         * gst/Makefile.am:
15409         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15410         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
15411         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15412         (gst_pad_push_event), (gst_pad_send_event):
15413         * gst/gstpad.h:
15414         * gst/gstutils.c: (gst_pad_add_data_probe),
15415         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15416         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15417         (gst_pad_remove_buffer_probe):
15418         * gst/gstutils.h:
15419           Remove old probes, add new g-signal-based probes and some utility
15420           functions.
15421
15422 2005-06-29  Edward Hervey  <edward@fluendo.com>
15423
15424         * gst/gstelementfactory.c:
15425         * gst/gstutils.h:
15426         * gst/gstutils.c:
15427         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
15428         the definition to the header file.
15429
15430 2005-06-29  Andy Wingo  <wingo@pobox.com>
15431
15432         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
15433         plugins from the source directory.
15434
15435 2005-06-29  Wim Taymans  <wim@fluendo.com>
15436
15437         * docs/gst/tmpl/gstbuffer.sgml:
15438         * docs/gst/tmpl/gstclock.sgml:
15439         Some fixings for blantently wrong text.
15440
15441 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15442
15443         * check/Makefile.am:
15444         * gst/gst.c: (add_path_func), (init_pre):
15445         * gst/gstregistry.c: (gst_registry_add_path):
15446           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15447           only scan the GST_PLUGIN_PATH locations, and not add
15448           system locations
15449
15450 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15451
15452         * docs/gst/gstreamer-sections.txt:
15453         * docs/gst/tmpl/gstbasesrc.sgml:
15454         * gst/gstelement.c:
15455         * gst/gstelement.h:
15456         * gst/gstevent.c:
15457         * gst/gstutils.c:
15458           doc fixes
15459
15460 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15461
15462         * docs/manual/advanced-autoplugging.xml:
15463           Fix autoplugging example.
15464
15465 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15466
15467         * docs/manual/advanced-autoplugging.xml:
15468         * docs/manual/mime-world.fig:
15469           Try to get autoplugging working, fix type detection. Fix text
15470           in hello-world image.
15471
15472 2005-06-29  Wim Taymans  <wim@fluendo.com>
15473
15474         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15475         (gst_base_sink_change_state):
15476         Small debug line.
15477
15478         * gst/gstclock.h:
15479         map SIGNAL and BROADCAST to the right function.
15480
15481         * gst/gstobject.h:
15482         Remove redundant braces.
15483
15484         * gst/gstpad.c: (gst_pad_set_caps):
15485         Don't call setcaps function when reseting caps to NULL.
15486
15487         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15488         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15489         (gst_system_clock_id_unschedule):
15490         Use BROADCAST as this is what we do.
15491
15492 2005-06-29  Wim Taymans  <wim@fluendo.com>
15493
15494         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15495         We are actually prerolling before commiting the state
15496         change. 
15497
15498 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15499
15500         * docs/manual/advanced-clocks.xml:
15501         * docs/manual/advanced-interfaces.xml:
15502         * docs/manual/advanced-metadata.xml:
15503         * docs/manual/advanced-position.xml:
15504         * docs/manual/advanced-schedulers.xml:
15505         * docs/manual/advanced-threads.xml:
15506         * docs/manual/appendix-porting.xml:
15507         * docs/manual/basics-bins.xml:
15508         * docs/manual/basics-bus.xml:
15509         * docs/manual/basics-elements.xml:
15510         * docs/manual/basics-helloworld.xml:
15511         * docs/manual/basics-pads.xml:
15512         * docs/manual/highlevel-components.xml:
15513         * docs/manual/manual.xml:
15514         * docs/manual/thread.fig:
15515           Update (until threads/scheduling) Application Development Manual;
15516           remove GstThread, add GstBus, add simple porting checklist, add
15517           documentation for tag writing, clocks, make all examples until this
15518           part compile and run.
15519         * examples/manual/Makefile.am:
15520           Update from changes to Application Development Manual; add bus
15521           example, remove thread example.
15522
15523 2005-06-28  Wim Taymans  <wim@fluendo.com>
15524
15525         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15526         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15527         (gst_bus_source_dispatch):
15528         Add debugging messages.
15529         Make internal methods static.
15530         Handle the case where the bus is flushed in the handler.
15531         
15532         * gst/gstelement.c: (gst_element_get_bus):
15533         Fix refcount in _get_bus();
15534
15535         * gst/gstpipeline.c: (gst_pipeline_change_state),
15536         (gst_pipeline_get_clock_func):
15537         Clock refcounting fixes.
15538         Handle the case where preroll timed out more gracefully.
15539         
15540         * gst/gstsystemclock.c: (gst_system_clock_dispose):
15541         Clean up the internal thread in dispose. This is needed
15542         for subclasses that actually get disposed.
15543         
15544         * gst/schedulers/threadscheduler.c:
15545         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15546         (gst_thread_scheduler_dispose):
15547         Free thread pool in dispose.
15548
15549 2005-06-28  Andy Wingo  <wingo@pobox.com>
15550
15551         * tests/network-clock-utils.scm (debug, print-event): New utils.
15552
15553         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15554         (*packet-loss*): Unified loss probability.
15555         (network-time): Report out-of-band events.
15556
15557         * tests/plot-data: Add support for out-of-band events. Hack it
15558         into this script instead of passing it down the pipe; should fix
15559         this later.
15560
15561 2005-06-28  Wim Taymans  <wim@fluendo.com>
15562
15563         * docs/gst/gstreamer.types:
15564         * docs/gst/tmpl/gstbasesrc.sgml:
15565         * docs/gst/tmpl/gstpad.sgml:
15566         Docs fixes.
15567
15568 2005-06-28  Wim Taymans  <wim@fluendo.com>
15569
15570         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15571         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15572         (gst_proxy_pad_do_fixatecaps):
15573         Correctly proxy the check_pull_range function.
15574
15575 2005-06-28  Andy Wingo  <wingo@pobox.com>
15576
15577         * tests/network-clock.scm: Removed need for slib.
15578         
15579 2005-06-28  Wim Taymans  <wim@fluendo.com>
15580
15581         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15582         (gst_basesink_preroll_queue_flush):
15583         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15584         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15585         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15586         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15587         (gst_proxy_pad_set_property):
15588         * gst/gstpad.c:
15589         * gst/gstpad.h:
15590         * gst/gstqueue.c: (gst_queue_init):
15591         The deprecated pad loop function is removed now.
15592
15593 2005-06-28  Andy Wingo  <wingo@pobox.com>
15594
15595         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15596         New parameters, simulate network packet loss.
15597
15598         * tests/network-clock-utils.scm: Initialize the RNG.
15599
15600 2005-06-28  Wim Taymans  <wim@fluendo.com>
15601
15602         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15603         (gst_basesink_event), (gst_basesink_deactivate):
15604         Flushing the preroll queue always needs to unlock the waiters.
15605
15606 2005-06-28  Edward Hervey  <edward@fluendo.com>
15607
15608         * gst/gstpipeline.c: (gst_pipeline_send_event): 
15609         Wheen a seek was successful on a pipeline, set the stream_time to the
15610         seek offset in order to have a synchronized stream_time.
15611
15612 2005-06-28  Wim Taymans  <wim@fluendo.com>
15613
15614         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15615         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15616         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15617         (gst_proxy_pad_do_fixatecaps):
15618         Call wrapper function instead of just calling the function
15619         pointers. This takes care of any locking and whatmore.
15620
15621 2005-06-28  Wim Taymans  <wim@fluendo.com>
15622
15623         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15624         (gst_pad_pull_range):
15625         * gst/gstpad.h:
15626         CONNECTED -> LINKED.
15627
15628 2005-06-28  Andy Wingo  <wingo@pobox.com>
15629
15630         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15631         source-munging commit!!!
15632
15633         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
15634         (gst_object_sink): Take gpointer arguments, not GstObject --
15635         avoids casts. Like GLib.
15636
15637         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15638         activate.
15639
15640 2005-06-27  Andy Wingo  <wingo@pobox.com>
15641
15642         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15643         remaining buffer.
15644
15645         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15646         returns a sorted copy of the trace list.
15647         (gst_alloc_trace_print_live): New API, only prints traces with
15648         live objects. Sort the list.
15649         (gst_alloc_trace_print_all): Sort the list.
15650         (gst_alloc_trace_print): Align columns.
15651
15652         * gst/elements/gstttypefindelement.c:
15653         * gst/elements/gsttee.c:
15654         * gst/base/gstbasesrc.c:
15655         * gst/base/gstbasesink.c:
15656         * gst/base/gstbasetransform.c:
15657         * gst/gstqueue.c: Adapt for pad activation changes.
15658
15659         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15660         sched.
15661         (gst_pipeline_dispose): Drop ref on sched.
15662
15663         * gst/gstpad.c (gst_pad_init): Set the default activate func.
15664         (gst_pad_activate_default): Push mode by default.
15665         (pre_activate_switch, post_activate_switch): New stubs, things to
15666         do before and after switching activation modes on pads.
15667         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15668         the pad's activate function to choose which mode to activate.
15669         Shortcut on deactivation and call the right function directly.
15670         (gst_pad_activate_pull): New API, (de)activates a pad in pull
15671         mode.
15672         (gst_pad_activate_push): New API, same for push mode.
15673         (gst_pad_set_activate_function) 
15674         (gst_pad_set_activatepull_function) 
15675         (gst_pad_set_activatepush_function): Setters for new API.
15676
15677         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15678         Trace all miniobjects.
15679         (gst_mini_object_make_writable): Unref the arg if we copy, like
15680         gst_caps_make_writable.
15681
15682         * gst/gstmessage.c (_gst_message_initialize): No trace init.
15683
15684         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
15685         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15686         Adapt for new pad API.
15687
15688         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15689
15690         * gst/gstelement.h:
15691         * gst/gstelement.c (gst_element_iterate_src_pads) 
15692         (gst_element_iterate_sink_pads): New API functions.
15693         
15694         * gst/gstelement.c (iterator_fold_with_resync): New utility,
15695         should fold into gstiterator.c in some form.
15696         (gst_element_pads_activate): Simplified via use of fold and
15697         delegation of decisions to gstpad->activate.
15698
15699         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15700         help in debugging.
15701
15702         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15703         class once in init, like gstmessage. Didn't run into this issue
15704         but it seems correct. Don't initialize a trace, gstminiobject does
15705         that.
15706
15707         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15708         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15709         to the bus.
15710         (assert_live_count): New util function, uses alloc traces to check
15711         cleanup.
15712
15713         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15714         To be modified when unlink drops the internal pad.
15715
15716 2005-06-27  Wim Taymans  <wim@fluendo.com>
15717
15718         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15719         (gst_bin_change_state):
15720         Cleanup the get_state() function a little, make sure it
15721         iterates the same set of elements.
15722         Added stub iterate_state_order().
15723
15724 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15725
15726         * docs/gst/gstreamer-docs.sgml:
15727         * docs/gst/gstreamer-sections.txt:
15728         * docs/gst/gstreamer.types:
15729         * docs/gst/tmpl/gstbasesink.sgml:
15730         * docs/gst/tmpl/gstbasesrc.sgml:
15731         * docs/gst/tmpl/gstbasetransform.sgml:
15732         * docs/gst/tmpl/gstelement.sgml:
15733         * docs/gst/tmpl/gstiterator.sgml:
15734         * gst/base/gstbasesrc.c:
15735         * gst/base/gstbasesrc.h:
15736         * gst/base/gstbasetransform.h:
15737         * gst/gstelement.c:
15738         * gst/gstiterator.h:
15739           adding basetransform and iterator docs
15740
15741 2005-06-27  Andy Wingo  <wingo@pobox.com>
15742
15743         * docs/design/part-activation.txt: Notes on how activation should
15744         work -- not quite implemented yet.
15745
15746 2005-06-25  Wim Taymans  <wim@fluendo.com>
15747
15748         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15749         At least get the chain function correct, needs more
15750         fixing.
15751
15752 2005-06-25  Wim Taymans  <wim@fluendo.com>
15753
15754         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15755         (gst_basesink_handle_object), (gst_basesink_event),
15756         (gst_basesink_do_sync), (gst_basesink_handle_event),
15757         (gst_basesink_change_state):
15758         * gst/gsttask.h:
15759         Right, two problems here: ghostpads don't take locks and
15760         glib _rec_mutex_lock_full() with depth==0 still locks.
15761         Catch illegal locking and g_warn them.
15762
15763 2005-06-25  Wim Taymans  <wim@fluendo.com>
15764
15765         * check/states/sinks.c: (START_TEST), (gst_object_suite):
15766         Have to check for completion now...
15767
15768 2005-06-25  Wim Taymans  <wim@fluendo.com>
15769
15770         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15771         (gst_basesink_handle_object), (gst_basesink_event),
15772         (gst_basesink_do_sync), (gst_basesink_handle_event),
15773         (gst_basesink_change_state):
15774         * gst/gstpad.h:
15775         Unlock STREAM_LOCK whatever the recursion was.
15776
15777 2005-06-25  Wim Taymans  <wim@fluendo.com>
15778
15779         * gst/base/gstbasesink.c: (gst_basesink_set_property),
15780         (gst_basesink_preroll_queue_empty),
15781         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15782         (gst_basesink_event), (gst_basesink_do_sync),
15783         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15784         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15785         (gst_basesink_change_state):
15786         Reworked the base sink, handle event and buffer serialisation
15787         correctly and removed possible deadlock.
15788         Handle EOS correctly.
15789
15790 2005-06-25  Wim Taymans  <wim@fluendo.com>
15791
15792         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15793         (gst_pipeline_change_state):
15794         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15795         Allow elements to post EOS in the state change function.
15796         Fix up -launch, make it exit the poll loop when the
15797         pipeline actually changed state.
15798         Fix up warning parsing in -launch.
15799
15800 2005-06-25  Wim Taymans  <wim@fluendo.com>
15801
15802         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15803         (gst_tee_sink_activate):
15804         Core takes STREAM_LOCK for us now.
15805
15806 2005-06-25  Wim Taymans  <wim@fluendo.com>
15807
15808         * gst/gstelement.c: (gst_element_get_state_func),
15809         (gst_element_set_state):
15810         * gst/gstelement.h:
15811         * gst/gstmessage.c: (gst_message_parse_error),
15812         (gst_message_parse_warning):
15813         Keep track of current target state while performing a state
15814         change so that subclasses can do something interesting.
15815         Fix parsing of warning/error messages when GError is NULL.
15816
15817 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15818
15819         * docs/gst/Makefile.am:
15820         * docs/gst/gstreamer-docs.sgml:
15821         * docs/gst/gstreamer-sections.txt:
15822         * docs/gst/gstreamer.types:
15823         * docs/gst/tmpl/gstbasesink.sgml:
15824         * docs/gst/tmpl/gstbasesrc.sgml:
15825         * docs/gst/tmpl/gstbin.sgml:
15826         * docs/gst/tmpl/gstcompat.sgml:
15827         * docs/gst/tmpl/gstfakesink.sgml:
15828         * docs/gst/tmpl/gstfakesrc.sgml:
15829         * docs/gst/tmpl/gstfilesink.sgml:
15830         * docs/gst/tmpl/gstfilesrc.sgml:
15831         * docs/gst/tmpl/gstindex.sgml:
15832         * docs/manual/appendix-quotes.xml:
15833         * gst/base/gstbasesrc.h:
15834         * gst/elements/gstfakesrc.h:
15835         * gst/gstmessage.h:
15836           start pulling in base classes and elements in our docs
15837
15838 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
15839
15840         * docs/gst/Makefile.am:
15841         * docs/libs/Makefile.am:
15842           fixed make distcheck with gtk-doc 1.3
15843
15844 2005-06-23  Wim Taymans  <wim@fluendo.com>
15845
15846         * gst/gstelement.c: (gst_element_get_state_func),
15847         (gst_element_set_state), (gst_element_change_state):
15848         When the state did not change, also report NO_PREROLL
15849         when it matters.
15850
15851 2005-06-23  Wim Taymans  <wim@fluendo.com>
15852
15853         * gst/gstpad.c: (gst_pad_event_default):
15854         * gst/gstqueue.c: (gst_queue_loop):
15855         No unsafe task pausing please.
15856
15857 2005-06-23  Wim Taymans  <wim@fluendo.com>
15858
15859         * gst/schedulers/threadscheduler.c:
15860         (gst_thread_scheduler_task_start),
15861         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15862         Ref the task before pushing it on the threadpool. This
15863         makes sure that we have a ref when the threadfunction is
15864         actually called.
15865
15866 2005-06-23  Andy Wingo  <wingo@pobox.com>
15867
15868         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15869         offset is greater than the file's size.
15870
15871         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
15872         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15873         * gst/gstobject.c (gst_object_class_init): Make the class lock
15874         recursive. Wim won't let me drop deep_notify. Decodebin works
15875         again, whoopdy doo.
15876
15877         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15878         internal pad, and hacks accordingly. Doesn't do it on the target
15879         pad because we change its caps. Probably catches all cases of
15880         interest tho.
15881         (gst_ghost_pad_set_property): Connect to notify::caps as
15882         appropritate.
15883
15884         * tests/network-clock.scm (plot-simulation): Pipe data to the
15885         elite python skript.
15886
15887         * tests/network-clock-utils.scm (define-parameter): New macro,
15888         defines a parameter that can be set via the command line.
15889         (set-parameter!, parse-parameter-arguments): Command line args
15890         parser.
15891
15892         * tests/plot-data: Simple matplotlib-based plotter, takes input on
15893         stdin.
15894
15895 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
15896
15897         * gst/elements/gsttypefindelement.c:
15898         (gst_type_find_element_handle_event):
15899           Don't restart typefinding on a discont.
15900         * gst/gstelement.c: (gst_element_set_state):
15901           Debug spelling fix.
15902         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15903           Allow changing mode of an active pad.
15904           Debug output fixes.
15905         * gst/registries/gstlibxmlregistry.c: (load_feature):
15906           Don't cast a static pad template to a normal pad template.
15907
15908 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15909
15910         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15911         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15912           remove gst_strtoll completely, since it didn't actually do
15913           anything more than what g_ascii_strtoull already does.
15914           check for range errors when deserializing
15915           do a cast for the unsigned cases; but further fixing needs
15916           a decision on what the interpretation of "(int)" and
15917           deserialization should be for values that fall outside the
15918           type's boundaries (ie, refuse, or interpret as casting)
15919
15920 2005-06-23  Wim Taymans  <wim@fluendo.com>
15921
15922         * check/Makefile.am:
15923         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15924         * docs/design/part-live-source.txt:
15925         * docs/design/part-states.txt:
15926         * gst/base/gstbasesrc.c: (gst_basesrc_init),
15927         (gst_basesrc_set_live), (gst_basesrc_is_live),
15928         (gst_basesrc_get_range), (gst_basesrc_activate),
15929         (gst_basesrc_change_state):
15930         * gst/base/gstbasesrc.h:
15931         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15932         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15933         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15934         * gst/gstelement.c: (gst_element_get_state_func),
15935         (gst_element_set_state):
15936         * gst/gstelement.h:
15937         * gst/gsttypes.h:
15938         * tools/gst-launch.c: (event_loop), (main):
15939         Added support for live sources and other elements that
15940         cannot do preroll.
15941         Updated design docs, added live-source design doc.
15942         Implemented live source functionality in basesrc
15943         Fix error condition in _bin_get_state()
15944         Implement live source handling in -launch.
15945         Added check for live sources.
15946         Fixed case in GstBin where elements were changed state
15947         multiple times.
15948
15949
15950 2005-06-23  Andy Wingo  <wingo@pobox.com>
15951
15952         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15953         borken refcounting.
15954
15955         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15956         gst_caps_replace takes care of this for us.
15957
15958         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15959         gst_pad_set_caps on the target, not just its setcaps() function.
15960
15961         * tests/network-clock.scm: 
15962         * tests/network-clock-utils.scm: A network clock simulator.
15963         Something of an algorithmic testbed before doing something in C.
15964
15965 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15966
15967         * check/Makefile.am:
15968         * check/gst/capslist.h:
15969           copy over from 0.8, and add two with bitmasks specified with
15970           (int) 0xFF...
15971         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15972           add test to parse everything from capslist.h
15973         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15974         (main):
15975           add test for structure deserialization
15976         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15977           add tests for deserialization of strings to int types
15978         * gst/gststructure.c: (gst_structure_nth_field_name):
15979         * gst/gststructure.h:
15980           add a way to get the name of a field referenced by index
15981         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15982           instead of checking if the resulting long long lies between
15983           min and max, we check if the long long would fit into
15984           a number of bytes for the final type.
15985           This fixes cases where a string represents 2^32 - 1, which
15986           when cast to int would be the (valid) -1, but is bigger than
15987           G_MAXINT
15988
15989 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15990
15991         * gst/parse/grammar.y:
15992           add a log line for type deserialization
15993
15994 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15995
15996         * check/gst/gstvalue.c: (START_TEST):
15997         * gst/gstvalue.c: (gst_value_deserialize):
15998           return long long, not int, so gint64 deserialization actually
15999           works.  Is there any flag that makes the compiler check this ?
16000           Fixes #308559
16001
16002 2005-06-22  Wim Taymans  <wim@fluendo.com>
16003
16004         * gst/gstbuffer.h:
16005         Added convenience macros for setting buffers in GValue.
16006
16007 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16008
16009         * check/gst/.cvsignore:
16010         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16011           add a test deserializing int64, and comment part out because
16012           it fails, yay !
16013
16014 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16015
16016         * check/Makefile.am:
16017         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
16018         * testsuite/Makefile.am:
16019         * testsuite/caps/Makefile.am:
16020         * testsuite/caps/value_serialize.c:
16021         * testsuite/test_gst_init.c:
16022           move a value_serialize test over
16023
16024 2005-06-20  Wim Taymans  <wim@fluendo.com>
16025
16026         * gst/gstpad.c:
16027         Small doc updates.
16028         
16029         * gst/gstvalue.c: (gst_value_compare_buffer),
16030         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
16031         (gst_value_compare_flags), (gst_value_serialize_flags),
16032         (gst_value_deserialize_flags), (_gst_value_initialize):
16033         Fix serialisation of buffers, they are not boxed types anymore
16034
16035 2005-06-20  Wim Taymans  <wim@fluendo.com>
16036
16037         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16038         Testcase to show error in buffer-on-caps serialisation.
16039
16040 2005-06-20  Andy Wingo  <wingo@pobox.com>
16041
16042         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
16043         will be adding to later.
16044
16045         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
16046         if its socks fill with rocks.
16047         (gst_system_clock_obtain): Set the name on object construction.
16048         Avoid double-checked locking.
16049
16050 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
16051
16052         * gst/gsturi.c: (gst_element_make_from_uri):
16053           Fix potential endless loop.
16054
16055 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16056
16057         * check/Makefile.am:
16058           add gsttag
16059         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
16060         (main):
16061           move over from testsuite dir and clean up
16062         * configure.ac:
16063         * gst/gsttag.c:
16064         * testsuite/Makefile.am:
16065         * testsuite/tags/.cvsignore:
16066         * testsuite/tags/Makefile.am:
16067         * testsuite/tags/merge.c:
16068           remove testsuite/tags
16069
16070 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16071
16072         * docs/gst/gstreamer-sections.txt:
16073         * docs/gst/tmpl/gstenumtypes.sgml:
16074         * win32/gstenumtypes.c:
16075           clean up documentation build a little
16076
16077 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16078
16079         * check/gstcheck.h:
16080           add macros for checking refcounts on objects and caps
16081         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
16082           add some more unit tests
16083         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16084         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
16085           fix leaked refcounts (I hope :)) so unittest works
16086         * gst/gstpad.h:
16087           whitespace removal
16088
16089 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16090
16091         * configure.ac: back to HEAD
16092
16093 === release 0.9.1 ===
16094
16095 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16096
16097         * NEWS:
16098         * RELEASE:
16099           updated
16100
16101 2005-06-17  Andy Wingo  <wingo@pobox.com>
16102
16103         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
16104         assert; it's always possible that the pad gets deactivated in
16105         between the checks in gstpad.c and the implementation. Rely on
16106         finish_preroll() to return a FLUSHING or similar instead of on the
16107         assert.
16108         
16109         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
16110         clock and post an EOS message if we come out of finish_preroll in
16111         the playing state.
16112
16113 2005-06-16  David Schleef  <ds@schleef.org>
16114
16115         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16116         (gst_capsfilter_set_property): Allow NULL as possible value
16117         for filter_caps property, indicating GST_CAPS_ANY.
16118
16119 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16120
16121         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
16122           fix debug output
16123         * gst/schedulers/Makefile.am:
16124           use libgst prefix
16125         * gstreamer.spec.in:
16126           fix spec for it
16127
16128 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16129
16130         * gstreamer.spec.in:
16131           clean up
16132
16133 2005-06-08  Andy Wingo  <wingo@pobox.com>
16134
16135         * gst/gstutils.c: RPAD fixes all around.
16136         (gst_element_link_pads): Refcounting fixes.
16137
16138         * tools/gst-inspect.c:
16139         * tools/gst-xmlinspect.c:
16140         * parse/grammar.y:
16141         * gst/base/gsttypefindhelper.c:
16142         * gst/base/gstbasesink.c:
16143         * gst/gstqueue.c: RPAD fixes.
16144
16145         * gst/gstghostpad.h:
16146         * gst/gstghostpad.c: New ghost pad implementation as full proxy
16147         pads. The tricky thing is they provide both source and sink
16148         interfaces, since they proxy the internal pad for the external
16149         pad, and vice versa. Implement with lower-level ProxyPad objects,
16150         with the interior proxy pad as a child of the exterior ghost pad.
16151         Should write a doc on this.
16152         
16153         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
16154         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
16155         gst_object API.
16156         
16157         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
16158         pads are real pads. No ghost pads in this file. Not documenting
16159         the myriad s/RPAD/PAD/ and REALIZE fixes.
16160         (gst_pad_class_init): Add properties for "direction" and
16161         "template". Both are construct-only, so they can't change during
16162         the life of the pad. Fixes properly deriving from GstPad.
16163         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
16164         derived objects, just set properties when creating the objects via
16165         g_object_new.
16166         (gst_pad_get_parent): Implement as a function, return NULL if the
16167         parent is not an element.
16168         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
16169         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
16170         
16171         * gst/gstobject.c (gst_object_class_init): Make name a construct
16172         property. Don't set it in the object init.
16173
16174         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
16175         with UNKNOWN direction.
16176         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
16177         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
16178         (gst_element_remove_pad): Remove ghost-pad special cases.
16179         (gst_element_pads_activate): Remove rpad cruft.
16180
16181         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
16182         catch the pad's-parent-not-an-element case.
16183
16184         * gst/gst.h: Include gstghostpad.h.
16185
16186         * gst/gst.c (init_post): No more real, ghost pads.
16187
16188         * gst/Makefile.am: Add gstghostpad.[ch].
16189
16190         * check/Makefile.am:
16191         * check/gst/gstbin.c:
16192         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
16193         into a bin creates ghost pads, and that the refcounts are right.
16194         Partly moved from gstbin.c.
16195
16196 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16197
16198         * check/gst-libs/.cvsignore:
16199         * check/gst/.cvsignore:
16200         * check/pipelines/.cvsignore:
16201           ignore more
16202         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
16203         (START_TEST), (cleanup_suite), (main):
16204           add some tests related to cleanup after running pipelines
16205
16206 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16207
16208         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
16209           add a testsuite for GstBuffer
16210
16211 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16212
16213         * gst/gstminiobject.h:
16214           add defines for accessing the refcount
16215
16216 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
16217
16218         * Makefile.am: added support for html unit test coverage reports
16219
16220 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
16221
16222         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16223           Free existing caps if the capsfilter changes. Add a FIXME about
16224           setting those caps on the pads.
16225
16226         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
16227           Before adding a ghost pad to a parent bin, check that there isn't
16228           already one for the element on the bin. Prevents infinite recursion
16229           when using decodebin in parse pipelines. Andy says he'll rewrite the
16230           way this works anyway, so ignore the hack.
16231
16232 2005-06-02  Andy Wingo  <wingo@pobox.com>
16233
16234         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
16235         file size, pass it on to the type find helper.
16236
16237         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
16238         segment_start and segment_end properly according to the seek
16239         method. Segment_end is still a bit flaky because offset can be
16240         negative for CUR and END cases, but it takes -1 as an "unset"
16241         value.
16242
16243 2005-06-02  Wim Taymans  <wim@fluendo.com>
16244
16245         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
16246         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
16247         (gst_basesink_activate):
16248         * gst/base/gstbasesink.h:
16249         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16250         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16251         (gst_pad_query), (gst_pad_start_task):
16252         * gst/gstpad.h:
16253         * gst/gstqueue.c: (gst_queue_bufferalloc),
16254         (gst_queue_handle_sink_event), (gst_queue_chain):
16255         Bufferalloc: return GstFlowReturn to more accuratly report
16256         why allocation failed.
16257
16258 2005-06-02  Wim Taymans  <wim@fluendo.com>
16259
16260         * gst/gstpipeline.c: (gst_pipeline_send_event):
16261         Take snapshot of state without blocking.
16262
16263 2005-06-02  Wim Taymans  <wim@fluendo.com>
16264
16265         * docs/design/part-TODO.txt:
16266         * docs/design/part-caps.txt:
16267         * docs/design/part-clocks.txt:
16268         * docs/design/part-negotiation.txt:
16269         * docs/design/part-preroll.txt:
16270         Small doc updates 
16271
16272 2005-05-30  Wim Taymans  <wim@fluendo.com>
16273
16274         * gst/elements/gstidentity.c: (gst_identity_event),
16275         (gst_identity_transform), (gst_identity_get_property):
16276         Protect last_message property as it is accessed from
16277         multiple threads.
16278
16279 2005-05-30  Wim Taymans  <wim@fluendo.com>
16280
16281         * gst/gstelement.c: (gst_element_init),
16282         (gst_element_pads_activate), (gst_element_change_state):
16283         Slicker pad activation code.
16284
16285 2005-05-30  Wim Taymans  <wim@fluendo.com>
16286
16287         * gst/Makefile.am:
16288         * gst/gstelement.h:
16289         * gst/gstelementfactory.h:
16290         * gst/gsttypes.h:
16291         Move elementfactory methods to separate .h file.
16292
16293 2005-05-30  Wim Taymans  <wim@fluendo.com>
16294
16295         * docs/design/part-overview.txt:
16296         * gst/gstsystemclock.h:
16297         Small typo fixes, doc updates.
16298
16299 2005-05-30  Wim Taymans  <wim@fluendo.com>
16300
16301         * gst/gst.c: (gst_init_get_popt_table), (init_post),
16302         (init_popt_callback):
16303         Remove cpu-opt flag.
16304
16305 2005-05-30  Wim Taymans  <wim@fluendo.com>
16306
16307         * gst/gstbuffer.c: (gst_subbuffer_finalize),
16308         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
16309         * gst/gstbuffer.h:
16310         Avoid typechecking in places where not needed.
16311         Added accessor for malloc_data.
16312
16313 2005-05-30  Wim Taymans  <wim@fluendo.com>
16314
16315         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
16316         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
16317         (gst_pad_configure_sink), (gst_pad_configure_src),
16318         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
16319         (gst_pad_start_task):
16320         Propagate errors from _set_caps() in configure_src/sink
16321         functions instead of returning TRUE.
16322         FLUSH events can travel up and downstream
16323
16324
16325 2005-05-30  Wim Taymans  <wim@fluendo.com>
16326
16327         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16328         (gst_basesink_activate):
16329         Handle EOS in preroll.
16330
16331 2005-05-30  Wim Taymans  <wim@fluendo.com>
16332
16333         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16334         (gst_queue_loop), (gst_queue_handle_src_event):
16335         Remove old pieces of code
16336         Flushing the queue in an upstream event is a very bad idea.
16337
16338 2005-05-26  Andy Wingo  <wingo@pobox.com>
16339
16340         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
16341         gst_value_set_mini_object so as to add a ref on the object (which
16342         will be removed when the value is unset).
16343
16344         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
16345         arg type in ::handoff.
16346
16347         * gst/gstelement.c (gst_element_change_state): Also deactivate
16348         pads in READY->NULL, just in case the element didn't make it to
16349         PAUSED. Wingo tested, Wim approved.
16350
16351 2005-05-26  Wim Taymans  <wim@fluendo.com>
16352
16353         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16354         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16355         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
16356         A flushing pad cannot be used to alloc_buffer from.
16357
16358 2005-05-26  Wim Taymans  <wim@fluendo.com>
16359
16360         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
16361         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
16362         (gst_bus_source_dispatch), (gst_bus_source_finalize),
16363         (gst_bus_create_watch), (gst_bus_add_watch_full):
16364         * gst/gstbus.h:
16365         Implement a real GSource and use g_main_context_wakeup() to
16366         signal new messages instead of the socketpair.
16367
16368 2005-05-25  Wim Taymans  <wim@fluendo.com>
16369
16370         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
16371         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
16372         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16373         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16374         (gst_pad_send_event), (gst_pad_start_task):
16375         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
16376         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16377         (gst_queue_sink_activate), (gst_queue_src_activate),
16378         (gst_queue_change_state):
16379         * gst/gstqueue.h:
16380         Fix state changes for non sinks. We now change sinks, then elements
16381         with unconnected srcpads, then the rest.
16382         More efficient queue unlocking in flush and state changes.
16383         Set the pad activate mode even if it does not have an activate
16384         function.
16385
16386 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16387
16388         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
16389           Don't go in pull mode for non-seekable sources.
16390         * gst/elements/gsttypefindelement.h:
16391         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16392         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
16393         (free_entry), (stop_typefinding),
16394         (gst_type_find_element_handle_event), (find_peek),
16395         (gst_type_find_element_chain), (do_pull_typefind),
16396         (gst_type_find_element_change_state):
16397           Allow typefinding (w/o seeking) in push-mode, simplified version
16398           of what was in 0.8.
16399         * gst/gstutils.c: (gst_buffer_join):
16400         * gst/gstutils.h:
16401           gst_buffer_join() from 0.8.
16402
16403 2005-05-25  Wim Taymans  <wim@fluendo.com>
16404
16405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16406         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16407         (gst_pad_send_event), (gst_pad_start_task):
16408         Disable attempt at mode switching until it is figured out.
16409
16410 2005-05-25  Wim Taymans  <wim@fluendo.com>
16411
16412         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
16413         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16414         (gst_basesink_finish_preroll), (gst_basesink_chain),
16415         (gst_basesink_loop), (gst_basesink_activate),
16416         (gst_basesink_change_state):
16417         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
16418         (gst_basesrc_get_range), (gst_basesrc_loop),
16419         (gst_basesrc_activate):
16420         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16421         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16422         (gst_real_pad_init), (gst_real_pad_set_property),
16423         (gst_real_pad_get_property), (gst_pad_set_active),
16424         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
16425         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
16426         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
16427         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
16428         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16429         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
16430         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
16431         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16432         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
16433         (gst_pad_stop_task):
16434         * gst/gstpad.h:
16435         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16436         (gst_queue_loop), (gst_queue_src_activate):
16437         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16438         (gst_task_get_state):
16439         * gst/gsttask.h:
16440         * gst/schedulers/threadscheduler.c:
16441         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16442         Implement gst_pad_pause/start/stop_task(), take STREAM lock
16443         in task function.
16444         Remove ACTIVE pad flag, use FLUSHING everywhere
16445         Added _pad_chain(), _pad_get_range() to call chain/getrange 
16446         functions.
16447         Add locks around IS_FLUSHING when reading.
16448         Take STREAM lock in chain(), get_range() functions so plugins
16449         don't need to take it anymore.
16450         
16451
16452
16453 2005-05-25  Wim Taymans  <wim@fluendo.com>
16454
16455         * tools/gst-launch.c: (event_loop):
16456         Unref message after using its contents instead of
16457         before.
16458
16459 2005-05-24  Wim Taymans  <wim@fluendo.com>
16460
16461         * docs/design/draft-ghostpads.txt:
16462         * docs/design/draft-push-pull.txt:
16463         * docs/design/draft-query.txt:
16464         * docs/design/part-overview.txt:
16465         Docs updates, added general overview doc.
16466
16467 2005-05-21  David Schleef  <ds@schleef.org>
16468
16469         * docs/gst/tmpl/old/GstBin.sgml:
16470         * docs/gst/tmpl/old/GstBuffer.sgml:
16471         * docs/gst/tmpl/old/GstCaps.sgml:
16472         * docs/gst/tmpl/old/GstClock.sgml:
16473         * docs/gst/tmpl/old/GstCompat.sgml:
16474         * docs/gst/tmpl/old/GstData.sgml:
16475         * docs/gst/tmpl/old/GstElement.sgml:
16476         * docs/gst/tmpl/old/GstEvent.sgml:
16477         * docs/gst/tmpl/old/GstIndex.sgml:
16478         * docs/gst/tmpl/old/GstStructure.sgml:
16479         * docs/gst/tmpl/old/GstTag.sgml:
16480         * docs/gst/tmpl/old/cothreads.sgml:
16481         * docs/gst/tmpl/old/cothreads_compat.sgml:
16482         * docs/gst/tmpl/old/gettext.sgml:
16483         * docs/gst/tmpl/old/gobject2gtk.sgml:
16484         * docs/gst/tmpl/old/grammar.tab.sgml:
16485         * docs/gst/tmpl/old/gst-i18n-app.sgml:
16486         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16487         * docs/gst/tmpl/old/gst_private.sgml:
16488         * docs/gst/tmpl/old/gstaggregator.sgml:
16489         * docs/gst/tmpl/old/gstarch.sgml:
16490         * docs/gst/tmpl/old/gstatomic_impl.sgml:
16491         * docs/gst/tmpl/old/gstbufferstore.sgml:
16492         * docs/gst/tmpl/old/gstdata_private.sgml:
16493         * docs/gst/tmpl/old/gstdisksink.sgml:
16494         * docs/gst/tmpl/old/gstdisksrc.sgml:
16495         * docs/gst/tmpl/old/gstelementfactory.sgml:
16496         * docs/gst/tmpl/old/gstextratypes.sgml:
16497         * docs/gst/tmpl/old/gstfakesink.sgml:
16498         * docs/gst/tmpl/old/gstfakesrc.sgml:
16499         * docs/gst/tmpl/old/gstfdsink.sgml:
16500         * docs/gst/tmpl/old/gstfdsrc.sgml:
16501         * docs/gst/tmpl/old/gstfilesink.sgml:
16502         * docs/gst/tmpl/old/gstfilesrc.sgml:
16503         * docs/gst/tmpl/old/gsthttpsrc.sgml:
16504         * docs/gst/tmpl/old/gstidentity.sgml:
16505         * docs/gst/tmpl/old/gstindexfactory.sgml:
16506         * docs/gst/tmpl/old/gstmarshal.sgml:
16507         * docs/gst/tmpl/old/gstmd5sink.sgml:
16508         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16509         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16510         * docs/gst/tmpl/old/gstpadtemplate.sgml:
16511         * docs/gst/tmpl/old/gstpipefilter.sgml:
16512         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16513         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16514         * docs/gst/tmpl/old/gstshaper.sgml:
16515         * docs/gst/tmpl/old/gstspider.sgml:
16516         * docs/gst/tmpl/old/gstspideridentity.sgml:
16517         * docs/gst/tmpl/old/gststatistics.sgml:
16518         * docs/gst/tmpl/old/gsttee.sgml:
16519         * docs/gst/tmpl/old/gsttimecache.sgml:
16520         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16521         * docs/gst/tmpl/old/gstxmlregistry.sgml:
16522         * docs/gst/tmpl/old/gthread-cothreads.sgml:
16523         * docs/gst/tmpl/old/types.sgml:
16524           I didn't intend to add these or check them in.
16525
16526 2005-05-19  David Schleef  <ds@schleef.org>
16527
16528         * configure.ac: Use -no-common everywhere.  In a sane world, it
16529           would be the default in libtool, because without it, you can't
16530           build DLLs on Windows.
16531         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16532         * docs/gst/gstreamer-sections.txt:
16533         * docs/gst/tmpl/gstcpu.sgml:
16534         * docs/gst/tmpl/gstdata.sgml:
16535         * docs/gst/tmpl/gstthread.sgml:
16536
16537 2005-05-19  David Schleef  <ds@schleef.org>
16538
16539         * gst/gstminiobject.c: (gst_value_set_mini_object),
16540         (gst_value_take_mini_object), (gst_value_get_mini_object):
16541         * gst/gstminiobject.h: Add GValue set/get functions.
16542
16543 2005-05-19  Wim Taymans  <wim@fluendo.com>
16544
16545         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16546         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16547         (gst_subbuffer_init), (gst_buffer_is_span_fast):
16548         * gst/gstbuffer.h:
16549         * gst/gstbus.c: (gst_bus_post):
16550         * gst/gstelement.c: (gst_element_get_random_pad):
16551         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16552         Make subbufer unref the parent in finalize.
16553         some more debugging info.
16554
16555
16556 2005-05-19  Wim Taymans  <wim@fluendo.com>
16557
16558         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16559         (gst_basesink_init), (gst_basesink_finalize),
16560         (gst_basesink_activate), (gst_basesink_change_state):
16561         Don't free preroll queue too early.
16562
16563 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16564
16565         * gst/Makefile.am:
16566         * gst/ROADMAP:
16567           Hi, I'm outdated. Please shoot me.
16568
16569 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16570
16571         * gst/gstpipeline.c: (gst_pipeline_send_event):
16572           Do not access variables after they have been deleted.
16573
16574 2005-05-19  Wim Taymans  <wim@fluendo.com>
16575
16576         * tools/gst-inspect.c: (print_plugin_features):
16577         A plugin feature does unfortunatly not use the
16578         object name yet...
16579
16580 2005-05-18  Wim Taymans  <wim@fluendo.com>
16581
16582         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16583         Port _span() functions to new subbuffers.
16584
16585 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16586
16587         * gst/gstbin.c: (gst_bin_add_func):
16588           Fix clock settery in bins when adding kids after the clock has
16589           been selected.
16590
16591 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16592
16593         * gst/elements/gstidentity.c: (gst_identity_class_init):
16594           Workaround until signals support GstMiniObject.
16595
16596 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
16597
16598         * gst/gstbuffer.c:
16599         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16600
16601 2005-05-18  Wim Taymans  <wim@fluendo.com>
16602
16603         * gst/base/Makefile.am:
16604         * gst/base/gstadapter.c: (gst_adapter_base_init),
16605         (gst_adapter_class_init), (gst_adapter_init),
16606         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16607         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16608         (gst_adapter_flush), (gst_adapter_available),
16609         (gst_adapter_available_fast):
16610         * gst/base/gstadapter.h:
16611         Ported and added adapter to the base classes.
16612
16613 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16614
16615         * gst/gst.c:
16616         * gst/gstmessage.c:
16617           Make sure the class is reffed/unreffed once before threads can be
16618           used.  Fixes #304551.
16619
16620 2005-05-17  Wim Taymans  <wim@fluendo.com>
16621
16622         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16623         (gst_basesink_chain_unlocked), (gst_basesink_activate):
16624         * gst/gstminiobject.c: (gst_mini_object_get_type),
16625         (gst_mini_object_free):
16626         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16627         (gst_pad_push), (gst_pad_push_event):
16628         * gst/gstqueue.c: (gst_queue_change_state):
16629         Don't queue buffers in basesink when we are flushing.
16630         Unref buffer when flushing in basesink.
16631         Flush queue when going to READY
16632         Unref buffer when _push() returns an error.
16633         Don't free MiniObject instance when refcount is incremented
16634         in _finalize() so that we can recover objects.
16635
16636 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16637
16638         * docs/manual/advanced-schedulers.xml:
16639         * docs/manual/appendix-checklist.xml:
16640         * docs/pwg/advanced-clock.xml:
16641         * docs/pwg/advanced-interfaces.xml:
16642         * docs/pwg/advanced-request.xml:
16643         * docs/pwg/advanced-types.xml:
16644         * docs/pwg/intro-preface.xml:
16645         * examples/plugins/example.c: (gst_example_get_type),
16646         (gst_example_class_init), (gst_example_chain),
16647         (gst_example_set_property), (gst_example_get_property),
16648         (gst_example_change_state), (plugin_init):
16649         * examples/plugins/example.h:
16650           small doc fixes
16651
16652 2005-05-17  Wim Taymans  <wim@fluendo.com>
16653
16654         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16655         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16656         * gst/gstqueue.c: (gst_queue_change_state):
16657         Clear queue when going to READY.
16658         Remove IN_SETCAPS flag too.
16659
16660 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
16661
16662         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16663           Remove implicit cast from gboolean to GstElementStateReturn;
16664           make sure we still return failure in paused => ready case if
16665           the parent class fails to change state and our own stop 
16666           vfunc succeeds.
16667
16668 2005-05-17  Wim Taymans  <wim@fluendo.com>
16669
16670         * tools/gst-launch.c: (event_loop):
16671         Message was unreffed too soon.
16672
16673 2005-05-16  Andy Wingo  <wingo@pobox.com>
16674
16675         * gst/gstbin.c (sink_iterator_filter): Err... um...
16676
16677         * check/gst/gstbin.c (test_ghost_pads): New test for the
16678         ghosting-if-elements-not-in-same-bin behavior.
16679
16680 2005-05-16  David Schleef  <ds@schleef.org>
16681
16682         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16683         accessing refcount directly.
16684
16685 2005-05-15  David Schleef  <ds@schleef.org>
16686
16687         * check/Makefile.am: remove GstData checks
16688         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16689         * gst/Makefile.am: add miniobject, remove data
16690         * gst/gst.h: add miniobject, remove data
16691         * gst/gstdata.c: remove
16692         * gst/gstdata.h: remove
16693         * gst/gstdata_private.h: remove
16694         * gst/gsttypes.h: remove GstEvent and GstMessage
16695         * gst/gstelement.c: (gst_element_post_message): fix for API changes
16696         * gst/gstmarshal.list: change BOXED -> OBJECT
16697
16698         Implement GstMiniObject.
16699         * gst/gstminiobject.c:
16700         * gst/gstminiobject.h:
16701
16702         Modify to be subclasses of GstMiniObject.
16703         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16704         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16705         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16706         (gst_subbuffer_get_type), (gst_subbuffer_init),
16707         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16708         (gst_buffer_span):
16709         * gst/gstbuffer.h:
16710         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16711         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16712         (_gst_event_copy), (gst_event_new):
16713         * gst/gstevent.h:
16714         * gst/gstmessage.c: (_gst_message_initialize),
16715         (gst_message_get_type), (gst_message_class_init),
16716         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16717         (gst_message_new), (gst_message_new_error),
16718         (gst_message_new_warning), (gst_message_new_tag),
16719         (gst_message_new_state_changed), (gst_message_new_application):
16720         * gst/gstmessage.h:
16721         * gst/gstprobe.c: (gst_probe_perform),
16722         (gst_probe_dispatcher_dispatch):
16723         * gst/gstprobe.h:
16724         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16725         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16726         (_gst_query_copy), (gst_query_new):
16727
16728         Update elements for GstData -> GstMiniObject changes
16729         * gst/gstquery.h:
16730         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16731         (gst_queue_chain), (gst_queue_loop):
16732         * gst/elements/gstbufferstore.c:
16733         (gst_buffer_store_add_buffer_func),
16734         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16735         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16736         (gst_fakesink_render):
16737         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16738         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16739         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16740         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16741         (gst_filesrc_create_read):
16742         * gst/elements/gstidentity.c: (gst_identity_class_init):
16743         * gst/elements/gsttypefindelement.c:
16744         (gst_type_find_element_src_event), (free_entry_buffers),
16745         (gst_type_find_element_handle_event):
16746         * libs/gst/dataprotocol/dataprotocol.c:
16747         (gst_dp_header_from_buffer):
16748         * libs/gst/dataprotocol/dataprotocol.h:
16749         * libs/gst/dataprotocol/dp-private.h:
16750
16751 2005-05-15  David Schleef  <ds@schleef.org>
16752
16753         * gst/elements/gstelements.c: Don't include headers that were
16754         just removed.
16755
16756 2005-05-15  David Schleef  <ds@schleef.org>
16757
16758         * gst/elements/Makefile.am: Remove some elements that don't
16759         need to be in the core (or even exist at all).
16760         * gst/elements/gstaggregator.c:
16761         * gst/elements/gstaggregator.h:
16762         * gst/elements/gstmd5sink.c:
16763         * gst/elements/gstmd5sink.h:
16764         * gst/elements/gstmultifilesrc.c:
16765         * gst/elements/gstmultifilesrc.h:
16766         * gst/elements/gstpipefilter.c:
16767         * gst/elements/gstpipefilter.h:
16768         * gst/elements/gstshaper.c:
16769         * gst/elements/gstshaper.h:
16770         * gst/elements/gststatistics.c:
16771         * gst/elements/gststatistics.h:
16772         * po/POTFILES.in: Remove above files.
16773
16774 2005-05-14  Andy Wingo  <wingo@pobox.com>
16775
16776         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16777         so as to get the refs right.
16778         (sink_iterator_filter): New function, wraps bin_element_is_sink,
16779         unreffing objects that don't pass the filter.
16780
16781         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16782         gst_element_set_bus.
16783         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16784         normal cases, this will destroy the bus.
16785
16786         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16787         object.
16788
16789         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16790         has no sinks.
16791
16792 2005-05-13  Andy Wingo  <wingo@pobox.com>
16793
16794         * gst/gstutils.c (gst_element_link_pads): Instead of calling
16795         gst_pad_link, call pad_link_maybe_ghosting,
16796         (pad_link_maybe_ghosting): Links pads, making sure that the
16797         elements being linked are in the same bin.
16798         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16799         Helpers for pad_link_maybe_ghosting.
16800
16801 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16802
16803         * configure.ac:
16804           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16805
16806 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16807
16808         * docs/design/part-element-source.txt:
16809           Mention GstPushSrc
16810
16811 2005-05-12  Wim Taymans  <wim@fluendo.com>
16812
16813         * gst/base/gstbasesink.c: (gst_basesink_init),
16814         (gst_basesink_activate):
16815         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16816         (gst_basesrc_is_seekable):
16817         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16818         (bin_element_is_sink), (gst_bin_change_state):
16819         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16820         * gst/gstelement.h:
16821         Identify sinks by their flag to avoid overly complicated
16822         checks (fow now).
16823         Do state changes even for elements not reachable from the
16824         sinks.
16825         BaseSink is a sink now :)
16826         Some more debugging info in the basesrc.
16827
16828
16829 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16830
16831         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16832           Implement _query on a bin, similar to _send_event.
16833
16834 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
16835
16836         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16837           Discont event offset format should be GST_FORMAT_BYTES,
16838           not GST_FORMAT_TIME.
16839
16840 2005-05-12  Wim Taymans  <wim@fluendo.com>
16841
16842         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16843         Same fix as Ronald's but without the signal. 
16844
16845 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16846
16847         * gst/gstutils.c: (gst_element_query_position):
16848           No, an element is not a pad.
16849
16850 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16851
16852         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16853         (gst_bin_get_state):
16854           If a child is removed from a bin while we remove the child from
16855           the bin and while we're retrieving its state, signal this to the
16856           get_state function so we abort the wait (instead of waiting for
16857           a timeout) and can immediately re-iterate over all other elements.
16858
16859 2005-05-12  Wim Taymans  <wim@fluendo.com>
16860
16861         * gst/base/Makefile.am:
16862         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16863         (gst_basesrc_start):
16864         * gst/base/gstbasesrc.h:
16865         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16866         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16867         (gst_pushsrc_init), (gst_pushsrc_create):
16868         * gst/base/gstpushsrc.h:
16869         Added is_seekable to BaseSrc
16870         Added simple PushSrc.
16871
16872 2005-05-11  Wim Taymans  <wim@fluendo.com>
16873
16874         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16875         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16876         (gst_element_link_pads), (gst_element_query_position),
16877         (gst_element_query_convert), (intersect_caps_func),
16878         (gst_pad_query_position), (gst_pad_query_convert):
16879         Fix refcounting in utils function.
16880         No point in trying to activate a pad when it's added, it could
16881         be added from the state change function and then we deadlock, the
16882         element has to decide what to do.
16883
16884 2005-05-10  Andy Wingo  <wingo@pobox.com>
16885
16886         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16887         *all* the arguments.
16888
16889         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16890         stream lock if it's a FLUSH_DONE; normal flushes don't get the
16891         lock (according to the docs -- if this is wrong change the docs).
16892
16893         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16894         flush messages in the NULL state.
16895
16896         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16897         message immediately and return.
16898         (gst_bus_set_flushing): New function. If a bus is flushing, it
16899         flushes out any queued messages and immediately unrefs new
16900         messages. This is so when an element goes to NULL, all of the
16901         unhandled messages coming from it can be freed, and their
16902         references to the element dropped. In other words: message source
16903         ref considered harmful :P
16904
16905         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16906         we're finished with it.
16907
16908         * gst/gstmessage.c (gst_message_new_state_changed): 
16909
16910 2005-05-10  Wim Taymans  <wim@fluendo.com>
16911
16912         * gst/gstvalue.c: (gst_value_compare_flags),
16913         (gst_value_serialize_flags), (gst_value_deserialize_flags),
16914         (_gst_value_initialize):
16915         Added flags serialize/deserialize/compare code.
16916
16917 2005-05-09  Andy Wingo  <wingo@pobox.com>
16918
16919         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16920         Intersect the peer's caps with our caps.
16921
16922 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16923
16924         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16925         * gst/elements/gsttypefindelement.c: (find_peek):
16926           Handle negative offsets better. Fixes decodebin.
16927
16928 2005-05-09  Wim Taymans  <wim@fluendo.com>
16929
16930         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16931         (gst_base_transform_event):
16932         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16933         Implement accept_caps.
16934         Fix silly lock/unlock mismatch in base class.
16935
16936 2005-05-09  Wim Taymans  <wim@fluendo.com>
16937
16938         * docs/design/draft-push-pull.txt:
16939         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16940         * gst/elements/gstfilesink.c: (gst_filesink_init),
16941         (gst_filesink_query):
16942         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16943         (gst_type_find_handle_src_query), (find_element_get_length):
16944         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16945         * gst/gstelement.h:
16946         * gst/gstmessage.c:
16947         * gst/gstmessage.h:
16948         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16949         (gst_real_pad_get_caps_unlocked),
16950         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16951         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16952         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16953         (gst_real_pad_dispose), (gst_real_pad_finalize),
16954         (gst_pad_load_and_link), (gst_pad_save_thyself),
16955         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16956         (gst_pad_check_pull_range), (gst_pad_pull_range),
16957         (gst_pad_template_get_type), (gst_pad_template_class_init),
16958         (gst_pad_template_init), (gst_pad_template_dispose),
16959         (name_is_valid), (gst_static_pad_template_get),
16960         (gst_pad_template_new), (gst_static_pad_template_get_caps),
16961         (gst_pad_template_get_caps), (gst_pad_set_element_private),
16962         (gst_pad_get_element_private), (gst_pad_start_task),
16963         (gst_pad_pause_task), (gst_pad_stop_task),
16964         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16965         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16966         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16967         (gst_ghost_pad_new):
16968         * gst/gstpad.h:
16969         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16970         (gst_query_new_position), (gst_query_set_position),
16971         (gst_query_parse_position), (gst_query_new_convert),
16972         (gst_query_set_convert), (gst_query_parse_convert):
16973         * gst/gstquery.h:
16974         * gst/gstqueryutils.c:
16975         * gst/gstqueryutils.h:
16976         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16977         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16978         (gst_queue_handle_src_query):
16979         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16980         (gst_element_query_position), (gst_element_query_convert),
16981         (intersect_caps_func), (gst_pad_query_position),
16982         (gst_pad_query_convert):
16983         * gst/gstutils.h:
16984         * tools/gst-inspect.c: (print_pad_info):
16985         * tools/gst-xmlinspect.c: (print_element_info):
16986         Remove old query functions. Ported old code.
16987         Added position/convert helper functions to gstutils.
16988         Reordered gstpad.c code, grouping relevant things.
16989         Remove gst_message_new(), always need to speficy a specific
16990         message.
16991
16992
16993 2005-05-09  Andy Wingo  <wingo@pobox.com>
16994
16995         * gst/gstiterator.h: Add some includes.
16996
16997         * gst/gstqueryutils.h: Include more headers.
16998
16999         * gst/gstpad.h:
17000         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17001         some uses of gst_pad_query.
17002
17003         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
17004         NULL out parameters.
17005         (gst_query_new_position): New proc, allocates a new position
17006         query.
17007
17008         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
17009         gstqueryutils.c to the build.
17010
17011         * gst/gststructure.c (gst_structure_set_valist): Implement with
17012         the generic G_VALUE_COLLECT.
17013         
17014 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
17015
17016         * gst/Makefile.am: (gst_headers):
17017         Added gstqueryutils.h to the list of headers to install, that was
17018         a 'nachty' move wingo :)
17019
17020 2005-05-06  Andy Wingo  <wingo@pobox.com>
17021
17022         * gst/gstquery.h
17023         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
17024         GstData, init a memchunk.
17025         (standard_definitions): Add a few query types, deprecate a few.
17026         (gst_query_get_type): New proc.
17027         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
17028         implementation.
17029         (gst_query_new_application, gst_query_get_structure): New public
17030         procs.
17031
17032         * docs/design/draft-query.txt: Removed LINKS from the query types,
17033         because all the rest can be dispatched to other pads -- seemed
17034         ugly to have a query that couldn't be dispatched. internal_links
17035         is fine as a pad method.
17036
17037         * gst/gstpad.h: Add query2 as a pad method, add the new functions
17038         in gstpad.c, but maintain binary compatibility for the moment.
17039         Will fix before 0.9 is out.
17040
17041         * gst/gstqueryutils.c: 
17042         * gst/gstqueryutils.h: New files, implement 3 methods for each
17043         query type: parse_query, parse_response, and set. Probably need an
17044         allocator as well.
17045
17046         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
17047
17048         * gst/elements/gstfilesink.c (gst_filesink_query2):
17049         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
17050         query_types, and formats methods.
17051
17052         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
17053         (gst_pad_set_query2_function): New functions.
17054         (gst_real_pad_init): Set query2_default as the default query2
17055         function. Basically just dispatches to internally linked pads.
17056
17057         Needs review!
17058         
17059         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
17060         without using the atomic operations. Only one thread can possibly
17061         be accessing the data at this point. Changed so as to avoid
17062         gst_atomic operations.
17063
17064 2005-05-06  Wim Taymans  <wim@fluendo.com>
17065
17066         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
17067         Also set caps if we use the fallback buffer alloc.
17068
17069 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
17070
17071         * docs/gst/Makefile.am:
17072         * docs/gst/gstreamer-docs.sgml:
17073         * docs/gst/gstreamer-sections.txt:
17074         * docs/gst/tmpl/gstatomic.sgml:
17075         * docs/gst/tmpl/gstmemchunk.sgml:
17076         * testsuite/elements/struct_i386.h:
17077         * win32/GStreamer.vcproj:
17078         * win32/Makefile:
17079           Purge GstAtomic stuff from docs and win32 makefiles as well
17080
17081 2005-05-06  Wim Taymans  <wim@fluendo.com>
17082
17083         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
17084         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
17085         * gst/gstpad.c: (gst_pad_peer_get_caps):
17086         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17087         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17088         (gst_queue_src_activate), (gst_queue_change_state):
17089         * gst/gstqueue.h:
17090         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17091         (intersect_caps_func):
17092         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
17093         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
17094         Some fixes for the peer_get_caps() change.
17095
17096 2005-05-06  Wim Taymans  <wim@fluendo.com>
17097
17098         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17099         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
17100         (gst_basesink_activate):
17101         Actually do something with error codes returned from the push
17102         functions.
17103
17104 2005-05-06  Wim Taymans  <wim@fluendo.com>
17105
17106         * docs/design/part-element-sink.txt:
17107         * docs/design/part-element-source.txt:
17108         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17109         (gst_basesink_event), (gst_basesink_activate):
17110         * gst/base/gstbasesink.h:
17111         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
17112         (gst_basesrc_activate):
17113         * gst/base/gstbasesrc.h:
17114         * gst/gstelement.c: (gst_element_pads_activate):
17115         Some more documentation.
17116         Fixed scheduling decision in _pads_activate().
17117
17118 2005-05-05  Andy Wingo  <wingo@pobox.com>
17119
17120         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
17121         the test suite.
17122
17123 2005-05-05  Wim Taymans  <wim@fluendo.com>
17124
17125         * gst/base/Makefile.am:
17126         * gst/base/gstbasesink.h:
17127         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17128         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
17129         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
17130         (gst_collectpads_class_init), (gst_collectpads_init),
17131         (gst_collectpads_finalize), (gst_collectpads_new),
17132         (gst_collectpads_set_function), (gst_collectpads_add_pad),
17133         (find_pad), (gst_collectpads_remove_pad),
17134         (gst_collectpads_is_active), (gst_collectpads_collect),
17135         (gst_collectpads_collect_range), (gst_collectpads_start),
17136         (gst_collectpads_stop), (gst_collectpads_peek),
17137         (gst_collectpads_pop), (gst_collectpads_available),
17138         (gst_collectpads_read), (gst_collectpads_flush),
17139         (gst_collectpads_chain):
17140         * gst/base/gstcollectpads.h:
17141         * gst/elements/Makefile.am:
17142         * gst/elements/gstelements.c:
17143         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17144         (gst_fakesink_get_times), (gst_fakesink_event),
17145         (gst_fakesink_preroll), (gst_fakesink_render):
17146         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17147         (gst_filesink_init), (gst_filesink_set_location),
17148         (gst_filesink_open_file), (gst_filesink_close_file),
17149         (gst_filesink_pad_query), (gst_filesink_event),
17150         (gst_filesink_render), (gst_filesink_change_state):
17151         * gst/elements/gstfilesink.h:
17152         Added object to help in making collect pad based elements.
17153         Ported filesink.
17154         Make event function in sink baseclass return gboolean.
17155
17156 2005-05-05  Wim Taymans  <wim@fluendo.com>
17157
17158         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
17159         (gst_bin_get_by_name):
17160         * gst/gstbuffer.h:
17161         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
17162         (gst_clock_finalize):
17163         * gst/gstdata.c: (gst_data_replace):
17164         * gst/gstdata.h:
17165         * gst/gstelement.c: (gst_element_request_pad),
17166         (gst_element_pads_activate):
17167         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
17168         (gst_object_unref):
17169         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17170         (gst_pad_set_checkgetrange_function),
17171         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
17172         (gst_pad_check_pull_range), (gst_pad_pull_range),
17173         (gst_static_pad_template_get_caps), (gst_pad_start_task),
17174         (gst_pad_pause_task), (gst_pad_stop_task):
17175         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17176         (gst_element_request_pad), (gst_pad_proxy_getcaps):
17177         Fix name lookup in GstBin.
17178         Added _data_replace() function and _buffer_replace()
17179         Use finalize method to clean up clock.
17180         Fix refcounting on request pads.
17181         Fix pad schedule mode error.
17182         Some more object refcounting debug info,
17183
17184
17185 2005-05-04  Andy Wingo <wingo@pobox.com>
17186
17187         * check/Makefile.am:
17188         * docs/gst/tmpl/gstatomic.sgml:
17189         * docs/gst/tmpl/gstplugin.sgml:
17190         * gst/base/gstbasesink.c: (gst_basesink_activate):
17191         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
17192         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
17193         (gst_basesrc_query), (gst_basesrc_set_property),
17194         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
17195         (gst_basesrc_activate):
17196         * gst/base/gstbasesrc.h:
17197         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
17198         (gst_base_transform_src_activate):
17199         * gst/elements/gstelements.c:
17200         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17201         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17202         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17203         * gst/elements/gsttypefindelement.c: (find_element_get_length),
17204         (gst_type_find_element_checkgetrange),
17205         (gst_type_find_element_activate):
17206         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
17207         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
17208         (gst_caps_load_thyself):
17209         * gst/gstelement.c: (gst_element_pads_activate),
17210         (gst_element_save_thyself), (gst_element_restore_thyself):
17211         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
17212         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
17213         * gst/gstpad.h:
17214         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
17215         (gst_xml_parse_file), (gst_xml_parse_memory),
17216         (gst_xml_get_element), (gst_xml_make_element):
17217         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17218         (_file_index_id_save_xml), (gst_file_index_commit):
17219         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
17220         (read_enum), (load_pad_template), (load_feature), (load_plugin),
17221         (load_paths):
17222         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
17223         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
17224         * tools/gst-complete.c: (main):
17225         * tools/gst-compprep.c: (main):
17226         * tools/gst-inspect.c: (print_element_properties_info):
17227         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
17228         * tools/gst-xmlinspect.c: (print_element_properties):
17229         GCC 4 fixen.
17230         
17231 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17232
17233         * gst/gstplugin.c: (gst_plugin_check_module),
17234         (gst_plugin_check_file), (gst_plugin_load_file):
17235             apply patch from #172526 to make register work on MacOSX
17236
17237 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17238
17239         * docs/gst/tmpl/gstconfig.sgml:
17240         * gst/gstconfig.h.in:
17241           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
17242         * testsuite/debug/printf_extension.c: (main):
17243           Do not use GST_PTR_FORMAT on pointers to types with
17244           sizeof < sizeof(gpointer).  Fixes test on 64-bit
17245         * testsuite/elements/property.h:
17246           use correct printf format
17247
17248 2005-05-02  Wim Taymans  <wim@fluendo.com>
17249
17250         * docs/design/draft-push-pull.txt:
17251         * docs/design/draft-query.txt:
17252         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
17253         (gst_basesrc_start):
17254         Added draft for new query API.
17255         Added draft for better selecting scheduling methods.
17256         Make basesrc ignore length if the subclass does not support
17257         it.
17258
17259 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17260
17261         * gst/Makefile.am:
17262           possible fixes for automake-1.5 - _LIBADD is reserved
17263
17264 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17265
17266         * docs/faq/Makefile.am:
17267         * docs/manual/Makefile.am:
17268         * docs/manuals.mak:
17269         * docs/pwg/Makefile.am:
17270         * gst/Makefile.am:
17271           possible fixes for automake-1.5
17272
17273 2005-04-28  Wim Taymans  <wim@fluendo.com>
17274
17275         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17276         (gst_basesink_pad_getcaps), (gst_basesink_init),
17277         (gst_basesink_do_sync):
17278         * gst/gstclock.c: (gst_clock_entry_new):
17279         * gst/gstevent.c: (gst_event_discont_get_value):
17280         * gst/gstpipeline.c: (pipeline_bus_handler),
17281         (gst_pipeline_change_state):
17282         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17283         Better debugging of clocking info.
17284         Allow NULL values when getting discont values.
17285
17286 2005-04-27  Wim Taymans  <wim@fluendo.com>
17287
17288         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17289         * check/gst/gstpad.c: (gst_pad_suite):
17290         Increase timeout for checks.
17291
17292 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17293
17294         * check/Makefile.am:
17295           fix the broken rule for cleanup.  Apparently this rule is
17296           only needed on FC2, so maybe this warrants further autotool
17297           inspection.
17298
17299 2005-04-26  Wim Taymans  <wim@fluendo.com>
17300
17301         * gst/gsttrashstack.h:
17302         Ooohh. a nasty one! After having a failed pop() from the stack,
17303         it's possible that the stack is empty. In that case, don't
17304         follow the NULL pointer.
17305
17306 2005-04-25  Wim Taymans  <wim@fluendo.com>
17307
17308         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17309         (gst_pad_set_checkgetrange_function),
17310         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
17311         (gst_pad_check_pull_range), (gst_pad_pull_range),
17312         (gst_static_pad_template_get_caps), (gst_pad_start_task),
17313         (gst_pad_pause_task), (gst_pad_stop_task):
17314         * gst/gstplugin.c: (gst_plugin_load):
17315         * gst/gstplugin.h:
17316         Remove gst_library_load as it does more harm than good with
17317         the new g_module flags.
17318         Revert bogus caps template check in pad linking, pad caps
17319         are important when linking not the template, which is more
17320         general than the current caps.
17321
17322 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17323
17324         * gst/autoplug/.cvsignore:
17325         * gst/autoplug/Makefile.am:
17326         * gst/autoplug/gstsearchfuncs.c:
17327         * gst/autoplug/gstsearchfuncs.h:
17328         * gst/autoplug/gstspider.c:
17329         * gst/autoplug/gstspider.h:
17330         * gst/autoplug/gstspideridentity.c:
17331         * gst/autoplug/gstspideridentity.h:
17332         * gst/autoplug/spidertest.c:
17333           Die, spider, die.
17334
17335 2005-04-25  Wim Taymans  <wim@fluendo.com>
17336
17337         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17338         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17339         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
17340         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
17341         * gst/gstpad.h:
17342         Added stubs for unimplemented functions. 
17343
17344 2005-04-24  David Schleef  <ds@schleef.org>
17345
17346         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
17347         please fix.
17348
17349 2005-04-24  David Schleef  <ds@schleef.org>
17350
17351         Convert everything from GstAtomicInt to g_atomic_int_*, and
17352         remove gstatomic.
17353         * gst/Makefile.am:
17354         * gst/gstatomic.c:
17355         * gst/gstatomic.h:
17356         * gst/gstatomic_impl.h:
17357         * gst/gstbuffer.c:
17358         * gst/gstcaps.c:
17359         * gst/gstcaps.h:
17360         * gst/gstclock.c:
17361         * gst/gstclock.h:
17362         * gst/gstdata.c:
17363         * gst/gstdata.h:
17364         * gst/gstdata_private.h:
17365         * gst/gstevent.c:
17366         * gst/gstinfo.c:
17367         * gst/gstinfo.h:
17368         * gst/gstmessage.c:
17369         * gst/gstobject.c:
17370         * gst/gstobject.h:
17371         * gst/gststructure.c:
17372         * gst/gststructure.h:
17373         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
17374         * gst/gstutils.h:
17375
17376 2005-04-24  David Schleef  <ds@schleef.org>
17377
17378         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
17379         make the regressions tests work.  Remove some code that is no
17380         longer true.
17381         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
17382         Disable warning for pads without templates.
17383
17384 2005-04-24  David Schleef  <ds@schleef.org>
17385
17386         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
17387         functions that handle filtered links.
17388         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
17389         removed functions.
17390         * gst/gstutils.c: Fix/remove utility functions that handle
17391         filtered caps.
17392         * gst/gstutils.h:
17393         * gst/gstvalue.c: Add serialization/deserialization of caps
17394         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
17395         requires fixing so that the filter caps notation creates
17396         a capsfilter element and sets the filter_caps property.  I
17397         think everyone probably wants to keep the shorthand notation.
17398         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
17399         * docs/gst/tmpl/gstpad.sgml:
17400
17401         * gst/elements/gstelements.c: Register capsfilter element.
17402         * gst/Makefile.am: fix spacing
17403         * docs/random/ds/0.9-suggested-changes: random
17404
17405 2005-04-23  David Schleef  <ds@schleef.org>
17406
17407         * gst/elements/Makefile.am:
17408         * gst/elements/gstcapsfilter.c: New element that acts like an
17409         identity, but filters caps.  Will eventually replace filtered
17410         caps in pad linking.
17411         * gst/gstutils.c: (gst_element_create_all_pads): New function
17412         to create all the ALWAYS pads that are registered with an
17413         element class.  This functionality should eventually be
17414         merged in with GstElement initialization.
17415         * gst/gstutils.h:
17416         * testsuite/trigger/README: part of trigger test code that should
17417         have been checked in a long time ago.
17418
17419 2005-04-23  David Schleef  <ds@schleef.org>
17420
17421         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
17422         needed with new versions of libtool (nobody will confirm this),
17423         and hard to carry around.
17424         * gst/autoplug/Makefile.am:
17425         * gst/base/Makefile.am:
17426         * gst/elements/Makefile.am:
17427         * gst/indexers/Makefile.am:
17428         * gst/schedulers/Makefile.am:
17429         * libs/gst/bytestream/Makefile.am:
17430         * libs/gst/control/Makefile.am:
17431         * libs/gst/dataprotocol/Makefile.am:
17432         * libs/gst/getbits/Makefile.am:
17433
17434 2005-04-21  Wim Taymans  <wim@fluendo.com>
17435
17436         * docs/design/draft-push-pull.txt:
17437         * docs/design/part-MT-refcounting.txt:
17438         * docs/design/part-TODO.txt:
17439         * docs/design/part-caps.txt:
17440         * docs/design/part-events.txt:
17441         * docs/design/part-gstbus.txt:
17442         * docs/design/part-gstpipeline.txt:
17443         * docs/design/part-messages.txt:
17444         * docs/design/part-push-pull.txt:
17445         * docs/design/part-query.txt:
17446         Some more docs.
17447
17448 2005-04-21  Wim Taymans  <wim@fluendo.com>
17449
17450         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17451         (gst_message_new), (gst_message_new_error),
17452         (gst_message_new_warning), (gst_message_new_tag),
17453         (gst_message_new_state_changed), (gst_message_new_application),
17454         (gst_message_get_structure):
17455         * gst/gstmessage.h:
17456         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17457         (gst_structure_copy_conditional):
17458         Use parent refcount in GstMessage to ensure GstStructure
17459         consistency.
17460         Cleaned up headers a bit.
17461         
17462
17463 2005-04-20  Wim Taymans  <wim@fluendo.com>
17464
17465         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17466         (gst_basesink_pad_getcaps), (gst_basesink_init),
17467         (gst_basesink_chain_unlocked):
17468         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17469         (gst_type_find_helper):
17470         * gst/elements/gsttypefindelement.c:
17471         (gst_type_find_element_have_type), (gst_type_find_element_init),
17472         (stop_typefinding), (gst_type_find_element_handle_event),
17473         (find_suggest), (gst_type_find_element_chain),
17474         (gst_type_find_element_checkgetrange),
17475         (gst_type_find_element_getrange), (do_typefind),
17476         (gst_type_find_element_activate):
17477         * gst/gstbuffer.c: (_gst_buffer_sub_free),
17478         (gst_buffer_default_free), (gst_buffer_default_copy),
17479         (gst_buffer_set_caps):
17480         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17481         (gst_caps_replace):
17482         * gst/gstmessage.c: (gst_message_new),
17483         (gst_message_new_state_changed):
17484         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17485         (gst_pad_set_checkgetrange_function),
17486         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17487         (gst_pad_set_caps), (gst_pad_check_pull_range),
17488         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17489         * gst/gstpad.h:
17490         * gst/gsttypefind.c: (gst_type_find_register):
17491         Make gst_caps_replace() work like other _replace() functions.
17492         Use _caps_replace() where possible.
17493         Make sure _message_new() initialises its field.
17494         Add gst_static_pad_template_get_caps()
17495
17496
17497 2005-04-18  Andy Wingo  <wingo@pobox.com>
17498
17499         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17500         on the peer, not the pad. I think that was a typo. Pass an extra
17501         arg to see if random access is possible. Activate the pads as
17502         PULL_RANGE if possible.
17503
17504         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17505
17506         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
17507         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17508         to PROP_....
17509
17510 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17511
17512         * docs/faq/using.xml:
17513           Add note on gstreamer-properties (#154996).
17514
17515 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17516
17517         * docs/random/bbb/optional-properties:
17518           Some analysis on optional properties.
17519
17520 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17521
17522         * docs/gst/tmpl/gstelementfactory.sgml:
17523         * gst/gstelement.h:
17524         * gst/gstelementfactory.c: (gst_element_factory_init),
17525         (gst_element_factory_cleanup), (gst_element_register),
17526         (__gst_element_factory_add_static_pad_template),
17527         (gst_element_factory_get_static_pad_templates),
17528         (gst_element_factory_can_src_caps),
17529         (gst_element_factory_can_sink_caps):
17530         * gst/registries/Makefile.am:
17531         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17532         (gst_xml_registry_class_init), (gst_xml_registry_init),
17533         (gst_xml_registry_new), (gst_xml_registry_set_property),
17534         (gst_xml_registry_get_property), (get_time), (make_dir),
17535         (gst_xml_registry_get_perms_func),
17536         (plugin_times_older_than_recurse), (plugin_times_older_than),
17537         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17538         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17539         (add_to_char_array), (read_string), (read_uint), (read_enum),
17540         (load_pad_template), (load_feature), (load_plugin), (load_paths),
17541         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17542         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17543         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17544         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17545         (gst_xml_registry_rebuild):
17546         * gst/registries/gstlibxmlregistry.h:
17547         * tools/gst-compprep.c: (main):
17548         * tools/gst-inspect.c: (print_pad_templates_info):
17549         * tools/gst-xmlinspect.c: (print_element_info):
17550           Use libxml2 for registry parsing, use staticpadtemplates in
17551           elementfactories. Makes gst_init() +/- 10x faster.
17552
17553 2005-04-12  Wim Taymans  <wim@fluendo.com>
17554
17555         * gst/base/Makefile.am:
17556         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17557         (gst_basesink_pad_getcaps), (gst_basesink_init),
17558         (gst_basesink_event), (gst_basesink_change_state):
17559         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17560         (gst_basesrc_init), (gst_basesrc_query),
17561         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17562         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17563         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17564         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17565         (gst_basesrc_stop), (gst_basesrc_activate),
17566         (gst_basesrc_change_state):
17567         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17568         (helper_find_suggest), (gst_type_find_helper):
17569         * gst/base/gsttypefindhelper.h:
17570         * gst/elements/Makefile.am:
17571         * gst/elements/gstelements.c:
17572         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17573         (gst_fakesink_get_times), (gst_fakesink_event),
17574         (gst_fakesink_preroll), (gst_fakesink_render):
17575         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17576         (gst_fakesrc_init), (gst_fakesrc_event_handler),
17577         (gst_fakesrc_get_property), (gst_fakesrc_create),
17578         (gst_fakesrc_start), (gst_fakesrc_stop):
17579         * gst/elements/gstfakesrc.h:
17580         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17581         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17582         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17583         (gst_filesrc_create_read), (gst_filesrc_create),
17584         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17585         (gst_filesrc_start):
17586         * gst/elements/gsttypefindelement.c:
17587         (gst_type_find_element_have_type), (gst_type_find_element_init),
17588         (start_typefinding), (stop_typefinding), (push_buffer_store),
17589         (gst_type_find_element_handle_event),
17590         (gst_type_find_element_chain),
17591         (gst_type_find_element_checkgetrange),
17592         (gst_type_find_element_getrange), (do_typefind),
17593         (gst_type_find_element_activate),
17594         (gst_type_find_element_change_state):
17595         * gst/elements/gsttypefindelement.h:
17596         * gst/gstpipeline.c: (pipeline_bus_handler):
17597         Added typefind helper.
17598         Small preroll fix in the base sink.
17599         Disable typefind code in basesrc.
17600         Crude port of typefindelement.
17601         Fakesrc cleanups.
17602
17603
17604 2005-04-11  Wim Taymans  <wim@fluendo.com>
17605
17606         * check/gst/gstbus.c: (gstbus_suite):
17607         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17608         * check/gstcheck.h:
17609           Fix up the timeout so that the test does not fail.
17610
17611 2005-04-06  Wim Taymans  <wim@fluendo.com>
17612
17613         * gst/base/README:
17614         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17615         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17616         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17617         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17618         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17619         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17620         (gst_basesrc_stop), (gst_basesrc_activate),
17621         (gst_basesrc_change_state), (basesrc_find_peek),
17622         (basesrc_find_suggest), (gst_basesrc_type_find):
17623         * gst/base/gstbasesrc.h:
17624         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17625         (gst_filesrc_class_init), (gst_filesrc_init),
17626         (gst_filesrc_finalize), (gst_filesrc_set_location),
17627         (gst_filesrc_set_property), (gst_filesrc_get_property),
17628         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17629         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17630         (gst_filesrc_create_read), (gst_filesrc_create),
17631         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17632         * gst/elements/gstfilesrc.h:
17633         * gst/gstelement.c: (gst_element_get_state_func),
17634         (gst_element_lost_state), (gst_element_pads_activate):
17635         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17636         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17637         (gst_pad_pull_range):
17638         * gst/gstpad.h:
17639         More work on the generic source base class, implement seeking,
17640         query.
17641         Make filesrc extend the base source class.
17642         Added gst_pad_set_checkgetrange_function to GstPad.
17643
17644 2005-04-06  Andy Wingo  <wingo@pobox.com>
17645
17646         * pkgconfig/gstreamer-base.pc.in:
17647         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17648
17649         * pkgconfig/Makefile.am:
17650         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17651
17652 2005-04-04  Wim Taymans  <wim@fluendo.com>
17653
17654         * gst/base/Makefile.am:
17655         * gst/base/README:
17656         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17657         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17658         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17659         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17660         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17661         (gst_basesrc_base_init), (gst_basesrc_class_init),
17662         (gst_basesrc_init), (gst_basesrc_get_formats),
17663         (gst_basesrc_get_query_types), (gst_basesrc_query),
17664         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17665         (gst_basesrc_set_property), (gst_basesrc_get_property),
17666         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17667         (gst_basesrc_loop), (gst_basesrc_activate),
17668         (gst_basesrc_change_state):
17669         * gst/base/gstbasesrc.h:
17670         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17671         (gst_fakesrc_class_init), (gst_fakesrc_init),
17672         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17673         (gst_fakesrc_get_property), (gst_fakesrc_create):
17674         * gst/elements/gstfakesrc.h:
17675         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17676         (gst_filesrc_open_file), (gst_filesrc_loop),
17677         (gst_filesrc_activate), (filesrc_find_peek),
17678         (gst_filesrc_type_find):
17679         Made base source class, make fakesrc extend it.
17680         Add comments to basesink class.
17681         Some filesrc cleanup.
17682
17683 2005-03-31  David Schleef  <ds@schleef.org>
17684
17685         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17686         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17687         expected to link against libgstreamer.
17688         * gst/base/Makefile.am: link against libgstreamer
17689         * gst/elements/Makefile.am: same
17690
17691 2005-03-31  Andy Wingo  <wingo@pobox.com>
17692
17693         * tests/instantiate/Makefile.am:
17694         * tests/instantiate/caps.c: Add test to test speed of caps copy
17695         and free.
17696
17697         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17698         GMemChunk to be fair.
17699
17700         * gst/gsttrashstack.h: Remove warning about using the fallback
17701         trash stack implementation, it's still faster than malloc.
17702
17703 2005-03-30  Andy Wingo  <wingo@pobox.com>
17704
17705         * tests/complexity.c: Add a copyright.
17706
17707 2005-03-31  Wim Taymans  <wim@fluendo.com>
17708
17709         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17710         (gst_base_transform_class_init), (gst_base_transform_init),
17711         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17712         (gst_base_transform_get_property),
17713         (gst_base_transform_sink_activate),
17714         (gst_base_transform_src_activate),
17715         (gst_base_transform_change_state):
17716         * gst/base/gstbasetransform.h:
17717         * gst/elements/gstidentity.c: (gst_identity_class_init),
17718         (gst_identity_event), (gst_identity_check_perfect),
17719         (gst_identity_transform), (gst_identity_start),
17720         (gst_identity_stop):
17721         Added start/stop methods to transform base class so subclasses 
17722         don't need to deal with state changes even.
17723
17724 2005-03-31  Wim Taymans  <wim@fluendo.com>
17725
17726         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17727         (gst_event_new_discontinuous), (gst_event_discont_get_value):
17728         * gst/gstevent.h:
17729         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17730         (gst_pad_pull_range):
17731         Added rate to the discont event to prepare for variable speed
17732         and reverse playback.
17733
17734 2005-03-29  David Schleef  <ds@schleef.org>
17735
17736         * configure.ac:
17737         * testsuite/trigger/Makefile.am:
17738         * testsuite/trigger/trigger.c: A little example program to show
17739         how trigger-based elements can work.
17740
17741 2005-03-29  Wim Taymans  <wim@fluendo.com>
17742
17743         * gst/base/Makefile.am:
17744         * gst/base/README:
17745         * gst/base/gstbasesink.c: (gst_basesink_get_type),
17746         (gst_basesink_base_init), (gst_basesink_class_init),
17747         (gst_basesink_pad_getcaps), (gst_basesink_init),
17748         (gst_basesink_activate), (gst_basesink_change_state):
17749         * gst/base/gstbasesink.h:
17750         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17751         (gst_base_transform_base_init), (gst_base_transform_finalize),
17752         (gst_base_transform_class_init), (gst_base_transform_init),
17753         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17754         (gst_base_transform_event), (gst_base_transform_getrange),
17755         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17756         (gst_base_transform_set_property),
17757         (gst_base_transform_get_property),
17758         (gst_base_transform_sink_activate),
17759         (gst_base_transform_src_activate),
17760         (gst_base_transform_change_state):
17761         * gst/base/gstbasetransform.h:
17762         * gst/elements/gstidentity.c: (gst_identity_finalize),
17763         (gst_identity_class_init), (gst_identity_init),
17764         (gst_identity_event), (gst_identity_check_perfect),
17765         (gst_identity_transform), (gst_identity_set_property),
17766         (gst_identity_get_property), (gst_identity_change_state):
17767         * gst/elements/gstidentity.h:
17768         * gst/gstelement.c: (gst_element_get_state_func),
17769         (gst_element_lost_state), (gst_element_pads_activate):
17770         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17771         (gst_pad_check_pull_range), (gst_pad_pull_range):
17772         * gst/gstpad.h:
17773         Simplify pad activation.
17774         Added function to check if pull_range can be performed.
17775         Error out when pulling inactive or flushing pads.
17776         Removed const from refcounted types as it does not make sense.
17777         Simplify pad templates in basesink
17778         Added base class for simple 1-to-1 transforms.
17779         Make identity subclass the base transform.
17780
17781 2005-03-29  Andy Wingo  <wingo@pobox.com>
17782
17783         * docs/libs/gstreamer-libs-overrides.txt: 
17784         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17785         really don't understand what's going on, but like whatever. I want
17786         green buildbot!
17787
17788         * docs/gst/Makefile.am:
17789         * docs/libs/Makefile.am: Dist the overrides files.
17790
17791         * check/Makefile.am (clean-local): Remove .libs directories.
17792
17793         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17794         elements to EXTRA_DIST, so po/ files are happy.
17795
17796         * po/POTFILES.in: Er, remove it here.
17797
17798         * po/POTFILES: Remove gstspider.c.
17799
17800         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17801
17802         * docs/libs/gstreamer-libs-docs.sgml: 
17803         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17804         bytestream.
17805
17806         * tests/complexity.c (main): Set the length of the preroll queue
17807         on the sinks to prevent a lockup.
17808
17809         * libs/gst/dataprotocol/Makefile.am: 
17810         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17811         the same as the one in check/gst-libs/gdp.c.
17812
17813         * po/, docs/gst/: Commit automatic changes to docs and po files.
17814
17815         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17816         the versioned libgstbase.
17817
17818         * check/Makefile.am: Depend on an unversioned gst-register, seems
17819         to make autoconf happier.
17820
17821         * gst/base/Makefile.am: Make libgstbase a versioned lib.
17822
17823 2005-03-28  Wim Taymans  <wim@fluendo.com>
17824
17825         * configure.ac:
17826         * docs/design/part-gstelement.txt:
17827         * docs/design/part-negotiation.txt:
17828         * docs/design/part-preroll.txt:
17829         * docs/design/part-scheduling.txt:
17830         * docs/design/part-states.txt:
17831         * gst/Makefile.am:
17832         * gst/base/Makefile.am:
17833         * gst/base/README:
17834         * gst/base/gstbasesink.c: (gst_basesink_get_template),
17835         (gst_basesink_base_init), (gst_basesink_class_init),
17836         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17837         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17838         (gst_basesink_set_pad_functions),
17839         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17840         (gst_basesink_set_property), (gst_basesink_get_property),
17841         (gst_base_sink_get_template), (gst_base_sink_get_caps),
17842         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17843         (gst_basesink_preroll_queue_push),
17844         (gst_basesink_preroll_queue_empty),
17845         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17846         (gst_basesink_event), (gst_basesink_get_times),
17847         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17848         (gst_basesink_chain_unlocked), (gst_basesink_chain),
17849         (gst_basesink_loop), (gst_basesink_activate),
17850         (gst_basesink_change_state):
17851         * gst/base/gstbasesink.h:
17852         * gst/elements/Makefile.am:
17853         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17854         (gst_fakesink_class_init), (gst_fakesink_init),
17855         (gst_fakesink_set_property), (gst_fakesink_get_property),
17856         (gst_fakesink_get_times), (gst_fakesink_event),
17857         (gst_fakesink_preroll), (gst_fakesink_render),
17858         (gst_fakesink_change_state):
17859         * gst/elements/gstfakesink.h:
17860         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17861         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17862         * gst/gstelement.c: (gst_element_add_pad),
17863         (gst_element_get_state_func), (gst_element_abort_state),
17864         (gst_element_commit_state), (gst_element_lost_state),
17865         (gst_element_set_state), (gst_element_pads_activate):
17866         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17867         * gst/gstpipeline.c: (gst_pipeline_send_event),
17868         (gst_pipeline_change_state):
17869         Added state change code.
17870         Added/updated docs.
17871         Added sink base class, make fakesink extend the base class.
17872         Small cleanups in GstPipeline.
17873
17874 2005-03-26  David Schleef  <ds@schleef.org>
17875
17876         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
17877         is broken and should be implemented in a different library.
17878         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17879         * gst/gst.h: remove gstcpu.h
17880         * gst/gstcpu.c: remove
17881         * gst/gstcpu.h: remove
17882         * gst/Makefile.am.future: Remove this file.  It's ancient.
17883
17884 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17885
17886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17887         (gst_bin_send_event):
17888           Add default event/set_manager handlers. The set_manager handler
17889           takes care that the manager is distributed over kids that were
17890           already in the bin before the manager was set. The event handler
17891           is a utility virtual function that sends the event over all sinks,
17892           so that gst_element_send_event (bin, event); has the expected
17893           behaviour.
17894         * gst/gstpad.c: (gst_pad_event_default):
17895           Re-install default event handling for discontinuities, so that
17896           seeking works without requiring hacks in applications or extra
17897           code in sinks.
17898         * gst/gstpipeline.c: (gst_pipeline_class_init),
17899         (gst_pipeline_send_event):
17900           Half hack, half utility: set a pipeline to PAUSED for seek events,
17901           since that is the only way we can guarantee a/v sync. Means that
17902           you can do gst_element_seek (pipeline, method, pos); on a pipeline
17903           and it "just works".
17904
17905 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17906
17907         * gst/gstpipeline.c: (gst_pipeline_use_clock):
17908           Lock/unlock mismatch.
17909
17910 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17911
17912         * docs/faq/gst-uninstalled:
17913           add gst-plugins-base
17914         * docs/gst/Makefile.am:
17915           don't error out until docs are fixed
17916         * docs/gst/gstreamer.types:
17917           remove thread
17918
17919 2005-03-22  Wim Taymans  <wim@fluendo.com>
17920
17921         * check/Makefile.am:
17922         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17923         * gst/gststructure.c: (gst_structure_set_valist),
17924         (gst_structure_copy_conditional):
17925         Activated more tests.
17926         Added message test.
17927         Added G_TYPE_POINTER to GstStructure.
17928         
17929
17930 2005-03-22  Wim Taymans  <wim@fluendo.com>
17931
17932         * docs/design/part-TODO.txt:
17933         * docs/design/part-events.txt:
17934         * docs/design/part-gstbin.txt:
17935         * docs/design/part-gstbus.txt:
17936         * docs/design/part-gstpipeline.txt:
17937         * docs/design/part-messages.txt:
17938         * gst/gstbus.c:
17939         * gst/gstmessage.c:
17940         Docs updates
17941
17942 2005-03-21  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/gstbus.c: (gst_bus_post):
17945         Fix copy-and-paste error.
17946
17947 2005-03-21  Wim Taymans  <wim@fluendo.com>
17948
17949         * check/Makefile.am:
17950         * gst/Makefile.am:
17951         * gst/elements/Makefile.am:
17952         * gst/elements/gstelements.c:
17953         * gst/elements/gstfakesink.c: (gst_fakesink_init),
17954         (gst_fakesink_event), (gst_fakesink_chain):
17955         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17956         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17957         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17958         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17959         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17960         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17961         (gst_fakesrc_loop), (gst_fakesrc_activate),
17962         (gst_fakesrc_change_state):
17963         * gst/elements/gstfakesrc.h:
17964         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17965         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17966         (gst_filesrc_open_file), (gst_filesrc_loop),
17967         (gst_filesrc_activate), (gst_filesrc_change_state),
17968         (filesrc_find_peek), (filesrc_find_suggest),
17969         (gst_filesrc_type_find):
17970         * gst/elements/gstidentity.c: (gst_identity_finalize),
17971         (gst_identity_class_init), (gst_identity_init),
17972         (gst_identity_proxy_getcaps), (identity_queue_push),
17973         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17974         (gst_identity_getrange), (gst_identity_chain),
17975         (gst_identity_sink_loop), (gst_identity_src_loop),
17976         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17977         (gst_identity_set_property), (gst_identity_get_property),
17978         (gst_identity_change_state):
17979         * gst/elements/gstidentity.h:
17980         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17981         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17982         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17983         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17984         (gst_tee_sink_activate):
17985         * gst/elements/gsttee.h:
17986         * gst/gst.c: (gst_register_core_elements), (init_post):
17987         * gst/gst.h:
17988         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17989         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17990         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17991         (gst_bin_change_state):
17992         * gst/gstbin.h:
17993         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17994         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17995         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17996         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17997         (gst_bus_set_sync_handler), (gst_bus_create_watch),
17998         (bus_watch_callback), (bus_watch_destroy),
17999         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18000         (poll_timeout), (gst_bus_poll):
18001         * gst/gstbus.h:
18002         * gst/gstcaps.h:
18003         * gst/gstdata.h:
18004         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18005         (gst_element_post_message), (gst_element_message_full),
18006         (gst_element_get_state_func), (gst_element_get_state),
18007         (gst_element_abort_state), (gst_element_commit_state),
18008         (gst_element_lost_state), (gst_element_set_state),
18009         (gst_element_pads_activate), (gst_element_change_state),
18010         (gst_element_dispose), (gst_element_set_manager_func),
18011         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
18012         (gst_element_set_manager), (gst_element_get_manager),
18013         (gst_element_set_bus), (gst_element_get_bus),
18014         (gst_element_set_scheduler), (gst_element_get_scheduler):
18015         * gst/gstelement.h:
18016         * gst/gstevent.c: (gst_event_new_segment_seek),
18017         (gst_event_new_flush):
18018         * gst/gstevent.h:
18019         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
18020         (_gst_message_free), (gst_message_get_type), (gst_message_new),
18021         (gst_message_new_eos), (gst_message_new_error),
18022         (gst_message_new_warning), (gst_message_new_tag),
18023         (gst_message_new_state_changed), (gst_message_new_application),
18024         (gst_message_get_structure), (gst_message_parse_tag),
18025         (gst_message_parse_state_changed), (gst_message_parse_error),
18026         (gst_message_parse_warning):
18027         * gst/gstmessage.h:
18028         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
18029         (gst_real_pad_set_property), (gst_pad_set_active),
18030         (gst_pad_is_active), (gst_pad_set_blocked_async),
18031         (gst_pad_set_blocked), (gst_pad_is_blocked),
18032         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
18033         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
18034         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
18035         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
18036         (gst_pad_link_filtered), (gst_pad_relink_filtered),
18037         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
18038         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
18039         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
18040         (gst_pad_set_caps), (gst_pad_configure_sink),
18041         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
18042         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
18043         (gst_real_pad_dispose), (gst_real_pad_finalize),
18044         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
18045         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18046         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
18047         * gst/gstpad.h:
18048         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
18049         (pipeline_bus_handler), (gst_pipeline_change_state),
18050         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
18051         * gst/gstpipeline.h:
18052         * gst/gstprobe.h:
18053         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18054         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
18055         (gst_queue_link_src), (gst_queue_bufferalloc),
18056         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
18057         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
18058         (gst_queue_loop), (gst_queue_handle_src_event),
18059         (gst_queue_handle_src_query), (gst_queue_src_activate),
18060         (gst_queue_change_state):
18061         * gst/gstqueue.h:
18062         * gst/gstscheduler.c: (gst_scheduler_init),
18063         (gst_scheduler_dispose), (gst_scheduler_create_task),
18064         (gst_scheduler_factory_create):
18065         * gst/gstscheduler.h:
18066         * gst/gststructure.c: (gst_structure_get_type),
18067         (gst_structure_copy_conditional):
18068         * gst/gststructure.h:
18069         * gst/gsttaginterface.h:
18070         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18071         (gst_task_init), (gst_task_dispose), (gst_task_create),
18072         (gst_task_get_state), (gst_task_start), (gst_task_stop),
18073         (gst_task_pause):
18074         * gst/gsttask.h:
18075         * gst/gstthread.c:
18076         * gst/gstthread.h:
18077         * gst/gsttypes.h:
18078         * gst/schedulers/Makefile.am:
18079         * gst/schedulers/cothreads_compat.h:
18080         * gst/schedulers/entryscheduler.c:
18081         * gst/schedulers/faircothreads.c:
18082         * gst/schedulers/faircothreads.h:
18083         * gst/schedulers/fairscheduler.c:
18084         * gst/schedulers/gstbasicscheduler.c:
18085         * gst/schedulers/gstoptimalscheduler.c:
18086         * gst/schedulers/gthread-cothreads.h:
18087         * gst/schedulers/threadscheduler.c:
18088         (gst_thread_scheduler_task_get_type),
18089         (gst_thread_scheduler_task_class_init),
18090         (gst_thread_scheduler_task_init),
18091         (gst_thread_scheduler_task_start),
18092         (gst_thread_scheduler_task_stop),
18093         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
18094         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18095         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
18096         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
18097         (plugin_init):
18098         * libs/gst/Makefile.am:
18099         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
18100         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
18101         (gst_file_pad_parent_set):
18102         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18103         (gst_dp_event_from_packet):
18104         * tests/complexity.c: (main):
18105         * tests/mass_elements.c: (main):
18106         * testsuite/states/locked.c: (message_received), (main):
18107         * testsuite/states/parent.c: (main):
18108         * tools/gst-inspect.c: (print_element_flag_info),
18109         (print_implementation_info), (print_pad_info):
18110         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
18111         (main):
18112         * tools/gst-md5sum.c: (event_loop), (main):
18113         * tools/gst-typefind.c: (main):
18114         * tools/gst-xmlinspect.c: (print_element_info):
18115         Next big merge.
18116         Added GstBus for mainloop integration.
18117         Added GstMessage for sending notifications on the bus.
18118         Added GstTask as an abstraction for pipeline entry points.
18119         Removed GstThread.
18120         Removed Schedulers.
18121         Simplified GstQueue for multithreaded core.
18122         Made _link threadsafe, removed old capsnego.
18123         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
18124         Added pad blocking functions.
18125         Reworked scheduling functions in GstPad to prepare for
18126         scheduling updates soon.
18127         Moved events out of data stream.
18128         Simplified GstEvent types.
18129         Added return values to push/pull.
18130         Removed clocking from GstElement.
18131         Added prototypes for state change function for next merge.
18132         Removed iterate from bins and state change management.
18133         Fixed some elements, disabled others for now.
18134         Fixed -inspect and -launch.
18135         Added check for GstBus.
18136
18137 2005-03-10  Wim Taymans  <wim@fluendo.com>
18138
18139         * docs/design/part-MT-refcounting.txt:
18140         * docs/design/part-clocks.txt:
18141         * docs/design/part-gstelement.txt:
18142         * docs/design/part-gstobject.txt:
18143         * docs/design/part-standards.txt:
18144         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18145         (gst_bin_remove_func), (gst_bin_remove):
18146         * gst/gstbin.h:
18147         * gst/gstbuffer.c:
18148         * gst/gstcaps.h:
18149         * testsuite/clock/clock1.c: (main):
18150         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
18151         (main):
18152         * testsuite/dlopen/loadgst.c: (do_test):
18153         * testsuite/refcounting/bin.c: (add_remove_test1),
18154         (add_remove_test2), (main):
18155         * testsuite/refcounting/element.c: (main):
18156         * testsuite/refcounting/element_pad.c: (main):
18157         * testsuite/refcounting/pad.c: (main):
18158         * tools/gst-launch.c: (sigint_handler_sighandler):
18159         * tools/gst-typefind.c: (main):
18160         Doc updates.
18161         Added doc about clock.
18162         removed gst_bin_iterate_recurse_up(), marked methods
18163         for removal.
18164         Fix more testsuites.
18165
18166 2005-03-09  Wim Taymans  <wim@fluendo.com>
18167
18168         * gst/gstpad.c: (gst_pad_get_direction),
18169         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
18170         (gst_pad_collect_valist):
18171         * testsuite/bins/interface.c: (main):
18172         * testsuite/caps/audioscale.c: (test_caps):
18173         * testsuite/caps/caps.c: (test1), (test2), (test3):
18174         * testsuite/caps/deserialize.c: (main):
18175         * testsuite/caps/enumcaps.c: (main):
18176         * testsuite/caps/filtercaps.c: (main):
18177         * testsuite/caps/intersect2.c: (main):
18178         * testsuite/caps/random.c: (main):
18179         * testsuite/caps/renegotiate.c: (my_fixate), (main):
18180         * testsuite/caps/sets.c: (check_caps):
18181         * testsuite/caps/simplify.c: (check_caps), (main):
18182         * testsuite/caps/subtract.c: (check_caps):
18183         Fix _pad_get_direction wrt ghostpads.
18184         Fix caps testsuite.
18185
18186 2005-03-09  Wim Taymans  <wim@fluendo.com>
18187
18188         * check/Makefile.am:
18189         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
18190         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
18191         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
18192         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
18193         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
18194         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
18195         (gst_bin_remove), (gst_bin_iterate_recurse_up),
18196         (bin_element_is_sink), (gst_bin_iterate_sinks),
18197         (gst_bin_iterate_all_by_interface):
18198         * gst/gstbin.h:
18199         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
18200         (gst_element_change_state), (gst_element_dispose),
18201         (gst_element_finalize), (gst_element_set_loop_function):
18202         * gst/gstelement.h:
18203         * gst/gstiterator.c: (find_custom_fold_func):
18204         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18205         (gst_pad_collectv), (gst_pad_collect_valist),
18206         (gst_pad_template_new):
18207         * gst/gstpipeline.c: (gst_pipeline_class_init),
18208         (gst_pipeline_dispose), (gst_pipeline_set_property),
18209         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
18210         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
18211         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
18212         * gst/gstutils.h:
18213         * gst/schedulers/entryscheduler.c:
18214         * gst/schedulers/gstbasicscheduler.c:
18215         (gst_basic_scheduler_cothreaded_chain),
18216         (gst_basic_scheduler_chain_add_element):
18217         * testsuite/bins/interface.c: (main):
18218         Added GstBin test.
18219         Added GstSystemClock test.
18220         Implemented clock distribution code in GstBin.
18221         Implemented iterate sinks method for future use.
18222         Rearranged gstelement.h
18223         Fix GstIterator comparison bug.
18224         Moved some code to GstPipeline, mostly clocking related.
18225
18226 2005-03-09  Wim Taymans  <wim@fluendo.com>
18227
18228         * configure.ac:
18229         * gst/gst_private.h:
18230         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18231         (gst_bin_remove_func), (gst_bin_remove),
18232         (gst_bin_get_by_name_recurse_up):
18233         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
18234         (gst_clock_id_compare_func), (gst_clock_id_wait),
18235         (gst_clock_id_wait_async), (gst_clock_init),
18236         (gst_clock_adjust_unlocked), (gst_clock_get_time):
18237         * gst/gstelement.h:
18238         * gst/gstinfo.c: (_gst_debug_init):
18239         * gst/gstobject.h:
18240         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18241         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
18242         * gst/gstpad.h:
18243         Bump version number, we're now 0.9.0
18244         Add future debugging category.
18245         Fix NULL _unref() in _get_by_name_recurse_up
18246         Rearrange gstpad.h.
18247         Update some docs.
18248
18249 2005-03-08  Wim Taymans  <wim@fluendo.com>
18250
18251         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
18252         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
18253         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18254         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
18255         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
18256         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
18257         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
18258         * gst/elements/gstidentity.c: (gst_identity_class_init):
18259         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
18260         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
18261         * gst/elements/gstshaper.c: (gst_shaper_class_init):
18262         * gst/elements/gststatistics.c: (gst_statistics_class_init):
18263         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
18264         (gst_tee_link):
18265         * gst/gstelement.c: (gst_element_class_init),
18266         (gst_element_base_class_init), (gst_element_init),
18267         (gst_element_get_random_pad), (gst_element_wait_state_change),
18268         (gst_element_change_state), (gst_element_dispose),
18269         (gst_element_finalize), (gst_element_set_loop_function):
18270         * gst/gstelement.h:
18271         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
18272         * gst/gstthread.c: (gst_thread_class_init),
18273         (gst_thread_release_children_locks), (gst_thread_change_state):
18274         * gst/schedulers/gstbasicscheduler.c:
18275         (gst_basic_scheduler_loopfunc_wrapper),
18276         (gst_basic_scheduler_chain_wrapper),
18277         (gst_basic_scheduler_src_wrapper),
18278         (gst_basic_scheduler_remove_element):
18279         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
18280         Remove threadsafe properties. Fix elements because GObject
18281         complains when installing a property before declaring a
18282         set/get_property handler.
18283         Rearrange gstelement.h file, use STATE macros for state locks.
18284         Free mutexes in the finalize method instead of dispose.
18285
18286 2005-03-08  Wim Taymans  <wim@fluendo.com>
18287
18288         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18289         * gst/gstthread.c: (gst_thread_release_children_locks):
18290         Added parentage check.
18291         Fix build og GstThread again.
18292
18293 2005-03-08  Wim Taymans  <wim@fluendo.com>
18294
18295         * docs/design/part-MT-refcounting.txt:
18296         * docs/design/part-conventions.txt:
18297         * docs/design/part-gstobject.txt:
18298         * docs/design/part-relations.txt:
18299         * docs/design/part-standards.txt:
18300         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18301         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
18302         (gst_bin_get_by_name), (gst_bin_get_by_interface),
18303         (gst_bin_iterate_all_by_interface):
18304         * gst/gstbuffer.h:
18305         * gst/gstclock.h:
18306         * gst/gstelement.c: (gst_element_class_init),
18307         (gst_element_change_state), (gst_element_set_loop_function):
18308         * gst/gstelement.h:
18309         * gst/gstiterator.c:
18310         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
18311         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
18312         (gst_object_dispatch_properties_changed), (gst_object_set_name),
18313         (gst_object_set_parent), (gst_object_unparent),
18314         (gst_object_check_uniqueness):
18315         * gst/gstobject.h:
18316         Docs updates, clean up some headers.
18317
18318 2005-03-07  Wim Taymans  <wim@fluendo.com>
18319
18320         * check/.cvsignore:
18321         * check/Makefile.am:
18322         * check/gst-libs/.cvsignore:
18323         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
18324         * check/gst/.cvsignore:
18325         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
18326         (START_TEST), (gstbus_suite), (main):
18327         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
18328         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
18329         (gst_data_suite), (main):
18330         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
18331         (add_fold_func), (gstiterator_suite), (main):
18332         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
18333         (thread_name_object), (thread_name_object_default),
18334         (gst_object_name_compare), (gst_object_suite), (main):
18335         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
18336         (gst_pad_suite), (main):
18337         * check/gstcheck.c: (gst_check_log_message_func),
18338         (gst_check_log_critical_func), (gst_check_init):
18339         * check/gstcheck.h:
18340         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18341         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
18342         Added checks.
18343
18344 2005-03-07  Wim Taymans  <wim@fluendo.com>
18345
18346         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18347         (gst_list_iterator_next), (gst_list_iterator_resync),
18348         (gst_list_iterator_free), (gst_iterator_new_list),
18349         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
18350         (gst_iterator_free), (gst_iterator_push), (filter_next),
18351         (filter_resync), (filter_uninit), (filter_free),
18352         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
18353         (gst_iterator_foreach), (find_custom_fold_func),
18354         (gst_iterator_find_custom):
18355         * gst/gstiterator.h:
18356         Added missing files.
18357
18358 2005-03-07  Wim Taymans  <wim@fluendo.com>
18359
18360         * Makefile.am:
18361         * configure.ac:
18362         * docs/design/part-MT-refcounting.txt:
18363         * docs/design/part-conventions.txt:
18364         * docs/design/part-gstobject.txt:
18365         * docs/design/part-relations.txt:
18366         * examples/mixer/mixer.c: (main):
18367         * examples/thread/thread.c: (eos), (main):
18368         * gst/Makefile.am:
18369         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
18370         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
18371         (gst_spider_plug_from_srcpad):
18372         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
18373         (gst_spider_identity_change_state),
18374         (gst_spider_identity_sink_loop_type_finding):
18375         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
18376         * gst/elements/gstidentity.c: (gst_identity_init):
18377         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
18378         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
18379         * gst/elements/gsttypefindelement.c: (free_entry):
18380         * gst/gst.c:
18381         * gst/gst.h:
18382         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
18383         (gst_bin_set_clock_func), (gst_bin_auto_clock),
18384         (gst_bin_set_index), (gst_bin_set_element_sched),
18385         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
18386         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
18387         (gst_bin_iterate_elements), (iterate_child_recurse),
18388         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
18389         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
18390         (compare_interface), (gst_bin_get_by_interface),
18391         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
18392         * gst/gstbin.h:
18393         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
18394         (gst_buffer_default_free), (gst_buffer_default_copy),
18395         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
18396         (gst_buffer_create_sub):
18397         * gst/gstbuffer.h:
18398         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
18399         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
18400         (gst_caps_unref), (gst_static_caps_get),
18401         (gst_caps_remove_and_get_structure), (gst_caps_append),
18402         (gst_caps_append_structure), (gst_caps_remove_structure),
18403         (gst_caps_copy_nth), (gst_caps_set_simple),
18404         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
18405         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
18406         (gst_caps_structure_intersect_field), (gst_caps_intersect),
18407         (gst_caps_structure_subtract_field), (gst_caps_subtract),
18408         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
18409         (gst_caps_structure_figure_out_union),
18410         (gst_caps_switch_structures), (gst_caps_do_simplify),
18411         (gst_caps_replace), (gst_caps_from_string),
18412         (gst_caps_copy_conditional):
18413         * gst/gstcaps.h:
18414         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
18415         (_gst_clock_id_free), (gst_clock_id_unref),
18416         (gst_clock_id_compare_func), (gst_clock_id_wait),
18417         (gst_clock_id_wait_async), (gst_clock_class_init),
18418         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
18419         (gst_clock_get_time), (gst_clock_set_time_adjust),
18420         (gst_clock_set_property), (gst_clock_get_property):
18421         * gst/gstclock.h:
18422         * gst/gstcompat.h:
18423         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
18424         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
18425         * gst/gstdata.h:
18426         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18427         (gst_element_requires_clock), (gst_element_provides_clock),
18428         (gst_element_set_clock), (gst_element_clock_wait),
18429         (gst_element_wait), (gst_element_set_time_delay),
18430         (gst_element_is_indexable), (gst_element_add_pad),
18431         (gst_element_add_ghost_pad), (gst_element_remove_pad),
18432         (pad_compare_name), (gst_element_get_static_pad),
18433         (gst_element_request_pad), (gst_element_get_request_pad),
18434         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
18435         (gst_element_class_get_pad_template_list),
18436         (gst_element_class_get_pad_template), (gst_element_error_func),
18437         (gst_element_get_random_pad), (gst_element_get_event_masks),
18438         (gst_element_send_event), (gst_element_seek),
18439         (gst_element_get_query_types), (gst_element_query),
18440         (gst_element_get_formats), (gst_element_convert),
18441         (gst_element_is_locked_state), (gst_element_set_locked_state),
18442         (gst_element_sync_state_with_parent), (gst_element_change_state),
18443         (gst_element_finalize), (gst_element_yield),
18444         (gst_element_interrupt), (gst_element_set_scheduler),
18445         (gst_element_get_scheduler), (gst_element_set_loop_function):
18446         * gst/gstelement.h:
18447         * gst/gstevent.h:
18448         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18449         (gst_format_get_by_nick), (gst_format_get_details),
18450         (gst_format_iterate_definitions):
18451         * gst/gstformat.h:
18452         * gst/gstindex.c: (gst_index_gtype_resolver):
18453         * gst/gstinfo.c:
18454         * gst/gstinfo.h:
18455         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18456         (gst_mem_chunk_free):
18457         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18458         (gst_object_ref), (gst_object_unref), (gst_object_sink),
18459         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18460         (gst_object_dispatch_properties_changed),
18461         (gst_object_set_name_default), (gst_object_set_name),
18462         (gst_object_get_name), (gst_object_set_name_prefix),
18463         (gst_object_get_name_prefix), (gst_object_set_parent),
18464         (gst_object_get_parent), (gst_object_unparent),
18465         (gst_object_check_uniqueness), (gst_object_save_thyself),
18466         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18467         (gst_object_set_property), (gst_object_get_property),
18468         (gst_object_get_path_string):
18469         * gst/gstobject.h:
18470         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18471         (gst_real_pad_init), (gst_real_pad_get_property),
18472         (gst_pad_custom_new), (gst_pad_get_direction),
18473         (gst_pad_set_active), (gst_pad_is_active),
18474         (gst_pad_set_event_function), (gst_pad_is_linked),
18475         (gst_pad_link_free), (gst_pad_link_intersect),
18476         (gst_pad_link_fixate), (gst_pad_set_caps),
18477         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18478         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18479         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18480         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18481         (gst_pad_get_caps), (gst_pad_peer_get_caps),
18482         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18483         (gst_pad_realize), (gst_pad_get_allowed_caps),
18484         (gst_real_pad_dispose), (gst_real_pad_finalize),
18485         (gst_pad_collectv), (gst_pad_collect_valist),
18486         (gst_pad_template_dispose), (gst_pad_template_new),
18487         (gst_pad_get_internal_links):
18488         * gst/gstpad.h:
18489         * gst/gstpipeline.c: (gst_pipeline_dispose),
18490         (gst_pipeline_change_state):
18491         * gst/gstpipeline.h:
18492         * gst/gstplugin.c:
18493         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18494         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18495         * gst/gstpluginfeature.h:
18496         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18497         * gst/gstquery.c: (_gst_query_type_initialize),
18498         (gst_query_type_register), (gst_query_type_get_by_nick),
18499         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18500         * gst/gstquery.h:
18501         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18502         * gst/gstscheduler.c: (gst_scheduler_add_element),
18503         (gst_scheduler_factory_create):
18504         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18505         (gst_structure_free), (gst_structure_set_name),
18506         (gst_structure_id_set_value), (gst_structure_set_value),
18507         (gst_structure_set_valist), (gst_structure_remove_field),
18508         (gst_structure_remove_fields),
18509         (gst_structure_remove_fields_valist),
18510         (gst_structure_remove_all_fields), (gst_structure_foreach),
18511         (gst_structure_map_in_place),
18512         (gst_caps_structure_fixate_field_nearest_int),
18513         (gst_caps_structure_fixate_field_nearest_double):
18514         * gst/gststructure.h:
18515         * gst/gstsystemclock.c: (gst_system_clock_class_init),
18516         (gst_system_clock_init), (gst_system_clock_dispose),
18517         (gst_system_clock_async_thread),
18518         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18519         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18520         * gst/gstsystemclock.h:
18521         * gst/gsttag.c: (gst_tag_list_add_value_internal),
18522         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18523         * gst/gsttaginterface.c:
18524         * gst/gstthread.c: (gst_thread_dispose),
18525         (gst_thread_release_children_locks), (gst_thread_change_state),
18526         (gst_thread_main_loop):
18527         * gst/gsttrashstack.h:
18528         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18529         * gst/gsttypes.h:
18530         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18531         (gst_element_request_pad), (gst_element_get_pad_from_template),
18532         (gst_element_request_compatible_pad),
18533         (gst_element_get_compatible_pad_filtered),
18534         (gst_element_get_compatible_pad), (gst_element_state_get_name),
18535         (gst_element_link_pads_filtered), (gst_element_link_filtered),
18536         (gst_element_link_many), (gst_element_link),
18537         (gst_element_link_pads), (gst_element_unlink_pads),
18538         (gst_element_unlink_many), (gst_element_unlink),
18539         (gst_pad_can_link_filtered), (gst_pad_can_link),
18540         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18541         (gst_object_default_error), (gst_bin_add_many),
18542         (gst_bin_remove_many), (gst_element_populate_std_props),
18543         (gst_element_class_install_std_props), (gst_buffer_merge),
18544         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18545         (link_fold_func), (gst_pad_proxy_setcaps):
18546         * gst/gstutils.h:
18547         * gst/gstvalue.c: (gst_value_deserialize_string):
18548         * gst/parse/grammar.y:
18549         * gst/schedulers/gstbasicscheduler.c:
18550         (gst_basic_scheduler_cothreaded_chain),
18551         (gst_basic_scheduler_chain_recursive_add),
18552         (gst_basic_scheduler_pad_link):
18553         * gst/schedulers/gstoptimalscheduler.c:
18554         (get_group_schedule_function),
18555         (gst_opt_scheduler_state_transition),
18556         (gst_opt_scheduler_add_element), (element_get_reachables_func):
18557         * libs/gst/bytestream/bytestream.c:
18558         * libs/gst/dataprotocol/dataprotocol.c:
18559         (gst_dp_header_from_buffer):
18560         * po/nb.po:
18561         * po/ru.po:
18562         * tests/threadstate/threadstate2.c: (eos):
18563         * tools/gst-compprep.c: (main):
18564         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18565         (print_pad_info), (print_children_info):
18566         * tools/gst-launch.c: (idle_func), (main):
18567         * tools/gst-md5sum.c: (idle_func), (main):
18568         * tools/gst-xmlinspect.c: (print_element_info):
18569         First THREADED backport attempt, focusing on adding locks and
18570         making sure the API is threadsafe. Needs more work. More docs
18571         follow this week.
18572
18573 2005-02-24  Andy Wingo  <wingo@pobox.com>
18574
18575         * tests/bench-complexity.scm:
18576         * tests/complexity.gnuplot: New files, good for running complexity
18577         benchmarks.
18578
18579         * tests/Makefile.am:
18580         * tests/complexity.c: New test, sets up N elements, at each level
18581         teeing into M streams per element. Eeeenteresting.
18582
18583         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18584         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18585         running bench-mass_elements.scm.
18586
18587         * tests/bench-mass_elements.scm: New script, runs mass_elements
18588         for various numbers of identities, outputting the results to a
18589         file. Requires guile 1.6. Just for testing.
18590
18591 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18592
18593         * gst/schedulers/fairscheduler.c:
18594           compile with debug disabled
18595
18596 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18597
18598         * configure.ac:
18599           hunting season on 0.9 is now OPEN