2b61547ca19fd187abed1cca8569c3e998fbfd2c
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * win32/common/libgstbase.def:
4         * win32/common/libgstcontroller.def:
5         * win32/common/libgstreamer.def:
6           Add gst_caps_merge() and a bunch of other recently-added functions.
7           Fixes #361732.
8
9 2006-10-11  Wim Taymans  <wim@fluendo.com>
10
11         * docs/plugins/gstreamer-plugins.args:
12         * docs/plugins/inspect/plugin-coreelements.xml:
13         * docs/plugins/inspect/plugin-coreindexers.xml:
14         Update element args.
15
16         * gst/gstsystemclock.c:
17         Small comment update.
18
19         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
20         (gst_tee_request_new_pad), (gst_tee_release_pad),
21         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
22         (gst_tee_sink_activate_pull):
23         * plugins/elements/gsttee.h:
24         Some tee loving:
25         Add default property defines.
26         Implement release pad function.
27         Give properties better blubs etc.
28         Activate pads before adding them to a running tee.
29         Do simple buffer_alloc on the first requested pad.
30         Post error when activation fails.
31
32 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
33
34         * gst/gst.c: (ensure_current_registry_forking):
35           Check return value of write() to make compiler happy.
36
37 2006-10-11  Wim Taymans  <wim@fluendo.com>
38
39         Patch by: Sjoerd Simons <sjoerd at luon dot net>
40
41         * plugins/elements/gstqueue.c: (gst_queue_chain):
42         Recheck queue filledness after signalling the overrun when we're about
43         to leak downstream because we released the lock when emitting the signal
44         and the queue could be empty again. Fixes #352345.
45
46 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
47
48         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
49           Fix refcounting here too, just like we did for _new_valist() a few
50           days ago (#357180) (thanks to René Stadler). Also remove all those
51           'Since: 0.9' from the gtk-doc blobs.
52
53         * tests/check/libs/controller.c: (controller_refcount_new_list),
54         (gst_controller_suite):
55           Unit test for the above.
56
57 2006-10-10  Wim Taymans  <wim@fluendo.com>
58
59         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
60
61         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
62         (gst_pad_save_thyself):
63         Update some docs.
64         Write pad direction in XML output. Fixes #345496.
65
66 2006-10-10  Wim Taymans  <wim@fluendo.com>
67
68         Patch by: René Stadler <mail at renestadler dot de>
69
70         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
71         (gst_controller_new_list), (_gst_controller_dispose),
72         (_gst_controller_finalize), (_gst_controller_class_init):
73         Take ref to controlled object so that it cannot disappear. 
74         Fixes #357432.
75
76 2006-10-10  Wim Taymans  <wim@fluendo.com>
77
78         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
79         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
80         (gst_check_teardown_sink_pad):
81         Activate/deactivate pads in setup/teardown respectively.
82
83 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
84
85         Patch by: Josep Torre Valles <josep@fluendo.com>
86
87         * gst/Makefile.am:
88         Cast values when making gstenumtypes.h.  This pacifies Forte
89         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
90         in the enumeration.
91
92 2006-10-09  Wim Taymans  <wim@fluendo.com>
93
94         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
95         Rename some more @cur to @start to fix docs. 
96
97         * gst/gstsegment.c: (gst_segment_set_seek):
98         Fix typo.
99         time and start must always stay in sync as defined in design doc.
100
101         * gst/gsttaglist.c: (gst_tag_list_is_empty):
102         Rename param to fix docs.
103
104         * tests/check/gst/gstsegment.c: (GST_START_TEST):
105         Check that start and time are in sync.
106
107         * tests/check/pipelines/parse-launch.c:
108         (gst_parse_test_element_change_state):
109         Activate pad before adding to the element.
110
111 2006-10-09  Wim Taymans  <wim@fluendo.com>
112
113         * docs/design/part-qos.txt:
114         Fix typo.
115
116         * gst/gstevent.c:
117         * gst/gstevent.h:
118         Update seek event docs regarding negative rates.
119         Rename @cur to @start. 
120
121         * gst/gstsegment.c: (gst_segment_set_seek):
122         * gst/gstsegment.h:
123         Update set_seek docs regarding negative rates.
124         Correctly update last_stop to @stop when dealing with negative
125         rates.
126         Rename @cur to @start. 
127
128         * tests/check/gst/gstpad.c: (GST_START_TEST):
129         Activate pads before trying to use them.
130
131         * tests/check/gst/gstsegment.c: (GST_START_TEST),
132         (gst_segment_suite):
133         Add simple check for segments and negative rates.
134
135 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
136
137         * gst/gsttaglist.c: (gst_tag_list_is_empty):
138         * gst/gsttaglist.h:
139         * docs/gst/gstreamer-sections.txt:
140           API: add gst_tag_list_is_empty() (#360467).
141
142         * tests/check/gst/gsttag.c: (GST_START_TEST):
143           And a test case.
144
145 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
146
147         * gst/gstmessage.h:
148         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
149         a value that doesn't fit on enumeration.
150
151 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
152
153         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
154         Remove local debugging system and use Gstreamer's instead.
155
156 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
157
158         Patch by: Josep Torre Valles <josep@fluendo.com>
159
160         * common/m4/gst-error.m4:
161         Disable warning of statement not reached on Forte.
162         * gst/gstmessage.h:
163         Fix warning on Forte (value doesn't fit on enumeration).
164         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
165         Fix warning on Forte (value doesn't fit on enumeration).
166         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
167         DEBUG macro says it takes minimum of 2 args and so Forte
168         complains about the use with just 1 arg.
169         * plugins/elements/gstfdsink.c:
170         * plugins/elements/gstfdsrc.c:
171         * plugins/elements/gstfilesink.c:
172         * plugins/elements/gstfilesrc.c:
173         Use correct return type for the uri handler implementations.
174
175         All these fix warnings in Forte.  Fixes bug #360860.
176
177 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
178
179         * gst/gstelement.h:
180           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
181           format string, so don't use G_GNUC_PRINTF for those versions.
182
183 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
184
185         * gst/gsttaglist.c: (gst_is_tag_list):
186         * gst/gsttaglist.h:
187           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
188
189         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
190           Small test for the above.
191
192 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
193
194         * gst/gsttaglist.h:
195           Less tabs, more spaces.
196
197 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
198
199         * gst/gstinfo.h:
200           Those two function declarations do actually belong there, revert
201           commit from yesterday that turned them intro macros.
202
203 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
204
205         Patch by: Josep Torre Valles <josep@fluendo.com>
206
207         * gst/gst.c: (gst_init_get_option_group):
208         Fix empty declaration and type mismatch.
209         * gst/gstbin.c: (gst_bin_change_state_func):
210         Fix type mismatch.
211         * gst/gstelement.c: (gst_element_continue_state),
212         (gst_element_set_state_func), (gst_element_change_state),
213         (gst_element_change_state_func):
214         Fix type mismatches.
215         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
216         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
217         Cast as appropriate.
218         * gst/gstobject.c: (gst_class_signal_connect):
219         Cast as appropriate.  The function pointer parameter really
220         has the wrong type but would break API if we change it.
221         * gst/gstquery.c:
222         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
223         order of including string.h.
224         * gst/gstutils.c: (gst_element_state_get_name):
225         Remove unreachable line.
226         * gst/gstxml.c: (gst_xml_parse_doc):
227         Fix type mismatch.
228         All these caught by Forte.
229
230 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
231
232         Patch by: Josep Torre Valles <josep@fluendo.com>
233
234         * common/m4/gst-error.m4:
235         Fixed bug #360151.
236         We need to disable warnings on Forte for empty declarations
237         due to gst-indent adding ;s to lines that just use macros
238         where the macro actually doesn't need a ; at end to end
239         statement.
240
241 2006-10-06  Wim Taymans  <wim@fluendo.com>
242
243         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
244         (gst_file_sink_close_file), (gst_file_sink_event),
245         (gst_file_sink_render):
246         Add some FIXME for the NEWSEGMENT handling.
247
248 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
249
250         * gst/parse/grammar.y:
251         Remove static function gst_parse_element_lock as all it does
252         is return.  Looks like cruft from 0.8.
253
254 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
255
256         Patch by: Josep Torre Valles <josep@fluendo.com>
257
258         * common/m4/gst-error.m4:
259         * configure.ac:
260         * libs/gst/net/Makefile.am:
261         Fix a compilation issue with Forte on Solaris.  inet_aton is in
262         libresolv.
263
264 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
265
266         * gst/gstpad.c: (pre_activate):
267         * gst/gstregistry.c: (gst_registry_scan_path_level):
268         * gst/gstregistryxml.c: (load_plugin):
269         * libs/gst/controller/gstcontroller.c:
270         (gst_controlled_property_set_interpolation_mode):
271         * libs/gst/dataprotocol/dataprotocol.c:
272         (gst_dp_packet_from_event_1_0):
273         * libs/gst/net/gstnetclientclock.c:
274         (gst_net_client_clock_observe_times):
275         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
276           Printf fixes.
277
278 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
279
280         * configure.ac:
281         * docs/gst/gstreamer-sections.txt:
282         * gst/gstconfig.h.in:
283         * gst/gstelement.h:
284         * gst/gstinfo.h:
285           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
286           whether we can use G_GNUC_PRINTF in other header files and at
287           least check the printf format/arguments of debug messages and
288           GST_ELEMENT_ERROR messages when the printf extension is not
289           being used.
290           Replace more tabs with spaces in gstinfo.h and remove two spurious
291           function declarations in GST_DISABLE_DEBUG part with macros.
292
293 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
294
295         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
296           More docs for the sync-message signal (mention that it is not
297           emitted by default); log message structures of messages posted on
298           the bus as well.
299
300 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
301
302         * gst/gst.c: (ensure_current_registry_forking):
303         Use a pipe pair to receive status results from the forked child, and
304         ignore the result from waitpid. Fixes #355499
305
306 2006-10-02  Wim Taymans  <wim@fluendo.com>
307
308         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
309         (gst_ghost_pad_suite):
310         Fix leak in check.
311
312 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
313
314         * gst/gstpad.c:
315           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
316
317 2006-10-02  Edward Hervey  <edward@fluendo.com>
318
319         * docs/design/part-block.txt:
320         Further explain the use of flushing on blocked pads.
321         * docs/gst/gstreamer-sections.txt:
322         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
323         (gst_pad_push_event):
324         * gst/gstpad.h:
325         Added new GstPadFlag : GST_PAD_BLOCKING.
326         Adds the notion of pads really blocking, which enables to properly
327         handle FLUSH_START/FLUSH_STOP events on blocked pads.
328         Fixes #358999
329         API: gst_pad_is_blocking()
330         API: GST_PAD_IS_BLOCKING() macro
331         API: GST_PAD_BLOCKING GstPadFlag
332         
333 2006-10-02  Wim Taymans  <wim@fluendo.com>
334
335         Patch by: mrcgran <mrc.gran at gmail dot com>
336
337         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
338         Filter the proxied caps against the padtemplate if we have one.
339
340         * gst/gstquery.c: (gst_query_new_segment):
341         Add include for gstinfo.h so that compilation with
342         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
343
344 2006-10-02  Wim Taymans  <wim@fluendo.com>
345
346         Patch by: Alessandro Decina  <alessandro at nnva org>
347
348         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
349         (gst_file_sink_set_location), (gst_file_sink_open_file),
350         (gst_file_sink_close_file), (gst_file_sink_event),
351         (gst_file_sink_render):
352         Set file to NULL when closing filesink so that we can set a new filename
353         in READY. Fixes #358613.
354
355 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
356
357         Patch by: Alessandro Decina  <alessandro at nnva org>
358
359         * gst/gstevent.c: (_gst_event_copy):
360           Fix gst_mini_object_make_writable() and gst_event_copy() for events
361           with event structures by setting the parent refcount address of the
362           copied structure to the address of the refcount member of the newly
363           copied event rather than the address of the refcount member of the
364           original event. Fixes #358737.
365
366         * tests/check/gst/gstevent.c: (GST_START_TEST):
367           Unit test for the above.
368
369 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
370
371         * docs/design/Makefile.am:
372           Dist some more files.
373
374 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
375
376         * tests/check/libs/controller.c: (GST_START_TEST),
377         (gst_controller_suite):
378           Add test for the previous fix; add some more tests
379           for correct refcounting behaviour; fix a few leaks
380           in test cases; call gst_controller_init() at start
381           of all tests.
382
383 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
384
385         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
386         (gst_controller_set_from_list):
387           Don't g_return_val_if_fail() on timed values with invalid timestamps
388           inside a critical section without unlocking the mutex. Spotted by
389           René Stadler. (#357617)
390           Also, fix up refcounting properly: when returning an existing
391           controller, we should increase the reference only once and not
392           once per property and when trying to control a property again
393           we should also increase the refcount.
394
395 2006-09-29  Wim Taymans  <wim@fluendo.com>
396
397         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
398         * libs/gst/net/gstnettimeprovider.c:
399         (gst_net_time_provider_thread):
400         Stop reading commands when EOF as well.
401
402         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
403         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
404         * plugins/elements/gstidentity.c: (gst_identity_class_init):
405         Unify description of the dump property.
406
407 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
408
409         * tests/examples/manual/.cvsignore:
410         OK, so it's actually cvsignore that needs changing. Stop laughing.
411
412 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
413
414         * tests/examples/manual/Makefile.am:
415         Gah, declare vars *before* using them
416
417 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
418
419         * gst/gst.c: (init_pre), (scan_and_update_registry),
420         (ensure_current_registry_nonforking),
421         (ensure_current_registry_forking), (ensure_current_registry),
422         (init_post), (gst_debug_help), (gst_deinit):
423         * gst/gst_private.h:
424         * gst/gstregistry.c: (gst_registry_finalize),
425         (gst_registry_remove_features_for_plugin_unlocked),
426         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
427         (gst_registry_scan_path),
428         (_priv_gst_registry_remove_cache_plugins),
429         (_priv_gst_registry_cleanup):
430         * gst/gstregistry.h:
431         Re-commit the registry changes, along with an extra fix:
432           When a cached plugin is encountered at a different file path,
433           update the stored path in the registry cache so that the parent
434           process knows where it actually is now when it re-reads the registry
435           cache. Fixes the thing that broke distcheck with the previous commit.
436
437         * tests/check/Makefile.am:
438         Clean up files named 'core' too when running make clean.
439
440         * tests/examples/manual/Makefile.am:
441         Set up a registry path for running these tests, and clean it properly
442         for distcheck.
443
444 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
445
446         * configure.ac:
447         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
448         want gmodule-no-export-2.0.pc instead so that we don't drag in
449         --export-dynamic on every project that links to GStreamer.
450
451         Also, make our export regex only match the start of symbols, rather 
452         than any symbol that contains '_gst' somewhere.
453
454         * libs/gst/check/Makefile.am:
455         The libgstcheck we build does however need export-dynamic, as it
456         produces some symbols that don't match our _gst... style regex.
457         Fixes: #318031
458
459 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
460
461         * gst/gst.c: (init_pre), (scan_and_update_registry),
462         (ensure_current_registry_nonforking),
463         (ensure_current_registry_forking), (ensure_current_registry),
464         (init_post), (gst_debug_help), (gst_deinit):
465         * gst/gst_private.h:
466         * gst/gstregistry.c: (gst_registry_finalize),
467         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
468         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
469         (_gst_registry_cleanup):
470         * gst/gstregistry.h:
471           Revert previous change until I figure out why it breaks distcheck.
472
473 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
474
475         * gst/gst.c: (init_pre), (scan_and_update_registry),
476         (ensure_current_registry_nonforking),
477         (ensure_current_registry_forking), (ensure_current_registry),
478         (init_post), (gst_debug_help), (gst_deinit):
479
480           Make init_pre and init_post take the full complement of GOptionFunc
481           args so they can return useful GErrors. Make the registry updating
482           functions do so.
483
484           Call _priv_gst_registry_remove_cache_plugins after scanning files to
485           ensure that the registry we're about to write out doesn't contain
486           stale information about old-deleted plugin files.
487
488           Make _priv_gst_registry_remove_cache_plugins return a boolean so
489           that deletion of plugin files is considered a registry change.
490
491         * gst/gst_private.h:
492         * gst/gstregistry.c: (gst_registry_finalize),
493         (gst_registry_remove_features_for_plugin_unlocked),
494         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
495         (gst_registry_scan_path),
496         (_priv_gst_registry_remove_cache_plugins),
497         (_priv_gst_registry_cleanup):
498         * gst/gstregistry.h:
499         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
500         by adding _priv prefix, so that they won't appear in the global
501         symbol table. They still do atm though because of #318031. Move the
502         prototypes to gst_private.h
503
504         When removing a plugin, remove all features for that plugin too. 
505         Fixes #340878.
506
507 2006-09-27  Wim Taymans  <wim@fluendo.com>
508
509         * docs/random/moving-plugins:
510         Make it clear that the "compiled-in descriptions" really mean
511         the element details.
512
513         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
514         (gst_base_sink_wait_preroll):
515         Update docs.
516
517         * docs/libs/gstreamer-libs-sections.txt:
518         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
519         (gst_base_src_get_range), (gst_base_src_activate_push):
520         * libs/gst/base/gstbasesrc.h:
521         Added function to block while waiting for PLAYING, this function
522         is used by live sources that block on the clock.
523         API: gst_base_src_wait_playing()
524
525 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
526
527         Patch by: Peter Kjellerstedt <pkj at axis com>
528
529         * Makefile.am:
530           gst-element-check.m4 is generated and should therefore be
531           copied from the build dir rather than the source dir (#357593).
532           'make distcheck' hasn't noticed this because we were disting
533           the file as well, so stop doing that.
534
535 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
536
537         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
538           Add some tests for gst_caps_intersect().
539
540         * tools/gst-launch.c: (event_loop):
541           Print all buffering percentages we get, even the 100% one.
542
543 2006-09-26  Wim Taymans  <wim@fluendo.com>
544
545         * tools/gst-inspect.c: (print_element_properties_info),
546         (print_signal_info):
547         Fix printing of flags to match the look of enums.
548
549 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
550
551         * gst/gstelementfactory.c:
552           Fix typo in docs blurb.
553
554 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
555
556         * gst/gsturi.c: (search_by_entry):
557           Don't assert/crash here if a uri handler doesn't return any
558           supported protocols. The list of protocols could be generated
559           dynamically at runtime or at plugin registration, and an error
560           in the underlying library shouldn't be fatal (#353301).
561
562 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
563
564         * gst/gstinfo.c:
565           Fix warning if HAVE_PRINTF_EXTENSION is undefined
566           (spotted by Peter Kjellerstedt).
567
568 2006-09-23  Wim Taymans  <wim@fluendo.com>
569
570         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
571
572         * libs/gst/base/gstbasesrc.c:
573         (gst_base_src_default_check_get_range), (gst_base_src_start),
574         (gst_base_src_activate_push), (gst_base_src_activate_pull),
575         (gst_base_src_change_state):
576         Match _start/_stop calls in the activate functions. Remove redundant
577         _stop call from the state change function. Fixes #356910.
578         Turn failure DEBUG into ERROR. 
579
580 2006-09-22  Wim Taymans  <wim@fluendo.com>
581
582         * docs/design/part-buffering.txt:
583         * gst/gstmessage.c: (gst_message_new_buffering),
584         (gst_message_parse_buffering):
585         Update docs about buffering.
586
587         * docs/design/part-trickmodes.txt:
588         Fix typo.
589
590 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
591
592         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
593         (gst_controller_new_list):
594           Ref instances when returning them again (fixes #357180)
595
596 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
597
598         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
599           Don't forget to release proxy lock when there's an error.
600
601 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
602
603         * gst/gstcaps.h:
604           Add extra initialisers for Caps things, to fix some plugin warnings
605           when using -Wextra
606
607 2006-09-18  Wim Taymans  <wim@fluendo.com>
608
609         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
610           Also set template on the internal pad so that a getcaps from the 
611           target pad returns the template caps.
612
613 2006-09-18  Wim Taymans  <wim@fluendo.com>
614
615         * gst/gstelement.c: (gst_element_post_message),
616         (gst_element_dispose):
617         Use _DEBUG_OBJECT some more.
618
619         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
620         Avoid typechecks.
621
622         * tools/gst-launch.c: (main):
623         If the toplevel element is not a GstPipeline, it must be put in a
624         pipeline so that a bus and clock is selected.
625
626 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
627
628         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
629           JITTER, RATE, and LATENCY query should be handled by the
630           default case and not by the CONVERT query code.
631
632 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
633
634         * gst/gstformat.c: (gst_format_register):
635           Fix locking order (must take lock before using n_values).
636
637         * gst/gstvalue.c: (gst_value_serialize_enum),
638         (gst_value_deserialize_enum_iter_cmp),
639         (gst_value_deserialize_enum):
640           Fix serialisation/deserialisation of custom registered GstFormats.
641
642         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
643           Unit test for custom format serialisation/deserialisation.
644
645 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
646
647         * docs/pwg/building-boiler.xml:
648         * plugins/elements/gstcapsfilter.c:
649         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
650         section.
651
652 2006-09-16  Edward Hervey  <edward@fluendo.com>
653
654         * libs/gst/base/gstbasetransform.c:
655         (gst_base_transform_buffer_alloc):
656         Check if requested caps are the same as the sinks caps IF
657         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
658         is FALSE.
659         This fixes the renegotiation issues stated in #352827.
660
661 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
662
663         * configure.ac:
664         * docs/manual/advanced-autoplugging.xml:
665         * tests/examples/Makefile.am:
666         * tests/examples/manual/.cvsignore:
667         * tests/examples/manual/Makefile.am:
668         * tests/examples/manual/extract.pl:
669           Extract the manual examples again like we used to do.
670           Fix one of them.
671
672 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
673
674         * win32/common/config.h:
675           update for version
676
677 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
678
679         * gst/gsterror.c:
680           Documents how to receive errors.
681
682 2006-09-15  Wim Taymans  <wim@fluendo.com>
683
684         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
685         (event_loop), (main):
686         Added some comments here and there.
687         Post an application message when an interrupt is caught instead of doing
688         an uncontrolled state change.
689         Clean up the event loop.
690         Handle buffering messages, pause/resume the pipeline.
691         Make shutdown because of an interrupt more reliable.
692
693 2006-09-15  Wim Taymans  <wim@fluendo.com>
694
695         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
696         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
697         (gst_base_sink_preroll_object):
698         Make sure that our internal state is correct when we commit our state
699         asynchronously. This solves a race where a state change to PLAYING
700         could cause the sink to remain blocked in preroll in some situations.
701
702 2006-09-15  Wim Taymans  <wim@fluendo.com>
703
704         * tools/gst-inspect.c: (print_element_properties_info),
705         (print_signal_info):
706         List flags as hex so it's easier to deal with.
707
708 2006-09-15  Wim Taymans  <wim@fluendo.com>
709
710         * docs/libs/gstreamer-libs-sections.txt:
711         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
712         (gst_base_sink_do_sync):
713         * libs/gst/base/gstbasesink.h:
714         Expose logic to wait for preroll so that subclasses such as audiosink
715         can also use this method.
716         API: gst_base_sink_wait_preroll()
717
718 2006-09-15  Wim Taymans  <wim@fluendo.com>
719
720         * gst/gstobject.c: (gst_object_set_parent):
721         * gst/gstpipeline.c: (do_pipeline_seek):
722         Small cleanups in docs and code.
723
724         * gst/gstsegment.c: (gst_segment_clip):
725         * tests/check/gst/gstsegment.c: (GST_START_TEST):
726         if stop == start and start is in the segment, no clipping should be
727         done. Also add a test for this.
728
729 2006-09-15  Wim Taymans  <wim@fluendo.com>
730
731         * docs/design/part-buffering.txt:
732         * docs/gst/gstreamer-sections.txt:
733         * gst/gstmessage.c: (gst_message_new_buffering),
734         (gst_message_parse_buffering):
735         * gst/gstmessage.h:
736         Added methods to create and parse BUFFERING messages.
737         Added preliminary docs about buffering.
738         API: gst_message_new_buffering
739         API: gst_message_parse_buffering
740
741 2006-09-06  Wim Taymans  <wim@fluendo.com>
742
743         * gst/gstbin.c:
744         Update documentation.
745
746         * gst/gstelement.c: (gst_element_class_init),
747         (gst_element_release_request_pad), (gst_element_set_clock),
748         (gst_element_get_index), (gst_element_add_pad),
749         (gst_element_remove_pad), (gst_element_get_random_pad),
750         (gst_element_send_event), (gst_element_get_query_types),
751         (gst_element_query), (gst_element_post_message),
752         (gst_element_message_full), (gst_element_continue_state),
753         (gst_element_lost_state), (gst_element_save_thyself),
754         (gst_element_restore_thyself):
755         Documentation updates.
756         Rename last bit of the new-pad -> pad-added signal rename.
757         Fix the case where an element query would only work if the source
758         pad was linked.
759         Avoid some useless type checking in message handling.
760
761         * gst/gstevent.c:
762         * gst/gstevent.h:
763         * gst/gstutils.c:
764         Documentation updates.
765
766 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
767
768         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
769           add an INFO line for when we actually update the fd
770
771 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
772
773         * configure.ac:
774           back to TRUNK
775
776 === release 0.10.10 ===
777
778 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
779
780         * configure.ac:
781           releasing 0.10.10, "Pais"
782
783 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
784
785         * docs/manual/advanced-position.xml:
786           Fix typo in sample code.
787
788 2006-09-05  Wim Taymans  <wim@fluendo.com>
789
790         * libs/gst/net/gstnetclientclock.c: (inet_aton),
791         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
792         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
793         * libs/gst/net/gstnetclientclock.h:
794         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
795         * libs/gst/net/gstnettimepacket.h:
796         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
797         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
798         (gst_net_time_provider_thread), (gst_net_time_provider_new):
799         * libs/gst/net/gstnettimeprovider.h:
800         Make stuff compile on windows. Fixes #345295.
801
802 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
803
804         * gst/gst.c: (ensure_current_registry_forking):
805           Print better details when child was terminated by signal.
806
807 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
808
809         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
810           Print a warning rather than g_assert() if a plugin feature
811           is a URI handler but returns no protocols (#353976).
812
813 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
814
815         * docs/random/moving-plugins:
816         Fix two typos.         
817
818 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
819
820         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
821           Fix locking order, handle NULL function values properly.
822
823         * gst/gstinfo.h:
824           Fix docs.
825
826         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
827           Initialise variable before using it and fix debug statement to
828           print the address of the function rather than the address of the
829           variable on the stack holding the address of the function.
830
831 2006-09-01  Wim Taymans  <wim@fluendo.com>
832
833         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
834         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
835         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
836         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
837         (gst_ghost_pad_parent_unset),
838         (gst_ghost_pad_internal_do_activate_push),
839         (gst_ghost_pad_internal_do_activate_pull),
840         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
841         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
842         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
843         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
844         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
845         (gst_ghost_pad_new_no_target_from_template),
846         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
847         More cleanups.
848         Avoid needless typechecking in macros.
849         Since the internal pad is always present and never changes, there is
850         no need to locking or ref when retrieving it.
851         Improve debugging a bit.
852         Handle link errors when setting the target. Fixes #341029.
853
854 2006-09-01  Wim Taymans  <wim@fluendo.com>
855
856         * docs/libs/gstreamer-libs-sections.txt:
857         * docs/plugins/gstreamer-plugins-sections.txt:
858         Fix docs some more.
859
860         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
861         (gst_collect_pads_event):
862         * libs/gst/base/gstcollectpads.h:
863         Documentation updates.
864         Free queued buffer when removing a pad.
865
866 2006-08-31  Michael Smith  <msmith@fluendo.com>
867
868         * gst/gstutils.c: (gst_element_link_pads),
869         (gst_element_link_pads_filtered):
870           Ensure that we set a capsfilter to NULL if we failed to link it
871           when doing filtered linking, to avoid criticals.
872
873           No need to check for unreffing srcpad, which is explicly NULLed
874           above (a trivial code cleanup).
875
876 2006-08-31  Wim Taymans  <wim@fluendo.com>
877
878         * docs/design/part-gstghostpad.txt:
879         Update ascii art in documentation.
880
881         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
882         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
883         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
884         (gst_ghost_pad_internal_do_activate_push),
885         (gst_ghost_pad_internal_do_activate_pull),
886         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
887         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
888         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
889         (gst_ghost_pad_set_target):
890         Small cleanups and leak fixes.
891         Remove some checks now that the internal pad is never NULL.
892         Fix the case where linking pads without a target would create nasty
893         criticals. Fixes #341029.
894         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
895         value of _set_target().
896
897         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
898         (gst_ghost_pad_suite):
899         Some more tests for creating and linking untargeted ghostpads.
900
901 2006-08-31  Edward Hervey  <edward@fluendo.com>
902
903         * docs/gst/gstreamer-sections.txt:
904         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
905         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
906         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
907         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
908         (gst_ghost_pad_new_from_template),
909         (gst_ghost_pad_new_no_target_from_template):
910         * gst/gstghostpad.h:
911         Refactored *_new() functions.
912         Templates are now used as a g_object_new() parameter.
913         Use template in _do_getcaps() if we don't have a target.
914         Small documentation cleanups.
915         Added two new constructors:
916         gst_ghost_pad_new_from_template()
917         gst_ghost_pad_new_no_target_from_template()
918         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
919         (gst_ghost_pad_suite):
920         Added tests for new ghostpad instanciation functions.
921
922         API additions: gst_ghost_pad_new_from_template,
923         gst_ghost_pad_new_no_target_from_template
924
925 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
926
927         * docs/random/ensonic/profiling.txt:
928           Ideas about qos profiling.
929
930 2006-08-29  Wim Taymans  <wim@fluendo.com>
931
932         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
933         Code cleanups.
934         Fix memleak.
935
936 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
937
938         * gst/gstxml.c:
939           Improve and detypofy docs.
940
941         * tests/check/Makefile.am:
942         * tests/check/gst/.cvsignore:
943         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
944           Add a basic test suite for GstXML.
945
946 2006-08-29  Wim Taymans  <wim@fluendo.com>
947
948         * gst/gstelement.c: (activate_pads), (clear_caps),
949         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
950         Clear the pad caps when the element shut down all of the pads and
951         is not streaming data that could modify the caps. 
952         Fixes #352958.
953
954 2006-08-28  Michael Smith  <msmith@fluendo.com>
955
956         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
957           Revert previous change; I misunderstood single-segment mode.
958
959 2006-08-28  Michael Smith  <msmith@fluendo.com>
960
961         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
962           Unset DISCONT on buffers when using single-segment mode.
963
964 2006-08-28  Wim Taymans  <wim@fluendo.com>
965
966         * gst/gstcaps.c: (gst_caps_merge_structure):
967         * gst/gstcaps.h:
968         Fix docs and indentation again.
969
970         * tests/check/gst/gstquery.c: (GST_START_TEST):
971         Fix leak in tests and add some more tests.
972
973 2006-08-28  Edward Hervey  <edward@fluendo.com>
974
975         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
976         Inform GstSegment of the last stop position in order for the current
977         segment to have a proper duration if it doesn't have a specific stop
978         position from which a duration could be calculated.
979         This bug was noticeable when a non-flushing, non-update new segment was
980         followed by another segment (all buffers from the new segment were being
981         dropped).
982
983 2006-08-28  Wim Taymans  <wim@fluendo.com>
984
985         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
986         Small comment update.
987
988         * plugins/elements/gstidentity.c: (gst_identity_class_init),
989         (gst_identity_transform_ip):
990         Drop-probability is broken, mention this in the code with a 
991         FIXME and also in the property description.
992         Make silent also be silent about the drop messages.
993
994 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
995
996         * docs/manual/appendix-win32.xml:
997           Remove mention of popt, we don't depend on that any
998           longer (#353136). Add some comments pointing out that
999           this section is slightly outdated.
1000
1001 2006-08-28  Wim Taymans  <wim@fluendo.com>
1002
1003         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1004
1005         * gst/gstquery.c: (gst_query_new_segment):
1006         * tests/check/gst/gstquery.c: (GST_START_TEST):
1007         Initialize variables when creating a new segment query.
1008         Fixes #353121.
1009
1010 2006-08-28  Wim Taymans  <wim@fluendo.com>
1011
1012         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1013
1014         * gst/gstelement.c: (gst_element_get_bus):
1015         * tests/check/gst/gstelement.c: (GST_START_TEST):
1016         Check for NULL before _reffing the bus. Fixes #353122.
1017
1018 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
1019
1020         * docs/manual/basics-bus.xml:
1021           Docs update: fix wrong callback return value explanation; add
1022           some lines about the implicit relationship between main loop
1023           and main context; remove duplicate main loop variable declaration.
1024
1025 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
1026
1027         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1028           Don't leak caps in unit test; add a few more simple
1029           checks. 
1030
1031 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
1032
1033         * docs/gst/gstreamer-sections.txt:
1034         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1035         (gst_caps_structure_is_subset), (gst_caps_merge),
1036         (gst_caps_merge_structure):
1037         * gst/gstcaps.h:
1038         * libs/gst/base/gstbasetransform.c:
1039         (gst_base_transform_transform_caps):
1040         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1041           implement caps merging (fixes #352580)
1042
1043 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
1044
1045         * tools/Makefile.am:
1046         * tools/gst-plot-timeline.py:
1047           add debug-log plotting developer tool (#340674)
1048
1049 2006-08-23  Wim Taymans  <wim@fluendo.com>
1050
1051         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1052         (gst_pad_stop_task):
1053         Improve debugging for task functions.
1054
1055         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1056         (gst_task_start), (gst_task_pause), (gst_task_join):
1057         Make sure that the task function started and finished after a 
1058         join(). 
1059         Don't try to push the task function on the threadpool multiple
1060         times.
1061         Improve the g_warning message with some useful suggestions
1062         about how to fix the problem. 
1063
1064 2006-08-23  Wim Taymans  <wim@fluendo.com>
1065
1066         * gst/gstutils.c: (gst_pad_proxy_getcaps):
1067         Handle RESYNC correctly in _proxy_getcaps.
1068
1069 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
1070
1071         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1072         (gst_xml_parse_memory), (gst_xml_get_element):
1073           Chain up to parent class in dispose function and also
1074           unref the elements in the toplevel_elements GList.
1075           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1076           Always return a reference in gst_xml_get_element() rather
1077           than only sometimes.
1078
1079         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1080           Don't leak GstXml object.
1081
1082 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
1083
1084         * docs/gst/gstreamer-sections.txt:
1085         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1086         (gst_caps_merge):
1087         * gst/gstcaps.h:
1088         * libs/gst/base/gstbasetransform.c:
1089         (gst_base_transform_transform_caps):
1090           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1091           in a better way
1092
1093 2006-08-21  Edward Hervey  <edward@fluendo.com>
1094
1095         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1096         Implement GObject::dispose virtual method in GstXML so we can free the
1097         top_elements GList.
1098
1099 2006-08-21  Wim Taymans  <wim@fluendo.com>
1100
1101         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1102         (gst_buffer_create_sub):
1103         Copy duration/offset_end/caps when creating a subbuffer of the
1104         complete parent.
1105         Make the subbuffer read-only when we make the metadata writable for
1106         now. Fixes #351768.
1107
1108         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1109         Added check for metadata copy when creating subbuffers.
1110
1111 2006-08-21  Edward Hervey  <edward@fluendo.com>
1112
1113         * libs/gst/base/gstbasetransform.c:
1114         (gst_base_transform_buffer_alloc):
1115         Only call downstream buffer_alloc if transform element is passthrough
1116         or always_in_place. Closes #350449.
1117
1118 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1119
1120         * ChangeLog:
1121           ChangeLog surgery to add comments to previous changes
1122
1123 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1124
1125         * gst/gst.c:
1126           Add comments
1127
1128         * gst/gstpad.c: (gst_pad_set_active):
1129           Be more verbose in the log
1130
1131         * libs/gst/base/gstbasetransform.c:
1132         (gst_base_transform_transform_caps):
1133           Simplify caps to get rid of duplicates, fixes #345444
1134
1135 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1136
1137         * gst/gstvalue.c:
1138         * gst/gstvalue.h:
1139           Use these optimizations only internally.
1140
1141 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * gst/gstvalue.c: (gst_value_compare_list),
1144         (gst_value_compare_fraction_range),
1145         (gst_value_intersect_fraction_fraction_range),
1146         (gst_value_intersect_fraction_range_fraction_range),
1147         (gst_value_subtract_fraction_fraction_range),
1148         (gst_value_subtract_fraction_range_fraction_range),
1149         (gst_value_get_compare_func), (gst_value_compare),
1150         (gst_value_compare_with_func):
1151         * gst/gstvalue.h:
1152           Saves the expensive lookup of the compare function in many cases
1153          (#345444)
1154
1155 2006-08-18  Edward Hervey  <edward@fluendo.com>
1156
1157         * tests/check/gst/gstinfo.c: (gst_info_suite):
1158         Disable test that require gstdebug if it wasn't built in core.
1159
1160 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1161
1162         * docs/random/ensonic/logging.txt:
1163           update ideas
1164           
1165         * gst/gstinfo.c: (gst_debug_log_default):
1166           reorder fields, save some columns, add optional color codes for log
1167           levels
1168
1169 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1170
1171         * docs/random/ensonic/logging.txt:
1172           add ideas about making the logs a bit more useful
1173
1174 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1175
1176         * docs/pwg/advanced-events.xml:
1177         * docs/pwg/titlepage.xml:
1178           Update for 0.10 API (#340627). Add myself
1179           to authors list.
1180
1181 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1182
1183         * docs/libs/gstreamer-libs-docs.sgml:
1184         * docs/libs/gstreamer-libs-sections.txt:
1185         * libs/gst/check/gstbufferstraw.c:
1186           Make gstcheck stuff show up in docs (still needs to
1187           be documented properly though).
1188
1189 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
1190
1191         * docs/gst/gstreamer-sections.txt:
1192         * gst/Makefile.am:
1193         * gst/gst.c: (init_post):
1194         * gst/gst_private.h:
1195         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1196         * gst/gstquark.h:
1197         * gst/gstquery.c: (gst_query_new_position),
1198         (gst_query_set_position), (gst_query_parse_position),
1199         (gst_query_new_duration), (gst_query_set_duration),
1200         (gst_query_parse_duration), (gst_query_new_convert),
1201         (gst_query_set_convert), (gst_query_parse_convert),
1202         (gst_query_new_segment), (gst_query_set_segment),
1203         (gst_query_parse_segment), (gst_query_new_seeking),
1204         (gst_query_set_seeking), (gst_query_parse_seeking):
1205         Add internal helpers for pre-registering quarks from static strings
1206         and using the quark values directly instead of looking them up when
1207         creating and parsing queries. Can be used for event construction too.
1208         Closes #350432.
1209
1210 2006-08-16  Wim Taymans  <wim@fluendo.com>
1211
1212         * gst/gstbin.c:
1213         Fix bogus docs.
1214
1215 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1216
1217         * gst/gstutils.c: (gst_util_set_value_from_string):
1218           Fix memleak (#351502).
1219
1220         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1221           Add unit test for most of gst_util_set_value_from_string()
1222           (not that one would want to encourage use of this function).
1223
1224 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1225
1226         * libs/gst/check/gstcheck.h:
1227           Use const gchar * variables in fail_unless_equals_string
1228           macro to avoid compiler warnings (and don't use tabs for
1229           indenting).
1230
1231 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1232
1233         * tools/gst-launch.c: (print_tag):
1234           More space on the left for the tag names, to cater
1235           for the 'extended comment' tag (not touching the
1236           string for the first line since it's translated).
1237
1238 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1239
1240         * libs/gst/check/gstcheck.h:
1241           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1242           print something when they fail.
1243
1244 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1245
1246         * docs/gst/gstreamer-sections.txt:
1247         * gst/gsttaglist.c: (_gst_tag_initialize):
1248         * gst/gsttaglist.h:
1249           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1250           Also change merge function for GST_TAG_COMMENT to
1251           use_first.
1252
1253 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1254
1255         * gst/gstinfo.c: (gst_debug_print_object):
1256           Make GST_PTR_FORMAT print messages as well.
1257
1258         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1259         (GST_START_TEST), (gst_info_suite):
1260           More tests.
1261
1262 2006-08-14  Edward Hervey  <edward@fluendo.com>
1263
1264         * gst/gstelementfactory.c: (gst_element_register):
1265         If the GstElementClass doesn't have a GstElementDetails with all fields
1266         filled up correctly (longname, description AND author), then error out
1267         nicely instead of crashing.
1268
1269 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         * gst/gststructure.c:
1272           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1273
1274         * gst/gstvalue.h:
1275           Expand on the difference between arrays and lists as we use them.
1276           
1277 2006-08-14  Wim Taymans  <wim@fluendo.com>
1278
1279         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1280         If the parent state change function failed, don't assume we can safely
1281         stop the source, this will be done when the pads are deactivated.
1282
1283 2006-08-14  Wim Taymans  <wim@fluendo.com>
1284
1285         * gst/gstbuffer.c:
1286         * gst/gsttask.c: (gst_task_join):
1287         Small doc updates.
1288
1289         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1290         (gst_pad_stop_task):
1291         When pad (de)activation failed for some reason, restore the old
1292         activation mode and set the pad to flushing instead of assuming the
1293         pad is deactivated.
1294         If the _task_join() failed, reinstall the task on the pad so that it can
1295         be stopped later and return an error.
1296
1297 2006-08-11  Andy Wingo  <wingo@pobox.com>
1298
1299         * configure.ac:
1300         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1301         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1302         is only for users of API that don't want to see deprecated
1303         functions in the headers; people that want to compile out
1304         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1305         CFLAGS. Fixes the build of multifdsink, or will soon..
1306
1307 2006-08-11  Wim Taymans  <wim@fluendo.com>
1308
1309         * docs/gst/gstreamer-sections.txt:
1310         Add GstClockClass vmethod docs.
1311
1312         * gst/gstcaps.h:
1313         Mark #endif with comment for associated #if
1314
1315         * gst/gstclock.c: (gst_clock_id_wait):
1316         * gst/gstclock.h:
1317         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1318         most clock implementations.
1319         Document vmethods.
1320         Flesh out docs about resolution methods.
1321         API: GstClockClass::wait_jitter
1322
1323         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1324         (gst_system_clock_async_thread),
1325         (gst_system_clock_id_wait_jitter_unlocked),
1326         (gst_system_clock_id_wait_jitter):
1327         Use base class wait_jitter variant for improved performance
1328         due to less clock polling.
1329
1330 2006-08-11  Edward Hervey  <edward@fluendo.com>
1331
1332         * gst/gst.c: (gst_init_check), (init_post):
1333         Set gst as being initialized before scanning/updating the registry,
1334         since there might be my python plugin loader that calls gst_init() and
1335         we don't want to loop back in.
1336         Closes #350879
1337
1338 2006-08-11  Wim Taymans  <wim@fluendo.com>
1339
1340         * docs/design/part-qos.txt:
1341         Bring docs in line with the code. Mostly the sign of the jitter was
1342         wrong in the docs. Fixes #349943.
1343
1344         * gst/gstclock.c:
1345         Fix the docs for the jitter.
1346
1347         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1348         (gst_event_parse_tag), (gst_event_new_buffer_size),
1349         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1350         (gst_event_new_seek), (gst_event_parse_seek),
1351         (gst_event_new_navigation):
1352         Make sure the GstStructure has no parent when creating custom
1353         events.
1354         Add some more argument checking so that we avoid 0.0 rates.
1355         Flesh out the docs for the QoS event some more.
1356
1357 2006-08-11  Wim Taymans  <wim@fluendo.com>
1358
1359         * docs/gst/gstreamer-sections.txt:
1360         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1361         (ensure_current_registry_forking), (ensure_current_registry),
1362         (parse_one_option), (parse_goption_arg), (gst_deinit),
1363         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1364         * gst/gst.h:
1365         Doc updates.
1366         Added API and command line option to disable registry forking in
1367         addition to the environment variable.
1368         Constify some static arrays.
1369         Added some more debug.
1370         Don't deinit twice.
1371         API: gst_registry_fork_is_enabled()
1372         API: gst_registry_fork_set_enabled()
1373         API: --gst-disable-registry-fork command line option
1374         Fixes #348918.
1375
1376 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1377
1378         * gst/gst.c: (gst_init):
1379           Fix typo in error message.
1380
1381 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1382
1383         * libs/gst/controller/gstcontroller.h:
1384           fix ABI size-correction
1385
1386         * tests/check/libs/gdp.c: (gst_dp_suite):
1387           make tests that use deprecated API conditional
1388
1389 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1390
1391         * docs/libs/gstreamer-libs-sections.txt:
1392         * libs/gst/controller/gstcontroller.c:
1393         (_gst_controller_get_property), (_gst_controller_set_property),
1394         (_gst_controller_init), (_gst_controller_class_init):
1395         * libs/gst/controller/gstcontroller.h:
1396         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1397         (gst_object_set_control_rate):
1398           API: add gst_object_{s,g}et_control_rate(), add private data section,
1399           fix docs
1400
1401         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1402         * libs/gst/dataprotocol/dataprotocol.h:
1403           add deprecation guards to make gtk-doc happy and allow disabling cruft
1404
1405 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1406
1407         * tests/check/Makefile.am:
1408         * tests/check/gst/.cvsignore:
1409           Let's enable the new unit test as well.
1410
1411 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1412
1413         * configure.ac:
1414         * docs/gst/gstreamer-sections.txt:
1415         * gst/gstconfig.h.in:
1416         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1417         (_gst_info_printf_extension_ptr),
1418         (_gst_info_printf_extension_segment):
1419           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1420           register that lets us easily dump GstSegments into debug
1421           logs (#350419).
1422
1423         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1424         (info_segment_format_printf_extension), (gst_info_suite):
1425           Add simple unit test that logs a bunch of different segments (not
1426           valgrinded at the moment because of leaks in
1427           gst_debug_add_log_function).
1428
1429 2006-08-09  Edward Hervey  <edward@fluendo.com>
1430
1431         * libs/gst/base/gstbasetransform.c:
1432         (gst_base_transform_buffer_alloc):
1433         Even if we can't figure out the proper format to request downstream,
1434         call buffer_alloc() downstream with the input parameters without setting
1435         the caps on the srcpad. This will force negotiation in the chain
1436         function.
1437         Closes #350449
1438
1439 2006-08-08  Edward Hervey  <edward@fluendo.com>
1440
1441         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1442         Unlinking from a pad without a target is now a perfectly valid case
1443         which should NOT raise an assertion.
1444         This case would happen if a linked ghostpad its target set to NULL after
1445         it was previously linked.
1446
1447 2006-08-08  Edward Hervey  <edward@fluendo.com>
1448
1449         * tests/check/libs/gdp.c:
1450         Also comment out the test (see below).
1451
1452 2006-08-08  Edward Hervey  <edward@fluendo.com>
1453
1454         * tests/check/libs/gdp.c: (gst_dp_suite):
1455         Use the architecture information from config.h and not gcc macros
1456         in order to properly disable a test that fails on PPC64.
1457
1458 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1459
1460         * gst/gstelement.c: (gst_element_remove_pad):
1461           Don't crash printing the warning if the pad has no parent.
1462
1463 2006-08-02  Wim Taymans  <wim@fluendo.com>
1464
1465         * libs/gst/dataprotocol/dataprotocol.c:
1466         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1467         (gst_dp_crc), (gst_dp_header_payload_length),
1468         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1469         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1470         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1471         (gst_dp_event_from_packet), (gst_dp_validate_header),
1472         (gst_dp_validate_payload):
1473         Make debug category static
1474         Constify the crc table.
1475         Do some more arg checking in public functions.
1476         Fix some docs and do some small cleanups.
1477
1478         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1479         Add some more checks to see if GDP deals with bogus input.
1480
1481 2006-07-31  Wim Taymans  <wim@fluendo.com>
1482
1483         * gst/gstvalue.c: (gst_value_compare_list):
1484         Fix GstValueList comparison code. Fixes #347293.
1485
1486         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1487         Check to test GstValueList comparison.
1488
1489 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1490
1491         * gst/gstelementfactory.c: (gst_element_factory_create):
1492         Remove unnecessary ref/unref pair
1493
1494         * gst/parse/grammar.y:
1495         Make sure to free the parse buffer on all code paths.
1496         Move a g_free up to the error handler where it's easier to see.
1497
1498         * tests/check/gst/gstevent.c: (test_event):
1499         Extending timeout for downstream travelling events to 10 seconds to
1500         hopefully avoid intermittent failure on the buildbots.
1501
1502         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1503         Don't manually set the state of the src element - it will happen as a
1504         natural consequence of the pipeline changing state, and that way it
1505         will do it in the right order too.
1506
1507 2006-07-31  Wim Taymans  <wim@fluendo.com>
1508
1509         * libs/gst/base/gstbasetransform.c:
1510         (gst_base_transform_buffer_alloc):
1511         Use OBJECT_LOCK and refcounting to get the pad caps in the
1512         buffer_alloc function because the caps could change while we are
1513         busy with them. Fixes #349105
1514
1515 2006-07-31  Wim Taymans  <wim@fluendo.com>
1516
1517         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1518         Protect _PAD_CAPS with OBJECT_LOCK.
1519
1520 2006-07-31  Wim Taymans  <wim@fluendo.com>
1521
1522         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1523         (gst_pad_get_property), (gst_pad_activate_pull),
1524         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1525         (gst_pad_set_activate_function),
1526         (gst_pad_set_activatepull_function),
1527         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1528         (gst_pad_set_getrange_function),
1529         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1530         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1531         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1532         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1533         (gst_pad_set_acceptcaps_function),
1534         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1535         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1536         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1537         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1538         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1539         (gst_pad_configure_sink), (gst_pad_configure_src),
1540         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1541         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1542         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1543         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1544         (gst_pad_send_event):
1545         Use _DEBUG_OBJECT when it makes sense.
1546         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1547         Small cleanups and code reflows.
1548         Avoid caps refcounting in _accept_caps.
1549         Refactor alloc_buffer so that the code performed on the peer is in a
1550         separate function. Also if the pad does not implement a buffer alloc
1551         function, we should still check if the pad is flushing before falling
1552         back to the default allocator.
1553
1554 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1555
1556         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1557         Make all uses of identity and fakesink have silent=true to avoid
1558         serialising every passing data structure, which is breaking tests
1559         on FC4 for some unknown reason.
1560
1561 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1562
1563         * gst/parse/Makefile.am:
1564         * gst/parse/grammar.y:
1565         * gst/parse/parse.l:
1566           Reverted previous patch as it required to bump the flex dependency to
1567           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1568
1569 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1570
1571         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1572
1573         * gst/parse/Makefile.am:
1574         * gst/parse/grammar.y:
1575         * gst/parse/parse.l:
1576           push & pop the state of the lexer for reentrant use case
1577           Fixes #349180
1578
1579 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1580
1581         * libs/gst/base/gstbasesrc.h:
1582           Note in the docs that the ::newsegment vfunc is not actually used by
1583           GstBaseSrc.
1584
1585 2006-07-28  Wim Taymans  <wim@fluendo.com>
1586
1587         * libs/gst/base/gstcollectpads.c:
1588         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1589         (gst_collect_pads_clear), (gst_collect_pads_flush),
1590         (gst_collect_pads_event), (gst_collect_pads_chain):
1591         When flushing a pad, also clear the queued buffer so that we don't
1592         accidentally use it when we shouldn't.
1593         Fix leaks by inreffing incomming buffer.
1594         Flush out queued buffers in case of errors.
1595         Fixes #347452.
1596
1597 2006-07-28  Wim Taymans  <wim@fluendo.com>
1598
1599         * docs/random/phonon-gst:
1600         Random notes about a Phonon backend.
1601
1602 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1603
1604         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1605         Extra debug output
1606         * tests/check/libs/gdp.c: (gst_dp_suite):
1607         Take a whack at fixing the ppc compile using a different define to
1608         disable the broken test.
1609
1610         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1611         Remove excess g_print()
1612
1613 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1614
1615         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1616         Oops, meant to uncomment this line too to dampen the noise a bit.
1617
1618 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1619
1620         * gst/parse/grammar.y:
1621         * gst/parse/parse.l:
1622         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1623         (GST_START_TEST), (parse_suite):
1624         Fix some of the leaks exposed by extending the parse-launch testsuite,
1625         and move the 3 I can't figure out into a separate test that won't run
1626         the pipelines unless the appropriate line is uncommented.
1627
1628 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1629
1630         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1631           Requesting 0 bytes before the end of the file should result in
1632           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1633           unit test.
1634
1635 2006-07-27  Wim Taymans  <wim@fluendo.com>
1636
1637         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1638         Fix useless assert, a uint is always positive.
1639
1640         * gst/gststructure.c: (gst_structure_nth_field_name),
1641         (gst_structure_foreach), (gst_structure_map_in_place):
1642         Check input arguments for public functions to avoid obvious crashes.
1643
1644         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1645         * plugins/elements/gstfakesink.h:
1646         Do less useless typechecking.
1647
1648 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1649
1650         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1651           Do not use mmap() by default since there are a number of error
1652           conditions that we would like to handle in a non-fatal way that
1653           will result in a SIGBUS if we use mmap(). Examples: external
1654           devices (USB harddrive, portable music player) being unplugged
1655           while in use; file on mounted CD/DVD that can't be read because
1656           the medium is partly damaged. Fixes #348455 and #348475.
1657
1658 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1659
1660         * gst/gstquery.h:
1661         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1662         rates are a gdouble
1663
1664 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1665
1666         * gst/gstregistry.c:
1667           Move big documentation comment into class section header, so that it
1668           appears in the API docs.
1669
1670 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1671
1672         * docs/gst/gstreamer-sections.txt:
1673         Oops. Commit the docs additions too for new API.
1674         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1675
1676 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1677
1678         * gst/gststructure.c: (gst_structure_id_set),
1679         (gst_structure_id_set_valist):
1680         * gst/gststructure.h:
1681         Add API for setting values into structures without performing
1682         a quark lookup, if the appropriate quark is already known.
1683
1684         API: gst_structure_id_set
1685         API: gst_structure_id_set_valist
1686
1687         * gst/parse/grammar.y:
1688         * gst/parse/parse.l:
1689         Remove some dead code shown by the coverage information.
1690         Don't throw a critical g_warning when encountering a syntax error,
1691         just warn and let the normal error path handle it.
1692
1693         * plugins/elements/gstelements.c:
1694         Bump the rank of filesink up to PRIMARY so that it is preferred over
1695         gnomevfssink for file:// sink uri's
1696
1697         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1698         (GST_START_TEST), (run_delayed_test),
1699         (gst_parse_test_element_base_init),
1700         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1701         (gst_parse_test_element_change_state),
1702         (gst_register_parse_element), (parse_suite):
1703         Beef up the tests for parse syntax to check that more error cases
1704         fail as they are supposed to. Increases the test coverage a bit.
1705
1706 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1707
1708         * docs/manual/basics-elements.xml:
1709           Fix gst_element_link() example.
1710
1711         * gst/gstutils.c:
1712           Mention in API docs that one should usually gst_bin_add()
1713           elements to a bin or pipeline before doing the linking.
1714           
1715 2006-07-26  Wim Taymans  <wim@fluendo.com>
1716
1717         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1718         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1719         Avoid function call for known types by keeping the buffer and
1720         subbuffer GType global.
1721
1722         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1723         Random silly optimisations in read() path.
1724
1725 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1726
1727         * tools/gst-launch.c: (main):
1728           If the top-level of the parse is a normal bin, it doesn't do the
1729           right logic to run as a top-level element, so place it inside a
1730           pipeline.
1731
1732 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1733
1734         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1735           Remove superfluous g_object_notify() calls, GObject does
1736           that for us automatically.
1737
1738 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1739
1740         * gst/gstinfo.h:
1741           on Win32, use dllspec to export the debug category symbols
1742
1743 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1744
1745         * gst/gsttaglist.c: (_gst_tag_initialize):
1746           Allow more than one GST_TAG_IMAGE per taglist.
1747
1748 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1749
1750         * gst/gstminiobject.c:
1751           update docs
1752         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1753         (gst_fd_src_create):
1754           log recurring events at LOG level
1755           add more debug for when the fd gets set
1756
1757 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1758
1759         * gst/gstparse.c: (gst_parse_launch):
1760           Also remove reentrance checks if flex is MT safe (#348179)
1761          Fix my empty ChangeLog entry below
1762
1763 2006-07-21  Andy Wingo  <wingo@pobox.com>
1764
1765         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1766
1767         * libs/gst/check/Makefile.am
1768         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1769         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1770         * libs/gst/check/gstbufferstraw.h:
1771         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1772         functions, thus proving I am still a GStreamer haxor. OK I wrote
1773         them a long time ago, but anyways.
1774
1775 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1776
1777         * configure.ac:
1778         * gst/gstparse.c: (gst_parse_launch):
1779           Check for flex version and omit mutex if we have a MT save flex
1780           (fixes #348179)
1781
1782 2006-07-21  Wim Taymans  <wim@fluendo.com>
1783
1784         * gst/gstparse.c: (gst_parse_launch):
1785         Protect recursive calls to _parse with a recursive mutex
1786         and busy flag.
1787
1788 2006-07-21  Wim Taymans  <wim@fluendo.com>
1789
1790         * tests/check/gst/gstpad.c: (GST_START_TEST):
1791         Fix leak in test.
1792
1793 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1794
1795         * gst/gstparse.c: (gst_parse_launch):
1796           Do not hang on recursive usage of gst_parse_launch()
1797
1798 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         * gst/gsttaglist.c:
1801           Add some more docs, comments and FIXME 0.11s here and there
1802           and also fix some typos.
1803
1804 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1805
1806         * gst/gstsegment.h:
1807           Convert tabs to spaces for better readability. 
1808
1809 2006-07-20  Edward Hervey  <edward@fluendo.com>
1810
1811         * tests/check/libs/gdp.c: (gst_dp_suite):
1812         the test_buffer test fails at line 140 on ppc64 at the following
1813         check:
1814         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1815                 GST_BUFFER_FLAG_IN_CAPS),
1816                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1817         See bug #348114 for more details.
1818
1819 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1820
1821         * docs/pwg/advanced-scheduling.xml:
1822         * gst/gstpad.c:
1823           Fix typos (#348000).
1824
1825 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1826
1827         * docs/pwg/intro-basics.xml:
1828           Fix wrong links (#347927).
1829
1830 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1831
1832         * gst/gstregistry.h:
1833         * gst/gstregistryxml.c: (load_feature),
1834         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1835         * win32/common/config.h:
1836           make --disable-index work (#342564)
1837
1838 2006-07-18  Wim Taymans  <wim@fluendo.com>
1839
1840         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1841
1842         * gst/Makefile.am:
1843         * gst/gsttrace.h:
1844         The attached patch adds two missing defines to gsttrace.h when tracing
1845         is disabled.  It also corrects one existing define.
1846         Fixes #347756.
1847
1848 2006-07-17  Wim Taymans  <wim@fluendo.com>
1849
1850         * docs/gst/gstreamer-sections.txt:
1851         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1852         * gst/gst.h:
1853         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1854         Add two functions to check and change the SIGSEGV behaviour
1855         when loading plugins.
1856         Don't mess with the SIGSEGV handler when we were told not to.
1857         Fixes #347794.
1858         API: gst_segtrap_is_enabled
1859         API: gst_segtrap_set_enabled
1860
1861 2006-07-14  Wim Taymans  <wim@fluendo.com>
1862
1863         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1864         * tests/check/elements/filesrc.c: (GST_START_TEST):
1865         Revert fix for regression in #347408 after release.
1866
1867 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         Patch by: Antoine Tremblay <hexa00 at gmail com>
1870
1871         * gst/gstutils.c: (gst_element_unlink):
1872           Free iterator when done (#347311).
1873
1874         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1875           And add a test case for this.
1876
1877 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1878
1879         * configure.ac:
1880         Bump nano back to CVS
1881
1882 === release 0.10.9 ===
1883
1884 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1885
1886         * configure.ac:
1887           releasing 0.10.9, "On the road again"
1888
1889 2006-07-13  Wim Taymans  <wim@fluendo.com>
1890
1891         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1892         * tests/check/elements/filesrc.c: (GST_START_TEST):
1893         Revert pull-0 fix for release. Disable check. Fixes #347408.
1894
1895 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1896
1897         * libs/gst/dataprotocol/dataprotocol.c:
1898         (gst_dp_event_from_packet_1_0):
1899           Fixes #347337: failure to deserialize event packets with
1900           empty payload (only event type)
1901
1902 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1903
1904         * gst/Makefile.am:
1905           do not install a .c file in the header directory
1906
1907 2006-07-13  Edward Hervey  <edward@fluendo.com>
1908
1909         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1910         GhostPad no longer implicitely use the padtemplates of the targets.
1911         Fixes #347384
1912
1913 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1914
1915         * gst/gstvalue.c: (gst_value_compare_list),
1916         (gst_value_compare_array), (_gst_value_initialize):
1917         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1918         Make GstValueArray comparison be order dependent as designed.
1919         Add checks for value lists and value array comparisons.
1920         Fixes #347221
1921
1922 2006-07-11  Edward Hervey  <edward@fluendo.com>
1923
1924         * gst/gstbin.c: (activate_pads),
1925         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1926         (gst_bin_change_state_func):
1927         (de)activate src pads before calling state_change on the childs.
1928         This is to avoid the case where a src ghostpad is blocked (holding the
1929         stream lock), which would block the deactivation of the ghostpad's
1930         target pad.
1931         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1932         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1933         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1934         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1935         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1936         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1937         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1938         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1939         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1940         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1941         (gst_ghost_pad_class_init),
1942         (gst_ghost_pad_internal_do_activate_push),
1943         (gst_ghost_pad_internal_do_activate_pull),
1944         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1945         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1946         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1947         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1948         GhostPads now create their internal GstProxyPad at creation (and not
1949         when they're linked, as it was being done previously).
1950         The internal and target pads are linked straight away.
1951         The data will also travel through the other pad in order to make
1952         pad blocking and probes non-hackish (the probe/block now really happens
1953         on the GhostPad and not on the target).
1954         * gst/gstpad.c: (gst_pad_set_blocked_async),
1955         (gst_pad_link_prepare), (gst_pad_push_event):
1956         Remove previous ghostpad cruft.
1957         * gst/gstutils.c: (gst_pad_add_data_probe),
1958         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1959         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1960         (gst_pad_remove_buffer_probe):
1961         Remove previous ghost pad cruft.
1962         Added more detailed debug statements.
1963         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1964         Fix the testsuite for refcounting changes.
1965         The comments about who has references were correct, but the refcount
1966         being checked wasn't the same (!?!).
1967
1968         Fixes #341029
1969
1970 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1971
1972         * docs/gst/gstreamer-sections.txt:
1973         * gst/gstconfig.h.in:
1974         More docs for configuration options, add docs to gtk-doc.
1975
1976 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1977
1978         * gst/Makefile.am:
1979         * gst/gstconfig.h.in:
1980         * win32/common/config.h:
1981         Fix build when disabling tracing (fixes #344016). Also start to document
1982         the defines that disable the sub-systems.
1983
1984 2006-07-10  Edward Hervey  <edward@fluendo.com>
1985
1986         * gst/gst.c: (ensure_current_registry_forking):
1987         let's make valgrind happy...
1988
1989 2006-07-09  Wim Taymans  <wim@fluendo.com>
1990
1991         * gst/gstelement.c: (activate_pads),
1992         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1993         Better pad activation code: Reset the collect value too on resync.
1994         Add some comments.
1995
1996 2006-07-09  Wim Taymans  <wim@fluendo.com>
1997
1998         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1999         (gst_pad_activate_push):
2000         Use some more macros where it makes sense.
2001         Allow pad mode switching instead of asserting. When a pad
2002         is activated in one mode and we activate it in another, 
2003         deactivate it first before activating it in a different mode.
2004         Fixes #329198.
2005
2006 2006-07-08  Andy Wingo  <wingo@pobox.com>
2007
2008         * tools/gst-launch.c (main): Handle err == NULL.
2009
2010         * gst/gst.c (init_post, ensure_current_registry)
2011         (ensure_current_registry_forking)
2012         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2013         factoring out the registry scanning into separate functions. Don't
2014         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2015         Better environment var name/interface suggestions accepted.
2016
2017 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2018
2019         * gst/gstobject.c: (gst_object_set_name_default),
2020         (gst_object_set_name):
2021           Random micro-optimisation: don't use a hash table
2022           with strings as keys and the usual strdup/strcmp
2023           involved, but rather just use the GQuark of the
2024           type name as key, since it needs to be looked up
2025           anyway to get the type name string.
2026
2027         * tests/check/gst/gstobject.c: (GST_START_TEST):
2028           Fix various leaks.
2029
2030 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2031
2032         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2033         (gst_bin_iterate_all_by_interface):
2034           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2035           GTypes are gulongs and thus the top 4 bytes might be cut
2036           off on some platforms when doing GPOINTER_TO_INT, leading
2037           to invalid GTypes and bad things happening (see RH bug #179654).
2038           Also add a check to make sure the type passed in is really
2039           an interface type.
2040
2041 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2042
2043         * .cvsignore:
2044           Ignore more.
2045
2046 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2047
2048         * Makefile.am:
2049         * configure.ac:
2050         * gst-element-check.m4:
2051         * gst-element-check.m4.in:
2052           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2053           instead of the unversioned gst-inspect (#324176, #168659).
2054
2055 2006-07-06  Wim Taymans  <wim@fluendo.com>
2056
2057         * gst/gstmessage.h:
2058         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2059         warnings.
2060
2061 2006-07-06  Wim Taymans  <wim@fluendo.com>
2062
2063         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2064         (gst_base_src_wait), (gst_base_src_update_length),
2065         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2066         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2067         (gst_base_src_loop), (gst_base_src_start),
2068         (gst_base_src_activate_pull):
2069         Update docs.
2070         blocksize == 0 now means the default blocksize when working in push
2071         based mode.
2072         Remove some pointless asserts in _wait function.
2073         Fix offset/length calculations and EOS handling. We can now pull 0
2074         bytes as well, which is allowed.
2075         use _check_get_range() to decide if we can operate in _pull based
2076         mode.
2077         Fix refcounting leak when check_get_range function was not 
2078         implemented.
2079         API GstBaseSrc::blocksize range can be 0 too now (default)
2080
2081         * tests/check/elements/filesrc.c: (GST_START_TEST),
2082         (filesrc_suite):
2083         Added check to test _get_range() behaviour.
2084
2085 2006-07-06  Wim Taymans  <wim@fluendo.com>
2086
2087         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2088         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2089         (gst_pad_pull_range):
2090         * gst/gstpad.h:
2091         Lots of comments and docs added to the pad functions.
2092         Flesh out the expected behaviour of the get_range() functions.
2093
2094 2006-07-06  Wim Taymans  <wim@fluendo.com>
2095
2096         * gst/gstbus.h:
2097         * gst/gstclock.h:
2098         * gst/gstevent.h:
2099         * gst/gstiterator.h:
2100         * gst/gstpad.h:
2101         * gst/gstplugin.h:
2102         * gst/gsttask.h:
2103         Remove comma at end of enumerator list. 
2104
2105 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
2106
2107         * win32/common/libgstbase.def:
2108         * win32/common/libgstdataprotocol.def:
2109         * win32/common/libsgtreamer.def:
2110         Add new exported functions.
2111
2112 2006-07-05  Wim Taymans  <wim@fluendo.com>
2113
2114         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2115         Add some more docs here and there.
2116
2117 2006-07-05  Wim Taymans  <wim@fluendo.com>
2118
2119         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2120         (gst_base_sink_loop), (gst_base_sink_get_position):
2121         When operating in pull mode update the offset so that we
2122         read sequentially.
2123
2124 2006-07-05  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstregistryxml.c: (read_string):
2127         Avoid strdup. (will happen in libxml, but hey!)
2128
2129         * gst/gsturi.c:
2130         Add some more docs.
2131
2132 2006-07-05  Wim Taymans  <wim@fluendo.com>
2133
2134         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2135         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2136         (gst_buffer_suite):
2137         No point in checking if the size of the subbuffer > 0, the
2138         code handles it correclty as demonstrated by unit test.
2139         Also add a unit test for the zero sized _new_and_alloc and
2140         _copy. Fixes #346663.
2141
2142 2006-07-05  Wim Taymans  <wim@fluendo.com>
2143
2144         * libs/gst/base/gstbasetransform.c:
2145         (gst_base_transform_prepare_output_buffer),
2146         (gst_base_transform_buffer_alloc),
2147         (gst_base_transform_handle_buffer):
2148         Make sure the buffer we pass to transform_ip has a refcount of
2149         1 and thus is writable. Fixes #343196
2150
2151 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2152
2153         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2154         (gst_file_src_init), (gst_file_src_set_property),
2155         (gst_file_src_get_property), (gst_file_src_map_region):
2156         * plugins/elements/gstfilesrc.h:
2157         Add "sequential" property, off by default, to use madvise and hint
2158         to the kernel that sequential access is desired.
2159         Touch all retrieved pages by default to ensure they are pulled
2160         into memory. (Closes #345720)
2161
2162 2006-07-03  Wim Taymans  <wim@fluendo.com>
2163
2164         * docs/design/part-block.txt:
2165         * docs/design/part-dynamic.txt:
2166         Small docs updates.
2167
2168 2006-07-03  Wim Taymans  <wim@fluendo.com>
2169
2170         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2171         (gst_caps_unref), (gst_static_caps_get),
2172         (gst_caps_append_structure):
2173         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2174         Use GSlice when the glib we build against is >= 2.10
2175
2176 2006-07-03  Wim Taymans  <wim@fluendo.com>
2177
2178         * gst/gstelement.c: (gst_element_pads_activate):
2179         Small cleanup in pad activation code.
2180
2181 2006-07-03  Wim Taymans  <wim@fluendo.com>
2182
2183         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2184
2185         * gst/gst-i18n-app.h:
2186         * gst/gst-i18n-lib.h:
2187         * tools/gst-inspect.c: (print_signal_info):
2188         The attached patch will make the inclusion of gettext.h unconditional in
2189         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2190         libintl.h in tools/gst-inspect.c.
2191         This allows use of --disable-nls again and fixes #344642.
2192
2193 2006-07-03  Edward Hervey  <edward@fluendo.com>
2194
2195         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2196         Implement pad blocking on events according to part-block.txt.
2197         More comments on behaviour.
2198         * tests/check/gst/gstevent.c: (test_event):
2199         Send event to peer pad of blocked pad (else it will block).
2200
2201 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2202
2203         * libs/gst/check/gstcheck.c: (gst_check_message_error),
2204         (gst_check_run_suite):
2205           if we get the wrong message, give us the types as string
2206         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2207           Fix a translatable
2208         * tests/check/elements/filesrc.c: (GST_START_TEST):
2209           add a test for trying to open a non-existing file
2210
2211 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2212
2213         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2214           add a test for adding self
2215
2216 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2217
2218         * libs/gst/check/gstcheck.h:
2219           add some assert_ as alias for fail_unless_*
2220         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2221           increase test coverage
2222
2223 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2224
2225         * Makefile.am:
2226           include lcov.mak for lcov coverage generation
2227         * tools/Makefile.am:
2228           add to CLEANFILES
2229
2230 2006-07-02  Edward Hervey  <edward@fluendo.com>
2231
2232         * tests/check/elements/.cvsignore:
2233         moaping
2234
2235 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2236
2237         * configure.ac:
2238           don't set CFLAGS and friends for gcov, done from GST_GCOV now
2239         * tests/check/Makefile.am:
2240           clean up gcov files
2241
2242 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2243
2244         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2245           remove gst_caps_simplify; it was not declared and not used
2246           and deprecated in 0.8
2247
2248 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2249
2250         * docs/faq/gst-uninstalled:
2251           don't put empty paths on PYTHONPATH
2252         * docs/gst/gstreamer-sections.txt:
2253           remove some symbols that are not there
2254
2255 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2256
2257         * gst/gstcaps.c: (gst_caps_compare_structures):
2258           whitespace fixes
2259         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2260         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2261           add more tests
2262
2263 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2264
2265         * libs/gst/dataprotocol/Makefile.am:
2266           build dataprotocol test by linking to the lib, instead of
2267           compiling the source, so we get coverage
2268         * tests/check/Makefile.am:
2269         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2270         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2271           add a test for filesrc
2272
2273 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2274
2275         * tests/check/gst/gststructure.c: (GST_START_TEST),
2276         (gst_structure_suite):
2277           Push coverage from 59.04% to 70.00%
2278
2279 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2280
2281         * tests/check/Makefile.am:
2282           gst-inspect every element; this makes sure that we also get
2283           coverage on element's get/set functions
2284
2285 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2286
2287         * configure.ac:
2288           set CFLAGS and friends to -O0 if gcov is being used
2289           add GCOV LIBS
2290         * gst/Makefile.am:
2291         * libs/gst/base/Makefile.am:
2292         * libs/gst/check/Makefile.am:
2293         * libs/gst/controller/Makefile.am:
2294         * libs/gst/dataprotocol/Makefile.am:
2295         * libs/gst/net/Makefile.am:
2296         * plugins/elements/Makefile.am:
2297         * plugins/indexers/Makefile.am:
2298           add makefile rules to generate gcov data and clean up
2299         * tests/check/Makefile.am:
2300           add a coverage target that generates an html overview
2301           of coverage data
2302
2303 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2304
2305         * tests/check/elements/fakesink.c:
2306         * tests/check/elements/fakesrc.c:
2307         * tests/check/elements/fdsrc.c:
2308         * tests/check/elements/identity.c:
2309         * tests/check/generic/sinks.c: (gst_sinks_suite):
2310         * tests/check/generic/states.c:
2311         * tests/check/gst/gst.c:
2312         * tests/check/gst/gstabi.c:
2313         * tests/check/gst/gstbin.c:
2314         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2315         * tests/check/gst/gstbus.c: (gst_bus_suite):
2316         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2317         * tests/check/gst/gstelement.c:
2318         * tests/check/gst/gstevent.c: (gst_event_suite):
2319         * tests/check/gst/gstghostpad.c:
2320         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2321         * tests/check/gst/gstmessage.c: (gst_message_suite):
2322         * tests/check/gst/gstminiobject.c:
2323         * tests/check/gst/gstobject.c:
2324         * tests/check/gst/gstpad.c:
2325         * tests/check/gst/gstpipeline.c:
2326         * tests/check/gst/gstplugin.c:
2327         * tests/check/gst/gstquery.c: (gst_query_suite):
2328         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2329         * tests/check/gst/gststructure.c:
2330         * tests/check/gst/gstsystemclock.c:
2331         * tests/check/gst/gsttag.c:
2332         * tests/check/gst/gsttask.c: (gst_task_suite):
2333         * tests/check/gst/gstutils.c:
2334         * tests/check/gst/gstvalue.c:
2335         * tests/check/libs/adapter.c:
2336         * tests/check/libs/basesrc.c:
2337         * tests/check/libs/collectpads.c:
2338         * tests/check/libs/controller.c:
2339         * tests/check/libs/gdp.c: (gst_dp_suite):
2340         * tests/check/libs/gstnetclientclock.c:
2341         * tests/check/libs/gstnettimeprovider.c:
2342         * tests/check/libs/libsabi.c: (libsabi_suite):
2343         * tests/check/libs/typefindhelper.c:
2344         * tests/check/pipelines/cleanup.c:
2345         * tests/check/pipelines/parse-launch.c:
2346         * tests/check/pipelines/simple-launch-lines.c:
2347         * tests/check/pipelines/stress.c: (stress_suite):
2348           use the new macro
2349
2350 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2351
2352         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2353         * libs/gst/check/gstcheck.h:
2354           create a macro and function so that the simple unit test
2355           case can be just one macro to create main()
2356
2357 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2358
2359         * gst/gstbin.c: (gst_bin_restore_thyself):
2360         * gst/gstxml.c: (gst_xml_make_element):
2361           Fix deserialisation from XML. Set parent manually
2362           instead of using gst_bin_add(), since gst_bin_add()
2363           will unlink all pads of the element being added.
2364           Fixes #341667.
2365
2366 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2367
2368         Patch by: Peter Kjellerstedt <pkj at axis com>
2369
2370         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2371           Fix missing g_strdup() and double free when using the
2372           --gst-plugin-load command line option (#346097).
2373
2374 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2375
2376         * gst/gstinfo.c:
2377           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2378
2379         * libs/gst/net/gstnetclientclock.c:
2380         * libs/gst/net/gstnettimeprovider.c:
2381           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2382
2383 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2384
2385         * docs/manual/advanced-dataaccess.xml:
2386           Fix buffer probe example compilation in
2387           ADM (#345708).
2388         
2389 2006-06-22  Edward Hervey  <edward@fluendo.com>
2390
2391         * gst/gstelement.c: (gst_element_pads_activate):
2392         We need to deactivate src pads first and then sink pads.
2393         The reason is the src pads might be blocking while holding the streaming
2394         lock, so we need to deactivate them first so that deactivating the sink
2395         pads doesn't block (since it will require the streaming lock).
2396
2397 2006-06-22  Wim Taymans  <wim@fluendo.com>
2398
2399         * libs/gst/base/gstbasetransform.c:
2400         (gst_base_transform_buffer_alloc):
2401         Forgot to remove two unneeded unrefs.
2402         Simplify a check _is_equal allready checks the obvious case.
2403
2404 2006-06-22  Wim Taymans  <wim@fluendo.com>
2405
2406         * docs/design/part-block.txt:
2407         Some docs about what pad_block should do.
2408
2409 2006-06-22  Wim Taymans  <wim@fluendo.com>
2410
2411         * gst/gstcaps.c: (gst_caps_replace):
2412         Fix crasher when passed NULL. Doc clarification.
2413         Optimize for the trivial case.
2414
2415         * gst/gstpipeline.c: (gst_pipeline_change_state):
2416         Small cleanups.
2417
2418         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2419         Small documentation cleanup.
2420
2421         * libs/gst/base/gstbasetransform.c:
2422         (gst_base_transform_buffer_alloc):
2423         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2424         is what we need and it avoids a whole lot of redundant 
2425         refcount operations.
2426
2427 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2428
2429         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2430
2431         * docs/manual/advanced-dataaccess.xml:
2432           Fix 'Embedding static elements' section to use
2433           GST_PLUGIN_DEFINE_STATIC (#345607).
2434
2435 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2436
2437         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2438           Attempt to 'fix' spuriously failing test case: it seems like the
2439           timeout of half a second is simply too small when the system is under
2440           load otherwise, and the timeout doesn't really seem to serve any
2441           particular purpose here. Give the pipeline a few seconds to preroll
2442           first, and then give it another half a second to go from PAUSED to
2443           PLAYING and marshal the message into the main thread.
2444
2445 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2446
2447         * tools/gst-feedback-m.m:
2448           Don't only use unversioned tools, try versioned tools as well
2449           (#345086).
2450
2451 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2452
2453         * gst/gstbus.c: (gst_bus_class_init):
2454           Fix some typos, make docs more explicit.
2455
2456 2006-06-20  Wim Taymans  <wim@fluendo.com>
2457
2458         * tests/check/gst/gstghostpad.c: (block_callback),
2459         (GST_START_TEST), (gst_ghost_pad_suite):
2460         Added some more ghostpad tests, mainly blocking
2461         and probes.
2462
2463 2006-06-16  Wim Taymans  <wim@fluendo.com>
2464
2465         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2466         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2467         (gst_file_sink_event), (gst_file_sink_render):
2468         * plugins/elements/gstfilesink.h:
2469         Check if we can seek in the file instead of assuming
2470         we always can. Post an error when we are asked to seek in a
2471         non-seekable file (like a fifo). Fixes #343312.
2472         Some cleanups.
2473
2474 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2475
2476         * tools/gst-launch.1.in:
2477           Un-garble (fourcc) bit in filtered caps section.
2478
2479 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2480
2481         * docs/manual/advanced-autoplugging.xml:
2482         * docs/manual/basics-helloworld.xml:
2483         * docs/manual/highlevel-components.xml:
2484           Don't leak bus reference in sample code.
2485
2486 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2487
2488         * autogen.sh:
2489           Add default for new --enable-plugin-docs switch.
2490
2491         * configure.ac:
2492           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2493           Fixes #344039.
2494
2495         * docs/Makefile.am:
2496           Use new ENABLE_PLUGIN_DOCS conditional.
2497
2498 2006-06-14  Wim Taymans  <wim@fluendo.com>
2499
2500         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2501         Make it clear with a FIXME and a real define what the #if 0
2502         previously disabled.
2503
2504 2006-06-14  Wim Taymans  <wim@fluendo.com>
2505
2506         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2507         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2508         * libs/gst/base/gstbasetransform.c:
2509         (gst_base_transform_sink_eventfunc):
2510         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2511         Don't randomly and silently reset a segment when the format 
2512         changes as this is a bug somewhere upstream. Fixes #330379.
2513
2514 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2515
2516         Patch by: Wouter Paesen  <wouter at kangaroot net>
2517
2518         * libs/gst/controller/gstcontroller.c:
2519         (gst_controlled_property_new):
2520           Fix controlling of float properties (#344849).
2521
2522         * tests/check/libs/controller.c:
2523         (gst_test_mono_source_get_property),
2524         (gst_test_mono_source_set_property),
2525         (gst_test_mono_source_class_init), (GST_START_TEST):
2526           While we're at it, add some float stuff to unit test.
2527
2528 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2529
2530         * docs/README:
2531         * docs/images/gdp-header.svg:
2532           add a gdp image
2533         * docs/libs/Makefile.am:
2534         * docs/libs/gdp-header.png:
2535         * libs/gst/dataprotocol/dataprotocol.c:
2536           add it to the API docs
2537         * docs/manual/intro-motivation.xml:
2538           fix typo
2539
2540 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2541
2542         * gst/gst.c: (scan_and_update_registry), (init_post):
2543           If the fork()'ed child process can't write the updated registry cache
2544           file to disk for some reason, make it exit with a failure exit code,
2545           so that the parent can then re-scan the plugins itself and update the
2546           registry structures in memory and work with that (rather than failing
2547           when creating elements because seemingly no plugins are available).
2548           Refactor registry scanning code into separate function for this and
2549           also separate fork() and non-fork() code paths. Fixes #344748.
2550
2551 2006-06-13  Wim Taymans  <wim@fluendo.com>
2552
2553         * docs/manual/advanced-dataaccess.xml:
2554         Fix wrong PluginDesc. Fixes #344755.
2555
2556 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2557
2558         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2559           Fix silly bug that prevented us from creating
2560           ~/.gstreamer-0.10 and writing the registry in one
2561           go (the first call to g_mkstemp() would overwrite the
2562           placeholder in the template string, so the second call
2563           to g_mkstemp() after creating the missing directory
2564           would then error out with 'invalid argument').
2565
2566 2006-06-13  Edward Hervey  <edward@fluendo.com>
2567
2568         * gst/gst.c: (init_post):
2569         Free string.
2570
2571 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2572
2573         * gst/glib-compat-private.h:
2574         * gst/glib-compat.c:
2575         * gst/glib-compat.h:
2576         * gst/gstvalue.c: (gst_value_serialize_flags):
2577           remove GLib 2.6 compatibility code
2578
2579 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2580
2581         * gst/parse/Makefile.am:
2582           Fix build with 'make -j N' even more (#340016).
2583
2584 2006-06-12  Wim Taymans  <wim@fluendo.com>
2585
2586         * docs/gst/gstreamer-sections.txt:
2587         Fix docs.
2588
2589 2006-06-12  Wim Taymans  <wim@fluendo.com>
2590
2591         * gst/gstsegment.c: (gst_segment_set_duration),
2592         (gst_segment_set_last_stop), (gst_segment_set_seek),
2593         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2594         (gst_segment_to_running_time), (gst_segment_clip):
2595         Use G_UNLIKELY to help the compiler a bit.
2596
2597 2006-06-12  Wim Taymans  <wim@fluendo.com>
2598
2599         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2600
2601         * gst/gstevent.c: (gst_event_get_type):
2602         * gst/gstmessage.c:
2603         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2604         (gst_pad_push):
2605         constify quark registration strings. Fixes #344115
2606         Avoid unneeded type checking is _pad_push() by internally
2607         calling gst_pad_chain_unchecked().
2608
2609 2006-06-12  Wim Taymans  <wim@fluendo.com>
2610
2611         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2612         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2613         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2614         (gst_buffer_is_span_fast), (gst_buffer_span):
2615         Init _type for consistency.
2616         Use _FLAGS macro to avoid type check.
2617         Avoid unneeded type checks in subbufer code.
2618
2619 2006-06-12  Wim Taymans  <wim@fluendo.com>
2620
2621         * gst/gst.c: (gst_debug_help):
2622         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2623         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2624         (gst_plugin_feature_list_free):
2625         * gst/gstregistry.c: (gst_registry_add_plugin),
2626         (gst_registry_add_feature), (gst_registry_plugin_filter),
2627         (gst_registry_feature_filter), (gst_registry_find_plugin),
2628         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2629         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2630         * gst/gstregistryxml.c: (load_feature),
2631         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2632         * gst/gstminiobject.c: (gst_mini_object_unref),
2633         (gst_mini_object_replace), (gst_value_mini_object_free),
2634         (gst_value_mini_object_copy):
2635         Use _CAST macros to avoid unneeded type checking.
2636         Added some more G_UNLIKELY.
2637
2638 2006-06-12  Wim Taymans  <wim@fluendo.com>
2639
2640         * gst/gstbuffer.h:
2641         Avoid unneeded type checking.
2642         API: GST_BUFFER_IS_DISCONT
2643
2644         * gst/gstminiobject.h:
2645         Avoid type check in flag accessor.
2646
2647         * gst/gstelementfactory.h:
2648         * gst/gstplugin.h:
2649         * gst/gstpluginfeature.h:
2650         Add _CAST macros.
2651         API: GST_ELEMENT_FACTORY_CAST
2652         API: GST_PLUGIN_CAST
2653         API: GST_PLUGIN_FEATURE_CAST
2654
2655 2006-06-12  Wim Taymans  <wim@fluendo.com>
2656
2657         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2658         (gst_object_unref):
2659         Add G_UNLIKELY in type registration.
2660         Avoid type check in _ref/_unref since that is also
2661         done in glib.
2662
2663 2006-06-12  Wim Taymans  <wim@fluendo.com>
2664
2665         * gst/gsterror.c: (gst_g_error_get_type):
2666         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2667         (gst_static_pad_template_get_type):
2668         * gst/gsttaglist.c: (gst_tag_list_get_type):
2669         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2670         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2671         * gst/gsturi.c: (gst_uri_handler_get_type):
2672         * gst/gstvalue.c: (gst_date_get_type):
2673         * gst/gstxml.c: (gst_xml_get_type):
2674         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2675         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2676         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2677         Add G_UNLIKELY in type registration.
2678
2679 2006-06-12  Wim Taymans  <wim@fluendo.com>
2680
2681         * tools/gst-inspect.c: (print_signal_info):
2682         Properly print enum values.
2683
2684 2006-06-12  Wim Taymans  <wim@fluendo.com>
2685
2686         * gst/gstinfo.c: (gst_debug_set_active),
2687         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2688         * gst/gstinfo.h:
2689         Add some G_[UN]LIKELY.
2690         Maintain __gst_debug_min to avoid formatting the arguments of
2691         debug messages that will be dropped anyway to avoid a lot of 
2692         overhead from the debugging system.
2693
2694 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2695
2696         * po/POTFILES.in:
2697         * po/POTFILES.skip:
2698           add missing files containing translatable strings, tell intltool about
2699           one exception
2700
2701 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2702
2703         * tests/check/libs/.cvsignore:
2704         add test-binary to ignore list
2705
2706 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2707
2708         * docs/libs/gstreamer-libs-docs.sgml:
2709         reorder (put dp into a chapter) and indent
2710
2711 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2712
2713         * configure.ac:
2714           back to HEAD
2715
2716 === release 0.10.8 ===
2717
2718 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2719
2720         * configure.ac:
2721           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2722
2723 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2724
2725         * gst/gst.c: (init_post):
2726           move pid declaration to declaration block
2727
2728 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2729
2730         * gst/gst.c: (init_post):
2731           use _exit() instead of exit() in our forked child; this ensures
2732           that none of the registered exit handlers from whatever is using
2733           GStreamer get executed.  This fixes gnome-mixer-applet failing
2734           to load, because ORBit would shut down.
2735           Spotted by: Edward Hervey  <edward@fluendo.com>
2736           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2737           Fixes #344474
2738
2739 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2740
2741         * configure.ac:
2742           back to TRUNK
2743
2744 === release 0.10.7 ===
2745
2746 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2747
2748         * configure.ac:
2749           releasing 0.10.7, "Soepeke, ik zie ou"
2750
2751 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2752
2753         * configure.ac:
2754         * po/af.po:
2755         * po/az.po:
2756         * po/bg.po:
2757         * po/ca.po:
2758         * po/cs.po:
2759         * po/de.po:
2760         * po/en_GB.po:
2761         * po/fr.po:
2762         * po/it.po:
2763         * po/nb.po:
2764         * po/nl.po:
2765         * po/ru.po:
2766         * po/sq.po:
2767         * po/sr.po:
2768         * po/sv.po:
2769         * po/tr.po:
2770         * po/uk.po:
2771         * po/vi.po:
2772         * po/zh_CN.po:
2773         * po/zh_TW.po:
2774         * win32/common/config.h:
2775           0.10.6.2 prerelease
2776
2777 2006-06-07  Wim Taymans  <wim@fluendo.com>
2778
2779         * gst/gstindex.c: (gst_index_gtype_resolver):
2780         * tools/gst-xmlinspect.c: (print_plugin_info):
2781         Fix leak spotted by coverity checker. Fixes #343827
2782         Fix another other leak found by paolo borelli.
2783
2784 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2785
2786         * libs/gst/dataprotocol/dataprotocol.c:
2787         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2788         (gst_dp_version_get_type), (gst_dp_init),
2789         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2790         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2791         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2792         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2793         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2794         (gst_dp_packetizer_free):
2795         * libs/gst/dataprotocol/dataprotocol.h:
2796           API: add a GstDPPacketizer object, and create/free functions
2797           API: add GstDPVersion enum
2798           Add 1.0 event function that uses the string serialization
2799           Serialize more useful buffer flags
2800           Fixes #343988
2801
2802 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2803
2804         * tests/check/Makefile.am:
2805         * tests/check/gst/gstabi.c:
2806         * tests/check/gst/struct_ppc64.h:
2807         * tests/check/libs/libsabi.c:
2808         * tests/check/libs/struct_ppc64.h:
2809           add ppc64 structure sizes
2810
2811 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2812
2813         * tests/check/Makefile.am:
2814         * tests/check/gst/gstabi.c:
2815         * tests/check/gst/struct_x86_64.h:
2816         * tests/check/libs/libsabi.c:
2817         * tests/check/libs/struct_x86_64.h:
2818           generate and add structure size lists for x86_64
2819
2820 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2821
2822         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2823         * libs/gst/check/gstcheck.h:
2824           factor out the method from tests that checks size of structures,
2825           and add code to generate the header containing these sizes
2826         * tests/check/gst/gstabi.c: (GST_START_TEST):
2827         * tests/check/gst/struct_i386.h:
2828         * tests/check/libs/libsabi.c: (GST_START_TEST):
2829         * tests/check/libs/struct_i386.h:
2830           use it
2831
2832 2006-06-06  Michael Smith  <msmith@fluendo.com>
2833
2834         * gst/gstsegment.h:
2835           Don't use c++-style comments, fixes #343929
2836
2837 2006-06-05  Edward Hervey  <edward@fluendo.com>
2838
2839         * gst/gst.c:
2840         plugin_paths is not used if we build without registry support.
2841
2842         * gst/gstsegment.c: (gst_segment_copy): 
2843         _copy() was always returning NULL...
2844
2845 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2846
2847         * libs/gst/dataprotocol/dataprotocol.c:
2848         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2849         (gst_dp_packet_from_event):
2850           factor out CRC code
2851
2852 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2853
2854         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2855           make sure we unset caps
2856
2857 2006-06-02  Michael Smith  <msmith@fluendo.com>
2858
2859         * libs/gst/check/gstcheck.c: (gst_check_init),
2860         (gst_check_chain_func):
2861         * libs/gst/check/gstcheck.h:
2862           Add a cond/mutex to the check support lib, signal this whenever we
2863           add to the buffers list. This will allow tests to not busy-wait on
2864           the buffer-list.
2865
2866 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2867
2868         * libs/gst/dataprotocol/dataprotocol.c:
2869         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2870         (gst_dp_packet_from_event):
2871           factor out some common header init code
2872
2873 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2874
2875         * docs/libs/gstreamer-libs-sections.txt:
2876         * docs/libs/tmpl/gstdataprotocol.sgml:
2877         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2878         * libs/gst/dataprotocol/dataprotocol.h:
2879           API: make gst_dp_crc() public
2880
2881 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2882
2883         * plugins/indexers/gstindexers.c: (plugin_init):
2884         conditionally register fileindexer (fixes #343598)
2885
2886 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2887
2888         * gst/gsttagsetter.h:
2889         Can't cast ifaces to a class
2890
2891         * libs/gst/net/gstnetclientclock.h:
2892         * libs/gst/net/gstnettimeprovider.h:
2893         * plugins/elements/gstfakesink.h:
2894         * plugins/elements/gstfakesrc.h:
2895         * plugins/elements/gstfdsink.h:
2896         * plugins/elements/gstfdsrc.h:
2897         * plugins/elements/gstfilesink.h:
2898         * plugins/elements/gstfilesrc.h:
2899         * plugins/elements/gstidentity.h:
2900         * plugins/elements/gstqueue.h:
2901         * plugins/elements/gsttee.h:
2902         * plugins/indexers/gstfileindex.c:
2903         * plugins/indexers/gstmemindex.c:
2904         * tests/old/examples/plugins/example.h:
2905         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2906
2907 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2908
2909         * libs/gst/dataprotocol/dataprotocol.c:
2910         (gst_dp_header_from_buffer):
2911           make sure we zero the whole ABI-compatible area
2912
2913 2006-06-01  Wim Taymans  <wim@fluendo.com>
2914
2915         Patch by: Alessandro Decina <alessandro at nnva dot org>
2916
2917         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2918         Make sure the EOS flag is cleared from pads after a flush
2919         or stop. Fixes #343538.
2920
2921         * tests/check/libs/collectpads.c: (GST_START_TEST),
2922         (gst_collect_pads_suite):
2923         Added test for collectpads reusage after EOS.
2924
2925 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2926
2927         * gst/gst.c:
2928          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2929         * win32/common/libgstbase.def:
2930          export gst_collect_pads_set_flushing
2931         * win32/common/libgstreamer.def:
2932          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2933          gst_value_fraction_multiply
2934         * win32/vs6/gst_inspect.dsp:
2935          add a link to intl.lib
2936
2937 2006-05-30  Wim Taymans  <wim@fluendo.com>
2938
2939         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2940         (gst_collect_pads_chain):
2941         Handle the case where a pad is removed from the collection
2942         that could cause the other pads to become collectable.
2943
2944 2006-05-30  Wim Taymans  <wim@fluendo.com>
2945
2946         * gst/gstelement.c:
2947         Clarify the use of _release_request_pad() and
2948         _get_request_pad() a bit better.
2949
2950         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2951         (gst_adapter_take_buffer):
2952         Fix some doc and comment typos.
2953
2954 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2955
2956         * docs/gst/gstreamer-sections.txt:
2957         * docs/libs/gstreamer-libs-sections.txt:
2958           add declared symbols
2959
2960 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2961
2962         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2963         Add debug that can be enabled using a #define at the top of the file,
2964         for dumping stats about how late/early we were when waking up from
2965         waiting on the clock.
2966
2967 2006-05-30  Wim Taymans  <wim@fluendo.com>
2968
2969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2970         When rebuilding the pad list, don't leak the previous list.
2971
2972 2006-05-30  Wim Taymans  <wim@fluendo.com>
2973
2974         Patch by: Lutz Mueller <lutz at topfrose dot de>
2975
2976         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2977         (gst_base_src_get_query_types), (gst_base_src_update_length):
2978         Publish supported query types.
2979         Update last_stop field in get_range mode so the position
2980         query works. Fixes #342321.
2981
2982 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2983
2984         * docs/gst/gstreamer-sections.txt:
2985         * gst/gsttaglist.c: (_gst_tag_initialize):
2986         * gst/gsttaglist.h:
2987           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2988
2989 2006-05-30  Wim Taymans  <wim@fluendo.com>
2990
2991         Patch by: Alessandro Decina <alessandro at nnva dot org>
2992
2993         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2994         Unlock mutex when removing an unknown pad.
2995         Fixes #343334.
2996
2997         * tests/check/Makefile.am:
2998         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2999         (push_event), (setup), (teardown), (GST_START_TEST),
3000         (gst_collect_pads_suite), (main):
3001         Added collecpads check, disabled for now as check crashes for
3002         some reason.
3003
3004 2006-05-29  Wim Taymans  <wim@fluendo.com>
3005
3006         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3007         Don't leak pads lists.
3008
3009 2006-05-29  Wim Taymans  <wim@fluendo.com>
3010
3011         * docs/libs/gstreamer-libs-sections.txt:
3012         * libs/gst/base/gstcollectpads.c:
3013         (gst_collect_pads_set_flushing_unlocked),
3014         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3015         (gst_collect_pads_stop):
3016         * libs/gst/base/gstcollectpads.h:
3017         API: gst_collect_pads_set_flushing()
3018         Added api to set the pads to flushing, useful for seeking
3019         code in elements using collectpads.
3020         Clear segment when receiving a flush.
3021
3022 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
3023
3024         * gst/gst.c: (add_path_func), (init_post):
3025           Don't scan registry paths passed via --gst-plugin-path immediately
3026           (will crash, because absolutely nothing is set up and no types are
3027           registered etc.); do this later in init_post(). Fixes #343057.
3028
3029 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3030
3031         * gst/gst.c: (init_post):
3032           if we have fork, fork while reading/rebuilding the registry
3033           so the parent doesn't take the hit of having all plugins loaded
3034           in memory.  Fixes #342777.
3035         * configure.ac:
3036           Check if we have fork()
3037         * win32/common/config.h.in:
3038           no fork() on win32
3039
3040 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3041
3042         * plugins/elements/gstelements.c:
3043         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3044         (gst_file_src_init), (gst_file_src_set_property),
3045         (gst_file_src_get_property), (gst_file_src_start):
3046         * plugins/elements/gstfilesrc.h:
3047           API: GstFileSrc::use-mmap
3048
3049         Add a use-mmap property to enable easier testing of all code paths.
3050         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3051         in the absence of gnomevfssrc. (Closes #340501)
3052
3053 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3054
3055         * tools/gst-inspect.c:
3056         Add missing include, removes warning of ngettext not being defined on
3057         some arches.
3058
3059 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3060
3061         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3062         Handle NULL input and output pointers silently as a failed conversion,
3063         rather than g_warnings.
3064
3065 2006-05-25  Wim Taymans  <wim@fluendo.com>
3066
3067         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3068         Initialize variable before using. Fixes #342820.
3069
3070 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3071
3072         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3073           Fix off-by-one bug that would only allow peeks of N-1 bytes
3074           from the start even if the buffer to typefind on contains
3075           in fact N bytes of data (makes vorbis typefinding from a
3076           vorbis identification header buffer work).
3077
3078         * tests/check/Makefile.am:
3079         * tests/check/libs/.cvsignore:
3080         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3081         (gst_typefindhelper_suite), (main), (foobar_typefind),
3082         (plugin_init):
3083           Add very basic unit test for gst_type_find_helper_for_buffer()
3084           that checks for the problem fixed above.
3085
3086 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3087
3088         * tools/gst-inspect.c: (print_interfaces),
3089         (print_element_properties_info), (print_element_list), (main):
3090           add more translatable strings
3091
3092 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
3093
3094         Patch by: Julien Moutte  <julien at moutte net>
3095
3096         * docs/gst/gstreamer-sections.txt:
3097           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3098           
3099         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3100         (gst_fake_sink_preroll):
3101         * plugins/elements/gstfakesink.h:
3102           API: Add new GstFakeSink::preroll-handoff signal (#337100).
3103
3104 2006-05-23  Wim Taymans  <wim@fluendo.com>
3105
3106         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3107         * gst/gstpad.h:
3108         Added _CUSTOM error and success GstFlowReturn that can be
3109         used be elements internally. 
3110         Added macro to check for SUCCESS flowreturns.
3111         API: GST_FLOW_CUSTOM_SUCCESS
3112         API: GST_FLOW_CUSTOM_ERROR
3113         API: GST_FLOW_IS_SUCCESS
3114
3115         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3116         Added check for GstFlowReturn sanity.
3117
3118 2006-05-23  Wim Taymans  <wim@fluendo.com>
3119
3120         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3121
3122         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3123         (gst_collect_pads_event):
3124         clear/reset segment info in FLUSH_STOP.
3125         Fixes #336929.
3126
3127 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
3128
3129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3130         (gst_collect_pads_check_collected):
3131         Flush queued buffer on _stop(), fixes playing again (#342454)
3132
3133 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3134
3135         * tests/check/gst/gststructure.c: (GST_START_TEST),
3136         (gst_structure_suite):
3137           add a test for a complete structure
3138
3139 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3140
3141         * docs/faq/developing.xml:
3142         * docs/faq/faq.xml:
3143         * docs/faq/troubleshooting.xml:
3144         * docs/faq/using.xml:
3145           Some minor FAQ updates that won't change the fact that
3146           our FAQ is badly structured, full of information hardly
3147           anyone new to GStreamer needs to know and lacking lots
3148           of information people constantly ask for.
3149           
3150 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
3151
3152         * gst/gstpad.c: (gst_pad_set_caps):
3153           Short-circuit gst_pad_set_caps if setting the existing
3154           caps pointer again, and avoid printing debug and 
3155           reffing/unreffing the caps.
3156
3157         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3158           There's actually no need to set the caps before pushing -
3159           the acceptcaps method will handle it anyway.
3160
3161 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3162
3163         * docs/gst/gstreamer-sections.txt:
3164         * win32/common/libgstreamer.def:
3165         * gst/gstutils.c: (gst_element_seek_simple):
3166         * gst/gstutils.h:
3167           API: add gst_element_seek_simple() (#342238).
3168
3169 2006-05-18  Edward Hervey  <edward@fluendo.com>
3170
3171         * gst/gsttypefind.c: (gst_type_find_get_type):
3172         * gst/gsttypefind.h:
3173         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3174         registered for GstTypeFind pointers. This allows wrapping the structure
3175         in bindings (i.e. gst-python).
3176
3177 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3178
3179         * gst/gsttagsetter.c:
3180           Docs additions and fixes (see #339918).
3181
3182 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
3183
3184         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3185         The caps intersection algorithm can produce multiple copies of the
3186         caps. Until that is fixed, we need to simplify the result to be
3187         sure whether the allowed caps are fixed or not.
3188
3189         * plugins/elements/gstqueue.c: (gst_queue_init),
3190         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3191         (gst_queue_push_one):
3192         Proxied buffer alloc should not set the caps on the source pad.
3193         When pushing buffers, we always accept the caps change that triggers.
3194         This prevents negotiation errors caused by caps changing mid-stream 
3195         and then being refused on our source pad (because upstream is now
3196         refusing those caps).
3197
3198 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3199
3200         * tests/examples/helloworld/helloworld.c: (main):
3201           Must plug audioconvert and audioresample between decoder
3202           and audio sink.
3203
3204 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
3205
3206         * gst/gstregistryxml.c: (read_string), (load_pad_template),
3207         (load_feature), (load_plugin):
3208         Allow empty strings for some of the plugin fields so we don't 
3209         drop valid plugin entries that were written out correctly
3210         (Fixes #341479)
3211
3212 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
3213         
3214         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3215           Use g_remove and g_rename instead of remove and rename that don't 
3216           handle utf8 characters. rename was failing for users who had specific
3217           characters in their name then the registry was built at each 
3218           gstreamer init.
3219         * win32/vs6/gst_inspect.dsp:
3220         * win32/vs6/gst_launch.dsp:
3221         * win32/vs6/libgstbase.dsp:
3222         * win32/vs6/libgstcoreelements.dsp:
3223         * win32/vs6/libgstreamer.dsp:
3224           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
3225           build of libgstreamer and clean unused libraries in projects link 
3226           settings.
3227
3228 2006-05-17  Edward Hervey  <edward@fluendo.com>
3229
3230         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3231         The queue is not responsible for pushing an EOS when receiving a fatal
3232         flow error. It's up to the real element driving the pipeline to do that.
3233
3234 2006-05-16  Edward Hervey  <edward@fluendo.com>
3235
3236         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3237         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3238         buffer returned a fatal error. It should just send an EOS and stop
3239         its task.
3240         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3241         when pushing buffers on the queue and will be able to handle the event.
3242
3243 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3244
3245         * docs/manual/basics-bins.xml:
3246         * docs/manual/basics-init.xml:
3247           Fix typos and minor errors in sample code (#341856).
3248
3249 2006-05-16  Wim Taymans  <wim@fluendo.com>
3250
3251         * docs/design/part-qos.txt:
3252         Fix indexes in formulas to make more sense.
3253
3254 2006-05-15  Wim Taymans  <wim@fluendo.com>
3255
3256         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3257         Don't report POSITION based on clock time if sync is
3258         disabled in a sink.
3259
3260 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3261
3262         * gst/gstobject.h:
3263           Add cast to make compiler happy - refcount variable was a gint
3264           in GstObject but is a guint in GObject and g_atomic_int_get()
3265           wants a gint *.
3266
3267 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3268
3269         * gst/parse/Makefile.am:
3270           chain commands using &&, which also makes parallel make work
3271
3272 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3273
3274         * docs/gst/gstreamer-sections.txt:
3275         * gst/gstevent.c:
3276         * gst/gstevent.h:
3277         * gst/gstmessage.h:
3278           Minor docs fixes.
3279
3280 === release 0.10.6 ===
3281
3282 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3283
3284         * configure.ac:
3285           releasing 0.10.6, "Take the cannoli"
3286
3287 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3288
3289         * tools/gst-launch.c: (print_tag):
3290           Fix use of uninitialized variable in the hypothetical
3291           case that some broken plugin creates a GST_TAG_IMAGE
3292           tag containing a NULL buffer (#341667).
3293
3294 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3295
3296         * tools/gst-launch.c: (print_tag):
3297           Print something more intelligible for image tags when
3298           using the -t switch (#341556).
3299
3300 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3301
3302         * Makefile.am:
3303           updates for win32
3304         * configure.ac:
3305           define GST_MAJORMINOR so we have it available in win32/common/config.h
3306           Possibly remove it from our Makefile.am files later
3307         * win32/common/config.h:
3308         * win32/common/config.h.in:
3309           added GST_MAJORMINOR
3310         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3311         * win32/common/gstversion.h:
3312           updated
3313
3314 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3315
3316         * win32/MANIFEST:
3317           Update win32 files listing.
3318         * win32/common/gstversion.h:
3319           Add GST_MAJORMINOR definition.
3320         * win32/common/libgstreamer.def:
3321           Add new exported functions.
3322           
3323 2006-05-12  Michael Smith  <msmith@fluendo.com>
3324
3325         * gst/gstplugin.c: (gst_plugin_load_file):
3326           If an so file has no plugin entry point, unload the module.
3327
3328 2006-05-11  Wim Taymans  <wim@fluendo.com>
3329
3330         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3331         (gst_queue_set_property):
3332         Don't forget to signal the _chain or _loop function 
3333         when the queue size or thresholds change since that might
3334         cause them to make progres again.
3335
3336 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3337
3338         * gst/gstclock.c: (gst_clock_class_init):
3339         * gst/gstindex.c: (gst_index_class_init):
3340         * gst/gstobject.c: (gst_object_class_init):
3341         * gst/gstpad.c: (gst_pad_class_init):
3342         * gst/gstpipeline.c: (gst_pipeline_class_init):
3343         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3344         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3345         * libs/gst/base/gstbasetransform.c:
3346         (gst_base_transform_class_init):
3347         * libs/gst/net/gstnetclientclock.c:
3348         (gst_net_client_clock_class_init):
3349         * libs/gst/net/gstnettimeprovider.c:
3350         (gst_net_time_provider_class_init):
3351         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3352         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3353         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3354         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3355         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3356         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3357         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3358         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3359         * plugins/elements/gsttee.c: (gst_tee_class_init):
3360         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3361         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3362           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3363
3364 2006-05-11  Wim Taymans  <wim@fluendo.com>
3365
3366         * gst/gstbuffer.c: (_gst_buffer_initialize):
3367         Register subbufer along with the buffer type so that
3368         it does not accidentally gets registered from N
3369         different streaming threads in a non threadsafe way.
3370
3371 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3372
3373         * gst/gstbuffer.h:
3374         * gst/gstevent.h:
3375         * gst/gstmessage.h:
3376           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3377           gst_event_ref() and gst_message_ref() functions again
3378           (ugly hack, please do fix if there's a better way besides
3379           overrides.txt, which doesn't seem to work).
3380
3381 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3382
3383         * libs/gst/check/gstcheck.h:
3384           add an assert for setting state to avoid lots of repetitive code
3385           in the future
3386
3387 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3388
3389         * gst/gstvalue.c: (gst_value_serialize_flags):
3390           fix a leak if no flags are set
3391         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3392           fix leak in tests
3393
3394 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3395
3396         * docs/manual/basics-pads.xml:
3397           Expand a bit on caps and filtered links and update
3398           examples that were still using the no longer existing
3399           gst_pad_link_filtered() (#338206).
3400
3401 2006-05-10  Wim Taymans  <wim@fluendo.com>
3402
3403         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3404         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3405         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3406         (gst_collect_pads_stop):
3407         * libs/gst/base/gstcollectpads.h:
3408         No need to call _stop in _finalize.
3409         Iterate the main pad list in _finalize.
3410         Added some more debug.
3411         Free lists and data in the right order.
3412         Also free data whem doing _remove_pad when stopped for
3413         backward compatibility protect ::started with PAD_LOCK as
3414         well.
3415
3416 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3417
3418         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3419         (gst_structure_parse_value):
3420           add some comments
3421           rename a method so that it actually says what it does better
3422
3423 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3424
3425         * gst/gstevent.c: (_gst_event_initialize):
3426         * gst/gstformat.c: (_gst_format_initialize):
3427           make sure some essential types used by events are registered
3428           as part of gst_init()
3429         * gst/gstvalue.c: (gst_value_serialize_flags):
3430           if no flags are set, serialize them to a value that represents NONE
3431           so that deserializing them works
3432         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3433           add tests for serialization and deserialization of flags
3434
3435 2006-05-10  Wim Taymans  <wim@fluendo.com>
3436
3437         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3438         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3439         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3440         (gst_collect_pads_event), (gst_collect_pads_chain):
3441         Update docs.
3442         Better debug info.
3443         Catch and return errors from the collect function
3444         Refuse data on eos pads.
3445
3446 2006-05-10  Edward Hervey  <edward@fluendo.com>
3447
3448         * gst/gstinterface.h:
3449         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3450         GInterface type checking.
3451         They were previously using non-defined macros.
3452
3453 2006-05-09  Wim Taymans  <wim@fluendo.com>
3454
3455         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3456         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3457         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3458         (gst_collect_pads_start), (gst_collect_pads_stop),
3459         (gst_collect_pads_peek), (gst_collect_pads_pop),
3460         (gst_collect_pads_available), (gst_collect_pads_read),
3461         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3462         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3463         (gst_collect_pads_chain):
3464         * libs/gst/base/gstcollectpads.h:
3465         Clean up the mess that is collectpads, add comments and
3466         FIXMEs where needed.
3467         Maintain a separate pad list so we can add pads while
3468         collecting the other ones. For this we need a new separate 
3469         lock (see comics).
3470         Fix memory leak in finalize.
3471         Refactor some weird code to set/unset pad flushing flags, mark
3472         with comments.
3473         Don't crash in _available, _read, _flush when we're EOS.
3474
3475         * tests/check/libs/.cvsignore:
3476         Ignore adapter check binary.
3477
3478 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3479
3480         * gst/gstindex.c: (gst_index_resolver_get_type):
3481         * plugins/elements/gstfakesink.c:
3482         (gst_fake_sink_state_error_get_type):
3483         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3484         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3485         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3486           Const-ify GEnumValue arrays.
3487
3488 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3489
3490         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3491           Add test case for flags + gst_buffer_make_metadata_writable().
3492
3493 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3494
3495         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3496           gst_buffer_make_metadata_writable() should maintain the
3497           buffer flags (those that make sense at least) (see #340859).
3498
3499 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3500
3501         * tools/gst-inspect.c:
3502         * tools/gst-launch.c:
3503         * tools/gst-typefind.c:
3504         * tools/gst-xmlinspect.c:
3505         * tools/tools.h:
3506           Fix up includes: need to include stdlib.h in tools.h for exit().
3507
3508 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3509
3510         * gst/gsttaglist.c: (_gst_tag_initialize):
3511         * gst/gsttaglist.h:
3512           API: add GST_TAG_IMAGE tag (#340721).
3513
3514 2006-05-08  Wim Taymans  <wim@fluendo.com>
3515
3516         * gst/gstquery.c:
3517         Added some docs for the segment query.
3518
3519 2006-05-08  Wim Taymans  <wim@fluendo.com>
3520
3521         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3522         (gst_base_src_loop), (gst_base_src_change_state):
3523         Always push non-flushing serialized events in the streaming 
3524         thread.
3525
3526 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3527
3528         * gst/gsterror.c: (_gst_stream_errors_init):
3529           Add a missing error string.
3530
3531 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3532
3533         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3534         Add applied_rate to the debug
3535
3536         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3537         Copy applied_rate into the outgoing NEWSEGMENT event
3538
3539 2006-05-08  Wim Taymans  <wim@fluendo.com>
3540
3541         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3542
3543         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3544         (gst_base_sink_change_state):
3545         call ::unlock before taking the PREROLL_LOCK so we can safely
3546         handle elements that lock in ::render.
3547         Fixes #340174.
3548
3549 2006-05-08  Edward Hervey  <edward@fluendo.com>
3550
3551         * autogen.sh: (CONFIGURE_DEF_OPT): 
3552         Darwin's libtoolize is in fact called glibtoolize.
3553         Adding glibtoolize to the list of accepted names for libtoolize.
3554
3555 2006-05-08  Wim Taymans  <wim@fluendo.com>
3556
3557         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3558         Unify error handling, don't post an error message
3559         when a push() returns EOS but perform our normal EOS
3560         handling code. Fixes #340772.
3561
3562 2006-05-08  Wim Taymans  <wim@fluendo.com>
3563
3564         * docs/design/part-overview.txt:
3565         Make upsteam/downstream concepts more clear.
3566         Give an example of serialized/non-serialized events.
3567
3568         * docs/design/part-events.txt:
3569         * docs/design/part-streams.txt:
3570         Mention applied_rate.
3571
3572         * docs/design/part-trickmodes.txt:
3573         Mention applied rate, flesh out some more use cases.
3574
3575         * gst/gstevent.c: (gst_event_new_new_segment),
3576         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3577         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3578         (gst_event_parse_tag), (gst_event_new_buffer_size),
3579         (gst_event_parse_buffer_size), (gst_event_new_qos),
3580         (gst_event_parse_qos), (gst_event_parse_seek),
3581         (gst_event_new_navigation):
3582         * gst/gstevent.h:
3583         Add applied_rate field to NEWSEGMENT event.
3584         API: gst_event_new_new_segment_full()
3585         API: gst_event_parse_new_segment_full()
3586
3587         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3588         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3589         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3590         * gst/gstsegment.h:
3591         Add applied_rate to GstSegment structure.
3592         Make calculation of stream_time and running_time more correct
3593         wrt rate/applied_rate.
3594         Add some more docs.
3595         API: GstSegment::applied_rate field
3596         API: gst_segment_set_newsegment_full();
3597
3598         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3599         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3600         * libs/gst/base/gstbasetransform.c:
3601         (gst_base_transform_sink_eventfunc),
3602         (gst_base_transform_handle_buffer):
3603         Parse and use applied_rate in the GstSegment field.
3604
3605         * tests/check/gst/gstevent.c: (GST_START_TEST):
3606         Add check for applied_rate field.
3607
3608         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3609         (gstsegments_suite):
3610         Add more checks for various GstSegment operations.
3611
3612 2006-05-08  Wim Taymans  <wim@fluendo.com>
3613
3614         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3615         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3616         (gst_base_sink_get_position), (gst_base_sink_change_state):
3617         Store the sync time of the buffer end position separatly in a
3618         new variable eos_rtime so we can properly sync the EOS event.
3619         Fixes #340697.
3620         Fix the docs for gst_base_sink_set_qos_enabled().
3621         Don't set segment start to invalid value when we receive a 
3622         non TIME newsegment.
3623         get closer to handling position reporting for negative rates 
3624         correctly.
3625
3626 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3627
3628         * gst/gstcaps.c:
3629         Docs about how to print caps for debug purposes.
3630
3631         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3632         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3633
3634 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3635
3636         * gst/gstelement.c:
3637           use full enum names and preprend a '%' in docs strings to make recent 
3638           gtk-doc turn that into a link
3639
3640 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3641
3642         * docs/manual/basics-bins.xml:
3643         * docs/manual/basics-bus.xml:
3644         * docs/manual/basics-pads.xml:
3645           Some typo fixes, some additions, some clarifications. 
3646
3647 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3648
3649         * tools/gst-inspect.c: (main):
3650         * tools/gst-launch.c: (main):
3651         * tools/gst-run.c: (main):
3652         * tools/gst-typefind.c: (main):
3653         * tools/gst-xmlinspect.c: (main):
3654           Use the string passed to g_option_context_new() for
3655           what it's intended for - the program name is already
3656           printed elsewhere.
3657
3658 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3659
3660         * tools/Makefile.am:
3661         * tools/gst-inspect.c: (main):
3662         * tools/gst-launch.c: (main):
3663         * tools/gst-xmlinspect.c: (main):
3664         * tools/tools.h:
3665           Add back --version command line option (#340460).
3666
3667         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3668           Add --version option and use GOption for argument parsing; refactor a
3669           bit; accept directories as arguments and recurse into them; lastly,
3670           print a decent error message when things go wrong.
3671
3672 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3673
3674         * docs/manual/basics-bins.xml:
3675         Don't mention GstThread (#340611)
3676         * docs/manual/basics-elements.xml:
3677         Update link to GObject tutorial (#340607)
3678         
3679 2006-05-05  Wim Taymans  <wim@fluendo.com>
3680
3681         * gst/gstbuffer.h:
3682         * gst/gstminiobject.c:
3683         Add note about refcounting and miniobject/buffer writeability
3684         to docs. Fixes #340604
3685
3686         * gst/gstelementfactory.h:
3687         Added some explanation about @klass.
3688
3689 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3690
3691         * docs/manual/intro-motivation.xml:
3692         * docs/manual/manual.xml:
3693         Avoid CORBA & Bonobo references (#340598)
3694
3695 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3696
3697         * docs/manual/basics-bus.xml:
3698         * docs/manual/basics-pads.xml:
3699         Fix up some inaccuracies and omissions (#340609)
3700         
3701 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3702
3703         * gst/gstghostpad.c:
3704           Small typo in docs (#340625)
3705
3706 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3707
3708         * gst/parse/Makefile.am:
3709           Make 'make -j' proof (see #340698).
3710
3711 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3712
3713         * configure.ac:
3714           Require GLib-2.8 here as well.
3715
3716 2006-05-05  Wim Taymans  <wim@fluendo.com>
3717
3718         * gst/glib-compat.c:
3719         * gst/gst.c: (init_pre):
3720         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3721         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3722         (gst_object_dispatch_properties_changed):
3723         * gst/gstobject.h:
3724         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3725         * gst/gststructure.c: (gst_structure_set_valist):
3726         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3727         Remove pre glib2.8 compatibility, fixes #340508
3728
3729 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3730
3731         * gst/gsttaglist.h:
3732           Mention type of tags in doc blurbs.
3733
3734 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3735
3736         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3737         (gst_pad_configure_src), (gst_pad_push):
3738         Restore acceptcaps checking behaviour now that good plugins have
3739         been released.
3740
3741 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3742
3743         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3744
3745         * gst/gst.c:
3746         * gst/gstbus.c:
3747         * gst/gstclock.c:
3748         * gst/gstevent.c:
3749         * gst/gstformat.c:
3750         * gst/gstmessage.c:
3751         * gst/gstparse.c:
3752         * gst/gstquery.c:
3753         * gst/gstutils.c:
3754         * gst/parse/Makefile.am:
3755         * libs/gst/base/gstadapter.c:
3756         * libs/gst/base/gstbasesrc.c:
3757         * libs/gst/base/gstpushsrc.c:
3758         * libs/gst/base/gsttypefindhelper.c:
3759         * plugins/elements/gstfakesrc.c:
3760         * plugins/elements/gstidentity.c:
3761           Make sure gstprivate.h and/or config.h are
3762           always included first, otherwise some of our
3763           defines (like _FILE_OFFSET_BITS) might be
3764           redefined in the system headers. Fixes build
3765           on opensolaris (#340016).
3766
3767 2006-05-04  Wim Taymans  <wim@fluendo.com>
3768
3769         * docs/libs/gstreamer-libs-sections.txt:
3770         API: addition: gst_adapter_take_buffer()
3771         
3772         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3773         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3774         (gst_adapter_available_fast):
3775         * libs/gst/base/gstadapter.h:
3776         Prepare for optimizing the hell out of this hugely inefficient
3777         piece of code. 
3778         Added gst_adapter_take_buffer() so we can at least start thinking
3779         about subbuffering and merging.
3780         Added some comments.
3781
3782         * tests/check/Makefile.am:
3783         * tests/check/libs/adapter.c: (GST_START_TEST),
3784         (gst_adapter_suite), (main):
3785         Added GstAdapter check.
3786
3787 2006-05-04  Wim Taymans  <wim@fluendo.com>
3788
3789         * docs/design/part-overview.txt:
3790         Fix some typos, add blurb about buffer flags.
3791
3792 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3793
3794         * docs/libs/gstreamer-libs-sections.txt:
3795           make sure GstBaseTransformClass shows up in the docs
3796         * libs/gst/base/gstbasetransform.c:
3797         * libs/gst/base/gstbasetransform.h:
3798           move docs so gtk-doc picks it up now
3799
3800 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3801
3802         * docs/libs/gstreamer-libs-sections.txt:
3803           add missing symbols to docs
3804
3805 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3806
3807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3808           back out the newsegment handling change, see #340060 for ongoing
3809           discussion
3810
3811 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3812
3813         * tools/gst-run.c: (get_candidates), (main):
3814           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3815           work); fix typo in error message. Fixes #340079.
3816
3817 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3818
3819         * common/Makefile.am:
3820         * docs/Makefile.am:
3821         * docs/faq/Makefile.am:
3822         * docs/gst/Makefile.am:
3823         * docs/libs/Makefile.am:
3824         * docs/manual/Makefile.am:
3825         * docs/plugins/Makefile.am:
3826         * docs/pwg/Makefile.am:
3827         * docs/slides/Makefile.am:
3828         * docs/upload.mak:
3829         * common/upload.mak:
3830           move upload.mak to common
3831
3832 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3833
3834         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3835           add more asserts on refcounts
3836           do more cleanup at end of tests
3837           fix test leaks showing in FC5
3838
3839 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3840
3841         * plugins/elements/gsttypefindelement.c:
3842         (gst_type_find_element_handle_event):
3843         reverted wrong change and reflowed code to avoid others falling into
3844         this trap
3845
3846 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3847
3848         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3849           fix changelog entry about last collectpads change,
3850           add notes about proper fix
3851
3852 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3853
3854         * gst/gst.c:
3855         * gst/gstregistry.c: (gst_registry_scan_path_level),
3856         (gst_registry_scan_path):
3857         * gst/gstregistry.h:
3858           only write out registry if it has changed, fixes #338339
3859
3860 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3861
3862         * gst/gstbin.c:
3863         * gst/gstpipeline.c:
3864         * plugins/elements/gstcapsfilter.c:
3865         * plugins/elements/gstfakesink.c:
3866         * plugins/elements/gstfakesrc.c:
3867         * plugins/elements/gstfdsink.c:
3868         * plugins/elements/gstfdsrc.c:
3869         * plugins/elements/gstfilesink.c:
3870         * plugins/elements/gstfilesrc.c:
3871         * plugins/elements/gstidentity.c:
3872         * plugins/elements/gstqueue.c:
3873         * plugins/elements/gsttee.c:
3874         * plugins/elements/gsttypefindelement.c:
3875         (gst_type_find_element_handle_event):
3876           make GstElementDetails const
3877
3878 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3879
3880         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3881         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3882         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3883           more detailed debug and formatting cleanup,
3884           forward newsegments to src-pad (so that e.g. adder not eats them)
3885
3886 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3887
3888         * gst/gstutils.c: (gst_element_link_pads):
3889           cleanup double code
3890
3891 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3892
3893         * libs/gst/controller/gstcontroller.c:
3894         (gst_controller_sync_values):
3895           some little tuning
3896         * tests/check/libs/controller.c: (GST_START_TEST),
3897         (gst_controller_suite):
3898           a new test for live value handling
3899
3900 2006-04-28  Wim Taymans  <wim@fluendo.com>
3901
3902         * gst/gstutils.c: (push_and_ref):
3903         Added some more docs.
3904         Fix refcount issue whith gst_element_found_tags() helper 
3905         function. Fixes #338335
3906
3907         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3908         Added testsuite for gst_element_found_tags().
3909
3910 2006-04-28  Michael Smith  <msmith@fluendo.com>
3911
3912         * gst/gstvalue.c: (gst_value_serialize_flags):
3913           Avoid NULL dereference when trying to serialize flags containing
3914           invalid values.
3915
3916 2006-04-28  Michael Smith  <msmith@fluendo.com>
3917
3918         * plugins/elements/gsttypefindelement.c:
3919         (gst_type_find_element_handle_event):
3920           If we get EOS before any data is accumulated, don't use
3921           uninitialised local variables.
3922
3923 2006-04-28  Michael Smith  <msmith@fluendo.com>
3924
3925         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3926         (gst_dp_event_from_packet):
3927           Fixes in reading/writing events over GDP (not currently used?) - 
3928           dereferencing NULL events for unknown/invalid event types, memory
3929           leak, and change g_warning to GST_WARNING.
3930
3931 2006-04-28  Wim Taymans  <wim@fluendo.com>
3932
3933         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3934         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3935         (gst_base_sink_get_position), (gst_base_sink_change_state):
3936         When frame dropping is enabled, we should not ignore frames
3937         without a duration.
3938         Update some documentation.
3939
3940 2006-04-28  Wim Taymans  <wim@fluendo.com>
3941
3942         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3943         (gst_base_src_send_event), (gst_base_src_change_state):
3944         Documentation updates.
3945
3946 2006-04-28  Wim Taymans  <wim@fluendo.com>
3947
3948         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3949         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3950         handle EAGAIN, EINTR and short writes correctly. Also clean
3951         up some error cases, avoid a deadlock on bad file descriptors and
3952         use GST_DEBUG_OBJECT.
3953         Fixes #339843
3954
3955 2006-04-28  Wim Taymans  <wim@fluendo.com>
3956
3957         * gst/gstvalue.c: (gst_value_serialize_buffer),
3958         (gst_value_deserialize_buffer):
3959         Don't try to serialize a GValue with a NULL buffer. 
3960         Fixes #339821.
3961
3962         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3963         Added check for serialisation of NULL buffers.
3964
3965 2006-04-28  Wim Taymans  <wim@fluendo.com>
3966
3967         * gst/gstminiobject.c: (gst_value_take_mini_object):
3968         Taking a NULL miniobject is valid, fix the case where
3969         we try to unref the NULL miniobject.
3970
3971 2006-04-28  Wim Taymans  <wim@fluendo.com>
3972
3973         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3974
3975         * gst/gstbin.c: (gst_bin_handle_message_func):
3976         Update docs.
3977         Don't leak bin refcount when a state recalc is
3978         in progress and we delay another one #339808.
3979
3980 2006-04-28  Wim Taymans  <wim@fluendo.com>
3981
3982         * docs/design/part-TODO.txt:
3983         Mention QoS as an ongoing work item.
3984
3985         * docs/design/part-buffering.txt:
3986         New doc about buffering that needs to be fleshed out
3987         at some point.
3988
3989         * docs/design/part-qos.txt:
3990         More QoS policy for decoders/demuxers/transforms
3991
3992         * docs/design/part-trickmodes.txt:
3993         Small update.
3994
3995 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3996
3997         * configure.ac:
3998           back to HEAD
3999
4000 === release 0.10.5 ===
4001
4002 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
4003
4004         * configure.ac:
4005           releasing 0.10.5, "Fogo"
4006
4007 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4008
4009         patch by: Wim Taymans
4010
4011         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4012         (gst_pad_configure_src), (gst_pad_push):
4013         * gst/gstpipeline.c: (gst_pipeline_init):
4014           Fix internal data flow errors.  Fixes #338711.
4015
4016 2006-04-12  Wim Taymans  <wim@fluendo.com>
4017
4018         * tests/check/gst/gstelement.c: (GST_START_TEST):
4019         Don't leak the factory.
4020
4021 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4022
4023         * configure.ac:
4024         * win32/common/config.h:
4025           prerelease
4026
4027 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4028
4029         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4030         (gst_controller_unset_all):
4031           Free allocated GstTimedValues when freeing list nodes.
4032           Should fix leaks 'make check-valgrind' complains about.
4033
4034         * win32/common/libgstcontroller.def:
4035           Add gst_controller_unset_all.
4036
4037 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
4038
4039         * docs/libs/gstreamer-libs-sections.txt:
4040         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4041         (gst_controller_unset_all):
4042         * libs/gst/controller/gstcontroller.h:
4043         API: Added new method gst_controller_unset_all()
4044         fixed gst_controller_unset()
4045         * tests/check/libs/controller.c: (GST_START_TEST),
4046         (gst_controller_suite):
4047         Added two testcases for new and fixed method
4048
4049 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
4050
4051         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4052           MSG_DONTWAIT is not defined on Cygwin, so work
4053           around that (fixes #317048).
4054           
4055 2006-04-11  Wim Taymans  <wim@fluendo.com>
4056
4057         * gst/gstelementfactory.c: (gst_element_register),
4058         (gst_element_factory_create), (gst_element_factory_make):
4059         Some cleanups.
4060         Fixed a FIXME.
4061         Updated docs (Fixes #131079)
4062
4063         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4064         Small cleanups.
4065
4066         * tests/check/gst/gstelement.c: (GST_START_TEST),
4067         (gst_element_suite):
4068         Added testcase for elementfactory class field.
4069
4070 2006-04-10  Wim Taymans  <wim@fluendo.com>
4071
4072         * gst/gstsegment.c:
4073         Added some more docs.
4074
4075         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4076         (gst_base_sink_reset_qos):
4077         Calculate more accurate rate values.
4078
4079 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
4080
4081         * gst/gst_private.h:
4082           add a new #ifdef to use __declspec(dllimport) only for
4083           other modules and not for gstreamer core
4084         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4085           use gst_guint64_to_gdouble for conversion
4086         * win32/common/libgstreamer.def:
4087           add new exported functions
4088         * win32/vs6/gst_inspect.dsp:
4089         * win32/vs6/gst_launch.dsp:
4090         * win32/vs6/libgstbase.dsp:
4091         * win32/vs6/libgstcontroller.dsp:
4092         * win32/vs6/libgstcoreelements.dsp:
4093         * win32/vs6/libgstdataprotocol.dsp:
4094         * win32/vs6/libgstnet.dsp:
4095           update project files
4096
4097 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4098
4099         * gst/gstbuffer.c: (gst_subbuffer_class_init):
4100         * gst/gstclock.c: (gst_clock_class_init):
4101         * gst/gstelement.c: (gst_element_class_init):
4102         * gst/gstindex.c: (gst_index_class_init):
4103         * gst/gstindexfactory.c: (gst_index_factory_class_init):
4104         * gst/gstobject.c: (gst_object_class_init),
4105         (gst_signal_object_class_init):
4106         * gst/gstpad.c: (gst_pad_class_init):
4107         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4108         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4109         * gst/gstregistry.c: (gst_registry_class_init):
4110         * gst/gstsystemclock.c: (gst_system_clock_class_init):
4111         * gst/gsttask.c: (gst_task_class_init):
4112         * gst/gstxml.c: (gst_xml_class_init):
4113         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4114         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4115         (gst_base_src_loop):
4116         * libs/gst/controller/gstcontroller.c:/
4117         (_gst_controller_class_init):
4118         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4119         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4120         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4121         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4122         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4123         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4124
4125 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
4126
4127         * gst/gstpad.c: (gst_pad_link):
4128           Must set peer pads before calling the link function, otherwise
4129           a task started from a link function might get a flow-not-linked
4130           result when trying to push because the other thread where the
4131           linking happens hasn't had a chance to set the peers yet. This
4132           might happen for example when a queue gets linked to a downstream
4133           element, as queue starts a streaming task when its source pad
4134           gets linked. Happens in real life when playing back flac/musepack
4135           files in playbin (#332390).
4136           
4137 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4138
4139         * gst/gstindex.h:
4140         * gst/gstxml.h:
4141         * libs/gst/base/gstadapter.h:
4142         * libs/gst/base/gstbasesink.h:
4143         * libs/gst/base/gstbasesrc.h:
4144         * libs/gst/base/gstbasetransform.h:
4145         * libs/gst/base/gstcollectpads.h:
4146         * libs/gst/base/gstpushsrc.h:
4147         Fix broken GObject macros
4148
4149 2006-04-07  Wim Taymans  <wim@fluendo.com>
4150
4151         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4152         Initialize start and stop times, thanks valgrind.
4153
4154 2006-04-07  Wim Taymans  <wim@fluendo.com>
4155
4156         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4157         Be a bit nicer to badly behaving upstream elements that expect
4158         us to deal with non TIME segments and timestamps (such as fakesrc
4159         in the testsuite).
4160
4161 2006-04-07  Wim Taymans  <wim@fluendo.com>
4162
4163         * gst/gstbus.c:
4164         Small documentation clarification about the signal watch.
4165
4166         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4167         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4168         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4169         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4170         (gst_base_sink_get_position_last),
4171         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4172         Convert and store timestamps in stream time and running time, the
4173         raw timestamps are not usefull, also document this better.
4174         Use different window sizes for good and bad QoS observations so
4175         we react to badness a little quicker.
4176         Keep track of the amount of rendered and dropped buffers.
4177         Send QoS timestamps in running time.
4178
4179         * libs/gst/base/gstbasetransform.c:
4180         (gst_base_transform_sink_eventfunc),
4181         (gst_base_transform_handle_buffer):
4182         Compare QoS timestamps against running time.
4183
4184 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4185
4186         * gst/gstpad.c:
4187           Typo fixes in docs.
4188
4189 2006-04-06  Michael Smith  <msmith@fluendo.com>
4190
4191         * gst/gstpad.c: (gst_pad_set_property):
4192           Use g_value_get_object() instead of g_value_dup_gst_object(),
4193           to avoid double-reffing the pad template (which we then sink,
4194           so this worked previously if (and only if) the pad template
4195           was floating.
4196
4197         * gst/gstpadtemplate.c: (gst_pad_template_init),
4198         (gst_pad_template_pad_created):
4199           Never return floating references to pad templates, create
4200           them as initially-sunken.
4201
4202           Document an extra function (and make this stop sinking our
4203           pad template, since that is now guaranteed to do nothing,
4204           since we created it sunken).
4205
4206         * gst/gstghostpad.c:
4207           Fix docs typo.
4208
4209 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         * gst/gstinfo.c: (__gst_in_valgrind):
4212           Add some newlines.
4213
4214         * plugins/elements/gsttypefindelement.c:
4215         (gst_type_find_element_chain):
4216           Don't leak buffer caps.
4217
4218 2006-04-06  Michael Smith  <msmith@fluendo.com>
4219
4220         * gst/parse/grammar.y:
4221           Fix a leak in parse-launch for any source-or-sink named element 
4222           references used.
4223
4224         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4225           Unref the pipeline if it exists after we've failed parsing.
4226
4227 2006-04-05  Michael Smith  <msmith@fluendo.com>
4228
4229         * gst/gstpipeline.c: (gst_pipeline_init):
4230           When we create a pipeline bus, initially create it in flushing mode.
4231           Fixes leaks in at least one test, and makes a new pipeline work the
4232           same as one that has gone to READY and then back to NULL.
4233
4234         * gst/gstelement.c:
4235           Typo fix in docs.
4236
4237 2006-04-05  Michael Smith  <msmith@fluendo.com>
4238
4239         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4240           Unref a pad we reffed.
4241         * tests/check/gst/gstutils.c: (GST_START_TEST):
4242           Unref bins
4243
4244 2006-04-05  Michael Smith  <msmith@fluendo.com>
4245
4246         * gst/gstquery.c: (gst_query_set_formats),
4247         (gst_query_set_formatsv):
4248           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4249
4250 2006-04-05  Michael Smith  <msmith@fluendo.com>
4251
4252         * tests/check/generic/sinks.c: (GST_START_TEST):
4253           Fix a variety of memleaks in sinks check, which are only sometimes 
4254           shown by running the tests under valgrind (weird?).
4255
4256 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4257
4258         * docs/version.entities.in:
4259           Fix the substituted entity name after thomas' changes on the
4260           weekend.
4261
4262 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4263
4264         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4265         VALGRIND_PRINTF
4266         
4267 2006-04-05  Andy Wingo  <wingo@pobox.com>
4268
4269         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4270
4271         * libs/gst/base/gstbasetransform.c
4272         (gst_base_transform_sink_eventfunc): When resetting our segment on
4273         FLUSH_STOP, also update the flag saying we haven't seen a
4274         newsegment.
4275
4276 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4279
4280         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4281         (gst_plugin_check_license):
4282           minor clean-ups: G_DEFINE_TYPE already takes care of the
4283           parent_class stuff, no need to do it twice. Mark array of
4284           license strings as constant. (#337103)
4285           
4286 2006-04-04  Michael Smith  <msmith@fluendo.com>
4287
4288         * tools/gst-inspect.c: (print_element_list):
4289           Free the right plugin list; fixes a memory leak.
4290
4291 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4292
4293         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4294
4295         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4296           Don't error out on empty buffers (#336945).
4297           
4298 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4299
4300         * docs/libs/gstreamer-libs-sections.txt:
4301         * gst/gsttaglist.c:
4302         * libs/gst/base/gstbasesink.c:
4303         * libs/gst/base/gstbasesink.h:
4304         * libs/gst/base/gstbasesrc.c:
4305         * libs/gst/base/gstbasesrc.h:
4306           Documentation updates. Make BaseSink and BaseSrc docs contain the
4307           class structure so that people can actually see the prototypes for
4308           virtual functions they're supposed to be overriding.
4309
4310 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4311
4312         * plugins/elements/gsttypefindelement.c:
4313         (gst_type_find_element_chain):
4314           More debug info; when skipping typefinding, send cached
4315           events in all cases.
4316
4317 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4318
4319         * configure.ac:
4320           use new AS_VERSION and AS_NANO macros
4321         * gst/gst-i18n-lib.h:
4322         * gst/gst.c:
4323         * gst/gsterror.c:
4324         * gst/gstversion.h.in:
4325         * win32/common/config.h:
4326         * win32/common/config.h.in:
4327           update accordingly
4328
4329 2006-03-31  Michael Smith  <msmith@fluendo.com>
4330
4331         * plugins/elements/gsttypefindelement.c:
4332         (gst_type_find_element_chain):
4333           Do not typefind content if the buffers already have caps.
4334           Neccesary for icydemux (#333657), and the right thing to do anyway.
4335
4336 2006-03-30  Wim Taymans  <wim@fluendo.com>
4337
4338         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4339         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4340         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4341         (gst_base_sink_record_qos_observation),
4342         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4343         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4344         (gst_base_sink_change_state):
4345         More QoS measurements as described in the design doc.
4346         Get rid of ringbuffer with observations, running average is
4347         more simple and equally good.
4348         Calculates valid proportion now.
4349         Added beginning of flood measurement.
4350
4351 2006-03-29  Wim Taymans  <wim@fluendo.com>
4352
4353         * docs/design/part-qos.txt:
4354         * gst/gstclock.c:
4355         Small documentation updates and additions.
4356
4357 2006-03-29  Wim Taymans  <wim@fluendo.com>
4358
4359         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4360         (gst_base_src_send_event), (gst_base_src_loop),
4361         (gst_base_src_change_state):
4362         Perform the EOS logic when we reach the segment stop position.
4363         Fix compilation on gcc4.1
4364
4365 2006-03-29  Wim Taymans  <wim@fluendo.com>
4366
4367         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4368
4369         * plugins/elements/gstqueue.c: (gst_queue_init),
4370         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4371         (gst_queue_set_property):
4372         * plugins/elements/gstqueue.h:
4373         In queue, when EOS is received, if minimum threshold > max_size -
4374         current_level, there is chance that queue blocks forever in conditional
4375         item del wait. This is because the queue is not emptied completely due
4376         to minimum threshold.  Here is another approach. Instead of setting
4377         cur_levels to max in EOS, just zero all minimum threshold levels. This
4378         should make sure that queue gives out all data. When going to READY
4379         (stop) state, just reset the original minimum threshold levels.
4380         Fixes #336336.
4381
4382 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4383
4384         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4385         (gst_type_find_element_handle_event),
4386         (gst_type_find_element_send_cached_events),
4387         (gst_type_find_element_change_state):
4388         * plugins/elements/gsttypefindelement.h:
4389           When typefinding is done in push mode, we should cache
4390           events we receive during typefinding instead of just
4391           dropping them (e.g. newsegment, custom events from
4392           dvdreadsrc etc.) and then send them out once we've
4393           determined the type of the stream (and decodebin
4394           has had a chance to plug in a decoder/demuxer).
4395           
4396 2006-03-27  Wim Taymans  <wim@fluendo.com>
4397
4398         * docs/design/part-qos.txt:
4399         First QoS ideas.
4400
4401 2006-03-27  Wim Taymans  <wim@fluendo.com>
4402
4403         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4404
4405         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4406         (gst_base_src_send_event), (gst_base_src_change_state):
4407         Handle element seek correctly when we are streaming.
4408         Fixes #326998.
4409
4410 2006-03-24  Michael Smith  <msmith@fluendo.com>
4411
4412         * docs/faq/gst-uninstalled:
4413           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4414           allow you to correctly run intalled applications built against old 
4415           core, using plugins that require updated core (e.g. running
4416           installed totem against a full uninstalled gstreamer stack)
4417
4418 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4419
4420         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4421         more debug details
4422
4423 2006-03-24  Wim Taymans  <wim@fluendo.com>
4424
4425         * docs/gst/gstreamer-sections.txt:
4426         Rearrange the order of the methods so that related methods
4427         are grouped together in sections.
4428
4429 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4430
4431         * gst/gstelement.c:
4432           Little clarification in the docs
4433
4434 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * docs/README:
4437         formatting fix
4438         * plugins/elements/gstidentity.c:
4439         * plugins/elements/gstqueue.c:
4440         * plugins/elements/gsttee.c:
4441         * plugins/elements/gsttypefindelement.c:
4442         GST_ELEMENT_DETAILS formatting
4443
4444 2006-03-24  Wim Taymans  <wim@fluendo.com>
4445
4446         * libs/gst/base/gstbasesink.h:
4447         Only add fields, not insert or we break ABI.
4448
4449 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4450
4451         * win32/common/libgstbase.def:
4452         * win32/common/libgstreamer.def:
4453           Update, add recently added functions.
4454
4455 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4456
4457         * docs/gst/gstreamer-sections.txt:
4458         * gst/gstutils.c: (gst_pad_query_peer_position),
4459         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4460         * gst/gstutils.h:
4461           API: add some new utility functions:
4462            - gst_pad_query_peer_position()
4463            - gst_pad_query_peer_duration()
4464            - gst_pad_query_peer_convert()
4465           
4466 2006-03-23  Wim Taymans  <wim@fluendo.com>
4467
4468         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4469         (gst_base_sink_init), (gst_base_sink_finalize),
4470         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4471         (gst_base_sink_set_property), (gst_base_sink_get_property),
4472         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4473         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4474         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4475         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4476         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4477         (gst_base_sink_preroll_object), (gst_base_sink_event),
4478         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4479         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4480         (gst_base_sink_query), (gst_base_sink_change_state):
4481         Decouple max-lateness and the fact that QoS messages are generated
4482         with a new property (qos).
4483         added API: GstBaseSink::async_play()
4484         Add vmethod so subclasses can be notified of ASYNC playing
4485         state changes.
4486         Collect timestamp start and stop to report better current
4487         position in EOS/PLAYING/PAUSED/READY/NULL.
4488         Refactor QoS/frame dropping and other measurements.
4489         API: GstBaseSrc::qos
4490         Fixes #326311
4491
4492         * libs/gst/base/gstbasesink.h:
4493         Added Private struct.
4494         API: gst_base_sink_set_qos_enabled()
4495         API: gst_base_sink_is_qos_enabled()
4496
4497 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4498
4499         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4500           If compiling against GLib-2.8 or newer, try to read the
4501           registry file using GMappedFile first before falling back
4502           to fopen() + fread() (#332151).
4503
4504 2006-03-22  Wim Taymans  <wim@fluendo.com>
4505
4506         * gst/gstinfo.c: (gst_debug_set_active),
4507         (gst_debug_category_set_threshold):
4508         Disable debugging unless explicitly activated.
4509         Fixes #335480.
4510
4511 2006-03-22  Wim Taymans  <wim@fluendo.com>
4512
4513         * gst/gstelement.c: (gst_element_set_locked_state),
4514         (gst_element_dispose):
4515         Cleanup the error case.
4516
4517         * gst/gstobject.c: (gst_object_dispose):
4518         print a critical when some object was disposed with
4519         a parent, also revive the object since it might
4520         crash the parent.
4521
4522 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4523
4524         * tools/gst-launch.1.in:
4525           Fix another typo.
4526
4527 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4528
4529         * configure.ac:
4530         * tests/check/Makefile.am:
4531           disable some tests when we don't have a registry
4532         * tests/check/gst/gstutils.c: (gst_utils_suite):
4533           don't build the part that needs parsing
4534
4535 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4536
4537         * gst/Makefile.am
4538         * tests/examples/Makefile.am:
4539           fix --disable-parse build
4540
4541 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4542
4543         * tools/gst-feedback.1.in:
4544           Fix typo: s/feeback/feedback/ (#133494).
4545
4546 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4547
4548         * tools/Makefile.am:
4549         * tools/gst-launch.1.in:
4550           Add FILES section and correct entry about GST_REGISTRY_PATH
4551           environment variable (#133495; #133494).
4552
4553 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4554
4555         * tools/Makefile.am:
4556         * tools/gst-md5sum.1.in:
4557         * tools/gst-md5sum.c:
4558           Remove gst-md5sum and man page (the md5sink element
4559           required was removed ages ago)
4560
4561 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * gst/gststructure.c: (gst_structure_id_set_value):
4564           Make sure that string fields in structures/taglists
4565           contain valid UTF-8 - we don't want to pass rubbish to
4566           applications because of a buggy plugin (cp. #334167).
4567
4568 2006-03-21  Edward Hervey  <edward@fluendo.com>
4569
4570         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4571         (gst_bin_handle_message_func):
4572         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4573         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4574         (gst_element_set_bus_func):
4575         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4576         * gst/gstminiobject.c: (gst_value_set_mini_object),
4577         (gst_value_take_mini_object):
4578         * gst/gstpad.c: (gst_pad_set_pad_template):
4579         * gst/gstpipeline.c: (gst_pipeline_dispose),
4580         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4581         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4582         (gst_collect_pads_chain):
4583         * libs/gst/net/gstnettimeprovider.c:
4584         (gst_net_time_provider_set_property):
4585         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4586         It's in fact all issues with gst_*object_replace().
4587
4588 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4589
4590         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4591         
4592         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4593         * pkgconfig/gstreamer-check.pc.in:
4594           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4595
4596 2006-03-21  Edward Hervey  <edward@fluendo.com>
4597
4598         * gst/gstbuffer.h:
4599         * gst/gstevent.h:
4600         * gst/gstmessage.h:
4601         gst_[buffer|event|message]_ref() macros are replaced by a static
4602         inline functions because gcc-4.1 will about if the return value
4603         isn't used.
4604         * tests/check/gst/gstevent.c: (event_probe):
4605         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4606
4607 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4608
4609         * gst/gstutils.h:
4610         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4611         the type' case. (Closes: #335195 for now). In the future, when we
4612         depend on GLib 2.10, we could also intern the type name using
4613         g_intern_static_string()
4614
4615 2006-03-20  Wim Taymans  <wim@fluendo.com>
4616
4617         * gst/gstbin.c: (gst_bin_handle_message_func),
4618         (bin_query_max_init), (bin_query_position_fold),
4619         (bin_query_position_done), (gst_bin_query):
4620         Position query should also take max of all streams.
4621
4622 2006-03-20  Wim Taymans  <wim@fluendo.com>
4623
4624         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4625         (gst_fake_src_finalize):
4626         Fix leaks in fakesrc.
4627
4628         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4629         Fix leaks in the testcase.
4630
4631 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4632
4633         * gst/gst_private.h:
4634           add win32 specific import decoration(__declspec(dllimport)) 
4635           for all extern GstDebugCategory * variables
4636         * win32/common/libgstbase.def:
4637         * win32/common/libgstcontroller.def:
4638         * win32/common/libgstreamer.def:
4639           Add some exports, remove empty lines
4640         * win32/common/libgstdataprotocol.def:
4641         * win32/common/libgstdataprotocol.dsp:
4642         * win32/common/libgstnet.def:
4643         * win32/common/libgstnet.dsp:
4644           new project files and exportation files added
4645         
4646 2006-03-19  Wim Taymans  <wim@fluendo.com>
4647
4648         * tests/check/libs/basesrc.c: (eos_event_counter):
4649         Use proper return value for probe.
4650
4651 2006-03-17  Wim Taymans  <wim@fluendo.com>
4652
4653         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4654         (gst_pad_push):
4655         Don't leak buffers, caps and pads on negotiation errors.
4656
4657 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4658
4659         * docs/faq/cvs.xml:
4660         * docs/faq/dependencies.xml:
4661         * docs/faq/developing.xml:
4662         * docs/faq/faq.xml:
4663         * docs/faq/general.xml:
4664         * docs/faq/getting.xml:
4665         * docs/faq/legal.xml:
4666         * docs/faq/troubleshooting.xml:
4667         * docs/faq/using.xml:
4668         Faq review and update.
4669
4670 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4671
4672         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4673         (gst_pad_push):
4674         Don't pound the cpu to pieces by checking get_caps when accept_caps
4675         is called with the same caps as the pad already has.
4676         Use GST_DEBUG_OBJECT when outputting caps change information.
4677
4678 2006-03-15  Wim Taymans  <wim@fluendo.com>
4679
4680         * gst/gstclock.c: (gst_clock_class_init):
4681         Fix docs.
4682
4683 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4684
4685         * gst/gstbuffer.h:
4686         Documentation fix.
4687
4688         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4689         (gst_pad_accept_caps), (gst_pad_configure_sink),
4690         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4691         Make the default acceptcaps behaviour be to check the requested 
4692         caps against the gst_pad_get_caps output. 
4693
4694         Ensure that gst_pad_accept_caps is used to check caps when a pad
4695         doesn't have a setcaps function, so that pads automatically refuse 
4696         caps that they don't allow in their pad template. (Fixes #332986)
4697
4698         When a buffer with attached caps is pushed, ensure that the source 
4699         pad receives those caps even if the element didn't call
4700         gst_pad_set_caps first.
4701
4702 2006-03-15  Wim Taymans  <wim@fluendo.com>
4703
4704         * libs/gst/base/gstadapter.c:
4705         Add some docs.
4706
4707 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4708
4709         * win32/common/libgstbase.def:
4710         * win32/common/libgstcontroller.def:
4711         * win32/common/libgstreamer.def:
4712           Add a whole bunch of missing functions (#334434).
4713
4714 2006-03-14  Wim Taymans  <wim@fluendo.com>
4715
4716         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4717         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4718         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4719         Better debug info when we receive a segment event.
4720         Reorganize a bit so we can pass the get_times() results around.
4721         Use the segment format when calculating the running time.
4722         Don't do QoS is sync is disabled or we have no clock or the
4723         element does not want us to sync to the clock.
4724         Don't drop buffers if QoS is disabled for now.
4725
4726 2006-03-14  Wim Taymans  <wim@fluendo.com>
4727
4728         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4729         Marked the stats property as unimplemented so people don't get
4730         wild ideas.
4731         Add debug message when regression goes wrong.
4732         Added some more docs.
4733
4734 2006-03-14  Wim Taymans  <wim@fluendo.com>
4735
4736         * gst/gstsegment.c: (gst_segment_to_stream_time):
4737         Return correct return type in case of errors.
4738
4739 2006-03-14  Wim Taymans  <wim@fluendo.com>
4740
4741         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4742           Don't segfault on invalid formats.
4743
4744 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4745
4746         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4747           Can't use gst_segment_to_running_time() when the segment
4748           is not in GST_TIME_FORMAT (like with filesink, for example).
4749           Stops flac encoding pipelines from spewing critical warnings
4750           at EOS (#331248).
4751           
4752 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4753
4754         * gst/gstpipeline.c: (gst_pipeline_class_init):
4755           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4756
4757         * plugins/elements/gsttypefindelement.c:
4758         (gst_type_find_element_handle_event):
4759           Don't try to typefind empty streams.
4760
4761 2006-03-14  Wim Taymans  <wim@fluendo.com>
4762
4763         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4764         (gst_base_sink_do_qos):
4765         Separate QoS calculation.
4766         Only drop buffers when lateness is bigger than the 
4767         duration of the buffer.
4768
4769 2006-03-13  Wim Taymans  <wim@fluendo.com>
4770
4771         * gst/gstpipeline.c: (gst_pipeline_set_property),
4772         (gst_pipeline_get_property), (do_pipeline_seek),
4773         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4774         (gst_pipeline_get_delay):
4775         Don't deadlock when reading properties.
4776
4777 2006-03-13  Wim Taymans  <wim@fluendo.com>
4778
4779         * libs/gst/base/gstbasetransform.c:
4780         (gst_base_transform_class_init), (gst_base_transform_init),
4781         (gst_base_transform_sink_event),
4782         (gst_base_transform_sink_eventfunc),
4783         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4784         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4785         (gst_base_transform_set_property),
4786         (gst_base_transform_get_property),
4787         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4788         (gst_base_transform_set_qos_enabled),
4789         (gst_base_transform_is_qos_enabled):
4790         * libs/gst/base/gstbasetransform.h:
4791         Make basetransform virtual method for src events too.
4792         Handle QOS in basetransform.
4793         API: gst_base_transform_update_qos()
4794         API: gst_base_transform_set_qos_enabled()
4795         API: gst_base_transform_is_qos_enabled()
4796
4797 2006-03-13  Wim Taymans  <wim@fluendo.com>
4798
4799         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4800         (gst_base_sink_do_sync):
4801         Small cleanups.
4802         Use QOS debug category.
4803
4804 2006-03-13  Wim Taymans  <wim@fluendo.com>
4805
4806         * plugins/elements/gstqueue.c:
4807         Very small doc update.
4808
4809 2006-03-13  Wim Taymans  <wim@fluendo.com>
4810
4811         * gst/gst_private.h:
4812         * gst/gstinfo.c: (_gst_debug_init):
4813         Added QOS debug category
4814
4815 2006-03-13  Wim Taymans  <wim@fluendo.com>
4816
4817         * docs/gst/gstreamer-sections.txt:
4818         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4819         * gst/gstbin.h:
4820         * gst/gstbus.c: (gst_bus_class_init):
4821         * gst/gstbus.h:
4822         * gst/gstclock.c:
4823         * gst/gstelement.c: (gst_element_set_locked_state):
4824         * gst/gstsegment.c:
4825         Documentation updates.
4826
4827         * gst/gstpipeline.c: (gst_pipeline_get_type),
4828         (gst_pipeline_class_init), (gst_pipeline_init),
4829         (gst_pipeline_dispose), (gst_pipeline_set_property),
4830         (gst_pipeline_get_property), (do_pipeline_seek),
4831         (gst_pipeline_send_event), (gst_pipeline_change_state),
4832         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4833         (gst_pipeline_get_delay):
4834         * gst/gstpipeline.h:
4835         Added methods for setting the delay.
4836         API: gst_pipeline_set_delay()
4837         API: gst_pipeline_get_delay()
4838         Add pipeline debug category
4839         Various cleanups.
4840         Updated docs.
4841         Don't reset stream time when seek failed.
4842
4843 2006-03-13  Wim Taymans  <wim@fluendo.com>
4844
4845         * docs/design/draft-klass.txt:
4846         * docs/design/part-clocks.txt:
4847         * docs/design/part-events.txt:
4848         * docs/design/part-gstbin.txt:
4849         * docs/design/part-gstpipeline.txt:
4850         * docs/design/part-messages.txt:
4851         * docs/design/part-negotiation.txt:
4852         * docs/design/part-overview.txt:
4853         * docs/design/part-preroll.txt:
4854         * docs/design/part-seeking.txt:
4855         * docs/design/part-states.txt:
4856         * docs/design/part-streams.txt:
4857         Documentation updates.
4858
4859 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4860
4861         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4862         us to leak strings...
4863
4864 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4865
4866         * libs/gst/net/gstnettimeprovider.c:
4867           fix docs
4868         * win32/common/config.h:
4869           update
4870
4871 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4872
4873         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4874
4875         * configure.ac:
4876           Don't check for libgnomeui (leftover from old examples
4877           that aren't built or disted any longer) (#334303).
4878           
4879 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4880
4881         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4882         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4883           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4884           there's no space left on the device.
4885
4886 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4887
4888         * gst/gstclock.h:
4889           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4890           to cast the input to GstClockTime before comparing with
4891           another GstClockTime value.
4892
4893 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4894
4895         * configure.ac:
4896           back to trunk
4897
4898 === release 0.10.4 ===
4899
4900 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4901
4902         * configure.ac:
4903           releasing 0.10.4, "Light"
4904
4905 2006-03-10  Michael Smith  <msmith@fluendo.com>
4906
4907         * libs/gst/dataprotocol/dataprotocol.c:
4908           Fix docs for dataprocotol to not get the return types completely
4909           wrong for a few functions.
4910
4911 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * docs/gst/gstreamer-sections.txt:
4914         * gst/gstpipeline.c: (gst_pipeline_class_init),
4915         (gst_pipeline_init), (gst_pipeline_set_property),
4916         (gst_pipeline_get_property), (gst_pipeline_change_state),
4917         (gst_pipeline_set_auto_flush_bus),
4918         (gst_pipeline_get_auto_flush_bus):
4919         * gst/gstpipeline.h:
4920           Add new API: gst_pipeline_set_auto_flush_bus() and
4921           gst_pipeline_get_auto_flush_bus() to disable automatic
4922           flushing of the pipeline's GstBus when going from READY
4923           to NULL state (#332045).
4924
4925 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4926
4927         * docs/gst/gstreamer-sections.txt:
4928         * gst/gsturi.c: (gst_uri_has_protocol):
4929         * gst/gsturi.h:
4930            Add new API: gst_uri_has_protocol() (#333779).
4931
4932 2006-03-09  Wim Taymans  <wim@fluendo.com>
4933
4934         * gst/gstclock.c: (gst_clock_entry_new),
4935         (gst_clock_id_compare_func), (gst_clock_id_wait),
4936         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4937         (gst_clock_init), (gst_clock_get_internal_time),
4938         (gst_clock_set_master), (do_linear_regression),
4939         (gst_clock_add_observation), (gst_clock_set_property):
4940         * gst/gstclock.h:
4941         Review docs.
4942         Small cleanups.
4943         Fix a possible segfault when the window-size is made smaller.
4944         Calculate jitter before performing the clock wait. Ideally
4945         the clock implementation should calculate jitter but we need
4946         API breakage for that.
4947
4948         * gst/gstsystemclock.c: (gst_system_clock_init):
4949         Docs review.
4950         
4951         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4952         Remove leftover else
4953
4954         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4955         (gst_systemclock_suite):
4956         Added check to test GST_CLOCK_DIFF.
4957
4958 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4959
4960         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4961         (gst_type_find_helper_get_range):
4962           If we are provided with the size, we should implement
4963           GstTypeFind::get_length, so that typefind functions who
4964           want to can actually peek at the middle of a file.
4965
4966 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4967
4968         * docs/manual/advanced-dataaccess.xml:
4969           Add some very very basic error checking.
4970
4971         * docs/pwg/appendix-checklist.xml:
4972           Some updates to the list of things to check when writing an element.
4973
4974 2006-03-08  Wim Taymans  <wim@fluendo.com>
4975
4976         * docs/design/part-element-transform.txt:
4977         Added some docs about the design of tranform elements.
4978
4979         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4980         (gst_base_src_loop), (gst_base_src_change_state):
4981         Mark buffers with the DISCONT flag.
4982
4983 2006-03-08  Michael Smith  <msmith@fluendo.com>
4984
4985         * gst/gstregistry.h:
4986         * gst/gstregistryxml.c: (gst_registry_save),
4987         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4988         (gst_registry_xml_save_pad_template),
4989         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4990         (gst_registry_xml_write_cache):
4991           Rewrite registry-saving to avoid race conditions and check for
4992           failed writes.
4993
4994 2006-03-08  Wim Taymans  <wim@fluendo.com>
4995
4996         * libs/gst/base/gstbasetransform.c:
4997         (gst_base_transform_transform_caps),
4998         (gst_base_transform_transform_size),
4999         (gst_base_transform_prepare_output_buffer),
5000         (gst_base_transform_get_unit_size),
5001         (gst_base_transform_buffer_alloc),
5002         (gst_base_transform_handle_buffer),
5003         (gst_base_transform_change_state):
5004         Cleanups, separate normal flow from errors, add sensible
5005         DEBUG lines.
5006         Don't try to renegotiate when allocating an output buffer.
5007         Also copy DISCONT buffer flag when copying a buffer.
5008         Reset the transform after we finish streaming, not during.
5009
5010 2006-03-08  Wim Taymans  <wim@fluendo.com>
5011
5012         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5013         Use last buffer timestamp in qos message.
5014
5015 2006-03-07  Wim Taymans  <wim@fluendo.com>
5016
5017         Patch by: Christophe Fergeau
5018
5019         * docs/pwg/advanced-tagging.xml:
5020         * docs/pwg/building-pads.xml:
5021           fixes #333416
5022
5023 2006-03-07  Wim Taymans  <wim@fluendo.com>
5024
5025         * docs/libs/gstreamer-libs-sections.txt:
5026         Added basesink new methods.
5027
5028         * gst/gstevent.c:
5029         * gst/gstevent.h:
5030         Docs updates. Flesh out the QoS docs.
5031
5032         * libs/gst/base/gstadapter.c:
5033         Small doc clarification about ownership and flushing.
5034
5035         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5036         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5037         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5038         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5039         * libs/gst/base/gstbasesink.h:
5040         API additions: 
5041         Added new methods to allow subclass to control max-lateness 
5042         and sync.
5043         Generate very basic QoS events based on last sync observation.
5044         Updated docs, fix typo, added some QoS blurb.
5045
5046         * libs/gst/base/gstbasesrc.c:
5047         Remove obsolete _get_state() calls from docs.
5048
5049 2006-03-07  Wim Taymans  <wim@fluendo.com>
5050
5051         * docs/libs/gstreamer-libs-sections.txt:
5052         * libs/gst/base/gstbasetransform.h:
5053         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5054         Fix docs for GstBaseSrc.
5055
5056 2006-03-07  Wim Taymans  <wim@fluendo.com>
5057
5058         * docs/gst/gstreamer-sections.txt:
5059         * gst/gstbuffer.h:
5060         * gst/gstvalue.c:
5061         * libs/gst/base/gstbasetransform.h:
5062         Small documentation fixes.
5063
5064 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5065
5066         * gst/gstvalue.c:
5067           Document thread-unsafety of gst_value_register_foo_func()
5068           when used at the same time as gst_value_foo() (#322628).
5069
5070 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5073         (gst_push_src_check_get_range):
5074           Push sources don't support pull mode by default.
5075
5076 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5077
5078         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5079         (gst_base_src_init), (gst_base_src_pad_check_get_range),
5080         (gst_base_src_default_check_get_range):
5081         * libs/gst/base/gstbasesrc.h:
5082           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5083           provide default implementation, and rename
5084           gst_base_src_check_get_range() to
5085           gst_base_src_pad_check_get_range() for clarity.
5086
5087 2006-03-06  Wim Taymans  <wim@fluendo.com>
5088
5089         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5090         Make property overridable.
5091
5092 2006-03-06  Wim Taymans  <wim@fluendo.com>
5093
5094         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5095         (gst_base_sink_init), (gst_base_sink_set_property),
5096         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5097         * libs/gst/base/gstbasesink.h:
5098         API addition: Make max-lateness a property.
5099
5100 2006-03-06  Wim Taymans  <wim@fluendo.com>
5101
5102         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5103         (gst_base_sink_do_sync), (gst_base_sink_render_object):
5104         Don't ever draw a frame that is >10ms late.
5105
5106 2006-03-06  Michael Smith  <msmith@fluendo.com>
5107
5108         * gst/gstmessage.c: (_gst_message_copy):
5109           When copying a message, set the parent_refcount of the enclosed
5110           structure to point at the copy, not the original message.
5111
5112 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5113
5114         Patch by: Christophe Fergeau
5115
5116         * gst/gstutils.h:
5117           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5118           usable in c++ code (#333417)
5119
5120 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5121
5122         * gst/gstclock.h:
5123           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5124
5125 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         * libs/gst/base/gstbasetransform.c:
5128         (gst_base_transform_transform_caps):
5129           Make sure caps are writable before passing them to
5130           gst_caps_append().
5131
5132 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5133
5134         * gst/gsterror.h:
5135           Fix some minor docs errors.
5136
5137 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5138
5139           Patch by: Ross Burton <ross at burtonini dot com>
5140
5141         * gst/gsterror.c: (_gst_resource_errors_init):
5142         * gst/gsterror.h:
5143           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5144
5145 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5146
5147         * gst/gst.c:
5148         Add a check and output a g_warning when GStreamer is built
5149         against GLib 2.6 but running against 2.8 or higher, and vice 
5150         versa. (Closes: #323542)
5151
5152 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5153
5154         * gst/parse/parse.l:
5155           Commit patch for parse_launch syntax from #331255. Removes 
5156           support for quoted strings and mimetypes when writing filtered 
5157           caps. See the bug report for more details - I'm pretty sure this
5158           obscure feature is not in use by _anyone_ anywhere.
5159
5160           With this simple change, the size of the gstreamer.so here 
5161           drops from 2193KB to 1565KB.
5162
5163 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5164
5165         * plugins/elements/gsttypefindelement.h:
5166         * plugins/elements/gsttypefindelement.c:
5167         (gst_type_find_element_src_event), (start_typefinding),
5168         (stop_typefinding), (gst_type_find_element_handle_event),
5169         (gst_type_find_element_chain),
5170         (gst_type_find_element_chain_do_typefinding):
5171           Use gst_type_find_helper_for_buffer() for chain-based
5172           typefinding.
5173
5174 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5175
5176         * plugins/elements/gsttypefindelement.c:
5177         (gst_type_find_element_class_init),
5178         (gst_type_find_element_set_property),
5179         (gst_type_find_element_get_property):
5180           Deprecate "maximum" property (not only was it only taken into
5181           account for typefinding in push-mode anyway, it also was never
5182           actually possible to set it in the first place because the
5183           property was registered with the numeric property ID for the
5184           "minimum" property). Register "maximum" property correctly,
5185           for the sake of future copy'n'pasters. Remove some cruft
5186           from property get/set functions.
5187
5188 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5189
5190         * plugins/elements/gsttypefindelement.c:
5191         (gst_type_find_element_activate):
5192           Use gst_type_find_helper_get_range() here, so we
5193           can honour the "minimum" property and also emit
5194           the signal with the correct probability of the found caps.
5195
5196 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
5197
5198         * docs/libs/gstreamer-libs-sections.txt:
5199         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5200         (helper_find_suggest), (gst_type_find_helper_get_range),
5201         (gst_type_find_helper):
5202         * libs/gst/base/gsttypefindhelper.h:
5203           New API: gst_type_find_helper_get_range() (#333042).
5204
5205 2006-03-02  Michael Smith  <msmith@fluendo.com>
5206
5207         * gst/gstregistryxml.c: (load_feature):
5208           Asserting on a failure to read part of the registry is Not Cool.
5209           Just log a warning and return NULL (which is already handled)
5210
5211 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
5212
5213         * win32/common/libgstbase.def:
5214           added export of gst_type_find_helper_for_buffer
5215         * win32/common/libgstbase.def:
5216           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5217           gst_ghost_pad_get_target
5218
5219 2006-02-28  Wim Taymans  <wim@fluendo.com>
5220
5221         * docs/design/draft-klass.txt:
5222         We use Filter now.
5223         Added Connector to mark elements that are only used to
5224         allow pipeline connections.
5225         Moved Debug to extra feature since most of them are 
5226         functionally something else.
5227
5228 2006-02-28  Wim Taymans  <wim@fluendo.com>
5229
5230         * docs/design/draft-klass.txt:
5231         Some updates and clarifications.
5232
5233 2006-02-28  Wim Taymans  <wim@fluendo.com>
5234
5235         * docs/design/draft-klass.txt:
5236         Proposal for klass field values.
5237
5238         * docs/design/part-streams.txt:
5239         Start of a doc describing stream anatomy.
5240
5241 2006-02-28  Wim Taymans  <wim@fluendo.com>
5242
5243         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5244         Help the compiler a bit with type registration.
5245         Use existing forward cod path instead of duplicating it when 
5246         handling a message.
5247         
5248         * gst/gstbus.c: (gst_bus_get_type):
5249         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5250         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5251         * gst/gstclock.c: (gst_clock_get_type):
5252         * gst/gstelement.c: (gst_element_get_type),
5253         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5254         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5255         * gst/gstminiobject.c: (gst_mini_object_get_type):
5256         * gst/gstpad.c: (gst_pad_get_type):
5257         * gst/gstsegment.c: (gst_segment_get_type):
5258         * gst/gststructure.c: (gst_structure_get_type):
5259         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5260         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5261         * gst/gstvalue.c:
5262         Help compiler with type registration.
5263
5264         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5265         Small doc update.
5266
5267 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5268
5269         * plugins/elements/gsttypefindelement.c:
5270         (gst_type_find_element_handle_event):
5271           When we get an EOS event and have not found a type yet
5272           (most likely because we had not yet accumulated
5273           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5274           type given the data we have so far. Fixes typefinding
5275           for very short streams again, most notably quicktime
5276           redirections as used on Apple's trailer site (#331701).
5277
5278 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5279
5280         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5281         (gst_type_find_helper):
5282           Try typefinding factories with the highest rank first.
5283
5284 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5285
5286         * docs/libs/gstreamer-libs-docs.sgml:
5287         * docs/libs/gstreamer-libs-sections.txt:
5288         * libs/gst/base/gsttypefindhelper.c:
5289           Add section for typefind helper and add documentation
5290           for the old and the new function.
5291
5292 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5293
5294         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5295         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5296         (gst_type_find_helper_for_buffer):
5297         * libs/gst/base/gsttypefindhelper.h:
5298           New API: gst_type_find_helper_for_buffer() (#332723).
5299           
5300 2006-02-27  Michael Smith  <msmith@fluendo.com>
5301
5302         Patch by: Loïc Minier
5303
5304         * configure.ac:
5305         * docs/Makefile.am:
5306         * docs/slides/Makefile.am:
5307           prevent CVS directories getting disted.
5308
5309 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5312           Use the REFCOUNTING category for caps refcounting.
5313           
5314 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5315
5316         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5317           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5318
5319 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5320
5321         * plugins/elements/gsttypefindelement.c:
5322         (gst_type_find_element_activate):
5323           Use gst_pad_check_pull_range() before _activate_pull()
5324           to avoid unnecessary open/close (see #331690).
5325
5326 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * gst/gstutils.c:
5329           Docs enhancement: make it crystal clear what the
5330           gst_pad_add_*_probe() callbacks should look like.
5331
5332 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5333
5334         * libs/gst/base/gstbasesrc.c:
5335           Document how applications can stop recording from
5336           live sources (see #330996).
5337
5338 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * tests/check/Makefile.am:
5341         * tests/check/libs/basesrc.c: (eos_event_counter),
5342         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5343         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5344         (gst_basesrc_suite), (main):
5345           ... and add some tests for the base source EOS stuff.
5346
5347 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5348
5349         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5350           Test case originally showed the problem fixed below,
5351           but was then amended. Add checks back at the place
5352           where they used to be.
5353
5354 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5355
5356         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5357         (gst_base_src_init), (gst_base_src_loop),
5358         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5359         (gst_base_src_change_state):
5360         * libs/gst/base/gstbasesrc.h:
5361           Don't unconditionally send EOS when going from PAUSED to
5362           READY state, esp. make sure we don't send two EOS events
5363           in some cases (e.g. one when reaching EOS and one when
5364           going from PAUSED to READY). Also, we don't want to send
5365           EOS events when operating in pull mode. However, we do
5366           want to send an EOS event when shutting down a live
5367           source explicitly, for example (fixes #330996).
5368           
5369 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5370
5371         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5372           Update src->read_position after a seek when not using mmap.
5373           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5374
5375 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5376
5377         * gst/Makefile.am:
5378         * gst/gstparse.h:
5379         * gst/gstutils.c:
5380         * gst/gstutils.h:
5381         Make things work with --disable-parse as they do with 
5382         --disable-load-save - the symbols involved disappear, but the
5383         header is still installed and GST_DISABLE_PARSE is included via
5384         gstconfig.h
5385
5386 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5387
5388         * libs/gst/base/gstbasetransform.c:
5389         (gst_base_transform_change_state): Fix a stupid bug. I was 
5390         sure I compiled that.
5391
5392 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5393
5394         * gst/gstpad.c: (gst_pad_set_blocked_async):
5395         * gst/gstutils.c: (gst_pad_add_data_probe),
5396         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5397         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5398         (gst_pad_remove_buffer_probe): Make those function act on the
5399         ghostpad target when it's a ghostpad. (Closes #331727)
5400
5401 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5402
5403         * libs/gst/base/gstbasetransform.c:
5404         (gst_base_transform_change_state): Make basetransform reusable.
5405         (Closes #331898)
5406
5407 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5408
5409         * docs/random/release:
5410         Move the current documentation of how to do a release to the top
5411         of the file.
5412
5413         * gst/gstbin.c: (gst_bin_class_init),
5414         (gst_bin_handle_message_func):
5415         Allow multiple state-recalculation threads. (Closes #328873)
5416
5417 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5418
5419         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5420         * gst/gstpad.c: (gst_pad_set_event_function),
5421         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5422         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5423         2 strings. You can't use the STR_NULL macro on that.
5424
5425 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5426
5427         * gst/gstpad.c: (gst_pad_set_event_function),
5428         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5429         (gst_pad_set_getcaps_function)
5430         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5431           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5432           So now, we can use --gst-debug-level=5 on Windows
5433         * win32/common/libgstcontroller.def:
5434           Added export of gst_controller_init
5435         * win32/vs6/libgstcontroller.dsp:
5436           Fixed Release post build configuration
5437
5438 2006-02-17  Wim Taymans  <wim@fluendo.com>
5439
5440         * tests/check/gst/gstquery.c: (GST_START_TEST):
5441         Added another check.
5442
5443 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5444
5445         * plugins/elements/gsttypefindelement.c: (find_peek):
5446           We can do peeks at non-zero offsets, as long as they
5447           fall within the buffer we have.
5448
5449 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5450
5451         * tests/check/Makefile.am:
5452         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5453         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5454         (parse_suite), (main):
5455           Add testsuite for parse launch syntax
5456
5457 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5458
5459         * plugins/elements/gsttypefindelement.c:
5460         (gst_type_find_element_chain):
5461           When typefinding is unsuccessful in the chain function, don't
5462           error out immediately. Only error out with NO_CAPS_FOUND if
5463           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5464           otherwise simply wait for more data so we can try typefinding
5465           again with more data later. Also, don't attempt to typefind
5466           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5467           this should improve typefinding from network sources where the
5468           size of the first buffer can be somewhat random.
5469
5470 2006-02-14  Wim Taymans  <wim@fluendo.com>
5471
5472         * docs/gst/gstreamer-sections.txt:
5473         * gst/gstpadtemplate.c:
5474         * gst/gstpadtemplate.h:
5475         Fix padtemplate docs, fixes #328805.
5476
5477 2006-02-14  Wim Taymans  <wim@fluendo.com>
5478
5479         * tools/gst-launch.c: (main):
5480         NO_PREROLL is not an ERROR so don't send confusing messages
5481         to the user.
5482
5483 2006-02-14  Wim Taymans  <wim@fluendo.com>
5484
5485         Patch by: Torsten Schoenfeld
5486
5487         * gst/gstregistry.c: (gst_registry_get_default),
5488         (_gst_registry_cleanup):
5489         Protect default registry with lock and ref/sink it.
5490         Fixes #324818
5491
5492 2006-02-14  Wim Taymans  <wim@fluendo.com>
5493
5494         * gst/gstbuffer.c:
5495         * gst/gstquery.c: (gst_query_list_add_format),
5496         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5497         (gst_query_parse_formats_nth):
5498         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5499         Docs fixes.
5500
5501 2006-02-14  Wim Taymans  <wim@fluendo.com>
5502
5503         * docs/gst/gstreamer-sections.txt:
5504         Reworked query docs.
5505
5506         * gst/gstquery.c: (gst_query_new_formats),
5507         (gst_query_list_add_format), (gst_query_set_formats),
5508         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5509         (gst_query_parse_formats_nth):
5510         * gst/gstquery.h:
5511         Flesh out formats query, added some new methods.
5512         Fix part of #324398.
5513
5514         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5515         Added query creation tests.
5516
5517 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5518
5519         * gst/gstpad.c: (fixate_value):
5520         Add a default fixation for fraction lists.
5521
5522 2006-02-13  Wim Taymans  <wim@fluendo.com>
5523
5524         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5525         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5526         (gst_task_join):
5527         * gst/gsttask.h:
5528         Detect and warn for obvious deadlocks. fixes #320340
5529         Fix error case where lock was not released.
5530
5531         * tests/check/Makefile.am:
5532         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5533         (task_func), (gst_element_suite), (main):
5534         Add task check.
5535
5536 2006-02-13  Wim Taymans  <wim@fluendo.com>
5537
5538         * docs/gst/gstreamer-sections.txt:
5539         * gst/gstbus.c:
5540         Add new functions to docs.
5541
5542 2006-02-13  Wim Taymans  <wim@fluendo.com>
5543
5544         * docs/design/part-TODO.txt:
5545         Updated TODO list, basesrc supports seeking to non-bytes
5546         formats.
5547
5548         * docs/design/part-element-sink.txt:
5549         Update docs.
5550
5551         * gst/gstbin.c: (bin_replace_message),
5552         (gst_bin_handle_message_func):
5553         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5554         * gst/gstevent.c: (gst_event_finalize):
5555         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5556         (gst_pad_send_event):
5557         Use shiny new _TYPE_NAME macros.
5558
5559         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5560         Move debug statement up.
5561
5562         * gst/gstelement.c: (gst_element_set_locked_state):
5563         Add some debugging.
5564
5565 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5566
5567         * docs/gst/gstreamer-sections.txt:
5568         * gst/gstmessage.h:
5569         * gst/gstquery.h:
5570           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5571           macros (#330906). Also, document the already existing
5572           GST_QUERY_TYPE macro.
5573
5574 2006-02-13  Wim Taymans  <wim@fluendo.com>
5575
5576         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5577         (event_probe), (GST_START_TEST):
5578         Only events up to the pipeline EOS are counted, there are
5579         some more when going to NULL currently which we don't care
5580         about for now.
5581
5582 2006-02-13  Wim Taymans  <wim@fluendo.com>
5583
5584         * gst/gstpad.c: (gst_pad_send_event):
5585         Correctly check flushing and emit probes. fixes #330125
5586
5587 2006-02-10  Andy Wingo  <wingo@pobox.com>
5588
5589         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5590         structure.
5591         (gst_bus_init): Cache the location of the private data in the
5592         instance structure.
5593         (gst_bus_enable_sync_message_emission) 
5594         (gst_bus_disable_sync_message_emission): Implement new public
5595         functions.
5596         (gst_bus_post): Emit the sync-message signal if the user asked for
5597         it. Fixes #330684.
5598
5599         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5600         location of the bus-private structure.
5601         (gst_bus_enable_sync_message_emission)
5602         (gst_bus_disable_sync_message_emission): API addition
5603
5604 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5605
5606         Patch by: Vincent Torri
5607
5608         * docs/pwg/building-boiler.xml:
5609         PWG patch from #326800
5610
5611 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5612
5613         * configure.ac:
5614         * docs/Makefile.am:
5615         * docs/design/Makefile.am:
5616           Dist design docs.
5617
5618 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5619
5620         * configure.ac:
5621           back to CVS
5622
5623 === release 0.10.3 ===
5624
5625 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5626
5627         * configure.ac:
5628           releasing 0.10.3, "Like a virgin"
5629
5630 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5631
5632         * configure.ac:
5633           2nd prerelease of 0.10.3
5634           Bump libtool versioning.
5635
5636 2006-02-07  Andy Wingo  <wingo@pobox.com>
5637
5638         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5639         update last_stop if we're in TIME format and the timestamp is
5640         valid.
5641
5642         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5643         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5644         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5645         If we get a new newsegment with a different format, adapt
5646         accordingly.
5647
5648         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5649         of 0. Not a problem, really.
5650
5651         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5652         warn if sync=true.
5653
5654 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5655
5656         * configure.ac:
5657           Prelease of 0.10.3
5658
5659 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5660
5661         * win32/vs7:
5662           project files updated to the default vs7 configuration
5663         * win32/common/libgstbase.def:
5664         * win32/common/libgstreamer.def:
5665           added new symbols,
5666           removed empty lines,
5667           sorted all exported symbols alphabetically
5668         * win32/common/dirent.c:
5669         * win32/common/dirent.h:
5670         * win32/common/gchar.h:
5671           use windows line end.
5672           
5673 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5674
5675         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5676           Send EOS event when stopping.
5677
5678 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5679
5680         * docs/README:
5681           Tell folks what to do if the plugin-foobar.xml file
5682           hasn't been generated for a newly-added plugin.
5683
5684 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5685
5686         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5687         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5688         (gst_collect_pads_start), (gst_collect_pads_stop),
5689         (gst_collect_pads_event): Collectpads now holds a reference
5690         to the GstPad that was added. Indeed we don't want to look
5691         at pads that might just go away with no warning...
5692
5693 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5694
5695         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5696         (gst_collect_pads_start), (gst_collect_pads_stop),
5697         (gst_collect_pads_event), (gst_collect_pads_chain):
5698         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5699         Mark Nauwelaerts's patch on bug #328491.
5700
5701 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5702
5703         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5704         (gst_utils_suite):
5705           Add some simple tests for gst_parse_bin_from_description() and
5706           gst_bin_find_unconnected_pad() (#329069).
5707
5708 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5709
5710         * tools/gst-launch.c: (event_loop), (main):
5711           Catch errors during preroll (#320084).
5712
5713 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5714
5715         * plugins/elements/gsttypefindelement.c:
5716         (gst_type_find_element_activate):
5717           Post TYPE_NOT_FOUND error message when typefinding
5718           is unsuccessful in the activate function as well.
5719
5720 2006-02-02  Wim Taymans  <wim@fluendo.com>
5721
5722         * docs/design/part-element-sink.txt:
5723         Updated doc.
5724
5725 2006-02-02  Wim Taymans  <wim@fluendo.com>
5726
5727         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5728         (gst_base_sink_render_object),
5729         (gst_base_sink_queue_object_unlocked):
5730         Only keep track of prerollable items when we are 
5731         prerolling.
5732         Before rendering after preroll, always check if we
5733         have queued items.
5734         Added some more debugging.
5735
5736 2006-02-02  Wim Taymans  <wim@fluendo.com>
5737
5738         * gst/gstelement.c: (gst_element_continue_state),
5739         (gst_element_set_state_func), (gst_element_change_state):
5740         Fixed #326576, been running this for quite some time with
5741         no regressions at all.
5742
5743 2006-02-02  Wim Taymans  <wim@fluendo.com>
5744
5745         * common/gst.supp:
5746         Added more suppressions
5747
5748 2006-02-02  Wim Taymans  <wim@fluendo.com>
5749
5750         * docs/design/part-element-sink.txt:
5751         Updated document.
5752
5753         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5754         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5755         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5756         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5757         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5758         (gst_base_sink_preroll_object),
5759         (gst_base_sink_queue_object_unlocked),
5760         (gst_base_sink_queue_object), (gst_base_sink_event),
5761         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5762         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5763         (gst_base_sink_get_position), (gst_base_sink_change_state):
5764         * libs/gst/base/gstbasesink.h:
5765         Totally refactored matching the design doc.
5766         Use two segments, one to clip incomming buffers and another to
5767         perform sync.
5768         Handle queueing correctly, bypass the queue when playing.
5769         Make EOS cancelable.
5770         Handle errors correctly when operating in pull based mode.
5771
5772         * tests/check/elements/fakesink.c: (GST_START_TEST),
5773         (fakesink_suite):
5774         Added new check for sinks.
5775
5776 2006-02-02  Wim Taymans  <wim@fluendo.com>
5777
5778         * gst/gstsegment.c: (gst_segment_clip):
5779         No reason to refuse to clip when start == -1
5780
5781 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * docs/README:
5784         * docs/manual/intro-basics.xml:
5785         * docs/manual/intro-preface.xml:
5786         * docs/manual/manual.xml:
5787         * docs/pwg/advanced-dparams.xml:
5788         * docs/pwg/intro-basics.xml:
5789         * docs/pwg/intro-preface.xml:
5790         * docs/pwg/pwg.xml:
5791           describe dparams (controller) for plugins
5792           unify docs a little more
5793
5794 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         * docs/gst/gstreamer-sections.txt:
5797         * gst/gstutils.c: (element_find_unconnected_pad),
5798         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5799         * gst/gstutils.h:
5800           Add new API: gst_parse_bin_from_description() and
5801           gst_bin_find_unconnected_pad() (#329069).
5802
5803 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5804
5805         * docs/manual/README:
5806           uncover a nasty detail of the docs build
5807
5808 2006-01-31  Wim Taymans  <wim@fluendo.com>
5809
5810         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5811         Don't cache duration messages if we're not going to use or
5812         free them.
5813
5814 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5815
5816         * docs/manual/advanced-dparams.xml:
5817         * docs/pwg/advanced-dparams.xml:
5818           more dparam docs
5819         * gst/gstindex.c:
5820           fix docs
5821         * libs/gst/controller/lib.c: (gst_controller_init):
5822           init just once
5823
5824 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5825
5826         * gst/gstelement.c: (gst_element_message_full):
5827           also show file/line/func if no additional debug was given
5828
5829 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5830         
5831         * win32/vs7/grammar.vcproj:
5832           activate copy of autogenerated files for Release mode
5833
5834 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5835         
5836         * win32/common/libgstreamer.def:
5837           export gst_value_compare
5838
5839 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5840
5841         * plugins/elements/Makefile.am:
5842         * plugins/elements/gstelements.c:
5843         * plugins/elements/gstfdsink.c: (_do_init),
5844         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5845         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5846         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5847         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5848         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5849         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5850         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5851         * plugins/elements/gstfdsink.h:
5852         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5853
5854 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5855
5856         * docs/manual/advanced-dparams.xml:
5857           describe controller
5858         * docs/manual/advanced-position.xml:
5859         * docs/manual/basics-init.xml:
5860         * docs/manual/manual.xml:
5861         * docs/manual/titlepage.xml:
5862         * docs/pwg/pwg.xml:
5863         * docs/pwg/titlepage.xml:
5864           cleanup xml (more to come)
5865         * libs/gst/controller/gstcontroller.c:
5866           fix typo
5867
5868 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5869         
5870         * win32/vs6/grammar.dsp:
5871           add autogen of gstmarshal.c,h for Release mode
5872                 
5873 2006-01-30  Wim Taymans  <wim@fluendo.com>
5874
5875         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5876         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5877         (gst_base_sink_handle_object), (gst_base_sink_event),
5878         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5879         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5880         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5881         (gst_base_sink_deactivate), (gst_base_sink_activate),
5882         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5883         (gst_base_sink_query), (gst_base_sink_change_state):
5884         Basesink cleanups, remove some old code.
5885         Handle the case where a subclass can preroll in the render
5886         method (mostly audiosinks).
5887         Handle more events.
5888         Remove some locks around variables that are now protected
5889         with the PREROLL_LOCK (clock_id, flushing, ..).
5890         Optimize position query some more, do correct locking.
5891         Remove old code to push queue in state change, this is not
5892         needed anymore since preroll blocks on all prerollable items 
5893         now.
5894         Almost implemented as described in design doc.
5895
5896 2006-01-30  Wim Taymans  <wim@fluendo.com>
5897
5898         * tests/check/gst/gstbin.c: (GST_START_TEST):
5899         Wait for refcount to settle down before checking.
5900
5901 2006-01-30  Wim Taymans  <wim@fluendo.com>
5902
5903         * docs/design/part-element-sink.txt:
5904         Pseudo code overview of desired sink behaviour regarding
5905         preroll.
5906
5907 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5908         * win32/vs6/grammar.dsp:
5909           fix some bugs in Release mode for autogenerated files
5910                 
5911 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5912         * win32/common/libgstbase.def:
5913         * win32/common/libgstreamer.def:
5914           export some new symbols: gst_base_src_set_format,
5915           gst_iterator_next, gst_structure_set_valist
5916
5917 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5918
5919         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5920         Set pad functions unconditionally. Fixes #329105.
5921
5922 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5923         * win32/vs8:
5924           add vs8 project files created by Sergey Scobich
5925
5926 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5927
5928         * gst/gstutils.c: (gst_element_unlink_pads):
5929         Don't leak pad references.
5930
5931         * tests/check/elements/fakesink.c: (GST_START_TEST):
5932         * tests/check/generic/sinks.c: (GST_START_TEST):
5933         * tests/check/generic/states.c: (GST_START_TEST):
5934         * tests/check/gst/gstbin.c: (GST_START_TEST):
5935         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5936         * tests/check/gst/gstelement.c: (GST_START_TEST):
5937         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5938         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5939         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5940         Fix a bunch of leaks. Make generic/sinks.c
5941         use a bit less cpu by slowing the buffer rate
5942         between fakesrc and fakesink.
5943         
5944 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5945         * gst/gstcaps.c:
5946         * gst/gstelement.c: (gst_element_send_event):
5947         * gst/gstevent.c:
5948         * gst/gstinfo.c:
5949         * gst/gstiterator.c:
5950         * gst/gstiterator.h:
5951         * gst/gstpad.c: (gst_pad_send_event):
5952         * gst/gststructure.c:
5953         * gst/gsturi.c:
5954         * gst/gstutils.c:
5955         * gst/gstvalue.c:
5956         * libs/gst/base/gstadapter.c:
5957           doc fixes, to link to function, just write gst_cool_function(), don't
5958           prefix with '#'
5959
5960 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5961
5962         * plugins/elements/gsttee.c: (gst_tee_do_push),
5963         (gst_tee_handle_buffer):
5964         Always prefer an actual return value from a src
5965         pad in place of NOT_LINKED. This means we return
5966         WRONG_STATE when all src pads are WRONG_STATE
5967         instead of NOT_LINKED.
5968
5969         Lock when replacing the last message to prevent
5970         racing with the get_property method.
5971
5972         Add debug output
5973
5974 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5975
5976         * tests/check/Makefile.am:
5977         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5978         (main):
5979         Add a very simple check that should have caught the memleak I fixed
5980         last night (if not for the slice allocator hiding it)
5981
5982 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5983
5984         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5985         (gst_bin_remove_func), (gst_bin_handle_message_func),
5986         (bin_query_duration_fold), (bin_query_generic_fold):
5987         Clean up references to the clock provider when disposed or when
5988         handling a clock-lost message from it.
5989
5990         Unref sinks when performing a query via gst_iterator_fold, as the
5991         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5992
5993         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5994         (gst_clock_set_master):
5995         Drop our reference to the master clock, if any, when we are disposed.
5996
5997         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5998         Chain up in dispose. 
5999
6000 2006-01-26  Wim Taymans  <wim@fluendo.com>
6001
6002         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6003         Add some debugging.
6004
6005 2006-01-26  Julien MOUTTE  <julien@moutte.net>
6006
6007         * plugins/elements/gsttee.c: (gst_tee_do_push),
6008         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6009         handles pad being NOT_LINKED or in WRONG_STATE.
6010
6011 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6012
6013         * win32/MANIFEST:
6014           more updating
6015
6016 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6017
6018         * win32/MANIFEST:
6019           remove obsolete entry
6020
6021 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6022
6023         * docs/gst/gstreamer-sections.txt:
6024         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6025         (gst_bin_iterate_sources), (gst_bin_send_event):
6026         * gst/gstbin.h:
6027         * gst/gstelement.c: (gst_element_send_event):
6028         * gst/gstevent.c:
6029         * gst/gstpad.c: (gst_pad_send_event):
6030           added code for downstream events, reviewed docs in gstevent.c
6031
6032 2006-01-25  Julien MOUTTE  <julien@moutte.net>
6033
6034         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6035         We only query position using the clock in the playing state.
6036         Query peer in the other cases.
6037         * win32/common/config.h: Updates.
6038
6039 2006-01-24  Wim Taymans  <wim@fluendo.com>
6040
6041         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6042         A clock entry that is scheduled for the exact time of the
6043         clock is still in time.
6044
6045         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6046         (gst_base_sink_do_sync):
6047         Add some more debug info.
6048
6049 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6050
6051         * win32/vs7:
6052           Add new vs7 project files and solution.
6053
6054 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6055
6056         * win32/vs7:
6057           all files removed as they were out-dated.
6058
6059 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6060
6061         * docs/random/release:
6062           update notes
6063         * gst/gstbin.c: (gst_bin_init):
6064         * gst/gstbus.c: (gst_bus_new):
6065         * gst/gstbus.h:
6066         * gst/gstpipeline.c: (gst_pipeline_init):
6067           use gst_bus_new(), improve logging, fix docs
6068         * win32/common/config.h:
6069           update for cvs build
6070
6071 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6072
6073         * autogen.sh:
6074           up required version of automake to 1.7
6075
6076 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
6077
6078         * win32/common/libgstreamer.def:
6079           export gst_buffer_is_metadata_writable
6080
6081 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
6082
6083         * docs/gst/gstreamer-sections.txt:
6084         * gst/gstevent.h:
6085           Add gst_event_replace() (#327001)
6086
6087 2006-01-20  Wim Taymans  <wim@fluendo.com>
6088
6089         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6090         Make it actually compile too..
6091
6092 2006-01-20  Wim Taymans  <wim@fluendo.com>
6093
6094         * gst/gstcaps.c:
6095         Clarify behaviour of _is_equal() when passing NULL parameters.
6096
6097         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6098         (gst_pad_set_caps):
6099         Cleanups. Don't unref NULL caps.
6100         When setting the same caps, protect caps of the pad with
6101         proper lock.
6102         Use full functionality of _is_equal() when comparing caps.
6103
6104 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6105
6106         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6107         Don't loop infinitely if there are no buffers to present. Partially
6108         fixes #327197, but collectpads is just broken for reusing elements
6109         to do multiple encodes atm.
6110
6111 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6112
6113         * tools/gst-inspect.c: (print_element_features):
6114         * tools/gst-xmlinspect.c: (main):
6115         URL_HANDLER is not a plugin feature we can search for in
6116         the registry.
6117
6118 2006-01-19  Edward Hervey  <edward@fluendo.com>
6119
6120         * gst/gstelement.c: (gst_element_pads_activate): 
6121         When activating, do src pads first, then sink pads.
6122         When de-activating, do sink pads first, then src pads.
6123
6124 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6125
6126         * docs/gst/gstreamer-sections.txt:
6127         Add gst_index_add_associationv to the docs
6128
6129 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6130
6131         * gst/gstevent.c:
6132           Fix docs typo
6133
6134         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6135         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6136           Do some refactoring. Doesn't actually change functionality,
6137           but makes landing the DRAIN event easier later.
6138
6139 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * docs/pwg/advanced-scheduling.xml:
6142           Update from 0.9.x to 0.10 API and make example a bit
6143           clearer.
6144
6145 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6146
6147         * docs/gst/gstreamer-sections.txt:
6148         Add gst_buffer_(is|make)_metadata_writable methods.
6149
6150 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6151
6152         * docs/design/part-sparsestreams.txt:
6153         Update sparse streams doc, hopefully for greater clarity
6154
6155 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
6156
6157         * docs/design/part-events.txt:
6158         Remove mention of FILLER events.
6159         Add DRAIN event.
6160
6161         * docs/design/part-sparsestreams.txt:
6162         Write some things about using NEWSEGMENT to keep sparse streams
6163         flowing.
6164
6165 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6166
6167         * gst/gstbin.c: (gst_bin_dispose):
6168           Guard gst_object_unref call against a NULL object (dispose
6169           can theoretically be called multiple times).
6170           
6171 2006-01-18  Wim Taymans  <wim@fluendo.com>
6172
6173         * gst/gstbin.c: (gst_bin_element_set_state):
6174         * gst/gstclock.c: (gst_clock_id_wait):
6175         Added some more debug info.
6176
6177         * libs/gst/base/gstadapter.c:
6178         Added more docs.
6179
6180         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6181         (gst_base_sink_do_sync), (gst_base_sink_chain):
6182         Added some comments.
6183
6184 2006-01-18  Wim Taymans  <wim@fluendo.com>
6185
6186         * tests/check/Makefile.am:
6187         * tests/check/elements/fakesink.c: (chain_async_buffer),
6188         (chain_async), (chain_async_return), (GST_START_TEST),
6189         (fakesink_suite), (main):
6190         Added fakesink test that checks prerolling and clipping
6191         behaviour.
6192
6193         * tests/check/gst/gstutils.c: (GST_START_TEST):
6194         Make check run faster so that buildbots don't timeout.
6195
6196 2006-01-18  Wim Taymans  <wim@fluendo.com>
6197
6198         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6199         (gst_base_sink_do_sync):
6200         Some cleanups.
6201         When the sink finishes blocking on the preroll buffer, it can
6202         immediatly render it instead of rendering when the next buffer
6203         arrives.
6204
6205 2006-01-18  Wim Taymans  <wim@fluendo.com>
6206
6207         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6208         (gst_base_sink_get_property), (gst_base_sink_do_sync),
6209         (gst_base_sink_chain):
6210         Small cleanups.
6211         GST_ELEMENT_CLOCK and sync are protected with LOCK.
6212         Don't store _last_stop if the buffer is dropped.
6213
6214 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6215
6216         * plugins/elements/gsttypefindelement.c:
6217         (gst_type_find_element_class_init):
6218           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6219           object method handler that sets the caps on the pad and we want
6220           that to happen before we emit the signal (fixes e.g. feeding a
6221           plain text file to decodebin).
6222
6223 2006-01-18  Christian Schaller  <Christian@fluendo.com>
6224
6225         * gst/gstplugin.c: Add MPL and Proprietary as license options
6226
6227 2006-01-18  Andy Wingo  <wingo@pobox.com>
6228
6229         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6230         symbol was exported before, it appears this was just an oversight.
6231         Fixes #168703.
6232         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6233
6234         * gst/gstindex.c (gst_index_add_associationv): Changed int in
6235         prototype to gint. OK since this prototype was not in the header.
6236
6237 2006-01-17  Andy Wingo  <wingo@pobox.com>
6238
6239         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6240         registry while we remove plugins.
6241
6242         * tools/gst-inspect.c (print_element_info): Don't unref the
6243         factory arg, that should be the responsibility of whatever code
6244         received the ref. Fixes a double-free when called from
6245         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6246         (main): Unref the factory if we have one.
6247         (print_element_list): No change -- relies on the
6248         plugin_feature_list_free to free the list of features.
6249
6250 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6251
6252         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6253         (gst_buffer_make_metadata_writable):
6254         * gst/gstbuffer.h:
6255         * libs/gst/base/gstbasetransform.c:
6256         (gst_base_transform_prepare_output_buf):
6257         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6258         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6259           Replace gst_buffer_(make|is)_metadata_writable patch now
6260           that the release is out.
6261
6262 2006-01-17  Andy Wingo  <wingo@pobox.com>
6263
6264         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6265         in the present tense without reference to versions.
6266
6267         * gst/gstregistry.c (gst_registry_add_plugin)
6268         (gst_registry_remove_plugin, gst_registry_remove_feature)
6269         (gst_registry_find_feature, gst_registry_get_feature_list)
6270         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6271         (gst_registry_lookup, gst_registry_scan_path)
6272         (_gst_registry_remove_cache_plugins)
6273         (gst_registry_get_feature_list_by_plugin): Add argument
6274         validation.
6275
6276 === release 0.10.2 ===
6277
6278 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6279
6280         * configure.ac:
6281           releasing 0.10.2, "If man is five"
6282
6283 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6284
6285         * gst/gstbuffer.c:
6286         * gst/gstbuffer.h:
6287         * libs/gst/base/gstbasetransform.c:
6288         (gst_base_transform_prepare_output_buf):
6289         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6290         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6291           Back out patch until after the release.
6292
6293 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6294
6295         * gst/gstminiobject.c:
6296           Spelling fix in docs.
6297         * ChangeLog - remove conflict indicator
6298
6299 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6300
6301         Reviewed By: Andy Wingo
6302
6303         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6304         (gst_buffer_make_metadata_writable):
6305         * gst/gstbuffer.h:
6306           Add gst_buffer_(is|make)_metadata_writable as analogues of
6307           gst_buffer_(is|make)_writable.
6308
6309         * libs/gst/base/gstbasetransform.c:
6310         (gst_base_transform_prepare_output_buf):
6311         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6312           Use name gst_buffer_(is|make)_metadata_writable functions.
6313
6314         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6315           Test gst_buffer_(is|make)_metadata_writable
6316         
6317           (Closes: #324162)
6318
6319 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6320
6321         * docs/manual/Makefile.am:
6322           don't do parallel make
6323         * configure.ac:
6324           AC_SUBST HOST_CPU
6325         * win32/common/config.h.in:
6326           add generations for HOST_CPU and GST_MAJORMINOR
6327         * win32/common/config.h:
6328           commit generated result
6329
6330 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6331
6332         * docs/manual/appendix-integration.xml:
6333           Update GNOME integration section to use gst_init_get_option_group()
6334           instead of the old popt stuff (#322911). Also, GNOME applications
6335           should  now use gconf*sink and gconf*src instead of the old gconf
6336           helper lib we had.
6337
6338 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6339
6340
6341         * docs/gst/gstreamer-docs.sgml:
6342         * docs/gst/gstreamer-sections.txt:
6343         * docs/libs/gstreamer-libs-sections.txt:
6344           add new API entries to the docs
6345         * libs/gst/controller/Makefile.am:
6346         * libs/gst/controller/gstcontroller.c:
6347         * libs/gst/controller/gstcontroller.h:
6348         * libs/gst/controller/gstcontrollerprivate.h:
6349         * libs/gst/controller/gsthelper.c:
6350         * libs/gst/controller/gstinterpolation.c:
6351           move private structs to private header
6352         * po/README:
6353           gstreamer-0.7 -> gstreamer-0.10
6354         * tests/check/libs/struct_i386.h:
6355           remove private structs
6356
6357 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6358
6359         * plugins/indexers/Makefile.am:
6360           Fixes as part of #317048
6361
6362 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6363
6364         * plugins/indexers/Makefile.am:
6365           fix #316086 - compilation when mmap is missing
6366
6367 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6368
6369         * libs/gst/base/gstbasesink.c:
6370           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6371           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6372         * win32/common/config.h:
6373           added some defines GST_MAJORMINOR and HOST_CPU
6374         * win32/common/libgstbase.def:
6375         * win32/common/libgstreamer.def:
6376           added some exported functions.
6377
6378 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6379
6380         * libs/gst/controller/gstcontroller.c:
6381         (gst_controlled_property_set_interpolation_mode),
6382         (gst_controlled_property_new):
6383         * libs/gst/controller/gstcontroller.h:
6384         * libs/gst/controller/gstinterpolation.c:
6385         (interpolate_none_get_string_value_array):
6386           make G_TYPE_STRING controlable
6387
6388 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6389
6390         * tools/README:
6391         * tools/gst-feedback.1.in:
6392         * tools/gst-inspect.1.in:
6393         * tools/gst-launch.1.in:
6394         * tools/gst-md5sum.1.in:
6395         * tools/gst-typefind.1.in:
6396         * tools/gst-xmlinspect.1.in:
6397         * tools/gst-xmllaunch.1.in:
6398           cleanup man-pages, remove reference to gst-register, document env-vars
6399
6400 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6401
6402         * gst/gstbuffer.c: (gst_buffer_span):
6403           gst_buffer_span should copy the timestamp of the first buffer
6404           if they were both originally overlapping subbuffers of the 
6405           same parent, using the same logic as the 'slow copy' case.
6406
6407 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6408
6409         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6410           Need to awaken ALL the pads when we pop a buffer, otherwise
6411           collectpads only works when there is 2 input streams.
6412
6413 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6414
6415         * docs/random/ensonic/media-device-daemon.txt:
6416           more ideas (dbus)
6417         * gst/gstbuffer.c:
6418           fix doc example, add clarification
6419         * tools/gst-launch.1.in:
6420           add initial info about GST_PLUGIN_PATH, needs more work
6421
6422 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6423
6424         * docs/manual/basics-bins.xml:
6425         * docs/manual/basics-elements.xml:
6426         * docs/manual/intro-basics.xml:
6427           Some more minor docs additions and updates.
6428
6429 2006-01-11  Wim Taymans  <wim@fluendo.com>
6430
6431         * docs/manual/basics-bins.xml:
6432         * docs/manual/basics-elements.xml:
6433         Some small fixes as pointed out by Ser-ver on IRC.
6434
6435 2006-01-10  Edward Hervey  <edward@fluendo.com>
6436
6437         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6438         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6439         the single-segment mode.
6440
6441 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6442
6443         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6444
6445         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6446         (gst_base_src_perform_seek), (gst_base_src_send_event),
6447         (gst_base_src_set_property), (gst_base_src_get_property),
6448         (gst_base_src_loop), (gst_base_src_start),
6449         (gst_base_src_activate_push):
6450         * libs/gst/base/gstbasesrc.h:
6451           Name (private) union; makes Sun's Forte compiler happy (#324900).
6452
6453 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6454
6455         * README:
6456           gst-register is gone.
6457
6458 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6459
6460         * gst/gstvalue.c: (_gst_value_initialize):
6461           make the G_TYPE_DATE instantiation work if debug is disabled
6462
6463 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6464
6465         * gst/gstmessage.c: (gst_message_parse_tag),
6466         (gst_message_parse_error), (gst_message_parse_warning):
6467           Don't crash when return location for error/warning debug
6468           string is NULL; add fact that return locations can be
6469           NULL to docs where appropriate.
6470
6471 2006-01-05  Wim Taymans  <wim@fluendo.com>
6472
6473         * gst/gstplugin.c: (gst_plugin_load_file):
6474         Replace strdup by g_strdup.
6475
6476 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6477
6478         * docs/pwg/advanced-types.xml:
6479           fix doc borkage
6480
6481 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6482
6483         submitted by: Abel Cheung
6484
6485         * po/LINGUAS:
6486         * po/zh_TW.po:
6487           Added Chinese (traditional) translation
6488
6489 2006-01-04  Wim Taymans  <wim@fluendo.com>
6490
6491         * docs/manual/basics-pads.xml:
6492         * docs/plugins/Makefile.am:
6493         * docs/plugins/gstreamer-plugins-docs.sgml:
6494         * docs/plugins/gstreamer-plugins-sections.txt:
6495         * docs/pwg/advanced-clock.xml:
6496         * docs/pwg/advanced-scheduling.xml:
6497         * docs/pwg/advanced-types.xml:
6498         * plugins/elements/gstfdsink.c:
6499         * plugins/elements/gstfdsrc.c:
6500         * plugins/elements/gstfdsrc.h:
6501         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6502         * plugins/elements/gstidentity.h:
6503         * plugins/elements/gstqueue.h:
6504         * plugins/elements/gsttee.c:
6505         * plugins/elements/gsttee.h:
6506         * plugins/elements/gsttypefindelement.c:
6507         (gst_type_find_element_class_init):
6508         * plugins/elements/gsttypefindelement.h:
6509         Small updates to various docs.
6510         Added core plugins to docs.
6511
6512 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6513
6514         * common/gst.supp:
6515           add a suppression for liboil's uninitialized variable
6516
6517 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6518
6519         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6520
6521         * gst/gstutils.h:
6522           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6523           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6524           compiler switch is being used (#325429).
6525
6526 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6527
6528         * gst/gstbin.c: (gst_bin_query):
6529           Disable duration query caching in bins until it gets
6530           fixed (see #324807).
6531
6532 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6533
6534         * tools/gst-inspect.c: (print_element_properties_info):
6535           Handle properties of POINTER and BOXED type.
6536
6537 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6538
6539         * gst/gst.c: (init_post):
6540           Init tags stuff and some other things before loading
6541           any static plugins (there may be other static plugins
6542           than just the GStreamer ones, and they may want to
6543           register their own tags or formats or whatever, and
6544           preferably without segfaulting).
6545
6546         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6547           Print at least a warning in the debug logs if we drop a
6548           query just because we don't know how to adjust the value
6549           in the particular format.
6550
6551 2005-12-24  David Schleef  <ds@schleef.org>
6552
6553         * tools/gstreamer-completion:
6554           Replacement for gst-complete written in sh and sed.  Only
6555           completes names of features, but that's 90% of what I want
6556           it for.  Properties are not available in registry.xml.  (Maybe
6557           they should be...)
6558
6559 === release 0.10.1 ===
6560
6561 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6562
6563         * configure.ac:
6564           releasing 0.10.1, "Nollaig chridheil"
6565
6566 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * docs/faq/cvs.xml:
6569           Add missing quote, should be make ERROR_CFLAGS="".
6570
6571 2005-12-20  Wim Taymans  <wim@fluendo.com>
6572
6573         * docs/design/part-trickmodes.txt:
6574         More documentation on trickmodes.
6575
6576 2005-12-20  Edward Hervey  <edward@fluendo.com>
6577
6578         * gst/gstcaps.c: (gst_static_caps_get_type):
6579         * gst/gstcaps.h:
6580           API addition: GST_TYPE_STATIC_CAPS
6581         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6582         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6583         * gst/gstpadtemplate.h:
6584           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6585         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6586         bindings.
6587
6588 2005-12-18  Wim Taymans  <wim@fluendo.com>
6589
6590         * libs/gst/base/gstadapter.c:
6591         * libs/gst/base/gstadapter.h:
6592         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6593         (gst_base_sink_get_position):
6594         * libs/gst/base/gstbasesink.h:
6595         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6596         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6597         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6598         (gst_base_src_send_event), (gst_base_src_update_length),
6599         (gst_base_src_get_range), (gst_base_src_loop),
6600         (gst_base_src_start):
6601         * libs/gst/base/gstbasesrc.h:
6602         * libs/gst/base/gstbasetransform.h:
6603         * libs/gst/base/gstcollectpads.h:
6604         * libs/gst/base/gstpushsrc.c:
6605         * libs/gst/base/gstpushsrc.h:
6606         * libs/gst/dataprotocol/dataprotocol.c:
6607         * libs/gst/dataprotocol/dataprotocol.h:
6608         * libs/gst/net/gstnetclientclock.h:
6609         * libs/gst/net/gstnettimeprovider.h:
6610         Documentation updates.
6611
6612 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * docs/manual/basics-helloworld.xml:
6615           Remove superfluous closing bracket in helloworld example.
6616
6617 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * tools/gst-launch.1.in:
6620           Update gst-launch man page; add a section with useful
6621           environment variables. Fixes #323882.
6622
6623 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6624
6625         * gst/gst.c:
6626         * gst/gst_private.h:
6627           change some char* into char[]
6628
6629 2005-12-16  Wim Taymans  <wim@fluendo.com>
6630
6631         * gst/gstregistryxml.c: (load_feature):
6632         Cleanups.
6633         Don't use g_object_unref on GstObjects so that we avoid
6634         leaks on unsafe glibs.
6635
6636 2005-12-16  Wim Taymans  <wim@fluendo.com>
6637
6638         * gst/gstbin.c: (gst_bin_recalc_state):
6639         Small doc updates.
6640
6641 2005-12-16  Wim Taymans  <wim@fluendo.com>
6642
6643         * common/check.mak:
6644         Added make forever target for check.
6645
6646 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6647
6648         * gst/gst.c: (init_post):
6649           make the registry cache file HOST_CPU-dependent
6650
6651 2005-12-16  Andy Wingo  <wingo@pobox.com>
6652
6653         * plugins/elements/gstbufferstore.c
6654         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6655         return value.
6656
6657         * tests/check/gst/gstobject.c
6658         (test_fake_object_name_threaded_unique): Pay attention to
6659         g_list_sort return value.
6660
6661 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6662
6663         * tools/gst-feedback-m.m:
6664           Update for 0.9/0.10 (fixes #323870).
6665
6666 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6667
6668         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6669           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6670           
6671         * tests/check/gst/gstminiobject.c: (my_foo_init),
6672         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6673         (test_value_collection), (gst_mini_object_suite):
6674           Add test to ensure refcounts end up as expected when passing
6675           GstMiniObjects through g_object_get() and g_object_set().
6676
6677 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6678
6679         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6680         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6681         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6682         of collectpads. This version removes a lot of races without
6683         touching API/ABI. Yay !
6684
6685 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6686
6687         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6688           Don't allow activation of a srcpad in pull_range if it has no
6689           getrange function.
6690           Change some debug statements to be a little clearer
6691
6692         * plugins/elements/gsttypefindelement.c:
6693         (gst_type_find_handle_src_query):
6694           Check that we have a peer before executing queries thereupon.
6695
6696         * tests/examples/metadata/read-metadata.c: (message_loop):
6697           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6698           immediately return us any available message with 0 timeout.
6699
6700 2005-12-12  Michael Smith  <msmith@fluendo.com>
6701
6702         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6703           Don't unref factories after calling them.
6704         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6705         * plugins/elements/gsttypefindelement.c:
6706         (gst_type_find_element_chain):
6707           Free lists of factories after using them. Fixing typefinding memory
6708           leaks.
6709
6710 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6713         (gst_plugin_feature_load):
6714           more meaningful debug output
6715         * configure.ac:
6716         * tests/Makefile.am:
6717         * tests/old/examples/Makefile.am:
6718           make make distcheck happy again
6719
6720 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6721
6722         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6723           Catch the special case where we are operating chain-based,
6724           but the downstream peer pad has no chain function. Emit a
6725           custom error message in this case instead of letting the
6726           core generate one implying that this is some sort of core
6727           bug. It's not, it just means that whatever got plugged
6728           into the pipeline downstream when we announced the type
6729           can only operate pull-based, while our source can only
6730           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6731           Error string has not been marked for translation yet, as
6732           it probably needs some more work first.
6733
6734         (gst_type_find_element_get_best_possibility):
6735           Add helper function to find the best of all available
6736           found possibilities that qualify given the min. threshold.
6737
6738         (gst_type_find_element_handle_event):
6739           Fix the case where we get an EOS while still in TYPEFIND
6740           mode (we want to chose the best of all possible types,
6741           not just the first type that happens to be in our unsorted
6742           list of possible types).
6743
6744         (gst_type_find_element_chain):
6745           Make sure we return GST_FLOW_ERROR when we errored out
6746           in stop_typefinding(); also, don't just find the best of
6747           all found type entries and then use the last examined
6748           type entry, but actually use the best entry.
6749
6750 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6751
6752         * tests/examples/typefind/typefind.c: (type_found):
6753         * tests/examples/xml/runxml.c: (xml_loaded):
6754           More gcc4 fixes and a mem leak fix.
6755
6756 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6757
6758         * tests/examples/xml/createxml.c: (object_saved):
6759           gcc 4 fixes
6760
6761 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6762
6763         * tests/Makefile.am:
6764           enable the examples even more
6765
6766 2005-12-12  Andy Wingo  <wingo@pobox.com>
6767
6768         * libs/gst/net/gstnettimeprovider.c
6769         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6770         (gst_net_time_provider_set_property)
6771         (gst_net_time_provider_get_property):
6772         API addition: Export "active" as a GObject property.
6773         (gst_net_time_provider_thread): Only respond to time queries if
6774         the time provider is active.
6775
6776         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6777         NetTimeProvider, preserving binary compat.
6778
6779 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6780
6781         * tests/examples/controller/audio-example.c: (main):
6782         * tests/examples/launch/Makefile.am:
6783           convert comments again
6784
6785 2005-12-12  Wim Taymans  <wim@fluendo.com>
6786
6787         * libs/gst/base/gstpushsrc.c:
6788         Fix typo.
6789
6790 2005-12-12  Wim Taymans  <wim@fluendo.com>
6791
6792         * docs/libs/gstreamer-libs-sections.txt:
6793         Added new symbol to docs.
6794
6795         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6796         (gst_base_src_init), (gst_base_src_set_format),
6797         (gst_base_src_default_query), (gst_base_src_query),
6798         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6799         (gst_base_src_perform_seek), (gst_base_src_send_event),
6800         (gst_base_src_default_event), (gst_base_src_event_handler),
6801         (gst_base_src_set_property), (gst_base_src_get_property),
6802         (gst_base_src_wait), (gst_base_src_do_sync),
6803         (gst_base_src_update_length), (gst_base_src_get_range),
6804         (gst_base_src_check_get_range), (gst_base_src_loop),
6805         (gst_base_src_default_negotiate), (gst_base_src_start),
6806         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6807         (gst_base_src_change_state):
6808         * libs/gst/base/gstbasesrc.h:
6809         Implement seeking to other formats than _BYTES.
6810         Implement more seeking methods correctly.
6811         Doc updates.
6812         Added query vmethod.
6813         Added do_seek vmethod to make life easier for subclasses
6814         when seeking.
6815         API addition: gst_base_src_set_format()
6816
6817 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6818
6819         * tests/examples/Makefile.am:
6820           added that too
6821
6822 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6823
6824         * configure.ac:
6825         * docs/random/ensonic/media-device-daemon.txt:
6826         * tests/examples/controller/.cvsignore:
6827         * tests/examples/controller/Makefile.am:
6828         * tests/examples/controller/audio-example.c: (main):
6829         * tests/examples/helloworld/.cvsignore:
6830         * tests/examples/helloworld/Makefile.am:
6831         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6832         * tests/examples/launch/.cvsignore:
6833         * tests/examples/launch/Makefile.am:
6834         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6835         * tests/examples/metadata/.cvsignore:
6836         * tests/examples/metadata/Makefile.am:
6837         * tests/examples/metadata/read-metadata.c: (message_loop),
6838         (make_pipeline), (print_tag), (main):
6839         * tests/examples/queue/.cvsignore:
6840         * tests/examples/queue/Makefile.am:
6841         * tests/examples/queue/queue.c: (event_loop), (main):
6842         * tests/examples/typefind/.cvsignore:
6843         * tests/examples/typefind/Makefile.am:
6844         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6845         (main):
6846         * tests/examples/xml/.cvsignore:
6847         * tests/examples/xml/Makefile.am:
6848         * tests/examples/xml/createxml.c: (object_saved), (main):
6849         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6850         * tests/old/examples/Makefile.am:
6851         * tests/old/examples/TODO:
6852         * tests/old/examples/controller/.cvsignore:
6853         * tests/old/examples/controller/Makefile.am:
6854         * tests/old/examples/controller/audio-example.c:
6855         * tests/old/examples/helloworld/.cvsignore:
6856         * tests/old/examples/helloworld/Makefile.am:
6857         * tests/old/examples/helloworld/helloworld.c:
6858         * tests/old/examples/launch/.cvsignore:
6859         * tests/old/examples/launch/Makefile.am:
6860         * tests/old/examples/launch/mp3parselaunch.c:
6861         * tests/old/examples/launch/mp3play:
6862         * tests/old/examples/manual/Makefile.am:
6863         * tests/old/examples/metadata/Makefile.am:
6864         * tests/old/examples/metadata/read-metadata.c:
6865         * tests/old/examples/queue/.cvsignore:
6866         * tests/old/examples/queue/Makefile.am:
6867         * tests/old/examples/queue/queue.c:
6868         * tests/old/examples/typefind/.cvsignore:
6869         * tests/old/examples/typefind/Makefile.am:
6870         * tests/old/examples/typefind/typefind.c:
6871         * tests/old/examples/xml/.cvsignore:
6872         * tests/old/examples/xml/Makefile.am:
6873         * tests/old/examples/xml/createxml.c:
6874         * tests/old/examples/xml/runxml.c:
6875           applied some simple fixing to some examples
6876           re-enabled the working examples
6877
6878 2005-12-12  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/gstsegment.c: (gst_segment_init),
6881         (gst_segment_set_last_stop), (gst_segment_set_seek),
6882         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6883         (gst_segment_to_running_time):
6884         Added more documentation.
6885         Make sure the last_pos value is updated properly.
6886         Make sure to_stream_time and to_running_time don't
6887         operate on wrong values.
6888
6889         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6890         Update check.
6891
6892 2005-12-12  Michael Smith  <msmith@fluendo.com>
6893
6894         * plugins/elements/gsttypefindelement.c: (free_entry),
6895         (gst_type_find_element_chain):
6896           Now that we're not leaking factories, make sure we keep references
6897           to them while we need them.
6898
6899 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6900
6901         * tests/check/gst/struct_i386.h:
6902           ifdef out the XML structs
6903
6904 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6905
6906         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6907           floor is not needed, F is always positive; this obviates the
6908           need for adding -lm when building without libxml
6909
6910 2005-12-12  Wim Taymans  <wim@fluendo.com>
6911
6912         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6913         Take current playback rate into account when reporting
6914         the position.
6915
6916 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6917
6918         * docs/manual/mime-world.fig:
6919           Let's try this again, this time with a file that is
6920           actually in XFig format.
6921
6922 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6923
6924         * docs/manual/mime-world.fig:
6925           Add audioconvert element to diagram so that it
6926           matches the text and the code (fixes #319526).
6927
6928 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6929
6930         * docs/pwg/building-chainfn.xml:
6931         * docs/pwg/building-pads.xml:
6932         * docs/pwg/building-state.xml:
6933         * docs/pwg/other-source.xml:
6934           Update state change stuff for 0.10 (fixes #322969).
6935
6936 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6937
6938         * docs/manual/advanced-dataaccess.xml:
6939         * docs/manual/appendix-checklist.xml:
6940         * docs/manual/appendix-programs.xml:
6941         * docs/manual/basics-pads.xml:
6942         * docs/manual/highlevel-components.xml:
6943         * docs/manual/manual.xml:
6944           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6945           add converters in front of pipelines; remove curly
6946           brackets for threads stuff, they no longer exist; use
6947           GST_TYPE_FRACTION for framerates; update some pieces of
6948           code to 0.10, but there's plenty more to do.
6949
6950         * docs/manual/appendix-porting.xml:
6951           Expand on asynchroneous state changes; s/0.9/0.10/;
6952           mention disappearance of gst_init_get_popt_table()
6953           (fixes #322916).
6954
6955 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6956
6957         * docs/faq/using.xml:
6958           Spider no longer exists, and neither does gst-launch-ext.
6959           Update examples to use decodebin and playbin and put
6960           converters in front of sinks (fixes #323726).
6961
6962 2005-12-09  Michael Smith  <msmith@fluendo.com>
6963
6964         * plugins/elements/gsttypefindelement.c: (find_peek),
6965         (gst_type_find_element_chain):
6966           Fix leaking element factories in typefinding.
6967           Fix problem where we forgot about a probable type on non-seekable
6968           files, and thus later mis-typefound it.
6969
6970 2005-12-09  Michael Smith  <msmith@fluendo.com>
6971
6972         * common/m4/gst-makecontext.m4:
6973         * common/m4/gst-mcsc.m4:
6974         * configure.ac:
6975         * win32/common/config.h:
6976         * win32/common/config.h.in:
6977           Remove makecontext stuff; not used in 0.10 and causes problems on
6978           HPUX according to bug #322441
6979
6980 2005-12-07  Wim Taymans  <wim@fluendo.com>
6981
6982         * tests/check/Makefile.am:
6983         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6984         (main):
6985         * tests/check/libs/struct_i386.h:
6986         Added ABI check for libs
6987
6988 2005-12-07  Wim Taymans  <wim@fluendo.com>
6989
6990         * tests/check/Makefile.am:
6991         And add the struct_i386.h to dist.
6992
6993 2005-12-07  Wim Taymans  <wim@fluendo.com>
6994
6995         * tests/check/Makefile.am:
6996         * tests/check/gst/.cvsignore:
6997         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6998         (main):
6999         * tests/check/gst/struct_i386.h:
7000         Added check for ABI compatibility.
7001
7002 2005-12-07  Wim Taymans  <wim@fluendo.com>
7003
7004         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7005         (gst_fake_src_get_times), (gst_fake_src_create):
7006         Fix broken sync option, fixes #323259
7007
7008 2005-12-07  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/gstbuffer.c:
7011         Small docs update.
7012
7013         * gst/gstcaps.c: (gst_caps_is_equal):
7014         Don't assert on NULL <--> X. Fixes #323260
7015
7016         * gst/gstminiobject.c: (gst_mini_object_replace):
7017         If we're doing atomic operations, we might just as well use
7018         the proper way to get an atomic pointer.
7019
7020         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7021         Clean up debugging.
7022
7023 2005-12-07  Michael Smith  <msmith@fluendo.com>
7024
7025         * gst/parse/grammar.y:
7026           Remove handling of { } for threads.
7027
7028 2005-12-06  David Schleef  <ds@schleef.org>
7029
7030         * libs/gst/base/gstbasetransform.c: speling fix.
7031
7032 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7033
7034         * docs/libs/tmpl/gstdataprotocol.sgml:
7035         * docs/random/omega/testing/gstobject.c:
7036         * gst/gst.c:
7037         * gst/gstclock.c:
7038         * gst/gstelement.c:
7039         * gst/gstelementfactory.c:
7040         * gst/gsterror.c:
7041         * gst/gstevent.c:
7042         * gst/gstghostpad.c:
7043         * gst/gstinfo.c:
7044         * gst/gstpadtemplate.c:
7045         * gst/gstregistryxml.c:
7046         * gst/gsttaglist.c:
7047         * gst/gsttagsetter.c:
7048         * gst/gsttypefind.c:
7049         * gst/gstvalue.c:
7050         * libs/gst/base/gstbasesrc.c:
7051         * libs/gst/net/gstnetclientclock.c:
7052         * libs/gst/net/gstnettimeprovider.c:
7053         * plugins/elements/gstfakesrc.c:
7054         * plugins/elements/gstfdsrc.c:
7055         * plugins/elements/gstfilesrc.c:
7056         * plugins/elements/gstidentity.c:
7057         * plugins/elements/gstqueue.c:
7058         * plugins/elements/gsttypefindelement.c:
7059         * plugins/indexers/gstfileindex.c:
7060         * plugins/indexers/gstmemindex.c:
7061         * tests/check/gst/gsttag.c:
7062         * tests/old/examples/cutter/cutter.c:
7063         * tests/old/examples/mixer/mixer.c:
7064         * tests/old/examples/xml/runxml.c: (main):
7065         * tests/old/testsuite/caps/normalisation.c:
7066         * tests/old/testsuite/debug/global.c:
7067         * tests/old/testsuite/parse/parse1.c:
7068         * tools/gst-xmlinspect.c:
7069         * win32/common/dirent.c:
7070           expand tabs
7071
7072 === release 0.10.0 ===
7073
7074 2005-12-05   <thomas (at) apestaart (dot) org>
7075
7076         * configure.ac:
7077           releasing 0.10.0, "Maroilles"
7078
7079 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7080
7081         submitted by: Funda Wang <fundawang@linux.net.cn>
7082
7083         * po/LINGUAS:
7084         * po/zh_CN.po:
7085           added Chinese (Traditional) translation
7086
7087 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7088
7089         * docs/gst/gstreamer-sections.txt:
7090         * docs/libs/tmpl/gstdataprotocol.sgml:
7091         * docs/random/thomasvs/TODO:
7092         * gst/gstutils.c:
7093         * gst/gstutils.h:
7094           fix docs
7095
7096 2005-12-05  Andy Wingo  <wingo@pobox.com>
7097
7098         patch by: Wim Taymans <wim@fluendo.com>
7099
7100         * libs/gst/base/gstbasetransform.c
7101         (gst_base_transform_prepare_output_buf)
7102         (gst_base_transform_buffer_alloc):
7103         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7104         alloc_buffer_and_set_caps.
7105
7106         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7107         set_caps on the source pad.
7108         (gst_pad_alloc_buffer_and_set_caps): New function, does what
7109         alloc_buffer used to do. Fixes #322874.
7110
7111         * docs/gst/gstreamer-sections.txt: 
7112         * docs/design/part-negotiation.txt: 
7113         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7114         changes.
7115
7116 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7117
7118         patch by: Sebastien Moutte
7119
7120         * win32/MANIFEST:
7121         * win32/common/config.h.in:
7122         * win32/vs6/libgstcontroller.dsp:
7123           win32 build fixes
7124
7125 2005-12-05  Wim Taymans  <wim@fluendo.com>
7126
7127         * gst/gstcaps.c: (gst_caps_is_equal):
7128         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7129         (gst_fake_src_create):
7130         Back out previous code changes, leave doc updates, file bugs 
7131         instead. 
7132
7133 2005-12-05  Wim Taymans  <wim@fluendo.com>
7134
7135         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7136         (gst_fake_src_get_times), (gst_fake_src_create):
7137         * plugins/elements/gstfakesrc.h:
7138         Fix broken sync code.
7139
7140 2005-12-05  Wim Taymans  <wim@fluendo.com>
7141
7142         * gst/gstcaps.c: (gst_caps_is_equal):
7143         Comparing NULL against !NULL yields different caps, not a
7144         failure.
7145
7146 2005-12-05  Wim Taymans  <wim@fluendo.com>
7147
7148         * gst/gstpipeline.c:
7149         Fix small typo in docs.
7150
7151 2005-12-05  Andy Wingo  <wingo@pobox.com>
7152
7153         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
7154
7155         * gst/gst.c (init_post): remove hard-coded 0.9 location for
7156         registries/plugins with a MAJORMINOR one.
7157         (plugin_desc): Rename library from gstcoreleements to
7158         staticelements. Fixes #323222.
7159
7160 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
7161
7162         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7163           Change debug category to 'collectpads' from 'collect_pads'
7164           (fixes #323250).
7165
7166 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7167
7168         patch by: Sebastien Moutte
7169
7170         * libs/gst/controller/gstinterpolation.c:
7171           use convert function for uint64/double
7172         * win32/vs6/libgstcontroller.dsp:
7173           link to GLib
7174
7175 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7176
7177         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7178         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7179         * gst/gstutils.h:
7180         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7181           add tests that seem to show that the guint64/gdouble conversions
7182           are correct.
7183
7184 2005-12-02  Wim Taymans  <wim@fluendo.com>
7185
7186         * gst/gstregistry.c: (gst_registry_add_path):
7187         * gst/gstregistry.h:
7188         * gst/gstregistryxml.c:
7189         Fix docs again.
7190
7191 2005-12-02  Wim Taymans  <wim@fluendo.com>
7192
7193         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7194         (gst_util_uint64_scale_int):
7195         Small cleanup.
7196
7197         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7198         Add debug log line.
7199
7200         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7201         Add FIXME.
7202
7203 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7204
7205         * win32/MANIFEST:
7206         * win32/common/config.h:
7207         * win32/vs6/gstreamer.dsw:
7208         * win32/vs6/libgstcoreelements.dsp:
7209         * win32/vs6/libgstelements.dsp:
7210           renamed core elements plugin
7211
7212 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7213
7214         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7215         (get_candidates):
7216           do piece-wise major/minor comparison so 0.9 < 0.10
7217           also allow .exe extensions for tools
7218
7219 2005-12-02  Michael Smith  <msmith@fluendo.com>
7220
7221         * gst/gst.c:
7222           Escape a % to make gtkdoc happier; bug 322958.
7223
7224 === release 0.9.7 ===
7225
7226 2005-12-01   <thomas (at) apestaart (dot) org>
7227
7228         * configure.ac:
7229           releasing 0.9.7, "My Dog Has No Nose"
7230
7231 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7232
7233         * common/gst-xmlinspect.py:
7234         * configure.ac:
7235         * docs/libs/tmpl/gstdataprotocol.sgml:
7236         * docs/random/release:
7237         * po/af.po:
7238         * po/az.po:
7239         * po/bg.po:
7240         * po/ca.po:
7241         * po/cs.po:
7242         * po/de.po:
7243         * po/en_GB.po:
7244         * po/fr.po:
7245         * po/it.po:
7246         * po/nb.po:
7247         * po/nl.po:
7248         * po/ru.po:
7249         * po/sq.po:
7250         * po/sr.po:
7251         * po/sv.po:
7252         * po/tr.po:
7253         * po/uk.po:
7254         * po/vi.po:
7255         * win32/common/config.h:
7256         * win32/common/config.h.in:
7257         * win32/vs6/gst_inspect.dsp:
7258         * win32/vs6/gst_launch.dsp:
7259         * win32/vs6/libgstbase.dsp:
7260         * win32/vs6/libgstelements.dsp:
7261         * win32/vs6/libgstreamer.dsp:
7262         * win32/vs7/GStreamer.vcproj:
7263         * win32/vs7/gst-inspect.vcproj:
7264         * win32/vs7/gst-launch.vcproj:
7265         * win32/vs7/libgstbase.vcproj:
7266           bump GST_MAJORMINOR to 0.10
7267           reset libtool version
7268
7269 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7270
7271         * po/LINGUAS:
7272         * po/bg.po:
7273           Added Bulgarian translation by (Alexander Shopov)
7274
7275 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7276
7277         * tests/check/gst/gstplugin.c:
7278           fix test
7279
7280 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7281
7282         * common/gst-xmlinspect.py:
7283         * common/gtk-doc-plugins.mak:
7284         * configure.ac:
7285         * docs/Makefile.am:
7286         * docs/gst/Makefile.am:
7287         * docs/gst/gstreamer-docs.sgml:
7288         * docs/gst/gstreamer-sections.txt:
7289         * docs/gst/gstreamer.types:
7290         * docs/gst/gstreamer.types.in:
7291         * docs/plugins/Makefile.am:
7292         * docs/plugins/gstreamer-plugins-docs.sgml:
7293         * docs/plugins/gstreamer-plugins-sections.txt:
7294         * docs/plugins/gstreamer-plugins.types:
7295         * docs/plugins/inspect.stamp:
7296         * docs/plugins/inspect/plugin-coreelements.xml:
7297         * docs/plugins/inspect/plugin-coreindexers.xml:
7298         * docs/plugins/scanobj-build.stamp:
7299         * gstreamer.spec.in:
7300         * plugins/elements/Makefile.am:
7301         * plugins/elements/gstelements.c:
7302         * plugins/elements/gstfakesink.c:
7303         * plugins/elements/gstfakesrc.c:
7304         * plugins/elements/gstfilesink.c:
7305         * plugins/elements/gstfilesrc.c:
7306         * plugins/elements/gstqueue.c:
7307         * plugins/indexers/Makefile.am:
7308         * plugins/indexers/gstindexers.c:
7309           document core plugins in a separate document just like all the
7310           others
7311           rename these plugins to something starting with core
7312
7313 2005-12-01  Andy Wingo  <wingo@pobox.com>
7314
7315         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7316         padding here before, but it missed the commit.
7317
7318 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7319
7320         * libs/gst/controller/gstinterpolation.c:
7321           whitespace prices have crashed, we should feel free to use some now
7322           use gst_guint64_to_gdouble
7323
7324 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7325
7326         * libs/gst/controller/gstcontroller.c:
7327         * libs/gst/controller/gsthelper.c:
7328         * libs/gst/controller/gstinterpolation.c:
7329         * libs/gst/controller/lib.c:
7330           wrap config.h include
7331
7332 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7333
7334         * docs/gst/gstreamer-sections.txt:
7335           update docs
7336
7337 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7338
7339         * plugins/elements/gstelements.c:
7340         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7341         (gst_fd_sink__class_init), (gst_fd_sink__init),
7342         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7343         (gst_fd_sink__get_property):
7344         * plugins/elements/gstfdsink.h:
7345         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7346         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7347         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7348         (gst_fd_src_unlock), (gst_fd_src_set_property),
7349         (gst_fd_src_get_property), (gst_fd_src_create),
7350         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7351         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7352         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7353         (gst_fd_src_uri_handler_init):
7354         * plugins/elements/gstfdsrc.h:
7355         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7356           more anal cleanup
7357
7358 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7359
7360         * docs/gst/Makefile.am:
7361         * docs/gst/gstreamer.types.in:
7362         * gst/Makefile.am:
7363           fix the docs build
7364
7365 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7366
7367         * configure.ac:
7368         * gst/Makefile.am:
7369         * gst/gst.c:
7370         * gst/gstplugin.h:
7371         * gst/gstregistry.h:
7372         * tests/benchmarks/complexity.c:
7373         * tests/benchmarks/mass-elements.c:
7374         * tests/check/Makefile.am:
7375         * tools/Makefile.am:
7376         * tools/gst-inspect.c:
7377         * tools/gst-xmlinspect.c:
7378           various fixes to make
7379           --disable-nls --disable-registry --disable-loadsave
7380           --disable-parse --disable-gst-debug
7381           work and get the core .so down to 360444 bytes after stripping
7382
7383 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * Makefile.am:
7386         * configure.ac:
7387           descend into tests
7388         * docs/random/thomasvs/TODO:
7389         * tests/Makefile.am:
7390         * tests/README:
7391           add a README
7392
7393 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * win32/GStreamer.vcproj:
7396         * win32/MANIFEST:
7397         * win32/Makefile:
7398         * win32/Makefile.inspect:
7399         * win32/Makefile.launch:
7400         * win32/Makefile.register:
7401         * win32/README.txt:
7402         * win32/gst-inspect.vcproj:
7403         * win32/gst-launch.vcproj:
7404         * win32/gst-register.vcproj:
7405         * win32/gstelements.vcproj:
7406         * win32/gstgetbits.def:
7407         * win32/gstgetbits.vcproj:
7408         * win32/gstreamer-dbg.def:
7409         * win32/gstreamer.def:
7410         * win32/libgstbase.def:
7411         * win32/libgstbase.vcproj:
7412         * win32/link_oldruntime.c:
7413         * win32/mman.c:
7414         * win32/mman.h:
7415         * win32/mman.inl:
7416         * win32/msvc71.sln:
7417           move even more stuff, win32/ is nice and clean now
7418
7419 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7420
7421         * libs/gst/control/.cvsignore:
7422         * win32/MANIFEST:
7423         * win32/config.h:
7424         * win32/dirent.c:
7425         * win32/dirent.h:
7426         * win32/gstbytestream.def:
7427         * win32/gstbytestream.vcproj:
7428         * win32/gstconfig.h:
7429         * win32/gstenumtypes.c:
7430         * win32/gstenumtypes.h:
7431         * win32/gstoptimalscheduler.vcproj:
7432         * win32/gstversion.h:
7433         * win32/gtchar.h:
7434         * win32/testsuite/bins.vcproj:
7435         * win32/testsuite/bytestream.vcproj:
7436         * win32/testsuite/caps.vcproj:
7437         * win32/testsuite/cleanup.vcproj:
7438         * win32/testsuite/clock.vcproj:
7439         * win32/testsuite/debug.vcproj:
7440         * win32/testsuite/dlopen.vcproj:
7441         * win32/testsuite/dynparams.vcproj:
7442         * win32/testsuite/elements.vcproj:
7443         * win32/testsuite/ghostpads.vcproj:
7444         * win32/testsuite/indexers.vcproj:
7445         * win32/testsuite/negotiation.vcproj:
7446         * win32/testsuite/parse.vcproj:
7447         * win32/testsuite/plugin.vcproj:
7448         * win32/testsuite/refcounting.vcproj:
7449         * win32/testsuite/schedulers.vcproj:
7450         * win32/testsuite/states.vcproj:
7451         * win32/testsuite/tags.vcproj:
7452         * win32/testsuite/threads.vcproj:
7453           remove old win32 stuff that isn't maintained and should be
7454           reorganized
7455
7456 2005-11-30  Andy Wingo  <wingo@pobox.com>
7457
7458         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7459         loading the gst.interfaces python module bork.
7460
7461         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7462         available since GLib 2.2. Fixes #318031.
7463
7464 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7465
7466         * Makefile.am:
7467         * check/.cvsignore:
7468         * check/Makefile.am:
7469         * check/elements/.cvsignore:
7470         * check/elements/fakesrc.c:
7471         * check/elements/fdsrc.c:
7472         * check/elements/identity.c:
7473         * check/generic/.cvsignore:
7474         * check/generic/states.c:
7475         * check/gst-libs/.cvsignore:
7476         * check/gst-libs/controller.c:
7477         * check/gst-libs/gdp.c:
7478         * check/gst/.cvsignore:
7479         * check/gst/capslist.h:
7480         * check/gst/gst.c:
7481         * check/gst/gstbin.c:
7482         * check/gst/gstbuffer.c:
7483         * check/gst/gstbus.c:
7484         * check/gst/gstcaps.c:
7485         * check/gst/gstelement.c:
7486         * check/gst/gstevent.c:
7487         * check/gst/gstghostpad.c:
7488         * check/gst/gstiterator.c:
7489         * check/gst/gstmessage.c:
7490         * check/gst/gstminiobject.c:
7491         * check/gst/gstobject.c:
7492         * check/gst/gstpad.c:
7493         * check/gst/gstpipeline.c:
7494         * check/gst/gstplugin.c:
7495         * check/gst/gstsegment.c:
7496         * check/gst/gststructure.c:
7497         * check/gst/gstsystemclock.c:
7498         * check/gst/gsttag.c:
7499         * check/gst/gstutils.c:
7500         * check/gst/gstvalue.c:
7501         * check/net/.cvsignore:
7502         * check/net/gstnetclientclock.c:
7503         * check/net/gstnettimeprovider.c:
7504         * check/pipelines/.cvsignore:
7505         * check/pipelines/cleanup.c:
7506         * check/pipelines/simple_launch_lines.c:
7507         * check/pipelines/stress.c:
7508         * check/states/.cvsignore:
7509         * check/states/sinks.c:
7510         * configure.ac:
7511         * examples/Makefile.am:
7512         * examples/appreader/.cvsignore:
7513         * examples/appreader/Makefile.am:
7514         * examples/appreader/appreader.c:
7515         * examples/controller/.cvsignore:
7516         * examples/controller/Makefile.am:
7517         * examples/controller/audio-example.c:
7518         * examples/cutter/.cvsignore:
7519         * examples/cutter/Makefile.am:
7520         * examples/cutter/cutter.c:
7521         * examples/cutter/cutter.h:
7522         * examples/events/Makefile.am:
7523         * examples/events/seek.c:
7524         * examples/helloworld/.cvsignore:
7525         * examples/helloworld/Makefile.am:
7526         * examples/helloworld/helloworld.c:
7527         * examples/helloworld2/.cvsignore:
7528         * examples/helloworld2/Makefile.am:
7529         * examples/helloworld2/helloworld2.c:
7530         * examples/launch/.cvsignore:
7531         * examples/launch/Makefile.am:
7532         * examples/launch/mp3parselaunch.c:
7533         * examples/launch/mp3play:
7534         * examples/manual/.cvsignore:
7535         * examples/manual/Makefile.am:
7536         * examples/manual/extract.pl:
7537         * examples/metadata/Makefile.am:
7538         * examples/metadata/read-metadata.c:
7539         * examples/mixer/.cvsignore:
7540         * examples/mixer/Makefile.am:
7541         * examples/mixer/mixer.c:
7542         * examples/mixer/mixer.h:
7543         * examples/pingpong/.cvsignore:
7544         * examples/pingpong/Makefile.am:
7545         * examples/pingpong/pingpong.c:
7546         * examples/plugins/.cvsignore:
7547         * examples/plugins/Makefile.am:
7548         * examples/plugins/example.c:
7549         * examples/plugins/example.h:
7550         * examples/pwg/.cvsignore:
7551         * examples/pwg/Makefile.am:
7552         * examples/pwg/extract.pl:
7553         * examples/queue/.cvsignore:
7554         * examples/queue/Makefile.am:
7555         * examples/queue/queue.c:
7556         * examples/queue2/.cvsignore:
7557         * examples/queue2/Makefile.am:
7558         * examples/queue2/queue2.c:
7559         * examples/queue3/.cvsignore:
7560         * examples/queue3/Makefile.am:
7561         * examples/queue3/queue3.c:
7562         * examples/queue4/.cvsignore:
7563         * examples/queue4/Makefile.am:
7564         * examples/queue4/queue4.c:
7565         * examples/retag/.cvsignore:
7566         * examples/retag/Makefile.am:
7567         * examples/retag/retag.c:
7568         * examples/retag/transcode.c:
7569         * examples/thread/.cvsignore:
7570         * examples/thread/Makefile.am:
7571         * examples/thread/thread.c:
7572         * examples/typefind/.cvsignore:
7573         * examples/typefind/Makefile.am:
7574         * examples/typefind/typefind.c:
7575         * examples/xml/.cvsignore:
7576         * examples/xml/Makefile.am:
7577         * examples/xml/createxml.c:
7578         * examples/xml/runxml.c:
7579         * tests/Makefile.am:
7580         * tests/check/Makefile.am:
7581         * testsuite/.cvsignore:
7582         * testsuite/Makefile.am:
7583         * testsuite/Rules:
7584         * testsuite/caps/.cvsignore:
7585         * testsuite/caps/Makefile.am:
7586         * testsuite/caps/app_fixate.c:
7587         * testsuite/caps/audioscale.c:
7588         * testsuite/caps/caps.c:
7589         * testsuite/caps/caps.h:
7590         * testsuite/caps/caps_strings:
7591         * testsuite/caps/compatibility.c:
7592         * testsuite/caps/deserialize.c:
7593         * testsuite/caps/enumcaps.c:
7594         * testsuite/caps/eratosthenes.c:
7595         * testsuite/caps/filtercaps.c:
7596         * testsuite/caps/fixed.c:
7597         * testsuite/caps/fraction-convert.c:
7598         * testsuite/caps/fraction-multiply-and-zero.c:
7599         * testsuite/caps/intersect2.c:
7600         * testsuite/caps/intersection.c:
7601         * testsuite/caps/normalisation.c:
7602         * testsuite/caps/random.c:
7603         * testsuite/caps/renegotiate.c:
7604         * testsuite/caps/sets.c:
7605         * testsuite/caps/simplify.c:
7606         * testsuite/caps/string-conversions.c:
7607         * testsuite/caps/structure.c:
7608         * testsuite/caps/subtract.c:
7609         * testsuite/caps/union.c:
7610         * testsuite/debug/.cvsignore:
7611         * testsuite/debug/Makefile.am:
7612         * testsuite/debug/category.c:
7613         * testsuite/debug/commandline.c:
7614         * testsuite/debug/global.c:
7615         * testsuite/debug/output.c:
7616         * testsuite/debug/printf_extension.c:
7617         * testsuite/dlopen/.cvsignore:
7618         * testsuite/dlopen/Makefile.am:
7619         * testsuite/dlopen/dlopen_gst.c:
7620         * testsuite/dlopen/loadgst.c:
7621         * testsuite/elements/.cvsignore:
7622         * testsuite/elements/Makefile.am:
7623         * testsuite/elements/gst-inspect-check.in:
7624         * testsuite/elements/struct_i386.h:
7625         * testsuite/elements/struct_size.c:
7626         * testsuite/indexers/.cvsignore:
7627         * testsuite/indexers/Makefile.am:
7628         * testsuite/indexers/cache1.c:
7629         * testsuite/indexers/indexdump.c:
7630         * testsuite/parse/.cvsignore:
7631         * testsuite/parse/Makefile.am:
7632         * testsuite/parse/parse1.c:
7633         * testsuite/parse/parse2.c:
7634         * testsuite/plugin/.cvsignore:
7635         * testsuite/plugin/Makefile.am:
7636         * testsuite/plugin/README:
7637         * testsuite/plugin/dynamic.c:
7638         * testsuite/plugin/linked.c:
7639         * testsuite/plugin/loading.c:
7640         * testsuite/plugin/registry.c:
7641         * testsuite/plugin/static.c:
7642         * testsuite/plugin/static2.c:
7643         * testsuite/plugin/testplugin.c:
7644         * testsuite/plugin/testplugin2.c:
7645         * testsuite/plugin/testplugin2_s.c:
7646         * testsuite/plugin/testplugin_s.c:
7647         * testsuite/refcounting/.cvsignore:
7648         * testsuite/refcounting/Makefile.am:
7649         * testsuite/refcounting/bin.c:
7650         * testsuite/refcounting/element.c:
7651         * testsuite/refcounting/element_pad.c:
7652         * testsuite/refcounting/mainloop.c:
7653         * testsuite/refcounting/mem.c:
7654         * testsuite/refcounting/mem.h:
7655         * testsuite/refcounting/object.c:
7656         * testsuite/refcounting/pad.c:
7657         * testsuite/refcounting/sched.c:
7658         * testsuite/refcounting/thread.c:
7659         * testsuite/states/.cvsignore:
7660         * testsuite/states/Makefile.am:
7661         * testsuite/states/bin.c:
7662         * testsuite/states/locked.c:
7663         * testsuite/states/parent.c:
7664         * testsuite/threads/.cvsignore:
7665         * testsuite/threads/159566.c:
7666         * testsuite/threads/159852.c:
7667         * testsuite/threads/Makefile.am:
7668         * testsuite/threads/queue.c:
7669         * testsuite/threads/signals.c:
7670         * testsuite/threads/staticrec.c:
7671         * testsuite/threads/thread.c:
7672         * testsuite/threads/threadb.c:
7673         * testsuite/threads/threadc.c:
7674         * testsuite/threads/threadd.c:
7675         * testsuite/threads/threade.c:
7676         * testsuite/threads/threadf.c:
7677         * testsuite/threads/threadg.c:
7678         * testsuite/threads/threadh.c:
7679         * testsuite/threads/threadi.c:
7680           move all of these under tests
7681
7682 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7683
7684         * configure.ac:
7685         * tests/Makefile.am:
7686           fix distcheck
7687
7688 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7689
7690         * docs/gst/gstreamer-sections.txt:
7691         * tests/sched/.cvsignore:
7692         * tests/sched/Makefile.am:
7693         * tests/sched/cases/(fs-fs).xml:
7694         * tests/sched/cases/(fs-i-fs).xml:
7695         * tests/sched/cases/(fs-i-i-fs).xml:
7696         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7697         * tests/sched/dynamic-pipeline.c:
7698         * tests/sched/interrupt1.c:
7699         * tests/sched/interrupt2.c:
7700         * tests/sched/interrupt3.c:
7701         * tests/sched/runtestcases:
7702         * tests/sched/runxml.c:
7703         * tests/sched/sched-stress.c:
7704         * tests/sched/sort.c:
7705         * tests/sched/testcases:
7706         * tests/sched/testcases1.tc:
7707         * tests/seeking/.cvsignore:
7708         * tests/seeking/Makefile.am:
7709         * tests/seeking/seeking1.c:
7710         * tests/threadstate/.cvsignore:
7711         * tests/threadstate/Makefile.am:
7712         * tests/threadstate/test1.c:
7713         * tests/threadstate/test2.c:
7714         * tests/threadstate/threadstate1.c:
7715         * tests/threadstate/threadstate2.c:
7716         * tests/threadstate/threadstate3.c:
7717         * tests/threadstate/threadstate4.c:
7718         * tests/threadstate/threadstate5.c:
7719           remove obsolete tests
7720         * configure.ac:
7721         * tests/bench-complexity.scm:
7722         * tests/bench-mass_elements.scm:
7723         * tests/complexity.c:
7724         * tests/complexity.gnuplot:
7725         * tests/instantiate/.cvsignore:
7726         * tests/instantiate/Makefile.am:
7727         * tests/instantiate/caps.c:
7728         * tests/mass_elements.c:
7729         * tests/network-clock-utils.scm:
7730         * tests/network-clock.scm:
7731         * tests/plot-data:
7732         First pass at cleaning up tests/ dir before moving the rest
7733         Combined with CVS surgery
7734
7735 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7736
7737         * po/POTFILES.in:
7738           queue has moved, update
7739
7740 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7741
7742         * docs/gst/gstreamer-sections.txt:
7743           remove double entries from the docs
7744         * gst/gst_private.h:
7745         * gst/gstinfo.c: (_gst_debug_init):
7746           remove the THREAD debug category
7747         * gst/Makefile.am:
7748         * gst/gstqueue.c:
7749         * gst/gstqueue.h:
7750         * docs/gst/gstreamer.types:
7751         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7752         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7753           completely move queue and fix up debugging categories
7754
7755 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7756
7757         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7758           make initialization portable, using LL is not
7759
7760 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7761
7762         * win32/common/gstconfig.h:
7763           add large padding
7764
7765 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7766
7767         * win32/common/libgstreamer.def:
7768           rename symbols; sort base section
7769
7770 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7771
7772         * gst/gstclock.c: (do_linear_regression):
7773           remove crack non-portable handrolled DEBUG macro
7774
7775 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7776
7777         * docs/random/release:
7778           update notes
7779         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7780         (gst_object_flags_get_type), (register_gst_bin_flags),
7781         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7782         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7783         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7784         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7785         (gst_caps_flags_get_type), (register_gst_clock_return),
7786         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7787         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7788         (gst_clock_flags_get_type), (register_gst_state),
7789         (gst_state_get_type), (register_gst_state_change_return),
7790         (gst_state_change_return_get_type), (register_gst_state_change),
7791         (gst_state_change_get_type), (register_gst_element_flags),
7792         (gst_element_flags_get_type), (register_gst_core_error),
7793         (gst_core_error_get_type), (register_gst_library_error),
7794         (gst_library_error_get_type), (register_gst_resource_error),
7795         (gst_resource_error_get_type), (register_gst_stream_error),
7796         (gst_stream_error_get_type), (register_gst_event_type_flags),
7797         (gst_event_type_flags_get_type), (register_gst_event_type),
7798         (gst_event_type_get_type), (register_gst_seek_type),
7799         (gst_seek_type_get_type), (register_gst_seek_flags),
7800         (gst_seek_flags_get_type), (register_gst_format),
7801         (gst_format_get_type), (register_gst_index_certainty),
7802         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7803         (gst_index_entry_type_get_type),
7804         (register_gst_index_lookup_method),
7805         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7806         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7807         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7808         (gst_index_flags_get_type), (register_gst_debug_level),
7809         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7810         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7811         (gst_iterator_result_get_type), (register_gst_iterator_item),
7812         (gst_iterator_item_get_type), (register_gst_message_type),
7813         (gst_message_type_get_type), (register_gst_mini_object_flags),
7814         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7815         (gst_pad_link_return_get_type), (register_gst_flow_return),
7816         (gst_flow_return_get_type), (register_gst_activate_mode),
7817         (gst_activate_mode_get_type), (register_gst_pad_direction),
7818         (gst_pad_direction_get_type), (register_gst_pad_flags),
7819         (gst_pad_flags_get_type), (register_gst_pad_presence),
7820         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7821         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7822         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7823         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7824         (gst_plugin_flags_get_type), (register_gst_rank),
7825         (gst_rank_get_type), (register_gst_query_type),
7826         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7827         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7828         (gst_tag_flag_get_type), (register_gst_task_state),
7829         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7830         (gst_alloc_trace_flags_get_type),
7831         (register_gst_type_find_probability),
7832         (gst_type_find_probability_get_type), (register_gst_uri_type),
7833         (gst_uri_type_get_type), (register_gst_parse_error),
7834         (gst_parse_error_get_type):
7835         * win32/common/gstenumtypes.h:
7836         * win32/common/gstversion.h:
7837           update visual studio generated files
7838
7839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7840
7841         * win32/vs6/libgstbase.dsp:
7842         * win32/vs6/libgstelements.dsp:
7843           update project files for new locations
7844
7845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7846
7847         * Makefile.am:
7848           remove some files
7849         * README:
7850           reinstate and update
7851         * DEVEL:
7852         * REQUIREMENTS:
7853           removed
7854         * LICENSE:
7855         * docs/random/LICENSE:
7856           moved to random
7857
7858 2005-11-30  Edward Hervey  <edward@fluendo.com>
7859
7860         * gst/gsttypefind.c: (gst_type_find_register):
7861         * gst/gsttypefind.h:
7862         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7863         (gst_type_find_factory_dispose):
7864         * gst/gsttypefindfactory.h:
7865         Fix memory leak in GstTypeFindFactory.
7866
7867 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7868
7869         * gst/gst.c:
7870         * plugins/elements/Makefile.am:
7871         * plugins/elements/gstelements.c:
7872         * plugins/elements/gstqueue.c:
7873           move queue from core to the elements plugin
7874
7875 2005-11-29  Andy Wingo  <wingo@pobox.com>
7876
7877         * libs/gst/base/gstbasetransform.h: 
7878         * libs/gst/base/gstbasesrc.h: 
7879         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7880
7881         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7882         of pointers by which to pad very extensible base classes (like the
7883         ones in libs/gst/base).
7884
7885 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7886
7887         * docs/gst/gstreamer-docs.sgml:
7888         * docs/gst/gstreamer-sections.txt:
7889         * docs/libs/gstreamer-libs-docs.sgml:
7890         * docs/libs/gstreamer-libs-sections.txt:
7891           moving documentation from core to lib
7892
7893 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7894
7895         * check/Makefile.am:
7896         * configure.ac:
7897         * docs/gst/Makefile.am:
7898         * gst/Makefile.am:
7899         * gst/base/.cvsignore:
7900         * gst/base/Makefile.am:
7901         * gst/base/README:
7902         * gst/base/gstadapter.c:
7903         * gst/base/gstadapter.h:
7904         * gst/base/gstbasesink.c:
7905         * gst/base/gstbasesink.h:
7906         * gst/base/gstbasesrc.c:
7907         * gst/base/gstbasesrc.h:
7908         * gst/base/gstbasetransform.c:
7909         * gst/base/gstbasetransform.h:
7910         * gst/base/gstcollectpads.c:
7911         * gst/base/gstcollectpads.h:
7912         * gst/base/gstpushsrc.c:
7913         * gst/base/gstpushsrc.h:
7914         * gst/base/gsttypefindhelper.c:
7915         * gst/base/gsttypefindhelper.h:
7916         * gst/check/Makefile.am:
7917         * gst/check/gstcheck.c:
7918         * gst/check/gstcheck.h:
7919         * gst/net/Makefile.am:
7920         * gst/net/gstnet.h:
7921         * gst/net/gstnetclientclock.c:
7922         * gst/net/gstnetclientclock.h:
7923         * gst/net/gstnettimepacket.c:
7924         * gst/net/gstnettimepacket.h:
7925         * gst/net/gstnettimeprovider.c:
7926         * gst/net/gstnettimeprovider.h:
7927         * libs/gst/Makefile.am:
7928         * libs/gst/base/Makefile.am:
7929         * libs/gst/base/gstbasetransform.c:
7930         * libs/gst/check/Makefile.am:
7931         * plugins/elements/Makefile.am:
7932         * po/POTFILES.in:
7933           CVS surgery + support to move base, check, and net out of gst
7934           and into libs/gst
7935
7936 2005-11-29  Andy Wingo  <wingo@pobox.com>
7937
7938         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7939
7940         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7941         padding.
7942
7943         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7944
7945         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7946
7947         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7948
7949         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7950         padding; reduces object size by about 30%. We don't expect
7951         anything else to go into gstobject.
7952
7953         * gst/gstminiobject.h (struct _GstMiniObject)
7954         (struct _GstMiniObjectClass): Only one pointer of padding; the
7955         payload is only a pointer and two ints anyway. For the class there
7956         are only two methods as well.
7957         
7958         * gst/gstelement.h (struct _GstElementClass): Removed
7959         the state_changed signal callback, it is not used.
7960
7961 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7962
7963         * docs/gst/gstreamer.types:
7964           fix includes, though they are a little dinky
7965
7966 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7967
7968         * check/Makefile.am:
7969           look in the right place for elements, a lot more chance of
7970           success
7971         * gst/Makefile.am:
7972           remove indexers and elements subdirs
7973         * plugins/Makefile.am:
7974           make indexers conditional
7975
7976 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7977
7978         * Makefile.am:
7979         * configure.ac:
7980         * plugins/elements/Makefile.am:
7981         * plugins/elements/gstcapsfilter.c:
7982         * plugins/elements/gstfilesink.c:
7983         * plugins/elements/gstfilesrc.c:
7984         * plugins/elements/gstidentity.c:
7985         * plugins/indexers/Makefile.am:
7986           do CVS surgery and related build fixery to move elements
7987           and indexers in a new gstreamer/plugins directory, out of the
7988           gst/ directory
7989
7990 2005-11-29  Andy Wingo  <wingo@pobox.com>
7991
7992         * check/Makefile.am:
7993         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7994         * pkgconfig/gstreamer-net.pc.in:
7995         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7996         #322257.
7997
7998 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7999
8000         * tools/Makefile.am:
8001         * tools/gst-complete.1.in:
8002         * tools/gst-complete.c:
8003         * tools/gst-compprep.1.in:
8004         * tools/gst-compprep.c:
8005           removing -compprep and -complete
8006
8007 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8008
8009         * gst/gstevent.c: (gst_event_new_new_segment),
8010         (gst_event_parse_new_segment):
8011         * gst/gstevent.h:
8012           fix #320529 - clean up new_segment API and structure.
8013           Let's hope everyone was using the methods, and not the structure.
8014
8015 2005-11-29  Edward Hervey  <edward@fluendo.com>
8016
8017         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8018         (gst_base_sink_event), (gst_base_sink_do_sync),
8019         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8020         Properly handle non GST_FORMAT_TIME segment
8021         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8022         Properly handle non GST_FORMAT_TIME segment
8023         * gst/gstsegment.c:
8024         This function is valid if the accumulator is 0 and the format
8025         is different from the requested format.
8026         
8027 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8028
8029         * docs/gst/gstreamer-sections.txt:
8030         Add gst_query_new_seeking and gst_query_parse_seeking to the
8031         docs.
8032
8033 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8034
8035         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8036           Treat a pad alloc with new caps the same as if we were not
8037           negotiated, in order to allow a changing upstream output
8038           to produce a new format of data.
8039
8040 2005-11-29  Edward Hervey  <edward@fluendo.com>
8041
8042         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8043         (gst_base_transform_event), (gst_base_transform_eventfunc):
8044         The event virtual method is now properly implemented, with a default
8045         handler
8046         Sub classes should call the parent_class event method. They should
8047         return FALSE if they had a problem handling the given event, or don't
8048         want GstBaseTransform to send that even downstream
8049         * gst/elements/gstidentity.c: (gst_identity_class_init),
8050         (gst_identity_init), (gst_identity_event),
8051         (gst_identity_transform_ip), (gst_identity_set_property),
8052         (gst_identity_get_property):
8053         * gst/elements/gstidentity.h:
8054         Added the single-segment boolean property.
8055         If set to TRUE, it will output a single segment of data, starting from
8056         0, will eat up all incoming newsegment, and modify the timestamp of the
8057         buffers accordingly
8058
8059 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
8060
8061         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8062           Don't ref NULL target pad (#322751). Improve docs.
8063
8064 2005-11-29  Michael Smith  <msmith@fluendo.com>
8065
8066         * gst/gstregistryxml.c: (load_plugin):
8067           Don't crash if we failed to load a feature from a plugin. 
8068
8069 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8070
8071         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8072         (GST_START_TEST):
8073           use more check API and less GLib API
8074
8075 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8076
8077         * Makefile.am:
8078           don't run checks if we don't have check
8079         * common/check.mak:
8080           remove the registry when running make torture
8081         * docs/gst/gstreamer-sections.txt:
8082           remove second multiply
8083         * gst/gstqueue.c: (gst_queue_loop):
8084           fix a compile warning when disabling debug
8085
8086 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8087
8088         * gst/gstinfo.h:
8089         Hey! Let's print the pad name if the pointer != NULL instead
8090         of when it == NULL :-)
8091
8092 2005-11-28  Wim Taymans  <wim@fluendo.com>
8093
8094         * check/gst/gstutils.c: (GST_START_TEST):
8095         Updated check, add some scaling accuracy checking code.
8096
8097         * gst/gstutils.c: (gst_util_div128_64),
8098         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8099         (gst_util_uint64_scale_int):
8100         Fix 6 times faster division code. Optimize for common 
8101         1/1 and less common X/1 cases.
8102
8103 2005-11-28  Wim Taymans  <wim@fluendo.com>
8104
8105         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8106         More checks.
8107
8108         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8109         (do_linear_regression), (gst_clock_add_observation):
8110         Cleanups.
8111         Release lock when the clock cannot be slaved.
8112         Catch the case where the regression returned an invalid denominator.
8113
8114         * gst/gstutils.c: (gst_util_div128_64_iterate),
8115         (gst_util_div128_64), (gst_util_uint64_scale_int64),
8116         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8117         Add protentially more performant non-iterative 128/64 divide function
8118         that unfortunatly does not work yet.
8119         Shortcut the trivial 0/X = 0 case.
8120         Remove the warnings on overflow.
8121
8122 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8123
8124         * gst/gstplugin.c: (gst_plugin_register_func):
8125           everything causing a plugin not to load should be at least a WARNING
8126
8127 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
8128
8129         * docs/random/ensonic/dparams.txt:
8130           some TODOs for the next dev cycle
8131         * libs/gst/controller/gstcontroller.c:
8132         (gst_controlled_property_set_interpolation_mode),
8133         (gst_controlled_property_new):
8134         * libs/gst/controller/gstcontroller.h:
8135           use base type to assign acccessor functions
8136
8137 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8138
8139         * check/Makefile.am:
8140         Oops, that should have been top_srcdir
8141
8142 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8143
8144         * check/Makefile.am:
8145         * check/elements/fdsrc.c: (GST_START_TEST):
8146         Use a cmdline define to specify the location of a file to use for
8147         testing, to avoid breaking distcheck.
8148
8149 2005-11-28  Andy Wingo  <wingo@pobox.com>
8150
8151         * gst/gstpad.c (fixate_value): Use array functions for arrays.
8152
8153 2005-11-28  Edward Hervey  <edward@fluendo.com>
8154
8155         * tools/gst-launch.c: (main):
8156         Clarify the output strings, makes it easier to translate.
8157         Fixes #322626
8158
8159 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8160
8161         * gst/Makefile.am:
8162           don't try and build net if we don't even have <sys/socket.h>
8163
8164 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
8165
8166         * check/Makefile.am:
8167         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8168         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8169           Add tests for fdsrc seekability
8170
8171         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8172         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8173         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8174         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8175         * gst/elements/gstfdsrc.h:
8176           fdsrc should not be a 'live' source.
8177           Implement seeking on seekable fd's.
8178
8179         * gst/gstquery.c: (gst_query_new_seeking),
8180         (gst_query_parse_seeking):
8181         * gst/gstquery.h:
8182           Implement SEEKING query functions: 
8183             *_new_seeking and *_parse_seeking
8184
8185 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
8186
8187         * gst/gstelement.c: (gst_element_dispose):
8188           don't loop forever
8189
8190         * gst/gstiterator.c:
8191         * gst/gststructure.c:
8192           doc fixes
8193
8194         * libs/gst/controller/gstcontroller.c:
8195         (gst_controlled_property_set_interpolation_mode):
8196         * libs/gst/controller/gstcontroller.h:
8197         * libs/gst/controller/gstinterpolation.c:
8198         (interpolate_none_get_enum_value_array):
8199           support controlling enums
8200
8201 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8202
8203         * gst/gstvalue.c:
8204           Improve documentation for gst_value_union().
8205
8206         * gst/gstvalue.h:
8207           Change return value for union, intersect and subtract functions
8208           from gint to gboolean.
8209
8210 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8211
8212         * gst/gstvalue.c: (gst_value_serialize_any_list),
8213         (gst_value_transform_any_list_string),
8214         (gst_value_deserialize_list), (gst_value_deserialize_array),
8215         (gst_value_set_int_range), (gst_value_deserialize_int_range),
8216         (gst_value_set_double_range), (gst_value_deserialize_double_range),
8217         (gst_value_set_fraction_range_full),
8218         (gst_value_deserialize_fraction_range),
8219         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8220         (gst_value_deserialize_boolean),
8221         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8222         (gst_value_serialize_float), (gst_value_deserialize_float),
8223         (gst_string_wrap), (gst_value_deserialize_string),
8224         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8225         (gst_value_union_int_range_int_range),
8226         (gst_value_intersect_int_range_int_range),
8227         (gst_value_intersect_double_range_double_range),
8228         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8229         (gst_value_subtract_int_range_int_range),
8230         (gst_value_subtract_double_double_range),
8231         (gst_value_subtract_double_range_double_range),
8232         (gst_value_deserialize_fraction):
8233         * gst/gstvalue.h:
8234           Use gint, gdouble and gchar in our API instead of int, double and
8235           char (and make usage in gstvalue.c more consistent).
8236
8237 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8238
8239         * check/Makefile.am:
8240         * libs/gst/controller/Makefile.am:
8241         * libs/gst/dataprotocol/Makefile.am:
8242           fix up Makefile.am and remove GST_ENABLE_NEW
8243
8244 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8245
8246         * configure.ac:
8247         * gst/Makefile.am:
8248         * gst/base/Makefile.am:
8249         * gst/check/Makefile.am:
8250         * gst/elements/Makefile.am:
8251         * gst/net/Makefile.am:
8252           update LDFLAGS use some more
8253
8254 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8255
8256         * common/m4/gst-doc.m4:
8257           Fixes #312589
8258
8259 2005-11-26  Edward Hervey  <edward@fluendo.com>
8260
8261         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8262         This shouldn't issue a g_warning since it returns NULL if it
8263         couldn't find the plugin, and all functions using this behave
8264         properly on a NULL return. Switching to a GST_WARNING.
8265
8266 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8267
8268         * gst/gstbin.c: (gst_bin_handle_message_func):
8269         Don't leak clock messages.
8270
8271 2005-11-25  Wim Taymans  <wim@fluendo.com>
8272
8273         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8274         (gst_util_uint64_scale_int):
8275         Optimisations, remove unneeded vars.
8276
8277 2005-11-25  Wim Taymans  <wim@fluendo.com>
8278
8279         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8280         Added more checks for the high precision uint64 cases.
8281
8282         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8283         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8284         Implement high precision (guint64 * guint64) / guint64.
8285
8286 2005-11-24  Wim Taymans  <wim@fluendo.com>
8287
8288         * gst/base/gstbasesrc.c: (gst_base_src_query):
8289         Fix wrong percentage query.
8290
8291         * gst/gstutils.c: (gst_util_uint64_scale),
8292         (gst_util_uint64_scale_int):
8293         Add some more common cases that can be handled 
8294         efficiently to _scale.
8295
8296 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8297
8298         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8299         (gst_mini_object_suite):
8300           don't use check calls from threads; check probably isn't
8301           threadsafe and using a lock to make it threadsafe would
8302           defeat the purpose of this check
8303         * gst/check/gstcheck.c:
8304         * gst/check/gstcheck.h:
8305           use GST_DEBUG some more
8306
8307 2005-11-24  Wim Taymans  <wim@fluendo.com>
8308
8309         * gst/gstutils.c: (gst_util_uint64_scale),
8310         (gst_util_uint64_scale_int):
8311         Chain trivial case to _scale_int.
8312
8313 2005-11-24  Wim Taymans  <wim@fluendo.com>
8314
8315         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8316         Added test for scaling.
8317
8318         * gst/gstclock.h:
8319         Small doc fix.
8320
8321         * gst/gstutils.c: (gst_util_uint64_scale_int):
8322         Implemented high precision scaling code.
8323
8324 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8325
8326         * gst/gstinfo.h:
8327           do not crash on pad==NULL
8328
8329 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8330
8331         Patch by: Stefan Kost
8332
8333         * common/gtk-doc.mak:
8334         * docs/gst/Makefile.am:
8335         * docs/libs/Makefile.am:
8336           Fix distcheck issues for the libraries docs build
8337           Closes #319599.
8338
8339 2005-11-24  Michael Smith <msmith@fluendo.com>
8340
8341         * docs/manual/basics-helloworld.xml:
8342           Fix bug #315027: memory leak in example code in docs.
8343
8344 2005-11-24  Michael Smith <msmith@fluendo.com>
8345
8346         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8347           Unlock the PREROLL_LOCK in a failure case.
8348
8349 2005-11-24  Wim Taymans  <wim@fluendo.com>
8350
8351         * docs/gst/gstreamer-sections.txt:
8352         * gst/base/gstadapter.h:
8353         * gst/base/gstbasesink.h:
8354         * gst/base/gstbasesrc.h:
8355         * gst/base/gstbasetransform.h:
8356         * gst/base/gstpushsrc.h:
8357         * gst/elements/gstfakesink.h:
8358         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8359         * gst/elements/gstfakesrc.h:
8360         * gst/elements/gstfilesink.h:
8361         * gst/elements/gstfilesrc.h:
8362         * gst/gst.c:
8363         * gst/gstbin.c:
8364         * gst/gstbuffer.c: (_gst_buffer_copy):
8365         * gst/gstbus.h:
8366         * gst/gstcaps.c:
8367         * gst/gstchildproxy.c:
8368         * gst/gstclock.c:
8369         * gst/gstelement.c:
8370         * gst/gstelementfactory.c:
8371         * gst/gstelementfactory.h:
8372         * gst/gstevent.c:
8373         * gst/gstghostpad.h:
8374         * gst/gstindex.h:
8375         * gst/gstinterface.h:
8376         * gst/gstminiobject.c:
8377         * gst/gstminiobject.h:
8378         * gst/gstpad.c:
8379         * gst/gstpad.h:
8380         * gst/gstpadtemplate.h:
8381         * gst/gstpipeline.h:
8382         * gst/gstpluginfeature.h:
8383         * gst/gstquery.h:
8384         * gst/gstqueue.h:
8385         * gst/gsttaglist.c:
8386         * gst/gsttaglist.h:
8387         * gst/gsttagsetter.c:
8388         * gst/gsttagsetter.h:
8389         * gst/gsttrace.c:
8390         * gst/gsttrace.h:
8391         * gst/gsttypefind.h:
8392         * gst/gsturi.h:
8393         * gst/gstvalue.c:
8394         * gst/net/gstnetclientclock.c:
8395         * gst/net/gstnetclientclock.h:
8396         * gst/net/gstnettimepacket.c:
8397         * gst/net/gstnettimeprovider.c:
8398         * gst/net/gstnettimeprovider.h:
8399         Doc fixes.
8400
8401 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8402
8403         * configure.ac: back to HEAD
8404
8405 === release 0.9.6 ===
8406
8407 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8408
8409         * configure.ac:
8410           releasing 0.9.6, "Always On Time"
8411
8412 2005-11-23  Wim Taymans  <wim@fluendo.com>
8413
8414         * docs/gst/gstreamer-sections.txt:
8415         * gst/glib-compat.c:
8416         * gst/gsttagsetter.c:
8417         * gst/gstvalue.c:
8418         * gst/net/gstnetclientclock.c:
8419         * gst/net/gstnettimepacket.h:
8420         Doc updates.
8421
8422 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8423
8424         * docs/faq/using.xml:
8425         * docs/libs/tmpl/gstcontrol.sgml:
8426         * docs/manual/advanced-dparams.xml:
8427         * docs/manual/appendix-checklist.xml:
8428         * docs/manual/basics-elements.xml:
8429         * docs/pwg/other-source.xml:
8430         * docs/random/moving-plugins:
8431         * gst/gstpad.c:
8432         * tools/gst-launch.1.in:
8433           remove mentions of sinesrc
8434
8435 2005-11-23  Michael Smith <msmith@fluendo.com>
8436
8437         * docs/gst/gstreamer-sections.txt:
8438           Update for new API and API changes.
8439         * gst/gstobject.h:
8440           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8441         * gst/gstvalue.c:
8442           Documentation typo fix.
8443         * gst/net/gstnettimepacket.c:
8444           Documentation fixes for arguments.
8445
8446 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8447
8448         * gst/gststructure.c: (gst_structure_get_fraction),
8449         (gst_structure_parse_value),
8450         (gst_structure_fixate_field_nearest_fraction):
8451         * gst/gststructure.h:
8452         * gst/gstutils.c: (gst_util_uint64_scale_int):
8453         * gst/gstutils.h:
8454         * scripts/update-funcnames:
8455         API Changes. 
8456         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8457         Make gst_structure_fixate_field_nearest_fraction take a numerator
8458         and denominator argument instead of a GValue
8459         add gst_structure_get_fraction helper function.
8460
8461 2005-11-23  Wim Taymans  <wim@fluendo.com>
8462
8463         * docs/design/part-TODO.txt:
8464         Update TODO.
8465
8466         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8467         * gst/net/gstnetclientclock.h:
8468         Use parent fields for timeout and window_size.
8469
8470 2005-11-23  Andy Wingo  <wingo@pobox.com>
8471
8472         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8473         rate_num/rate_denom change.
8474
8475         * gst/net/gstnetclientclock.c
8476         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8477         OBJECT_LOCK. Don't call add_observation with the lock.
8478
8479         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8480         fraction.
8481         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8482         rate fraction.
8483         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8484         deal with rate as a fraction whose numerator and denominator are
8485         GstClockTime values.
8486         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8487         master; the other fields are protected by the SLAVE_LOCK.
8488         (do_linear_regression): Note that this must be called with the
8489         SLAVE_LOCK.
8490         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8491         OBJECT_LOCK. Call set_calibration instead of touching the
8492         variables directly.
8493         (gst_clock_set_property, gst_clock_get_property): Protect
8494         master/slave parameters with the SLAVE_LOCK.
8495
8496         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8497         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8498         note that all of the instance variables that add_observation and
8499         the set_master functions use are protected by that lock and not
8500         the OBJECT_LOCK.
8501         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8502
8503         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8504         the caller to take the object lock.
8505
8506 2005-11-23  Wim Taymans  <wim@fluendo.com>
8507
8508         * gst/gsterror.c: (_gst_core_errors_init):
8509         * gst/gsterror.h:
8510         Add error for clock stuff.
8511
8512         * gst/gstpipeline.c: (gst_pipeline_change_state),
8513         (gst_pipeline_set_clock):
8514         Post clock error when clock cannot be used in a pipeline.
8515
8516 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8517
8518         * docs/gst/gstreamer-sections.txt:
8519           make two symbols from gstinfo private for the docs
8520         * gst/base/gstcollectpads.h:
8521         * gst/gstutils.c:
8522           fix doc typos, update docs
8523
8524 2005-11-22  Wim Taymans  <wim@fluendo.com>
8525
8526         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8527         (gst_base_sink_wait), (gst_base_sink_do_sync),
8528         (gst_base_sink_handle_event):
8529         * gst/base/gstbasesink.h:
8530         No need to store the clock, the parent element class already
8531         has it.
8532
8533         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8534         Updates for clock_set returning a gboolean
8535
8536         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8537         (gst_clock_id_wait_async), (gst_clock_class_init),
8538         (gst_clock_init), (gst_clock_finalize),
8539         (gst_clock_get_internal_time), (gst_clock_get_time),
8540         (gst_clock_slave_callback), (gst_clock_set_master),
8541         (gst_clock_get_master), (do_linear_regression),
8542         (gst_clock_add_observation), (gst_clock_set_property),
8543         (gst_clock_get_property):
8544         * gst/gstclock.h:
8545         Implement master/slave. When setting a clock as a slave, a
8546         periodic timeout is scheduled to sample master and slave times.
8547         Then the slave clock is recalibrated to match offset and rate
8548         of the master clock.
8549         Update logging a bit.
8550         Add flag so that a clock can state that is cannot be slaved to
8551         another clock.
8552
8553         * gst/gstelement.c: (gst_element_set_clock):
8554         * gst/gstelement.h:
8555         The set clock returns a gboolean for when an element cannot
8556         deal with the selected clock in the pipeline. 
8557
8558         * gst/gstpipeline.c: (gst_pipeline_change_state),
8559         (gst_pipeline_set_clock):
8560         * gst/gstpipeline.h:
8561         Handle the case where the selected clock cannot be set on
8562         the pipeline.
8563
8564         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8565         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8566         (gst_net_client_clock_set_property),
8567         (gst_net_client_clock_get_property),
8568         (gst_net_client_clock_observe_times):
8569         * gst/net/gstnetclientclock.h:
8570         Use regression code in GstClock parent, remove duplicated
8571         functionality.
8572
8573 2005-11-22  Michael Smith <msmith@fluendo.com>
8574
8575         * gst/gstutils.c: (gst_util_clock_time_scale):
8576         * gst/gstutils.h:
8577         * docs/gst/gstreamer-sections.txt:
8578           Rename method to have extra underscore.
8579
8580 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8581
8582         * gst/elements/Makefile.am:
8583         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8584         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8585         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8586         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8587         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8588         * gst/elements/gstfakesrc.h:
8589         * gst/gstqueue.c: (queue_leaky_get_type):
8590           correctly fix GEnumValues so that nick is the short lowercase
8591           dashed tag
8592         * tools/gst-inspect.c: (print_element_properties_info):
8593           also show the nick, since it's useful to use from parse_launch
8594           syntax
8595           Fixes #322139
8596
8597 2005-11-22  Michael Smith <msmith@fluendo.com>
8598
8599         * gst/gstutils.c: (gst_util_clocktime_scale):
8600         * gst/gstutils.h:
8601         * docs/gst/gstreamer-sections.txt:
8602           Add util method for scaling a clocktime by a fraction. Useful 
8603           implementation is left as an exercise for the reader.
8604
8605 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8606
8607         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8608         If needed, allocate storage in the destination value during
8609         collection.
8610
8611 2005-11-22  Edward Hervey  <edward@fluendo.com>
8612
8613         * docs/gst/gstreamer-sections.txt:
8614         * gst/Makefile.am:
8615         * gst/gst.h:
8616         * gst/gsturitype.c:
8617         * gst/gsturitype.h:
8618         * gst/gstutils.c: (gst_util_set_object_arg):
8619         * tools/gst-compprep.c: (main):
8620         * tools/gst-inspect.c: (print_element_properties_info):
8621         Removed GstURI, closes bug #321061
8622
8623 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8624
8625         * check/gst/gststructure.c: (GST_START_TEST):
8626         * gst/gststructure.c: (gst_structure_parse_value):
8627           Oops, broke automatic string type parsing.
8628           Add a test to catch it in future.
8629
8630 2005-11-22  Andy Wingo  <wingo@pobox.com>
8631
8632         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8633         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8634         Actually rename the function implementations. Grr.
8635
8636 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8637
8638         * check/gst/capslist.h:
8639           Comment test cases
8640         * check/gst/gststructure.c: (GST_START_TEST),
8641         (gst_structure_suite):
8642           Test automatic value type detection in gst_structure_from_string.
8643         * gst/gststructure.c: (gst_structure_parse_value):
8644           Add fraction as a type we try and guess automatically in
8645           caps/structure strings.
8646
8647 2005-11-22  Andy Wingo  <wingo@pobox.com>
8648
8649         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8650
8651         * gst/gsttagsetter.h:
8652         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8653         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8654         (gst_tag_setter_add_tag_valist)
8655         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8656         _add_values, _add_valist, and _add_valist_values. Since this is an
8657         interface the function suffixes should be more explicit so
8658         language binding don't end up with element.add_valist ->
8659         gst_tag_setter_add_valist, for example. Fixes #322069.
8660
8661 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8662
8663         * check/gst/gstcaps.c: (GST_START_TEST):
8664           Extend caps string tests to check that a caps to string
8665           conversion is reversible and produces the same caps.
8666
8667         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8668           Output "fraction" as the generic type fraction range, so caps
8669           serialisation and deserialisation works.
8670         * check/gst/capslist.h:
8671         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8672           Support 'MIN' and 'MAX' for deserialising fractions.
8673
8674 2005-11-22  Andy Wingo  <wingo@pobox.com>
8675
8676         * gst/gstevent.h (gst_event_new_new_segment)
8677         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8678         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8679         Renamed from *_newsegment, *_buffersize, *_notarget.
8680
8681         * scripts/update-funcnames: New script, performs the changes
8682         listed above.
8683
8684 2005-11-22  Wim Taymans  <wim@fluendo.com>
8685
8686         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8687         Make sure the GstFlowReturn is returned.
8688
8689         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8690         (gst_bus_add_signal_watch):
8691         * gst/gstbus.h:
8692         add gst_bus_add_signal_watch_full.
8693
8694         * gst/gstplugin.c: (gst_plugin_load_file):
8695         Small style cleanup.
8696
8697 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8698
8699         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8700           Block the fakesrc srcpad when we send an event, to avoid
8701           contention on the stream_lock causing random test failures.
8702
8703 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8704
8705         * check/gst/gstvalue.c: (GST_START_TEST):
8706         * gst/gstvalue.c: (gst_value_fraction_subtract):
8707           Fix subtraction.
8708
8709 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8710
8711         * gst/gst.h:
8712           include "gstchildproxy.h"
8713         * gst/gstchildproxy.h:
8714         * libs/gst/controller/gstcontroller.h:
8715           use G_GNUC_NULL_TERMINATED
8716
8717 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8718
8719         * check/gst/capslist.h:
8720         * check/gst/gstcaps.c: (GST_START_TEST):
8721         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8722         * gst/gststructure.c: (gst_structure_parse_range),
8723         (gst_structure_fixate_field_nearest_fraction):
8724         * gst/gststructure.h:
8725         * gst/gstvalue.c: (gst_value_init_fraction_range),
8726         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8727         (gst_value_collect_fraction_range),
8728         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8729         (gst_value_set_fraction_range_full),
8730         (gst_value_get_fraction_range_min),
8731         (gst_value_get_fraction_range_max),
8732         (gst_value_serialize_fraction_range),
8733         (gst_value_transform_fraction_range_string),
8734         (gst_value_compare_fraction_range),
8735         (gst_value_deserialize_fraction_range),
8736         (gst_value_intersect_fraction_fraction_range),
8737         (gst_value_intersect_fraction_range_fraction_range),
8738         (gst_value_subtract_fraction_fraction_range),
8739         (gst_value_subtract_fraction_range_fraction),
8740         (gst_value_subtract_fraction_range_fraction_range),
8741         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8742         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8743         (gst_value_transform_string_fraction), (_gst_value_initialize):
8744         * gst/gstvalue.h:
8745           Implement fraction ranges and extend GstFraction to support
8746           arithmetic subtraction, as well as deserialization from integer
8747           strings such as "100"
8748           Add a testsuite as for int and double range set operations
8749
8750 2005-11-21  Andy Wingo  <wingo@pobox.com>
8751
8752         * gst/gsttaglist.h: 
8753         * gst/gstcaps.h: 
8754         * gst/gststructure.h: Add glib-compat.h.
8755
8756 2005-11-21  Wim Taymans  <wim@fluendo.com>
8757
8758         * gst/gstbin.c: (gst_bin_change_state_func):
8759         Fix for #321595
8760
8761 2005-11-21  Wim Taymans  <wim@fluendo.com>
8762
8763         * gst/gstsegment.h:
8764         And add a nice define too.
8765
8766 2005-11-21  Wim Taymans  <wim@fluendo.com>
8767
8768         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8769         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8770         (gst_segment_set_duration), (gst_segment_set_last_stop),
8771         (gst_segment_set_seek), (gst_segment_set_newsegment),
8772         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8773         (gst_segment_clip):
8774         * gst/gstsegment.h:
8775         Make binding friendly.
8776
8777 2005-11-21  Andy Wingo  <wingo@pobox.com>
8778
8779         * gst/gsttagsetter.h: 
8780         * gst/gsttaglist.h: 
8781         * gst/gststructure.h: 
8782         * gst/gstcaps.h: 
8783         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8784         #319940.
8785
8786         * gst/gsterror.c (_gst_core_errors_init):
8787         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8788         category.
8789
8790         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8791         (noinst_HEADERS): noinst the -private.
8792
8793 2005-11-21  Michael Smith <msmith@fluendo.com>
8794
8795         * gst/gstplugin.h:
8796         * gst/gstregistry.h:
8797           Remove unimplemented declarations for which we can see no sensible
8798           use.
8799
8800 2005-11-21  Andy Wingo  <wingo@pobox.com>
8801
8802         * gst/gst.h: Include glib-compat.h.
8803
8804         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8805
8806         * gst/glib-compat.c: Include the public and the private header.
8807
8808         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8809
8810         * gst/gstvalue.c: 
8811         * gst/gstpad.c: 
8812         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8813
8814         * check/gst/gstevent.c (create_custom_events): Check that
8815         FLUSH_STOP is serialized.
8816
8817         * check/elements/identity.c (event_func): 
8818         * check/elements/fakesrc.c (event_func): No stream lock, the core
8819         takes it.
8820
8821         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8822         stream lock taking, yay.
8823
8824         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8825         ensure that core takes the stream lock.
8826
8827         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8828         lock name change.
8829
8830         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8831         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8832         it already. For the flush start we do take it though so we get the
8833         right preroll state change messages.
8834
8835         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8836         the stream lock here, the core does it for us.
8837
8838         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8839         GST_STREAM_GET_LOCK.
8840         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8841         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8842         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8843         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8844         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8845         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8846
8847         * gst/gstpad.c: Update for stream lock name change.
8848
8849         * gst/base/gstbasesink.c: Update for preroll lock name change.
8850
8851 2005-11-21  Wim Taymans  <wim@fluendo.com>
8852
8853         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8854         (gst_clock_get_master):
8855         * gst/gstclock.h:
8856         * gst/gstsystemclock.c: (gst_system_clock_init):
8857         Convert Clock flags to object flags.
8858         Added methods to manage master/slave clocks.
8859
8860 2005-11-21  Wim Taymans  <wim@fluendo.com>
8861
8862         * check/gst/gstsegment.c: (GST_START_TEST):
8863         * docs/design/part-TODO.txt:
8864         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8865         (gst_base_sink_event), (gst_base_sink_do_sync),
8866         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8867         (gst_base_sink_query), (gst_base_sink_change_state):
8868         * gst/base/gstbasesink.h:
8869         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8870         (gst_base_src_default_newsegment),
8871         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8872         (gst_base_src_get_range), (gst_base_src_loop),
8873         (gst_base_src_change_state):
8874         * gst/base/gstbasesrc.h:
8875         * gst/base/gstbasetransform.c:
8876         (gst_base_transform_prepare_output_buf),
8877         (gst_base_transform_event), (gst_base_transform_change_state):
8878         * gst/base/gstbasetransform.h:
8879         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8880         (gst_collect_pads_event):
8881         * gst/base/gstcollectpads.h:
8882         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8883         (gst_fake_src_create):
8884         * gst/elements/gstfakesrc.h:
8885         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8886         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8887         (gst_segment_set_last_stop), (gst_segment_set_seek),
8888         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8889         (gst_segment_to_running_time), (gst_segment_clip):
8890         * gst/gstsegment.h:
8891         More segment updates, replace code in plugins with segment
8892         helper functions.
8893
8894 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8895
8896         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8897         Don't ignore sscanf results
8898
8899 2005-11-21  Andy Wingo  <wingo@pobox.com>
8900
8901         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8902
8903         * *.h:
8904         * *.c: Ran scripts/update-macros. Oh yes.
8905
8906         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8907         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8908         GST_GET_LOCK, etc.
8909
8910         * scripts/update-macros: New script. Run it on your files to
8911         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8912         well.
8913
8914 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8915
8916         * docs/gst/Makefile.am:
8917         * docs/gst/gstreamer-docs.sgml:
8918         * docs/gst/gstreamer-sections.txt:
8919         * docs/gst/gstreamer.types:
8920         * gst/gstinfo.h:
8921           more docs fixes, add new api to the docs
8922
8923 2005-11-21  Andy Wingo  <wingo@pobox.com>
8924
8925         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8926         state_broadcast call.
8927
8928         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8929
8930 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8931
8932         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8933         function calls for arrays.
8934
8935 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8936
8937         * docs/random/ensonic/media-device-daemon.txt:
8938           wild idea, can this be done?
8939         * docs/gst/gstreamer-sections.txt:
8940         * gst/gsterror.h:
8941         * gst/gstfilter.c:
8942         * gst/gstfilter.h:
8943         * gst/gstplugin.h:
8944         * gst/gstpluginfeature.c:
8945         * gst/gsttrace.c:
8946         * gst/gstvalue.c:
8947         * gst/gstvalue.h:
8948           doc fixes and additions
8949
8950 2005-11-21  Andy Wingo  <wingo@pobox.com>
8951
8952         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8953         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8954         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8955         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8956         private to the basesrc implementation.
8957
8958         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8959         behalf of event function if necessary. It should no longer be
8960         necessary to take the stream lock in pad's event functions. Fixes
8961         #320299.
8962
8963 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8964         * docs/gst/gstreamer-sections.txt:
8965         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8966         (gst_structure_fixate_field_nearest_double),
8967         (gst_structure_fixate_field_boolean):
8968         * gst/gststructure.h:
8969         * win32/common/libgstreamer.def:
8970         * win32/gstreamer.def:
8971
8972         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8973         (#322027)
8974
8975 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8976
8977         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8978         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8979         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8980         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8981         (gst_fdsrc_uri_handler_init):
8982         * gst/elements/gstfdsrc.h:
8983           Port fd:// URI handler from 0.8 to fdsrc
8984
8985 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8986
8987         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8988         (gst_value_serialize_fourcc):
8989         * gst/gstvalue.h:
8990           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8991           consistent with our other format defines (#320324).
8992
8993 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8994
8995         * gst/gstvalue.c: (gst_value_is_fixed):
8996           Revert previous commit. Value lists are by definition
8997           not fixed, as they are a list of possible values.
8998
8999 2005-11-21  Andy Wingo  <wingo@pobox.com>
9000
9001         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9002         during the stable series if we need it. Fixes #319178.
9003
9004         * gst/gstevent.c (gst_event_new_filler): Removed.
9005
9006         * check/gst/gstevent.c: Update comment about filler events.
9007
9008 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9009
9010         * gst/gstvalue.c: (gst_value_is_fixed):
9011           Should handle both value arrays and value lists.
9012
9013 2005-11-21  Andy Wingo  <wingo@pobox.com>
9014
9015         patch by: Alessandro Dessina <alessandro nnva org>
9016
9017         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9018         functions to access arrays. Fixes #321962.
9019
9020 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9021
9022         * docs/gst/gstreamer.types:
9023           gst_collectpads_get_type => gst_collect_pads_get_type.
9024           
9025         * gst/base/gstbasetransform.c:
9026           Remove unused SIGNAL_HANDOFF enum.
9027
9028 2005-11-21  Andy Wingo  <wingo@pobox.com>
9029
9030         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9031         the event type (upstream, downstream, serialized). Renamed
9032         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9033         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9034         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9035
9036         * gst/gstevent.c: Update for new CUSTOM event names.
9037
9038         * check/gst/gstevent.c: Update check for new CUSTOM event names.
9039
9040         * gst/gstevent.h:
9041         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9042         bug #319392.
9043
9044 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9045
9046         * docs/gst/gstreamer-sections.txt:
9047         * win32/common/libgstbase.def:
9048         * win32/libgstbase.def:
9049         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9050         (gst_collect_pads_class_init), (gst_collect_pads_init),
9051         (gst_collect_pads_finalize), (gst_collect_pads_new),
9052         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9053         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9054         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9055         (gst_collect_pads_start), (gst_collect_pads_stop),
9056         (gst_collect_pads_peek), (gst_collect_pads_pop),
9057         (gst_collect_pads_available), (gst_collect_pads_read),
9058         (gst_collect_pads_flush), (gst_collect_pads_event),
9059         (gst_collect_pads_chain):
9060         * gst/base/gstcollectpads.h:
9061           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9062           unimplemented functions as unimplemented. Add padding to
9063           GstCollectData. (#320766, #320423)
9064
9065 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9066
9067         * gst/gstmessage.c:
9068           Improve docs for DURATION message (usage of duration parameter)
9069           (#320113)
9070
9071 2005-11-20  Wim Taymans  <wim@fluendo.com>
9072
9073         * check/Makefile.am:
9074         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9075         (main):
9076         * gst/Makefile.am:
9077         * gst/gst.h:
9078         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9079         (gst_segment_set_seek), (gst_segment_set_newsegment),
9080         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9081         (gst_segment_clip):
9082         * gst/gstsegment.h:
9083         Added segment helper structure and methods. Not fully implemented
9084         yet.
9085         Added segment check.
9086
9087 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
9088
9089         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9090           Add a deserialisation test for fractions
9091         * examples/metadata/read-metadata.c: (message_loop),
9092         (make_pipeline), (main):
9093           Fix up metadata reading sample.
9094         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9095           Debug format fix
9096         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9097           Don't try and fixate empty caps
9098         * gst/gst_private.h:
9099           Wrap in G_BEGIN_DECLS/G_END_DECLS
9100         * gst/gstvalue.c: (gst_value_collect_fraction),
9101         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9102         (gst_value_transform_string_fraction),
9103         (gst_value_compare_fraction):
9104           Add some extra guards to ensure that we don't end up 
9105           with an invalid denominator of 0 in a gstfraction and
9106           that fractions always get reduced.
9107
9108 2005-11-20  Wim Taymans  <wim@fluendo.com>
9109
9110         * docs/gst/gstreamer-sections.txt:
9111         * gst/gstbuffer.h:
9112         * gst/gstelement.c:
9113         * gst/gstformat.c:
9114         * gst/gstformat.h:
9115         * gst/gstindex.h:
9116         * gst/gstquery.c:
9117         * gst/gstquery.h:
9118         * gst/gstvalue.c:
9119         Doc fixes.
9120
9121 2005-11-20  Wim Taymans  <wim@fluendo.com>
9122
9123         * docs/design/part-TODO.txt:
9124         * gst/gstcaps.h:
9125         Make a proper enum of the flag.
9126
9127 2005-11-19  Wim Taymans  <wim@fluendo.com>
9128
9129         * docs/design/part-TODO.txt:
9130         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9131         (gst_format_to_quark), (gst_format_register):
9132         * gst/gstformat.h:
9133         * gst/gstquery.c: (_gst_query_initialize),
9134         (gst_query_type_get_name), (gst_query_type_to_quark),
9135         (gst_query_type_register):
9136         * gst/gstquery.h:
9137         Add type to quark and type to string conversions.
9138
9139 2005-11-19  Andy Wingo  <wingo@pobox.com>
9140
9141         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9142         #320097.
9143
9144 2005-11-19  Wim Taymans  <wim@fluendo.com>
9145
9146         * docs/design/part-TODO.txt:
9147         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9148         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9149         (gst_bin_handle_message_func):
9150         * gst/gstbin.h:
9151         Make message handling overridable.
9152
9153 2005-11-19  Andy Wingo  <wingo@pobox.com>
9154
9155         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9156
9157         * gst/gstclock.h:
9158         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9159         be a GstClockTime.
9160         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9161         is a GstClockTime. Fixes #321710.
9162
9163         * gst/gstclock.h (GstClock): Remove offset property. Add
9164         internal_calibration and external_calibration. Fix padding. Pad
9165         also by GstClockTime so we don't run into problems.
9166
9167         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9168         (gst_clock_get_rate_offset): Remove.
9169         (gst_clock_set_time_adjust): Remove. Fixes #321712.
9170
9171         * gst/gstutils.h:
9172         * gst/gstutils.c (g_static_rec_cond_wait)
9173         (g_static_rec_cond_timed_wait): Removed, no longer needed.
9174
9175         * gst/gstbin.c: Remove terrible continue_state prototype.
9176
9177         * gst/gstelement.h (gst_element_continue_state): Make public.
9178
9179         * gst/gstelement.h:
9180         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9181         by continue_state. Fixes #319389.
9182
9183         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9184         Really fixes #168438. However I don't see anywhere where the
9185         filter function is called... stupid GStreamer...
9186         
9187         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9188         don't have a dispose function, so it won't get called when the
9189         object is unreffed, but oh well!
9190
9191         * gst/gstindex.c (gst_index_set_filter_full): New API function,
9192         allows a destroy function to be set so user_data can be freed.
9193         Fixes #168438.
9194         (gst_index_set_filter): Call gst_index_set_filter_full.
9195
9196         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9197
9198         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9199         string should produce an error, given the lack of a way to
9200         represent NULL strings. Fixes #165650.
9201         
9202         * gst/gstvalue.h: 
9203         * gst/gstvalue.c (gst_value_array_append_value) 
9204         (gst_value_array_prepend_value, gst_value_array_get_size) 
9205         (gst_value_array_get_value): New API, copied from
9206         gst_value_list_*, only operates on arrays.
9207         (gst_value_list_append_value, gst_value_list_prepend_value) 
9208         (gst_value_list_concat, gst_value_list_get_size) 
9209         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9210
9211         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9212         init_list, because it works on both.
9213         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9214         (gst_value_copy_list_or_array): Renamed from copy_list.
9215         (gst_value_free_list_or_array): Renamed from free_list.
9216         (gst_value_collect_list_or_array): Renamed from collect_list.
9217         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9218         (gst_value_list_or_array_peek_pointer): Renamed from
9219         list_peek_pointer.
9220         (_gst_value_array_value_table, _gst_value_list_value_table):
9221         Update value table functions.
9222         (gst_value_compare_list_or_array): Renamed from compare_list.
9223
9224         * gsttaglist.h: Whoops, foreach function returns void. Also fix
9225         some constness.
9226
9227         * gst/gsttaglist.c:
9228         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9229         GstTagList*. Fixes #143472.
9230
9231         * gst/gststructure.h: Clarify what the foreach/map functions can
9232         or can't do to their arguments.
9233
9234 2005-11-18  Wim Taymans  <wim@fluendo.com>
9235
9236         * gst/gstclock.c: (gst_clock_set_calibration),
9237         (gst_clock_get_calibration):
9238         Doc and API fixes.
9239         Calibration can be set with internal time equal to current
9240         internal time too.
9241
9242 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9243
9244         * gst/gsterror.c:
9245         * gst/gsterror.h:
9246           document
9247
9248 2005-11-18  Andy Wingo  <wingo@pobox.com>
9249
9250         * configure.ac: 
9251         * pkgconfig/gstreamer-net.pc.in:
9252         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9253         * pkgconfig/Makefile.am: Add net pkgconfig files.
9254
9255 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9256
9257         * gst/gstcaps.c:
9258         * gst/gstghostpad.c:
9259         * gst/gsttrace.c:
9260         * gst/gstvalue.c:
9261         * gst/gstvalue.h:
9262           docs fixes
9263
9264 2005-11-18  Andy Wingo  <wingo@pobox.com>
9265
9266         * gst/net/gstnetclientclock.c: Turn off debugging.
9267
9268         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9269         times connverge somewhat. Can't make a real test.
9270
9271         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9272         integer arithmetic. Return the minimum of the domain, which can be
9273         set as "internal" for gst_clock_set_calibration.
9274         (gst_net_client_clock_observe_times): Call _set_calibration.
9275         (gst_net_client_clock_new): Call _set_calibration instead of
9276         rate_offset.
9277
9278         * check/net/gstnetclientclock.c (test_functioning): Use the right
9279         adjustment api.
9280
9281         * gst/gstclock.h:
9282         * gst/gstclock.c (gst_clock_get_calibration) 
9283         (gst_clock_set_calibration): New functions, obsolete the ones I
9284         added yesterday. Doh. Precision issues mean we have to extrapolate
9285         from a point in the more recent past than 1970.
9286         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9287         obsolete.
9288         (gst_clock_adjust_unlocked): Use the right calibration data.
9289
9290 2005-11-18  Edward Hervey  <edward@fluendo.com>
9291
9292         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9293         Also reset the ->current_* values in READY->PAUSED
9294
9295 2005-11-18  Andy Wingo  <wingo@pobox.com>
9296
9297         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9298         Whoops, check the right fd. Also add some debugging.
9299         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9300         (do_linear_regression): Add a crapload of debugging. Subtract off
9301         the minimum values from the input series to discard unneeded bits.
9302         Use only int arithmetic. There is still double arithmetic when
9303         calculating the intercept that needs fixing. Return boolean to
9304         indicate success; FALSE would mean the domain or range is too
9305         great. Still needs fixes.
9306
9307 2005-11-18  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9310         For the current position in stream time, we need to subtract
9311         accumulated time.
9312         
9313         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9314         Release lock before calling the callback function of async
9315         entries.
9316
9317 2005-11-18  Andy Wingo  <wingo@pobox.com>
9318
9319         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9320         Port goes all the way to MAXUINT16.
9321
9322         * gst/net/gstnettimeprovider.c: Make the port range the same as
9323         for the kernel: 0 assigns, otherwise ports are less than
9324         MAXUINT16.
9325
9326         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9327         port change.
9328
9329         * check/net/gstnetclientclock.c (test_functioning): Add the start
9330         of another test. 
9331
9332 2005-11-18  Wim Taymans  <wim@fluendo.com>
9333
9334         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9335         (gst_bin_remove_func), (bin_bus_handler):
9336         * gst/gstbin.h:
9337         Removing a clock provider from a bin, triggers a clock lost message
9338         so that a new clock will be selected.
9339         Adding a clock to a bin triggers a clock provider message.
9340         Make sure we reselect a clock when we received a clock lost message.
9341         Keep a reference to the element that provided the clock.
9342
9343 2005-11-18  Andy Wingo  <wingo@pobox.com>
9344
9345         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9346         the clock initially so it produces values around the base time.
9347         (gst_net_client_clock_class_init): Typo fix.
9348         (gst_net_client_clock_thread): Add note on when the socket gets
9349         closed.
9350
9351 2005-11-17  Wim Taymans  <wim@fluendo.com>
9352
9353         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9354         Free remote and local time arrays.
9355
9356 2005-11-17  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/net/gstnetclientclock.c: (do_linear_regression),
9359         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9360         Fix compilation, uninitialized vars and a forgotten continue.
9361
9362 2005-11-17  Andy Wingo  <wingo@pobox.com>
9363
9364         * check/Makefile.am (check_PROGRAMS): 
9365         * check/net/gstnetclientclock.c: Add a most minimal test for the
9366         net client clock. More to come later.
9367
9368         * gst/net/gstnet.h: 
9369         * gst/net/Makefile.am: Add netclientclock.
9370
9371         * gst/net/gstnetclientclock.h:
9372         * gst/net/gstnetclientclock.c: New files, implement an untested
9373         GstClock that takes its time from a network time provider.
9374         Implements the algorithm in network-clock.scm.
9375
9376         * tests/network-clock.scm (*window-size*): Rename from
9377         *queue-length*.
9378         * tests/network-clock.scm (network-time): 
9379         * tests/network-clock-utils.scm (q-push): Update callers.
9380
9381 2005-11-17  Wim Taymans  <wim@fluendo.com>
9382
9383         * gst/gstbin.c: (gst_bin_provide_clock_func),
9384         (gst_bin_sort_iterator_new):
9385         And unref the child too..
9386
9387 2005-11-17  Wim Taymans  <wim@fluendo.com>
9388
9389         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9390         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9391         Refactor the sort iterator so it can be used while holding the
9392         LOCK too.
9393         Make clock selection select a clock closest to the source.
9394
9395 2005-11-17  Michael Smith <msmith@fluendo.com>
9396
9397         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9398         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9399         * gst/gstclock.h:
9400           Anonymous structs are a gcc (and some other compilers) extension, so
9401           don't use them. Since this is only for ABI-compatibility, and our
9402           API/ABI freeze is over in a few days, this whole thing will only
9403           last a few days, so don't bother trying to think up a meaningful
9404           name for the struct.
9405
9406 2005-11-17  Andy Wingo  <wingo@pobox.com>
9407
9408         * gst/gstclock.h (GstClock): Add rate and offset properties,
9409         preserving ABI stability. Add rate/offset accessors. Will file bug
9410         for the freeze break.
9411
9412         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9413         and offset, trying to keep precision and avoiding
9414         underflow/overflow.
9415         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9416         functions. Make gst_clock_set_time_adjust obsolete.
9417         (gst_clock_set_time_adjust): Note that this function is obsolete.
9418         Will file bug soon.
9419
9420         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9421         greppable by using GST_PADDING-1+1.
9422
9423 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9424
9425         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9426
9427         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9428           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9429
9430         * gst/gstpadtemplate.h:
9431         * gst/gstpluginfeature.h:
9432           Don't use c++ style comments in headers (#321638).
9433
9434 2005-11-16  Andy Wingo  <wingo@pobox.com>
9435
9436         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9437         buffer.
9438
9439         * check/net/gstnettimeprovider.c: Check to see that the time
9440         provider actually provides times. Works, yo!
9441
9442 2005-11-16  Wim Taymans  <wim@fluendo.com>
9443
9444         * check/Makefile.am:
9445         Enable more tests.
9446
9447         * check/elements/fakesrc.c: (GST_START_TEST):
9448         Set element to NULL before disposing it.
9449
9450 2005-11-16  Andy Wingo  <wingo@pobox.com>
9451
9452         * gst/net/Makefile.am:
9453         * gst/net/gstnet.h:
9454         * gst/net/gstnettimeprovider.c: 
9455         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9456         provider, include it from gstnet.h, and add it to the build.
9457
9458         * gst/net/gstnettimepacket.h: 
9459         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9460         sending and receiving.
9461
9462 2005-11-16  Wim Taymans  <wim@fluendo.com>
9463
9464         * check/Makefile.am:
9465         Enable valgrind check.
9466
9467         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9468         (gst_fake_src_alloc_buffer):
9469         Fix memleak.
9470
9471 2005-11-16  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9474         Call parent finalize too.
9475
9476 2005-11-16  Wim Taymans  <wim@fluendo.com>
9477
9478         * check/Makefile.am:
9479         Enable valgrind check that should work fine now.
9480
9481         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9482         * gst/gstqueue.c: (gst_queue_init):
9483         Fix memleaks in pad allocation.
9484
9485 2005-11-16  Andy Wingo  <wingo@pobox.com>
9486
9487         * gst/net/Makefile.am:
9488         * gst/net/gstnet.h: New part of core to hold network elements and
9489         objects. Put in core because it exposes API that applications want
9490         to use. The library is named libgstnet-tempname right now because
9491         of the existing libgstnet in gst-plugins-base. Solution is
9492         probably to rename the one in plugins-base; will file a bug for
9493         the freeze break.
9494
9495         * gst/net/gstnettimeprovider.c: 
9496         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9497         get_time call over the network.
9498
9499         * configure.ac: 
9500         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9501
9502         * check/Makefile.am:
9503         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9504         get additions shortly.
9505
9506 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9507
9508         * gst/gstpad.c: (gst_pad_new_from_static_template):
9509         * gst/gstpad.h:
9510           add gst_pad_new_from_static_template functions
9511         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9512         (gst_check_setup_sink_pad):
9513         * gst/elements/gsttee.c: (gst_tee_init):
9514           and use them
9515
9516 2005-11-16  Wim Taymans  <wim@fluendo.com>
9517
9518         * gst/gstpad.c: (gst_pad_pause_task):
9519         Removed warning, it's not really an error either.
9520
9521 2005-11-16  Wim Taymans  <wim@fluendo.com>
9522
9523         * gst/base/gstbasetransform.c:
9524         (gst_base_transform_prepare_output_buf),
9525         (gst_base_transform_event):
9526         Check if the caps are NULL, this can happen if the element
9527         is shutting down and the pad caps are set to NULL.
9528
9529 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9530
9531         * gst/elements/gsttee.c: (gst_tee_init):
9532           fix pad template leak in tee
9533
9534 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9535
9536         * gst/glib-compat.c: (g_value_dup_gst_object):
9537         * gst/glib-compat.h:
9538         * gst/gstpad.c: (gst_pad_set_property):
9539           use gst_object_ref when setting the pad template; this will
9540           trigger the pad template leaks on GLib 2.6 and the slaves
9541
9542 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9543
9544         * gst/glib-compat.c: (gst_flags_get_first_value):
9545         * gst/glib-compat.h:
9546         * gst/gstregistryxml.c:
9547           remove functions copied from GLib 2.6
9548
9549 2005-11-16  Michael Smith <msmith@fluendo.com>
9550
9551         * gst/Makefile.am:
9552           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9553           do, but only breaks with newer valgrind versions. We're not a
9554           valgrind tool, we have no link-time dependencies on libcoregrind.
9555
9556 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9557
9558         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9559           some debug changes
9560         * gst/gstmessage.h:
9561           typo fixes
9562
9563 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9564
9565         * gst/base/gstbasesrc.c: (gst_base_src_init):
9566         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9567         * gst/gstqueue.c: (gst_queue_init):
9568         * gst/gstregistryxml.c: (load_feature):
9569           Revert all these unrefs, they don't even pass make check !
9570
9571 2005-11-15  Johan Dahlin  <johan@gnome.org>
9572
9573         * gst/base/gstbasesrc.c: (gst_base_src_init):
9574         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9575         * gst/gstqueue.c: (gst_queue_init): 
9576         Free pad templates, fixes a couple of leaks.
9577
9578 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9579
9580         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9581
9582         * gst/gstpad.c: (gst_pad_get_property):
9583           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9584           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9585           (#321452)
9586
9587 2005-11-15  Wim Taymans  <wim@fluendo.com>
9588
9589         * gst/gstevent.c:
9590         Small doc update.
9591
9592 2005-11-15  Andy Wingo  <wingo@pobox.com>
9593
9594         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9595
9596         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9597         using GST_CLOCK_TIME_NONE to disable base time management.
9598         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9599         time if it was NONE before.
9600         (gst_pipeline_change_state): Only munge the base time if
9601         stream_time != GST_CLOCK_TIME_NONE.
9602
9603         * check/gst/gstpipeline.c (test_base_time): Punt around the
9604         problem of the probe not being called, because that's not the
9605         issue I'm looking at. Add a check that setting stream_time to NONE
9606         disables base time management.
9607         
9608 2005-11-15  Wim Taymans  <wim@fluendo.com>
9609
9610         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9611         segment_stop == -1 at startup.
9612
9613         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9614         (gst_base_transform_change_state):
9615         Init segment values at start.
9616
9617 2005-11-15  Wim Taymans  <wim@fluendo.com>
9618
9619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9620         0 segment values are 0 in any format.
9621
9622         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9623         * gst/base/gstbasetransform.h:
9624         Parse newsegment correctly in basetransform
9625
9626         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9627         Sync to clock using updated segment values.
9628
9629 2005-11-15  Andy Wingo  <wingo@pobox.com>
9630
9631         * check/gst/gstpipeline.c (test_base_time): Add check that the
9632         base time and stream time are reset correctly.
9633
9634 2005-11-15  Wim Taymans  <wim@fluendo.com>
9635
9636         * docs/design/part-TODO.txt:
9637         Some more TODO items.
9638
9639 2005-11-15  Andy Wingo  <wingo@pobox.com>
9640
9641         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9642         error if the user selected "no clock" as the clocking method.
9643
9644         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9645         timestamps with live capture.
9646
9647         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9648         is 0 but we are a live source, timestamp the buffers using the
9649         element's clock.
9650
9651 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9652
9653         * docs/gst/gstreamer-sections.txt:
9654         * gst/gsterror.c:
9655         * gst/gstghostpad.c:
9656         * gst/gstobject.h:
9657         * gst/gstxml.c:
9658           more section docs
9659
9660 2005-11-14  Wim Taymans  <wim@fluendo.com>
9661
9662         * common/gst.supp:
9663           add suppressions from Wim's Debian machine
9664
9665 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9666
9667         * common/gst.supp:
9668           add suppressions from Andy's AMD64 Ubuntu machine
9669
9670 2005-11-14  Andy Wingo  <wingo@pobox.com>
9671
9672         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9673         STATE_LOCK not necessary. Fixes #311489.
9674
9675         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9676         #305291.
9677
9678         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9679         this function is not implemented.
9680
9681 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9682
9683         * gst/base/gstbasetransform.c:
9684         (gst_base_transform_prepare_output_buf):
9685         Ref the source pad caps while we need them.
9686         Fixes (#321386)
9687
9688 2005-11-11  Wim Taymans  <wim@fluendo.com>
9689
9690         * docs/gst/gstreamer-sections.txt:
9691         Added some docs for GstCollectData.
9692
9693         * gst/base/gstadapter.c:
9694         Some small code example fix.
9695
9696         * gst/base/gstcollectpads.c:
9697         * gst/base/gstcollectpads.h:
9698         Document some more.
9699
9700 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9701
9702         * configure.ac: back to HEAD
9703
9704 === release 0.9.5 ===
9705
9706 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9707
9708         * configure.ac:
9709           releasing 0.9.5, "Bike Lunch Day"
9710
9711 2005-11-11  Wim Taymans  <wim@fluendo.com>
9712
9713         * gst/gstbuffer.c: (_gst_buffer_copy):
9714         Copy more flags.
9715
9716         * gst/gstcaps.c: (gst_caps_is_equal):
9717         Fix some docs.
9718         Make _is_equal fast in the trivial cases.
9719
9720         * gst/gstminiobject.c:
9721         * gst/gstminiobject.h:
9722         More docs. Spifify .h file.
9723
9724         * gst/gstutils.c:
9725         Small doc update.
9726
9727 2005-11-11  Wim Taymans  <wim@fluendo.com>
9728
9729         * gst/base/gstbasetransform.c:
9730         (gst_base_transform_prepare_output_buf),
9731         (gst_base_transform_handle_buffer):
9732         Small cleanups.
9733         If we're processing a buffer and need to allocate an output
9734         buffer, we cannot accept a format change. If we did get a 
9735         format change, we have to alloc a buffer ourselves of the 
9736         right size.
9737
9738 2005-11-11  Wim Taymans  <wim@fluendo.com>
9739
9740         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9741         While checking the flag for reentrancy in the gstcaps function
9742         is nice to detect recursive invocations, it also makes it 
9743         impossible to call getcaps from multiple threads, which must be
9744         possible. So, checking for recursive calls has to go.
9745
9746 2005-11-11  Michael Smith <msmith@fluendo.com>
9747
9748         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9749           Don't sync on buffers that fall partially outside our current
9750           segment. Prevents an assertion failure/abort playing some files.
9751
9752 2005-11-10  Andy Wingo  <wingo@pobox.com>
9753
9754         * check/gst/gstbin.c (test_message_state_changed_children): Style
9755         fix..
9756
9757         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9758         gst_bus_poll with the signal watch. Ensures that poll and a signal
9759         watch see the same messages.
9760
9761         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9762         a poll and a watch at the same time get the same messages.
9763
9764 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9765
9766         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9767         * gst/gstcaps.c: (gst_caps_intersect):
9768           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9769           and it's not needed.
9770
9771 2005-11-10  Wim Taymans  <wim@fluendo.com>
9772
9773         * docs/design/part-TODO.txt:
9774         Updated todo.
9775
9776 2005-11-10  Wim Taymans  <wim@fluendo.com>
9777
9778         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9779         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9780         (gst_base_src_do_sync), (gst_base_src_get_range):
9781         Implement clock sync in base class.
9782
9783 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9784
9785         patch by: Tim-Philipp Müller <tim at centricular dot net>
9786
9787         * gst/gststructure.c: (gst_structure_parse_field),
9788         (gst_structure_from_string):
9789           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9790           so that gst_parse_launch() can deal with spaces in filtered link
9791           caps (fixes #164479)
9792         * check/gst/capslist.h:
9793         * check/gst/gststructure.c: (GST_START_TEST):
9794           add unit tests for this change
9795
9796 2005-11-10  Wim Taymans  <wim@fluendo.com>
9797
9798         * docs/gst/gstreamer-sections.txt:
9799         * gst/gstelement.c:
9800         * gst/gstelement.h:
9801         Fix docs, move some STATE macros to private.
9802
9803 2005-11-10  Wim Taymans  <wim@fluendo.com>
9804
9805         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9806         Added check for bug #317341
9807
9808         * gst/gstbuffer.c:
9809         * gst/gstbuffer.h:
9810         Some more spiffifying.
9811
9812         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9813         Call peer linkfunction if we are a source pad. Totally fixes
9814         #317341
9815
9816         * gst/gstpad.c:
9817         Update docs, source pads should call the peer linkfunction
9818         so they can atomically perform the pad link.
9819
9820 2005-11-09  Wim Taymans  <wim@fluendo.com>
9821
9822         * gst/gstbuffer.c:
9823         * gst/gstbuffer.h:
9824         Uber-spiffy-spiffify some more.
9825
9826 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9829         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9830         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9831         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9832         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9833         * gst/gstpad.c: (gst_pad_init):
9834           Use GST_DEBUG_FUNCPTR() more extensively.
9835
9836 2005-11-09  Wim Taymans  <wim@fluendo.com>
9837
9838         * gst/gstobject.c: (gst_object_class_init):
9839         * gst/gstobject.h:
9840         Documentation fixes.
9841
9842 2005-11-09  Edward Hervey  <edward@fluendo.com>
9843
9844         * gst/gsttypefindfactory.c:
9845         Fix docs.
9846         
9847 2005-11-09  Edward Hervey  <edward@fluendo.com>
9848
9849         * gst/base/gsttypefindhelper.c:
9850         * gst/gsttypefind.c:
9851         * gst/gsttypefind.h:
9852         Fix docs.
9853
9854 2005-11-09  Wim Taymans  <wim@fluendo.com>
9855
9856         * gst/gstiterator.c:
9857         Fix revision data.
9858
9859         * gst/gsttask.c:
9860         * gst/gsttask.h:
9861         Fix docs.
9862
9863 2005-11-09  Wim Taymans  <wim@fluendo.com>
9864
9865         * gst/gstevent.h:
9866         * gst/gsturi.h:
9867         Fix docs.
9868
9869 2005-11-09  Wim Taymans  <wim@fluendo.com>
9870
9871         * docs/gst/gstreamer-sections.txt:
9872         Moved the message async delivery private lock and cond
9873         to the private section.
9874
9875         * gst/gstmessage.c:
9876         * gst/gstmessage.h:
9877         Fixed docs.
9878
9879 2005-11-09  Edward Hervey  <edward@fluendo.com>
9880
9881         * docs/gst/gstreamer-sections.txt:
9882         * gst/gsturi.c:
9883         * gst/gsturi.h:
9884         Document GstURIHandler
9885
9886 2005-11-09  Wim Taymans  <wim@fluendo.com>
9887
9888         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9889         (gst_iterator_find_custom):
9890         * gst/gstiterator.h:
9891         Fix iterator docs.
9892
9893 2005-11-09  Wim Taymans  <wim@fluendo.com>
9894
9895         * gst/gstbin.h:
9896         Document another field.
9897
9898         * gst/gststructure.c:
9899         * gst/gststructure.h:
9900         Document.
9901
9902 2005-11-09  Wim Taymans  <wim@fluendo.com>
9903
9904         * gst/gstbin.h:
9905         Documented structs.
9906
9907 2005-11-09  Wim Taymans  <wim@fluendo.com>
9908
9909         * docs/gst/gstreamer-sections.txt:
9910         Added some new macros.
9911
9912         * gst/gstclock.c:
9913         * gst/gstclock.h:
9914         * gst/gstobject.h:
9915         Docs updates.
9916
9917 2005-11-09  Wim Taymans  <wim@fluendo.com>
9918
9919         * docs/design/part-TODO.txt:
9920         Some more items for the TODO
9921
9922         * gst/gstcaps.c:
9923         * gst/gstcaps.h:
9924         Document GstCaps.
9925
9926 2005-11-09  Andy Wingo  <wingo@pobox.com>
9927
9928         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9929         to work on something else now tho...
9930
9931         * gst/base/gstadapter.c: More adapter docs.
9932
9933         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9934         (gst_file_sink_stop): New functions, replace the state change
9935         handler.
9936         (gst_file_sink_class_init): Hook up the start and stop functions.
9937         (gst_file_sink_base_init): Don't set the state change handler any
9938         more. It was a bit ugly too, being set from here...
9939         (gst_file_sink_get_property, gst_file_sink_set_property):
9940         Cleanups...
9941         (gst_file_sink_set_location): More robust check that doesn't call
9942         GST_STATE. Ugggggg.
9943
9944 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9945
9946         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9947           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9948
9949 2005-11-08  Wim Taymans  <wim@fluendo.com>
9950
9951         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9952         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9953         (gst_base_sink_chain), (gst_base_sink_change_state):
9954         * gst/base/gstbasesink.h:
9955         * gst/base/gstbasesrc.h:
9956         * gst/gstelement.h:
9957         * gst/gstevent.h:
9958         Avoid excessive typechecking in macros.
9959
9960         * gst/gstminiobject.c: (gst_mini_object_get_type),
9961         (gst_mini_object_init), (gst_mini_object_new),
9962         (gst_mini_object_free):
9963         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9964         (gst_object_finalize):
9965         Remove cruft code, optimize alloc_trace.
9966
9967 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9968
9969         * docs/faq/gst-uninstalled:
9970           fix up PS1 for systems that try to reset it
9971
9972 2005-11-07  Wim Taymans  <wim@fluendo.com>
9973
9974         * gst/base/gstbasesrc.c: (gst_base_src_init),
9975         (gst_base_src_get_range):
9976         Set the segment_end to -1 initially. Fixed typefind.
9977
9978 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9979
9980         * gst/base/gstadapter.c:
9981           Debug category should be 'adapter', not 'GstAdapter'.
9982           
9983         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9984         (gst_collectpads_class_init), (gst_collectpads_init),
9985         (gst_collectpads_peek), (gst_collectpads_pop),
9986         (gst_collectpads_event), (gst_collectpads_chain):
9987           Add debug category and some debugging output. Use boilerplate
9988           macros. Remove some extraneous words from docs.
9989
9990 2005-11-05  Andy Wingo  <wingo@pobox.com>
9991
9992         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9993         macro.
9994
9995 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9996
9997         * docs/gst/gstreamer-sections.txt:
9998         * gst/gstcaps.h:
9999         * gst/gstinfo.c:
10000         * gst/gstminiobject.h:
10001         * gst/gstobject.h:
10002         * gst/gstutils.h:
10003           more docs added
10004
10005 2005-11-04  Wim Taymans  <wim@fluendo.com>
10006
10007         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10008         Small update to stop at the configured segment_end
10009         position.
10010
10011 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10012
10013         * gst/gstregistry.c:
10014         * gst/gstregistry.h:
10015           added missing docs
10016
10017 2005-11-04  Edward Hervey  <edward@fluendo.com>
10018
10019         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10020         Check if we are doing a segment seek and have arrived at the
10021         end of that segment.
10022
10023 2005-11-04  Wim Taymans  <wim@fluendo.com>
10024
10025         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10026         Don't leak a mutex unlock in case of an error.
10027
10028         * gst/gstbus.h:
10029         Doc fixes.
10030
10031 2005-11-04  Wim Taymans  <wim@fluendo.com>
10032
10033         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10034         (gst_bus_post):
10035         Get the context to wake up only once.
10036
10037 2005-11-03  Wim Taymans  <wim@fluendo.com>
10038
10039         * check/states/sinks.c: (GST_START_TEST):
10040         Uncomment fixed check.
10041
10042         * docs/design/part-TODO.txt:
10043         Updated TODO.
10044
10045         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10046         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10047         (gst_base_sink_get_position):
10048         If we are going to PLAYING, post the right pending state
10049         when we post the intermediate paused message.
10050
10051         * gst/gstelement.c: (gst_element_continue_state),
10052         (gst_element_set_state_func), (gst_element_change_state):
10053         Don't post state changes that were between the same state
10054         and were not ASYNC.
10055
10056 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10057
10058         * docs/gst/gstreamer-sections.txt:
10059         * gst/gstcaps.h:
10060         * gst/gstinfo.c:
10061         * gst/gstminiobject.h:
10062         * gst/gstobject.h:
10063         * gst/gstutils.h:
10064           more docs and doc style fixes
10065
10066 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10067
10068         * docs/gst/gstreamer-sections.txt:
10069         * gst/gstelement.c:
10070         * gst/gstminiobject.c:
10071         doc fixes
10072
10073 2005-11-03  Andy Wingo  <wingo@pobox.com>
10074
10075         * check/states/sinks.c (test_livesrc_sink): Add checks that the
10076         state-changed messages actually have the right order and the right
10077         values.
10078
10079 2005-11-03  Wim Taymans  <wim@fluendo.com>
10080
10081         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10082         Added some more checks. Specifically the case where NO_PREROLL
10083         elements are in the pipeline.
10084
10085         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10086         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10087         (gst_base_sink_get_position):
10088         Post READY->PAUSED state change messages too.
10089         Fix bug where VOID was posted as pending state...
10090
10091         * gst/gstbin.c: (gst_bin_recalc_state):
10092         use _element_continue_state() to continue the state change.
10093
10094         * gst/gstelement.c: (gst_element_continue_state),
10095         (gst_element_commit_state), (gst_element_set_state_func),
10096         (gst_element_change_state), (gst_element_change_state_func):
10097         Lots of state change cleanups, assign the STATE_RETURN in
10098         a new continue_state() function that also propagates the
10099         last return value from a state change to the app.
10100         Update some debug statements with proper category.
10101
10102 2005-11-03  Wim Taymans  <wim@fluendo.com>
10103
10104         * docs/design/part-events.txt:
10105         * docs/design/part-gstpipeline.txt:
10106         * docs/design/part-messages.txt:
10107         * docs/design/part-overview.txt:
10108         * docs/design/part-seeking.txt:
10109         * docs/design/part-states.txt:
10110         * docs/design/part-trickmodes.txt:
10111         * docs/manual/advanced-position.xml:
10112         Small docs updates.
10113
10114         * gst/gstobject.h:
10115         People think !! is ugly, this looks better.
10116
10117         * gst/gstpad.c: (gst_pad_set_blocked_async):
10118         Remove !! since it's fixed elsewhere now.
10119
10120 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10121
10122         * gst/gstminiobject.h:
10123         * gst/gstobject.h:
10124           Add !! to _FLAG_IS_SET macros to make the result boolean.
10125
10126 2005-11-03  Edward Hervey  <edward@fluendo.com>
10127
10128         * gst/gstpad.c: (gst_pad_set_blocked_async):
10129         comparing a flag and a gboolean rarely returns coherent results...
10130         Added two characters (!!) to make that work correctly.
10131         
10132 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10133
10134         * gst/gstbus.c: (gst_bus_class_init):
10135           Fix some typos.
10136           
10137         * gst/gstqueue.c: (gst_queue_loop):
10138           Don't assume a miniobject that isn't a buffer is an
10139           event (it could be that there is a refcounting
10140           problem somewhere and the pointer is stale and
10141           refers to an already destroyed miniobject).
10142
10143 2005-11-03  Julien MOUTTE  <julien@moutte.net>
10144
10145         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10146
10147 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10148
10149         * docs/manual/advanced-position.xml:
10150           Update seek example and explanations to current 0.9 API.
10151
10152         * gst/elements/gsttypefindelement.c:
10153         (gst_type_find_element_activate):
10154           Remove FIXME comment now that the found caps
10155           are unreffed.
10156
10157 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10158
10159         * gst/gstregistryxml.c: (load_feature):
10160           Add another GST_STR_NULL instance
10161
10162 2005-11-02  Edward Hervey  <edward@fluendo.com>
10163
10164         * gst/gstpad.c: (handle_pad_block):
10165         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10166         
10167 2005-11-02  Wim Taymans  <wim@fluendo.com>
10168
10169         * gst/gstbin.c:
10170         Fix typo in docs.
10171
10172         * gst/gstelement.c: (gst_element_commit_state):
10173         Remove unused value.
10174
10175         * gst/gstiterator.c:
10176         Mention that the returned element is reffed in the docs.
10177
10178 2005-11-02  Wim Taymans  <wim@fluendo.com>
10179
10180         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10181         (gst_pad_push), (gst_pad_push_event):
10182         Unlock blocked pads when they are flushed.
10183
10184 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10185
10186         * docs/README:
10187         * docs/gst/gstreamer-sections.txt:
10188         * gst/gstbin.c:
10189           doc updates
10190         * gst/gstregistry.c: (gst_registry_scan_path_level):
10191           fix for a nasty little missed situation where an installed plug-in
10192           which was in the cache did not get overridden by an uninstalled one
10193           which was earlier in the plugin path because the newly created plugin
10194           for the uninstalled one (not in the registry) didn't get its
10195           ->registered set to TRUE
10196
10197 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10198
10199         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10200         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10201         (gst_collectpads_is_active), (gst_collectpads_collect),
10202         (gst_collectpads_collect_range), (gst_collectpads_start),
10203         (gst_collectpads_stop), (gst_collectpads_peek),
10204         (gst_collectpads_pop), (gst_collectpads_available),
10205         (gst_collectpads_read), (gst_collectpads_flush):
10206           Guard public API with assertions.
10207         
10208         * gst/gstpad.c:
10209           Fix docs for gst_pad_set_link_function().
10210
10211 2005-11-02  Johan Dahlin  <johan@gnome.org>
10212
10213         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
10214         Unref found_caps after we used it.
10215
10216 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10217
10218         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10219           Don't try to ref NULL.
10220
10221 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10222
10223         * win32/common/config.h.in:
10224           provide a GST_FUNCTION that just gives a string for now
10225
10226 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10227
10228         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10229         (gst_object_flags_get_type), (register_gst_bin_flags),
10230         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10231         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10232         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10233         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10234         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10235         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10236         (gst_clock_flags_get_type), (register_gst_state),
10237         (gst_state_get_type), (register_gst_state_change_return),
10238         (gst_state_change_return_get_type), (register_gst_state_change),
10239         (gst_state_change_get_type), (register_gst_element_flags),
10240         (gst_element_flags_get_type), (register_gst_core_error),
10241         (gst_core_error_get_type), (register_gst_library_error),
10242         (gst_library_error_get_type), (register_gst_resource_error),
10243         (gst_resource_error_get_type), (register_gst_stream_error),
10244         (gst_stream_error_get_type), (register_gst_event_type),
10245         (gst_event_type_get_type), (register_gst_seek_type),
10246         (gst_seek_type_get_type), (register_gst_seek_flags),
10247         (gst_seek_flags_get_type), (register_gst_format),
10248         (gst_format_get_type), (register_gst_index_certainty),
10249         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10250         (gst_index_entry_type_get_type),
10251         (register_gst_index_lookup_method),
10252         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10253         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10254         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10255         (gst_index_flags_get_type), (register_gst_debug_level),
10256         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10257         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10258         (gst_iterator_result_get_type), (register_gst_iterator_item),
10259         (gst_iterator_item_get_type), (register_gst_message_type),
10260         (gst_message_type_get_type), (register_gst_mini_object_flags),
10261         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10262         (gst_pad_link_return_get_type), (register_gst_flow_return),
10263         (gst_flow_return_get_type), (register_gst_activate_mode),
10264         (gst_activate_mode_get_type), (register_gst_pad_direction),
10265         (gst_pad_direction_get_type), (register_gst_pad_flags),
10266         (gst_pad_flags_get_type), (register_gst_pad_presence),
10267         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10268         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10269         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10270         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10271         (gst_plugin_flags_get_type), (register_gst_rank),
10272         (gst_rank_get_type), (register_gst_query_type),
10273         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10274         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10275         (gst_tag_flag_get_type), (register_gst_task_state),
10276         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10277         (gst_alloc_trace_flags_get_type),
10278         (register_gst_type_find_probability),
10279         (gst_type_find_probability_get_type), (register_gst_uri_type),
10280         (gst_uri_type_get_type), (register_gst_parse_error),
10281         (gst_parse_error_get_type):
10282         * win32/common/gstversion.h:
10283           update win32 copies
10284
10285 2005-11-01  Luca Ognibene  <luogni@tin.it>
10286
10287         * gst/gst.c:
10288           fix docs. popt is dead, long live GOption.
10289
10290 2005-10-31  Wim Taymans  <wim@fluendo.com>
10291
10292         * gst/gstbuffer.h:
10293         Small doc fix.
10294
10295 2005-10-31  Andy Wingo  <wingo@pobox.com>
10296
10297         * Boo!
10298
10299         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10300
10301         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10302         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10303         the possibility of deadlocks here if code calling notify() or
10304         set() has a lock that can be taken in another notify handler (ABBA
10305         with class lock and e.g. python GIL state lock).
10306
10307 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10308
10309         * gst/gstbus.c: Doc updates.
10310
10311 2005-10-28  Wim Taymans  <wim@fluendo.com>
10312
10313         * docs/design/part-TODO.txt:
10314         * gst/gstiterator.c:
10315         * gst/gstsystemclock.c:
10316         * gst/gstsystemclock.h:
10317         Doc updates.
10318
10319 2005-10-28  Edward Hervey  <edward@fluendo.com>
10320
10321         * docs/gst/gstreamer-docs.sgml:
10322         * docs/gst/gstreamer-sections.txt:
10323         the GstURIType documentation page is private, it only defines GstURIType
10324         which should be defined in the GstURIHandler page
10325         
10326 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10327
10328         * gst/gstbin.c: (gst_bin_class_init):
10329         * gst/gstbin.h:
10330         * gst/gstutils.c:
10331         Documentation updates.
10332
10333 2005-10-28  Wim Taymans  <wim@fluendo.com>
10334
10335         * docs/gst/gstreamer-sections.txt:
10336         * gst/gstclock.c:
10337         * gst/gstclock.h:
10338         Documented the clocks.
10339
10340 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10341
10342         * docs/gst/gstreamer-sections.txt:
10343           move some macros to private sections
10344         * gst/gstminiobject.c:
10345         * gst/gstminiobject.h:
10346           add descriptions provided by ds and some more
10347         * gst/gstpad.h:
10348           mark macro as to be removed
10349
10350 2005-10-28  Wim Taymans  <wim@fluendo.com>
10351
10352         * docs/design/part-TODO.txt:
10353         Add an item to TODO.
10354
10355         * gst/gstiterator.c: (gst_iterator_fold),
10356         (gst_iterator_find_custom):
10357         * gst/gstiterator.h:
10358         Add iterator docs.
10359
10360 2005-10-28  Wim Taymans  <wim@fluendo.com>
10361
10362         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10363         (gst_base_transform_init):
10364         Don't leak class.
10365
10366         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10367         An EOS event marks the queue as completely filled.
10368
10369 2005-10-27  Wim Taymans  <wim@fluendo.com>
10370
10371         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10372         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10373         Some more debugging.
10374
10375         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10376         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10377         (gst_base_transform_event), (gst_base_transform_getrange),
10378         (gst_base_transform_chain):
10379         * gst/base/gstbasetransform.h:
10380         Fix debugging,
10381         Protect transform and concurrent buffer alloc with a new lock.
10382         Try not to break ABI/API.
10383
10384 2005-10-27  Wim Taymans  <wim@fluendo.com>
10385
10386         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10387         (gst_base_src_init), (gst_base_src_query),
10388         (gst_base_src_default_newsegment),
10389         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10390         (gst_base_src_send_event), (gst_base_src_event_handler),
10391         (gst_base_src_pad_get_range), (gst_base_src_loop),
10392         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10393         (gst_base_src_start), (gst_base_src_deactivate),
10394         (gst_base_src_activate_push), (gst_base_src_change_state):
10395         Move some stuff around and cleanup things.
10396
10397 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10398
10399         * gst/base/gstbasesrc.c: (gst_base_src_query):
10400           Add missing break statements.
10401
10402 2005-10-27  Wim Taymans  <wim@fluendo.com>
10403
10404         * check/gst/gstbin.c: (GST_START_TEST):
10405         An extra refcount is taken in basesrc.
10406
10407         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10408         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10409         (gst_base_src_loop):
10410         Small cleanups, check for flushing after being unlocked from the 
10411         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10412         Don't send out EOS when going to READY.
10413
10414 2005-10-27  Wim Taymans  <wim@fluendo.com>
10415
10416         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10417         (gst_base_sink_get_position):
10418         Some more debug.
10419
10420         * gst/gstbin.c: (message_check), (bin_replace_message),
10421         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10422         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10423         (bin_query_duration_init), (bin_query_duration_fold),
10424         (bin_query_duration_done), (bin_query_generic_fold),
10425         (gst_bin_query):
10426         * tools/gst-launch.c: (main):
10427         Remove old option.
10428
10429 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10430
10431         * examples/controller/audio-example.c: (main):
10432         * examples/queue/queue.c: (event_loop):
10433         * gst/base/gstbasetransform.h:
10434         * gst/gstelement.c: (gst_element_send_event):
10435         * gst/gstevent.h:
10436         * gst/gstpad.c: (gst_pad_send_event):
10437           fixing examples
10438           fixing docs typos
10439           changing log priority in error situations
10440
10441 2005-10-25  Wim Taymans  <wim@fluendo.com>
10442
10443         * gst/gstbin.c: (message_check), (bin_replace_message),
10444         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10445         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10446         (bin_query_duration_init), (bin_query_duration_fold),
10447         (bin_query_duration_done), (bin_query_generic_fold),
10448         (gst_bin_query):
10449         Some doc and debug updates.
10450         Cache previously requested query DURATION for speed. invalidate
10451         cached duration if element posts a DURATION message.
10452
10453 2005-10-25  Wim Taymans  <wim@fluendo.com>
10454
10455         * docs/design/part-TODO.txt:
10456         Update TODO.
10457
10458         * gst/gstbin.c: (message_check), (bin_replace_message),
10459         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10460         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10461         (bin_query_duration_init), (bin_query_duration_fold),
10462         (bin_query_duration_done), (bin_query_generic_fold),
10463         (gst_bin_query):
10464         Handle SEGMENT_START/DONE messages correctly.
10465         More evolved query algorithm that handles duration queries
10466         correctly.
10467
10468         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10469         (gst_element_get_state_func), (gst_element_abort_state),
10470         (gst_element_commit_state), (gst_element_lost_state):
10471         Some more debugging.
10472
10473         * gst/gstmessage.h:
10474         Added doc.
10475
10476 2005-10-25  Wim Taymans  <wim@fluendo.com>
10477
10478         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10479         Don't use invalid stream_time.
10480
10481         * gst/gstevent.c: (gst_event_new_newsegment):
10482         stream_time in newsegment cannot be undefined.
10483
10484 2005-10-24  Wim Taymans  <wim@fluendo.com>
10485
10486         * gst/gstbus.c:
10487         Doc fix.
10488
10489         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10490         (gst_queue_loop):
10491         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10492
10493 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10494
10495         * docs/libs/tmpl/gstdparam.sgml:
10496         * docs/libs/tmpl/gstdplinint.sgml:
10497         * docs/libs/tmpl/gstdpman.sgml:
10498         * docs/libs/tmpl/gstdpsmooth.sgml:
10499         * docs/libs/tmpl/gstunitconvert.sgml:
10500           these are obsolete
10501
10502 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10503
10504         * configure.ac:
10505           back to HEAD
10506
10507 === release 0.9.4 ===
10508
10509 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10510
10511         * configure.ac:
10512           releasing 0.9.4, "Tyrannosaurus Rex"
10513
10514 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10515
10516         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10517         (gst_file_sink_get_current_offset):
10518           Use fseeko() and ftello() if available. When falling back on
10519           lseek() to get the current offset, fflush() first to make sure
10520           everything is up-to-date and we get the right offset.
10521
10522 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10523
10524         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10525         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10526         * gst/gsterror.c: (_gst_stream_errors_init):
10527         * gst/gsterror.h:
10528         * gst/gstqueue.c: (gst_queue_loop):
10529         * po/POTFILES.in:
10530           remove prematurely added error category and clean up the instances
10531
10532 2005-10-21  Wim Taymans  <wim@fluendo.com>
10533
10534         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10535         (gst_base_sink_get_position), (gst_base_sink_query),
10536         (gst_base_sink_change_state):
10537         Simply set the right flag when going to playing, that's all
10538         we need to do instead of calling a function inside the object
10539         lock (that could take the lock as well and deadlock)
10540
10541 2005-10-21  Wim Taymans  <wim@fluendo.com>
10542
10543         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10544         (gst_base_src_loop):
10545         Don't warn, the peer element knows what to do best when
10546         the seek failed, it might try something else.
10547
10548 2005-10-21  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/base/gstbasesrc.c: (gst_base_src_init),
10551         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10552         Fix seeking.
10553
10554 2005-10-21  Wim Taymans  <wim@fluendo.com>
10555
10556         * docs/design/part-segments.txt:
10557         More docs.
10558
10559         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10560         Correctly set caps, even on the subbufer.
10561
10562 2005-10-21  Wim Taymans  <wim@fluendo.com>
10563
10564         * docs/gst/gstreamer-docs.sgml:
10565         * docs/gst/gstreamer-sections.txt:
10566         * gst/gstelement.h:
10567         * gst/gstevent.c:
10568         * gst/gstevent.h:
10569         * gst/gstmessage.h:
10570         * gst/gstpad.h:
10571         * gst/gstparse.h:
10572         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10573         * gst/gsttask.h:
10574         * gst/gstutils.c:
10575         * gst/gstutils.h:
10576         And 2% more doc coverage.
10577
10578 2005-10-21  Andy Wingo  <wingo@pobox.com>
10579
10580         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10581         position reporting.
10582
10583 2005-10-20  Wim Taymans  <wim@fluendo.com>
10584
10585         * gst/gsterror.c: (gst_error_get_message):
10586         * gst/gstparse.h:
10587         * gst/gstquery.h:
10588         * gst/gststructure.c:
10589         * gst/gsttrace.c:
10590         * gst/gstutils.c:
10591         More docs.
10592
10593 2005-10-20  Wim Taymans  <wim@fluendo.com>
10594
10595         * gst/gstbuffer.h:
10596         * gst/gstpad.c:
10597         * gst/gstparse.c:
10598         Another 1% more coverage.
10599
10600 2005-10-20  Wim Taymans  <wim@fluendo.com>
10601
10602         * docs/gst/gstreamer-sections.txt:
10603         * gst/gstelement.c: (gst_element_get_state_func),
10604         (gst_element_abort_state), (gst_element_commit_state),
10605         (gst_element_lost_state):
10606         * gst/gstevent.h:
10607         * gst/gstquery.c: (gst_query_set_position),
10608         (gst_query_parse_position), (gst_query_set_duration),
10609         (gst_query_parse_duration), (gst_query_new_convert):
10610         * gst/gstutils.c:
10611         Yay! 1% more docs coverage.
10612
10613 2005-10-20  Wim Taymans  <wim@fluendo.com>
10614
10615         * gst/gstpad.h:
10616         * gst/gstquery.c: (gst_query_set_position),
10617         (gst_query_parse_position), (gst_query_set_duration),
10618         (gst_query_parse_duration), (gst_query_new_convert):
10619         * gst/gstquery.h:
10620         * gst/gstutils.c: (gst_element_query_convert):
10621         * gst/gstutils.h:
10622         Docs and consistency fixes.
10623
10624 2005-10-20  Wim Taymans  <wim@fluendo.com>
10625
10626         * gst/gsttask.c:
10627         * gst/gsttask.h:
10628         More docs.
10629
10630 2005-10-20  Wim Taymans  <wim@fluendo.com>
10631
10632         * gst/gstbin.c: (message_check), (bin_replace_message),
10633         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10634         (update_degree), (gst_bin_sort_iterator_next),
10635         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10636         Reworked the message handling a bit, cache the messages instead of
10637         only the senders. alows us to do more in the future.
10638
10639 2005-10-20  Wim Taymans  <wim@fluendo.com>
10640
10641         * docs/design/part-TODO.txt:
10642         Update TODO
10643
10644         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10645         (gst_base_sink_query):
10646         Don't use clock time to report position when in EOS.
10647
10648 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10649
10650         * tools/gst-inspect.c: (print_interfaces),
10651         (print_element_properties_info), (print_element_info):
10652           Fix interface output with gst-inspect -a; don't print
10653           newlines after double/float properties.
10654
10655 2005-10-20  Wim Taymans  <wim@fluendo.com>
10656
10657         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10658         (gst_base_sink_query):
10659         Speed up current position calculation.
10660
10661         * gst/base/gstbasesrc.c: (gst_base_src_query),
10662         (gst_base_src_default_newsegment):
10663         Correctly set stream position in newsegment.
10664
10665         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10666         (update_degree), (gst_bin_sort_iterator_next),
10667         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10668         * gst/gstmessage.c: (gst_message_new_custom):
10669         Clean up debugging info
10670
10671         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10672         (gst_queue_loop), (gst_queue_handle_src_query):
10673         Pause task faster.
10674
10675 2005-10-19  Wim Taymans  <wim@fluendo.com>
10676
10677         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10678         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10679         Fix query handling again.
10680
10681 2005-10-19  Wim Taymans  <wim@fluendo.com>
10682
10683         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10684         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10685         * gst/base/gstbasesrc.c: (gst_base_src_query):
10686         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10687         * gst/elements/gsttypefindelement.c:
10688         (gst_type_find_handle_src_query), (find_element_get_length),
10689         (gst_type_find_element_activate):
10690         API change fix.
10691
10692         * gst/gstquery.c: (gst_query_new_position),
10693         (gst_query_set_position), (gst_query_parse_position),
10694         (gst_query_new_duration), (gst_query_set_duration),
10695         (gst_query_parse_duration), (gst_query_set_segment),
10696         (gst_query_parse_segment):
10697         * gst/gstquery.h:
10698         Bundling query position/duration is not a good idea since duration
10699         does not change much and we don't want to recalculate it for every
10700         position query, so they are separated again..
10701         Base value in segment query is not needed.
10702
10703         * gst/gstqueue.c: (gst_queue_handle_src_query):
10704         * gst/gstutils.c: (gst_element_query_position),
10705         (gst_element_query_duration), (gst_pad_query_position),
10706         (gst_pad_query_duration):
10707         * gst/gstutils.h:
10708         Updates for query API change.
10709         Added some docs here and there.
10710
10711 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10712
10713         * check/gst/gstbin.c: (GST_START_TEST):
10714         * check/gst/gstghostpad.c: (GST_START_TEST):
10715         * check/pipelines/cleanup.c: (GST_START_TEST):
10716           wait on thread to die so we can check refcount correctly
10717
10718 2005-10-18  Wim Taymans  <wim@fluendo.com>
10719
10720         * check/pipelines/stress.c: (GST_START_TEST):
10721         Make check a little more time consuming.
10722
10723 2005-10-18  Wim Taymans  <wim@fluendo.com>
10724
10725         * check/Makefile.am:
10726         * check/pipelines/stress.c: (GST_START_TEST),
10727         (simple_launch_lines_suite), (main):
10728         Small state change torture test.
10729
10730         * docs/design/part-states.txt:
10731         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10732         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10733         (gst_base_sink_change_state):
10734         Never take state lock from streaming thread, clean up ugly
10735         hacks. Unfortunatly core does not yet support nice ways to
10736         async commit state.
10737         
10738         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10739         (bin_bus_handler):
10740         Start state recalc if a STATE_DIRTY message is posted, but only
10741         on the toplevel bin.
10742
10743         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10744         (gst_element_get_state_func), (gst_element_abort_state),
10745         (gst_element_commit_state), (gst_element_lost_state),
10746         (gst_element_set_state_func), (gst_element_change_state):
10747         * gst/gstelement.h:
10748         State variables are now protected with the LOCK, the state
10749         lock is only used to serialize _set_state().
10750
10751 2005-10-18  Wim Taymans  <wim@fluendo.com>
10752
10753         * check/gst/gstbin.c: (GST_START_TEST):
10754         * check/gst/gstmessage.c: (GST_START_TEST):
10755         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10756         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10757         (bin_bus_handler):
10758         * gst/gstelement.c: (gst_element_abort_state),
10759         (gst_element_commit_state), (gst_element_lost_state):
10760         * gst/gstmessage.c: (gst_message_new_state_changed),
10761         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10762         (gst_message_new_segment_done), (gst_message_new_duration),
10763         (gst_message_parse_state_changed),
10764         (gst_message_parse_segment_start),
10765         (gst_message_parse_segment_done), (gst_message_parse_duration):
10766         * gst/gstmessage.h:
10767         * tools/gst-launch.c: (event_loop):
10768         Seriously, this is better than a previous commit as we only need
10769         to notify the fact that an element changed state in a streaming
10770         thread, marking the state of the parents dirty, hence the 
10771         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10772         message.
10773
10774 2005-10-18  Wim Taymans  <wim@fluendo.com>
10775
10776         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10777         (gst_bin_recalc_func):
10778         * gst/gstelement.c: (gst_element_set_clock),
10779         (gst_element_abort_state), (gst_element_lost_state):
10780         Cleanups, prepare for state change fixes.
10781
10782 2005-10-18  Wim Taymans  <wim@fluendo.com>
10783
10784         * gst/gstbin.h:
10785         * gst/gstelement.c: (gst_element_class_init),
10786         (gst_element_set_state), (gst_element_set_state_func):
10787         * gst/gstelement.h:
10788         Pending ABI changes.
10789         GThreadPool in GstBinClass to monitor async state changes.
10790         state_cookie in GstElement to detect concurrent gst/set state.
10791         set_state is now virtual too in case a very complicated element
10792         has to be constructed.
10793
10794 2005-10-18  Wim Taymans  <wim@fluendo.com>
10795
10796         * check/gst/gstbin.c: (GST_START_TEST):
10797         * check/gst/gstmessage.c: (GST_START_TEST):
10798         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10799         * gst/gstbin.c: (bin_bus_handler):
10800         * gst/gstelement.c: (gst_element_commit_state),
10801         (gst_element_lost_state):
10802         * gst/gstmessage.c: (gst_message_new_state_changed),
10803         (gst_message_new_segment_start), (gst_message_new_segment_done),
10804         (gst_message_new_duration), (gst_message_parse_state_changed),
10805         (gst_message_parse_segment_start),
10806         (gst_message_parse_segment_done), (gst_message_parse_duration):
10807         * gst/gstmessage.h:
10808         * tools/gst-launch.c: (event_loop):
10809         Make messages future proof.
10810         state-change gets a flag if it was a message comming from the
10811         streaming thread.
10812         segment-start/stop can also be specified in other formats.
10813         A message to notify an app that a pipeline changed playback 
10814         duration.
10815         Also fix a GstMessage leak in -launch
10816
10817 2005-10-18  Andy Wingo  <wingo@pobox.com>
10818
10819         * gst/gstelement.c (gst_element_dispose): More helpful message.
10820
10821 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10822
10823         reviewed by: <delete if not using a buddy>
10824
10825         * common/gtk-doc.mak:
10826
10827 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10828
10829         * gst/gstregistry.c: (gst_registry_scan_path_level):
10830           unref a plug-in we get that was already initialized
10831
10832 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10833
10834         * docs/gst/gstreamer-sections.txt:
10835         * docs/libs/gstreamer-libs-sections.txt:
10836         * gst/gstelement.h:
10837           add new api entries
10838           hide internal macro
10839
10840 2005-10-17  Andy Wingo  <wingo@pobox.com>
10841
10842         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10843         cleanup.
10844
10845         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10846
10847         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10848
10849         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10850         (gst_element_get_state_func): Better debug message.
10851         (gst_element_commit_state): s/INFO/DEBUG/.
10852         (gst_element_lost_state, gst_element_change_state): 
10853
10854         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10855         (gst_message_new_custom): s/INFO/LOG/.
10856
10857 2005-10-17  Michael Smith <msmith@fluendo.com>
10858
10859         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10860           Check if end time is valid using end time, not start time.
10861
10862 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10863
10864         * check/gst-libs/controller.c: (GST_START_TEST),
10865         (gst_controller_suite):
10866         * libs/gst/controller/gstcontroller.c:
10867         (gst_controlled_property_set_interpolation_mode):
10868         * libs/gst/controller/gstcontroller.h:
10869         * libs/gst/controller/gstinterpolation.c:
10870         * testsuite/controller/.cvsignore:
10871         * testsuite/controller/Makefile.am:
10872         * testsuite/controller/interpolator.c:
10873           merge controller testsuites
10874           fix broken tests
10875           remove mem-chunk from docs
10876
10877 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10878
10879         * gst/gstmemchunk.c:
10880         * gst/gstmemchunk.h:
10881         * gst/gsttrashstack.c:
10882         * gst/gsttrashstack.h:
10883           out.  get out.  you're fired.  to the Attic !
10884
10885 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10886
10887         * gst/gstcaps.c: (gst_caps_intersect):
10888           fix signedness issues in a (hopefully) correct way
10889         * gst/gstelement.c: (gst_element_pads_activate):
10890           some debugging
10891         * gst/gstobject.c: (gst_object_set_parent):
10892           some debugging
10893
10894 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10895
10896         * gst/gstvalue.h: Fix prototypes.
10897
10898 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10899
10900         * docs/gst/gstreamer-sections.txt:
10901         * gst/gst.c: (gst_version_string):
10902         * gst/gst.h:
10903         * gst/gstversion.h.in:
10904         * win32/common/libgstreamer.def:
10905           add gst_version_string ()
10906
10907 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10908
10909         * configure.ac:
10910           clean up further
10911         * gst/gst.c: (init_post):
10912         * win32/common/config.h.in:
10913           it's PLUGINDIR now
10914         * gst/gstcaps.c: (gst_caps_intersect):
10915           use gint64, the range could be bigger than a guint
10916
10917 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10918
10919         * gst/gstclock.h:
10920           document potential problem in 2038
10921
10922 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10923
10924         * gst/gstcaps.c: (gst_caps_intersect):
10925           Fix guint j diving under 0
10926
10927 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10928
10929         * configure.ac:
10930         * win32/common/config.h:
10931         * win32/common/config.h.in:
10932           check for process.h, declares getpid() on Windows
10933         * gst/gstinfo.c:
10934           include process.h if we have it
10935         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10936         * gst/gstmemchunk.h:
10937           fix signedness issues
10938         * win32/common/libgstreamer.def:
10939           fix get_type's
10940
10941 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10942
10943         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10944         fix. Because of unsigned ints, caps intersection was going nuts and
10945         trying to access structures with G_MAXUINT index. That fixes
10946         videotestsrc ! ffmpegcolorspace ! fakesink
10947         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10948         consistency.
10949
10950 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10951
10952         * configure.ac:
10953           use the gettext macro
10954         * gst/elements/gstelements.c:
10955         * gst/gst.c:
10956         * gst/indexers/gstindexers.c:
10957           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10958         * win32/common/config.h:
10959           updated config.h
10960         * win32/common/config.h.in:
10961           add the template to generate config.h
10962         * win32/common/gstenumtypes.c:
10963         * win32/common/gstversion.h:
10964           updated copies
10965
10966 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10967
10968         * gst/gst.c: (gst_version):
10969         * gst/gstversion.h.in:
10970           add the nano
10971
10972 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10973
10974         * gst/gstevent.h:
10975           Oops, add missing closing bracket.
10976
10977 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10978
10979         * configure.ac:
10980           use common m4's for argument checking
10981
10982 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10983
10984         * docs/gst/gstreamer-sections.txt:
10985         * gst/gstevent.h:
10986           Add GST_EVENT_TYPE_NAME() macro.
10987
10988 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10989
10990         * gst/gstinfo.c:
10991         * gst/gstpluginfeature.c:
10992         * gst/gsttask.c:
10993           privatize more symbols
10994
10995 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10996
10997         * configure.ac:
10998           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10999           everything that uses GStreamer API should have the includes
11000
11001 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11002
11003         * docs/gst/gstreamer-sections.txt:
11004         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11005         * gst/gstvalue.h:
11006           give each value a _get_type, removes the DATA exports
11007
11008 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11009
11010         * gst/gst.c:
11011         * gst/gst.h:
11012           remove _gst_registry_auto_load, not used anymore
11013         * gst/gstbin.c: (gst_bin_get_type):
11014         * gst/gstbin.h:
11015         * gst/gstelement.c: (gst_element_get_type):
11016         * gst/gstelement.h:
11017         * gst/gstobject.c: (gst_object_get_type):
11018         * gst/gstobject.h:
11019         * gst/gstpad.c: (gst_pad_get_type):
11020         * gst/gstpad.h:
11021           make _get_type functions similar, fixes data export from library
11022
11023 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11024
11025         * configure.ac:
11026           correctly make conditionals
11027         * gst/elements/Makefile.am:
11028         * gst/elements/gstelements.c:
11029           fix typo causing fdsrc not to build
11030
11031 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11032
11033         * testsuite/Makefile.am:
11034         * testsuite/bytestream/.cvsignore:
11035         * testsuite/bytestream/Makefile.am:
11036         * testsuite/bytestream/filepadsink.c:
11037         * testsuite/bytestream/gstbstest.c:
11038         * testsuite/bytestream/test1.c:
11039         * testsuite/bytestream/testfile1:
11040         * testsuite/caps/normalisation.c:
11041         * testsuite/caps/random.c: (main):
11042         * testsuite/cleanup/.cvsignore:
11043         * testsuite/cleanup/Makefile.am:
11044         * testsuite/cleanup/cleanup1.c:
11045         * testsuite/cleanup/cleanup2.c:
11046         * testsuite/cleanup/cleanup3.c:
11047         * testsuite/cleanup/cleanup4.c:
11048         * testsuite/cleanup/cleanup5.c:
11049         * testsuite/controller/interpolator.c:
11050         * testsuite/debug/printf_extension.c: (main):
11051         * testsuite/elements/tee.c:
11052         * testsuite/negotiation/.cvsignore:
11053         * testsuite/negotiation/Makefile.am:
11054         * testsuite/negotiation/pad_link.c:
11055         * testsuite/pad/Makefile.am:
11056         * testsuite/pad/chainnopull.c:
11057         * testsuite/pad/getnopush.c:
11058         * testsuite/pad/link.c:
11059         * testsuite/refcounting/sched.c: (create_pipeline):
11060         * testsuite/registry/Makefile.am:
11061         * testsuite/registry/gst-print-formats.c:
11062         * testsuite/schedulers/.cvsignore:
11063         * testsuite/schedulers/142183-2.c:
11064         * testsuite/schedulers/142183.c:
11065         * testsuite/schedulers/143777-2.c:
11066         * testsuite/schedulers/143777.c:
11067         * testsuite/schedulers/147713.c:
11068         * testsuite/schedulers/147819.c:
11069         * testsuite/schedulers/147894-2.c:
11070         * testsuite/schedulers/147894.c:
11071         * testsuite/schedulers/Makefile.am:
11072         * testsuite/schedulers/group_link.c:
11073         * testsuite/schedulers/queue_link.c:
11074         * testsuite/schedulers/relink.c:
11075         * testsuite/schedulers/unlink.c:
11076         * testsuite/schedulers/unref.c:
11077         * testsuite/schedulers/useless_iteration.c:
11078         * testsuite/states/bin.c:
11079           clean out/remove some stuff from the testsuite directories
11080
11081 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11082
11083         * configure.ac:
11084           check for some headers
11085         * gst/elements/Makefile.am:
11086         * gst/elements/gstelements.c:
11087           don't compile fdsrc without sys/socket.h
11088         * gst/indexers/Makefile.am:
11089         * gst/indexers/gstindexers.c: (plugin_init):
11090           don't compile fileindex without mmap
11091
11092 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11093
11094         * configure.ac:
11095           reorganize
11096           clean up
11097           document more
11098           remove cruft
11099         * check/Makefile.am:
11100         * docs/gst/Makefile.am:
11101         * examples/helloworld/Makefile.am:
11102         * gst/Makefile.am:
11103         * gst/base/Makefile.am:
11104         * gst/check/Makefile.am:
11105         * gst/elements/Makefile.am:
11106         * gst/indexers/Makefile.am:
11107         * gst/parse/Makefile.am:
11108         * libs/gst/controller/Makefile.am:
11109         * libs/gst/dataprotocol/Makefile.am:
11110         * examples/helloworld/helloworld.c: (event_loop):
11111           compile fixes, though it's not being compiled currently
11112
11113 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11114
11115         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11116           Add some simple tests for the new taglist date API.
11117
11118 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11119
11120         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11121         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11122           Beautify 'last-message' output: print 'none' for buffer timestamps
11123           and durations if none is set; improve alignment with next messages.
11124
11125 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11126
11127         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11128         * gst/gstpluginfeature.h:
11129         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11130         * gst/gstregistry.h:
11131         * docs/gst/gstreamer-sections.txt:
11132           Add new API to check plugin feature version requirements.
11133
11134         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11135           Some basic tests for the above.         
11136
11137 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11138
11139         * gst/gststructure.c: (gst_structure_to_string):
11140           guard against NULL printf - happens when for example
11141           a message structure with GstClock gets serialized
11142
11143 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11144
11145         * gst/base/gstcollectpads.c: (gst_collectpads_event):
11146           Fix presumable copy'n'pasto.
11147
11148 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11149
11150         * gst/elements/gstfakesrc.h:
11151         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11152         * gst/elements/gsttypefindelement.c:
11153           fix some signedness
11154         * gst/elements/gstfilesink.c: (gst_file_sink_render):
11155           I wonder if this could actually write +2GB files before
11156
11157 2005-10-13  Andy Wingo  <wingo@pobox.com>
11158
11159         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11160         Fix Timmeke Waymans bug.
11161         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11162         string of the proper length to gst_caps_from_string. There's a
11163         potential for, before this fix, that this could cause someone
11164         connecting over the network to cause a segfault if the payload is
11165         not NUL-terminated.
11166
11167 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11168
11169         * docs/design/draft-push-pull.txt:
11170         * docs/design/part-overview.txt:
11171         * docs/random/TODO-pre-0.9:
11172         * docs/random/old/ChangeLog.gstreamer:
11173         * gst/base/gstpushsrc.c:
11174         * gst/gstclock.c:
11175           fixed typos
11176
11177 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11178
11179         * gst/glib-compat.c: (gst_flags_get_first_value):
11180         * gst/glib-compat.h:
11181         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11182         (gst_value_compare_double), (gst_value_serialize_flags):
11183           GLib 2.6 g_flags_get_first_value has a bug that triggers an
11184           infinite loop
11185
11186 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11187
11188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11189         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11190           fix up debugging
11191         * tools/gst-launch.c: (event_loop):
11192           print out clock nicely
11193
11194 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11195
11196         * docs/gst/gstreamer-sections.txt:
11197         * gst/gsttaglist.h:
11198         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11199         (gst_tag_list_get_date_index):
11200           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11201           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11202
11203 2005-10-13  Julien MOUTTE  <julien@moutte.net>
11204
11205         * gst/base/gstcollectpads.c: (gst_collectpads_event),
11206         (gst_collectpads_chain):
11207         * gst/base/gstcollectpads.h: Handle newsegment and store informations
11208         in CollectData.
11209
11210 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11211
11212         * docs/gst/gstreamer-sections.txt:
11213         * gst/gst.c:
11214         * gst/gsterror.h:
11215         * tools/gst-inspect.c: (main):
11216         * tools/gst-launch.c: (main):
11217         * tools/gst-run.c: (main):
11218         * tools/gst-xmlinspect.c: (main):
11219           fix GOption context leaks
11220           doc fixes
11221
11222 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11223
11224         * gst/gstbus.c:
11225           use HAVE_UNISTD_H
11226         * win32/common/config.h:
11227           update config
11228         * win32/vs6/grammar.dsp:
11229         * win32/vs6/libgstelements.dsp:
11230         * win32/vs6/libgstreamer.dsp:
11231           update vs6 files
11232
11233 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11234
11235         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11236         * gst/base/gstbasesrc.c: (gst_base_src_query):
11237           fix more guint64<->gdouble conversions
11238
11239 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11240
11241         * Makefile.am:
11242           add win32-update target
11243         * win32/common/gstconfig.h:
11244         * win32/common/gstenumtypes.c:
11245         * win32/common/gstenumtypes.h:
11246         * win32/common/gstversion.h:
11247           add files that visual studio can't generate
11248
11249 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11250
11251         * Makefile.am:
11252           add a win32-update target
11253         * configure.ac:
11254
11255 2005-10-12  Wim Taymans  <wim@fluendo.com>
11256
11257         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11258         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11259         * gst/gstelement.c: (gst_element_commit_state),
11260         (gst_element_set_state):
11261         Protect flags with proper lock.
11262         unref provided cached clock in dispose.
11263
11264 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11265
11266         * gst/gst.c:
11267         * gst/gstminiobject.h:
11268         * gst/gstpad.h:
11269         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11270           removed unused flags from miniobject
11271           doc fixes
11272
11273 2005-10-12  Wim Taymans  <wim@fluendo.com>
11274
11275         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11276         (gst_file_sink_event), (gst_file_sink_render):
11277         Flush before seeking.
11278
11279 2005-10-12  Andy Wingo  <wingo@pobox.com>
11280
11281         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11282         always been the case.
11283
11284 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11285
11286         * check/gst/gstbin.c: (GST_START_TEST):
11287         * docs/gst/gstreamer-sections.txt:
11288         * gst/base/gstbasesink.c: (gst_base_sink_init):
11289         * gst/base/gstbasesrc.c: (gst_base_src_init),
11290         (gst_base_src_get_range), (gst_base_src_check_get_range),
11291         (gst_base_src_start), (gst_base_src_stop):
11292         * gst/base/gstbasesrc.h:
11293         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11294         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11295         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11296         (bin_bus_handler):
11297         * gst/gstbin.h:
11298         * gst/gstbuffer.h:
11299         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11300         * gst/gstbus.h:
11301         * gst/gstelement.c: (gst_element_is_locked_state),
11302         (gst_element_set_locked_state), (gst_element_commit_state),
11303         (gst_element_set_state):
11304         * gst/gstelement.h:
11305         * gst/gstindex.c: (gst_index_init):
11306         * gst/gstindex.h:
11307         * gst/gstminiobject.h:
11308         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11309         (gst_object_set_parent):
11310         * gst/gstobject.h:
11311         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11312         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11313         * gst/gstpad.h:
11314         * gst/gstpadtemplate.h:
11315         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11316         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11317         * gst/gstpipeline.h:
11318         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11319         (gst_file_index_commit):
11320         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11321         * testsuite/pad/link.c: (gst_test_src_init),
11322         (gst_test_filter_init), (gst_test_sink_init):
11323         * testsuite/states/locked.c: (main):
11324           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11325           moved bitshift from macro to enum definition
11326
11327 2005-10-12  Wim Taymans  <wim@fluendo.com>
11328
11329         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11330         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11331         (gst_file_sink_render):
11332         Some more debugging info.
11333
11334 2005-10-12  Wim Taymans  <wim@fluendo.com>
11335
11336         * docs/design/part-states.txt:
11337         * tools/gst-launch.c: (main):
11338         Some doc updates.
11339         Revert non-intentional change.
11340
11341 2005-10-12  Wim Taymans  <wim@fluendo.com>
11342
11343         * check/gst/gstbin.c: (GST_START_TEST):
11344         * check/gst/gstelement.c: (GST_START_TEST):
11345         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11346         * check/gst/gstghostpad.c: (GST_START_TEST):
11347         * check/gst/gstpipeline.c: (GST_START_TEST):
11348         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11349         * check/states/sinks.c: (GST_START_TEST):
11350         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11351         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11352         (gst_bin_remove_func), (gst_bin_get_state_func),
11353         (gst_bin_recalc_state), (gst_bin_change_state_func),
11354         (bin_bus_handler):
11355         * gst/gstelement.c: (gst_element_get_state_func),
11356         (gst_element_get_state), (gst_element_abort_state),
11357         (gst_element_commit_state), (gst_element_set_state),
11358         (gst_element_change_state), (gst_element_change_state_func):
11359         * gst/gstelement.h:
11360         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11361         (gst_pipeline_provide_clock_func):
11362         * gst/gstutils.c: (gst_element_link_pads_filtered):
11363         * tools/gst-launch.c: (main):
11364         * tools/gst-typefind.c: (main):
11365         Use GstClockTime in _get_state() instead of GTimeVal.
11366         Remove old code in gstutils.c
11367
11368 2005-10-12  Andy Wingo  <wingo@pobox.com>
11369
11370         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11371         removed.
11372
11373         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11374         there is no task. Shouldn't affect any code, as nothing in our
11375         plugins checks this return value.
11376         (gst_pad_stop_task): Also take the stream lock if the pad has no
11377         task. Docs updated.
11378
11379 2005-10-12  Wim Taymans  <wim@fluendo.com>
11380
11381         * gst/gstpad.c: (pre_activate), (post_activate),
11382         (gst_pad_activate_pull), (gst_pad_activate_push):
11383         Cleanup activation code. Reset old state if
11384         activation failed.
11385
11386 2005-10-12  Wim Taymans  <wim@fluendo.com>
11387
11388         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11389         (gst_base_sink_change_state):
11390         No need to prerol after receiving EOS.
11391
11392         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11393         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11394         * gst/elements/gstidentity.c: (gst_identity_event):
11395         Print events more verbosely.
11396
11397 2005-10-12  Wim Taymans  <wim@fluendo.com>
11398
11399         * check/Makefile.am:
11400         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11401         * check/states/sinks2.c:
11402         Moved sinks2 testcode in sinks check.
11403
11404         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11405         (gst_bin_remove_func), (gst_bin_recalc_state),
11406         (gst_bin_change_state_func), (bin_bus_handler):
11407         Fix potential race condition when _get_state() iterated over an
11408         ASYNC element right before it posted a state completion.
11409
11410         * gst/gstclock.h:
11411         Do proper cast here.
11412
11413         * gst/gstevent.c: (gst_event_new_newsegment),
11414         (gst_event_parse_newsegment):
11415         A playback rate of 0.0 is not allowed.
11416
11417 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11418
11419         * win32/common/config.h:
11420         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11421         (_trewinddir), (_ttelldir), (_tseekdir):
11422         * win32/common/dirent.h:
11423         * win32/common/gtchar.h:
11424         * win32/common/libgstbase.def:
11425         * win32/common/libgstreamer.def:
11426         * win32/vs6/grammar.dsp:
11427         * win32/vs6/gst_inspect.dsp:
11428         * win32/vs6/gst_launch.dsp:
11429         * win32/vs6/gstreamer.dsw:
11430         * win32/vs6/libgstbase.dsp:
11431         * win32/vs6/libgstelements.dsp:
11432         * win32/vs6/libgstreamer.dsp:
11433           Visual Studio 6 project files, and a new common directory.
11434           Phear.
11435
11436 2005-10-11  Wim Taymans  <wim@fluendo.com>
11437
11438         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11439         (gst_base_sink_do_sync), (gst_base_sink_query),
11440         (gst_base_sink_change_state):
11441         * gst/base/gstbasesink.h:
11442         Correctly parse newsegment info.
11443
11444 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11445
11446         * gst/gst.c: (init_post):
11447           split plugin paths correctly
11448
11449 2005-10-11  Wim Taymans  <wim@fluendo.com>
11450
11451         * check/gst/gstevent.c: (GST_START_TEST):
11452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11453         (gst_base_sink_change_state):
11454         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11455         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11456         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11457         * gst/gstevent.c: (gst_event_new_newsegment),
11458         (gst_event_parse_newsegment):
11459         * gst/gstevent.h:
11460         Added extra flag to newsegment for future API freeze.
11461         Updated check and base elements.
11462
11463 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11464
11465         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11466         (gst_collectpads_add_pad), (gst_collectpads_pop),
11467         (gst_collectpads_event), (gst_collectpads_chain):
11468         * gst/base/gstcollectpads.h: Handle EOS correctly.
11469
11470 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11471
11472         * tools/gst-launch.c: (main):
11473           more null protecting
11474
11475 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11476
11477         * gst/gst-i18n-lib.h:
11478           check for ENABLE_NLS, not GETTEXT_PACKAGE
11479         * gst/gstregistry.c: (gst_registry_add_plugin),
11480         (gst_registry_scan_path_level),
11481         (_gst_registry_remove_cache_plugins):
11482           protect possibly NULL strings
11483         * gst/parse/types.h:
11484           config.h already included before
11485         * tools/gst-inspect.c: (main):
11486           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11487           check for ENABLE_NLS, not GETTEXT_PACKAGE
11488         * tools/gst-launch.c: (main):
11489           check for ENABLE_NLS, not GETTEXT_PACKAGE
11490
11491 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11492
11493         * configure.ac:
11494           if we don't have glib, fail before testing 2.8
11495         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11496           fix a leak, should fix plugins-base testsuite
11497
11498 2005-10-11  Andy Wingo  <wingo@pobox.com>
11499
11500         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11501         take the mode we're going to as an arg. Go head and set the mode
11502         and flushing flags now, so that if the activate function starts a
11503         thread all the flags will be in the right state.
11504         (post_activate): Renamed also. Just handle making sure streaming
11505         finishes for the deactivation case, and setting the deactivated
11506         mode.
11507         (gst_pad_set_active): Complain loudly if deactivation fails.
11508         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11509         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11510         remove the terrible hack.
11511
11512 2005-10-11  Wim Taymans  <wim@fluendo.com>
11513
11514         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11515         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11516         (gst_bin_recalc_state), (gst_bin_change_state_func),
11517         (gst_bin_dispose), (bin_bus_handler):
11518         * gst/gstbin.h:
11519         Prepare to make current EOS message queue more generic.
11520         Fix some typos.
11521
11522         * gst/gstevent.c: (gst_event_new_newsegment),
11523         (gst_event_parse_newsegment):
11524         * gst/gstevent.h:
11525         Rename base to stream_time.
11526
11527         * gst/gstmessage.h:
11528         Fix typo in docs.
11529
11530 2005-10-11  Wim Taymans  <wim@fluendo.com>
11531
11532         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11533         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11534         (gst_bin_change_state_func), (bin_bus_handler):
11535         * gst/gstbin.h:
11536         Work on proper clock selection.
11537
11538 2005-10-11  Edward Hervey  <edward@fluendo.com>
11539
11540         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11541         * libs/gst/controller/gstcontroller.h:
11542         Added GList* version of _remove_properties() in order to be able to wrap
11543         it in bindings.
11544
11545 2005-10-11  Wim Taymans  <wim@fluendo.com>
11546
11547         * docs/design/part-states.txt:
11548         Some more docs.
11549
11550         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11551         (gst_bin_change_state_func), (bin_bus_handler):
11552         Doc updates. Don't distribute the same clock over and over again.
11553
11554         * gst/gstclock.c:
11555         * gst/gstclock.h:
11556         Doc updates.
11557
11558         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11559         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11560         (gst_pad_send_event):
11561         * gst/gstpad.h:
11562         Make probe emission threadsafe again.
11563         Register quarks and move _get_name() from utils.
11564         Doc updates.
11565
11566         * gst/gstpipeline.c: (gst_pipeline_class_init),
11567         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11568         Only redistribute the clock of it changed.
11569
11570         * gst/gstsystemclock.h:
11571         Doc updates. 
11572
11573         * gst/gstutils.c:
11574         * gst/gstutils.h:
11575         Moved the _flow_get_name() to GstPad.
11576
11577 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11578
11579         * check/gst-libs/gdp.c: (GST_START_TEST):
11580         * check/gst/gstcaps.c: (GST_START_TEST):
11581         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11582         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11583         (gst_dp_packet_from_caps):
11584           fix more valgrind warnings before turning up the heat
11585
11586 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11587
11588         * gst/parse/grammar.y:
11589           some cleanup before the hacking
11590
11591 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11592
11593         * gst/base/gstbasesrc.c: (gst_base_src_query):
11594           use conversions
11595         * gst/gstutils.c: (gst_guint64_to_gdouble),
11596         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11597         * gst/gstutils.h:
11598           externalize, basesrc uses it
11599           obviously the implementation needs testing
11600
11601 2005-10-10  Wim Taymans  <wim@fluendo.com>
11602
11603         * tests/sched/Makefile.am:
11604         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11605         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11606
11607 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11608
11609         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11610           apparently converting from guint64 to double is not implemented
11611           on MSVC
11612
11613 2005-10-10  Wim Taymans  <wim@fluendo.com>
11614
11615         * check/Makefile.am:
11616         * check/generic/states.c: (GST_START_TEST):
11617         * check/gst/gstbin.c: (GST_START_TEST):
11618         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11619         * check/states/sinks.c: (GST_START_TEST):
11620         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11621         (main):
11622         Check fixes, use API as stated in design docs, remove hacks.
11623
11624         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11625         (gst_base_sink_change_state):
11626         Catch stopping our task while we're shutting down.
11627
11628         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11629         (gst_bin_remove_func), (gst_bin_get_state_func),
11630         (gst_bin_recalc_state), (gst_bin_change_state_func),
11631         (bin_bus_handler):
11632         * gst/gstbin.h:
11633         * gst/gstelement.c: (gst_element_init),
11634         (gst_element_get_state_func), (gst_element_abort_state),
11635         (gst_element_commit_state), (gst_element_lost_state),
11636         (gst_element_set_state), (gst_element_change_state),
11637         (gst_element_change_state_func):
11638         * gst/gstelement.h:
11639         New state change algorithm (see #318116)
11640
11641         * gst/gstpipeline.c: (gst_pipeline_class_init),
11642         (gst_pipeline_init), (gst_pipeline_set_property),
11643         (gst_pipeline_get_property), (do_pipeline_seek),
11644         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11645         * gst/gstpipeline.h:
11646         Remove crude state change hacks.
11647
11648         * gst/gstutils.h:
11649         Remove crude hacks.
11650
11651         * tools/gst-launch.c: (main):
11652         Fixes for state change. Needs some more work to fully use the
11653         new stuff.
11654
11655 2005-10-10  Andy Wingo  <wingo@pobox.com>
11656
11657         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11658
11659         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11660         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11661         issue.
11662
11663 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11664
11665         * gst/gstiterator.c: (gst_iterator_new):
11666           Fix my previous commit: GTypes passed to gst_iterator_new()
11667           can be fundamental types.
11668
11669 2005-10-10  Wim Taymans  <wim@fluendo.com>
11670
11671         * gst/gstelement.c: (gst_element_iterate_pad_list),
11672         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11673         (gst_element_iterate_sink_pads):
11674         Use src/sink pads lists for the respective iterators instead
11675         of filtering.
11676
11677 2005-10-10  Andy Wingo  <wingo@pobox.com>
11678
11679         Merged in popt removal + GOption addition patch from Ronald, bug
11680         #169772.
11681
11682         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11683         GstElement macros around, remove popt-related symbols, add goption
11684         stuff.
11685
11686         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11687         
11688         * docs/gst/Makefile.am:
11689         * docs/libs/Makefile.am: No POPT_CFLAGS.
11690         
11691         * examples/manual/Makefile.am:
11692         * docs/manual/basics-init.xml: Doc updates with an example.
11693         
11694         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11695         (gst_init), (parse_one_option), (parse_goption_arg):
11696         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11697         bit of hand merging and debugging to get the GOption stuff working
11698         tho.
11699         
11700         * tests/Makefile.am:
11701         * tools/Makefile.am:
11702         * tools/gst-inspect.c: (main):
11703         * tools/gst-launch.c: (main):
11704         * tools/gst-run.c: (main):
11705         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11706
11707 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11708
11709         * gst/gstiterator.c: (gst_iterator_new):
11710           Add assertions to make sure passed GType is likely to really
11711           be a GType (as the compiler won't catch it if the size and
11712           GType arguments get mixed up, see #318447).
11713
11714 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11715
11716         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11717
11718         * gst/gstbin.c: (gst_bin_iterate_sorted):
11719           Pass GType and size arguments to gst_iterator_new() in the right
11720           order (maybe we should make _new() take the GType as first argument
11721           just like _new_list()?) (#318447).
11722           
11723
11724 2005-10-10  Wim Taymans  <wim@fluendo.com>
11725
11726         * gst/gstelement.c: (gst_element_finalize):
11727         And free the GStaticRecMutex too
11728
11729 2005-10-10  Andy Wingo  <wingo@pobox.com>
11730
11731         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11732         Allocate and free the mutex properly.
11733
11734         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11735         New macros.
11736         (GstElement): The state_lock is now recursive. Rebuild your
11737         plugins, suckers. Old macros adapted.
11738
11739         * docs/gst/gstreamer-sections.txt: Doc updates.
11740
11741         * gst/gstutils.h:
11742         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11743         (g_static_rec_cond_wait): Ported from state changes patch, while
11744         we wait on bug #317802 to be solved in a well-distributed GLib.
11745
11746         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11747         gst_element_change_state, variable name changes.
11748         (gst_element_change_state): Split out of gst_element_set_state in
11749         preparation for the state change merge. Doesn't pay attention to
11750         the 'transition' argument.
11751         (gst_element_set_state): Updates, hopefully purely cosmetic.
11752         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11753         state change patch.
11754         (gst_element_get_state_func): Renamed from get_state, cosmetic
11755         changes.
11756
11757 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11758
11759         * gst/elements/gstelements.c:
11760         * win32/GStreamer.vcproj:
11761         * win32/config.h:
11762         * win32/dirent.c: (_tseekdir):
11763         * win32/gst-inspect.vcproj:
11764         * win32/gst-launch.vcproj:
11765         * win32/gstconfig.h:
11766         * win32/gstelements.vcproj:
11767         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11768         * win32/gstreamer.def:
11769         * win32/msvc71.sln:
11770           updates for the win32 build (patch from Sebastien Moutte)
11771
11772 2005-10-10  Andy Wingo  <wingo@pobox.com>
11773
11774         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11775         gst_bin_get_state, cleaned up (but no logic changes).
11776         (bin_element_is_sink): Comment updates.
11777         (sink_iterator_filter): Remove needless cast.
11778         (gst_bin_iterate_sinks): Doc update.
11779         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11780         cleaned up (but no logic changes).
11781
11782         * check/states/sinks.c (test_src_sink): Cleanups from the state
11783         change patch.
11784         (test_livesrc_sink): Sync on the state.
11785
11786         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11787         the state change patch.
11788
11789         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11790         change patch.
11791
11792         * check/gst/gstbin.c: Merge in some style fixes and additional
11793         checks from Wim's state change patch.
11794
11795 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11796
11797         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11798         (gst_type_find_helper):
11799           Check whether we have the requested data already in our list of
11800           cached buffers before pulling a new buffer; also make the buffer
11801           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11802
11803 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11804
11805         * gst/gstcaps.c:
11806         * gst/gstevent.c:
11807           doc updates
11808         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11809           don't use long long, it's not portable.  Replacing with
11810           gint64 seems to work; let's hope no skeletons fall out of the closet.
11811
11812 2005-10-10  Andy Wingo  <wingo@pobox.com>
11813
11814         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11815
11816 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11817
11818         * docs/gst/gstreamer-sections.txt:
11819         * gst/gstevent.c:
11820         * gst/gstevent.h:
11821         * gst/gstinfo.c:
11822         * gst/gstinfo.h:
11823         * gst/gstmessage.c: (gst_message_parse_state_changed):
11824         * gst/gstpad.c:
11825         * gst/gstpad.h:
11826           more docs, fix compilation
11827
11828 2005-10-09  Philippe Khalaf <burger@speedy.org>
11829         * gst/gstmessage.c:
11830           Fixed a few forgotten variables on previous commit
11831
11832 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11833
11834         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11835           Fix evil typefind crasher: getrange() might return a short
11836           buffer at the end of a file, but gst_type_find_peek() must
11837           either return the full data as requested or NULL, but
11838           never a short buffer.
11839
11840 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11841
11842         * gst/gstmessage.c: (gst_message_new_state_changed),
11843         (gst_message_parse_state_changed):
11844         * gst/gstmessage.h:
11845           don't use "new", it's a C++ keyword
11846
11847 2005-10-08  Wim Taymans  <wim@fluendo.com>
11848
11849         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11850         * gst/gstelement.c: (gst_element_post_message):
11851         * gst/gstpipeline.c: (gst_pipeline_change_state):
11852         Small docs and debug updates.
11853
11854 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11855
11856         * docs/gst/gstreamer-sections.txt:
11857         * gst/gstelementfactory.c:
11858         * gst/gstevent.c:
11859         * gst/gsttaglist.c:
11860           more docs
11861
11862 2005-10-08  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11865         (gst_bin_dispose), (bin_bus_handler):
11866         Fix typos, add comments.
11867         Clear EOS list when going to PAUSED from any direction and do it
11868         in a threadsafe way.
11869         Get base time in a threadsafe way too.
11870         Fix confusing debug in the change_state function.
11871         Various other small cleanups.
11872         
11873         * gst/gstelement.c: (gst_element_post_message):
11874         Fix very verbose bus posting code.
11875
11876         * gst/gstpipeline.c: (gst_pipeline_class_init),
11877         (gst_pipeline_set_property), (gst_pipeline_get_property),
11878         (gst_pipeline_change_state):
11879         Small ARG_ -> PROP_ cleanup
11880
11881 2005-10-08  Wim Taymans  <wim@fluendo.com>
11882
11883         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11884         Do a less CPU demanding EOS check because we can.
11885
11886 2005-10-08  Wim Taymans  <wim@fluendo.com>
11887
11888         * libs/gst/dataprotocol/dataprotocol.c:
11889         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11890         (gst_dp_packet_from_event):
11891         * libs/gst/dataprotocol/dataprotocol.h:
11892         * libs/gst/dataprotocol/dp-private.h:
11893         It's about time we bump the version number.
11894         Since event types don't fit in the guint8 anymore describing
11895         the payload type, make payload type 16 bits wide.
11896
11897 2005-10-08  Wim Taymans  <wim@fluendo.com>
11898
11899         * docs/design/part-TODO.txt:
11900         * docs/design/part-clocks.txt:
11901         * docs/design/part-events.txt:
11902         * docs/design/part-gstbin.txt:
11903         * docs/design/part-gstelement.txt:
11904         * docs/design/part-gstpipeline.txt:
11905         * docs/design/part-live-source.txt:
11906         * docs/design/part-messages.txt:
11907         * docs/design/part-overview.txt:
11908         * docs/design/part-states.txt:
11909         Many doc updates.
11910
11911 2005-10-08  Wim Taymans  <wim@fluendo.com>
11912
11913         * gst/gstevent.c:
11914         * gst/gstevent.h:
11915         Fix event quark registration.
11916         Add some space between events so we can insert them in the
11917         right groups.
11918
11919 2005-10-08  Wim Taymans  <wim@fluendo.com>
11920
11921         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11922         (gst_base_sink_handle_buffer):
11923         Better log message.
11924
11925         * gst/gstbus.h:
11926         * gst/gstelement.h:
11927         More docs.
11928
11929         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11930         (gst_queue_set_property), (gst_queue_get_property):
11931         * gst/gstqueue.h:
11932         Remove old unused properties.
11933
11934 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11935         * docs/gst/gstreamer-sections.txt:
11936         * gst/gstmessage.c:
11937         * gst/gstmessage.h:
11938         * gst/gstminiobject.c:
11939         * gst/gstminiobject.h:
11940         * gst/gstobject.h:
11941         * gst/gstpad.h:
11942         * gst/gstutils.h:
11943           lots of new docs and doc fixes
11944
11945 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11946
11947         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11948         * gst/gstplugin.h:
11949         * gst/gstregistry.c: (gst_registry_lookup_locked),
11950         (gst_registry_scan_path_level):
11951         * gst/gstregistryxml.c: (load_plugin):
11952           Only ever load one plugin for a given plugin basename.
11953           This ensures correct overriding of GST_PLUGIN_PATH over
11954           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11955           system installed plugins.
11956
11957 2005-10-08  Wim Taymans  <wim@fluendo.com>
11958
11959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11960         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11961         Prepare for doing QOS.
11962
11963 2005-10-08  Wim Taymans  <wim@fluendo.com>
11964
11965         * check/gst/gstbin.c: (GST_START_TEST):
11966         * check/pipelines/cleanup.c: (GST_START_TEST):
11967         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11968         Allow new clock message too.
11969
11970 2005-10-08  Wim Taymans  <wim@fluendo.com>
11971
11972         * gst/gstmessage.c: (gst_message_new_error),
11973         (gst_message_new_warning), (gst_message_new_tag),
11974         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11975         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11976         (gst_message_new_segment_start), (gst_message_new_segment_done),
11977         (gst_message_parse_state_changed),
11978         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11979         (gst_message_parse_new_clock):
11980         * gst/gstmessage.h:
11981         Also carry the clock in question.
11982
11983 2005-10-08  Wim Taymans  <wim@fluendo.com>
11984
11985         * gst/gstmessage.c: (gst_message_new_custom),
11986         (gst_message_new_eos), (gst_message_new_error),
11987         (gst_message_new_warning), (gst_message_new_tag),
11988         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11989         (gst_message_new_new_clock), (gst_message_new_segment_start),
11990         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11991         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11992         * gst/gstmessage.h:
11993         Clean up.
11994         Added clock related messages.
11995
11996         * gst/gstpipeline.c: (gst_pipeline_change_state):
11997         Post message when the clock changed.
11998
11999         * tools/gst-launch.c: (event_loop):
12000         Print new clock.
12001
12002 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         * tools/gst-inspect.c: (print_element_properties_info):
12005           Can't pass NULL strings to g_print() on windows.
12006
12007 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12008
12009         * docs/Makefile.am:
12010         * docs/gst/Makefile.am:
12011         * docs/gst/gstreamer-docs.sgml:
12012         * docs/gst/running.xml:
12013         * docs/version.entities.in:
12014           add a chapter on running GStreamer.
12015           document GST_DEBUG and GST_PLUGIN* env vars
12016
12017 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12018
12019         * Makefile.am:
12020           remove include dir
12021         * configure.ac:
12022           remove PLUGINS_BUILDDIR stuff
12023         * gst/gst.c: (init_post):
12024           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12025         * idiottest.mak:
12026           remove, it was condescending and not needed
12027
12028 2005-10-08  Wim Taymans  <wim@fluendo.com>
12029
12030         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12031         (gst_base_sink_handle_object), (gst_base_sink_event),
12032         (gst_base_sink_wait), (gst_base_sink_handle_event),
12033         (gst_base_sink_change_state):
12034         * gst/base/gstbasesink.h:
12035         Repost EOS message while going to PLAYING if still EOS.
12036         Make sure that when receiving a FLUSH_START we don't attempt
12037         to sync on the clock anymore.
12038
12039 2005-10-08  Wim Taymans  <wim@fluendo.com>
12040
12041         * tools/gst-launch.c: (event_loop):
12042         Better message printout.
12043
12044 2005-10-08  Wim Taymans  <wim@fluendo.com>
12045
12046         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12047         (gst_bin_child_proxy_get_children_count):
12048         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12049         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12050         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12051         (gst_child_proxy_set_valist):
12052         * gst/parse/grammar.y:
12053         Make ChildProxy threadsafe and fix mem leaks.
12054
12055 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12056
12057         * gst/gst.c: (init_post):
12058           debug the GST_PLUGIN_ env vars
12059
12060 2005-10-08  Wim Taymans  <wim@fluendo.com>
12061
12062         * check/gst/gstbin.c: (GST_START_TEST):
12063         * check/gst/gstmessage.c: (GST_START_TEST):
12064         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12065         * gst/gstelement.c: (gst_element_commit_state),
12066         (gst_element_lost_state):
12067         * gst/gstmessage.c: (gst_message_new_state_changed),
12068         (gst_message_parse_state_changed):
12069         * gst/gstmessage.h:
12070         * tools/gst-launch.c: (event_loop):
12071         Added extra field to STATE_CHANGE message with the pending
12072         state, which will be different from the new state soon.
12073
12074 2005-10-08  Wim Taymans  <wim@fluendo.com>
12075
12076         * gst/gstbus.c: (gst_bus_pop):
12077         * gst/gstclock.c:
12078         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12079         Small cleanups and doc updates.
12080
12081 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12082
12083         * gst/gst.c: (init_pre):
12084         * gst/gstbin.c: (gst_bin_add_func):
12085           log distributing clocks and base time
12086         * gst/gstregistry.c: (gst_registry_add_plugin),
12087         (gst_registry_scan_path_level), (gst_registry_scan_path):
12088           clean up the debugging output a little
12089         * gst/gstutils.c: (gst_element_state_get_name):
12090           warn about a memleak (I've actually seen this be used, though
12091           it was probably a bug)
12092
12093 2005-10-07  Wim Taymans  <wim@fluendo.com>
12094
12095         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12096         (gst_base_src_init), (gst_base_src_default_newsegment),
12097         (gst_base_src_newsegment), (gst_base_src_do_seek),
12098         (gst_base_src_loop), (gst_base_src_start):
12099         * gst/base/gstbasesrc.h:
12100         Make the newsegment event customizable by subclasses.
12101
12102 2005-10-07  Wim Taymans  <wim@fluendo.com>
12103
12104         * gst/gstevent.c: (gst_event_new_buffersize),
12105         (gst_event_parse_buffersize):
12106         * gst/gstevent.h:
12107         New event for future idea.
12108
12109 2005-10-07  Andy Wingo  <wingo@pobox.com>
12110
12111         * gst/gstelement.c (gst_element_post_message): Doc update.
12112
12113         * docs/gst/gstreamer-sections.txt: Update.
12114
12115         * gst/gstmessage.c (gst_message_new_application): Made into a
12116         function like honest API calls.
12117         (gst_message_new_element): New message type.
12118
12119         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12120
12121         * check/elements/fakesrc.c (test_no_preroll): New check, checks
12122         that setting a live fakesrc to PAUSED returns NO_PREROLL both
12123         times.
12124
12125         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12126         NO_PREROLL from gst_element_change_state to fall through.
12127
12128 2005-10-07  Wim Taymans  <wim@fluendo.com>
12129
12130         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12131         (gst_ghost_pad_do_activate_push):
12132         Activating a ghostpad with no internal pad in push mode
12133         is ok.
12134
12135 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12136
12137         * gst/gstobject.h:
12138           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12139           Fixes compilation on Windows.
12140
12141 2005-10-07  Michael Smith <msmith@fluendo.com>
12142
12143         * tools/gst-inspect.c:
12144           Print out feature and plugin count at the end when printing out
12145           all features.
12146
12147 2005-10-04  Michael Smith <msmith@fluendo.com>
12148
12149         * gst/gsterror.c: (_gst_stream_errors_init):
12150           Add another error string used in a few existing plugins.
12151
12152         * gst/gstplugin.c:
12153         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12154         * tools/gst-inspect.c: (print_element_info):
12155           When a feature disappears from a plugin (and the feature exists in
12156           the cached registry file), things went horribly wrong. This isn't a
12157           complete fix, we should actually be removing the 'missing' features
12158           from the features list when we load the actual plugin. That's not
12159           yet implemented. 
12160
12161 2005-10-04  Johan Dahlin  <johan@gnome.org>
12162
12163         * check/gst/gstiterator.c: (GST_START_TEST):
12164         * gst/gstbin.c: (gst_bin_iterate_elements),
12165         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12166         * gst/gstelement.c: (gst_element_iterate_pads):
12167         * gst/gstformat.c: (gst_format_iterate_definitions):
12168         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12169         (gst_iterator_new_list), (gst_iterator_filter):
12170         * gst/gstiterator.h:
12171         * gst/gstquery.c: (gst_query_type_iterate_definitions):
12172         Add a GType to GstIterator, update callsites and tests.
12173
12174 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12175
12176         * gst/gstpad.c: (gst_pad_event_default_dispatch):
12177           give events a chance to be handled by event probes when the pad
12178           is not linked
12179
12180 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12181
12182         * gst/gstevent.c: (gst_event_type_get_name),
12183         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12184         * gst/gstevent.h:
12185           add string representations for event types
12186
12187 2005-10-06  Wim Taymans  <wim@fluendo.com>
12188
12189         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12190         Don't use NULL pointers.
12191
12192 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12193
12194         * gst/gst_private.h:
12195         * gst/gstbus.c:
12196         * gst/gstelement.c:
12197         * gst/gstinfo.c:
12198         * gst/gstpluginfeature.c:
12199           widen the debug category in output to fit the biggest one we have
12200           add a bus category and use it
12201           play with the colors
12202           fix up some categories
12203
12204 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12205
12206         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12207           add push activation of sink ghost pads.
12208           Andye, please verify
12209
12210 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12211
12212         * gst/gstutils.c: (gst_element_link_pads):
12213           fix a bug in the case where neither element has a pad
12214         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12215           add a test for that case
12216
12217 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12218
12219         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12220           emit have-data before checking for peers.  This allows
12221           for probe handlers to connect elements.  This helps autopluggers.
12222         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12223         (gst_pad_suite):
12224           add six checks, linked/unlinked with no/true/false probe
12225
12226 2005-10-04  Wim Taymans  <wim@fluendo.com>
12227
12228         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12229         (gst_fake_sink_event), (gst_fake_sink_preroll),
12230         (gst_fake_sink_render), (gst_fake_sink_change_state):
12231         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12232         (gst_fake_src_get_property), (gst_fake_src_create),
12233         (gst_fake_src_stop):
12234         * gst/elements/gstidentity.c: (gst_identity_stop):
12235         Protect last_message with lock.
12236
12237 2005-10-04  Edward Hervey  <edward@fluendo.com>
12238
12239         * gst/gstformat.h: 
12240         Added precision in the comments for GST_FORMAT_DEFAULT
12241
12242 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12243
12244         * tools/gst-launch.c: (main):
12245           Don't try to run erroneous pipelines.
12246
12247 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12248
12249         * gst/gstbus.c: We don't need this header.
12250
12251 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12252
12253         * configure.ac:
12254           back to development
12255
12256 === release 0.9.3 ===
12257
12258 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12259
12260         * README:
12261         * configure.ac:
12262           Releasing 0.9.3, "Unregistered"
12263
12264 2005-10-03  Andy Wingo  <wingo@pobox.com>
12265
12266         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12267         whereby calling a pad's activatepush() function can start a thread
12268         that starts to push or pull before the pad gets the FLUSHING flag
12269         unset. Hack around it by holding the stream lock until the flag is
12270         set. Need to replace this with a proper solution. Together with
12271         the ghost pad fixes, this fixes mp3 playing/tagreading.
12272
12273         * docs/design/part-gstghostpad.txt: Add a note about activation of
12274         proxy pads outside of ghost pads.
12275
12276         * gst/gstghostpad.c: Implement the ghost pad activation design.
12277
12278 2005-10-02  Andy Wingo  <wingo@pobox.com>
12279
12280         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12281         It is volatile, after all.
12282
12283         * docs/design/part-gstghostpad.txt: Flesh out activation with
12284         ghost pads.
12285
12286         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12287         GST_DEBUG_FUNCPTR.
12288
12289 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12290
12291         * configure.ac:
12292           Fix (unused) AM_CONDITIONAL tests.
12293
12294 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12295
12296         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12297
12298         * gst/gstutils.c: (gst_pad_query_convert):
12299           Add assertion that makes sure src_val is >=0, just like
12300           gst_query_new_convert() has. (#315895)
12301
12302 2005-09-30  Edward Hervey  <edward@fluendo.com>
12303
12304         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12305         Let's not iterate pads we're not interested in, it avoids getting 
12306         sky-high refcounts on sinkpad.
12307
12308 2005-09-30  Wim Taymans  <wim@fluendo.com>
12309
12310         * gst/gstelement.c: (gst_element_set_state),
12311         (gst_element_change_state):
12312         Small tweak, element in ASYNC remains ASYNC.
12313
12314 2005-09-30  Wim Taymans  <wim@fluendo.com>
12315
12316         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12317         Only error is an error.
12318
12319         * gst/gstbin.c: (gst_bin_change_state):
12320         Better debugging.
12321
12322         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12323         Also call pad_block in pad alloc.
12324
12325         * gst/gstutils.c: (gst_flow_get_name):
12326         Better debugging.
12327
12328 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12329
12330         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12331         (gst_base_src_get_range):
12332           Fix documentation typos. Add some more debug info.
12333
12334 2005-09-29  David Schleef  <ds@schleef.org>
12335
12336         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12337           more end-user friendly.
12338         * tools/gst-inspect.c: (main): Check if command-line argument is
12339           a file and attempt to load that file as a plugin.
12340
12341 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12342
12343         * check/gst/gstbin.c:
12344         * check/states/sinks.c:
12345           fix tests for the new warning
12346         * check/gst/gstpipeline.c:
12347           add a test for pipeline and bus interaction
12348         * gst/gstelement.c:
12349           elements should be NULL if they get disposed; add a warning if not
12350
12351 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12352
12353         * gst/gstobject.c:
12354           for 2.6 refcounting, make debug log more correct by printing
12355           the actual refcounts at the time of swap (Wim)
12356
12357 2005-09-29  Andy Wingo  <wingo@pobox.com>
12358
12359         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12360         removes signal watches previously added via
12361         gst_bus_add_signal_watch.
12362         (gst_bus_add_signal_watch): Don't return the source id, just store
12363         it on the bus if there wasn't an id already.
12364
12365         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12366         add_signal_watch and remove_signal_watch.
12367
12368 2005-09-29  Edward Hervey  <edward@fluendo.com>
12369
12370         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12371         Better if we actually iterate the list :)
12372
12373 2005-09-29  Wim Taymans  <wim@fluendo.com>
12374
12375         * check/gst/gstbin.c: (GST_START_TEST):
12376         Change for new bus API.
12377
12378         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12379         (send_messages), (GST_START_TEST), (gstbus_suite):
12380         Change for new bus signal API.
12381
12382         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12383         (gst_bus_source_prepare), (gst_bus_source_check),
12384         (gst_bus_create_watch), (gst_bus_add_watch_full),
12385         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12386         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12387         * gst/gstbus.h:
12388         Remove support for multiple GSources operating on different
12389         message types as it is too complex and unneeded when using
12390         signals.
12391         Added support for receiving signals from the bus.
12392
12393 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12394
12395         * docs/libs/tmpl/gstdataprotocol.sgml:
12396         * docs/manual/advanced-dataaccess.xml:
12397         * gst/elements/gstcapsfilter.c:
12398         * gst/gstutils.c:
12399           rename filter-caps to caps property
12400
12401 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12402
12403         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12404           More robust fraction string parsing.
12405
12406         * docs/pwg/appendix-porting.xml:
12407           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12408
12409 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12410
12411         * gst/gstcaps.c: (gst_caps_do_simplify):
12412           Thou shalt not free a structure and then continue using it
12413           in the next loop iteration.
12414
12415         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12416         (gst_caps_suite):
12417           Add test case for caps simplification.
12418
12419 2005-09-29  Wim Taymans  <wim@fluendo.com>
12420
12421         * check/gst/gstbin.c: (GST_START_TEST):
12422         Oops.
12423
12424 2005-09-29  Wim Taymans  <wim@fluendo.com>
12425
12426         * check/gst/gstbin.c: (GST_START_TEST):
12427         Add bus to bin.
12428
12429         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12430         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12431         (find_element), (gst_bin_sort_iterator_next),
12432         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12433         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12434         (gst_bin_change_state), (gst_bin_dispose):
12435         A bin does not have a bus, it gets the bus from the parent.
12436
12437         * gst/gstelement.c: (gst_element_requires_clock),
12438         (gst_element_provides_clock), (gst_element_is_indexable),
12439         (gst_element_is_locked_state), (gst_element_change_state),
12440         (gst_element_set_bus_func):
12441         Small cleanups.
12442
12443         * gst/gstpipeline.c: (gst_pipeline_class_init),
12444         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12445         The pipeline provides a bus.
12446
12447 2005-09-28  Johan Dahlin  <johan@gnome.org>
12448
12449         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12450         gst_structure_get_enum instead of gst_structure_get_int
12451
12452         * gst/gststructure.c (gst_structure_get_enum): Impl.
12453
12454         * gst/gststructure.h (gst_structure_get_enum): Add
12455
12456         * docs/gst/gstreamer-sections.txt: Ditto
12457
12458         * gst/gstmessage.c (gst_message_new_state_changed): Use
12459         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12460         which does introspection.
12461         Reviewed by Christian Schaller
12462
12463 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12464
12465         * gst/gstinfo.c: (gst_debug_log_default):
12466           don't do dummy g_strdup()s
12467         * libs/gst/controller/gstcontroller.c:
12468         (on_object_controlled_property_changed),
12469         (gst_controlled_property_new), (gst_controller_new_valist),
12470         (gst_controller_new_list),
12471         (gst_controller_remove_properties_valist), (gst_controller_set),
12472         (gst_controller_get), (gst_controller_sync_values),
12473         (gst_controller_get_value_array), (_gst_controller_class_init),
12474         (gst_controller_get_type):
12475         * libs/gst/controller/gstcontroller.h:
12476         * libs/gst/controller/gstinterpolation.c:
12477         (gst_controlled_property_find_timed_value_node):
12478           convert // to /**/ comments
12479
12480 2005-09-28  Wim Taymans  <wim@fluendo.com>
12481
12482         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12483         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12484         (gst_bus_sync_signal_handler):
12485         * gst/gstbus.h:
12486         Added async-message and sync-message signals to the bus.
12487         Added helper BusFunc to emit signals for all posted messages.
12488
12489         * gst/gstmessage.c: (gst_message_type_get_name),
12490         (gst_message_type_to_quark), (gst_message_get_type):
12491         * gst/gstmessage.h:
12492         Register quarks for message names.
12493
12494 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12495
12496         * docs/libs/gstreamer-libs-sections.txt:
12497         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12498         (gst_controller_new_list):
12499         * libs/gst/controller/gstcontroller.h:
12500           added another constructor for language bindings
12501
12502 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12503
12504         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12505           add another check
12506         * gst/gstbus.c:
12507           add some doc
12508         * gst/gstinfo.c: (_gst_debug_init):
12509           slightly more readable color for refcount debugging
12510
12511 2005-09-28  Wim Taymans  <wim@fluendo.com>
12512
12513         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12514         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12515         (find_element), (gst_bin_sort_iterator_next),
12516         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12517         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12518         (gst_bin_change_state), (gst_bin_dispose):
12519         Small doc fixes. get_clock -> provide_clock.
12520
12521         * gst/gstelement.c: (gst_element_class_init),
12522         (gst_element_provides_clock), (gst_element_provide_clock),
12523         (gst_element_get_clock), (gst_element_commit_state),
12524         (gst_element_lost_state):
12525         * gst/gstelement.h:
12526         Make get/set_clock() symetric. Add provide_clock vmethod since
12527         that is actually what this function does.
12528
12529         * gst/gstpipeline.c: (gst_pipeline_class_init),
12530         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12531         (gst_pipeline_get_clock):
12532         get_clock -> provide_clock.
12533
12534 2005-09-28  Andy Wingo  <wingo@pobox.com>
12535
12536         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12537         lieu of real docs...
12538
12539         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12540
12541 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12542
12543         * gst/elements/gstcapsfilter.c:
12544         * gst/elements/gstfakesink.c:
12545         * gst/elements/gstfakesrc.c:
12546         * gst/elements/gstfdsink.c:
12547         * gst/elements/gstfdsrc.c:
12548         * gst/elements/gstfilesink.c:
12549         * gst/elements/gstfilesrc.c:
12550         * gst/elements/gstidentity.c:
12551         * gst/elements/gsttee.c:
12552         * gst/elements/gsttypefindelement.c:
12553           Make element details static.
12554
12555 2005-09-28  Wim Taymans  <wim@fluendo.com>
12556
12557         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12558         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12559         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12560         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12561         (gst_bin_change_state), (gst_bin_dispose):
12562         Some documentation updates.
12563         Clean up dispose handlers.
12564
12565         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12566         * gst/gstpad.c: (gst_pad_dispose):
12567         Clean up dispose handler.
12568
12569         * gst/gstpipeline.c: (gst_pipeline_change_state):
12570         Removed spurious UNLOCK.
12571
12572 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12573
12574         * docs/gst/gstreamer-sections.txt:
12575         * gst/base/gstbasesrc.h:
12576         * gst/gstelement.h:
12577         * gst/gstevent.h:
12578         * gst/gstobject.h:
12579         * gst/gstpad.h:
12580         * gst/gstpipeline.c:
12581         * gst/gstpipeline.h:
12582         * gst/gstutils.h:
12583         * gst/gstxml.h:
12584           added two new functions to the docs
12585                 documents all undocumented GstXXXFlags
12586                 completed some incomplete docs 
12587
12588 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12589
12590         * gst/gstbin.c: (gst_bin_dispose):
12591         * gst/gstelement.c: (gst_element_dispose):
12592           remove now useless and leaky resurrection code in dispose
12593         * gst/base/gstbasesrc.c: (gst_base_src_init):
12594         * gst/gstelementfactory.c: (gst_element_factory_create):
12595         * gst/gstobject.c: (gst_object_set_parent):
12596           add some debugging
12597
12598 2005-09-27  Wim Taymans  <wim@fluendo.com>
12599
12600         * docs/design/part-TODO.txt:
12601         Update TODO.
12602
12603         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12604         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12605         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12606         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12607         (gst_bin_change_state):
12608         * gst/gstelement.h:
12609         Remove element variable, we keep element info in the iterator now.
12610
12611 2005-09-27  Andy Wingo  <wingo@pobox.com>
12612
12613         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12614         values.
12615
12616 2005-09-27  Wim Taymans  <wim@fluendo.com>
12617
12618         * check/gst/gstbin.c: (GST_START_TEST):
12619         Enable check that works now.
12620
12621         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12622         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12623         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12624         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12625         (gst_bin_change_state):
12626         * gst/gstbin.h:
12627         Redid the state change algorithm using a topological sort algo.
12628         Handles all cases correctly.
12629         Exposed iterator for state change order.
12630
12631         * gst/gstelement.h:
12632         Temp storage for state changes. Need to get rid of this soon.
12633
12634 2005-09-27  Wim Taymans  <wim@fluendo.com>
12635
12636         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12637         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12638         (link_fold_func), (gst_pad_proxy_setcaps):
12639         Leak fixes, the fold functions need to unref the passed object and
12640         _get_parent_*() returns ref to parent.
12641
12642 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * check/gst/gstbuffer.c: (test_make_writable):
12645           Plug leak in test case and fix 'make check-valgrind'
12646
12647 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12648
12649         * gst/gstbuffer.c: (gst_subbuffer_init):
12650           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12651           works correctly in all circumstances (we could have just copied
12652           the parent buffer's readonly flag, but conceptually it seems
12653           cleaner to mark all subbuffers as read-only). (based on patch
12654           by Alessandro Decina, #314710).
12655         
12656         * check/gst/gstbuffer.c: (create_read_only_buffer),
12657         (test_make_writable), (test_subbuffer_make_writable),
12658         (gst_test_suite):
12659           Add some tests for gst_buffer_make_writable().
12660
12661 2005-09-27  Wim Taymans  <wim@fluendo.com>
12662
12663         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12664         use gst_object_has_ancestor().
12665
12666         * gst/gstobject.c: (gst_object_has_ancestor):
12667         * gst/gstobject.h:
12668         gst_object_has_ancestor() copied from gstbin.c as it is a
12669         usefull function.
12670
12671         * tests/instantiate/create.c: (create_all_elements):
12672         * tests/lat.c: (handoff_src), (handoff_sink):
12673         * tests/sched/runxml.c: (main):
12674         * tests/seeking/seeking1.c: (main):
12675         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12676         (main):
12677         Fix compilation of some tests.
12678
12679 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12680
12681         * gst/gsterror.h:
12682           Remove comment. GST_TYPE_G_ERROR is here to stay,
12683           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12684           (#316961, #300610).
12685
12686 2005-09-26  Wim Taymans  <wim@fluendo.com>
12687
12688         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12689         Added check that shows error in state change order.
12690
12691 2005-09-26  Wim Taymans  <wim@fluendo.com>
12692
12693         * gst/gstbin.c: (gst_bin_change_state):
12694         Make state change function use 3 queues again, we were
12695         adding elements in the wrong order.
12696
12697         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12698         Some debug info,
12699
12700         * gst/gstpad.c: (gst_pad_dispose):
12701         Added some debug info first.
12702
12703 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12704
12705         * docs/design/draft-push-pull.txt:
12706         * docs/design/part-events.txt:
12707         * docs/design/part-overview.txt:
12708         * docs/design/part-scheduling.txt:
12709           Replace all _pull_region() with _pull_range()
12710           
12711 2005-09-26  Andy Wingo  <wingo@pobox.com>
12712
12713         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12714
12715         * check/gst-libs/controller.c: Update for controller api change.
12716
12717         * configure.ac: 
12718         * tests/Makefile.am:
12719         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12720         over by GLib bug 118439.
12721         
12722         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12723         routines to a function.
12724
12725         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12726
12727         * libs/gst/controller/gsthelper.c:
12728         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12729         (gst_object_sync_values): Renamed from sink_values. Ugh.
12730
12731         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12732
12733         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12734         Renamed from controller_key, as it is exported.
12735
12736         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12737
12738 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12739
12740         * gst/Makefile.am:
12741         * gst/gst.h:
12742         * gst/gstpad.h:
12743         * gst/gstpadtemplate.h:
12744         * gst/gstquery.c:
12745         * gst/gstquery.h:
12746         * gst/gstqueryutils.c:
12747         * gst/gstqueryutils.h:
12748           remove queryutils headers after moving the two used functions
12749           to gstquery.  also fixes build problem for gstsiddec
12750
12751 2005-09-26  Michael Smith <msmith@fluendo.com>
12752
12753         * tools/gst-launch.1.in:
12754         Correct documentation in manpage of debug syntax
12755
12756 2005-09-26  Wim Taymans  <wim@fluendo.com>
12757
12758         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12759         (gst_base_src_is_seekable), (gst_base_src_change_state):
12760         Some more debugging info.
12761
12762 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12763
12764         * docs/gst/gstreamer-sections.txt:
12765         * gst/base/gstbasetransform.h:
12766         * gst/gstindex.h:
12767           added more docs
12768
12769 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12770
12771         * docs/gst/.cvsignore:
12772         * docs/gst/tmpl/.cvsignore:
12773         * docs/gst/tmpl/gstpipeline.sgml:
12774         * docs/gst/tmpl/gstplugin.sgml:
12775         * gst/gstpipeline.c:
12776         * gst/gstplugin.c:
12777         * gst/gstplugin.h:
12778           inlined the last two docs files
12779           removed the tmpl directory from cvs (no more conflicts here!)
12780
12781 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12782
12783         * docs/gst/gstreamer-sections.txt:
12784         * docs/gst/tmpl/.cvsignore:
12785         * docs/gst/tmpl/gstpad.sgml:
12786         * docs/gst/tmpl/gstpadtemplate.sgml:
12787         * gst/Makefile.am:
12788         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12789         (gst_pad_finalize), (gst_pad_set_pad_template):
12790         * gst/gstpad.h:
12791         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12792         (gst_pad_template_class_init), (gst_pad_template_init),
12793         (gst_pad_template_dispose), (name_is_valid),
12794         (gst_static_pad_template_get), (gst_pad_template_new),
12795         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12796         (gst_pad_template_pad_created):
12797         * gst/gstpadtemplate.h:
12798           inlined two more docs
12799           factored gstpadtemplate out of gstpad
12800
12801 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12802
12803         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12804         (test_children_state_change_order_semi_sink):
12805           Fix test case: we can't rely on a fixed state change order when
12806           going from READY => PAUSED because the sink might commit its 
12807           new state first when the first buffer created by the source 
12808           reaches the sink before the source has finished its change state.
12809           (Test case still fails at times, see #316856, comment 5 onwards)
12810
12811 2005-09-24  Wim Taymans  <wim@fluendo.com>
12812
12813         * docs/design/part-events.txt:
12814         * docs/design/part-gstbus.txt:
12815         * docs/design/part-gstpipeline.txt:
12816         * docs/design/part-messages.txt:
12817         * docs/design/part-overview.txt:
12818         * docs/design/part-segments.txt:
12819         * gst/gstbin.c:
12820         * gst/gstbuffer.c:
12821         * gst/gstclock.c:
12822         * gst/gstelement.c:
12823         * gst/gstevent.c:
12824         * gst/gstfilter.c:
12825         * gst/gstiterator.c:
12826         Various documentation updates.
12827
12828 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12829
12830         * gst/gstclock.h:
12831           Well, that's embarassing.  Luckily we weren't using
12832           GST_CLOCK_DIFF anywhere.
12833
12834 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12835
12836         * common/gtk-doc.mak:
12837           don't fail on building XML, FC4 slave shows a bunch of doc
12838           missing bits that I don't get
12839         * gst/gstpad.c:
12840         * gst/gstpipeline.c:
12841         * gst/gststructure.c:
12842           some doc updates
12843
12844 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12845
12846         * docs/design/part-gstbin.txt:
12847         * docs/design/part-gstbus.txt:
12848         * gst/gstbus.c:
12849           Add blurb about how the bus goes into flushing mode and
12850           drops all messages when its bin goes from READY into NULL 
12851           state.
12852
12853 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12854
12855         * docs/gst/gstreamer-sections.txt:
12856         * gst/gststructure.c: (gst_structure_get_clock_time):
12857         * gst/gststructure.h:
12858           add a method to get a GstClockTime out of a structure
12859
12860 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12861
12862         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12863         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12864           Added test to check state change order in bins (can still be made
12865           to fail here under heavy disk load; bails out with 'Push on pad
12866           fakesink:sink0, but it was not activated in push mode').
12867
12868         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12869           Fix state change order when there is only a semi sink (#316856)
12870
12871         * gst/gstbus.c: (gst_bus_class_init):
12872           Use _class_peek_parent(), not _class_ref(); fix docs to say
12873           'default main context' instead of 'mainloop' where that is
12874           what's meant.
12875
12876         * gst/gstelement.c: (gst_element_commit_state),
12877         (gst_element_set_state):
12878           Fix typos in debug messages
12879
12880 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12881
12882         * docs/README:
12883         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12884         * gst/gstpluginfeature.c:
12885         * gst/gstutils.c:
12886           various doc updates
12887         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12888           change an assert into an error until it gets fixed properly
12889
12890 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12891
12892         * docs/gst/gstreamer-sections.txt:
12893         * docs/gst/tmpl/.cvsignore:
12894         * docs/gst/tmpl/gstelement.sgml:
12895         * docs/gst/tmpl/gstinfo.sgml:
12896         * docs/gst/tmpl/gstobject.sgml:
12897         * gst/gstelement.c:
12898         * gst/gstelement.h:
12899         * gst/gstinfo.c:
12900         * gst/gstinfo.h:
12901         * gst/gstobject.c: (gst_object_class_init):
12902         * gst/gstobject.h:
12903           inlined 3 more biiiig doc files and added some missing docs on the fly
12904
12905 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12906
12907         * check/gst/.cvsignore:
12908         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12909         * gst/gstregistryxml.c: (load_plugin),
12910         (gst_registry_xml_save_plugin):
12911           put back source in registry.  add checks for find_plugin.
12912         * testsuite/states/bin.c: (assert_state), (empty_bin),
12913         (test_adding_one_element), (main):
12914         * testsuite/states/locked.c: (main):
12915           some compile/run fixes
12916
12917 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12918
12919         * check/gst/gstvalue.c: (GST_START_TEST):
12920           fix leaks in the test itself
12921
12922 2005-09-22  Wim Taymans  <wim@fluendo.com>
12923
12924         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12925         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12926         (gst_base_sink_query):
12927         Prepare for more accurate position reporting and query
12928         handling.
12929
12930         * gst/gstelement.c: (gst_element_send_event),
12931         (gst_element_set_state):
12932         Add some comment.
12933
12934 2005-09-22  Wim Taymans  <wim@fluendo.com>
12935
12936         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12937         (gst_query_parse_segment):
12938         * gst/gstquery.h:
12939         More documentation.
12940         Add segment query for future use.
12941
12942 2005-09-22  Wim Taymans  <wim@fluendo.com>
12943
12944         * gst/gstbin.c: (gst_bin_add_func):
12945         Some more debug info.
12946
12947         * gst/gstelement.c: (gst_element_send_event):
12948         Simplify send_event
12949
12950         * gst/gstelement.h:
12951         Don't know how flags got broken.
12952
12953         * gst/gstquery.h:
12954         Added new query.
12955
12956 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12957
12958         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12959           Add simplistic test suite for GST_TYPE_DATE serialisation and
12960           deserialisation.
12961
12962 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12963
12964         * docs/gst/gstreamer-sections.txt:
12965         * gst/gststructure.c: (gst_structure_set_valist),
12966         (gst_structure_get_date):
12967         * gst/gststructure.h:
12968         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12969         (gst_date_copy), (gst_value_compare_date),
12970         (gst_value_serialize_date), (gst_value_deserialize_date),
12971         (gst_value_transform_date_string),
12972         (gst_value_transform_string_date), (_gst_value_initialize):
12973         * gst/gstvalue.h:
12974           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12975           bunch of utility functions along with a hack that checks that
12976           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12977           is required. Part of the grand scheme in #170777.
12978
12979 2005-09-22  Andy Wingo  <wingo@pobox.com>
12980
12981         * gst/gstconfig.h.in: Psych out gtk-doc.
12982
12983         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12984
12985         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12986
12987         * tools/gst-inspect.c (print_element_list): Plug some
12988         inconsequential leaks.
12989
12990         * gst/gstregistry.c (gst_registry_get_default): Doc.
12991
12992         * check/gst/gstplugin.c: 
12993         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12994         * gst/gstelementfactory.c (gst_element_factory_create): 
12995         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12996         refcount changes.
12997
12998         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12999         (gst_plugin_feature_load): Doc, don't eat refs.
13000
13001         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13002         (gst_plugin_list_free): Doc.
13003         (gst_plugin_load_file): Doc updates.
13004
13005         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13006         accessors returning refcounted objects, return a ref.
13007
13008         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13009         accessor for caps. IDEMPOTENCE. Oh yes.
13010
13011 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
13012
13013         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13014
13015         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13016         (_gst_debug_register_funcptr):
13017           Add mutex to serialise access to the hash table with
13018           the function pointer => function name string mapping;
13019           make that hash table static scope (#316809).
13020
13021         * gst/registries/.cvsignore:
13022           Remove left-over file.
13023
13024 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13025
13026         * docs/pwg/appendix-porting.xml:
13027           And something about newsegment events and caps-on-buffers to
13028           the porting guide (feel free to improve).
13029
13030 2005-09-21  Andy Wingo  <wingo@pobox.com>
13031
13032         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13033         data and event probes on the same pad.
13034         (test_buffer_probe_once): Test that removing probes from within
13035         the probe functions works.
13036
13037 2005-09-21  Andy Wingo  <wingo@pobox.com>
13038
13039         * check/gst/gstutils.c: New file.
13040         (test_buffer_probe_n_times): A simple buffer probe test. More to
13041         come, foolios.
13042
13043         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13044         have-data::buffer, not have-data.
13045         (gst_pad_add_event_probe): Likewise for have-data::event.
13046         (gst_pad_add_data_probe): More docs. The part about 'resolving the
13047         peer' isn't quite right yet though.
13048         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
13049         (gst_pad_remove_data_probe): Change to take the guint handler_id
13050         as their arg, not the function+data, which is more glib-like.
13051
13052         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13053         the signal emission to indicate if the data is a buffer or an
13054         event.
13055         (gst_pad_get_type): Initialize buffer and event quarks.
13056         (gst_pad_class_init): have-data is now a detailed signal, yes it
13057         is.
13058
13059 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13060
13061         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13062         * gst/gstutils.c: (gst_util_set_value_from_string),
13063         (gst_util_set_object_arg):
13064           Don't put functional code in g_return_if_fail() or
13065           g_return_val_if_fail() statements, otherwise things will 
13066           break when G_DISABLE_CHECKS is defined during compilation.
13067
13068 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13069
13070         * docs/gst/tmpl/.cvsignore:
13071         * docs/gst/tmpl/gstvalue.sgml:
13072         * gst/gstvalue.c:
13073         * gst/gstvalue.h:
13074           inlied another one and added  some obvious docs
13075
13076 2005-09-21  Wim Taymans  <wim@fluendo.com>
13077
13078         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13079         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13080         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13081         (gst_fdsrc_get_property), (gst_fdsrc_create):
13082         * gst/elements/gstfdsrc.h:
13083         Properly implement fdsrc. Removed signal and timeout,
13084         better implemented somewhere else.
13085
13086 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13087
13088         * docs/gst/tmpl/.cvsignore:
13089         * docs/gst/tmpl/gstimplementsinterface.sgml:
13090         * gst/gstinterface.c:
13091           inlined more docs
13092
13093 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13094
13095         * docs/gst/gstreamer-sections.txt:
13096         * docs/gst/tmpl/.cvsignore:
13097         * docs/gst/tmpl/gstenumtypes.sgml:
13098           remove obsolete doc file
13099
13100 2005-09-21  David Schleef  <ds@schleef.org>
13101
13102         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13103         little beer, fix a little leak.
13104
13105 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13106
13107         * docs/gst/gstreamer-docs.sgml:
13108         * docs/gst/gstreamer-sections.txt:
13109         * docs/gst/tmpl/.cvsignore:
13110         * gst/Makefile.am:
13111         * gst/gst.h:
13112         * gst/gstbin.c:
13113         * gst/gstelement.h:
13114         * gst/gstindex.c: (gst_index_class_init):
13115         * gst/gstindex.h:
13116         * gst/gstindexfactory.c: (gst_index_factory_get_type),
13117         (gst_index_factory_class_init), (gst_index_factory_init),
13118         (gst_index_factory_finalize), (gst_index_factory_new),
13119         (gst_index_factory_destroy), (gst_index_factory_find),
13120         (gst_index_factory_create), (gst_index_factory_make):
13121         * gst/gstindexfactory.h:
13122         * gst/gstpluginfeature.c:
13123         * gst/gstpluginfeature.h:
13124         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13125           more docs inlined, splitted gstindex.{c,h}
13126
13127 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13128
13129         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13130           fix a leak
13131
13132 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13133
13134         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13135           Set sync to FALSE by default.
13136
13137 2005-09-20  Wim Taymans  <wim@fluendo.com>
13138
13139         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13140         (gst_base_sink_init):
13141         Make sync property settable from subclass.
13142
13143         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13144         (gst_fake_sink_change_state):
13145         Set sync to FALSE by default.
13146
13147 2005-09-20  Wim Taymans  <wim@fluendo.com>
13148
13149         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13150         * tools/gst-launch.c: (main):
13151         The timeout handler should have lower priority than the source
13152         so we don't timeout before popping a message with 0 timeout.
13153         Dump error messages after failed state change.
13154
13155 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13156
13157         * tools/gst-inspect.c: (print_element_properties_info):
13158           Fix two typos.
13159
13160 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13161
13162         * check/gst/gstevent.c:
13163         * gst/elements/gstfakesink.c:
13164         * gst/elements/gstfakesink.h:
13165           remove the sync property from fakesink.
13166           has the side effect of setting sync TRUE
13167           for fakesink, which is a change.  Anyone who knows how
13168           to fix this nicely in a GObject-y way, feel free.
13169
13170 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13171
13172         * docs/gst/gstreamer-docs.sgml:
13173           remove probe refsection
13174
13175 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13176
13177         * check/Makefile.am:
13178           disable valgrinding the controller test again
13179         * docs/gst/gstreamer-sections.txt:
13180           update for api-changes
13181
13182 2005-09-20  Wim Taymans  <wim@fluendo.com>
13183
13184         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13185         (gst_base_sink_set_property), (gst_base_sink_get_property),
13186         (gst_base_sink_do_sync):
13187         * gst/base/gstbasesink.h:
13188         Added sync property to basesink to disable clock sync.
13189
13190 2005-09-20  Andy Wingo  <wingo@pobox.com>
13191
13192         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13193         eating the caller's refcount.
13194
13195         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
13196         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13197         refcount.
13198
13199         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13200         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13201         of GLib 2.8 public, so we can know which refcount to check in
13202         tests.
13203
13204         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13205         (gst_object_init): Only set the gst refcount if we're going ahead
13206         with the refcount hack.
13207
13208 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13209
13210         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13211         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13212           more leaks plumbed, added more debug-logging
13213         * gst/gstmacros.h:
13214           whitespace fix
13215
13216 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13217
13218         * gst/gstmessage.c:
13219           remove include of gstmemchunk.h
13220
13221 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13222
13223         * gst/gstclock.c: (_gst_clock_id_free):
13224           Commit from the Political Party For More Atomic CVS Commits,
13225           so that people don't waste too much of their day fishing
13226           out obvious leaks out of massive commits.
13227           Oh, and fix a pretty damn obvious leak in the memchunk
13228           removal code.
13229
13230 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13231
13232         * check/Makefile.am:
13233         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13234           plug mem-leak, re-add to valgrindable tests
13235
13236 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13237
13238         * gst/gstplugin.h:
13239           unbreak the build for those who have chronic arthritis
13240           and typing "make check" is just too taxing on the hands
13241
13242 2005-09-20  Andy Wingo  <wingo@pobox.com>
13243
13244         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13245         really want it out, you should fix plugins at the same time.
13246
13247 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13248
13249         * configure.ac:
13250         * docs/gst/gstreamer-sections.txt:
13251         * gst/gstobject.c:
13252           added missing symbols to api docs
13253           disable ref-count hack if we have glib >= 2.8
13254
13255 2005-09-19  David Schleef  <ds@schleef.org>
13256
13257         * docs/gst/Makefile.am: Ignore a few more internal headers
13258         * docs/gst/gstreamer-docs.sgml: Remove old sections
13259         * docs/gst/gstreamer-sections.txt: Remove old sections
13260         * docs/gst/tmpl/gstobject.sgml: update
13261         * docs/gst/tmpl/gstplugin.sgml: update
13262         * docs/gst/tmpl/gstpluginfeature.sgml: update
13263         * docs/random/ds/0.9-suggested-changes: update.
13264         * gst/Makefile.am: remove memchunk and trashstack, since they're
13265           not used.
13266         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13267         * gst/gst.h: don't include some headers
13268         * gst/gstchildproxy.c: add gstmarshal.h
13269         * gst/gstclock.c: Don't use memchunks
13270         * gst/gstminiobject.c: Add some docs
13271         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13272         * gst/gstobject.h: same
13273         * gst/gstplugin.c: include gstmacros.h
13274         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13275         * gst/gstquery.c: don't use memchunks
13276         * gst/gstregistry.c: rename gst_registry_deinit()
13277         * gst/gstregistry.h: same
13278
13279 2005-09-19  David Schleef  <ds@schleef.org>
13280
13281         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13282         * docs/libs/gstreamer-libs-sections.txt:
13283         * docs/libs/tmpl/gstgetbits.sgml:
13284         * docs/libs/tmpl/gstputbits.sgml:
13285
13286 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13287
13288         * win32/gstenumtypes.c:
13289         * win32/gstenumtypes.h:
13290           Update.
13291
13292 2005-09-19  Wim Taymans  <wim@fluendo.com>
13293
13294         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13295         Automatically PAUSE and RESUME a pipeline when a flushing seek
13296         is performed.
13297
13298 2005-09-19  Andy Wingo  <wingo@pobox.com>
13299
13300         * gst/gstregistry.h: Spacing fixen.
13301
13302 2005-09-19  Wim Taymans  <wim@fluendo.com>
13303
13304         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13305         Handle state change failure more correctly.
13306
13307 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13308
13309         * check/Makefile.am:
13310         * check/pipelines/cleanup.c: (run_pipeline):
13311         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13312         (GST_START_TEST):
13313           enable cleanup again after fixing the leak
13314         * docs/README:
13315           some more info on docs
13316
13317 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13318
13319         * check/Makefile.am:
13320           re-enable tests now that leaks are plugged
13321         * check/gst/gst.c:
13322         * check/gst/gstbin.c:
13323         * check/gst/gstpipeline.c:
13324           add some more tests while fixing leaks
13325         * common/check.mak:
13326           make sure binaries are uptodate when valgrinding/gdbing
13327         * gst/gst.c:
13328         * gst/gstelementfactory.c:
13329           remove a ref too many, and add a FIXME for when we get
13330           round to disposing of classes
13331         * gst/gstplugin.c:
13332           fix the refcounting when loading a plugin from a file and
13333           the code pretends that the pointer is the same even though
13334           of course it can change
13335         * gst/gstpluginfeature.c:
13336           unref plugins marked cached (a bit confusing as a name)
13337           as the docs state should be done
13338           various doc additions to explain refcounting
13339         * gst/gstregistry.c:
13340         * gst/gstregistryxml.c:
13341           debugging
13342
13343 2005-09-19  Wim Taymans  <wim@fluendo.com>
13344
13345         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13346         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13347         (send_messages), (GST_START_TEST), (gstbus_suite):
13348         * check/gst/gstpipeline.c: (GST_START_TEST):
13349         * check/pipelines/cleanup.c: (run_pipeline):
13350         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13351         (GST_START_TEST):
13352         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13353         (gst_bus_source_check), (gst_bus_source_dispatch),
13354         (gst_bus_create_watch), (gst_bus_add_watch_full),
13355         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13356         * gst/gstbus.h:
13357         * tools/gst-launch.c: (event_loop):
13358         * tools/gst-md5sum.c: (event_loop):
13359         GstBusHandler -> GstBusFunc, return value has the same meaning as
13360         any other GSource (FALSE == remove source).
13361         _add_watch() and _add_watch_full() now take a MessageType mask to
13362         only handle specific types of messages.
13363         _poll() returns the GstMessage instead of the message type to avoid
13364         race conditions.
13365         _have_pending() takes a MessageType mask now too.
13366         Added testsuite for multiple bus watches.
13367         Fix testsuites and applications for new bus API.
13368
13369 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13370
13371         * check/Makefile.am:
13372           mark a bunch of the tests as to fix until we fix them
13373
13374 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13375
13376         * common/check.mak:
13377           use GST_PLUGIN settings for valgrind tests as well, so we're
13378           valgrinding the correct thing
13379         * gst/gst.c: (init_post):
13380           plug another leak
13381
13382 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13383
13384         * gst/gst.c: (init_post), (gst_deinit):
13385         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13386         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13387         * gst/gstindex.c: (gst_index_factory_class_init),
13388         (gst_index_factory_finalize):
13389         * gst/gstobject.c: (gst_object_dispose):
13390         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13391         (gst_plugin_load_file), (gst_plugin_desc_free):
13392         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13393         (gst_plugin_feature_finalize):
13394         * gst/gstregistry.c: (gst_registry_class_init),
13395         (gst_registry_init), (gst_registry_finalize),
13396         (gst_registry_get_default), (gst_registry_deinit):
13397         * gst/gstregistry.h:
13398         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13399           various cleanups and memleak plugging.  make valgrind is happy now.
13400
13401 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13402
13403         * common/check.mak:
13404           add a check-valgrind target
13405
13406 2005-09-18  David Schleef  <ds@schleef.org>
13407
13408         * tools/gst-inspect.c: Revert the GOption code.
13409
13410 2005-09-17  David Schleef  <ds@schleef.org>
13411
13412         * check/Makefile.am: Fix environment variables.
13413         * check/gst/gstplugin.c: Fix for API changes.
13414         * tools/gst-inspect.c: Fix for API changes.
13415         * tools/gst-xmlinspect.c: Fix for API changes.
13416         * gst/gstelementfactory.c:
13417         * gst/gstplugin.c:
13418         * gst/gstplugin.h:
13419         * gst/gstpluginfeature.c:
13420         * gst/gstpluginfeature.h:
13421         * gst/gstregistry.c:
13422         * gst/gstregistry.h:
13423         * gst/gstregistryxml.c:
13424         * gst/gsttypefind.c:
13425         * gst/gsttypefindfactory.c:
13426         * gst/indexers/gstfileindex.c:
13427         * gst/indexers/gstmemindex.c:
13428         * gst/schedulers/Makefile.am:
13429           Change registry to keep track of both plugins and features,
13430           removing the feature tracking from plugins themselves.
13431
13432 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13433
13434         * check/Makefile.am:
13435         * tools/gst-register.1.in:
13436           remove gst-register
13437
13438 2005-09-15  David Schleef  <ds@schleef.org>
13439
13440         * check/gst/gstplugin.c:
13441         * gst/gstelementfactory.c:
13442         * gst/gstplugin.c:
13443         * gst/gstpluginfeature.c:
13444         * gst/gstregistry.c:
13445           Getting tired of debugging.  Disabled all the unreffing of
13446           plugins and features, which fixes the segfaults, but of
13447           course leaks like crazy.  At least playbin works.
13448
13449 2005-09-15  David Schleef  <ds@schleef.org>
13450
13451         * check/gst/gstplugin.c: (register_check_elements),
13452         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13453         More testing
13454         * gst/elements/gsttypefindelement.c: Fix refcounting.
13455         * gst/gsttypefind.c:
13456         * gst/gsttypefindfactory.c:
13457         * gst/gsttypefindfactory.h:
13458
13459 2005-09-15  David Schleef  <ds@schleef.org>
13460
13461         * gst/gstindex.c: get refcounting correct.
13462         * gst/gstregistry.c: Handle the case where a feature/plugin is
13463           not found.
13464
13465 2005-09-15  David Schleef  <ds@schleef.org>
13466
13467         * check/Makefile.am:
13468         * check/gst/gstplugin.c: Add test
13469         * gst/gstplugin.c: Fix problems noticed by testsuite
13470         * gst/gstplugin.h:
13471         * gst/gstregistry.c: 
13472         * gst/gstregistry.h:
13473
13474 2005-09-15  David Schleef  <ds@schleef.org>
13475
13476         * gst/gstplugin.c: Implement semi-decent recounting and locking
13477           in plugins and plugin features.
13478         * gst/gstplugin.h:
13479         * gst/gstpluginfeature.c:
13480         * gst/gstpluginfeature.h:
13481         * gst/gstregistry.c:
13482
13483 2005-09-15  Michael Smith <msmith@fluendo.com>
13484
13485         * gst/gstregistry.c: (gst_registry_get_feature_list):
13486           Implement this. Makes oggdemux work; decodebin still broken.
13487
13488 2005-09-14  David Schleef  <ds@schleef.org>
13489
13490         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13491           #316076)
13492         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13493         * gst/check/Makefile.am:
13494         * libs/gst/controller/Makefile.am:
13495         * libs/gst/dataprotocol/Makefile.am:
13496
13497 2005-09-14  David Schleef  <ds@schleef.org>
13498
13499         * configure.ac: Remove getbits library.  Nothing uses it, and
13500           it should be in something like liboil if someone did want
13501           to use it.
13502         * libs/gst/Makefile.am:
13503         * libs/gst/getbits/Makefile.am:
13504         * libs/gst/getbits/gbtest.c:
13505         * libs/gst/getbits/getbits.c:
13506         * libs/gst/getbits/getbits.h:
13507         * libs/gst/getbits/gstgetbits_generic.c:
13508         * libs/gst/getbits/gstgetbits_i386.s:
13509         * libs/gst/getbits/gstgetbits_inl.h:
13510
13511 2005-09-14  David Schleef  <ds@schleef.org>
13512
13513         * gst/Makefile.am: Dist glib-compat.h
13514
13515 2005-09-14  David Schleef  <ds@schleef.org>
13516
13517         * configure.ac: Remove gst/registries, since it's no longer used.
13518         * gst/registries/Makefile.am:
13519         * gst/registries/gstlibxmlregistry.c:
13520         * gst/registries/gstlibxmlregistry.h:
13521         * gst/registries/gstxmlregistry.c:
13522         * gst/registries/gstxmlregistry.h:
13523         * gst/registries/registrytest.c:
13524
13525 2005-09-14  David Schleef  <ds@schleef.org>
13526
13527         * gst/glib-compat.h:
13528         * gst/gstregistryxml.c:
13529           Convergence is near.  Seriously.
13530
13531 2005-09-14  David Schleef  <ds@schleef.org>
13532
13533         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13534         * gst/glib-compat.h:
13535           Attempt #4 to appease the buildbots.
13536
13537 2005-09-14  David Schleef  <ds@schleef.org>
13538
13539         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13540           Attempt #3.
13541
13542 2005-09-14  David Schleef  <ds@schleef.org>
13543
13544         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13545         Attempt #2.
13546
13547 2005-09-14  David Schleef  <ds@schleef.org>
13548
13549         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13550           the new functions.
13551
13552 2005-09-14  David Schleef  <ds@schleef.org>
13553
13554         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13555         * gst/glib-compat.h: Add some functions that are in newer versions
13556           of glib than we care to require.
13557         * gst/gstregistryxml.c: Use them.
13558
13559 2005-09-14  David Schleef  <ds@schleef.org>
13560
13561         * po/POTFILES.in: remove gst-register.c
13562
13563 2005-09-14  David Schleef  <ds@schleef.org>
13564
13565         * docs/gst/gstreamer-docs.sgml:
13566         * docs/gst/gstreamer-sections.txt:
13567         * docs/gst/gstreamer.types:
13568         * docs/gst/tmpl/gstelement.sgml:
13569         * docs/gst/tmpl/gstplugin.sgml:
13570         * docs/gst/tmpl/gstpluginfeature.sgml:
13571           Documentation updates for registry changes.
13572
13573 2005-09-14  David Schleef  <ds@schleef.org>
13574
13575         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13576           because we don't require glib-2.8.
13577
13578 2005-09-14  David Schleef  <ds@schleef.org>
13579
13580         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13581           registries directory.
13582
13583 2005-09-14  David Schleef  <ds@schleef.org>
13584
13585         * check/Makefile.am:
13586         * check/generic/states.c:
13587         * gst/Makefile.am:
13588         * gst/gst.c:
13589         * gst/gst.h:
13590         * gst/gst_private.h:
13591         * gst/gstelementfactory.c:
13592         * gst/gstindex.c:
13593         * gst/gstinfo.c:
13594         * gst/gstplugin.c:
13595         * gst/gstplugin.h:
13596         * gst/gstpluginfeature.c:
13597         * gst/gstpluginfeature.h:
13598         * gst/gstregistry.c:
13599         * gst/gstregistry.h:
13600         * gst/gstregistrypool.c: remove
13601         * gst/gstregistrypool.h: remove
13602         * gst/gsttypefind.c:
13603         * gst/gsttypefindfactory.c:
13604         * gst/gsturi.c:
13605         * tools/Makefile.am:
13606         * tools/gst-compprep.c:
13607         * tools/gst-inspect.c:
13608         * tools/gst-register.c: remove
13609         * tools/gst-xmlinspect.c:
13610           Registry rewrite.  Changes registry from being a file created
13611           by a tool into a simple cache file created automatically by 
13612           libgstreamer.  Removed gst-register (because it's no longer
13613           needed).  Remove registry pools, because we only have one
13614           registry implementation (XML).  Fix up other subsystems as
13615           necessary.
13616
13617 2005-09-13  Michael Smith <msmith@fluendo.com>
13618
13619         * gst/gstconfig.h.in:
13620           Don't Use windows linking attributes for MinGW. Fixes #316157
13621
13622 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13623
13624         * gst/gstutils.c: (set_state_async_thread_func),
13625         (gst_element_set_state_async):
13626           Apparently people think it's better if this function doesn't
13627           try to set the state to whatever state was asked for on the first
13628           call to this function for any object.  Seriously.
13629
13630 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13631
13632         * check/gst/gstpipeline.c: (GST_START_TEST):
13633         * docs/gst/gstreamer-sections.txt:
13634         * gst/gstutils.c: (set_state_async_thread_func),
13635         (gst_element_set_state_async):
13636         * gst/gstutils.h:
13637           add a "gst_element_set_state_async" method that
13638           sets the state and starts a thread to make sure the state
13639           change completes as best as it can
13640
13641 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13642
13643         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13644           codify design+behaviour in testsuite after discussion
13645
13646 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13647
13648         * docs/gst/tmpl/gstelement.sgml:
13649         * docs/manual/appendix-quotes.xml:
13650           add a quote
13651         * gst/gstelement.c: (gst_element_set_state):
13652           add some debug
13653
13654 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13655
13656         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13657         (gst_base_transform_prepare_output_buf),
13658         (gst_base_transform_handle_buffer):
13659         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13660         (gst_capsfilter_prepare_buf):
13661           Remove the requirement for sub-classes to call the parent
13662           implementation of prepare_output_buffer with a wrapper function.
13663           
13664         * gst/gsttaglist.h:
13665         * gst/gsttagsetter.h:
13666           Fix #define wrapper
13667
13668 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13669
13670         * docs/gst/gstreamer-sections.txt:
13671           more doc cleanups
13672
13673 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13674
13675         * docs/gst/gstreamer-sections.txt:
13676         * docs/gst/tmpl/gstelement.sgml:
13677         * docs/gst/tmpl/gstplugin.sgml:
13678         * gst/gstminiobject.c:
13679         * gst/gstvalue.h:
13680           docs now stop throwing warnings
13681
13682 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13683
13684         * docs/gst/gstreamer-sections.txt:
13685         * docs/gst/gstreamer.types:
13686         * docs/gst/tmpl/gstpad.sgml:
13687         * docs/gst/tmpl/gsttypes.sgml:
13688         * gst/base/gstadapter.h:
13689         * gst/base/gstbasesink.h:
13690         * gst/base/gstbasesrc.h:
13691         * gst/gstbin.h:
13692         * gst/gstbuffer.h:
13693         * gst/gstbus.h:
13694         * gst/gstcaps.h:
13695         * gst/gstclock.h:
13696         * gst/gstelement.h:
13697         * gst/gstevent.h:
13698         * gst/gstmessage.h:
13699         * gst/gstpad.h:
13700         * gst/gststructure.c:
13701         * gst/registries/gstlibxmlregistry.h:
13702           various documentation fixes
13703
13704 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13705
13706         * docs/gst/gstreamer-sections.txt:
13707         * docs/gst/tmpl/gstvalue.sgml:
13708           rearrange gstvalue section
13709         * gst/gstutils.c: (gst_element_state_get_name):
13710           NONE -> VOID
13711         * gst/gstvalue.c: (_gst_value_initialize):
13712         * gst/gstvalue.h:
13713           doc updates
13714
13715 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13716
13717         * check/gst-libs/controller.c:
13718           Header include fix.
13719         * gst/base/gstbasetransform.c:
13720         (gst_base_transform_default_prepare_buf),
13721         (gst_base_transform_handle_buffer):
13722         * gst/base/gstbasetransform.h:
13723           Some more basetransform changes and fixes to enable sub-classes
13724           that modify buffer metadata only.
13725         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13726         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13727         (gst_capsfilter_prepare_buf):
13728           If the output pad has fixed allowed caps and input buffers 
13729           don't have any, set the fixed caps on outgoing buffers.
13730
13731 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13732         * check/elements/identity.c: (GST_START_TEST):
13733           Make the error a little clearer when the test fails because
13734           identity made a copy of the buffer.
13735         * docs/gst/gstreamer-sections.txt:
13736           New symbols in gstbasetransform.h
13737         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13738         (gst_base_transform_init), (gst_base_transform_transform_size),
13739         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13740         (gst_base_transform_default_prepare_buf),
13741         (gst_base_transform_get_unit_size),
13742         (gst_base_transform_buffer_alloc),
13743         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13744         (gst_base_transform_change_state),
13745         (gst_base_transform_set_passthrough),
13746         (gst_base_transform_set_in_place),
13747         (gst_base_transform_is_in_place):
13748         * gst/base/gstbasetransform.h:
13749           Change BaseTransform to separate in_place operate from same_caps
13750           output. in_place implies that the element can perform the transform
13751           on incoming buffers in-place, even if the caps on the output are
13752           different.
13753           Sub-class elements can now implement special buffer allocation
13754           methods for outgoing buffers if they wish to.
13755           Big documentation addition.
13756         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13757         * gst/elements/gstelements.c:
13758           Changes for basetransform modifications.
13759         * gst/elements/Makefile.am:
13760         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13761           Compile fix. Extra debug output.
13762
13763 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13764
13765         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13766         (gst_pad_suite):
13767           add tests for valid pad naming
13768         * gst/check/gstcheck.c: (gst_check_log_message_func),
13769         (gst_check_log_critical_func):
13770           add ASSERT_WARNING
13771           remove printing of code, it is fragile when the code contains
13772           % and the line number is enough info
13773         * gst/check/gstcheck.h:
13774         * gst/gstpad.c: (gst_pad_template_new):
13775           fix memleaks
13776
13777 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13778
13779         * configure.ac:
13780           say what CHECK flags we use
13781         * docs/libs/gstreamer-libs.types:
13782         * libs/gst/controller/Makefile.am:
13783         * libs/gst/controller/gst-controller.c:
13784         * libs/gst/controller/gst-controller.h:
13785         * libs/gst/controller/gst-helper.c:
13786         * libs/gst/controller/gst-interpolation.c:
13787         * libs/gst/controller/gstcontroller.c:
13788         * libs/gst/controller/gsthelper.c:
13789         * libs/gst/controller/gstinterpolation.c:
13790         * tools/gst-inspect.c: (print_plugin_info):
13791           we don't use dashes in header names
13792
13793 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13794
13795         * check/Makefile.am:
13796         * check/gst/.cvsignore:
13797         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13798         (gst_pipeline_suite), (main):
13799           adding a test for pipelines and state changes
13800         * gst/gstutils.c: (get_state_func):
13801           add some debugging
13802         * gstreamer.spec.in:
13803           fix up spec file
13804
13805 2005-09-08  Michael Smith <msmith@fluendo.com>
13806
13807         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13808         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13809         (gst_file_src_is_seekable), (gst_file_src_get_size),
13810         (gst_file_src_start):
13811         * gst/elements/gstfilesrc.h:
13812           Various fixes for unseekable, unmmapable, and non-normal files, so
13813           that fallback to read() rather than mmap() works.
13814         * gst/gstevent.c: (gst_event_new_newsegment):
13815           Allow newsegment events with segment_start == segment_end, as will
13816           correctly happen if you use filesrc on a zero-size file, for
13817           example.
13818
13819 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13820
13821         * gst/gstplugin.c: (gst_plugin_load_file):
13822           Call g_module_close when we don't load the module
13823
13824         * gst/registries/gstlibxmlregistry.c:
13825         (gst_xml_registry_get_property):
13826           Port leak fix from 0.8
13827
13828 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13829
13830         * docs/gst/gstreamer-docs.sgml:
13831         * docs/gst/tmpl/.cvsignore:
13832         * docs/gst/tmpl/gsttrace.sgml:
13833         * docs/gst/tmpl/gsttrashstack.sgml:
13834         * gst/Makefile.am:
13835         * gst/gst.h:
13836         * gst/gstelement.h:
13837         * gst/gstevent.h:
13838         * gst/gstmessage.c:
13839         * gst/gstmessage.h:
13840         * gst/gsttag.c:
13841         * gst/gsttag.h:
13842         * gst/gsttaginterface.c:
13843         * gst/gsttaginterface.h:
13844         * gst/gsttaglist.c:
13845         * gst/gsttaglist.h:
13846         * gst/gsttagsetter.c:
13847         * gst/gsttagsetter.h:
13848         * gst/gsttrace.c:
13849         * gst/gsttrace.h:
13850         * gst/gsttrashstack.c:
13851           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13852           inlined docs for gsttrace, gsttrashstack
13853
13854 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13855
13856         * gst/Makefile.am:
13857         * gst/elements/gstbufferstore.h:
13858         * gst/elements/gsttypefindelement.c:
13859         * gst/elements/gsttypefindelement.h:
13860         * gst/gst.h:
13861         * gst/gsttypefind.c:
13862         * gst/gsttypefind.h:
13863         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13864         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13865         (gst_type_find_factory_dispose),
13866         (gst_type_find_factory_unload_thyself),
13867         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13868         (gst_type_find_factory_get_caps),
13869         (gst_type_find_factory_get_extensions),
13870         (gst_type_find_factory_call_function):
13871         * gst/gsttypefindfactory.h:
13872         * gst/registries/gstlibxmlregistry.c:
13873         * gst/registries/gstxmlregistry.c:
13874           splitted gsttypefind into gsttypefind, gsttypefindfactory
13875
13876 2005-09-07  Andy Wingo  <wingo@pobox.com>
13877
13878         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13879         condition whereby the pad's task function is entered before the
13880         pad_mode variable was set.
13881
13882 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13883
13884         * gst/gstpad.c: (gst_pad_alloc_buffer):
13885           Catch misbehaving pad_alloc functions that don't
13886           set up caps and do it for them.
13887
13888 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13889
13890         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13891           test for pipe!=NULL
13892         * docs/gst/tmpl/.cvsignore:
13893         * docs/gst/tmpl/gstmemchunk.sgml:
13894         * docs/gst/tmpl/gstparse.sgml:
13895         * docs/gst/tmpl/gsttaglist.sgml:
13896         * docs/gst/tmpl/gsttagsetter.sgml:
13897         * docs/gst/tmpl/gsttypefind.sgml:
13898         * docs/gst/tmpl/gsttypefindfactory.sgml:
13899         * gst/gstmemchunk.c:
13900         * gst/gstparse.c:
13901         * gst/gsttag.c:
13902         * gst/gsttaginterface.c:
13903         * gst/gsttypefind.c:
13904         * gst/gsttypefind.h:
13905           inlined more docs
13906
13907 === release 0.9.2 ===
13908
13909 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13910
13911         * NEWS:
13912         * RELEASE:
13913         * configure.ac:
13914           releasing 0.9.2, "South"
13915
13916 2005-09-05  Andy Wingo  <wingo@pobox.com>
13917
13918         * gst/registries/gstxmlregistry.h:
13919         * gst/registries/gstxmlregistry.c: Um... resurrect...
13920         
13921         * gst/registries/gstxmlregistry.h:
13922         * gst/registries/gstxmlregistry.c: and update to newer API.
13923         Incidentally they should be a bit faster now that they don't have
13924         to parse the caps.
13925         
13926 2005-09-05  Andy Wingo  <wingo@pobox.com>
13927
13928         * gst/registries/gstxmlregistry.h:
13929         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13930         replaced by the libxml registry a while back
13931
13932 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13933
13934         * docs/gst/tmpl/gstplugin.sgml:
13935         * gst/elements/gstelements.c:
13936         * gst/gst.c:
13937         * gst/gstplugin.c: (gst_plugin_register_func),
13938         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13939         (gst_plugin_get_source):
13940         * gst/gstplugin.h:
13941         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13942         (gst_xml_registry_save_plugin):
13943         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13944         (gst_xml_registry_save_plugin):
13945         * tools/gst-inspect.c: (print_plugin_info):
13946           add a "source" plugin description field, to represent the source
13947           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13948           will set it to PACKAGE, which is automake's idea of the name of
13949           the source project.
13950
13951 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13952
13953         * Makefile.am:
13954         * autogen.sh:
13955         * configure.ac:
13956         * docs/Makefile.am:
13957         * docs/faq/Makefile.am:
13958         * docs/gst/tmpl/gstelement.sgml:
13959         * docs/gst/tmpl/gsttypes.sgml:
13960         * docs/htmlinstall.mak:
13961         * docs/manual/Makefile.am:
13962         * docs/pwg/Makefile.am:
13963           reorganize doc build a little
13964           split out docbook and gtk-doc stuff
13965           have two separate --enable's and enable them through autogen
13966           but disable by default in configure (to be similar to other
13967           projects)
13968         * gstreamer.spec.in:
13969           clean up docs install
13970         * po/af.po:
13971         * po/az.po:
13972         * po/ca.po:
13973         * po/cs.po:
13974         * po/de.po:
13975         * po/en_GB.po:
13976         * po/fr.po:
13977         * po/it.po:
13978         * po/nb.po:
13979         * po/nl.po:
13980         * po/ru.po:
13981         * po/sq.po:
13982         * po/sr.po:
13983         * po/sv.po:
13984         * po/tr.po:
13985         * po/uk.po:
13986         * po/vi.po:
13987           translation updates
13988
13989 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13990
13991         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13992           Add comment.
13993           
13994         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13995         (gst_fake_sink_change_state):
13996           Make state change function thread-safe.
13997           
13998         * gst/gstpad.c: (gst_pad_alloc_buffer):
13999           Set offset on generic buffer allocated by fallback.
14000
14001 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
14002
14003         * docs/gst/gstreamer-sections.txt:
14004         * docs/gst/tmpl/gstelement.sgml:
14005         * gst/gstpad.c:
14006         * libs/gst/controller/gst-controller.c:
14007         (gst_controlled_property_set_interpolation_mode),
14008         (gst_controlled_property_new),
14009         (gst_controller_find_controlled_property):
14010          run the wingo-magic script against the docs
14011
14012 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14013
14014         * docs/gst/gstreamer-docs.sgml:
14015         * docs/gst/gstreamer-sections.txt:
14016         * docs/gst/tmpl/.cvsignore:
14017         * docs/gst/tmpl/gstelementdetails.sgml:
14018         * docs/gst/tmpl/gstelementfactory.sgml:
14019         * gst/gst.c:
14020         * gst/gstbus.c:
14021         * gst/gstelementfactory.c:
14022         * gst/gstelementfactory.h:
14023           merged elementdetails docs into elementfactory docs
14024           inlined both
14025
14026 2005-09-02  Andy Wingo  <wingo@pobox.com>
14027
14028         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14029         consider this enum an enum and not a flags.
14030
14031 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14032
14033         * docs/gst/gstreamer-docs.sgml:
14034         * docs/gst/tmpl/.cvsignore:
14035         * docs/gst/tmpl/gstghostpad.sgml:
14036         * docs/gst/tmpl/gstiterator.sgml:
14037         * docs/gst/tmpl/gstmacros.sgml:
14038         * docs/gst/tmpl/gstrealpad.sgml:
14039         * docs/gst/tmpl/gstregistry.sgml:
14040         * docs/gst/tmpl/gstregistrypool.sgml:
14041         * docs/gst/tmpl/gststructure.sgml:
14042         * docs/gst/tmpl/gstsystemclock.sgml:
14043         * docs/gst/tmpl/gsttrace.sgml:
14044         * gst/gstghostpad.c:
14045         * gst/gstmacros.h:
14046         * gst/gstmemchunk.c:
14047         * gst/gstmemchunk.h:
14048         * gst/gstqueue.c:
14049         * gst/gstregistry.c:
14050         * gst/gstregistrypool.c:
14051         * gst/gststructure.c:
14052         * gst/gstsystemclock.c:
14053           more docs inlined
14054
14055 2005-09-02  Andy Wingo  <wingo@pobox.com>
14056
14057         * gst/gstelement.h (GstState): Renamed from GstElementState,
14058         changed to be a normal enum instead of flags.
14059         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14060         munged to be GST_STATE_CHANGE_*.
14061         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14062         work with the new state representation.
14063         (GstStateChange): New enumeration of possible state transitions.
14064         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14065         (GstElementClass::change_state): Pass the GstStateChange along as
14066         an argument. Helps language bindings, so they don't have to use
14067         tricky lock-needing macros like GST_STATE_CHANGE ().
14068
14069         * scripts/update-states (file): New script. Run it on a file to
14070         update it for state naming and API changes. Updates files in
14071         place.
14072
14073         * All files updated for the new API.
14074
14075 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14076
14077         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14078         * gst/gstutils.c: (gst_util_set_value_from_string),
14079         (gst_util_set_object_arg):
14080           fix a bunch of unchecked return values
14081         * tools/gst-complete.c: (main):
14082         * gstreamer.spec.in:
14083           clean up a little
14084
14085 2005-09-01  Wim Taymans  <wim@fluendo.com>
14086
14087         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14088         (gst_base_sink_event), (gst_base_sink_do_sync),
14089         (gst_base_sink_handle_event):
14090         * gst/base/gstbasesink.h:
14091         Handle newsegments more correctly.
14092
14093         * gst/gstbus.c:
14094         Fix docs.
14095
14096         * gst/gstevent.c: (gst_event_new_newsegment):
14097         A newsegment cannot have a start_time of -1
14098
14099 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
14100
14101         * win32/gstenumtypes.c:
14102         * win32/gstenumtypes.h:
14103           Update
14104
14105 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14106
14107         * libs/gst/controller/gst-controller.c:
14108         (gst_controlled_property_set_interpolation_mode),
14109         (gst_controlled_property_new):
14110          fixed boolean again
14111
14112 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14113
14114         * docs/faq/gst-uninstalled:
14115           add -good
14116         * gst/gstevent.c:
14117         * gst/gstevent.h:
14118           remove wrong docs
14119         * gst/gstutils.c: (gst_element_link_filtered):
14120         * gst/gstutils.h:
14121           add gst_element_link_filtered
14122
14123 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14124
14125         * docs/gst/gstreamer-docs.sgml:
14126         * docs/gst/gstreamer-sections.txt:
14127         * docs/gst/tmpl/.cvsignore:
14128         * docs/gst/tmpl/gsterror.sgml:
14129         * docs/gst/tmpl/gstfilter.sgml:
14130         * docs/gst/tmpl/gsturihandler.sgml:
14131         * docs/gst/tmpl/gsturitype.sgml:
14132         * docs/gst/tmpl/gstutils.sgml:
14133         * docs/gst/tmpl/gstxml.sgml:
14134         * gst/gsterror.c:
14135         * gst/gsterror.h:
14136         * gst/gstfilter.c:
14137         * gst/gsturi.c:
14138         * gst/gsturitype.c:
14139         * gst/gstutils.c:
14140         * gst/gstxml.c:
14141           inlined more docs, fixed double id-ref
14142
14143 2005-08-31  Wim Taymans  <wim@fluendo.com>
14144
14145         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14146         (gst_base_transform_handle_buffer):
14147         Passthrough elements don't need the caps as they don't care.
14148
14149 2005-08-31  Wim Taymans  <wim@fluendo.com>
14150
14151         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14152         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14153         Don't leak refcounts on buffers.
14154
14155 2005-08-31  Wim Taymans  <wim@fluendo.com>
14156
14157         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14158         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14159         (gst_base_transform_chain), (gst_base_transform_change_state):
14160         * gst/base/gstbasetransform.h:
14161         Handle the case where we are not negotiated more gracefully.
14162
14163 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
14164
14165         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14166         (gst_file_src_map_region):
14167           Set READONLY flag on mmap'ed buffers, otherwise
14168           gst_buffer_make_writable() won't work properly (#314708).
14169
14170 2005-08-31  Wim Taymans  <wim@fluendo.com>
14171
14172         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14173         passthrough elements can even do inplace on non writable
14174         buffers (as they don't touch them).
14175
14176 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14177
14178         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14179         (gst_test_mono_source_set_property),
14180         (gst_test_mono_source_class_init), (GST_START_TEST),
14181         (gst_controller_suite):
14182           more tests (hehe I have the most)
14183         * gst/gstbus.c:
14184           describe popping messages whenusing mulltiple sources
14185         * libs/gst/controller/gst-controller.c:
14186         (gst_controlled_property_set_interpolation_mode),
14187         (gst_controlled_property_new):
14188         * libs/gst/controller/gst-controller.h:
14189         * libs/gst/controller/gst-interpolation.c:
14190           implement boolean properties
14191
14192 2005-08-31  Wim Taymans  <wim@fluendo.com>
14193
14194         * gst/gstminiobject.c: (gst_mini_object_ref):
14195         Cannot assert that the refcount has to be positive
14196         since a disposed object can be resurrected.
14197
14198 2005-08-31  Wim Taymans  <wim@fluendo.com>
14199
14200         * gst/gstpad.c: (gst_pad_init):
14201         Revert change, need to first fix badly behaving 
14202         apps.
14203
14204 2005-08-30  Wim Taymans  <wim@fluendo.com>
14205
14206         * check/elements/fakesrc.c: (setup_fakesrc):
14207         * check/elements/identity.c: (setup_identity):
14208         Activate pads before using them.
14209
14210 2005-08-30  Wim Taymans  <wim@fluendo.com>
14211
14212         * gst/base/gstadapter.c: (gst_adapter_flush):
14213         Flushing out 0 bytes is ok for this function.
14214
14215         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14216         no newsegment gives a warning and sets the start/stop to 
14217         invalid.
14218
14219         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14220         (gst_base_transform_set_passthrough):
14221         Some debug info.
14222
14223         * gst/gstminiobject.c: (gst_mini_object_ref):
14224         Check refcount here too.
14225
14226         * gst/gstpad.c: (gst_pad_init):
14227         Pads are initially flushing and refusing data.
14228
14229         * gst/gstutils.c: (gst_element_link_pads_filtered):
14230         When adding a capsfilter element make sure it has the
14231         same state as the parent bin.
14232
14233 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14234
14235         * docs/gst/tmpl/.cvsignore:
14236         * docs/gst/tmpl/gstformat.sgml:
14237         * docs/gst/tmpl/gstversion.sgml:
14238         * gst/gstbus.h:
14239         * gst/gstformat.c:
14240         * gst/gstformat.h:
14241         * gst/gstversion.h.in:
14242           more docs and two more inlined
14243
14244 2005-08-30  Wim Taymans  <wim@fluendo.com>
14245
14246         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14247         Don't sync to clock.
14248
14249 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14250
14251         * docs/gst/gstreamer-sections.txt:
14252           ultral33t func10ns deserve to appear in the docs actually
14253         * docs/gst/tmpl/.cvsignore:
14254         * docs/gst/tmpl/gstcompat.sgml:
14255         * docs/gst/tmpl/gstconfig.sgml:
14256         * gst/check/gstcheck.c:
14257         * gst/gstcompat.h:
14258         * gst/gstconfig.h.in:
14259           inlined more docs
14260
14261 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14262
14263         * docs/gst/tmpl/.cvsignore:
14264         * docs/gst/tmpl/gstquery.sgml:
14265         * docs/gst/tmpl/gstutils.sgml:
14266         * gst/gstquery.c:
14267         * gst/gstquery.h:
14268           inlined and extended docs
14269
14270 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14271
14272         * check/gst-libs/controller.c: (GST_START_TEST),
14273         (gst_controller_suite):
14274           more tests
14275         * docs/gst/tmpl/gstutils.sgml:
14276         * docs/libs/gstreamer-libs-sections.txt:
14277         * docs/libs/tmpl/gstdataprotocol.sgml:
14278           include path fixes
14279         * examples/controller/audio-example.c: (main):
14280           controller example works now
14281         * gst/gstclock.h:
14282           doc fixes
14283         * tools/gst-inspect.c: (print_element_properties_info):
14284           show param spec flags
14285
14286 2005-08-29  Andy Wingo  <wingo@pobox.com>
14287
14288         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14289
14290 2005-08-28  Andy Wingo  <wingo@pobox.com>
14291
14292         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14293         as having two arguments instead of just one. Allows superclasses
14294         to access information on subclasses -- see the terrible for() loop
14295         in gtype.c:g_type_create_instance for the reason why. All callers
14296         changed.
14297
14298 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14299
14300         * docs/design/part-messages.txt:
14301           update info
14302         * docs/gst/tmpl/.cvsignore:
14303         * docs/gst/tmpl/gstcaps.sgml:
14304         * docs/gst/tmpl/gstclock.sgml:
14305         * gst/gstbus.c:
14306         * gst/gstcaps.c:
14307         * gst/gstcaps.h:
14308         * gst/gstclock.c:
14309         * gst/gstclock.h:
14310         * gst/gstmessage.c:
14311           added descriptions for bus and message
14312           inline caps and clock docs
14313
14314 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14315
14316         * gst/gstmessage.c:
14317         * gst/gstmessage.h:
14318           doc fixes
14319
14320 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14321
14322         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14323           fix div-by-zero
14324
14325 2005-08-26  Andy Wingo  <wingo@pobox.com>
14326
14327         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14328         element_set_state's return val.
14329         (test_2_elements): Add test that's been disabled for months.
14330
14331         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14332         can-activate-pull properties.
14333
14334         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14335         can-activate-pull properties. Implement is_seekable so fakesrc can
14336         operate in pull mode.
14337
14338         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14339         properties.
14340         (gst_base_sink_activate, gst_base_sink_activate_pull)
14341         (gst_base_sink_activate_push): Make activation mode choosing work.
14342         Cleanups.
14343         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14344         is right. Make pull mode work. Post an eos before pausing in pull
14345         mode.
14346         (gst_base_sink_change_state): Pay attention to the core's
14347         change_state() return val.
14348         
14349         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14350         has-getrange properties. Cleanups.
14351         
14352         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14353         has_getrange and replace with can_activate_pull and
14354         can_activate_push.
14355
14356         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14357         locking comments. Remove has_loop, has_chain and replace with
14358         can_activate_pull and can_activate_push.
14359
14360 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14361
14362         * configure.ac:
14363         * examples/Makefile.am:
14364         * examples/metadata/Makefile.am:
14365         * examples/metadata/read-metadata.c: (message_loop),
14366         (have_pad_handler), (make_pipeline), (print_tag), (main):
14367           Add metadata reading example that loops over a list of filenames,
14368           dumping any tags found.
14369
14370         * gst/gstbus.c: (gst_bus_dispose):
14371         * gst/gstelement.c: (gst_element_dispose):
14372           Release a few potentially-held references in dispose.
14373
14374 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14375
14376         * docs/gst/tmpl/gstminiobject.sgml:
14377           do *not* add tmpl/*.sgml files to CVS!
14378
14379 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14380
14381         * libs/gst/bytestream/.cvsignore:
14382         * libs/gst/bytestream/Makefile.am:
14383         * libs/gst/bytestream/adapter.c:
14384         * libs/gst/bytestream/adapter.h:
14385         * libs/gst/bytestream/bytestream.c:
14386         * libs/gst/bytestream/bytestream.h:
14387         * libs/gst/bytestream/filepad.c:
14388         * libs/gst/bytestream/filepad.h:
14389           removing obsolete files
14390
14391 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14392
14393         * docs/gst/gstreamer-docs.sgml:
14394         * docs/libs/gstreamer-libs-docs.sgml:
14395           disabed additional index entries again, as this makes docs-gen just
14396           slow and they aren't useful yet
14397         * docs/libs/gstreamer-libs-sections.txt:
14398           little -section.txt cleanup for libs
14399
14400 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14401
14402         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14403         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14404           fix up some debugging
14405         (gst_base_transform_get_unit_size),
14406         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14407         (gst_base_transform_handle_buffer):
14408         * gst/base/gstbasetransform.h:
14409           handle and store timed NEWSEGMENT events so that subclasses that
14410           calculate time by counting samples have a segment_start time they
14411           need to add to their timestamps - see audioresample
14412
14413 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14414
14415         * gst/gstbin.h:
14416           removed ';' from the end of macro defs
14417         * docs/gst/gstreamer-docs.sgml:
14418         * docs/gst/gstreamer-sections.txt:
14419         * docs/gst/tmpl/.cvsignore:
14420         * gst/gstbus.h:
14421         * gst/gstelement.c: (gst_element_class_init),
14422         (gst_element_set_state), (activate_pads),
14423         (gst_element_save_thyself):
14424         * gst/gstevent.c: (gst_event_new_newsegment):
14425         * gst/gstevent.h:
14426         * gst/gstiterator.c:
14427         * gst/gstiterator.h:
14428         * gst/gstpad.c:
14429         * gst/gstprobe.h:
14430         * gst/gstutils.c: (gst_pad_query_convert):
14431         * gst/gstutils.h:
14432           fixed parameter name mismatches between source, header and docs
14433           added some more docs, resolved the last batch of unused elements in
14434           docs (now someone needs to doc them)
14435
14436 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14437
14438         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14439         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14440           don't walk through the plugins backwards.  Where is all this
14441           reversed logic coming from ?
14442
14443 2005-08-25  Wim Taymans  <wim@fluendo.com>
14444
14445         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14446         (gst_base_transform_transform_size),
14447         (gst_base_transform_configure_caps),
14448         (gst_base_transform_get_unit_size),
14449         (gst_base_transform_buffer_alloc),
14450         (gst_base_transform_change_state):
14451         * gst/base/gstbasetransform.h:
14452         Cache caps unit_size.
14453         Make sure we cannot negotiate up and downstream at the
14454         same time.
14455
14456 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14457
14458         * gst/gst.c: (init_pre), (init_post):
14459           register the installed plugin path after the env var
14460         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14461         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14462           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14463           directories, so the tests can prefer uninstalled over installed
14464
14465 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14466
14467         * gst/base/gstbasetransform.h:
14468           comment
14469         * gst/gstpad.c:
14470           add to docs
14471
14472 2005-08-25  Wim Taymans  <wim@fluendo.com>
14473
14474         * gst/gstbin.c: (bin_bus_handler):
14475         Be a bit more conservative about the posted message.
14476         
14477         * gst/gstbus.c: (gst_bus_post):
14478         Some cleanups, warn wrong return values.
14479
14480 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14481
14482         * check/gst/gstbin.c: (GST_START_TEST):
14483         * gst/gstbin.c: (bin_bus_handler):
14484         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14485         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14486         (gst_message_new_warning), (gst_message_new_tag),
14487         (gst_message_new_state_changed), (gst_message_new_segment_start),
14488         (gst_message_new_segment_done), (gst_message_new_custom):
14489         * gst/gstmessage.h:
14490         * tools/gst-launch.c: (event_loop):
14491         * tools/gst-md5sum.c: (event_loop):
14492           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14493
14494 2005-08-25  Wim Taymans  <wim@fluendo.com>
14495
14496         * check/generic/states.c: (GST_START_TEST):
14497         Cleanup can be done at the end.
14498
14499         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14500         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14501         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14502         Oh boy.. Thanks for finding this, Thomas. 
14503
14504 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14505
14506         * docs/gst/gstreamer.types:
14507           added missing types
14508
14509 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14510
14511         * docs/gst/gstreamer-docs.sgml:
14512         * docs/gst/gstreamer-sections.txt:
14513         * docs/gst/tmpl/.cvsignore:
14514         * gst/gstbin.c:
14515         * gst/gstiterator.c:
14516         * gst/gstutils.c:
14517         * gst/registries/gstxmlregistry.h:
14518           added missing classes and symbols (123 more to go)
14519           removed removed symbols from section file
14520           fixed many doc-comments
14521
14522 2005-08-24  Wim Taymans  <wim@fluendo.com>
14523
14524         * check/generic/states.c: (GST_START_TEST):
14525         Make sure all tasks are stopped.
14526
14527         * check/gst/gstbin.c: (GST_START_TEST):
14528         Unref after usage for proper valgrinding.
14529
14530         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14531         Really wait for the task to stop before destroying the
14532         mutex.
14533
14534         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14535         (gst_queue_src_activate_push):
14536         Small cleanups. Don't stop the task when we did not start
14537         it.
14538
14539         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14540         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14541         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14542         (gst_task_join):
14543         * gst/gsttask.h:
14544         Protect the stream lock with the object lock.
14545         Disallow setting the stream lock when running.
14546         Add cleanup_all to wait for the threadpool to finish.
14547         Remove code to autoallocate a mutex if none was provided.
14548         Add _join() to wait for a task to stop.
14549         Protect the thread pool with a global lock.
14550
14551 2005-08-24  Wim Taymans  <wim@fluendo.com>
14552
14553         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14554         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14555         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14556         * gst/base/gstbasesink.h:
14557         Handle newsegment events correctly.
14558         Drop buffers out of the segment range.
14559
14560 2005-08-22  Andy Wingo  <wingo@pobox.com>
14561
14562         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14563         macro, implements an interface and gstimplementsinterface for a
14564         new type.
14565
14566 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14567
14568         * check/Makefile.am:
14569         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14570           add a test that does a bunch of state changes on elements
14571           needs some fixing for valgrind
14572         * check/states/sinks.c: (gst_object_suite):
14573           whitespace
14574         * gst/gstcaps.h:
14575           add prototype for gst_caps_is_equal_fixed
14576         * gst/gstplugin.c:
14577         * gst/gstregistrypool.c:
14578           doc fixes
14579
14580 2005-08-24  Andy Wingo  <wingo@pobox.com>
14581
14582         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14583         convert a negative value. Doesn't make much sense. Mostly this is
14584         here to force callers to ensure -1 maps to -1.
14585
14586 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14587
14588         * docs/pwg/advanced-types.xml:
14589           Well done to Michael for catching my deliberate introduction
14590           of this spelling mistake. 
14591         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14592         * gst/gstelement.h:
14593           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14594           unlink pads before removing the element from the bin.
14595
14596 2005-08-24  Andy Wingo  <wingo@pobox.com>
14597
14598         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14599         the same thing as GST_DEBUG=*:4.
14600         (parse_debug_level, parse_debug_category): New helper parsers.
14601
14602 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14603
14604         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14605         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14606         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14607         (gst_base_transform_buffer_alloc),
14608         (gst_base_transform_handle_buffer):
14609           use gboolean return values and pointers to size so we can use the
14610           full GST_BUFFER_SIZE range (guint) for buffer sizes
14611           use GstPadDirection for transform_caps
14612         * gst/base/gstbasetransform.h:
14613           rename get_size to get_unit_size since that's what it is
14614         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14615           use GstPadDirection for transform_caps
14616         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14617         * gst/gstutils.h:
14618           cleanup and debugging
14619
14620 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14621
14622         * gst/gstelement.c: (gst_element_class_init),
14623         (gst_element_set_state), (activate_pads),
14624         (gst_element_save_thyself):
14625         * tools/gst-compprep.c: (main):
14626         * tools/gst-inspect.c: (print_element_properties_info):
14627         * tools/gst-xmlinspect.c: (print_element_properties):
14628           Fixed long standing mem-leak
14629
14630 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14631
14632         * check/gst/gstbin.c: (GST_START_TEST):
14633         * gst/gstbin.c: (bin_bus_handler):
14634         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14635         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14636         (gst_message_new_warning), (gst_message_new_tag),
14637         (gst_message_new_state_changed), (gst_message_new_segment_start),
14638         (gst_message_new_segment_done), (gst_message_new_custom):
14639         * gst/gstmessage.h:
14640         * tools/gst-launch.c: (event_loop):
14641         * tools/gst-md5sum.c: (event_loop):
14642           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14643           that applications can sensibly post custom messages with references
14644           to their own objects.
14645
14646 2005-08-24  Andy Wingo  <wingo@pobox.com>
14647
14648         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14649         already.
14650
14651 2005-08-24  Wim Taymans  <wim@fluendo.com>
14652
14653         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14654         (gst_base_transform_transform_caps),
14655         (gst_base_transform_transform_size),
14656         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14657         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14658         (gst_base_transform_handle_buffer):
14659         * gst/base/gstbasetransform.h:
14660         Many fixes and new features added by Thomas. Can now also do
14661         transforms with variable sizes and a custom fixate_caps function.
14662
14663 2005-08-24  Wim Taymans  <wim@fluendo.com>
14664
14665         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14666         Some debugging.
14667
14668         * gst/gstclock.h:
14669         Cast to ClockTime before formatting to time.
14670
14671         * gst/gstutils.h:
14672         Cleanups.
14673
14674 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14675
14676         * check/gst-libs/controller.c: (GST_START_TEST),
14677         (gst_controller_suite):
14678         * docs/gst/tmpl/gstcaps.sgml:
14679         * docs/gst/tmpl/gstghostpad.sgml:
14680         * docs/gst/tmpl/gstquery.sgml:
14681         * docs/gst/tmpl/gstutils.sgml:
14682         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14683         (gst_object_sink_values), (gst_object_get_value_arrays),
14684         (gst_object_get_value_array):
14685           gracefully handle helper method calls to objects that are not beeing
14686           controlled, added test case for that          
14687
14688 2005-08-23  Wim Taymans  <wim@fluendo.com>
14689
14690         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14691         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14692         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14693         (gst_event_parse_qos), (gst_event_new_seek),
14694         (gst_event_parse_seek):
14695         * gst/gstevent.h:
14696         Some more debugging output and doc cleanups.
14697
14698         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14699         Fix possible deadlock.
14700
14701 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14702
14703         * docs/gst/gstreamer-docs.sgml:
14704         * docs/gst/gstreamer-sections.txt:
14705         * docs/gst/gstreamer.types:
14706         * docs/gst/tmpl/.cvsignore:
14707         * gst/gstbin.h:
14708         * gst/gstbus.c:
14709         * gst/gstelement.c:
14710         * gst/gstevent.h:
14711           added 100 symbols from gstreamer-unused.txt to the right sections
14712           fixed more broken comments
14713           added GstBus to docs
14714
14715 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14716
14717         * docs/gst/gstreamer-sections.txt:
14718         * docs/gst/tmpl/.cvsignore:
14719         * docs/gst/tmpl/gstbin.sgml:
14720         * docs/gst/tmpl/gstbuffer.sgml:
14721         * gst/base/gstbasesrc.c:
14722         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14723         * gst/gstbuffer.c:
14724         * gst/gstbuffer.h:
14725         * tools/gst-launch.1.in:
14726           inlined more doc comments, added missing comments and fixed comments
14727           fixed typos
14728
14729 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14730
14731         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14732           some debugging
14733         * gst/gstcaps.h:
14734           whitespace fixes
14735         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14736           more debugging
14737         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14738         * gst/gststructure.h:
14739           add a fixate function for booleans; add a FIXME that these func
14740           names should probably be gst_structure_fixate_*
14741
14742 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14743
14744         * docs/gst/gstreamer-docs.sgml:
14745         * docs/gst/gstreamer-sections.txt:
14746         * gst/Makefile.am:
14747         * gst/gstbin.c: (gst_bin_get_type),
14748         (gst_bin_child_proxy_get_child_by_index),
14749         (gst_bin_child_proxy_get_children_count),
14750         (gst_bin_child_proxy_init):
14751         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14752         (gst_child_proxy_get_child_by_index),
14753         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14754         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14755         (gst_child_proxy_get), (gst_child_proxy_set_property),
14756         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14757         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14758         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14759         * gst/gstchildproxy.h:
14760         * gst/parse/grammar.y:
14761         * tools/gst-inspect.c: (print_interfaces),
14762         (print_element_properties_info), (print_element_info):
14763           ported gstchildproxy over from 0.8
14764           ported gst-inspect fixes and enhancements over from 0.8
14765
14766 2005-08-22  Wim Taymans  <wim@fluendo.com>
14767
14768         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14769         (gst_base_transform_handle_buffer):
14770         Also call the transform function if we have ANY caps.
14771
14772         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14773         Fix debug info.
14774
14775 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14776
14777         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14778           Don't pretend to handle seek events if the source is not seekable
14779
14780 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14781
14782         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14783           Remove extra parameter to debug output
14784
14785         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14786         (gst_base_src_do_seek), (gst_base_src_activate_push):
14787           Fix seek event handling.
14788
14789         * gst/gstpipeline.c: (gst_pipeline_change_state):
14790         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14791         (gst_queue_src_activate_push):
14792           Don't start the src pad task on FLUSH_STOP if the pad
14793           isn't linked.
14794           Debug changes.
14795
14796 2005-08-22  Wim Taymans  <wim@fluendo.com>
14797
14798         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14799         Added check for gst_static_caps_get() refcounting.
14800
14801 2005-08-22  Wim Taymans  <wim@fluendo.com>
14802
14803         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14804         Make _static_caps_get() refcounting sane.
14805         
14806         * gst/gstelement.c: (gst_element_set_state):
14807         Add g_return_val_if_fail() to protect against segfaults.
14808
14809 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14810
14811         * docs/gst/tmpl/gstevent.sgml:
14812         * gst/gstevent.c:
14813         * gst/gstevent.h:
14814           inlined remaining docs, added missing doc comments
14815
14816 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14817
14818         * check/gst/gstbin.c: (GST_START_TEST):
14819           since we don't know when preroll is done, use refcount range
14820           check for the sink
14821         * gst/check/gstcheck.h:
14822           add macro for checking refcount range
14823
14824 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14825
14826         * check/Makefile.am:
14827           clean up environment for when registry gets built versus
14828           when actual tests are run; valgrind seems to not report
14829           leaks if GST_PLUGIN_PATH is set to some specific values
14830         * check/gst/gstbin.c: (GST_START_TEST):
14831           add more refcounting checks; maybe this exposes a
14832           preroll lock bug ?
14833         * common/check.mak:
14834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14835         * gst/check/gstcheck.h:
14836         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14837         (gst_bin_change_state):
14838         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14839           add/fix debugging/whitespace
14840
14841 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14842
14843         * check/gst/gstevent.c: (event_probe), (test_event),
14844         (GST_START_TEST):
14845          Er, don't call gst_bin_watch_for_state_change you idiot.
14846
14847 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14848
14849         * check/Makefile.am:
14850           Use CHECK_CFLAGS and CHECK_LIBS
14851         * check/gst/gstevent.c: (event_probe), (test_event),
14852         (GST_START_TEST):
14853           Don't leak events.
14854         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14855         (gst_base_src_start), (gst_base_src_stop),
14856         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14857         (gst_base_src_change_state):
14858           Sprinkle gst_base_src_stop liberally around error paths to fix
14859           problems reusing a source after failed state changes.
14860         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14861         (helper_find_suggest), (gst_type_find_helper):
14862           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14863         * gst/gstevent.h:
14864         * docs/gst/tmpl/gstevent.sgml:
14865           Migrate part of the docs from the SGML file. Wait for ensonic to
14866           tell me how I did it wrong ;)
14867         * tools/gst-typefind.c: (main):
14868           Extra robustness to state changes between files.
14869
14870 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14871
14872         * check/Makefile.am:
14873           don't valgrind the controller test - it's leaking - Stefan, HELP
14874         * gst/check/gstcheck.c: (gst_check_message_error),
14875         (gst_check_chain_func), (gst_check_setup_element),
14876         (gst_check_teardown_element), (gst_check_setup_src_pad),
14877         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14878         (gst_check_teardown_sink_pad):
14879         * gst/check/gstcheck.h:
14880           add a bunch of methods to set up elements, and src and sink pads
14881         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14882         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14883         (GST_START_TEST):
14884           use them
14885         * gst/gstmessage.c:
14886         * gst/gsttag.h:
14887           whitespace/doc fixes
14888
14889 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14890
14891         * gst/gstelement.h:
14892           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14893           be handled by the application and not always printed as well
14894
14895 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14896
14897         * check/Makefile.am:
14898           set GST_TOOLS_DIR
14899         * gst/check/gstcheck.c: (gst_check_message_error):
14900         * gst/check/gstcheck.h:
14901           add a fail_unless_equals_int
14902           add fail_unless for error messages
14903
14904 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14905
14906         * check/Makefile.am:
14907         * check/gst.supp:
14908         * common/Makefile.am:
14909         * common/check.mak:
14910         * common/gst.supp:
14911           factor out some of the common stuff so we can use it
14912
14913 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14914
14915         * check/Makefile.am:
14916         * check/gst/gstiterator.c: (GST_START_TEST):
14917         * check/gst/gstsystemclock.c: (GST_START_TEST),
14918         (gst_systemclock_suite):
14919         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14920         * gst/gstclock.c:
14921           valgrind more tests
14922
14923 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14924
14925         * check/elements/.cvsignore:
14926         * check/elements/gstfakesrc.c:
14927           rename to name of element
14928         * check/elements/identity.c: (chain_func), (event_func),
14929         (setup_identity), (cleanup_identity), (GST_START_TEST),
14930         (identity_suite), (main):
14931           add a test for identity
14932         * check/Makefile.am:
14933         * pkgconfig/Makefile.am:
14934         * pkgconfig/gstreamer-check.pc.in:
14935         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14936         * gst/check:
14937         * gst/Makefile.am:
14938         * configure.ac:
14939           move the check stuff to a library that gets installed
14940         * check/gst-libs/controller.c: (GST_START_TEST):
14941         * check/gst-libs/gdp.c:
14942         * check/gst/gst.c: (GST_START_TEST):
14943         * check/gst/gstbin.c:
14944         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14945         * check/gst/gstbus.c:
14946         * check/gst/gstcaps.c: (GST_START_TEST):
14947         * check/gst/gstelement.c:
14948         * check/gst/gstghostpad.c:
14949         * check/gst/gstiterator.c:
14950         * check/gst/gstmessage.c:
14951         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14952         * check/gst/gstobject.c:
14953         * check/gst/gstpad.c: (GST_START_TEST):
14954         * check/gst/gststructure.c: (GST_START_TEST):
14955         * check/gst/gstsystemclock.c: (GST_START_TEST),
14956         (gst_systemclock_suite):
14957         * check/gst/gsttag.c: (gst_tag_suite):
14958         * check/gst/gstvalue.c:
14959         * check/pipelines/cleanup.c:
14960         * check/pipelines/simple_launch_lines.c:
14961         * check/states/sinks.c:
14962           change include statement
14963
14964         * docs/gst/gstreamer-sections.txt:
14965         * docs/gst/tmpl/gstpad.sgml:
14966           document more pad stuff
14967         * gst/gstminiobject.c: (gst_mini_object_ref),
14968         (gst_mini_object_unref):
14969           debug refcounting
14970
14971 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14972
14973         * docs/gst/tmpl/gst.sgml:
14974         * gst/gst.c:
14975           eliminate another tmpl file, fix spelling in the long-description
14976
14977 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14978
14979         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14980         (test_event), (timediff), (gstevents_suite):
14981           Should fix build on 64-bit arch's
14982
14983 2005-08-18  Andy Wingo  <wingo@pobox.com>
14984
14985         Make sure that when a pipeline goes to PLAYING, that data has
14986         actually hit the sink.
14987
14988         * check/states/sinks.c (test_sink): A sink that doesn't get any
14989         data shouldn't return SUCCESS for going to either PLAYING or
14990         PAUSED. Test also the return values on the way back down.
14991
14992         * gst/gstelement.c (gst_element_set_state): When changing the
14993         state of an element currently changing state asynchronously, go to
14994         lost-state after commiting the pending state. Makes future calls
14995         to get_state continue to return ASYNC.
14996
14997         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14998         ASYNC when going to PLAYING if we still don't have preroll, as can
14999         happen with live sources.
15000
15001 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15002
15003         * docs/pwg/advanced-types.xml:
15004           Hack long paragraph into 2 chunks as a workaround for buggy
15005           jadetex version in sid and breezy that loops infinitely and
15006           eats all RAM.
15007
15008 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15009
15010         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15011         (test_event), (timediff), (gstevents_suite):
15012           Provide more error margin in clock measurements to allow for 
15013           g_get_current_time inaccuracies.
15014
15015 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15016
15017         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15018         (test_event), (timediff), (gstevents_suite):
15019            Fix error message output so I might be able to tell why the
15020            test works here but fails on the build farm.
15021
15022 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15023
15024         * check/Makefile.am:
15025         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15026         (test_event), (timediff), (gstevents_suite), (main):
15027           I wrote a test!
15028
15029         * docs/design/part-seeking.txt:
15030           Spelling correction
15031
15032         * docs/gst/tmpl/gstevent.sgml:
15033         * docs/gst/tmpl/gstfakesrc.sgml:
15034           Docs updates.
15035
15036         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15037           Treat a buffer-without-newsegment the same as a receiving 
15038           a newsegment not in time format, and disable syncing to the clock
15039           with a warning.
15040
15041         * gst/gstbus.c: (gst_bus_set_sync_handler):
15042           Assert if anyone tries to replace the existing sync_handler for bus, 
15043           as only the owner should be setting it.
15044
15045         * gst/gstevent.h:
15046           Have a fixed set of custom event enums with events identified by
15047           their structure name (as in 0.8), rather than a free-for-all
15048           allowing collisions between enum values from different plugins.
15049
15050         * gst/gstpad.c: (gst_pad_class_init):
15051           Docs change.
15052           
15053         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15054           Handle out-of-band downstream events from the sending thread.
15055
15056 2005-08-17  Andy Wingo  <wingo@pobox.com>
15057
15058         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15059         play-timeout==0 to mean no timeout at all. In that case, don't
15060         bother with a get_state or a warning, just return directly, even
15061         if it's ASYNC.
15062
15063         * gst/base/gstbasetransform.c: Debug changes.
15064
15065         * gst/gstutils.h:
15066         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15067         ensure bins post state change messages. A bit of a hack but I can't
15068         think of a way to avoid it.
15069
15070         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15071
15072 2005-08-16  Andy Wingo  <wingo@pobox.com>
15073
15074         * gst/base/gstadapter.h:
15075         * gst/base/gstadapter.c (gst_adapter_take): New function, like
15076         peek() but you own the data. Not terribly efficient atm.
15077
15078 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15079
15080         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15081         (gst_element_found_tags):
15082         * gst/gstutils.h:
15083           Add two utility functions for tag handling.
15084
15085 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15086
15087         * docs/manual/advanced-dataaccess.xml:
15088         * docs/manual/basics-helloworld.xml:
15089           Fix docs to use _bin_add() before _link(), which fixes the examples
15090           with recent core versions (reported by Madhan Raj M
15091           <raj_madan@rediffmail.com>, #313199).
15092
15093 2005-08-16  Wim Taymans  <wim@fluendo.com>
15094
15095         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15096         Added subtract checks.
15097
15098         * docs/design/part-events.txt:
15099         Some more docs about newsegment
15100
15101         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15102         Fix FIXME
15103
15104         * gst/gstcaps.c: (gst_caps_to_string):
15105         Add comments, cleanups.
15106         
15107         * gst/gstelement.c: (gst_element_save_thyself):
15108         cleanups
15109         
15110         * gst/gstvalue.c: (gst_value_collect_int_range),
15111         (gst_string_unwrap), (gst_value_union_int_int_range),
15112         (gst_value_union_int_range_int_range),
15113         (gst_value_intersect_int_int_range),
15114         (gst_value_intersect_int_range_int_range),
15115         (gst_value_intersect_double_double_range),
15116         (gst_value_intersect_double_range_double_range),
15117         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15118         (gst_value_subtract_int_range_int),
15119         (gst_value_subtract_double_range_double),
15120         (gst_value_subtract_double_range_double_range),
15121         (gst_value_subtract_from_list), (gst_value_subtract_list),
15122         (gst_value_can_compare), (gst_value_compare_fraction):
15123         Cleanups, add comments, remove unneeded asserts.
15124
15125 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15126
15127         * tools/gst-launch.c: (event_loop):
15128           don't convert NULL structures to strings
15129
15130 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
15131
15132         * docs/gst/gstreamer-sections.txt:
15133           made some defines private
15134         * docs/gst/tmpl/gstconfig.sgml:
15135         * docs/gst/tmpl/gstqueue.sgml:
15136         * docs/gst/tmpl/gsttaglist.sgml:
15137         * docs/gst/tmpl/gsttypes.sgml:
15138         * docs/gst/tmpl/gstutils.sgml:
15139         * docs/pwg/appendix-porting.xml:
15140         * gst/base/gstbasesink.h:
15141         * gst/base/gstbasesrc.c:
15142         * gst/base/gstbasesrc.h:
15143         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15144         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15145         * gst/gstelement.c: (gst_element_class_init):
15146         * gst/gstpad.c: (gst_pad_class_init):
15147         * gst/gstqueue.c: (gst_queue_class_init):
15148         * gst/gstxml.c: (gst_xml_class_init):
15149           documented all undocumented signal inline
15150         * libs/gst/controller/gst-controller.h:
15151           added padding
15152
15153 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15154
15155         * docs/pwg/appendix-porting.xml:
15156           Document _set_link_function -> _set_setcaps_function.
15157
15158 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15159
15160         * check/Makefile.am:
15161           add a .check target for running the check
15162         * check/gst-libs/controller.c: (GST_START_TEST):
15163           cosmetic fixups
15164         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15165           complete checks for gstbuffer; would be nice if I could get the
15166           gcov stuff to work so I can see if I actually completed gstbuffer.c
15167         * check/gstcheck.h:
15168           add ASSERT_BUFFER_REFCOUNT
15169
15170 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
15171
15172         * docs/gst/gstreamer-sections.txt:
15173         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15174         * gst/gsttag.h:
15175           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15176           spew out a warning if a tag that is already registered
15177           is re-registered, unless it is re-registered with a 
15178           different type (#308438).
15179
15180 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
15181
15182         * docs/pwg/appendix-porting.xml:
15183         * docs/pwg/building-state.xml:
15184           Add some paragraphs about state changes in 0.9 to the PWG
15185           and the porting guide, in particular about the new meaning
15186           of GST_STATE_PAUSED and how to write state change functions
15187           with concurrent access by multiple threads in mind.
15188
15189 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
15190
15191         * docs/gst/gstreamer-docs.sgml:
15192         * docs/libs/gstreamer-libs-docs.sgml:
15193           added deprecation and since indexes
15194         * libs/gst/controller/gst-controller.c:
15195         * libs/gst/controller/gst-helper.c:
15196           added since tags
15197
15198
15199 2005-08-11  Wim Taymans  <wim@fluendo.com>
15200
15201         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15202         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15203         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15204         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15205         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15206         (gst_ghost_pad_set_target):
15207         Actually implement (re)setting the target on a ghostpad
15208         as described in the docs.
15209
15210 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15211
15212         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15213           Check whether GST_DEBUG_NO_COLOR environment variable is
15214           set and disable coloured debug output if that is the case.
15215
15216 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15217
15218         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15219         (gst_type_find_helper):
15220           The memory returned by gst_type_find_peek() needs to
15221           stay valid until the end of a typefind function, and
15222           typefind functions may keep results from different 
15223           offsets around, so we can't just unref the buffer from
15224           the previous _peek(), but have to save all buffers 
15225           returned by _peek() until typefinding is done and only
15226           free them then.
15227
15228 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
15229
15230         * docs/gst/gstreamer-sections.txt:
15231         * gst/gstutils.h:
15232           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15233
15234 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15235
15236         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15237           Fix a pretty good memleak.
15238
15239 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15240
15241         * gst/gstiterator.h:
15242           Fix wrong include and 'make distcheck'.
15243
15244 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15245
15246         * gst/gstbin.c: (bin_bus_handler):
15247           Use gst_element_post_message() instead.
15248
15249 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15250
15251         * gst/base/gstadapter.h:
15252         * gst/base/gstbasesink.h:
15253         * gst/base/gstbasesrc.h:
15254         * gst/base/gstbasetransform.h:
15255         * gst/base/gstcollectpads.h:
15256         * gst/base/gstpushsrc.h:
15257         * gst/gstiterator.h:
15258           Add padding to our base elements' class and instance structs and
15259           to GstIterator (you will need to rebuild all plugins and apps!)
15260
15261 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15262
15263         * gst/gstbin.c: (bin_bus_handler):
15264           Make default message forwarding from child->bus to bin->bus
15265           threadsafe and make it not emit warnings if the parent has no bus.
15266
15267 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15268
15269         * gst/gstelement.c: (activate_pads):
15270           On paused->ready, set pad->caps to NULL, as is the documented
15271           behaviour in this state change. Fixes playback of series of
15272           media files when visualization is enabled in Totem.
15273
15274 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15275
15276         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15277           Allow NULL as filter-caps (which means "any").
15278
15279 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15280
15281         * docs/libs/gstreamer-libs-sections.txt:
15282         * libs/gst/controller/gst-controller.c:
15283         * libs/gst/controller/gst-controller.h:
15284         * libs/gst/controller/gst-helper.c:
15285           adding more entries to the docs and fix small doc-bugs
15286
15287 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15288
15289         * docs/gst/gstreamer-docs.sgml:
15290         * docs/gst/gstreamer-sections.txt:
15291         * docs/gst/gstreamer.types:
15292         * docs/gst/tmpl/gstbasesink.sgml:
15293         * docs/gst/tmpl/gstbasesrc.sgml:
15294         * docs/gst/tmpl/gstbasetransform.sgml:
15295         * docs/gst/tmpl/gstfakesrc.sgml:
15296         * gst/base/gstcollectpads.c:
15297         * gst/base/gstcollectpads.h:
15298         * libs/gst/controller/gst-controller.c:
15299         * libs/gst/controller/gst-controller.h:
15300         * libs/gst/controller/gst-helper.c:
15301         * libs/gst/controller/gst-interpolation.c:
15302         * libs/gst/controller/lib.c:
15303           added long/short desc for controller docs
15304           added collectpads base class docs
15305           added correct includes to base-class docs
15306
15307 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15308
15309         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15310         (gst_test_mono_source_set_property),
15311         (gst_test_mono_source_class_init), (GST_START_TEST),
15312         (gst_controller_suite):
15313         * docs/gst/gstreamer-docs.sgml:
15314         * docs/gst/gstreamer-sections.txt:
15315         * docs/gst/gstreamer.types:
15316         * docs/libs/gstreamer-libs-docs.sgml:
15317         * docs/libs/gstreamer-libs-sections.txt:
15318         * gst/base/gstadapter.c:
15319         * libs/gst/controller/gst-controller.c:
15320         (gst_controlled_property_new), (gst_controlled_property_free),
15321         (gst_controller_new_valist),
15322         (gst_controller_remove_properties_valist),
15323         (gst_controller_sink_values), (_gst_controller_finalize):
15324         * libs/gst/controller/gst-controller.h:
15325         * libs/gst/controller/gst-helper.c:
15326         (gst_object_control_properties), (gst_object_uncontrol_properties),
15327         (gst_object_get_controller), (gst_object_set_controller),
15328         (gst_object_sink_values), (gst_object_get_value_arrays),
15329         (gst_object_get_value_array):
15330           more tests (and fixes) for the controller
15331           more docs for the controller
15332           integrated companies docs for the adapter 
15333
15334 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15335
15336         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15337         (GST_START_TEST), (fakesrc_suite):
15338           add tests for sizetype
15339
15340 2005-08-04  Andy Wingo  <wingo@pobox.com>
15341
15342         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15343         fixes buffer_alloc proxying among other things.
15344
15345         * gst/base/gstbasetransform.c:
15346         * gst/base/gstbasetransform.h:
15347         Revert patch to gstbasetransform from 7-28 removing
15348         delay_configure.
15349
15350         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15351         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15352         Semantics changed, should return not the size of the output buffer
15353         but the byte size of a buffer with a given caps.
15354
15355         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15356         debug object.
15357         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15358         out) are not the pad caps until setcaps finishes.
15359         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15360         not-in-place case as well. Deal with changing from in-place to
15361         not-in-place within calling pad_alloc_buffer. Still a bit
15362         concerned about the overhead here...
15363
15364 2005-08-03  Andy Wingo  <wingo@pobox.com>
15365
15366         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15367         fixating is an error.
15368
15369 2005-08-04  Edward Hervey  <edward@fluendo.com>
15370
15371         * gst/base/gstadapter.h: 
15372         Added gst_adapter_get_type() to the header
15373
15374 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15375
15376         * check/Makefile.am:
15377         * check/gst-libs/controller.c:
15378         * libs/gst/controller/gst-controller.c:
15379         (gst_controller_new_valist):
15380           added check test suite for the controller
15381         * gst/base/gstpushsrc.c:
15382           fixed a doc typo
15383
15384 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15385
15386         * docs/gst/Makefile.am:
15387         * docs/gst/gstreamer-docs.sgml:
15388         * docs/gst/gstreamer-sections.txt:
15389         * docs/gst/gstreamer.types:
15390         * docs/gst/tmpl/gstfakesrc.sgml:
15391         * gst/base/README:
15392         * gst/base/gstbasesink.c:
15393         * gst/base/gstbasesink.h:
15394         * gst/base/gstbasesrc.c:
15395         * gst/base/gstbasesrc.h:
15396         * gst/base/gstbasetransform.c:
15397         * gst/base/gstpushsrc.c:
15398         * gst/base/gstpushsrc.h:
15399           add short/long description docs to base classes
15400           add pushsrc to the docs
15401           remove consolidated doc fragments
15402
15403 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15404
15405         * configure.ac:
15406         * docs/libs/Makefile.am:
15407         * docs/libs/gstreamer-libs-docs.sgml:
15408         * docs/libs/gstreamer-libs-sections.txt:
15409         * docs/libs/gstreamer-libs.types:
15410         * examples/Makefile.am:
15411         * examples/controller/.cvsignore:
15412         * examples/controller/Makefile.am:
15413         * examples/controller/audio-example.c: (main):
15414         * libs/gst/Makefile.am:
15415         * libs/gst/controller/.cvsignore:
15416         * libs/gst/controller/Makefile.am:
15417         * libs/gst/controller/gst-controller.c:
15418         (on_object_controlled_property_changed), (gst_timed_value_compare),
15419         (gst_timed_value_find),
15420         (gst_controlled_property_set_interpolation_mode),
15421         (gst_controlled_property_new), (gst_controlled_property_free),
15422         (gst_controller_find_controlled_property),
15423         (gst_controller_new_valist), (gst_controller_new),
15424         (gst_controller_remove_properties_valist),
15425         (gst_controller_remove_properties), (gst_controller_set),
15426         (gst_controller_set_from_list), (gst_controller_unset),
15427         (gst_controller_get), (gst_controller_get_all),
15428         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15429         (gst_controller_get_value_array),
15430         (gst_controller_set_interpolation_mode),
15431         (_gst_controller_finalize), (_gst_controller_init),
15432         (_gst_controller_class_init), (gst_controller_get_type):
15433         * libs/gst/controller/gst-controller.h:
15434         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15435         (g_object_uncontrol_properties), (g_object_get_controller),
15436         (g_object_set_controller), (g_object_sink_values),
15437         (g_object_get_value_arrays), (g_object_get_value_array):
15438         * libs/gst/controller/gst-interpolation.c:
15439         (gst_controlled_property_find_timed_value_node),
15440         (interpolate_none_get), (interpolate_trigger_get),
15441         (interpolate_trigger_get_value_array):
15442         * libs/gst/controller/lib.c: (gst_controller_init):
15443         * pkgconfig/Makefile.am:
15444         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15445         * pkgconfig/gstreamer-control.pc.in:
15446         * testsuite/Makefile.am:
15447         * testsuite/controller/.cvsignore:
15448         * testsuite/controller/Makefile.am:
15449         * testsuite/controller/interpolator.c: (main):
15450           added controller code
15451           removed dparam pc files
15452
15453 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15454         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15455         (gst_collectpads_stop):
15456           Broadcast the condition when shutting down, to make sure we wake all
15457           threads up. Shut down pads on finalize, for safety.
15458
15459 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15460         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15461         (gst_base_transform_handle_buffer),
15462         (gst_base_transform_change_state):
15463           Handle PAUSED->READY->PAUSED transition after negotiation
15464           occurred already.
15465         * gst/gstmessage.c: (gst_message_init):
15466           Extra piece of debug for new messages.
15467
15468 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15469
15470         * configure.ac:
15471         * docs/gst/tmpl/gstbasesrc.sgml:
15472         * docs/gst/tmpl/gstelement.sgml:
15473         * docs/gst/tmpl/gstevent.sgml:
15474         * docs/gst/tmpl/gstfakesrc.sgml:
15475         * docs/gst/tmpl/gstformat.sgml:
15476         * docs/gst/tmpl/gstghostpad.sgml:
15477         * docs/gst/tmpl/gstpad.sgml:
15478         * docs/gst/tmpl/gstquery.sgml:
15479         * docs/gst/tmpl/gststructure.sgml:
15480         * docs/gst/tmpl/gsttaglist.sgml:
15481         * docs/gst/tmpl/gstvalue.sgml:
15482         * docs/libs/gstreamer-libs-docs.sgml:
15483         * docs/libs/gstreamer-libs-sections.txt:
15484         * docs/libs/gstreamer-libs.types:
15485         * libs/gst/Makefile.am:
15486         * libs/gst/control/.cvsignore:
15487         * libs/gst/control/Makefile.am:
15488         * libs/gst/control/control.c:
15489         * libs/gst/control/control.h:
15490         * libs/gst/control/dparam.c:
15491         * libs/gst/control/dparam.h:
15492         * libs/gst/control/dparam_smooth.c:
15493         * libs/gst/control/dparam_smooth.h:
15494         * libs/gst/control/dparamcommon.h:
15495         * libs/gst/control/dparammanager.c:
15496         * libs/gst/control/dparammanager.h:
15497         * libs/gst/control/dplinearinterp.c:
15498         * libs/gst/control/dplinearinterp.h:
15499         * libs/gst/control/unitconvert.c:
15500         * libs/gst/control/unitconvert.h:
15501         * testsuite/Makefile.am:
15502         * testsuite/dynparams/.cvsignore:
15503         * testsuite/dynparams/Makefile.am:
15504         * testsuite/dynparams/dparamstest.c:
15505         * tools/Makefile.am:
15506         * tools/gst-inspect.c: (print_element_info), (main):
15507         * tools/gst-xmlinspect.c: (print_element_info), (main):
15508           deactivate and remove dparams (libgstcontrol)
15509
15510 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15511
15512         * gst/elements/gsttypefindelement.c:
15513         (gst_type_find_element_have_type), (gst_type_find_element_init),
15514         (stop_typefinding), (gst_type_find_element_handle_event),
15515         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15516         * gst/elements/gsttypefindelement.h:
15517           Set caps on all outgoing buffers, not just the first one.
15518
15519 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15520
15521         * gst/elements/gsttypefindelement.c:
15522         (gst_type_find_element_have_type),
15523         (gst_type_find_element_check_set_buffer_caps),
15524         (gst_type_find_element_init), (stop_typefinding),
15525         (gst_type_find_element_handle_event),
15526         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15527         * gst/elements/gsttypefindelement.h:
15528           Set caps on first outgoing buffer when we've found the type.
15529
15530 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15531
15532         * docs/gst/gstreamer-docs.sgml:
15533         * docs/gst/gstreamer-sections.txt:
15534         * docs/gst/tmpl/gstscheduler.sgml:
15535         * docs/gst/tmpl/gstschedulerfactory.sgml:
15536           Remove some old cruft from docs.
15537
15538 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15539
15540         * gst/gstpad.h:
15541           Fix inline docs for GstPadLinkReturn.
15542           
15543         * gst/gststructure.c: (gst_structure_has_name):
15544         * gst/gststructure.h:
15545         * docs/gst/gstreamer-sections.txt:
15546           New API: gst_structure_has_name().
15547
15548 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15549
15550         * configure.ac:
15551           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15552           and _LARGEFILE_SOURCE in config.h as required. Do not 
15553           export those flags in our .pc files any longer (#142209).
15554
15555           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15556
15557         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15558         (gst_file_sink_do_seek), (gst_file_sink_event),
15559         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15560           Redo seek/tell calls with large file support in mind; add some
15561           debugging messages; add log message that tells us when large
15562           file support is unavailable or not enabled for some reason.
15563
15564         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15565           Add log message that tells us when large file support 
15566           is unavailable or not enabled for some reason.
15567
15568 2005-07-29  Wim Taymans  <wim@fluendo.com>
15569
15570         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15571         Added test for removing an element with ghostpad from a bin.
15572         Fixed test as current implementation does the right thing.
15573
15574         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15575         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15576         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15577         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15578         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15579         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15580         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15581         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15582         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15583         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15584         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15585         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15586         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15587         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15588         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15589         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15590         * gst/gstghostpad.h:
15591         Clean up ghostpads, remove properties for internal stuff.
15592         Make threadsafe.
15593         Fix refcounting.
15594         Prepare for switching targets, not all use cases work yet.
15595
15596 2005-07-29  Wim Taymans  <wim@fluendo.com>
15597
15598         * docs/design/part-gstghostpad.txt:
15599         Small update.
15600
15601         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15602         (gst_bin_remove_func):
15603         Unlinking pads while holding the bin LOCK is not a good
15604         idea.
15605
15606         * gst/gstpad.c: (gst_pad_class_init),
15607         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15608         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15609         No prob setting template after creating the pad.
15610
15611 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15612
15613         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15614         (gst_bus_peek), (gst_bus_source_dispatch),
15615         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15616         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15617           gst_bus_poll may be called from other threads. Handle
15618           this nicely by not making poll_data disappear off the
15619           stack once gst_bus_poll returns.
15620           gst_bus_peek now increments the refcount on the returned
15621           message.
15622
15623 2005-07-29  Wim Taymans  <wim@fluendo.com>
15624
15625         * docs/design/part-gstghostpad.txt:
15626         Overview of current GhostPad datastructures and use
15627         cases for changing the target.
15628
15629 2005-07-28  Wim Taymans  <wim@fluendo.com>
15630
15631         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15632         Added checks for hierarchy consistency whan adding linked
15633         elements to bins.
15634
15635         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15636         Added check to test element scheduling without bin/pipeline.
15637
15638         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15639         First add elements to bin, then link.
15640         
15641         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15642         (gst_bin_remove_func):
15643         Unlink pads from elements added/removed from bin to maintain
15644         hierarchy consistency.
15645
15646 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15647
15648         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15649         (gst_base_transform_handle_buffer):
15650         * gst/base/gstbasetransform.h:
15651           Remove broken delay_configure (fixes renegotiation of software
15652           scaling pipelines); remove some leftover printf()s.
15653
15654 2005-07-28  Wim Taymans  <wim@fluendo.com>
15655
15656         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15657         Added some more tests for wrong hierarchy
15658
15659         * docs/design/part-overview.txt:
15660         Some updates.
15661
15662         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15663         Cleanups.
15664
15665         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15666         (gst_element_dispose):
15667         Some more cleanups.
15668
15669         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15670         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15671         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15672         (gst_pad_set_caps), (gst_pad_send_event):
15673         Check for correct hierarchy when linking pads. Moving to
15674         strict requirement for ghostpads when linking elements in
15675         different bins.
15676
15677         * gst/gstpad.h:
15678         Clean ups. Added WRONG_HIERARCHY return value.
15679
15680 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15681
15682         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15683           Better debug if no transform is possible.
15684
15685 2005-07-27  Wim Taymans  <wim@fluendo.com>
15686
15687         * docs/random/wtay/network-transp:
15688         Some old doc I had.
15689
15690 2005-07-27  Wim Taymans  <wim@fluendo.com>
15691
15692         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15693         (gst_dp_event_from_packet):
15694         Fix serialization of seek events.
15695
15696 2005-07-27  Wim Taymans  <wim@fluendo.com>
15697
15698         * check/gst-libs/gdp.c: (GST_START_TEST):
15699         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15700         Fix compilation and fix event serialization.
15701
15702 2005-07-27  Wim Taymans  <wim@fluendo.com>
15703
15704         * CHANGES-0.9:
15705         * docs/design/part-TODO.txt:
15706         * docs/design/part-events.txt:
15707         Some docs updates
15708
15709         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15710         (gst_base_sink_event), (gst_base_sink_do_sync),
15711         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15712         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15713         (gst_base_src_do_seek), (gst_base_src_event_handler),
15714         (gst_base_src_loop):
15715         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15716         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15717         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15718         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15719         (gst_base_transform_set_passthrough),
15720         (gst_base_transform_is_passthrough):
15721         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15722         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15723         Event updates.
15724
15725         * gst/gstbuffer.h:
15726         Use faster casts.
15727
15728         * gst/gstelement.c: (gst_element_seek):
15729         * gst/gstelement.h:
15730         Update gst_element_seek.
15731
15732         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15733         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15734         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15735         (gst_event_new_eos), (gst_event_new_newsegment),
15736         (gst_event_parse_newsegment), (gst_event_new_tag),
15737         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15738         (gst_event_parse_qos), (gst_event_new_seek),
15739         (gst_event_parse_seek), (gst_event_new_navigation):
15740         * gst/gstevent.h:
15741         Make GstEvent use GstStructure. Add parsing code, make sure the
15742         API is sufficiently generic.
15743         Mark possible directions of events and serialization.
15744
15745         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15746         (_gst_message_copy), (gst_message_new_segment_start),
15747         (gst_message_new_segment_done), (gst_message_new_custom),
15748         (gst_message_parse_segment_start),
15749         (gst_message_parse_segment_done):
15750         Small cleanups.
15751
15752         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15753         (gst_pad_set_caps), (gst_pad_send_event):
15754         Update for new events. 
15755         Catch events sent in wrong directions.
15756
15757         * gst/gstqueue.c: (gst_queue_link_src),
15758         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15759         (gst_queue_handle_src_query):
15760         Event updates.
15761
15762         * gst/gsttag.c:
15763         * gst/gsttag.h:
15764         Remove event code from this file.
15765
15766         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15767         (gst_dp_event_from_packet):
15768         Event updates.
15769
15770 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15771
15772         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15773         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15774         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15775           Make debugging actually useful.
15776
15777 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15778
15779         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15780         (gst_pad_fixate_caps):
15781           Implement default fixation once again, so that gst_pad_fixate()
15782           actually does anything at all. This probably needs to be some
15783           sort of a last resort, and use profile-based fixation first, but
15784           since that doesn't exist yet, this is the best we have. Fixes
15785           visualization in Totem.
15786
15787 2005-07-22  Wim Taymans  <wim@fluendo.com>
15788
15789         * docs/design/part-events.txt:
15790         Small update.
15791
15792         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15793         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15794         (gst_base_sink_activate_pull):
15795         Some more comments.
15796
15797         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15798         (gst_fake_src_create):
15799         Fix handoff marshall.
15800
15801         * gst/elements/gstidentity.c: (gst_identity_class_init),
15802         (gst_identity_transform_ip):
15803         We're a real inplace element.
15804
15805         * gst/gstbus.c: (gst_bus_post):
15806         Added some comments.
15807
15808         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15809         * tests/muxing/case1.c: (main):
15810         * tests/sched/dynamic-pipeline.c: (main):
15811         * tests/sched/interrupt1.c: (main):
15812         * tests/sched/interrupt2.c: (main):
15813         * tests/sched/interrupt3.c: (main):
15814         * tests/sched/runxml.c: (main):
15815         * tests/sched/sched-stress.c: (main):
15816         * tests/seeking/seeking1.c: (event_received), (main):
15817         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15818         (main):
15819         * tests/threadstate/threadstate3.c: (main):
15820         * tests/threadstate/threadstate4.c: (main):
15821         * tests/threadstate/threadstate5.c: (main):
15822         Fix the tests.
15823
15824 2005-07-21  Wim Taymans  <wim@fluendo.com>
15825
15826         * docs/design/part-seeking.txt:
15827         Some small additions.
15828
15829         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15830         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15831         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15832         * gst/base/gstbasesink.h:
15833         discont values are gint64, handle the math correctly.
15834
15835         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15836         Make the basesrc report error if the source pad is not linked.
15837
15838         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15839         (gst_queue_loop), (gst_queue_handle_src_query),
15840         (gst_queue_src_activate_push):
15841         Make queue collect data even if the srcpad is not linked.
15842         Start pushing out data as soon as it is linked.
15843
15844         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15845         * gst/gstutils.h:
15846         Added gst_flow_get_name() to ease error reporting.
15847
15848 2005-07-20  Wim Taymans  <wim@fluendo.com>
15849
15850         * gst/gstmessage.c: (gst_message_new_segment_start),
15851         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15852         (gst_message_parse_segment_done):
15853         * gst/gstmessage.h:
15854         Added a bunch of messages for advanced seeking.
15855
15856         * gst/parse/grammar.y:
15857         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15858         (gst_dpman_state_changed):
15859         Fix some new-pad -> pad-added signals
15860
15861 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15862
15863         * docs/manual/appendix-porting.xml:
15864         * docs/pwg/appendix-porting.xml:
15865           Document new-pad/state-change signal renames and the FixedList
15866           type rename.
15867
15868 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15869
15870         * docs/manual/advanced-autoplugging.xml:
15871         * docs/manual/basics-helloworld.xml:
15872         * docs/manual/basics-pads.xml:
15873         * docs/random/ds/0.9-suggested-changes:
15874         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15875         * gst/gstelement.h:
15876         * gst/gstevent.h:
15877         * gst/gstformat.h:
15878         * gst/gstquery.h:
15879         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15880         (gst_structure_parse_array), (gst_structure_parse_value):
15881         * gst/gstvalue.c: (gst_type_is_fixed),
15882         (gst_value_list_prepend_value), (gst_value_list_append_value),
15883         (gst_value_list_get_size), (gst_value_list_get_value),
15884         (gst_value_transform_array_string), (gst_value_serialize_array),
15885         (gst_value_deserialize_array), (gst_value_intersect_array),
15886         (gst_value_is_fixed), (_gst_value_initialize):
15887         * gst/gstvalue.h:
15888           GstElement::new-pad -> pad-added, GstElement::state-change ->
15889           state-changed, GstValueFixedList -> GstValueArray, add format and
15890           flags as their own arguments in gst_element_seek() (should improve
15891           "bindeability"), remove function generators since they don't work
15892           under a whole bunch of compilers (they were deprecated already
15893           anyway).
15894
15895 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15896
15897         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15898         (_gst_debug_register_funcptr):
15899         * gst/gstinfo.h:
15900           Fix illegal cast on some platforms (#309253).
15901
15902 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15903
15904         * gst/gstmessage.c: (gst_message_new_custom):
15905         * gst/gstmessage.h:
15906           Add _new_custom, make _new_application a macro to _new_custom.
15907
15908 2005-07-20  Wim Taymans  <wim@fluendo.com>
15909
15910         * gst/base/gstbasesrc.c: (gst_base_src_init),
15911         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15912         * gst/base/gstbasesrc.h:
15913         Add a gboolean to decide when to push out a discont.
15914
15915         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15916         (gst_queue_loop), (gst_queue_handle_src_query),
15917         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15918         (gst_queue_set_property), (gst_queue_get_property):
15919         Some cleanups.
15920
15921         * tests/threadstate/threadstate1.c: (main):
15922         Make a thread test compile and run... very silly..
15923
15924
15925 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15926
15927         * docs/manual/appendix-porting.xml:
15928           Mention removal of libgstgconf-0.9.la and existence of gconf
15929           elements.
15930
15931 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15932
15933         * docs/pwg/advanced-clock.xml:
15934         * docs/pwg/appendix-porting.xml:
15935         * docs/pwg/intro-preface.xml:
15936         * docs/pwg/other-base.xml:
15937         * docs/pwg/other-manager.xml:
15938         * docs/pwg/other-nton.xml:
15939         * docs/pwg/other-ntoone.xml:
15940         * docs/pwg/other-oneton.xml:
15941         * docs/pwg/pwg.xml:
15942           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15943           demuxer), remove n-to-n (was never written), fix some code examples
15944           and links and update the porting section to include all this.
15945
15946 2005-07-19  Wim Taymans  <wim@fluendo.com>
15947
15948         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15949         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15950         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15951         (gst_queue_src_activate_push), (gst_queue_change_state),
15952         (gst_queue_get_property):
15953         * gst/gstqueue.h:
15954         Propagate GstFlowReturn more intelligently upstream and output
15955         an ERROR/EOS when streaming stopped due to fatal error.
15956
15957 2005-07-19  Wim Taymans  <wim@fluendo.com>
15958
15959         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15960         Don't block forever for the state change to complete, the
15961         pipeline already did with a sensible timeout.
15962
15963 2005-07-19  Wim Taymans  <wim@fluendo.com>
15964
15965         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15966         Make sure we never call the create function is we
15967         got deactivated.
15968
15969 2005-07-19  Andy Wingo  <wingo@pobox.com>
15970
15971         * gst/parse/parse.l: Attempt to solve bug #172815.
15972
15973 2005-07-19  Wim Taymans  <wim@fluendo.com>
15974
15975         * docs/design/part-clocks.txt:
15976         * docs/design/part-events.txt:
15977         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15978         Small docs updates.
15979         Only update the seeking values when we are not
15980         busy streaming.
15981
15982 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15983
15984         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15985           Oops, ignore the result of gst_pad_push_event here.
15986
15987 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15988
15989         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15990         (gst_base_src_activate_push):
15991           Send discont event from the loop function, as pads
15992           aren't activated yet in the activate_push handler.
15993
15994         * gst/gstbin.c: (bin_bus_handler):
15995           Don't leak element name.
15996
15997 2005-07-18  Andy Wingo  <wingo@pobox.com>
15998
15999         * configure.ac: Use AS_LIBTOOL_TAGS.
16000
16001 2005-07-18  Wim Taymans  <wim@fluendo.com>
16002
16003         * docs/gst/gstreamer.types:
16004         Remove deleted types.
16005
16006 2005-07-18  Wim Taymans  <wim@fluendo.com>
16007
16008         * check/elements/gstfakesrc.c: (GST_START_TEST):
16009         * configure.ac:
16010         * gst/Makefile.am:
16011         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16012         (init_popt_callback):
16013         * gst/gst.h:
16014         * gst/gst_private.h:
16015         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16016         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16017         * gst/gstbin.h:
16018         * gst/gstbus.h:
16019         * gst/gstconfig.h.in:
16020         * gst/gstelement.c: (gst_element_class_init),
16021         (gst_element_set_base_time), (gst_element_get_base_time),
16022         (iterator_fold_with_resync), (gst_element_change_state),
16023         (gst_element_dispose), (gst_element_get_bus):
16024         * gst/gstelement.h:
16025         * gst/gstelementfactory.h:
16026         * gst/gsterror.c: (_gst_core_errors_init):
16027         * gst/gsterror.h:
16028         * gst/gstevent.h:
16029         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16030         * gst/gstindex.c:
16031         * gst/gstinfo.c: (_gst_debug_init):
16032         * gst/gstmessage.c: (_gst_message_copy):
16033         * gst/gstmessage.h:
16034         * gst/gstminiobject.h:
16035         * gst/gstobject.c:
16036         * gst/gstobject.h:
16037         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16038         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16039         * gst/gstpad.h:
16040         * gst/gstparse.h:
16041         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16042         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16043         (gst_pipeline_get_last_stream_time):
16044         * gst/gstpipeline.h:
16045         * gst/gstpluginfeature.h:
16046         * gst/gstquery.h:
16047         * gst/gstscheduler.c:
16048         * gst/gstscheduler.h:
16049         * gst/gststructure.h:
16050         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16051         (gst_task_finalize), (gst_task_func), (gst_task_create),
16052         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16053         (gst_task_stop), (gst_task_pause):
16054         * gst/gsttask.h:
16055         * gst/gsttypefind.h:
16056         * gst/gsttypes.h:
16057         * gst/registries/gstlibxmlregistry.c: (load_feature),
16058         (gst_xml_registry_load), (gst_xml_registry_save_feature):
16059         * gst/registries/gstxmlregistry.c:
16060         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16061         * gst/schedulers/threadscheduler.c:
16062         * libs/gst/control/dparammanager.h:
16063         * tools/gst-inspect.c: (print_element_list),
16064         (print_plugin_features), (print_element_features):
16065         * tools/gst-xmlinspect.c: (print_element_list),
16066         (print_plugin_info), (main):
16067         Removed plugable schedulers.
16068         Removed Scheduler/Manager from elements.
16069         Removed gsttypes.h, rearranged includes.
16070         Removed dependency pad<->element, element<>pipeline, and
16071         various others,  fix includes.
16072         implement gst_pad_get_parent() with gst_object_get_parent()
16073         Make GstTask sefcontained.
16074         Fix _get_state() on GstBin, it did not return ASYNC with a 0
16075         timeout.
16076         Fix endless loop in iterator_fold_with_resync.
16077
16078
16079 2005-07-18  Wim Taymans  <wim@fluendo.com>
16080
16081         * gst/Makefile.am:
16082         * gst/gstarch.h:
16083         Remove old file.
16084
16085 2005-07-18  Wim Taymans  <wim@fluendo.com>
16086
16087         * gst/Makefile.am:
16088         No more cothreads.h
16089
16090 2005-07-18  Wim Taymans  <wim@fluendo.com>
16091
16092         * gst/cothreads.c:
16093         * gst/cothreads.h:
16094         Let's remove these.
16095
16096 2005-07-18  Wim Taymans  <wim@fluendo.com>
16097
16098         * docs/design/part-dynamic.txt:
16099         * docs/design/part-events.txt:
16100         * docs/design/part-seeking.txt:
16101         Some more docs in the works.
16102
16103         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16104         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16105         (gst_base_transform_setcaps), (gst_base_transform_get_size),
16106         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16107         (gst_base_transform_handle_buffer),
16108         (gst_base_transform_sink_activate_push),
16109         (gst_base_transform_src_activate_pull),
16110         (gst_base_transform_set_passthrough),
16111         (gst_base_transform_is_passthrough):
16112         Refcounting fixes.
16113
16114         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16115         Cleanups.
16116
16117         * gst/gstevent.c: (gst_event_finalize):
16118         Set SRC to NULL.
16119
16120         * gst/gstutils.c: (gst_element_unlink),
16121         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16122         (gst_pad_proxy_setcaps):
16123         * gst/gstutils.h:
16124         Add _get_parent_element() to get a pads parent as an element.
16125
16126 2005-07-18  Wim Taymans  <wim@fluendo.com>
16127
16128         * check/gst/gstbin.c: (GST_START_TEST):
16129         Remove bogus test.
16130
16131 2005-07-18  Wim Taymans  <wim@fluendo.com>
16132
16133         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16134         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16135         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16136         (gst_base_sink_event), (gst_base_sink_do_sync),
16137         (gst_base_sink_chain), (gst_base_sink_loop),
16138         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16139         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16140         Refcounting fixes.
16141         Fix logic for returning ASYNC when not prerolled.
16142
16143 2005-07-18  Wim Taymans  <wim@fluendo.com>
16144
16145         * gst/gstqueue.c: (gst_queue_handle_sink_event):
16146         Fix nasty refcount bug.
16147
16148 2005-07-16 Philippe Khalaf <burger@speedy.org>
16149
16150         * gst/elements/gstfdsrc.c:
16151         * gst/elements/gstfdsrc.h:
16152         * gst/elements/gstelements.c:
16153         * gst/elements/Makefile.am:
16154         Ported fdsrc to 0.9.
16155
16156 2005-07-16  Wim Taymans  <wim@fluendo.com>
16157
16158         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16159         (gst_base_sink_do_sync):
16160         Fix compile error.
16161
16162 2005-07-16  Wim Taymans  <wim@fluendo.com>
16163
16164         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16165         (gst_base_sink_event), (gst_base_sink_get_times),
16166         (gst_base_sink_do_sync), (gst_base_sink_change_state):
16167         * gst/base/gstbasesink.h:
16168         Store and use discont values when syncing buffers as described
16169         in design docs.
16170         
16171         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16172         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16173         (gst_base_src_activate_push):
16174         Push discont event when starting.
16175
16176         * gst/elements/gstidentity.c: (gst_identity_transform):
16177         Small cleanups.
16178
16179         * gst/gstbin.c: (gst_bin_change_state):
16180         Small cleanups in base_time  distribution.
16181
16182         * gst/gstelement.c: (gst_element_set_base_time),
16183         (gst_element_get_base_time), (gst_element_change_state):
16184         * gst/gstelement.h:
16185         Added methods for the base_time of the element.
16186         Some MT fixes.
16187
16188         * gst/gstpipeline.c: (gst_pipeline_send_event),
16189         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16190         (gst_pipeline_get_last_stream_time):
16191         * gst/gstpipeline.h:
16192         MT fixes.
16193         Handle seeking as described in design doc, remove stream_time
16194         hack.
16195         Cleanups clock and stream_time selection code. Added accessors
16196         for the stream_time.
16197         
16198
16199 2005-07-16  Andy Wingo  <wingo@pobox.com>
16200
16201         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16202         (#305291).
16203
16204 2005-07-16  Wim Taymans  <wim@fluendo.com>
16205
16206         * check/gst/gstbin.c: (GST_START_TEST):
16207         Make elements silent as the deep_notify refs the
16208         parent, which might make the test fail.
16209
16210         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16211         Don't hold the lock for too long.
16212
16213 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
16214
16215         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16216           Don't unref the caps we passed to gst_caps_make_writable() after
16217           passing them. gst_caps_make_writable() will do that for us.
16218
16219 2005-07-15  Andy Wingo  <wingo@pobox.com>
16220
16221         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16222         (#157311).
16223
16224         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16225         own marshalling function for the handoff signal. Properly type the
16226         buffer as a buffer. Fixes some warnings. Should do a more general
16227         solution.
16228         (gst_identity_class_init): Plug into the right marshaller.
16229
16230 2005-07-15  Wim Taymans  <wim@fluendo.com>
16231
16232         * docs/design/part-TODO.txt:
16233         * docs/design/part-clocks.txt:
16234         * docs/design/part-element-sink.txt:
16235         * docs/design/part-events.txt:
16236         * docs/design/part-gstpipeline.txt:
16237         Updated docs, mostly DISCONT related.
16238
16239 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16240
16241         * docs/pwg/building-pads.xml:
16242           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16243
16244 2005-07-15  Andy Wingo  <wingo@pobox.com>
16245
16246         * tools/gst-typefind.c: Update, add copyright block.
16247
16248         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16249         Normalize and truncate caps before fixation.
16250
16251         * gst/gstcaps.h:
16252         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16253         discards all but the first structure from its argument.
16254
16255 2005-07-15  Wim Taymans  <wim@fluendo.com>
16256
16257         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16258         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16259         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16260         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16261         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16262         (gst_base_transform_chain), (gst_base_transform_change_state),
16263         (gst_base_transform_set_passthrough),
16264         (gst_base_transform_is_passthrough):
16265         * gst/base/gstbasetransform.h:
16266         Make passthrough work using the bufferpools.
16267         Changed API a bit, subclasses have to write into a buffer
16268         provided by the base class.
16269         More debug info in nego functions.
16270         
16271         * gst/elements/gstidentity.c: (gst_identity_init),
16272         (gst_identity_transform):
16273         Port to new base class.
16274
16275 2005-07-15  Wim Taymans  <wim@fluendo.com>
16276
16277         * gst/gstmessage.c: (gst_message_new_state_changed):
16278         * tools/gst-launch.c: (event_loop), (main):
16279         Totally dump messages in -launch with the -m option.
16280         Fix message name for State messages,
16281
16282 2005-07-14  Wim Taymans  <wim@fluendo.com>
16283
16284         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16285         Post error messages on errors.
16286
16287 2005-07-14  Wim Taymans  <wim@fluendo.com>
16288
16289         * gst/gstcaps.c: (gst_caps_do_simplify):
16290         Remove debug info.
16291
16292         * gst/gsterror.h:
16293         Define error for stream stopped.
16294
16295         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16296         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16297         Do proper return values.
16298
16299         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16300         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16301         (gst_pad_get_range):
16302         Better return values.
16303
16304         * gst/gstpad.h:
16305         Reorganise return values, add macro to check for fatal errors.
16306
16307         * gst/gstqueue.c: (gst_queue_chain):
16308         Return proper GstFlowReturn values,
16309
16310 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * docs/gst/gstreamer-sections.txt:
16313         * docs/gst/gstreamer.types:
16314         * docs/gst/tmpl/gst.sgml:
16315         * docs/gst/tmpl/gstbasesink.sgml:
16316         * docs/gst/tmpl/gstbasesrc.sgml:
16317         * docs/gst/tmpl/gstbasetransform.sgml:
16318         * docs/gst/tmpl/gstbin.sgml:
16319         * docs/gst/tmpl/gstbuffer.sgml:
16320         * docs/gst/tmpl/gstcaps.sgml:
16321         * docs/gst/tmpl/gstclock.sgml:
16322         * docs/gst/tmpl/gstcompat.sgml:
16323         * docs/gst/tmpl/gstconfig.sgml:
16324         * docs/gst/tmpl/gstelement.sgml:
16325         * docs/gst/tmpl/gstelementdetails.sgml:
16326         * docs/gst/tmpl/gstelementfactory.sgml:
16327         * docs/gst/tmpl/gstenumtypes.sgml:
16328         * docs/gst/tmpl/gsterror.sgml:
16329         * docs/gst/tmpl/gstevent.sgml:
16330         * docs/gst/tmpl/gstfakesink.sgml:
16331         * docs/gst/tmpl/gstfakesrc.sgml:
16332         * docs/gst/tmpl/gstfilesink.sgml:
16333         * docs/gst/tmpl/gstfilesrc.sgml:
16334         * docs/gst/tmpl/gstfilter.sgml:
16335         * docs/gst/tmpl/gstformat.sgml:
16336         * docs/gst/tmpl/gstghostpad.sgml:
16337         * docs/gst/tmpl/gstimplementsinterface.sgml:
16338         * docs/gst/tmpl/gstindex.sgml:
16339         * docs/gst/tmpl/gstindexfactory.sgml:
16340         * docs/gst/tmpl/gstinfo.sgml:
16341         * docs/gst/tmpl/gstiterator.sgml:
16342         * docs/gst/tmpl/gstmacros.sgml:
16343         * docs/gst/tmpl/gstmemchunk.sgml:
16344         * docs/gst/tmpl/gstminiobject.sgml:
16345         * docs/gst/tmpl/gstobject.sgml:
16346         * docs/gst/tmpl/gstpad.sgml:
16347         * docs/gst/tmpl/gstpadtemplate.sgml:
16348         * docs/gst/tmpl/gstparse.sgml:
16349         * docs/gst/tmpl/gstpipeline.sgml:
16350         * docs/gst/tmpl/gstplugin.sgml:
16351         * docs/gst/tmpl/gstpluginfeature.sgml:
16352         * docs/gst/tmpl/gstquery.sgml:
16353         * docs/gst/tmpl/gstqueue.sgml:
16354         * docs/gst/tmpl/gstregistry.sgml:
16355         * docs/gst/tmpl/gstregistrypool.sgml:
16356         * docs/gst/tmpl/gstscheduler.sgml:
16357         * docs/gst/tmpl/gstschedulerfactory.sgml:
16358         * docs/gst/tmpl/gststructure.sgml:
16359         * docs/gst/tmpl/gstsystemclock.sgml:
16360         * docs/gst/tmpl/gsttaglist.sgml:
16361         * docs/gst/tmpl/gsttagsetter.sgml:
16362         * docs/gst/tmpl/gsttrace.sgml:
16363         * docs/gst/tmpl/gsttrashstack.sgml:
16364         * docs/gst/tmpl/gsttypefind.sgml:
16365         * docs/gst/tmpl/gsttypefindfactory.sgml:
16366         * docs/gst/tmpl/gsttypes.sgml:
16367         * docs/gst/tmpl/gsturihandler.sgml:
16368         * docs/gst/tmpl/gsturitype.sgml:
16369         * docs/gst/tmpl/gstutils.sgml:
16370         * docs/gst/tmpl/gstvalue.sgml:
16371         * docs/gst/tmpl/gstversion.sgml:
16372         * docs/gst/tmpl/gstxml.sgml:
16373         * docs/libs/tmpl/gstcontrol.sgml:
16374         * docs/libs/tmpl/gstdataprotocol.sgml:
16375         * docs/libs/tmpl/gstdparam.sgml:
16376         * docs/libs/tmpl/gstdplinint.sgml:
16377         * docs/libs/tmpl/gstdpman.sgml:
16378         * docs/libs/tmpl/gstdpsmooth.sgml:
16379         * docs/libs/tmpl/gstgetbits.sgml:
16380         * docs/libs/tmpl/gstunitconvert.sgml:
16381         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16382         (gst_push_src_base_init), (gst_push_src_class_init),
16383         (gst_push_src_init), (gst_push_src_create):
16384         * gst/base/gstpushsrc.h:
16385         * gst/elements/gstelements.c:
16386         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16387         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16388         (gst_fake_sink_init), (gst_fake_sink_set_property),
16389         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16390         (gst_fake_sink_event), (gst_fake_sink_preroll),
16391         (gst_fake_sink_render), (gst_fake_sink_change_state):
16392         * gst/elements/gstfakesink.h:
16393         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16394         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16395         (gst_fake_src_base_init), (gst_fake_src_class_init),
16396         (gst_fake_src_init), (gst_fake_src_event_handler),
16397         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16398         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16399         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16400         (gst_fake_src_create_buffer), (gst_fake_src_create),
16401         (gst_fake_src_start), (gst_fake_src_stop):
16402         * gst/elements/gstfakesrc.h:
16403         * gst/elements/gstfilesink.c: (_do_init),
16404         (gst_file_sink_base_init), (gst_file_sink_class_init),
16405         (gst_file_sink_init), (gst_file_sink_dispose),
16406         (gst_file_sink_set_location), (gst_file_sink_set_property),
16407         (gst_file_sink_get_property), (gst_file_sink_open_file),
16408         (gst_file_sink_close_file), (gst_file_sink_query),
16409         (gst_file_sink_event), (gst_file_sink_render),
16410         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16411         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16412         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16413         * gst/elements/gstfilesink.h:
16414         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16415         (gst_file_src_class_init), (gst_file_src_init),
16416         (gst_file_src_finalize), (gst_file_src_set_location),
16417         (gst_file_src_set_property), (gst_file_src_get_property),
16418         (gst_file_src_map_region), (gst_file_src_map_small_region),
16419         (gst_file_src_create_mmap), (gst_file_src_create_read),
16420         (gst_file_src_create), (gst_file_src_is_seekable),
16421         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16422         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16423         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16424         (gst_file_src_uri_handler_init):
16425         * gst/elements/gstfilesrc.h:
16426           more autistic cleanliness in functions/names/defines
16427
16428 2005-07-13  Andy Wingo  <wingo@pobox.com>
16429
16430         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16431         source couldn't negotiate.
16432
16433         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16434         connections again.
16435
16436         * gst/gstutils.h:
16437         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16438         function. I am channeling Hades. Put your boots on suckers!!!
16439
16440 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16441
16442         * testsuite/caps/Makefile.am:
16443         * testsuite/caps/value_compare.c:
16444         * testsuite/caps/value_intersect.c:
16445         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16446           move two testsuite apps over to the check dir
16447
16448 2005-07-12  Wim Taymans  <wim@fluendo.com>
16449
16450         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16451         Added more debug info in the negotiate process.
16452
16453         * gst/gstmessage.h:
16454         Prepare for segment playback.
16455
16456         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16457         Better debugging.
16458
16459         * gst/gstutils.c:
16460         Some more docs.
16461
16462         * tools/gst-launch.c: (main):
16463         NULL pipeline on errors.
16464
16465 2005-07-12  Andy Wingo  <wingo@pobox.com>
16466
16467         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16468         not it comes from a malloc region. Make sure our copy gets freed.
16469
16470 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16471
16472         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16473         * check/gst/gstmessage.c: (GST_START_TEST):
16474         * check/gst/gststructure.c: (GST_START_TEST),
16475         (gst_structure_suite), (main):
16476           more testing
16477         * gst/gstelement.c: (gst_element_message_full):
16478           clean up GError and debug string now that they get copied
16479         * gst/gstmessage.c: (gst_message_new_error),
16480         (gst_message_new_warning), (gst_message_parse_error),
16481         (gst_message_parse_warning):
16482           use GST_TYPE_G_ERROR for structure_new, and take copies of
16483           arguments, so that we don't mess up refcounting
16484
16485 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16486
16487         * check/Makefile.am:
16488           add per-test valgrind targets
16489         * check/gst-libs/gdp.c: (GST_START_TEST),
16490         (gst_data_protocol_suite), (main):
16491           clean up
16492
16493 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16494
16495         * check/Makefile.am:
16496           instate more valgrindable tests
16497         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16498         (GST_START_TEST), (fakesrc_suite):
16499         * check/gst/gstpad.c: (GST_START_TEST):
16500         * check/gst/gststructure.c: (GST_START_TEST):
16501           fix test leaks
16502         * docs/gst/tmpl/gstminiobject.sgml:
16503         * gst/gstpad.c: (gst_pad_finalize):
16504           fix the static mutex leak
16505
16506 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16507
16508         * check/Makefile.am:
16509           add two more tests for valgrinding
16510         * check/gst/gstvalue.c: (GST_START_TEST):
16511           test refcount of deserialized buffer, found a leak
16512         * docs/gst/gstreamer-docs.sgml:
16513         * docs/gst/gstreamer-sections.txt:
16514         * docs/gst/gstreamer.types:
16515         * docs/gst/tmpl/gstminiobject.sgml:
16516           add miniobject to docs
16517         * gst/gstminiobject.c:
16518           add some docs
16519         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16520         (gst_string_unwrap):
16521           fix a hard-to-find invalid write for one of the tests
16522           fix a leak for deserialized buffers
16523
16524 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16525
16526         * docs/pwg/advanced-events.xml:
16527         * docs/pwg/advanced-request.xml:
16528         * docs/pwg/advanced-scheduling.xml:
16529         * docs/pwg/appendix-porting.xml:
16530         * docs/pwg/building-boiler.xml:
16531         * docs/pwg/intro-preface.xml:
16532         * docs/pwg/other-ntoone.xml:
16533           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16534           of example code and explanation for pad activation, loop() and
16535           getrange() functions and a bit more. Remove old comments pointing
16536           to loop-functions.
16537         * examples/pwg/Makefile.am:
16538           Add loop/getrange examples.
16539
16540 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16541
16542         * configure.ac:
16543           check for valgrind binary + some fixes
16544         * check/gst.supp:
16545           valgrind suppressions for the tests
16546         * check/Makefile.am:
16547           add a valgrind: target that valgrinds the unit tests
16548         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16549         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16550         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16551         * check/gst/gstghostpad.c:
16552           added some cleanup
16553         * check/gst/gstdata.c:
16554           removed
16555         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16556         (thread_unref), (gst_mini_object_suite), (main):
16557           added
16558         * gst/gst.c: (gst_deinit):
16559         * gst/gst.h:
16560           add a method to clean up.
16561         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16562         (gst_system_clock_obtain):
16563           allow for disposing the system clock.
16564         * tools/gst-launch.c: (main):
16565           deinit
16566
16567 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16568
16569         * docs/gst/tmpl/gstbasesrc.sgml:
16570         * docs/gst/tmpl/gstfakesrc.sgml:
16571         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16572         (gst_base_src_init), (gst_base_src_set_property),
16573         (gst_base_src_get_property), (gst_base_src_get_range),
16574         (gst_base_src_start):
16575         * gst/base/gstbasesrc.h:
16576           add num-buffers property
16577         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16578         (gst_fakesrc_init), (gst_fakesrc_set_property),
16579         (gst_fakesrc_get_property), (gst_fakesrc_create),
16580         (gst_fakesrc_start):
16581           remove num-buffers property
16582
16583 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16584
16585         * docs/gst/gstreamer-sections.txt:
16586         * docs/gst/tmpl/gstbasesink.sgml:
16587         * docs/gst/tmpl/gstbasesrc.sgml:
16588         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16589         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16590         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16591         (gst_base_sink_set_property), (gst_base_sink_get_property),
16592         (gst_base_sink_handle_object), (gst_base_sink_event),
16593         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16594         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16595         (gst_base_sink_loop), (gst_base_sink_deactivate),
16596         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16597         (gst_base_sink_change_state):
16598         * gst/base/gstbasesink.h:
16599         * gst/base/gstbasesrc.h:
16600         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16601         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16602         (gst_filesink_init):
16603           more macro splitting
16604
16605 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16606
16607         * gst/gstelement.c: (gst_element_get_bus):
16608           add debug
16609         * tools/gst-launch.c: (check_intr), (event_loop):
16610           fix bus leaks
16611
16612 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16613
16614         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16615           fix a caps leak
16616
16617 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16618
16619         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16620         (gst_base_src_finalize):
16621           add finalize method and clean up properly
16622         * gst/gstpipeline.c: (gst_pipeline_dispose):
16623           add debug
16624
16625 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16626
16627         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16628         (gst_bin_suite):
16629           add more things to check
16630         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16631         * gst/gstelement.c:
16632           more debug
16633
16634 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16635
16636         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16637         (GST_START_TEST), (fakesrc_suite):
16638         * check/gst-libs/gdp.c: (GST_START_TEST):
16639         * check/gst/gst.c: (GST_START_TEST):
16640         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16641         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16642         * check/gst/gstbus.c: (GST_START_TEST):
16643         * check/gst/gstcaps.c: (GST_START_TEST):
16644         * check/gst/gstdata.c: (GST_START_TEST):
16645         * check/gst/gstelement.c: (GST_START_TEST):
16646         * check/gst/gstghostpad.c: (GST_START_TEST):
16647         * check/gst/gstiterator.c: (GST_START_TEST):
16648         * check/gst/gstmessage.c: (GST_START_TEST):
16649         * check/gst/gstobject.c: (GST_START_TEST):
16650         * check/gst/gstpad.c: (GST_START_TEST):
16651         * check/gst/gststructure.c: (GST_START_TEST):
16652         * check/gst/gstsystemclock.c: (GST_START_TEST),
16653         (gst_systemclock_suite):
16654         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16655         * check/gst/gstvalue.c: (GST_START_TEST):
16656         * check/pipelines/cleanup.c: (GST_START_TEST):
16657         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16658         * check/states/sinks.c: (GST_START_TEST):
16659         * check/gstcheck.c: (gst_check_init):
16660         * check/gstcheck.h:
16661           add debugging category
16662           use GST_START_TEST now, so we add a debug line
16663
16664 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16665
16666         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16667           add test for state change message on a bin
16668         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16669           add another test
16670         * gst/gstbin.c: (gst_bin_init):
16671         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16672         * gst/gstelement.c: (gst_element_post_message),
16673         (gst_element_set_state):
16674         * gst/gstelementfactory.c: (gst_element_factory_create):
16675         * gst/gstmessage.c: (gst_message_new):
16676         * gst/gstscheduler.c:
16677           various debugging additions and cleanups
16678
16679 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16680
16681         * check/Makefile.am:
16682         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16683         (main):
16684           adding tests for elements
16685         * gst/gstelement.c: (gst_element_dispose):
16686
16687 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16688
16689         * gst/registries/gstlibxmlregistry.c: (load_feature):
16690           plug more leaks.  A simple gst_init() now is leakfree, yay.
16691
16692 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16693
16694         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16695         (gst_xml_registry_load):
16696           plug another memleak
16697
16698 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16699
16700         * configure.ac:
16701           use GST_SET_ERROR_CFLAGS
16702         * docs/faq/cvs.xml:
16703           change to ERROR_CFLAGS
16704
16705 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16706
16707         * configure.ac:
16708           make GST_ERROR_CFLAGS overridable and re-enable Werror
16709         * docs/faq/cvs.xml:
16710           add a note about error CFLAGS
16711         * docs/gst/tmpl/gstfakesrc.sgml:
16712         * gst/elements/gstfakesrc.c:
16713           comment out some unused code
16714         * gst/gst.c: (split_and_iterate):
16715         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16716         (load_feature):
16717           plug some memleaks
16718
16719 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16720
16721         * common/Makefile.am:
16722         * common/gtk-doc.mak:
16723         * docs/gst/Makefile.am:
16724           factor out gtk-doc.mak
16725
16726 2005-07-07  Wim Taymans  <wim@fluendo.com>
16727
16728         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16729         (gst_thread_scheduler_dispose):
16730         Unlock the STREAM_LOCK completely.
16731
16732 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16733
16734         * check/Makefile.am:
16735         * check/elements/.cvsignore:
16736         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16737         (START_TEST), (fakesrc_suite), (main):
16738         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16739         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16740         (gst_fakesrc_create), (gst_fakesrc_start):
16741         * gst/elements/gstfakesrc.h:
16742           adding a first element test
16743
16744 2005-07-07  Andy Wingo  <wingo@pobox.com>
16745
16746         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16747         debug message.
16748
16749 2005-07-07  Wim Taymans  <wim@fluendo.com>
16750
16751         * gst/gstquery.c:
16752         * gst/gstquery.h:
16753         Remove old types
16754
16755 2005-07-07  Wim Taymans  <wim@fluendo.com>
16756
16757         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16758         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16759         Allow subclasses to implement their own negotiation.
16760
16761 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16762
16763         * docs/design/part-gstbin.txt:
16764         * docs/design/part-gstpipeline.txt:
16765           Update design notes to reflect the movement of
16766           responsibility for bus handling from GstPipeline to
16767           GstBin
16768
16769 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16770
16771         * configure.ac:
16772           Remove unnecessary queue2/3/4 examples.
16773
16774 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16775
16776         * examples/Makefile.am:
16777         * examples/helloworld/helloworld.c: (event_loop), (main):
16778         * examples/queue/queue.c: (event_loop), (main):
16779         * examples/queue2/queue2.c: (main):
16780           Update a couple of the examples to work again.
16781
16782         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16783         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16784          Spelling corrections and extra debug.
16785         
16786         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16787         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16788         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16789         * gst/gstbin.h:
16790         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16791         (gst_pipeline_change_state):
16792         * gst/gstpipeline.h:
16793           Move the bus handler for children to the GstBin, and create a
16794           separate bus for receiving messages from children to the one the
16795           bus sends 'upwards' on.
16796
16797 2005-07-06  Wim Taymans  <wim@fluendo.com>
16798
16799         * gst/base/README:
16800         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16801         (gst_base_sink_handle_object), (gst_base_sink_loop),
16802         (gst_base_sink_change_state):
16803         * gst/base/gstbasesink.h:
16804         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16805         (gst_base_src_init), (gst_base_src_setcaps),
16806         (gst_base_src_getcaps), (gst_base_src_loop),
16807         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16808         (gst_base_src_start), (gst_base_src_change_state):
16809         * gst/base/gstbasesrc.h:
16810         Make basesrc negotiate.
16811         Handle the case where preroll fails in basesink.
16812         Update README.
16813
16814 2005-07-06  Wim Taymans  <wim@fluendo.com>
16815
16816         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16817         Implement the fixate function.
16818         Clean up acceptcaps.
16819
16820 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16821
16822         * docs/pwg/building-filterfactory.xml:
16823         * docs/pwg/pwg.xml:
16824           Remove never-written filter-factory chapter; I'll add the various
16825           base classes to part 4 ("other element types") later on.
16826
16827 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16828
16829         * docs/pwg/advanced-negotiation.xml:
16830         * docs/pwg/building-boiler.xml:
16831         * docs/pwg/building-pads.xml:
16832         * docs/pwg/pwg.xml:
16833         * examples/pwg/Makefile.am:
16834           Add a chapter on caps negotiation, simplify the original code
16835           samples a bit w.r.t. caps negotiation, add link to the advanced
16836           section. Add a bunch of examples showing different use cases of
16837           different types of caps negotiation. Upstream renegotiation isn't
16838           fully documented yet since nobody knows how that works.
16839
16840 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16841
16842         * check/gst/gstpad.c:
16843         * check/gstcheck.c:
16844         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16845           if pad has no parent, return NULL as list of internal links
16846
16847 2005-07-05  Andy Wingo  <wingo@pobox.com>
16848
16849         * gst/elements/gstfilesrc.c:
16850         * gst/elements/gstfakesrc.c: 
16851         * gst/base/gstpushsrc.c:
16852         * gst/base/gstbasesrc.h: 
16853         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16854         
16855 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16856
16857         * Makefile.am:
16858           better report generation target (lcov needs a patch)
16859
16860 2005-07-05  Andy Wingo  <wingo@pobox.com>
16861
16862         * gst/elements, testsuite: Null if we got it...
16863
16864 2005-07-05  Wim Taymans  <wim@fluendo.com>
16865
16866         * configure.ac:
16867         * libs/gst/dataprotocol/Makefile.am:
16868         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16869         * libs/gst/dataprotocol/dataprotocol.h:
16870         * pkgconfig/Makefile.am:
16871         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16872         * pkgconfig/gstreamer-dataprotocol.pc.in:
16873         Ported dataprotol to 0.9. 
16874         Added pkgconfig files.
16875
16876 2005-07-05  Andy Wingo  <wingo@pobox.com>
16877
16878         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16879         Default to returning TRUE for the case when tranform_caps returns
16880         a fixed caps, like for identity or volume.
16881
16882         * check/gst/gstbus.c (pound_bus_with_messages): 
16883         * check/gst/gstmessage.c (START_TEST): 
16884         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16885         message API change.
16886
16887         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16888         logic weaks here: always run transform_caps, trying passthrough
16889         operation only if the original caps intersects with the transform.
16890
16891         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16892         source and sink caps.
16893
16894         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16895         Intersect the peer caps with the pad template before going into
16896         transform_caps.
16897         (gst_base_transform_transform_caps): More debugging.
16898
16899         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16900         src argument.
16901
16902 2005-07-04  Edward Hervey  <edward@fluendo.com>
16903
16904         * gst/gstutils.c:
16905         * gst/gstutils.h:
16906         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16907         in bindings.
16908
16909 2005-07-04  Andy Wingo  <wingo@pobox.com>
16910
16911         * check/gst/gstpad.c: Only set explicit caps on pads.
16912
16913 2005-07-01  Andy Wingo  <wingo@pobox.com>
16914
16915         * tests/network-clock.scm: Commentary update.
16916
16917         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16918         Didn't really make sense, not implementable with basetransform,
16919         etc.
16920         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16921         attempt at implementing the sync property, needs an unlock method.
16922
16923         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16924         New func, by default returns the same caps (the identity
16925         transformation).
16926         (gst_base_transform_getcaps): Uses transform_caps to return
16927         something sensible.
16928         (gst_base_transform_setcaps): Complicated logic to get caps on
16929         both pads, even if they are different, and to call set_caps once
16930         for every time both pads get their caps set.
16931         (gst_base_transform_handle_buffer): Give the ref to the transform
16932         function. Allows in-place modification of the buffer.
16933
16934         * gst/base/gstbasetransform.h (transform_caps): New class method.
16935         Given caps on one side, what can I do on the other.
16936         (set_caps): Take two caps, one for each side of the element.
16937
16938         * gst/gstpad.h:
16939         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16940         caps in place. This is safe because we can check the mutability of
16941         the caps, and a good idea because fixate functions are just called
16942         as a matter of last resort. (Not actually implemented.)
16943         (gst_pad_set_caps): If the caps we're setting is actually the same
16944         as the existing pad caps, just update the pointer without calling
16945         setcaps. Assert that caps is either NULL or fixed, as per the
16946         docs.
16947
16948         * gst/gstghostpad.c: Update for fixate changes.
16949
16950 2005-07-02  Andy Wingo  <wingo@pobox.com>
16951
16952         * gst/gstcaps.c:
16953         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16954         two refcounts makes it immutable, which is enough. Doc more.
16955
16956 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16957
16958         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16959           Put the mini_object into GValue as a mini_object,
16960           not a gpointer, since that's how we declared
16961           the signal.
16962
16963 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16964
16965         * examples/pwg/Makefile.am:
16966           Fix buildbot again.
16967
16968 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16969
16970         * docs/pwg/building-testapp.xml:
16971           Add extra check.
16972         * examples/pwg/Makefile.am:
16973           Fix buildbot.
16974
16975 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16976
16977         * configure.ac:
16978         * examples/Makefile.am:
16979         * examples/pwg/Makefile.am:
16980         * examples/pwg/extract.pl:
16981           Enable building the PWG examples.
16982         * docs/pwg/advanced-interfaces.xml:
16983           Add URI interface stub.
16984         * docs/pwg/advanced-types.xml:
16985         * docs/pwg/other-autoplugger.xml:
16986         * docs/pwg/appendix-porting.xml:
16987         * docs/pwg/pwg.xml:
16988           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16989         * docs/pwg/building-boiler.xml:
16990         * docs/pwg/building-chainfn.xml:
16991         * docs/pwg/building-pads.xml:
16992         * docs/pwg/building-props.xml:
16993         * docs/pwg/building-state.xml:
16994         * docs/pwg/building-testapp.xml:
16995           Update the building-*.xml parts for 0.9 changes. All examples
16996           code blocks compile in examples/pwg/*.
16997
16998 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16999
17000         * docs/manual/advanced-autoplugging.xml:
17001         * docs/manual/appendix-checklist.xml:
17002         * docs/manual/appendix-integration.xml:
17003         * docs/manual/highlevel-components.xml:
17004           Fix playbin/decodebin examples, update docs a bit, mention bus
17005           instead of signals in various places, mention kmplayer and
17006           kaffeine since they have a working GStreamer backend in the KDE
17007           section.
17008
17009 2005-06-30  Wim Taymans  <wim@fluendo.com>
17010
17011         * CHANGES-0.9:
17012         * docs/design/draft-ghostpads.txt:
17013         * docs/design/draft-push-pull.txt:
17014         * docs/design/draft-query.txt:
17015         * docs/design/part-TODO.txt:
17016         * docs/design/part-query.txt:
17017         Added CHANGES-0.9 doc, updated status of other docs.
17018         
17019         * gst/gstquery.h:
17020         Remove "hmm" macro
17021
17022 2005-06-30  Wim Taymans  <wim@fluendo.com>
17023
17024         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17025         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17026         (gst_base_sink_change_state):
17027         * gst/base/gstbasesink.h:
17028         Some tweaks, only EOS and a buffer complete a preroll.
17029
17030 2005-06-30  Andy Wingo  <wingo@pobox.com>
17031
17032         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17033         activate_push down to the internal pad as well.
17034
17035 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
17036
17037         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17038
17039         * gst/gsttaginterface.c:
17040           Some documentation fixes (#307394 and #307397).
17041
17042 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
17043
17044         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17045
17046         * gst/gstvalue.c: (gst_value_intersect_list):
17047           Fix memleak (#309125).
17048
17049 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17050
17051         * docs/manual/advanced-dataaccess.xml:
17052           Fix fakesrc example to compile; doesn't work, bug somewhere...?
17053         * docs/manual/basics-pads.xml:
17054           Add reference for filtered caps to above chapter.
17055
17056 2005-06-30  Wim Taymans  <wim@fluendo.com>
17057
17058         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17059         (gst_bin_change_state):
17060         Probes are gone.
17061         Lame attempt at making the state change function a bit
17062         more readable.
17063
17064 2005-06-30  Wim Taymans  <wim@fluendo.com>
17065
17066         * docs/design/part-clocks.txt:
17067         * docs/design/part-element-sink.txt:
17068         * docs/design/part-events.txt:
17069         * docs/design/part-preroll.txt:
17070         * docs/design/part-states.txt:
17071         Some more tweeks and additions to the docs.
17072
17073 2005-06-30  Wim Taymans  <wim@fluendo.com>
17074
17075         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17076         (default_have_data), (gst_pad_class_init), (gst_pad_init),
17077         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17078         (gst_pad_check_pull_range), (gst_pad_get_range),
17079         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17080         * gst/gstpad.h:
17081         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17082         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17083         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17084         (gst_pad_remove_buffer_probe):
17085         Removed atomic operations, use existing LOCK.
17086         Move exception handling out of main code path.
17087
17088 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17089
17090         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17091         (silly_return_true_function), (gst_pad_class_init),
17092         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17093         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17094         (gst_pad_send_event):
17095           Fix accumulator, add default value by using _emitv() instead
17096           of _emit() for signal emission.
17097
17098 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17099
17100         * docs/manual/advanced-dataaccess.xml:
17101         * examples/manual/Makefile.am:
17102           Add probe example.
17103         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17104           Make work (??).
17105
17106 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
17107
17108         * gst/elements/gstfilesink.c: (gst_filesink_render):
17109           Simplify code so that we don't have to handle short
17110           writes and return GST_FLOW_ERROR if an error occured.
17111
17112 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17113
17114         * docs/gst/gstreamer-docs.sgml:
17115           Remove probes more.
17116
17117 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17118
17119         * docs/gst/gstreamer-sections.txt:
17120         * docs/gst/tmpl/gstpad.sgml:
17121         * docs/gst/tmpl/gstprobe.sgml:
17122         * gst/Makefile.am:
17123         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17124         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17125         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17126         (gst_pad_push_event), (gst_pad_send_event):
17127         * gst/gstpad.h:
17128         * gst/gstutils.c: (gst_pad_add_data_probe),
17129         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17130         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17131         (gst_pad_remove_buffer_probe):
17132         * gst/gstutils.h:
17133           Remove old probes, add new g-signal-based probes and some utility
17134           functions.
17135
17136 2005-06-29  Edward Hervey  <edward@fluendo.com>
17137
17138         * gst/gstelementfactory.c:
17139         * gst/gstutils.h:
17140         * gst/gstutils.c:
17141         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17142         the definition to the header file.
17143
17144 2005-06-29  Andy Wingo  <wingo@pobox.com>
17145
17146         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17147         plugins from the source directory.
17148
17149 2005-06-29  Wim Taymans  <wim@fluendo.com>
17150
17151         * docs/gst/tmpl/gstbuffer.sgml:
17152         * docs/gst/tmpl/gstclock.sgml:
17153         Some fixings for blantently wrong text.
17154
17155 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17156
17157         * check/Makefile.am:
17158         * gst/gst.c: (add_path_func), (init_pre):
17159         * gst/gstregistry.c: (gst_registry_add_path):
17160           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17161           only scan the GST_PLUGIN_PATH locations, and not add
17162           system locations
17163
17164 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17165
17166         * docs/gst/gstreamer-sections.txt:
17167         * docs/gst/tmpl/gstbasesrc.sgml:
17168         * gst/gstelement.c:
17169         * gst/gstelement.h:
17170         * gst/gstevent.c:
17171         * gst/gstutils.c:
17172           doc fixes
17173
17174 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17175
17176         * docs/manual/advanced-autoplugging.xml:
17177           Fix autoplugging example.
17178
17179 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17180
17181         * docs/manual/advanced-autoplugging.xml:
17182         * docs/manual/mime-world.fig:
17183           Try to get autoplugging working, fix type detection. Fix text
17184           in hello-world image.
17185
17186 2005-06-29  Wim Taymans  <wim@fluendo.com>
17187
17188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17189         (gst_base_sink_change_state):
17190         Small debug line.
17191
17192         * gst/gstclock.h:
17193         map SIGNAL and BROADCAST to the right function.
17194
17195         * gst/gstobject.h:
17196         Remove redundant braces.
17197
17198         * gst/gstpad.c: (gst_pad_set_caps):
17199         Don't call setcaps function when reseting caps to NULL.
17200
17201         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17202         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17203         (gst_system_clock_id_unschedule):
17204         Use BROADCAST as this is what we do.
17205
17206 2005-06-29  Wim Taymans  <wim@fluendo.com>
17207
17208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17209         We are actually prerolling before commiting the state
17210         change. 
17211
17212 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17213
17214         * docs/manual/advanced-clocks.xml:
17215         * docs/manual/advanced-interfaces.xml:
17216         * docs/manual/advanced-metadata.xml:
17217         * docs/manual/advanced-position.xml:
17218         * docs/manual/advanced-schedulers.xml:
17219         * docs/manual/advanced-threads.xml:
17220         * docs/manual/appendix-porting.xml:
17221         * docs/manual/basics-bins.xml:
17222         * docs/manual/basics-bus.xml:
17223         * docs/manual/basics-elements.xml:
17224         * docs/manual/basics-helloworld.xml:
17225         * docs/manual/basics-pads.xml:
17226         * docs/manual/highlevel-components.xml:
17227         * docs/manual/manual.xml:
17228         * docs/manual/thread.fig:
17229           Update (until threads/scheduling) Application Development Manual;
17230           remove GstThread, add GstBus, add simple porting checklist, add
17231           documentation for tag writing, clocks, make all examples until this
17232           part compile and run.
17233         * examples/manual/Makefile.am:
17234           Update from changes to Application Development Manual; add bus
17235           example, remove thread example.
17236
17237 2005-06-28  Wim Taymans  <wim@fluendo.com>
17238
17239         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17240         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17241         (gst_bus_source_dispatch):
17242         Add debugging messages.
17243         Make internal methods static.
17244         Handle the case where the bus is flushed in the handler.
17245         
17246         * gst/gstelement.c: (gst_element_get_bus):
17247         Fix refcount in _get_bus();
17248
17249         * gst/gstpipeline.c: (gst_pipeline_change_state),
17250         (gst_pipeline_get_clock_func):
17251         Clock refcounting fixes.
17252         Handle the case where preroll timed out more gracefully.
17253         
17254         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17255         Clean up the internal thread in dispose. This is needed
17256         for subclasses that actually get disposed.
17257         
17258         * gst/schedulers/threadscheduler.c:
17259         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17260         (gst_thread_scheduler_dispose):
17261         Free thread pool in dispose.
17262
17263 2005-06-28  Andy Wingo  <wingo@pobox.com>
17264
17265         * tests/network-clock-utils.scm (debug, print-event): New utils.
17266
17267         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17268         (*packet-loss*): Unified loss probability.
17269         (network-time): Report out-of-band events.
17270
17271         * tests/plot-data: Add support for out-of-band events. Hack it
17272         into this script instead of passing it down the pipe; should fix
17273         this later.
17274
17275 2005-06-28  Wim Taymans  <wim@fluendo.com>
17276
17277         * docs/gst/gstreamer.types:
17278         * docs/gst/tmpl/gstbasesrc.sgml:
17279         * docs/gst/tmpl/gstpad.sgml:
17280         Docs fixes.
17281
17282 2005-06-28  Wim Taymans  <wim@fluendo.com>
17283
17284         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17285         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17286         (gst_proxy_pad_do_fixatecaps):
17287         Correctly proxy the check_pull_range function.
17288
17289 2005-06-28  Andy Wingo  <wingo@pobox.com>
17290
17291         * tests/network-clock.scm: Removed need for slib.
17292         
17293 2005-06-28  Wim Taymans  <wim@fluendo.com>
17294
17295         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17296         (gst_basesink_preroll_queue_flush):
17297         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17298         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17299         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17300         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17301         (gst_proxy_pad_set_property):
17302         * gst/gstpad.c:
17303         * gst/gstpad.h:
17304         * gst/gstqueue.c: (gst_queue_init):
17305         The deprecated pad loop function is removed now.
17306
17307 2005-06-28  Andy Wingo  <wingo@pobox.com>
17308
17309         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17310         New parameters, simulate network packet loss.
17311
17312         * tests/network-clock-utils.scm: Initialize the RNG.
17313
17314 2005-06-28  Wim Taymans  <wim@fluendo.com>
17315
17316         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17317         (gst_basesink_event), (gst_basesink_deactivate):
17318         Flushing the preroll queue always needs to unlock the waiters.
17319
17320 2005-06-28  Edward Hervey  <edward@fluendo.com>
17321
17322         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17323         Wheen a seek was successful on a pipeline, set the stream_time to the
17324         seek offset in order to have a synchronized stream_time.
17325
17326 2005-06-28  Wim Taymans  <wim@fluendo.com>
17327
17328         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17329         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17330         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17331         (gst_proxy_pad_do_fixatecaps):
17332         Call wrapper function instead of just calling the function
17333         pointers. This takes care of any locking and whatmore.
17334
17335 2005-06-28  Wim Taymans  <wim@fluendo.com>
17336
17337         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17338         (gst_pad_pull_range):
17339         * gst/gstpad.h:
17340         CONNECTED -> LINKED.
17341
17342 2005-06-28  Andy Wingo  <wingo@pobox.com>
17343
17344         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17345         source-munging commit!!!
17346
17347         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17348         (gst_object_sink): Take gpointer arguments, not GstObject --
17349         avoids casts. Like GLib.
17350
17351         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17352         activate.
17353
17354 2005-06-27  Andy Wingo  <wingo@pobox.com>
17355
17356         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17357         remaining buffer.
17358
17359         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17360         returns a sorted copy of the trace list.
17361         (gst_alloc_trace_print_live): New API, only prints traces with
17362         live objects. Sort the list.
17363         (gst_alloc_trace_print_all): Sort the list.
17364         (gst_alloc_trace_print): Align columns.
17365
17366         * gst/elements/gstttypefindelement.c:
17367         * gst/elements/gsttee.c:
17368         * gst/base/gstbasesrc.c:
17369         * gst/base/gstbasesink.c:
17370         * gst/base/gstbasetransform.c:
17371         * gst/gstqueue.c: Adapt for pad activation changes.
17372
17373         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17374         sched.
17375         (gst_pipeline_dispose): Drop ref on sched.
17376
17377         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17378         (gst_pad_activate_default): Push mode by default.
17379         (pre_activate_switch, post_activate_switch): New stubs, things to
17380         do before and after switching activation modes on pads.
17381         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17382         the pad's activate function to choose which mode to activate.
17383         Shortcut on deactivation and call the right function directly.
17384         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17385         mode.
17386         (gst_pad_activate_push): New API, same for push mode.
17387         (gst_pad_set_activate_function) 
17388         (gst_pad_set_activatepull_function) 
17389         (gst_pad_set_activatepush_function): Setters for new API.
17390
17391         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17392         Trace all miniobjects.
17393         (gst_mini_object_make_writable): Unref the arg if we copy, like
17394         gst_caps_make_writable.
17395
17396         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17397
17398         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17399         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17400         Adapt for new pad API.
17401
17402         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17403
17404         * gst/gstelement.h:
17405         * gst/gstelement.c (gst_element_iterate_src_pads) 
17406         (gst_element_iterate_sink_pads): New API functions.
17407         
17408         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17409         should fold into gstiterator.c in some form.
17410         (gst_element_pads_activate): Simplified via use of fold and
17411         delegation of decisions to gstpad->activate.
17412
17413         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17414         help in debugging.
17415
17416         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17417         class once in init, like gstmessage. Didn't run into this issue
17418         but it seems correct. Don't initialize a trace, gstminiobject does
17419         that.
17420
17421         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17422         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17423         to the bus.
17424         (assert_live_count): New util function, uses alloc traces to check
17425         cleanup.
17426
17427         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17428         To be modified when unlink drops the internal pad.
17429
17430 2005-06-27  Wim Taymans  <wim@fluendo.com>
17431
17432         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17433         (gst_bin_change_state):
17434         Cleanup the get_state() function a little, make sure it
17435         iterates the same set of elements.
17436         Added stub iterate_state_order().
17437
17438 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17439
17440         * docs/gst/gstreamer-docs.sgml:
17441         * docs/gst/gstreamer-sections.txt:
17442         * docs/gst/gstreamer.types:
17443         * docs/gst/tmpl/gstbasesink.sgml:
17444         * docs/gst/tmpl/gstbasesrc.sgml:
17445         * docs/gst/tmpl/gstbasetransform.sgml:
17446         * docs/gst/tmpl/gstelement.sgml:
17447         * docs/gst/tmpl/gstiterator.sgml:
17448         * gst/base/gstbasesrc.c:
17449         * gst/base/gstbasesrc.h:
17450         * gst/base/gstbasetransform.h:
17451         * gst/gstelement.c:
17452         * gst/gstiterator.h:
17453           adding basetransform and iterator docs
17454
17455 2005-06-27  Andy Wingo  <wingo@pobox.com>
17456
17457         * docs/design/part-activation.txt: Notes on how activation should
17458         work -- not quite implemented yet.
17459
17460 2005-06-25  Wim Taymans  <wim@fluendo.com>
17461
17462         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17463         At least get the chain function correct, needs more
17464         fixing.
17465
17466 2005-06-25  Wim Taymans  <wim@fluendo.com>
17467
17468         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17469         (gst_basesink_handle_object), (gst_basesink_event),
17470         (gst_basesink_do_sync), (gst_basesink_handle_event),
17471         (gst_basesink_change_state):
17472         * gst/gsttask.h:
17473         Right, two problems here: ghostpads don't take locks and
17474         glib _rec_mutex_lock_full() with depth==0 still locks.
17475         Catch illegal locking and g_warn them.
17476
17477 2005-06-25  Wim Taymans  <wim@fluendo.com>
17478
17479         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17480         Have to check for completion now...
17481
17482 2005-06-25  Wim Taymans  <wim@fluendo.com>
17483
17484         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17485         (gst_basesink_handle_object), (gst_basesink_event),
17486         (gst_basesink_do_sync), (gst_basesink_handle_event),
17487         (gst_basesink_change_state):
17488         * gst/gstpad.h:
17489         Unlock STREAM_LOCK whatever the recursion was.
17490
17491 2005-06-25  Wim Taymans  <wim@fluendo.com>
17492
17493         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17494         (gst_basesink_preroll_queue_empty),
17495         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17496         (gst_basesink_event), (gst_basesink_do_sync),
17497         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17498         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17499         (gst_basesink_change_state):
17500         Reworked the base sink, handle event and buffer serialisation
17501         correctly and removed possible deadlock.
17502         Handle EOS correctly.
17503
17504 2005-06-25  Wim Taymans  <wim@fluendo.com>
17505
17506         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17507         (gst_pipeline_change_state):
17508         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17509         Allow elements to post EOS in the state change function.
17510         Fix up -launch, make it exit the poll loop when the
17511         pipeline actually changed state.
17512         Fix up warning parsing in -launch.
17513
17514 2005-06-25  Wim Taymans  <wim@fluendo.com>
17515
17516         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17517         (gst_tee_sink_activate):
17518         Core takes STREAM_LOCK for us now.
17519
17520 2005-06-25  Wim Taymans  <wim@fluendo.com>
17521
17522         * gst/gstelement.c: (gst_element_get_state_func),
17523         (gst_element_set_state):
17524         * gst/gstelement.h:
17525         * gst/gstmessage.c: (gst_message_parse_error),
17526         (gst_message_parse_warning):
17527         Keep track of current target state while performing a state
17528         change so that subclasses can do something interesting.
17529         Fix parsing of warning/error messages when GError is NULL.
17530
17531 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17532
17533         * docs/gst/Makefile.am:
17534         * docs/gst/gstreamer-docs.sgml:
17535         * docs/gst/gstreamer-sections.txt:
17536         * docs/gst/gstreamer.types:
17537         * docs/gst/tmpl/gstbasesink.sgml:
17538         * docs/gst/tmpl/gstbasesrc.sgml:
17539         * docs/gst/tmpl/gstbin.sgml:
17540         * docs/gst/tmpl/gstcompat.sgml:
17541         * docs/gst/tmpl/gstfakesink.sgml:
17542         * docs/gst/tmpl/gstfakesrc.sgml:
17543         * docs/gst/tmpl/gstfilesink.sgml:
17544         * docs/gst/tmpl/gstfilesrc.sgml:
17545         * docs/gst/tmpl/gstindex.sgml:
17546         * docs/manual/appendix-quotes.xml:
17547         * gst/base/gstbasesrc.h:
17548         * gst/elements/gstfakesrc.h:
17549         * gst/gstmessage.h:
17550           start pulling in base classes and elements in our docs
17551
17552 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17553
17554         * docs/gst/Makefile.am:
17555         * docs/libs/Makefile.am:
17556           fixed make distcheck with gtk-doc 1.3
17557
17558 2005-06-23  Wim Taymans  <wim@fluendo.com>
17559
17560         * gst/gstelement.c: (gst_element_get_state_func),
17561         (gst_element_set_state), (gst_element_change_state):
17562         When the state did not change, also report NO_PREROLL
17563         when it matters.
17564
17565 2005-06-23  Wim Taymans  <wim@fluendo.com>
17566
17567         * gst/gstpad.c: (gst_pad_event_default):
17568         * gst/gstqueue.c: (gst_queue_loop):
17569         No unsafe task pausing please.
17570
17571 2005-06-23  Wim Taymans  <wim@fluendo.com>
17572
17573         * gst/schedulers/threadscheduler.c:
17574         (gst_thread_scheduler_task_start),
17575         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17576         Ref the task before pushing it on the threadpool. This
17577         makes sure that we have a ref when the threadfunction is
17578         actually called.
17579
17580 2005-06-23  Andy Wingo  <wingo@pobox.com>
17581
17582         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17583         offset is greater than the file's size.
17584
17585         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17586         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17587         * gst/gstobject.c (gst_object_class_init): Make the class lock
17588         recursive. Wim won't let me drop deep_notify. Decodebin works
17589         again, whoopdy doo.
17590
17591         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17592         internal pad, and hacks accordingly. Doesn't do it on the target
17593         pad because we change its caps. Probably catches all cases of
17594         interest tho.
17595         (gst_ghost_pad_set_property): Connect to notify::caps as
17596         appropritate.
17597
17598         * tests/network-clock.scm (plot-simulation): Pipe data to the
17599         elite python skript.
17600
17601         * tests/network-clock-utils.scm (define-parameter): New macro,
17602         defines a parameter that can be set via the command line.
17603         (set-parameter!, parse-parameter-arguments): Command line args
17604         parser.
17605
17606         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17607         stdin.
17608
17609 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17610
17611         * gst/elements/gsttypefindelement.c:
17612         (gst_type_find_element_handle_event):
17613           Don't restart typefinding on a discont.
17614         * gst/gstelement.c: (gst_element_set_state):
17615           Debug spelling fix.
17616         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17617           Allow changing mode of an active pad.
17618           Debug output fixes.
17619         * gst/registries/gstlibxmlregistry.c: (load_feature):
17620           Don't cast a static pad template to a normal pad template.
17621
17622 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17623
17624         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17625         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17626           remove gst_strtoll completely, since it didn't actually do
17627           anything more than what g_ascii_strtoull already does.
17628           check for range errors when deserializing
17629           do a cast for the unsigned cases; but further fixing needs
17630           a decision on what the interpretation of "(int)" and
17631           deserialization should be for values that fall outside the
17632           type's boundaries (ie, refuse, or interpret as casting)
17633
17634 2005-06-23  Wim Taymans  <wim@fluendo.com>
17635
17636         * check/Makefile.am:
17637         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17638         * docs/design/part-live-source.txt:
17639         * docs/design/part-states.txt:
17640         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17641         (gst_basesrc_set_live), (gst_basesrc_is_live),
17642         (gst_basesrc_get_range), (gst_basesrc_activate),
17643         (gst_basesrc_change_state):
17644         * gst/base/gstbasesrc.h:
17645         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17646         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17647         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17648         * gst/gstelement.c: (gst_element_get_state_func),
17649         (gst_element_set_state):
17650         * gst/gstelement.h:
17651         * gst/gsttypes.h:
17652         * tools/gst-launch.c: (event_loop), (main):
17653         Added support for live sources and other elements that
17654         cannot do preroll.
17655         Updated design docs, added live-source design doc.
17656         Implemented live source functionality in basesrc
17657         Fix error condition in _bin_get_state()
17658         Implement live source handling in -launch.
17659         Added check for live sources.
17660         Fixed case in GstBin where elements were changed state
17661         multiple times.
17662
17663
17664 2005-06-23  Andy Wingo  <wingo@pobox.com>
17665
17666         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17667         borken refcounting.
17668
17669         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17670         gst_caps_replace takes care of this for us.
17671
17672         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17673         gst_pad_set_caps on the target, not just its setcaps() function.
17674
17675         * tests/network-clock.scm: 
17676         * tests/network-clock-utils.scm: A network clock simulator.
17677         Something of an algorithmic testbed before doing something in C.
17678
17679 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17680
17681         * check/Makefile.am:
17682         * check/gst/capslist.h:
17683           copy over from 0.8, and add two with bitmasks specified with
17684           (int) 0xFF...
17685         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17686           add test to parse everything from capslist.h
17687         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17688         (main):
17689           add test for structure deserialization
17690         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17691           add tests for deserialization of strings to int types
17692         * gst/gststructure.c: (gst_structure_nth_field_name):
17693         * gst/gststructure.h:
17694           add a way to get the name of a field referenced by index
17695         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17696           instead of checking if the resulting long long lies between
17697           min and max, we check if the long long would fit into
17698           a number of bytes for the final type.
17699           This fixes cases where a string represents 2^32 - 1, which
17700           when cast to int would be the (valid) -1, but is bigger than
17701           G_MAXINT
17702
17703 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17704
17705         * gst/parse/grammar.y:
17706           add a log line for type deserialization
17707
17708 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17709
17710         * check/gst/gstvalue.c: (START_TEST):
17711         * gst/gstvalue.c: (gst_value_deserialize):
17712           return long long, not int, so gint64 deserialization actually
17713           works.  Is there any flag that makes the compiler check this ?
17714           Fixes #308559
17715
17716 2005-06-22  Wim Taymans  <wim@fluendo.com>
17717
17718         * gst/gstbuffer.h:
17719         Added convenience macros for setting buffers in GValue.
17720
17721 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17722
17723         * check/gst/.cvsignore:
17724         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17725           add a test deserializing int64, and comment part out because
17726           it fails, yay !
17727
17728 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17729
17730         * check/Makefile.am:
17731         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17732         * testsuite/Makefile.am:
17733         * testsuite/caps/Makefile.am:
17734         * testsuite/caps/value_serialize.c:
17735         * testsuite/test_gst_init.c:
17736           move a value_serialize test over
17737
17738 2005-06-20  Wim Taymans  <wim@fluendo.com>
17739
17740         * gst/gstpad.c:
17741         Small doc updates.
17742         
17743         * gst/gstvalue.c: (gst_value_compare_buffer),
17744         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17745         (gst_value_compare_flags), (gst_value_serialize_flags),
17746         (gst_value_deserialize_flags), (_gst_value_initialize):
17747         Fix serialisation of buffers, they are not boxed types anymore
17748
17749 2005-06-20  Wim Taymans  <wim@fluendo.com>
17750
17751         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17752         Testcase to show error in buffer-on-caps serialisation.
17753
17754 2005-06-20  Andy Wingo  <wingo@pobox.com>
17755
17756         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17757         will be adding to later.
17758
17759         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17760         if its socks fill with rocks.
17761         (gst_system_clock_obtain): Set the name on object construction.
17762         Avoid double-checked locking.
17763
17764 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17765
17766         * gst/gsturi.c: (gst_element_make_from_uri):
17767           Fix potential endless loop.
17768
17769 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17770
17771         * check/Makefile.am:
17772           add gsttag
17773         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17774         (main):
17775           move over from testsuite dir and clean up
17776         * configure.ac:
17777         * gst/gsttag.c:
17778         * testsuite/Makefile.am:
17779         * testsuite/tags/.cvsignore:
17780         * testsuite/tags/Makefile.am:
17781         * testsuite/tags/merge.c:
17782           remove testsuite/tags
17783
17784 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17785
17786         * docs/gst/gstreamer-sections.txt:
17787         * docs/gst/tmpl/gstenumtypes.sgml:
17788         * win32/gstenumtypes.c:
17789           clean up documentation build a little
17790
17791 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17792
17793         * check/gstcheck.h:
17794           add macros for checking refcounts on objects and caps
17795         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17796           add some more unit tests
17797         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17798         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17799           fix leaked refcounts (I hope :)) so unittest works
17800         * gst/gstpad.h:
17801           whitespace removal
17802
17803 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17804
17805         * configure.ac: back to HEAD
17806
17807 === release 0.9.1 ===
17808
17809 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17810
17811         * NEWS:
17812         * RELEASE:
17813           updated
17814
17815 2005-06-17  Andy Wingo  <wingo@pobox.com>
17816
17817         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17818         assert; it's always possible that the pad gets deactivated in
17819         between the checks in gstpad.c and the implementation. Rely on
17820         finish_preroll() to return a FLUSHING or similar instead of on the
17821         assert.
17822         
17823         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17824         clock and post an EOS message if we come out of finish_preroll in
17825         the playing state.
17826
17827 2005-06-16  David Schleef  <ds@schleef.org>
17828
17829         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17830         (gst_capsfilter_set_property): Allow NULL as possible value
17831         for filter_caps property, indicating GST_CAPS_ANY.
17832
17833 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17834
17835         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17836           fix debug output
17837         * gst/schedulers/Makefile.am:
17838           use libgst prefix
17839         * gstreamer.spec.in:
17840           fix spec for it
17841
17842 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17843
17844         * gstreamer.spec.in:
17845           clean up
17846
17847 2005-06-08  Andy Wingo  <wingo@pobox.com>
17848
17849         * gst/gstutils.c: RPAD fixes all around.
17850         (gst_element_link_pads): Refcounting fixes.
17851
17852         * tools/gst-inspect.c:
17853         * tools/gst-xmlinspect.c:
17854         * parse/grammar.y:
17855         * gst/base/gsttypefindhelper.c:
17856         * gst/base/gstbasesink.c:
17857         * gst/gstqueue.c: RPAD fixes.
17858
17859         * gst/gstghostpad.h:
17860         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17861         pads. The tricky thing is they provide both source and sink
17862         interfaces, since they proxy the internal pad for the external
17863         pad, and vice versa. Implement with lower-level ProxyPad objects,
17864         with the interior proxy pad as a child of the exterior ghost pad.
17865         Should write a doc on this.
17866         
17867         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17868         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17869         gst_object API.
17870         
17871         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17872         pads are real pads. No ghost pads in this file. Not documenting
17873         the myriad s/RPAD/PAD/ and REALIZE fixes.
17874         (gst_pad_class_init): Add properties for "direction" and
17875         "template". Both are construct-only, so they can't change during
17876         the life of the pad. Fixes properly deriving from GstPad.
17877         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17878         derived objects, just set properties when creating the objects via
17879         g_object_new.
17880         (gst_pad_get_parent): Implement as a function, return NULL if the
17881         parent is not an element.
17882         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17883         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17884         
17885         * gst/gstobject.c (gst_object_class_init): Make name a construct
17886         property. Don't set it in the object init.
17887
17888         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17889         with UNKNOWN direction.
17890         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17891         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17892         (gst_element_remove_pad): Remove ghost-pad special cases.
17893         (gst_element_pads_activate): Remove rpad cruft.
17894
17895         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17896         catch the pad's-parent-not-an-element case.
17897
17898         * gst/gst.h: Include gstghostpad.h.
17899
17900         * gst/gst.c (init_post): No more real, ghost pads.
17901
17902         * gst/Makefile.am: Add gstghostpad.[ch].
17903
17904         * check/Makefile.am:
17905         * check/gst/gstbin.c:
17906         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17907         into a bin creates ghost pads, and that the refcounts are right.
17908         Partly moved from gstbin.c.
17909
17910 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17911
17912         * check/gst-libs/.cvsignore:
17913         * check/gst/.cvsignore:
17914         * check/pipelines/.cvsignore:
17915           ignore more
17916         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17917         (START_TEST), (cleanup_suite), (main):
17918           add some tests related to cleanup after running pipelines
17919
17920 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17921
17922         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17923           add a testsuite for GstBuffer
17924
17925 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17926
17927         * gst/gstminiobject.h:
17928           add defines for accessing the refcount
17929
17930 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17931
17932         * Makefile.am: added support for html unit test coverage reports
17933
17934 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17935
17936         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17937           Free existing caps if the capsfilter changes. Add a FIXME about
17938           setting those caps on the pads.
17939
17940         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17941           Before adding a ghost pad to a parent bin, check that there isn't
17942           already one for the element on the bin. Prevents infinite recursion
17943           when using decodebin in parse pipelines. Andy says he'll rewrite the
17944           way this works anyway, so ignore the hack.
17945
17946 2005-06-02  Andy Wingo  <wingo@pobox.com>
17947
17948         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17949         file size, pass it on to the type find helper.
17950
17951         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17952         segment_start and segment_end properly according to the seek
17953         method. Segment_end is still a bit flaky because offset can be
17954         negative for CUR and END cases, but it takes -1 as an "unset"
17955         value.
17956
17957 2005-06-02  Wim Taymans  <wim@fluendo.com>
17958
17959         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17960         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17961         (gst_basesink_activate):
17962         * gst/base/gstbasesink.h:
17963         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17964         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17965         (gst_pad_query), (gst_pad_start_task):
17966         * gst/gstpad.h:
17967         * gst/gstqueue.c: (gst_queue_bufferalloc),
17968         (gst_queue_handle_sink_event), (gst_queue_chain):
17969         Bufferalloc: return GstFlowReturn to more accuratly report
17970         why allocation failed.
17971
17972 2005-06-02  Wim Taymans  <wim@fluendo.com>
17973
17974         * gst/gstpipeline.c: (gst_pipeline_send_event):
17975         Take snapshot of state without blocking.
17976
17977 2005-06-02  Wim Taymans  <wim@fluendo.com>
17978
17979         * docs/design/part-TODO.txt:
17980         * docs/design/part-caps.txt:
17981         * docs/design/part-clocks.txt:
17982         * docs/design/part-negotiation.txt:
17983         * docs/design/part-preroll.txt:
17984         Small doc updates 
17985
17986 2005-05-30  Wim Taymans  <wim@fluendo.com>
17987
17988         * gst/elements/gstidentity.c: (gst_identity_event),
17989         (gst_identity_transform), (gst_identity_get_property):
17990         Protect last_message property as it is accessed from
17991         multiple threads.
17992
17993 2005-05-30  Wim Taymans  <wim@fluendo.com>
17994
17995         * gst/gstelement.c: (gst_element_init),
17996         (gst_element_pads_activate), (gst_element_change_state):
17997         Slicker pad activation code.
17998
17999 2005-05-30  Wim Taymans  <wim@fluendo.com>
18000
18001         * gst/Makefile.am:
18002         * gst/gstelement.h:
18003         * gst/gstelementfactory.h:
18004         * gst/gsttypes.h:
18005         Move elementfactory methods to separate .h file.
18006
18007 2005-05-30  Wim Taymans  <wim@fluendo.com>
18008
18009         * docs/design/part-overview.txt:
18010         * gst/gstsystemclock.h:
18011         Small typo fixes, doc updates.
18012
18013 2005-05-30  Wim Taymans  <wim@fluendo.com>
18014
18015         * gst/gst.c: (gst_init_get_popt_table), (init_post),
18016         (init_popt_callback):
18017         Remove cpu-opt flag.
18018
18019 2005-05-30  Wim Taymans  <wim@fluendo.com>
18020
18021         * gst/gstbuffer.c: (gst_subbuffer_finalize),
18022         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18023         * gst/gstbuffer.h:
18024         Avoid typechecking in places where not needed.
18025         Added accessor for malloc_data.
18026
18027 2005-05-30  Wim Taymans  <wim@fluendo.com>
18028
18029         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18030         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18031         (gst_pad_configure_sink), (gst_pad_configure_src),
18032         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18033         (gst_pad_start_task):
18034         Propagate errors from _set_caps() in configure_src/sink
18035         functions instead of returning TRUE.
18036         FLUSH events can travel up and downstream
18037
18038
18039 2005-05-30  Wim Taymans  <wim@fluendo.com>
18040
18041         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18042         (gst_basesink_activate):
18043         Handle EOS in preroll.
18044
18045 2005-05-30  Wim Taymans  <wim@fluendo.com>
18046
18047         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18048         (gst_queue_loop), (gst_queue_handle_src_event):
18049         Remove old pieces of code
18050         Flushing the queue in an upstream event is a very bad idea.
18051
18052 2005-05-26  Andy Wingo  <wingo@pobox.com>
18053
18054         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18055         gst_value_set_mini_object so as to add a ref on the object (which
18056         will be removed when the value is unset).
18057
18058         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18059         arg type in ::handoff.
18060
18061         * gst/gstelement.c (gst_element_change_state): Also deactivate
18062         pads in READY->NULL, just in case the element didn't make it to
18063         PAUSED. Wingo tested, Wim approved.
18064
18065 2005-05-26  Wim Taymans  <wim@fluendo.com>
18066
18067         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18068         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18069         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18070         A flushing pad cannot be used to alloc_buffer from.
18071
18072 2005-05-26  Wim Taymans  <wim@fluendo.com>
18073
18074         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18075         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18076         (gst_bus_source_dispatch), (gst_bus_source_finalize),
18077         (gst_bus_create_watch), (gst_bus_add_watch_full):
18078         * gst/gstbus.h:
18079         Implement a real GSource and use g_main_context_wakeup() to
18080         signal new messages instead of the socketpair.
18081
18082 2005-05-25  Wim Taymans  <wim@fluendo.com>
18083
18084         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18085         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18086         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18087         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18088         (gst_pad_send_event), (gst_pad_start_task):
18089         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18090         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18091         (gst_queue_sink_activate), (gst_queue_src_activate),
18092         (gst_queue_change_state):
18093         * gst/gstqueue.h:
18094         Fix state changes for non sinks. We now change sinks, then elements
18095         with unconnected srcpads, then the rest.
18096         More efficient queue unlocking in flush and state changes.
18097         Set the pad activate mode even if it does not have an activate
18098         function.
18099
18100 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18101
18102         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18103           Don't go in pull mode for non-seekable sources.
18104         * gst/elements/gsttypefindelement.h:
18105         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18106         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18107         (free_entry), (stop_typefinding),
18108         (gst_type_find_element_handle_event), (find_peek),
18109         (gst_type_find_element_chain), (do_pull_typefind),
18110         (gst_type_find_element_change_state):
18111           Allow typefinding (w/o seeking) in push-mode, simplified version
18112           of what was in 0.8.
18113         * gst/gstutils.c: (gst_buffer_join):
18114         * gst/gstutils.h:
18115           gst_buffer_join() from 0.8.
18116
18117 2005-05-25  Wim Taymans  <wim@fluendo.com>
18118
18119         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18120         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18121         (gst_pad_send_event), (gst_pad_start_task):
18122         Disable attempt at mode switching until it is figured out.
18123
18124 2005-05-25  Wim Taymans  <wim@fluendo.com>
18125
18126         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18127         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18128         (gst_basesink_finish_preroll), (gst_basesink_chain),
18129         (gst_basesink_loop), (gst_basesink_activate),
18130         (gst_basesink_change_state):
18131         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18132         (gst_basesrc_get_range), (gst_basesrc_loop),
18133         (gst_basesrc_activate):
18134         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18135         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18136         (gst_real_pad_init), (gst_real_pad_set_property),
18137         (gst_real_pad_get_property), (gst_pad_set_active),
18138         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18139         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18140         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18141         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18142         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18143         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18144         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18145         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18146         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18147         (gst_pad_stop_task):
18148         * gst/gstpad.h:
18149         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18150         (gst_queue_loop), (gst_queue_src_activate):
18151         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18152         (gst_task_get_state):
18153         * gst/gsttask.h:
18154         * gst/schedulers/threadscheduler.c:
18155         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18156         Implement gst_pad_pause/start/stop_task(), take STREAM lock
18157         in task function.
18158         Remove ACTIVE pad flag, use FLUSHING everywhere
18159         Added _pad_chain(), _pad_get_range() to call chain/getrange 
18160         functions.
18161         Add locks around IS_FLUSHING when reading.
18162         Take STREAM lock in chain(), get_range() functions so plugins
18163         don't need to take it anymore.
18164         
18165
18166
18167 2005-05-25  Wim Taymans  <wim@fluendo.com>
18168
18169         * tools/gst-launch.c: (event_loop):
18170         Unref message after using its contents instead of
18171         before.
18172
18173 2005-05-24  Wim Taymans  <wim@fluendo.com>
18174
18175         * docs/design/draft-ghostpads.txt:
18176         * docs/design/draft-push-pull.txt:
18177         * docs/design/draft-query.txt:
18178         * docs/design/part-overview.txt:
18179         Docs updates, added general overview doc.
18180
18181 2005-05-21  David Schleef  <ds@schleef.org>
18182
18183         * docs/gst/tmpl/old/GstBin.sgml:
18184         * docs/gst/tmpl/old/GstBuffer.sgml:
18185         * docs/gst/tmpl/old/GstCaps.sgml:
18186         * docs/gst/tmpl/old/GstClock.sgml:
18187         * docs/gst/tmpl/old/GstCompat.sgml:
18188         * docs/gst/tmpl/old/GstData.sgml:
18189         * docs/gst/tmpl/old/GstElement.sgml:
18190         * docs/gst/tmpl/old/GstEvent.sgml:
18191         * docs/gst/tmpl/old/GstIndex.sgml:
18192         * docs/gst/tmpl/old/GstStructure.sgml:
18193         * docs/gst/tmpl/old/GstTag.sgml:
18194         * docs/gst/tmpl/old/cothreads.sgml:
18195         * docs/gst/tmpl/old/cothreads_compat.sgml:
18196         * docs/gst/tmpl/old/gettext.sgml:
18197         * docs/gst/tmpl/old/gobject2gtk.sgml:
18198         * docs/gst/tmpl/old/grammar.tab.sgml:
18199         * docs/gst/tmpl/old/gst-i18n-app.sgml:
18200         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18201         * docs/gst/tmpl/old/gst_private.sgml:
18202         * docs/gst/tmpl/old/gstaggregator.sgml:
18203         * docs/gst/tmpl/old/gstarch.sgml:
18204         * docs/gst/tmpl/old/gstatomic_impl.sgml:
18205         * docs/gst/tmpl/old/gstbufferstore.sgml:
18206         * docs/gst/tmpl/old/gstdata_private.sgml:
18207         * docs/gst/tmpl/old/gstdisksink.sgml:
18208         * docs/gst/tmpl/old/gstdisksrc.sgml:
18209         * docs/gst/tmpl/old/gstelementfactory.sgml:
18210         * docs/gst/tmpl/old/gstextratypes.sgml:
18211         * docs/gst/tmpl/old/gstfakesink.sgml:
18212         * docs/gst/tmpl/old/gstfakesrc.sgml:
18213         * docs/gst/tmpl/old/gstfdsink.sgml:
18214         * docs/gst/tmpl/old/gstfdsrc.sgml:
18215         * docs/gst/tmpl/old/gstfilesink.sgml:
18216         * docs/gst/tmpl/old/gstfilesrc.sgml:
18217         * docs/gst/tmpl/old/gsthttpsrc.sgml:
18218         * docs/gst/tmpl/old/gstidentity.sgml:
18219         * docs/gst/tmpl/old/gstindexfactory.sgml:
18220         * docs/gst/tmpl/old/gstmarshal.sgml:
18221         * docs/gst/tmpl/old/gstmd5sink.sgml:
18222         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18223         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18224         * docs/gst/tmpl/old/gstpadtemplate.sgml:
18225         * docs/gst/tmpl/old/gstpipefilter.sgml:
18226         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18227         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18228         * docs/gst/tmpl/old/gstshaper.sgml:
18229         * docs/gst/tmpl/old/gstspider.sgml:
18230         * docs/gst/tmpl/old/gstspideridentity.sgml:
18231         * docs/gst/tmpl/old/gststatistics.sgml:
18232         * docs/gst/tmpl/old/gsttee.sgml:
18233         * docs/gst/tmpl/old/gsttimecache.sgml:
18234         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18235         * docs/gst/tmpl/old/gstxmlregistry.sgml:
18236         * docs/gst/tmpl/old/gthread-cothreads.sgml:
18237         * docs/gst/tmpl/old/types.sgml:
18238           I didn't intend to add these or check them in.
18239
18240 2005-05-19  David Schleef  <ds@schleef.org>
18241
18242         * configure.ac: Use -no-common everywhere.  In a sane world, it
18243           would be the default in libtool, because without it, you can't
18244           build DLLs on Windows.
18245         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18246         * docs/gst/gstreamer-sections.txt:
18247         * docs/gst/tmpl/gstcpu.sgml:
18248         * docs/gst/tmpl/gstdata.sgml:
18249         * docs/gst/tmpl/gstthread.sgml:
18250
18251 2005-05-19  David Schleef  <ds@schleef.org>
18252
18253         * gst/gstminiobject.c: (gst_value_set_mini_object),
18254         (gst_value_take_mini_object), (gst_value_get_mini_object):
18255         * gst/gstminiobject.h: Add GValue set/get functions.
18256
18257 2005-05-19  Wim Taymans  <wim@fluendo.com>
18258
18259         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18260         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18261         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18262         * gst/gstbuffer.h:
18263         * gst/gstbus.c: (gst_bus_post):
18264         * gst/gstelement.c: (gst_element_get_random_pad):
18265         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18266         Make subbufer unref the parent in finalize.
18267         some more debugging info.
18268
18269
18270 2005-05-19  Wim Taymans  <wim@fluendo.com>
18271
18272         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18273         (gst_basesink_init), (gst_basesink_finalize),
18274         (gst_basesink_activate), (gst_basesink_change_state):
18275         Don't free preroll queue too early.
18276
18277 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18278
18279         * gst/Makefile.am:
18280         * gst/ROADMAP:
18281           Hi, I'm outdated. Please shoot me.
18282
18283 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18284
18285         * gst/gstpipeline.c: (gst_pipeline_send_event):
18286           Do not access variables after they have been deleted.
18287
18288 2005-05-19  Wim Taymans  <wim@fluendo.com>
18289
18290         * tools/gst-inspect.c: (print_plugin_features):
18291         A plugin feature does unfortunatly not use the
18292         object name yet...
18293
18294 2005-05-18  Wim Taymans  <wim@fluendo.com>
18295
18296         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18297         Port _span() functions to new subbuffers.
18298
18299 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18300
18301         * gst/gstbin.c: (gst_bin_add_func):
18302           Fix clock settery in bins when adding kids after the clock has
18303           been selected.
18304
18305 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18306
18307         * gst/elements/gstidentity.c: (gst_identity_class_init):
18308           Workaround until signals support GstMiniObject.
18309
18310 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18311
18312         * gst/gstbuffer.c:
18313         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18314
18315 2005-05-18  Wim Taymans  <wim@fluendo.com>
18316
18317         * gst/base/Makefile.am:
18318         * gst/base/gstadapter.c: (gst_adapter_base_init),
18319         (gst_adapter_class_init), (gst_adapter_init),
18320         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18321         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18322         (gst_adapter_flush), (gst_adapter_available),
18323         (gst_adapter_available_fast):
18324         * gst/base/gstadapter.h:
18325         Ported and added adapter to the base classes.
18326
18327 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18328
18329         * gst/gst.c:
18330         * gst/gstmessage.c:
18331           Make sure the class is reffed/unreffed once before threads can be
18332           used.  Fixes #304551.
18333
18334 2005-05-17  Wim Taymans  <wim@fluendo.com>
18335
18336         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18337         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18338         * gst/gstminiobject.c: (gst_mini_object_get_type),
18339         (gst_mini_object_free):
18340         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18341         (gst_pad_push), (gst_pad_push_event):
18342         * gst/gstqueue.c: (gst_queue_change_state):
18343         Don't queue buffers in basesink when we are flushing.
18344         Unref buffer when flushing in basesink.
18345         Flush queue when going to READY
18346         Unref buffer when _push() returns an error.
18347         Don't free MiniObject instance when refcount is incremented
18348         in _finalize() so that we can recover objects.
18349
18350 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18351
18352         * docs/manual/advanced-schedulers.xml:
18353         * docs/manual/appendix-checklist.xml:
18354         * docs/pwg/advanced-clock.xml:
18355         * docs/pwg/advanced-interfaces.xml:
18356         * docs/pwg/advanced-request.xml:
18357         * docs/pwg/advanced-types.xml:
18358         * docs/pwg/intro-preface.xml:
18359         * examples/plugins/example.c: (gst_example_get_type),
18360         (gst_example_class_init), (gst_example_chain),
18361         (gst_example_set_property), (gst_example_get_property),
18362         (gst_example_change_state), (plugin_init):
18363         * examples/plugins/example.h:
18364           small doc fixes
18365
18366 2005-05-17  Wim Taymans  <wim@fluendo.com>
18367
18368         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18369         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18370         * gst/gstqueue.c: (gst_queue_change_state):
18371         Clear queue when going to READY.
18372         Remove IN_SETCAPS flag too.
18373
18374 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18375
18376         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18377           Remove implicit cast from gboolean to GstElementStateReturn;
18378           make sure we still return failure in paused => ready case if
18379           the parent class fails to change state and our own stop 
18380           vfunc succeeds.
18381
18382 2005-05-17  Wim Taymans  <wim@fluendo.com>
18383
18384         * tools/gst-launch.c: (event_loop):
18385         Message was unreffed too soon.
18386
18387 2005-05-16  Andy Wingo  <wingo@pobox.com>
18388
18389         * gst/gstbin.c (sink_iterator_filter): Err... um...
18390
18391         * check/gst/gstbin.c (test_ghost_pads): New test for the
18392         ghosting-if-elements-not-in-same-bin behavior.
18393
18394 2005-05-16  David Schleef  <ds@schleef.org>
18395
18396         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18397         accessing refcount directly.
18398
18399 2005-05-15  David Schleef  <ds@schleef.org>
18400
18401         * check/Makefile.am: remove GstData checks
18402         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18403         * gst/Makefile.am: add miniobject, remove data
18404         * gst/gst.h: add miniobject, remove data
18405         * gst/gstdata.c: remove
18406         * gst/gstdata.h: remove
18407         * gst/gstdata_private.h: remove
18408         * gst/gsttypes.h: remove GstEvent and GstMessage
18409         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18410         * gst/gstmarshal.list: change BOXED -> OBJECT
18411
18412         Implement GstMiniObject.
18413         * gst/gstminiobject.c:
18414         * gst/gstminiobject.h:
18415
18416         Modify to be subclasses of GstMiniObject.
18417         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18418         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18419         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18420         (gst_subbuffer_get_type), (gst_subbuffer_init),
18421         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18422         (gst_buffer_span):
18423         * gst/gstbuffer.h:
18424         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18425         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18426         (_gst_event_copy), (gst_event_new):
18427         * gst/gstevent.h:
18428         * gst/gstmessage.c: (_gst_message_initialize),
18429         (gst_message_get_type), (gst_message_class_init),
18430         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18431         (gst_message_new), (gst_message_new_error),
18432         (gst_message_new_warning), (gst_message_new_tag),
18433         (gst_message_new_state_changed), (gst_message_new_application):
18434         * gst/gstmessage.h:
18435         * gst/gstprobe.c: (gst_probe_perform),
18436         (gst_probe_dispatcher_dispatch):
18437         * gst/gstprobe.h:
18438         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18439         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18440         (_gst_query_copy), (gst_query_new):
18441
18442         Update elements for GstData -> GstMiniObject changes
18443         * gst/gstquery.h:
18444         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18445         (gst_queue_chain), (gst_queue_loop):
18446         * gst/elements/gstbufferstore.c:
18447         (gst_buffer_store_add_buffer_func),
18448         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18449         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18450         (gst_fakesink_render):
18451         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18452         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18453         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18454         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18455         (gst_filesrc_create_read):
18456         * gst/elements/gstidentity.c: (gst_identity_class_init):
18457         * gst/elements/gsttypefindelement.c:
18458         (gst_type_find_element_src_event), (free_entry_buffers),
18459         (gst_type_find_element_handle_event):
18460         * libs/gst/dataprotocol/dataprotocol.c:
18461         (gst_dp_header_from_buffer):
18462         * libs/gst/dataprotocol/dataprotocol.h:
18463         * libs/gst/dataprotocol/dp-private.h:
18464
18465 2005-05-15  David Schleef  <ds@schleef.org>
18466
18467         * gst/elements/gstelements.c: Don't include headers that were
18468         just removed.
18469
18470 2005-05-15  David Schleef  <ds@schleef.org>
18471
18472         * gst/elements/Makefile.am: Remove some elements that don't
18473         need to be in the core (or even exist at all).
18474         * gst/elements/gstaggregator.c:
18475         * gst/elements/gstaggregator.h:
18476         * gst/elements/gstmd5sink.c:
18477         * gst/elements/gstmd5sink.h:
18478         * gst/elements/gstmultifilesrc.c:
18479         * gst/elements/gstmultifilesrc.h:
18480         * gst/elements/gstpipefilter.c:
18481         * gst/elements/gstpipefilter.h:
18482         * gst/elements/gstshaper.c:
18483         * gst/elements/gstshaper.h:
18484         * gst/elements/gststatistics.c:
18485         * gst/elements/gststatistics.h:
18486         * po/POTFILES.in: Remove above files.
18487
18488 2005-05-14  Andy Wingo  <wingo@pobox.com>
18489
18490         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18491         so as to get the refs right.
18492         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18493         unreffing objects that don't pass the filter.
18494
18495         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18496         gst_element_set_bus.
18497         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18498         normal cases, this will destroy the bus.
18499
18500         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18501         object.
18502
18503         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18504         has no sinks.
18505
18506 2005-05-13  Andy Wingo  <wingo@pobox.com>
18507
18508         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18509         gst_pad_link, call pad_link_maybe_ghosting,
18510         (pad_link_maybe_ghosting): Links pads, making sure that the
18511         elements being linked are in the same bin.
18512         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18513         Helpers for pad_link_maybe_ghosting.
18514
18515 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18516
18517         * configure.ac:
18518           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18519
18520 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18521
18522         * docs/design/part-element-source.txt:
18523           Mention GstPushSrc
18524
18525 2005-05-12  Wim Taymans  <wim@fluendo.com>
18526
18527         * gst/base/gstbasesink.c: (gst_basesink_init),
18528         (gst_basesink_activate):
18529         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18530         (gst_basesrc_is_seekable):
18531         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18532         (bin_element_is_sink), (gst_bin_change_state):
18533         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18534         * gst/gstelement.h:
18535         Identify sinks by their flag to avoid overly complicated
18536         checks (fow now).
18537         Do state changes even for elements not reachable from the
18538         sinks.
18539         BaseSink is a sink now :)
18540         Some more debugging info in the basesrc.
18541
18542
18543 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18544
18545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18546           Implement _query on a bin, similar to _send_event.
18547
18548 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18549
18550         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18551           Discont event offset format should be GST_FORMAT_BYTES,
18552           not GST_FORMAT_TIME.
18553
18554 2005-05-12  Wim Taymans  <wim@fluendo.com>
18555
18556         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18557         Same fix as Ronald's but without the signal. 
18558
18559 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18560
18561         * gst/gstutils.c: (gst_element_query_position):
18562           No, an element is not a pad.
18563
18564 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18565
18566         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18567         (gst_bin_get_state):
18568           If a child is removed from a bin while we remove the child from
18569           the bin and while we're retrieving its state, signal this to the
18570           get_state function so we abort the wait (instead of waiting for
18571           a timeout) and can immediately re-iterate over all other elements.
18572
18573 2005-05-12  Wim Taymans  <wim@fluendo.com>
18574
18575         * gst/base/Makefile.am:
18576         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18577         (gst_basesrc_start):
18578         * gst/base/gstbasesrc.h:
18579         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18580         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18581         (gst_pushsrc_init), (gst_pushsrc_create):
18582         * gst/base/gstpushsrc.h:
18583         Added is_seekable to BaseSrc
18584         Added simple PushSrc.
18585
18586 2005-05-11  Wim Taymans  <wim@fluendo.com>
18587
18588         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18589         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18590         (gst_element_link_pads), (gst_element_query_position),
18591         (gst_element_query_convert), (intersect_caps_func),
18592         (gst_pad_query_position), (gst_pad_query_convert):
18593         Fix refcounting in utils function.
18594         No point in trying to activate a pad when it's added, it could
18595         be added from the state change function and then we deadlock, the
18596         element has to decide what to do.
18597
18598 2005-05-10  Andy Wingo  <wingo@pobox.com>
18599
18600         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18601         *all* the arguments.
18602
18603         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18604         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18605         lock (according to the docs -- if this is wrong change the docs).
18606
18607         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18608         flush messages in the NULL state.
18609
18610         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18611         message immediately and return.
18612         (gst_bus_set_flushing): New function. If a bus is flushing, it
18613         flushes out any queued messages and immediately unrefs new
18614         messages. This is so when an element goes to NULL, all of the
18615         unhandled messages coming from it can be freed, and their
18616         references to the element dropped. In other words: message source
18617         ref considered harmful :P
18618
18619         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18620         we're finished with it.
18621
18622         * gst/gstmessage.c (gst_message_new_state_changed): 
18623
18624 2005-05-10  Wim Taymans  <wim@fluendo.com>
18625
18626         * gst/gstvalue.c: (gst_value_compare_flags),
18627         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18628         (_gst_value_initialize):
18629         Added flags serialize/deserialize/compare code.
18630
18631 2005-05-09  Andy Wingo  <wingo@pobox.com>
18632
18633         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18634         Intersect the peer's caps with our caps.
18635
18636 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18637
18638         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18639         * gst/elements/gsttypefindelement.c: (find_peek):
18640           Handle negative offsets better. Fixes decodebin.
18641
18642 2005-05-09  Wim Taymans  <wim@fluendo.com>
18643
18644         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18645         (gst_base_transform_event):
18646         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18647         Implement accept_caps.
18648         Fix silly lock/unlock mismatch in base class.
18649
18650 2005-05-09  Wim Taymans  <wim@fluendo.com>
18651
18652         * docs/design/draft-push-pull.txt:
18653         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18654         * gst/elements/gstfilesink.c: (gst_filesink_init),
18655         (gst_filesink_query):
18656         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18657         (gst_type_find_handle_src_query), (find_element_get_length):
18658         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18659         * gst/gstelement.h:
18660         * gst/gstmessage.c:
18661         * gst/gstmessage.h:
18662         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18663         (gst_real_pad_get_caps_unlocked),
18664         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18665         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18666         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18667         (gst_real_pad_dispose), (gst_real_pad_finalize),
18668         (gst_pad_load_and_link), (gst_pad_save_thyself),
18669         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18670         (gst_pad_check_pull_range), (gst_pad_pull_range),
18671         (gst_pad_template_get_type), (gst_pad_template_class_init),
18672         (gst_pad_template_init), (gst_pad_template_dispose),
18673         (name_is_valid), (gst_static_pad_template_get),
18674         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18675         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18676         (gst_pad_get_element_private), (gst_pad_start_task),
18677         (gst_pad_pause_task), (gst_pad_stop_task),
18678         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18679         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18680         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18681         (gst_ghost_pad_new):
18682         * gst/gstpad.h:
18683         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18684         (gst_query_new_position), (gst_query_set_position),
18685         (gst_query_parse_position), (gst_query_new_convert),
18686         (gst_query_set_convert), (gst_query_parse_convert):
18687         * gst/gstquery.h:
18688         * gst/gstqueryutils.c:
18689         * gst/gstqueryutils.h:
18690         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18691         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18692         (gst_queue_handle_src_query):
18693         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18694         (gst_element_query_position), (gst_element_query_convert),
18695         (intersect_caps_func), (gst_pad_query_position),
18696         (gst_pad_query_convert):
18697         * gst/gstutils.h:
18698         * tools/gst-inspect.c: (print_pad_info):
18699         * tools/gst-xmlinspect.c: (print_element_info):
18700         Remove old query functions. Ported old code.
18701         Added position/convert helper functions to gstutils.
18702         Reordered gstpad.c code, grouping relevant things.
18703         Remove gst_message_new(), always need to speficy a specific
18704         message.
18705
18706
18707 2005-05-09  Andy Wingo  <wingo@pobox.com>
18708
18709         * gst/gstiterator.h: Add some includes.
18710
18711         * gst/gstqueryutils.h: Include more headers.
18712
18713         * gst/gstpad.h:
18714         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18715         some uses of gst_pad_query.
18716
18717         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18718         NULL out parameters.
18719         (gst_query_new_position): New proc, allocates a new position
18720         query.
18721
18722         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18723         gstqueryutils.c to the build.
18724
18725         * gst/gststructure.c (gst_structure_set_valist): Implement with
18726         the generic G_VALUE_COLLECT.
18727         
18728 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18729
18730         * gst/Makefile.am: (gst_headers):
18731         Added gstqueryutils.h to the list of headers to install, that was
18732         a 'nachty' move wingo :)
18733
18734 2005-05-06  Andy Wingo  <wingo@pobox.com>
18735
18736         * gst/gstquery.h
18737         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18738         GstData, init a memchunk.
18739         (standard_definitions): Add a few query types, deprecate a few.
18740         (gst_query_get_type): New proc.
18741         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18742         implementation.
18743         (gst_query_new_application, gst_query_get_structure): New public
18744         procs.
18745
18746         * docs/design/draft-query.txt: Removed LINKS from the query types,
18747         because all the rest can be dispatched to other pads -- seemed
18748         ugly to have a query that couldn't be dispatched. internal_links
18749         is fine as a pad method.
18750
18751         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18752         in gstpad.c, but maintain binary compatibility for the moment.
18753         Will fix before 0.9 is out.
18754
18755         * gst/gstqueryutils.c: 
18756         * gst/gstqueryutils.h: New files, implement 3 methods for each
18757         query type: parse_query, parse_response, and set. Probably need an
18758         allocator as well.
18759
18760         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18761
18762         * gst/elements/gstfilesink.c (gst_filesink_query2):
18763         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18764         query_types, and formats methods.
18765
18766         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18767         (gst_pad_set_query2_function): New functions.
18768         (gst_real_pad_init): Set query2_default as the default query2
18769         function. Basically just dispatches to internally linked pads.
18770
18771         Needs review!
18772         
18773         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18774         without using the atomic operations. Only one thread can possibly
18775         be accessing the data at this point. Changed so as to avoid
18776         gst_atomic operations.
18777
18778 2005-05-06  Wim Taymans  <wim@fluendo.com>
18779
18780         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18781         Also set caps if we use the fallback buffer alloc.
18782
18783 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18784
18785         * docs/gst/Makefile.am:
18786         * docs/gst/gstreamer-docs.sgml:
18787         * docs/gst/gstreamer-sections.txt:
18788         * docs/gst/tmpl/gstatomic.sgml:
18789         * docs/gst/tmpl/gstmemchunk.sgml:
18790         * testsuite/elements/struct_i386.h:
18791         * win32/GStreamer.vcproj:
18792         * win32/Makefile:
18793           Purge GstAtomic stuff from docs and win32 makefiles as well
18794
18795 2005-05-06  Wim Taymans  <wim@fluendo.com>
18796
18797         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18798         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18799         * gst/gstpad.c: (gst_pad_peer_get_caps):
18800         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18801         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18802         (gst_queue_src_activate), (gst_queue_change_state):
18803         * gst/gstqueue.h:
18804         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18805         (intersect_caps_func):
18806         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18807         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18808         Some fixes for the peer_get_caps() change.
18809
18810 2005-05-06  Wim Taymans  <wim@fluendo.com>
18811
18812         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18813         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18814         (gst_basesink_activate):
18815         Actually do something with error codes returned from the push
18816         functions.
18817
18818 2005-05-06  Wim Taymans  <wim@fluendo.com>
18819
18820         * docs/design/part-element-sink.txt:
18821         * docs/design/part-element-source.txt:
18822         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18823         (gst_basesink_event), (gst_basesink_activate):
18824         * gst/base/gstbasesink.h:
18825         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18826         (gst_basesrc_activate):
18827         * gst/base/gstbasesrc.h:
18828         * gst/gstelement.c: (gst_element_pads_activate):
18829         Some more documentation.
18830         Fixed scheduling decision in _pads_activate().
18831
18832 2005-05-05  Andy Wingo  <wingo@pobox.com>
18833
18834         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18835         the test suite.
18836
18837 2005-05-05  Wim Taymans  <wim@fluendo.com>
18838
18839         * gst/base/Makefile.am:
18840         * gst/base/gstbasesink.h:
18841         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18842         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18843         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18844         (gst_collectpads_class_init), (gst_collectpads_init),
18845         (gst_collectpads_finalize), (gst_collectpads_new),
18846         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18847         (find_pad), (gst_collectpads_remove_pad),
18848         (gst_collectpads_is_active), (gst_collectpads_collect),
18849         (gst_collectpads_collect_range), (gst_collectpads_start),
18850         (gst_collectpads_stop), (gst_collectpads_peek),
18851         (gst_collectpads_pop), (gst_collectpads_available),
18852         (gst_collectpads_read), (gst_collectpads_flush),
18853         (gst_collectpads_chain):
18854         * gst/base/gstcollectpads.h:
18855         * gst/elements/Makefile.am:
18856         * gst/elements/gstelements.c:
18857         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18858         (gst_fakesink_get_times), (gst_fakesink_event),
18859         (gst_fakesink_preroll), (gst_fakesink_render):
18860         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18861         (gst_filesink_init), (gst_filesink_set_location),
18862         (gst_filesink_open_file), (gst_filesink_close_file),
18863         (gst_filesink_pad_query), (gst_filesink_event),
18864         (gst_filesink_render), (gst_filesink_change_state):
18865         * gst/elements/gstfilesink.h:
18866         Added object to help in making collect pad based elements.
18867         Ported filesink.
18868         Make event function in sink baseclass return gboolean.
18869
18870 2005-05-05  Wim Taymans  <wim@fluendo.com>
18871
18872         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18873         (gst_bin_get_by_name):
18874         * gst/gstbuffer.h:
18875         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18876         (gst_clock_finalize):
18877         * gst/gstdata.c: (gst_data_replace):
18878         * gst/gstdata.h:
18879         * gst/gstelement.c: (gst_element_request_pad),
18880         (gst_element_pads_activate):
18881         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18882         (gst_object_unref):
18883         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18884         (gst_pad_set_checkgetrange_function),
18885         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18886         (gst_pad_check_pull_range), (gst_pad_pull_range),
18887         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18888         (gst_pad_pause_task), (gst_pad_stop_task):
18889         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18890         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18891         Fix name lookup in GstBin.
18892         Added _data_replace() function and _buffer_replace()
18893         Use finalize method to clean up clock.
18894         Fix refcounting on request pads.
18895         Fix pad schedule mode error.
18896         Some more object refcounting debug info,
18897
18898
18899 2005-05-04  Andy Wingo <wingo@pobox.com>
18900
18901         * check/Makefile.am:
18902         * docs/gst/tmpl/gstatomic.sgml:
18903         * docs/gst/tmpl/gstplugin.sgml:
18904         * gst/base/gstbasesink.c: (gst_basesink_activate):
18905         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18906         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18907         (gst_basesrc_query), (gst_basesrc_set_property),
18908         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18909         (gst_basesrc_activate):
18910         * gst/base/gstbasesrc.h:
18911         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18912         (gst_base_transform_src_activate):
18913         * gst/elements/gstelements.c:
18914         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18915         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18916         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18917         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18918         (gst_type_find_element_checkgetrange),
18919         (gst_type_find_element_activate):
18920         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18921         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18922         (gst_caps_load_thyself):
18923         * gst/gstelement.c: (gst_element_pads_activate),
18924         (gst_element_save_thyself), (gst_element_restore_thyself):
18925         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18926         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18927         * gst/gstpad.h:
18928         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18929         (gst_xml_parse_file), (gst_xml_parse_memory),
18930         (gst_xml_get_element), (gst_xml_make_element):
18931         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18932         (_file_index_id_save_xml), (gst_file_index_commit):
18933         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18934         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18935         (load_paths):
18936         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18937         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18938         * tools/gst-complete.c: (main):
18939         * tools/gst-compprep.c: (main):
18940         * tools/gst-inspect.c: (print_element_properties_info):
18941         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18942         * tools/gst-xmlinspect.c: (print_element_properties):
18943         GCC 4 fixen.
18944         
18945 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18946
18947         * gst/gstplugin.c: (gst_plugin_check_module),
18948         (gst_plugin_check_file), (gst_plugin_load_file):
18949             apply patch from #172526 to make register work on MacOSX
18950
18951 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18952
18953         * docs/gst/tmpl/gstconfig.sgml:
18954         * gst/gstconfig.h.in:
18955           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18956         * testsuite/debug/printf_extension.c: (main):
18957           Do not use GST_PTR_FORMAT on pointers to types with
18958           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18959         * testsuite/elements/property.h:
18960           use correct printf format
18961
18962 2005-05-02  Wim Taymans  <wim@fluendo.com>
18963
18964         * docs/design/draft-push-pull.txt:
18965         * docs/design/draft-query.txt:
18966         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18967         (gst_basesrc_start):
18968         Added draft for new query API.
18969         Added draft for better selecting scheduling methods.
18970         Make basesrc ignore length if the subclass does not support
18971         it.
18972
18973 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18974
18975         * gst/Makefile.am:
18976           possible fixes for automake-1.5 - _LIBADD is reserved
18977
18978 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18979
18980         * docs/faq/Makefile.am:
18981         * docs/manual/Makefile.am:
18982         * docs/manuals.mak:
18983         * docs/pwg/Makefile.am:
18984         * gst/Makefile.am:
18985           possible fixes for automake-1.5
18986
18987 2005-04-28  Wim Taymans  <wim@fluendo.com>
18988
18989         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18990         (gst_basesink_pad_getcaps), (gst_basesink_init),
18991         (gst_basesink_do_sync):
18992         * gst/gstclock.c: (gst_clock_entry_new):
18993         * gst/gstevent.c: (gst_event_discont_get_value):
18994         * gst/gstpipeline.c: (pipeline_bus_handler),
18995         (gst_pipeline_change_state):
18996         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18997         Better debugging of clocking info.
18998         Allow NULL values when getting discont values.
18999
19000 2005-04-27  Wim Taymans  <wim@fluendo.com>
19001
19002         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19003         * check/gst/gstpad.c: (gst_pad_suite):
19004         Increase timeout for checks.
19005
19006 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19007
19008         * check/Makefile.am:
19009           fix the broken rule for cleanup.  Apparently this rule is
19010           only needed on FC2, so maybe this warrants further autotool
19011           inspection.
19012
19013 2005-04-26  Wim Taymans  <wim@fluendo.com>
19014
19015         * gst/gsttrashstack.h:
19016         Ooohh. a nasty one! After having a failed pop() from the stack,
19017         it's possible that the stack is empty. In that case, don't
19018         follow the NULL pointer.
19019
19020 2005-04-25  Wim Taymans  <wim@fluendo.com>
19021
19022         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19023         (gst_pad_set_checkgetrange_function),
19024         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19025         (gst_pad_check_pull_range), (gst_pad_pull_range),
19026         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19027         (gst_pad_pause_task), (gst_pad_stop_task):
19028         * gst/gstplugin.c: (gst_plugin_load):
19029         * gst/gstplugin.h:
19030         Remove gst_library_load as it does more harm than good with
19031         the new g_module flags.
19032         Revert bogus caps template check in pad linking, pad caps
19033         are important when linking not the template, which is more
19034         general than the current caps.
19035
19036 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19037
19038         * gst/autoplug/.cvsignore:
19039         * gst/autoplug/Makefile.am:
19040         * gst/autoplug/gstsearchfuncs.c:
19041         * gst/autoplug/gstsearchfuncs.h:
19042         * gst/autoplug/gstspider.c:
19043         * gst/autoplug/gstspider.h:
19044         * gst/autoplug/gstspideridentity.c:
19045         * gst/autoplug/gstspideridentity.h:
19046         * gst/autoplug/spidertest.c:
19047           Die, spider, die.
19048
19049 2005-04-25  Wim Taymans  <wim@fluendo.com>
19050
19051         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19052         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19053         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19054         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19055         * gst/gstpad.h:
19056         Added stubs for unimplemented functions. 
19057
19058 2005-04-24  David Schleef  <ds@schleef.org>
19059
19060         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
19061         please fix.
19062
19063 2005-04-24  David Schleef  <ds@schleef.org>
19064
19065         Convert everything from GstAtomicInt to g_atomic_int_*, and
19066         remove gstatomic.
19067         * gst/Makefile.am:
19068         * gst/gstatomic.c:
19069         * gst/gstatomic.h:
19070         * gst/gstatomic_impl.h:
19071         * gst/gstbuffer.c:
19072         * gst/gstcaps.c:
19073         * gst/gstcaps.h:
19074         * gst/gstclock.c:
19075         * gst/gstclock.h:
19076         * gst/gstdata.c:
19077         * gst/gstdata.h:
19078         * gst/gstdata_private.h:
19079         * gst/gstevent.c:
19080         * gst/gstinfo.c:
19081         * gst/gstinfo.h:
19082         * gst/gstmessage.c:
19083         * gst/gstobject.c:
19084         * gst/gstobject.h:
19085         * gst/gststructure.c:
19086         * gst/gststructure.h:
19087         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19088         * gst/gstutils.h:
19089
19090 2005-04-24  David Schleef  <ds@schleef.org>
19091
19092         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19093         make the regressions tests work.  Remove some code that is no
19094         longer true.
19095         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19096         Disable warning for pads without templates.
19097
19098 2005-04-24  David Schleef  <ds@schleef.org>
19099
19100         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
19101         functions that handle filtered links.
19102         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19103         removed functions.
19104         * gst/gstutils.c: Fix/remove utility functions that handle
19105         filtered caps.
19106         * gst/gstutils.h:
19107         * gst/gstvalue.c: Add serialization/deserialization of caps
19108         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
19109         requires fixing so that the filter caps notation creates
19110         a capsfilter element and sets the filter_caps property.  I
19111         think everyone probably wants to keep the shorthand notation.
19112         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19113         * docs/gst/tmpl/gstpad.sgml:
19114
19115         * gst/elements/gstelements.c: Register capsfilter element.
19116         * gst/Makefile.am: fix spacing
19117         * docs/random/ds/0.9-suggested-changes: random
19118
19119 2005-04-23  David Schleef  <ds@schleef.org>
19120
19121         * gst/elements/Makefile.am:
19122         * gst/elements/gstcapsfilter.c: New element that acts like an
19123         identity, but filters caps.  Will eventually replace filtered
19124         caps in pad linking.
19125         * gst/gstutils.c: (gst_element_create_all_pads): New function
19126         to create all the ALWAYS pads that are registered with an
19127         element class.  This functionality should eventually be
19128         merged in with GstElement initialization.
19129         * gst/gstutils.h:
19130         * testsuite/trigger/README: part of trigger test code that should
19131         have been checked in a long time ago.
19132
19133 2005-04-23  David Schleef  <ds@schleef.org>
19134
19135         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
19136         needed with new versions of libtool (nobody will confirm this),
19137         and hard to carry around.
19138         * gst/autoplug/Makefile.am:
19139         * gst/base/Makefile.am:
19140         * gst/elements/Makefile.am:
19141         * gst/indexers/Makefile.am:
19142         * gst/schedulers/Makefile.am:
19143         * libs/gst/bytestream/Makefile.am:
19144         * libs/gst/control/Makefile.am:
19145         * libs/gst/dataprotocol/Makefile.am:
19146         * libs/gst/getbits/Makefile.am:
19147
19148 2005-04-21  Wim Taymans  <wim@fluendo.com>
19149
19150         * docs/design/draft-push-pull.txt:
19151         * docs/design/part-MT-refcounting.txt:
19152         * docs/design/part-TODO.txt:
19153         * docs/design/part-caps.txt:
19154         * docs/design/part-events.txt:
19155         * docs/design/part-gstbus.txt:
19156         * docs/design/part-gstpipeline.txt:
19157         * docs/design/part-messages.txt:
19158         * docs/design/part-push-pull.txt:
19159         * docs/design/part-query.txt:
19160         Some more docs.
19161
19162 2005-04-21  Wim Taymans  <wim@fluendo.com>
19163
19164         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19165         (gst_message_new), (gst_message_new_error),
19166         (gst_message_new_warning), (gst_message_new_tag),
19167         (gst_message_new_state_changed), (gst_message_new_application),
19168         (gst_message_get_structure):
19169         * gst/gstmessage.h:
19170         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19171         (gst_structure_copy_conditional):
19172         Use parent refcount in GstMessage to ensure GstStructure
19173         consistency.
19174         Cleaned up headers a bit.
19175         
19176
19177 2005-04-20  Wim Taymans  <wim@fluendo.com>
19178
19179         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19180         (gst_basesink_pad_getcaps), (gst_basesink_init),
19181         (gst_basesink_chain_unlocked):
19182         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19183         (gst_type_find_helper):
19184         * gst/elements/gsttypefindelement.c:
19185         (gst_type_find_element_have_type), (gst_type_find_element_init),
19186         (stop_typefinding), (gst_type_find_element_handle_event),
19187         (find_suggest), (gst_type_find_element_chain),
19188         (gst_type_find_element_checkgetrange),
19189         (gst_type_find_element_getrange), (do_typefind),
19190         (gst_type_find_element_activate):
19191         * gst/gstbuffer.c: (_gst_buffer_sub_free),
19192         (gst_buffer_default_free), (gst_buffer_default_copy),
19193         (gst_buffer_set_caps):
19194         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19195         (gst_caps_replace):
19196         * gst/gstmessage.c: (gst_message_new),
19197         (gst_message_new_state_changed):
19198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19199         (gst_pad_set_checkgetrange_function),
19200         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19201         (gst_pad_set_caps), (gst_pad_check_pull_range),
19202         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19203         * gst/gstpad.h:
19204         * gst/gsttypefind.c: (gst_type_find_register):
19205         Make gst_caps_replace() work like other _replace() functions.
19206         Use _caps_replace() where possible.
19207         Make sure _message_new() initialises its field.
19208         Add gst_static_pad_template_get_caps()
19209
19210
19211 2005-04-18  Andy Wingo  <wingo@pobox.com>
19212
19213         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19214         on the peer, not the pad. I think that was a typo. Pass an extra
19215         arg to see if random access is possible. Activate the pads as
19216         PULL_RANGE if possible.
19217
19218         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19219
19220         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
19221         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19222         to PROP_....
19223
19224 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19225
19226         * docs/faq/using.xml:
19227           Add note on gstreamer-properties (#154996).
19228
19229 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19230
19231         * docs/random/bbb/optional-properties:
19232           Some analysis on optional properties.
19233
19234 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19235
19236         * docs/gst/tmpl/gstelementfactory.sgml:
19237         * gst/gstelement.h:
19238         * gst/gstelementfactory.c: (gst_element_factory_init),
19239         (gst_element_factory_cleanup), (gst_element_register),
19240         (__gst_element_factory_add_static_pad_template),
19241         (gst_element_factory_get_static_pad_templates),
19242         (gst_element_factory_can_src_caps),
19243         (gst_element_factory_can_sink_caps):
19244         * gst/registries/Makefile.am:
19245         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19246         (gst_xml_registry_class_init), (gst_xml_registry_init),
19247         (gst_xml_registry_new), (gst_xml_registry_set_property),
19248         (gst_xml_registry_get_property), (get_time), (make_dir),
19249         (gst_xml_registry_get_perms_func),
19250         (plugin_times_older_than_recurse), (plugin_times_older_than),
19251         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19252         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19253         (add_to_char_array), (read_string), (read_uint), (read_enum),
19254         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19255         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19256         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19257         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19258         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19259         (gst_xml_registry_rebuild):
19260         * gst/registries/gstlibxmlregistry.h:
19261         * tools/gst-compprep.c: (main):
19262         * tools/gst-inspect.c: (print_pad_templates_info):
19263         * tools/gst-xmlinspect.c: (print_element_info):
19264           Use libxml2 for registry parsing, use staticpadtemplates in
19265           elementfactories. Makes gst_init() +/- 10x faster.
19266
19267 2005-04-12  Wim Taymans  <wim@fluendo.com>
19268
19269         * gst/base/Makefile.am:
19270         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19271         (gst_basesink_pad_getcaps), (gst_basesink_init),
19272         (gst_basesink_event), (gst_basesink_change_state):
19273         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19274         (gst_basesrc_init), (gst_basesrc_query),
19275         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19276         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19277         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19278         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19279         (gst_basesrc_stop), (gst_basesrc_activate),
19280         (gst_basesrc_change_state):
19281         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19282         (helper_find_suggest), (gst_type_find_helper):
19283         * gst/base/gsttypefindhelper.h:
19284         * gst/elements/Makefile.am:
19285         * gst/elements/gstelements.c:
19286         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19287         (gst_fakesink_get_times), (gst_fakesink_event),
19288         (gst_fakesink_preroll), (gst_fakesink_render):
19289         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19290         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19291         (gst_fakesrc_get_property), (gst_fakesrc_create),
19292         (gst_fakesrc_start), (gst_fakesrc_stop):
19293         * gst/elements/gstfakesrc.h:
19294         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19295         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19296         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19297         (gst_filesrc_create_read), (gst_filesrc_create),
19298         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19299         (gst_filesrc_start):
19300         * gst/elements/gsttypefindelement.c:
19301         (gst_type_find_element_have_type), (gst_type_find_element_init),
19302         (start_typefinding), (stop_typefinding), (push_buffer_store),
19303         (gst_type_find_element_handle_event),
19304         (gst_type_find_element_chain),
19305         (gst_type_find_element_checkgetrange),
19306         (gst_type_find_element_getrange), (do_typefind),
19307         (gst_type_find_element_activate),
19308         (gst_type_find_element_change_state):
19309         * gst/elements/gsttypefindelement.h:
19310         * gst/gstpipeline.c: (pipeline_bus_handler):
19311         Added typefind helper.
19312         Small preroll fix in the base sink.
19313         Disable typefind code in basesrc.
19314         Crude port of typefindelement.
19315         Fakesrc cleanups.
19316
19317
19318 2005-04-11  Wim Taymans  <wim@fluendo.com>
19319
19320         * check/gst/gstbus.c: (gstbus_suite):
19321         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19322         * check/gstcheck.h:
19323           Fix up the timeout so that the test does not fail.
19324
19325 2005-04-06  Wim Taymans  <wim@fluendo.com>
19326
19327         * gst/base/README:
19328         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19329         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19330         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19331         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19332         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19333         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19334         (gst_basesrc_stop), (gst_basesrc_activate),
19335         (gst_basesrc_change_state), (basesrc_find_peek),
19336         (basesrc_find_suggest), (gst_basesrc_type_find):
19337         * gst/base/gstbasesrc.h:
19338         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19339         (gst_filesrc_class_init), (gst_filesrc_init),
19340         (gst_filesrc_finalize), (gst_filesrc_set_location),
19341         (gst_filesrc_set_property), (gst_filesrc_get_property),
19342         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19343         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19344         (gst_filesrc_create_read), (gst_filesrc_create),
19345         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19346         * gst/elements/gstfilesrc.h:
19347         * gst/gstelement.c: (gst_element_get_state_func),
19348         (gst_element_lost_state), (gst_element_pads_activate):
19349         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19350         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19351         (gst_pad_pull_range):
19352         * gst/gstpad.h:
19353         More work on the generic source base class, implement seeking,
19354         query.
19355         Make filesrc extend the base source class.
19356         Added gst_pad_set_checkgetrange_function to GstPad.
19357
19358 2005-04-06  Andy Wingo  <wingo@pobox.com>
19359
19360         * pkgconfig/gstreamer-base.pc.in:
19361         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19362
19363         * pkgconfig/Makefile.am:
19364         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19365
19366 2005-04-04  Wim Taymans  <wim@fluendo.com>
19367
19368         * gst/base/Makefile.am:
19369         * gst/base/README:
19370         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19371         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19372         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19373         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19374         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19375         (gst_basesrc_base_init), (gst_basesrc_class_init),
19376         (gst_basesrc_init), (gst_basesrc_get_formats),
19377         (gst_basesrc_get_query_types), (gst_basesrc_query),
19378         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19379         (gst_basesrc_set_property), (gst_basesrc_get_property),
19380         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19381         (gst_basesrc_loop), (gst_basesrc_activate),
19382         (gst_basesrc_change_state):
19383         * gst/base/gstbasesrc.h:
19384         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19385         (gst_fakesrc_class_init), (gst_fakesrc_init),
19386         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19387         (gst_fakesrc_get_property), (gst_fakesrc_create):
19388         * gst/elements/gstfakesrc.h:
19389         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19390         (gst_filesrc_open_file), (gst_filesrc_loop),
19391         (gst_filesrc_activate), (filesrc_find_peek),
19392         (gst_filesrc_type_find):
19393         Made base source class, make fakesrc extend it.
19394         Add comments to basesink class.
19395         Some filesrc cleanup.
19396
19397 2005-03-31  David Schleef  <ds@schleef.org>
19398
19399         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19400         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19401         expected to link against libgstreamer.
19402         * gst/base/Makefile.am: link against libgstreamer
19403         * gst/elements/Makefile.am: same
19404
19405 2005-03-31  Andy Wingo  <wingo@pobox.com>
19406
19407         * tests/instantiate/Makefile.am:
19408         * tests/instantiate/caps.c: Add test to test speed of caps copy
19409         and free.
19410
19411         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19412         GMemChunk to be fair.
19413
19414         * gst/gsttrashstack.h: Remove warning about using the fallback
19415         trash stack implementation, it's still faster than malloc.
19416
19417 2005-03-30  Andy Wingo  <wingo@pobox.com>
19418
19419         * tests/complexity.c: Add a copyright.
19420
19421 2005-03-31  Wim Taymans  <wim@fluendo.com>
19422
19423         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19424         (gst_base_transform_class_init), (gst_base_transform_init),
19425         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19426         (gst_base_transform_get_property),
19427         (gst_base_transform_sink_activate),
19428         (gst_base_transform_src_activate),
19429         (gst_base_transform_change_state):
19430         * gst/base/gstbasetransform.h:
19431         * gst/elements/gstidentity.c: (gst_identity_class_init),
19432         (gst_identity_event), (gst_identity_check_perfect),
19433         (gst_identity_transform), (gst_identity_start),
19434         (gst_identity_stop):
19435         Added start/stop methods to transform base class so subclasses 
19436         don't need to deal with state changes even.
19437
19438 2005-03-31  Wim Taymans  <wim@fluendo.com>
19439
19440         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19441         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19442         * gst/gstevent.h:
19443         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19444         (gst_pad_pull_range):
19445         Added rate to the discont event to prepare for variable speed
19446         and reverse playback.
19447
19448 2005-03-29  David Schleef  <ds@schleef.org>
19449
19450         * configure.ac:
19451         * testsuite/trigger/Makefile.am:
19452         * testsuite/trigger/trigger.c: A little example program to show
19453         how trigger-based elements can work.
19454
19455 2005-03-29  Wim Taymans  <wim@fluendo.com>
19456
19457         * gst/base/Makefile.am:
19458         * gst/base/README:
19459         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19460         (gst_basesink_base_init), (gst_basesink_class_init),
19461         (gst_basesink_pad_getcaps), (gst_basesink_init),
19462         (gst_basesink_activate), (gst_basesink_change_state):
19463         * gst/base/gstbasesink.h:
19464         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19465         (gst_base_transform_base_init), (gst_base_transform_finalize),
19466         (gst_base_transform_class_init), (gst_base_transform_init),
19467         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19468         (gst_base_transform_event), (gst_base_transform_getrange),
19469         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19470         (gst_base_transform_set_property),
19471         (gst_base_transform_get_property),
19472         (gst_base_transform_sink_activate),
19473         (gst_base_transform_src_activate),
19474         (gst_base_transform_change_state):
19475         * gst/base/gstbasetransform.h:
19476         * gst/elements/gstidentity.c: (gst_identity_finalize),
19477         (gst_identity_class_init), (gst_identity_init),
19478         (gst_identity_event), (gst_identity_check_perfect),
19479         (gst_identity_transform), (gst_identity_set_property),
19480         (gst_identity_get_property), (gst_identity_change_state):
19481         * gst/elements/gstidentity.h:
19482         * gst/gstelement.c: (gst_element_get_state_func),
19483         (gst_element_lost_state), (gst_element_pads_activate):
19484         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19485         (gst_pad_check_pull_range), (gst_pad_pull_range):
19486         * gst/gstpad.h:
19487         Simplify pad activation.
19488         Added function to check if pull_range can be performed.
19489         Error out when pulling inactive or flushing pads.
19490         Removed const from refcounted types as it does not make sense.
19491         Simplify pad templates in basesink
19492         Added base class for simple 1-to-1 transforms.
19493         Make identity subclass the base transform.
19494
19495 2005-03-29  Andy Wingo  <wingo@pobox.com>
19496
19497         * docs/libs/gstreamer-libs-overrides.txt: 
19498         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19499         really don't understand what's going on, but like whatever. I want
19500         green buildbot!
19501
19502         * docs/gst/Makefile.am:
19503         * docs/libs/Makefile.am: Dist the overrides files.
19504
19505         * check/Makefile.am (clean-local): Remove .libs directories.
19506
19507         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19508         elements to EXTRA_DIST, so po/ files are happy.
19509
19510         * po/POTFILES.in: Er, remove it here.
19511
19512         * po/POTFILES: Remove gstspider.c.
19513
19514         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19515
19516         * docs/libs/gstreamer-libs-docs.sgml: 
19517         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19518         bytestream.
19519
19520         * tests/complexity.c (main): Set the length of the preroll queue
19521         on the sinks to prevent a lockup.
19522
19523         * libs/gst/dataprotocol/Makefile.am: 
19524         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19525         the same as the one in check/gst-libs/gdp.c.
19526
19527         * po/, docs/gst/: Commit automatic changes to docs and po files.
19528
19529         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19530         the versioned libgstbase.
19531
19532         * check/Makefile.am: Depend on an unversioned gst-register, seems
19533         to make autoconf happier.
19534
19535         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19536
19537 2005-03-28  Wim Taymans  <wim@fluendo.com>
19538
19539         * configure.ac:
19540         * docs/design/part-gstelement.txt:
19541         * docs/design/part-negotiation.txt:
19542         * docs/design/part-preroll.txt:
19543         * docs/design/part-scheduling.txt:
19544         * docs/design/part-states.txt:
19545         * gst/Makefile.am:
19546         * gst/base/Makefile.am:
19547         * gst/base/README:
19548         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19549         (gst_basesink_base_init), (gst_basesink_class_init),
19550         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19551         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19552         (gst_basesink_set_pad_functions),
19553         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19554         (gst_basesink_set_property), (gst_basesink_get_property),
19555         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19556         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19557         (gst_basesink_preroll_queue_push),
19558         (gst_basesink_preroll_queue_empty),
19559         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19560         (gst_basesink_event), (gst_basesink_get_times),
19561         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19562         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19563         (gst_basesink_loop), (gst_basesink_activate),
19564         (gst_basesink_change_state):
19565         * gst/base/gstbasesink.h:
19566         * gst/elements/Makefile.am:
19567         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19568         (gst_fakesink_class_init), (gst_fakesink_init),
19569         (gst_fakesink_set_property), (gst_fakesink_get_property),
19570         (gst_fakesink_get_times), (gst_fakesink_event),
19571         (gst_fakesink_preroll), (gst_fakesink_render),
19572         (gst_fakesink_change_state):
19573         * gst/elements/gstfakesink.h:
19574         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19575         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19576         * gst/gstelement.c: (gst_element_add_pad),
19577         (gst_element_get_state_func), (gst_element_abort_state),
19578         (gst_element_commit_state), (gst_element_lost_state),
19579         (gst_element_set_state), (gst_element_pads_activate):
19580         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19581         * gst/gstpipeline.c: (gst_pipeline_send_event),
19582         (gst_pipeline_change_state):
19583         Added state change code.
19584         Added/updated docs.
19585         Added sink base class, make fakesink extend the base class.
19586         Small cleanups in GstPipeline.
19587
19588 2005-03-26  David Schleef  <ds@schleef.org>
19589
19590         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19591         is broken and should be implemented in a different library.
19592         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19593         * gst/gst.h: remove gstcpu.h
19594         * gst/gstcpu.c: remove
19595         * gst/gstcpu.h: remove
19596         * gst/Makefile.am.future: Remove this file.  It's ancient.
19597
19598 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19599
19600         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19601         (gst_bin_send_event):
19602           Add default event/set_manager handlers. The set_manager handler
19603           takes care that the manager is distributed over kids that were
19604           already in the bin before the manager was set. The event handler
19605           is a utility virtual function that sends the event over all sinks,
19606           so that gst_element_send_event (bin, event); has the expected
19607           behaviour.
19608         * gst/gstpad.c: (gst_pad_event_default):
19609           Re-install default event handling for discontinuities, so that
19610           seeking works without requiring hacks in applications or extra
19611           code in sinks.
19612         * gst/gstpipeline.c: (gst_pipeline_class_init),
19613         (gst_pipeline_send_event):
19614           Half hack, half utility: set a pipeline to PAUSED for seek events,
19615           since that is the only way we can guarantee a/v sync. Means that
19616           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19617           and it "just works".
19618
19619 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19620
19621         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19622           Lock/unlock mismatch.
19623
19624 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19625
19626         * docs/faq/gst-uninstalled:
19627           add gst-plugins-base
19628         * docs/gst/Makefile.am:
19629           don't error out until docs are fixed
19630         * docs/gst/gstreamer.types:
19631           remove thread
19632
19633 2005-03-22  Wim Taymans  <wim@fluendo.com>
19634
19635         * check/Makefile.am:
19636         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19637         * gst/gststructure.c: (gst_structure_set_valist),
19638         (gst_structure_copy_conditional):
19639         Activated more tests.
19640         Added message test.
19641         Added G_TYPE_POINTER to GstStructure.
19642         
19643
19644 2005-03-22  Wim Taymans  <wim@fluendo.com>
19645
19646         * docs/design/part-TODO.txt:
19647         * docs/design/part-events.txt:
19648         * docs/design/part-gstbin.txt:
19649         * docs/design/part-gstbus.txt:
19650         * docs/design/part-gstpipeline.txt:
19651         * docs/design/part-messages.txt:
19652         * gst/gstbus.c:
19653         * gst/gstmessage.c:
19654         Docs updates
19655
19656 2005-03-21  Wim Taymans  <wim@fluendo.com>
19657
19658         * gst/gstbus.c: (gst_bus_post):
19659         Fix copy-and-paste error.
19660
19661 2005-03-21  Wim Taymans  <wim@fluendo.com>
19662
19663         * check/Makefile.am:
19664         * gst/Makefile.am:
19665         * gst/elements/Makefile.am:
19666         * gst/elements/gstelements.c:
19667         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19668         (gst_fakesink_event), (gst_fakesink_chain):
19669         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19670         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19671         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19672         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19673         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19674         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19675         (gst_fakesrc_loop), (gst_fakesrc_activate),
19676         (gst_fakesrc_change_state):
19677         * gst/elements/gstfakesrc.h:
19678         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19679         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19680         (gst_filesrc_open_file), (gst_filesrc_loop),
19681         (gst_filesrc_activate), (gst_filesrc_change_state),
19682         (filesrc_find_peek), (filesrc_find_suggest),
19683         (gst_filesrc_type_find):
19684         * gst/elements/gstidentity.c: (gst_identity_finalize),
19685         (gst_identity_class_init), (gst_identity_init),
19686         (gst_identity_proxy_getcaps), (identity_queue_push),
19687         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19688         (gst_identity_getrange), (gst_identity_chain),
19689         (gst_identity_sink_loop), (gst_identity_src_loop),
19690         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19691         (gst_identity_set_property), (gst_identity_get_property),
19692         (gst_identity_change_state):
19693         * gst/elements/gstidentity.h:
19694         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19695         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19696         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19697         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19698         (gst_tee_sink_activate):
19699         * gst/elements/gsttee.h:
19700         * gst/gst.c: (gst_register_core_elements), (init_post):
19701         * gst/gst.h:
19702         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19703         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19704         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19705         (gst_bin_change_state):
19706         * gst/gstbin.h:
19707         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19708         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19709         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19710         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19711         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19712         (bus_watch_callback), (bus_watch_destroy),
19713         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19714         (poll_timeout), (gst_bus_poll):
19715         * gst/gstbus.h:
19716         * gst/gstcaps.h:
19717         * gst/gstdata.h:
19718         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19719         (gst_element_post_message), (gst_element_message_full),
19720         (gst_element_get_state_func), (gst_element_get_state),
19721         (gst_element_abort_state), (gst_element_commit_state),
19722         (gst_element_lost_state), (gst_element_set_state),
19723         (gst_element_pads_activate), (gst_element_change_state),
19724         (gst_element_dispose), (gst_element_set_manager_func),
19725         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19726         (gst_element_set_manager), (gst_element_get_manager),
19727         (gst_element_set_bus), (gst_element_get_bus),
19728         (gst_element_set_scheduler), (gst_element_get_scheduler):
19729         * gst/gstelement.h:
19730         * gst/gstevent.c: (gst_event_new_segment_seek),
19731         (gst_event_new_flush):
19732         * gst/gstevent.h:
19733         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19734         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19735         (gst_message_new_eos), (gst_message_new_error),
19736         (gst_message_new_warning), (gst_message_new_tag),
19737         (gst_message_new_state_changed), (gst_message_new_application),
19738         (gst_message_get_structure), (gst_message_parse_tag),
19739         (gst_message_parse_state_changed), (gst_message_parse_error),
19740         (gst_message_parse_warning):
19741         * gst/gstmessage.h:
19742         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19743         (gst_real_pad_set_property), (gst_pad_set_active),
19744         (gst_pad_is_active), (gst_pad_set_blocked_async),
19745         (gst_pad_set_blocked), (gst_pad_is_blocked),
19746         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19747         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19748         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19749         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19750         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19751         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19752         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19753         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19754         (gst_pad_set_caps), (gst_pad_configure_sink),
19755         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19756         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19757         (gst_real_pad_dispose), (gst_real_pad_finalize),
19758         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19759         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19760         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19761         * gst/gstpad.h:
19762         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19763         (pipeline_bus_handler), (gst_pipeline_change_state),
19764         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19765         * gst/gstpipeline.h:
19766         * gst/gstprobe.h:
19767         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19768         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19769         (gst_queue_link_src), (gst_queue_bufferalloc),
19770         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19771         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19772         (gst_queue_loop), (gst_queue_handle_src_event),
19773         (gst_queue_handle_src_query), (gst_queue_src_activate),
19774         (gst_queue_change_state):
19775         * gst/gstqueue.h:
19776         * gst/gstscheduler.c: (gst_scheduler_init),
19777         (gst_scheduler_dispose), (gst_scheduler_create_task),
19778         (gst_scheduler_factory_create):
19779         * gst/gstscheduler.h:
19780         * gst/gststructure.c: (gst_structure_get_type),
19781         (gst_structure_copy_conditional):
19782         * gst/gststructure.h:
19783         * gst/gsttaginterface.h:
19784         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19785         (gst_task_init), (gst_task_dispose), (gst_task_create),
19786         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19787         (gst_task_pause):
19788         * gst/gsttask.h:
19789         * gst/gstthread.c:
19790         * gst/gstthread.h:
19791         * gst/gsttypes.h:
19792         * gst/schedulers/Makefile.am:
19793         * gst/schedulers/cothreads_compat.h:
19794         * gst/schedulers/entryscheduler.c:
19795         * gst/schedulers/faircothreads.c:
19796         * gst/schedulers/faircothreads.h:
19797         * gst/schedulers/fairscheduler.c:
19798         * gst/schedulers/gstbasicscheduler.c:
19799         * gst/schedulers/gstoptimalscheduler.c:
19800         * gst/schedulers/gthread-cothreads.h:
19801         * gst/schedulers/threadscheduler.c:
19802         (gst_thread_scheduler_task_get_type),
19803         (gst_thread_scheduler_task_class_init),
19804         (gst_thread_scheduler_task_init),
19805         (gst_thread_scheduler_task_start),
19806         (gst_thread_scheduler_task_stop),
19807         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19808         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19809         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19810         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19811         (plugin_init):
19812         * libs/gst/Makefile.am:
19813         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19814         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19815         (gst_file_pad_parent_set):
19816         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19817         (gst_dp_event_from_packet):
19818         * tests/complexity.c: (main):
19819         * tests/mass_elements.c: (main):
19820         * testsuite/states/locked.c: (message_received), (main):
19821         * testsuite/states/parent.c: (main):
19822         * tools/gst-inspect.c: (print_element_flag_info),
19823         (print_implementation_info), (print_pad_info):
19824         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19825         (main):
19826         * tools/gst-md5sum.c: (event_loop), (main):
19827         * tools/gst-typefind.c: (main):
19828         * tools/gst-xmlinspect.c: (print_element_info):
19829         Next big merge.
19830         Added GstBus for mainloop integration.
19831         Added GstMessage for sending notifications on the bus.
19832         Added GstTask as an abstraction for pipeline entry points.
19833         Removed GstThread.
19834         Removed Schedulers.
19835         Simplified GstQueue for multithreaded core.
19836         Made _link threadsafe, removed old capsnego.
19837         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19838         Added pad blocking functions.
19839         Reworked scheduling functions in GstPad to prepare for
19840         scheduling updates soon.
19841         Moved events out of data stream.
19842         Simplified GstEvent types.
19843         Added return values to push/pull.
19844         Removed clocking from GstElement.
19845         Added prototypes for state change function for next merge.
19846         Removed iterate from bins and state change management.
19847         Fixed some elements, disabled others for now.
19848         Fixed -inspect and -launch.
19849         Added check for GstBus.
19850
19851 2005-03-10  Wim Taymans  <wim@fluendo.com>
19852
19853         * docs/design/part-MT-refcounting.txt:
19854         * docs/design/part-clocks.txt:
19855         * docs/design/part-gstelement.txt:
19856         * docs/design/part-gstobject.txt:
19857         * docs/design/part-standards.txt:
19858         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19859         (gst_bin_remove_func), (gst_bin_remove):
19860         * gst/gstbin.h:
19861         * gst/gstbuffer.c:
19862         * gst/gstcaps.h:
19863         * testsuite/clock/clock1.c: (main):
19864         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19865         (main):
19866         * testsuite/dlopen/loadgst.c: (do_test):
19867         * testsuite/refcounting/bin.c: (add_remove_test1),
19868         (add_remove_test2), (main):
19869         * testsuite/refcounting/element.c: (main):
19870         * testsuite/refcounting/element_pad.c: (main):
19871         * testsuite/refcounting/pad.c: (main):
19872         * tools/gst-launch.c: (sigint_handler_sighandler):
19873         * tools/gst-typefind.c: (main):
19874         Doc updates.
19875         Added doc about clock.
19876         removed gst_bin_iterate_recurse_up(), marked methods
19877         for removal.
19878         Fix more testsuites.
19879
19880 2005-03-09  Wim Taymans  <wim@fluendo.com>
19881
19882         * gst/gstpad.c: (gst_pad_get_direction),
19883         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19884         (gst_pad_collect_valist):
19885         * testsuite/bins/interface.c: (main):
19886         * testsuite/caps/audioscale.c: (test_caps):
19887         * testsuite/caps/caps.c: (test1), (test2), (test3):
19888         * testsuite/caps/deserialize.c: (main):
19889         * testsuite/caps/enumcaps.c: (main):
19890         * testsuite/caps/filtercaps.c: (main):
19891         * testsuite/caps/intersect2.c: (main):
19892         * testsuite/caps/random.c: (main):
19893         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19894         * testsuite/caps/sets.c: (check_caps):
19895         * testsuite/caps/simplify.c: (check_caps), (main):
19896         * testsuite/caps/subtract.c: (check_caps):
19897         Fix _pad_get_direction wrt ghostpads.
19898         Fix caps testsuite.
19899
19900 2005-03-09  Wim Taymans  <wim@fluendo.com>
19901
19902         * check/Makefile.am:
19903         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19904         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19905         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19906         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19907         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19908         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19909         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19910         (bin_element_is_sink), (gst_bin_iterate_sinks),
19911         (gst_bin_iterate_all_by_interface):
19912         * gst/gstbin.h:
19913         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19914         (gst_element_change_state), (gst_element_dispose),
19915         (gst_element_finalize), (gst_element_set_loop_function):
19916         * gst/gstelement.h:
19917         * gst/gstiterator.c: (find_custom_fold_func):
19918         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19919         (gst_pad_collectv), (gst_pad_collect_valist),
19920         (gst_pad_template_new):
19921         * gst/gstpipeline.c: (gst_pipeline_class_init),
19922         (gst_pipeline_dispose), (gst_pipeline_set_property),
19923         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19924         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19925         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19926         * gst/gstutils.h:
19927         * gst/schedulers/entryscheduler.c:
19928         * gst/schedulers/gstbasicscheduler.c:
19929         (gst_basic_scheduler_cothreaded_chain),
19930         (gst_basic_scheduler_chain_add_element):
19931         * testsuite/bins/interface.c: (main):
19932         Added GstBin test.
19933         Added GstSystemClock test.
19934         Implemented clock distribution code in GstBin.
19935         Implemented iterate sinks method for future use.
19936         Rearranged gstelement.h
19937         Fix GstIterator comparison bug.
19938         Moved some code to GstPipeline, mostly clocking related.
19939
19940 2005-03-09  Wim Taymans  <wim@fluendo.com>
19941
19942         * configure.ac:
19943         * gst/gst_private.h:
19944         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19945         (gst_bin_remove_func), (gst_bin_remove),
19946         (gst_bin_get_by_name_recurse_up):
19947         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19948         (gst_clock_id_compare_func), (gst_clock_id_wait),
19949         (gst_clock_id_wait_async), (gst_clock_init),
19950         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19951         * gst/gstelement.h:
19952         * gst/gstinfo.c: (_gst_debug_init):
19953         * gst/gstobject.h:
19954         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19955         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19956         * gst/gstpad.h:
19957         Bump version number, we're now 0.9.0
19958         Add future debugging category.
19959         Fix NULL _unref() in _get_by_name_recurse_up
19960         Rearrange gstpad.h.
19961         Update some docs.
19962
19963 2005-03-08  Wim Taymans  <wim@fluendo.com>
19964
19965         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19966         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19967         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19968         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19969         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19970         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19971         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19972         * gst/elements/gstidentity.c: (gst_identity_class_init):
19973         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19974         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19975         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19976         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19977         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19978         (gst_tee_link):
19979         * gst/gstelement.c: (gst_element_class_init),
19980         (gst_element_base_class_init), (gst_element_init),
19981         (gst_element_get_random_pad), (gst_element_wait_state_change),
19982         (gst_element_change_state), (gst_element_dispose),
19983         (gst_element_finalize), (gst_element_set_loop_function):
19984         * gst/gstelement.h:
19985         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19986         * gst/gstthread.c: (gst_thread_class_init),
19987         (gst_thread_release_children_locks), (gst_thread_change_state):
19988         * gst/schedulers/gstbasicscheduler.c:
19989         (gst_basic_scheduler_loopfunc_wrapper),
19990         (gst_basic_scheduler_chain_wrapper),
19991         (gst_basic_scheduler_src_wrapper),
19992         (gst_basic_scheduler_remove_element):
19993         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19994         Remove threadsafe properties. Fix elements because GObject
19995         complains when installing a property before declaring a
19996         set/get_property handler.
19997         Rearrange gstelement.h file, use STATE macros for state locks.
19998         Free mutexes in the finalize method instead of dispose.
19999
20000 2005-03-08  Wim Taymans  <wim@fluendo.com>
20001
20002         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20003         * gst/gstthread.c: (gst_thread_release_children_locks):
20004         Added parentage check.
20005         Fix build og GstThread again.
20006
20007 2005-03-08  Wim Taymans  <wim@fluendo.com>
20008
20009         * docs/design/part-MT-refcounting.txt:
20010         * docs/design/part-conventions.txt:
20011         * docs/design/part-gstobject.txt:
20012         * docs/design/part-relations.txt:
20013         * docs/design/part-standards.txt:
20014         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20015         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20016         (gst_bin_get_by_name), (gst_bin_get_by_interface),
20017         (gst_bin_iterate_all_by_interface):
20018         * gst/gstbuffer.h:
20019         * gst/gstclock.h:
20020         * gst/gstelement.c: (gst_element_class_init),
20021         (gst_element_change_state), (gst_element_set_loop_function):
20022         * gst/gstelement.h:
20023         * gst/gstiterator.c:
20024         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20025         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20026         (gst_object_dispatch_properties_changed), (gst_object_set_name),
20027         (gst_object_set_parent), (gst_object_unparent),
20028         (gst_object_check_uniqueness):
20029         * gst/gstobject.h:
20030         Docs updates, clean up some headers.
20031
20032 2005-03-07  Wim Taymans  <wim@fluendo.com>
20033
20034         * check/.cvsignore:
20035         * check/Makefile.am:
20036         * check/gst-libs/.cvsignore:
20037         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20038         * check/gst/.cvsignore:
20039         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20040         (START_TEST), (gstbus_suite), (main):
20041         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20042         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20043         (gst_data_suite), (main):
20044         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20045         (add_fold_func), (gstiterator_suite), (main):
20046         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20047         (thread_name_object), (thread_name_object_default),
20048         (gst_object_name_compare), (gst_object_suite), (main):
20049         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20050         (gst_pad_suite), (main):
20051         * check/gstcheck.c: (gst_check_log_message_func),
20052         (gst_check_log_critical_func), (gst_check_init):
20053         * check/gstcheck.h:
20054         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20055         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20056         Added checks.
20057
20058 2005-03-07  Wim Taymans  <wim@fluendo.com>
20059
20060         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20061         (gst_list_iterator_next), (gst_list_iterator_resync),
20062         (gst_list_iterator_free), (gst_iterator_new_list),
20063         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20064         (gst_iterator_free), (gst_iterator_push), (filter_next),
20065         (filter_resync), (filter_uninit), (filter_free),
20066         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20067         (gst_iterator_foreach), (find_custom_fold_func),
20068         (gst_iterator_find_custom):
20069         * gst/gstiterator.h:
20070         Added missing files.
20071
20072 2005-03-07  Wim Taymans  <wim@fluendo.com>
20073
20074         * Makefile.am:
20075         * configure.ac:
20076         * docs/design/part-MT-refcounting.txt:
20077         * docs/design/part-conventions.txt:
20078         * docs/design/part-gstobject.txt:
20079         * docs/design/part-relations.txt:
20080         * examples/mixer/mixer.c: (main):
20081         * examples/thread/thread.c: (eos), (main):
20082         * gst/Makefile.am:
20083         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20084         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20085         (gst_spider_plug_from_srcpad):
20086         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20087         (gst_spider_identity_change_state),
20088         (gst_spider_identity_sink_loop_type_finding):
20089         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20090         * gst/elements/gstidentity.c: (gst_identity_init):
20091         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20092         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20093         * gst/elements/gsttypefindelement.c: (free_entry):
20094         * gst/gst.c:
20095         * gst/gst.h:
20096         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20097         (gst_bin_set_clock_func), (gst_bin_auto_clock),
20098         (gst_bin_set_index), (gst_bin_set_element_sched),
20099         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20100         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20101         (gst_bin_iterate_elements), (iterate_child_recurse),
20102         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20103         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20104         (compare_interface), (gst_bin_get_by_interface),
20105         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20106         * gst/gstbin.h:
20107         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20108         (gst_buffer_default_free), (gst_buffer_default_copy),
20109         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20110         (gst_buffer_create_sub):
20111         * gst/gstbuffer.h:
20112         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20113         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20114         (gst_caps_unref), (gst_static_caps_get),
20115         (gst_caps_remove_and_get_structure), (gst_caps_append),
20116         (gst_caps_append_structure), (gst_caps_remove_structure),
20117         (gst_caps_copy_nth), (gst_caps_set_simple),
20118         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20119         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20120         (gst_caps_structure_intersect_field), (gst_caps_intersect),
20121         (gst_caps_structure_subtract_field), (gst_caps_subtract),
20122         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20123         (gst_caps_structure_figure_out_union),
20124         (gst_caps_switch_structures), (gst_caps_do_simplify),
20125         (gst_caps_replace), (gst_caps_from_string),
20126         (gst_caps_copy_conditional):
20127         * gst/gstcaps.h:
20128         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20129         (_gst_clock_id_free), (gst_clock_id_unref),
20130         (gst_clock_id_compare_func), (gst_clock_id_wait),
20131         (gst_clock_id_wait_async), (gst_clock_class_init),
20132         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20133         (gst_clock_get_time), (gst_clock_set_time_adjust),
20134         (gst_clock_set_property), (gst_clock_get_property):
20135         * gst/gstclock.h:
20136         * gst/gstcompat.h:
20137         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20138         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20139         * gst/gstdata.h:
20140         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20141         (gst_element_requires_clock), (gst_element_provides_clock),
20142         (gst_element_set_clock), (gst_element_clock_wait),
20143         (gst_element_wait), (gst_element_set_time_delay),
20144         (gst_element_is_indexable), (gst_element_add_pad),
20145         (gst_element_add_ghost_pad), (gst_element_remove_pad),
20146         (pad_compare_name), (gst_element_get_static_pad),
20147         (gst_element_request_pad), (gst_element_get_request_pad),
20148         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20149         (gst_element_class_get_pad_template_list),
20150         (gst_element_class_get_pad_template), (gst_element_error_func),
20151         (gst_element_get_random_pad), (gst_element_get_event_masks),
20152         (gst_element_send_event), (gst_element_seek),
20153         (gst_element_get_query_types), (gst_element_query),
20154         (gst_element_get_formats), (gst_element_convert),
20155         (gst_element_is_locked_state), (gst_element_set_locked_state),
20156         (gst_element_sync_state_with_parent), (gst_element_change_state),
20157         (gst_element_finalize), (gst_element_yield),
20158         (gst_element_interrupt), (gst_element_set_scheduler),
20159         (gst_element_get_scheduler), (gst_element_set_loop_function):
20160         * gst/gstelement.h:
20161         * gst/gstevent.h:
20162         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20163         (gst_format_get_by_nick), (gst_format_get_details),
20164         (gst_format_iterate_definitions):
20165         * gst/gstformat.h:
20166         * gst/gstindex.c: (gst_index_gtype_resolver):
20167         * gst/gstinfo.c:
20168         * gst/gstinfo.h:
20169         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20170         (gst_mem_chunk_free):
20171         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20172         (gst_object_ref), (gst_object_unref), (gst_object_sink),
20173         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20174         (gst_object_dispatch_properties_changed),
20175         (gst_object_set_name_default), (gst_object_set_name),
20176         (gst_object_get_name), (gst_object_set_name_prefix),
20177         (gst_object_get_name_prefix), (gst_object_set_parent),
20178         (gst_object_get_parent), (gst_object_unparent),
20179         (gst_object_check_uniqueness), (gst_object_save_thyself),
20180         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20181         (gst_object_set_property), (gst_object_get_property),
20182         (gst_object_get_path_string):
20183         * gst/gstobject.h:
20184         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20185         (gst_real_pad_init), (gst_real_pad_get_property),
20186         (gst_pad_custom_new), (gst_pad_get_direction),
20187         (gst_pad_set_active), (gst_pad_is_active),
20188         (gst_pad_set_event_function), (gst_pad_is_linked),
20189         (gst_pad_link_free), (gst_pad_link_intersect),
20190         (gst_pad_link_fixate), (gst_pad_set_caps),
20191         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20192         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20193         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20194         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20195         (gst_pad_get_caps), (gst_pad_peer_get_caps),
20196         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20197         (gst_pad_realize), (gst_pad_get_allowed_caps),
20198         (gst_real_pad_dispose), (gst_real_pad_finalize),
20199         (gst_pad_collectv), (gst_pad_collect_valist),
20200         (gst_pad_template_dispose), (gst_pad_template_new),
20201         (gst_pad_get_internal_links):
20202         * gst/gstpad.h:
20203         * gst/gstpipeline.c: (gst_pipeline_dispose),
20204         (gst_pipeline_change_state):
20205         * gst/gstpipeline.h:
20206         * gst/gstplugin.c:
20207         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20208         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20209         * gst/gstpluginfeature.h:
20210         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20211         * gst/gstquery.c: (_gst_query_type_initialize),
20212         (gst_query_type_register), (gst_query_type_get_by_nick),
20213         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20214         * gst/gstquery.h:
20215         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20216         * gst/gstscheduler.c: (gst_scheduler_add_element),
20217         (gst_scheduler_factory_create):
20218         * gst/gststructure.c: (gst_structure_set_parent_refcount),
20219         (gst_structure_free), (gst_structure_set_name),
20220         (gst_structure_id_set_value), (gst_structure_set_value),
20221         (gst_structure_set_valist), (gst_structure_remove_field),
20222         (gst_structure_remove_fields),
20223         (gst_structure_remove_fields_valist),
20224         (gst_structure_remove_all_fields), (gst_structure_foreach),
20225         (gst_structure_map_in_place),
20226         (gst_caps_structure_fixate_field_nearest_int),
20227         (gst_caps_structure_fixate_field_nearest_double):
20228         * gst/gststructure.h:
20229         * gst/gstsystemclock.c: (gst_system_clock_class_init),
20230         (gst_system_clock_init), (gst_system_clock_dispose),
20231         (gst_system_clock_async_thread),
20232         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20233         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20234         * gst/gstsystemclock.h:
20235         * gst/gsttag.c: (gst_tag_list_add_value_internal),
20236         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20237         * gst/gsttaginterface.c:
20238         * gst/gstthread.c: (gst_thread_dispose),
20239         (gst_thread_release_children_locks), (gst_thread_change_state),
20240         (gst_thread_main_loop):
20241         * gst/gsttrashstack.h:
20242         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20243         * gst/gsttypes.h:
20244         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20245         (gst_element_request_pad), (gst_element_get_pad_from_template),
20246         (gst_element_request_compatible_pad),
20247         (gst_element_get_compatible_pad_filtered),
20248         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20249         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20250         (gst_element_link_many), (gst_element_link),
20251         (gst_element_link_pads), (gst_element_unlink_pads),
20252         (gst_element_unlink_many), (gst_element_unlink),
20253         (gst_pad_can_link_filtered), (gst_pad_can_link),
20254         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20255         (gst_object_default_error), (gst_bin_add_many),
20256         (gst_bin_remove_many), (gst_element_populate_std_props),
20257         (gst_element_class_install_std_props), (gst_buffer_merge),
20258         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20259         (link_fold_func), (gst_pad_proxy_setcaps):
20260         * gst/gstutils.h:
20261         * gst/gstvalue.c: (gst_value_deserialize_string):
20262         * gst/parse/grammar.y:
20263         * gst/schedulers/gstbasicscheduler.c:
20264         (gst_basic_scheduler_cothreaded_chain),
20265         (gst_basic_scheduler_chain_recursive_add),
20266         (gst_basic_scheduler_pad_link):
20267         * gst/schedulers/gstoptimalscheduler.c:
20268         (get_group_schedule_function),
20269         (gst_opt_scheduler_state_transition),
20270         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20271         * libs/gst/bytestream/bytestream.c:
20272         * libs/gst/dataprotocol/dataprotocol.c:
20273         (gst_dp_header_from_buffer):
20274         * po/nb.po:
20275         * po/ru.po:
20276         * tests/threadstate/threadstate2.c: (eos):
20277         * tools/gst-compprep.c: (main):
20278         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20279         (print_pad_info), (print_children_info):
20280         * tools/gst-launch.c: (idle_func), (main):
20281         * tools/gst-md5sum.c: (idle_func), (main):
20282         * tools/gst-xmlinspect.c: (print_element_info):
20283         First THREADED backport attempt, focusing on adding locks and
20284         making sure the API is threadsafe. Needs more work. More docs
20285         follow this week.
20286
20287 2005-02-24  Andy Wingo  <wingo@pobox.com>
20288
20289         * tests/bench-complexity.scm:
20290         * tests/complexity.gnuplot: New files, good for running complexity
20291         benchmarks.
20292
20293         * tests/Makefile.am:
20294         * tests/complexity.c: New test, sets up N elements, at each level
20295         teeing into M streams per element. Eeeenteresting.
20296
20297         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20298         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20299         running bench-mass_elements.scm.
20300
20301         * tests/bench-mass_elements.scm: New script, runs mass_elements
20302         for various numbers of identities, outputting the results to a
20303         file. Requires guile 1.6. Just for testing.
20304
20305 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20306
20307         * gst/schedulers/fairscheduler.c:
20308           compile with debug disabled
20309
20310 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20311
20312         * configure.ac:
20313           hunting season on 0.9 is now OPEN