caf17755074dd505dcb6a9c5c49da576189afd8b
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4           Requesting 0 bytes before the end of the file should result in
5           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
6           unit test.
7
8 2006-07-27  Wim Taymans  <wim@fluendo.com>
9
10         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11         Fix useless assert, a uint is always positive.
12
13         * gst/gststructure.c: (gst_structure_nth_field_name),
14         (gst_structure_foreach), (gst_structure_map_in_place):
15         Check input arguments for public functions to avoid obvious crashes.
16
17         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
18         * plugins/elements/gstfakesink.h:
19         Do less useless typechecking.
20
21 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
22
23         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
24           Do not use mmap() by default since there are a number of error
25           conditions that we would like to handle in a non-fatal way that
26           will result in a SIGBUS if we use mmap(). Examples: external
27           devices (USB harddrive, portable music player) being unplugged
28           while in use; file on mounted CD/DVD that can't be read because
29           the medium is partly damaged. Fixes #348455 and #348475.
30
31 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
32
33         * gst/gstquery.h:
34         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
35         rates are a gdouble
36
37 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
38
39         * gst/gstregistry.c:
40           Move big documentation comment into class section header, so that it
41           appears in the API docs.
42
43 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
44
45         * docs/gst/gstreamer-sections.txt:
46         Oops. Commit the docs additions too for new API.
47         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
48
49 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
50
51         * gst/gststructure.c: (gst_structure_id_set),
52         (gst_structure_id_set_valist):
53         * gst/gststructure.h:
54         Add API for setting values into structures without performing
55         a quark lookup, if the appropriate quark is already known.
56
57         API: gst_structure_id_set
58         API: gst_structure_id_set_valist
59
60         * gst/parse/grammar.y:
61         * gst/parse/parse.l:
62         Remove some dead code shown by the coverage information.
63         Don't throw a critical g_warning when encountering a syntax error,
64         just warn and let the normal error path handle it.
65
66         * plugins/elements/gstelements.c:
67         Bump the rank of filesink up to PRIMARY so that it is preferred over
68         gnomevfssink for file:// sink uri's
69
70         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
71         (GST_START_TEST), (run_delayed_test),
72         (gst_parse_test_element_base_init),
73         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
74         (gst_parse_test_element_change_state),
75         (gst_register_parse_element), (parse_suite):
76         Beef up the tests for parse syntax to check that more error cases
77         fail as they are supposed to. Increases the test coverage a bit.
78
79 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
80
81         * docs/manual/basics-elements.xml:
82           Fix gst_element_link() example.
83
84         * gst/gstutils.c:
85           Mention in API docs that one should usually gst_bin_add()
86           elements to a bin or pipeline before doing the linking.
87           
88 2006-07-26  Wim Taymans  <wim@fluendo.com>
89
90         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
91         (gst_subbuffer_get_type), (gst_buffer_create_sub):
92         Avoid function call for known types by keeping the buffer and
93         subbuffer GType global.
94
95         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
96         Random silly optimisations in read() path.
97
98 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
99
100         * tools/gst-launch.c: (main):
101           If the top-level of the parse is a normal bin, it doesn't do the
102           right logic to run as a top-level element, so place it inside a
103           pipeline.
104
105 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
106
107         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
108           Remove superfluous g_object_notify() calls, GObject does
109           that for us automatically.
110
111 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
112
113         * gst/gstinfo.h:
114           Move the Win32 version from gst-plugins-good/gst/avi/avidemux.c to
115           here.
116
117 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
118
119         * gst/gsttaglist.c: (_gst_tag_initialize):
120           Allow more than one GST_TAG_IMAGE per taglist.
121
122 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
123
124         * gst/gstminiobject.c:
125           update docs
126         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
127         (gst_fd_src_create):
128           log recurring events at LOG level
129           add more debug for when the fd gets set
130
131 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
132
133         * gst/gstparse.c: (gst_parse_launch):
134           Also remove reentrance checks if flex is MT save (#348179)
135          Fix my empty ChangeLog entry below
136
137 2006-07-21  Andy Wingo  <wingo@pobox.com>
138
139         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
140
141         * libs/gst/check/Makefile.am
142         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
143         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
144         * libs/gst/check/gstbufferstraw.h:
145         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
146         functions, thus proving I am still a GStreamer haxor. OK I wrote
147         them a long time ago, but anyways.
148
149 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
150
151         * configure.ac:
152         * gst/gstparse.c: (gst_parse_launch):
153           Check for flex version and omit mutex if we have a MT save flex
154           (fixes #348179)
155
156 2006-07-21  Wim Taymans  <wim@fluendo.com>
157
158         * gst/gstparse.c: (gst_parse_launch):
159         Protect recursive calls to _parse with a recursive mutex
160         and busy flag.
161
162 2006-07-21  Wim Taymans  <wim@fluendo.com>
163
164         * tests/check/gst/gstpad.c: (GST_START_TEST):
165         Fix leak in test.
166
167 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
168
169         * gst/gstparse.c: (gst_parse_launch):
170           Do not hange on recursive uasge of gst_parse_launch()
171
172 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
173
174         * gst/gsttaglist.c:
175           Add some more docs, comments and FIXME 0.11s here and there
176           and  also fix some typos.
177
178 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
179
180         * gst/gstsegment.h:
181           Convert tabs to spaces for better readability. 
182
183 2006-07-20  Edward Hervey  <edward@fluendo.com>
184
185         * tests/check/libs/gdp.c: (gst_dp_suite):
186         the test_buffer test fails at line 140 on ppc64 at the following
187         check:
188         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer, GST_BUFFER_FLAG_IN_CAPS),
189                 "GST_BUFFER_IN_CAPS flag should have been copied !");
190         See bug #348114 for more details.
191
192 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
193
194         * docs/pwg/advanced-scheduling.xml:
195         * gst/gstpad.c:
196           Fix typos (#348000).
197
198 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
199
200         * docs/pwg/intro-basics.xml:
201           Fix wrong links (#347927).
202
203 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
204
205         * gst/gstregistry.h:
206         * gst/gstregistryxml.c: (load_feature),
207         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
208         * win32/common/config.h:
209         make --disable-index work (#342564)
210
211 2006-07-18  Wim Taymans  <wim@fluendo.com>
212
213         Patch by: Peter Kjellerstedt <pkj at axis dot com>
214
215         * gst/Makefile.am:
216         * gst/gsttrace.h:
217         The attached patch adds two missing defines to gsttrace.h when tracing
218         is disabled.  It also corrects one existing define.
219         Fixes #347756.
220
221 2006-07-17  Wim Taymans  <wim@fluendo.com>
222
223         * docs/gst/gstreamer-sections.txt:
224         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
225         * gst/gst.h:
226         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
227         Add two functions to check and change the SIGSEGV behaviour
228         when loading plugins.
229         Don't mess with the SIGSEGV handler when we were told not to.
230         Fixes #347794.
231         API: gst_segtrap_is_enabled
232         API: gst_segtrap_set_enabled
233
234 2006-07-14  Wim Taymans  <wim@fluendo.com>
235
236         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
237         * tests/check/elements/filesrc.c: (GST_START_TEST):
238         Revert fix for regression in #347408 after release.
239
240 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
241
242         Patch by: Antoine Tremblay <hexa00 at gmail com>
243
244         * gst/gstutils.c: (gst_element_unlink):
245           Free iterator when done (#347311).
246
247         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
248           And add a test case for this.
249
250 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
251
252         * configure.ac:
253         Bump nano back to CVS
254
255 === release 0.10.9 ===
256
257 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
258
259         * configure.ac:
260           releasing 0.10.9, "On the road again"
261
262 2006-07-13  Wim Taymans  <wim@fluendo.com>
263
264         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
265         * tests/check/elements/filesrc.c: (GST_START_TEST):
266         Revert pull-0 fix for release. Disable check. Fixes #347408.
267
268 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
269
270         * libs/gst/dataprotocol/dataprotocol.c:
271         (gst_dp_event_from_packet_1_0):
272           Fixes #347337: failure to deserialize event packets with
273           empty payload (only event type)
274
275 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
276
277         * gst/Makefile.am:
278           do not install a .c file in the header directory
279
280 2006-07-13  Edward Hervey  <edward@fluendo.com>
281
282         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
283         GhostPad no longer implicitely use the padtemplates of the targets.
284         Fixes #347384
285
286 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
287
288         * gst/gstvalue.c: (gst_value_compare_list),
289         (gst_value_compare_array), (_gst_value_initialize):
290         * tests/check/gst/gstvalue.c: (GST_START_TEST):
291         Make GstValueArray comparison be order dependent as designed.
292         Add checks for value lists and value array comparisons.
293         Fixes #347221
294
295 2006-07-11  Edward Hervey  <edward@fluendo.com>
296
297         * gst/gstbin.c: (activate_pads),
298         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
299         (gst_bin_change_state_func):
300         (de)activate src pads before calling state_change on the childs.
301         This is to avoid the case where a src ghostpad is blocked (holding the
302         stream lock), which would block the deactivation of the ghostpad's
303         target pad.
304         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
305         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
306         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
307         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
308         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
309         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
310         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
311         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
312         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
313         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
314         (gst_ghost_pad_class_init),
315         (gst_ghost_pad_internal_do_activate_push),
316         (gst_ghost_pad_internal_do_activate_pull),
317         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
318         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
319         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
320         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
321         GhostPads now create their internal GstProxyPad at creation (and not
322         when they're linked, as it was being done previously).
323         The internal and target pads are linked straight away.
324         The data will also travel through the other pad in order to make
325         pad blocking and probes non-hackish (the probe/block now really happens
326         on the GhostPad and not on the target).
327         * gst/gstpad.c: (gst_pad_set_blocked_async),
328         (gst_pad_link_prepare), (gst_pad_push_event):
329         Remove previous ghostpad cruft.
330         * gst/gstutils.c: (gst_pad_add_data_probe),
331         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
332         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
333         (gst_pad_remove_buffer_probe):
334         Remove previous ghost pad cruft.
335         Added more detailed debug statements.
336         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
337         Fix the testsuite for refcounting changes.
338         The comments about who has references were correct, but the refcount
339         being checked wasn't the same (!?!).
340
341         Fixes #341029
342
343 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
344
345         * docs/gst/gstreamer-sections.txt:
346         * gst/gstconfig.h.in:
347         More docs for configuration options, add docs to gtk-doc.
348
349 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
350
351         * gst/Makefile.am:
352         * gst/gstconfig.h.in:
353         * win32/common/config.h:
354         Fix build when disabling tracing (fixes #344016). Also start to document
355         the defines that disable the sub-systems.
356
357 2006-07-10  Edward Hervey  <edward@fluendo.com>
358
359         * gst/gst.c: (ensure_current_registry_forking):
360         let's make valgrind happy...
361
362 2006-07-09  Wim Taymans  <wim@fluendo.com>
363
364         * gst/gstelement.c: (activate_pads),
365         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
366         Better pad activation code: Reset the collect value too on resync.
367         Add some comments.
368
369 2006-07-09  Wim Taymans  <wim@fluendo.com>
370
371         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
372         (gst_pad_activate_push):
373         Use some more macros where it makes sense.
374         Allow pad mode switching instead of asserting. When a pad
375         is activated in one mode and we activate it in another, 
376         deactivate it first before activating it in a different mode.
377         Fixes #329198.
378
379 2006-07-08  Andy Wingo  <wingo@pobox.com>
380
381         * tools/gst-launch.c (main): Handle err == NULL.
382
383         * gst/gst.c (init_post, ensure_current_registry)
384         (ensure_current_registry_forking)
385         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
386         factoring out the registry scanning into separate functions. Don't
387         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
388         Better environment var name/interface suggestions accepted.
389
390 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
391
392         * gst/gstobject.c: (gst_object_set_name_default),
393         (gst_object_set_name):
394           Random micro-optimisation: don't use a hash table
395           with strings as keys and the usual strdup/strcmp
396           involved, but rather just use the GQuark of the
397           type name as key, since it needs to be looked up
398           anyway to get the type name string.
399
400         * tests/check/gst/gstobject.c: (GST_START_TEST):
401           Fix various leaks.
402
403 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
404
405         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
406         (gst_bin_iterate_all_by_interface):
407           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
408           GTypes are gulongs and thus the top 4 bytes might be cut
409           off on some platforms when doing GPOINTER_TO_INT, leading
410           to invalid GTypes and bad things happening (see RH bug #179654).
411           Also add a check to make sure the type passed in is really
412           an interface type.
413
414 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
415
416         * .cvsignore:
417           Ignore more.
418
419 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
420
421         * Makefile.am:
422         * configure.ac:
423         * gst-element-check.m4:
424         * gst-element-check.m4.in:
425           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
426           instead of the unversioned gst-inspect (#324176, #168659).
427
428 2006-07-06  Wim Taymans  <wim@fluendo.com>
429
430         * gst/gstmessage.h:
431         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
432         warnings.
433
434 2006-07-06  Wim Taymans  <wim@fluendo.com>
435
436         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
437         (gst_base_src_wait), (gst_base_src_update_length),
438         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
439         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
440         (gst_base_src_loop), (gst_base_src_start),
441         (gst_base_src_activate_pull):
442         Update docs.
443         blocksize == 0 now means the default blocksize when working in push
444         based mode.
445         Remove some pointless asserts in _wait function.
446         Fix offset/length calculations and EOS handling. We can now pull 0
447         bytes as well, which is allowed.
448         use _check_get_range() to decide if we can operate in _pull based
449         mode.
450         Fix refcounting leak when check_get_range function was not 
451         implemented.
452         API GstBaseSrc::blocksize range can be 0 too now (default)
453
454         * tests/check/elements/filesrc.c: (GST_START_TEST),
455         (filesrc_suite):
456         Added check to test _get_range() behaviour.
457
458 2006-07-06  Wim Taymans  <wim@fluendo.com>
459
460         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
461         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
462         (gst_pad_pull_range):
463         * gst/gstpad.h:
464         Lots of comments and docs added to the pad functions.
465         Flesh out the expected behaviour of the get_range() functions.
466
467 2006-07-06  Wim Taymans  <wim@fluendo.com>
468
469         * gst/gstbus.h:
470         * gst/gstclock.h:
471         * gst/gstevent.h:
472         * gst/gstiterator.h:
473         * gst/gstpad.h:
474         * gst/gstplugin.h:
475         * gst/gsttask.h:
476         Remove comma at end of enumerator list. 
477
478 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
479
480         * win32/common/libgstbase.def:
481         * win32/common/libgstdataprotocol.def:
482         * win32/common/libsgtreamer.def:
483         Add new exported functions.
484
485 2006-07-05  Wim Taymans  <wim@fluendo.com>
486
487         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
488         Add some more docs here and there.
489
490 2006-07-05  Wim Taymans  <wim@fluendo.com>
491
492         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
493         (gst_base_sink_loop), (gst_base_sink_get_position):
494         When operating in pull mode update the offset so that we
495         read sequentially.
496
497 2006-07-05  Wim Taymans  <wim@fluendo.com>
498
499         * gst/gstregistryxml.c: (read_string):
500         Avoid strdup. (will happen in libxml, but hey!)
501
502         * gst/gsturi.c:
503         Add some more docs.
504
505 2006-07-05  Wim Taymans  <wim@fluendo.com>
506
507         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
508         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
509         (gst_buffer_suite):
510         No point in checking if the size of the subbuffer > 0, the
511         code handles it correclty as demonstrated by unit test.
512         Also add a unit test for the zero sized _new_and_alloc and
513         _copy. Fixes #346663.
514
515 2006-07-05  Wim Taymans  <wim@fluendo.com>
516
517         * libs/gst/base/gstbasetransform.c:
518         (gst_base_transform_prepare_output_buffer),
519         (gst_base_transform_buffer_alloc),
520         (gst_base_transform_handle_buffer):
521         Make sure the buffer we pass to transform_ip has a refcount of
522         1 and thus is writable. Fixes #343196
523
524 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
525
526         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
527         (gst_file_src_init), (gst_file_src_set_property),
528         (gst_file_src_get_property), (gst_file_src_map_region):
529         * plugins/elements/gstfilesrc.h:
530         Add "sequential" property, off by default, to use madvise and hint
531         to the kernel that sequential access is desired.
532         Touch all retrieved pages by default to ensure they are pulled
533         into memory. (Closes #345720)
534
535 2006-07-03  Wim Taymans  <wim@fluendo.com>
536
537         * docs/design/part-block.txt:
538         * docs/design/part-dynamic.txt:
539         Small docs updates.
540
541 2006-07-03  Wim Taymans  <wim@fluendo.com>
542
543         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
544         (gst_caps_unref), (gst_static_caps_get),
545         (gst_caps_append_structure):
546         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
547         Use GSlice when the glib we build against is >= 2.10
548
549 2006-07-03  Wim Taymans  <wim@fluendo.com>
550
551         * gst/gstelement.c: (gst_element_pads_activate):
552         Small cleanup in pad activation code.
553
554 2006-07-03  Wim Taymans  <wim@fluendo.com>
555
556         Patch by: Peter Kjellerstedt <pkj at axis dot com>
557
558         * gst/gst-i18n-app.h:
559         * gst/gst-i18n-lib.h:
560         * tools/gst-inspect.c: (print_signal_info):
561         The attached patch will make the inclusion of gettext.h unconditional in
562         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
563         libintl.h in tools/gst-inspect.c.
564         This allows use of --disable-nls again and fixes #344642.
565
566 2006-07-03  Edward Hervey  <edward@fluendo.com>
567
568         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
569         Implement pad blocking on events according to part-block.txt.
570         More comments on behaviour.
571         * tests/check/gst/gstevent.c: (test_event):
572         Send event to peer pad of blocked pad (else it will block).
573
574 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
575
576         * libs/gst/check/gstcheck.c: (gst_check_message_error),
577         (gst_check_run_suite):
578           if we get the wrong message, give us the types as string
579         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
580           Fix a translatable
581         * tests/check/elements/filesrc.c: (GST_START_TEST):
582           add a test for trying to open a non-existing file
583
584 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
585
586         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
587           add a test for adding self
588
589 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
590
591         * libs/gst/check/gstcheck.h:
592           add some assert_ as alias for fail_unless_*
593         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
594           increase test coverage
595
596 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
597
598         * Makefile.am:
599           include lcov.mak for lcov coverage generation
600         * tools/Makefile.am:
601           add to CLEANFILES
602
603 2006-07-02  Edward Hervey  <edward@fluendo.com>
604
605         * tests/check/elements/.cvsignore:
606         moaping
607
608 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
609
610         * configure.ac:
611           don't set CFLAGS and friends for gcov, done from GST_GCOV now
612         * tests/check/Makefile.am:
613           clean up gcov files
614
615 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
616
617         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
618           remove gst_caps_simplify; it was not declared and not used
619           and deprecated in 0.8
620
621 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
622
623         * docs/faq/gst-uninstalled:
624           don't put empty paths on PYTHONPATH
625         * docs/gst/gstreamer-sections.txt:
626           remove some symbols that are not there
627
628 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
629
630         * gst/gstcaps.c: (gst_caps_compare_structures):
631           whitespace fixes
632         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
633         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
634           add more tests
635
636 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
637
638         * libs/gst/dataprotocol/Makefile.am:
639           build dataprotocol test by linking to the lib, instead of
640           compiling the source, so we get coverage
641         * tests/check/Makefile.am:
642         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
643         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
644           add a test for filesrc
645
646 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
647
648         * tests/check/gst/gststructure.c: (GST_START_TEST),
649         (gst_structure_suite):
650           Push coverage from 59.04% to 70.00%
651
652 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
653
654         * tests/check/Makefile.am:
655           gst-inspect every element; this makes sure that we also get
656           coverage on element's get/set functions
657
658 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
659
660         * configure.ac:
661           set CFLAGS and friends to -O0 if gcov is being used
662           add GCOV LIBS
663         * gst/Makefile.am:
664         * libs/gst/base/Makefile.am:
665         * libs/gst/check/Makefile.am:
666         * libs/gst/controller/Makefile.am:
667         * libs/gst/dataprotocol/Makefile.am:
668         * libs/gst/net/Makefile.am:
669         * plugins/elements/Makefile.am:
670         * plugins/indexers/Makefile.am:
671           add makefile rules to generate gcov data and clean up
672         * tests/check/Makefile.am:
673           add a coverage target that generates an html overview
674           of coverage data
675
676 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
677
678         * tests/check/elements/fakesink.c:
679         * tests/check/elements/fakesrc.c:
680         * tests/check/elements/fdsrc.c:
681         * tests/check/elements/identity.c:
682         * tests/check/generic/sinks.c: (gst_sinks_suite):
683         * tests/check/generic/states.c:
684         * tests/check/gst/gst.c:
685         * tests/check/gst/gstabi.c:
686         * tests/check/gst/gstbin.c:
687         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
688         * tests/check/gst/gstbus.c: (gst_bus_suite):
689         * tests/check/gst/gstcaps.c: (GST_START_TEST):
690         * tests/check/gst/gstelement.c:
691         * tests/check/gst/gstevent.c: (gst_event_suite):
692         * tests/check/gst/gstghostpad.c:
693         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
694         * tests/check/gst/gstmessage.c: (gst_message_suite):
695         * tests/check/gst/gstminiobject.c:
696         * tests/check/gst/gstobject.c:
697         * tests/check/gst/gstpad.c:
698         * tests/check/gst/gstpipeline.c:
699         * tests/check/gst/gstplugin.c:
700         * tests/check/gst/gstquery.c: (gst_query_suite):
701         * tests/check/gst/gstsegment.c: (gst_segment_suite):
702         * tests/check/gst/gststructure.c:
703         * tests/check/gst/gstsystemclock.c:
704         * tests/check/gst/gsttag.c:
705         * tests/check/gst/gsttask.c: (gst_task_suite):
706         * tests/check/gst/gstutils.c:
707         * tests/check/gst/gstvalue.c:
708         * tests/check/libs/adapter.c:
709         * tests/check/libs/basesrc.c:
710         * tests/check/libs/collectpads.c:
711         * tests/check/libs/controller.c:
712         * tests/check/libs/gdp.c: (gst_dp_suite):
713         * tests/check/libs/gstnetclientclock.c:
714         * tests/check/libs/gstnettimeprovider.c:
715         * tests/check/libs/libsabi.c: (libsabi_suite):
716         * tests/check/libs/typefindhelper.c:
717         * tests/check/pipelines/cleanup.c:
718         * tests/check/pipelines/parse-launch.c:
719         * tests/check/pipelines/simple-launch-lines.c:
720         * tests/check/pipelines/stress.c: (stress_suite):
721           use the new macro
722
723 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
724
725         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
726         * libs/gst/check/gstcheck.h:
727           create a macro and function so that the simple unit test
728           case can be just one macro to create main()
729
730 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
731
732         * gst/gstbin.c: (gst_bin_restore_thyself):
733         * gst/gstxml.c: (gst_xml_make_element):
734           Fix deserialisation from XML. Set parent manually
735           instead of using gst_bin_add(), since gst_bin_add()
736           will unlink all pads of the element being added.
737           Fixes #341667.
738
739 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
740
741         Patch by: Peter Kjellerstedt <pkj at axis com>
742
743         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
744           Fix missing g_strdup() and double free when using the
745           --gst-plugin-load command line option (#346097).
746
747 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
748
749         * gst/gstinfo.c:
750           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
751
752         * libs/gst/net/gstnetclientclock.c:
753         * libs/gst/net/gstnettimeprovider.c:
754           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
755
756 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
757
758         * docs/manual/advanced-dataaccess.xml:
759           Fix buffer probe example compilation in
760           ADM (#345708).
761         
762 2006-06-22  Edward Hervey  <edward@fluendo.com>
763
764         * gst/gstelement.c: (gst_element_pads_activate):
765         We need to deactivate src pads first and then sink pads.
766         The reason is the src pads might be blocking while holding the streaming
767         lock, so we need to deactivate them first so that deactivating the sink
768         pads doesn't block (since it will require the streaming lock).
769
770 2006-06-22  Wim Taymans  <wim@fluendo.com>
771
772         * libs/gst/base/gstbasetransform.c:
773         (gst_base_transform_buffer_alloc):
774         Forgot to remove two unneeded unrefs.
775         Simplify a check _is_equal allready checks the obvious case.
776
777 2006-06-22  Wim Taymans  <wim@fluendo.com>
778
779         * docs/design/part-block.txt:
780         Some docs about what pad_block should do.
781
782 2006-06-22  Wim Taymans  <wim@fluendo.com>
783
784         * gst/gstcaps.c: (gst_caps_replace):
785         Fix crasher when passed NULL. Doc clarification.
786         Optimize for the trivial case.
787
788         * gst/gstpipeline.c: (gst_pipeline_change_state):
789         Small cleanups.
790
791         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
792         Small documentation cleanup.
793
794         * libs/gst/base/gstbasetransform.c:
795         (gst_base_transform_buffer_alloc):
796         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
797         is what we need and it avoids a whole lot of redundant 
798         refcount operations.
799
800 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
801
802         Patch by: Philip Jägenstedt  <philip at lysator liu se>
803
804         * docs/manual/advanced-dataaccess.xml:
805           Fix 'Embedding static elements' section to use
806           GST_PLUGIN_DEFINE_STATIC (#345607).
807
808 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
809
810         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
811           Attempt to 'fix' spuriously failing test case: it seems like the
812           timeout of half a second is simply too small when the system is under
813           load otherwise, and the timeout doesn't really seem to serve any
814           particular purpose here. Give the pipeline a few seconds to preroll
815           first, and then give it another half a second to go from PAUSED to
816           PLAYING and marshal the message into the main thread.
817
818 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
819
820         * tools/gst-feedback-m.m:
821           Don't only use unversioned tools, try versioned tools as well
822           (#345086).
823
824 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
825
826         * gst/gstbus.c: (gst_bus_class_init):
827           Fix some typos, make docs more explicit.
828
829 2006-06-20  Wim Taymans  <wim@fluendo.com>
830
831         * tests/check/gst/gstghostpad.c: (block_callback),
832         (GST_START_TEST), (gst_ghost_pad_suite):
833         Added some more ghostpad tests, mainly blocking
834         and probes.
835
836 2006-06-16  Wim Taymans  <wim@fluendo.com>
837
838         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
839         (gst_file_sink_close_file), (gst_file_sink_do_seek),
840         (gst_file_sink_event), (gst_file_sink_render):
841         * plugins/elements/gstfilesink.h:
842         Check if we can seek in the file instead of assuming
843         we always can. Post an error when we are asked to seek in a
844         non-seekable file (like a fifo). Fixes #343312.
845         Some cleanups.
846
847 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
848
849         * tools/gst-launch.1.in:
850           Un-garble (fourcc) bit in filtered caps section.
851
852 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
853
854         * docs/manual/advanced-autoplugging.xml:
855         * docs/manual/basics-helloworld.xml:
856         * docs/manual/highlevel-components.xml:
857           Don't leak bus reference in sample code.
858
859 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
860
861         * autogen.sh:
862           Add default for new --enable-plugin-docs switch.
863
864         * configure.ac:
865           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
866           Fixes #344039.
867
868         * docs/Makefile.am:
869           Use new ENABLE_PLUGIN_DOCS conditional.
870
871 2006-06-14  Wim Taymans  <wim@fluendo.com>
872
873         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
874         Make it clear with a FIXME and a real define what the #if 0
875         previously disabled.
876
877 2006-06-14  Wim Taymans  <wim@fluendo.com>
878
879         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
880         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
881         * libs/gst/base/gstbasetransform.c:
882         (gst_base_transform_sink_eventfunc):
883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
884         Don't randomly and silently reset a segment when the format 
885         changes as this is a bug somewhere upstream. Fixes #330379.
886
887 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
888
889         Patch by: Wouter Paesen  <wouter at kangaroot net>
890
891         * libs/gst/controller/gstcontroller.c:
892         (gst_controlled_property_new):
893           Fix controlling of float properties (#344849).
894
895         * tests/check/libs/controller.c:
896         (gst_test_mono_source_get_property),
897         (gst_test_mono_source_set_property),
898         (gst_test_mono_source_class_init), (GST_START_TEST):
899           While we're at it, add some float stuff to unit test.
900
901 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
902
903         * docs/README:
904         * docs/images/gdp-header.svg:
905           add a gdp image
906         * docs/libs/Makefile.am:
907         * docs/libs/gdp-header.png:
908         * libs/gst/dataprotocol/dataprotocol.c:
909           add it to the API docs
910         * docs/manual/intro-motivation.xml:
911           fix typo
912
913 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
914
915         * gst/gst.c: (scan_and_update_registry), (init_post):
916           If the fork()'ed child process can't write the updated registry cache
917           file to disk for some reason, make it exit with a failure exit code,
918           so that the parent can then re-scan the plugins itself and update the
919           registry structures in memory and work with that (rather than failing
920           when creating elements because seemingly no plugins are available).
921           Refactor registry scanning code into separate function for this and
922           also separate fork() and non-fork() code paths. Fixes #344748.
923
924 2006-06-13  Wim Taymans  <wim@fluendo.com>
925
926         * docs/manual/advanced-dataaccess.xml:
927         Fix wrong PluginDesc. Fixes #344755.
928
929 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
930
931         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
932           Fix silly bug that prevented us from creating
933           ~/.gstreamer-0.10 and writing the registry in one
934           go (the first call to g_mkstemp() would overwrite the
935           placeholder in the template string, so the second call
936           to g_mkstemp() after creating the missing directory
937           would then error out with 'invalid argument').
938
939 2006-06-13  Edward Hervey  <edward@fluendo.com>
940
941         * gst/gst.c: (init_post):
942         Free string.
943
944 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
945
946         * gst/glib-compat-private.h:
947         * gst/glib-compat.c:
948         * gst/glib-compat.h:
949         * gst/gstvalue.c: (gst_value_serialize_flags):
950           remove GLib 2.6 compatibility code
951
952 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
953
954         * gst/parse/Makefile.am:
955           Fix build with 'make -j N' even more (#340016).
956
957 2006-06-12  Wim Taymans  <wim@fluendo.com>
958
959         * docs/gst/gstreamer-sections.txt:
960         Fix docs.
961
962 2006-06-12  Wim Taymans  <wim@fluendo.com>
963
964         * gst/gstsegment.c: (gst_segment_set_duration),
965         (gst_segment_set_last_stop), (gst_segment_set_seek),
966         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
967         (gst_segment_to_running_time), (gst_segment_clip):
968         Use G_UNLIKELY to help the compiler a bit.
969
970 2006-06-12  Wim Taymans  <wim@fluendo.com>
971
972         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
973
974         * gst/gstevent.c: (gst_event_get_type):
975         * gst/gstmessage.c:
976         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
977         (gst_pad_push):
978         constify quark registration strings. Fixes #344115
979         Avoid unneeded type checking is _pad_push() by internally
980         calling gst_pad_chain_unchecked().
981
982 2006-06-12  Wim Taymans  <wim@fluendo.com>
983
984         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
985         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
986         (gst_subbuffer_finalize), (gst_buffer_create_sub),
987         (gst_buffer_is_span_fast), (gst_buffer_span):
988         Init _type for consistency.
989         Use _FLAGS macro to avoid type check.
990         Avoid unneeded type checks in subbufer code.
991
992 2006-06-12  Wim Taymans  <wim@fluendo.com>
993
994         * gst/gst.c: (gst_debug_help):
995         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
996         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
997         (gst_plugin_feature_list_free):
998         * gst/gstregistry.c: (gst_registry_add_plugin),
999         (gst_registry_add_feature), (gst_registry_plugin_filter),
1000         (gst_registry_feature_filter), (gst_registry_find_plugin),
1001         (gst_registry_find_feature), (gst_registry_get_plugin_list),
1002         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1003         * gst/gstregistryxml.c: (load_feature),
1004         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1005         * gst/gstminiobject.c: (gst_mini_object_unref),
1006         (gst_mini_object_replace), (gst_value_mini_object_free),
1007         (gst_value_mini_object_copy):
1008         Use _CAST macros to avoid unneeded type checking.
1009         Added some more G_UNLIKELY.
1010
1011 2006-06-12  Wim Taymans  <wim@fluendo.com>
1012
1013         * gst/gstbuffer.h:
1014         Avoid unneeded type checking.
1015         API: GST_BUFFER_IS_DISCONT
1016
1017         * gst/gstminiobject.h:
1018         Avoid type check in flag accessor.
1019
1020         * gst/gstelementfactory.h:
1021         * gst/gstplugin.h:
1022         * gst/gstpluginfeature.h:
1023         Add _CAST macros.
1024         API: GST_ELEMENT_FACTORY_CAST
1025         API: GST_PLUGIN_CAST
1026         API: GST_PLUGIN_FEATURE_CAST
1027
1028 2006-06-12  Wim Taymans  <wim@fluendo.com>
1029
1030         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1031         (gst_object_unref):
1032         Add G_UNLIKELY in type registration.
1033         Avoid type check in _ref/_unref since that is also
1034         done in glib.
1035
1036 2006-06-12  Wim Taymans  <wim@fluendo.com>
1037
1038         * gst/gsterror.c: (gst_g_error_get_type):
1039         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1040         (gst_static_pad_template_get_type):
1041         * gst/gsttaglist.c: (gst_tag_list_get_type):
1042         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1043         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1044         * gst/gsturi.c: (gst_uri_handler_get_type):
1045         * gst/gstvalue.c: (gst_date_get_type):
1046         * gst/gstxml.c: (gst_xml_get_type):
1047         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1048         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1049         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1050         Add G_UNLIKELY in type registration.
1051
1052 2006-06-12  Wim Taymans  <wim@fluendo.com>
1053
1054         * tools/gst-inspect.c: (print_signal_info):
1055         Properly print enum values.
1056
1057 2006-06-12  Wim Taymans  <wim@fluendo.com>
1058
1059         * gst/gstinfo.c: (gst_debug_set_active),
1060         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1061         * gst/gstinfo.h:
1062         Add some G_[UN]LIKELY.
1063         Maintain __gst_debug_min to avoid formatting the arguments of
1064         debug messages that will be dropped anyway to avoid a lot of 
1065         overhead from the debugging system.
1066
1067 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1068
1069         * po/POTFILES.in:
1070         * po/POTFILES.skip:
1071           add missing files containing translatable strings, tell intltool about
1072           one exception
1073
1074 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1075
1076         * tests/check/libs/.cvsignore:
1077         add test-binary to ignore list
1078
1079 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
1080
1081         * docs/libs/gstreamer-libs-docs.sgml:
1082         reorder (put dp into a chapter) and indent
1083
1084 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1085
1086         * configure.ac:
1087           back to HEAD
1088
1089 === release 0.10.8 ===
1090
1091 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
1092
1093         * configure.ac:
1094           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
1095
1096 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1097
1098         * gst/gst.c: (init_post):
1099           move pid declaration to declaration block
1100
1101 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1102
1103         * gst/gst.c: (init_post):
1104           use _exit() instead of exit() in our forked child; this ensures
1105           that none of the registered exit handlers from whatever is using
1106           GStreamer get executed.  This fixes gnome-mixer-applet failing
1107           to load, because ORBit would shut down.
1108           Spotted by: Edward Hervey  <edward@fluendo.com>
1109           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
1110           Fixes #344474
1111
1112 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
1113
1114         * configure.ac:
1115           back to TRUNK
1116
1117 === release 0.10.7 ===
1118
1119 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
1120
1121         * configure.ac:
1122           releasing 0.10.7, "Soepeke, ik zie ou"
1123
1124 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
1125
1126         * configure.ac:
1127         * po/af.po:
1128         * po/az.po:
1129         * po/bg.po:
1130         * po/ca.po:
1131         * po/cs.po:
1132         * po/de.po:
1133         * po/en_GB.po:
1134         * po/fr.po:
1135         * po/it.po:
1136         * po/nb.po:
1137         * po/nl.po:
1138         * po/ru.po:
1139         * po/sq.po:
1140         * po/sr.po:
1141         * po/sv.po:
1142         * po/tr.po:
1143         * po/uk.po:
1144         * po/vi.po:
1145         * po/zh_CN.po:
1146         * po/zh_TW.po:
1147         * win32/common/config.h:
1148           0.10.6.2 prerelease
1149
1150 2006-06-07  Wim Taymans  <wim@fluendo.com>
1151
1152         * gst/gstindex.c: (gst_index_gtype_resolver):
1153         * tools/gst-xmlinspect.c: (print_plugin_info):
1154         Fix leak spotted by coverity checker. Fixes #343827
1155         Fix another other leak found by paolo borelli.
1156
1157 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1158
1159         * libs/gst/dataprotocol/dataprotocol.c:
1160         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1161         (gst_dp_version_get_type), (gst_dp_init),
1162         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
1163         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
1164         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
1165         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
1166         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
1167         (gst_dp_packetizer_free):
1168         * libs/gst/dataprotocol/dataprotocol.h:
1169           API: add a GstDPPacketizer object, and create/free functions
1170           API: add GstDPVersion enum
1171           Add 1.0 event function that uses the string serialization
1172           Serialize more useful buffer flags
1173           Fixes #343988
1174
1175 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1176
1177         * tests/check/Makefile.am:
1178         * tests/check/gst/gstabi.c:
1179         * tests/check/gst/struct_ppc64.h:
1180         * tests/check/libs/libsabi.c:
1181         * tests/check/libs/struct_ppc64.h:
1182           add ppc64 structure sizes
1183
1184 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1185
1186         * tests/check/Makefile.am:
1187         * tests/check/gst/gstabi.c:
1188         * tests/check/gst/struct_x86_64.h:
1189         * tests/check/libs/libsabi.c:
1190         * tests/check/libs/struct_x86_64.h:
1191           generate and add structure size lists for x86_64
1192
1193 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
1194
1195         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
1196         * libs/gst/check/gstcheck.h:
1197           factor out the method from tests that checks size of structures,
1198           and add code to generate the header containing these sizes
1199         * tests/check/gst/gstabi.c: (GST_START_TEST):
1200         * tests/check/gst/struct_i386.h:
1201         * tests/check/libs/libsabi.c: (GST_START_TEST):
1202         * tests/check/libs/struct_i386.h:
1203           use it
1204
1205 2006-06-06  Michael Smith  <msmith@fluendo.com>
1206
1207         * gst/gstsegment.h:
1208           Don't use c++-style comments, fixes #343929
1209
1210 2006-06-05  Edward Hervey  <edward@fluendo.com>
1211
1212         * gst/gst.c:
1213         plugin_paths is not used if we build without registry support.
1214
1215         * gst/gstsegment.c: (gst_segment_copy): 
1216         _copy() was always returning NULL...
1217
1218 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1219
1220         * libs/gst/dataprotocol/dataprotocol.c:
1221         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1222         (gst_dp_packet_from_event):
1223           factor out CRC code
1224
1225 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1226
1227         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
1228           make sure we unset caps
1229
1230 2006-06-02  Michael Smith  <msmith@fluendo.com>
1231
1232         * libs/gst/check/gstcheck.c: (gst_check_init),
1233         (gst_check_chain_func):
1234         * libs/gst/check/gstcheck.h:
1235           Add a cond/mutex to the check support lib, signal this whenever we
1236           add to the buffers list. This will allow tests to not busy-wait on
1237           the buffer-list.
1238
1239 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1240
1241         * libs/gst/dataprotocol/dataprotocol.c:
1242         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
1243         (gst_dp_packet_from_event):
1244           factor out some common header init code
1245
1246 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1247
1248         * docs/libs/gstreamer-libs-sections.txt:
1249         * docs/libs/tmpl/gstdataprotocol.sgml:
1250         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
1251         * libs/gst/dataprotocol/dataprotocol.h:
1252           API: make gst_dp_crc() public
1253
1254 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
1255
1256         * plugins/indexers/gstindexers.c: (plugin_init):
1257         conditionally register fileindexer (fixes #343598)
1258
1259 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
1260
1261         * gst/gsttagsetter.h:
1262         Can't cast ifaces to a class
1263
1264         * libs/gst/net/gstnetclientclock.h:
1265         * libs/gst/net/gstnettimeprovider.h:
1266         * plugins/elements/gstfakesink.h:
1267         * plugins/elements/gstfakesrc.h:
1268         * plugins/elements/gstfdsink.h:
1269         * plugins/elements/gstfdsrc.h:
1270         * plugins/elements/gstfilesink.h:
1271         * plugins/elements/gstfilesrc.h:
1272         * plugins/elements/gstidentity.h:
1273         * plugins/elements/gstqueue.h:
1274         * plugins/elements/gsttee.h:
1275         * plugins/indexers/gstfileindex.c:
1276         * plugins/indexers/gstmemindex.c:
1277         * tests/old/examples/plugins/example.h:
1278         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
1279
1280 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1281
1282         * libs/gst/dataprotocol/dataprotocol.c:
1283         (gst_dp_header_from_buffer):
1284           make sure we zero the whole ABI-compatible area
1285
1286 2006-06-01  Wim Taymans  <wim@fluendo.com>
1287
1288         Patch by: Alessandro Decina <alessandro at nnva dot org>
1289
1290         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
1291         Make sure the EOS flag is cleared from pads after a flush
1292         or stop. Fixes #343538.
1293
1294         * tests/check/libs/collectpads.c: (GST_START_TEST),
1295         (gst_collect_pads_suite):
1296         Added test for collectpads reusage after EOS.
1297
1298 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
1299
1300         * gst/gst.c:
1301          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
1302         * win32/common/libgstbase.def:
1303          export gst_collect_pads_set_flushing
1304         * win32/common/libgstreamer.def:
1305          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
1306          gst_value_fraction_multiply
1307         * win32/vs6/gst_inspect.dsp:
1308          add a link to intl.lib
1309
1310 2006-05-30  Wim Taymans  <wim@fluendo.com>
1311
1312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1313         (gst_collect_pads_chain):
1314         Handle the case where a pad is removed from the collection
1315         that could cause the other pads to become collectable.
1316
1317 2006-05-30  Wim Taymans  <wim@fluendo.com>
1318
1319         * gst/gstelement.c:
1320         Clarify the use of _release_request_pad() and
1321         _get_request_pad() a bit better.
1322
1323         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
1324         (gst_adapter_take_buffer):
1325         Fix some doc and comment typos.
1326
1327 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
1328
1329         * docs/gst/gstreamer-sections.txt:
1330         * docs/libs/gstreamer-libs-sections.txt:
1331           add declared symbols
1332
1333 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
1334
1335         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
1336         Add debug that can be enabled using a #define at the top of the file,
1337         for dumping stats about how late/early we were when waking up from
1338         waiting on the clock.
1339
1340 2006-05-30  Wim Taymans  <wim@fluendo.com>
1341
1342         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
1343         When rebuilding the pad list, don't leak the previous list.
1344
1345 2006-05-30  Wim Taymans  <wim@fluendo.com>
1346
1347         Patch by: Lutz Mueller <lutz at topfrose dot de>
1348
1349         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1350         (gst_base_src_get_query_types), (gst_base_src_update_length):
1351         Publish supported query types.
1352         Update last_stop field in get_range mode so the position
1353         query works. Fixes #342321.
1354
1355 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
1356
1357         * docs/gst/gstreamer-sections.txt:
1358         * gst/gsttaglist.c: (_gst_tag_initialize):
1359         * gst/gsttaglist.h:
1360           API: add GST_TAG_PREVIEW_IMAGE (#343341).
1361
1362 2006-05-30  Wim Taymans  <wim@fluendo.com>
1363
1364         Patch by: Alessandro Decina <alessandro at nnva dot org>
1365
1366         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
1367         Unlock mutex when removing an unknown pad.
1368         Fixes #343334.
1369
1370         * tests/check/Makefile.am:
1371         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
1372         (push_event), (setup), (teardown), (GST_START_TEST),
1373         (gst_collect_pads_suite), (main):
1374         Added collecpads check, disabled for now as check crashes for
1375         some reason.
1376
1377 2006-05-29  Wim Taymans  <wim@fluendo.com>
1378
1379         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
1380         Don't leak pads lists.
1381
1382 2006-05-29  Wim Taymans  <wim@fluendo.com>
1383
1384         * docs/libs/gstreamer-libs-sections.txt:
1385         * libs/gst/base/gstcollectpads.c:
1386         (gst_collect_pads_set_flushing_unlocked),
1387         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1388         (gst_collect_pads_stop):
1389         * libs/gst/base/gstcollectpads.h:
1390         API: gst_collect_pads_set_flushing()
1391         Added api to set the pads to flushing, useful for seeking
1392         code in elements using collectpads.
1393         Clear segment when receiving a flush.
1394
1395 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
1396
1397         * gst/gst.c: (add_path_func), (init_post):
1398           Don't scan registry paths passed via --gst-plugin-path immediately
1399           (will crash, because absolutely nothing is set up and no types are
1400           registered etc.); do this later in init_post(). Fixes #343057.
1401
1402 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1403
1404         * gst/gst.c: (init_post):
1405           if we have fork, fork while reading/rebuilding the registry
1406           so the parent doesn't take the hit of having all plugins loaded
1407           in memory.  Fixes #342777.
1408         * configure.ac:
1409           Check if we have fork()
1410         * win32/common/config.h.in:
1411           no fork() on win32
1412
1413 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
1414
1415         * plugins/elements/gstelements.c:
1416         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1417         (gst_file_src_init), (gst_file_src_set_property),
1418         (gst_file_src_get_property), (gst_file_src_start):
1419         * plugins/elements/gstfilesrc.h:
1420           API: GstFileSrc::use-mmap
1421
1422         Add a use-mmap property to enable easier testing of all code paths.
1423         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
1424         in the absence of gnomevfssrc. (Closes #340501)
1425
1426 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1427
1428         * tools/gst-inspect.c:
1429         Add missing include, removes warning of ngettext not being defined on
1430         some arches.
1431
1432 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
1433
1434         * gst/gstvalue.c: (gst_value_deserialize_fraction):
1435         Handle NULL input and output pointers silently as a failed conversion,
1436         rather than g_warnings.
1437
1438 2006-05-25  Wim Taymans  <wim@fluendo.com>
1439
1440         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
1441         Initialize variable before using. Fixes #342820.
1442
1443 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
1444
1445         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
1446           Fix off-by-one bug that would only allow peeks of N-1 bytes
1447           from the start even if the buffer to typefind on contains
1448           in fact N bytes of data (makes vorbis typefinding from a
1449           vorbis identification header buffer work).
1450
1451         * tests/check/Makefile.am:
1452         * tests/check/libs/.cvsignore:
1453         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
1454         (gst_typefindhelper_suite), (main), (foobar_typefind),
1455         (plugin_init):
1456           Add very basic unit test for gst_type_find_helper_for_buffer()
1457           that checks for the problem fixed above.
1458
1459 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1460
1461         * tools/gst-inspect.c: (print_interfaces),
1462         (print_element_properties_info), (print_element_list), (main):
1463           add more translatable strings
1464
1465 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
1466
1467         Patch by: Julien Moutte  <julien at moutte net>
1468
1469         * docs/gst/gstreamer-sections.txt:
1470           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
1471           
1472         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
1473         (gst_fake_sink_preroll):
1474         * plugins/elements/gstfakesink.h:
1475           API: Add new GstFakeSink::preroll-handoff signal (#337100).
1476
1477 2006-05-23  Wim Taymans  <wim@fluendo.com>
1478
1479         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
1480         * gst/gstpad.h:
1481         Added _CUSTOM error and success GstFlowReturn that can be
1482         used be elements internally. 
1483         Added macro to check for SUCCESS flowreturns.
1484         API: GST_FLOW_CUSTOM_SUCCESS
1485         API: GST_FLOW_CUSTOM_ERROR
1486         API: GST_FLOW_IS_SUCCESS
1487
1488         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
1489         Added check for GstFlowReturn sanity.
1490
1491 2006-05-23  Wim Taymans  <wim@fluendo.com>
1492
1493         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
1494
1495         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
1496         (gst_collect_pads_event):
1497         clear/reset segment info in FLUSH_STOP.
1498         Fixes #336929.
1499
1500 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
1501
1502         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
1503         (gst_collect_pads_check_collected):
1504         Flush queued buffer on _stop(), fixes playing again (#342454)
1505
1506 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1507
1508         * tests/check/gst/gststructure.c: (GST_START_TEST),
1509         (gst_structure_suite):
1510           add a test for a complete structure
1511
1512 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1513
1514         * docs/faq/developing.xml:
1515         * docs/faq/faq.xml:
1516         * docs/faq/troubleshooting.xml:
1517         * docs/faq/using.xml:
1518           Some minor FAQ updates that won't change the fact that
1519           our FAQ is badly structured, full of information hardly
1520           anyone new to GStreamer needs to know and lacking lots
1521           of information people constantly ask for.
1522           
1523 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
1524
1525         * gst/gstpad.c: (gst_pad_set_caps):
1526           Short-circuit gst_pad_set_caps if setting the existing
1527           caps pointer again, and avoid printing debug and 
1528           reffing/unreffing the caps.
1529
1530         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1531           There's actually no need to set the caps before pushing -
1532           the acceptcaps method will handle it anyway.
1533
1534 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
1535
1536         * docs/gst/gstreamer-sections.txt:
1537         * win32/common/libgstreamer.def:
1538         * gst/gstutils.c: (gst_element_seek_simple):
1539         * gst/gstutils.h:
1540           API: add gst_element_seek_simple() (#342238).
1541
1542 2006-05-18  Edward Hervey  <edward@fluendo.com>
1543
1544         * gst/gsttypefind.c: (gst_type_find_get_type):
1545         * gst/gsttypefind.h:
1546         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
1547         registered for GstTypeFind pointers. This allows wrapping the structure
1548         in bindings (i.e. gst-python).
1549
1550 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1551
1552         * gst/gsttagsetter.c:
1553           Docs additions and fixes (see #339918).
1554
1555 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
1556
1557         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1558         The caps intersection algorithm can produce multiple copies of the
1559         caps. Until that is fixed, we need to simplify the result to be
1560         sure whether the allowed caps are fixed or not.
1561
1562         * plugins/elements/gstqueue.c: (gst_queue_init),
1563         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
1564         (gst_queue_push_one):
1565         Proxied buffer alloc should not set the caps on the source pad.
1566         When pushing buffers, we always accept the caps change that triggers.
1567         This prevents negotiation errors caused by caps changing mid-stream 
1568         and then being refused on our source pad (because upstream is now
1569         refusing those caps).
1570
1571 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
1572
1573         * tests/examples/helloworld/helloworld.c: (main):
1574           Must plug audioconvert and audioresample between decoder
1575           and audio sink.
1576
1577 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
1578
1579         * gst/gstregistryxml.c: (read_string), (load_pad_template),
1580         (load_feature), (load_plugin):
1581         Allow empty strings for some of the plugin fields so we don't 
1582         drop valid plugin entries that were written out correctly
1583         (Fixes #341479)
1584
1585 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
1586         
1587         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1588           Use g_remove and g_rename instead of remove and rename that don't 
1589           handle utf8 characters. rename was failing for users who had specific
1590           characters in their name then the registry was built at each 
1591           gstreamer init.
1592         * win32/vs6/gst_inspect.dsp:
1593         * win32/vs6/gst_launch.dsp:
1594         * win32/vs6/libgstbase.dsp:
1595         * win32/vs6/libgstcoreelements.dsp:
1596         * win32/vs6/libgstreamer.dsp:
1597           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
1598           build of libgstreamer and clean unused libraries in projects link 
1599           settings.
1600
1601 2006-05-17  Edward Hervey  <edward@fluendo.com>
1602
1603         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1604         The queue is not responsible for pushing an EOS when receiving a fatal
1605         flow error. It's up to the real element driving the pipeline to do that.
1606
1607 2006-05-16  Edward Hervey  <edward@fluendo.com>
1608
1609         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1610         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
1611         buffer returned a fatal error. It should just send an EOS and stop
1612         its task.
1613         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
1614         when pushing buffers on the queue and will be able to handle the event.
1615
1616 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         * docs/manual/basics-bins.xml:
1619         * docs/manual/basics-init.xml:
1620           Fix typos and minor errors in sample code (#341856).
1621
1622 2006-05-16  Wim Taymans  <wim@fluendo.com>
1623
1624         * docs/design/part-qos.txt:
1625         Fix indexes in formulas to make more sense.
1626
1627 2006-05-15  Wim Taymans  <wim@fluendo.com>
1628
1629         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
1630         Don't report POSITION based on clock time if sync is
1631         disabled in a sink.
1632
1633 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
1634
1635         * gst/gstobject.h:
1636           Add cast to make compiler happy - refcount variable was a gint
1637           in GstObject but is a guint in GObject and g_atomic_int_get()
1638           wants a gint *.
1639
1640 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
1641
1642         * gst/parse/Makefile.am:
1643           chain commands using &&, which also makes parallel make work
1644
1645 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
1646
1647         * docs/gst/gstreamer-sections.txt:
1648         * gst/gstevent.c:
1649         * gst/gstevent.h:
1650         * gst/gstmessage.h:
1651           Minor docs fixes.
1652
1653 === release 0.10.6 ===
1654
1655 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
1656
1657         * configure.ac:
1658           releasing 0.10.6, "Take the cannoli"
1659
1660 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
1661
1662         * tools/gst-launch.c: (print_tag):
1663           Fix use of uninitialized variable in the hypothetical
1664           case that some broken plugin creates a GST_TAG_IMAGE
1665           tag containing a NULL buffer (#341667).
1666
1667 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
1668
1669         * tools/gst-launch.c: (print_tag):
1670           Print something more intelligible for image tags when
1671           using the -t switch (#341556).
1672
1673 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1674
1675         * Makefile.am:
1676           updates for win32
1677         * configure.ac:
1678           define GST_MAJORMINOR so we have it available in win32/common/config.h
1679           Possibly remove it from our Makefile.am files later
1680         * win32/common/config.h:
1681         * win32/common/config.h.in:
1682           added GST_MAJORMINOR
1683         * win32/common/gstenumtypes.c: (register_gst_resource_error):
1684         * win32/common/gstversion.h:
1685           updated
1686
1687 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
1688
1689         * win32/MANIFEST:
1690           Update win32 files listing.
1691         * win32/common/gstversion.h:
1692           Add GST_MAJORMINOR definition.
1693         * win32/common/libgstreamer.def:
1694           Add new exported functions.
1695           
1696 2006-05-12  Michael Smith  <msmith@fluendo.com>
1697
1698         * gst/gstplugin.c: (gst_plugin_load_file):
1699           If an so file has no plugin entry point, unload the module.
1700
1701 2006-05-11  Wim Taymans  <wim@fluendo.com>
1702
1703         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
1704         (gst_queue_set_property):
1705         Don't forget to signal the _chain or _loop function 
1706         when the queue size or thresholds change since that might
1707         cause them to make progres again.
1708
1709 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
1710
1711         * gst/gstclock.c: (gst_clock_class_init):
1712         * gst/gstindex.c: (gst_index_class_init):
1713         * gst/gstobject.c: (gst_object_class_init):
1714         * gst/gstpad.c: (gst_pad_class_init):
1715         * gst/gstpipeline.c: (gst_pipeline_class_init):
1716         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1717         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1718         * libs/gst/base/gstbasetransform.c:
1719         (gst_base_transform_class_init):
1720         * libs/gst/net/gstnetclientclock.c:
1721         (gst_net_client_clock_class_init):
1722         * libs/gst/net/gstnettimeprovider.c:
1723         (gst_net_time_provider_class_init):
1724         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1725         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1726         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1727         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1728         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1729         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1730         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1731         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1732         * plugins/elements/gsttee.c: (gst_tee_class_init):
1733         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1734         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1735           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
1736
1737 2006-05-11  Wim Taymans  <wim@fluendo.com>
1738
1739         * gst/gstbuffer.c: (_gst_buffer_initialize):
1740         Register subbufer along with the buffer type so that
1741         it does not accidentally gets registered from N
1742         different streaming threads in a non threadsafe way.
1743
1744 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1745
1746         * gst/gstbuffer.h:
1747         * gst/gstevent.h:
1748         * gst/gstmessage.h:
1749           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
1750           gst_event_ref() and gst_message_ref() functions again
1751           (ugly hack, please do fix if there's a better way besides
1752           overrides.txt, which doesn't seem to work).
1753
1754 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1755
1756         * libs/gst/check/gstcheck.h:
1757           add an assert for setting state to avoid lots of repetitive code
1758           in the future
1759
1760 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1761
1762         * gst/gstvalue.c: (gst_value_serialize_flags):
1763           fix a leak if no flags are set
1764         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1765           fix leak in tests
1766
1767 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
1768
1769         * docs/manual/basics-pads.xml:
1770           Expand a bit on caps and filtered links and update
1771           examples that were still using the no longer existing
1772           gst_pad_link_filtered() (#338206).
1773
1774 2006-05-10  Wim Taymans  <wim@fluendo.com>
1775
1776         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
1777         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
1778         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
1779         (gst_collect_pads_stop):
1780         * libs/gst/base/gstcollectpads.h:
1781         No need to call _stop in _finalize.
1782         Iterate the main pad list in _finalize.
1783         Added some more debug.
1784         Free lists and data in the right order.
1785         Also free data whem doing _remove_pad when stopped for
1786         backward compatibility protect ::started with PAD_LOCK as
1787         well.
1788
1789 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1790
1791         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
1792         (gst_structure_parse_value):
1793           add some comments
1794           rename a method so that it actually says what it does better
1795
1796 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
1797
1798         * gst/gstevent.c: (_gst_event_initialize):
1799         * gst/gstformat.c: (_gst_format_initialize):
1800           make sure some essential types used by events are registered
1801           as part of gst_init()
1802         * gst/gstvalue.c: (gst_value_serialize_flags):
1803           if no flags are set, serialize them to a value that represents NONE
1804           so that deserializing them works
1805         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1806           add tests for serialization and deserialization of flags
1807
1808 2006-05-10  Wim Taymans  <wim@fluendo.com>
1809
1810         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
1811         (gst_collect_pads_collect_range), (gst_collect_pads_available),
1812         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
1813         (gst_collect_pads_event), (gst_collect_pads_chain):
1814         Update docs.
1815         Better debug info.
1816         Catch and return errors from the collect function
1817         Refuse data on eos pads.
1818
1819 2006-05-10  Edward Hervey  <edward@fluendo.com>
1820
1821         * gst/gstinterface.h:
1822         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
1823         GInterface type checking.
1824         They were previously using non-defined macros.
1825
1826 2006-05-09  Wim Taymans  <wim@fluendo.com>
1827
1828         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
1829         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
1830         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
1831         (gst_collect_pads_start), (gst_collect_pads_stop),
1832         (gst_collect_pads_peek), (gst_collect_pads_pop),
1833         (gst_collect_pads_available), (gst_collect_pads_read),
1834         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
1835         (gst_collect_pads_is_collected), (gst_collect_pads_event),
1836         (gst_collect_pads_chain):
1837         * libs/gst/base/gstcollectpads.h:
1838         Clean up the mess that is collectpads, add comments and
1839         FIXMEs where needed.
1840         Maintain a separate pad list so we can add pads while
1841         collecting the other ones. For this we need a new separate 
1842         lock (see comics).
1843         Fix memory leak in finalize.
1844         Refactor some weird code to set/unset pad flushing flags, mark
1845         with comments.
1846         Don't crash in _available, _read, _flush when we're EOS.
1847
1848         * tests/check/libs/.cvsignore:
1849         Ignore adapter check binary.
1850
1851 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * gst/gstindex.c: (gst_index_resolver_get_type):
1854         * plugins/elements/gstfakesink.c:
1855         (gst_fake_sink_state_error_get_type):
1856         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1857         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1858         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1859           Const-ify GEnumValue arrays.
1860
1861 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1862
1863         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1864           Add test case for flags + gst_buffer_make_metadata_writable().
1865
1866 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1867
1868         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1869           gst_buffer_make_metadata_writable() should maintain the
1870           buffer flags (those that make sense at least) (see #340859).
1871
1872 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1873
1874         * tools/gst-inspect.c:
1875         * tools/gst-launch.c:
1876         * tools/gst-typefind.c:
1877         * tools/gst-xmlinspect.c:
1878         * tools/tools.h:
1879           Fix up includes: need to include stdlib.h in tools.h for exit().
1880
1881 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         * gst/gsttaglist.c: (_gst_tag_initialize):
1884         * gst/gsttaglist.h:
1885           API: add GST_TAG_IMAGE tag (#340721).
1886
1887 2006-05-08  Wim Taymans  <wim@fluendo.com>
1888
1889         * gst/gstquery.c:
1890         Added some docs for the segment query.
1891
1892 2006-05-08  Wim Taymans  <wim@fluendo.com>
1893
1894         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1895         (gst_base_src_loop), (gst_base_src_change_state):
1896         Always push non-flushing serialized events in the streaming 
1897         thread.
1898
1899 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1900
1901         * gst/gsterror.c: (_gst_stream_errors_init):
1902           Add a missing error string.
1903
1904 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
1905
1906         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1907         Add applied_rate to the debug
1908
1909         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1910         Copy applied_rate into the outgoing NEWSEGMENT event
1911
1912 2006-05-08  Wim Taymans  <wim@fluendo.com>
1913
1914         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1915
1916         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1917         (gst_base_sink_change_state):
1918         call ::unlock before taking the PREROLL_LOCK so we can safely
1919         handle elements that lock in ::render.
1920         Fixes #340174.
1921
1922 2006-05-08  Edward Hervey  <edward@fluendo.com>
1923
1924         * autogen.sh: (CONFIGURE_DEF_OPT): 
1925         Darwin's libtoolize is in fact called glibtoolize.
1926         Adding glibtoolize to the list of accepted names for libtoolize.
1927
1928 2006-05-08  Wim Taymans  <wim@fluendo.com>
1929
1930         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1931         Unify error handling, don't post an error message
1932         when a push() returns EOS but perform our normal EOS
1933         handling code. Fixes #340772.
1934
1935 2006-05-08  Wim Taymans  <wim@fluendo.com>
1936
1937         * docs/design/part-overview.txt:
1938         Make upsteam/downstream concepts more clear.
1939         Give an example of serialized/non-serialized events.
1940
1941         * docs/design/part-events.txt:
1942         * docs/design/part-streams.txt:
1943         Mention applied_rate.
1944
1945         * docs/design/part-trickmodes.txt:
1946         Mention applied rate, flesh out some more use cases.
1947
1948         * gst/gstevent.c: (gst_event_new_new_segment),
1949         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1950         (gst_event_parse_new_segment_full), (gst_event_new_tag),
1951         (gst_event_parse_tag), (gst_event_new_buffer_size),
1952         (gst_event_parse_buffer_size), (gst_event_new_qos),
1953         (gst_event_parse_qos), (gst_event_parse_seek),
1954         (gst_event_new_navigation):
1955         * gst/gstevent.h:
1956         Add applied_rate field to NEWSEGMENT event.
1957         API: gst_event_new_new_segment_full()
1958         API: gst_event_parse_new_segment_full()
1959
1960         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1961         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1962         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1963         * gst/gstsegment.h:
1964         Add applied_rate to GstSegment structure.
1965         Make calculation of stream_time and running_time more correct
1966         wrt rate/applied_rate.
1967         Add some more docs.
1968         API: GstSegment::applied_rate field
1969         API: gst_segment_set_newsegment_full();
1970
1971         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1972         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1973         * libs/gst/base/gstbasetransform.c:
1974         (gst_base_transform_sink_eventfunc),
1975         (gst_base_transform_handle_buffer):
1976         Parse and use applied_rate in the GstSegment field.
1977
1978         * tests/check/gst/gstevent.c: (GST_START_TEST):
1979         Add check for applied_rate field.
1980
1981         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1982         (gstsegments_suite):
1983         Add more checks for various GstSegment operations.
1984
1985 2006-05-08  Wim Taymans  <wim@fluendo.com>
1986
1987         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1988         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1989         (gst_base_sink_get_position), (gst_base_sink_change_state):
1990         Store the sync time of the buffer end position separatly in a
1991         new variable eos_rtime so we can properly sync the EOS event.
1992         Fixes #340697.
1993         Fix the docs for gst_base_sink_set_qos_enabled().
1994         Don't set segment start to invalid value when we receive a 
1995         non TIME newsegment.
1996         get closer to handling position reporting for negative rates 
1997         correctly.
1998
1999 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2000
2001         * gst/gstcaps.c:
2002         Docs about how to print caps for debug purposes.
2003
2004         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2005         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2006
2007 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
2008
2009         * gst/gstelement.c:
2010           use full enum names and preprend a '%' in docs strings to make recent 
2011           gtk-doc turn that into a link
2012
2013 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2014
2015         * docs/manual/basics-bins.xml:
2016         * docs/manual/basics-bus.xml:
2017         * docs/manual/basics-pads.xml:
2018           Some typo fixes, some additions, some clarifications. 
2019
2020 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2021
2022         * tools/gst-inspect.c: (main):
2023         * tools/gst-launch.c: (main):
2024         * tools/gst-run.c: (main):
2025         * tools/gst-typefind.c: (main):
2026         * tools/gst-xmlinspect.c: (main):
2027           Use the string passed to g_option_context_new() for
2028           what it's intended for - the program name is already
2029           printed elsewhere.
2030
2031 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2032
2033         * tools/Makefile.am:
2034         * tools/gst-inspect.c: (main):
2035         * tools/gst-launch.c: (main):
2036         * tools/gst-xmlinspect.c: (main):
2037         * tools/tools.h:
2038           Add back --version command line option (#340460).
2039
2040         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2041           Add --version option and use GOption for argument parsing; refactor a
2042           bit; accept directories as arguments and recurse into them; lastly,
2043           print a decent error message when things go wrong.
2044
2045 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2046
2047         * docs/manual/basics-bins.xml:
2048         Don't mention GstThread (#340611)
2049         * docs/manual/basics-elements.xml:
2050         Update link to GObject tutorial (#340607)
2051         
2052 2006-05-05  Wim Taymans  <wim@fluendo.com>
2053
2054         * gst/gstbuffer.h:
2055         * gst/gstminiobject.c:
2056         Add note about refcounting and miniobject/buffer writeability
2057         to docs. Fixes #340604
2058
2059         * gst/gstelementfactory.h:
2060         Added some explanation about @klass.
2061
2062 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2063
2064         * docs/manual/intro-motivation.xml:
2065         * docs/manual/manual.xml:
2066         Avoid CORBA & Bonobo references (#340598)
2067
2068 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2069
2070         * docs/manual/basics-bus.xml:
2071         * docs/manual/basics-pads.xml:
2072         Fix up some inaccuracies and omissions (#340609)
2073         
2074 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
2075
2076         * gst/gstghostpad.c:
2077           Small typo in docs (#340625)
2078
2079 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2080
2081         * gst/parse/Makefile.am:
2082           Make 'make -j' proof (see #340698).
2083
2084 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         * configure.ac:
2087           Require GLib-2.8 here as well.
2088
2089 2006-05-05  Wim Taymans  <wim@fluendo.com>
2090
2091         * gst/glib-compat.c:
2092         * gst/gst.c: (init_pre):
2093         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
2094         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
2095         (gst_object_dispatch_properties_changed):
2096         * gst/gstobject.h:
2097         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2098         * gst/gststructure.c: (gst_structure_set_valist):
2099         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
2100         Remove pre glib2.8 compatibility, fixes #340508
2101
2102 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2103
2104         * gst/gsttaglist.h:
2105           Mention type of tags in doc blurbs.
2106
2107 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
2108
2109         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2110         (gst_pad_configure_src), (gst_pad_push):
2111         Restore acceptcaps checking behaviour now that good plugins have
2112         been released.
2113
2114 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
2115
2116         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
2117
2118         * gst/gst.c:
2119         * gst/gstbus.c:
2120         * gst/gstclock.c:
2121         * gst/gstevent.c:
2122         * gst/gstformat.c:
2123         * gst/gstmessage.c:
2124         * gst/gstparse.c:
2125         * gst/gstquery.c:
2126         * gst/gstutils.c:
2127         * gst/parse/Makefile.am:
2128         * libs/gst/base/gstadapter.c:
2129         * libs/gst/base/gstbasesrc.c:
2130         * libs/gst/base/gstpushsrc.c:
2131         * libs/gst/base/gsttypefindhelper.c:
2132         * plugins/elements/gstfakesrc.c:
2133         * plugins/elements/gstidentity.c:
2134           Make sure gstprivate.h and/or config.h are
2135           always included first, otherwise some of our
2136           defines (like _FILE_OFFSET_BITS) might be
2137           redefined in the system headers. Fixes build
2138           on opensolaris (#340016).
2139
2140 2006-05-04  Wim Taymans  <wim@fluendo.com>
2141
2142         * docs/libs/gstreamer-libs-sections.txt:
2143         API: addition: gst_adapter_take_buffer()
2144         
2145         * libs/gst/base/gstadapter.c: (gst_adapter_push),
2146         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
2147         (gst_adapter_available_fast):
2148         * libs/gst/base/gstadapter.h:
2149         Prepare for optimizing the hell out of this hugely inefficient
2150         piece of code. 
2151         Added gst_adapter_take_buffer() so we can at least start thinking
2152         about subbuffering and merging.
2153         Added some comments.
2154
2155         * tests/check/Makefile.am:
2156         * tests/check/libs/adapter.c: (GST_START_TEST),
2157         (gst_adapter_suite), (main):
2158         Added GstAdapter check.
2159
2160 2006-05-04  Wim Taymans  <wim@fluendo.com>
2161
2162         * docs/design/part-overview.txt:
2163         Fix some typos, add blurb about buffer flags.
2164
2165 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2166
2167         * docs/libs/gstreamer-libs-sections.txt:
2168           make sure GstBaseTransformClass shows up in the docs
2169         * libs/gst/base/gstbasetransform.c:
2170         * libs/gst/base/gstbasetransform.h:
2171           move docs so gtk-doc picks it up now
2172
2173 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
2174
2175         * docs/libs/gstreamer-libs-sections.txt:
2176           add missing symbols to docs
2177
2178 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
2179
2180         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2181           back out the newsegment handling change, see #340060 for ongoing
2182           discussion
2183
2184 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
2185
2186         * tools/gst-run.c: (get_candidates), (main):
2187           Fix wrong g_file_test() usage (see glib docs for why it doesn't
2188           work); fix typo in error message. Fixes #340079.
2189
2190 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2191
2192         * common/Makefile.am:
2193         * docs/Makefile.am:
2194         * docs/faq/Makefile.am:
2195         * docs/gst/Makefile.am:
2196         * docs/libs/Makefile.am:
2197         * docs/manual/Makefile.am:
2198         * docs/plugins/Makefile.am:
2199         * docs/pwg/Makefile.am:
2200         * docs/slides/Makefile.am:
2201         * docs/upload.mak:
2202         * common/upload.mak:
2203           move upload.mak to common
2204
2205 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
2206
2207         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2208           add more asserts on refcounts
2209           do more cleanup at end of tests
2210           fix test leaks showing in FC5
2211
2212 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
2213
2214         * plugins/elements/gsttypefindelement.c:
2215         (gst_type_find_element_handle_event):
2216         reverted wrong change and reflowed code to avoid others falling into
2217         this trap
2218
2219 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2220
2221         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2222           fix changelog entry about last collectpads change,
2223           add notes about proper fix
2224
2225 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2226
2227         * gst/gst.c:
2228         * gst/gstregistry.c: (gst_registry_scan_path_level),
2229         (gst_registry_scan_path):
2230         * gst/gstregistry.h:
2231           only write out registry if it has changed, fixes #338339
2232
2233 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2234
2235         * gst/gstbin.c:
2236         * gst/gstpipeline.c:
2237         * plugins/elements/gstcapsfilter.c:
2238         * plugins/elements/gstfakesink.c:
2239         * plugins/elements/gstfakesrc.c:
2240         * plugins/elements/gstfdsink.c:
2241         * plugins/elements/gstfdsrc.c:
2242         * plugins/elements/gstfilesink.c:
2243         * plugins/elements/gstfilesrc.c:
2244         * plugins/elements/gstidentity.c:
2245         * plugins/elements/gstqueue.c:
2246         * plugins/elements/gsttee.c:
2247         * plugins/elements/gsttypefindelement.c:
2248         (gst_type_find_element_handle_event):
2249           make GstElementDetails const
2250
2251 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2252
2253         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
2254         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2255         (gst_collect_pads_is_collected), (gst_collect_pads_event):
2256           more detailed debug and formatting cleanup,
2257           forward newsegments to src-pad (so that e.g. adder not eats them)
2258
2259 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2260
2261         * gst/gstutils.c: (gst_element_link_pads):
2262           cleanup double code
2263
2264 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
2265
2266         * libs/gst/controller/gstcontroller.c:
2267         (gst_controller_sync_values):
2268           some little tuning
2269         * tests/check/libs/controller.c: (GST_START_TEST),
2270         (gst_controller_suite):
2271           a new test for live value handling
2272
2273 2006-04-28  Wim Taymans  <wim@fluendo.com>
2274
2275         * gst/gstutils.c: (push_and_ref):
2276         Added some more docs.
2277         Fix refcount issue whith gst_element_found_tags() helper 
2278         function. Fixes #338335
2279
2280         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
2281         Added testsuite for gst_element_found_tags().
2282
2283 2006-04-28  Michael Smith  <msmith@fluendo.com>
2284
2285         * gst/gstvalue.c: (gst_value_serialize_flags):
2286           Avoid NULL dereference when trying to serialize flags containing
2287           invalid values.
2288
2289 2006-04-28  Michael Smith  <msmith@fluendo.com>
2290
2291         * plugins/elements/gsttypefindelement.c:
2292         (gst_type_find_element_handle_event):
2293           If we get EOS before any data is accumulated, don't use
2294           uninitialised local variables.
2295
2296 2006-04-28  Michael Smith  <msmith@fluendo.com>
2297
2298         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2299         (gst_dp_event_from_packet):
2300           Fixes in reading/writing events over GDP (not currently used?) - 
2301           dereferencing NULL events for unknown/invalid event types, memory
2302           leak, and change g_warning to GST_WARNING.
2303
2304 2006-04-28  Wim Taymans  <wim@fluendo.com>
2305
2306         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
2307         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2308         (gst_base_sink_get_position), (gst_base_sink_change_state):
2309         When frame dropping is enabled, we should not ignore frames
2310         without a duration.
2311         Update some documentation.
2312
2313 2006-04-28  Wim Taymans  <wim@fluendo.com>
2314
2315         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2316         (gst_base_src_send_event), (gst_base_src_change_state):
2317         Documentation updates.
2318
2319 2006-04-28  Wim Taymans  <wim@fluendo.com>
2320
2321         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2322         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
2323         handle EAGAIN, EINTR and short writes correctly. Also clean
2324         up some error cases, avoid a deadlock on bad file descriptors and
2325         use GST_DEBUG_OBJECT.
2326         Fixes #339843
2327
2328 2006-04-28  Wim Taymans  <wim@fluendo.com>
2329
2330         * gst/gstvalue.c: (gst_value_serialize_buffer),
2331         (gst_value_deserialize_buffer):
2332         Don't try to serialize a GValue with a NULL buffer. 
2333         Fixes #339821.
2334
2335         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2336         Added check for serialisation of NULL buffers.
2337
2338 2006-04-28  Wim Taymans  <wim@fluendo.com>
2339
2340         * gst/gstminiobject.c: (gst_value_take_mini_object):
2341         Taking a NULL miniobject is valid, fix the case where
2342         we try to unref the NULL miniobject.
2343
2344 2006-04-28  Wim Taymans  <wim@fluendo.com>
2345
2346         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2347
2348         * gst/gstbin.c: (gst_bin_handle_message_func):
2349         Update docs.
2350         Don't leak bin refcount when a state recalc is
2351         in progress and we delay another one #339808.
2352
2353 2006-04-28  Wim Taymans  <wim@fluendo.com>
2354
2355         * docs/design/part-TODO.txt:
2356         Mention QoS as an ongoing work item.
2357
2358         * docs/design/part-buffering.txt:
2359         New doc about buffering that needs to be fleshed out
2360         at some point.
2361
2362         * docs/design/part-qos.txt:
2363         More QoS policy for decoders/demuxers/transforms
2364
2365         * docs/design/part-trickmodes.txt:
2366         Small update.
2367
2368 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2369
2370         * configure.ac:
2371           back to HEAD
2372
2373 === release 0.10.5 ===
2374
2375 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
2376
2377         * configure.ac:
2378           releasing 0.10.5, "Fogo"
2379
2380 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2381
2382         patch by: Wim Taymans
2383
2384         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
2385         (gst_pad_configure_src), (gst_pad_push):
2386         * gst/gstpipeline.c: (gst_pipeline_init):
2387           Fix internal data flow errors.  Fixes #338711.
2388
2389 2006-04-12  Wim Taymans  <wim@fluendo.com>
2390
2391         * tests/check/gst/gstelement.c: (GST_START_TEST):
2392         Don't leak the factory.
2393
2394 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2395
2396         * configure.ac:
2397         * win32/common/config.h:
2398           prerelease
2399
2400 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
2401
2402         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2403         (gst_controller_unset_all):
2404           Free allocated GstTimedValues when freeing list nodes.
2405           Should fix leaks 'make check-valgrind' complains about.
2406
2407         * win32/common/libgstcontroller.def:
2408           Add gst_controller_unset_all.
2409
2410 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
2411
2412         * docs/libs/gstreamer-libs-sections.txt:
2413         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
2414         (gst_controller_unset_all):
2415         * libs/gst/controller/gstcontroller.h:
2416         API: Added new method gst_controller_unset_all()
2417         fixed gst_controller_unset()
2418         * tests/check/libs/controller.c: (GST_START_TEST),
2419         (gst_controller_suite):
2420         Added two testcases for new and fixed method
2421
2422 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
2423
2424         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
2425           MSG_DONTWAIT is not defined on Cygwin, so work
2426           around that (fixes #317048).
2427           
2428 2006-04-11  Wim Taymans  <wim@fluendo.com>
2429
2430         * gst/gstelementfactory.c: (gst_element_register),
2431         (gst_element_factory_create), (gst_element_factory_make):
2432         Some cleanups.
2433         Fixed a FIXME.
2434         Updated docs (Fixes #131079)
2435
2436         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2437         Small cleanups.
2438
2439         * tests/check/gst/gstelement.c: (GST_START_TEST),
2440         (gst_element_suite):
2441         Added testcase for elementfactory class field.
2442
2443 2006-04-10  Wim Taymans  <wim@fluendo.com>
2444
2445         * gst/gstsegment.c:
2446         Added some more docs.
2447
2448         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
2449         (gst_base_sink_reset_qos):
2450         Calculate more accurate rate values.
2451
2452 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
2453
2454         * gst/gst_private.h:
2455           add a new #ifdef to use __declspec(dllimport) only for
2456           other modules and not for gstreamer core
2457         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
2458           use gst_guint64_to_gdouble for conversion
2459         * win32/common/libgstreamer.def:
2460           add new exported functions
2461         * win32/vs6/gst_inspect.dsp:
2462         * win32/vs6/gst_launch.dsp:
2463         * win32/vs6/libgstbase.dsp:
2464         * win32/vs6/libgstcontroller.dsp:
2465         * win32/vs6/libgstcoreelements.dsp:
2466         * win32/vs6/libgstdataprotocol.dsp:
2467         * win32/vs6/libgstnet.dsp:
2468           update project files
2469
2470 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
2471
2472         * gst/gstbuffer.c: (gst_subbuffer_class_init):
2473         * gst/gstclock.c: (gst_clock_class_init):
2474         * gst/gstelement.c: (gst_element_class_init):
2475         * gst/gstindex.c: (gst_index_class_init):
2476         * gst/gstindexfactory.c: (gst_index_factory_class_init):
2477         * gst/gstobject.c: (gst_object_class_init),
2478         (gst_signal_object_class_init):
2479         * gst/gstpad.c: (gst_pad_class_init):
2480         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
2481         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
2482         * gst/gstregistry.c: (gst_registry_class_init):
2483         * gst/gstsystemclock.c: (gst_system_clock_class_init):
2484         * gst/gsttask.c: (gst_task_class_init):
2485         * gst/gstxml.c: (gst_xml_class_init):
2486         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2487         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2488         (gst_base_src_loop):
2489         * libs/gst/controller/gstcontroller.c:/
2490         (_gst_controller_class_init):
2491         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2492         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
2493         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
2494         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2495         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2496         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2497
2498 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
2499
2500         * gst/gstpad.c: (gst_pad_link):
2501           Must set peer pads before calling the link function, otherwise
2502           a task started from a link function might get a flow-not-linked
2503           result when trying to push because the other thread where the
2504           linking happens hasn't had a chance to set the peers yet. This
2505           might happen for example when a queue gets linked to a downstream
2506           element, as queue starts a streaming task when its source pad
2507           gets linked. Happens in real life when playing back flac/musepack
2508           files in playbin (#332390).
2509           
2510 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
2511
2512         * gst/gstindex.h:
2513         * gst/gstxml.h:
2514         * libs/gst/base/gstadapter.h:
2515         * libs/gst/base/gstbasesink.h:
2516         * libs/gst/base/gstbasesrc.h:
2517         * libs/gst/base/gstbasetransform.h:
2518         * libs/gst/base/gstcollectpads.h:
2519         * libs/gst/base/gstpushsrc.h:
2520         Fix broken GObject macros
2521
2522 2006-04-07  Wim Taymans  <wim@fluendo.com>
2523
2524         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2525         Initialize start and stop times, thanks valgrind.
2526
2527 2006-04-07  Wim Taymans  <wim@fluendo.com>
2528
2529         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2530         Be a bit nicer to badly behaving upstream elements that expect
2531         us to deal with non TIME segments and timestamps (such as fakesrc
2532         in the testsuite).
2533
2534 2006-04-07  Wim Taymans  <wim@fluendo.com>
2535
2536         * gst/gstbus.c:
2537         Small documentation clarification about the signal watch.
2538
2539         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2540         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2541         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2542         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
2543         (gst_base_sink_get_position_last),
2544         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
2545         Convert and store timestamps in stream time and running time, the
2546         raw timestamps are not usefull, also document this better.
2547         Use different window sizes for good and bad QoS observations so
2548         we react to badness a little quicker.
2549         Keep track of the amount of rendered and dropped buffers.
2550         Send QoS timestamps in running time.
2551
2552         * libs/gst/base/gstbasetransform.c:
2553         (gst_base_transform_sink_eventfunc),
2554         (gst_base_transform_handle_buffer):
2555         Compare QoS timestamps against running time.
2556
2557 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2558
2559         * gst/gstpad.c:
2560           Typo fixes in docs.
2561
2562 2006-04-06  Michael Smith  <msmith@fluendo.com>
2563
2564         * gst/gstpad.c: (gst_pad_set_property):
2565           Use g_value_get_object() instead of g_value_dup_gst_object(),
2566           to avoid double-reffing the pad template (which we then sink,
2567           so this worked previously if (and only if) the pad template
2568           was floating.
2569
2570         * gst/gstpadtemplate.c: (gst_pad_template_init),
2571         (gst_pad_template_pad_created):
2572           Never return floating references to pad templates, create
2573           them as initially-sunken.
2574
2575           Document an extra function (and make this stop sinking our
2576           pad template, since that is now guaranteed to do nothing,
2577           since we created it sunken).
2578
2579         * gst/gstghostpad.c:
2580           Fix docs typo.
2581
2582 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
2583
2584         * gst/gstinfo.c: (__gst_in_valgrind):
2585           Add some newlines.
2586
2587         * plugins/elements/gsttypefindelement.c:
2588         (gst_type_find_element_chain):
2589           Don't leak buffer caps.
2590
2591 2006-04-06  Michael Smith  <msmith@fluendo.com>
2592
2593         * gst/parse/grammar.y:
2594           Fix a leak in parse-launch for any source-or-sink named element 
2595           references used.
2596
2597         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
2598           Unref the pipeline if it exists after we've failed parsing.
2599
2600 2006-04-05  Michael Smith  <msmith@fluendo.com>
2601
2602         * gst/gstpipeline.c: (gst_pipeline_init):
2603           When we create a pipeline bus, initially create it in flushing mode.
2604           Fixes leaks in at least one test, and makes a new pipeline work the
2605           same as one that has gone to READY and then back to NULL.
2606
2607         * gst/gstelement.c:
2608           Typo fix in docs.
2609
2610 2006-04-05  Michael Smith  <msmith@fluendo.com>
2611
2612         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2613           Unref a pad we reffed.
2614         * tests/check/gst/gstutils.c: (GST_START_TEST):
2615           Unref bins
2616
2617 2006-04-05  Michael Smith  <msmith@fluendo.com>
2618
2619         * gst/gstquery.c: (gst_query_set_formats),
2620         (gst_query_set_formatsv):
2621           Fix leaking GValues in queries, as shown by valgrind/testsuite.
2622
2623 2006-04-05  Michael Smith  <msmith@fluendo.com>
2624
2625         * tests/check/generic/sinks.c: (GST_START_TEST):
2626           Fix a variety of memleaks in sinks check, which are only sometimes 
2627           shown by running the tests under valgrind (weird?).
2628
2629 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
2630
2631         * docs/version.entities.in:
2632           Fix the substituted entity name after thomas' changes on the
2633           weekend.
2634
2635 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2636
2637         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
2638         VALGRIND_PRINTF
2639         
2640 2006-04-05  Andy Wingo  <wingo@pobox.com>
2641
2642         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
2643
2644         * libs/gst/base/gstbasetransform.c
2645         (gst_base_transform_sink_eventfunc): When resetting our segment on
2646         FLUSH_STOP, also update the flag saying we haven't seen a
2647         newsegment.
2648
2649 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2650
2651         Patch by: Paolo Borelli  <pborelli at katamail dot com>
2652
2653         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2654         (gst_plugin_check_license):
2655           minor clean-ups: G_DEFINE_TYPE already takes care of the
2656           parent_class stuff, no need to do it twice. Mark array of
2657           license strings as constant. (#337103)
2658           
2659 2006-04-04  Michael Smith  <msmith@fluendo.com>
2660
2661         * tools/gst-inspect.c: (print_element_list):
2662           Free the right plugin list; fixes a memory leak.
2663
2664 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2665
2666         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
2667
2668         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2669           Don't error out on empty buffers (#336945).
2670           
2671 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
2672
2673         * docs/libs/gstreamer-libs-sections.txt:
2674         * gst/gsttaglist.c:
2675         * libs/gst/base/gstbasesink.c:
2676         * libs/gst/base/gstbasesink.h:
2677         * libs/gst/base/gstbasesrc.c:
2678         * libs/gst/base/gstbasesrc.h:
2679           Documentation updates. Make BaseSink and BaseSrc docs contain the
2680           class structure so that people can actually see the prototypes for
2681           virtual functions they're supposed to be overriding.
2682
2683 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
2684
2685         * plugins/elements/gsttypefindelement.c:
2686         (gst_type_find_element_chain):
2687           More debug info; when skipping typefinding, send cached
2688           events in all cases.
2689
2690 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2691
2692         * configure.ac:
2693           use new AS_VERSION and AS_NANO macros
2694         * gst/gst-i18n-lib.h:
2695         * gst/gst.c:
2696         * gst/gsterror.c:
2697         * gst/gstversion.h.in:
2698         * win32/common/config.h:
2699         * win32/common/config.h.in:
2700           update accordingly
2701
2702 2006-03-31  Michael Smith  <msmith@fluendo.com>
2703
2704         * plugins/elements/gsttypefindelement.c:
2705         (gst_type_find_element_chain):
2706           Do not typefind content if the buffers already have caps.
2707           Neccesary for icydemux (#333657), and the right thing to do anyway.
2708
2709 2006-03-30  Wim Taymans  <wim@fluendo.com>
2710
2711         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2712         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
2713         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
2714         (gst_base_sink_record_qos_observation),
2715         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2716         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2717         (gst_base_sink_change_state):
2718         More QoS measurements as described in the design doc.
2719         Get rid of ringbuffer with observations, running average is
2720         more simple and equally good.
2721         Calculates valid proportion now.
2722         Added beginning of flood measurement.
2723
2724 2006-03-29  Wim Taymans  <wim@fluendo.com>
2725
2726         * docs/design/part-qos.txt:
2727         * gst/gstclock.c:
2728         Small documentation updates and additions.
2729
2730 2006-03-29  Wim Taymans  <wim@fluendo.com>
2731
2732         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2733         (gst_base_src_send_event), (gst_base_src_loop),
2734         (gst_base_src_change_state):
2735         Perform the EOS logic when we reach the segment stop position.
2736         Fix compilation on gcc4.1
2737
2738 2006-03-29  Wim Taymans  <wim@fluendo.com>
2739
2740         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
2741
2742         * plugins/elements/gstqueue.c: (gst_queue_init),
2743         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
2744         (gst_queue_set_property):
2745         * plugins/elements/gstqueue.h:
2746         In queue, when EOS is received, if minimum threshold > max_size -
2747         current_level, there is chance that queue blocks forever in conditional
2748         item del wait. This is because the queue is not emptied completely due
2749         to minimum threshold.  Here is another approach. Instead of setting
2750         cur_levels to max in EOS, just zero all minimum threshold levels. This
2751         should make sure that queue gives out all data. When going to READY
2752         (stop) state, just reset the original minimum threshold levels.
2753         Fixes #336336.
2754
2755 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
2756
2757         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
2758         (gst_type_find_element_handle_event),
2759         (gst_type_find_element_send_cached_events),
2760         (gst_type_find_element_change_state):
2761         * plugins/elements/gsttypefindelement.h:
2762           When typefinding is done in push mode, we should cache
2763           events we receive during typefinding instead of just
2764           dropping them (e.g. newsegment, custom events from
2765           dvdreadsrc etc.) and then send them out once we've
2766           determined the type of the stream (and decodebin
2767           has had a chance to plug in a decoder/demuxer).
2768           
2769 2006-03-27  Wim Taymans  <wim@fluendo.com>
2770
2771         * docs/design/part-qos.txt:
2772         First QoS ideas.
2773
2774 2006-03-27  Wim Taymans  <wim@fluendo.com>
2775
2776         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
2777
2778         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
2779         (gst_base_src_send_event), (gst_base_src_change_state):
2780         Handle element seek correctly when we are streaming.
2781         Fixes #326998.
2782
2783 2006-03-24  Michael Smith  <msmith@fluendo.com>
2784
2785         * docs/faq/gst-uninstalled:
2786           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
2787           allow you to correctly run intalled applications built against old 
2788           core, using plugins that require updated core (e.g. running
2789           installed totem against a full uninstalled gstreamer stack)
2790
2791 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2792
2793         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
2794         more debug details
2795
2796 2006-03-24  Wim Taymans  <wim@fluendo.com>
2797
2798         * docs/gst/gstreamer-sections.txt:
2799         Rearrange the order of the methods so that related methods
2800         are grouped together in sections.
2801
2802 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2803
2804         * gst/gstelement.c:
2805           Little clarification in the docs
2806
2807 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
2808
2809         * docs/README:
2810         formatting fix
2811         * plugins/elements/gstidentity.c:
2812         * plugins/elements/gstqueue.c:
2813         * plugins/elements/gsttee.c:
2814         * plugins/elements/gsttypefindelement.c:
2815         GST_ELEMENT_DETAILS formatting
2816
2817 2006-03-24  Wim Taymans  <wim@fluendo.com>
2818
2819         * libs/gst/base/gstbasesink.h:
2820         Only add fields, not insert or we break ABI.
2821
2822 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2823
2824         * win32/common/libgstbase.def:
2825         * win32/common/libgstreamer.def:
2826           Update, add recently added functions.
2827
2828 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2829
2830         * docs/gst/gstreamer-sections.txt:
2831         * gst/gstutils.c: (gst_pad_query_peer_position),
2832         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
2833         * gst/gstutils.h:
2834           API: add some new utility functions:
2835            - gst_pad_query_peer_position()
2836            - gst_pad_query_peer_duration()
2837            - gst_pad_query_peer_convert()
2838           
2839 2006-03-23  Wim Taymans  <wim@fluendo.com>
2840
2841         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2842         (gst_base_sink_init), (gst_base_sink_finalize),
2843         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
2844         (gst_base_sink_set_property), (gst_base_sink_get_property),
2845         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
2846         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
2847         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
2848         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
2849         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
2850         (gst_base_sink_preroll_object), (gst_base_sink_event),
2851         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2852         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2853         (gst_base_sink_query), (gst_base_sink_change_state):
2854         Decouple max-lateness and the fact that QoS messages are generated
2855         with a new property (qos).
2856         added API: GstBaseSink::async_play()
2857         Add vmethod so subclasses can be notified of ASYNC playing
2858         state changes.
2859         Collect timestamp start and stop to report better current
2860         position in EOS/PLAYING/PAUSED/READY/NULL.
2861         Refactor QoS/frame dropping and other measurements.
2862         API: GstBaseSrc::qos
2863         Fixes #326311
2864
2865         * libs/gst/base/gstbasesink.h:
2866         Added Private struct.
2867         API: gst_base_sink_set_qos_enabled()
2868         API: gst_base_sink_is_qos_enabled()
2869
2870 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2871
2872         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2873           If compiling against GLib-2.8 or newer, try to read the
2874           registry file using GMappedFile first before falling back
2875           to fopen() + fread() (#332151).
2876
2877 2006-03-22  Wim Taymans  <wim@fluendo.com>
2878
2879         * gst/gstinfo.c: (gst_debug_set_active),
2880         (gst_debug_category_set_threshold):
2881         Disable debugging unless explicitly activated.
2882         Fixes #335480.
2883
2884 2006-03-22  Wim Taymans  <wim@fluendo.com>
2885
2886         * gst/gstelement.c: (gst_element_set_locked_state),
2887         (gst_element_dispose):
2888         Cleanup the error case.
2889
2890         * gst/gstobject.c: (gst_object_dispose):
2891         print a critical when some object was disposed with
2892         a parent, also revive the object since it might
2893         crash the parent.
2894
2895 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
2896
2897         * tools/gst-launch.1.in:
2898           Fix another typo.
2899
2900 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2901
2902         * configure.ac:
2903         * tests/check/Makefile.am:
2904           disable some tests when we don't have a registry
2905         * tests/check/gst/gstutils.c: (gst_utils_suite):
2906           don't build the part that needs parsing
2907
2908 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2909
2910         * gst/Makefile.am
2911         * tests/examples/Makefile.am:
2912           fix --disable-parse build
2913
2914 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * tools/gst-feedback.1.in:
2917           Fix typo: s/feeback/feedback/ (#133494).
2918
2919 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * tools/Makefile.am:
2922         * tools/gst-launch.1.in:
2923           Add FILES section and correct entry about GST_REGISTRY_PATH
2924           environment variable (#133495; #133494).
2925
2926 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2927
2928         * tools/Makefile.am:
2929         * tools/gst-md5sum.1.in:
2930         * tools/gst-md5sum.c:
2931           Remove gst-md5sum and man page (the md5sink element
2932           required was removed ages ago)
2933
2934 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2935
2936         * gst/gststructure.c: (gst_structure_id_set_value):
2937           Make sure that string fields in structures/taglists
2938           contain valid UTF-8 - we don't want to pass rubbish to
2939           applications because of a buggy plugin (cp. #334167).
2940
2941 2006-03-21  Edward Hervey  <edward@fluendo.com>
2942
2943         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2944         (gst_bin_handle_message_func):
2945         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2946         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2947         (gst_element_set_bus_func):
2948         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2949         * gst/gstminiobject.c: (gst_value_set_mini_object),
2950         (gst_value_take_mini_object):
2951         * gst/gstpad.c: (gst_pad_set_pad_template):
2952         * gst/gstpipeline.c: (gst_pipeline_dispose),
2953         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2954         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2955         (gst_collect_pads_chain):
2956         * libs/gst/net/gstnettimeprovider.c:
2957         (gst_net_time_provider_set_property):
2958         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2959         It's in fact all issues with gst_*object_replace().
2960
2961 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2962
2963         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
2964         
2965         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2966         * pkgconfig/gstreamer-check.pc.in:
2967           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2968
2969 2006-03-21  Edward Hervey  <edward@fluendo.com>
2970
2971         * gst/gstbuffer.h:
2972         * gst/gstevent.h:
2973         * gst/gstmessage.h:
2974         gst_[buffer|event|message]_ref() macros are replaced by a static
2975         inline functions because gcc-4.1 will about if the return value
2976         isn't used.
2977         * tests/check/gst/gstevent.c: (event_probe):
2978         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2979
2980 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
2981
2982         * gst/gstutils.h:
2983         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2984         the type' case. (Closes: #335195 for now). In the future, when we
2985         depend on GLib 2.10, we could also intern the type name using
2986         g_intern_static_string()
2987
2988 2006-03-20  Wim Taymans  <wim@fluendo.com>
2989
2990         * gst/gstbin.c: (gst_bin_handle_message_func),
2991         (bin_query_max_init), (bin_query_position_fold),
2992         (bin_query_position_done), (gst_bin_query):
2993         Position query should also take max of all streams.
2994
2995 2006-03-20  Wim Taymans  <wim@fluendo.com>
2996
2997         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2998         (gst_fake_src_finalize):
2999         Fix leaks in fakesrc.
3000
3001         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3002         Fix leaks in the testcase.
3003
3004 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
3005
3006         * gst/gst_private.h:
3007           add win32 specific import decoration(__declspec(dllimport)) 
3008           for all extern GstDebugCategory * variables
3009         * win32/common/libgstbase.def:
3010         * win32/common/libgstcontroller.def:
3011         * win32/common/libgstreamer.def:
3012           Add some exports, remove empty lines
3013         * win32/common/libgstdataprotocol.def:
3014         * win32/common/libgstdataprotocol.dsp:
3015         * win32/common/libgstnet.def:
3016         * win32/common/libgstnet.dsp:
3017           new project files and exportation files added
3018         
3019 2006-03-19  Wim Taymans  <wim@fluendo.com>
3020
3021         * tests/check/libs/basesrc.c: (eos_event_counter):
3022         Use proper return value for probe.
3023
3024 2006-03-17  Wim Taymans  <wim@fluendo.com>
3025
3026         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3027         (gst_pad_push):
3028         Don't leak buffers, caps and pads on negotiation errors.
3029
3030 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
3031
3032         * docs/faq/cvs.xml:
3033         * docs/faq/dependencies.xml:
3034         * docs/faq/developing.xml:
3035         * docs/faq/faq.xml:
3036         * docs/faq/general.xml:
3037         * docs/faq/getting.xml:
3038         * docs/faq/legal.xml:
3039         * docs/faq/troubleshooting.xml:
3040         * docs/faq/using.xml:
3041         Faq review and update.
3042
3043 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
3044
3045         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3046         (gst_pad_push):
3047         Don't pound the cpu to pieces by checking get_caps when accept_caps
3048         is called with the same caps as the pad already has.
3049         Use GST_DEBUG_OBJECT when outputting caps change information.
3050
3051 2006-03-15  Wim Taymans  <wim@fluendo.com>
3052
3053         * gst/gstclock.c: (gst_clock_class_init):
3054         Fix docs.
3055
3056 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
3057
3058         * gst/gstbuffer.h:
3059         Documentation fix.
3060
3061         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3062         (gst_pad_accept_caps), (gst_pad_configure_sink),
3063         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3064         Make the default acceptcaps behaviour be to check the requested 
3065         caps against the gst_pad_get_caps output. 
3066
3067         Ensure that gst_pad_accept_caps is used to check caps when a pad
3068         doesn't have a setcaps function, so that pads automatically refuse 
3069         caps that they don't allow in their pad template. (Fixes #332986)
3070
3071         When a buffer with attached caps is pushed, ensure that the source 
3072         pad receives those caps even if the element didn't call
3073         gst_pad_set_caps first.
3074
3075 2006-03-15  Wim Taymans  <wim@fluendo.com>
3076
3077         * libs/gst/base/gstadapter.c:
3078         Add some docs.
3079
3080 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
3081
3082         * win32/common/libgstbase.def:
3083         * win32/common/libgstcontroller.def:
3084         * win32/common/libgstreamer.def:
3085           Add a whole bunch of missing functions (#334434).
3086
3087 2006-03-14  Wim Taymans  <wim@fluendo.com>
3088
3089         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3090         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3091         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
3092         Better debug info when we receive a segment event.
3093         Reorganize a bit so we can pass the get_times() results around.
3094         Use the segment format when calculating the running time.
3095         Don't do QoS is sync is disabled or we have no clock or the
3096         element does not want us to sync to the clock.
3097         Don't drop buffers if QoS is disabled for now.
3098
3099 2006-03-14  Wim Taymans  <wim@fluendo.com>
3100
3101         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
3102         Marked the stats property as unimplemented so people don't get
3103         wild ideas.
3104         Add debug message when regression goes wrong.
3105         Added some more docs.
3106
3107 2006-03-14  Wim Taymans  <wim@fluendo.com>
3108
3109         * gst/gstsegment.c: (gst_segment_to_stream_time):
3110         Return correct return type in case of errors.
3111
3112 2006-03-14  Wim Taymans  <wim@fluendo.com>
3113
3114         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
3115           Don't segfault on invalid formats.
3116
3117 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3118
3119         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3120           Can't use gst_segment_to_running_time() when the segment
3121           is not in GST_TIME_FORMAT (like with filesink, for example).
3122           Stops flac encoding pipelines from spewing critical warnings
3123           at EOS (#331248).
3124           
3125 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
3126
3127         * gst/gstpipeline.c: (gst_pipeline_class_init):
3128           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
3129
3130         * plugins/elements/gsttypefindelement.c:
3131         (gst_type_find_element_handle_event):
3132           Don't try to typefind empty streams.
3133
3134 2006-03-14  Wim Taymans  <wim@fluendo.com>
3135
3136         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3137         (gst_base_sink_do_qos):
3138         Separate QoS calculation.
3139         Only drop buffers when lateness is bigger than the 
3140         duration of the buffer.
3141
3142 2006-03-13  Wim Taymans  <wim@fluendo.com>
3143
3144         * gst/gstpipeline.c: (gst_pipeline_set_property),
3145         (gst_pipeline_get_property), (do_pipeline_seek),
3146         (gst_pipeline_change_state), (gst_pipeline_set_delay),
3147         (gst_pipeline_get_delay):
3148         Don't deadlock when reading properties.
3149
3150 2006-03-13  Wim Taymans  <wim@fluendo.com>
3151
3152         * libs/gst/base/gstbasetransform.c:
3153         (gst_base_transform_class_init), (gst_base_transform_init),
3154         (gst_base_transform_sink_event),
3155         (gst_base_transform_sink_eventfunc),
3156         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
3157         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
3158         (gst_base_transform_set_property),
3159         (gst_base_transform_get_property),
3160         (gst_base_transform_change_state), (gst_base_transform_update_qos),
3161         (gst_base_transform_set_qos_enabled),
3162         (gst_base_transform_is_qos_enabled):
3163         * libs/gst/base/gstbasetransform.h:
3164         Make basetransform virtual method for src events too.
3165         Handle QOS in basetransform.
3166         API: gst_base_transform_update_qos()
3167         API: gst_base_transform_set_qos_enabled()
3168         API: gst_base_transform_is_qos_enabled()
3169
3170 2006-03-13  Wim Taymans  <wim@fluendo.com>
3171
3172         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3173         (gst_base_sink_do_sync):
3174         Small cleanups.
3175         Use QOS debug category.
3176
3177 2006-03-13  Wim Taymans  <wim@fluendo.com>
3178
3179         * plugins/elements/gstqueue.c:
3180         Very small doc update.
3181
3182 2006-03-13  Wim Taymans  <wim@fluendo.com>
3183
3184         * gst/gst_private.h:
3185         * gst/gstinfo.c: (_gst_debug_init):
3186         Added QOS debug category
3187
3188 2006-03-13  Wim Taymans  <wim@fluendo.com>
3189
3190         * docs/gst/gstreamer-sections.txt:
3191         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
3192         * gst/gstbin.h:
3193         * gst/gstbus.c: (gst_bus_class_init):
3194         * gst/gstbus.h:
3195         * gst/gstclock.c:
3196         * gst/gstelement.c: (gst_element_set_locked_state):
3197         * gst/gstsegment.c:
3198         Documentation updates.
3199
3200         * gst/gstpipeline.c: (gst_pipeline_get_type),
3201         (gst_pipeline_class_init), (gst_pipeline_init),
3202         (gst_pipeline_dispose), (gst_pipeline_set_property),
3203         (gst_pipeline_get_property), (do_pipeline_seek),
3204         (gst_pipeline_send_event), (gst_pipeline_change_state),
3205         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
3206         (gst_pipeline_get_delay):
3207         * gst/gstpipeline.h:
3208         Added methods for setting the delay.
3209         API: gst_pipeline_set_delay()
3210         API: gst_pipeline_get_delay()
3211         Add pipeline debug category
3212         Various cleanups.
3213         Updated docs.
3214         Don't reset stream time when seek failed.
3215
3216 2006-03-13  Wim Taymans  <wim@fluendo.com>
3217
3218         * docs/design/draft-klass.txt:
3219         * docs/design/part-clocks.txt:
3220         * docs/design/part-events.txt:
3221         * docs/design/part-gstbin.txt:
3222         * docs/design/part-gstpipeline.txt:
3223         * docs/design/part-messages.txt:
3224         * docs/design/part-negotiation.txt:
3225         * docs/design/part-overview.txt:
3226         * docs/design/part-preroll.txt:
3227         * docs/design/part-seeking.txt:
3228         * docs/design/part-states.txt:
3229         * docs/design/part-streams.txt:
3230         Documentation updates.
3231
3232 2006-03-12  Julien MOUTTE  <julien@moutte.net>
3233
3234         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
3235         us to leak strings...
3236
3237 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3238
3239         * libs/gst/net/gstnettimeprovider.c:
3240           fix docs
3241         * win32/common/config.h:
3242           update
3243
3244 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
3245
3246         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
3247
3248         * configure.ac:
3249           Don't check for libgnomeui (leftover from old examples
3250           that aren't built or disted any longer) (#334303).
3251           
3252 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
3253
3254         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
3255         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3256           Emit RESOURCE_NO_SPACE_LEFT error here as well when
3257           there's no space left on the device.
3258
3259 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * gst/gstclock.h:
3262           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
3263           to cast the input to GstClockTime before comparing with
3264           another GstClockTime value.
3265
3266 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3267
3268         * configure.ac:
3269           back to trunk
3270
3271 === release 0.10.4 ===
3272
3273 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
3274
3275         * configure.ac:
3276           releasing 0.10.4, "Light"
3277
3278 2006-03-10  Michael Smith  <msmith@fluendo.com>
3279
3280         * libs/gst/dataprotocol/dataprotocol.c:
3281           Fix docs for dataprocotol to not get the return types completely
3282           wrong for a few functions.
3283
3284 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3285
3286         * docs/gst/gstreamer-sections.txt:
3287         * gst/gstpipeline.c: (gst_pipeline_class_init),
3288         (gst_pipeline_init), (gst_pipeline_set_property),
3289         (gst_pipeline_get_property), (gst_pipeline_change_state),
3290         (gst_pipeline_set_auto_flush_bus),
3291         (gst_pipeline_get_auto_flush_bus):
3292         * gst/gstpipeline.h:
3293           Add new API: gst_pipeline_set_auto_flush_bus() and
3294           gst_pipeline_get_auto_flush_bus() to disable automatic
3295           flushing of the pipeline's GstBus when going from READY
3296           to NULL state (#332045).
3297
3298 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3299
3300         * docs/gst/gstreamer-sections.txt:
3301         * gst/gsturi.c: (gst_uri_has_protocol):
3302         * gst/gsturi.h:
3303            Add new API: gst_uri_has_protocol() (#333779).
3304
3305 2006-03-09  Wim Taymans  <wim@fluendo.com>
3306
3307         * gst/gstclock.c: (gst_clock_entry_new),
3308         (gst_clock_id_compare_func), (gst_clock_id_wait),
3309         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
3310         (gst_clock_init), (gst_clock_get_internal_time),
3311         (gst_clock_set_master), (do_linear_regression),
3312         (gst_clock_add_observation), (gst_clock_set_property):
3313         * gst/gstclock.h:
3314         Review docs.
3315         Small cleanups.
3316         Fix a possible segfault when the window-size is made smaller.
3317         Calculate jitter before performing the clock wait. Ideally
3318         the clock implementation should calculate jitter but we need
3319         API breakage for that.
3320
3321         * gst/gstsystemclock.c: (gst_system_clock_init):
3322         Docs review.
3323         
3324         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3325         Remove leftover else
3326
3327         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3328         (gst_systemclock_suite):
3329         Added check to test GST_CLOCK_DIFF.
3330
3331 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
3332
3333         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
3334         (gst_type_find_helper_get_range):
3335           If we are provided with the size, we should implement
3336           GstTypeFind::get_length, so that typefind functions who
3337           want to can actually peek at the middle of a file.
3338
3339 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
3340
3341         * docs/manual/advanced-dataaccess.xml:
3342           Add some very very basic error checking.
3343
3344         * docs/pwg/appendix-checklist.xml:
3345           Some updates to the list of things to check when writing an element.
3346
3347 2006-03-08  Wim Taymans  <wim@fluendo.com>
3348
3349         * docs/design/part-element-transform.txt:
3350         Added some docs about the design of tranform elements.
3351
3352         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3353         (gst_base_src_loop), (gst_base_src_change_state):
3354         Mark buffers with the DISCONT flag.
3355
3356 2006-03-08  Michael Smith  <msmith@fluendo.com>
3357
3358         * gst/gstregistry.h:
3359         * gst/gstregistryxml.c: (gst_registry_save),
3360         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
3361         (gst_registry_xml_save_pad_template),
3362         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
3363         (gst_registry_xml_write_cache):
3364           Rewrite registry-saving to avoid race conditions and check for
3365           failed writes.
3366
3367 2006-03-08  Wim Taymans  <wim@fluendo.com>
3368
3369         * libs/gst/base/gstbasetransform.c:
3370         (gst_base_transform_transform_caps),
3371         (gst_base_transform_transform_size),
3372         (gst_base_transform_prepare_output_buffer),
3373         (gst_base_transform_get_unit_size),
3374         (gst_base_transform_buffer_alloc),
3375         (gst_base_transform_handle_buffer),
3376         (gst_base_transform_change_state):
3377         Cleanups, separate normal flow from errors, add sensible
3378         DEBUG lines.
3379         Don't try to renegotiate when allocating an output buffer.
3380         Also copy DISCONT buffer flag when copying a buffer.
3381         Reset the transform after we finish streaming, not during.
3382
3383 2006-03-08  Wim Taymans  <wim@fluendo.com>
3384
3385         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3386         Use last buffer timestamp in qos message.
3387
3388 2006-03-07  Wim Taymans  <wim@fluendo.com>
3389
3390         Patch by: Christophe Fergeau
3391
3392         * docs/pwg/advanced-tagging.xml:
3393         * docs/pwg/building-pads.xml:
3394           fixes #333416
3395
3396 2006-03-07  Wim Taymans  <wim@fluendo.com>
3397
3398         * docs/libs/gstreamer-libs-sections.txt:
3399         Added basesink new methods.
3400
3401         * gst/gstevent.c:
3402         * gst/gstevent.h:
3403         Docs updates. Flesh out the QoS docs.
3404
3405         * libs/gst/base/gstadapter.c:
3406         Small doc clarification about ownership and flushing.
3407
3408         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
3409         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
3410         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
3411         (gst_base_sink_get_property), (gst_base_sink_do_sync):
3412         * libs/gst/base/gstbasesink.h:
3413         API additions: 
3414         Added new methods to allow subclass to control max-lateness 
3415         and sync.
3416         Generate very basic QoS events based on last sync observation.
3417         Updated docs, fix typo, added some QoS blurb.
3418
3419         * libs/gst/base/gstbasesrc.c:
3420         Remove obsolete _get_state() calls from docs.
3421
3422 2006-03-07  Wim Taymans  <wim@fluendo.com>
3423
3424         * docs/libs/gstreamer-libs-sections.txt:
3425         * libs/gst/base/gstbasetransform.h:
3426         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
3427         Fix docs for GstBaseSrc.
3428
3429 2006-03-07  Wim Taymans  <wim@fluendo.com>
3430
3431         * docs/gst/gstreamer-sections.txt:
3432         * gst/gstbuffer.h:
3433         * gst/gstvalue.c:
3434         * libs/gst/base/gstbasetransform.h:
3435         Small documentation fixes.
3436
3437 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3438
3439         * gst/gstvalue.c:
3440           Document thread-unsafety of gst_value_register_foo_func()
3441           when used at the same time as gst_value_foo() (#322628).
3442
3443 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
3444
3445         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
3446         (gst_push_src_check_get_range):
3447           Push sources don't support pull mode by default.
3448
3449 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
3450
3451         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3452         (gst_base_src_init), (gst_base_src_pad_check_get_range),
3453         (gst_base_src_default_check_get_range):
3454         * libs/gst/base/gstbasesrc.h:
3455           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
3456           provide default implementation, and rename
3457           gst_base_src_check_get_range() to
3458           gst_base_src_pad_check_get_range() for clarity.
3459
3460 2006-03-06  Wim Taymans  <wim@fluendo.com>
3461
3462         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3463         Make property overridable.
3464
3465 2006-03-06  Wim Taymans  <wim@fluendo.com>
3466
3467         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3468         (gst_base_sink_init), (gst_base_sink_set_property),
3469         (gst_base_sink_get_property), (gst_base_sink_do_sync):
3470         * libs/gst/base/gstbasesink.h:
3471         API addition: Make max-lateness a property.
3472
3473 2006-03-06  Wim Taymans  <wim@fluendo.com>
3474
3475         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
3476         (gst_base_sink_do_sync), (gst_base_sink_render_object):
3477         Don't ever draw a frame that is >10ms late.
3478
3479 2006-03-06  Michael Smith  <msmith@fluendo.com>
3480
3481         * gst/gstmessage.c: (_gst_message_copy):
3482           When copying a message, set the parent_refcount of the enclosed
3483           structure to point at the copy, not the original message.
3484
3485 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
3486
3487         Patch by: Christophe Fergeau
3488
3489         * gst/gstutils.h:
3490           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
3491           usable in c++ code (#333417)
3492
3493 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
3494
3495         * gst/gstclock.h:
3496           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
3497
3498 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
3499
3500         * libs/gst/base/gstbasetransform.c:
3501         (gst_base_transform_transform_caps):
3502           Make sure caps are writable before passing them to
3503           gst_caps_append().
3504
3505 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
3506
3507         * gst/gsterror.h:
3508           Fix some minor docs errors.
3509
3510 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512           Patch by: Ross Burton <ross at burtonini dot com>
3513
3514         * gst/gsterror.c: (_gst_resource_errors_init):
3515         * gst/gsterror.h:
3516           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
3517
3518 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
3519
3520         * gst/gst.c:
3521         Add a check and output a g_warning when GStreamer is built
3522         against GLib 2.6 but running against 2.8 or higher, and vice 
3523         versa. (Closes: #323542)
3524
3525 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
3526
3527         * gst/parse/parse.l:
3528           Commit patch for parse_launch syntax from #331255. Removes 
3529           support for quoted strings and mimetypes when writing filtered 
3530           caps. See the bug report for more details - I'm pretty sure this
3531           obscure feature is not in use by _anyone_ anywhere.
3532
3533           With this simple change, the size of the gstreamer.so here 
3534           drops from 2193KB to 1565KB.
3535
3536 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3537
3538         * plugins/elements/gsttypefindelement.h:
3539         * plugins/elements/gsttypefindelement.c:
3540         (gst_type_find_element_src_event), (start_typefinding),
3541         (stop_typefinding), (gst_type_find_element_handle_event),
3542         (gst_type_find_element_chain),
3543         (gst_type_find_element_chain_do_typefinding):
3544           Use gst_type_find_helper_for_buffer() for chain-based
3545           typefinding.
3546
3547 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3548
3549         * plugins/elements/gsttypefindelement.c:
3550         (gst_type_find_element_class_init),
3551         (gst_type_find_element_set_property),
3552         (gst_type_find_element_get_property):
3553           Deprecate "maximum" property (not only was it only taken into
3554           account for typefinding in push-mode anyway, it also was never
3555           actually possible to set it in the first place because the
3556           property was registered with the numeric property ID for the
3557           "minimum" property). Register "maximum" property correctly,
3558           for the sake of future copy'n'pasters. Remove some cruft
3559           from property get/set functions.
3560
3561 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
3562
3563         * plugins/elements/gsttypefindelement.c:
3564         (gst_type_find_element_activate):
3565           Use gst_type_find_helper_get_range() here, so we
3566           can honour the "minimum" property and also emit
3567           the signal with the correct probability of the found caps.
3568
3569 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
3570
3571         * docs/libs/gstreamer-libs-sections.txt:
3572         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
3573         (helper_find_suggest), (gst_type_find_helper_get_range),
3574         (gst_type_find_helper):
3575         * libs/gst/base/gsttypefindhelper.h:
3576           New API: gst_type_find_helper_get_range() (#333042).
3577
3578 2006-03-02  Michael Smith  <msmith@fluendo.com>
3579
3580         * gst/gstregistryxml.c: (load_feature):
3581           Asserting on a failure to read part of the registry is Not Cool.
3582           Just log a warning and return NULL (which is already handled)
3583
3584 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
3585
3586         * win32/common/libgstbase.def:
3587           added export of gst_type_find_helper_for_buffer
3588         * win32/common/libgstbase.def:
3589           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
3590           gst_ghost_pad_get_target
3591
3592 2006-02-28  Wim Taymans  <wim@fluendo.com>
3593
3594         * docs/design/draft-klass.txt:
3595         We use Filter now.
3596         Added Connector to mark elements that are only used to
3597         allow pipeline connections.
3598         Moved Debug to extra feature since most of them are 
3599         functionally something else.
3600
3601 2006-02-28  Wim Taymans  <wim@fluendo.com>
3602
3603         * docs/design/draft-klass.txt:
3604         Some updates and clarifications.
3605
3606 2006-02-28  Wim Taymans  <wim@fluendo.com>
3607
3608         * docs/design/draft-klass.txt:
3609         Proposal for klass field values.
3610
3611         * docs/design/part-streams.txt:
3612         Start of a doc describing stream anatomy.
3613
3614 2006-02-28  Wim Taymans  <wim@fluendo.com>
3615
3616         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
3617         Help the compiler a bit with type registration.
3618         Use existing forward cod path instead of duplicating it when 
3619         handling a message.
3620         
3621         * gst/gstbus.c: (gst_bus_get_type):
3622         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
3623         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
3624         * gst/gstclock.c: (gst_clock_get_type):
3625         * gst/gstelement.c: (gst_element_get_type),
3626         * gst/gstelementfactory.c: (gst_element_factory_get_type):
3627         * gst/gstindexfactory.c: (gst_index_factory_get_type):
3628         * gst/gstminiobject.c: (gst_mini_object_get_type):
3629         * gst/gstpad.c: (gst_pad_get_type):
3630         * gst/gstsegment.c: (gst_segment_get_type):
3631         * gst/gststructure.c: (gst_structure_get_type):
3632         * gst/gstsystemclock.c: (gst_system_clock_get_type):
3633         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
3634         * gst/gstvalue.c:
3635         Help compiler with type registration.
3636
3637         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3638         Small doc update.
3639
3640 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3641
3642         * plugins/elements/gsttypefindelement.c:
3643         (gst_type_find_element_handle_event):
3644           When we get an EOS event and have not found a type yet
3645           (most likely because we had not yet accumulated
3646           TYPE_FIND_MIN_SIZE of data yet), try to determine the
3647           type given the data we have so far. Fixes typefinding
3648           for very short streams again, most notably quicktime
3649           redirections as used on Apple's trailer site (#331701).
3650
3651 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3652
3653         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
3654         (gst_type_find_helper):
3655           Try typefinding factories with the highest rank first.
3656
3657 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         * docs/libs/gstreamer-libs-docs.sgml:
3660         * docs/libs/gstreamer-libs-sections.txt:
3661         * libs/gst/base/gsttypefindhelper.c:
3662           Add section for typefind helper and add documentation
3663           for the old and the new function.
3664
3665 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3666
3667         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
3668         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
3669         (gst_type_find_helper_for_buffer):
3670         * libs/gst/base/gsttypefindhelper.h:
3671           New API: gst_type_find_helper_for_buffer() (#332723).
3672           
3673 2006-02-27  Michael Smith  <msmith@fluendo.com>
3674
3675         Patch by: Loïc Minier
3676
3677         * configure.ac:
3678         * docs/Makefile.am:
3679         * docs/slides/Makefile.am:
3680           prevent CVS directories getting disted.
3681
3682 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
3683
3684         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
3685           Use the REFCOUNTING category for caps refcounting.
3686           
3687 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
3690           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
3691
3692 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
3693
3694         * plugins/elements/gsttypefindelement.c:
3695         (gst_type_find_element_activate):
3696           Use gst_pad_check_pull_range() before _activate_pull()
3697           to avoid unnecessary open/close (see #331690).
3698
3699 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3700
3701         * gst/gstutils.c:
3702           Docs enhancement: make it crystal clear what the
3703           gst_pad_add_*_probe() callbacks should look like.
3704
3705 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
3706
3707         * libs/gst/base/gstbasesrc.c:
3708           Document how applications can stop recording from
3709           live sources (see #330996).
3710
3711 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3712
3713         * tests/check/Makefile.am:
3714         * tests/check/libs/basesrc.c: (eos_event_counter),
3715         (basesrc_eos_events_pull), (basesrc_eos_events_push),
3716         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
3717         (gst_basesrc_suite), (main):
3718           ... and add some tests for the base source EOS stuff.
3719
3720 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3721
3722         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
3723           Test case originally showed the problem fixed below,
3724           but was then amended. Add checks back at the place
3725           where they used to be.
3726
3727 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3730         (gst_base_src_init), (gst_base_src_loop),
3731         (gst_base_src_activate_push), (gst_base_src_activate_pull),
3732         (gst_base_src_change_state):
3733         * libs/gst/base/gstbasesrc.h:
3734           Don't unconditionally send EOS when going from PAUSED to
3735           READY state, esp. make sure we don't send two EOS events
3736           in some cases (e.g. one when reaching EOS and one when
3737           going from PAUSED to READY). Also, we don't want to send
3738           EOS events when operating in pull mode. However, we do
3739           want to send an EOS event when shutting down a live
3740           source explicitly, for example (fixes #330996).
3741           
3742 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
3743
3744         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
3745           Update src->read_position after a seek when not using mmap.
3746           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
3747
3748 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
3749
3750         * gst/Makefile.am:
3751         * gst/gstparse.h:
3752         * gst/gstutils.c:
3753         * gst/gstutils.h:
3754         Make things work with --disable-parse as they do with 
3755         --disable-load-save - the symbols involved disappear, but the
3756         header is still installed and GST_DISABLE_PARSE is included via
3757         gstconfig.h
3758
3759 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3760
3761         * libs/gst/base/gstbasetransform.c:
3762         (gst_base_transform_change_state): Fix a stupid bug. I was 
3763         sure I compiled that.
3764
3765 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3766
3767         * gst/gstpad.c: (gst_pad_set_blocked_async):
3768         * gst/gstutils.c: (gst_pad_add_data_probe),
3769         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3770         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3771         (gst_pad_remove_buffer_probe): Make those function act on the
3772         ghostpad target when it's a ghostpad. (Closes #331727)
3773
3774 2006-02-20  Julien MOUTTE  <julien@moutte.net>
3775
3776         * libs/gst/base/gstbasetransform.c:
3777         (gst_base_transform_change_state): Make basetransform reusable.
3778         (Closes #331898)
3779
3780 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
3781
3782         * docs/random/release:
3783         Move the current documentation of how to do a release to the top
3784         of the file.
3785
3786         * gst/gstbin.c: (gst_bin_class_init),
3787         (gst_bin_handle_message_func):
3788         Allow multiple state-recalculation threads. (Closes #328873)
3789
3790 2006-02-19  Julien MOUTTE  <julien@moutte.net>
3791
3792         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
3793         * gst/gstpad.c: (gst_pad_set_event_function),
3794         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3795         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
3796         2 strings. You can't use the STR_NULL macro on that.
3797
3798 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
3799
3800         * gst/gstpad.c: (gst_pad_set_event_function),
3801         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
3802         (gst_pad_set_getcaps_function)
3803         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
3804           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
3805           So now, we can use --gst-debug-level=5 on Windows
3806         * win32/common/libgstcontroller.def:
3807           Added export of gst_controller_init
3808         * win32/vs6/libgstcontroller.dsp:
3809           Fixed Release post build configuration
3810
3811 2006-02-17  Wim Taymans  <wim@fluendo.com>
3812
3813         * tests/check/gst/gstquery.c: (GST_START_TEST):
3814         Added another check.
3815
3816 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
3817
3818         * plugins/elements/gsttypefindelement.c: (find_peek):
3819           We can do peeks at non-zero offsets, as long as they
3820           fall within the buffer we have.
3821
3822 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
3823
3824         * tests/check/Makefile.am:
3825         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
3826         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
3827         (parse_suite), (main):
3828           Add testsuite for parse launch syntax
3829
3830 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
3831
3832         * plugins/elements/gsttypefindelement.c:
3833         (gst_type_find_element_chain):
3834           When typefinding is unsuccessful in the chain function, don't
3835           error out immediately. Only error out with NO_CAPS_FOUND if
3836           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
3837           otherwise simply wait for more data so we can try typefinding
3838           again with more data later. Also, don't attempt to typefind
3839           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
3840           this should improve typefinding from network sources where the
3841           size of the first buffer can be somewhat random.
3842
3843 2006-02-14  Wim Taymans  <wim@fluendo.com>
3844
3845         * docs/gst/gstreamer-sections.txt:
3846         * gst/gstpadtemplate.c:
3847         * gst/gstpadtemplate.h:
3848         Fix padtemplate docs, fixes #328805.
3849
3850 2006-02-14  Wim Taymans  <wim@fluendo.com>
3851
3852         * tools/gst-launch.c: (main):
3853         NO_PREROLL is not an ERROR so don't send confusing messages
3854         to the user.
3855
3856 2006-02-14  Wim Taymans  <wim@fluendo.com>
3857
3858         Patch by: Torsten Schoenfeld
3859
3860         * gst/gstregistry.c: (gst_registry_get_default),
3861         (_gst_registry_cleanup):
3862         Protect default registry with lock and ref/sink it.
3863         Fixes #324818
3864
3865 2006-02-14  Wim Taymans  <wim@fluendo.com>
3866
3867         * gst/gstbuffer.c:
3868         * gst/gstquery.c: (gst_query_list_add_format),
3869         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3870         (gst_query_parse_formats_nth):
3871         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3872         Docs fixes.
3873
3874 2006-02-14  Wim Taymans  <wim@fluendo.com>
3875
3876         * docs/gst/gstreamer-sections.txt:
3877         Reworked query docs.
3878
3879         * gst/gstquery.c: (gst_query_new_formats),
3880         (gst_query_list_add_format), (gst_query_set_formats),
3881         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3882         (gst_query_parse_formats_nth):
3883         * gst/gstquery.h:
3884         Flesh out formats query, added some new methods.
3885         Fix part of #324398.
3886
3887         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3888         Added query creation tests.
3889
3890 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
3891
3892         * gst/gstpad.c: (fixate_value):
3893         Add a default fixation for fraction lists.
3894
3895 2006-02-13  Wim Taymans  <wim@fluendo.com>
3896
3897         * gst/gsttask.c: (gst_task_init), (gst_task_func),
3898         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3899         (gst_task_join):
3900         * gst/gsttask.h:
3901         Detect and warn for obvious deadlocks. fixes #320340
3902         Fix error case where lock was not released.
3903
3904         * tests/check/Makefile.am:
3905         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3906         (task_func), (gst_element_suite), (main):
3907         Add task check.
3908
3909 2006-02-13  Wim Taymans  <wim@fluendo.com>
3910
3911         * docs/gst/gstreamer-sections.txt:
3912         * gst/gstbus.c:
3913         Add new functions to docs.
3914
3915 2006-02-13  Wim Taymans  <wim@fluendo.com>
3916
3917         * docs/design/part-TODO.txt:
3918         Updated TODO list, basesrc supports seeking to non-bytes
3919         formats.
3920
3921         * docs/design/part-element-sink.txt:
3922         Update docs.
3923
3924         * gst/gstbin.c: (bin_replace_message),
3925         (gst_bin_handle_message_func):
3926         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3927         * gst/gstevent.c: (gst_event_finalize):
3928         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3929         (gst_pad_send_event):
3930         Use shiny new _TYPE_NAME macros.
3931
3932         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3933         Move debug statement up.
3934
3935         * gst/gstelement.c: (gst_element_set_locked_state):
3936         Add some debugging.
3937
3938 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
3939
3940         * docs/gst/gstreamer-sections.txt:
3941         * gst/gstmessage.h:
3942         * gst/gstquery.h:
3943           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3944           macros (#330906). Also, document the already existing
3945           GST_QUERY_TYPE macro.
3946
3947 2006-02-13  Wim Taymans  <wim@fluendo.com>
3948
3949         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3950         (event_probe), (GST_START_TEST):
3951         Only events up to the pipeline EOS are counted, there are
3952         some more when going to NULL currently which we don't care
3953         about for now.
3954
3955 2006-02-13  Wim Taymans  <wim@fluendo.com>
3956
3957         * gst/gstpad.c: (gst_pad_send_event):
3958         Correctly check flushing and emit probes. fixes #330125
3959
3960 2006-02-10  Andy Wingo  <wingo@pobox.com>
3961
3962         * gst/gstbus.c (gst_bus_class_init): Declare our private data
3963         structure.
3964         (gst_bus_init): Cache the location of the private data in the
3965         instance structure.
3966         (gst_bus_enable_sync_message_emission) 
3967         (gst_bus_disable_sync_message_emission): Implement new public
3968         functions.
3969         (gst_bus_post): Emit the sync-message signal if the user asked for
3970         it. Fixes #330684.
3971
3972         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3973         location of the bus-private structure.
3974         (gst_bus_enable_sync_message_emission)
3975         (gst_bus_disable_sync_message_emission): API addition
3976
3977 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
3978
3979         Patch by: Vincent Torri
3980
3981         * docs/pwg/building-boiler.xml:
3982         PWG patch from #326800
3983
3984 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3985
3986         * configure.ac:
3987         * docs/Makefile.am:
3988         * docs/design/Makefile.am:
3989           Dist design docs.
3990
3991 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3992
3993         * configure.ac:
3994           back to CVS
3995
3996 === release 0.10.3 ===
3997
3998 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
3999
4000         * configure.ac:
4001           releasing 0.10.3, "Like a virgin"
4002
4003 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
4004
4005         * configure.ac:
4006           2nd prerelease of 0.10.3
4007           Bump libtool versioning.
4008
4009 2006-02-07  Andy Wingo  <wingo@pobox.com>
4010
4011         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4012         update last_stop if we're in TIME format and the timestamp is
4013         valid.
4014
4015         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
4016         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
4017         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4018         If we get a new newsegment with a different format, adapt
4019         accordingly.
4020
4021         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4022         of 0. Not a problem, really.
4023
4024         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4025         warn if sync=true.
4026
4027 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
4028
4029         * configure.ac:
4030           Prelease of 0.10.3
4031
4032 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
4033
4034         * win32/vs7:
4035           project files updated to the default vs7 configuration
4036         * win32/common/libgstbase.def:
4037         * win32/common/libgstreamer.def:
4038           added new symbols,
4039           removed empty lines,
4040           sorted all exported symbols alphabetically
4041         * win32/common/dirent.c:
4042         * win32/common/dirent.h:
4043         * win32/common/gchar.h:
4044           use windows line end.
4045           
4046 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4047
4048         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4049           Send EOS event when stopping.
4050
4051 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
4052
4053         * docs/README:
4054           Tell folks what to do if the plugin-foobar.xml file
4055           hasn't been generated for a newly-added plugin.
4056
4057 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4058
4059         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4060         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4061         (gst_collect_pads_start), (gst_collect_pads_stop),
4062         (gst_collect_pads_event): Collectpads now holds a reference
4063         to the GstPad that was added. Indeed we don't want to look
4064         at pads that might just go away with no warning...
4065
4066 2006-02-05  Julien MOUTTE  <julien@moutte.net>
4067
4068         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4069         (gst_collect_pads_start), (gst_collect_pads_stop),
4070         (gst_collect_pads_event), (gst_collect_pads_chain):
4071         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4072         Mark Nauwelaerts's patch on bug #328491.
4073
4074 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4075
4076         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4077         (gst_utils_suite):
4078           Add some simple tests for gst_parse_bin_from_description() and
4079           gst_bin_find_unconnected_pad() (#329069).
4080
4081 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
4082
4083         * tools/gst-launch.c: (event_loop), (main):
4084           Catch errors during preroll (#320084).
4085
4086 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
4087
4088         * plugins/elements/gsttypefindelement.c:
4089         (gst_type_find_element_activate):
4090           Post TYPE_NOT_FOUND error message when typefinding
4091           is unsuccessful in the activate function as well.
4092
4093 2006-02-02  Wim Taymans  <wim@fluendo.com>
4094
4095         * docs/design/part-element-sink.txt:
4096         Updated doc.
4097
4098 2006-02-02  Wim Taymans  <wim@fluendo.com>
4099
4100         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4101         (gst_base_sink_render_object),
4102         (gst_base_sink_queue_object_unlocked):
4103         Only keep track of prerollable items when we are 
4104         prerolling.
4105         Before rendering after preroll, always check if we
4106         have queued items.
4107         Added some more debugging.
4108
4109 2006-02-02  Wim Taymans  <wim@fluendo.com>
4110
4111         * gst/gstelement.c: (gst_element_continue_state),
4112         (gst_element_set_state_func), (gst_element_change_state):
4113         Fixed #326576, been running this for quite some time with
4114         no regressions at all.
4115
4116 2006-02-02  Wim Taymans  <wim@fluendo.com>
4117
4118         * common/gst.supp:
4119         Added more suppressions
4120
4121 2006-02-02  Wim Taymans  <wim@fluendo.com>
4122
4123         * docs/design/part-element-sink.txt:
4124         Updated document.
4125
4126         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4127         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
4128         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
4129         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4130         (gst_base_sink_do_sync), (gst_base_sink_render_object),
4131         (gst_base_sink_preroll_object),
4132         (gst_base_sink_queue_object_unlocked),
4133         (gst_base_sink_queue_object), (gst_base_sink_event),
4134         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
4135         (gst_base_sink_loop), (gst_base_sink_activate_pull),
4136         (gst_base_sink_get_position), (gst_base_sink_change_state):
4137         * libs/gst/base/gstbasesink.h:
4138         Totally refactored matching the design doc.
4139         Use two segments, one to clip incomming buffers and another to
4140         perform sync.
4141         Handle queueing correctly, bypass the queue when playing.
4142         Make EOS cancelable.
4143         Handle errors correctly when operating in pull based mode.
4144
4145         * tests/check/elements/fakesink.c: (GST_START_TEST),
4146         (fakesink_suite):
4147         Added new check for sinks.
4148
4149 2006-02-02  Wim Taymans  <wim@fluendo.com>
4150
4151         * gst/gstsegment.c: (gst_segment_clip):
4152         No reason to refuse to clip when start == -1
4153
4154 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
4155
4156         * docs/README:
4157         * docs/manual/intro-basics.xml:
4158         * docs/manual/intro-preface.xml:
4159         * docs/manual/manual.xml:
4160         * docs/pwg/advanced-dparams.xml:
4161         * docs/pwg/intro-basics.xml:
4162         * docs/pwg/intro-preface.xml:
4163         * docs/pwg/pwg.xml:
4164           describe dparams (controller) for plugins
4165           unify docs a little more
4166
4167 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * docs/gst/gstreamer-sections.txt:
4170         * gst/gstutils.c: (element_find_unconnected_pad),
4171         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
4172         * gst/gstutils.h:
4173           Add new API: gst_parse_bin_from_description() and
4174           gst_bin_find_unconnected_pad() (#329069).
4175
4176 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
4177
4178         * docs/manual/README:
4179           uncover a nasty detail of the docs build
4180
4181 2006-01-31  Wim Taymans  <wim@fluendo.com>
4182
4183         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
4184         Don't cache duration messages if we're not going to use or
4185         free them.
4186
4187 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
4188
4189         * docs/manual/advanced-dparams.xml:
4190         * docs/pwg/advanced-dparams.xml:
4191           more dparam docs
4192         * gst/gstindex.c:
4193           fix docs
4194         * libs/gst/controller/lib.c: (gst_controller_init):
4195           init just once
4196
4197 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
4198
4199         * gst/gstelement.c: (gst_element_message_full):
4200           also show file/line/func if no additional debug was given
4201
4202 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
4203         
4204         * win32/vs7/grammar.vcproj:
4205           activate copy of autogenerated files for Release mode
4206
4207 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
4208         
4209         * win32/common/libgstreamer.def:
4210           export gst_value_compare
4211
4212 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
4213
4214         * plugins/elements/Makefile.am:
4215         * plugins/elements/gstelements.c:
4216         * plugins/elements/gstfdsink.c: (_do_init),
4217         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
4218         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
4219         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
4220         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
4221         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
4222         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
4223         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
4224         * plugins/elements/gstfdsink.h:
4225         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
4226
4227 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
4228
4229         * docs/manual/advanced-dparams.xml:
4230           describe controller
4231         * docs/manual/advanced-position.xml:
4232         * docs/manual/basics-init.xml:
4233         * docs/manual/manual.xml:
4234         * docs/manual/titlepage.xml:
4235         * docs/pwg/pwg.xml:
4236         * docs/pwg/titlepage.xml:
4237           cleanup xml (more to come)
4238         * libs/gst/controller/gstcontroller.c:
4239           fix typo
4240
4241 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
4242         
4243         * win32/vs6/grammar.dsp:
4244           add autogen of gstmarshal.c,h for Release mode
4245                 
4246 2006-01-30  Wim Taymans  <wim@fluendo.com>
4247
4248         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4249         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
4250         (gst_base_sink_handle_object), (gst_base_sink_event),
4251         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
4252         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
4253         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
4254         (gst_base_sink_deactivate), (gst_base_sink_activate),
4255         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
4256         (gst_base_sink_query), (gst_base_sink_change_state):
4257         Basesink cleanups, remove some old code.
4258         Handle the case where a subclass can preroll in the render
4259         method (mostly audiosinks).
4260         Handle more events.
4261         Remove some locks around variables that are now protected
4262         with the PREROLL_LOCK (clock_id, flushing, ..).
4263         Optimize position query some more, do correct locking.
4264         Remove old code to push queue in state change, this is not
4265         needed anymore since preroll blocks on all prerollable items 
4266         now.
4267         Almost implemented as described in design doc.
4268
4269 2006-01-30  Wim Taymans  <wim@fluendo.com>
4270
4271         * tests/check/gst/gstbin.c: (GST_START_TEST):
4272         Wait for refcount to settle down before checking.
4273
4274 2006-01-30  Wim Taymans  <wim@fluendo.com>
4275
4276         * docs/design/part-element-sink.txt:
4277         Pseudo code overview of desired sink behaviour regarding
4278         preroll.
4279
4280 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4281         * win32/vs6/grammar.dsp:
4282           fix some bugs in Release mode for autogenerated files
4283                 
4284 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4285         * win32/common/libgstbase.def:
4286         * win32/common/libgstreamer.def:
4287           export some new symbols: gst_base_src_set_format,
4288           gst_iterator_next, gst_structure_set_valist
4289
4290 2006-01-29  Julien MOUTTE  <julien@moutte.net>
4291
4292         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
4293         Set pad functions unconditionally. Fixes #329105.
4294
4295 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
4296         * win32/vs8:
4297           add vs8 project files created by Sergey Scobich
4298
4299 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
4300
4301         * gst/gstutils.c: (gst_element_unlink_pads):
4302         Don't leak pad references.
4303
4304         * tests/check/elements/fakesink.c: (GST_START_TEST):
4305         * tests/check/generic/sinks.c: (GST_START_TEST):
4306         * tests/check/generic/states.c: (GST_START_TEST):
4307         * tests/check/gst/gstbin.c: (GST_START_TEST):
4308         * tests/check/gst/gstcaps.c: (GST_START_TEST):
4309         * tests/check/gst/gstelement.c: (GST_START_TEST):
4310         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4311         * tests/check/gst/gstiterator.c: (GST_START_TEST):
4312         * tests/check/gst/gstvalue.c: (GST_START_TEST):
4313         Fix a bunch of leaks. Make generic/sinks.c
4314         use a bit less cpu by slowing the buffer rate
4315         between fakesrc and fakesink.
4316         
4317 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
4318         * gst/gstcaps.c:
4319         * gst/gstelement.c: (gst_element_send_event):
4320         * gst/gstevent.c:
4321         * gst/gstinfo.c:
4322         * gst/gstiterator.c:
4323         * gst/gstiterator.h:
4324         * gst/gstpad.c: (gst_pad_send_event):
4325         * gst/gststructure.c:
4326         * gst/gsturi.c:
4327         * gst/gstutils.c:
4328         * gst/gstvalue.c:
4329         * libs/gst/base/gstadapter.c:
4330           doc fixes, to link to function, just write gst_cool_function(), don't
4331           prefix with '#'
4332
4333 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4334
4335         * plugins/elements/gsttee.c: (gst_tee_do_push),
4336         (gst_tee_handle_buffer):
4337         Always prefer an actual return value from a src
4338         pad in place of NOT_LINKED. This means we return
4339         WRONG_STATE when all src pads are WRONG_STATE
4340         instead of NOT_LINKED.
4341
4342         Lock when replacing the last message to prevent
4343         racing with the get_property method.
4344
4345         Add debug output
4346
4347 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4348
4349         * tests/check/Makefile.am:
4350         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
4351         (main):
4352         Add a very simple check that should have caught the memleak I fixed
4353         last night (if not for the slice allocator hiding it)
4354
4355 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
4356
4357         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4358         (gst_bin_remove_func), (gst_bin_handle_message_func),
4359         (bin_query_duration_fold), (bin_query_generic_fold):
4360         Clean up references to the clock provider when disposed or when
4361         handling a clock-lost message from it.
4362
4363         Unref sinks when performing a query via gst_iterator_fold, as the
4364         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
4365
4366         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
4367         (gst_clock_set_master):
4368         Drop our reference to the master clock, if any, when we are disposed.
4369
4370         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
4371         Chain up in dispose. 
4372
4373 2006-01-26  Wim Taymans  <wim@fluendo.com>
4374
4375         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4376         Add some debugging.
4377
4378 2006-01-26  Julien MOUTTE  <julien@moutte.net>
4379
4380         * plugins/elements/gsttee.c: (gst_tee_do_push),
4381         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
4382         handles pad being NOT_LINKED or in WRONG_STATE.
4383
4384 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4385
4386         * win32/MANIFEST:
4387           more updating
4388
4389 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4390
4391         * win32/MANIFEST:
4392           remove obsolete entry
4393
4394 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
4395
4396         * docs/gst/gstreamer-sections.txt:
4397         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
4398         (gst_bin_iterate_sources), (gst_bin_send_event):
4399         * gst/gstbin.h:
4400         * gst/gstelement.c: (gst_element_send_event):
4401         * gst/gstevent.c:
4402         * gst/gstpad.c: (gst_pad_send_event):
4403           added code for downstream events, reviewed docs in gstevent.c
4404
4405 2006-01-25  Julien MOUTTE  <julien@moutte.net>
4406
4407         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4408         We only query position using the clock in the playing state.
4409         Query peer in the other cases.
4410         * win32/common/config.h: Updates.
4411
4412 2006-01-24  Wim Taymans  <wim@fluendo.com>
4413
4414         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
4415         A clock entry that is scheduled for the exact time of the
4416         clock is still in time.
4417
4418         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4419         (gst_base_sink_do_sync):
4420         Add some more debug info.
4421
4422 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
4423
4424         * win32/vs7:
4425           Add new vs7 project files and solution.
4426
4427 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
4428
4429         * win32/vs7:
4430           all files removed as they were out-dated.
4431
4432 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4433
4434         * docs/random/release:
4435           update notes
4436         * gst/gstbin.c: (gst_bin_init):
4437         * gst/gstbus.c: (gst_bus_new):
4438         * gst/gstbus.h:
4439         * gst/gstpipeline.c: (gst_pipeline_init):
4440           use gst_bus_new(), improve logging, fix docs
4441         * win32/common/config.h:
4442           update for cvs build
4443
4444 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
4445
4446         * autogen.sh:
4447           up required version of automake to 1.7
4448
4449 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
4450
4451         * win32/common/libgstreamer.def:
4452           export gst_buffer_is_metadata_writable
4453
4454 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
4455
4456         * docs/gst/gstreamer-sections.txt:
4457         * gst/gstevent.h:
4458           Add gst_event_replace() (#327001)
4459
4460 2006-01-20  Wim Taymans  <wim@fluendo.com>
4461
4462         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
4463         Make it actually compile too..
4464
4465 2006-01-20  Wim Taymans  <wim@fluendo.com>
4466
4467         * gst/gstcaps.c:
4468         Clarify behaviour of _is_equal() when passing NULL parameters.
4469
4470         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4471         (gst_pad_set_caps):
4472         Cleanups. Don't unref NULL caps.
4473         When setting the same caps, protect caps of the pad with
4474         proper lock.
4475         Use full functionality of _is_equal() when comparing caps.
4476
4477 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
4478
4479         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4480         Don't loop infinitely if there are no buffers to present. Partially
4481         fixes #327197, but collectpads is just broken for reusing elements
4482         to do multiple encodes atm.
4483
4484 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
4485
4486         * tools/gst-inspect.c: (print_element_features):
4487         * tools/gst-xmlinspect.c: (main):
4488         URL_HANDLER is not a plugin feature we can search for in
4489         the registry.
4490
4491 2006-01-19  Edward Hervey  <edward@fluendo.com>
4492
4493         * gst/gstelement.c: (gst_element_pads_activate): 
4494         When activating, do src pads first, then sink pads.
4495         When de-activating, do sink pads first, then src pads.
4496
4497 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4498
4499         * docs/gst/gstreamer-sections.txt:
4500         Add gst_index_add_associationv to the docs
4501
4502 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4503
4504         * gst/gstevent.c:
4505           Fix docs typo
4506
4507         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
4508         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
4509           Do some refactoring. Doesn't actually change functionality,
4510           but makes landing the DRAIN event easier later.
4511
4512 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
4513
4514         * docs/pwg/advanced-scheduling.xml:
4515           Update from 0.9.x to 0.10 API and make example a bit
4516           clearer.
4517
4518 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4519
4520         * docs/gst/gstreamer-sections.txt:
4521         Add gst_buffer_(is|make)_metadata_writable methods.
4522
4523 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
4524
4525         * docs/design/part-sparsestreams.txt:
4526         Update sparse streams doc, hopefully for greater clarity
4527
4528 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
4529
4530         * docs/design/part-events.txt:
4531         Remove mention of FILLER events.
4532         Add DRAIN event.
4533
4534         * docs/design/part-sparsestreams.txt:
4535         Write some things about using NEWSEGMENT to keep sparse streams
4536         flowing.
4537
4538 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4539
4540         * gst/gstbin.c: (gst_bin_dispose):
4541           Guard gst_object_unref call against a NULL object (dispose
4542           can theoretically be called multiple times).
4543           
4544 2006-01-18  Wim Taymans  <wim@fluendo.com>
4545
4546         * gst/gstbin.c: (gst_bin_element_set_state):
4547         * gst/gstclock.c: (gst_clock_id_wait):
4548         Added some more debug info.
4549
4550         * libs/gst/base/gstadapter.c:
4551         Added more docs.
4552
4553         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4554         (gst_base_sink_do_sync), (gst_base_sink_chain):
4555         Added some comments.
4556
4557 2006-01-18  Wim Taymans  <wim@fluendo.com>
4558
4559         * tests/check/Makefile.am:
4560         * tests/check/elements/fakesink.c: (chain_async_buffer),
4561         (chain_async), (chain_async_return), (GST_START_TEST),
4562         (fakesink_suite), (main):
4563         Added fakesink test that checks prerolling and clipping
4564         behaviour.
4565
4566         * tests/check/gst/gstutils.c: (GST_START_TEST):
4567         Make check run faster so that buildbots don't timeout.
4568
4569 2006-01-18  Wim Taymans  <wim@fluendo.com>
4570
4571         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4572         (gst_base_sink_do_sync):
4573         Some cleanups.
4574         When the sink finishes blocking on the preroll buffer, it can
4575         immediatly render it instead of rendering when the next buffer
4576         arrives.
4577
4578 2006-01-18  Wim Taymans  <wim@fluendo.com>
4579
4580         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
4581         (gst_base_sink_get_property), (gst_base_sink_do_sync),
4582         (gst_base_sink_chain):
4583         Small cleanups.
4584         GST_ELEMENT_CLOCK and sync are protected with LOCK.
4585         Don't store _last_stop if the buffer is dropped.
4586
4587 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
4588
4589         * plugins/elements/gsttypefindelement.c:
4590         (gst_type_find_element_class_init):
4591           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
4592           object method handler that sets the caps on the pad and we want
4593           that to happen before we emit the signal (fixes e.g. feeding a
4594           plain text file to decodebin).
4595
4596 2006-01-18  Christian Schaller  <Christian@fluendo.com>
4597
4598         * gst/gstplugin.c: Add MPL and Proprietary as license options
4599
4600 2006-01-18  Andy Wingo  <wingo@pobox.com>
4601
4602         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
4603         symbol was exported before, it appears this was just an oversight.
4604         Fixes #168703.
4605         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
4606
4607         * gst/gstindex.c (gst_index_add_associationv): Changed int in
4608         prototype to gint. OK since this prototype was not in the header.
4609
4610 2006-01-17  Andy Wingo  <wingo@pobox.com>
4611
4612         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
4613         registry while we remove plugins.
4614
4615         * tools/gst-inspect.c (print_element_info): Don't unref the
4616         factory arg, that should be the responsibility of whatever code
4617         received the ref. Fixes a double-free when called from
4618         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
4619         (main): Unref the factory if we have one.
4620         (print_element_list): No change -- relies on the
4621         plugin_feature_list_free to free the list of features.
4622
4623 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
4624
4625         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4626         (gst_buffer_make_metadata_writable):
4627         * gst/gstbuffer.h:
4628         * libs/gst/base/gstbasetransform.c:
4629         (gst_base_transform_prepare_output_buf):
4630         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4631         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4632           Replace gst_buffer_(make|is)_metadata_writable patch now
4633           that the release is out.
4634
4635 2006-01-17  Andy Wingo  <wingo@pobox.com>
4636
4637         * gst/gstregistry.c: Reflow design comment. Update so as to speak
4638         in the present tense without reference to versions.
4639
4640         * gst/gstregistry.c (gst_registry_add_plugin)
4641         (gst_registry_remove_plugin, gst_registry_remove_feature)
4642         (gst_registry_find_feature, gst_registry_get_feature_list)
4643         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
4644         (gst_registry_lookup, gst_registry_scan_path)
4645         (_gst_registry_remove_cache_plugins)
4646         (gst_registry_get_feature_list_by_plugin): Add argument
4647         validation.
4648
4649 === release 0.10.2 ===
4650
4651 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
4652
4653         * configure.ac:
4654           releasing 0.10.2, "If man is five"
4655
4656 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4657
4658         * gst/gstbuffer.c:
4659         * gst/gstbuffer.h:
4660         * libs/gst/base/gstbasetransform.c:
4661         (gst_base_transform_prepare_output_buf):
4662         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4663         * tests/check/gst/gstbuffer.c: (gst_test_suite):
4664           Back out patch until after the release.
4665
4666 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4667
4668         * gst/gstminiobject.c:
4669           Spelling fix in docs.
4670         * ChangeLog - remove conflict indicator
4671
4672 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
4673
4674         Reviewed By: Andy Wingo
4675
4676         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
4677         (gst_buffer_make_metadata_writable):
4678         * gst/gstbuffer.h:
4679           Add gst_buffer_(is|make)_metadata_writable as analogues of
4680           gst_buffer_(is|make)_writable.
4681
4682         * libs/gst/base/gstbasetransform.c:
4683         (gst_base_transform_prepare_output_buf):
4684         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4685           Use name gst_buffer_(is|make)_metadata_writable functions.
4686
4687         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4688           Test gst_buffer_(is|make)_metadata_writable
4689         
4690           (Closes: #324162)
4691
4692 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4693
4694         * docs/manual/Makefile.am:
4695           don't do parallel make
4696         * configure.ac:
4697           AC_SUBST HOST_CPU
4698         * win32/common/config.h.in:
4699           add generations for HOST_CPU and GST_MAJORMINOR
4700         * win32/common/config.h:
4701           commit generated result
4702
4703 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
4704
4705         * docs/manual/appendix-integration.xml:
4706           Update GNOME integration section to use gst_init_get_option_group()
4707           instead of the old popt stuff (#322911). Also, GNOME applications
4708           should  now use gconf*sink and gconf*src instead of the old gconf
4709           helper lib we had.
4710
4711 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
4712
4713
4714         * docs/gst/gstreamer-docs.sgml:
4715         * docs/gst/gstreamer-sections.txt:
4716         * docs/libs/gstreamer-libs-sections.txt:
4717           add new API entries to the docs
4718         * libs/gst/controller/Makefile.am:
4719         * libs/gst/controller/gstcontroller.c:
4720         * libs/gst/controller/gstcontroller.h:
4721         * libs/gst/controller/gstcontrollerprivate.h:
4722         * libs/gst/controller/gsthelper.c:
4723         * libs/gst/controller/gstinterpolation.c:
4724           move private structs to private header
4725         * po/README:
4726           gstreamer-0.7 -> gstreamer-0.10
4727         * tests/check/libs/struct_i386.h:
4728           remove private structs
4729
4730 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4731
4732         * plugins/indexers/Makefile.am:
4733           Fixes as part of #317048
4734
4735 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
4736
4737         * plugins/indexers/Makefile.am:
4738           fix #316086 - compilation when mmap is missing
4739
4740 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
4741
4742         * libs/gst/base/gstbasesink.c:
4743           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
4744           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
4745         * win32/common/config.h:
4746           added some defines GST_MAJORMINOR and HOST_CPU
4747         * win32/common/libgstbase.def:
4748         * win32/common/libgstreamer.def:
4749           added some exported functions.
4750
4751 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4752
4753         * libs/gst/controller/gstcontroller.c:
4754         (gst_controlled_property_set_interpolation_mode),
4755         (gst_controlled_property_new):
4756         * libs/gst/controller/gstcontroller.h:
4757         * libs/gst/controller/gstinterpolation.c:
4758         (interpolate_none_get_string_value_array):
4759           make G_TYPE_STRING controlable
4760
4761 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
4762
4763         * tools/README:
4764         * tools/gst-feedback.1.in:
4765         * tools/gst-inspect.1.in:
4766         * tools/gst-launch.1.in:
4767         * tools/gst-md5sum.1.in:
4768         * tools/gst-typefind.1.in:
4769         * tools/gst-xmlinspect.1.in:
4770         * tools/gst-xmllaunch.1.in:
4771           cleanup man-pages, remove reference to gst-register, document env-vars
4772
4773 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
4774
4775         * gst/gstbuffer.c: (gst_buffer_span):
4776           gst_buffer_span should copy the timestamp of the first buffer
4777           if they were both originally overlapping subbuffers of the 
4778           same parent, using the same logic as the 'slow copy' case.
4779
4780 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
4781
4782         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
4783           Need to awaken ALL the pads when we pop a buffer, otherwise
4784           collectpads only works when there is 2 input streams.
4785
4786 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
4787
4788         * docs/random/ensonic/media-device-daemon.txt:
4789           more ideas (dbus)
4790         * gst/gstbuffer.c:
4791           fix doc example, add clarification
4792         * tools/gst-launch.1.in:
4793           add initial info about GST_PLUGIN_PATH, needs more work
4794
4795 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
4796
4797         * docs/manual/basics-bins.xml:
4798         * docs/manual/basics-elements.xml:
4799         * docs/manual/intro-basics.xml:
4800           Some more minor docs additions and updates.
4801
4802 2006-01-11  Wim Taymans  <wim@fluendo.com>
4803
4804         * docs/manual/basics-bins.xml:
4805         * docs/manual/basics-elements.xml:
4806         Some small fixes as pointed out by Ser-ver on IRC.
4807
4808 2006-01-10  Edward Hervey  <edward@fluendo.com>
4809
4810         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4811         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
4812         the single-segment mode.
4813
4814 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
4815
4816         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4817
4818         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
4819         (gst_base_src_perform_seek), (gst_base_src_send_event),
4820         (gst_base_src_set_property), (gst_base_src_get_property),
4821         (gst_base_src_loop), (gst_base_src_start),
4822         (gst_base_src_activate_push):
4823         * libs/gst/base/gstbasesrc.h:
4824           Name (private) union; makes Sun's Forte compiler happy (#324900).
4825
4826 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * README:
4829           gst-register is gone.
4830
4831 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
4832
4833         * gst/gstvalue.c: (_gst_value_initialize):
4834           make the G_TYPE_DATE instantiation work if debug is disabled
4835
4836 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * gst/gstmessage.c: (gst_message_parse_tag),
4839         (gst_message_parse_error), (gst_message_parse_warning):
4840           Don't crash when return location for error/warning debug
4841           string is NULL; add fact that return locations can be
4842           NULL to docs where appropriate.
4843
4844 2006-01-05  Wim Taymans  <wim@fluendo.com>
4845
4846         * gst/gstplugin.c: (gst_plugin_load_file):
4847         Replace strdup by g_strdup.
4848
4849 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4850
4851         * docs/pwg/advanced-types.xml:
4852           fix doc borkage
4853
4854 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         submitted by: Abel Cheung
4857
4858         * po/LINGUAS:
4859         * po/zh_TW.po:
4860           Added Chinese (traditional) translation
4861
4862 2006-01-04  Wim Taymans  <wim@fluendo.com>
4863
4864         * docs/manual/basics-pads.xml:
4865         * docs/plugins/Makefile.am:
4866         * docs/plugins/gstreamer-plugins-docs.sgml:
4867         * docs/plugins/gstreamer-plugins-sections.txt:
4868         * docs/pwg/advanced-clock.xml:
4869         * docs/pwg/advanced-scheduling.xml:
4870         * docs/pwg/advanced-types.xml:
4871         * plugins/elements/gstfdsink.c:
4872         * plugins/elements/gstfdsrc.c:
4873         * plugins/elements/gstfdsrc.h:
4874         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4875         * plugins/elements/gstidentity.h:
4876         * plugins/elements/gstqueue.h:
4877         * plugins/elements/gsttee.c:
4878         * plugins/elements/gsttee.h:
4879         * plugins/elements/gsttypefindelement.c:
4880         (gst_type_find_element_class_init):
4881         * plugins/elements/gsttypefindelement.h:
4882         Small updates to various docs.
4883         Added core plugins to docs.
4884
4885 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4886
4887         * common/gst.supp:
4888           add a suppression for liboil's uninitialized variable
4889
4890 2006-01-02  James Livingston  <jrl at ids dot org dot au>
4891
4892         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4893
4894         * gst/gstutils.h:
4895           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4896           macro, so that gcc doesn't complain if the -Wmissing-prototypes
4897           compiler switch is being used (#325429).
4898
4899 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
4900
4901         * gst/gstbin.c: (gst_bin_query):
4902           Disable duration query caching in bins until it gets
4903           fixed (see #324807).
4904
4905 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4906
4907         * tools/gst-inspect.c: (print_element_properties_info):
4908           Handle properties of POINTER and BOXED type.
4909
4910 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4911
4912         * gst/gst.c: (init_post):
4913           Init tags stuff and some other things before loading
4914           any static plugins (there may be other static plugins
4915           than just the GStreamer ones, and they may want to
4916           register their own tags or formats or whatever, and
4917           preferably without segfaulting).
4918
4919         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4920           Print at least a warning in the debug logs if we drop a
4921           query just because we don't know how to adjust the value
4922           in the particular format.
4923
4924 2005-12-24  David Schleef  <ds@schleef.org>
4925
4926         * tools/gstreamer-completion:
4927           Replacement for gst-complete written in sh and sed.  Only
4928           completes names of features, but that's 90% of what I want
4929           it for.  Properties are not available in registry.xml.  (Maybe
4930           they should be...)
4931
4932 === release 0.10.1 ===
4933
4934 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4935
4936         * configure.ac:
4937           releasing 0.10.1, "Nollaig chridheil"
4938
4939 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
4940
4941         * docs/faq/cvs.xml:
4942           Add missing quote, should be make ERROR_CFLAGS="".
4943
4944 2005-12-20  Wim Taymans  <wim@fluendo.com>
4945
4946         * docs/design/part-trickmodes.txt:
4947         More documentation on trickmodes.
4948
4949 2005-12-20  Edward Hervey  <edward@fluendo.com>
4950
4951         * gst/gstcaps.c: (gst_static_caps_get_type):
4952         * gst/gstcaps.h:
4953           API addition: GST_TYPE_STATIC_CAPS
4954         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4955         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4956         * gst/gstpadtemplate.h:
4957           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4958         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4959         bindings.
4960
4961 2005-12-18  Wim Taymans  <wim@fluendo.com>
4962
4963         * libs/gst/base/gstadapter.c:
4964         * libs/gst/base/gstadapter.h:
4965         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4966         (gst_base_sink_get_position):
4967         * libs/gst/base/gstbasesink.h:
4968         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4969         (gst_base_src_default_query), (gst_base_src_default_do_seek),
4970         (gst_base_src_do_seek), (gst_base_src_perform_seek),
4971         (gst_base_src_send_event), (gst_base_src_update_length),
4972         (gst_base_src_get_range), (gst_base_src_loop),
4973         (gst_base_src_start):
4974         * libs/gst/base/gstbasesrc.h:
4975         * libs/gst/base/gstbasetransform.h:
4976         * libs/gst/base/gstcollectpads.h:
4977         * libs/gst/base/gstpushsrc.c:
4978         * libs/gst/base/gstpushsrc.h:
4979         * libs/gst/dataprotocol/dataprotocol.c:
4980         * libs/gst/dataprotocol/dataprotocol.h:
4981         * libs/gst/net/gstnetclientclock.h:
4982         * libs/gst/net/gstnettimeprovider.h:
4983         Documentation updates.
4984
4985 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4986
4987         * docs/manual/basics-helloworld.xml:
4988           Remove superfluous closing bracket in helloworld example.
4989
4990 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4991
4992         * tools/gst-launch.1.in:
4993           Update gst-launch man page; add a section with useful
4994           environment variables. Fixes #323882.
4995
4996 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
4997
4998         * gst/gst.c:
4999         * gst/gst_private.h:
5000           change some char* into char[]
5001
5002 2005-12-16  Wim Taymans  <wim@fluendo.com>
5003
5004         * gst/gstregistryxml.c: (load_feature):
5005         Cleanups.
5006         Don't use g_object_unref on GstObjects so that we avoid
5007         leaks on unsafe glibs.
5008
5009 2005-12-16  Wim Taymans  <wim@fluendo.com>
5010
5011         * gst/gstbin.c: (gst_bin_recalc_state):
5012         Small doc updates.
5013
5014 2005-12-16  Wim Taymans  <wim@fluendo.com>
5015
5016         * common/check.mak:
5017         Added make forever target for check.
5018
5019 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
5020
5021         * gst/gst.c: (init_post):
5022           make the registry cache file HOST_CPU-dependent
5023
5024 2005-12-16  Andy Wingo  <wingo@pobox.com>
5025
5026         * plugins/elements/gstbufferstore.c
5027         (gst_buffer_store_cleared_func): Pay attention to g_list_append
5028         return value.
5029
5030         * tests/check/gst/gstobject.c
5031         (test_fake_object_name_threaded_unique): Pay attention to
5032         g_list_sort return value.
5033
5034 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5035
5036         * tools/gst-feedback-m.m:
5037           Update for 0.9/0.10 (fixes #323870).
5038
5039 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5042           Fix lcopy for mini objects, the mini object needs to be ref'ed.
5043           
5044         * tests/check/gst/gstminiobject.c: (my_foo_init),
5045         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5046         (test_value_collection), (gst_mini_object_suite):
5047           Add test to ensure refcounts end up as expected when passing
5048           GstMiniObjects through g_object_get() and g_object_set().
5049
5050 2005-12-14  Julien MOUTTE  <julien@moutte.net>
5051
5052         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5053         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5054         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5055         of collectpads. This version removes a lot of races without
5056         touching API/ABI. Yay !
5057
5058 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
5059
5060         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5061           Don't allow activation of a srcpad in pull_range if it has no
5062           getrange function.
5063           Change some debug statements to be a little clearer
5064
5065         * plugins/elements/gsttypefindelement.c:
5066         (gst_type_find_handle_src_query):
5067           Check that we have a peer before executing queries thereupon.
5068
5069         * tests/examples/metadata/read-metadata.c: (message_loop):
5070           Use gst_bus_pop instead of gst_bus_poll when we just want it to
5071           immediately return us any available message with 0 timeout.
5072
5073 2005-12-12  Michael Smith  <msmith@fluendo.com>
5074
5075         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5076           Don't unref factories after calling them.
5077         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5078         * plugins/elements/gsttypefindelement.c:
5079         (gst_type_find_element_chain):
5080           Free lists of factories after using them. Fixing typefinding memory
5081           leaks.
5082
5083 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5084
5085         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5086         (gst_plugin_feature_load):
5087           more meaningful debug output
5088         * configure.ac:
5089         * tests/Makefile.am:
5090         * tests/old/examples/Makefile.am:
5091           make make distcheck happy again
5092
5093 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5096           Catch the special case where we are operating chain-based,
5097           but the downstream peer pad has no chain function. Emit a
5098           custom error message in this case instead of letting the
5099           core generate one implying that this is some sort of core
5100           bug. It's not, it just means that whatever got plugged
5101           into the pipeline downstream when we announced the type
5102           can only operate pull-based, while our source can only
5103           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
5104           Error string has not been marked for translation yet, as
5105           it probably needs some more work first.
5106
5107         (gst_type_find_element_get_best_possibility):
5108           Add helper function to find the best of all available
5109           found possibilities that qualify given the min. threshold.
5110
5111         (gst_type_find_element_handle_event):
5112           Fix the case where we get an EOS while still in TYPEFIND
5113           mode (we want to chose the best of all possible types,
5114           not just the first type that happens to be in our unsorted
5115           list of possible types).
5116
5117         (gst_type_find_element_chain):
5118           Make sure we return GST_FLOW_ERROR when we errored out
5119           in stop_typefinding(); also, don't just find the best of
5120           all found type entries and then use the last examined
5121           type entry, but actually use the best entry.
5122
5123 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5124
5125         * tests/examples/typefind/typefind.c: (type_found):
5126         * tests/examples/xml/runxml.c: (xml_loaded):
5127           More gcc4 fixes and a mem leak fix.
5128
5129 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5130
5131         * tests/examples/xml/createxml.c: (object_saved):
5132           gcc 4 fixes
5133
5134 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5135
5136         * tests/Makefile.am:
5137           enable the examples even more
5138
5139 2005-12-12  Andy Wingo  <wingo@pobox.com>
5140
5141         * libs/gst/net/gstnettimeprovider.c
5142         (gst_net_time_provider_class_init, gst_net_time_provider_init)
5143         (gst_net_time_provider_set_property)
5144         (gst_net_time_provider_get_property):
5145         API addition: Export "active" as a GObject property.
5146         (gst_net_time_provider_thread): Only respond to time queries if
5147         the time provider is active.
5148
5149         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
5150         NetTimeProvider, preserving binary compat.
5151
5152 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5153
5154         * tests/examples/controller/audio-example.c: (main):
5155         * tests/examples/launch/Makefile.am:
5156           convert comments again
5157
5158 2005-12-12  Wim Taymans  <wim@fluendo.com>
5159
5160         * libs/gst/base/gstpushsrc.c:
5161         Fix typo.
5162
5163 2005-12-12  Wim Taymans  <wim@fluendo.com>
5164
5165         * docs/libs/gstreamer-libs-sections.txt:
5166         Added new symbol to docs.
5167
5168         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5169         (gst_base_src_init), (gst_base_src_set_format),
5170         (gst_base_src_default_query), (gst_base_src_query),
5171         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
5172         (gst_base_src_perform_seek), (gst_base_src_send_event),
5173         (gst_base_src_default_event), (gst_base_src_event_handler),
5174         (gst_base_src_set_property), (gst_base_src_get_property),
5175         (gst_base_src_wait), (gst_base_src_do_sync),
5176         (gst_base_src_update_length), (gst_base_src_get_range),
5177         (gst_base_src_check_get_range), (gst_base_src_loop),
5178         (gst_base_src_default_negotiate), (gst_base_src_start),
5179         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5180         (gst_base_src_change_state):
5181         * libs/gst/base/gstbasesrc.h:
5182         Implement seeking to other formats than _BYTES.
5183         Implement more seeking methods correctly.
5184         Doc updates.
5185         Added query vmethod.
5186         Added do_seek vmethod to make life easier for subclasses
5187         when seeking.
5188         API addition: gst_base_src_set_format()
5189
5190 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5191
5192         * tests/examples/Makefile.am:
5193           added that too
5194
5195 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
5196
5197         * configure.ac:
5198         * docs/random/ensonic/media-device-daemon.txt:
5199         * tests/examples/controller/.cvsignore:
5200         * tests/examples/controller/Makefile.am:
5201         * tests/examples/controller/audio-example.c: (main):
5202         * tests/examples/helloworld/.cvsignore:
5203         * tests/examples/helloworld/Makefile.am:
5204         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
5205         * tests/examples/launch/.cvsignore:
5206         * tests/examples/launch/Makefile.am:
5207         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
5208         * tests/examples/metadata/.cvsignore:
5209         * tests/examples/metadata/Makefile.am:
5210         * tests/examples/metadata/read-metadata.c: (message_loop),
5211         (make_pipeline), (print_tag), (main):
5212         * tests/examples/queue/.cvsignore:
5213         * tests/examples/queue/Makefile.am:
5214         * tests/examples/queue/queue.c: (event_loop), (main):
5215         * tests/examples/typefind/.cvsignore:
5216         * tests/examples/typefind/Makefile.am:
5217         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
5218         (main):
5219         * tests/examples/xml/.cvsignore:
5220         * tests/examples/xml/Makefile.am:
5221         * tests/examples/xml/createxml.c: (object_saved), (main):
5222         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
5223         * tests/old/examples/Makefile.am:
5224         * tests/old/examples/TODO:
5225         * tests/old/examples/controller/.cvsignore:
5226         * tests/old/examples/controller/Makefile.am:
5227         * tests/old/examples/controller/audio-example.c:
5228         * tests/old/examples/helloworld/.cvsignore:
5229         * tests/old/examples/helloworld/Makefile.am:
5230         * tests/old/examples/helloworld/helloworld.c:
5231         * tests/old/examples/launch/.cvsignore:
5232         * tests/old/examples/launch/Makefile.am:
5233         * tests/old/examples/launch/mp3parselaunch.c:
5234         * tests/old/examples/launch/mp3play:
5235         * tests/old/examples/manual/Makefile.am:
5236         * tests/old/examples/metadata/Makefile.am:
5237         * tests/old/examples/metadata/read-metadata.c:
5238         * tests/old/examples/queue/.cvsignore:
5239         * tests/old/examples/queue/Makefile.am:
5240         * tests/old/examples/queue/queue.c:
5241         * tests/old/examples/typefind/.cvsignore:
5242         * tests/old/examples/typefind/Makefile.am:
5243         * tests/old/examples/typefind/typefind.c:
5244         * tests/old/examples/xml/.cvsignore:
5245         * tests/old/examples/xml/Makefile.am:
5246         * tests/old/examples/xml/createxml.c:
5247         * tests/old/examples/xml/runxml.c:
5248           applied some simple fixing to some examples
5249           re-enabled the working examples
5250
5251 2005-12-12  Wim Taymans  <wim@fluendo.com>
5252
5253         * gst/gstsegment.c: (gst_segment_init),
5254         (gst_segment_set_last_stop), (gst_segment_set_seek),
5255         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
5256         (gst_segment_to_running_time):
5257         Added more documentation.
5258         Make sure the last_pos value is updated properly.
5259         Make sure to_stream_time and to_running_time don't
5260         operate on wrong values.
5261
5262         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5263         Update check.
5264
5265 2005-12-12  Michael Smith  <msmith@fluendo.com>
5266
5267         * plugins/elements/gsttypefindelement.c: (free_entry),
5268         (gst_type_find_element_chain):
5269           Now that we're not leaking factories, make sure we keep references
5270           to them while we need them.
5271
5272 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5273
5274         * tests/check/gst/struct_i386.h:
5275           ifdef out the XML structs
5276
5277 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
5278
5279         * gst/gstvalue.c: (gst_value_transform_double_fraction):
5280           floor is not needed, F is always positive; this obviates the
5281           need for adding -lm when building without libxml
5282
5283 2005-12-12  Wim Taymans  <wim@fluendo.com>
5284
5285         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5286         Take current playback rate into account when reporting
5287         the position.
5288
5289 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5290
5291         * docs/manual/mime-world.fig:
5292           Let's try this again, this time with a file that is
5293           actually in XFig format.
5294
5295 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5296
5297         * docs/manual/mime-world.fig:
5298           Add audioconvert element to diagram so that it
5299           matches the text and the code (fixes #319526).
5300
5301 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5302
5303         * docs/pwg/building-chainfn.xml:
5304         * docs/pwg/building-pads.xml:
5305         * docs/pwg/building-state.xml:
5306         * docs/pwg/other-source.xml:
5307           Update state change stuff for 0.10 (fixes #322969).
5308
5309 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * docs/manual/advanced-dataaccess.xml:
5312         * docs/manual/appendix-checklist.xml:
5313         * docs/manual/appendix-programs.xml:
5314         * docs/manual/basics-pads.xml:
5315         * docs/manual/highlevel-components.xml:
5316         * docs/manual/manual.xml:
5317           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
5318           add converters in front of pipelines; remove curly
5319           brackets for threads stuff, they no longer exist; use
5320           GST_TYPE_FRACTION for framerates; update some pieces of
5321           code to 0.10, but there's plenty more to do.
5322
5323         * docs/manual/appendix-porting.xml:
5324           Expand on asynchroneous state changes; s/0.9/0.10/;
5325           mention disappearance of gst_init_get_popt_table()
5326           (fixes #322916).
5327
5328 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5329
5330         * docs/faq/using.xml:
5331           Spider no longer exists, and neither does gst-launch-ext.
5332           Update examples to use decodebin and playbin and put
5333           converters in front of sinks (fixes #323726).
5334
5335 2005-12-09  Michael Smith  <msmith@fluendo.com>
5336
5337         * plugins/elements/gsttypefindelement.c: (find_peek),
5338         (gst_type_find_element_chain):
5339           Fix leaking element factories in typefinding.
5340           Fix problem where we forgot about a probable type on non-seekable
5341           files, and thus later mis-typefound it.
5342
5343 2005-12-09  Michael Smith  <msmith@fluendo.com>
5344
5345         * common/m4/gst-makecontext.m4:
5346         * common/m4/gst-mcsc.m4:
5347         * configure.ac:
5348         * win32/common/config.h:
5349         * win32/common/config.h.in:
5350           Remove makecontext stuff; not used in 0.10 and causes problems on
5351           HPUX according to bug #322441
5352
5353 2005-12-07  Wim Taymans  <wim@fluendo.com>
5354
5355         * tests/check/Makefile.am:
5356         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
5357         (main):
5358         * tests/check/libs/struct_i386.h:
5359         Added ABI check for libs
5360
5361 2005-12-07  Wim Taymans  <wim@fluendo.com>
5362
5363         * tests/check/Makefile.am:
5364         And add the struct_i386.h to dist.
5365
5366 2005-12-07  Wim Taymans  <wim@fluendo.com>
5367
5368         * tests/check/Makefile.am:
5369         * tests/check/gst/.cvsignore:
5370         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
5371         (main):
5372         * tests/check/gst/struct_i386.h:
5373         Added check for ABI compatibility.
5374
5375 2005-12-07  Wim Taymans  <wim@fluendo.com>
5376
5377         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5378         (gst_fake_src_get_times), (gst_fake_src_create):
5379         Fix broken sync option, fixes #323259
5380
5381 2005-12-07  Wim Taymans  <wim@fluendo.com>
5382
5383         * gst/gstbuffer.c:
5384         Small docs update.
5385
5386         * gst/gstcaps.c: (gst_caps_is_equal):
5387         Don't assert on NULL <--> X. Fixes #323260
5388
5389         * gst/gstminiobject.c: (gst_mini_object_replace):
5390         If we're doing atomic operations, we might just as well use
5391         the proper way to get an atomic pointer.
5392
5393         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5394         Clean up debugging.
5395
5396 2005-12-07  Michael Smith  <msmith@fluendo.com>
5397
5398         * gst/parse/grammar.y:
5399           Remove handling of { } for threads.
5400
5401 2005-12-06  David Schleef  <ds@schleef.org>
5402
5403         * libs/gst/base/gstbasetransform.c: speling fix.
5404
5405 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5406
5407         * docs/libs/tmpl/gstdataprotocol.sgml:
5408         * docs/random/omega/testing/gstobject.c:
5409         * gst/gst.c:
5410         * gst/gstclock.c:
5411         * gst/gstelement.c:
5412         * gst/gstelementfactory.c:
5413         * gst/gsterror.c:
5414         * gst/gstevent.c:
5415         * gst/gstghostpad.c:
5416         * gst/gstinfo.c:
5417         * gst/gstpadtemplate.c:
5418         * gst/gstregistryxml.c:
5419         * gst/gsttaglist.c:
5420         * gst/gsttagsetter.c:
5421         * gst/gsttypefind.c:
5422         * gst/gstvalue.c:
5423         * libs/gst/base/gstbasesrc.c:
5424         * libs/gst/net/gstnetclientclock.c:
5425         * libs/gst/net/gstnettimeprovider.c:
5426         * plugins/elements/gstfakesrc.c:
5427         * plugins/elements/gstfdsrc.c:
5428         * plugins/elements/gstfilesrc.c:
5429         * plugins/elements/gstidentity.c:
5430         * plugins/elements/gstqueue.c:
5431         * plugins/elements/gsttypefindelement.c:
5432         * plugins/indexers/gstfileindex.c:
5433         * plugins/indexers/gstmemindex.c:
5434         * tests/check/gst/gsttag.c:
5435         * tests/old/examples/cutter/cutter.c:
5436         * tests/old/examples/mixer/mixer.c:
5437         * tests/old/examples/xml/runxml.c: (main):
5438         * tests/old/testsuite/caps/normalisation.c:
5439         * tests/old/testsuite/debug/global.c:
5440         * tests/old/testsuite/parse/parse1.c:
5441         * tools/gst-xmlinspect.c:
5442         * win32/common/dirent.c:
5443           expand tabs
5444
5445 === release 0.10.0 ===
5446
5447 2005-12-05   <thomas (at) apestaart (dot) org>
5448
5449         * configure.ac:
5450           releasing 0.10.0, "Maroilles"
5451
5452 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5453
5454         submitted by: Funda Wang <fundawang@linux.net.cn>
5455
5456         * po/LINGUAS:
5457         * po/zh_CN.po:
5458           added Chinese (Traditional) translation
5459
5460 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5461
5462         * docs/gst/gstreamer-sections.txt:
5463         * docs/libs/tmpl/gstdataprotocol.sgml:
5464         * docs/random/thomasvs/TODO:
5465         * gst/gstutils.c:
5466         * gst/gstutils.h:
5467           fix docs
5468
5469 2005-12-05  Andy Wingo  <wingo@pobox.com>
5470
5471         patch by: Wim Taymans <wim@fluendo.com>
5472
5473         * libs/gst/base/gstbasetransform.c
5474         (gst_base_transform_prepare_output_buf)
5475         (gst_base_transform_buffer_alloc):
5476         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
5477         alloc_buffer_and_set_caps.
5478
5479         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
5480         set_caps on the source pad.
5481         (gst_pad_alloc_buffer_and_set_caps): New function, does what
5482         alloc_buffer used to do. Fixes #322874.
5483
5484         * docs/gst/gstreamer-sections.txt: 
5485         * docs/design/part-negotiation.txt: 
5486         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
5487         changes.
5488
5489 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
5490
5491         patch by: Sebastien Moutte
5492
5493         * win32/MANIFEST:
5494         * win32/common/config.h.in:
5495         * win32/vs6/libgstcontroller.dsp:
5496           win32 build fixes
5497
5498 2005-12-05  Wim Taymans  <wim@fluendo.com>
5499
5500         * gst/gstcaps.c: (gst_caps_is_equal):
5501         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5502         (gst_fake_src_create):
5503         Back out previous code changes, leave doc updates, file bugs 
5504         instead. 
5505
5506 2005-12-05  Wim Taymans  <wim@fluendo.com>
5507
5508         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
5509         (gst_fake_src_get_times), (gst_fake_src_create):
5510         * plugins/elements/gstfakesrc.h:
5511         Fix broken sync code.
5512
5513 2005-12-05  Wim Taymans  <wim@fluendo.com>
5514
5515         * gst/gstcaps.c: (gst_caps_is_equal):
5516         Comparing NULL against !NULL yields different caps, not a
5517         failure.
5518
5519 2005-12-05  Wim Taymans  <wim@fluendo.com>
5520
5521         * gst/gstpipeline.c:
5522         Fix small typo in docs.
5523
5524 2005-12-05  Andy Wingo  <wingo@pobox.com>
5525
5526         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
5527
5528         * gst/gst.c (init_post): remove hard-coded 0.9 location for
5529         registries/plugins with a MAJORMINOR one.
5530         (plugin_desc): Rename library from gstcoreleements to
5531         staticelements. Fixes #323222.
5532
5533 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
5534
5535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
5536           Change debug category to 'collectpads' from 'collect_pads'
5537           (fixes #323250).
5538
5539 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5540
5541         patch by: Sebastien Moutte
5542
5543         * libs/gst/controller/gstinterpolation.c:
5544           use convert function for uint64/double
5545         * win32/vs6/libgstcontroller.dsp:
5546           link to GLib
5547
5548 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
5549
5550         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
5551         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
5552         * gst/gstutils.h:
5553         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5554           add tests that seem to show that the guint64/gdouble conversions
5555           are correct.
5556
5557 2005-12-02  Wim Taymans  <wim@fluendo.com>
5558
5559         * gst/gstregistry.c: (gst_registry_add_path):
5560         * gst/gstregistry.h:
5561         * gst/gstregistryxml.c:
5562         Fix docs again.
5563
5564 2005-12-02  Wim Taymans  <wim@fluendo.com>
5565
5566         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5567         (gst_util_uint64_scale_int):
5568         Small cleanup.
5569
5570         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5571         Add debug log line.
5572
5573         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
5574         Add FIXME.
5575
5576 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5577
5578         * win32/MANIFEST:
5579         * win32/common/config.h:
5580         * win32/vs6/gstreamer.dsw:
5581         * win32/vs6/libgstcoreelements.dsp:
5582         * win32/vs6/libgstelements.dsp:
5583           renamed core elements plugin
5584
5585 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
5586
5587         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
5588         (get_candidates):
5589           do piece-wise major/minor comparison so 0.9 < 0.10
5590           also allow .exe extensions for tools
5591
5592 2005-12-02  Michael Smith  <msmith@fluendo.com>
5593
5594         * gst/gst.c:
5595           Escape a % to make gtkdoc happier; bug 322958.
5596
5597 === release 0.9.7 ===
5598
5599 2005-12-01   <thomas (at) apestaart (dot) org>
5600
5601         * configure.ac:
5602           releasing 0.9.7, "My Dog Has No Nose"
5603
5604 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5605
5606         * common/gst-xmlinspect.py:
5607         * configure.ac:
5608         * docs/libs/tmpl/gstdataprotocol.sgml:
5609         * docs/random/release:
5610         * po/af.po:
5611         * po/az.po:
5612         * po/bg.po:
5613         * po/ca.po:
5614         * po/cs.po:
5615         * po/de.po:
5616         * po/en_GB.po:
5617         * po/fr.po:
5618         * po/it.po:
5619         * po/nb.po:
5620         * po/nl.po:
5621         * po/ru.po:
5622         * po/sq.po:
5623         * po/sr.po:
5624         * po/sv.po:
5625         * po/tr.po:
5626         * po/uk.po:
5627         * po/vi.po:
5628         * win32/common/config.h:
5629         * win32/common/config.h.in:
5630         * win32/vs6/gst_inspect.dsp:
5631         * win32/vs6/gst_launch.dsp:
5632         * win32/vs6/libgstbase.dsp:
5633         * win32/vs6/libgstelements.dsp:
5634         * win32/vs6/libgstreamer.dsp:
5635         * win32/vs7/GStreamer.vcproj:
5636         * win32/vs7/gst-inspect.vcproj:
5637         * win32/vs7/gst-launch.vcproj:
5638         * win32/vs7/libgstbase.vcproj:
5639           bump GST_MAJORMINOR to 0.10
5640           reset libtool version
5641
5642 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5643
5644         * po/LINGUAS:
5645         * po/bg.po:
5646           Added Bulgarian translation by (Alexander Shopov)
5647
5648 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5649
5650         * tests/check/gst/gstplugin.c:
5651           fix test
5652
5653 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5654
5655         * common/gst-xmlinspect.py:
5656         * common/gtk-doc-plugins.mak:
5657         * configure.ac:
5658         * docs/Makefile.am:
5659         * docs/gst/Makefile.am:
5660         * docs/gst/gstreamer-docs.sgml:
5661         * docs/gst/gstreamer-sections.txt:
5662         * docs/gst/gstreamer.types:
5663         * docs/gst/gstreamer.types.in:
5664         * docs/plugins/Makefile.am:
5665         * docs/plugins/gstreamer-plugins-docs.sgml:
5666         * docs/plugins/gstreamer-plugins-sections.txt:
5667         * docs/plugins/gstreamer-plugins.types:
5668         * docs/plugins/inspect.stamp:
5669         * docs/plugins/inspect/plugin-coreelements.xml:
5670         * docs/plugins/inspect/plugin-coreindexers.xml:
5671         * docs/plugins/scanobj-build.stamp:
5672         * gstreamer.spec.in:
5673         * plugins/elements/Makefile.am:
5674         * plugins/elements/gstelements.c:
5675         * plugins/elements/gstfakesink.c:
5676         * plugins/elements/gstfakesrc.c:
5677         * plugins/elements/gstfilesink.c:
5678         * plugins/elements/gstfilesrc.c:
5679         * plugins/elements/gstqueue.c:
5680         * plugins/indexers/Makefile.am:
5681         * plugins/indexers/gstindexers.c:
5682           document core plugins in a separate document just like all the
5683           others
5684           rename these plugins to something starting with core
5685
5686 2005-12-01  Andy Wingo  <wingo@pobox.com>
5687
5688         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
5689         padding here before, but it missed the commit.
5690
5691 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5692
5693         * libs/gst/controller/gstinterpolation.c:
5694           whitespace prices have crashed, we should feel free to use some now
5695           use gst_guint64_to_gdouble
5696
5697 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5698
5699         * libs/gst/controller/gstcontroller.c:
5700         * libs/gst/controller/gsthelper.c:
5701         * libs/gst/controller/gstinterpolation.c:
5702         * libs/gst/controller/lib.c:
5703           wrap config.h include
5704
5705 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5706
5707         * docs/gst/gstreamer-sections.txt:
5708           update docs
5709
5710 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5711
5712         * plugins/elements/gstelements.c:
5713         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
5714         (gst_fd_sink__class_init), (gst_fd_sink__init),
5715         (gst_fd_sink__chain), (gst_fd_sink__set_property),
5716         (gst_fd_sink__get_property):
5717         * plugins/elements/gstfdsink.h:
5718         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
5719         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
5720         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
5721         (gst_fd_src_unlock), (gst_fd_src_set_property),
5722         (gst_fd_src_get_property), (gst_fd_src_create),
5723         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
5724         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
5725         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
5726         (gst_fd_src_uri_handler_init):
5727         * plugins/elements/gstfdsrc.h:
5728         * plugins/elements/gstqueue.c: (gst_queue_get_type):
5729           more anal cleanup
5730
5731 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5732
5733         * docs/gst/Makefile.am:
5734         * docs/gst/gstreamer.types.in:
5735         * gst/Makefile.am:
5736           fix the docs build
5737
5738 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5739
5740         * configure.ac:
5741         * gst/Makefile.am:
5742         * gst/gst.c:
5743         * gst/gstplugin.h:
5744         * gst/gstregistry.h:
5745         * tests/benchmarks/complexity.c:
5746         * tests/benchmarks/mass-elements.c:
5747         * tests/check/Makefile.am:
5748         * tools/Makefile.am:
5749         * tools/gst-inspect.c:
5750         * tools/gst-xmlinspect.c:
5751           various fixes to make
5752           --disable-nls --disable-registry --disable-loadsave
5753           --disable-parse --disable-gst-debug
5754           work and get the core .so down to 360444 bytes after stripping
5755
5756 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5757
5758         * Makefile.am:
5759         * configure.ac:
5760           descend into tests
5761         * docs/random/thomasvs/TODO:
5762         * tests/Makefile.am:
5763         * tests/README:
5764           add a README
5765
5766 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5767
5768         * win32/GStreamer.vcproj:
5769         * win32/MANIFEST:
5770         * win32/Makefile:
5771         * win32/Makefile.inspect:
5772         * win32/Makefile.launch:
5773         * win32/Makefile.register:
5774         * win32/README.txt:
5775         * win32/gst-inspect.vcproj:
5776         * win32/gst-launch.vcproj:
5777         * win32/gst-register.vcproj:
5778         * win32/gstelements.vcproj:
5779         * win32/gstgetbits.def:
5780         * win32/gstgetbits.vcproj:
5781         * win32/gstreamer-dbg.def:
5782         * win32/gstreamer.def:
5783         * win32/libgstbase.def:
5784         * win32/libgstbase.vcproj:
5785         * win32/link_oldruntime.c:
5786         * win32/mman.c:
5787         * win32/mman.h:
5788         * win32/mman.inl:
5789         * win32/msvc71.sln:
5790           move even more stuff, win32/ is nice and clean now
5791
5792 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5793
5794         * libs/gst/control/.cvsignore:
5795         * win32/MANIFEST:
5796         * win32/config.h:
5797         * win32/dirent.c:
5798         * win32/dirent.h:
5799         * win32/gstbytestream.def:
5800         * win32/gstbytestream.vcproj:
5801         * win32/gstconfig.h:
5802         * win32/gstenumtypes.c:
5803         * win32/gstenumtypes.h:
5804         * win32/gstoptimalscheduler.vcproj:
5805         * win32/gstversion.h:
5806         * win32/gtchar.h:
5807         * win32/testsuite/bins.vcproj:
5808         * win32/testsuite/bytestream.vcproj:
5809         * win32/testsuite/caps.vcproj:
5810         * win32/testsuite/cleanup.vcproj:
5811         * win32/testsuite/clock.vcproj:
5812         * win32/testsuite/debug.vcproj:
5813         * win32/testsuite/dlopen.vcproj:
5814         * win32/testsuite/dynparams.vcproj:
5815         * win32/testsuite/elements.vcproj:
5816         * win32/testsuite/ghostpads.vcproj:
5817         * win32/testsuite/indexers.vcproj:
5818         * win32/testsuite/negotiation.vcproj:
5819         * win32/testsuite/parse.vcproj:
5820         * win32/testsuite/plugin.vcproj:
5821         * win32/testsuite/refcounting.vcproj:
5822         * win32/testsuite/schedulers.vcproj:
5823         * win32/testsuite/states.vcproj:
5824         * win32/testsuite/tags.vcproj:
5825         * win32/testsuite/threads.vcproj:
5826           remove old win32 stuff that isn't maintained and should be
5827           reorganized
5828
5829 2005-11-30  Andy Wingo  <wingo@pobox.com>
5830
5831         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
5832         loading the gst.interfaces python module bork.
5833
5834         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
5835         available since GLib 2.2. Fixes #318031.
5836
5837 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5838
5839         * Makefile.am:
5840         * check/.cvsignore:
5841         * check/Makefile.am:
5842         * check/elements/.cvsignore:
5843         * check/elements/fakesrc.c:
5844         * check/elements/fdsrc.c:
5845         * check/elements/identity.c:
5846         * check/generic/.cvsignore:
5847         * check/generic/states.c:
5848         * check/gst-libs/.cvsignore:
5849         * check/gst-libs/controller.c:
5850         * check/gst-libs/gdp.c:
5851         * check/gst/.cvsignore:
5852         * check/gst/capslist.h:
5853         * check/gst/gst.c:
5854         * check/gst/gstbin.c:
5855         * check/gst/gstbuffer.c:
5856         * check/gst/gstbus.c:
5857         * check/gst/gstcaps.c:
5858         * check/gst/gstelement.c:
5859         * check/gst/gstevent.c:
5860         * check/gst/gstghostpad.c:
5861         * check/gst/gstiterator.c:
5862         * check/gst/gstmessage.c:
5863         * check/gst/gstminiobject.c:
5864         * check/gst/gstobject.c:
5865         * check/gst/gstpad.c:
5866         * check/gst/gstpipeline.c:
5867         * check/gst/gstplugin.c:
5868         * check/gst/gstsegment.c:
5869         * check/gst/gststructure.c:
5870         * check/gst/gstsystemclock.c:
5871         * check/gst/gsttag.c:
5872         * check/gst/gstutils.c:
5873         * check/gst/gstvalue.c:
5874         * check/net/.cvsignore:
5875         * check/net/gstnetclientclock.c:
5876         * check/net/gstnettimeprovider.c:
5877         * check/pipelines/.cvsignore:
5878         * check/pipelines/cleanup.c:
5879         * check/pipelines/simple_launch_lines.c:
5880         * check/pipelines/stress.c:
5881         * check/states/.cvsignore:
5882         * check/states/sinks.c:
5883         * configure.ac:
5884         * examples/Makefile.am:
5885         * examples/appreader/.cvsignore:
5886         * examples/appreader/Makefile.am:
5887         * examples/appreader/appreader.c:
5888         * examples/controller/.cvsignore:
5889         * examples/controller/Makefile.am:
5890         * examples/controller/audio-example.c:
5891         * examples/cutter/.cvsignore:
5892         * examples/cutter/Makefile.am:
5893         * examples/cutter/cutter.c:
5894         * examples/cutter/cutter.h:
5895         * examples/events/Makefile.am:
5896         * examples/events/seek.c:
5897         * examples/helloworld/.cvsignore:
5898         * examples/helloworld/Makefile.am:
5899         * examples/helloworld/helloworld.c:
5900         * examples/helloworld2/.cvsignore:
5901         * examples/helloworld2/Makefile.am:
5902         * examples/helloworld2/helloworld2.c:
5903         * examples/launch/.cvsignore:
5904         * examples/launch/Makefile.am:
5905         * examples/launch/mp3parselaunch.c:
5906         * examples/launch/mp3play:
5907         * examples/manual/.cvsignore:
5908         * examples/manual/Makefile.am:
5909         * examples/manual/extract.pl:
5910         * examples/metadata/Makefile.am:
5911         * examples/metadata/read-metadata.c:
5912         * examples/mixer/.cvsignore:
5913         * examples/mixer/Makefile.am:
5914         * examples/mixer/mixer.c:
5915         * examples/mixer/mixer.h:
5916         * examples/pingpong/.cvsignore:
5917         * examples/pingpong/Makefile.am:
5918         * examples/pingpong/pingpong.c:
5919         * examples/plugins/.cvsignore:
5920         * examples/plugins/Makefile.am:
5921         * examples/plugins/example.c:
5922         * examples/plugins/example.h:
5923         * examples/pwg/.cvsignore:
5924         * examples/pwg/Makefile.am:
5925         * examples/pwg/extract.pl:
5926         * examples/queue/.cvsignore:
5927         * examples/queue/Makefile.am:
5928         * examples/queue/queue.c:
5929         * examples/queue2/.cvsignore:
5930         * examples/queue2/Makefile.am:
5931         * examples/queue2/queue2.c:
5932         * examples/queue3/.cvsignore:
5933         * examples/queue3/Makefile.am:
5934         * examples/queue3/queue3.c:
5935         * examples/queue4/.cvsignore:
5936         * examples/queue4/Makefile.am:
5937         * examples/queue4/queue4.c:
5938         * examples/retag/.cvsignore:
5939         * examples/retag/Makefile.am:
5940         * examples/retag/retag.c:
5941         * examples/retag/transcode.c:
5942         * examples/thread/.cvsignore:
5943         * examples/thread/Makefile.am:
5944         * examples/thread/thread.c:
5945         * examples/typefind/.cvsignore:
5946         * examples/typefind/Makefile.am:
5947         * examples/typefind/typefind.c:
5948         * examples/xml/.cvsignore:
5949         * examples/xml/Makefile.am:
5950         * examples/xml/createxml.c:
5951         * examples/xml/runxml.c:
5952         * tests/Makefile.am:
5953         * tests/check/Makefile.am:
5954         * testsuite/.cvsignore:
5955         * testsuite/Makefile.am:
5956         * testsuite/Rules:
5957         * testsuite/caps/.cvsignore:
5958         * testsuite/caps/Makefile.am:
5959         * testsuite/caps/app_fixate.c:
5960         * testsuite/caps/audioscale.c:
5961         * testsuite/caps/caps.c:
5962         * testsuite/caps/caps.h:
5963         * testsuite/caps/caps_strings:
5964         * testsuite/caps/compatibility.c:
5965         * testsuite/caps/deserialize.c:
5966         * testsuite/caps/enumcaps.c:
5967         * testsuite/caps/eratosthenes.c:
5968         * testsuite/caps/filtercaps.c:
5969         * testsuite/caps/fixed.c:
5970         * testsuite/caps/fraction-convert.c:
5971         * testsuite/caps/fraction-multiply-and-zero.c:
5972         * testsuite/caps/intersect2.c:
5973         * testsuite/caps/intersection.c:
5974         * testsuite/caps/normalisation.c:
5975         * testsuite/caps/random.c:
5976         * testsuite/caps/renegotiate.c:
5977         * testsuite/caps/sets.c:
5978         * testsuite/caps/simplify.c:
5979         * testsuite/caps/string-conversions.c:
5980         * testsuite/caps/structure.c:
5981         * testsuite/caps/subtract.c:
5982         * testsuite/caps/union.c:
5983         * testsuite/debug/.cvsignore:
5984         * testsuite/debug/Makefile.am:
5985         * testsuite/debug/category.c:
5986         * testsuite/debug/commandline.c:
5987         * testsuite/debug/global.c:
5988         * testsuite/debug/output.c:
5989         * testsuite/debug/printf_extension.c:
5990         * testsuite/dlopen/.cvsignore:
5991         * testsuite/dlopen/Makefile.am:
5992         * testsuite/dlopen/dlopen_gst.c:
5993         * testsuite/dlopen/loadgst.c:
5994         * testsuite/elements/.cvsignore:
5995         * testsuite/elements/Makefile.am:
5996         * testsuite/elements/gst-inspect-check.in:
5997         * testsuite/elements/struct_i386.h:
5998         * testsuite/elements/struct_size.c:
5999         * testsuite/indexers/.cvsignore:
6000         * testsuite/indexers/Makefile.am:
6001         * testsuite/indexers/cache1.c:
6002         * testsuite/indexers/indexdump.c:
6003         * testsuite/parse/.cvsignore:
6004         * testsuite/parse/Makefile.am:
6005         * testsuite/parse/parse1.c:
6006         * testsuite/parse/parse2.c:
6007         * testsuite/plugin/.cvsignore:
6008         * testsuite/plugin/Makefile.am:
6009         * testsuite/plugin/README:
6010         * testsuite/plugin/dynamic.c:
6011         * testsuite/plugin/linked.c:
6012         * testsuite/plugin/loading.c:
6013         * testsuite/plugin/registry.c:
6014         * testsuite/plugin/static.c:
6015         * testsuite/plugin/static2.c:
6016         * testsuite/plugin/testplugin.c:
6017         * testsuite/plugin/testplugin2.c:
6018         * testsuite/plugin/testplugin2_s.c:
6019         * testsuite/plugin/testplugin_s.c:
6020         * testsuite/refcounting/.cvsignore:
6021         * testsuite/refcounting/Makefile.am:
6022         * testsuite/refcounting/bin.c:
6023         * testsuite/refcounting/element.c:
6024         * testsuite/refcounting/element_pad.c:
6025         * testsuite/refcounting/mainloop.c:
6026         * testsuite/refcounting/mem.c:
6027         * testsuite/refcounting/mem.h:
6028         * testsuite/refcounting/object.c:
6029         * testsuite/refcounting/pad.c:
6030         * testsuite/refcounting/sched.c:
6031         * testsuite/refcounting/thread.c:
6032         * testsuite/states/.cvsignore:
6033         * testsuite/states/Makefile.am:
6034         * testsuite/states/bin.c:
6035         * testsuite/states/locked.c:
6036         * testsuite/states/parent.c:
6037         * testsuite/threads/.cvsignore:
6038         * testsuite/threads/159566.c:
6039         * testsuite/threads/159852.c:
6040         * testsuite/threads/Makefile.am:
6041         * testsuite/threads/queue.c:
6042         * testsuite/threads/signals.c:
6043         * testsuite/threads/staticrec.c:
6044         * testsuite/threads/thread.c:
6045         * testsuite/threads/threadb.c:
6046         * testsuite/threads/threadc.c:
6047         * testsuite/threads/threadd.c:
6048         * testsuite/threads/threade.c:
6049         * testsuite/threads/threadf.c:
6050         * testsuite/threads/threadg.c:
6051         * testsuite/threads/threadh.c:
6052         * testsuite/threads/threadi.c:
6053           move all of these under tests
6054
6055 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6056
6057         * configure.ac:
6058         * tests/Makefile.am:
6059           fix distcheck
6060
6061 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6062
6063         * docs/gst/gstreamer-sections.txt:
6064         * tests/sched/.cvsignore:
6065         * tests/sched/Makefile.am:
6066         * tests/sched/cases/(fs-fs).xml:
6067         * tests/sched/cases/(fs-i-fs).xml:
6068         * tests/sched/cases/(fs-i-i-fs).xml:
6069         * tests/sched/cases/(fs-i-q[i-fs]).xml:
6070         * tests/sched/dynamic-pipeline.c:
6071         * tests/sched/interrupt1.c:
6072         * tests/sched/interrupt2.c:
6073         * tests/sched/interrupt3.c:
6074         * tests/sched/runtestcases:
6075         * tests/sched/runxml.c:
6076         * tests/sched/sched-stress.c:
6077         * tests/sched/sort.c:
6078         * tests/sched/testcases:
6079         * tests/sched/testcases1.tc:
6080         * tests/seeking/.cvsignore:
6081         * tests/seeking/Makefile.am:
6082         * tests/seeking/seeking1.c:
6083         * tests/threadstate/.cvsignore:
6084         * tests/threadstate/Makefile.am:
6085         * tests/threadstate/test1.c:
6086         * tests/threadstate/test2.c:
6087         * tests/threadstate/threadstate1.c:
6088         * tests/threadstate/threadstate2.c:
6089         * tests/threadstate/threadstate3.c:
6090         * tests/threadstate/threadstate4.c:
6091         * tests/threadstate/threadstate5.c:
6092           remove obsolete tests
6093         * configure.ac:
6094         * tests/bench-complexity.scm:
6095         * tests/bench-mass_elements.scm:
6096         * tests/complexity.c:
6097         * tests/complexity.gnuplot:
6098         * tests/instantiate/.cvsignore:
6099         * tests/instantiate/Makefile.am:
6100         * tests/instantiate/caps.c:
6101         * tests/mass_elements.c:
6102         * tests/network-clock-utils.scm:
6103         * tests/network-clock.scm:
6104         * tests/plot-data:
6105         First pass at cleaning up tests/ dir before moving the rest
6106         Combined with CVS surgery
6107
6108 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6109
6110         * po/POTFILES.in:
6111           queue has moved, update
6112
6113 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6114
6115         * docs/gst/gstreamer-sections.txt:
6116           remove double entries from the docs
6117         * gst/gst_private.h:
6118         * gst/gstinfo.c: (_gst_debug_init):
6119           remove the THREAD debug category
6120         * gst/Makefile.am:
6121         * gst/gstqueue.c:
6122         * gst/gstqueue.h:
6123         * docs/gst/gstreamer.types:
6124         * plugins/elements/gstqueue.c: (gst_queue_get_type),
6125         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
6126           completely move queue and fix up debugging categories
6127
6128 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6129
6130         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6131           make initialization portable, using LL is not
6132
6133 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6134
6135         * win32/common/gstconfig.h:
6136           add large padding
6137
6138 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6139
6140         * win32/common/libgstreamer.def:
6141           rename symbols; sort base section
6142
6143 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6144
6145         * gst/gstclock.c: (do_linear_regression):
6146           remove crack non-portable handrolled DEBUG macro
6147
6148 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6149
6150         * docs/random/release:
6151           update notes
6152         * win32/common/gstenumtypes.c: (register_gst_object_flags),
6153         (gst_object_flags_get_type), (register_gst_bin_flags),
6154         (gst_bin_flags_get_type), (register_gst_buffer_flag),
6155         (gst_buffer_flag_get_type), (register_gst_bus_flags),
6156         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
6157         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
6158         (gst_caps_flags_get_type), (register_gst_clock_return),
6159         (gst_clock_return_get_type), (register_gst_clock_entry_type),
6160         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
6161         (gst_clock_flags_get_type), (register_gst_state),
6162         (gst_state_get_type), (register_gst_state_change_return),
6163         (gst_state_change_return_get_type), (register_gst_state_change),
6164         (gst_state_change_get_type), (register_gst_element_flags),
6165         (gst_element_flags_get_type), (register_gst_core_error),
6166         (gst_core_error_get_type), (register_gst_library_error),
6167         (gst_library_error_get_type), (register_gst_resource_error),
6168         (gst_resource_error_get_type), (register_gst_stream_error),
6169         (gst_stream_error_get_type), (register_gst_event_type_flags),
6170         (gst_event_type_flags_get_type), (register_gst_event_type),
6171         (gst_event_type_get_type), (register_gst_seek_type),
6172         (gst_seek_type_get_type), (register_gst_seek_flags),
6173         (gst_seek_flags_get_type), (register_gst_format),
6174         (gst_format_get_type), (register_gst_index_certainty),
6175         (gst_index_certainty_get_type), (register_gst_index_entry_type),
6176         (gst_index_entry_type_get_type),
6177         (register_gst_index_lookup_method),
6178         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
6179         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
6180         (gst_index_resolver_method_get_type), (register_gst_index_flags),
6181         (gst_index_flags_get_type), (register_gst_debug_level),
6182         (gst_debug_level_get_type), (register_gst_debug_color_flags),
6183         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
6184         (gst_iterator_result_get_type), (register_gst_iterator_item),
6185         (gst_iterator_item_get_type), (register_gst_message_type),
6186         (gst_message_type_get_type), (register_gst_mini_object_flags),
6187         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
6188         (gst_pad_link_return_get_type), (register_gst_flow_return),
6189         (gst_flow_return_get_type), (register_gst_activate_mode),
6190         (gst_activate_mode_get_type), (register_gst_pad_direction),
6191         (gst_pad_direction_get_type), (register_gst_pad_flags),
6192         (gst_pad_flags_get_type), (register_gst_pad_presence),
6193         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
6194         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
6195         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
6196         (gst_plugin_error_get_type), (register_gst_plugin_flags),
6197         (gst_plugin_flags_get_type), (register_gst_rank),
6198         (gst_rank_get_type), (register_gst_query_type),
6199         (gst_query_type_get_type), (register_gst_tag_merge_mode),
6200         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
6201         (gst_tag_flag_get_type), (register_gst_task_state),
6202         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
6203         (gst_alloc_trace_flags_get_type),
6204         (register_gst_type_find_probability),
6205         (gst_type_find_probability_get_type), (register_gst_uri_type),
6206         (gst_uri_type_get_type), (register_gst_parse_error),
6207         (gst_parse_error_get_type):
6208         * win32/common/gstenumtypes.h:
6209         * win32/common/gstversion.h:
6210           update visual studio generated files
6211
6212 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6213
6214         * win32/vs6/libgstbase.dsp:
6215         * win32/vs6/libgstelements.dsp:
6216           update project files for new locations
6217
6218 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6219
6220         * Makefile.am:
6221           remove some files
6222         * README:
6223           reinstate and update
6224         * DEVEL:
6225         * REQUIREMENTS:
6226           removed
6227         * LICENSE:
6228         * docs/random/LICENSE:
6229           moved to random
6230
6231 2005-11-30  Edward Hervey  <edward@fluendo.com>
6232
6233         * gst/gsttypefind.c: (gst_type_find_register):
6234         * gst/gsttypefind.h:
6235         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
6236         (gst_type_find_factory_dispose):
6237         * gst/gsttypefindfactory.h:
6238         Fix memory leak in GstTypeFindFactory.
6239
6240 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6241
6242         * gst/gst.c:
6243         * plugins/elements/Makefile.am:
6244         * plugins/elements/gstelements.c:
6245         * plugins/elements/gstqueue.c:
6246           move queue from core to the elements plugin
6247
6248 2005-11-29  Andy Wingo  <wingo@pobox.com>
6249
6250         * libs/gst/base/gstbasetransform.h: 
6251         * libs/gst/base/gstbasesrc.h: 
6252         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
6253
6254         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
6255         of pointers by which to pad very extensible base classes (like the
6256         ones in libs/gst/base).
6257
6258 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6259
6260         * docs/gst/gstreamer-docs.sgml:
6261         * docs/gst/gstreamer-sections.txt:
6262         * docs/libs/gstreamer-libs-docs.sgml:
6263         * docs/libs/gstreamer-libs-sections.txt:
6264           moving documentation from core to lib
6265
6266 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6267
6268         * check/Makefile.am:
6269         * configure.ac:
6270         * docs/gst/Makefile.am:
6271         * gst/Makefile.am:
6272         * gst/base/.cvsignore:
6273         * gst/base/Makefile.am:
6274         * gst/base/README:
6275         * gst/base/gstadapter.c:
6276         * gst/base/gstadapter.h:
6277         * gst/base/gstbasesink.c:
6278         * gst/base/gstbasesink.h:
6279         * gst/base/gstbasesrc.c:
6280         * gst/base/gstbasesrc.h:
6281         * gst/base/gstbasetransform.c:
6282         * gst/base/gstbasetransform.h:
6283         * gst/base/gstcollectpads.c:
6284         * gst/base/gstcollectpads.h:
6285         * gst/base/gstpushsrc.c:
6286         * gst/base/gstpushsrc.h:
6287         * gst/base/gsttypefindhelper.c:
6288         * gst/base/gsttypefindhelper.h:
6289         * gst/check/Makefile.am:
6290         * gst/check/gstcheck.c:
6291         * gst/check/gstcheck.h:
6292         * gst/net/Makefile.am:
6293         * gst/net/gstnet.h:
6294         * gst/net/gstnetclientclock.c:
6295         * gst/net/gstnetclientclock.h:
6296         * gst/net/gstnettimepacket.c:
6297         * gst/net/gstnettimepacket.h:
6298         * gst/net/gstnettimeprovider.c:
6299         * gst/net/gstnettimeprovider.h:
6300         * libs/gst/Makefile.am:
6301         * libs/gst/base/Makefile.am:
6302         * libs/gst/base/gstbasetransform.c:
6303         * libs/gst/check/Makefile.am:
6304         * plugins/elements/Makefile.am:
6305         * po/POTFILES.in:
6306           CVS surgery + support to move base, check, and net out of gst
6307           and into libs/gst
6308
6309 2005-11-29  Andy Wingo  <wingo@pobox.com>
6310
6311         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
6312
6313         * gst/gststructure.h (struct _GstStructure): Only one pointer of
6314         padding.
6315
6316         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
6317
6318         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
6319
6320         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
6321
6322         * gst/gstobject.h: (struct _GstObject): Only one pointer of
6323         padding; reduces object size by about 30%. We don't expect
6324         anything else to go into gstobject.
6325
6326         * gst/gstminiobject.h (struct _GstMiniObject)
6327         (struct _GstMiniObjectClass): Only one pointer of padding; the
6328         payload is only a pointer and two ints anyway. For the class there
6329         are only two methods as well.
6330         
6331         * gst/gstelement.h (struct _GstElementClass): Removed
6332         the state_changed signal callback, it is not used.
6333
6334 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6335
6336         * docs/gst/gstreamer.types:
6337           fix includes, though they are a little dinky
6338
6339 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6340
6341         * check/Makefile.am:
6342           look in the right place for elements, a lot more chance of
6343           success
6344         * gst/Makefile.am:
6345           remove indexers and elements subdirs
6346         * plugins/Makefile.am:
6347           make indexers conditional
6348
6349 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6350
6351         * Makefile.am:
6352         * configure.ac:
6353         * plugins/elements/Makefile.am:
6354         * plugins/elements/gstcapsfilter.c:
6355         * plugins/elements/gstfilesink.c:
6356         * plugins/elements/gstfilesrc.c:
6357         * plugins/elements/gstidentity.c:
6358         * plugins/indexers/Makefile.am:
6359           do CVS surgery and related build fixery to move elements
6360           and indexers in a new gstreamer/plugins directory, out of the
6361           gst/ directory
6362
6363 2005-11-29  Andy Wingo  <wingo@pobox.com>
6364
6365         * check/Makefile.am:
6366         * pkgconfig/gstreamer-net-uninstalled.pc.in:
6367         * pkgconfig/gstreamer-net.pc.in:
6368         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
6369         #322257.
6370
6371 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6372
6373         * tools/Makefile.am:
6374         * tools/gst-complete.1.in:
6375         * tools/gst-complete.c:
6376         * tools/gst-compprep.1.in:
6377         * tools/gst-compprep.c:
6378           removing -compprep and -complete
6379
6380 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
6381
6382         * gst/gstevent.c: (gst_event_new_new_segment),
6383         (gst_event_parse_new_segment):
6384         * gst/gstevent.h:
6385           fix #320529 - clean up new_segment API and structure.
6386           Let's hope everyone was using the methods, and not the structure.
6387
6388 2005-11-29  Edward Hervey  <edward@fluendo.com>
6389
6390         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6391         (gst_base_sink_event), (gst_base_sink_do_sync),
6392         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6393         Properly handle non GST_FORMAT_TIME segment
6394         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6395         Properly handle non GST_FORMAT_TIME segment
6396         * gst/gstsegment.c:
6397         This function is valid if the accumulator is 0 and the format
6398         is different from the requested format.
6399         
6400 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6401
6402         * docs/gst/gstreamer-sections.txt:
6403         Add gst_query_new_seeking and gst_query_parse_seeking to the
6404         docs.
6405
6406 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6407
6408         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6409           Treat a pad alloc with new caps the same as if we were not
6410           negotiated, in order to allow a changing upstream output
6411           to produce a new format of data.
6412
6413 2005-11-29  Edward Hervey  <edward@fluendo.com>
6414
6415         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6416         (gst_base_transform_event), (gst_base_transform_eventfunc):
6417         The event virtual method is now properly implemented, with a default
6418         handler
6419         Sub classes should call the parent_class event method. They should
6420         return FALSE if they had a problem handling the given event, or don't
6421         want GstBaseTransform to send that even downstream
6422         * gst/elements/gstidentity.c: (gst_identity_class_init),
6423         (gst_identity_init), (gst_identity_event),
6424         (gst_identity_transform_ip), (gst_identity_set_property),
6425         (gst_identity_get_property):
6426         * gst/elements/gstidentity.h:
6427         Added the single-segment boolean property.
6428         If set to TRUE, it will output a single segment of data, starting from
6429         0, will eat up all incoming newsegment, and modify the timestamp of the
6430         buffers accordingly
6431
6432 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
6433
6434         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
6435           Don't ref NULL target pad (#322751). Improve docs.
6436
6437 2005-11-29  Michael Smith  <msmith@fluendo.com>
6438
6439         * gst/gstregistryxml.c: (load_plugin):
6440           Don't crash if we failed to load a feature from a plugin. 
6441
6442 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6443
6444         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6445         (GST_START_TEST):
6446           use more check API and less GLib API
6447
6448 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6449
6450         * Makefile.am:
6451           don't run checks if we don't have check
6452         * common/check.mak:
6453           remove the registry when running make torture
6454         * docs/gst/gstreamer-sections.txt:
6455           remove second multiply
6456         * gst/gstqueue.c: (gst_queue_loop):
6457           fix a compile warning when disabling debug
6458
6459 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6460
6461         * gst/gstinfo.h:
6462         Hey! Let's print the pad name if the pointer != NULL instead
6463         of when it == NULL :-)
6464
6465 2005-11-28  Wim Taymans  <wim@fluendo.com>
6466
6467         * check/gst/gstutils.c: (GST_START_TEST):
6468         Updated check, add some scaling accuracy checking code.
6469
6470         * gst/gstutils.c: (gst_util_div128_64),
6471         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
6472         (gst_util_uint64_scale_int):
6473         Fix 6 times faster division code. Optimize for common 
6474         1/1 and less common X/1 cases.
6475
6476 2005-11-28  Wim Taymans  <wim@fluendo.com>
6477
6478         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6479         More checks.
6480
6481         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
6482         (do_linear_regression), (gst_clock_add_observation):
6483         Cleanups.
6484         Release lock when the clock cannot be slaved.
6485         Catch the case where the regression returned an invalid denominator.
6486
6487         * gst/gstutils.c: (gst_util_div128_64_iterate),
6488         (gst_util_div128_64), (gst_util_uint64_scale_int64),
6489         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6490         Add protentially more performant non-iterative 128/64 divide function
6491         that unfortunatly does not work yet.
6492         Shortcut the trivial 0/X = 0 case.
6493         Remove the warnings on overflow.
6494
6495 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6496
6497         * gst/gstplugin.c: (gst_plugin_register_func):
6498           everything causing a plugin not to load should be at least a WARNING
6499
6500 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
6501
6502         * docs/random/ensonic/dparams.txt:
6503           some TODOs for the next dev cycle
6504         * libs/gst/controller/gstcontroller.c:
6505         (gst_controlled_property_set_interpolation_mode),
6506         (gst_controlled_property_new):
6507         * libs/gst/controller/gstcontroller.h:
6508           use base type to assign acccessor functions
6509
6510 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6511
6512         * check/Makefile.am:
6513         Oops, that should have been top_srcdir
6514
6515 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
6516
6517         * check/Makefile.am:
6518         * check/elements/fdsrc.c: (GST_START_TEST):
6519         Use a cmdline define to specify the location of a file to use for
6520         testing, to avoid breaking distcheck.
6521
6522 2005-11-28  Andy Wingo  <wingo@pobox.com>
6523
6524         * gst/gstpad.c (fixate_value): Use array functions for arrays.
6525
6526 2005-11-28  Edward Hervey  <edward@fluendo.com>
6527
6528         * tools/gst-launch.c: (main):
6529         Clarify the output strings, makes it easier to translate.
6530         Fixes #322626
6531
6532 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
6533
6534         * gst/Makefile.am:
6535           don't try and build net if we don't even have <sys/socket.h>
6536
6537 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
6538
6539         * check/Makefile.am:
6540         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
6541         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
6542           Add tests for fdsrc seekability
6543
6544         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6545         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
6546         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
6547         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
6548         * gst/elements/gstfdsrc.h:
6549           fdsrc should not be a 'live' source.
6550           Implement seeking on seekable fd's.
6551
6552         * gst/gstquery.c: (gst_query_new_seeking),
6553         (gst_query_parse_seeking):
6554         * gst/gstquery.h:
6555           Implement SEEKING query functions: 
6556             *_new_seeking and *_parse_seeking
6557
6558 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
6559
6560         * gst/gstelement.c: (gst_element_dispose):
6561           don't loop forever
6562
6563         * gst/gstiterator.c:
6564         * gst/gststructure.c:
6565           doc fixes
6566
6567         * libs/gst/controller/gstcontroller.c:
6568         (gst_controlled_property_set_interpolation_mode):
6569         * libs/gst/controller/gstcontroller.h:
6570         * libs/gst/controller/gstinterpolation.c:
6571         (interpolate_none_get_enum_value_array):
6572           support controlling enums
6573
6574 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6575
6576         * gst/gstvalue.c:
6577           Improve documentation for gst_value_union().
6578
6579         * gst/gstvalue.h:
6580           Change return value for union, intersect and subtract functions
6581           from gint to gboolean.
6582
6583 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
6584
6585         * gst/gstvalue.c: (gst_value_serialize_any_list),
6586         (gst_value_transform_any_list_string),
6587         (gst_value_deserialize_list), (gst_value_deserialize_array),
6588         (gst_value_set_int_range), (gst_value_deserialize_int_range),
6589         (gst_value_set_double_range), (gst_value_deserialize_double_range),
6590         (gst_value_set_fraction_range_full),
6591         (gst_value_deserialize_fraction_range),
6592         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
6593         (gst_value_deserialize_boolean),
6594         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
6595         (gst_value_serialize_float), (gst_value_deserialize_float),
6596         (gst_string_wrap), (gst_value_deserialize_string),
6597         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
6598         (gst_value_union_int_range_int_range),
6599         (gst_value_intersect_int_range_int_range),
6600         (gst_value_intersect_double_range_double_range),
6601         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
6602         (gst_value_subtract_int_range_int_range),
6603         (gst_value_subtract_double_double_range),
6604         (gst_value_subtract_double_range_double_range),
6605         (gst_value_deserialize_fraction):
6606         * gst/gstvalue.h:
6607           Use gint, gdouble and gchar in our API instead of int, double and
6608           char (and make usage in gstvalue.c more consistent).
6609
6610 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6611
6612         * check/Makefile.am:
6613         * libs/gst/controller/Makefile.am:
6614         * libs/gst/dataprotocol/Makefile.am:
6615           fix up Makefile.am and remove GST_ENABLE_NEW
6616
6617 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6618
6619         * configure.ac:
6620         * gst/Makefile.am:
6621         * gst/base/Makefile.am:
6622         * gst/check/Makefile.am:
6623         * gst/elements/Makefile.am:
6624         * gst/net/Makefile.am:
6625           update LDFLAGS use some more
6626
6627 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
6628
6629         * common/m4/gst-doc.m4:
6630           Fixes #312589
6631
6632 2005-11-26  Edward Hervey  <edward@fluendo.com>
6633
6634         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
6635         This shouldn't issue a g_warning since it returns NULL if it
6636         couldn't find the plugin, and all functions using this behave
6637         properly on a NULL return. Switching to a GST_WARNING.
6638
6639 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
6640
6641         * gst/gstbin.c: (gst_bin_handle_message_func):
6642         Don't leak clock messages.
6643
6644 2005-11-25  Wim Taymans  <wim@fluendo.com>
6645
6646         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6647         (gst_util_uint64_scale_int):
6648         Optimisations, remove unneeded vars.
6649
6650 2005-11-25  Wim Taymans  <wim@fluendo.com>
6651
6652         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6653         Added more checks for the high precision uint64 cases.
6654
6655         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6656         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
6657         Implement high precision (guint64 * guint64) / guint64.
6658
6659 2005-11-24  Wim Taymans  <wim@fluendo.com>
6660
6661         * gst/base/gstbasesrc.c: (gst_base_src_query):
6662         Fix wrong percentage query.
6663
6664         * gst/gstutils.c: (gst_util_uint64_scale),
6665         (gst_util_uint64_scale_int):
6666         Add some more common cases that can be handled 
6667         efficiently to _scale.
6668
6669 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6670
6671         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
6672         (gst_mini_object_suite):
6673           don't use check calls from threads; check probably isn't
6674           threadsafe and using a lock to make it threadsafe would
6675           defeat the purpose of this check
6676         * gst/check/gstcheck.c:
6677         * gst/check/gstcheck.h:
6678           use GST_DEBUG some more
6679
6680 2005-11-24  Wim Taymans  <wim@fluendo.com>
6681
6682         * gst/gstutils.c: (gst_util_uint64_scale),
6683         (gst_util_uint64_scale_int):
6684         Chain trivial case to _scale_int.
6685
6686 2005-11-24  Wim Taymans  <wim@fluendo.com>
6687
6688         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6689         Added test for scaling.
6690
6691         * gst/gstclock.h:
6692         Small doc fix.
6693
6694         * gst/gstutils.c: (gst_util_uint64_scale_int):
6695         Implemented high precision scaling code.
6696
6697 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
6698
6699         * gst/gstinfo.h:
6700           do not crash on pad==NULL
6701
6702 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
6703
6704         Patch by: Stefan Kost
6705
6706         * common/gtk-doc.mak:
6707         * docs/gst/Makefile.am:
6708         * docs/libs/Makefile.am:
6709           Fix distcheck issues for the libraries docs build
6710           Closes #319599.
6711
6712 2005-11-24  Michael Smith <msmith@fluendo.com>
6713
6714         * docs/manual/basics-helloworld.xml:
6715           Fix bug #315027: memory leak in example code in docs.
6716
6717 2005-11-24  Michael Smith <msmith@fluendo.com>
6718
6719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6720           Unlock the PREROLL_LOCK in a failure case.
6721
6722 2005-11-24  Wim Taymans  <wim@fluendo.com>
6723
6724         * docs/gst/gstreamer-sections.txt:
6725         * gst/base/gstadapter.h:
6726         * gst/base/gstbasesink.h:
6727         * gst/base/gstbasesrc.h:
6728         * gst/base/gstbasetransform.h:
6729         * gst/base/gstpushsrc.h:
6730         * gst/elements/gstfakesink.h:
6731         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
6732         * gst/elements/gstfakesrc.h:
6733         * gst/elements/gstfilesink.h:
6734         * gst/elements/gstfilesrc.h:
6735         * gst/gst.c:
6736         * gst/gstbin.c:
6737         * gst/gstbuffer.c: (_gst_buffer_copy):
6738         * gst/gstbus.h:
6739         * gst/gstcaps.c:
6740         * gst/gstchildproxy.c:
6741         * gst/gstclock.c:
6742         * gst/gstelement.c:
6743         * gst/gstelementfactory.c:
6744         * gst/gstelementfactory.h:
6745         * gst/gstevent.c:
6746         * gst/gstghostpad.h:
6747         * gst/gstindex.h:
6748         * gst/gstinterface.h:
6749         * gst/gstminiobject.c:
6750         * gst/gstminiobject.h:
6751         * gst/gstpad.c:
6752         * gst/gstpad.h:
6753         * gst/gstpadtemplate.h:
6754         * gst/gstpipeline.h:
6755         * gst/gstpluginfeature.h:
6756         * gst/gstquery.h:
6757         * gst/gstqueue.h:
6758         * gst/gsttaglist.c:
6759         * gst/gsttaglist.h:
6760         * gst/gsttagsetter.c:
6761         * gst/gsttagsetter.h:
6762         * gst/gsttrace.c:
6763         * gst/gsttrace.h:
6764         * gst/gsttypefind.h:
6765         * gst/gsturi.h:
6766         * gst/gstvalue.c:
6767         * gst/net/gstnetclientclock.c:
6768         * gst/net/gstnetclientclock.h:
6769         * gst/net/gstnettimepacket.c:
6770         * gst/net/gstnettimeprovider.c:
6771         * gst/net/gstnettimeprovider.h:
6772         Doc fixes.
6773
6774 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6775
6776         * configure.ac: back to HEAD
6777
6778 === release 0.9.6 ===
6779
6780 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
6781
6782         * configure.ac:
6783           releasing 0.9.6, "Always On Time"
6784
6785 2005-11-23  Wim Taymans  <wim@fluendo.com>
6786
6787         * docs/gst/gstreamer-sections.txt:
6788         * gst/glib-compat.c:
6789         * gst/gsttagsetter.c:
6790         * gst/gstvalue.c:
6791         * gst/net/gstnetclientclock.c:
6792         * gst/net/gstnettimepacket.h:
6793         Doc updates.
6794
6795 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
6796
6797         * docs/faq/using.xml:
6798         * docs/libs/tmpl/gstcontrol.sgml:
6799         * docs/manual/advanced-dparams.xml:
6800         * docs/manual/appendix-checklist.xml:
6801         * docs/manual/basics-elements.xml:
6802         * docs/pwg/other-source.xml:
6803         * docs/random/moving-plugins:
6804         * gst/gstpad.c:
6805         * tools/gst-launch.1.in:
6806           remove mentions of sinesrc
6807
6808 2005-11-23  Michael Smith <msmith@fluendo.com>
6809
6810         * docs/gst/gstreamer-sections.txt:
6811           Update for new API and API changes.
6812         * gst/gstobject.h:
6813           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
6814         * gst/gstvalue.c:
6815           Documentation typo fix.
6816         * gst/net/gstnettimepacket.c:
6817           Documentation fixes for arguments.
6818
6819 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
6820
6821         * gst/gststructure.c: (gst_structure_get_fraction),
6822         (gst_structure_parse_value),
6823         (gst_structure_fixate_field_nearest_fraction):
6824         * gst/gststructure.h:
6825         * gst/gstutils.c: (gst_util_uint64_scale_int):
6826         * gst/gstutils.h:
6827         * scripts/update-funcnames:
6828         API Changes. 
6829         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
6830         Make gst_structure_fixate_field_nearest_fraction take a numerator
6831         and denominator argument instead of a GValue
6832         add gst_structure_get_fraction helper function.
6833
6834 2005-11-23  Wim Taymans  <wim@fluendo.com>
6835
6836         * docs/design/part-TODO.txt:
6837         Update TODO.
6838
6839         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6840         * gst/net/gstnetclientclock.h:
6841         Use parent fields for timeout and window_size.
6842
6843 2005-11-23  Andy Wingo  <wingo@pobox.com>
6844
6845         * check/net/gstnetclientclock.c (test_functioning): Adjust to
6846         rate_num/rate_denom change.
6847
6848         * gst/net/gstnetclientclock.c
6849         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
6850         OBJECT_LOCK. Don't call add_observation with the lock.
6851
6852         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6853         fraction.
6854         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6855         rate fraction.
6856         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6857         deal with rate as a fraction whose numerator and denominator are
6858         GstClockTime values.
6859         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6860         master; the other fields are protected by the SLAVE_LOCK.
6861         (do_linear_regression): Note that this must be called with the
6862         SLAVE_LOCK.
6863         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6864         OBJECT_LOCK. Call set_calibration instead of touching the
6865         variables directly.
6866         (gst_clock_set_property, gst_clock_get_property): Protect
6867         master/slave parameters with the SLAVE_LOCK.
6868
6869         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6870         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6871         note that all of the instance variables that add_observation and
6872         the set_master functions use are protected by that lock and not
6873         the OBJECT_LOCK.
6874         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6875
6876         * gst/gstclock.c (gst_clock_add_observation): No longer requires
6877         the caller to take the object lock.
6878
6879 2005-11-23  Wim Taymans  <wim@fluendo.com>
6880
6881         * gst/gsterror.c: (_gst_core_errors_init):
6882         * gst/gsterror.h:
6883         Add error for clock stuff.
6884
6885         * gst/gstpipeline.c: (gst_pipeline_change_state),
6886         (gst_pipeline_set_clock):
6887         Post clock error when clock cannot be used in a pipeline.
6888
6889 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
6890
6891         * docs/gst/gstreamer-sections.txt:
6892           make two symbols from gstinfo private for the docs
6893         * gst/base/gstcollectpads.h:
6894         * gst/gstutils.c:
6895           fix doc typos, update docs
6896
6897 2005-11-22  Wim Taymans  <wim@fluendo.com>
6898
6899         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6900         (gst_base_sink_wait), (gst_base_sink_do_sync),
6901         (gst_base_sink_handle_event):
6902         * gst/base/gstbasesink.h:
6903         No need to store the clock, the parent element class already
6904         has it.
6905
6906         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6907         Updates for clock_set returning a gboolean
6908
6909         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6910         (gst_clock_id_wait_async), (gst_clock_class_init),
6911         (gst_clock_init), (gst_clock_finalize),
6912         (gst_clock_get_internal_time), (gst_clock_get_time),
6913         (gst_clock_slave_callback), (gst_clock_set_master),
6914         (gst_clock_get_master), (do_linear_regression),
6915         (gst_clock_add_observation), (gst_clock_set_property),
6916         (gst_clock_get_property):
6917         * gst/gstclock.h:
6918         Implement master/slave. When setting a clock as a slave, a
6919         periodic timeout is scheduled to sample master and slave times.
6920         Then the slave clock is recalibrated to match offset and rate
6921         of the master clock.
6922         Update logging a bit.
6923         Add flag so that a clock can state that is cannot be slaved to
6924         another clock.
6925
6926         * gst/gstelement.c: (gst_element_set_clock):
6927         * gst/gstelement.h:
6928         The set clock returns a gboolean for when an element cannot
6929         deal with the selected clock in the pipeline. 
6930
6931         * gst/gstpipeline.c: (gst_pipeline_change_state),
6932         (gst_pipeline_set_clock):
6933         * gst/gstpipeline.h:
6934         Handle the case where the selected clock cannot be set on
6935         the pipeline.
6936
6937         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6938         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6939         (gst_net_client_clock_set_property),
6940         (gst_net_client_clock_get_property),
6941         (gst_net_client_clock_observe_times):
6942         * gst/net/gstnetclientclock.h:
6943         Use regression code in GstClock parent, remove duplicated
6944         functionality.
6945
6946 2005-11-22  Michael Smith <msmith@fluendo.com>
6947
6948         * gst/gstutils.c: (gst_util_clock_time_scale):
6949         * gst/gstutils.h:
6950         * docs/gst/gstreamer-sections.txt:
6951           Rename method to have extra underscore.
6952
6953 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6954
6955         * gst/elements/Makefile.am:
6956         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6957         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6958         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6959         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6960         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6961         * gst/elements/gstfakesrc.h:
6962         * gst/gstqueue.c: (queue_leaky_get_type):
6963           correctly fix GEnumValues so that nick is the short lowercase
6964           dashed tag
6965         * tools/gst-inspect.c: (print_element_properties_info):
6966           also show the nick, since it's useful to use from parse_launch
6967           syntax
6968           Fixes #322139
6969
6970 2005-11-22  Michael Smith <msmith@fluendo.com>
6971
6972         * gst/gstutils.c: (gst_util_clocktime_scale):
6973         * gst/gstutils.h:
6974         * docs/gst/gstreamer-sections.txt:
6975           Add util method for scaling a clocktime by a fraction. Useful 
6976           implementation is left as an exercise for the reader.
6977
6978 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6979
6980         * gst/gstvalue.c: (gst_value_collect_fraction_range):
6981         If needed, allocate storage in the destination value during
6982         collection.
6983
6984 2005-11-22  Edward Hervey  <edward@fluendo.com>
6985
6986         * docs/gst/gstreamer-sections.txt:
6987         * gst/Makefile.am:
6988         * gst/gst.h:
6989         * gst/gsturitype.c:
6990         * gst/gsturitype.h:
6991         * gst/gstutils.c: (gst_util_set_object_arg):
6992         * tools/gst-compprep.c: (main):
6993         * tools/gst-inspect.c: (print_element_properties_info):
6994         Removed GstURI, closes bug #321061
6995
6996 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6997
6998         * check/gst/gststructure.c: (GST_START_TEST):
6999         * gst/gststructure.c: (gst_structure_parse_value):
7000           Oops, broke automatic string type parsing.
7001           Add a test to catch it in future.
7002
7003 2005-11-22  Andy Wingo  <wingo@pobox.com>
7004
7005         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
7006         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7007         Actually rename the function implementations. Grr.
7008
7009 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7010
7011         * check/gst/capslist.h:
7012           Comment test cases
7013         * check/gst/gststructure.c: (GST_START_TEST),
7014         (gst_structure_suite):
7015           Test automatic value type detection in gst_structure_from_string.
7016         * gst/gststructure.c: (gst_structure_parse_value):
7017           Add fraction as a type we try and guess automatically in
7018           caps/structure strings.
7019
7020 2005-11-22  Andy Wingo  <wingo@pobox.com>
7021
7022         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7023
7024         * gst/gsttagsetter.h:
7025         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7026         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7027         (gst_tag_setter_add_tag_valist)
7028         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7029         _add_values, _add_valist, and _add_valist_values. Since this is an
7030         interface the function suffixes should be more explicit so
7031         language binding don't end up with element.add_valist ->
7032         gst_tag_setter_add_valist, for example. Fixes #322069.
7033
7034 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7035
7036         * check/gst/gstcaps.c: (GST_START_TEST):
7037           Extend caps string tests to check that a caps to string
7038           conversion is reversible and produces the same caps.
7039
7040         * gst/gststructure.c: (gst_structure_value_get_generic_type):
7041           Output "fraction" as the generic type fraction range, so caps
7042           serialisation and deserialisation works.
7043         * check/gst/capslist.h:
7044         * gst/gstvalue.c: (gst_value_deserialize_fraction):
7045           Support 'MIN' and 'MAX' for deserialising fractions.
7046
7047 2005-11-22  Andy Wingo  <wingo@pobox.com>
7048
7049         * gst/gstevent.h (gst_event_new_new_segment)
7050         (gst_event_parse_new_segment, gst_event_new_buffer_size)
7051         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7052         Renamed from *_newsegment, *_buffersize, *_notarget.
7053
7054         * scripts/update-funcnames: New script, performs the changes
7055         listed above.
7056
7057 2005-11-22  Wim Taymans  <wim@fluendo.com>
7058
7059         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7060         Make sure the GstFlowReturn is returned.
7061
7062         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7063         (gst_bus_add_signal_watch):
7064         * gst/gstbus.h:
7065         add gst_bus_add_signal_watch_full.
7066
7067         * gst/gstplugin.c: (gst_plugin_load_file):
7068         Small style cleanup.
7069
7070 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7071
7072         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7073           Block the fakesrc srcpad when we send an event, to avoid
7074           contention on the stream_lock causing random test failures.
7075
7076 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7077
7078         * check/gst/gstvalue.c: (GST_START_TEST):
7079         * gst/gstvalue.c: (gst_value_fraction_subtract):
7080           Fix subtraction.
7081
7082 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
7083
7084         * gst/gst.h:
7085           include "gstchildproxy.h"
7086         * gst/gstchildproxy.h:
7087         * libs/gst/controller/gstcontroller.h:
7088           use G_GNUC_NULL_TERMINATED
7089
7090 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
7091
7092         * check/gst/capslist.h:
7093         * check/gst/gstcaps.c: (GST_START_TEST):
7094         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7095         * gst/gststructure.c: (gst_structure_parse_range),
7096         (gst_structure_fixate_field_nearest_fraction):
7097         * gst/gststructure.h:
7098         * gst/gstvalue.c: (gst_value_init_fraction_range),
7099         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
7100         (gst_value_collect_fraction_range),
7101         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
7102         (gst_value_set_fraction_range_full),
7103         (gst_value_get_fraction_range_min),
7104         (gst_value_get_fraction_range_max),
7105         (gst_value_serialize_fraction_range),
7106         (gst_value_transform_fraction_range_string),
7107         (gst_value_compare_fraction_range),
7108         (gst_value_deserialize_fraction_range),
7109         (gst_value_intersect_fraction_fraction_range),
7110         (gst_value_intersect_fraction_range_fraction_range),
7111         (gst_value_subtract_fraction_fraction_range),
7112         (gst_value_subtract_fraction_range_fraction),
7113         (gst_value_subtract_fraction_range_fraction_range),
7114         (gst_value_collect_fraction), (gst_value_fraction_multiply),
7115         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
7116         (gst_value_transform_string_fraction), (_gst_value_initialize):
7117         * gst/gstvalue.h:
7118           Implement fraction ranges and extend GstFraction to support
7119           arithmetic subtraction, as well as deserialization from integer
7120           strings such as "100"
7121           Add a testsuite as for int and double range set operations
7122
7123 2005-11-21  Andy Wingo  <wingo@pobox.com>
7124
7125         * gst/gsttaglist.h: 
7126         * gst/gstcaps.h: 
7127         * gst/gststructure.h: Add glib-compat.h.
7128
7129 2005-11-21  Wim Taymans  <wim@fluendo.com>
7130
7131         * gst/gstbin.c: (gst_bin_change_state_func):
7132         Fix for #321595
7133
7134 2005-11-21  Wim Taymans  <wim@fluendo.com>
7135
7136         * gst/gstsegment.h:
7137         And add a nice define too.
7138
7139 2005-11-21  Wim Taymans  <wim@fluendo.com>
7140
7141         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
7142         (gst_segment_new), (gst_segment_free), (gst_segment_init),
7143         (gst_segment_set_duration), (gst_segment_set_last_stop),
7144         (gst_segment_set_seek), (gst_segment_set_newsegment),
7145         (gst_segment_to_stream_time), (gst_segment_to_running_time),
7146         (gst_segment_clip):
7147         * gst/gstsegment.h:
7148         Make binding friendly.
7149
7150 2005-11-21  Andy Wingo  <wingo@pobox.com>
7151
7152         * gst/gsttagsetter.h: 
7153         * gst/gsttaglist.h: 
7154         * gst/gststructure.h: 
7155         * gst/gstcaps.h: 
7156         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
7157         #319940.
7158
7159         * gst/gsterror.c (_gst_core_errors_init):
7160         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
7161         category.
7162
7163         * gst/Makefile.am (gst_headers): Add glib-compat.h.
7164         (noinst_HEADERS): noinst the -private.
7165
7166 2005-11-21  Michael Smith <msmith@fluendo.com>
7167
7168         * gst/gstplugin.h:
7169         * gst/gstregistry.h:
7170           Remove unimplemented declarations for which we can see no sensible
7171           use.
7172
7173 2005-11-21  Andy Wingo  <wingo@pobox.com>
7174
7175         * gst/gst.h: Include glib-compat.h.
7176
7177         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
7178
7179         * gst/glib-compat.c: Include the public and the private header.
7180
7181         * gst/glib-compat-private.h: Copied here from glib-compat.h.
7182
7183         * gst/gstvalue.c: 
7184         * gst/gstpad.c: 
7185         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
7186
7187         * check/gst/gstevent.c (create_custom_events): Check that
7188         FLUSH_STOP is serialized.
7189
7190         * check/elements/identity.c (event_func): 
7191         * check/elements/fakesrc.c (event_func): No stream lock, the core
7192         takes it.
7193
7194         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
7195         stream lock taking, yay.
7196
7197         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
7198         ensure that core takes the stream lock.
7199
7200         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
7201         lock name change.
7202
7203         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
7204         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
7205         it already. For the flush start we do take it though so we get the
7206         right preroll state change messages.
7207
7208         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
7209         the stream lock here, the core does it for us.
7210
7211         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
7212         GST_STREAM_GET_LOCK.
7213         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
7214         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
7215         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
7216         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
7217         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
7218         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
7219
7220         * gst/gstpad.c: Update for stream lock name change.
7221
7222         * gst/base/gstbasesink.c: Update for preroll lock name change.
7223
7224 2005-11-21  Wim Taymans  <wim@fluendo.com>
7225
7226         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
7227         (gst_clock_get_master):
7228         * gst/gstclock.h:
7229         * gst/gstsystemclock.c: (gst_system_clock_init):
7230         Convert Clock flags to object flags.
7231         Added methods to manage master/slave clocks.
7232
7233 2005-11-21  Wim Taymans  <wim@fluendo.com>
7234
7235         * check/gst/gstsegment.c: (GST_START_TEST):
7236         * docs/design/part-TODO.txt:
7237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7238         (gst_base_sink_event), (gst_base_sink_do_sync),
7239         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
7240         (gst_base_sink_query), (gst_base_sink_change_state):
7241         * gst/base/gstbasesink.h:
7242         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7243         (gst_base_src_default_newsegment),
7244         (gst_base_src_configure_segment), (gst_base_src_do_seek),
7245         (gst_base_src_get_range), (gst_base_src_loop),
7246         (gst_base_src_change_state):
7247         * gst/base/gstbasesrc.h:
7248         * gst/base/gstbasetransform.c:
7249         (gst_base_transform_prepare_output_buf),
7250         (gst_base_transform_event), (gst_base_transform_change_state):
7251         * gst/base/gstbasetransform.h:
7252         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
7253         (gst_collect_pads_event):
7254         * gst/base/gstcollectpads.h:
7255         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
7256         (gst_fake_src_create):
7257         * gst/elements/gstfakesrc.h:
7258         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7259         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7260         (gst_segment_set_last_stop), (gst_segment_set_seek),
7261         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
7262         (gst_segment_to_running_time), (gst_segment_clip):
7263         * gst/gstsegment.h:
7264         More segment updates, replace code in plugins with segment
7265         helper functions.
7266
7267 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7268
7269         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
7270         Don't ignore sscanf results
7271
7272 2005-11-21  Andy Wingo  <wingo@pobox.com>
7273
7274         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
7275
7276         * *.h:
7277         * *.c: Ran scripts/update-macros. Oh yes.
7278
7279         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
7280         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
7281         GST_GET_LOCK, etc.
7282
7283         * scripts/update-macros: New script. Run it on your files to
7284         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
7285         well.
7286
7287 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
7288
7289         * docs/gst/Makefile.am:
7290         * docs/gst/gstreamer-docs.sgml:
7291         * docs/gst/gstreamer-sections.txt:
7292         * docs/gst/gstreamer.types:
7293         * gst/gstinfo.h:
7294           more docs fixes, add new api to the docs
7295
7296 2005-11-21  Andy Wingo  <wingo@pobox.com>
7297
7298         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
7299         state_broadcast call.
7300
7301         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
7302
7303 2005-11-21  Julien MOUTTE  <julien@moutte.net>
7304
7305         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
7306         function calls for arrays.
7307
7308 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
7309
7310         * docs/random/ensonic/media-device-daemon.txt:
7311           wild idea, can this be done?
7312         * docs/gst/gstreamer-sections.txt:
7313         * gst/gsterror.h:
7314         * gst/gstfilter.c:
7315         * gst/gstfilter.h:
7316         * gst/gstplugin.h:
7317         * gst/gstpluginfeature.c:
7318         * gst/gsttrace.c:
7319         * gst/gstvalue.c:
7320         * gst/gstvalue.h:
7321           doc fixes and additions
7322
7323 2005-11-21  Andy Wingo  <wingo@pobox.com>
7324
7325         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
7326         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
7327         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
7328         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
7329         private to the basesrc implementation.
7330
7331         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
7332         behalf of event function if necessary. It should no longer be
7333         necessary to take the stream lock in pad's event functions. Fixes
7334         #320299.
7335
7336 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7337         * docs/gst/gstreamer-sections.txt:
7338         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
7339         (gst_structure_fixate_field_nearest_double),
7340         (gst_structure_fixate_field_boolean):
7341         * gst/gststructure.h:
7342         * win32/common/libgstreamer.def:
7343         * win32/gstreamer.def:
7344
7345         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
7346         (#322027)
7347
7348 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
7349
7350         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
7351         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
7352         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
7353         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
7354         (gst_fdsrc_uri_handler_init):
7355         * gst/elements/gstfdsrc.h:
7356           Port fd:// URI handler from 0.8 to fdsrc
7357
7358 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7359
7360         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
7361         (gst_value_serialize_fourcc):
7362         * gst/gstvalue.h:
7363           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
7364           consistent with our other format defines (#320324).
7365
7366 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7367
7368         * gst/gstvalue.c: (gst_value_is_fixed):
7369           Revert previous commit. Value lists are by definition
7370           not fixed, as they are a list of possible values.
7371
7372 2005-11-21  Andy Wingo  <wingo@pobox.com>
7373
7374         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
7375         during the stable series if we need it. Fixes #319178.
7376
7377         * gst/gstevent.c (gst_event_new_filler): Removed.
7378
7379         * check/gst/gstevent.c: Update comment about filler events.
7380
7381 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7382
7383         * gst/gstvalue.c: (gst_value_is_fixed):
7384           Should handle both value arrays and value lists.
7385
7386 2005-11-21  Andy Wingo  <wingo@pobox.com>
7387
7388         patch by: Alessandro Dessina <alessandro nnva org>
7389
7390         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
7391         functions to access arrays. Fixes #321962.
7392
7393 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7394
7395         * docs/gst/gstreamer.types:
7396           gst_collectpads_get_type => gst_collect_pads_get_type.
7397           
7398         * gst/base/gstbasetransform.c:
7399           Remove unused SIGNAL_HANDOFF enum.
7400
7401 2005-11-21  Andy Wingo  <wingo@pobox.com>
7402
7403         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
7404         the event type (upstream, downstream, serialized). Renamed
7405         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
7406         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
7407         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
7408
7409         * gst/gstevent.c: Update for new CUSTOM event names.
7410
7411         * check/gst/gstevent.c: Update check for new CUSTOM event names.
7412
7413         * gst/gstevent.h:
7414         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
7415         bug #319392.
7416
7417 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7418
7419         * docs/gst/gstreamer-sections.txt:
7420         * win32/common/libgstbase.def:
7421         * win32/libgstbase.def:
7422         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
7423         (gst_collect_pads_class_init), (gst_collect_pads_init),
7424         (gst_collect_pads_finalize), (gst_collect_pads_new),
7425         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
7426         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
7427         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
7428         (gst_collect_pads_start), (gst_collect_pads_stop),
7429         (gst_collect_pads_peek), (gst_collect_pads_pop),
7430         (gst_collect_pads_available), (gst_collect_pads_read),
7431         (gst_collect_pads_flush), (gst_collect_pads_event),
7432         (gst_collect_pads_chain):
7433         * gst/base/gstcollectpads.h:
7434           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
7435           unimplemented functions as unimplemented. Add padding to
7436           GstCollectData. (#320766, #320423)
7437
7438 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
7439
7440         * gst/gstmessage.c:
7441           Improve docs for DURATION message (usage of duration parameter)
7442           (#320113)
7443
7444 2005-11-20  Wim Taymans  <wim@fluendo.com>
7445
7446         * check/Makefile.am:
7447         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
7448         (main):
7449         * gst/Makefile.am:
7450         * gst/gst.h:
7451         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
7452         (gst_segment_set_seek), (gst_segment_set_newsegment),
7453         (gst_segment_to_stream_time), (gst_segment_to_running_time),
7454         (gst_segment_clip):
7455         * gst/gstsegment.h:
7456         Added segment helper structure and methods. Not fully implemented
7457         yet.
7458         Added segment check.
7459
7460 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
7461
7462         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7463           Add a deserialisation test for fractions
7464         * examples/metadata/read-metadata.c: (message_loop),
7465         (make_pipeline), (main):
7466           Fix up metadata reading sample.
7467         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7468           Debug format fix
7469         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7470           Don't try and fixate empty caps
7471         * gst/gst_private.h:
7472           Wrap in G_BEGIN_DECLS/G_END_DECLS
7473         * gst/gstvalue.c: (gst_value_collect_fraction),
7474         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
7475         (gst_value_transform_string_fraction),
7476         (gst_value_compare_fraction):
7477           Add some extra guards to ensure that we don't end up 
7478           with an invalid denominator of 0 in a gstfraction and
7479           that fractions always get reduced.
7480
7481 2005-11-20  Wim Taymans  <wim@fluendo.com>
7482
7483         * docs/gst/gstreamer-sections.txt:
7484         * gst/gstbuffer.h:
7485         * gst/gstelement.c:
7486         * gst/gstformat.c:
7487         * gst/gstformat.h:
7488         * gst/gstindex.h:
7489         * gst/gstquery.c:
7490         * gst/gstquery.h:
7491         * gst/gstvalue.c:
7492         Doc fixes.
7493
7494 2005-11-20  Wim Taymans  <wim@fluendo.com>
7495
7496         * docs/design/part-TODO.txt:
7497         * gst/gstcaps.h:
7498         Make a proper enum of the flag.
7499
7500 2005-11-19  Wim Taymans  <wim@fluendo.com>
7501
7502         * docs/design/part-TODO.txt:
7503         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
7504         (gst_format_to_quark), (gst_format_register):
7505         * gst/gstformat.h:
7506         * gst/gstquery.c: (_gst_query_initialize),
7507         (gst_query_type_get_name), (gst_query_type_to_quark),
7508         (gst_query_type_register):
7509         * gst/gstquery.h:
7510         Add type to quark and type to string conversions.
7511
7512 2005-11-19  Andy Wingo  <wingo@pobox.com>
7513
7514         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
7515         #320097.
7516
7517 2005-11-19  Wim Taymans  <wim@fluendo.com>
7518
7519         * docs/design/part-TODO.txt:
7520         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
7521         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
7522         (gst_bin_handle_message_func):
7523         * gst/gstbin.h:
7524         Make message handling overridable.
7525
7526 2005-11-19  Andy Wingo  <wingo@pobox.com>
7527
7528         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
7529
7530         * gst/gstclock.h:
7531         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
7532         be a GstClockTime.
7533         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
7534         is a GstClockTime. Fixes #321710.
7535
7536         * gst/gstclock.h (GstClock): Remove offset property. Add
7537         internal_calibration and external_calibration. Fix padding. Pad
7538         also by GstClockTime so we don't run into problems.
7539
7540         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
7541         (gst_clock_get_rate_offset): Remove.
7542         (gst_clock_set_time_adjust): Remove. Fixes #321712.
7543
7544         * gst/gstutils.h:
7545         * gst/gstutils.c (g_static_rec_cond_wait)
7546         (g_static_rec_cond_timed_wait): Removed, no longer needed.
7547
7548         * gst/gstbin.c: Remove terrible continue_state prototype.
7549
7550         * gst/gstelement.h (gst_element_continue_state): Make public.
7551
7552         * gst/gstelement.h:
7553         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
7554         by continue_state. Fixes #319389.
7555
7556         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
7557         Really fixes #168438. However I don't see anywhere where the
7558         filter function is called... stupid GStreamer...
7559         
7560         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
7561         don't have a dispose function, so it won't get called when the
7562         object is unreffed, but oh well!
7563
7564         * gst/gstindex.c (gst_index_set_filter_full): New API function,
7565         allows a destroy function to be set so user_data can be freed.
7566         Fixes #168438.
7567         (gst_index_set_filter): Call gst_index_set_filter_full.
7568
7569         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
7570
7571         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
7572         string should produce an error, given the lack of a way to
7573         represent NULL strings. Fixes #165650.
7574         
7575         * gst/gstvalue.h: 
7576         * gst/gstvalue.c (gst_value_array_append_value) 
7577         (gst_value_array_prepend_value, gst_value_array_get_size) 
7578         (gst_value_array_get_value): New API, copied from
7579         gst_value_list_*, only operates on arrays.
7580         (gst_value_list_append_value, gst_value_list_prepend_value) 
7581         (gst_value_list_concat, gst_value_list_get_size) 
7582         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
7583
7584         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
7585         init_list, because it works on both.
7586         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
7587         (gst_value_copy_list_or_array): Renamed from copy_list.
7588         (gst_value_free_list_or_array): Renamed from free_list.
7589         (gst_value_collect_list_or_array): Renamed from collect_list.
7590         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
7591         (gst_value_list_or_array_peek_pointer): Renamed from
7592         list_peek_pointer.
7593         (_gst_value_array_value_table, _gst_value_list_value_table):
7594         Update value table functions.
7595         (gst_value_compare_list_or_array): Renamed from compare_list.
7596
7597         * gsttaglist.h: Whoops, foreach function returns void. Also fix
7598         some constness.
7599
7600         * gst/gsttaglist.c:
7601         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
7602         GstTagList*. Fixes #143472.
7603
7604         * gst/gststructure.h: Clarify what the foreach/map functions can
7605         or can't do to their arguments.
7606
7607 2005-11-18  Wim Taymans  <wim@fluendo.com>
7608
7609         * gst/gstclock.c: (gst_clock_set_calibration),
7610         (gst_clock_get_calibration):
7611         Doc and API fixes.
7612         Calibration can be set with internal time equal to current
7613         internal time too.
7614
7615 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
7616
7617         * gst/gsterror.c:
7618         * gst/gsterror.h:
7619           document
7620
7621 2005-11-18  Andy Wingo  <wingo@pobox.com>
7622
7623         * configure.ac: 
7624         * pkgconfig/gstreamer-net.pc.in:
7625         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7626         * pkgconfig/Makefile.am: Add net pkgconfig files.
7627
7628 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
7629
7630         * gst/gstcaps.c:
7631         * gst/gstghostpad.c:
7632         * gst/gsttrace.c:
7633         * gst/gstvalue.c:
7634         * gst/gstvalue.h:
7635           docs fixes
7636
7637 2005-11-18  Andy Wingo  <wingo@pobox.com>
7638
7639         * gst/net/gstnetclientclock.c: Turn off debugging.
7640
7641         * check/net/gstnetclientclock.c (test_functioning): Assert that the
7642         times connverge somewhat. Can't make a real test.
7643
7644         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
7645         integer arithmetic. Return the minimum of the domain, which can be
7646         set as "internal" for gst_clock_set_calibration.
7647         (gst_net_client_clock_observe_times): Call _set_calibration.
7648         (gst_net_client_clock_new): Call _set_calibration instead of
7649         rate_offset.
7650
7651         * check/net/gstnetclientclock.c (test_functioning): Use the right
7652         adjustment api.
7653
7654         * gst/gstclock.h:
7655         * gst/gstclock.c (gst_clock_get_calibration) 
7656         (gst_clock_set_calibration): New functions, obsolete the ones I
7657         added yesterday. Doh. Precision issues mean we have to extrapolate
7658         from a point in the more recent past than 1970.
7659         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
7660         obsolete.
7661         (gst_clock_adjust_unlocked): Use the right calibration data.
7662
7663 2005-11-18  Edward Hervey  <edward@fluendo.com>
7664
7665         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
7666         Also reset the ->current_* values in READY->PAUSED
7667
7668 2005-11-18  Andy Wingo  <wingo@pobox.com>
7669
7670         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
7671         Whoops, check the right fd. Also add some debugging.
7672         (gst_net_client_clock_observe_times): Adjust for int64 offset.
7673         (do_linear_regression): Add a crapload of debugging. Subtract off
7674         the minimum values from the input series to discard unneeded bits.
7675         Use only int arithmetic. There is still double arithmetic when
7676         calculating the intercept that needs fixing. Return boolean to
7677         indicate success; FALSE would mean the domain or range is too
7678         great. Still needs fixes.
7679
7680 2005-11-18  Wim Taymans  <wim@fluendo.com>
7681
7682         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
7683         For the current position in stream time, we need to subtract
7684         accumulated time.
7685         
7686         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
7687         Release lock before calling the callback function of async
7688         entries.
7689
7690 2005-11-18  Andy Wingo  <wingo@pobox.com>
7691
7692         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
7693         Port goes all the way to MAXUINT16.
7694
7695         * gst/net/gstnettimeprovider.c: Make the port range the same as
7696         for the kernel: 0 assigns, otherwise ports are less than
7697         MAXUINT16.
7698
7699         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
7700         port change.
7701
7702         * check/net/gstnetclientclock.c (test_functioning): Add the start
7703         of another test. 
7704
7705 2005-11-18  Wim Taymans  <wim@fluendo.com>
7706
7707         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
7708         (gst_bin_remove_func), (bin_bus_handler):
7709         * gst/gstbin.h:
7710         Removing a clock provider from a bin, triggers a clock lost message
7711         so that a new clock will be selected.
7712         Adding a clock to a bin triggers a clock provider message.
7713         Make sure we reselect a clock when we received a clock lost message.
7714         Keep a reference to the element that provided the clock.
7715
7716 2005-11-18  Andy Wingo  <wingo@pobox.com>
7717
7718         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
7719         the clock initially so it produces values around the base time.
7720         (gst_net_client_clock_class_init): Typo fix.
7721         (gst_net_client_clock_thread): Add note on when the socket gets
7722         closed.
7723
7724 2005-11-17  Wim Taymans  <wim@fluendo.com>
7725
7726         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
7727         Free remote and local time arrays.
7728
7729 2005-11-17  Wim Taymans  <wim@fluendo.com>
7730
7731         * gst/net/gstnetclientclock.c: (do_linear_regression),
7732         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
7733         Fix compilation, uninitialized vars and a forgotten continue.
7734
7735 2005-11-17  Andy Wingo  <wingo@pobox.com>
7736
7737         * check/Makefile.am (check_PROGRAMS): 
7738         * check/net/gstnetclientclock.c: Add a most minimal test for the
7739         net client clock. More to come later.
7740
7741         * gst/net/gstnet.h: 
7742         * gst/net/Makefile.am: Add netclientclock.
7743
7744         * gst/net/gstnetclientclock.h:
7745         * gst/net/gstnetclientclock.c: New files, implement an untested
7746         GstClock that takes its time from a network time provider.
7747         Implements the algorithm in network-clock.scm.
7748
7749         * tests/network-clock.scm (*window-size*): Rename from
7750         *queue-length*.
7751         * tests/network-clock.scm (network-time): 
7752         * tests/network-clock-utils.scm (q-push): Update callers.
7753
7754 2005-11-17  Wim Taymans  <wim@fluendo.com>
7755
7756         * gst/gstbin.c: (gst_bin_provide_clock_func),
7757         (gst_bin_sort_iterator_new):
7758         And unref the child too..
7759
7760 2005-11-17  Wim Taymans  <wim@fluendo.com>
7761
7762         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
7763         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
7764         Refactor the sort iterator so it can be used while holding the
7765         LOCK too.
7766         Make clock selection select a clock closest to the source.
7767
7768 2005-11-17  Michael Smith <msmith@fluendo.com>
7769
7770         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
7771         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
7772         * gst/gstclock.h:
7773           Anonymous structs are a gcc (and some other compilers) extension, so
7774           don't use them. Since this is only for ABI-compatibility, and our
7775           API/ABI freeze is over in a few days, this whole thing will only
7776           last a few days, so don't bother trying to think up a meaningful
7777           name for the struct.
7778
7779 2005-11-17  Andy Wingo  <wingo@pobox.com>
7780
7781         * gst/gstclock.h (GstClock): Add rate and offset properties,
7782         preserving ABI stability. Add rate/offset accessors. Will file bug
7783         for the freeze break.
7784
7785         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
7786         and offset, trying to keep precision and avoiding
7787         underflow/overflow.
7788         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
7789         functions. Make gst_clock_set_time_adjust obsolete.
7790         (gst_clock_set_time_adjust): Note that this function is obsolete.
7791         Will file bug soon.
7792
7793         * gst/base/gstbasetransform.h: Make the ABI-stability hack
7794         greppable by using GST_PADDING-1+1.
7795
7796 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
7797
7798         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7799
7800         * gst/gstmessage.c: (gst_message_parse_clock_lost):
7801           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
7802
7803         * gst/gstpadtemplate.h:
7804         * gst/gstpluginfeature.h:
7805           Don't use c++ style comments in headers (#321638).
7806
7807 2005-11-16  Andy Wingo  <wingo@pobox.com>
7808
7809         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
7810         buffer.
7811
7812         * check/net/gstnettimeprovider.c: Check to see that the time
7813         provider actually provides times. Works, yo!
7814
7815 2005-11-16  Wim Taymans  <wim@fluendo.com>
7816
7817         * check/Makefile.am:
7818         Enable more tests.
7819
7820         * check/elements/fakesrc.c: (GST_START_TEST):
7821         Set element to NULL before disposing it.
7822
7823 2005-11-16  Andy Wingo  <wingo@pobox.com>
7824
7825         * gst/net/Makefile.am:
7826         * gst/net/gstnet.h:
7827         * gst/net/gstnettimeprovider.c: 
7828         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
7829         provider, include it from gstnet.h, and add it to the build.
7830
7831         * gst/net/gstnettimepacket.h: 
7832         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
7833         sending and receiving.
7834
7835 2005-11-16  Wim Taymans  <wim@fluendo.com>
7836
7837         * check/Makefile.am:
7838         Enable valgrind check.
7839
7840         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
7841         (gst_fake_src_alloc_buffer):
7842         Fix memleak.
7843
7844 2005-11-16  Wim Taymans  <wim@fluendo.com>
7845
7846         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
7847         Call parent finalize too.
7848
7849 2005-11-16  Wim Taymans  <wim@fluendo.com>
7850
7851         * check/Makefile.am:
7852         Enable valgrind check that should work fine now.
7853
7854         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7855         * gst/gstqueue.c: (gst_queue_init):
7856         Fix memleaks in pad allocation.
7857
7858 2005-11-16  Andy Wingo  <wingo@pobox.com>
7859
7860         * gst/net/Makefile.am:
7861         * gst/net/gstnet.h: New part of core to hold network elements and
7862         objects. Put in core because it exposes API that applications want
7863         to use. The library is named libgstnet-tempname right now because
7864         of the existing libgstnet in gst-plugins-base. Solution is
7865         probably to rename the one in plugins-base; will file a bug for
7866         the freeze break.
7867
7868         * gst/net/gstnettimeprovider.c: 
7869         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7870         get_time call over the network.
7871
7872         * configure.ac: 
7873         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7874
7875         * check/Makefile.am:
7876         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7877         get additions shortly.
7878
7879 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7880
7881         * gst/gstpad.c: (gst_pad_new_from_static_template):
7882         * gst/gstpad.h:
7883           add gst_pad_new_from_static_template functions
7884         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7885         (gst_check_setup_sink_pad):
7886         * gst/elements/gsttee.c: (gst_tee_init):
7887           and use them
7888
7889 2005-11-16  Wim Taymans  <wim@fluendo.com>
7890
7891         * gst/gstpad.c: (gst_pad_pause_task):
7892         Removed warning, it's not really an error either.
7893
7894 2005-11-16  Wim Taymans  <wim@fluendo.com>
7895
7896         * gst/base/gstbasetransform.c:
7897         (gst_base_transform_prepare_output_buf),
7898         (gst_base_transform_event):
7899         Check if the caps are NULL, this can happen if the element
7900         is shutting down and the pad caps are set to NULL.
7901
7902 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7903
7904         * gst/elements/gsttee.c: (gst_tee_init):
7905           fix pad template leak in tee
7906
7907 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7908
7909         * gst/glib-compat.c: (g_value_dup_gst_object):
7910         * gst/glib-compat.h:
7911         * gst/gstpad.c: (gst_pad_set_property):
7912           use gst_object_ref when setting the pad template; this will
7913           trigger the pad template leaks on GLib 2.6 and the slaves
7914
7915 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7916
7917         * gst/glib-compat.c: (gst_flags_get_first_value):
7918         * gst/glib-compat.h:
7919         * gst/gstregistryxml.c:
7920           remove functions copied from GLib 2.6
7921
7922 2005-11-16  Michael Smith <msmith@fluendo.com>
7923
7924         * gst/Makefile.am:
7925           Don't link against VALGRIND_LIBS. That was always the wrong thing to
7926           do, but only breaks with newer valgrind versions. We're not a
7927           valgrind tool, we have no link-time dependencies on libcoregrind.
7928
7929 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7930
7931         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7932           some debug changes
7933         * gst/gstmessage.h:
7934           typo fixes
7935
7936 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7937
7938         * gst/base/gstbasesrc.c: (gst_base_src_init):
7939         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7940         * gst/gstqueue.c: (gst_queue_init):
7941         * gst/gstregistryxml.c: (load_feature):
7942           Revert all these unrefs, they don't even pass make check !
7943
7944 2005-11-15  Johan Dahlin  <johan@gnome.org>
7945
7946         * gst/base/gstbasesrc.c: (gst_base_src_init):
7947         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7948         * gst/gstqueue.c: (gst_queue_init): 
7949         Free pad templates, fixes a couple of leaks.
7950
7951 2005-11-15  Daniel Fischer  <dan at f3c dot com>
7952
7953         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7954
7955         * gst/gstpad.c: (gst_pad_get_property):
7956           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7957           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7958           (#321452)
7959
7960 2005-11-15  Wim Taymans  <wim@fluendo.com>
7961
7962         * gst/gstevent.c:
7963         Small doc update.
7964
7965 2005-11-15  Andy Wingo  <wingo@pobox.com>
7966
7967         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7968
7969         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7970         using GST_CLOCK_TIME_NONE to disable base time management.
7971         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7972         time if it was NONE before.
7973         (gst_pipeline_change_state): Only munge the base time if
7974         stream_time != GST_CLOCK_TIME_NONE.
7975
7976         * check/gst/gstpipeline.c (test_base_time): Punt around the
7977         problem of the probe not being called, because that's not the
7978         issue I'm looking at. Add a check that setting stream_time to NONE
7979         disables base time management.
7980         
7981 2005-11-15  Wim Taymans  <wim@fluendo.com>
7982
7983         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7984         segment_stop == -1 at startup.
7985
7986         * gst/base/gstbasetransform.c: (gst_base_transform_event),
7987         (gst_base_transform_change_state):
7988         Init segment values at start.
7989
7990 2005-11-15  Wim Taymans  <wim@fluendo.com>
7991
7992         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7993         0 segment values are 0 in any format.
7994
7995         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7996         * gst/base/gstbasetransform.h:
7997         Parse newsegment correctly in basetransform
7998
7999         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8000         Sync to clock using updated segment values.
8001
8002 2005-11-15  Andy Wingo  <wingo@pobox.com>
8003
8004         * check/gst/gstpipeline.c (test_base_time): Add check that the
8005         base time and stream time are reset correctly.
8006
8007 2005-11-15  Wim Taymans  <wim@fluendo.com>
8008
8009         * docs/design/part-TODO.txt:
8010         Some more TODO items.
8011
8012 2005-11-15  Andy Wingo  <wingo@pobox.com>
8013
8014         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8015         error if the user selected "no clock" as the clocking method.
8016
8017         * check/gst/gstpipeline.c (test_base_time): New test for buffer
8018         timestamps with live capture.
8019
8020         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8021         is 0 but we are a live source, timestamp the buffers using the
8022         element's clock.
8023
8024 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
8025
8026         * docs/gst/gstreamer-sections.txt:
8027         * gst/gsterror.c:
8028         * gst/gstghostpad.c:
8029         * gst/gstobject.h:
8030         * gst/gstxml.c:
8031           more section docs
8032
8033 2005-11-14  Wim Taymans  <wim@fluendo.com>
8034
8035         * common/gst.supp:
8036           add suppressions from Wim's Debian machine
8037
8038 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
8039
8040         * common/gst.supp:
8041           add suppressions from Andy's AMD64 Ubuntu machine
8042
8043 2005-11-14  Andy Wingo  <wingo@pobox.com>
8044
8045         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8046         STATE_LOCK not necessary. Fixes #311489.
8047
8048         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8049         #305291.
8050
8051         * gst/gstindex.c (gst_index_add_object): Note in the docs that
8052         this function is not implemented.
8053
8054 2005-11-14  Julien MOUTTE  <julien@moutte.net>
8055
8056         * gst/base/gstbasetransform.c:
8057         (gst_base_transform_prepare_output_buf):
8058         Ref the source pad caps while we need them.
8059         Fixes (#321386)
8060
8061 2005-11-11  Wim Taymans  <wim@fluendo.com>
8062
8063         * docs/gst/gstreamer-sections.txt:
8064         Added some docs for GstCollectData.
8065
8066         * gst/base/gstadapter.c:
8067         Some small code example fix.
8068
8069         * gst/base/gstcollectpads.c:
8070         * gst/base/gstcollectpads.h:
8071         Document some more.
8072
8073 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8074
8075         * configure.ac: back to HEAD
8076
8077 === release 0.9.5 ===
8078
8079 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
8080
8081         * configure.ac:
8082           releasing 0.9.5, "Bike Lunch Day"
8083
8084 2005-11-11  Wim Taymans  <wim@fluendo.com>
8085
8086         * gst/gstbuffer.c: (_gst_buffer_copy):
8087         Copy more flags.
8088
8089         * gst/gstcaps.c: (gst_caps_is_equal):
8090         Fix some docs.
8091         Make _is_equal fast in the trivial cases.
8092
8093         * gst/gstminiobject.c:
8094         * gst/gstminiobject.h:
8095         More docs. Spifify .h file.
8096
8097         * gst/gstutils.c:
8098         Small doc update.
8099
8100 2005-11-11  Wim Taymans  <wim@fluendo.com>
8101
8102         * gst/base/gstbasetransform.c:
8103         (gst_base_transform_prepare_output_buf),
8104         (gst_base_transform_handle_buffer):
8105         Small cleanups.
8106         If we're processing a buffer and need to allocate an output
8107         buffer, we cannot accept a format change. If we did get a 
8108         format change, we have to alloc a buffer ourselves of the 
8109         right size.
8110
8111 2005-11-11  Wim Taymans  <wim@fluendo.com>
8112
8113         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
8114         While checking the flag for reentrancy in the gstcaps function
8115         is nice to detect recursive invocations, it also makes it 
8116         impossible to call getcaps from multiple threads, which must be
8117         possible. So, checking for recursive calls has to go.
8118
8119 2005-11-11  Michael Smith <msmith@fluendo.com>
8120
8121         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8122           Don't sync on buffers that fall partially outside our current
8123           segment. Prevents an assertion failure/abort playing some files.
8124
8125 2005-11-10  Andy Wingo  <wingo@pobox.com>
8126
8127         * check/gst/gstbin.c (test_message_state_changed_children): Style
8128         fix..
8129
8130         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
8131         gst_bus_poll with the signal watch. Ensures that poll and a signal
8132         watch see the same messages.
8133
8134         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
8135         a poll and a watch at the same time get the same messages.
8136
8137 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8138
8139         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
8140         * gst/gstcaps.c: (gst_caps_intersect):
8141           Don't call gst_caps_do_simplify - it doesn't respect order of caps
8142           and it's not needed.
8143
8144 2005-11-10  Wim Taymans  <wim@fluendo.com>
8145
8146         * docs/design/part-TODO.txt:
8147         Updated todo.
8148
8149 2005-11-10  Wim Taymans  <wim@fluendo.com>
8150
8151         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8152         * gst/base/gstbasesrc.c: (gst_base_src_wait),
8153         (gst_base_src_do_sync), (gst_base_src_get_range):
8154         Implement clock sync in base class.
8155
8156 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
8157
8158         patch by: Tim-Philipp Müller <tim at centricular dot net>
8159
8160         * gst/gststructure.c: (gst_structure_parse_field),
8161         (gst_structure_from_string):
8162           Forward-port a 0.8 patch to handle escaped spaces in structure string,
8163           so that gst_parse_launch() can deal with spaces in filtered link
8164           caps (fixes #164479)
8165         * check/gst/capslist.h:
8166         * check/gst/gststructure.c: (GST_START_TEST):
8167           add unit tests for this change
8168
8169 2005-11-10  Wim Taymans  <wim@fluendo.com>
8170
8171         * docs/gst/gstreamer-sections.txt:
8172         * gst/gstelement.c:
8173         * gst/gstelement.h:
8174         Fix docs, move some STATE macros to private.
8175
8176 2005-11-10  Wim Taymans  <wim@fluendo.com>
8177
8178         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8179         Added check for bug #317341
8180
8181         * gst/gstbuffer.c:
8182         * gst/gstbuffer.h:
8183         Some more spiffifying.
8184
8185         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
8186         Call peer linkfunction if we are a source pad. Totally fixes
8187         #317341
8188
8189         * gst/gstpad.c:
8190         Update docs, source pads should call the peer linkfunction
8191         so they can atomically perform the pad link.
8192
8193 2005-11-09  Wim Taymans  <wim@fluendo.com>
8194
8195         * gst/gstbuffer.c:
8196         * gst/gstbuffer.h:
8197         Uber-spiffy-spiffify some more.
8198
8199 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
8200
8201         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
8202         * gst/elements/gstfilesink.c: (gst_file_sink_init):
8203         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8204         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
8205         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
8206         * gst/gstpad.c: (gst_pad_init):
8207           Use GST_DEBUG_FUNCPTR() more extensively.
8208
8209 2005-11-09  Wim Taymans  <wim@fluendo.com>
8210
8211         * gst/gstobject.c: (gst_object_class_init):
8212         * gst/gstobject.h:
8213         Documentation fixes.
8214
8215 2005-11-09  Edward Hervey  <edward@fluendo.com>
8216
8217         * gst/gsttypefindfactory.c:
8218         Fix docs.
8219         
8220 2005-11-09  Edward Hervey  <edward@fluendo.com>
8221
8222         * gst/base/gsttypefindhelper.c:
8223         * gst/gsttypefind.c:
8224         * gst/gsttypefind.h:
8225         Fix docs.
8226
8227 2005-11-09  Wim Taymans  <wim@fluendo.com>
8228
8229         * gst/gstiterator.c:
8230         Fix revision data.
8231
8232         * gst/gsttask.c:
8233         * gst/gsttask.h:
8234         Fix docs.
8235
8236 2005-11-09  Wim Taymans  <wim@fluendo.com>
8237
8238         * gst/gstevent.h:
8239         * gst/gsturi.h:
8240         Fix docs.
8241
8242 2005-11-09  Wim Taymans  <wim@fluendo.com>
8243
8244         * docs/gst/gstreamer-sections.txt:
8245         Moved the message async delivery private lock and cond
8246         to the private section.
8247
8248         * gst/gstmessage.c:
8249         * gst/gstmessage.h:
8250         Fixed docs.
8251
8252 2005-11-09  Edward Hervey  <edward@fluendo.com>
8253
8254         * docs/gst/gstreamer-sections.txt:
8255         * gst/gsturi.c:
8256         * gst/gsturi.h:
8257         Document GstURIHandler
8258
8259 2005-11-09  Wim Taymans  <wim@fluendo.com>
8260
8261         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
8262         (gst_iterator_find_custom):
8263         * gst/gstiterator.h:
8264         Fix iterator docs.
8265
8266 2005-11-09  Wim Taymans  <wim@fluendo.com>
8267
8268         * gst/gstbin.h:
8269         Document another field.
8270
8271         * gst/gststructure.c:
8272         * gst/gststructure.h:
8273         Document.
8274
8275 2005-11-09  Wim Taymans  <wim@fluendo.com>
8276
8277         * gst/gstbin.h:
8278         Documented structs.
8279
8280 2005-11-09  Wim Taymans  <wim@fluendo.com>
8281
8282         * docs/gst/gstreamer-sections.txt:
8283         Added some new macros.
8284
8285         * gst/gstclock.c:
8286         * gst/gstclock.h:
8287         * gst/gstobject.h:
8288         Docs updates.
8289
8290 2005-11-09  Wim Taymans  <wim@fluendo.com>
8291
8292         * docs/design/part-TODO.txt:
8293         Some more items for the TODO
8294
8295         * gst/gstcaps.c:
8296         * gst/gstcaps.h:
8297         Document GstCaps.
8298
8299 2005-11-09  Andy Wingo  <wingo@pobox.com>
8300
8301         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
8302         to work on something else now tho...
8303
8304         * gst/base/gstadapter.c: More adapter docs.
8305
8306         * gst/elements/gstfilesink.c (gst_file_sink_start) 
8307         (gst_file_sink_stop): New functions, replace the state change
8308         handler.
8309         (gst_file_sink_class_init): Hook up the start and stop functions.
8310         (gst_file_sink_base_init): Don't set the state change handler any
8311         more. It was a bit ugly too, being set from here...
8312         (gst_file_sink_get_property, gst_file_sink_set_property):
8313         Cleanups...
8314         (gst_file_sink_set_location): More robust check that doesn't call
8315         GST_STATE. Ugggggg.
8316
8317 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
8318
8319         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8320           Hold STREAM_LOCK while pushing newsegment or tag events as well.
8321
8322 2005-11-08  Wim Taymans  <wim@fluendo.com>
8323
8324         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
8325         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
8326         (gst_base_sink_chain), (gst_base_sink_change_state):
8327         * gst/base/gstbasesink.h:
8328         * gst/base/gstbasesrc.h:
8329         * gst/gstelement.h:
8330         * gst/gstevent.h:
8331         Avoid excessive typechecking in macros.
8332
8333         * gst/gstminiobject.c: (gst_mini_object_get_type),
8334         (gst_mini_object_init), (gst_mini_object_new),
8335         (gst_mini_object_free):
8336         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
8337         (gst_object_finalize):
8338         Remove cruft code, optimize alloc_trace.
8339
8340 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
8341
8342         * docs/faq/gst-uninstalled:
8343           fix up PS1 for systems that try to reset it
8344
8345 2005-11-07  Wim Taymans  <wim@fluendo.com>
8346
8347         * gst/base/gstbasesrc.c: (gst_base_src_init),
8348         (gst_base_src_get_range):
8349         Set the segment_end to -1 initially. Fixed typefind.
8350
8351 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
8352
8353         * gst/base/gstadapter.c:
8354           Debug category should be 'adapter', not 'GstAdapter'.
8355           
8356         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
8357         (gst_collectpads_class_init), (gst_collectpads_init),
8358         (gst_collectpads_peek), (gst_collectpads_pop),
8359         (gst_collectpads_event), (gst_collectpads_chain):
8360           Add debug category and some debugging output. Use boilerplate
8361           macros. Remove some extraneous words from docs.
8362
8363 2005-11-05  Andy Wingo  <wingo@pobox.com>
8364
8365         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
8366         macro.
8367
8368 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
8369
8370         * docs/gst/gstreamer-sections.txt:
8371         * gst/gstcaps.h:
8372         * gst/gstinfo.c:
8373         * gst/gstminiobject.h:
8374         * gst/gstobject.h:
8375         * gst/gstutils.h:
8376           more docs added
8377
8378 2005-11-04  Wim Taymans  <wim@fluendo.com>
8379
8380         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8381         Small update to stop at the configured segment_end
8382         position.
8383
8384 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
8385
8386         * gst/gstregistry.c:
8387         * gst/gstregistry.h:
8388           added missing docs
8389
8390 2005-11-04  Edward Hervey  <edward@fluendo.com>
8391
8392         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8393         Check if we are doing a segment seek and have arrived at the
8394         end of that segment.
8395
8396 2005-11-04  Wim Taymans  <wim@fluendo.com>
8397
8398         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
8399         Don't leak a mutex unlock in case of an error.
8400
8401         * gst/gstbus.h:
8402         Doc fixes.
8403
8404 2005-11-04  Wim Taymans  <wim@fluendo.com>
8405
8406         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
8407         (gst_bus_post):
8408         Get the context to wake up only once.
8409
8410 2005-11-03  Wim Taymans  <wim@fluendo.com>
8411
8412         * check/states/sinks.c: (GST_START_TEST):
8413         Uncomment fixed check.
8414
8415         * docs/design/part-TODO.txt:
8416         Updated TODO.
8417
8418         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8419         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8420         (gst_base_sink_get_position):
8421         If we are going to PLAYING, post the right pending state
8422         when we post the intermediate paused message.
8423
8424         * gst/gstelement.c: (gst_element_continue_state),
8425         (gst_element_set_state_func), (gst_element_change_state):
8426         Don't post state changes that were between the same state
8427         and were not ASYNC.
8428
8429 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
8430
8431         * docs/gst/gstreamer-sections.txt:
8432         * gst/gstcaps.h:
8433         * gst/gstinfo.c:
8434         * gst/gstminiobject.h:
8435         * gst/gstobject.h:
8436         * gst/gstutils.h:
8437           more docs and doc style fixes
8438
8439 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
8440
8441         * docs/gst/gstreamer-sections.txt:
8442         * gst/gstelement.c:
8443         * gst/gstminiobject.c:
8444         doc fixes
8445
8446 2005-11-03  Andy Wingo  <wingo@pobox.com>
8447
8448         * check/states/sinks.c (test_livesrc_sink): Add checks that the
8449         state-changed messages actually have the right order and the right
8450         values.
8451
8452 2005-11-03  Wim Taymans  <wim@fluendo.com>
8453
8454         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8455         Added some more checks. Specifically the case where NO_PREROLL
8456         elements are in the pipeline.
8457
8458         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8459         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
8460         (gst_base_sink_get_position):
8461         Post READY->PAUSED state change messages too.
8462         Fix bug where VOID was posted as pending state...
8463
8464         * gst/gstbin.c: (gst_bin_recalc_state):
8465         use _element_continue_state() to continue the state change.
8466
8467         * gst/gstelement.c: (gst_element_continue_state),
8468         (gst_element_commit_state), (gst_element_set_state_func),
8469         (gst_element_change_state), (gst_element_change_state_func):
8470         Lots of state change cleanups, assign the STATE_RETURN in
8471         a new continue_state() function that also propagates the
8472         last return value from a state change to the app.
8473         Update some debug statements with proper category.
8474
8475 2005-11-03  Wim Taymans  <wim@fluendo.com>
8476
8477         * docs/design/part-events.txt:
8478         * docs/design/part-gstpipeline.txt:
8479         * docs/design/part-messages.txt:
8480         * docs/design/part-overview.txt:
8481         * docs/design/part-seeking.txt:
8482         * docs/design/part-states.txt:
8483         * docs/design/part-trickmodes.txt:
8484         * docs/manual/advanced-position.xml:
8485         Small docs updates.
8486
8487         * gst/gstobject.h:
8488         People think !! is ugly, this looks better.
8489
8490         * gst/gstpad.c: (gst_pad_set_blocked_async):
8491         Remove !! since it's fixed elsewhere now.
8492
8493 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8494
8495         * gst/gstminiobject.h:
8496         * gst/gstobject.h:
8497           Add !! to _FLAG_IS_SET macros to make the result boolean.
8498
8499 2005-11-03  Edward Hervey  <edward@fluendo.com>
8500
8501         * gst/gstpad.c: (gst_pad_set_blocked_async):
8502         comparing a flag and a gboolean rarely returns coherent results...
8503         Added two characters (!!) to make that work correctly.
8504         
8505 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8506
8507         * gst/gstbus.c: (gst_bus_class_init):
8508           Fix some typos.
8509           
8510         * gst/gstqueue.c: (gst_queue_loop):
8511           Don't assume a miniobject that isn't a buffer is an
8512           event (it could be that there is a refcounting
8513           problem somewhere and the pointer is stale and
8514           refers to an already destroyed miniobject).
8515
8516 2005-11-03  Julien MOUTTE  <julien@moutte.net>
8517
8518         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
8519
8520 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
8521
8522         * docs/manual/advanced-position.xml:
8523           Update seek example and explanations to current 0.9 API.
8524
8525         * gst/elements/gsttypefindelement.c:
8526         (gst_type_find_element_activate):
8527           Remove FIXME comment now that the found caps
8528           are unreffed.
8529
8530 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8531
8532         * gst/gstregistryxml.c: (load_feature):
8533           Add another GST_STR_NULL instance
8534
8535 2005-11-02  Edward Hervey  <edward@fluendo.com>
8536
8537         * gst/gstpad.c: (handle_pad_block):
8538         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
8539         
8540 2005-11-02  Wim Taymans  <wim@fluendo.com>
8541
8542         * gst/gstbin.c:
8543         Fix typo in docs.
8544
8545         * gst/gstelement.c: (gst_element_commit_state):
8546         Remove unused value.
8547
8548         * gst/gstiterator.c:
8549         Mention that the returned element is reffed in the docs.
8550
8551 2005-11-02  Wim Taymans  <wim@fluendo.com>
8552
8553         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
8554         (gst_pad_push), (gst_pad_push_event):
8555         Unlock blocked pads when they are flushed.
8556
8557 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8558
8559         * docs/README:
8560         * docs/gst/gstreamer-sections.txt:
8561         * gst/gstbin.c:
8562           doc updates
8563         * gst/gstregistry.c: (gst_registry_scan_path_level):
8564           fix for a nasty little missed situation where an installed plug-in
8565           which was in the cache did not get overridden by an uninstalled one
8566           which was earlier in the plugin path because the newly created plugin
8567           for the uninstalled one (not in the registry) didn't get its
8568           ->registered set to TRUE
8569
8570 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8571
8572         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
8573         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
8574         (gst_collectpads_is_active), (gst_collectpads_collect),
8575         (gst_collectpads_collect_range), (gst_collectpads_start),
8576         (gst_collectpads_stop), (gst_collectpads_peek),
8577         (gst_collectpads_pop), (gst_collectpads_available),
8578         (gst_collectpads_read), (gst_collectpads_flush):
8579           Guard public API with assertions.
8580         
8581         * gst/gstpad.c:
8582           Fix docs for gst_pad_set_link_function().
8583
8584 2005-11-02  Johan Dahlin  <johan@gnome.org>
8585
8586         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
8587         Unref found_caps after we used it.
8588
8589 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
8590
8591         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
8592           Don't try to ref NULL.
8593
8594 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8595
8596         * win32/common/config.h.in:
8597           provide a GST_FUNCTION that just gives a string for now
8598
8599 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8600
8601         * win32/common/gstenumtypes.c: (register_gst_object_flags),
8602         (gst_object_flags_get_type), (register_gst_bin_flags),
8603         (gst_bin_flags_get_type), (register_gst_buffer_flag),
8604         (gst_buffer_flag_get_type), (register_gst_bus_flags),
8605         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
8606         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
8607         (gst_clock_return_get_type), (register_gst_clock_entry_type),
8608         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
8609         (gst_clock_flags_get_type), (register_gst_state),
8610         (gst_state_get_type), (register_gst_state_change_return),
8611         (gst_state_change_return_get_type), (register_gst_state_change),
8612         (gst_state_change_get_type), (register_gst_element_flags),
8613         (gst_element_flags_get_type), (register_gst_core_error),
8614         (gst_core_error_get_type), (register_gst_library_error),
8615         (gst_library_error_get_type), (register_gst_resource_error),
8616         (gst_resource_error_get_type), (register_gst_stream_error),
8617         (gst_stream_error_get_type), (register_gst_event_type),
8618         (gst_event_type_get_type), (register_gst_seek_type),
8619         (gst_seek_type_get_type), (register_gst_seek_flags),
8620         (gst_seek_flags_get_type), (register_gst_format),
8621         (gst_format_get_type), (register_gst_index_certainty),
8622         (gst_index_certainty_get_type), (register_gst_index_entry_type),
8623         (gst_index_entry_type_get_type),
8624         (register_gst_index_lookup_method),
8625         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
8626         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
8627         (gst_index_resolver_method_get_type), (register_gst_index_flags),
8628         (gst_index_flags_get_type), (register_gst_debug_level),
8629         (gst_debug_level_get_type), (register_gst_debug_color_flags),
8630         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
8631         (gst_iterator_result_get_type), (register_gst_iterator_item),
8632         (gst_iterator_item_get_type), (register_gst_message_type),
8633         (gst_message_type_get_type), (register_gst_mini_object_flags),
8634         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
8635         (gst_pad_link_return_get_type), (register_gst_flow_return),
8636         (gst_flow_return_get_type), (register_gst_activate_mode),
8637         (gst_activate_mode_get_type), (register_gst_pad_direction),
8638         (gst_pad_direction_get_type), (register_gst_pad_flags),
8639         (gst_pad_flags_get_type), (register_gst_pad_presence),
8640         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
8641         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
8642         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
8643         (gst_plugin_error_get_type), (register_gst_plugin_flags),
8644         (gst_plugin_flags_get_type), (register_gst_rank),
8645         (gst_rank_get_type), (register_gst_query_type),
8646         (gst_query_type_get_type), (register_gst_tag_merge_mode),
8647         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
8648         (gst_tag_flag_get_type), (register_gst_task_state),
8649         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
8650         (gst_alloc_trace_flags_get_type),
8651         (register_gst_type_find_probability),
8652         (gst_type_find_probability_get_type), (register_gst_uri_type),
8653         (gst_uri_type_get_type), (register_gst_parse_error),
8654         (gst_parse_error_get_type):
8655         * win32/common/gstversion.h:
8656           update win32 copies
8657
8658 2005-11-01  Luca Ognibene  <luogni@tin.it>
8659
8660         * gst/gst.c:
8661           fix docs. popt is dead, long live GOption.
8662
8663 2005-10-31  Wim Taymans  <wim@fluendo.com>
8664
8665         * gst/gstbuffer.h:
8666         Small doc fix.
8667
8668 2005-10-31  Andy Wingo  <wingo@pobox.com>
8669
8670         * Boo!
8671
8672         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
8673
8674         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
8675         need to serialize property notifications on GLib 2.8. GLib 2.6 has
8676         the possibility of deadlocks here if code calling notify() or
8677         set() has a lock that can be taken in another notify handler (ABBA
8678         with class lock and e.g. python GIL state lock).
8679
8680 2005-10-28  Julien MOUTTE  <julien@moutte.net>
8681
8682         * gst/gstbus.c: Doc updates.
8683
8684 2005-10-28  Wim Taymans  <wim@fluendo.com>
8685
8686         * docs/design/part-TODO.txt:
8687         * gst/gstiterator.c:
8688         * gst/gstsystemclock.c:
8689         * gst/gstsystemclock.h:
8690         Doc updates.
8691
8692 2005-10-28  Edward Hervey  <edward@fluendo.com>
8693
8694         * docs/gst/gstreamer-docs.sgml:
8695         * docs/gst/gstreamer-sections.txt:
8696         the GstURIType documentation page is private, it only defines GstURIType
8697         which should be defined in the GstURIHandler page
8698         
8699 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8700
8701         * gst/gstbin.c: (gst_bin_class_init):
8702         * gst/gstbin.h:
8703         * gst/gstutils.c:
8704         Documentation updates.
8705
8706 2005-10-28  Wim Taymans  <wim@fluendo.com>
8707
8708         * docs/gst/gstreamer-sections.txt:
8709         * gst/gstclock.c:
8710         * gst/gstclock.h:
8711         Documented the clocks.
8712
8713 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
8714
8715         * docs/gst/gstreamer-sections.txt:
8716           move some macros to private sections
8717         * gst/gstminiobject.c:
8718         * gst/gstminiobject.h:
8719           add descriptions provided by ds and some more
8720         * gst/gstpad.h:
8721           mark macro as to be removed
8722
8723 2005-10-28  Wim Taymans  <wim@fluendo.com>
8724
8725         * docs/design/part-TODO.txt:
8726         Add an item to TODO.
8727
8728         * gst/gstiterator.c: (gst_iterator_fold),
8729         (gst_iterator_find_custom):
8730         * gst/gstiterator.h:
8731         Add iterator docs.
8732
8733 2005-10-28  Wim Taymans  <wim@fluendo.com>
8734
8735         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8736         (gst_base_transform_init):
8737         Don't leak class.
8738
8739         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
8740         An EOS event marks the queue as completely filled.
8741
8742 2005-10-27  Wim Taymans  <wim@fluendo.com>
8743
8744         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8745         (gst_base_sink_do_sync), (gst_base_sink_get_position):
8746         Some more debugging.
8747
8748         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
8749         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
8750         (gst_base_transform_event), (gst_base_transform_getrange),
8751         (gst_base_transform_chain):
8752         * gst/base/gstbasetransform.h:
8753         Fix debugging,
8754         Protect transform and concurrent buffer alloc with a new lock.
8755         Try not to break ABI/API.
8756
8757 2005-10-27  Wim Taymans  <wim@fluendo.com>
8758
8759         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
8760         (gst_base_src_init), (gst_base_src_query),
8761         (gst_base_src_default_newsegment),
8762         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8763         (gst_base_src_send_event), (gst_base_src_event_handler),
8764         (gst_base_src_pad_get_range), (gst_base_src_loop),
8765         (gst_base_src_unlock), (gst_base_src_default_negotiate),
8766         (gst_base_src_start), (gst_base_src_deactivate),
8767         (gst_base_src_activate_push), (gst_base_src_change_state):
8768         Move some stuff around and cleanup things.
8769
8770 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
8771
8772         * gst/base/gstbasesrc.c: (gst_base_src_query):
8773           Add missing break statements.
8774
8775 2005-10-27  Wim Taymans  <wim@fluendo.com>
8776
8777         * check/gst/gstbin.c: (GST_START_TEST):
8778         An extra refcount is taken in basesrc.
8779
8780         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8781         (gst_base_src_get_range), (gst_base_src_pad_get_range),
8782         (gst_base_src_loop):
8783         Small cleanups, check for flushing after being unlocked from the 
8784         LIVE_LOCK. take refcounts correctly (not yet everywhere).
8785         Don't send out EOS when going to READY.
8786
8787 2005-10-27  Wim Taymans  <wim@fluendo.com>
8788
8789         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8790         (gst_base_sink_get_position):
8791         Some more debug.
8792
8793         * gst/gstbin.c: (message_check), (bin_replace_message),
8794         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8795         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8796         (bin_query_duration_init), (bin_query_duration_fold),
8797         (bin_query_duration_done), (bin_query_generic_fold),
8798         (gst_bin_query):
8799         * tools/gst-launch.c: (main):
8800         Remove old option.
8801
8802 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
8803
8804         * examples/controller/audio-example.c: (main):
8805         * examples/queue/queue.c: (event_loop):
8806         * gst/base/gstbasetransform.h:
8807         * gst/gstelement.c: (gst_element_send_event):
8808         * gst/gstevent.h:
8809         * gst/gstpad.c: (gst_pad_send_event):
8810           fixing examples
8811           fixing docs typos
8812           changing log priority in error situations
8813
8814 2005-10-25  Wim Taymans  <wim@fluendo.com>
8815
8816         * gst/gstbin.c: (message_check), (bin_replace_message),
8817         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8818         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8819         (bin_query_duration_init), (bin_query_duration_fold),
8820         (bin_query_duration_done), (bin_query_generic_fold),
8821         (gst_bin_query):
8822         Some doc and debug updates.
8823         Cache previously requested query DURATION for speed. invalidate
8824         cached duration if element posts a DURATION message.
8825
8826 2005-10-25  Wim Taymans  <wim@fluendo.com>
8827
8828         * docs/design/part-TODO.txt:
8829         Update TODO.
8830
8831         * gst/gstbin.c: (message_check), (bin_replace_message),
8832         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8833         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
8834         (bin_query_duration_init), (bin_query_duration_fold),
8835         (bin_query_duration_done), (bin_query_generic_fold),
8836         (gst_bin_query):
8837         Handle SEGMENT_START/DONE messages correctly.
8838         More evolved query algorithm that handles duration queries
8839         correctly.
8840
8841         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
8842         (gst_element_get_state_func), (gst_element_abort_state),
8843         (gst_element_commit_state), (gst_element_lost_state):
8844         Some more debugging.
8845
8846         * gst/gstmessage.h:
8847         Added doc.
8848
8849 2005-10-25  Wim Taymans  <wim@fluendo.com>
8850
8851         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8852         Don't use invalid stream_time.
8853
8854         * gst/gstevent.c: (gst_event_new_newsegment):
8855         stream_time in newsegment cannot be undefined.
8856
8857 2005-10-24  Wim Taymans  <wim@fluendo.com>
8858
8859         * gst/gstbus.c:
8860         Doc fix.
8861
8862         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8863         (gst_queue_loop):
8864         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8865
8866 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
8867
8868         * docs/libs/tmpl/gstdparam.sgml:
8869         * docs/libs/tmpl/gstdplinint.sgml:
8870         * docs/libs/tmpl/gstdpman.sgml:
8871         * docs/libs/tmpl/gstdpsmooth.sgml:
8872         * docs/libs/tmpl/gstunitconvert.sgml:
8873           these are obsolete
8874
8875 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8876
8877         * configure.ac:
8878           back to HEAD
8879
8880 === release 0.9.4 ===
8881
8882 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8883
8884         * configure.ac:
8885           releasing 0.9.4, "Tyrannosaurus Rex"
8886
8887 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
8888
8889         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8890         (gst_file_sink_get_current_offset):
8891           Use fseeko() and ftello() if available. When falling back on
8892           lseek() to get the current offset, fflush() first to make sure
8893           everything is up-to-date and we get the right offset.
8894
8895 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8896
8897         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8898         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8899         * gst/gsterror.c: (_gst_stream_errors_init):
8900         * gst/gsterror.h:
8901         * gst/gstqueue.c: (gst_queue_loop):
8902         * po/POTFILES.in:
8903           remove prematurely added error category and clean up the instances
8904
8905 2005-10-21  Wim Taymans  <wim@fluendo.com>
8906
8907         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8908         (gst_base_sink_get_position), (gst_base_sink_query),
8909         (gst_base_sink_change_state):
8910         Simply set the right flag when going to playing, that's all
8911         we need to do instead of calling a function inside the object
8912         lock (that could take the lock as well and deadlock)
8913
8914 2005-10-21  Wim Taymans  <wim@fluendo.com>
8915
8916         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8917         (gst_base_src_loop):
8918         Don't warn, the peer element knows what to do best when
8919         the seek failed, it might try something else.
8920
8921 2005-10-21  Wim Taymans  <wim@fluendo.com>
8922
8923         * gst/base/gstbasesrc.c: (gst_base_src_init),
8924         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8925         Fix seeking.
8926
8927 2005-10-21  Wim Taymans  <wim@fluendo.com>
8928
8929         * docs/design/part-segments.txt:
8930         More docs.
8931
8932         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8933         Correctly set caps, even on the subbufer.
8934
8935 2005-10-21  Wim Taymans  <wim@fluendo.com>
8936
8937         * docs/gst/gstreamer-docs.sgml:
8938         * docs/gst/gstreamer-sections.txt:
8939         * gst/gstelement.h:
8940         * gst/gstevent.c:
8941         * gst/gstevent.h:
8942         * gst/gstmessage.h:
8943         * gst/gstpad.h:
8944         * gst/gstparse.h:
8945         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8946         * gst/gsttask.h:
8947         * gst/gstutils.c:
8948         * gst/gstutils.h:
8949         And 2% more doc coverage.
8950
8951 2005-10-21  Andy Wingo  <wingo@pobox.com>
8952
8953         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8954         position reporting.
8955
8956 2005-10-20  Wim Taymans  <wim@fluendo.com>
8957
8958         * gst/gsterror.c: (gst_error_get_message):
8959         * gst/gstparse.h:
8960         * gst/gstquery.h:
8961         * gst/gststructure.c:
8962         * gst/gsttrace.c:
8963         * gst/gstutils.c:
8964         More docs.
8965
8966 2005-10-20  Wim Taymans  <wim@fluendo.com>
8967
8968         * gst/gstbuffer.h:
8969         * gst/gstpad.c:
8970         * gst/gstparse.c:
8971         Another 1% more coverage.
8972
8973 2005-10-20  Wim Taymans  <wim@fluendo.com>
8974
8975         * docs/gst/gstreamer-sections.txt:
8976         * gst/gstelement.c: (gst_element_get_state_func),
8977         (gst_element_abort_state), (gst_element_commit_state),
8978         (gst_element_lost_state):
8979         * gst/gstevent.h:
8980         * gst/gstquery.c: (gst_query_set_position),
8981         (gst_query_parse_position), (gst_query_set_duration),
8982         (gst_query_parse_duration), (gst_query_new_convert):
8983         * gst/gstutils.c:
8984         Yay! 1% more docs coverage.
8985
8986 2005-10-20  Wim Taymans  <wim@fluendo.com>
8987
8988         * gst/gstpad.h:
8989         * gst/gstquery.c: (gst_query_set_position),
8990         (gst_query_parse_position), (gst_query_set_duration),
8991         (gst_query_parse_duration), (gst_query_new_convert):
8992         * gst/gstquery.h:
8993         * gst/gstutils.c: (gst_element_query_convert):
8994         * gst/gstutils.h:
8995         Docs and consistency fixes.
8996
8997 2005-10-20  Wim Taymans  <wim@fluendo.com>
8998
8999         * gst/gsttask.c:
9000         * gst/gsttask.h:
9001         More docs.
9002
9003 2005-10-20  Wim Taymans  <wim@fluendo.com>
9004
9005         * gst/gstbin.c: (message_check), (bin_replace_message),
9006         (bin_remove_messages), (is_eos), (gst_bin_add_func),
9007         (update_degree), (gst_bin_sort_iterator_next),
9008         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9009         Reworked the message handling a bit, cache the messages instead of
9010         only the senders. alows us to do more in the future.
9011
9012 2005-10-20  Wim Taymans  <wim@fluendo.com>
9013
9014         * docs/design/part-TODO.txt:
9015         Update TODO
9016
9017         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9018         (gst_base_sink_query):
9019         Don't use clock time to report position when in EOS.
9020
9021 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
9022
9023         * tools/gst-inspect.c: (print_interfaces),
9024         (print_element_properties_info), (print_element_info):
9025           Fix interface output with gst-inspect -a; don't print
9026           newlines after double/float properties.
9027
9028 2005-10-20  Wim Taymans  <wim@fluendo.com>
9029
9030         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9031         (gst_base_sink_query):
9032         Speed up current position calculation.
9033
9034         * gst/base/gstbasesrc.c: (gst_base_src_query),
9035         (gst_base_src_default_newsegment):
9036         Correctly set stream position in newsegment.
9037
9038         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9039         (update_degree), (gst_bin_sort_iterator_next),
9040         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9041         * gst/gstmessage.c: (gst_message_new_custom):
9042         Clean up debugging info
9043
9044         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9045         (gst_queue_loop), (gst_queue_handle_src_query):
9046         Pause task faster.
9047
9048 2005-10-19  Wim Taymans  <wim@fluendo.com>
9049
9050         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9051         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9052         Fix query handling again.
9053
9054 2005-10-19  Wim Taymans  <wim@fluendo.com>
9055
9056         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9057         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9058         * gst/base/gstbasesrc.c: (gst_base_src_query):
9059         * gst/elements/gstfilesink.c: (gst_file_sink_query):
9060         * gst/elements/gsttypefindelement.c:
9061         (gst_type_find_handle_src_query), (find_element_get_length),
9062         (gst_type_find_element_activate):
9063         API change fix.
9064
9065         * gst/gstquery.c: (gst_query_new_position),
9066         (gst_query_set_position), (gst_query_parse_position),
9067         (gst_query_new_duration), (gst_query_set_duration),
9068         (gst_query_parse_duration), (gst_query_set_segment),
9069         (gst_query_parse_segment):
9070         * gst/gstquery.h:
9071         Bundling query position/duration is not a good idea since duration
9072         does not change much and we don't want to recalculate it for every
9073         position query, so they are separated again..
9074         Base value in segment query is not needed.
9075
9076         * gst/gstqueue.c: (gst_queue_handle_src_query):
9077         * gst/gstutils.c: (gst_element_query_position),
9078         (gst_element_query_duration), (gst_pad_query_position),
9079         (gst_pad_query_duration):
9080         * gst/gstutils.h:
9081         Updates for query API change.
9082         Added some docs here and there.
9083
9084 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
9085
9086         * check/gst/gstbin.c: (GST_START_TEST):
9087         * check/gst/gstghostpad.c: (GST_START_TEST):
9088         * check/pipelines/cleanup.c: (GST_START_TEST):
9089           wait on thread to die so we can check refcount correctly
9090
9091 2005-10-18  Wim Taymans  <wim@fluendo.com>
9092
9093         * check/pipelines/stress.c: (GST_START_TEST):
9094         Make check a little more time consuming.
9095
9096 2005-10-18  Wim Taymans  <wim@fluendo.com>
9097
9098         * check/Makefile.am:
9099         * check/pipelines/stress.c: (GST_START_TEST),
9100         (simple_launch_lines_suite), (main):
9101         Small state change torture test.
9102
9103         * docs/design/part-states.txt:
9104         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9105         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
9106         (gst_base_sink_change_state):
9107         Never take state lock from streaming thread, clean up ugly
9108         hacks. Unfortunatly core does not yet support nice ways to
9109         async commit state.
9110         
9111         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
9112         (bin_bus_handler):
9113         Start state recalc if a STATE_DIRTY message is posted, but only
9114         on the toplevel bin.
9115
9116         * gst/gstelement.c: (gst_element_sync_state_with_parent),
9117         (gst_element_get_state_func), (gst_element_abort_state),
9118         (gst_element_commit_state), (gst_element_lost_state),
9119         (gst_element_set_state_func), (gst_element_change_state):
9120         * gst/gstelement.h:
9121         State variables are now protected with the LOCK, the state
9122         lock is only used to serialize _set_state().
9123
9124 2005-10-18  Wim Taymans  <wim@fluendo.com>
9125
9126         * check/gst/gstbin.c: (GST_START_TEST):
9127         * check/gst/gstmessage.c: (GST_START_TEST):
9128         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9129         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
9130         (bin_bus_handler):
9131         * gst/gstelement.c: (gst_element_abort_state),
9132         (gst_element_commit_state), (gst_element_lost_state):
9133         * gst/gstmessage.c: (gst_message_new_state_changed),
9134         (gst_message_new_state_dirty), (gst_message_new_segment_start),
9135         (gst_message_new_segment_done), (gst_message_new_duration),
9136         (gst_message_parse_state_changed),
9137         (gst_message_parse_segment_start),
9138         (gst_message_parse_segment_done), (gst_message_parse_duration):
9139         * gst/gstmessage.h:
9140         * tools/gst-launch.c: (event_loop):
9141         Seriously, this is better than a previous commit as we only need
9142         to notify the fact that an element changed state in a streaming
9143         thread, marking the state of the parents dirty, hence the 
9144         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
9145         message.
9146
9147 2005-10-18  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
9150         (gst_bin_recalc_func):
9151         * gst/gstelement.c: (gst_element_set_clock),
9152         (gst_element_abort_state), (gst_element_lost_state):
9153         Cleanups, prepare for state change fixes.
9154
9155 2005-10-18  Wim Taymans  <wim@fluendo.com>
9156
9157         * gst/gstbin.h:
9158         * gst/gstelement.c: (gst_element_class_init),
9159         (gst_element_set_state), (gst_element_set_state_func):
9160         * gst/gstelement.h:
9161         Pending ABI changes.
9162         GThreadPool in GstBinClass to monitor async state changes.
9163         state_cookie in GstElement to detect concurrent gst/set state.
9164         set_state is now virtual too in case a very complicated element
9165         has to be constructed.
9166
9167 2005-10-18  Wim Taymans  <wim@fluendo.com>
9168
9169         * check/gst/gstbin.c: (GST_START_TEST):
9170         * check/gst/gstmessage.c: (GST_START_TEST):
9171         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9172         * gst/gstbin.c: (bin_bus_handler):
9173         * gst/gstelement.c: (gst_element_commit_state),
9174         (gst_element_lost_state):
9175         * gst/gstmessage.c: (gst_message_new_state_changed),
9176         (gst_message_new_segment_start), (gst_message_new_segment_done),
9177         (gst_message_new_duration), (gst_message_parse_state_changed),
9178         (gst_message_parse_segment_start),
9179         (gst_message_parse_segment_done), (gst_message_parse_duration):
9180         * gst/gstmessage.h:
9181         * tools/gst-launch.c: (event_loop):
9182         Make messages future proof.
9183         state-change gets a flag if it was a message comming from the
9184         streaming thread.
9185         segment-start/stop can also be specified in other formats.
9186         A message to notify an app that a pipeline changed playback 
9187         duration.
9188         Also fix a GstMessage leak in -launch
9189
9190 2005-10-18  Andy Wingo  <wingo@pobox.com>
9191
9192         * gst/gstelement.c (gst_element_dispose): More helpful message.
9193
9194 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9195
9196         reviewed by: <delete if not using a buddy>
9197
9198         * common/gtk-doc.mak:
9199
9200 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9201
9202         * gst/gstregistry.c: (gst_registry_scan_path_level):
9203           unref a plug-in we get that was already initialized
9204
9205 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
9206
9207         * docs/gst/gstreamer-sections.txt:
9208         * docs/libs/gstreamer-libs-sections.txt:
9209         * gst/gstelement.h:
9210           add new api entries
9211           hide internal macro
9212
9213 2005-10-17  Andy Wingo  <wingo@pobox.com>
9214
9215         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
9216         cleanup.
9217
9218         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
9219
9220         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
9221
9222         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
9223         (gst_element_get_state_func): Better debug message.
9224         (gst_element_commit_state): s/INFO/DEBUG/.
9225         (gst_element_lost_state, gst_element_change_state): 
9226
9227         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
9228         (gst_message_new_custom): s/INFO/LOG/.
9229
9230 2005-10-17  Michael Smith <msmith@fluendo.com>
9231
9232         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9233           Check if end time is valid using end time, not start time.
9234
9235 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
9236
9237         * check/gst-libs/controller.c: (GST_START_TEST),
9238         (gst_controller_suite):
9239         * libs/gst/controller/gstcontroller.c:
9240         (gst_controlled_property_set_interpolation_mode):
9241         * libs/gst/controller/gstcontroller.h:
9242         * libs/gst/controller/gstinterpolation.c:
9243         * testsuite/controller/.cvsignore:
9244         * testsuite/controller/Makefile.am:
9245         * testsuite/controller/interpolator.c:
9246           merge controller testsuites
9247           fix broken tests
9248           remove mem-chunk from docs
9249
9250 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9251
9252         * gst/gstmemchunk.c:
9253         * gst/gstmemchunk.h:
9254         * gst/gsttrashstack.c:
9255         * gst/gsttrashstack.h:
9256           out.  get out.  you're fired.  to the Attic !
9257
9258 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
9259
9260         * gst/gstcaps.c: (gst_caps_intersect):
9261           fix signedness issues in a (hopefully) correct way
9262         * gst/gstelement.c: (gst_element_pads_activate):
9263           some debugging
9264         * gst/gstobject.c: (gst_object_set_parent):
9265           some debugging
9266
9267 2005-10-17  Julien MOUTTE  <julien@moutte.net>
9268
9269         * gst/gstvalue.h: Fix prototypes.
9270
9271 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9272
9273         * docs/gst/gstreamer-sections.txt:
9274         * gst/gst.c: (gst_version_string):
9275         * gst/gst.h:
9276         * gst/gstversion.h.in:
9277         * win32/common/libgstreamer.def:
9278           add gst_version_string ()
9279
9280 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9281
9282         * configure.ac:
9283           clean up further
9284         * gst/gst.c: (init_post):
9285         * win32/common/config.h.in:
9286           it's PLUGINDIR now
9287         * gst/gstcaps.c: (gst_caps_intersect):
9288           use gint64, the range could be bigger than a guint
9289
9290 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9291
9292         * gst/gstclock.h:
9293           document potential problem in 2038
9294
9295 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9296
9297         * gst/gstcaps.c: (gst_caps_intersect):
9298           Fix guint j diving under 0
9299
9300 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9301
9302         * configure.ac:
9303         * win32/common/config.h:
9304         * win32/common/config.h.in:
9305           check for process.h, declares getpid() on Windows
9306         * gst/gstinfo.c:
9307           include process.h if we have it
9308         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
9309         * gst/gstmemchunk.h:
9310           fix signedness issues
9311         * win32/common/libgstreamer.def:
9312           fix get_type's
9313
9314 2005-10-16  Julien MOUTTE  <julien@moutte.net>
9315
9316         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
9317         fix. Because of unsigned ints, caps intersection was going nuts and
9318         trying to access structures with G_MAXUINT index. That fixes
9319         videotestsrc ! ffmpegcolorspace ! fakesink
9320         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
9321         consistency.
9322
9323 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9324
9325         * configure.ac:
9326           use the gettext macro
9327         * gst/elements/gstelements.c:
9328         * gst/gst.c:
9329         * gst/indexers/gstindexers.c:
9330           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
9331         * win32/common/config.h:
9332           updated config.h
9333         * win32/common/config.h.in:
9334           add the template to generate config.h
9335         * win32/common/gstenumtypes.c:
9336         * win32/common/gstversion.h:
9337           updated copies
9338
9339 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9340
9341         * gst/gst.c: (gst_version):
9342         * gst/gstversion.h.in:
9343           add the nano
9344
9345 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9346
9347         * gst/gstevent.h:
9348           Oops, add missing closing bracket.
9349
9350 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9351
9352         * configure.ac:
9353           use common m4's for argument checking
9354
9355 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9356
9357         * docs/gst/gstreamer-sections.txt:
9358         * gst/gstevent.h:
9359           Add GST_EVENT_TYPE_NAME() macro.
9360
9361 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9362
9363         * gst/gstinfo.c:
9364         * gst/gstpluginfeature.c:
9365         * gst/gsttask.c:
9366           privatize more symbols
9367
9368 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9369
9370         * configure.ac:
9371           add srcdir, builddir includes to GST_ALL_CFLAGS, since
9372           everything that uses GStreamer API should have the includes
9373
9374 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9375
9376         * docs/gst/gstreamer-sections.txt:
9377         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
9378         * gst/gstvalue.h:
9379           give each value a _get_type, removes the DATA exports
9380
9381 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9382
9383         * gst/gst.c:
9384         * gst/gst.h:
9385           remove _gst_registry_auto_load, not used anymore
9386         * gst/gstbin.c: (gst_bin_get_type):
9387         * gst/gstbin.h:
9388         * gst/gstelement.c: (gst_element_get_type):
9389         * gst/gstelement.h:
9390         * gst/gstobject.c: (gst_object_get_type):
9391         * gst/gstobject.h:
9392         * gst/gstpad.c: (gst_pad_get_type):
9393         * gst/gstpad.h:
9394           make _get_type functions similar, fixes data export from library
9395
9396 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9397
9398         * configure.ac:
9399           correctly make conditionals
9400         * gst/elements/Makefile.am:
9401         * gst/elements/gstelements.c:
9402           fix typo causing fdsrc not to build
9403
9404 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9405
9406         * testsuite/Makefile.am:
9407         * testsuite/bytestream/.cvsignore:
9408         * testsuite/bytestream/Makefile.am:
9409         * testsuite/bytestream/filepadsink.c:
9410         * testsuite/bytestream/gstbstest.c:
9411         * testsuite/bytestream/test1.c:
9412         * testsuite/bytestream/testfile1:
9413         * testsuite/caps/normalisation.c:
9414         * testsuite/caps/random.c: (main):
9415         * testsuite/cleanup/.cvsignore:
9416         * testsuite/cleanup/Makefile.am:
9417         * testsuite/cleanup/cleanup1.c:
9418         * testsuite/cleanup/cleanup2.c:
9419         * testsuite/cleanup/cleanup3.c:
9420         * testsuite/cleanup/cleanup4.c:
9421         * testsuite/cleanup/cleanup5.c:
9422         * testsuite/controller/interpolator.c:
9423         * testsuite/debug/printf_extension.c: (main):
9424         * testsuite/elements/tee.c:
9425         * testsuite/negotiation/.cvsignore:
9426         * testsuite/negotiation/Makefile.am:
9427         * testsuite/negotiation/pad_link.c:
9428         * testsuite/pad/Makefile.am:
9429         * testsuite/pad/chainnopull.c:
9430         * testsuite/pad/getnopush.c:
9431         * testsuite/pad/link.c:
9432         * testsuite/refcounting/sched.c: (create_pipeline):
9433         * testsuite/registry/Makefile.am:
9434         * testsuite/registry/gst-print-formats.c:
9435         * testsuite/schedulers/.cvsignore:
9436         * testsuite/schedulers/142183-2.c:
9437         * testsuite/schedulers/142183.c:
9438         * testsuite/schedulers/143777-2.c:
9439         * testsuite/schedulers/143777.c:
9440         * testsuite/schedulers/147713.c:
9441         * testsuite/schedulers/147819.c:
9442         * testsuite/schedulers/147894-2.c:
9443         * testsuite/schedulers/147894.c:
9444         * testsuite/schedulers/Makefile.am:
9445         * testsuite/schedulers/group_link.c:
9446         * testsuite/schedulers/queue_link.c:
9447         * testsuite/schedulers/relink.c:
9448         * testsuite/schedulers/unlink.c:
9449         * testsuite/schedulers/unref.c:
9450         * testsuite/schedulers/useless_iteration.c:
9451         * testsuite/states/bin.c:
9452           clean out/remove some stuff from the testsuite directories
9453
9454 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9455
9456         * configure.ac:
9457           check for some headers
9458         * gst/elements/Makefile.am:
9459         * gst/elements/gstelements.c:
9460           don't compile fdsrc without sys/socket.h
9461         * gst/indexers/Makefile.am:
9462         * gst/indexers/gstindexers.c: (plugin_init):
9463           don't compile fileindex without mmap
9464
9465 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9466
9467         * configure.ac:
9468           reorganize
9469           clean up
9470           document more
9471           remove cruft
9472         * check/Makefile.am:
9473         * docs/gst/Makefile.am:
9474         * examples/helloworld/Makefile.am:
9475         * gst/Makefile.am:
9476         * gst/base/Makefile.am:
9477         * gst/check/Makefile.am:
9478         * gst/elements/Makefile.am:
9479         * gst/indexers/Makefile.am:
9480         * gst/parse/Makefile.am:
9481         * libs/gst/controller/Makefile.am:
9482         * libs/gst/dataprotocol/Makefile.am:
9483         * examples/helloworld/helloworld.c: (event_loop):
9484           compile fixes, though it's not being compiled currently
9485
9486 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9487
9488         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
9489           Add some simple tests for the new taglist date API.
9490
9491 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9492
9493         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
9494         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
9495           Beautify 'last-message' output: print 'none' for buffer timestamps
9496           and durations if none is set; improve alignment with next messages.
9497
9498 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
9499
9500         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
9501         * gst/gstpluginfeature.h:
9502         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
9503         * gst/gstregistry.h:
9504         * docs/gst/gstreamer-sections.txt:
9505           Add new API to check plugin feature version requirements.
9506
9507         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
9508           Some basic tests for the above.         
9509
9510 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9511
9512         * gst/gststructure.c: (gst_structure_to_string):
9513           guard against NULL printf - happens when for example
9514           a message structure with GstClock gets serialized
9515
9516 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9517
9518         * gst/base/gstcollectpads.c: (gst_collectpads_event):
9519           Fix presumable copy'n'pasto.
9520
9521 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9522
9523         * gst/elements/gstfakesrc.h:
9524         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
9525         * gst/elements/gsttypefindelement.c:
9526           fix some signedness
9527         * gst/elements/gstfilesink.c: (gst_file_sink_render):
9528           I wonder if this could actually write +2GB files before
9529
9530 2005-10-13  Andy Wingo  <wingo@pobox.com>
9531
9532         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
9533         Fix Timmeke Waymans bug.
9534         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
9535         string of the proper length to gst_caps_from_string. There's a
9536         potential for, before this fix, that this could cause someone
9537         connecting over the network to cause a segfault if the payload is
9538         not NUL-terminated.
9539
9540 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9541
9542         * docs/design/draft-push-pull.txt:
9543         * docs/design/part-overview.txt:
9544         * docs/random/TODO-pre-0.9:
9545         * docs/random/old/ChangeLog.gstreamer:
9546         * gst/base/gstpushsrc.c:
9547         * gst/gstclock.c:
9548           fixed typos
9549
9550 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9551
9552         * gst/glib-compat.c: (gst_flags_get_first_value):
9553         * gst/glib-compat.h:
9554         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
9555         (gst_value_compare_double), (gst_value_serialize_flags):
9556           GLib 2.6 g_flags_get_first_value has a bug that triggers an
9557           infinite loop
9558
9559 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9560
9561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9562         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9563           fix up debugging
9564         * tools/gst-launch.c: (event_loop):
9565           print out clock nicely
9566
9567 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9568
9569         * docs/gst/gstreamer-sections.txt:
9570         * gst/gsttaglist.h:
9571         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
9572         (gst_tag_list_get_date_index):
9573           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
9574           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
9575
9576 2005-10-13  Julien MOUTTE  <julien@moutte.net>
9577
9578         * gst/base/gstcollectpads.c: (gst_collectpads_event),
9579         (gst_collectpads_chain):
9580         * gst/base/gstcollectpads.h: Handle newsegment and store informations
9581         in CollectData.
9582
9583 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
9584
9585         * docs/gst/gstreamer-sections.txt:
9586         * gst/gst.c:
9587         * gst/gsterror.h:
9588         * tools/gst-inspect.c: (main):
9589         * tools/gst-launch.c: (main):
9590         * tools/gst-run.c: (main):
9591         * tools/gst-xmlinspect.c: (main):
9592           fix GOption context leaks
9593           doc fixes
9594
9595 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9596
9597         * gst/gstbus.c:
9598           use HAVE_UNISTD_H
9599         * win32/common/config.h:
9600           update config
9601         * win32/vs6/grammar.dsp:
9602         * win32/vs6/libgstelements.dsp:
9603         * win32/vs6/libgstreamer.dsp:
9604           update vs6 files
9605
9606 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9607
9608         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9609         * gst/base/gstbasesrc.c: (gst_base_src_query):
9610           fix more guint64<->gdouble conversions
9611
9612 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9613
9614         * Makefile.am:
9615           add win32-update target
9616         * win32/common/gstconfig.h:
9617         * win32/common/gstenumtypes.c:
9618         * win32/common/gstenumtypes.h:
9619         * win32/common/gstversion.h:
9620           add files that visual studio can't generate
9621
9622 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9623
9624         * Makefile.am:
9625           add a win32-update target
9626         * configure.ac:
9627
9628 2005-10-12  Wim Taymans  <wim@fluendo.com>
9629
9630         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9631         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
9632         * gst/gstelement.c: (gst_element_commit_state),
9633         (gst_element_set_state):
9634         Protect flags with proper lock.
9635         unref provided cached clock in dispose.
9636
9637 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9638
9639         * gst/gst.c:
9640         * gst/gstminiobject.h:
9641         * gst/gstpad.h:
9642         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
9643           removed unused flags from miniobject
9644           doc fixes
9645
9646 2005-10-12  Wim Taymans  <wim@fluendo.com>
9647
9648         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9649         (gst_file_sink_event), (gst_file_sink_render):
9650         Flush before seeking.
9651
9652 2005-10-12  Andy Wingo  <wingo@pobox.com>
9653
9654         * gst/gst.c (gst_init_check): Ignore unknown options, as has
9655         always been the case.
9656
9657 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
9658
9659         * check/gst/gstbin.c: (GST_START_TEST):
9660         * docs/gst/gstreamer-sections.txt:
9661         * gst/base/gstbasesink.c: (gst_base_sink_init):
9662         * gst/base/gstbasesrc.c: (gst_base_src_init),
9663         (gst_base_src_get_range), (gst_base_src_check_get_range),
9664         (gst_base_src_start), (gst_base_src_stop):
9665         * gst/base/gstbasesrc.h:
9666         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
9667         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9668         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
9669         (bin_bus_handler):
9670         * gst/gstbin.h:
9671         * gst/gstbuffer.h:
9672         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
9673         * gst/gstbus.h:
9674         * gst/gstelement.c: (gst_element_is_locked_state),
9675         (gst_element_set_locked_state), (gst_element_commit_state),
9676         (gst_element_set_state):
9677         * gst/gstelement.h:
9678         * gst/gstindex.c: (gst_index_init):
9679         * gst/gstindex.h:
9680         * gst/gstminiobject.h:
9681         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
9682         (gst_object_set_parent):
9683         * gst/gstobject.h:
9684         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
9685         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
9686         * gst/gstpad.h:
9687         * gst/gstpadtemplate.h:
9688         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
9689         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
9690         * gst/gstpipeline.h:
9691         * gst/indexers/gstfileindex.c: (gst_file_index_load),
9692         (gst_file_index_commit):
9693         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
9694         * testsuite/pad/link.c: (gst_test_src_init),
9695         (gst_test_filter_init), (gst_test_sink_init):
9696         * testsuite/states/locked.c: (main):
9697           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
9698           moved bitshift from macro to enum definition
9699
9700 2005-10-12  Wim Taymans  <wim@fluendo.com>
9701
9702         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
9703         * gst/elements/gstfilesink.c: (gst_file_sink_event),
9704         (gst_file_sink_render):
9705         Some more debugging info.
9706
9707 2005-10-12  Wim Taymans  <wim@fluendo.com>
9708
9709         * docs/design/part-states.txt:
9710         * tools/gst-launch.c: (main):
9711         Some doc updates.
9712         Revert non-intentional change.
9713
9714 2005-10-12  Wim Taymans  <wim@fluendo.com>
9715
9716         * check/gst/gstbin.c: (GST_START_TEST):
9717         * check/gst/gstelement.c: (GST_START_TEST):
9718         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
9719         * check/gst/gstghostpad.c: (GST_START_TEST):
9720         * check/gst/gstpipeline.c: (GST_START_TEST):
9721         * check/pipelines/simple_launch_lines.c: (run_pipeline):
9722         * check/states/sinks.c: (GST_START_TEST):
9723         * gst/elements/gsttypefindelement.c: (stop_typefinding):
9724         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9725         (gst_bin_remove_func), (gst_bin_get_state_func),
9726         (gst_bin_recalc_state), (gst_bin_change_state_func),
9727         (bin_bus_handler):
9728         * gst/gstelement.c: (gst_element_get_state_func),
9729         (gst_element_get_state), (gst_element_abort_state),
9730         (gst_element_commit_state), (gst_element_set_state),
9731         (gst_element_change_state), (gst_element_change_state_func):
9732         * gst/gstelement.h:
9733         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
9734         (gst_pipeline_provide_clock_func):
9735         * gst/gstutils.c: (gst_element_link_pads_filtered):
9736         * tools/gst-launch.c: (main):
9737         * tools/gst-typefind.c: (main):
9738         Use GstClockTime in _get_state() instead of GTimeVal.
9739         Remove old code in gstutils.c
9740
9741 2005-10-12  Andy Wingo  <wingo@pobox.com>
9742
9743         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
9744         removed.
9745
9746         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
9747         there is no task. Shouldn't affect any code, as nothing in our
9748         plugins checks this return value.
9749         (gst_pad_stop_task): Also take the stream lock if the pad has no
9750         task. Docs updated.
9751
9752 2005-10-12  Wim Taymans  <wim@fluendo.com>
9753
9754         * gst/gstpad.c: (pre_activate), (post_activate),
9755         (gst_pad_activate_pull), (gst_pad_activate_push):
9756         Cleanup activation code. Reset old state if
9757         activation failed.
9758
9759 2005-10-12  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9762         (gst_base_sink_change_state):
9763         No need to prerol after receiving EOS.
9764
9765         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9766         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
9767         * gst/elements/gstidentity.c: (gst_identity_event):
9768         Print events more verbosely.
9769
9770 2005-10-12  Wim Taymans  <wim@fluendo.com>
9771
9772         * check/Makefile.am:
9773         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9774         * check/states/sinks2.c:
9775         Moved sinks2 testcode in sinks check.
9776
9777         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9778         (gst_bin_remove_func), (gst_bin_recalc_state),
9779         (gst_bin_change_state_func), (bin_bus_handler):
9780         Fix potential race condition when _get_state() iterated over an
9781         ASYNC element right before it posted a state completion.
9782
9783         * gst/gstclock.h:
9784         Do proper cast here.
9785
9786         * gst/gstevent.c: (gst_event_new_newsegment),
9787         (gst_event_parse_newsegment):
9788         A playback rate of 0.0 is not allowed.
9789
9790 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9791
9792         * win32/common/config.h:
9793         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9794         (_trewinddir), (_ttelldir), (_tseekdir):
9795         * win32/common/dirent.h:
9796         * win32/common/gtchar.h:
9797         * win32/common/libgstbase.def:
9798         * win32/common/libgstreamer.def:
9799         * win32/vs6/grammar.dsp:
9800         * win32/vs6/gst_inspect.dsp:
9801         * win32/vs6/gst_launch.dsp:
9802         * win32/vs6/gstreamer.dsw:
9803         * win32/vs6/libgstbase.dsp:
9804         * win32/vs6/libgstelements.dsp:
9805         * win32/vs6/libgstreamer.dsp:
9806           Visual Studio 6 project files, and a new common directory.
9807           Phear.
9808
9809 2005-10-11  Wim Taymans  <wim@fluendo.com>
9810
9811         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9812         (gst_base_sink_do_sync), (gst_base_sink_query),
9813         (gst_base_sink_change_state):
9814         * gst/base/gstbasesink.h:
9815         Correctly parse newsegment info.
9816
9817 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9818
9819         * gst/gst.c: (init_post):
9820           split plugin paths correctly
9821
9822 2005-10-11  Wim Taymans  <wim@fluendo.com>
9823
9824         * check/gst/gstevent.c: (GST_START_TEST):
9825         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9826         (gst_base_sink_change_state):
9827         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
9828         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9829         * gst/elements/gstfilesink.c: (gst_file_sink_event):
9830         * gst/gstevent.c: (gst_event_new_newsegment),
9831         (gst_event_parse_newsegment):
9832         * gst/gstevent.h:
9833         Added extra flag to newsegment for future API freeze.
9834         Updated check and base elements.
9835
9836 2005-10-11  Julien MOUTTE  <julien@moutte.net>
9837
9838         * gst/base/gstcollectpads.c: (gst_collectpads_init),
9839         (gst_collectpads_add_pad), (gst_collectpads_pop),
9840         (gst_collectpads_event), (gst_collectpads_chain):
9841         * gst/base/gstcollectpads.h: Handle EOS correctly.
9842
9843 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9844
9845         * tools/gst-launch.c: (main):
9846           more null protecting
9847
9848 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9849
9850         * gst/gst-i18n-lib.h:
9851           check for ENABLE_NLS, not GETTEXT_PACKAGE
9852         * gst/gstregistry.c: (gst_registry_add_plugin),
9853         (gst_registry_scan_path_level),
9854         (_gst_registry_remove_cache_plugins):
9855           protect possibly NULL strings
9856         * gst/parse/types.h:
9857           config.h already included before
9858         * tools/gst-inspect.c: (main):
9859           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9860           check for ENABLE_NLS, not GETTEXT_PACKAGE
9861         * tools/gst-launch.c: (main):
9862           check for ENABLE_NLS, not GETTEXT_PACKAGE
9863
9864 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9865
9866         * configure.ac:
9867           if we don't have glib, fail before testing 2.8
9868         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9869           fix a leak, should fix plugins-base testsuite
9870
9871 2005-10-11  Andy Wingo  <wingo@pobox.com>
9872
9873         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9874         take the mode we're going to as an arg. Go head and set the mode
9875         and flushing flags now, so that if the activate function starts a
9876         thread all the flags will be in the right state.
9877         (post_activate): Renamed also. Just handle making sure streaming
9878         finishes for the deactivation case, and setting the deactivated
9879         mode.
9880         (gst_pad_set_active): Complain loudly if deactivation fails.
9881         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9882         (gst_pad_activate_push): Adapt to pre/post_activate changes,
9883         remove the terrible hack.
9884
9885 2005-10-11  Wim Taymans  <wim@fluendo.com>
9886
9887         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9888         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9889         (gst_bin_recalc_state), (gst_bin_change_state_func),
9890         (gst_bin_dispose), (bin_bus_handler):
9891         * gst/gstbin.h:
9892         Prepare to make current EOS message queue more generic.
9893         Fix some typos.
9894
9895         * gst/gstevent.c: (gst_event_new_newsegment),
9896         (gst_event_parse_newsegment):
9897         * gst/gstevent.h:
9898         Rename base to stream_time.
9899
9900         * gst/gstmessage.h:
9901         Fix typo in docs.
9902
9903 2005-10-11  Wim Taymans  <wim@fluendo.com>
9904
9905         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9906         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9907         (gst_bin_change_state_func), (bin_bus_handler):
9908         * gst/gstbin.h:
9909         Work on proper clock selection.
9910
9911 2005-10-11  Edward Hervey  <edward@fluendo.com>
9912
9913         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
9914         * libs/gst/controller/gstcontroller.h:
9915         Added GList* version of _remove_properties() in order to be able to wrap
9916         it in bindings.
9917
9918 2005-10-11  Wim Taymans  <wim@fluendo.com>
9919
9920         * docs/design/part-states.txt:
9921         Some more docs.
9922
9923         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9924         (gst_bin_change_state_func), (bin_bus_handler):
9925         Doc updates. Don't distribute the same clock over and over again.
9926
9927         * gst/gstclock.c:
9928         * gst/gstclock.h:
9929         Doc updates.
9930
9931         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9932         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9933         (gst_pad_send_event):
9934         * gst/gstpad.h:
9935         Make probe emission threadsafe again.
9936         Register quarks and move _get_name() from utils.
9937         Doc updates.
9938
9939         * gst/gstpipeline.c: (gst_pipeline_class_init),
9940         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9941         Only redistribute the clock of it changed.
9942
9943         * gst/gstsystemclock.h:
9944         Doc updates. 
9945
9946         * gst/gstutils.c:
9947         * gst/gstutils.h:
9948         Moved the _flow_get_name() to GstPad.
9949
9950 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9951
9952         * check/gst-libs/gdp.c: (GST_START_TEST):
9953         * check/gst/gstcaps.c: (GST_START_TEST):
9954         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9955         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9956         (gst_dp_packet_from_caps):
9957           fix more valgrind warnings before turning up the heat
9958
9959 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9960
9961         * gst/parse/grammar.y:
9962           some cleanup before the hacking
9963
9964 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9965
9966         * gst/base/gstbasesrc.c: (gst_base_src_query):
9967           use conversions
9968         * gst/gstutils.c: (gst_guint64_to_gdouble),
9969         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9970         * gst/gstutils.h:
9971           externalize, basesrc uses it
9972           obviously the implementation needs testing
9973
9974 2005-10-10  Wim Taymans  <wim@fluendo.com>
9975
9976         * tests/sched/Makefile.am:
9977         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9978         (make_pipeline3), (make_pipeline4), (print_elem), (main):
9979
9980 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9981
9982         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9983           apparently converting from guint64 to double is not implemented
9984           on MSVC
9985
9986 2005-10-10  Wim Taymans  <wim@fluendo.com>
9987
9988         * check/Makefile.am:
9989         * check/generic/states.c: (GST_START_TEST):
9990         * check/gst/gstbin.c: (GST_START_TEST):
9991         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9992         * check/states/sinks.c: (GST_START_TEST):
9993         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9994         (main):
9995         Check fixes, use API as stated in design docs, remove hacks.
9996
9997         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9998         (gst_base_sink_change_state):
9999         Catch stopping our task while we're shutting down.
10000
10001         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10002         (gst_bin_remove_func), (gst_bin_get_state_func),
10003         (gst_bin_recalc_state), (gst_bin_change_state_func),
10004         (bin_bus_handler):
10005         * gst/gstbin.h:
10006         * gst/gstelement.c: (gst_element_init),
10007         (gst_element_get_state_func), (gst_element_abort_state),
10008         (gst_element_commit_state), (gst_element_lost_state),
10009         (gst_element_set_state), (gst_element_change_state),
10010         (gst_element_change_state_func):
10011         * gst/gstelement.h:
10012         New state change algorithm (see #318116)
10013
10014         * gst/gstpipeline.c: (gst_pipeline_class_init),
10015         (gst_pipeline_init), (gst_pipeline_set_property),
10016         (gst_pipeline_get_property), (do_pipeline_seek),
10017         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10018         * gst/gstpipeline.h:
10019         Remove crude state change hacks.
10020
10021         * gst/gstutils.h:
10022         Remove crude hacks.
10023
10024         * tools/gst-launch.c: (main):
10025         Fixes for state change. Needs some more work to fully use the
10026         new stuff.
10027
10028 2005-10-10  Andy Wingo  <wingo@pobox.com>
10029
10030         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10031
10032         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10033         this flag, but it's not even in GLib 2.6. Odd. Hack around the
10034         issue.
10035
10036 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10037
10038         * gst/gstiterator.c: (gst_iterator_new):
10039           Fix my previous commit: GTypes passed to gst_iterator_new()
10040           can be fundamental types.
10041
10042 2005-10-10  Wim Taymans  <wim@fluendo.com>
10043
10044         * gst/gstelement.c: (gst_element_iterate_pad_list),
10045         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10046         (gst_element_iterate_sink_pads):
10047         Use src/sink pads lists for the respective iterators instead
10048         of filtering.
10049
10050 2005-10-10  Andy Wingo  <wingo@pobox.com>
10051
10052         Merged in popt removal + GOption addition patch from Ronald, bug
10053         #169772.
10054
10055         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10056         GstElement macros around, remove popt-related symbols, add goption
10057         stuff.
10058
10059         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10060         
10061         * docs/gst/Makefile.am:
10062         * docs/libs/Makefile.am: No POPT_CFLAGS.
10063         
10064         * examples/manual/Makefile.am:
10065         * docs/manual/basics-init.xml: Doc updates with an example.
10066         
10067         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10068         (gst_init), (parse_one_option), (parse_goption_arg):
10069         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10070         bit of hand merging and debugging to get the GOption stuff working
10071         tho.
10072         
10073         * tests/Makefile.am:
10074         * tools/Makefile.am:
10075         * tools/gst-inspect.c: (main):
10076         * tools/gst-launch.c: (main):
10077         * tools/gst-run.c: (main):
10078         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
10079
10080 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10081
10082         * gst/gstiterator.c: (gst_iterator_new):
10083           Add assertions to make sure passed GType is likely to really
10084           be a GType (as the compiler won't catch it if the size and
10085           GType arguments get mixed up, see #318447).
10086
10087 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
10088
10089         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10090
10091         * gst/gstbin.c: (gst_bin_iterate_sorted):
10092           Pass GType and size arguments to gst_iterator_new() in the right
10093           order (maybe we should make _new() take the GType as first argument
10094           just like _new_list()?) (#318447).
10095           
10096
10097 2005-10-10  Wim Taymans  <wim@fluendo.com>
10098
10099         * gst/gstelement.c: (gst_element_finalize):
10100         And free the GStaticRecMutex too
10101
10102 2005-10-10  Andy Wingo  <wingo@pobox.com>
10103
10104         * gst/gstelement.c (gst_element_init, gst_element_finalize):
10105         Allocate and free the mutex properly.
10106
10107         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
10108         New macros.
10109         (GstElement): The state_lock is now recursive. Rebuild your
10110         plugins, suckers. Old macros adapted.
10111
10112         * docs/gst/gstreamer-sections.txt: Doc updates.
10113
10114         * gst/gstutils.h:
10115         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
10116         (g_static_rec_cond_wait): Ported from state changes patch, while
10117         we wait on bug #317802 to be solved in a well-distributed GLib.
10118
10119         * gst/gstelement.c (gst_element_change_state_func): Renamed from
10120         gst_element_change_state, variable name changes.
10121         (gst_element_change_state): Split out of gst_element_set_state in
10122         preparation for the state change merge. Doesn't pay attention to
10123         the 'transition' argument.
10124         (gst_element_set_state): Updates, hopefully purely cosmetic.
10125         (gst_element_sync_state_with_parent): MT-safety. Ported from the
10126         state change patch.
10127         (gst_element_get_state_func): Renamed from get_state, cosmetic
10128         changes.
10129
10130 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10131
10132         * gst/elements/gstelements.c:
10133         * win32/GStreamer.vcproj:
10134         * win32/config.h:
10135         * win32/dirent.c: (_tseekdir):
10136         * win32/gst-inspect.vcproj:
10137         * win32/gst-launch.vcproj:
10138         * win32/gstconfig.h:
10139         * win32/gstelements.vcproj:
10140         * win32/gstenumtypes.c: (gst_object_flags_get_type):
10141         * win32/gstreamer.def:
10142         * win32/msvc71.sln:
10143           updates for the win32 build (patch from Sebastien Moutte)
10144
10145 2005-10-10  Andy Wingo  <wingo@pobox.com>
10146
10147         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
10148         gst_bin_get_state, cleaned up (but no logic changes).
10149         (bin_element_is_sink): Comment updates.
10150         (sink_iterator_filter): Remove needless cast.
10151         (gst_bin_iterate_sinks): Doc update.
10152         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
10153         cleaned up (but no logic changes).
10154
10155         * check/states/sinks.c (test_src_sink): Cleanups from the state
10156         change patch.
10157         (test_livesrc_sink): Sync on the state.
10158
10159         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
10160         the state change patch.
10161
10162         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
10163         change patch.
10164
10165         * check/gst/gstbin.c: Merge in some style fixes and additional
10166         checks from Wim's state change patch.
10167
10168 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
10169
10170         * gst/base/gsttypefindhelper.c: (helper_find_peek),
10171         (gst_type_find_helper):
10172           Check whether we have the requested data already in our list of
10173           cached buffers before pulling a new buffer; also make the buffer
10174           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
10175
10176 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10177
10178         * gst/gstcaps.c:
10179         * gst/gstevent.c:
10180           doc updates
10181         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10182           don't use long long, it's not portable.  Replacing with
10183           gint64 seems to work; let's hope no skeletons fall out of the closet.
10184
10185 2005-10-10  Andy Wingo  <wingo@pobox.com>
10186
10187         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
10188
10189 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
10190
10191         * docs/gst/gstreamer-sections.txt:
10192         * gst/gstevent.c:
10193         * gst/gstevent.h:
10194         * gst/gstinfo.c:
10195         * gst/gstinfo.h:
10196         * gst/gstmessage.c: (gst_message_parse_state_changed):
10197         * gst/gstpad.c:
10198         * gst/gstpad.h:
10199           more docs, fix compilation
10200
10201 2005-10-09  Philippe Khalaf <burger@speedy.org>
10202         * gst/gstmessage.c:
10203           Fixed a few forgotten variables on previous commit
10204
10205 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
10206
10207         * gst/base/gsttypefindhelper.c: (helper_find_peek):
10208           Fix evil typefind crasher: getrange() might return a short
10209           buffer at the end of a file, but gst_type_find_peek() must
10210           either return the full data as requested or NULL, but
10211           never a short buffer.
10212
10213 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
10214
10215         * gst/gstmessage.c: (gst_message_new_state_changed),
10216         (gst_message_parse_state_changed):
10217         * gst/gstmessage.h:
10218           don't use "new", it's a C++ keyword
10219
10220 2005-10-08  Wim Taymans  <wim@fluendo.com>
10221
10222         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
10223         * gst/gstelement.c: (gst_element_post_message):
10224         * gst/gstpipeline.c: (gst_pipeline_change_state):
10225         Small docs and debug updates.
10226
10227 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
10228
10229         * docs/gst/gstreamer-sections.txt:
10230         * gst/gstelementfactory.c:
10231         * gst/gstevent.c:
10232         * gst/gsttaglist.c:
10233           more docs
10234
10235 2005-10-08  Wim Taymans  <wim@fluendo.com>
10236
10237         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
10238         (gst_bin_dispose), (bin_bus_handler):
10239         Fix typos, add comments.
10240         Clear EOS list when going to PAUSED from any direction and do it
10241         in a threadsafe way.
10242         Get base time in a threadsafe way too.
10243         Fix confusing debug in the change_state function.
10244         Various other small cleanups.
10245         
10246         * gst/gstelement.c: (gst_element_post_message):
10247         Fix very verbose bus posting code.
10248
10249         * gst/gstpipeline.c: (gst_pipeline_class_init),
10250         (gst_pipeline_set_property), (gst_pipeline_get_property),
10251         (gst_pipeline_change_state):
10252         Small ARG_ -> PROP_ cleanup
10253
10254 2005-10-08  Wim Taymans  <wim@fluendo.com>
10255
10256         * gst/gstbin.c: (is_eos), (bin_bus_handler):
10257         Do a less CPU demanding EOS check because we can.
10258
10259 2005-10-08  Wim Taymans  <wim@fluendo.com>
10260
10261         * libs/gst/dataprotocol/dataprotocol.c:
10262         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
10263         (gst_dp_packet_from_event):
10264         * libs/gst/dataprotocol/dataprotocol.h:
10265         * libs/gst/dataprotocol/dp-private.h:
10266         It's about time we bump the version number.
10267         Since event types don't fit in the guint8 anymore describing
10268         the payload type, make payload type 16 bits wide.
10269
10270 2005-10-08  Wim Taymans  <wim@fluendo.com>
10271
10272         * docs/design/part-TODO.txt:
10273         * docs/design/part-clocks.txt:
10274         * docs/design/part-events.txt:
10275         * docs/design/part-gstbin.txt:
10276         * docs/design/part-gstelement.txt:
10277         * docs/design/part-gstpipeline.txt:
10278         * docs/design/part-live-source.txt:
10279         * docs/design/part-messages.txt:
10280         * docs/design/part-overview.txt:
10281         * docs/design/part-states.txt:
10282         Many doc updates.
10283
10284 2005-10-08  Wim Taymans  <wim@fluendo.com>
10285
10286         * gst/gstevent.c:
10287         * gst/gstevent.h:
10288         Fix event quark registration.
10289         Add some space between events so we can insert them in the
10290         right groups.
10291
10292 2005-10-08  Wim Taymans  <wim@fluendo.com>
10293
10294         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10295         (gst_base_sink_handle_buffer):
10296         Better log message.
10297
10298         * gst/gstbus.h:
10299         * gst/gstelement.h:
10300         More docs.
10301
10302         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10303         (gst_queue_set_property), (gst_queue_get_property):
10304         * gst/gstqueue.h:
10305         Remove old unused properties.
10306
10307 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
10308         * docs/gst/gstreamer-sections.txt:
10309         * gst/gstmessage.c:
10310         * gst/gstmessage.h:
10311         * gst/gstminiobject.c:
10312         * gst/gstminiobject.h:
10313         * gst/gstobject.h:
10314         * gst/gstpad.h:
10315         * gst/gstutils.h:
10316           lots of new docs and doc fixes
10317
10318 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10319
10320         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
10321         * gst/gstplugin.h:
10322         * gst/gstregistry.c: (gst_registry_lookup_locked),
10323         (gst_registry_scan_path_level):
10324         * gst/gstregistryxml.c: (load_plugin):
10325           Only ever load one plugin for a given plugin basename.
10326           This ensures correct overriding of GST_PLUGIN_PATH over
10327           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
10328           system installed plugins.
10329
10330 2005-10-08  Wim Taymans  <wim@fluendo.com>
10331
10332         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10333         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
10334         Prepare for doing QOS.
10335
10336 2005-10-08  Wim Taymans  <wim@fluendo.com>
10337
10338         * check/gst/gstbin.c: (GST_START_TEST):
10339         * check/pipelines/cleanup.c: (GST_START_TEST):
10340         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10341         Allow new clock message too.
10342
10343 2005-10-08  Wim Taymans  <wim@fluendo.com>
10344
10345         * gst/gstmessage.c: (gst_message_new_error),
10346         (gst_message_new_warning), (gst_message_new_tag),
10347         (gst_message_new_state_changed), (gst_message_new_clock_provide),
10348         (gst_message_new_clock_lost), (gst_message_new_new_clock),
10349         (gst_message_new_segment_start), (gst_message_new_segment_done),
10350         (gst_message_parse_state_changed),
10351         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
10352         (gst_message_parse_new_clock):
10353         * gst/gstmessage.h:
10354         Also carry the clock in question.
10355
10356 2005-10-08  Wim Taymans  <wim@fluendo.com>
10357
10358         * gst/gstmessage.c: (gst_message_new_custom),
10359         (gst_message_new_eos), (gst_message_new_error),
10360         (gst_message_new_warning), (gst_message_new_tag),
10361         (gst_message_new_state_changed), (gst_message_new_clock_provide),
10362         (gst_message_new_new_clock), (gst_message_new_segment_start),
10363         (gst_message_new_segment_done), (gst_message_parse_state_changed),
10364         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
10365         * gst/gstmessage.h:
10366         Clean up.
10367         Added clock related messages.
10368
10369         * gst/gstpipeline.c: (gst_pipeline_change_state):
10370         Post message when the clock changed.
10371
10372         * tools/gst-launch.c: (event_loop):
10373         Print new clock.
10374
10375 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
10376
10377         * tools/gst-inspect.c: (print_element_properties_info):
10378           Can't pass NULL strings to g_print() on windows.
10379
10380 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10381
10382         * docs/Makefile.am:
10383         * docs/gst/Makefile.am:
10384         * docs/gst/gstreamer-docs.sgml:
10385         * docs/gst/running.xml:
10386         * docs/version.entities.in:
10387           add a chapter on running GStreamer.
10388           document GST_DEBUG and GST_PLUGIN* env vars
10389
10390 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10391
10392         * Makefile.am:
10393           remove include dir
10394         * configure.ac:
10395           remove PLUGINS_BUILDDIR stuff
10396         * gst/gst.c: (init_post):
10397           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
10398         * idiottest.mak:
10399           remove, it was condescending and not needed
10400
10401 2005-10-08  Wim Taymans  <wim@fluendo.com>
10402
10403         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
10404         (gst_base_sink_handle_object), (gst_base_sink_event),
10405         (gst_base_sink_wait), (gst_base_sink_handle_event),
10406         (gst_base_sink_change_state):
10407         * gst/base/gstbasesink.h:
10408         Repost EOS message while going to PLAYING if still EOS.
10409         Make sure that when receiving a FLUSH_START we don't attempt
10410         to sync on the clock anymore.
10411
10412 2005-10-08  Wim Taymans  <wim@fluendo.com>
10413
10414         * tools/gst-launch.c: (event_loop):
10415         Better message printout.
10416
10417 2005-10-08  Wim Taymans  <wim@fluendo.com>
10418
10419         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
10420         (gst_bin_child_proxy_get_children_count):
10421         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
10422         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
10423         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
10424         (gst_child_proxy_set_valist):
10425         * gst/parse/grammar.y:
10426         Make ChildProxy threadsafe and fix mem leaks.
10427
10428 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10429
10430         * gst/gst.c: (init_post):
10431           debug the GST_PLUGIN_ env vars
10432
10433 2005-10-08  Wim Taymans  <wim@fluendo.com>
10434
10435         * check/gst/gstbin.c: (GST_START_TEST):
10436         * check/gst/gstmessage.c: (GST_START_TEST):
10437         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10438         * gst/gstelement.c: (gst_element_commit_state),
10439         (gst_element_lost_state):
10440         * gst/gstmessage.c: (gst_message_new_state_changed),
10441         (gst_message_parse_state_changed):
10442         * gst/gstmessage.h:
10443         * tools/gst-launch.c: (event_loop):
10444         Added extra field to STATE_CHANGE message with the pending
10445         state, which will be different from the new state soon.
10446
10447 2005-10-08  Wim Taymans  <wim@fluendo.com>
10448
10449         * gst/gstbus.c: (gst_bus_pop):
10450         * gst/gstclock.c:
10451         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
10452         Small cleanups and doc updates.
10453
10454 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10455
10456         * gst/gst.c: (init_pre):
10457         * gst/gstbin.c: (gst_bin_add_func):
10458           log distributing clocks and base time
10459         * gst/gstregistry.c: (gst_registry_add_plugin),
10460         (gst_registry_scan_path_level), (gst_registry_scan_path):
10461           clean up the debugging output a little
10462         * gst/gstutils.c: (gst_element_state_get_name):
10463           warn about a memleak (I've actually seen this be used, though
10464           it was probably a bug)
10465
10466 2005-10-07  Wim Taymans  <wim@fluendo.com>
10467
10468         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10469         (gst_base_src_init), (gst_base_src_default_newsegment),
10470         (gst_base_src_newsegment), (gst_base_src_do_seek),
10471         (gst_base_src_loop), (gst_base_src_start):
10472         * gst/base/gstbasesrc.h:
10473         Make the newsegment event customizable by subclasses.
10474
10475 2005-10-07  Wim Taymans  <wim@fluendo.com>
10476
10477         * gst/gstevent.c: (gst_event_new_buffersize),
10478         (gst_event_parse_buffersize):
10479         * gst/gstevent.h:
10480         New event for future idea.
10481
10482 2005-10-07  Andy Wingo  <wingo@pobox.com>
10483
10484         * gst/gstelement.c (gst_element_post_message): Doc update.
10485
10486         * docs/gst/gstreamer-sections.txt: Update.
10487
10488         * gst/gstmessage.c (gst_message_new_application): Made into a
10489         function like honest API calls.
10490         (gst_message_new_element): New message type.
10491
10492         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
10493
10494         * check/elements/fakesrc.c (test_no_preroll): New check, checks
10495         that setting a live fakesrc to PAUSED returns NO_PREROLL both
10496         times.
10497
10498         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
10499         NO_PREROLL from gst_element_change_state to fall through.
10500
10501 2005-10-07  Wim Taymans  <wim@fluendo.com>
10502
10503         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
10504         (gst_ghost_pad_do_activate_push):
10505         Activating a ghostpad with no internal pad in push mode
10506         is ok.
10507
10508 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10509
10510         * gst/gstobject.h:
10511           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
10512           Fixes compilation on Windows.
10513
10514 2005-10-07  Michael Smith <msmith@fluendo.com>
10515
10516         * tools/gst-inspect.c:
10517           Print out feature and plugin count at the end when printing out
10518           all features.
10519
10520 2005-10-04  Michael Smith <msmith@fluendo.com>
10521
10522         * gst/gsterror.c: (_gst_stream_errors_init):
10523           Add another error string used in a few existing plugins.
10524
10525         * gst/gstplugin.c:
10526         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10527         * tools/gst-inspect.c: (print_element_info):
10528           When a feature disappears from a plugin (and the feature exists in
10529           the cached registry file), things went horribly wrong. This isn't a
10530           complete fix, we should actually be removing the 'missing' features
10531           from the features list when we load the actual plugin. That's not
10532           yet implemented. 
10533
10534 2005-10-04  Johan Dahlin  <johan@gnome.org>
10535
10536         * check/gst/gstiterator.c: (GST_START_TEST):
10537         * gst/gstbin.c: (gst_bin_iterate_elements),
10538         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
10539         * gst/gstelement.c: (gst_element_iterate_pads):
10540         * gst/gstformat.c: (gst_format_iterate_definitions):
10541         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10542         (gst_iterator_new_list), (gst_iterator_filter):
10543         * gst/gstiterator.h:
10544         * gst/gstquery.c: (gst_query_type_iterate_definitions):
10545         Add a GType to GstIterator, update callsites and tests.
10546
10547 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10548
10549         * gst/gstpad.c: (gst_pad_event_default_dispatch):
10550           give events a chance to be handled by event probes when the pad
10551           is not linked
10552
10553 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10554
10555         * gst/gstevent.c: (gst_event_type_get_name),
10556         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
10557         * gst/gstevent.h:
10558           add string representations for event types
10559
10560 2005-10-06  Wim Taymans  <wim@fluendo.com>
10561
10562         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
10563         Don't use NULL pointers.
10564
10565 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10566
10567         * gst/gst_private.h:
10568         * gst/gstbus.c:
10569         * gst/gstelement.c:
10570         * gst/gstinfo.c:
10571         * gst/gstpluginfeature.c:
10572           widen the debug category in output to fit the biggest one we have
10573           add a bus category and use it
10574           play with the colors
10575           fix up some categories
10576
10577 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
10578
10579         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
10580           add push activation of sink ghost pads.
10581           Andye, please verify
10582
10583 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10584
10585         * gst/gstutils.c: (gst_element_link_pads):
10586           fix a bug in the case where neither element has a pad
10587         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10588           add a test for that case
10589
10590 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
10593           emit have-data before checking for peers.  This allows
10594           for probe handlers to connect elements.  This helps autopluggers.
10595         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
10596         (gst_pad_suite):
10597           add six checks, linked/unlinked with no/true/false probe
10598
10599 2005-10-04  Wim Taymans  <wim@fluendo.com>
10600
10601         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
10602         (gst_fake_sink_event), (gst_fake_sink_preroll),
10603         (gst_fake_sink_render), (gst_fake_sink_change_state):
10604         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
10605         (gst_fake_src_get_property), (gst_fake_src_create),
10606         (gst_fake_src_stop):
10607         * gst/elements/gstidentity.c: (gst_identity_stop):
10608         Protect last_message with lock.
10609
10610 2005-10-04  Edward Hervey  <edward@fluendo.com>
10611
10612         * gst/gstformat.h: 
10613         Added precision in the comments for GST_FORMAT_DEFAULT
10614
10615 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
10616
10617         * tools/gst-launch.c: (main):
10618           Don't try to run erroneous pipelines.
10619
10620 2005-10-04  Julien MOUTTE  <julien@moutte.net>
10621
10622         * gst/gstbus.c: We don't need this header.
10623
10624 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10625
10626         * configure.ac:
10627           back to development
10628
10629 === release 0.9.3 ===
10630
10631 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10632
10633         * README:
10634         * configure.ac:
10635           Releasing 0.9.3, "Unregistered"
10636
10637 2005-10-03  Andy Wingo  <wingo@pobox.com>
10638
10639         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
10640         whereby calling a pad's activatepush() function can start a thread
10641         that starts to push or pull before the pad gets the FLUSHING flag
10642         unset. Hack around it by holding the stream lock until the flag is
10643         set. Need to replace this with a proper solution. Together with
10644         the ghost pad fixes, this fixes mp3 playing/tagreading.
10645
10646         * docs/design/part-gstghostpad.txt: Add a note about activation of
10647         proxy pads outside of ghost pads.
10648
10649         * gst/gstghostpad.c: Implement the ghost pad activation design.
10650
10651 2005-10-02  Andy Wingo  <wingo@pobox.com>
10652
10653         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
10654         It is volatile, after all.
10655
10656         * docs/design/part-gstghostpad.txt: Flesh out activation with
10657         ghost pads.
10658
10659         * gst/base/gstbasesrc.c (gst_base_src_init): Use
10660         GST_DEBUG_FUNCPTR.
10661
10662 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * configure.ac:
10665           Fix (unused) AM_CONDITIONAL tests.
10666
10667 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
10668
10669         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10670
10671         * gst/gstutils.c: (gst_pad_query_convert):
10672           Add assertion that makes sure src_val is >=0, just like
10673           gst_query_new_convert() has. (#315895)
10674
10675 2005-09-30  Edward Hervey  <edward@fluendo.com>
10676
10677         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
10678         Let's not iterate pads we're not interested in, it avoids getting 
10679         sky-high refcounts on sinkpad.
10680
10681 2005-09-30  Wim Taymans  <wim@fluendo.com>
10682
10683         * gst/gstelement.c: (gst_element_set_state),
10684         (gst_element_change_state):
10685         Small tweak, element in ASYNC remains ASYNC.
10686
10687 2005-09-30  Wim Taymans  <wim@fluendo.com>
10688
10689         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
10690         Only error is an error.
10691
10692         * gst/gstbin.c: (gst_bin_change_state):
10693         Better debugging.
10694
10695         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
10696         Also call pad_block in pad alloc.
10697
10698         * gst/gstutils.c: (gst_flow_get_name):
10699         Better debugging.
10700
10701 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10704         (gst_base_src_get_range):
10705           Fix documentation typos. Add some more debug info.
10706
10707 2005-09-29  David Schleef  <ds@schleef.org>
10708
10709         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
10710           more end-user friendly.
10711         * tools/gst-inspect.c: (main): Check if command-line argument is
10712           a file and attempt to load that file as a plugin.
10713
10714 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10715
10716         * check/gst/gstbin.c:
10717         * check/states/sinks.c:
10718           fix tests for the new warning
10719         * check/gst/gstpipeline.c:
10720           add a test for pipeline and bus interaction
10721         * gst/gstelement.c:
10722           elements should be NULL if they get disposed; add a warning if not
10723
10724 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10725
10726         * gst/gstobject.c:
10727           for 2.6 refcounting, make debug log more correct by printing
10728           the actual refcounts at the time of swap (Wim)
10729
10730 2005-09-29  Andy Wingo  <wingo@pobox.com>
10731
10732         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
10733         removes signal watches previously added via
10734         gst_bus_add_signal_watch.
10735         (gst_bus_add_signal_watch): Don't return the source id, just store
10736         it on the bus if there wasn't an id already.
10737
10738         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
10739         add_signal_watch and remove_signal_watch.
10740
10741 2005-09-29  Edward Hervey  <edward@fluendo.com>
10742
10743         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
10744         Better if we actually iterate the list :)
10745
10746 2005-09-29  Wim Taymans  <wim@fluendo.com>
10747
10748         * check/gst/gstbin.c: (GST_START_TEST):
10749         Change for new bus API.
10750
10751         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10752         (send_messages), (GST_START_TEST), (gstbus_suite):
10753         Change for new bus signal API.
10754
10755         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
10756         (gst_bus_source_prepare), (gst_bus_source_check),
10757         (gst_bus_create_watch), (gst_bus_add_watch_full),
10758         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
10759         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
10760         * gst/gstbus.h:
10761         Remove support for multiple GSources operating on different
10762         message types as it is too complex and unneeded when using
10763         signals.
10764         Added support for receiving signals from the bus.
10765
10766 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10767
10768         * docs/libs/tmpl/gstdataprotocol.sgml:
10769         * docs/manual/advanced-dataaccess.xml:
10770         * gst/elements/gstcapsfilter.c:
10771         * gst/gstutils.c:
10772           rename filter-caps to caps property
10773
10774 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10775
10776         * gst/gstvalue.c: (gst_value_deserialize_fraction):
10777           More robust fraction string parsing.
10778
10779         * docs/pwg/appendix-porting.xml:
10780           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
10781
10782 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
10783
10784         * gst/gstcaps.c: (gst_caps_do_simplify):
10785           Thou shalt not free a structure and then continue using it
10786           in the next loop iteration.
10787
10788         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
10789         (gst_caps_suite):
10790           Add test case for caps simplification.
10791
10792 2005-09-29  Wim Taymans  <wim@fluendo.com>
10793
10794         * check/gst/gstbin.c: (GST_START_TEST):
10795         Oops.
10796
10797 2005-09-29  Wim Taymans  <wim@fluendo.com>
10798
10799         * check/gst/gstbin.c: (GST_START_TEST):
10800         Add bus to bin.
10801
10802         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
10803         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10804         (find_element), (gst_bin_sort_iterator_next),
10805         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10806         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10807         (gst_bin_change_state), (gst_bin_dispose):
10808         A bin does not have a bus, it gets the bus from the parent.
10809
10810         * gst/gstelement.c: (gst_element_requires_clock),
10811         (gst_element_provides_clock), (gst_element_is_indexable),
10812         (gst_element_is_locked_state), (gst_element_change_state),
10813         (gst_element_set_bus_func):
10814         Small cleanups.
10815
10816         * gst/gstpipeline.c: (gst_pipeline_class_init),
10817         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
10818         The pipeline provides a bus.
10819
10820 2005-09-28  Johan Dahlin  <johan@gnome.org>
10821
10822         * gst/gstmessage.c (gst_message_parse_state_changed): Use
10823         gst_structure_get_enum instead of gst_structure_get_int
10824
10825         * gst/gststructure.c (gst_structure_get_enum): Impl.
10826
10827         * gst/gststructure.h (gst_structure_get_enum): Add
10828
10829         * docs/gst/gstreamer-sections.txt: Ditto
10830
10831         * gst/gstmessage.c (gst_message_new_state_changed): Use
10832         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
10833         which does introspection.
10834         Reviewed by Christian Schaller
10835
10836 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10837
10838         * gst/gstinfo.c: (gst_debug_log_default):
10839           don't do dummy g_strdup()s
10840         * libs/gst/controller/gstcontroller.c:
10841         (on_object_controlled_property_changed),
10842         (gst_controlled_property_new), (gst_controller_new_valist),
10843         (gst_controller_new_list),
10844         (gst_controller_remove_properties_valist), (gst_controller_set),
10845         (gst_controller_get), (gst_controller_sync_values),
10846         (gst_controller_get_value_array), (_gst_controller_class_init),
10847         (gst_controller_get_type):
10848         * libs/gst/controller/gstcontroller.h:
10849         * libs/gst/controller/gstinterpolation.c:
10850         (gst_controlled_property_find_timed_value_node):
10851           convert // to /**/ comments
10852
10853 2005-09-28  Wim Taymans  <wim@fluendo.com>
10854
10855         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10856         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10857         (gst_bus_sync_signal_handler):
10858         * gst/gstbus.h:
10859         Added async-message and sync-message signals to the bus.
10860         Added helper BusFunc to emit signals for all posted messages.
10861
10862         * gst/gstmessage.c: (gst_message_type_get_name),
10863         (gst_message_type_to_quark), (gst_message_get_type):
10864         * gst/gstmessage.h:
10865         Register quarks for message names.
10866
10867 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10868
10869         * docs/libs/gstreamer-libs-sections.txt:
10870         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10871         (gst_controller_new_list):
10872         * libs/gst/controller/gstcontroller.h:
10873           added another constructor for language bindings
10874
10875 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10876
10877         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10878           add another check
10879         * gst/gstbus.c:
10880           add some doc
10881         * gst/gstinfo.c: (_gst_debug_init):
10882           slightly more readable color for refcount debugging
10883
10884 2005-09-28  Wim Taymans  <wim@fluendo.com>
10885
10886         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10887         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10888         (find_element), (gst_bin_sort_iterator_next),
10889         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10890         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10891         (gst_bin_change_state), (gst_bin_dispose):
10892         Small doc fixes. get_clock -> provide_clock.
10893
10894         * gst/gstelement.c: (gst_element_class_init),
10895         (gst_element_provides_clock), (gst_element_provide_clock),
10896         (gst_element_get_clock), (gst_element_commit_state),
10897         (gst_element_lost_state):
10898         * gst/gstelement.h:
10899         Make get/set_clock() symetric. Add provide_clock vmethod since
10900         that is actually what this function does.
10901
10902         * gst/gstpipeline.c: (gst_pipeline_class_init),
10903         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10904         (gst_pipeline_get_clock):
10905         get_clock -> provide_clock.
10906
10907 2005-09-28  Andy Wingo  <wingo@pobox.com>
10908
10909         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10910         lieu of real docs...
10911
10912         * gst/elements/gstfdsrc.c: Cleaned up a bit.
10913
10914 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
10915
10916         * gst/elements/gstcapsfilter.c:
10917         * gst/elements/gstfakesink.c:
10918         * gst/elements/gstfakesrc.c:
10919         * gst/elements/gstfdsink.c:
10920         * gst/elements/gstfdsrc.c:
10921         * gst/elements/gstfilesink.c:
10922         * gst/elements/gstfilesrc.c:
10923         * gst/elements/gstidentity.c:
10924         * gst/elements/gsttee.c:
10925         * gst/elements/gsttypefindelement.c:
10926           Make element details static.
10927
10928 2005-09-28  Wim Taymans  <wim@fluendo.com>
10929
10930         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10931         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10932         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10933         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10934         (gst_bin_change_state), (gst_bin_dispose):
10935         Some documentation updates.
10936         Clean up dispose handlers.
10937
10938         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10939         * gst/gstpad.c: (gst_pad_dispose):
10940         Clean up dispose handler.
10941
10942         * gst/gstpipeline.c: (gst_pipeline_change_state):
10943         Removed spurious UNLOCK.
10944
10945 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
10946
10947         * docs/gst/gstreamer-sections.txt:
10948         * gst/base/gstbasesrc.h:
10949         * gst/gstelement.h:
10950         * gst/gstevent.h:
10951         * gst/gstobject.h:
10952         * gst/gstpad.h:
10953         * gst/gstpipeline.c:
10954         * gst/gstpipeline.h:
10955         * gst/gstutils.h:
10956         * gst/gstxml.h:
10957           added two new functions to the docs
10958                 documents all undocumented GstXXXFlags
10959                 completed some incomplete docs 
10960
10961 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10962
10963         * gst/gstbin.c: (gst_bin_dispose):
10964         * gst/gstelement.c: (gst_element_dispose):
10965           remove now useless and leaky resurrection code in dispose
10966         * gst/base/gstbasesrc.c: (gst_base_src_init):
10967         * gst/gstelementfactory.c: (gst_element_factory_create):
10968         * gst/gstobject.c: (gst_object_set_parent):
10969           add some debugging
10970
10971 2005-09-27  Wim Taymans  <wim@fluendo.com>
10972
10973         * docs/design/part-TODO.txt:
10974         Update TODO.
10975
10976         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10977         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10978         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10979         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10980         (gst_bin_change_state):
10981         * gst/gstelement.h:
10982         Remove element variable, we keep element info in the iterator now.
10983
10984 2005-09-27  Andy Wingo  <wingo@pobox.com>
10985
10986         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10987         values.
10988
10989 2005-09-27  Wim Taymans  <wim@fluendo.com>
10990
10991         * check/gst/gstbin.c: (GST_START_TEST):
10992         Enable check that works now.
10993
10994         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10995         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10996         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10997         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10998         (gst_bin_change_state):
10999         * gst/gstbin.h:
11000         Redid the state change algorithm using a topological sort algo.
11001         Handles all cases correctly.
11002         Exposed iterator for state change order.
11003
11004         * gst/gstelement.h:
11005         Temp storage for state changes. Need to get rid of this soon.
11006
11007 2005-09-27  Wim Taymans  <wim@fluendo.com>
11008
11009         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11010         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11011         (link_fold_func), (gst_pad_proxy_setcaps):
11012         Leak fixes, the fold functions need to unref the passed object and
11013         _get_parent_*() returns ref to parent.
11014
11015 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11016
11017         * check/gst/gstbuffer.c: (test_make_writable):
11018           Plug leak in test case and fix 'make check-valgrind'
11019
11020 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11021
11022         * gst/gstbuffer.c: (gst_subbuffer_init):
11023           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11024           works correctly in all circumstances (we could have just copied
11025           the parent buffer's readonly flag, but conceptually it seems
11026           cleaner to mark all subbuffers as read-only). (based on patch
11027           by Alessandro Decina, #314710).
11028         
11029         * check/gst/gstbuffer.c: (create_read_only_buffer),
11030         (test_make_writable), (test_subbuffer_make_writable),
11031         (gst_test_suite):
11032           Add some tests for gst_buffer_make_writable().
11033
11034 2005-09-27  Wim Taymans  <wim@fluendo.com>
11035
11036         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11037         use gst_object_has_ancestor().
11038
11039         * gst/gstobject.c: (gst_object_has_ancestor):
11040         * gst/gstobject.h:
11041         gst_object_has_ancestor() copied from gstbin.c as it is a
11042         usefull function.
11043
11044         * tests/instantiate/create.c: (create_all_elements):
11045         * tests/lat.c: (handoff_src), (handoff_sink):
11046         * tests/sched/runxml.c: (main):
11047         * tests/seeking/seeking1.c: (main):
11048         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11049         (main):
11050         Fix compilation of some tests.
11051
11052 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
11053
11054         * gst/gsterror.h:
11055           Remove comment. GST_TYPE_G_ERROR is here to stay,
11056           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11057           (#316961, #300610).
11058
11059 2005-09-26  Wim Taymans  <wim@fluendo.com>
11060
11061         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11062         Added check that shows error in state change order.
11063
11064 2005-09-26  Wim Taymans  <wim@fluendo.com>
11065
11066         * gst/gstbin.c: (gst_bin_change_state):
11067         Make state change function use 3 queues again, we were
11068         adding elements in the wrong order.
11069
11070         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11071         Some debug info,
11072
11073         * gst/gstpad.c: (gst_pad_dispose):
11074         Added some debug info first.
11075
11076 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
11077
11078         * docs/design/draft-push-pull.txt:
11079         * docs/design/part-events.txt:
11080         * docs/design/part-overview.txt:
11081         * docs/design/part-scheduling.txt:
11082           Replace all _pull_region() with _pull_range()
11083           
11084 2005-09-26  Andy Wingo  <wingo@pobox.com>
11085
11086         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
11087
11088         * check/gst-libs/controller.c: Update for controller api change.
11089
11090         * configure.ac: 
11091         * tests/Makefile.am:
11092         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
11093         over by GLib bug 118439.
11094         
11095         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
11096         routines to a function.
11097
11098         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
11099
11100         * libs/gst/controller/gsthelper.c:
11101         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
11102         (gst_object_sync_values): Renamed from sink_values. Ugh.
11103
11104         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
11105
11106         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
11107         Renamed from controller_key, as it is exported.
11108
11109         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
11110
11111 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
11112
11113         * gst/Makefile.am:
11114         * gst/gst.h:
11115         * gst/gstpad.h:
11116         * gst/gstpadtemplate.h:
11117         * gst/gstquery.c:
11118         * gst/gstquery.h:
11119         * gst/gstqueryutils.c:
11120         * gst/gstqueryutils.h:
11121           remove queryutils headers after moving the two used functions
11122           to gstquery.  also fixes build problem for gstsiddec
11123
11124 2005-09-26  Michael Smith <msmith@fluendo.com>
11125
11126         * tools/gst-launch.1.in:
11127         Correct documentation in manpage of debug syntax
11128
11129 2005-09-26  Wim Taymans  <wim@fluendo.com>
11130
11131         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
11132         (gst_base_src_is_seekable), (gst_base_src_change_state):
11133         Some more debugging info.
11134
11135 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11136
11137         * docs/gst/gstreamer-sections.txt:
11138         * gst/base/gstbasetransform.h:
11139         * gst/gstindex.h:
11140           added more docs
11141
11142 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11143
11144         * docs/gst/.cvsignore:
11145         * docs/gst/tmpl/.cvsignore:
11146         * docs/gst/tmpl/gstpipeline.sgml:
11147         * docs/gst/tmpl/gstplugin.sgml:
11148         * gst/gstpipeline.c:
11149         * gst/gstplugin.c:
11150         * gst/gstplugin.h:
11151           inlined the last two docs files
11152           removed the tmpl directory from cvs (no more conflicts here!)
11153
11154 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
11155
11156         * docs/gst/gstreamer-sections.txt:
11157         * docs/gst/tmpl/.cvsignore:
11158         * docs/gst/tmpl/gstpad.sgml:
11159         * docs/gst/tmpl/gstpadtemplate.sgml:
11160         * gst/Makefile.am:
11161         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11162         (gst_pad_finalize), (gst_pad_set_pad_template):
11163         * gst/gstpad.h:
11164         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
11165         (gst_pad_template_class_init), (gst_pad_template_init),
11166         (gst_pad_template_dispose), (name_is_valid),
11167         (gst_static_pad_template_get), (gst_pad_template_new),
11168         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
11169         (gst_pad_template_pad_created):
11170         * gst/gstpadtemplate.h:
11171           inlined two more docs
11172           factored gstpadtemplate out of gstpad
11173
11174 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
11175
11176         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11177         (test_children_state_change_order_semi_sink):
11178           Fix test case: we can't rely on a fixed state change order when
11179           going from READY => PAUSED because the sink might commit its 
11180           new state first when the first buffer created by the source 
11181           reaches the sink before the source has finished its change state.
11182           (Test case still fails at times, see #316856, comment 5 onwards)
11183
11184 2005-09-24  Wim Taymans  <wim@fluendo.com>
11185
11186         * docs/design/part-events.txt:
11187         * docs/design/part-gstbus.txt:
11188         * docs/design/part-gstpipeline.txt:
11189         * docs/design/part-messages.txt:
11190         * docs/design/part-overview.txt:
11191         * docs/design/part-segments.txt:
11192         * gst/gstbin.c:
11193         * gst/gstbuffer.c:
11194         * gst/gstclock.c:
11195         * gst/gstelement.c:
11196         * gst/gstevent.c:
11197         * gst/gstfilter.c:
11198         * gst/gstiterator.c:
11199         Various documentation updates.
11200
11201 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11202
11203         * gst/gstclock.h:
11204           Well, that's embarassing.  Luckily we weren't using
11205           GST_CLOCK_DIFF anywhere.
11206
11207 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11208
11209         * common/gtk-doc.mak:
11210           don't fail on building XML, FC4 slave shows a bunch of doc
11211           missing bits that I don't get
11212         * gst/gstpad.c:
11213         * gst/gstpipeline.c:
11214         * gst/gststructure.c:
11215           some doc updates
11216
11217 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
11218
11219         * docs/design/part-gstbin.txt:
11220         * docs/design/part-gstbus.txt:
11221         * gst/gstbus.c:
11222           Add blurb about how the bus goes into flushing mode and
11223           drops all messages when its bin goes from READY into NULL 
11224           state.
11225
11226 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11227
11228         * docs/gst/gstreamer-sections.txt:
11229         * gst/gststructure.c: (gst_structure_get_clock_time):
11230         * gst/gststructure.h:
11231           add a method to get a GstClockTime out of a structure
11232
11233 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
11234
11235         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
11236         (test_children_state_change_order_semi_sink), (gst_bin_suite):
11237           Added test to check state change order in bins (can still be made
11238           to fail here under heavy disk load; bails out with 'Push on pad
11239           fakesink:sink0, but it was not activated in push mode').
11240
11241         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
11242           Fix state change order when there is only a semi sink (#316856)
11243
11244         * gst/gstbus.c: (gst_bus_class_init):
11245           Use _class_peek_parent(), not _class_ref(); fix docs to say
11246           'default main context' instead of 'mainloop' where that is
11247           what's meant.
11248
11249         * gst/gstelement.c: (gst_element_commit_state),
11250         (gst_element_set_state):
11251           Fix typos in debug messages
11252
11253 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11254
11255         * docs/README:
11256         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
11257         * gst/gstpluginfeature.c:
11258         * gst/gstutils.c:
11259           various doc updates
11260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11261           change an assert into an error until it gets fixed properly
11262
11263 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
11264
11265         * docs/gst/gstreamer-sections.txt:
11266         * docs/gst/tmpl/.cvsignore:
11267         * docs/gst/tmpl/gstelement.sgml:
11268         * docs/gst/tmpl/gstinfo.sgml:
11269         * docs/gst/tmpl/gstobject.sgml:
11270         * gst/gstelement.c:
11271         * gst/gstelement.h:
11272         * gst/gstinfo.c:
11273         * gst/gstinfo.h:
11274         * gst/gstobject.c: (gst_object_class_init):
11275         * gst/gstobject.h:
11276           inlined 3 more biiiig doc files and added some missing docs on the fly
11277
11278 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
11279
11280         * check/gst/.cvsignore:
11281         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
11282         * gst/gstregistryxml.c: (load_plugin),
11283         (gst_registry_xml_save_plugin):
11284           put back source in registry.  add checks for find_plugin.
11285         * testsuite/states/bin.c: (assert_state), (empty_bin),
11286         (test_adding_one_element), (main):
11287         * testsuite/states/locked.c: (main):
11288           some compile/run fixes
11289
11290 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
11291
11292         * check/gst/gstvalue.c: (GST_START_TEST):
11293           fix leaks in the test itself
11294
11295 2005-09-22  Wim Taymans  <wim@fluendo.com>
11296
11297         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11298         (gst_base_sink_send_event), (gst_base_sink_peer_query),
11299         (gst_base_sink_query):
11300         Prepare for more accurate position reporting and query
11301         handling.
11302
11303         * gst/gstelement.c: (gst_element_send_event),
11304         (gst_element_set_state):
11305         Add some comment.
11306
11307 2005-09-22  Wim Taymans  <wim@fluendo.com>
11308
11309         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
11310         (gst_query_parse_segment):
11311         * gst/gstquery.h:
11312         More documentation.
11313         Add segment query for future use.
11314
11315 2005-09-22  Wim Taymans  <wim@fluendo.com>
11316
11317         * gst/gstbin.c: (gst_bin_add_func):
11318         Some more debug info.
11319
11320         * gst/gstelement.c: (gst_element_send_event):
11321         Simplify send_event
11322
11323         * gst/gstelement.h:
11324         Don't know how flags got broken.
11325
11326         * gst/gstquery.h:
11327         Added new query.
11328
11329 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
11330
11331         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
11332           Add simplistic test suite for GST_TYPE_DATE serialisation and
11333           deserialisation.
11334
11335 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
11336
11337         * docs/gst/gstreamer-sections.txt:
11338         * gst/gststructure.c: (gst_structure_set_valist),
11339         (gst_structure_get_date):
11340         * gst/gststructure.h:
11341         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
11342         (gst_date_copy), (gst_value_compare_date),
11343         (gst_value_serialize_date), (gst_value_deserialize_date),
11344         (gst_value_transform_date_string),
11345         (gst_value_transform_string_date), (_gst_value_initialize):
11346         * gst/gstvalue.h:
11347           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
11348           bunch of utility functions along with a hack that checks that
11349           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
11350           is required. Part of the grand scheme in #170777.
11351
11352 2005-09-22  Andy Wingo  <wingo@pobox.com>
11353
11354         * gst/gstconfig.h.in: Psych out gtk-doc.
11355
11356         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
11357
11358         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
11359
11360         * tools/gst-inspect.c (print_element_list): Plug some
11361         inconsequential leaks.
11362
11363         * gst/gstregistry.c (gst_registry_get_default): Doc.
11364
11365         * check/gst/gstplugin.c: 
11366         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
11367         * gst/gstelementfactory.c (gst_element_factory_create): 
11368         * gst/gstindexfactory.c (gst_index_factory_create): Update for
11369         refcount changes.
11370
11371         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
11372         (gst_plugin_feature_load): Doc, don't eat refs.
11373
11374         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
11375         (gst_plugin_list_free): Doc.
11376         (gst_plugin_load_file): Doc updates.
11377
11378         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
11379         accessors returning refcounted objects, return a ref.
11380
11381         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
11382         accessor for caps. IDEMPOTENCE. Oh yes.
11383
11384 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
11385
11386         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11387
11388         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
11389         (_gst_debug_register_funcptr):
11390           Add mutex to serialise access to the hash table with
11391           the function pointer => function name string mapping;
11392           make that hash table static scope (#316809).
11393
11394         * gst/registries/.cvsignore:
11395           Remove left-over file.
11396
11397 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
11398
11399         * docs/pwg/appendix-porting.xml:
11400           And something about newsegment events and caps-on-buffers to
11401           the porting guide (feel free to improve).
11402
11403 2005-09-21  Andy Wingo  <wingo@pobox.com>
11404
11405         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
11406         data and event probes on the same pad.
11407         (test_buffer_probe_once): Test that removing probes from within
11408         the probe functions works.
11409
11410 2005-09-21  Andy Wingo  <wingo@pobox.com>
11411
11412         * check/gst/gstutils.c: New file.
11413         (test_buffer_probe_n_times): A simple buffer probe test. More to
11414         come, foolios.
11415
11416         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
11417         have-data::buffer, not have-data.
11418         (gst_pad_add_event_probe): Likewise for have-data::event.
11419         (gst_pad_add_data_probe): More docs. The part about 'resolving the
11420         peer' isn't quite right yet though.
11421         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
11422         (gst_pad_remove_data_probe): Change to take the guint handler_id
11423         as their arg, not the function+data, which is more glib-like.
11424
11425         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
11426         the signal emission to indicate if the data is a buffer or an
11427         event.
11428         (gst_pad_get_type): Initialize buffer and event quarks.
11429         (gst_pad_class_init): have-data is now a detailed signal, yes it
11430         is.
11431
11432 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
11433
11434         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11435         * gst/gstutils.c: (gst_util_set_value_from_string),
11436         (gst_util_set_object_arg):
11437           Don't put functional code in g_return_if_fail() or
11438           g_return_val_if_fail() statements, otherwise things will 
11439           break when G_DISABLE_CHECKS is defined during compilation.
11440
11441 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11442
11443         * docs/gst/tmpl/.cvsignore:
11444         * docs/gst/tmpl/gstvalue.sgml:
11445         * gst/gstvalue.c:
11446         * gst/gstvalue.h:
11447           inlied another one and added  some obvious docs
11448
11449 2005-09-21  Wim Taymans  <wim@fluendo.com>
11450
11451         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11452         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
11453         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
11454         (gst_fdsrc_get_property), (gst_fdsrc_create):
11455         * gst/elements/gstfdsrc.h:
11456         Properly implement fdsrc. Removed signal and timeout,
11457         better implemented somewhere else.
11458
11459 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11460
11461         * docs/gst/tmpl/.cvsignore:
11462         * docs/gst/tmpl/gstimplementsinterface.sgml:
11463         * gst/gstinterface.c:
11464           inlined more docs
11465
11466 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11467
11468         * docs/gst/gstreamer-sections.txt:
11469         * docs/gst/tmpl/.cvsignore:
11470         * docs/gst/tmpl/gstenumtypes.sgml:
11471           remove obsolete doc file
11472
11473 2005-09-21  David Schleef  <ds@schleef.org>
11474
11475         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
11476         little beer, fix a little leak.
11477
11478 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
11479
11480         * docs/gst/gstreamer-docs.sgml:
11481         * docs/gst/gstreamer-sections.txt:
11482         * docs/gst/tmpl/.cvsignore:
11483         * gst/Makefile.am:
11484         * gst/gst.h:
11485         * gst/gstbin.c:
11486         * gst/gstelement.h:
11487         * gst/gstindex.c: (gst_index_class_init):
11488         * gst/gstindex.h:
11489         * gst/gstindexfactory.c: (gst_index_factory_get_type),
11490         (gst_index_factory_class_init), (gst_index_factory_init),
11491         (gst_index_factory_finalize), (gst_index_factory_new),
11492         (gst_index_factory_destroy), (gst_index_factory_find),
11493         (gst_index_factory_create), (gst_index_factory_make):
11494         * gst/gstindexfactory.h:
11495         * gst/gstpluginfeature.c:
11496         * gst/gstpluginfeature.h:
11497         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11498           more docs inlined, splitted gstindex.{c,h}
11499
11500 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11501
11502         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11503           fix a leak
11504
11505 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
11506
11507         * gst/elements/gstfilesink.c: (gst_file_sink_init):
11508           Set sync to FALSE by default.
11509
11510 2005-09-20  Wim Taymans  <wim@fluendo.com>
11511
11512         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11513         (gst_base_sink_init):
11514         Make sync property settable from subclass.
11515
11516         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11517         (gst_fake_sink_change_state):
11518         Set sync to FALSE by default.
11519
11520 2005-09-20  Wim Taymans  <wim@fluendo.com>
11521
11522         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
11523         * tools/gst-launch.c: (main):
11524         The timeout handler should have lower priority than the source
11525         so we don't timeout before popping a message with 0 timeout.
11526         Dump error messages after failed state change.
11527
11528 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
11529
11530         * tools/gst-inspect.c: (print_element_properties_info):
11531           Fix two typos.
11532
11533 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11534
11535         * check/gst/gstevent.c:
11536         * gst/elements/gstfakesink.c:
11537         * gst/elements/gstfakesink.h:
11538           remove the sync property from fakesink.
11539           has the side effect of setting sync TRUE
11540           for fakesink, which is a change.  Anyone who knows how
11541           to fix this nicely in a GObject-y way, feel free.
11542
11543 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11544
11545         * docs/gst/gstreamer-docs.sgml:
11546           remove probe refsection
11547
11548 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11549
11550         * check/Makefile.am:
11551           disable valgrinding the controller test again
11552         * docs/gst/gstreamer-sections.txt:
11553           update for api-changes
11554
11555 2005-09-20  Wim Taymans  <wim@fluendo.com>
11556
11557         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
11558         (gst_base_sink_set_property), (gst_base_sink_get_property),
11559         (gst_base_sink_do_sync):
11560         * gst/base/gstbasesink.h:
11561         Added sync property to basesink to disable clock sync.
11562
11563 2005-09-20  Andy Wingo  <wingo@pobox.com>
11564
11565         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
11566         eating the caller's refcount.
11567
11568         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
11569         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
11570         refcount.
11571
11572         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
11573         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
11574         of GLib 2.8 public, so we can know which refcount to check in
11575         tests.
11576
11577         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
11578         (gst_object_init): Only set the gst refcount if we're going ahead
11579         with the refcount hack.
11580
11581 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11582
11583         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11584         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
11585           more leaks plumbed, added more debug-logging
11586         * gst/gstmacros.h:
11587           whitespace fix
11588
11589 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11590
11591         * gst/gstmessage.c:
11592           remove include of gstmemchunk.h
11593
11594 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11595
11596         * gst/gstclock.c: (_gst_clock_id_free):
11597           Commit from the Political Party For More Atomic CVS Commits,
11598           so that people don't waste too much of their day fishing
11599           out obvious leaks out of massive commits.
11600           Oh, and fix a pretty damn obvious leak in the memchunk
11601           removal code.
11602
11603 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
11604
11605         * check/Makefile.am:
11606         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
11607           plug mem-leak, re-add to valgrindable tests
11608
11609 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
11610
11611         * gst/gstplugin.h:
11612           unbreak the build for those who have chronic arthritis
11613           and typing "make check" is just too taxing on the hands
11614
11615 2005-09-20  Andy Wingo  <wingo@pobox.com>
11616
11617         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
11618         really want it out, you should fix plugins at the same time.
11619
11620 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
11621
11622         * configure.ac:
11623         * docs/gst/gstreamer-sections.txt:
11624         * gst/gstobject.c:
11625           added missing symbols to api docs
11626           disable ref-count hack if we have glib >= 2.8
11627
11628 2005-09-19  David Schleef  <ds@schleef.org>
11629
11630         * docs/gst/Makefile.am: Ignore a few more internal headers
11631         * docs/gst/gstreamer-docs.sgml: Remove old sections
11632         * docs/gst/gstreamer-sections.txt: Remove old sections
11633         * docs/gst/tmpl/gstobject.sgml: update
11634         * docs/gst/tmpl/gstplugin.sgml: update
11635         * docs/gst/tmpl/gstpluginfeature.sgml: update
11636         * docs/random/ds/0.9-suggested-changes: update.
11637         * gst/Makefile.am: remove memchunk and trashstack, since they're
11638           not used.
11639         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
11640         * gst/gst.h: don't include some headers
11641         * gst/gstchildproxy.c: add gstmarshal.h
11642         * gst/gstclock.c: Don't use memchunks
11643         * gst/gstminiobject.c: Add some docs
11644         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
11645         * gst/gstobject.h: same
11646         * gst/gstplugin.c: include gstmacros.h
11647         * gst/gstplugin.h: don't include gstmacros.h, since it's private
11648         * gst/gstquery.c: don't use memchunks
11649         * gst/gstregistry.c: rename gst_registry_deinit()
11650         * gst/gstregistry.h: same
11651
11652 2005-09-19  David Schleef  <ds@schleef.org>
11653
11654         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
11655         * docs/libs/gstreamer-libs-sections.txt:
11656         * docs/libs/tmpl/gstgetbits.sgml:
11657         * docs/libs/tmpl/gstputbits.sgml:
11658
11659 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
11660
11661         * win32/gstenumtypes.c:
11662         * win32/gstenumtypes.h:
11663           Update.
11664
11665 2005-09-19  Wim Taymans  <wim@fluendo.com>
11666
11667         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
11668         Automatically PAUSE and RESUME a pipeline when a flushing seek
11669         is performed.
11670
11671 2005-09-19  Andy Wingo  <wingo@pobox.com>
11672
11673         * gst/gstregistry.h: Spacing fixen.
11674
11675 2005-09-19  Wim Taymans  <wim@fluendo.com>
11676
11677         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
11678         Handle state change failure more correctly.
11679
11680 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11681
11682         * check/Makefile.am:
11683         * check/pipelines/cleanup.c: (run_pipeline):
11684         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11685         (GST_START_TEST):
11686           enable cleanup again after fixing the leak
11687         * docs/README:
11688           some more info on docs
11689
11690 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11691
11692         * check/Makefile.am:
11693           re-enable tests now that leaks are plugged
11694         * check/gst/gst.c:
11695         * check/gst/gstbin.c:
11696         * check/gst/gstpipeline.c:
11697           add some more tests while fixing leaks
11698         * common/check.mak:
11699           make sure binaries are uptodate when valgrinding/gdbing
11700         * gst/gst.c:
11701         * gst/gstelementfactory.c:
11702           remove a ref too many, and add a FIXME for when we get
11703           round to disposing of classes
11704         * gst/gstplugin.c:
11705           fix the refcounting when loading a plugin from a file and
11706           the code pretends that the pointer is the same even though
11707           of course it can change
11708         * gst/gstpluginfeature.c:
11709           unref plugins marked cached (a bit confusing as a name)
11710           as the docs state should be done
11711           various doc additions to explain refcounting
11712         * gst/gstregistry.c:
11713         * gst/gstregistryxml.c:
11714           debugging
11715
11716 2005-09-19  Wim Taymans  <wim@fluendo.com>
11717
11718         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
11719         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11720         (send_messages), (GST_START_TEST), (gstbus_suite):
11721         * check/gst/gstpipeline.c: (GST_START_TEST):
11722         * check/pipelines/cleanup.c: (run_pipeline):
11723         * check/pipelines/simple_launch_lines.c: (run_pipeline),
11724         (GST_START_TEST):
11725         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
11726         (gst_bus_source_check), (gst_bus_source_dispatch),
11727         (gst_bus_create_watch), (gst_bus_add_watch_full),
11728         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
11729         * gst/gstbus.h:
11730         * tools/gst-launch.c: (event_loop):
11731         * tools/gst-md5sum.c: (event_loop):
11732         GstBusHandler -> GstBusFunc, return value has the same meaning as
11733         any other GSource (FALSE == remove source).
11734         _add_watch() and _add_watch_full() now take a MessageType mask to
11735         only handle specific types of messages.
11736         _poll() returns the GstMessage instead of the message type to avoid
11737         race conditions.
11738         _have_pending() takes a MessageType mask now too.
11739         Added testsuite for multiple bus watches.
11740         Fix testsuites and applications for new bus API.
11741
11742 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
11743
11744         * check/Makefile.am:
11745           mark a bunch of the tests as to fix until we fix them
11746
11747 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11748
11749         * common/check.mak:
11750           use GST_PLUGIN settings for valgrind tests as well, so we're
11751           valgrinding the correct thing
11752         * gst/gst.c: (init_post):
11753           plug another leak
11754
11755 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11756
11757         * gst/gst.c: (init_post), (gst_deinit):
11758         * gst/gstelementfactory.c: (gst_element_factory_class_init),
11759         (gst_element_factory_finalize), (gst_element_factory_cleanup):
11760         * gst/gstindex.c: (gst_index_factory_class_init),
11761         (gst_index_factory_finalize):
11762         * gst/gstobject.c: (gst_object_dispose):
11763         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
11764         (gst_plugin_load_file), (gst_plugin_desc_free):
11765         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
11766         (gst_plugin_feature_finalize):
11767         * gst/gstregistry.c: (gst_registry_class_init),
11768         (gst_registry_init), (gst_registry_finalize),
11769         (gst_registry_get_default), (gst_registry_deinit):
11770         * gst/gstregistry.h:
11771         * gst/gstregistryxml.c: (load_feature), (load_plugin):
11772           various cleanups and memleak plugging.  make valgrind is happy now.
11773
11774 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
11775
11776         * common/check.mak:
11777           add a check-valgrind target
11778
11779 2005-09-18  David Schleef  <ds@schleef.org>
11780
11781         * tools/gst-inspect.c: Revert the GOption code.
11782
11783 2005-09-17  David Schleef  <ds@schleef.org>
11784
11785         * check/Makefile.am: Fix environment variables.
11786         * check/gst/gstplugin.c: Fix for API changes.
11787         * tools/gst-inspect.c: Fix for API changes.
11788         * tools/gst-xmlinspect.c: Fix for API changes.
11789         * gst/gstelementfactory.c:
11790         * gst/gstplugin.c:
11791         * gst/gstplugin.h:
11792         * gst/gstpluginfeature.c:
11793         * gst/gstpluginfeature.h:
11794         * gst/gstregistry.c:
11795         * gst/gstregistry.h:
11796         * gst/gstregistryxml.c:
11797         * gst/gsttypefind.c:
11798         * gst/gsttypefindfactory.c:
11799         * gst/indexers/gstfileindex.c:
11800         * gst/indexers/gstmemindex.c:
11801         * gst/schedulers/Makefile.am:
11802           Change registry to keep track of both plugins and features,
11803           removing the feature tracking from plugins themselves.
11804
11805 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11806
11807         * check/Makefile.am:
11808         * tools/gst-register.1.in:
11809           remove gst-register
11810
11811 2005-09-15  David Schleef  <ds@schleef.org>
11812
11813         * check/gst/gstplugin.c:
11814         * gst/gstelementfactory.c:
11815         * gst/gstplugin.c:
11816         * gst/gstpluginfeature.c:
11817         * gst/gstregistry.c:
11818           Getting tired of debugging.  Disabled all the unreffing of
11819           plugins and features, which fixes the segfaults, but of
11820           course leaks like crazy.  At least playbin works.
11821
11822 2005-09-15  David Schleef  <ds@schleef.org>
11823
11824         * check/gst/gstplugin.c: (register_check_elements),
11825         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
11826         More testing
11827         * gst/elements/gsttypefindelement.c: Fix refcounting.
11828         * gst/gsttypefind.c:
11829         * gst/gsttypefindfactory.c:
11830         * gst/gsttypefindfactory.h:
11831
11832 2005-09-15  David Schleef  <ds@schleef.org>
11833
11834         * gst/gstindex.c: get refcounting correct.
11835         * gst/gstregistry.c: Handle the case where a feature/plugin is
11836           not found.
11837
11838 2005-09-15  David Schleef  <ds@schleef.org>
11839
11840         * check/Makefile.am:
11841         * check/gst/gstplugin.c: Add test
11842         * gst/gstplugin.c: Fix problems noticed by testsuite
11843         * gst/gstplugin.h:
11844         * gst/gstregistry.c: 
11845         * gst/gstregistry.h:
11846
11847 2005-09-15  David Schleef  <ds@schleef.org>
11848
11849         * gst/gstplugin.c: Implement semi-decent recounting and locking
11850           in plugins and plugin features.
11851         * gst/gstplugin.h:
11852         * gst/gstpluginfeature.c:
11853         * gst/gstpluginfeature.h:
11854         * gst/gstregistry.c:
11855
11856 2005-09-15  Michael Smith <msmith@fluendo.com>
11857
11858         * gst/gstregistry.c: (gst_registry_get_feature_list):
11859           Implement this. Makes oggdemux work; decodebin still broken.
11860
11861 2005-09-14  David Schleef  <ds@schleef.org>
11862
11863         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11864           #316076)
11865         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11866         * gst/check/Makefile.am:
11867         * libs/gst/controller/Makefile.am:
11868         * libs/gst/dataprotocol/Makefile.am:
11869
11870 2005-09-14  David Schleef  <ds@schleef.org>
11871
11872         * configure.ac: Remove getbits library.  Nothing uses it, and
11873           it should be in something like liboil if someone did want
11874           to use it.
11875         * libs/gst/Makefile.am:
11876         * libs/gst/getbits/Makefile.am:
11877         * libs/gst/getbits/gbtest.c:
11878         * libs/gst/getbits/getbits.c:
11879         * libs/gst/getbits/getbits.h:
11880         * libs/gst/getbits/gstgetbits_generic.c:
11881         * libs/gst/getbits/gstgetbits_i386.s:
11882         * libs/gst/getbits/gstgetbits_inl.h:
11883
11884 2005-09-14  David Schleef  <ds@schleef.org>
11885
11886         * gst/Makefile.am: Dist glib-compat.h
11887
11888 2005-09-14  David Schleef  <ds@schleef.org>
11889
11890         * configure.ac: Remove gst/registries, since it's no longer used.
11891         * gst/registries/Makefile.am:
11892         * gst/registries/gstlibxmlregistry.c:
11893         * gst/registries/gstlibxmlregistry.h:
11894         * gst/registries/gstxmlregistry.c:
11895         * gst/registries/gstxmlregistry.h:
11896         * gst/registries/registrytest.c:
11897
11898 2005-09-14  David Schleef  <ds@schleef.org>
11899
11900         * gst/glib-compat.h:
11901         * gst/gstregistryxml.c:
11902           Convergence is near.  Seriously.
11903
11904 2005-09-14  David Schleef  <ds@schleef.org>
11905
11906         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11907         * gst/glib-compat.h:
11908           Attempt #4 to appease the buildbots.
11909
11910 2005-09-14  David Schleef  <ds@schleef.org>
11911
11912         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11913           Attempt #3.
11914
11915 2005-09-14  David Schleef  <ds@schleef.org>
11916
11917         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11918         Attempt #2.
11919
11920 2005-09-14  David Schleef  <ds@schleef.org>
11921
11922         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11923           the new functions.
11924
11925 2005-09-14  David Schleef  <ds@schleef.org>
11926
11927         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11928         * gst/glib-compat.h: Add some functions that are in newer versions
11929           of glib than we care to require.
11930         * gst/gstregistryxml.c: Use them.
11931
11932 2005-09-14  David Schleef  <ds@schleef.org>
11933
11934         * po/POTFILES.in: remove gst-register.c
11935
11936 2005-09-14  David Schleef  <ds@schleef.org>
11937
11938         * docs/gst/gstreamer-docs.sgml:
11939         * docs/gst/gstreamer-sections.txt:
11940         * docs/gst/gstreamer.types:
11941         * docs/gst/tmpl/gstelement.sgml:
11942         * docs/gst/tmpl/gstplugin.sgml:
11943         * docs/gst/tmpl/gstpluginfeature.sgml:
11944           Documentation updates for registry changes.
11945
11946 2005-09-14  David Schleef  <ds@schleef.org>
11947
11948         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11949           because we don't require glib-2.8.
11950
11951 2005-09-14  David Schleef  <ds@schleef.org>
11952
11953         * gst/gstregistryxml.c: Added.  Essentially moved out of the
11954           registries directory.
11955
11956 2005-09-14  David Schleef  <ds@schleef.org>
11957
11958         * check/Makefile.am:
11959         * check/generic/states.c:
11960         * gst/Makefile.am:
11961         * gst/gst.c:
11962         * gst/gst.h:
11963         * gst/gst_private.h:
11964         * gst/gstelementfactory.c:
11965         * gst/gstindex.c:
11966         * gst/gstinfo.c:
11967         * gst/gstplugin.c:
11968         * gst/gstplugin.h:
11969         * gst/gstpluginfeature.c:
11970         * gst/gstpluginfeature.h:
11971         * gst/gstregistry.c:
11972         * gst/gstregistry.h:
11973         * gst/gstregistrypool.c: remove
11974         * gst/gstregistrypool.h: remove
11975         * gst/gsttypefind.c:
11976         * gst/gsttypefindfactory.c:
11977         * gst/gsturi.c:
11978         * tools/Makefile.am:
11979         * tools/gst-compprep.c:
11980         * tools/gst-inspect.c:
11981         * tools/gst-register.c: remove
11982         * tools/gst-xmlinspect.c:
11983           Registry rewrite.  Changes registry from being a file created
11984           by a tool into a simple cache file created automatically by 
11985           libgstreamer.  Removed gst-register (because it's no longer
11986           needed).  Remove registry pools, because we only have one
11987           registry implementation (XML).  Fix up other subsystems as
11988           necessary.
11989
11990 2005-09-13  Michael Smith <msmith@fluendo.com>
11991
11992         * gst/gstconfig.h.in:
11993           Don't Use windows linking attributes for MinGW. Fixes #316157
11994
11995 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11996
11997         * gst/gstutils.c: (set_state_async_thread_func),
11998         (gst_element_set_state_async):
11999           Apparently people think it's better if this function doesn't
12000           try to set the state to whatever state was asked for on the first
12001           call to this function for any object.  Seriously.
12002
12003 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12004
12005         * check/gst/gstpipeline.c: (GST_START_TEST):
12006         * docs/gst/gstreamer-sections.txt:
12007         * gst/gstutils.c: (set_state_async_thread_func),
12008         (gst_element_set_state_async):
12009         * gst/gstutils.h:
12010           add a "gst_element_set_state_async" method that
12011           sets the state and starts a thread to make sure the state
12012           change completes as best as it can
12013
12014 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12015
12016         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12017           codify design+behaviour in testsuite after discussion
12018
12019 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12020
12021         * docs/gst/tmpl/gstelement.sgml:
12022         * docs/manual/appendix-quotes.xml:
12023           add a quote
12024         * gst/gstelement.c: (gst_element_set_state):
12025           add some debug
12026
12027 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
12028
12029         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12030         (gst_base_transform_prepare_output_buf),
12031         (gst_base_transform_handle_buffer):
12032         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12033         (gst_capsfilter_prepare_buf):
12034           Remove the requirement for sub-classes to call the parent
12035           implementation of prepare_output_buffer with a wrapper function.
12036           
12037         * gst/gsttaglist.h:
12038         * gst/gsttagsetter.h:
12039           Fix #define wrapper
12040
12041 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
12042
12043         * docs/gst/gstreamer-sections.txt:
12044           more doc cleanups
12045
12046 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12047
12048         * docs/gst/gstreamer-sections.txt:
12049         * docs/gst/tmpl/gstelement.sgml:
12050         * docs/gst/tmpl/gstplugin.sgml:
12051         * gst/gstminiobject.c:
12052         * gst/gstvalue.h:
12053           docs now stop throwing warnings
12054
12055 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12056
12057         * docs/gst/gstreamer-sections.txt:
12058         * docs/gst/gstreamer.types:
12059         * docs/gst/tmpl/gstpad.sgml:
12060         * docs/gst/tmpl/gsttypes.sgml:
12061         * gst/base/gstadapter.h:
12062         * gst/base/gstbasesink.h:
12063         * gst/base/gstbasesrc.h:
12064         * gst/gstbin.h:
12065         * gst/gstbuffer.h:
12066         * gst/gstbus.h:
12067         * gst/gstcaps.h:
12068         * gst/gstclock.h:
12069         * gst/gstelement.h:
12070         * gst/gstevent.h:
12071         * gst/gstmessage.h:
12072         * gst/gstpad.h:
12073         * gst/gststructure.c:
12074         * gst/registries/gstlibxmlregistry.h:
12075           various documentation fixes
12076
12077 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
12078
12079         * docs/gst/gstreamer-sections.txt:
12080         * docs/gst/tmpl/gstvalue.sgml:
12081           rearrange gstvalue section
12082         * gst/gstutils.c: (gst_element_state_get_name):
12083           NONE -> VOID
12084         * gst/gstvalue.c: (_gst_value_initialize):
12085         * gst/gstvalue.h:
12086           doc updates
12087
12088 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
12089
12090         * check/gst-libs/controller.c:
12091           Header include fix.
12092         * gst/base/gstbasetransform.c:
12093         (gst_base_transform_default_prepare_buf),
12094         (gst_base_transform_handle_buffer):
12095         * gst/base/gstbasetransform.h:
12096           Some more basetransform changes and fixes to enable sub-classes
12097           that modify buffer metadata only.
12098         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
12099         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
12100         (gst_capsfilter_prepare_buf):
12101           If the output pad has fixed allowed caps and input buffers 
12102           don't have any, set the fixed caps on outgoing buffers.
12103
12104 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
12105         * check/elements/identity.c: (GST_START_TEST):
12106           Make the error a little clearer when the test fails because
12107           identity made a copy of the buffer.
12108         * docs/gst/gstreamer-sections.txt:
12109           New symbols in gstbasetransform.h
12110         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12111         (gst_base_transform_init), (gst_base_transform_transform_size),
12112         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12113         (gst_base_transform_default_prepare_buf),
12114         (gst_base_transform_get_unit_size),
12115         (gst_base_transform_buffer_alloc),
12116         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
12117         (gst_base_transform_change_state),
12118         (gst_base_transform_set_passthrough),
12119         (gst_base_transform_set_in_place),
12120         (gst_base_transform_is_in_place):
12121         * gst/base/gstbasetransform.h:
12122           Change BaseTransform to separate in_place operate from same_caps
12123           output. in_place implies that the element can perform the transform
12124           on incoming buffers in-place, even if the caps on the output are
12125           different.
12126           Sub-class elements can now implement special buffer allocation
12127           methods for outgoing buffers if they wish to.
12128           Big documentation addition.
12129         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
12130         * gst/elements/gstelements.c:
12131           Changes for basetransform modifications.
12132         * gst/elements/Makefile.am:
12133         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
12134           Compile fix. Extra debug output.
12135
12136 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12137
12138         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
12139         (gst_pad_suite):
12140           add tests for valid pad naming
12141         * gst/check/gstcheck.c: (gst_check_log_message_func),
12142         (gst_check_log_critical_func):
12143           add ASSERT_WARNING
12144           remove printing of code, it is fragile when the code contains
12145           % and the line number is enough info
12146         * gst/check/gstcheck.h:
12147         * gst/gstpad.c: (gst_pad_template_new):
12148           fix memleaks
12149
12150 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12151
12152         * configure.ac:
12153           say what CHECK flags we use
12154         * docs/libs/gstreamer-libs.types:
12155         * libs/gst/controller/Makefile.am:
12156         * libs/gst/controller/gst-controller.c:
12157         * libs/gst/controller/gst-controller.h:
12158         * libs/gst/controller/gst-helper.c:
12159         * libs/gst/controller/gst-interpolation.c:
12160         * libs/gst/controller/gstcontroller.c:
12161         * libs/gst/controller/gsthelper.c:
12162         * libs/gst/controller/gstinterpolation.c:
12163         * tools/gst-inspect.c: (print_plugin_info):
12164           we don't use dashes in header names
12165
12166 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12167
12168         * check/Makefile.am:
12169         * check/gst/.cvsignore:
12170         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
12171         (gst_pipeline_suite), (main):
12172           adding a test for pipelines and state changes
12173         * gst/gstutils.c: (get_state_func):
12174           add some debugging
12175         * gstreamer.spec.in:
12176           fix up spec file
12177
12178 2005-09-08  Michael Smith <msmith@fluendo.com>
12179
12180         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
12181         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
12182         (gst_file_src_is_seekable), (gst_file_src_get_size),
12183         (gst_file_src_start):
12184         * gst/elements/gstfilesrc.h:
12185           Various fixes for unseekable, unmmapable, and non-normal files, so
12186           that fallback to read() rather than mmap() works.
12187         * gst/gstevent.c: (gst_event_new_newsegment):
12188           Allow newsegment events with segment_start == segment_end, as will
12189           correctly happen if you use filesrc on a zero-size file, for
12190           example.
12191
12192 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
12193
12194         * gst/gstplugin.c: (gst_plugin_load_file):
12195           Call g_module_close when we don't load the module
12196
12197         * gst/registries/gstlibxmlregistry.c:
12198         (gst_xml_registry_get_property):
12199           Port leak fix from 0.8
12200
12201 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12202
12203         * docs/gst/gstreamer-docs.sgml:
12204         * docs/gst/tmpl/.cvsignore:
12205         * docs/gst/tmpl/gsttrace.sgml:
12206         * docs/gst/tmpl/gsttrashstack.sgml:
12207         * gst/Makefile.am:
12208         * gst/gst.h:
12209         * gst/gstelement.h:
12210         * gst/gstevent.h:
12211         * gst/gstmessage.c:
12212         * gst/gstmessage.h:
12213         * gst/gsttag.c:
12214         * gst/gsttag.h:
12215         * gst/gsttaginterface.c:
12216         * gst/gsttaginterface.h:
12217         * gst/gsttaglist.c:
12218         * gst/gsttaglist.h:
12219         * gst/gsttagsetter.c:
12220         * gst/gsttagsetter.h:
12221         * gst/gsttrace.c:
12222         * gst/gsttrace.h:
12223         * gst/gsttrashstack.c:
12224           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
12225           inlined docs for gsttrace, gsttrashstack
12226
12227 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12228
12229         * gst/Makefile.am:
12230         * gst/elements/gstbufferstore.h:
12231         * gst/elements/gsttypefindelement.c:
12232         * gst/elements/gsttypefindelement.h:
12233         * gst/gst.h:
12234         * gst/gsttypefind.c:
12235         * gst/gsttypefind.h:
12236         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
12237         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
12238         (gst_type_find_factory_dispose),
12239         (gst_type_find_factory_unload_thyself),
12240         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
12241         (gst_type_find_factory_get_caps),
12242         (gst_type_find_factory_get_extensions),
12243         (gst_type_find_factory_call_function):
12244         * gst/gsttypefindfactory.h:
12245         * gst/registries/gstlibxmlregistry.c:
12246         * gst/registries/gstxmlregistry.c:
12247           splitted gsttypefind into gsttypefind, gsttypefindfactory
12248
12249 2005-09-07  Andy Wingo  <wingo@pobox.com>
12250
12251         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
12252         condition whereby the pad's task function is entered before the
12253         pad_mode variable was set.
12254
12255 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
12256
12257         * gst/gstpad.c: (gst_pad_alloc_buffer):
12258           Catch misbehaving pad_alloc functions that don't
12259           set up caps and do it for them.
12260
12261 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
12262
12263         * check/pipelines/simple_launch_lines.c: (run_pipeline):
12264           test for pipe!=NULL
12265         * docs/gst/tmpl/.cvsignore:
12266         * docs/gst/tmpl/gstmemchunk.sgml:
12267         * docs/gst/tmpl/gstparse.sgml:
12268         * docs/gst/tmpl/gsttaglist.sgml:
12269         * docs/gst/tmpl/gsttagsetter.sgml:
12270         * docs/gst/tmpl/gsttypefind.sgml:
12271         * docs/gst/tmpl/gsttypefindfactory.sgml:
12272         * gst/gstmemchunk.c:
12273         * gst/gstparse.c:
12274         * gst/gsttag.c:
12275         * gst/gsttaginterface.c:
12276         * gst/gsttypefind.c:
12277         * gst/gsttypefind.h:
12278           inlined more docs
12279
12280 === release 0.9.2 ===
12281
12282 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12283
12284         * NEWS:
12285         * RELEASE:
12286         * configure.ac:
12287           releasing 0.9.2, "South"
12288
12289 2005-09-05  Andy Wingo  <wingo@pobox.com>
12290
12291         * gst/registries/gstxmlregistry.h:
12292         * gst/registries/gstxmlregistry.c: Um... resurrect...
12293         
12294         * gst/registries/gstxmlregistry.h:
12295         * gst/registries/gstxmlregistry.c: and update to newer API.
12296         Incidentally they should be a bit faster now that they don't have
12297         to parse the caps.
12298         
12299 2005-09-05  Andy Wingo  <wingo@pobox.com>
12300
12301         * gst/registries/gstxmlregistry.h:
12302         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
12303         replaced by the libxml registry a while back
12304
12305 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12306
12307         * docs/gst/tmpl/gstplugin.sgml:
12308         * gst/elements/gstelements.c:
12309         * gst/gst.c:
12310         * gst/gstplugin.c: (gst_plugin_register_func),
12311         (gst_plugin_desc_copy), (gst_plugin_desc_free),
12312         (gst_plugin_get_source):
12313         * gst/gstplugin.h:
12314         * gst/registries/gstlibxmlregistry.c: (load_plugin),
12315         (gst_xml_registry_save_plugin):
12316         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
12317         (gst_xml_registry_save_plugin):
12318         * tools/gst-inspect.c: (print_plugin_info):
12319           add a "source" plugin description field, to represent the source
12320           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
12321           will set it to PACKAGE, which is automake's idea of the name of
12322           the source project.
12323
12324 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12325
12326         * Makefile.am:
12327         * autogen.sh:
12328         * configure.ac:
12329         * docs/Makefile.am:
12330         * docs/faq/Makefile.am:
12331         * docs/gst/tmpl/gstelement.sgml:
12332         * docs/gst/tmpl/gsttypes.sgml:
12333         * docs/htmlinstall.mak:
12334         * docs/manual/Makefile.am:
12335         * docs/pwg/Makefile.am:
12336           reorganize doc build a little
12337           split out docbook and gtk-doc stuff
12338           have two separate --enable's and enable them through autogen
12339           but disable by default in configure (to be similar to other
12340           projects)
12341         * gstreamer.spec.in:
12342           clean up docs install
12343         * po/af.po:
12344         * po/az.po:
12345         * po/ca.po:
12346         * po/cs.po:
12347         * po/de.po:
12348         * po/en_GB.po:
12349         * po/fr.po:
12350         * po/it.po:
12351         * po/nb.po:
12352         * po/nl.po:
12353         * po/ru.po:
12354         * po/sq.po:
12355         * po/sr.po:
12356         * po/sv.po:
12357         * po/tr.po:
12358         * po/uk.po:
12359         * po/vi.po:
12360           translation updates
12361
12362 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
12363
12364         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
12365           Add comment.
12366           
12367         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12368         (gst_fake_sink_change_state):
12369           Make state change function thread-safe.
12370           
12371         * gst/gstpad.c: (gst_pad_alloc_buffer):
12372           Set offset on generic buffer allocated by fallback.
12373
12374 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
12375
12376         * docs/gst/gstreamer-sections.txt:
12377         * docs/gst/tmpl/gstelement.sgml:
12378         * gst/gstpad.c:
12379         * libs/gst/controller/gst-controller.c:
12380         (gst_controlled_property_set_interpolation_mode),
12381         (gst_controlled_property_new),
12382         (gst_controller_find_controlled_property):
12383          run the wingo-magic script against the docs
12384
12385 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
12386
12387         * docs/gst/gstreamer-docs.sgml:
12388         * docs/gst/gstreamer-sections.txt:
12389         * docs/gst/tmpl/.cvsignore:
12390         * docs/gst/tmpl/gstelementdetails.sgml:
12391         * docs/gst/tmpl/gstelementfactory.sgml:
12392         * gst/gst.c:
12393         * gst/gstbus.c:
12394         * gst/gstelementfactory.c:
12395         * gst/gstelementfactory.h:
12396           merged elementdetails docs into elementfactory docs
12397           inlined both
12398
12399 2005-09-02  Andy Wingo  <wingo@pobox.com>
12400
12401         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
12402         consider this enum an enum and not a flags.
12403
12404 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
12405
12406         * docs/gst/gstreamer-docs.sgml:
12407         * docs/gst/tmpl/.cvsignore:
12408         * docs/gst/tmpl/gstghostpad.sgml:
12409         * docs/gst/tmpl/gstiterator.sgml:
12410         * docs/gst/tmpl/gstmacros.sgml:
12411         * docs/gst/tmpl/gstrealpad.sgml:
12412         * docs/gst/tmpl/gstregistry.sgml:
12413         * docs/gst/tmpl/gstregistrypool.sgml:
12414         * docs/gst/tmpl/gststructure.sgml:
12415         * docs/gst/tmpl/gstsystemclock.sgml:
12416         * docs/gst/tmpl/gsttrace.sgml:
12417         * gst/gstghostpad.c:
12418         * gst/gstmacros.h:
12419         * gst/gstmemchunk.c:
12420         * gst/gstmemchunk.h:
12421         * gst/gstqueue.c:
12422         * gst/gstregistry.c:
12423         * gst/gstregistrypool.c:
12424         * gst/gststructure.c:
12425         * gst/gstsystemclock.c:
12426           more docs inlined
12427
12428 2005-09-02  Andy Wingo  <wingo@pobox.com>
12429
12430         * gst/gstelement.h (GstState): Renamed from GstElementState,
12431         changed to be a normal enum instead of flags.
12432         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
12433         munged to be GST_STATE_CHANGE_*.
12434         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
12435         work with the new state representation.
12436         (GstStateChange): New enumeration of possible state transitions.
12437         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
12438         (GstElementClass::change_state): Pass the GstStateChange along as
12439         an argument. Helps language bindings, so they don't have to use
12440         tricky lock-needing macros like GST_STATE_CHANGE ().
12441
12442         * scripts/update-states (file): New script. Run it on a file to
12443         update it for state naming and API changes. Updates files in
12444         place.
12445
12446         * All files updated for the new API.
12447
12448 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12449
12450         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
12451         * gst/gstutils.c: (gst_util_set_value_from_string),
12452         (gst_util_set_object_arg):
12453           fix a bunch of unchecked return values
12454         * tools/gst-complete.c: (main):
12455         * gstreamer.spec.in:
12456           clean up a little
12457
12458 2005-09-01  Wim Taymans  <wim@fluendo.com>
12459
12460         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12461         (gst_base_sink_event), (gst_base_sink_do_sync),
12462         (gst_base_sink_handle_event):
12463         * gst/base/gstbasesink.h:
12464         Handle newsegments more correctly.
12465
12466         * gst/gstbus.c:
12467         Fix docs.
12468
12469         * gst/gstevent.c: (gst_event_new_newsegment):
12470         A newsegment cannot have a start_time of -1
12471
12472 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
12473
12474         * win32/gstenumtypes.c:
12475         * win32/gstenumtypes.h:
12476           Update
12477
12478 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12479
12480         * libs/gst/controller/gst-controller.c:
12481         (gst_controlled_property_set_interpolation_mode),
12482         (gst_controlled_property_new):
12483          fixed boolean again
12484
12485 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12486
12487         * docs/faq/gst-uninstalled:
12488           add -good
12489         * gst/gstevent.c:
12490         * gst/gstevent.h:
12491           remove wrong docs
12492         * gst/gstutils.c: (gst_element_link_filtered):
12493         * gst/gstutils.h:
12494           add gst_element_link_filtered
12495
12496 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12497
12498         * docs/gst/gstreamer-docs.sgml:
12499         * docs/gst/gstreamer-sections.txt:
12500         * docs/gst/tmpl/.cvsignore:
12501         * docs/gst/tmpl/gsterror.sgml:
12502         * docs/gst/tmpl/gstfilter.sgml:
12503         * docs/gst/tmpl/gsturihandler.sgml:
12504         * docs/gst/tmpl/gsturitype.sgml:
12505         * docs/gst/tmpl/gstutils.sgml:
12506         * docs/gst/tmpl/gstxml.sgml:
12507         * gst/gsterror.c:
12508         * gst/gsterror.h:
12509         * gst/gstfilter.c:
12510         * gst/gsturi.c:
12511         * gst/gsturitype.c:
12512         * gst/gstutils.c:
12513         * gst/gstxml.c:
12514           inlined more docs, fixed double id-ref
12515
12516 2005-08-31  Wim Taymans  <wim@fluendo.com>
12517
12518         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12519         (gst_base_transform_handle_buffer):
12520         Passthrough elements don't need the caps as they don't care.
12521
12522 2005-08-31  Wim Taymans  <wim@fluendo.com>
12523
12524         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
12525         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
12526         Don't leak refcounts on buffers.
12527
12528 2005-08-31  Wim Taymans  <wim@fluendo.com>
12529
12530         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
12531         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12532         (gst_base_transform_chain), (gst_base_transform_change_state):
12533         * gst/base/gstbasetransform.h:
12534         Handle the case where we are not negotiated more gracefully.
12535
12536 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
12537
12538         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
12539         (gst_file_src_map_region):
12540           Set READONLY flag on mmap'ed buffers, otherwise
12541           gst_buffer_make_writable() won't work properly (#314708).
12542
12543 2005-08-31  Wim Taymans  <wim@fluendo.com>
12544
12545         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
12546         passthrough elements can even do inplace on non writable
12547         buffers (as they don't touch them).
12548
12549 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
12550
12551         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12552         (gst_test_mono_source_set_property),
12553         (gst_test_mono_source_class_init), (GST_START_TEST),
12554         (gst_controller_suite):
12555           more tests (hehe I have the most)
12556         * gst/gstbus.c:
12557           describe popping messages whenusing mulltiple sources
12558         * libs/gst/controller/gst-controller.c:
12559         (gst_controlled_property_set_interpolation_mode),
12560         (gst_controlled_property_new):
12561         * libs/gst/controller/gst-controller.h:
12562         * libs/gst/controller/gst-interpolation.c:
12563           implement boolean properties
12564
12565 2005-08-31  Wim Taymans  <wim@fluendo.com>
12566
12567         * gst/gstminiobject.c: (gst_mini_object_ref):
12568         Cannot assert that the refcount has to be positive
12569         since a disposed object can be resurrected.
12570
12571 2005-08-31  Wim Taymans  <wim@fluendo.com>
12572
12573         * gst/gstpad.c: (gst_pad_init):
12574         Revert change, need to first fix badly behaving 
12575         apps.
12576
12577 2005-08-30  Wim Taymans  <wim@fluendo.com>
12578
12579         * check/elements/fakesrc.c: (setup_fakesrc):
12580         * check/elements/identity.c: (setup_identity):
12581         Activate pads before using them.
12582
12583 2005-08-30  Wim Taymans  <wim@fluendo.com>
12584
12585         * gst/base/gstadapter.c: (gst_adapter_flush):
12586         Flushing out 0 bytes is ok for this function.
12587
12588         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12589         no newsegment gives a warning and sets the start/stop to 
12590         invalid.
12591
12592         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
12593         (gst_base_transform_set_passthrough):
12594         Some debug info.
12595
12596         * gst/gstminiobject.c: (gst_mini_object_ref):
12597         Check refcount here too.
12598
12599         * gst/gstpad.c: (gst_pad_init):
12600         Pads are initially flushing and refusing data.
12601
12602         * gst/gstutils.c: (gst_element_link_pads_filtered):
12603         When adding a capsfilter element make sure it has the
12604         same state as the parent bin.
12605
12606 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12607
12608         * docs/gst/tmpl/.cvsignore:
12609         * docs/gst/tmpl/gstformat.sgml:
12610         * docs/gst/tmpl/gstversion.sgml:
12611         * gst/gstbus.h:
12612         * gst/gstformat.c:
12613         * gst/gstformat.h:
12614         * gst/gstversion.h.in:
12615           more docs and two more inlined
12616
12617 2005-08-30  Wim Taymans  <wim@fluendo.com>
12618
12619         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
12620         Don't sync to clock.
12621
12622 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12623
12624         * docs/gst/gstreamer-sections.txt:
12625           ultral33t func10ns deserve to appear in the docs actually
12626         * docs/gst/tmpl/.cvsignore:
12627         * docs/gst/tmpl/gstcompat.sgml:
12628         * docs/gst/tmpl/gstconfig.sgml:
12629         * gst/check/gstcheck.c:
12630         * gst/gstcompat.h:
12631         * gst/gstconfig.h.in:
12632           inlined more docs
12633
12634 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12635
12636         * docs/gst/tmpl/.cvsignore:
12637         * docs/gst/tmpl/gstquery.sgml:
12638         * docs/gst/tmpl/gstutils.sgml:
12639         * gst/gstquery.c:
12640         * gst/gstquery.h:
12641           inlined and extended docs
12642
12643 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
12644
12645         * check/gst-libs/controller.c: (GST_START_TEST),
12646         (gst_controller_suite):
12647           more tests
12648         * docs/gst/tmpl/gstutils.sgml:
12649         * docs/libs/gstreamer-libs-sections.txt:
12650         * docs/libs/tmpl/gstdataprotocol.sgml:
12651           include path fixes
12652         * examples/controller/audio-example.c: (main):
12653           controller example works now
12654         * gst/gstclock.h:
12655           doc fixes
12656         * tools/gst-inspect.c: (print_element_properties_info):
12657           show param spec flags
12658
12659 2005-08-29  Andy Wingo  <wingo@pobox.com>
12660
12661         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
12662
12663 2005-08-28  Andy Wingo  <wingo@pobox.com>
12664
12665         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
12666         as having two arguments instead of just one. Allows superclasses
12667         to access information on subclasses -- see the terrible for() loop
12668         in gtype.c:g_type_create_instance for the reason why. All callers
12669         changed.
12670
12671 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12672
12673         * docs/design/part-messages.txt:
12674           update info
12675         * docs/gst/tmpl/.cvsignore:
12676         * docs/gst/tmpl/gstcaps.sgml:
12677         * docs/gst/tmpl/gstclock.sgml:
12678         * gst/gstbus.c:
12679         * gst/gstcaps.c:
12680         * gst/gstcaps.h:
12681         * gst/gstclock.c:
12682         * gst/gstclock.h:
12683         * gst/gstmessage.c:
12684           added descriptions for bus and message
12685           inline caps and clock docs
12686
12687 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12688
12689         * gst/gstmessage.c:
12690         * gst/gstmessage.h:
12691           doc fixes
12692
12693 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
12694
12695         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12696           fix div-by-zero
12697
12698 2005-08-26  Andy Wingo  <wingo@pobox.com>
12699
12700         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
12701         element_set_state's return val.
12702         (test_2_elements): Add test that's been disabled for months.
12703
12704         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
12705         can-activate-pull properties.
12706
12707         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
12708         can-activate-pull properties. Implement is_seekable so fakesrc can
12709         operate in pull mode.
12710
12711         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
12712         properties.
12713         (gst_base_sink_activate, gst_base_sink_activate_pull)
12714         (gst_base_sink_activate_push): Make activation mode choosing work.
12715         Cleanups.
12716         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
12717         is right. Make pull mode work. Post an eos before pausing in pull
12718         mode.
12719         (gst_base_sink_change_state): Pay attention to the core's
12720         change_state() return val.
12721         
12722         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
12723         has-getrange properties. Cleanups.
12724         
12725         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
12726         has_getrange and replace with can_activate_pull and
12727         can_activate_push.
12728
12729         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
12730         locking comments. Remove has_loop, has_chain and replace with
12731         can_activate_pull and can_activate_push.
12732
12733 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
12734
12735         * configure.ac:
12736         * examples/Makefile.am:
12737         * examples/metadata/Makefile.am:
12738         * examples/metadata/read-metadata.c: (message_loop),
12739         (have_pad_handler), (make_pipeline), (print_tag), (main):
12740           Add metadata reading example that loops over a list of filenames,
12741           dumping any tags found.
12742
12743         * gst/gstbus.c: (gst_bus_dispose):
12744         * gst/gstelement.c: (gst_element_dispose):
12745           Release a few potentially-held references in dispose.
12746
12747 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12748
12749         * docs/gst/tmpl/gstminiobject.sgml:
12750           do *not* add tmpl/*.sgml files to CVS!
12751
12752 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12753
12754         * libs/gst/bytestream/.cvsignore:
12755         * libs/gst/bytestream/Makefile.am:
12756         * libs/gst/bytestream/adapter.c:
12757         * libs/gst/bytestream/adapter.h:
12758         * libs/gst/bytestream/bytestream.c:
12759         * libs/gst/bytestream/bytestream.h:
12760         * libs/gst/bytestream/filepad.c:
12761         * libs/gst/bytestream/filepad.h:
12762           removing obsolete files
12763
12764 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12765
12766         * docs/gst/gstreamer-docs.sgml:
12767         * docs/libs/gstreamer-libs-docs.sgml:
12768           disabed additional index entries again, as this makes docs-gen just
12769           slow and they aren't useful yet
12770         * docs/libs/gstreamer-libs-sections.txt:
12771           little -section.txt cleanup for libs
12772
12773 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12774
12775         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12776         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
12777           fix up some debugging
12778         (gst_base_transform_get_unit_size),
12779         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
12780         (gst_base_transform_handle_buffer):
12781         * gst/base/gstbasetransform.h:
12782           handle and store timed NEWSEGMENT events so that subclasses that
12783           calculate time by counting samples have a segment_start time they
12784           need to add to their timestamps - see audioresample
12785
12786 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
12787
12788         * gst/gstbin.h:
12789           removed ';' from the end of macro defs
12790         * docs/gst/gstreamer-docs.sgml:
12791         * docs/gst/gstreamer-sections.txt:
12792         * docs/gst/tmpl/.cvsignore:
12793         * gst/gstbus.h:
12794         * gst/gstelement.c: (gst_element_class_init),
12795         (gst_element_set_state), (activate_pads),
12796         (gst_element_save_thyself):
12797         * gst/gstevent.c: (gst_event_new_newsegment):
12798         * gst/gstevent.h:
12799         * gst/gstiterator.c:
12800         * gst/gstiterator.h:
12801         * gst/gstpad.c:
12802         * gst/gstprobe.h:
12803         * gst/gstutils.c: (gst_pad_query_convert):
12804         * gst/gstutils.h:
12805           fixed parameter name mismatches between source, header and docs
12806           added some more docs, resolved the last batch of unused elements in
12807           docs (now someone needs to doc them)
12808
12809 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12810
12811         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
12812         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
12813           don't walk through the plugins backwards.  Where is all this
12814           reversed logic coming from ?
12815
12816 2005-08-25  Wim Taymans  <wim@fluendo.com>
12817
12818         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12819         (gst_base_transform_transform_size),
12820         (gst_base_transform_configure_caps),
12821         (gst_base_transform_get_unit_size),
12822         (gst_base_transform_buffer_alloc),
12823         (gst_base_transform_change_state):
12824         * gst/base/gstbasetransform.h:
12825         Cache caps unit_size.
12826         Make sure we cannot negotiate up and downstream at the
12827         same time.
12828
12829 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12830
12831         * gst/gst.c: (init_pre), (init_post):
12832           register the installed plugin path after the env var
12833         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
12834         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
12835           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
12836           directories, so the tests can prefer uninstalled over installed
12837
12838 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
12839
12840         * gst/base/gstbasetransform.h:
12841           comment
12842         * gst/gstpad.c:
12843           add to docs
12844
12845 2005-08-25  Wim Taymans  <wim@fluendo.com>
12846
12847         * gst/gstbin.c: (bin_bus_handler):
12848         Be a bit more conservative about the posted message.
12849         
12850         * gst/gstbus.c: (gst_bus_post):
12851         Some cleanups, warn wrong return values.
12852
12853 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
12854
12855         * check/gst/gstbin.c: (GST_START_TEST):
12856         * gst/gstbin.c: (bin_bus_handler):
12857         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12858         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12859         (gst_message_new_warning), (gst_message_new_tag),
12860         (gst_message_new_state_changed), (gst_message_new_segment_start),
12861         (gst_message_new_segment_done), (gst_message_new_custom):
12862         * gst/gstmessage.h:
12863         * tools/gst-launch.c: (event_loop):
12864         * tools/gst-md5sum.c: (event_loop):
12865           Revert unpopular change for GST_MESSAGE_SRC to GObject.
12866
12867 2005-08-25  Wim Taymans  <wim@fluendo.com>
12868
12869         * check/generic/states.c: (GST_START_TEST):
12870         Cleanup can be done at the end.
12871
12872         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12873         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12874         (gst_task_get_state), (gst_task_start), (gst_task_pause):
12875         Oh boy.. Thanks for finding this, Thomas. 
12876
12877 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12878
12879         * docs/gst/gstreamer.types:
12880           added missing types
12881
12882 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12883
12884         * docs/gst/gstreamer-docs.sgml:
12885         * docs/gst/gstreamer-sections.txt:
12886         * docs/gst/tmpl/.cvsignore:
12887         * gst/gstbin.c:
12888         * gst/gstiterator.c:
12889         * gst/gstutils.c:
12890         * gst/registries/gstxmlregistry.h:
12891           added missing classes and symbols (123 more to go)
12892           removed removed symbols from section file
12893           fixed many doc-comments
12894
12895 2005-08-24  Wim Taymans  <wim@fluendo.com>
12896
12897         * check/generic/states.c: (GST_START_TEST):
12898         Make sure all tasks are stopped.
12899
12900         * check/gst/gstbin.c: (GST_START_TEST):
12901         Unref after usage for proper valgrinding.
12902
12903         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12904         Really wait for the task to stop before destroying the
12905         mutex.
12906
12907         * gst/gstqueue.c: (gst_queue_sink_activate_push),
12908         (gst_queue_src_activate_push):
12909         Small cleanups. Don't stop the task when we did not start
12910         it.
12911
12912         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12913         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12914         (gst_task_get_state), (gst_task_start), (gst_task_pause),
12915         (gst_task_join):
12916         * gst/gsttask.h:
12917         Protect the stream lock with the object lock.
12918         Disallow setting the stream lock when running.
12919         Add cleanup_all to wait for the threadpool to finish.
12920         Remove code to autoallocate a mutex if none was provided.
12921         Add _join() to wait for a task to stop.
12922         Protect the thread pool with a global lock.
12923
12924 2005-08-24  Wim Taymans  <wim@fluendo.com>
12925
12926         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12927         (gst_base_sink_get_times), (gst_base_sink_do_sync),
12928         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12929         * gst/base/gstbasesink.h:
12930         Handle newsegment events correctly.
12931         Drop buffers out of the segment range.
12932
12933 2005-08-22  Andy Wingo  <wingo@pobox.com>
12934
12935         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12936         macro, implements an interface and gstimplementsinterface for a
12937         new type.
12938
12939 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12940
12941         * check/Makefile.am:
12942         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12943           add a test that does a bunch of state changes on elements
12944           needs some fixing for valgrind
12945         * check/states/sinks.c: (gst_object_suite):
12946           whitespace
12947         * gst/gstcaps.h:
12948           add prototype for gst_caps_is_equal_fixed
12949         * gst/gstplugin.c:
12950         * gst/gstregistrypool.c:
12951           doc fixes
12952
12953 2005-08-24  Andy Wingo  <wingo@pobox.com>
12954
12955         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12956         convert a negative value. Doesn't make much sense. Mostly this is
12957         here to force callers to ensure -1 maps to -1.
12958
12959 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12960
12961         * docs/pwg/advanced-types.xml:
12962           Well done to Michael for catching my deliberate introduction
12963           of this spelling mistake. 
12964         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12965         * gst/gstelement.h:
12966           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12967           unlink pads before removing the element from the bin.
12968
12969 2005-08-24  Andy Wingo  <wingo@pobox.com>
12970
12971         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12972         the same thing as GST_DEBUG=*:4.
12973         (parse_debug_level, parse_debug_category): New helper parsers.
12974
12975 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12976
12977         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12978         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12979         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12980         (gst_base_transform_buffer_alloc),
12981         (gst_base_transform_handle_buffer):
12982           use gboolean return values and pointers to size so we can use the
12983           full GST_BUFFER_SIZE range (guint) for buffer sizes
12984           use GstPadDirection for transform_caps
12985         * gst/base/gstbasetransform.h:
12986           rename get_size to get_unit_size since that's what it is
12987         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12988           use GstPadDirection for transform_caps
12989         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12990         * gst/gstutils.h:
12991           cleanup and debugging
12992
12993 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12994
12995         * gst/gstelement.c: (gst_element_class_init),
12996         (gst_element_set_state), (activate_pads),
12997         (gst_element_save_thyself):
12998         * tools/gst-compprep.c: (main):
12999         * tools/gst-inspect.c: (print_element_properties_info):
13000         * tools/gst-xmlinspect.c: (print_element_properties):
13001           Fixed long standing mem-leak
13002
13003 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
13004
13005         * check/gst/gstbin.c: (GST_START_TEST):
13006         * gst/gstbin.c: (bin_bus_handler):
13007         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13008         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13009         (gst_message_new_warning), (gst_message_new_tag),
13010         (gst_message_new_state_changed), (gst_message_new_segment_start),
13011         (gst_message_new_segment_done), (gst_message_new_custom):
13012         * gst/gstmessage.h:
13013         * tools/gst-launch.c: (event_loop):
13014         * tools/gst-md5sum.c: (event_loop):
13015           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13016           that applications can sensibly post custom messages with references
13017           to their own objects.
13018
13019 2005-08-24  Andy Wingo  <wingo@pobox.com>
13020
13021         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13022         already.
13023
13024 2005-08-24  Wim Taymans  <wim@fluendo.com>
13025
13026         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13027         (gst_base_transform_transform_caps),
13028         (gst_base_transform_transform_size),
13029         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13030         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13031         (gst_base_transform_handle_buffer):
13032         * gst/base/gstbasetransform.h:
13033         Many fixes and new features added by Thomas. Can now also do
13034         transforms with variable sizes and a custom fixate_caps function.
13035
13036 2005-08-24  Wim Taymans  <wim@fluendo.com>
13037
13038         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13039         Some debugging.
13040
13041         * gst/gstclock.h:
13042         Cast to ClockTime before formatting to time.
13043
13044         * gst/gstutils.h:
13045         Cleanups.
13046
13047 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
13048
13049         * check/gst-libs/controller.c: (GST_START_TEST),
13050         (gst_controller_suite):
13051         * docs/gst/tmpl/gstcaps.sgml:
13052         * docs/gst/tmpl/gstghostpad.sgml:
13053         * docs/gst/tmpl/gstquery.sgml:
13054         * docs/gst/tmpl/gstutils.sgml:
13055         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13056         (gst_object_sink_values), (gst_object_get_value_arrays),
13057         (gst_object_get_value_array):
13058           gracefully handle helper method calls to objects that are not beeing
13059           controlled, added test case for that          
13060
13061 2005-08-23  Wim Taymans  <wim@fluendo.com>
13062
13063         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13064         (gst_event_new_newsegment), (gst_event_parse_newsegment),
13065         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13066         (gst_event_parse_qos), (gst_event_new_seek),
13067         (gst_event_parse_seek):
13068         * gst/gstevent.h:
13069         Some more debugging output and doc cleanups.
13070
13071         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13072         Fix possible deadlock.
13073
13074 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13075
13076         * docs/gst/gstreamer-docs.sgml:
13077         * docs/gst/gstreamer-sections.txt:
13078         * docs/gst/gstreamer.types:
13079         * docs/gst/tmpl/.cvsignore:
13080         * gst/gstbin.h:
13081         * gst/gstbus.c:
13082         * gst/gstelement.c:
13083         * gst/gstevent.h:
13084           added 100 symbols from gstreamer-unused.txt to the right sections
13085           fixed more broken comments
13086           added GstBus to docs
13087
13088 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13089
13090         * docs/gst/gstreamer-sections.txt:
13091         * docs/gst/tmpl/.cvsignore:
13092         * docs/gst/tmpl/gstbin.sgml:
13093         * docs/gst/tmpl/gstbuffer.sgml:
13094         * gst/base/gstbasesrc.c:
13095         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
13096         * gst/gstbuffer.c:
13097         * gst/gstbuffer.h:
13098         * tools/gst-launch.1.in:
13099           inlined more doc comments, added missing comments and fixed comments
13100           fixed typos
13101
13102 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
13103
13104         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13105           some debugging
13106         * gst/gstcaps.h:
13107           whitespace fixes
13108         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
13109           more debugging
13110         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
13111         * gst/gststructure.h:
13112           add a fixate function for booleans; add a FIXME that these func
13113           names should probably be gst_structure_fixate_*
13114
13115 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
13116
13117         * docs/gst/gstreamer-docs.sgml:
13118         * docs/gst/gstreamer-sections.txt:
13119         * gst/Makefile.am:
13120         * gst/gstbin.c: (gst_bin_get_type),
13121         (gst_bin_child_proxy_get_child_by_index),
13122         (gst_bin_child_proxy_get_children_count),
13123         (gst_bin_child_proxy_init):
13124         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
13125         (gst_child_proxy_get_child_by_index),
13126         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
13127         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
13128         (gst_child_proxy_get), (gst_child_proxy_set_property),
13129         (gst_child_proxy_set_valist), (gst_child_proxy_set),
13130         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
13131         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
13132         * gst/gstchildproxy.h:
13133         * gst/parse/grammar.y:
13134         * tools/gst-inspect.c: (print_interfaces),
13135         (print_element_properties_info), (print_element_info):
13136           ported gstchildproxy over from 0.8
13137           ported gst-inspect fixes and enhancements over from 0.8
13138
13139 2005-08-22  Wim Taymans  <wim@fluendo.com>
13140
13141         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13142         (gst_base_transform_handle_buffer):
13143         Also call the transform function if we have ANY caps.
13144
13145         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
13146         Fix debug info.
13147
13148 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
13149
13150         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
13151           Don't pretend to handle seek events if the source is not seekable
13152
13153 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
13154
13155         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13156           Remove extra parameter to debug output
13157
13158         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13159         (gst_base_src_do_seek), (gst_base_src_activate_push):
13160           Fix seek event handling.
13161
13162         * gst/gstpipeline.c: (gst_pipeline_change_state):
13163         * gst/gstqueue.c: (gst_queue_handle_sink_event),
13164         (gst_queue_src_activate_push):
13165           Don't start the src pad task on FLUSH_STOP if the pad
13166           isn't linked.
13167           Debug changes.
13168
13169 2005-08-22  Wim Taymans  <wim@fluendo.com>
13170
13171         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
13172         Added check for gst_static_caps_get() refcounting.
13173
13174 2005-08-22  Wim Taymans  <wim@fluendo.com>
13175
13176         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
13177         Make _static_caps_get() refcounting sane.
13178         
13179         * gst/gstelement.c: (gst_element_set_state):
13180         Add g_return_val_if_fail() to protect against segfaults.
13181
13182 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
13183
13184         * docs/gst/tmpl/gstevent.sgml:
13185         * gst/gstevent.c:
13186         * gst/gstevent.h:
13187           inlined remaining docs, added missing doc comments
13188
13189 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13190
13191         * check/gst/gstbin.c: (GST_START_TEST):
13192           since we don't know when preroll is done, use refcount range
13193           check for the sink
13194         * gst/check/gstcheck.h:
13195           add macro for checking refcount range
13196
13197 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13198
13199         * check/Makefile.am:
13200           clean up environment for when registry gets built versus
13201           when actual tests are run; valgrind seems to not report
13202           leaks if GST_PLUGIN_PATH is set to some specific values
13203         * check/gst/gstbin.c: (GST_START_TEST):
13204           add more refcounting checks; maybe this exposes a
13205           preroll lock bug ?
13206         * common/check.mak:
13207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13208         * gst/check/gstcheck.h:
13209         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
13210         (gst_bin_change_state):
13211         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
13212           add/fix debugging/whitespace
13213
13214 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
13215
13216         * check/gst/gstevent.c: (event_probe), (test_event),
13217         (GST_START_TEST):
13218          Er, don't call gst_bin_watch_for_state_change you idiot.
13219
13220 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
13221
13222         * check/Makefile.am:
13223           Use CHECK_CFLAGS and CHECK_LIBS
13224         * check/gst/gstevent.c: (event_probe), (test_event),
13225         (GST_START_TEST):
13226           Don't leak events.
13227         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13228         (gst_base_src_start), (gst_base_src_stop),
13229         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13230         (gst_base_src_change_state):
13231           Sprinkle gst_base_src_stop liberally around error paths to fix
13232           problems reusing a source after failed state changes.
13233         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13234         (helper_find_suggest), (gst_type_find_helper):
13235           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
13236         * gst/gstevent.h:
13237         * docs/gst/tmpl/gstevent.sgml:
13238           Migrate part of the docs from the SGML file. Wait for ensonic to
13239           tell me how I did it wrong ;)
13240         * tools/gst-typefind.c: (main):
13241           Extra robustness to state changes between files.
13242
13243 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13244
13245         * check/Makefile.am:
13246           don't valgrind the controller test - it's leaking - Stefan, HELP
13247         * gst/check/gstcheck.c: (gst_check_message_error),
13248         (gst_check_chain_func), (gst_check_setup_element),
13249         (gst_check_teardown_element), (gst_check_setup_src_pad),
13250         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
13251         (gst_check_teardown_sink_pad):
13252         * gst/check/gstcheck.h:
13253           add a bunch of methods to set up elements, and src and sink pads
13254         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
13255         * check/elements/identity.c: (setup_identity), (cleanup_identity),
13256         (GST_START_TEST):
13257           use them
13258         * gst/gstmessage.c:
13259         * gst/gsttag.h:
13260           whitespace/doc fixes
13261
13262 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * gst/gstelement.h:
13265           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
13266           be handled by the application and not always printed as well
13267
13268 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13269
13270         * check/Makefile.am:
13271           set GST_TOOLS_DIR
13272         * gst/check/gstcheck.c: (gst_check_message_error):
13273         * gst/check/gstcheck.h:
13274           add a fail_unless_equals_int
13275           add fail_unless for error messages
13276
13277 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13278
13279         * check/Makefile.am:
13280         * check/gst.supp:
13281         * common/Makefile.am:
13282         * common/check.mak:
13283         * common/gst.supp:
13284           factor out some of the common stuff so we can use it
13285
13286 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13287
13288         * check/Makefile.am:
13289         * check/gst/gstiterator.c: (GST_START_TEST):
13290         * check/gst/gstsystemclock.c: (GST_START_TEST),
13291         (gst_systemclock_suite):
13292         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
13293         * gst/gstclock.c:
13294           valgrind more tests
13295
13296 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13297
13298         * check/elements/.cvsignore:
13299         * check/elements/gstfakesrc.c:
13300           rename to name of element
13301         * check/elements/identity.c: (chain_func), (event_func),
13302         (setup_identity), (cleanup_identity), (GST_START_TEST),
13303         (identity_suite), (main):
13304           add a test for identity
13305         * check/Makefile.am:
13306         * pkgconfig/Makefile.am:
13307         * pkgconfig/gstreamer-check.pc.in:
13308         * pkgconfig/gstreamer-check-uninstalled.pc.in:
13309         * gst/check:
13310         * gst/Makefile.am:
13311         * configure.ac:
13312           move the check stuff to a library that gets installed
13313         * check/gst-libs/controller.c: (GST_START_TEST):
13314         * check/gst-libs/gdp.c:
13315         * check/gst/gst.c: (GST_START_TEST):
13316         * check/gst/gstbin.c:
13317         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13318         * check/gst/gstbus.c:
13319         * check/gst/gstcaps.c: (GST_START_TEST):
13320         * check/gst/gstelement.c:
13321         * check/gst/gstghostpad.c:
13322         * check/gst/gstiterator.c:
13323         * check/gst/gstmessage.c:
13324         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
13325         * check/gst/gstobject.c:
13326         * check/gst/gstpad.c: (GST_START_TEST):
13327         * check/gst/gststructure.c: (GST_START_TEST):
13328         * check/gst/gstsystemclock.c: (GST_START_TEST),
13329         (gst_systemclock_suite):
13330         * check/gst/gsttag.c: (gst_tag_suite):
13331         * check/gst/gstvalue.c:
13332         * check/pipelines/cleanup.c:
13333         * check/pipelines/simple_launch_lines.c:
13334         * check/states/sinks.c:
13335           change include statement
13336
13337         * docs/gst/gstreamer-sections.txt:
13338         * docs/gst/tmpl/gstpad.sgml:
13339           document more pad stuff
13340         * gst/gstminiobject.c: (gst_mini_object_ref),
13341         (gst_mini_object_unref):
13342           debug refcounting
13343
13344 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
13345
13346         * docs/gst/tmpl/gst.sgml:
13347         * gst/gst.c:
13348           eliminate another tmpl file, fix spelling in the long-description
13349
13350 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13351
13352         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13353         (test_event), (timediff), (gstevents_suite):
13354           Should fix build on 64-bit arch's
13355
13356 2005-08-18  Andy Wingo  <wingo@pobox.com>
13357
13358         Make sure that when a pipeline goes to PLAYING, that data has
13359         actually hit the sink.
13360
13361         * check/states/sinks.c (test_sink): A sink that doesn't get any
13362         data shouldn't return SUCCESS for going to either PLAYING or
13363         PAUSED. Test also the return values on the way back down.
13364
13365         * gst/gstelement.c (gst_element_set_state): When changing the
13366         state of an element currently changing state asynchronously, go to
13367         lost-state after commiting the pending state. Makes future calls
13368         to get_state continue to return ASYNC.
13369
13370         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
13371         ASYNC when going to PLAYING if we still don't have preroll, as can
13372         happen with live sources.
13373
13374 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13375
13376         * docs/pwg/advanced-types.xml:
13377           Hack long paragraph into 2 chunks as a workaround for buggy
13378           jadetex version in sid and breezy that loops infinitely and
13379           eats all RAM.
13380
13381 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13382
13383         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13384         (test_event), (timediff), (gstevents_suite):
13385           Provide more error margin in clock measurements to allow for 
13386           g_get_current_time inaccuracies.
13387
13388 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13389
13390         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13391         (test_event), (timediff), (gstevents_suite):
13392            Fix error message output so I might be able to tell why the
13393            test works here but fails on the build farm.
13394
13395 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
13396
13397         * check/Makefile.am:
13398         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
13399         (test_event), (timediff), (gstevents_suite), (main):
13400           I wrote a test!
13401
13402         * docs/design/part-seeking.txt:
13403           Spelling correction
13404
13405         * docs/gst/tmpl/gstevent.sgml:
13406         * docs/gst/tmpl/gstfakesrc.sgml:
13407           Docs updates.
13408
13409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13410           Treat a buffer-without-newsegment the same as a receiving 
13411           a newsegment not in time format, and disable syncing to the clock
13412           with a warning.
13413
13414         * gst/gstbus.c: (gst_bus_set_sync_handler):
13415           Assert if anyone tries to replace the existing sync_handler for bus, 
13416           as only the owner should be setting it.
13417
13418         * gst/gstevent.h:
13419           Have a fixed set of custom event enums with events identified by
13420           their structure name (as in 0.8), rather than a free-for-all
13421           allowing collisions between enum values from different plugins.
13422
13423         * gst/gstpad.c: (gst_pad_class_init):
13424           Docs change.
13425           
13426         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13427           Handle out-of-band downstream events from the sending thread.
13428
13429 2005-08-17  Andy Wingo  <wingo@pobox.com>
13430
13431         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
13432         play-timeout==0 to mean no timeout at all. In that case, don't
13433         bother with a get_state or a warning, just return directly, even
13434         if it's ASYNC.
13435
13436         * gst/base/gstbasetransform.c: Debug changes.
13437
13438         * gst/gstutils.h:
13439         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
13440         ensure bins post state change messages. A bit of a hack but I can't
13441         think of a way to avoid it.
13442
13443         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
13444
13445 2005-08-16  Andy Wingo  <wingo@pobox.com>
13446
13447         * gst/base/gstadapter.h:
13448         * gst/base/gstadapter.c (gst_adapter_take): New function, like
13449         peek() but you own the data. Not terribly efficient atm.
13450
13451 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13452
13453         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
13454         (gst_element_found_tags):
13455         * gst/gstutils.h:
13456           Add two utility functions for tag handling.
13457
13458 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13459
13460         * docs/manual/advanced-dataaccess.xml:
13461         * docs/manual/basics-helloworld.xml:
13462           Fix docs to use _bin_add() before _link(), which fixes the examples
13463           with recent core versions (reported by Madhan Raj M
13464           <raj_madan@rediffmail.com>, #313199).
13465
13466 2005-08-16  Wim Taymans  <wim@fluendo.com>
13467
13468         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13469         Added subtract checks.
13470
13471         * docs/design/part-events.txt:
13472         Some more docs about newsegment
13473
13474         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
13475         Fix FIXME
13476
13477         * gst/gstcaps.c: (gst_caps_to_string):
13478         Add comments, cleanups.
13479         
13480         * gst/gstelement.c: (gst_element_save_thyself):
13481         cleanups
13482         
13483         * gst/gstvalue.c: (gst_value_collect_int_range),
13484         (gst_string_unwrap), (gst_value_union_int_int_range),
13485         (gst_value_union_int_range_int_range),
13486         (gst_value_intersect_int_int_range),
13487         (gst_value_intersect_int_range_int_range),
13488         (gst_value_intersect_double_double_range),
13489         (gst_value_intersect_double_range_double_range),
13490         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
13491         (gst_value_subtract_int_range_int),
13492         (gst_value_subtract_double_range_double),
13493         (gst_value_subtract_double_range_double_range),
13494         (gst_value_subtract_from_list), (gst_value_subtract_list),
13495         (gst_value_can_compare), (gst_value_compare_fraction):
13496         Cleanups, add comments, remove unneeded asserts.
13497
13498 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13499
13500         * tools/gst-launch.c: (event_loop):
13501           don't convert NULL structures to strings
13502
13503 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
13504
13505         * docs/gst/gstreamer-sections.txt:
13506           made some defines private
13507         * docs/gst/tmpl/gstconfig.sgml:
13508         * docs/gst/tmpl/gstqueue.sgml:
13509         * docs/gst/tmpl/gsttaglist.sgml:
13510         * docs/gst/tmpl/gsttypes.sgml:
13511         * docs/gst/tmpl/gstutils.sgml:
13512         * docs/pwg/appendix-porting.xml:
13513         * gst/base/gstbasesink.h:
13514         * gst/base/gstbasesrc.c:
13515         * gst/base/gstbasesrc.h:
13516         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
13517         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
13518         * gst/gstelement.c: (gst_element_class_init):
13519         * gst/gstpad.c: (gst_pad_class_init):
13520         * gst/gstqueue.c: (gst_queue_class_init):
13521         * gst/gstxml.c: (gst_xml_class_init):
13522           documented all undocumented signal inline
13523         * libs/gst/controller/gst-controller.h:
13524           added padding
13525
13526 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13527
13528         * docs/pwg/appendix-porting.xml:
13529           Document _set_link_function -> _set_setcaps_function.
13530
13531 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
13532
13533         * check/Makefile.am:
13534           add a .check target for running the check
13535         * check/gst-libs/controller.c: (GST_START_TEST):
13536           cosmetic fixups
13537         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
13538           complete checks for gstbuffer; would be nice if I could get the
13539           gcov stuff to work so I can see if I actually completed gstbuffer.c
13540         * check/gstcheck.h:
13541           add ASSERT_BUFFER_REFCOUNT
13542
13543 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
13544
13545         * docs/gst/gstreamer-sections.txt:
13546         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13547         * gst/gsttag.h:
13548           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
13549           spew out a warning if a tag that is already registered
13550           is re-registered, unless it is re-registered with a 
13551           different type (#308438).
13552
13553 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
13554
13555         * docs/pwg/appendix-porting.xml:
13556         * docs/pwg/building-state.xml:
13557           Add some paragraphs about state changes in 0.9 to the PWG
13558           and the porting guide, in particular about the new meaning
13559           of GST_STATE_PAUSED and how to write state change functions
13560           with concurrent access by multiple threads in mind.
13561
13562 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
13563
13564         * docs/gst/gstreamer-docs.sgml:
13565         * docs/libs/gstreamer-libs-docs.sgml:
13566           added deprecation and since indexes
13567         * libs/gst/controller/gst-controller.c:
13568         * libs/gst/controller/gst-helper.c:
13569           added since tags
13570
13571
13572 2005-08-11  Wim Taymans  <wim@fluendo.com>
13573
13574         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
13575         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
13576         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
13577         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
13578         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
13579         (gst_ghost_pad_set_target):
13580         Actually implement (re)setting the target on a ghostpad
13581         as described in the docs.
13582
13583 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13584
13585         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
13586           Check whether GST_DEBUG_NO_COLOR environment variable is
13587           set and disable coloured debug output if that is the case.
13588
13589 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
13590
13591         * gst/base/gsttypefindhelper.c: (helper_find_peek),
13592         (gst_type_find_helper):
13593           The memory returned by gst_type_find_peek() needs to
13594           stay valid until the end of a typefind function, and
13595           typefind functions may keep results from different 
13596           offsets around, so we can't just unref the buffer from
13597           the previous _peek(), but have to save all buffers 
13598           returned by _peek() until typefinding is done and only
13599           free them then.
13600
13601 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
13602
13603         * docs/gst/gstreamer-sections.txt:
13604         * gst/gstutils.h:
13605           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
13606
13607 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13608
13609         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
13610           Fix a pretty good memleak.
13611
13612 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13613
13614         * gst/gstiterator.h:
13615           Fix wrong include and 'make distcheck'.
13616
13617 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13618
13619         * gst/gstbin.c: (bin_bus_handler):
13620           Use gst_element_post_message() instead.
13621
13622 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
13623
13624         * gst/base/gstadapter.h:
13625         * gst/base/gstbasesink.h:
13626         * gst/base/gstbasesrc.h:
13627         * gst/base/gstbasetransform.h:
13628         * gst/base/gstcollectpads.h:
13629         * gst/base/gstpushsrc.h:
13630         * gst/gstiterator.h:
13631           Add padding to our base elements' class and instance structs and
13632           to GstIterator (you will need to rebuild all plugins and apps!)
13633
13634 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13635
13636         * gst/gstbin.c: (bin_bus_handler):
13637           Make default message forwarding from child->bus to bin->bus
13638           threadsafe and make it not emit warnings if the parent has no bus.
13639
13640 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13641
13642         * gst/gstelement.c: (activate_pads):
13643           On paused->ready, set pad->caps to NULL, as is the documented
13644           behaviour in this state change. Fixes playback of series of
13645           media files when visualization is enabled in Totem.
13646
13647 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13648
13649         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
13650           Allow NULL as filter-caps (which means "any").
13651
13652 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13653
13654         * docs/libs/gstreamer-libs-sections.txt:
13655         * libs/gst/controller/gst-controller.c:
13656         * libs/gst/controller/gst-controller.h:
13657         * libs/gst/controller/gst-helper.c:
13658           adding more entries to the docs and fix small doc-bugs
13659
13660 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13661
13662         * docs/gst/gstreamer-docs.sgml:
13663         * docs/gst/gstreamer-sections.txt:
13664         * docs/gst/gstreamer.types:
13665         * docs/gst/tmpl/gstbasesink.sgml:
13666         * docs/gst/tmpl/gstbasesrc.sgml:
13667         * docs/gst/tmpl/gstbasetransform.sgml:
13668         * docs/gst/tmpl/gstfakesrc.sgml:
13669         * gst/base/gstcollectpads.c:
13670         * gst/base/gstcollectpads.h:
13671         * libs/gst/controller/gst-controller.c:
13672         * libs/gst/controller/gst-controller.h:
13673         * libs/gst/controller/gst-helper.c:
13674         * libs/gst/controller/gst-interpolation.c:
13675         * libs/gst/controller/lib.c:
13676           added long/short desc for controller docs
13677           added collectpads base class docs
13678           added correct includes to base-class docs
13679
13680 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
13681
13682         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13683         (gst_test_mono_source_set_property),
13684         (gst_test_mono_source_class_init), (GST_START_TEST),
13685         (gst_controller_suite):
13686         * docs/gst/gstreamer-docs.sgml:
13687         * docs/gst/gstreamer-sections.txt:
13688         * docs/gst/gstreamer.types:
13689         * docs/libs/gstreamer-libs-docs.sgml:
13690         * docs/libs/gstreamer-libs-sections.txt:
13691         * gst/base/gstadapter.c:
13692         * libs/gst/controller/gst-controller.c:
13693         (gst_controlled_property_new), (gst_controlled_property_free),
13694         (gst_controller_new_valist),
13695         (gst_controller_remove_properties_valist),
13696         (gst_controller_sink_values), (_gst_controller_finalize):
13697         * libs/gst/controller/gst-controller.h:
13698         * libs/gst/controller/gst-helper.c:
13699         (gst_object_control_properties), (gst_object_uncontrol_properties),
13700         (gst_object_get_controller), (gst_object_set_controller),
13701         (gst_object_sink_values), (gst_object_get_value_arrays),
13702         (gst_object_get_value_array):
13703           more tests (and fixes) for the controller
13704           more docs for the controller
13705           integrated companies docs for the adapter 
13706
13707 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13708
13709         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
13710         (GST_START_TEST), (fakesrc_suite):
13711           add tests for sizetype
13712
13713 2005-08-04  Andy Wingo  <wingo@pobox.com>
13714
13715         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
13716         fixes buffer_alloc proxying among other things.
13717
13718         * gst/base/gstbasetransform.c:
13719         * gst/base/gstbasetransform.h:
13720         Revert patch to gstbasetransform from 7-28 removing
13721         delay_configure.
13722
13723         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
13724         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
13725         Semantics changed, should return not the size of the output buffer
13726         but the byte size of a buffer with a given caps.
13727
13728         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
13729         debug object.
13730         (gst_base_transform_configure_caps): Don't set out_size here: (in,
13731         out) are not the pad caps until setcaps finishes.
13732         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
13733         not-in-place case as well. Deal with changing from in-place to
13734         not-in-place within calling pad_alloc_buffer. Still a bit
13735         concerned about the overhead here...
13736
13737 2005-08-03  Andy Wingo  <wingo@pobox.com>
13738
13739         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
13740         fixating is an error.
13741
13742 2005-08-04  Edward Hervey  <edward@fluendo.com>
13743
13744         * gst/base/gstadapter.h: 
13745         Added gst_adapter_get_type() to the header
13746
13747 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13748
13749         * check/Makefile.am:
13750         * check/gst-libs/controller.c:
13751         * libs/gst/controller/gst-controller.c:
13752         (gst_controller_new_valist):
13753           added check test suite for the controller
13754         * gst/base/gstpushsrc.c:
13755           fixed a doc typo
13756
13757 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13758
13759         * docs/gst/Makefile.am:
13760         * docs/gst/gstreamer-docs.sgml:
13761         * docs/gst/gstreamer-sections.txt:
13762         * docs/gst/gstreamer.types:
13763         * docs/gst/tmpl/gstfakesrc.sgml:
13764         * gst/base/README:
13765         * gst/base/gstbasesink.c:
13766         * gst/base/gstbasesink.h:
13767         * gst/base/gstbasesrc.c:
13768         * gst/base/gstbasesrc.h:
13769         * gst/base/gstbasetransform.c:
13770         * gst/base/gstpushsrc.c:
13771         * gst/base/gstpushsrc.h:
13772           add short/long description docs to base classes
13773           add pushsrc to the docs
13774           remove consolidated doc fragments
13775
13776 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
13777
13778         * configure.ac:
13779         * docs/libs/Makefile.am:
13780         * docs/libs/gstreamer-libs-docs.sgml:
13781         * docs/libs/gstreamer-libs-sections.txt:
13782         * docs/libs/gstreamer-libs.types:
13783         * examples/Makefile.am:
13784         * examples/controller/.cvsignore:
13785         * examples/controller/Makefile.am:
13786         * examples/controller/audio-example.c: (main):
13787         * libs/gst/Makefile.am:
13788         * libs/gst/controller/.cvsignore:
13789         * libs/gst/controller/Makefile.am:
13790         * libs/gst/controller/gst-controller.c:
13791         (on_object_controlled_property_changed), (gst_timed_value_compare),
13792         (gst_timed_value_find),
13793         (gst_controlled_property_set_interpolation_mode),
13794         (gst_controlled_property_new), (gst_controlled_property_free),
13795         (gst_controller_find_controlled_property),
13796         (gst_controller_new_valist), (gst_controller_new),
13797         (gst_controller_remove_properties_valist),
13798         (gst_controller_remove_properties), (gst_controller_set),
13799         (gst_controller_set_from_list), (gst_controller_unset),
13800         (gst_controller_get), (gst_controller_get_all),
13801         (gst_controller_sink_values), (gst_controller_get_value_arrays),
13802         (gst_controller_get_value_array),
13803         (gst_controller_set_interpolation_mode),
13804         (_gst_controller_finalize), (_gst_controller_init),
13805         (_gst_controller_class_init), (gst_controller_get_type):
13806         * libs/gst/controller/gst-controller.h:
13807         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
13808         (g_object_uncontrol_properties), (g_object_get_controller),
13809         (g_object_set_controller), (g_object_sink_values),
13810         (g_object_get_value_arrays), (g_object_get_value_array):
13811         * libs/gst/controller/gst-interpolation.c:
13812         (gst_controlled_property_find_timed_value_node),
13813         (interpolate_none_get), (interpolate_trigger_get),
13814         (interpolate_trigger_get_value_array):
13815         * libs/gst/controller/lib.c: (gst_controller_init):
13816         * pkgconfig/Makefile.am:
13817         * pkgconfig/gstreamer-control-uninstalled.pc.in:
13818         * pkgconfig/gstreamer-control.pc.in:
13819         * testsuite/Makefile.am:
13820         * testsuite/controller/.cvsignore:
13821         * testsuite/controller/Makefile.am:
13822         * testsuite/controller/interpolator.c: (main):
13823           added controller code
13824           removed dparam pc files
13825
13826 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13827         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
13828         (gst_collectpads_stop):
13829           Broadcast the condition when shutting down, to make sure we wake all
13830           threads up. Shut down pads on finalize, for safety.
13831
13832 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
13833         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13834         (gst_base_transform_handle_buffer),
13835         (gst_base_transform_change_state):
13836           Handle PAUSED->READY->PAUSED transition after negotiation
13837           occurred already.
13838         * gst/gstmessage.c: (gst_message_init):
13839           Extra piece of debug for new messages.
13840
13841 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
13842
13843         * configure.ac:
13844         * docs/gst/tmpl/gstbasesrc.sgml:
13845         * docs/gst/tmpl/gstelement.sgml:
13846         * docs/gst/tmpl/gstevent.sgml:
13847         * docs/gst/tmpl/gstfakesrc.sgml:
13848         * docs/gst/tmpl/gstformat.sgml:
13849         * docs/gst/tmpl/gstghostpad.sgml:
13850         * docs/gst/tmpl/gstpad.sgml:
13851         * docs/gst/tmpl/gstquery.sgml:
13852         * docs/gst/tmpl/gststructure.sgml:
13853         * docs/gst/tmpl/gsttaglist.sgml:
13854         * docs/gst/tmpl/gstvalue.sgml:
13855         * docs/libs/gstreamer-libs-docs.sgml:
13856         * docs/libs/gstreamer-libs-sections.txt:
13857         * docs/libs/gstreamer-libs.types:
13858         * libs/gst/Makefile.am:
13859         * libs/gst/control/.cvsignore:
13860         * libs/gst/control/Makefile.am:
13861         * libs/gst/control/control.c:
13862         * libs/gst/control/control.h:
13863         * libs/gst/control/dparam.c:
13864         * libs/gst/control/dparam.h:
13865         * libs/gst/control/dparam_smooth.c:
13866         * libs/gst/control/dparam_smooth.h:
13867         * libs/gst/control/dparamcommon.h:
13868         * libs/gst/control/dparammanager.c:
13869         * libs/gst/control/dparammanager.h:
13870         * libs/gst/control/dplinearinterp.c:
13871         * libs/gst/control/dplinearinterp.h:
13872         * libs/gst/control/unitconvert.c:
13873         * libs/gst/control/unitconvert.h:
13874         * testsuite/Makefile.am:
13875         * testsuite/dynparams/.cvsignore:
13876         * testsuite/dynparams/Makefile.am:
13877         * testsuite/dynparams/dparamstest.c:
13878         * tools/Makefile.am:
13879         * tools/gst-inspect.c: (print_element_info), (main):
13880         * tools/gst-xmlinspect.c: (print_element_info), (main):
13881           deactivate and remove dparams (libgstcontrol)
13882
13883 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13884
13885         * gst/elements/gsttypefindelement.c:
13886         (gst_type_find_element_have_type), (gst_type_find_element_init),
13887         (stop_typefinding), (gst_type_find_element_handle_event),
13888         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13889         * gst/elements/gsttypefindelement.h:
13890           Set caps on all outgoing buffers, not just the first one.
13891
13892 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13893
13894         * gst/elements/gsttypefindelement.c:
13895         (gst_type_find_element_have_type),
13896         (gst_type_find_element_check_set_buffer_caps),
13897         (gst_type_find_element_init), (stop_typefinding),
13898         (gst_type_find_element_handle_event),
13899         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13900         * gst/elements/gsttypefindelement.h:
13901           Set caps on first outgoing buffer when we've found the type.
13902
13903 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13904
13905         * docs/gst/gstreamer-docs.sgml:
13906         * docs/gst/gstreamer-sections.txt:
13907         * docs/gst/tmpl/gstscheduler.sgml:
13908         * docs/gst/tmpl/gstschedulerfactory.sgml:
13909           Remove some old cruft from docs.
13910
13911 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
13912
13913         * gst/gstpad.h:
13914           Fix inline docs for GstPadLinkReturn.
13915           
13916         * gst/gststructure.c: (gst_structure_has_name):
13917         * gst/gststructure.h:
13918         * docs/gst/gstreamer-sections.txt:
13919           New API: gst_structure_has_name().
13920
13921 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
13922
13923         * configure.ac:
13924           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13925           and _LARGEFILE_SOURCE in config.h as required. Do not 
13926           export those flags in our .pc files any longer (#142209).
13927
13928           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13929
13930         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13931         (gst_file_sink_do_seek), (gst_file_sink_event),
13932         (gst_file_sink_get_current_offset), (gst_file_sink_render):
13933           Redo seek/tell calls with large file support in mind; add some
13934           debugging messages; add log message that tells us when large
13935           file support is unavailable or not enabled for some reason.
13936
13937         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13938           Add log message that tells us when large file support 
13939           is unavailable or not enabled for some reason.
13940
13941 2005-07-29  Wim Taymans  <wim@fluendo.com>
13942
13943         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13944         Added test for removing an element with ghostpad from a bin.
13945         Fixed test as current implementation does the right thing.
13946
13947         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13948         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13949         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13950         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13951         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13952         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13953         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13954         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13955         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13956         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13957         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13958         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13959         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13960         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13961         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13962         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13963         * gst/gstghostpad.h:
13964         Clean up ghostpads, remove properties for internal stuff.
13965         Make threadsafe.
13966         Fix refcounting.
13967         Prepare for switching targets, not all use cases work yet.
13968
13969 2005-07-29  Wim Taymans  <wim@fluendo.com>
13970
13971         * docs/design/part-gstghostpad.txt:
13972         Small update.
13973
13974         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13975         (gst_bin_remove_func):
13976         Unlinking pads while holding the bin LOCK is not a good
13977         idea.
13978
13979         * gst/gstpad.c: (gst_pad_class_init),
13980         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13981         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13982         No prob setting template after creating the pad.
13983
13984 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
13985
13986         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13987         (gst_bus_peek), (gst_bus_source_dispatch),
13988         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13989         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13990           gst_bus_poll may be called from other threads. Handle
13991           this nicely by not making poll_data disappear off the
13992           stack once gst_bus_poll returns.
13993           gst_bus_peek now increments the refcount on the returned
13994           message.
13995
13996 2005-07-29  Wim Taymans  <wim@fluendo.com>
13997
13998         * docs/design/part-gstghostpad.txt:
13999         Overview of current GhostPad datastructures and use
14000         cases for changing the target.
14001
14002 2005-07-28  Wim Taymans  <wim@fluendo.com>
14003
14004         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14005         Added checks for hierarchy consistency whan adding linked
14006         elements to bins.
14007
14008         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14009         Added check to test element scheduling without bin/pipeline.
14010
14011         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14012         First add elements to bin, then link.
14013         
14014         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14015         (gst_bin_remove_func):
14016         Unlink pads from elements added/removed from bin to maintain
14017         hierarchy consistency.
14018
14019 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14020
14021         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14022         (gst_base_transform_handle_buffer):
14023         * gst/base/gstbasetransform.h:
14024           Remove broken delay_configure (fixes renegotiation of software
14025           scaling pipelines); remove some leftover printf()s.
14026
14027 2005-07-28  Wim Taymans  <wim@fluendo.com>
14028
14029         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14030         Added some more tests for wrong hierarchy
14031
14032         * docs/design/part-overview.txt:
14033         Some updates.
14034
14035         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14036         Cleanups.
14037
14038         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14039         (gst_element_dispose):
14040         Some more cleanups.
14041
14042         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14043         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14044         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14045         (gst_pad_set_caps), (gst_pad_send_event):
14046         Check for correct hierarchy when linking pads. Moving to
14047         strict requirement for ghostpads when linking elements in
14048         different bins.
14049
14050         * gst/gstpad.h:
14051         Clean ups. Added WRONG_HIERARCHY return value.
14052
14053 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14054
14055         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14056           Better debug if no transform is possible.
14057
14058 2005-07-27  Wim Taymans  <wim@fluendo.com>
14059
14060         * docs/random/wtay/network-transp:
14061         Some old doc I had.
14062
14063 2005-07-27  Wim Taymans  <wim@fluendo.com>
14064
14065         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14066         (gst_dp_event_from_packet):
14067         Fix serialization of seek events.
14068
14069 2005-07-27  Wim Taymans  <wim@fluendo.com>
14070
14071         * check/gst-libs/gdp.c: (GST_START_TEST):
14072         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14073         Fix compilation and fix event serialization.
14074
14075 2005-07-27  Wim Taymans  <wim@fluendo.com>
14076
14077         * CHANGES-0.9:
14078         * docs/design/part-TODO.txt:
14079         * docs/design/part-events.txt:
14080         Some docs updates
14081
14082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14083         (gst_base_sink_event), (gst_base_sink_do_sync),
14084         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14085         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14086         (gst_base_src_do_seek), (gst_base_src_event_handler),
14087         (gst_base_src_loop):
14088         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14089         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14090         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14091         (gst_base_transform_event), (gst_base_transform_handle_buffer),
14092         (gst_base_transform_set_passthrough),
14093         (gst_base_transform_is_passthrough):
14094         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14095         * gst/elements/gstfilesink.c: (gst_file_sink_event):
14096         Event updates.
14097
14098         * gst/gstbuffer.h:
14099         Use faster casts.
14100
14101         * gst/gstelement.c: (gst_element_seek):
14102         * gst/gstelement.h:
14103         Update gst_element_seek.
14104
14105         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
14106         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
14107         (gst_event_new_flush_start), (gst_event_new_flush_stop),
14108         (gst_event_new_eos), (gst_event_new_newsegment),
14109         (gst_event_parse_newsegment), (gst_event_new_tag),
14110         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
14111         (gst_event_parse_qos), (gst_event_new_seek),
14112         (gst_event_parse_seek), (gst_event_new_navigation):
14113         * gst/gstevent.h:
14114         Make GstEvent use GstStructure. Add parsing code, make sure the
14115         API is sufficiently generic.
14116         Mark possible directions of events and serialization.
14117
14118         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
14119         (_gst_message_copy), (gst_message_new_segment_start),
14120         (gst_message_new_segment_done), (gst_message_new_custom),
14121         (gst_message_parse_segment_start),
14122         (gst_message_parse_segment_done):
14123         Small cleanups.
14124
14125         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14126         (gst_pad_set_caps), (gst_pad_send_event):
14127         Update for new events. 
14128         Catch events sent in wrong directions.
14129
14130         * gst/gstqueue.c: (gst_queue_link_src),
14131         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
14132         (gst_queue_handle_src_query):
14133         Event updates.
14134
14135         * gst/gsttag.c:
14136         * gst/gsttag.h:
14137         Remove event code from this file.
14138
14139         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14140         (gst_dp_event_from_packet):
14141         Event updates.
14142
14143 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14144
14145         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
14146         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14147         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
14148           Make debugging actually useful.
14149
14150 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14151
14152         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
14153         (gst_pad_fixate_caps):
14154           Implement default fixation once again, so that gst_pad_fixate()
14155           actually does anything at all. This probably needs to be some
14156           sort of a last resort, and use profile-based fixation first, but
14157           since that doesn't exist yet, this is the best we have. Fixes
14158           visualization in Totem.
14159
14160 2005-07-22  Wim Taymans  <wim@fluendo.com>
14161
14162         * docs/design/part-events.txt:
14163         Small update.
14164
14165         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14166         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
14167         (gst_base_sink_activate_pull):
14168         Some more comments.
14169
14170         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
14171         (gst_fake_src_create):
14172         Fix handoff marshall.
14173
14174         * gst/elements/gstidentity.c: (gst_identity_class_init),
14175         (gst_identity_transform_ip):
14176         We're a real inplace element.
14177
14178         * gst/gstbus.c: (gst_bus_post):
14179         Added some comments.
14180
14181         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
14182         * tests/muxing/case1.c: (main):
14183         * tests/sched/dynamic-pipeline.c: (main):
14184         * tests/sched/interrupt1.c: (main):
14185         * tests/sched/interrupt2.c: (main):
14186         * tests/sched/interrupt3.c: (main):
14187         * tests/sched/runxml.c: (main):
14188         * tests/sched/sched-stress.c: (main):
14189         * tests/seeking/seeking1.c: (event_received), (main):
14190         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
14191         (main):
14192         * tests/threadstate/threadstate3.c: (main):
14193         * tests/threadstate/threadstate4.c: (main):
14194         * tests/threadstate/threadstate5.c: (main):
14195         Fix the tests.
14196
14197 2005-07-21  Wim Taymans  <wim@fluendo.com>
14198
14199         * docs/design/part-seeking.txt:
14200         Some small additions.
14201
14202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14203         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14204         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
14205         * gst/base/gstbasesink.h:
14206         discont values are gint64, handle the math correctly.
14207
14208         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14209         Make the basesrc report error if the source pad is not linked.
14210
14211         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
14212         (gst_queue_loop), (gst_queue_handle_src_query),
14213         (gst_queue_src_activate_push):
14214         Make queue collect data even if the srcpad is not linked.
14215         Start pushing out data as soon as it is linked.
14216
14217         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
14218         * gst/gstutils.h:
14219         Added gst_flow_get_name() to ease error reporting.
14220
14221 2005-07-20  Wim Taymans  <wim@fluendo.com>
14222
14223         * gst/gstmessage.c: (gst_message_new_segment_start),
14224         (gst_message_new_segment_done), (gst_message_parse_segment_start),
14225         (gst_message_parse_segment_done):
14226         * gst/gstmessage.h:
14227         Added a bunch of messages for advanced seeking.
14228
14229         * gst/parse/grammar.y:
14230         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
14231         (gst_dpman_state_changed):
14232         Fix some new-pad -> pad-added signals
14233
14234 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14235
14236         * docs/manual/appendix-porting.xml:
14237         * docs/pwg/appendix-porting.xml:
14238           Document new-pad/state-change signal renames and the FixedList
14239           type rename.
14240
14241 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14242
14243         * docs/manual/advanced-autoplugging.xml:
14244         * docs/manual/basics-helloworld.xml:
14245         * docs/manual/basics-pads.xml:
14246         * docs/random/ds/0.9-suggested-changes:
14247         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
14248         * gst/gstelement.h:
14249         * gst/gstevent.h:
14250         * gst/gstformat.h:
14251         * gst/gstquery.h:
14252         * gst/gststructure.c: (gst_structure_value_get_generic_type),
14253         (gst_structure_parse_array), (gst_structure_parse_value):
14254         * gst/gstvalue.c: (gst_type_is_fixed),
14255         (gst_value_list_prepend_value), (gst_value_list_append_value),
14256         (gst_value_list_get_size), (gst_value_list_get_value),
14257         (gst_value_transform_array_string), (gst_value_serialize_array),
14258         (gst_value_deserialize_array), (gst_value_intersect_array),
14259         (gst_value_is_fixed), (_gst_value_initialize):
14260         * gst/gstvalue.h:
14261           GstElement::new-pad -> pad-added, GstElement::state-change ->
14262           state-changed, GstValueFixedList -> GstValueArray, add format and
14263           flags as their own arguments in gst_element_seek() (should improve
14264           "bindeability"), remove function generators since they don't work
14265           under a whole bunch of compilers (they were deprecated already
14266           anyway).
14267
14268 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14269
14270         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
14271         (_gst_debug_register_funcptr):
14272         * gst/gstinfo.h:
14273           Fix illegal cast on some platforms (#309253).
14274
14275 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14276
14277         * gst/gstmessage.c: (gst_message_new_custom):
14278         * gst/gstmessage.h:
14279           Add _new_custom, make _new_application a macro to _new_custom.
14280
14281 2005-07-20  Wim Taymans  <wim@fluendo.com>
14282
14283         * gst/base/gstbasesrc.c: (gst_base_src_init),
14284         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
14285         * gst/base/gstbasesrc.h:
14286         Add a gboolean to decide when to push out a discont.
14287
14288         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
14289         (gst_queue_loop), (gst_queue_handle_src_query),
14290         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
14291         (gst_queue_set_property), (gst_queue_get_property):
14292         Some cleanups.
14293
14294         * tests/threadstate/threadstate1.c: (main):
14295         Make a thread test compile and run... very silly..
14296
14297
14298 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14299
14300         * docs/manual/appendix-porting.xml:
14301           Mention removal of libgstgconf-0.9.la and existence of gconf
14302           elements.
14303
14304 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14305
14306         * docs/pwg/advanced-clock.xml:
14307         * docs/pwg/appendix-porting.xml:
14308         * docs/pwg/intro-preface.xml:
14309         * docs/pwg/other-base.xml:
14310         * docs/pwg/other-manager.xml:
14311         * docs/pwg/other-nton.xml:
14312         * docs/pwg/other-ntoone.xml:
14313         * docs/pwg/other-oneton.xml:
14314         * docs/pwg/pwg.xml:
14315           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
14316           demuxer), remove n-to-n (was never written), fix some code examples
14317           and links and update the porting section to include all this.
14318
14319 2005-07-19  Wim Taymans  <wim@fluendo.com>
14320
14321         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
14322         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
14323         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
14324         (gst_queue_src_activate_push), (gst_queue_change_state),
14325         (gst_queue_get_property):
14326         * gst/gstqueue.h:
14327         Propagate GstFlowReturn more intelligently upstream and output
14328         an ERROR/EOS when streaming stopped due to fatal error.
14329
14330 2005-07-19  Wim Taymans  <wim@fluendo.com>
14331
14332         * tools/gst-launch.c: (check_intr), (event_loop), (main):
14333         Don't block forever for the state change to complete, the
14334         pipeline already did with a sensible timeout.
14335
14336 2005-07-19  Wim Taymans  <wim@fluendo.com>
14337
14338         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
14339         Make sure we never call the create function is we
14340         got deactivated.
14341
14342 2005-07-19  Andy Wingo  <wingo@pobox.com>
14343
14344         * gst/parse/parse.l: Attempt to solve bug #172815.
14345
14346 2005-07-19  Wim Taymans  <wim@fluendo.com>
14347
14348         * docs/design/part-clocks.txt:
14349         * docs/design/part-events.txt:
14350         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
14351         Small docs updates.
14352         Only update the seeking values when we are not
14353         busy streaming.
14354
14355 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
14356
14357         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14358           Oops, ignore the result of gst_pad_push_event here.
14359
14360 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
14361
14362         * gst/base/gstbasesrc.c: (gst_base_src_loop),
14363         (gst_base_src_activate_push):
14364           Send discont event from the loop function, as pads
14365           aren't activated yet in the activate_push handler.
14366
14367         * gst/gstbin.c: (bin_bus_handler):
14368           Don't leak element name.
14369
14370 2005-07-18  Andy Wingo  <wingo@pobox.com>
14371
14372         * configure.ac: Use AS_LIBTOOL_TAGS.
14373
14374 2005-07-18  Wim Taymans  <wim@fluendo.com>
14375
14376         * docs/gst/gstreamer.types:
14377         Remove deleted types.
14378
14379 2005-07-18  Wim Taymans  <wim@fluendo.com>
14380
14381         * check/elements/gstfakesrc.c: (GST_START_TEST):
14382         * configure.ac:
14383         * gst/Makefile.am:
14384         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
14385         (init_popt_callback):
14386         * gst/gst.h:
14387         * gst/gst_private.h:
14388         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
14389         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
14390         * gst/gstbin.h:
14391         * gst/gstbus.h:
14392         * gst/gstconfig.h.in:
14393         * gst/gstelement.c: (gst_element_class_init),
14394         (gst_element_set_base_time), (gst_element_get_base_time),
14395         (iterator_fold_with_resync), (gst_element_change_state),
14396         (gst_element_dispose), (gst_element_get_bus):
14397         * gst/gstelement.h:
14398         * gst/gstelementfactory.h:
14399         * gst/gsterror.c: (_gst_core_errors_init):
14400         * gst/gsterror.h:
14401         * gst/gstevent.h:
14402         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14403         * gst/gstindex.c:
14404         * gst/gstinfo.c: (_gst_debug_init):
14405         * gst/gstmessage.c: (_gst_message_copy):
14406         * gst/gstmessage.h:
14407         * gst/gstminiobject.h:
14408         * gst/gstobject.c:
14409         * gst/gstobject.h:
14410         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14411         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
14412         * gst/gstpad.h:
14413         * gst/gstparse.h:
14414         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14415         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14416         (gst_pipeline_get_last_stream_time):
14417         * gst/gstpipeline.h:
14418         * gst/gstpluginfeature.h:
14419         * gst/gstquery.h:
14420         * gst/gstscheduler.c:
14421         * gst/gstscheduler.h:
14422         * gst/gststructure.h:
14423         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
14424         (gst_task_finalize), (gst_task_func), (gst_task_create),
14425         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
14426         (gst_task_stop), (gst_task_pause):
14427         * gst/gsttask.h:
14428         * gst/gsttypefind.h:
14429         * gst/gsttypes.h:
14430         * gst/registries/gstlibxmlregistry.c: (load_feature),
14431         (gst_xml_registry_load), (gst_xml_registry_save_feature):
14432         * gst/registries/gstxmlregistry.c:
14433         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
14434         * gst/schedulers/threadscheduler.c:
14435         * libs/gst/control/dparammanager.h:
14436         * tools/gst-inspect.c: (print_element_list),
14437         (print_plugin_features), (print_element_features):
14438         * tools/gst-xmlinspect.c: (print_element_list),
14439         (print_plugin_info), (main):
14440         Removed plugable schedulers.
14441         Removed Scheduler/Manager from elements.
14442         Removed gsttypes.h, rearranged includes.
14443         Removed dependency pad<->element, element<>pipeline, and
14444         various others,  fix includes.
14445         implement gst_pad_get_parent() with gst_object_get_parent()
14446         Make GstTask sefcontained.
14447         Fix _get_state() on GstBin, it did not return ASYNC with a 0
14448         timeout.
14449         Fix endless loop in iterator_fold_with_resync.
14450
14451
14452 2005-07-18  Wim Taymans  <wim@fluendo.com>
14453
14454         * gst/Makefile.am:
14455         * gst/gstarch.h:
14456         Remove old file.
14457
14458 2005-07-18  Wim Taymans  <wim@fluendo.com>
14459
14460         * gst/Makefile.am:
14461         No more cothreads.h
14462
14463 2005-07-18  Wim Taymans  <wim@fluendo.com>
14464
14465         * gst/cothreads.c:
14466         * gst/cothreads.h:
14467         Let's remove these.
14468
14469 2005-07-18  Wim Taymans  <wim@fluendo.com>
14470
14471         * docs/design/part-dynamic.txt:
14472         * docs/design/part-events.txt:
14473         * docs/design/part-seeking.txt:
14474         Some more docs in the works.
14475
14476         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14477         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
14478         (gst_base_transform_setcaps), (gst_base_transform_get_size),
14479         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14480         (gst_base_transform_handle_buffer),
14481         (gst_base_transform_sink_activate_push),
14482         (gst_base_transform_src_activate_pull),
14483         (gst_base_transform_set_passthrough),
14484         (gst_base_transform_is_passthrough):
14485         Refcounting fixes.
14486
14487         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
14488         Cleanups.
14489
14490         * gst/gstevent.c: (gst_event_finalize):
14491         Set SRC to NULL.
14492
14493         * gst/gstutils.c: (gst_element_unlink),
14494         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
14495         (gst_pad_proxy_setcaps):
14496         * gst/gstutils.h:
14497         Add _get_parent_element() to get a pads parent as an element.
14498
14499 2005-07-18  Wim Taymans  <wim@fluendo.com>
14500
14501         * check/gst/gstbin.c: (GST_START_TEST):
14502         Remove bogus test.
14503
14504 2005-07-18  Wim Taymans  <wim@fluendo.com>
14505
14506         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14507         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14508         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14509         (gst_base_sink_event), (gst_base_sink_do_sync),
14510         (gst_base_sink_chain), (gst_base_sink_loop),
14511         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
14512         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14513         Refcounting fixes.
14514         Fix logic for returning ASYNC when not prerolled.
14515
14516 2005-07-18  Wim Taymans  <wim@fluendo.com>
14517
14518         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14519         Fix nasty refcount bug.
14520
14521 2005-07-16 Philippe Khalaf <burger@speedy.org>
14522
14523         * gst/elements/gstfdsrc.c:
14524         * gst/elements/gstfdsrc.h:
14525         * gst/elements/gstelements.c:
14526         * gst/elements/Makefile.am:
14527         Ported fdsrc to 0.9.
14528
14529 2005-07-16  Wim Taymans  <wim@fluendo.com>
14530
14531         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14532         (gst_base_sink_do_sync):
14533         Fix compile error.
14534
14535 2005-07-16  Wim Taymans  <wim@fluendo.com>
14536
14537         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14538         (gst_base_sink_event), (gst_base_sink_get_times),
14539         (gst_base_sink_do_sync), (gst_base_sink_change_state):
14540         * gst/base/gstbasesink.h:
14541         Store and use discont values when syncing buffers as described
14542         in design docs.
14543         
14544         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14545         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
14546         (gst_base_src_activate_push):
14547         Push discont event when starting.
14548
14549         * gst/elements/gstidentity.c: (gst_identity_transform):
14550         Small cleanups.
14551
14552         * gst/gstbin.c: (gst_bin_change_state):
14553         Small cleanups in base_time  distribution.
14554
14555         * gst/gstelement.c: (gst_element_set_base_time),
14556         (gst_element_get_base_time), (gst_element_change_state):
14557         * gst/gstelement.h:
14558         Added methods for the base_time of the element.
14559         Some MT fixes.
14560
14561         * gst/gstpipeline.c: (gst_pipeline_send_event),
14562         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
14563         (gst_pipeline_get_last_stream_time):
14564         * gst/gstpipeline.h:
14565         MT fixes.
14566         Handle seeking as described in design doc, remove stream_time
14567         hack.
14568         Cleanups clock and stream_time selection code. Added accessors
14569         for the stream_time.
14570         
14571
14572 2005-07-16  Andy Wingo  <wingo@pobox.com>
14573
14574         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
14575         (#305291).
14576
14577 2005-07-16  Wim Taymans  <wim@fluendo.com>
14578
14579         * check/gst/gstbin.c: (GST_START_TEST):
14580         Make elements silent as the deep_notify refs the
14581         parent, which might make the test fail.
14582
14583         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
14584         Don't hold the lock for too long.
14585
14586 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
14587
14588         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
14589           Don't unref the caps we passed to gst_caps_make_writable() after
14590           passing them. gst_caps_make_writable() will do that for us.
14591
14592 2005-07-15  Andy Wingo  <wingo@pobox.com>
14593
14594         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
14595         (#157311).
14596
14597         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
14598         own marshalling function for the handoff signal. Properly type the
14599         buffer as a buffer. Fixes some warnings. Should do a more general
14600         solution.
14601         (gst_identity_class_init): Plug into the right marshaller.
14602
14603 2005-07-15  Wim Taymans  <wim@fluendo.com>
14604
14605         * docs/design/part-TODO.txt:
14606         * docs/design/part-clocks.txt:
14607         * docs/design/part-element-sink.txt:
14608         * docs/design/part-events.txt:
14609         * docs/design/part-gstpipeline.txt:
14610         Updated docs, mostly DISCONT related.
14611
14612 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
14613
14614         * docs/pwg/building-pads.xml:
14615           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
14616
14617 2005-07-15  Andy Wingo  <wingo@pobox.com>
14618
14619         * tools/gst-typefind.c: Update, add copyright block.
14620
14621         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
14622         Normalize and truncate caps before fixation.
14623
14624         * gst/gstcaps.h:
14625         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
14626         discards all but the first structure from its argument.
14627
14628 2005-07-15  Wim Taymans  <wim@fluendo.com>
14629
14630         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14631         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
14632         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14633         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14634         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
14635         (gst_base_transform_chain), (gst_base_transform_change_state),
14636         (gst_base_transform_set_passthrough),
14637         (gst_base_transform_is_passthrough):
14638         * gst/base/gstbasetransform.h:
14639         Make passthrough work using the bufferpools.
14640         Changed API a bit, subclasses have to write into a buffer
14641         provided by the base class.
14642         More debug info in nego functions.
14643         
14644         * gst/elements/gstidentity.c: (gst_identity_init),
14645         (gst_identity_transform):
14646         Port to new base class.
14647
14648 2005-07-15  Wim Taymans  <wim@fluendo.com>
14649
14650         * gst/gstmessage.c: (gst_message_new_state_changed):
14651         * tools/gst-launch.c: (event_loop), (main):
14652         Totally dump messages in -launch with the -m option.
14653         Fix message name for State messages,
14654
14655 2005-07-14  Wim Taymans  <wim@fluendo.com>
14656
14657         * gst/base/gstbasesrc.c: (gst_base_src_loop):
14658         Post error messages on errors.
14659
14660 2005-07-14  Wim Taymans  <wim@fluendo.com>
14661
14662         * gst/gstcaps.c: (gst_caps_do_simplify):
14663         Remove debug info.
14664
14665         * gst/gsterror.h:
14666         Define error for stream stopped.
14667
14668         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14669         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
14670         Do proper return values.
14671
14672         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14673         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
14674         (gst_pad_get_range):
14675         Better return values.
14676
14677         * gst/gstpad.h:
14678         Reorganise return values, add macro to check for fatal errors.
14679
14680         * gst/gstqueue.c: (gst_queue_chain):
14681         Return proper GstFlowReturn values,
14682
14683 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
14684
14685         * docs/gst/gstreamer-sections.txt:
14686         * docs/gst/gstreamer.types:
14687         * docs/gst/tmpl/gst.sgml:
14688         * docs/gst/tmpl/gstbasesink.sgml:
14689         * docs/gst/tmpl/gstbasesrc.sgml:
14690         * docs/gst/tmpl/gstbasetransform.sgml:
14691         * docs/gst/tmpl/gstbin.sgml:
14692         * docs/gst/tmpl/gstbuffer.sgml:
14693         * docs/gst/tmpl/gstcaps.sgml:
14694         * docs/gst/tmpl/gstclock.sgml:
14695         * docs/gst/tmpl/gstcompat.sgml:
14696         * docs/gst/tmpl/gstconfig.sgml:
14697         * docs/gst/tmpl/gstelement.sgml:
14698         * docs/gst/tmpl/gstelementdetails.sgml:
14699         * docs/gst/tmpl/gstelementfactory.sgml:
14700         * docs/gst/tmpl/gstenumtypes.sgml:
14701         * docs/gst/tmpl/gsterror.sgml:
14702         * docs/gst/tmpl/gstevent.sgml:
14703         * docs/gst/tmpl/gstfakesink.sgml:
14704         * docs/gst/tmpl/gstfakesrc.sgml:
14705         * docs/gst/tmpl/gstfilesink.sgml:
14706         * docs/gst/tmpl/gstfilesrc.sgml:
14707         * docs/gst/tmpl/gstfilter.sgml:
14708         * docs/gst/tmpl/gstformat.sgml:
14709         * docs/gst/tmpl/gstghostpad.sgml:
14710         * docs/gst/tmpl/gstimplementsinterface.sgml:
14711         * docs/gst/tmpl/gstindex.sgml:
14712         * docs/gst/tmpl/gstindexfactory.sgml:
14713         * docs/gst/tmpl/gstinfo.sgml:
14714         * docs/gst/tmpl/gstiterator.sgml:
14715         * docs/gst/tmpl/gstmacros.sgml:
14716         * docs/gst/tmpl/gstmemchunk.sgml:
14717         * docs/gst/tmpl/gstminiobject.sgml:
14718         * docs/gst/tmpl/gstobject.sgml:
14719         * docs/gst/tmpl/gstpad.sgml:
14720         * docs/gst/tmpl/gstpadtemplate.sgml:
14721         * docs/gst/tmpl/gstparse.sgml:
14722         * docs/gst/tmpl/gstpipeline.sgml:
14723         * docs/gst/tmpl/gstplugin.sgml:
14724         * docs/gst/tmpl/gstpluginfeature.sgml:
14725         * docs/gst/tmpl/gstquery.sgml:
14726         * docs/gst/tmpl/gstqueue.sgml:
14727         * docs/gst/tmpl/gstregistry.sgml:
14728         * docs/gst/tmpl/gstregistrypool.sgml:
14729         * docs/gst/tmpl/gstscheduler.sgml:
14730         * docs/gst/tmpl/gstschedulerfactory.sgml:
14731         * docs/gst/tmpl/gststructure.sgml:
14732         * docs/gst/tmpl/gstsystemclock.sgml:
14733         * docs/gst/tmpl/gsttaglist.sgml:
14734         * docs/gst/tmpl/gsttagsetter.sgml:
14735         * docs/gst/tmpl/gsttrace.sgml:
14736         * docs/gst/tmpl/gsttrashstack.sgml:
14737         * docs/gst/tmpl/gsttypefind.sgml:
14738         * docs/gst/tmpl/gsttypefindfactory.sgml:
14739         * docs/gst/tmpl/gsttypes.sgml:
14740         * docs/gst/tmpl/gsturihandler.sgml:
14741         * docs/gst/tmpl/gsturitype.sgml:
14742         * docs/gst/tmpl/gstutils.sgml:
14743         * docs/gst/tmpl/gstvalue.sgml:
14744         * docs/gst/tmpl/gstversion.sgml:
14745         * docs/gst/tmpl/gstxml.sgml:
14746         * docs/libs/tmpl/gstcontrol.sgml:
14747         * docs/libs/tmpl/gstdataprotocol.sgml:
14748         * docs/libs/tmpl/gstdparam.sgml:
14749         * docs/libs/tmpl/gstdplinint.sgml:
14750         * docs/libs/tmpl/gstdpman.sgml:
14751         * docs/libs/tmpl/gstdpsmooth.sgml:
14752         * docs/libs/tmpl/gstgetbits.sgml:
14753         * docs/libs/tmpl/gstunitconvert.sgml:
14754         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
14755         (gst_push_src_base_init), (gst_push_src_class_init),
14756         (gst_push_src_init), (gst_push_src_create):
14757         * gst/base/gstpushsrc.h:
14758         * gst/elements/gstelements.c:
14759         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
14760         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
14761         (gst_fake_sink_init), (gst_fake_sink_set_property),
14762         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
14763         (gst_fake_sink_event), (gst_fake_sink_preroll),
14764         (gst_fake_sink_render), (gst_fake_sink_change_state):
14765         * gst/elements/gstfakesink.h:
14766         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14767         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14768         (gst_fake_src_base_init), (gst_fake_src_class_init),
14769         (gst_fake_src_init), (gst_fake_src_event_handler),
14770         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
14771         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
14772         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
14773         (gst_fake_src_create_buffer), (gst_fake_src_create),
14774         (gst_fake_src_start), (gst_fake_src_stop):
14775         * gst/elements/gstfakesrc.h:
14776         * gst/elements/gstfilesink.c: (_do_init),
14777         (gst_file_sink_base_init), (gst_file_sink_class_init),
14778         (gst_file_sink_init), (gst_file_sink_dispose),
14779         (gst_file_sink_set_location), (gst_file_sink_set_property),
14780         (gst_file_sink_get_property), (gst_file_sink_open_file),
14781         (gst_file_sink_close_file), (gst_file_sink_query),
14782         (gst_file_sink_event), (gst_file_sink_render),
14783         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
14784         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
14785         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
14786         * gst/elements/gstfilesink.h:
14787         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
14788         (gst_file_src_class_init), (gst_file_src_init),
14789         (gst_file_src_finalize), (gst_file_src_set_location),
14790         (gst_file_src_set_property), (gst_file_src_get_property),
14791         (gst_file_src_map_region), (gst_file_src_map_small_region),
14792         (gst_file_src_create_mmap), (gst_file_src_create_read),
14793         (gst_file_src_create), (gst_file_src_is_seekable),
14794         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
14795         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
14796         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
14797         (gst_file_src_uri_handler_init):
14798         * gst/elements/gstfilesrc.h:
14799           more autistic cleanliness in functions/names/defines
14800
14801 2005-07-13  Andy Wingo  <wingo@pobox.com>
14802
14803         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
14804         source couldn't negotiate.
14805
14806         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
14807         connections again.
14808
14809         * gst/gstutils.h:
14810         * gst/gstutils.c (gst_element_link_pads_filtered): New old
14811         function. I am channeling Hades. Put your boots on suckers!!!
14812
14813 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
14814
14815         * testsuite/caps/Makefile.am:
14816         * testsuite/caps/value_compare.c:
14817         * testsuite/caps/value_intersect.c:
14818         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14819           move two testsuite apps over to the check dir
14820
14821 2005-07-12  Wim Taymans  <wim@fluendo.com>
14822
14823         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14824         Added more debug info in the negotiate process.
14825
14826         * gst/gstmessage.h:
14827         Prepare for segment playback.
14828
14829         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
14830         Better debugging.
14831
14832         * gst/gstutils.c:
14833         Some more docs.
14834
14835         * tools/gst-launch.c: (main):
14836         NULL pipeline on errors.
14837
14838 2005-07-12  Andy Wingo  <wingo@pobox.com>
14839
14840         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
14841         not it comes from a malloc region. Make sure our copy gets freed.
14842
14843 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14844
14845         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14846         * check/gst/gstmessage.c: (GST_START_TEST):
14847         * check/gst/gststructure.c: (GST_START_TEST),
14848         (gst_structure_suite), (main):
14849           more testing
14850         * gst/gstelement.c: (gst_element_message_full):
14851           clean up GError and debug string now that they get copied
14852         * gst/gstmessage.c: (gst_message_new_error),
14853         (gst_message_new_warning), (gst_message_parse_error),
14854         (gst_message_parse_warning):
14855           use GST_TYPE_G_ERROR for structure_new, and take copies of
14856           arguments, so that we don't mess up refcounting
14857
14858 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14859
14860         * check/Makefile.am:
14861           add per-test valgrind targets
14862         * check/gst-libs/gdp.c: (GST_START_TEST),
14863         (gst_data_protocol_suite), (main):
14864           clean up
14865
14866 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14867
14868         * check/Makefile.am:
14869           instate more valgrindable tests
14870         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14871         (GST_START_TEST), (fakesrc_suite):
14872         * check/gst/gstpad.c: (GST_START_TEST):
14873         * check/gst/gststructure.c: (GST_START_TEST):
14874           fix test leaks
14875         * docs/gst/tmpl/gstminiobject.sgml:
14876         * gst/gstpad.c: (gst_pad_finalize):
14877           fix the static mutex leak
14878
14879 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14880
14881         * check/Makefile.am:
14882           add two more tests for valgrinding
14883         * check/gst/gstvalue.c: (GST_START_TEST):
14884           test refcount of deserialized buffer, found a leak
14885         * docs/gst/gstreamer-docs.sgml:
14886         * docs/gst/gstreamer-sections.txt:
14887         * docs/gst/gstreamer.types:
14888         * docs/gst/tmpl/gstminiobject.sgml:
14889           add miniobject to docs
14890         * gst/gstminiobject.c:
14891           add some docs
14892         * gst/gstvalue.c: (gst_value_deserialize_buffer),
14893         (gst_string_unwrap):
14894           fix a hard-to-find invalid write for one of the tests
14895           fix a leak for deserialized buffers
14896
14897 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14898
14899         * docs/pwg/advanced-events.xml:
14900         * docs/pwg/advanced-request.xml:
14901         * docs/pwg/advanced-scheduling.xml:
14902         * docs/pwg/appendix-porting.xml:
14903         * docs/pwg/building-boiler.xml:
14904         * docs/pwg/intro-preface.xml:
14905         * docs/pwg/other-ntoone.xml:
14906           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14907           of example code and explanation for pad activation, loop() and
14908           getrange() functions and a bit more. Remove old comments pointing
14909           to loop-functions.
14910         * examples/pwg/Makefile.am:
14911           Add loop/getrange examples.
14912
14913 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14914
14915         * configure.ac:
14916           check for valgrind binary + some fixes
14917         * check/gst.supp:
14918           valgrind suppressions for the tests
14919         * check/Makefile.am:
14920           add a valgrind: target that valgrinds the unit tests
14921         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14922         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14923         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14924         * check/gst/gstghostpad.c:
14925           added some cleanup
14926         * check/gst/gstdata.c:
14927           removed
14928         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14929         (thread_unref), (gst_mini_object_suite), (main):
14930           added
14931         * gst/gst.c: (gst_deinit):
14932         * gst/gst.h:
14933           add a method to clean up.
14934         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14935         (gst_system_clock_obtain):
14936           allow for disposing the system clock.
14937         * tools/gst-launch.c: (main):
14938           deinit
14939
14940 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14941
14942         * docs/gst/tmpl/gstbasesrc.sgml:
14943         * docs/gst/tmpl/gstfakesrc.sgml:
14944         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14945         (gst_base_src_init), (gst_base_src_set_property),
14946         (gst_base_src_get_property), (gst_base_src_get_range),
14947         (gst_base_src_start):
14948         * gst/base/gstbasesrc.h:
14949           add num-buffers property
14950         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14951         (gst_fakesrc_init), (gst_fakesrc_set_property),
14952         (gst_fakesrc_get_property), (gst_fakesrc_create),
14953         (gst_fakesrc_start):
14954           remove num-buffers property
14955
14956 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14957
14958         * docs/gst/gstreamer-sections.txt:
14959         * docs/gst/tmpl/gstbasesink.sgml:
14960         * docs/gst/tmpl/gstbasesrc.sgml:
14961         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14962         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14963         (gst_base_sink_finalize), (gst_base_sink_set_clock),
14964         (gst_base_sink_set_property), (gst_base_sink_get_property),
14965         (gst_base_sink_handle_object), (gst_base_sink_event),
14966         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14967         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14968         (gst_base_sink_loop), (gst_base_sink_deactivate),
14969         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14970         (gst_base_sink_change_state):
14971         * gst/base/gstbasesink.h:
14972         * gst/base/gstbasesrc.h:
14973         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14974         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14975         (gst_filesink_init):
14976           more macro splitting
14977
14978 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14979
14980         * gst/gstelement.c: (gst_element_get_bus):
14981           add debug
14982         * tools/gst-launch.c: (check_intr), (event_loop):
14983           fix bus leaks
14984
14985 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14986
14987         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14988           fix a caps leak
14989
14990 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14991
14992         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14993         (gst_base_src_finalize):
14994           add finalize method and clean up properly
14995         * gst/gstpipeline.c: (gst_pipeline_dispose):
14996           add debug
14997
14998 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14999
15000         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15001         (gst_bin_suite):
15002           add more things to check
15003         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15004         * gst/gstelement.c:
15005           more debug
15006
15007 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15008
15009         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15010         (GST_START_TEST), (fakesrc_suite):
15011         * check/gst-libs/gdp.c: (GST_START_TEST):
15012         * check/gst/gst.c: (GST_START_TEST):
15013         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15014         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15015         * check/gst/gstbus.c: (GST_START_TEST):
15016         * check/gst/gstcaps.c: (GST_START_TEST):
15017         * check/gst/gstdata.c: (GST_START_TEST):
15018         * check/gst/gstelement.c: (GST_START_TEST):
15019         * check/gst/gstghostpad.c: (GST_START_TEST):
15020         * check/gst/gstiterator.c: (GST_START_TEST):
15021         * check/gst/gstmessage.c: (GST_START_TEST):
15022         * check/gst/gstobject.c: (GST_START_TEST):
15023         * check/gst/gstpad.c: (GST_START_TEST):
15024         * check/gst/gststructure.c: (GST_START_TEST):
15025         * check/gst/gstsystemclock.c: (GST_START_TEST),
15026         (gst_systemclock_suite):
15027         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15028         * check/gst/gstvalue.c: (GST_START_TEST):
15029         * check/pipelines/cleanup.c: (GST_START_TEST):
15030         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15031         * check/states/sinks.c: (GST_START_TEST):
15032         * check/gstcheck.c: (gst_check_init):
15033         * check/gstcheck.h:
15034           add debugging category
15035           use GST_START_TEST now, so we add a debug line
15036
15037 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15038
15039         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15040           add test for state change message on a bin
15041         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15042           add another test
15043         * gst/gstbin.c: (gst_bin_init):
15044         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15045         * gst/gstelement.c: (gst_element_post_message),
15046         (gst_element_set_state):
15047         * gst/gstelementfactory.c: (gst_element_factory_create):
15048         * gst/gstmessage.c: (gst_message_new):
15049         * gst/gstscheduler.c:
15050           various debugging additions and cleanups
15051
15052 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15053
15054         * check/Makefile.am:
15055         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15056         (main):
15057           adding tests for elements
15058         * gst/gstelement.c: (gst_element_dispose):
15059
15060 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15061
15062         * gst/registries/gstlibxmlregistry.c: (load_feature):
15063           plug more leaks.  A simple gst_init() now is leakfree, yay.
15064
15065 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15066
15067         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15068         (gst_xml_registry_load):
15069           plug another memleak
15070
15071 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15072
15073         * configure.ac:
15074           use GST_SET_ERROR_CFLAGS
15075         * docs/faq/cvs.xml:
15076           change to ERROR_CFLAGS
15077
15078 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15079
15080         * configure.ac:
15081           make GST_ERROR_CFLAGS overridable and re-enable Werror
15082         * docs/faq/cvs.xml:
15083           add a note about error CFLAGS
15084         * docs/gst/tmpl/gstfakesrc.sgml:
15085         * gst/elements/gstfakesrc.c:
15086           comment out some unused code
15087         * gst/gst.c: (split_and_iterate):
15088         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
15089         (load_feature):
15090           plug some memleaks
15091
15092 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15093
15094         * common/Makefile.am:
15095         * common/gtk-doc.mak:
15096         * docs/gst/Makefile.am:
15097           factor out gtk-doc.mak
15098
15099 2005-07-07  Wim Taymans  <wim@fluendo.com>
15100
15101         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
15102         (gst_thread_scheduler_dispose):
15103         Unlock the STREAM_LOCK completely.
15104
15105 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15106
15107         * check/Makefile.am:
15108         * check/elements/.cvsignore:
15109         * check/elements/gstfakesrc.c: (chain_func), (event_func),
15110         (START_TEST), (fakesrc_suite), (main):
15111         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15112         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
15113         (gst_fakesrc_create), (gst_fakesrc_start):
15114         * gst/elements/gstfakesrc.h:
15115           adding a first element test
15116
15117 2005-07-07  Andy Wingo  <wingo@pobox.com>
15118
15119         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
15120         debug message.
15121
15122 2005-07-07  Wim Taymans  <wim@fluendo.com>
15123
15124         * gst/gstquery.c:
15125         * gst/gstquery.h:
15126         Remove old types
15127
15128 2005-07-07  Wim Taymans  <wim@fluendo.com>
15129
15130         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
15131         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
15132         Allow subclasses to implement their own negotiation.
15133
15134 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15135
15136         * docs/design/part-gstbin.txt:
15137         * docs/design/part-gstpipeline.txt:
15138           Update design notes to reflect the movement of
15139           responsibility for bus handling from GstPipeline to
15140           GstBin
15141
15142 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15143
15144         * configure.ac:
15145           Remove unnecessary queue2/3/4 examples.
15146
15147 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
15148
15149         * examples/Makefile.am:
15150         * examples/helloworld/helloworld.c: (event_loop), (main):
15151         * examples/queue/queue.c: (event_loop), (main):
15152         * examples/queue2/queue2.c: (main):
15153           Update a couple of the examples to work again.
15154
15155         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15156         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
15157          Spelling corrections and extra debug.
15158         
15159         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
15160         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
15161         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
15162         * gst/gstbin.h:
15163         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15164         (gst_pipeline_change_state):
15165         * gst/gstpipeline.h:
15166           Move the bus handler for children to the GstBin, and create a
15167           separate bus for receiving messages from children to the one the
15168           bus sends 'upwards' on.
15169
15170 2005-07-06  Wim Taymans  <wim@fluendo.com>
15171
15172         * gst/base/README:
15173         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15174         (gst_base_sink_handle_object), (gst_base_sink_loop),
15175         (gst_base_sink_change_state):
15176         * gst/base/gstbasesink.h:
15177         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15178         (gst_base_src_init), (gst_base_src_setcaps),
15179         (gst_base_src_getcaps), (gst_base_src_loop),
15180         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
15181         (gst_base_src_start), (gst_base_src_change_state):
15182         * gst/base/gstbasesrc.h:
15183         Make basesrc negotiate.
15184         Handle the case where preroll fails in basesink.
15185         Update README.
15186
15187 2005-07-06  Wim Taymans  <wim@fluendo.com>
15188
15189         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
15190         Implement the fixate function.
15191         Clean up acceptcaps.
15192
15193 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15194
15195         * docs/pwg/building-filterfactory.xml:
15196         * docs/pwg/pwg.xml:
15197           Remove never-written filter-factory chapter; I'll add the various
15198           base classes to part 4 ("other element types") later on.
15199
15200 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15201
15202         * docs/pwg/advanced-negotiation.xml:
15203         * docs/pwg/building-boiler.xml:
15204         * docs/pwg/building-pads.xml:
15205         * docs/pwg/pwg.xml:
15206         * examples/pwg/Makefile.am:
15207           Add a chapter on caps negotiation, simplify the original code
15208           samples a bit w.r.t. caps negotiation, add link to the advanced
15209           section. Add a bunch of examples showing different use cases of
15210           different types of caps negotiation. Upstream renegotiation isn't
15211           fully documented yet since nobody knows how that works.
15212
15213 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
15214
15215         * check/gst/gstpad.c:
15216         * check/gstcheck.c:
15217         * gst/gstpad.c: (gst_pad_get_internal_links_default):
15218           if pad has no parent, return NULL as list of internal links
15219
15220 2005-07-05  Andy Wingo  <wingo@pobox.com>
15221
15222         * gst/elements/gstfilesrc.c:
15223         * gst/elements/gstfakesrc.c: 
15224         * gst/base/gstpushsrc.c:
15225         * gst/base/gstbasesrc.h: 
15226         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
15227         
15228 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
15229
15230         * Makefile.am:
15231           better report generation target (lcov needs a patch)
15232
15233 2005-07-05  Andy Wingo  <wingo@pobox.com>
15234
15235         * gst/elements, testsuite: Null if we got it...
15236
15237 2005-07-05  Wim Taymans  <wim@fluendo.com>
15238
15239         * configure.ac:
15240         * libs/gst/dataprotocol/Makefile.am:
15241         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
15242         * libs/gst/dataprotocol/dataprotocol.h:
15243         * pkgconfig/Makefile.am:
15244         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
15245         * pkgconfig/gstreamer-dataprotocol.pc.in:
15246         Ported dataprotol to 0.9. 
15247         Added pkgconfig files.
15248
15249 2005-07-05  Andy Wingo  <wingo@pobox.com>
15250
15251         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
15252         Default to returning TRUE for the case when tranform_caps returns
15253         a fixed caps, like for identity or volume.
15254
15255         * check/gst/gstbus.c (pound_bus_with_messages): 
15256         * check/gst/gstmessage.c (START_TEST): 
15257         * check/pipelines/simple_launch_lines.c (got_handoff): Application
15258         message API change.
15259
15260         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
15261         logic weaks here: always run transform_caps, trying passthrough
15262         operation only if the original caps intersects with the transform.
15263
15264         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
15265         source and sink caps.
15266
15267         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
15268         Intersect the peer caps with the pad template before going into
15269         transform_caps.
15270         (gst_base_transform_transform_caps): More debugging.
15271
15272         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
15273         src argument.
15274
15275 2005-07-04  Edward Hervey  <edward@fluendo.com>
15276
15277         * gst/gstutils.c:
15278         * gst/gstutils.h:
15279         (gst_pad_add_*_probe): now returns the signal id for better wrapping
15280         in bindings.
15281
15282 2005-07-04  Andy Wingo  <wingo@pobox.com>
15283
15284         * check/gst/gstpad.c: Only set explicit caps on pads.
15285
15286 2005-07-01  Andy Wingo  <wingo@pobox.com>
15287
15288         * tests/network-clock.scm: Commentary update.
15289
15290         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
15291         Didn't really make sense, not implementable with basetransform,
15292         etc.
15293         (gst_identity_transform): Unref inbuf via make_writable. Feeble
15294         attempt at implementing the sync property, needs an unlock method.
15295
15296         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
15297         New func, by default returns the same caps (the identity
15298         transformation).
15299         (gst_base_transform_getcaps): Uses transform_caps to return
15300         something sensible.
15301         (gst_base_transform_setcaps): Complicated logic to get caps on
15302         both pads, even if they are different, and to call set_caps once
15303         for every time both pads get their caps set.
15304         (gst_base_transform_handle_buffer): Give the ref to the transform
15305         function. Allows in-place modification of the buffer.
15306
15307         * gst/base/gstbasetransform.h (transform_caps): New class method.
15308         Given caps on one side, what can I do on the other.
15309         (set_caps): Take two caps, one for each side of the element.
15310
15311         * gst/gstpad.h:
15312         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
15313         caps in place. This is safe because we can check the mutability of
15314         the caps, and a good idea because fixate functions are just called
15315         as a matter of last resort. (Not actually implemented.)
15316         (gst_pad_set_caps): If the caps we're setting is actually the same
15317         as the existing pad caps, just update the pointer without calling
15318         setcaps. Assert that caps is either NULL or fixed, as per the
15319         docs.
15320
15321         * gst/gstghostpad.c: Update for fixate changes.
15322
15323 2005-07-02  Andy Wingo  <wingo@pobox.com>
15324
15325         * gst/gstcaps.c:
15326         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
15327         two refcounts makes it immutable, which is enough. Doc more.
15328
15329 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
15330
15331         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
15332           Put the mini_object into GValue as a mini_object,
15333           not a gpointer, since that's how we declared
15334           the signal.
15335
15336 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15337
15338         * examples/pwg/Makefile.am:
15339           Fix buildbot again.
15340
15341 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15342
15343         * docs/pwg/building-testapp.xml:
15344           Add extra check.
15345         * examples/pwg/Makefile.am:
15346           Fix buildbot.
15347
15348 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15349
15350         * configure.ac:
15351         * examples/Makefile.am:
15352         * examples/pwg/Makefile.am:
15353         * examples/pwg/extract.pl:
15354           Enable building the PWG examples.
15355         * docs/pwg/advanced-interfaces.xml:
15356           Add URI interface stub.
15357         * docs/pwg/advanced-types.xml:
15358         * docs/pwg/other-autoplugger.xml:
15359         * docs/pwg/appendix-porting.xml:
15360         * docs/pwg/pwg.xml:
15361           Add porting guide (mostly stubs), remove autoplugging (see ADM).
15362         * docs/pwg/building-boiler.xml:
15363         * docs/pwg/building-chainfn.xml:
15364         * docs/pwg/building-pads.xml:
15365         * docs/pwg/building-props.xml:
15366         * docs/pwg/building-state.xml:
15367         * docs/pwg/building-testapp.xml:
15368           Update the building-*.xml parts for 0.9 changes. All examples
15369           code blocks compile in examples/pwg/*.
15370
15371 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15372
15373         * docs/manual/advanced-autoplugging.xml:
15374         * docs/manual/appendix-checklist.xml:
15375         * docs/manual/appendix-integration.xml:
15376         * docs/manual/highlevel-components.xml:
15377           Fix playbin/decodebin examples, update docs a bit, mention bus
15378           instead of signals in various places, mention kmplayer and
15379           kaffeine since they have a working GStreamer backend in the KDE
15380           section.
15381
15382 2005-06-30  Wim Taymans  <wim@fluendo.com>
15383
15384         * CHANGES-0.9:
15385         * docs/design/draft-ghostpads.txt:
15386         * docs/design/draft-push-pull.txt:
15387         * docs/design/draft-query.txt:
15388         * docs/design/part-TODO.txt:
15389         * docs/design/part-query.txt:
15390         Added CHANGES-0.9 doc, updated status of other docs.
15391         
15392         * gst/gstquery.h:
15393         Remove "hmm" macro
15394
15395 2005-06-30  Wim Taymans  <wim@fluendo.com>
15396
15397         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
15398         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15399         (gst_base_sink_change_state):
15400         * gst/base/gstbasesink.h:
15401         Some tweaks, only EOS and a buffer complete a preroll.
15402
15403 2005-06-30  Andy Wingo  <wingo@pobox.com>
15404
15405         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
15406         activate_push down to the internal pad as well.
15407
15408 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
15409
15410         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15411
15412         * gst/gsttaginterface.c:
15413           Some documentation fixes (#307394 and #307397).
15414
15415 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
15416
15417         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15418
15419         * gst/gstvalue.c: (gst_value_intersect_list):
15420           Fix memleak (#309125).
15421
15422 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15423
15424         * docs/manual/advanced-dataaccess.xml:
15425           Fix fakesrc example to compile; doesn't work, bug somewhere...?
15426         * docs/manual/basics-pads.xml:
15427           Add reference for filtered caps to above chapter.
15428
15429 2005-06-30  Wim Taymans  <wim@fluendo.com>
15430
15431         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
15432         (gst_bin_change_state):
15433         Probes are gone.
15434         Lame attempt at making the state change function a bit
15435         more readable.
15436
15437 2005-06-30  Wim Taymans  <wim@fluendo.com>
15438
15439         * docs/design/part-clocks.txt:
15440         * docs/design/part-element-sink.txt:
15441         * docs/design/part-events.txt:
15442         * docs/design/part-preroll.txt:
15443         * docs/design/part-states.txt:
15444         Some more tweeks and additions to the docs.
15445
15446 2005-06-30  Wim Taymans  <wim@fluendo.com>
15447
15448         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15449         (default_have_data), (gst_pad_class_init), (gst_pad_init),
15450         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15451         (gst_pad_check_pull_range), (gst_pad_get_range),
15452         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
15453         * gst/gstpad.h:
15454         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
15455         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15456         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15457         (gst_pad_remove_buffer_probe):
15458         Removed atomic operations, use existing LOCK.
15459         Move exception handling out of main code path.
15460
15461 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15462
15463         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15464         (silly_return_true_function), (gst_pad_class_init),
15465         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
15466         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
15467         (gst_pad_send_event):
15468           Fix accumulator, add default value by using _emitv() instead
15469           of _emit() for signal emission.
15470
15471 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15472
15473         * docs/manual/advanced-dataaccess.xml:
15474         * examples/manual/Makefile.am:
15475           Add probe example.
15476         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
15477           Make work (??).
15478
15479 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
15480
15481         * gst/elements/gstfilesink.c: (gst_filesink_render):
15482           Simplify code so that we don't have to handle short
15483           writes and return GST_FLOW_ERROR if an error occured.
15484
15485 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15486
15487         * docs/gst/gstreamer-docs.sgml:
15488           Remove probes more.
15489
15490 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15491
15492         * docs/gst/gstreamer-sections.txt:
15493         * docs/gst/tmpl/gstpad.sgml:
15494         * docs/gst/tmpl/gstprobe.sgml:
15495         * gst/Makefile.am:
15496         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
15497         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
15498         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15499         (gst_pad_push_event), (gst_pad_send_event):
15500         * gst/gstpad.h:
15501         * gst/gstutils.c: (gst_pad_add_data_probe),
15502         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15503         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15504         (gst_pad_remove_buffer_probe):
15505         * gst/gstutils.h:
15506           Remove old probes, add new g-signal-based probes and some utility
15507           functions.
15508
15509 2005-06-29  Edward Hervey  <edward@fluendo.com>
15510
15511         * gst/gstelementfactory.c:
15512         * gst/gstutils.h:
15513         * gst/gstutils.c:
15514         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
15515         the definition to the header file.
15516
15517 2005-06-29  Andy Wingo  <wingo@pobox.com>
15518
15519         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
15520         plugins from the source directory.
15521
15522 2005-06-29  Wim Taymans  <wim@fluendo.com>
15523
15524         * docs/gst/tmpl/gstbuffer.sgml:
15525         * docs/gst/tmpl/gstclock.sgml:
15526         Some fixings for blantently wrong text.
15527
15528 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15529
15530         * check/Makefile.am:
15531         * gst/gst.c: (add_path_func), (init_pre):
15532         * gst/gstregistry.c: (gst_registry_add_path):
15533           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
15534           only scan the GST_PLUGIN_PATH locations, and not add
15535           system locations
15536
15537 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
15538
15539         * docs/gst/gstreamer-sections.txt:
15540         * docs/gst/tmpl/gstbasesrc.sgml:
15541         * gst/gstelement.c:
15542         * gst/gstelement.h:
15543         * gst/gstevent.c:
15544         * gst/gstutils.c:
15545           doc fixes
15546
15547 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15548
15549         * docs/manual/advanced-autoplugging.xml:
15550           Fix autoplugging example.
15551
15552 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15553
15554         * docs/manual/advanced-autoplugging.xml:
15555         * docs/manual/mime-world.fig:
15556           Try to get autoplugging working, fix type detection. Fix text
15557           in hello-world image.
15558
15559 2005-06-29  Wim Taymans  <wim@fluendo.com>
15560
15561         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15562         (gst_base_sink_change_state):
15563         Small debug line.
15564
15565         * gst/gstclock.h:
15566         map SIGNAL and BROADCAST to the right function.
15567
15568         * gst/gstobject.h:
15569         Remove redundant braces.
15570
15571         * gst/gstpad.c: (gst_pad_set_caps):
15572         Don't call setcaps function when reseting caps to NULL.
15573
15574         * gst/gstsystemclock.c: (gst_system_clock_dispose),
15575         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
15576         (gst_system_clock_id_unschedule):
15577         Use BROADCAST as this is what we do.
15578
15579 2005-06-29  Wim Taymans  <wim@fluendo.com>
15580
15581         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15582         We are actually prerolling before commiting the state
15583         change. 
15584
15585 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15586
15587         * docs/manual/advanced-clocks.xml:
15588         * docs/manual/advanced-interfaces.xml:
15589         * docs/manual/advanced-metadata.xml:
15590         * docs/manual/advanced-position.xml:
15591         * docs/manual/advanced-schedulers.xml:
15592         * docs/manual/advanced-threads.xml:
15593         * docs/manual/appendix-porting.xml:
15594         * docs/manual/basics-bins.xml:
15595         * docs/manual/basics-bus.xml:
15596         * docs/manual/basics-elements.xml:
15597         * docs/manual/basics-helloworld.xml:
15598         * docs/manual/basics-pads.xml:
15599         * docs/manual/highlevel-components.xml:
15600         * docs/manual/manual.xml:
15601         * docs/manual/thread.fig:
15602           Update (until threads/scheduling) Application Development Manual;
15603           remove GstThread, add GstBus, add simple porting checklist, add
15604           documentation for tag writing, clocks, make all examples until this
15605           part compile and run.
15606         * examples/manual/Makefile.am:
15607           Update from changes to Application Development Manual; add bus
15608           example, remove thread example.
15609
15610 2005-06-28  Wim Taymans  <wim@fluendo.com>
15611
15612         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
15613         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
15614         (gst_bus_source_dispatch):
15615         Add debugging messages.
15616         Make internal methods static.
15617         Handle the case where the bus is flushed in the handler.
15618         
15619         * gst/gstelement.c: (gst_element_get_bus):
15620         Fix refcount in _get_bus();
15621
15622         * gst/gstpipeline.c: (gst_pipeline_change_state),
15623         (gst_pipeline_get_clock_func):
15624         Clock refcounting fixes.
15625         Handle the case where preroll timed out more gracefully.
15626         
15627         * gst/gstsystemclock.c: (gst_system_clock_dispose):
15628         Clean up the internal thread in dispose. This is needed
15629         for subclasses that actually get disposed.
15630         
15631         * gst/schedulers/threadscheduler.c:
15632         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
15633         (gst_thread_scheduler_dispose):
15634         Free thread pool in dispose.
15635
15636 2005-06-28  Andy Wingo  <wingo@pobox.com>
15637
15638         * tests/network-clock-utils.scm (debug, print-event): New utils.
15639
15640         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
15641         (*packet-loss*): Unified loss probability.
15642         (network-time): Report out-of-band events.
15643
15644         * tests/plot-data: Add support for out-of-band events. Hack it
15645         into this script instead of passing it down the pipe; should fix
15646         this later.
15647
15648 2005-06-28  Wim Taymans  <wim@fluendo.com>
15649
15650         * docs/gst/gstreamer.types:
15651         * docs/gst/tmpl/gstbasesrc.sgml:
15652         * docs/gst/tmpl/gstpad.sgml:
15653         Docs fixes.
15654
15655 2005-06-28  Wim Taymans  <wim@fluendo.com>
15656
15657         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15658         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
15659         (gst_proxy_pad_do_fixatecaps):
15660         Correctly proxy the check_pull_range function.
15661
15662 2005-06-28  Andy Wingo  <wingo@pobox.com>
15663
15664         * tests/network-clock.scm: Removed need for slib.
15665         
15666 2005-06-28  Wim Taymans  <wim@fluendo.com>
15667
15668         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
15669         (gst_basesink_preroll_queue_flush):
15670         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
15671         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
15672         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15673         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15674         (gst_proxy_pad_set_property):
15675         * gst/gstpad.c:
15676         * gst/gstpad.h:
15677         * gst/gstqueue.c: (gst_queue_init):
15678         The deprecated pad loop function is removed now.
15679
15680 2005-06-28  Andy Wingo  <wingo@pobox.com>
15681
15682         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
15683         New parameters, simulate network packet loss.
15684
15685         * tests/network-clock-utils.scm: Initialize the RNG.
15686
15687 2005-06-28  Wim Taymans  <wim@fluendo.com>
15688
15689         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
15690         (gst_basesink_event), (gst_basesink_deactivate):
15691         Flushing the preroll queue always needs to unlock the waiters.
15692
15693 2005-06-28  Edward Hervey  <edward@fluendo.com>
15694
15695         * gst/gstpipeline.c: (gst_pipeline_send_event): 
15696         Wheen a seek was successful on a pipeline, set the stream_time to the
15697         seek offset in order to have a synchronized stream_time.
15698
15699 2005-06-28  Wim Taymans  <wim@fluendo.com>
15700
15701         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15702         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
15703         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
15704         (gst_proxy_pad_do_fixatecaps):
15705         Call wrapper function instead of just calling the function
15706         pointers. This takes care of any locking and whatmore.
15707
15708 2005-06-28  Wim Taymans  <wim@fluendo.com>
15709
15710         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
15711         (gst_pad_pull_range):
15712         * gst/gstpad.h:
15713         CONNECTED -> LINKED.
15714
15715 2005-06-28  Andy Wingo  <wingo@pobox.com>
15716
15717         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
15718         source-munging commit!!!
15719
15720         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
15721         (gst_object_sink): Take gpointer arguments, not GstObject --
15722         avoids casts. Like GLib.
15723
15724         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
15725         activate.
15726
15727 2005-06-27  Andy Wingo  <wingo@pobox.com>
15728
15729         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
15730         remaining buffer.
15731
15732         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
15733         returns a sorted copy of the trace list.
15734         (gst_alloc_trace_print_live): New API, only prints traces with
15735         live objects. Sort the list.
15736         (gst_alloc_trace_print_all): Sort the list.
15737         (gst_alloc_trace_print): Align columns.
15738
15739         * gst/elements/gstttypefindelement.c:
15740         * gst/elements/gsttee.c:
15741         * gst/base/gstbasesrc.c:
15742         * gst/base/gstbasesink.c:
15743         * gst/base/gstbasetransform.c:
15744         * gst/gstqueue.c: Adapt for pad activation changes.
15745
15746         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
15747         sched.
15748         (gst_pipeline_dispose): Drop ref on sched.
15749
15750         * gst/gstpad.c (gst_pad_init): Set the default activate func.
15751         (gst_pad_activate_default): Push mode by default.
15752         (pre_activate_switch, post_activate_switch): New stubs, things to
15753         do before and after switching activation modes on pads.
15754         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
15755         the pad's activate function to choose which mode to activate.
15756         Shortcut on deactivation and call the right function directly.
15757         (gst_pad_activate_pull): New API, (de)activates a pad in pull
15758         mode.
15759         (gst_pad_activate_push): New API, same for push mode.
15760         (gst_pad_set_activate_function) 
15761         (gst_pad_set_activatepull_function) 
15762         (gst_pad_set_activatepush_function): Setters for new API.
15763
15764         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
15765         Trace all miniobjects.
15766         (gst_mini_object_make_writable): Unref the arg if we copy, like
15767         gst_caps_make_writable.
15768
15769         * gst/gstmessage.c (_gst_message_initialize): No trace init.
15770
15771         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
15772         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
15773         Adapt for new pad API.
15774
15775         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
15776
15777         * gst/gstelement.h:
15778         * gst/gstelement.c (gst_element_iterate_src_pads) 
15779         (gst_element_iterate_sink_pads): New API functions.
15780         
15781         * gst/gstelement.c (iterator_fold_with_resync): New utility,
15782         should fold into gstiterator.c in some form.
15783         (gst_element_pads_activate): Simplified via use of fold and
15784         delegation of decisions to gstpad->activate.
15785
15786         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
15787         help in debugging.
15788
15789         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
15790         class once in init, like gstmessage. Didn't run into this issue
15791         but it seems correct. Don't initialize a trace, gstminiobject does
15792         that.
15793
15794         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
15795         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
15796         to the bus.
15797         (assert_live_count): New util function, uses alloc traces to check
15798         cleanup.
15799
15800         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
15801         To be modified when unlink drops the internal pad.
15802
15803 2005-06-27  Wim Taymans  <wim@fluendo.com>
15804
15805         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
15806         (gst_bin_change_state):
15807         Cleanup the get_state() function a little, make sure it
15808         iterates the same set of elements.
15809         Added stub iterate_state_order().
15810
15811 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
15812
15813         * docs/gst/gstreamer-docs.sgml:
15814         * docs/gst/gstreamer-sections.txt:
15815         * docs/gst/gstreamer.types:
15816         * docs/gst/tmpl/gstbasesink.sgml:
15817         * docs/gst/tmpl/gstbasesrc.sgml:
15818         * docs/gst/tmpl/gstbasetransform.sgml:
15819         * docs/gst/tmpl/gstelement.sgml:
15820         * docs/gst/tmpl/gstiterator.sgml:
15821         * gst/base/gstbasesrc.c:
15822         * gst/base/gstbasesrc.h:
15823         * gst/base/gstbasetransform.h:
15824         * gst/gstelement.c:
15825         * gst/gstiterator.h:
15826           adding basetransform and iterator docs
15827
15828 2005-06-27  Andy Wingo  <wingo@pobox.com>
15829
15830         * docs/design/part-activation.txt: Notes on how activation should
15831         work -- not quite implemented yet.
15832
15833 2005-06-25  Wim Taymans  <wim@fluendo.com>
15834
15835         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
15836         At least get the chain function correct, needs more
15837         fixing.
15838
15839 2005-06-25  Wim Taymans  <wim@fluendo.com>
15840
15841         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15842         (gst_basesink_handle_object), (gst_basesink_event),
15843         (gst_basesink_do_sync), (gst_basesink_handle_event),
15844         (gst_basesink_change_state):
15845         * gst/gsttask.h:
15846         Right, two problems here: ghostpads don't take locks and
15847         glib _rec_mutex_lock_full() with depth==0 still locks.
15848         Catch illegal locking and g_warn them.
15849
15850 2005-06-25  Wim Taymans  <wim@fluendo.com>
15851
15852         * check/states/sinks.c: (START_TEST), (gst_object_suite):
15853         Have to check for completion now...
15854
15855 2005-06-25  Wim Taymans  <wim@fluendo.com>
15856
15857         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15858         (gst_basesink_handle_object), (gst_basesink_event),
15859         (gst_basesink_do_sync), (gst_basesink_handle_event),
15860         (gst_basesink_change_state):
15861         * gst/gstpad.h:
15862         Unlock STREAM_LOCK whatever the recursion was.
15863
15864 2005-06-25  Wim Taymans  <wim@fluendo.com>
15865
15866         * gst/base/gstbasesink.c: (gst_basesink_set_property),
15867         (gst_basesink_preroll_queue_empty),
15868         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15869         (gst_basesink_event), (gst_basesink_do_sync),
15870         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15871         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15872         (gst_basesink_change_state):
15873         Reworked the base sink, handle event and buffer serialisation
15874         correctly and removed possible deadlock.
15875         Handle EOS correctly.
15876
15877 2005-06-25  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15880         (gst_pipeline_change_state):
15881         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15882         Allow elements to post EOS in the state change function.
15883         Fix up -launch, make it exit the poll loop when the
15884         pipeline actually changed state.
15885         Fix up warning parsing in -launch.
15886
15887 2005-06-25  Wim Taymans  <wim@fluendo.com>
15888
15889         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15890         (gst_tee_sink_activate):
15891         Core takes STREAM_LOCK for us now.
15892
15893 2005-06-25  Wim Taymans  <wim@fluendo.com>
15894
15895         * gst/gstelement.c: (gst_element_get_state_func),
15896         (gst_element_set_state):
15897         * gst/gstelement.h:
15898         * gst/gstmessage.c: (gst_message_parse_error),
15899         (gst_message_parse_warning):
15900         Keep track of current target state while performing a state
15901         change so that subclasses can do something interesting.
15902         Fix parsing of warning/error messages when GError is NULL.
15903
15904 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15905
15906         * docs/gst/Makefile.am:
15907         * docs/gst/gstreamer-docs.sgml:
15908         * docs/gst/gstreamer-sections.txt:
15909         * docs/gst/gstreamer.types:
15910         * docs/gst/tmpl/gstbasesink.sgml:
15911         * docs/gst/tmpl/gstbasesrc.sgml:
15912         * docs/gst/tmpl/gstbin.sgml:
15913         * docs/gst/tmpl/gstcompat.sgml:
15914         * docs/gst/tmpl/gstfakesink.sgml:
15915         * docs/gst/tmpl/gstfakesrc.sgml:
15916         * docs/gst/tmpl/gstfilesink.sgml:
15917         * docs/gst/tmpl/gstfilesrc.sgml:
15918         * docs/gst/tmpl/gstindex.sgml:
15919         * docs/manual/appendix-quotes.xml:
15920         * gst/base/gstbasesrc.h:
15921         * gst/elements/gstfakesrc.h:
15922         * gst/gstmessage.h:
15923           start pulling in base classes and elements in our docs
15924
15925 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
15926
15927         * docs/gst/Makefile.am:
15928         * docs/libs/Makefile.am:
15929           fixed make distcheck with gtk-doc 1.3
15930
15931 2005-06-23  Wim Taymans  <wim@fluendo.com>
15932
15933         * gst/gstelement.c: (gst_element_get_state_func),
15934         (gst_element_set_state), (gst_element_change_state):
15935         When the state did not change, also report NO_PREROLL
15936         when it matters.
15937
15938 2005-06-23  Wim Taymans  <wim@fluendo.com>
15939
15940         * gst/gstpad.c: (gst_pad_event_default):
15941         * gst/gstqueue.c: (gst_queue_loop):
15942         No unsafe task pausing please.
15943
15944 2005-06-23  Wim Taymans  <wim@fluendo.com>
15945
15946         * gst/schedulers/threadscheduler.c:
15947         (gst_thread_scheduler_task_start),
15948         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15949         Ref the task before pushing it on the threadpool. This
15950         makes sure that we have a ref when the threadfunction is
15951         actually called.
15952
15953 2005-06-23  Andy Wingo  <wingo@pobox.com>
15954
15955         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15956         offset is greater than the file's size.
15957
15958         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
15959         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15960         * gst/gstobject.c (gst_object_class_init): Make the class lock
15961         recursive. Wim won't let me drop deep_notify. Decodebin works
15962         again, whoopdy doo.
15963
15964         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15965         internal pad, and hacks accordingly. Doesn't do it on the target
15966         pad because we change its caps. Probably catches all cases of
15967         interest tho.
15968         (gst_ghost_pad_set_property): Connect to notify::caps as
15969         appropritate.
15970
15971         * tests/network-clock.scm (plot-simulation): Pipe data to the
15972         elite python skript.
15973
15974         * tests/network-clock-utils.scm (define-parameter): New macro,
15975         defines a parameter that can be set via the command line.
15976         (set-parameter!, parse-parameter-arguments): Command line args
15977         parser.
15978
15979         * tests/plot-data: Simple matplotlib-based plotter, takes input on
15980         stdin.
15981
15982 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
15983
15984         * gst/elements/gsttypefindelement.c:
15985         (gst_type_find_element_handle_event):
15986           Don't restart typefinding on a discont.
15987         * gst/gstelement.c: (gst_element_set_state):
15988           Debug spelling fix.
15989         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15990           Allow changing mode of an active pad.
15991           Debug output fixes.
15992         * gst/registries/gstlibxmlregistry.c: (load_feature):
15993           Don't cast a static pad template to a normal pad template.
15994
15995 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15996
15997         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15998         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15999           remove gst_strtoll completely, since it didn't actually do
16000           anything more than what g_ascii_strtoull already does.
16001           check for range errors when deserializing
16002           do a cast for the unsigned cases; but further fixing needs
16003           a decision on what the interpretation of "(int)" and
16004           deserialization should be for values that fall outside the
16005           type's boundaries (ie, refuse, or interpret as casting)
16006
16007 2005-06-23  Wim Taymans  <wim@fluendo.com>
16008
16009         * check/Makefile.am:
16010         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16011         * docs/design/part-live-source.txt:
16012         * docs/design/part-states.txt:
16013         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16014         (gst_basesrc_set_live), (gst_basesrc_is_live),
16015         (gst_basesrc_get_range), (gst_basesrc_activate),
16016         (gst_basesrc_change_state):
16017         * gst/base/gstbasesrc.h:
16018         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16019         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16020         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16021         * gst/gstelement.c: (gst_element_get_state_func),
16022         (gst_element_set_state):
16023         * gst/gstelement.h:
16024         * gst/gsttypes.h:
16025         * tools/gst-launch.c: (event_loop), (main):
16026         Added support for live sources and other elements that
16027         cannot do preroll.
16028         Updated design docs, added live-source design doc.
16029         Implemented live source functionality in basesrc
16030         Fix error condition in _bin_get_state()
16031         Implement live source handling in -launch.
16032         Added check for live sources.
16033         Fixed case in GstBin where elements were changed state
16034         multiple times.
16035
16036
16037 2005-06-23  Andy Wingo  <wingo@pobox.com>
16038
16039         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16040         borken refcounting.
16041
16042         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16043         gst_caps_replace takes care of this for us.
16044
16045         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16046         gst_pad_set_caps on the target, not just its setcaps() function.
16047
16048         * tests/network-clock.scm: 
16049         * tests/network-clock-utils.scm: A network clock simulator.
16050         Something of an algorithmic testbed before doing something in C.
16051
16052 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16053
16054         * check/Makefile.am:
16055         * check/gst/capslist.h:
16056           copy over from 0.8, and add two with bitmasks specified with
16057           (int) 0xFF...
16058         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16059           add test to parse everything from capslist.h
16060         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16061         (main):
16062           add test for structure deserialization
16063         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16064           add tests for deserialization of strings to int types
16065         * gst/gststructure.c: (gst_structure_nth_field_name):
16066         * gst/gststructure.h:
16067           add a way to get the name of a field referenced by index
16068         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16069           instead of checking if the resulting long long lies between
16070           min and max, we check if the long long would fit into
16071           a number of bytes for the final type.
16072           This fixes cases where a string represents 2^32 - 1, which
16073           when cast to int would be the (valid) -1, but is bigger than
16074           G_MAXINT
16075
16076 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16077
16078         * gst/parse/grammar.y:
16079           add a log line for type deserialization
16080
16081 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
16082
16083         * check/gst/gstvalue.c: (START_TEST):
16084         * gst/gstvalue.c: (gst_value_deserialize):
16085           return long long, not int, so gint64 deserialization actually
16086           works.  Is there any flag that makes the compiler check this ?
16087           Fixes #308559
16088
16089 2005-06-22  Wim Taymans  <wim@fluendo.com>
16090
16091         * gst/gstbuffer.h:
16092         Added convenience macros for setting buffers in GValue.
16093
16094 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16095
16096         * check/gst/.cvsignore:
16097         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16098           add a test deserializing int64, and comment part out because
16099           it fails, yay !
16100
16101 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
16102
16103         * check/Makefile.am:
16104         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
16105         * testsuite/Makefile.am:
16106         * testsuite/caps/Makefile.am:
16107         * testsuite/caps/value_serialize.c:
16108         * testsuite/test_gst_init.c:
16109           move a value_serialize test over
16110
16111 2005-06-20  Wim Taymans  <wim@fluendo.com>
16112
16113         * gst/gstpad.c:
16114         Small doc updates.
16115         
16116         * gst/gstvalue.c: (gst_value_compare_buffer),
16117         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
16118         (gst_value_compare_flags), (gst_value_serialize_flags),
16119         (gst_value_deserialize_flags), (_gst_value_initialize):
16120         Fix serialisation of buffers, they are not boxed types anymore
16121
16122 2005-06-20  Wim Taymans  <wim@fluendo.com>
16123
16124         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16125         Testcase to show error in buffer-on-caps serialisation.
16126
16127 2005-06-20  Andy Wingo  <wingo@pobox.com>
16128
16129         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
16130         will be adding to later.
16131
16132         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
16133         if its socks fill with rocks.
16134         (gst_system_clock_obtain): Set the name on object construction.
16135         Avoid double-checked locking.
16136
16137 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
16138
16139         * gst/gsturi.c: (gst_element_make_from_uri):
16140           Fix potential endless loop.
16141
16142 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16143
16144         * check/Makefile.am:
16145           add gsttag
16146         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
16147         (main):
16148           move over from testsuite dir and clean up
16149         * configure.ac:
16150         * gst/gsttag.c:
16151         * testsuite/Makefile.am:
16152         * testsuite/tags/.cvsignore:
16153         * testsuite/tags/Makefile.am:
16154         * testsuite/tags/merge.c:
16155           remove testsuite/tags
16156
16157 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16158
16159         * docs/gst/gstreamer-sections.txt:
16160         * docs/gst/tmpl/gstenumtypes.sgml:
16161         * win32/gstenumtypes.c:
16162           clean up documentation build a little
16163
16164 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16165
16166         * check/gstcheck.h:
16167           add macros for checking refcounts on objects and caps
16168         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
16169           add some more unit tests
16170         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
16171         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
16172           fix leaked refcounts (I hope :)) so unittest works
16173         * gst/gstpad.h:
16174           whitespace removal
16175
16176 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
16177
16178         * configure.ac: back to HEAD
16179
16180 === release 0.9.1 ===
16181
16182 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16183
16184         * NEWS:
16185         * RELEASE:
16186           updated
16187
16188 2005-06-17  Andy Wingo  <wingo@pobox.com>
16189
16190         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
16191         assert; it's always possible that the pad gets deactivated in
16192         between the checks in gstpad.c and the implementation. Rely on
16193         finish_preroll() to return a FLUSHING or similar instead of on the
16194         assert.
16195         
16196         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
16197         clock and post an EOS message if we come out of finish_preroll in
16198         the playing state.
16199
16200 2005-06-16  David Schleef  <ds@schleef.org>
16201
16202         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
16203         (gst_capsfilter_set_property): Allow NULL as possible value
16204         for filter_caps property, indicating GST_CAPS_ANY.
16205
16206 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16207
16208         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
16209           fix debug output
16210         * gst/schedulers/Makefile.am:
16211           use libgst prefix
16212         * gstreamer.spec.in:
16213           fix spec for it
16214
16215 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16216
16217         * gstreamer.spec.in:
16218           clean up
16219
16220 2005-06-08  Andy Wingo  <wingo@pobox.com>
16221
16222         * gst/gstutils.c: RPAD fixes all around.
16223         (gst_element_link_pads): Refcounting fixes.
16224
16225         * tools/gst-inspect.c:
16226         * tools/gst-xmlinspect.c:
16227         * parse/grammar.y:
16228         * gst/base/gsttypefindhelper.c:
16229         * gst/base/gstbasesink.c:
16230         * gst/gstqueue.c: RPAD fixes.
16231
16232         * gst/gstghostpad.h:
16233         * gst/gstghostpad.c: New ghost pad implementation as full proxy
16234         pads. The tricky thing is they provide both source and sink
16235         interfaces, since they proxy the internal pad for the external
16236         pad, and vice versa. Implement with lower-level ProxyPad objects,
16237         with the interior proxy pad as a child of the exterior ghost pad.
16238         Should write a doc on this.
16239         
16240         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
16241         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
16242         gst_object API.
16243         
16244         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
16245         pads are real pads. No ghost pads in this file. Not documenting
16246         the myriad s/RPAD/PAD/ and REALIZE fixes.
16247         (gst_pad_class_init): Add properties for "direction" and
16248         "template". Both are construct-only, so they can't change during
16249         the life of the pad. Fixes properly deriving from GstPad.
16250         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
16251         derived objects, just set properties when creating the objects via
16252         g_object_new.
16253         (gst_pad_get_parent): Implement as a function, return NULL if the
16254         parent is not an element.
16255         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
16256         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
16257         
16258         * gst/gstobject.c (gst_object_class_init): Make name a construct
16259         property. Don't set it in the object init.
16260
16261         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
16262         with UNKNOWN direction.
16263         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
16264         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
16265         (gst_element_remove_pad): Remove ghost-pad special cases.
16266         (gst_element_pads_activate): Remove rpad cruft.
16267
16268         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
16269         catch the pad's-parent-not-an-element case.
16270
16271         * gst/gst.h: Include gstghostpad.h.
16272
16273         * gst/gst.c (init_post): No more real, ghost pads.
16274
16275         * gst/Makefile.am: Add gstghostpad.[ch].
16276
16277         * check/Makefile.am:
16278         * check/gst/gstbin.c:
16279         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
16280         into a bin creates ghost pads, and that the refcounts are right.
16281         Partly moved from gstbin.c.
16282
16283 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16284
16285         * check/gst-libs/.cvsignore:
16286         * check/gst/.cvsignore:
16287         * check/pipelines/.cvsignore:
16288           ignore more
16289         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
16290         (START_TEST), (cleanup_suite), (main):
16291           add some tests related to cleanup after running pipelines
16292
16293 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16294
16295         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
16296           add a testsuite for GstBuffer
16297
16298 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16299
16300         * gst/gstminiobject.h:
16301           add defines for accessing the refcount
16302
16303 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
16304
16305         * Makefile.am: added support for html unit test coverage reports
16306
16307 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
16308
16309         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
16310           Free existing caps if the capsfilter changes. Add a FIXME about
16311           setting those caps on the pads.
16312
16313         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
16314           Before adding a ghost pad to a parent bin, check that there isn't
16315           already one for the element on the bin. Prevents infinite recursion
16316           when using decodebin in parse pipelines. Andy says he'll rewrite the
16317           way this works anyway, so ignore the hack.
16318
16319 2005-06-02  Andy Wingo  <wingo@pobox.com>
16320
16321         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
16322         file size, pass it on to the type find helper.
16323
16324         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
16325         segment_start and segment_end properly according to the seek
16326         method. Segment_end is still a bit flaky because offset can be
16327         negative for CUR and END cases, but it takes -1 as an "unset"
16328         value.
16329
16330 2005-06-02  Wim Taymans  <wim@fluendo.com>
16331
16332         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
16333         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
16334         (gst_basesink_activate):
16335         * gst/base/gstbasesink.h:
16336         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16337         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16338         (gst_pad_query), (gst_pad_start_task):
16339         * gst/gstpad.h:
16340         * gst/gstqueue.c: (gst_queue_bufferalloc),
16341         (gst_queue_handle_sink_event), (gst_queue_chain):
16342         Bufferalloc: return GstFlowReturn to more accuratly report
16343         why allocation failed.
16344
16345 2005-06-02  Wim Taymans  <wim@fluendo.com>
16346
16347         * gst/gstpipeline.c: (gst_pipeline_send_event):
16348         Take snapshot of state without blocking.
16349
16350 2005-06-02  Wim Taymans  <wim@fluendo.com>
16351
16352         * docs/design/part-TODO.txt:
16353         * docs/design/part-caps.txt:
16354         * docs/design/part-clocks.txt:
16355         * docs/design/part-negotiation.txt:
16356         * docs/design/part-preroll.txt:
16357         Small doc updates 
16358
16359 2005-05-30  Wim Taymans  <wim@fluendo.com>
16360
16361         * gst/elements/gstidentity.c: (gst_identity_event),
16362         (gst_identity_transform), (gst_identity_get_property):
16363         Protect last_message property as it is accessed from
16364         multiple threads.
16365
16366 2005-05-30  Wim Taymans  <wim@fluendo.com>
16367
16368         * gst/gstelement.c: (gst_element_init),
16369         (gst_element_pads_activate), (gst_element_change_state):
16370         Slicker pad activation code.
16371
16372 2005-05-30  Wim Taymans  <wim@fluendo.com>
16373
16374         * gst/Makefile.am:
16375         * gst/gstelement.h:
16376         * gst/gstelementfactory.h:
16377         * gst/gsttypes.h:
16378         Move elementfactory methods to separate .h file.
16379
16380 2005-05-30  Wim Taymans  <wim@fluendo.com>
16381
16382         * docs/design/part-overview.txt:
16383         * gst/gstsystemclock.h:
16384         Small typo fixes, doc updates.
16385
16386 2005-05-30  Wim Taymans  <wim@fluendo.com>
16387
16388         * gst/gst.c: (gst_init_get_popt_table), (init_post),
16389         (init_popt_callback):
16390         Remove cpu-opt flag.
16391
16392 2005-05-30  Wim Taymans  <wim@fluendo.com>
16393
16394         * gst/gstbuffer.c: (gst_subbuffer_finalize),
16395         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
16396         * gst/gstbuffer.h:
16397         Avoid typechecking in places where not needed.
16398         Added accessor for malloc_data.
16399
16400 2005-05-30  Wim Taymans  <wim@fluendo.com>
16401
16402         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
16403         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
16404         (gst_pad_configure_sink), (gst_pad_configure_src),
16405         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
16406         (gst_pad_start_task):
16407         Propagate errors from _set_caps() in configure_src/sink
16408         functions instead of returning TRUE.
16409         FLUSH events can travel up and downstream
16410
16411
16412 2005-05-30  Wim Taymans  <wim@fluendo.com>
16413
16414         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16415         (gst_basesink_activate):
16416         Handle EOS in preroll.
16417
16418 2005-05-30  Wim Taymans  <wim@fluendo.com>
16419
16420         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16421         (gst_queue_loop), (gst_queue_handle_src_event):
16422         Remove old pieces of code
16423         Flushing the queue in an upstream event is a very bad idea.
16424
16425 2005-05-26  Andy Wingo  <wingo@pobox.com>
16426
16427         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
16428         gst_value_set_mini_object so as to add a ref on the object (which
16429         will be removed when the value is unset).
16430
16431         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
16432         arg type in ::handoff.
16433
16434         * gst/gstelement.c (gst_element_change_state): Also deactivate
16435         pads in READY->NULL, just in case the element didn't make it to
16436         PAUSED. Wingo tested, Wim approved.
16437
16438 2005-05-26  Wim Taymans  <wim@fluendo.com>
16439
16440         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16441         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
16442         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
16443         A flushing pad cannot be used to alloc_buffer from.
16444
16445 2005-05-26  Wim Taymans  <wim@fluendo.com>
16446
16447         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
16448         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
16449         (gst_bus_source_dispatch), (gst_bus_source_finalize),
16450         (gst_bus_create_watch), (gst_bus_add_watch_full):
16451         * gst/gstbus.h:
16452         Implement a real GSource and use g_main_context_wakeup() to
16453         signal new messages instead of the socketpair.
16454
16455 2005-05-25  Wim Taymans  <wim@fluendo.com>
16456
16457         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
16458         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
16459         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16460         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16461         (gst_pad_send_event), (gst_pad_start_task):
16462         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
16463         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
16464         (gst_queue_sink_activate), (gst_queue_src_activate),
16465         (gst_queue_change_state):
16466         * gst/gstqueue.h:
16467         Fix state changes for non sinks. We now change sinks, then elements
16468         with unconnected srcpads, then the rest.
16469         More efficient queue unlocking in flush and state changes.
16470         Set the pad activate mode even if it does not have an activate
16471         function.
16472
16473 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16474
16475         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
16476           Don't go in pull mode for non-seekable sources.
16477         * gst/elements/gsttypefindelement.h:
16478         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16479         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
16480         (free_entry), (stop_typefinding),
16481         (gst_type_find_element_handle_event), (find_peek),
16482         (gst_type_find_element_chain), (do_pull_typefind),
16483         (gst_type_find_element_change_state):
16484           Allow typefinding (w/o seeking) in push-mode, simplified version
16485           of what was in 0.8.
16486         * gst/gstutils.c: (gst_buffer_join):
16487         * gst/gstutils.h:
16488           gst_buffer_join() from 0.8.
16489
16490 2005-05-25  Wim Taymans  <wim@fluendo.com>
16491
16492         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
16493         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
16494         (gst_pad_send_event), (gst_pad_start_task):
16495         Disable attempt at mode switching until it is figured out.
16496
16497 2005-05-25  Wim Taymans  <wim@fluendo.com>
16498
16499         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
16500         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
16501         (gst_basesink_finish_preroll), (gst_basesink_chain),
16502         (gst_basesink_loop), (gst_basesink_activate),
16503         (gst_basesink_change_state):
16504         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
16505         (gst_basesrc_get_range), (gst_basesrc_loop),
16506         (gst_basesrc_activate):
16507         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16508         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
16509         (gst_real_pad_init), (gst_real_pad_set_property),
16510         (gst_real_pad_get_property), (gst_pad_set_active),
16511         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
16512         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
16513         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
16514         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
16515         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16516         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
16517         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
16518         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16519         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
16520         (gst_pad_stop_task):
16521         * gst/gstpad.h:
16522         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16523         (gst_queue_loop), (gst_queue_src_activate):
16524         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
16525         (gst_task_get_state):
16526         * gst/gsttask.h:
16527         * gst/schedulers/threadscheduler.c:
16528         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
16529         Implement gst_pad_pause/start/stop_task(), take STREAM lock
16530         in task function.
16531         Remove ACTIVE pad flag, use FLUSHING everywhere
16532         Added _pad_chain(), _pad_get_range() to call chain/getrange 
16533         functions.
16534         Add locks around IS_FLUSHING when reading.
16535         Take STREAM lock in chain(), get_range() functions so plugins
16536         don't need to take it anymore.
16537         
16538
16539
16540 2005-05-25  Wim Taymans  <wim@fluendo.com>
16541
16542         * tools/gst-launch.c: (event_loop):
16543         Unref message after using its contents instead of
16544         before.
16545
16546 2005-05-24  Wim Taymans  <wim@fluendo.com>
16547
16548         * docs/design/draft-ghostpads.txt:
16549         * docs/design/draft-push-pull.txt:
16550         * docs/design/draft-query.txt:
16551         * docs/design/part-overview.txt:
16552         Docs updates, added general overview doc.
16553
16554 2005-05-21  David Schleef  <ds@schleef.org>
16555
16556         * docs/gst/tmpl/old/GstBin.sgml:
16557         * docs/gst/tmpl/old/GstBuffer.sgml:
16558         * docs/gst/tmpl/old/GstCaps.sgml:
16559         * docs/gst/tmpl/old/GstClock.sgml:
16560         * docs/gst/tmpl/old/GstCompat.sgml:
16561         * docs/gst/tmpl/old/GstData.sgml:
16562         * docs/gst/tmpl/old/GstElement.sgml:
16563         * docs/gst/tmpl/old/GstEvent.sgml:
16564         * docs/gst/tmpl/old/GstIndex.sgml:
16565         * docs/gst/tmpl/old/GstStructure.sgml:
16566         * docs/gst/tmpl/old/GstTag.sgml:
16567         * docs/gst/tmpl/old/cothreads.sgml:
16568         * docs/gst/tmpl/old/cothreads_compat.sgml:
16569         * docs/gst/tmpl/old/gettext.sgml:
16570         * docs/gst/tmpl/old/gobject2gtk.sgml:
16571         * docs/gst/tmpl/old/grammar.tab.sgml:
16572         * docs/gst/tmpl/old/gst-i18n-app.sgml:
16573         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
16574         * docs/gst/tmpl/old/gst_private.sgml:
16575         * docs/gst/tmpl/old/gstaggregator.sgml:
16576         * docs/gst/tmpl/old/gstarch.sgml:
16577         * docs/gst/tmpl/old/gstatomic_impl.sgml:
16578         * docs/gst/tmpl/old/gstbufferstore.sgml:
16579         * docs/gst/tmpl/old/gstdata_private.sgml:
16580         * docs/gst/tmpl/old/gstdisksink.sgml:
16581         * docs/gst/tmpl/old/gstdisksrc.sgml:
16582         * docs/gst/tmpl/old/gstelementfactory.sgml:
16583         * docs/gst/tmpl/old/gstextratypes.sgml:
16584         * docs/gst/tmpl/old/gstfakesink.sgml:
16585         * docs/gst/tmpl/old/gstfakesrc.sgml:
16586         * docs/gst/tmpl/old/gstfdsink.sgml:
16587         * docs/gst/tmpl/old/gstfdsrc.sgml:
16588         * docs/gst/tmpl/old/gstfilesink.sgml:
16589         * docs/gst/tmpl/old/gstfilesrc.sgml:
16590         * docs/gst/tmpl/old/gsthttpsrc.sgml:
16591         * docs/gst/tmpl/old/gstidentity.sgml:
16592         * docs/gst/tmpl/old/gstindexfactory.sgml:
16593         * docs/gst/tmpl/old/gstmarshal.sgml:
16594         * docs/gst/tmpl/old/gstmd5sink.sgml:
16595         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
16596         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
16597         * docs/gst/tmpl/old/gstpadtemplate.sgml:
16598         * docs/gst/tmpl/old/gstpipefilter.sgml:
16599         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
16600         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
16601         * docs/gst/tmpl/old/gstshaper.sgml:
16602         * docs/gst/tmpl/old/gstspider.sgml:
16603         * docs/gst/tmpl/old/gstspideridentity.sgml:
16604         * docs/gst/tmpl/old/gststatistics.sgml:
16605         * docs/gst/tmpl/old/gsttee.sgml:
16606         * docs/gst/tmpl/old/gsttimecache.sgml:
16607         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
16608         * docs/gst/tmpl/old/gstxmlregistry.sgml:
16609         * docs/gst/tmpl/old/gthread-cothreads.sgml:
16610         * docs/gst/tmpl/old/types.sgml:
16611           I didn't intend to add these or check them in.
16612
16613 2005-05-19  David Schleef  <ds@schleef.org>
16614
16615         * configure.ac: Use -no-common everywhere.  In a sane world, it
16616           would be the default in libtool, because without it, you can't
16617           build DLLs on Windows.
16618         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
16619         * docs/gst/gstreamer-sections.txt:
16620         * docs/gst/tmpl/gstcpu.sgml:
16621         * docs/gst/tmpl/gstdata.sgml:
16622         * docs/gst/tmpl/gstthread.sgml:
16623
16624 2005-05-19  David Schleef  <ds@schleef.org>
16625
16626         * gst/gstminiobject.c: (gst_value_set_mini_object),
16627         (gst_value_take_mini_object), (gst_value_get_mini_object):
16628         * gst/gstminiobject.h: Add GValue set/get functions.
16629
16630 2005-05-19  Wim Taymans  <wim@fluendo.com>
16631
16632         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
16633         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
16634         (gst_subbuffer_init), (gst_buffer_is_span_fast):
16635         * gst/gstbuffer.h:
16636         * gst/gstbus.c: (gst_bus_post):
16637         * gst/gstelement.c: (gst_element_get_random_pad):
16638         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
16639         Make subbufer unref the parent in finalize.
16640         some more debugging info.
16641
16642
16643 2005-05-19  Wim Taymans  <wim@fluendo.com>
16644
16645         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16646         (gst_basesink_init), (gst_basesink_finalize),
16647         (gst_basesink_activate), (gst_basesink_change_state):
16648         Don't free preroll queue too early.
16649
16650 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16651
16652         * gst/Makefile.am:
16653         * gst/ROADMAP:
16654           Hi, I'm outdated. Please shoot me.
16655
16656 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16657
16658         * gst/gstpipeline.c: (gst_pipeline_send_event):
16659           Do not access variables after they have been deleted.
16660
16661 2005-05-19  Wim Taymans  <wim@fluendo.com>
16662
16663         * tools/gst-inspect.c: (print_plugin_features):
16664         A plugin feature does unfortunatly not use the
16665         object name yet...
16666
16667 2005-05-18  Wim Taymans  <wim@fluendo.com>
16668
16669         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
16670         Port _span() functions to new subbuffers.
16671
16672 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16673
16674         * gst/gstbin.c: (gst_bin_add_func):
16675           Fix clock settery in bins when adding kids after the clock has
16676           been selected.
16677
16678 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16679
16680         * gst/elements/gstidentity.c: (gst_identity_class_init):
16681           Workaround until signals support GstMiniObject.
16682
16683 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
16684
16685         * gst/gstbuffer.c:
16686         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
16687
16688 2005-05-18  Wim Taymans  <wim@fluendo.com>
16689
16690         * gst/base/Makefile.am:
16691         * gst/base/gstadapter.c: (gst_adapter_base_init),
16692         (gst_adapter_class_init), (gst_adapter_init),
16693         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
16694         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
16695         (gst_adapter_flush), (gst_adapter_available),
16696         (gst_adapter_available_fast):
16697         * gst/base/gstadapter.h:
16698         Ported and added adapter to the base classes.
16699
16700 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16701
16702         * gst/gst.c:
16703         * gst/gstmessage.c:
16704           Make sure the class is reffed/unreffed once before threads can be
16705           used.  Fixes #304551.
16706
16707 2005-05-17  Wim Taymans  <wim@fluendo.com>
16708
16709         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
16710         (gst_basesink_chain_unlocked), (gst_basesink_activate):
16711         * gst/gstminiobject.c: (gst_mini_object_get_type),
16712         (gst_mini_object_free):
16713         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
16714         (gst_pad_push), (gst_pad_push_event):
16715         * gst/gstqueue.c: (gst_queue_change_state):
16716         Don't queue buffers in basesink when we are flushing.
16717         Unref buffer when flushing in basesink.
16718         Flush queue when going to READY
16719         Unref buffer when _push() returns an error.
16720         Don't free MiniObject instance when refcount is incremented
16721         in _finalize() so that we can recover objects.
16722
16723 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
16724
16725         * docs/manual/advanced-schedulers.xml:
16726         * docs/manual/appendix-checklist.xml:
16727         * docs/pwg/advanced-clock.xml:
16728         * docs/pwg/advanced-interfaces.xml:
16729         * docs/pwg/advanced-request.xml:
16730         * docs/pwg/advanced-types.xml:
16731         * docs/pwg/intro-preface.xml:
16732         * examples/plugins/example.c: (gst_example_get_type),
16733         (gst_example_class_init), (gst_example_chain),
16734         (gst_example_set_property), (gst_example_get_property),
16735         (gst_example_change_state), (plugin_init):
16736         * examples/plugins/example.h:
16737           small doc fixes
16738
16739 2005-05-17  Wim Taymans  <wim@fluendo.com>
16740
16741         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
16742         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
16743         * gst/gstqueue.c: (gst_queue_change_state):
16744         Clear queue when going to READY.
16745         Remove IN_SETCAPS flag too.
16746
16747 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
16748
16749         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
16750           Remove implicit cast from gboolean to GstElementStateReturn;
16751           make sure we still return failure in paused => ready case if
16752           the parent class fails to change state and our own stop 
16753           vfunc succeeds.
16754
16755 2005-05-17  Wim Taymans  <wim@fluendo.com>
16756
16757         * tools/gst-launch.c: (event_loop):
16758         Message was unreffed too soon.
16759
16760 2005-05-16  Andy Wingo  <wingo@pobox.com>
16761
16762         * gst/gstbin.c (sink_iterator_filter): Err... um...
16763
16764         * check/gst/gstbin.c (test_ghost_pads): New test for the
16765         ghosting-if-elements-not-in-same-bin behavior.
16766
16767 2005-05-16  David Schleef  <ds@schleef.org>
16768
16769         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
16770         accessing refcount directly.
16771
16772 2005-05-15  David Schleef  <ds@schleef.org>
16773
16774         * check/Makefile.am: remove GstData checks
16775         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
16776         * gst/Makefile.am: add miniobject, remove data
16777         * gst/gst.h: add miniobject, remove data
16778         * gst/gstdata.c: remove
16779         * gst/gstdata.h: remove
16780         * gst/gstdata_private.h: remove
16781         * gst/gsttypes.h: remove GstEvent and GstMessage
16782         * gst/gstelement.c: (gst_element_post_message): fix for API changes
16783         * gst/gstmarshal.list: change BOXED -> OBJECT
16784
16785         Implement GstMiniObject.
16786         * gst/gstminiobject.c:
16787         * gst/gstminiobject.h:
16788
16789         Modify to be subclasses of GstMiniObject.
16790         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
16791         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
16792         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
16793         (gst_subbuffer_get_type), (gst_subbuffer_init),
16794         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
16795         (gst_buffer_span):
16796         * gst/gstbuffer.h:
16797         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
16798         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
16799         (_gst_event_copy), (gst_event_new):
16800         * gst/gstevent.h:
16801         * gst/gstmessage.c: (_gst_message_initialize),
16802         (gst_message_get_type), (gst_message_class_init),
16803         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
16804         (gst_message_new), (gst_message_new_error),
16805         (gst_message_new_warning), (gst_message_new_tag),
16806         (gst_message_new_state_changed), (gst_message_new_application):
16807         * gst/gstmessage.h:
16808         * gst/gstprobe.c: (gst_probe_perform),
16809         (gst_probe_dispatcher_dispatch):
16810         * gst/gstprobe.h:
16811         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
16812         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
16813         (_gst_query_copy), (gst_query_new):
16814
16815         Update elements for GstData -> GstMiniObject changes
16816         * gst/gstquery.h:
16817         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
16818         (gst_queue_chain), (gst_queue_loop):
16819         * gst/elements/gstbufferstore.c:
16820         (gst_buffer_store_add_buffer_func),
16821         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
16822         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16823         (gst_fakesink_render):
16824         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
16825         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
16826         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
16827         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
16828         (gst_filesrc_create_read):
16829         * gst/elements/gstidentity.c: (gst_identity_class_init):
16830         * gst/elements/gsttypefindelement.c:
16831         (gst_type_find_element_src_event), (free_entry_buffers),
16832         (gst_type_find_element_handle_event):
16833         * libs/gst/dataprotocol/dataprotocol.c:
16834         (gst_dp_header_from_buffer):
16835         * libs/gst/dataprotocol/dataprotocol.h:
16836         * libs/gst/dataprotocol/dp-private.h:
16837
16838 2005-05-15  David Schleef  <ds@schleef.org>
16839
16840         * gst/elements/gstelements.c: Don't include headers that were
16841         just removed.
16842
16843 2005-05-15  David Schleef  <ds@schleef.org>
16844
16845         * gst/elements/Makefile.am: Remove some elements that don't
16846         need to be in the core (or even exist at all).
16847         * gst/elements/gstaggregator.c:
16848         * gst/elements/gstaggregator.h:
16849         * gst/elements/gstmd5sink.c:
16850         * gst/elements/gstmd5sink.h:
16851         * gst/elements/gstmultifilesrc.c:
16852         * gst/elements/gstmultifilesrc.h:
16853         * gst/elements/gstpipefilter.c:
16854         * gst/elements/gstpipefilter.h:
16855         * gst/elements/gstshaper.c:
16856         * gst/elements/gstshaper.h:
16857         * gst/elements/gststatistics.c:
16858         * gst/elements/gststatistics.h:
16859         * po/POTFILES.in: Remove above files.
16860
16861 2005-05-14  Andy Wingo  <wingo@pobox.com>
16862
16863         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16864         so as to get the refs right.
16865         (sink_iterator_filter): New function, wraps bin_element_is_sink,
16866         unreffing objects that don't pass the filter.
16867
16868         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16869         gst_element_set_bus.
16870         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16871         normal cases, this will destroy the bus.
16872
16873         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16874         object.
16875
16876         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16877         has no sinks.
16878
16879 2005-05-13  Andy Wingo  <wingo@pobox.com>
16880
16881         * gst/gstutils.c (gst_element_link_pads): Instead of calling
16882         gst_pad_link, call pad_link_maybe_ghosting,
16883         (pad_link_maybe_ghosting): Links pads, making sure that the
16884         elements being linked are in the same bin.
16885         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16886         Helpers for pad_link_maybe_ghosting.
16887
16888 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16889
16890         * configure.ac:
16891           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16892
16893 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16894
16895         * docs/design/part-element-source.txt:
16896           Mention GstPushSrc
16897
16898 2005-05-12  Wim Taymans  <wim@fluendo.com>
16899
16900         * gst/base/gstbasesink.c: (gst_basesink_init),
16901         (gst_basesink_activate):
16902         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16903         (gst_basesrc_is_seekable):
16904         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16905         (bin_element_is_sink), (gst_bin_change_state):
16906         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16907         * gst/gstelement.h:
16908         Identify sinks by their flag to avoid overly complicated
16909         checks (fow now).
16910         Do state changes even for elements not reachable from the
16911         sinks.
16912         BaseSink is a sink now :)
16913         Some more debugging info in the basesrc.
16914
16915
16916 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16917
16918         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16919           Implement _query on a bin, similar to _send_event.
16920
16921 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
16922
16923         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16924           Discont event offset format should be GST_FORMAT_BYTES,
16925           not GST_FORMAT_TIME.
16926
16927 2005-05-12  Wim Taymans  <wim@fluendo.com>
16928
16929         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16930         Same fix as Ronald's but without the signal. 
16931
16932 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16933
16934         * gst/gstutils.c: (gst_element_query_position):
16935           No, an element is not a pad.
16936
16937 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16938
16939         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16940         (gst_bin_get_state):
16941           If a child is removed from a bin while we remove the child from
16942           the bin and while we're retrieving its state, signal this to the
16943           get_state function so we abort the wait (instead of waiting for
16944           a timeout) and can immediately re-iterate over all other elements.
16945
16946 2005-05-12  Wim Taymans  <wim@fluendo.com>
16947
16948         * gst/base/Makefile.am:
16949         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16950         (gst_basesrc_start):
16951         * gst/base/gstbasesrc.h:
16952         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16953         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16954         (gst_pushsrc_init), (gst_pushsrc_create):
16955         * gst/base/gstpushsrc.h:
16956         Added is_seekable to BaseSrc
16957         Added simple PushSrc.
16958
16959 2005-05-11  Wim Taymans  <wim@fluendo.com>
16960
16961         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16962         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16963         (gst_element_link_pads), (gst_element_query_position),
16964         (gst_element_query_convert), (intersect_caps_func),
16965         (gst_pad_query_position), (gst_pad_query_convert):
16966         Fix refcounting in utils function.
16967         No point in trying to activate a pad when it's added, it could
16968         be added from the state change function and then we deadlock, the
16969         element has to decide what to do.
16970
16971 2005-05-10  Andy Wingo  <wingo@pobox.com>
16972
16973         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16974         *all* the arguments.
16975
16976         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16977         stream lock if it's a FLUSH_DONE; normal flushes don't get the
16978         lock (according to the docs -- if this is wrong change the docs).
16979
16980         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16981         flush messages in the NULL state.
16982
16983         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16984         message immediately and return.
16985         (gst_bus_set_flushing): New function. If a bus is flushing, it
16986         flushes out any queued messages and immediately unrefs new
16987         messages. This is so when an element goes to NULL, all of the
16988         unhandled messages coming from it can be freed, and their
16989         references to the element dropped. In other words: message source
16990         ref considered harmful :P
16991
16992         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16993         we're finished with it.
16994
16995         * gst/gstmessage.c (gst_message_new_state_changed): 
16996
16997 2005-05-10  Wim Taymans  <wim@fluendo.com>
16998
16999         * gst/gstvalue.c: (gst_value_compare_flags),
17000         (gst_value_serialize_flags), (gst_value_deserialize_flags),
17001         (_gst_value_initialize):
17002         Added flags serialize/deserialize/compare code.
17003
17004 2005-05-09  Andy Wingo  <wingo@pobox.com>
17005
17006         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17007         Intersect the peer's caps with our caps.
17008
17009 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17010
17011         * gst/base/gsttypefindhelper.c: (helper_find_peek):
17012         * gst/elements/gsttypefindelement.c: (find_peek):
17013           Handle negative offsets better. Fixes decodebin.
17014
17015 2005-05-09  Wim Taymans  <wim@fluendo.com>
17016
17017         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17018         (gst_base_transform_event):
17019         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17020         Implement accept_caps.
17021         Fix silly lock/unlock mismatch in base class.
17022
17023 2005-05-09  Wim Taymans  <wim@fluendo.com>
17024
17025         * docs/design/draft-push-pull.txt:
17026         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17027         * gst/elements/gstfilesink.c: (gst_filesink_init),
17028         (gst_filesink_query):
17029         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17030         (gst_type_find_handle_src_query), (find_element_get_length):
17031         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17032         * gst/gstelement.h:
17033         * gst/gstmessage.c:
17034         * gst/gstmessage.h:
17035         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17036         (gst_real_pad_get_caps_unlocked),
17037         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17038         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17039         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17040         (gst_real_pad_dispose), (gst_real_pad_finalize),
17041         (gst_pad_load_and_link), (gst_pad_save_thyself),
17042         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17043         (gst_pad_check_pull_range), (gst_pad_pull_range),
17044         (gst_pad_template_get_type), (gst_pad_template_class_init),
17045         (gst_pad_template_init), (gst_pad_template_dispose),
17046         (name_is_valid), (gst_static_pad_template_get),
17047         (gst_pad_template_new), (gst_static_pad_template_get_caps),
17048         (gst_pad_template_get_caps), (gst_pad_set_element_private),
17049         (gst_pad_get_element_private), (gst_pad_start_task),
17050         (gst_pad_pause_task), (gst_pad_stop_task),
17051         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17052         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17053         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17054         (gst_ghost_pad_new):
17055         * gst/gstpad.h:
17056         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17057         (gst_query_new_position), (gst_query_set_position),
17058         (gst_query_parse_position), (gst_query_new_convert),
17059         (gst_query_set_convert), (gst_query_parse_convert):
17060         * gst/gstquery.h:
17061         * gst/gstqueryutils.c:
17062         * gst/gstqueryutils.h:
17063         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17064         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17065         (gst_queue_handle_src_query):
17066         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17067         (gst_element_query_position), (gst_element_query_convert),
17068         (intersect_caps_func), (gst_pad_query_position),
17069         (gst_pad_query_convert):
17070         * gst/gstutils.h:
17071         * tools/gst-inspect.c: (print_pad_info):
17072         * tools/gst-xmlinspect.c: (print_element_info):
17073         Remove old query functions. Ported old code.
17074         Added position/convert helper functions to gstutils.
17075         Reordered gstpad.c code, grouping relevant things.
17076         Remove gst_message_new(), always need to speficy a specific
17077         message.
17078
17079
17080 2005-05-09  Andy Wingo  <wingo@pobox.com>
17081
17082         * gst/gstiterator.h: Add some includes.
17083
17084         * gst/gstqueryutils.h: Include more headers.
17085
17086         * gst/gstpad.h:
17087         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
17088         some uses of gst_pad_query.
17089
17090         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
17091         NULL out parameters.
17092         (gst_query_new_position): New proc, allocates a new position
17093         query.
17094
17095         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
17096         gstqueryutils.c to the build.
17097
17098         * gst/gststructure.c (gst_structure_set_valist): Implement with
17099         the generic G_VALUE_COLLECT.
17100         
17101 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
17102
17103         * gst/Makefile.am: (gst_headers):
17104         Added gstqueryutils.h to the list of headers to install, that was
17105         a 'nachty' move wingo :)
17106
17107 2005-05-06  Andy Wingo  <wingo@pobox.com>
17108
17109         * gst/gstquery.h
17110         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
17111         GstData, init a memchunk.
17112         (standard_definitions): Add a few query types, deprecate a few.
17113         (gst_query_get_type): New proc.
17114         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
17115         implementation.
17116         (gst_query_new_application, gst_query_get_structure): New public
17117         procs.
17118
17119         * docs/design/draft-query.txt: Removed LINKS from the query types,
17120         because all the rest can be dispatched to other pads -- seemed
17121         ugly to have a query that couldn't be dispatched. internal_links
17122         is fine as a pad method.
17123
17124         * gst/gstpad.h: Add query2 as a pad method, add the new functions
17125         in gstpad.c, but maintain binary compatibility for the moment.
17126         Will fix before 0.9 is out.
17127
17128         * gst/gstqueryutils.c: 
17129         * gst/gstqueryutils.h: New files, implement 3 methods for each
17130         query type: parse_query, parse_response, and set. Probably need an
17131         allocator as well.
17132
17133         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
17134
17135         * gst/elements/gstfilesink.c (gst_filesink_query2):
17136         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
17137         query_types, and formats methods.
17138
17139         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
17140         (gst_pad_set_query2_function): New functions.
17141         (gst_real_pad_init): Set query2_default as the default query2
17142         function. Basically just dispatches to internally linked pads.
17143
17144         Needs review!
17145         
17146         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
17147         without using the atomic operations. Only one thread can possibly
17148         be accessing the data at this point. Changed so as to avoid
17149         gst_atomic operations.
17150
17151 2005-05-06  Wim Taymans  <wim@fluendo.com>
17152
17153         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
17154         Also set caps if we use the fallback buffer alloc.
17155
17156 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
17157
17158         * docs/gst/Makefile.am:
17159         * docs/gst/gstreamer-docs.sgml:
17160         * docs/gst/gstreamer-sections.txt:
17161         * docs/gst/tmpl/gstatomic.sgml:
17162         * docs/gst/tmpl/gstmemchunk.sgml:
17163         * testsuite/elements/struct_i386.h:
17164         * win32/GStreamer.vcproj:
17165         * win32/Makefile:
17166           Purge GstAtomic stuff from docs and win32 makefiles as well
17167
17168 2005-05-06  Wim Taymans  <wim@fluendo.com>
17169
17170         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
17171         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
17172         * gst/gstpad.c: (gst_pad_peer_get_caps):
17173         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17174         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17175         (gst_queue_src_activate), (gst_queue_change_state):
17176         * gst/gstqueue.h:
17177         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17178         (intersect_caps_func):
17179         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
17180         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
17181         Some fixes for the peer_get_caps() change.
17182
17183 2005-05-06  Wim Taymans  <wim@fluendo.com>
17184
17185         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17186         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
17187         (gst_basesink_activate):
17188         Actually do something with error codes returned from the push
17189         functions.
17190
17191 2005-05-06  Wim Taymans  <wim@fluendo.com>
17192
17193         * docs/design/part-element-sink.txt:
17194         * docs/design/part-element-source.txt:
17195         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17196         (gst_basesink_event), (gst_basesink_activate):
17197         * gst/base/gstbasesink.h:
17198         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
17199         (gst_basesrc_activate):
17200         * gst/base/gstbasesrc.h:
17201         * gst/gstelement.c: (gst_element_pads_activate):
17202         Some more documentation.
17203         Fixed scheduling decision in _pads_activate().
17204
17205 2005-05-05  Andy Wingo  <wingo@pobox.com>
17206
17207         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
17208         the test suite.
17209
17210 2005-05-05  Wim Taymans  <wim@fluendo.com>
17211
17212         * gst/base/Makefile.am:
17213         * gst/base/gstbasesink.h:
17214         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17215         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
17216         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
17217         (gst_collectpads_class_init), (gst_collectpads_init),
17218         (gst_collectpads_finalize), (gst_collectpads_new),
17219         (gst_collectpads_set_function), (gst_collectpads_add_pad),
17220         (find_pad), (gst_collectpads_remove_pad),
17221         (gst_collectpads_is_active), (gst_collectpads_collect),
17222         (gst_collectpads_collect_range), (gst_collectpads_start),
17223         (gst_collectpads_stop), (gst_collectpads_peek),
17224         (gst_collectpads_pop), (gst_collectpads_available),
17225         (gst_collectpads_read), (gst_collectpads_flush),
17226         (gst_collectpads_chain):
17227         * gst/base/gstcollectpads.h:
17228         * gst/elements/Makefile.am:
17229         * gst/elements/gstelements.c:
17230         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17231         (gst_fakesink_get_times), (gst_fakesink_event),
17232         (gst_fakesink_preroll), (gst_fakesink_render):
17233         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
17234         (gst_filesink_init), (gst_filesink_set_location),
17235         (gst_filesink_open_file), (gst_filesink_close_file),
17236         (gst_filesink_pad_query), (gst_filesink_event),
17237         (gst_filesink_render), (gst_filesink_change_state):
17238         * gst/elements/gstfilesink.h:
17239         Added object to help in making collect pad based elements.
17240         Ported filesink.
17241         Make event function in sink baseclass return gboolean.
17242
17243 2005-05-05  Wim Taymans  <wim@fluendo.com>
17244
17245         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
17246         (gst_bin_get_by_name):
17247         * gst/gstbuffer.h:
17248         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
17249         (gst_clock_finalize):
17250         * gst/gstdata.c: (gst_data_replace):
17251         * gst/gstdata.h:
17252         * gst/gstelement.c: (gst_element_request_pad),
17253         (gst_element_pads_activate):
17254         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
17255         (gst_object_unref):
17256         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17257         (gst_pad_set_checkgetrange_function),
17258         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
17259         (gst_pad_check_pull_range), (gst_pad_pull_range),
17260         (gst_static_pad_template_get_caps), (gst_pad_start_task),
17261         (gst_pad_pause_task), (gst_pad_stop_task):
17262         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17263         (gst_element_request_pad), (gst_pad_proxy_getcaps):
17264         Fix name lookup in GstBin.
17265         Added _data_replace() function and _buffer_replace()
17266         Use finalize method to clean up clock.
17267         Fix refcounting on request pads.
17268         Fix pad schedule mode error.
17269         Some more object refcounting debug info,
17270
17271
17272 2005-05-04  Andy Wingo <wingo@pobox.com>
17273
17274         * check/Makefile.am:
17275         * docs/gst/tmpl/gstatomic.sgml:
17276         * docs/gst/tmpl/gstplugin.sgml:
17277         * gst/base/gstbasesink.c: (gst_basesink_activate):
17278         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
17279         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
17280         (gst_basesrc_query), (gst_basesrc_set_property),
17281         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
17282         (gst_basesrc_activate):
17283         * gst/base/gstbasesrc.h:
17284         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
17285         (gst_base_transform_src_activate):
17286         * gst/elements/gstelements.c:
17287         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17288         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17289         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17290         * gst/elements/gsttypefindelement.c: (find_element_get_length),
17291         (gst_type_find_element_checkgetrange),
17292         (gst_type_find_element_activate):
17293         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
17294         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
17295         (gst_caps_load_thyself):
17296         * gst/gstelement.c: (gst_element_pads_activate),
17297         (gst_element_save_thyself), (gst_element_restore_thyself):
17298         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
17299         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
17300         * gst/gstpad.h:
17301         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
17302         (gst_xml_parse_file), (gst_xml_parse_memory),
17303         (gst_xml_get_element), (gst_xml_make_element):
17304         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17305         (_file_index_id_save_xml), (gst_file_index_commit):
17306         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
17307         (read_enum), (load_pad_template), (load_feature), (load_plugin),
17308         (load_paths):
17309         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
17310         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
17311         * tools/gst-complete.c: (main):
17312         * tools/gst-compprep.c: (main):
17313         * tools/gst-inspect.c: (print_element_properties_info):
17314         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
17315         * tools/gst-xmlinspect.c: (print_element_properties):
17316         GCC 4 fixen.
17317         
17318 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
17319
17320         * gst/gstplugin.c: (gst_plugin_check_module),
17321         (gst_plugin_check_file), (gst_plugin_load_file):
17322             apply patch from #172526 to make register work on MacOSX
17323
17324 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17325
17326         * docs/gst/tmpl/gstconfig.sgml:
17327         * gst/gstconfig.h.in:
17328           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
17329         * testsuite/debug/printf_extension.c: (main):
17330           Do not use GST_PTR_FORMAT on pointers to types with
17331           sizeof < sizeof(gpointer).  Fixes test on 64-bit
17332         * testsuite/elements/property.h:
17333           use correct printf format
17334
17335 2005-05-02  Wim Taymans  <wim@fluendo.com>
17336
17337         * docs/design/draft-push-pull.txt:
17338         * docs/design/draft-query.txt:
17339         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
17340         (gst_basesrc_start):
17341         Added draft for new query API.
17342         Added draft for better selecting scheduling methods.
17343         Make basesrc ignore length if the subclass does not support
17344         it.
17345
17346 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17347
17348         * gst/Makefile.am:
17349           possible fixes for automake-1.5 - _LIBADD is reserved
17350
17351 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
17352
17353         * docs/faq/Makefile.am:
17354         * docs/manual/Makefile.am:
17355         * docs/manuals.mak:
17356         * docs/pwg/Makefile.am:
17357         * gst/Makefile.am:
17358           possible fixes for automake-1.5
17359
17360 2005-04-28  Wim Taymans  <wim@fluendo.com>
17361
17362         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17363         (gst_basesink_pad_getcaps), (gst_basesink_init),
17364         (gst_basesink_do_sync):
17365         * gst/gstclock.c: (gst_clock_entry_new):
17366         * gst/gstevent.c: (gst_event_discont_get_value):
17367         * gst/gstpipeline.c: (pipeline_bus_handler),
17368         (gst_pipeline_change_state):
17369         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
17370         Better debugging of clocking info.
17371         Allow NULL values when getting discont values.
17372
17373 2005-04-27  Wim Taymans  <wim@fluendo.com>
17374
17375         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17376         * check/gst/gstpad.c: (gst_pad_suite):
17377         Increase timeout for checks.
17378
17379 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17380
17381         * check/Makefile.am:
17382           fix the broken rule for cleanup.  Apparently this rule is
17383           only needed on FC2, so maybe this warrants further autotool
17384           inspection.
17385
17386 2005-04-26  Wim Taymans  <wim@fluendo.com>
17387
17388         * gst/gsttrashstack.h:
17389         Ooohh. a nasty one! After having a failed pop() from the stack,
17390         it's possible that the stack is empty. In that case, don't
17391         follow the NULL pointer.
17392
17393 2005-04-25  Wim Taymans  <wim@fluendo.com>
17394
17395         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17396         (gst_pad_set_checkgetrange_function),
17397         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
17398         (gst_pad_check_pull_range), (gst_pad_pull_range),
17399         (gst_static_pad_template_get_caps), (gst_pad_start_task),
17400         (gst_pad_pause_task), (gst_pad_stop_task):
17401         * gst/gstplugin.c: (gst_plugin_load):
17402         * gst/gstplugin.h:
17403         Remove gst_library_load as it does more harm than good with
17404         the new g_module flags.
17405         Revert bogus caps template check in pad linking, pad caps
17406         are important when linking not the template, which is more
17407         general than the current caps.
17408
17409 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17410
17411         * gst/autoplug/.cvsignore:
17412         * gst/autoplug/Makefile.am:
17413         * gst/autoplug/gstsearchfuncs.c:
17414         * gst/autoplug/gstsearchfuncs.h:
17415         * gst/autoplug/gstspider.c:
17416         * gst/autoplug/gstspider.h:
17417         * gst/autoplug/gstspideridentity.c:
17418         * gst/autoplug/gstspideridentity.h:
17419         * gst/autoplug/spidertest.c:
17420           Die, spider, die.
17421
17422 2005-04-25  Wim Taymans  <wim@fluendo.com>
17423
17424         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17425         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17426         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
17427         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
17428         * gst/gstpad.h:
17429         Added stubs for unimplemented functions. 
17430
17431 2005-04-24  David Schleef  <ds@schleef.org>
17432
17433         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
17434         please fix.
17435
17436 2005-04-24  David Schleef  <ds@schleef.org>
17437
17438         Convert everything from GstAtomicInt to g_atomic_int_*, and
17439         remove gstatomic.
17440         * gst/Makefile.am:
17441         * gst/gstatomic.c:
17442         * gst/gstatomic.h:
17443         * gst/gstatomic_impl.h:
17444         * gst/gstbuffer.c:
17445         * gst/gstcaps.c:
17446         * gst/gstcaps.h:
17447         * gst/gstclock.c:
17448         * gst/gstclock.h:
17449         * gst/gstdata.c:
17450         * gst/gstdata.h:
17451         * gst/gstdata_private.h:
17452         * gst/gstevent.c:
17453         * gst/gstinfo.c:
17454         * gst/gstinfo.h:
17455         * gst/gstmessage.c:
17456         * gst/gstobject.c:
17457         * gst/gstobject.h:
17458         * gst/gststructure.c:
17459         * gst/gststructure.h:
17460         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
17461         * gst/gstutils.h:
17462
17463 2005-04-24  David Schleef  <ds@schleef.org>
17464
17465         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
17466         make the regressions tests work.  Remove some code that is no
17467         longer true.
17468         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
17469         Disable warning for pads without templates.
17470
17471 2005-04-24  David Schleef  <ds@schleef.org>
17472
17473         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
17474         functions that handle filtered links.
17475         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
17476         removed functions.
17477         * gst/gstutils.c: Fix/remove utility functions that handle
17478         filtered caps.
17479         * gst/gstutils.h:
17480         * gst/gstvalue.c: Add serialization/deserialization of caps
17481         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
17482         requires fixing so that the filter caps notation creates
17483         a capsfilter element and sets the filter_caps property.  I
17484         think everyone probably wants to keep the shorthand notation.
17485         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
17486         * docs/gst/tmpl/gstpad.sgml:
17487
17488         * gst/elements/gstelements.c: Register capsfilter element.
17489         * gst/Makefile.am: fix spacing
17490         * docs/random/ds/0.9-suggested-changes: random
17491
17492 2005-04-23  David Schleef  <ds@schleef.org>
17493
17494         * gst/elements/Makefile.am:
17495         * gst/elements/gstcapsfilter.c: New element that acts like an
17496         identity, but filters caps.  Will eventually replace filtered
17497         caps in pad linking.
17498         * gst/gstutils.c: (gst_element_create_all_pads): New function
17499         to create all the ALWAYS pads that are registered with an
17500         element class.  This functionality should eventually be
17501         merged in with GstElement initialization.
17502         * gst/gstutils.h:
17503         * testsuite/trigger/README: part of trigger test code that should
17504         have been checked in a long time ago.
17505
17506 2005-04-23  David Schleef  <ds@schleef.org>
17507
17508         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
17509         needed with new versions of libtool (nobody will confirm this),
17510         and hard to carry around.
17511         * gst/autoplug/Makefile.am:
17512         * gst/base/Makefile.am:
17513         * gst/elements/Makefile.am:
17514         * gst/indexers/Makefile.am:
17515         * gst/schedulers/Makefile.am:
17516         * libs/gst/bytestream/Makefile.am:
17517         * libs/gst/control/Makefile.am:
17518         * libs/gst/dataprotocol/Makefile.am:
17519         * libs/gst/getbits/Makefile.am:
17520
17521 2005-04-21  Wim Taymans  <wim@fluendo.com>
17522
17523         * docs/design/draft-push-pull.txt:
17524         * docs/design/part-MT-refcounting.txt:
17525         * docs/design/part-TODO.txt:
17526         * docs/design/part-caps.txt:
17527         * docs/design/part-events.txt:
17528         * docs/design/part-gstbus.txt:
17529         * docs/design/part-gstpipeline.txt:
17530         * docs/design/part-messages.txt:
17531         * docs/design/part-push-pull.txt:
17532         * docs/design/part-query.txt:
17533         Some more docs.
17534
17535 2005-04-21  Wim Taymans  <wim@fluendo.com>
17536
17537         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
17538         (gst_message_new), (gst_message_new_error),
17539         (gst_message_new_warning), (gst_message_new_tag),
17540         (gst_message_new_state_changed), (gst_message_new_application),
17541         (gst_message_get_structure):
17542         * gst/gstmessage.h:
17543         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17544         (gst_structure_copy_conditional):
17545         Use parent refcount in GstMessage to ensure GstStructure
17546         consistency.
17547         Cleaned up headers a bit.
17548         
17549
17550 2005-04-20  Wim Taymans  <wim@fluendo.com>
17551
17552         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17553         (gst_basesink_pad_getcaps), (gst_basesink_init),
17554         (gst_basesink_chain_unlocked):
17555         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
17556         (gst_type_find_helper):
17557         * gst/elements/gsttypefindelement.c:
17558         (gst_type_find_element_have_type), (gst_type_find_element_init),
17559         (stop_typefinding), (gst_type_find_element_handle_event),
17560         (find_suggest), (gst_type_find_element_chain),
17561         (gst_type_find_element_checkgetrange),
17562         (gst_type_find_element_getrange), (do_typefind),
17563         (gst_type_find_element_activate):
17564         * gst/gstbuffer.c: (_gst_buffer_sub_free),
17565         (gst_buffer_default_free), (gst_buffer_default_copy),
17566         (gst_buffer_set_caps):
17567         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
17568         (gst_caps_replace):
17569         * gst/gstmessage.c: (gst_message_new),
17570         (gst_message_new_state_changed):
17571         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17572         (gst_pad_set_checkgetrange_function),
17573         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
17574         (gst_pad_set_caps), (gst_pad_check_pull_range),
17575         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
17576         * gst/gstpad.h:
17577         * gst/gsttypefind.c: (gst_type_find_register):
17578         Make gst_caps_replace() work like other _replace() functions.
17579         Use _caps_replace() where possible.
17580         Make sure _message_new() initialises its field.
17581         Add gst_static_pad_template_get_caps()
17582
17583
17584 2005-04-18  Andy Wingo  <wingo@pobox.com>
17585
17586         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
17587         on the peer, not the pad. I think that was a typo. Pass an extra
17588         arg to see if random access is possible. Activate the pads as
17589         PULL_RANGE if possible.
17590
17591         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
17592
17593         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
17594         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
17595         to PROP_....
17596
17597 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17598
17599         * docs/faq/using.xml:
17600           Add note on gstreamer-properties (#154996).
17601
17602 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17603
17604         * docs/random/bbb/optional-properties:
17605           Some analysis on optional properties.
17606
17607 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17608
17609         * docs/gst/tmpl/gstelementfactory.sgml:
17610         * gst/gstelement.h:
17611         * gst/gstelementfactory.c: (gst_element_factory_init),
17612         (gst_element_factory_cleanup), (gst_element_register),
17613         (__gst_element_factory_add_static_pad_template),
17614         (gst_element_factory_get_static_pad_templates),
17615         (gst_element_factory_can_src_caps),
17616         (gst_element_factory_can_sink_caps):
17617         * gst/registries/Makefile.am:
17618         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
17619         (gst_xml_registry_class_init), (gst_xml_registry_init),
17620         (gst_xml_registry_new), (gst_xml_registry_set_property),
17621         (gst_xml_registry_get_property), (get_time), (make_dir),
17622         (gst_xml_registry_get_perms_func),
17623         (plugin_times_older_than_recurse), (plugin_times_older_than),
17624         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
17625         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
17626         (add_to_char_array), (read_string), (read_uint), (read_enum),
17627         (load_pad_template), (load_feature), (load_plugin), (load_paths),
17628         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
17629         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
17630         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
17631         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
17632         (gst_xml_registry_rebuild):
17633         * gst/registries/gstlibxmlregistry.h:
17634         * tools/gst-compprep.c: (main):
17635         * tools/gst-inspect.c: (print_pad_templates_info):
17636         * tools/gst-xmlinspect.c: (print_element_info):
17637           Use libxml2 for registry parsing, use staticpadtemplates in
17638           elementfactories. Makes gst_init() +/- 10x faster.
17639
17640 2005-04-12  Wim Taymans  <wim@fluendo.com>
17641
17642         * gst/base/Makefile.am:
17643         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17644         (gst_basesink_pad_getcaps), (gst_basesink_init),
17645         (gst_basesink_event), (gst_basesink_change_state):
17646         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17647         (gst_basesrc_init), (gst_basesrc_query),
17648         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17649         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17650         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17651         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17652         (gst_basesrc_stop), (gst_basesrc_activate),
17653         (gst_basesrc_change_state):
17654         * gst/base/gsttypefindhelper.c: (helper_find_peek),
17655         (helper_find_suggest), (gst_type_find_helper):
17656         * gst/base/gsttypefindhelper.h:
17657         * gst/elements/Makefile.am:
17658         * gst/elements/gstelements.c:
17659         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17660         (gst_fakesink_get_times), (gst_fakesink_event),
17661         (gst_fakesink_preroll), (gst_fakesink_render):
17662         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17663         (gst_fakesrc_init), (gst_fakesrc_event_handler),
17664         (gst_fakesrc_get_property), (gst_fakesrc_create),
17665         (gst_fakesrc_start), (gst_fakesrc_stop):
17666         * gst/elements/gstfakesrc.h:
17667         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
17668         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17669         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17670         (gst_filesrc_create_read), (gst_filesrc_create),
17671         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
17672         (gst_filesrc_start):
17673         * gst/elements/gsttypefindelement.c:
17674         (gst_type_find_element_have_type), (gst_type_find_element_init),
17675         (start_typefinding), (stop_typefinding), (push_buffer_store),
17676         (gst_type_find_element_handle_event),
17677         (gst_type_find_element_chain),
17678         (gst_type_find_element_checkgetrange),
17679         (gst_type_find_element_getrange), (do_typefind),
17680         (gst_type_find_element_activate),
17681         (gst_type_find_element_change_state):
17682         * gst/elements/gsttypefindelement.h:
17683         * gst/gstpipeline.c: (pipeline_bus_handler):
17684         Added typefind helper.
17685         Small preroll fix in the base sink.
17686         Disable typefind code in basesrc.
17687         Crude port of typefindelement.
17688         Fakesrc cleanups.
17689
17690
17691 2005-04-11  Wim Taymans  <wim@fluendo.com>
17692
17693         * check/gst/gstbus.c: (gstbus_suite):
17694         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
17695         * check/gstcheck.h:
17696           Fix up the timeout so that the test does not fail.
17697
17698 2005-04-06  Wim Taymans  <wim@fluendo.com>
17699
17700         * gst/base/README:
17701         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17702         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
17703         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
17704         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
17705         (gst_basesrc_check_get_range), (gst_basesrc_loop),
17706         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
17707         (gst_basesrc_stop), (gst_basesrc_activate),
17708         (gst_basesrc_change_state), (basesrc_find_peek),
17709         (basesrc_find_suggest), (gst_basesrc_type_find):
17710         * gst/base/gstbasesrc.h:
17711         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
17712         (gst_filesrc_class_init), (gst_filesrc_init),
17713         (gst_filesrc_finalize), (gst_filesrc_set_location),
17714         (gst_filesrc_set_property), (gst_filesrc_get_property),
17715         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
17716         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
17717         (gst_filesrc_create_read), (gst_filesrc_create),
17718         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
17719         * gst/elements/gstfilesrc.h:
17720         * gst/gstelement.c: (gst_element_get_state_func),
17721         (gst_element_lost_state), (gst_element_pads_activate):
17722         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17723         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
17724         (gst_pad_pull_range):
17725         * gst/gstpad.h:
17726         More work on the generic source base class, implement seeking,
17727         query.
17728         Make filesrc extend the base source class.
17729         Added gst_pad_set_checkgetrange_function to GstPad.
17730
17731 2005-04-06  Andy Wingo  <wingo@pobox.com>
17732
17733         * pkgconfig/gstreamer-base.pc.in:
17734         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
17735
17736         * pkgconfig/Makefile.am:
17737         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
17738
17739 2005-04-04  Wim Taymans  <wim@fluendo.com>
17740
17741         * gst/base/Makefile.am:
17742         * gst/base/README:
17743         * gst/base/gstbasesink.c: (gst_basesink_base_init),
17744         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17745         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17746         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
17747         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
17748         (gst_basesrc_base_init), (gst_basesrc_class_init),
17749         (gst_basesrc_init), (gst_basesrc_get_formats),
17750         (gst_basesrc_get_query_types), (gst_basesrc_query),
17751         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
17752         (gst_basesrc_set_property), (gst_basesrc_get_property),
17753         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
17754         (gst_basesrc_loop), (gst_basesrc_activate),
17755         (gst_basesrc_change_state):
17756         * gst/base/gstbasesrc.h:
17757         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
17758         (gst_fakesrc_class_init), (gst_fakesrc_init),
17759         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
17760         (gst_fakesrc_get_property), (gst_fakesrc_create):
17761         * gst/elements/gstfakesrc.h:
17762         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
17763         (gst_filesrc_open_file), (gst_filesrc_loop),
17764         (gst_filesrc_activate), (filesrc_find_peek),
17765         (gst_filesrc_type_find):
17766         Made base source class, make fakesrc extend it.
17767         Add comments to basesink class.
17768         Some filesrc cleanup.
17769
17770 2005-03-31  David Schleef  <ds@schleef.org>
17771
17772         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
17773         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
17774         expected to link against libgstreamer.
17775         * gst/base/Makefile.am: link against libgstreamer
17776         * gst/elements/Makefile.am: same
17777
17778 2005-03-31  Andy Wingo  <wingo@pobox.com>
17779
17780         * tests/instantiate/Makefile.am:
17781         * tests/instantiate/caps.c: Add test to test speed of caps copy
17782         and free.
17783
17784         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
17785         GMemChunk to be fair.
17786
17787         * gst/gsttrashstack.h: Remove warning about using the fallback
17788         trash stack implementation, it's still faster than malloc.
17789
17790 2005-03-30  Andy Wingo  <wingo@pobox.com>
17791
17792         * tests/complexity.c: Add a copyright.
17793
17794 2005-03-31  Wim Taymans  <wim@fluendo.com>
17795
17796         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
17797         (gst_base_transform_class_init), (gst_base_transform_init),
17798         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
17799         (gst_base_transform_get_property),
17800         (gst_base_transform_sink_activate),
17801         (gst_base_transform_src_activate),
17802         (gst_base_transform_change_state):
17803         * gst/base/gstbasetransform.h:
17804         * gst/elements/gstidentity.c: (gst_identity_class_init),
17805         (gst_identity_event), (gst_identity_check_perfect),
17806         (gst_identity_transform), (gst_identity_start),
17807         (gst_identity_stop):
17808         Added start/stop methods to transform base class so subclasses 
17809         don't need to deal with state changes even.
17810
17811 2005-03-31  Wim Taymans  <wim@fluendo.com>
17812
17813         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
17814         (gst_event_new_discontinuous), (gst_event_discont_get_value):
17815         * gst/gstevent.h:
17816         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17817         (gst_pad_pull_range):
17818         Added rate to the discont event to prepare for variable speed
17819         and reverse playback.
17820
17821 2005-03-29  David Schleef  <ds@schleef.org>
17822
17823         * configure.ac:
17824         * testsuite/trigger/Makefile.am:
17825         * testsuite/trigger/trigger.c: A little example program to show
17826         how trigger-based elements can work.
17827
17828 2005-03-29  Wim Taymans  <wim@fluendo.com>
17829
17830         * gst/base/Makefile.am:
17831         * gst/base/README:
17832         * gst/base/gstbasesink.c: (gst_basesink_get_type),
17833         (gst_basesink_base_init), (gst_basesink_class_init),
17834         (gst_basesink_pad_getcaps), (gst_basesink_init),
17835         (gst_basesink_activate), (gst_basesink_change_state):
17836         * gst/base/gstbasesink.h:
17837         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
17838         (gst_base_transform_base_init), (gst_base_transform_finalize),
17839         (gst_base_transform_class_init), (gst_base_transform_init),
17840         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
17841         (gst_base_transform_event), (gst_base_transform_getrange),
17842         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
17843         (gst_base_transform_set_property),
17844         (gst_base_transform_get_property),
17845         (gst_base_transform_sink_activate),
17846         (gst_base_transform_src_activate),
17847         (gst_base_transform_change_state):
17848         * gst/base/gstbasetransform.h:
17849         * gst/elements/gstidentity.c: (gst_identity_finalize),
17850         (gst_identity_class_init), (gst_identity_init),
17851         (gst_identity_event), (gst_identity_check_perfect),
17852         (gst_identity_transform), (gst_identity_set_property),
17853         (gst_identity_get_property), (gst_identity_change_state):
17854         * gst/elements/gstidentity.h:
17855         * gst/gstelement.c: (gst_element_get_state_func),
17856         (gst_element_lost_state), (gst_element_pads_activate):
17857         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17858         (gst_pad_check_pull_range), (gst_pad_pull_range):
17859         * gst/gstpad.h:
17860         Simplify pad activation.
17861         Added function to check if pull_range can be performed.
17862         Error out when pulling inactive or flushing pads.
17863         Removed const from refcounted types as it does not make sense.
17864         Simplify pad templates in basesink
17865         Added base class for simple 1-to-1 transforms.
17866         Make identity subclass the base transform.
17867
17868 2005-03-29  Andy Wingo  <wingo@pobox.com>
17869
17870         * docs/libs/gstreamer-libs-overrides.txt: 
17871         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17872         really don't understand what's going on, but like whatever. I want
17873         green buildbot!
17874
17875         * docs/gst/Makefile.am:
17876         * docs/libs/Makefile.am: Dist the overrides files.
17877
17878         * check/Makefile.am (clean-local): Remove .libs directories.
17879
17880         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17881         elements to EXTRA_DIST, so po/ files are happy.
17882
17883         * po/POTFILES.in: Er, remove it here.
17884
17885         * po/POTFILES: Remove gstspider.c.
17886
17887         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17888
17889         * docs/libs/gstreamer-libs-docs.sgml: 
17890         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17891         bytestream.
17892
17893         * tests/complexity.c (main): Set the length of the preroll queue
17894         on the sinks to prevent a lockup.
17895
17896         * libs/gst/dataprotocol/Makefile.am: 
17897         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17898         the same as the one in check/gst-libs/gdp.c.
17899
17900         * po/, docs/gst/: Commit automatic changes to docs and po files.
17901
17902         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17903         the versioned libgstbase.
17904
17905         * check/Makefile.am: Depend on an unversioned gst-register, seems
17906         to make autoconf happier.
17907
17908         * gst/base/Makefile.am: Make libgstbase a versioned lib.
17909
17910 2005-03-28  Wim Taymans  <wim@fluendo.com>
17911
17912         * configure.ac:
17913         * docs/design/part-gstelement.txt:
17914         * docs/design/part-negotiation.txt:
17915         * docs/design/part-preroll.txt:
17916         * docs/design/part-scheduling.txt:
17917         * docs/design/part-states.txt:
17918         * gst/Makefile.am:
17919         * gst/base/Makefile.am:
17920         * gst/base/README:
17921         * gst/base/gstbasesink.c: (gst_basesink_get_template),
17922         (gst_basesink_base_init), (gst_basesink_class_init),
17923         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17924         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17925         (gst_basesink_set_pad_functions),
17926         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17927         (gst_basesink_set_property), (gst_basesink_get_property),
17928         (gst_base_sink_get_template), (gst_base_sink_get_caps),
17929         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17930         (gst_basesink_preroll_queue_push),
17931         (gst_basesink_preroll_queue_empty),
17932         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17933         (gst_basesink_event), (gst_basesink_get_times),
17934         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17935         (gst_basesink_chain_unlocked), (gst_basesink_chain),
17936         (gst_basesink_loop), (gst_basesink_activate),
17937         (gst_basesink_change_state):
17938         * gst/base/gstbasesink.h:
17939         * gst/elements/Makefile.am:
17940         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17941         (gst_fakesink_class_init), (gst_fakesink_init),
17942         (gst_fakesink_set_property), (gst_fakesink_get_property),
17943         (gst_fakesink_get_times), (gst_fakesink_event),
17944         (gst_fakesink_preroll), (gst_fakesink_render),
17945         (gst_fakesink_change_state):
17946         * gst/elements/gstfakesink.h:
17947         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17948         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17949         * gst/gstelement.c: (gst_element_add_pad),
17950         (gst_element_get_state_func), (gst_element_abort_state),
17951         (gst_element_commit_state), (gst_element_lost_state),
17952         (gst_element_set_state), (gst_element_pads_activate):
17953         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17954         * gst/gstpipeline.c: (gst_pipeline_send_event),
17955         (gst_pipeline_change_state):
17956         Added state change code.
17957         Added/updated docs.
17958         Added sink base class, make fakesink extend the base class.
17959         Small cleanups in GstPipeline.
17960
17961 2005-03-26  David Schleef  <ds@schleef.org>
17962
17963         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
17964         is broken and should be implemented in a different library.
17965         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17966         * gst/gst.h: remove gstcpu.h
17967         * gst/gstcpu.c: remove
17968         * gst/gstcpu.h: remove
17969         * gst/Makefile.am.future: Remove this file.  It's ancient.
17970
17971 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17972
17973         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17974         (gst_bin_send_event):
17975           Add default event/set_manager handlers. The set_manager handler
17976           takes care that the manager is distributed over kids that were
17977           already in the bin before the manager was set. The event handler
17978           is a utility virtual function that sends the event over all sinks,
17979           so that gst_element_send_event (bin, event); has the expected
17980           behaviour.
17981         * gst/gstpad.c: (gst_pad_event_default):
17982           Re-install default event handling for discontinuities, so that
17983           seeking works without requiring hacks in applications or extra
17984           code in sinks.
17985         * gst/gstpipeline.c: (gst_pipeline_class_init),
17986         (gst_pipeline_send_event):
17987           Half hack, half utility: set a pipeline to PAUSED for seek events,
17988           since that is the only way we can guarantee a/v sync. Means that
17989           you can do gst_element_seek (pipeline, method, pos); on a pipeline
17990           and it "just works".
17991
17992 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17993
17994         * gst/gstpipeline.c: (gst_pipeline_use_clock):
17995           Lock/unlock mismatch.
17996
17997 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17998
17999         * docs/faq/gst-uninstalled:
18000           add gst-plugins-base
18001         * docs/gst/Makefile.am:
18002           don't error out until docs are fixed
18003         * docs/gst/gstreamer.types:
18004           remove thread
18005
18006 2005-03-22  Wim Taymans  <wim@fluendo.com>
18007
18008         * check/Makefile.am:
18009         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18010         * gst/gststructure.c: (gst_structure_set_valist),
18011         (gst_structure_copy_conditional):
18012         Activated more tests.
18013         Added message test.
18014         Added G_TYPE_POINTER to GstStructure.
18015         
18016
18017 2005-03-22  Wim Taymans  <wim@fluendo.com>
18018
18019         * docs/design/part-TODO.txt:
18020         * docs/design/part-events.txt:
18021         * docs/design/part-gstbin.txt:
18022         * docs/design/part-gstbus.txt:
18023         * docs/design/part-gstpipeline.txt:
18024         * docs/design/part-messages.txt:
18025         * gst/gstbus.c:
18026         * gst/gstmessage.c:
18027         Docs updates
18028
18029 2005-03-21  Wim Taymans  <wim@fluendo.com>
18030
18031         * gst/gstbus.c: (gst_bus_post):
18032         Fix copy-and-paste error.
18033
18034 2005-03-21  Wim Taymans  <wim@fluendo.com>
18035
18036         * check/Makefile.am:
18037         * gst/Makefile.am:
18038         * gst/elements/Makefile.am:
18039         * gst/elements/gstelements.c:
18040         * gst/elements/gstfakesink.c: (gst_fakesink_init),
18041         (gst_fakesink_event), (gst_fakesink_chain):
18042         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18043         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18044         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18045         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18046         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18047         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18048         (gst_fakesrc_loop), (gst_fakesrc_activate),
18049         (gst_fakesrc_change_state):
18050         * gst/elements/gstfakesrc.h:
18051         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18052         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18053         (gst_filesrc_open_file), (gst_filesrc_loop),
18054         (gst_filesrc_activate), (gst_filesrc_change_state),
18055         (filesrc_find_peek), (filesrc_find_suggest),
18056         (gst_filesrc_type_find):
18057         * gst/elements/gstidentity.c: (gst_identity_finalize),
18058         (gst_identity_class_init), (gst_identity_init),
18059         (gst_identity_proxy_getcaps), (identity_queue_push),
18060         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18061         (gst_identity_getrange), (gst_identity_chain),
18062         (gst_identity_sink_loop), (gst_identity_src_loop),
18063         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18064         (gst_identity_set_property), (gst_identity_get_property),
18065         (gst_identity_change_state):
18066         * gst/elements/gstidentity.h:
18067         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18068         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18069         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18070         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18071         (gst_tee_sink_activate):
18072         * gst/elements/gsttee.h:
18073         * gst/gst.c: (gst_register_core_elements), (init_post):
18074         * gst/gst.h:
18075         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18076         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18077         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18078         (gst_bin_change_state):
18079         * gst/gstbin.h:
18080         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
18081         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
18082         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
18083         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
18084         (gst_bus_set_sync_handler), (gst_bus_create_watch),
18085         (bus_watch_callback), (bus_watch_destroy),
18086         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
18087         (poll_timeout), (gst_bus_poll):
18088         * gst/gstbus.h:
18089         * gst/gstcaps.h:
18090         * gst/gstdata.h:
18091         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18092         (gst_element_post_message), (gst_element_message_full),
18093         (gst_element_get_state_func), (gst_element_get_state),
18094         (gst_element_abort_state), (gst_element_commit_state),
18095         (gst_element_lost_state), (gst_element_set_state),
18096         (gst_element_pads_activate), (gst_element_change_state),
18097         (gst_element_dispose), (gst_element_set_manager_func),
18098         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
18099         (gst_element_set_manager), (gst_element_get_manager),
18100         (gst_element_set_bus), (gst_element_get_bus),
18101         (gst_element_set_scheduler), (gst_element_get_scheduler):
18102         * gst/gstelement.h:
18103         * gst/gstevent.c: (gst_event_new_segment_seek),
18104         (gst_event_new_flush):
18105         * gst/gstevent.h:
18106         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
18107         (_gst_message_free), (gst_message_get_type), (gst_message_new),
18108         (gst_message_new_eos), (gst_message_new_error),
18109         (gst_message_new_warning), (gst_message_new_tag),
18110         (gst_message_new_state_changed), (gst_message_new_application),
18111         (gst_message_get_structure), (gst_message_parse_tag),
18112         (gst_message_parse_state_changed), (gst_message_parse_error),
18113         (gst_message_parse_warning):
18114         * gst/gstmessage.h:
18115         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
18116         (gst_real_pad_set_property), (gst_pad_set_active),
18117         (gst_pad_is_active), (gst_pad_set_blocked_async),
18118         (gst_pad_set_blocked), (gst_pad_is_blocked),
18119         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
18120         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
18121         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
18122         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
18123         (gst_pad_link_filtered), (gst_pad_relink_filtered),
18124         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
18125         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
18126         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
18127         (gst_pad_set_caps), (gst_pad_configure_sink),
18128         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
18129         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
18130         (gst_real_pad_dispose), (gst_real_pad_finalize),
18131         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
18132         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18133         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
18134         * gst/gstpad.h:
18135         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
18136         (pipeline_bus_handler), (gst_pipeline_change_state),
18137         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
18138         * gst/gstpipeline.h:
18139         * gst/gstprobe.h:
18140         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18141         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
18142         (gst_queue_link_src), (gst_queue_bufferalloc),
18143         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
18144         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
18145         (gst_queue_loop), (gst_queue_handle_src_event),
18146         (gst_queue_handle_src_query), (gst_queue_src_activate),
18147         (gst_queue_change_state):
18148         * gst/gstqueue.h:
18149         * gst/gstscheduler.c: (gst_scheduler_init),
18150         (gst_scheduler_dispose), (gst_scheduler_create_task),
18151         (gst_scheduler_factory_create):
18152         * gst/gstscheduler.h:
18153         * gst/gststructure.c: (gst_structure_get_type),
18154         (gst_structure_copy_conditional):
18155         * gst/gststructure.h:
18156         * gst/gsttaginterface.h:
18157         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
18158         (gst_task_init), (gst_task_dispose), (gst_task_create),
18159         (gst_task_get_state), (gst_task_start), (gst_task_stop),
18160         (gst_task_pause):
18161         * gst/gsttask.h:
18162         * gst/gstthread.c:
18163         * gst/gstthread.h:
18164         * gst/gsttypes.h:
18165         * gst/schedulers/Makefile.am:
18166         * gst/schedulers/cothreads_compat.h:
18167         * gst/schedulers/entryscheduler.c:
18168         * gst/schedulers/faircothreads.c:
18169         * gst/schedulers/faircothreads.h:
18170         * gst/schedulers/fairscheduler.c:
18171         * gst/schedulers/gstbasicscheduler.c:
18172         * gst/schedulers/gstoptimalscheduler.c:
18173         * gst/schedulers/gthread-cothreads.h:
18174         * gst/schedulers/threadscheduler.c:
18175         (gst_thread_scheduler_task_get_type),
18176         (gst_thread_scheduler_task_class_init),
18177         (gst_thread_scheduler_task_init),
18178         (gst_thread_scheduler_task_start),
18179         (gst_thread_scheduler_task_stop),
18180         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
18181         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
18182         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
18183         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
18184         (plugin_init):
18185         * libs/gst/Makefile.am:
18186         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
18187         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
18188         (gst_file_pad_parent_set):
18189         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
18190         (gst_dp_event_from_packet):
18191         * tests/complexity.c: (main):
18192         * tests/mass_elements.c: (main):
18193         * testsuite/states/locked.c: (message_received), (main):
18194         * testsuite/states/parent.c: (main):
18195         * tools/gst-inspect.c: (print_element_flag_info),
18196         (print_implementation_info), (print_pad_info):
18197         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
18198         (main):
18199         * tools/gst-md5sum.c: (event_loop), (main):
18200         * tools/gst-typefind.c: (main):
18201         * tools/gst-xmlinspect.c: (print_element_info):
18202         Next big merge.
18203         Added GstBus for mainloop integration.
18204         Added GstMessage for sending notifications on the bus.
18205         Added GstTask as an abstraction for pipeline entry points.
18206         Removed GstThread.
18207         Removed Schedulers.
18208         Simplified GstQueue for multithreaded core.
18209         Made _link threadsafe, removed old capsnego.
18210         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
18211         Added pad blocking functions.
18212         Reworked scheduling functions in GstPad to prepare for
18213         scheduling updates soon.
18214         Moved events out of data stream.
18215         Simplified GstEvent types.
18216         Added return values to push/pull.
18217         Removed clocking from GstElement.
18218         Added prototypes for state change function for next merge.
18219         Removed iterate from bins and state change management.
18220         Fixed some elements, disabled others for now.
18221         Fixed -inspect and -launch.
18222         Added check for GstBus.
18223
18224 2005-03-10  Wim Taymans  <wim@fluendo.com>
18225
18226         * docs/design/part-MT-refcounting.txt:
18227         * docs/design/part-clocks.txt:
18228         * docs/design/part-gstelement.txt:
18229         * docs/design/part-gstobject.txt:
18230         * docs/design/part-standards.txt:
18231         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18232         (gst_bin_remove_func), (gst_bin_remove):
18233         * gst/gstbin.h:
18234         * gst/gstbuffer.c:
18235         * gst/gstcaps.h:
18236         * testsuite/clock/clock1.c: (main):
18237         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
18238         (main):
18239         * testsuite/dlopen/loadgst.c: (do_test):
18240         * testsuite/refcounting/bin.c: (add_remove_test1),
18241         (add_remove_test2), (main):
18242         * testsuite/refcounting/element.c: (main):
18243         * testsuite/refcounting/element_pad.c: (main):
18244         * testsuite/refcounting/pad.c: (main):
18245         * tools/gst-launch.c: (sigint_handler_sighandler):
18246         * tools/gst-typefind.c: (main):
18247         Doc updates.
18248         Added doc about clock.
18249         removed gst_bin_iterate_recurse_up(), marked methods
18250         for removal.
18251         Fix more testsuites.
18252
18253 2005-03-09  Wim Taymans  <wim@fluendo.com>
18254
18255         * gst/gstpad.c: (gst_pad_get_direction),
18256         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
18257         (gst_pad_collect_valist):
18258         * testsuite/bins/interface.c: (main):
18259         * testsuite/caps/audioscale.c: (test_caps):
18260         * testsuite/caps/caps.c: (test1), (test2), (test3):
18261         * testsuite/caps/deserialize.c: (main):
18262         * testsuite/caps/enumcaps.c: (main):
18263         * testsuite/caps/filtercaps.c: (main):
18264         * testsuite/caps/intersect2.c: (main):
18265         * testsuite/caps/random.c: (main):
18266         * testsuite/caps/renegotiate.c: (my_fixate), (main):
18267         * testsuite/caps/sets.c: (check_caps):
18268         * testsuite/caps/simplify.c: (check_caps), (main):
18269         * testsuite/caps/subtract.c: (check_caps):
18270         Fix _pad_get_direction wrt ghostpads.
18271         Fix caps testsuite.
18272
18273 2005-03-09  Wim Taymans  <wim@fluendo.com>
18274
18275         * check/Makefile.am:
18276         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
18277         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
18278         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
18279         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
18280         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
18281         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
18282         (gst_bin_remove), (gst_bin_iterate_recurse_up),
18283         (bin_element_is_sink), (gst_bin_iterate_sinks),
18284         (gst_bin_iterate_all_by_interface):
18285         * gst/gstbin.h:
18286         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
18287         (gst_element_change_state), (gst_element_dispose),
18288         (gst_element_finalize), (gst_element_set_loop_function):
18289         * gst/gstelement.h:
18290         * gst/gstiterator.c: (find_custom_fold_func):
18291         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18292         (gst_pad_collectv), (gst_pad_collect_valist),
18293         (gst_pad_template_new):
18294         * gst/gstpipeline.c: (gst_pipeline_class_init),
18295         (gst_pipeline_dispose), (gst_pipeline_set_property),
18296         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
18297         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
18298         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
18299         * gst/gstutils.h:
18300         * gst/schedulers/entryscheduler.c:
18301         * gst/schedulers/gstbasicscheduler.c:
18302         (gst_basic_scheduler_cothreaded_chain),
18303         (gst_basic_scheduler_chain_add_element):
18304         * testsuite/bins/interface.c: (main):
18305         Added GstBin test.
18306         Added GstSystemClock test.
18307         Implemented clock distribution code in GstBin.
18308         Implemented iterate sinks method for future use.
18309         Rearranged gstelement.h
18310         Fix GstIterator comparison bug.
18311         Moved some code to GstPipeline, mostly clocking related.
18312
18313 2005-03-09  Wim Taymans  <wim@fluendo.com>
18314
18315         * configure.ac:
18316         * gst/gst_private.h:
18317         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18318         (gst_bin_remove_func), (gst_bin_remove),
18319         (gst_bin_get_by_name_recurse_up):
18320         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
18321         (gst_clock_id_compare_func), (gst_clock_id_wait),
18322         (gst_clock_id_wait_async), (gst_clock_init),
18323         (gst_clock_adjust_unlocked), (gst_clock_get_time):
18324         * gst/gstelement.h:
18325         * gst/gstinfo.c: (_gst_debug_init):
18326         * gst/gstobject.h:
18327         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
18328         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
18329         * gst/gstpad.h:
18330         Bump version number, we're now 0.9.0
18331         Add future debugging category.
18332         Fix NULL _unref() in _get_by_name_recurse_up
18333         Rearrange gstpad.h.
18334         Update some docs.
18335
18336 2005-03-08  Wim Taymans  <wim@fluendo.com>
18337
18338         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
18339         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
18340         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18341         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
18342         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
18343         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
18344         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
18345         * gst/elements/gstidentity.c: (gst_identity_class_init):
18346         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
18347         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
18348         * gst/elements/gstshaper.c: (gst_shaper_class_init):
18349         * gst/elements/gststatistics.c: (gst_statistics_class_init):
18350         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
18351         (gst_tee_link):
18352         * gst/gstelement.c: (gst_element_class_init),
18353         (gst_element_base_class_init), (gst_element_init),
18354         (gst_element_get_random_pad), (gst_element_wait_state_change),
18355         (gst_element_change_state), (gst_element_dispose),
18356         (gst_element_finalize), (gst_element_set_loop_function):
18357         * gst/gstelement.h:
18358         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
18359         * gst/gstthread.c: (gst_thread_class_init),
18360         (gst_thread_release_children_locks), (gst_thread_change_state):
18361         * gst/schedulers/gstbasicscheduler.c:
18362         (gst_basic_scheduler_loopfunc_wrapper),
18363         (gst_basic_scheduler_chain_wrapper),
18364         (gst_basic_scheduler_src_wrapper),
18365         (gst_basic_scheduler_remove_element):
18366         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
18367         Remove threadsafe properties. Fix elements because GObject
18368         complains when installing a property before declaring a
18369         set/get_property handler.
18370         Rearrange gstelement.h file, use STATE macros for state locks.
18371         Free mutexes in the finalize method instead of dispose.
18372
18373 2005-03-08  Wim Taymans  <wim@fluendo.com>
18374
18375         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18376         * gst/gstthread.c: (gst_thread_release_children_locks):
18377         Added parentage check.
18378         Fix build og GstThread again.
18379
18380 2005-03-08  Wim Taymans  <wim@fluendo.com>
18381
18382         * docs/design/part-MT-refcounting.txt:
18383         * docs/design/part-conventions.txt:
18384         * docs/design/part-gstobject.txt:
18385         * docs/design/part-relations.txt:
18386         * docs/design/part-standards.txt:
18387         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
18388         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
18389         (gst_bin_get_by_name), (gst_bin_get_by_interface),
18390         (gst_bin_iterate_all_by_interface):
18391         * gst/gstbuffer.h:
18392         * gst/gstclock.h:
18393         * gst/gstelement.c: (gst_element_class_init),
18394         (gst_element_change_state), (gst_element_set_loop_function):
18395         * gst/gstelement.h:
18396         * gst/gstiterator.c:
18397         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
18398         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
18399         (gst_object_dispatch_properties_changed), (gst_object_set_name),
18400         (gst_object_set_parent), (gst_object_unparent),
18401         (gst_object_check_uniqueness):
18402         * gst/gstobject.h:
18403         Docs updates, clean up some headers.
18404
18405 2005-03-07  Wim Taymans  <wim@fluendo.com>
18406
18407         * check/.cvsignore:
18408         * check/Makefile.am:
18409         * check/gst-libs/.cvsignore:
18410         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
18411         * check/gst/.cvsignore:
18412         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
18413         (START_TEST), (gstbus_suite), (main):
18414         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
18415         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
18416         (gst_data_suite), (main):
18417         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
18418         (add_fold_func), (gstiterator_suite), (main):
18419         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
18420         (thread_name_object), (thread_name_object_default),
18421         (gst_object_name_compare), (gst_object_suite), (main):
18422         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
18423         (gst_pad_suite), (main):
18424         * check/gstcheck.c: (gst_check_log_message_func),
18425         (gst_check_log_critical_func), (gst_check_init):
18426         * check/gstcheck.h:
18427         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
18428         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
18429         Added checks.
18430
18431 2005-03-07  Wim Taymans  <wim@fluendo.com>
18432
18433         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18434         (gst_list_iterator_next), (gst_list_iterator_resync),
18435         (gst_list_iterator_free), (gst_iterator_new_list),
18436         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
18437         (gst_iterator_free), (gst_iterator_push), (filter_next),
18438         (filter_resync), (filter_uninit), (filter_free),
18439         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
18440         (gst_iterator_foreach), (find_custom_fold_func),
18441         (gst_iterator_find_custom):
18442         * gst/gstiterator.h:
18443         Added missing files.
18444
18445 2005-03-07  Wim Taymans  <wim@fluendo.com>
18446
18447         * Makefile.am:
18448         * configure.ac:
18449         * docs/design/part-MT-refcounting.txt:
18450         * docs/design/part-conventions.txt:
18451         * docs/design/part-gstobject.txt:
18452         * docs/design/part-relations.txt:
18453         * examples/mixer/mixer.c: (main):
18454         * examples/thread/thread.c: (eos), (main):
18455         * gst/Makefile.am:
18456         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
18457         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
18458         (gst_spider_plug_from_srcpad):
18459         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
18460         (gst_spider_identity_change_state),
18461         (gst_spider_identity_sink_loop_type_finding):
18462         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
18463         * gst/elements/gstidentity.c: (gst_identity_init):
18464         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
18465         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
18466         * gst/elements/gsttypefindelement.c: (free_entry):
18467         * gst/gst.c:
18468         * gst/gst.h:
18469         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
18470         (gst_bin_set_clock_func), (gst_bin_auto_clock),
18471         (gst_bin_set_index), (gst_bin_set_element_sched),
18472         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
18473         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
18474         (gst_bin_iterate_elements), (iterate_child_recurse),
18475         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
18476         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
18477         (compare_interface), (gst_bin_get_by_interface),
18478         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
18479         * gst/gstbin.h:
18480         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
18481         (gst_buffer_default_free), (gst_buffer_default_copy),
18482         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
18483         (gst_buffer_create_sub):
18484         * gst/gstbuffer.h:
18485         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
18486         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
18487         (gst_caps_unref), (gst_static_caps_get),
18488         (gst_caps_remove_and_get_structure), (gst_caps_append),
18489         (gst_caps_append_structure), (gst_caps_remove_structure),
18490         (gst_caps_copy_nth), (gst_caps_set_simple),
18491         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
18492         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
18493         (gst_caps_structure_intersect_field), (gst_caps_intersect),
18494         (gst_caps_structure_subtract_field), (gst_caps_subtract),
18495         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
18496         (gst_caps_structure_figure_out_union),
18497         (gst_caps_switch_structures), (gst_caps_do_simplify),
18498         (gst_caps_replace), (gst_caps_from_string),
18499         (gst_caps_copy_conditional):
18500         * gst/gstcaps.h:
18501         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
18502         (_gst_clock_id_free), (gst_clock_id_unref),
18503         (gst_clock_id_compare_func), (gst_clock_id_wait),
18504         (gst_clock_id_wait_async), (gst_clock_class_init),
18505         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
18506         (gst_clock_get_time), (gst_clock_set_time_adjust),
18507         (gst_clock_set_property), (gst_clock_get_property):
18508         * gst/gstclock.h:
18509         * gst/gstcompat.h:
18510         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
18511         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
18512         * gst/gstdata.h:
18513         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
18514         (gst_element_requires_clock), (gst_element_provides_clock),
18515         (gst_element_set_clock), (gst_element_clock_wait),
18516         (gst_element_wait), (gst_element_set_time_delay),
18517         (gst_element_is_indexable), (gst_element_add_pad),
18518         (gst_element_add_ghost_pad), (gst_element_remove_pad),
18519         (pad_compare_name), (gst_element_get_static_pad),
18520         (gst_element_request_pad), (gst_element_get_request_pad),
18521         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
18522         (gst_element_class_get_pad_template_list),
18523         (gst_element_class_get_pad_template), (gst_element_error_func),
18524         (gst_element_get_random_pad), (gst_element_get_event_masks),
18525         (gst_element_send_event), (gst_element_seek),
18526         (gst_element_get_query_types), (gst_element_query),
18527         (gst_element_get_formats), (gst_element_convert),
18528         (gst_element_is_locked_state), (gst_element_set_locked_state),
18529         (gst_element_sync_state_with_parent), (gst_element_change_state),
18530         (gst_element_finalize), (gst_element_yield),
18531         (gst_element_interrupt), (gst_element_set_scheduler),
18532         (gst_element_get_scheduler), (gst_element_set_loop_function):
18533         * gst/gstelement.h:
18534         * gst/gstevent.h:
18535         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
18536         (gst_format_get_by_nick), (gst_format_get_details),
18537         (gst_format_iterate_definitions):
18538         * gst/gstformat.h:
18539         * gst/gstindex.c: (gst_index_gtype_resolver):
18540         * gst/gstinfo.c:
18541         * gst/gstinfo.h:
18542         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
18543         (gst_mem_chunk_free):
18544         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
18545         (gst_object_ref), (gst_object_unref), (gst_object_sink),
18546         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
18547         (gst_object_dispatch_properties_changed),
18548         (gst_object_set_name_default), (gst_object_set_name),
18549         (gst_object_get_name), (gst_object_set_name_prefix),
18550         (gst_object_get_name_prefix), (gst_object_set_parent),
18551         (gst_object_get_parent), (gst_object_unparent),
18552         (gst_object_check_uniqueness), (gst_object_save_thyself),
18553         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
18554         (gst_object_set_property), (gst_object_get_property),
18555         (gst_object_get_path_string):
18556         * gst/gstobject.h:
18557         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18558         (gst_real_pad_init), (gst_real_pad_get_property),
18559         (gst_pad_custom_new), (gst_pad_get_direction),
18560         (gst_pad_set_active), (gst_pad_is_active),
18561         (gst_pad_set_event_function), (gst_pad_is_linked),
18562         (gst_pad_link_free), (gst_pad_link_intersect),
18563         (gst_pad_link_fixate), (gst_pad_set_caps),
18564         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
18565         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
18566         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
18567         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
18568         (gst_pad_get_caps), (gst_pad_peer_get_caps),
18569         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
18570         (gst_pad_realize), (gst_pad_get_allowed_caps),
18571         (gst_real_pad_dispose), (gst_real_pad_finalize),
18572         (gst_pad_collectv), (gst_pad_collect_valist),
18573         (gst_pad_template_dispose), (gst_pad_template_new),
18574         (gst_pad_get_internal_links):
18575         * gst/gstpad.h:
18576         * gst/gstpipeline.c: (gst_pipeline_dispose),
18577         (gst_pipeline_change_state):
18578         * gst/gstpipeline.h:
18579         * gst/gstplugin.c:
18580         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
18581         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
18582         * gst/gstpluginfeature.h:
18583         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
18584         * gst/gstquery.c: (_gst_query_type_initialize),
18585         (gst_query_type_register), (gst_query_type_get_by_nick),
18586         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
18587         * gst/gstquery.h:
18588         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
18589         * gst/gstscheduler.c: (gst_scheduler_add_element),
18590         (gst_scheduler_factory_create):
18591         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18592         (gst_structure_free), (gst_structure_set_name),
18593         (gst_structure_id_set_value), (gst_structure_set_value),
18594         (gst_structure_set_valist), (gst_structure_remove_field),
18595         (gst_structure_remove_fields),
18596         (gst_structure_remove_fields_valist),
18597         (gst_structure_remove_all_fields), (gst_structure_foreach),
18598         (gst_structure_map_in_place),
18599         (gst_caps_structure_fixate_field_nearest_int),
18600         (gst_caps_structure_fixate_field_nearest_double):
18601         * gst/gststructure.h:
18602         * gst/gstsystemclock.c: (gst_system_clock_class_init),
18603         (gst_system_clock_init), (gst_system_clock_dispose),
18604         (gst_system_clock_async_thread),
18605         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
18606         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
18607         * gst/gstsystemclock.h:
18608         * gst/gsttag.c: (gst_tag_list_add_value_internal),
18609         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
18610         * gst/gsttaginterface.c:
18611         * gst/gstthread.c: (gst_thread_dispose),
18612         (gst_thread_release_children_locks), (gst_thread_change_state),
18613         (gst_thread_main_loop):
18614         * gst/gsttrashstack.h:
18615         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
18616         * gst/gsttypes.h:
18617         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18618         (gst_element_request_pad), (gst_element_get_pad_from_template),
18619         (gst_element_request_compatible_pad),
18620         (gst_element_get_compatible_pad_filtered),
18621         (gst_element_get_compatible_pad), (gst_element_state_get_name),
18622         (gst_element_link_pads_filtered), (gst_element_link_filtered),
18623         (gst_element_link_many), (gst_element_link),
18624         (gst_element_link_pads), (gst_element_unlink_pads),
18625         (gst_element_unlink_many), (gst_element_unlink),
18626         (gst_pad_can_link_filtered), (gst_pad_can_link),
18627         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
18628         (gst_object_default_error), (gst_bin_add_many),
18629         (gst_bin_remove_many), (gst_element_populate_std_props),
18630         (gst_element_class_install_std_props), (gst_buffer_merge),
18631         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
18632         (link_fold_func), (gst_pad_proxy_setcaps):
18633         * gst/gstutils.h:
18634         * gst/gstvalue.c: (gst_value_deserialize_string):
18635         * gst/parse/grammar.y:
18636         * gst/schedulers/gstbasicscheduler.c:
18637         (gst_basic_scheduler_cothreaded_chain),
18638         (gst_basic_scheduler_chain_recursive_add),
18639         (gst_basic_scheduler_pad_link):
18640         * gst/schedulers/gstoptimalscheduler.c:
18641         (get_group_schedule_function),
18642         (gst_opt_scheduler_state_transition),
18643         (gst_opt_scheduler_add_element), (element_get_reachables_func):
18644         * libs/gst/bytestream/bytestream.c:
18645         * libs/gst/dataprotocol/dataprotocol.c:
18646         (gst_dp_header_from_buffer):
18647         * po/nb.po:
18648         * po/ru.po:
18649         * tests/threadstate/threadstate2.c: (eos):
18650         * tools/gst-compprep.c: (main):
18651         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
18652         (print_pad_info), (print_children_info):
18653         * tools/gst-launch.c: (idle_func), (main):
18654         * tools/gst-md5sum.c: (idle_func), (main):
18655         * tools/gst-xmlinspect.c: (print_element_info):
18656         First THREADED backport attempt, focusing on adding locks and
18657         making sure the API is threadsafe. Needs more work. More docs
18658         follow this week.
18659
18660 2005-02-24  Andy Wingo  <wingo@pobox.com>
18661
18662         * tests/bench-complexity.scm:
18663         * tests/complexity.gnuplot: New files, good for running complexity
18664         benchmarks.
18665
18666         * tests/Makefile.am:
18667         * tests/complexity.c: New test, sets up N elements, at each level
18668         teeing into M streams per element. Eeeenteresting.
18669
18670         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
18671         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
18672         running bench-mass_elements.scm.
18673
18674         * tests/bench-mass_elements.scm: New script, runs mass_elements
18675         for various numbers of identities, outputting the results to a
18676         file. Requires guile 1.6. Just for testing.
18677
18678 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
18679
18680         * gst/schedulers/fairscheduler.c:
18681           compile with debug disabled
18682
18683 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18684
18685         * configure.ac:
18686           hunting season on 0.9 is now OPEN