win32/vs8/grammar.vcproj: Error out with a warning if glib-genmarshal.exe is not...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
2
3         Patch by: Marcus Granado  <mrc dot gran at gmail com>
4
5         * win32/vs8/grammar.vcproj:
6           Error out with a warning if glib-genmarshal.exe is not in path,
7           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
8
9 2006-10-13  Wim Taymans  <wim@fluendo.com>
10
11         * gst/gstsegment.c: (gst_segment_set_seek):
12         When seeking to stop -1, set last_stop (current position) to the
13         duration of the segment.
14
15 2006-10-13  Wim Taymans  <wim@fluendo.com>
16
17         * gst/gstelement.h:
18         Clarify _NO_PREROLL a bit more.
19
20         * gst/gstevent.c:
21         Fix docs.
22
23         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
24         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
25         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
26         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
27         due to wrong locking order. Fixes #361769.
28         Remove some redundant/misplaced checks in pad_block.
29
30         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
31         For negative rates, count backwards from the duration.
32
33 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
34
35         * gst/gsterror.c: (_gst_library_errors_init):
36           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
37           up with something better).
38
39 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
40
41         * win32/vs6/libgstreamer.dsp:
42         * win32/vs7/libgstreamer.vcproj:
43         * win32/vs8/libgstreamer.vcproj:
44           Don't reference glib-compat.c which is currently not used and not
45           disted; add gstquark.c which was recently added. Fixes #361730.
46
47 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
48
49         * win32/common/libgstbase.def:
50         * win32/common/libgstcontroller.def:
51         * win32/common/libgstreamer.def:
52           Add gst_caps_merge() and a bunch of other recently-added functions.
53           Fixes #361732.
54
55 2006-10-11  Wim Taymans  <wim@fluendo.com>
56
57         * docs/plugins/gstreamer-plugins.args:
58         * docs/plugins/inspect/plugin-coreelements.xml:
59         * docs/plugins/inspect/plugin-coreindexers.xml:
60         Update element args.
61
62         * gst/gstsystemclock.c:
63         Small comment update.
64
65         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
66         (gst_tee_request_new_pad), (gst_tee_release_pad),
67         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
68         (gst_tee_sink_activate_pull):
69         * plugins/elements/gsttee.h:
70         Some tee loving:
71         Add default property defines.
72         Implement release pad function.
73         Give properties better blubs etc.
74         Activate pads before adding them to a running tee.
75         Do simple buffer_alloc on the first requested pad.
76         Post error when activation fails.
77
78 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
79
80         * gst/gst.c: (ensure_current_registry_forking):
81           Check return value of write() to make compiler happy.
82
83 2006-10-11  Wim Taymans  <wim@fluendo.com>
84
85         Patch by: Sjoerd Simons <sjoerd at luon dot net>
86
87         * plugins/elements/gstqueue.c: (gst_queue_chain):
88         Recheck queue filledness after signalling the overrun when we're about
89         to leak downstream because we released the lock when emitting the signal
90         and the queue could be empty again. Fixes #352345.
91
92 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
93
94         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
95           Fix refcounting here too, just like we did for _new_valist() a few
96           days ago (#357180) (thanks to René Stadler). Also remove all those
97           'Since: 0.9' from the gtk-doc blobs.
98
99         * tests/check/libs/controller.c: (controller_refcount_new_list),
100         (gst_controller_suite):
101           Unit test for the above.
102
103 2006-10-10  Wim Taymans  <wim@fluendo.com>
104
105         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
106
107         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
108         (gst_pad_save_thyself):
109         Update some docs.
110         Write pad direction in XML output. Fixes #345496.
111
112 2006-10-10  Wim Taymans  <wim@fluendo.com>
113
114         Patch by: René Stadler <mail at renestadler dot de>
115
116         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
117         (gst_controller_new_list), (_gst_controller_dispose),
118         (_gst_controller_finalize), (_gst_controller_class_init):
119         Take ref to controlled object so that it cannot disappear. 
120         Fixes #357432.
121
122 2006-10-10  Wim Taymans  <wim@fluendo.com>
123
124         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
125         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
126         (gst_check_teardown_sink_pad):
127         Activate/deactivate pads in setup/teardown respectively.
128
129 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
130
131         Patch by: Josep Torre Valles <josep@fluendo.com>
132
133         * gst/Makefile.am:
134         Cast values when making gstenumtypes.h.  This pacifies Forte
135         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
136         in the enumeration.
137
138 2006-10-09  Wim Taymans  <wim@fluendo.com>
139
140         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
141         Rename some more @cur to @start to fix docs. 
142
143         * gst/gstsegment.c: (gst_segment_set_seek):
144         Fix typo.
145         time and start must always stay in sync as defined in design doc.
146
147         * gst/gsttaglist.c: (gst_tag_list_is_empty):
148         Rename param to fix docs.
149
150         * tests/check/gst/gstsegment.c: (GST_START_TEST):
151         Check that start and time are in sync.
152
153         * tests/check/pipelines/parse-launch.c:
154         (gst_parse_test_element_change_state):
155         Activate pad before adding to the element.
156
157 2006-10-09  Wim Taymans  <wim@fluendo.com>
158
159         * docs/design/part-qos.txt:
160         Fix typo.
161
162         * gst/gstevent.c:
163         * gst/gstevent.h:
164         Update seek event docs regarding negative rates.
165         Rename @cur to @start. 
166
167         * gst/gstsegment.c: (gst_segment_set_seek):
168         * gst/gstsegment.h:
169         Update set_seek docs regarding negative rates.
170         Correctly update last_stop to @stop when dealing with negative
171         rates.
172         Rename @cur to @start. 
173
174         * tests/check/gst/gstpad.c: (GST_START_TEST):
175         Activate pads before trying to use them.
176
177         * tests/check/gst/gstsegment.c: (GST_START_TEST),
178         (gst_segment_suite):
179         Add simple check for segments and negative rates.
180
181 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
182
183         * gst/gsttaglist.c: (gst_tag_list_is_empty):
184         * gst/gsttaglist.h:
185         * docs/gst/gstreamer-sections.txt:
186           API: add gst_tag_list_is_empty() (#360467).
187
188         * tests/check/gst/gsttag.c: (GST_START_TEST):
189           And a test case.
190
191 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
192
193         * gst/gstmessage.h:
194         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
195         a value that doesn't fit on enumeration.
196
197 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
198
199         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
200         Remove local debugging system and use Gstreamer's instead.
201
202 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
203
204         Patch by: Josep Torre Valles <josep@fluendo.com>
205
206         * common/m4/gst-error.m4:
207         Disable warning of statement not reached on Forte.
208         * gst/gstmessage.h:
209         Fix warning on Forte (value doesn't fit on enumeration).
210         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
211         Fix warning on Forte (value doesn't fit on enumeration).
212         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
213         DEBUG macro says it takes minimum of 2 args and so Forte
214         complains about the use with just 1 arg.
215         * plugins/elements/gstfdsink.c:
216         * plugins/elements/gstfdsrc.c:
217         * plugins/elements/gstfilesink.c:
218         * plugins/elements/gstfilesrc.c:
219         Use correct return type for the uri handler implementations.
220
221         All these fix warnings in Forte.  Fixes bug #360860.
222
223 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
224
225         * gst/gstelement.h:
226           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
227           format string, so don't use G_GNUC_PRINTF for those versions.
228
229 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
230
231         * gst/gsttaglist.c: (gst_is_tag_list):
232         * gst/gsttaglist.h:
233           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
234
235         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
236           Small test for the above.
237
238 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
239
240         * gst/gsttaglist.h:
241           Less tabs, more spaces.
242
243 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
244
245         * gst/gstinfo.h:
246           Those two function declarations do actually belong there, revert
247           commit from yesterday that turned them intro macros.
248
249 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
250
251         Patch by: Josep Torre Valles <josep@fluendo.com>
252
253         * gst/gst.c: (gst_init_get_option_group):
254         Fix empty declaration and type mismatch.
255         * gst/gstbin.c: (gst_bin_change_state_func):
256         Fix type mismatch.
257         * gst/gstelement.c: (gst_element_continue_state),
258         (gst_element_set_state_func), (gst_element_change_state),
259         (gst_element_change_state_func):
260         Fix type mismatches.
261         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
262         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
263         Cast as appropriate.
264         * gst/gstobject.c: (gst_class_signal_connect):
265         Cast as appropriate.  The function pointer parameter really
266         has the wrong type but would break API if we change it.
267         * gst/gstquery.c:
268         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
269         order of including string.h.
270         * gst/gstutils.c: (gst_element_state_get_name):
271         Remove unreachable line.
272         * gst/gstxml.c: (gst_xml_parse_doc):
273         Fix type mismatch.
274         All these caught by Forte.
275
276 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
277
278         Patch by: Josep Torre Valles <josep@fluendo.com>
279
280         * common/m4/gst-error.m4:
281         Fixed bug #360151.
282         We need to disable warnings on Forte for empty declarations
283         due to gst-indent adding ;s to lines that just use macros
284         where the macro actually doesn't need a ; at end to end
285         statement.
286
287 2006-10-06  Wim Taymans  <wim@fluendo.com>
288
289         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
290         (gst_file_sink_close_file), (gst_file_sink_event),
291         (gst_file_sink_render):
292         Add some FIXME for the NEWSEGMENT handling.
293
294 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
295
296         * gst/parse/grammar.y:
297         Remove static function gst_parse_element_lock as all it does
298         is return.  Looks like cruft from 0.8.
299
300 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
301
302         Patch by: Josep Torre Valles <josep@fluendo.com>
303
304         * common/m4/gst-error.m4:
305         * configure.ac:
306         * libs/gst/net/Makefile.am:
307         Fix a compilation issue with Forte on Solaris.  inet_aton is in
308         libresolv.
309
310 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
311
312         * gst/gstpad.c: (pre_activate):
313         * gst/gstregistry.c: (gst_registry_scan_path_level):
314         * gst/gstregistryxml.c: (load_plugin):
315         * libs/gst/controller/gstcontroller.c:
316         (gst_controlled_property_set_interpolation_mode):
317         * libs/gst/dataprotocol/dataprotocol.c:
318         (gst_dp_packet_from_event_1_0):
319         * libs/gst/net/gstnetclientclock.c:
320         (gst_net_client_clock_observe_times):
321         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
322           Printf fixes.
323
324 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
325
326         * configure.ac:
327         * docs/gst/gstreamer-sections.txt:
328         * gst/gstconfig.h.in:
329         * gst/gstelement.h:
330         * gst/gstinfo.h:
331           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
332           whether we can use G_GNUC_PRINTF in other header files and at
333           least check the printf format/arguments of debug messages and
334           GST_ELEMENT_ERROR messages when the printf extension is not
335           being used.
336           Replace more tabs with spaces in gstinfo.h and remove two spurious
337           function declarations in GST_DISABLE_DEBUG part with macros.
338
339 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
340
341         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
342           More docs for the sync-message signal (mention that it is not
343           emitted by default); log message structures of messages posted on
344           the bus as well.
345
346 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
347
348         * gst/gst.c: (ensure_current_registry_forking):
349         Use a pipe pair to receive status results from the forked child, and
350         ignore the result from waitpid. Fixes #355499
351
352 2006-10-02  Wim Taymans  <wim@fluendo.com>
353
354         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
355         (gst_ghost_pad_suite):
356         Fix leak in check.
357
358 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
359
360         * gst/gstpad.c:
361           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
362
363 2006-10-02  Edward Hervey  <edward@fluendo.com>
364
365         * docs/design/part-block.txt:
366         Further explain the use of flushing on blocked pads.
367         * docs/gst/gstreamer-sections.txt:
368         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
369         (gst_pad_push_event):
370         * gst/gstpad.h:
371         Added new GstPadFlag : GST_PAD_BLOCKING.
372         Adds the notion of pads really blocking, which enables to properly
373         handle FLUSH_START/FLUSH_STOP events on blocked pads.
374         Fixes #358999
375         API: gst_pad_is_blocking()
376         API: GST_PAD_IS_BLOCKING() macro
377         API: GST_PAD_BLOCKING GstPadFlag
378         
379 2006-10-02  Wim Taymans  <wim@fluendo.com>
380
381         Patch by: mrcgran <mrc.gran at gmail dot com>
382
383         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
384         Filter the proxied caps against the padtemplate if we have one.
385
386         * gst/gstquery.c: (gst_query_new_segment):
387         Add include for gstinfo.h so that compilation with
388         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
389
390 2006-10-02  Wim Taymans  <wim@fluendo.com>
391
392         Patch by: Alessandro Decina  <alessandro at nnva org>
393
394         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
395         (gst_file_sink_set_location), (gst_file_sink_open_file),
396         (gst_file_sink_close_file), (gst_file_sink_event),
397         (gst_file_sink_render):
398         Set file to NULL when closing filesink so that we can set a new filename
399         in READY. Fixes #358613.
400
401 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
402
403         Patch by: Alessandro Decina  <alessandro at nnva org>
404
405         * gst/gstevent.c: (_gst_event_copy):
406           Fix gst_mini_object_make_writable() and gst_event_copy() for events
407           with event structures by setting the parent refcount address of the
408           copied structure to the address of the refcount member of the newly
409           copied event rather than the address of the refcount member of the
410           original event. Fixes #358737.
411
412         * tests/check/gst/gstevent.c: (GST_START_TEST):
413           Unit test for the above.
414
415 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
416
417         * docs/design/Makefile.am:
418           Dist some more files.
419
420 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
421
422         * tests/check/libs/controller.c: (GST_START_TEST),
423         (gst_controller_suite):
424           Add test for the previous fix; add some more tests
425           for correct refcounting behaviour; fix a few leaks
426           in test cases; call gst_controller_init() at start
427           of all tests.
428
429 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
430
431         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
432         (gst_controller_set_from_list):
433           Don't g_return_val_if_fail() on timed values with invalid timestamps
434           inside a critical section without unlocking the mutex. Spotted by
435           René Stadler. (#357617)
436           Also, fix up refcounting properly: when returning an existing
437           controller, we should increase the reference only once and not
438           once per property and when trying to control a property again
439           we should also increase the refcount.
440
441 2006-09-29  Wim Taymans  <wim@fluendo.com>
442
443         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
444         * libs/gst/net/gstnettimeprovider.c:
445         (gst_net_time_provider_thread):
446         Stop reading commands when EOF as well.
447
448         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
449         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
450         * plugins/elements/gstidentity.c: (gst_identity_class_init):
451         Unify description of the dump property.
452
453 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
454
455         * tests/examples/manual/.cvsignore:
456         OK, so it's actually cvsignore that needs changing. Stop laughing.
457
458 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
459
460         * tests/examples/manual/Makefile.am:
461         Gah, declare vars *before* using them
462
463 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
464
465         * gst/gst.c: (init_pre), (scan_and_update_registry),
466         (ensure_current_registry_nonforking),
467         (ensure_current_registry_forking), (ensure_current_registry),
468         (init_post), (gst_debug_help), (gst_deinit):
469         * gst/gst_private.h:
470         * gst/gstregistry.c: (gst_registry_finalize),
471         (gst_registry_remove_features_for_plugin_unlocked),
472         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
473         (gst_registry_scan_path),
474         (_priv_gst_registry_remove_cache_plugins),
475         (_priv_gst_registry_cleanup):
476         * gst/gstregistry.h:
477         Re-commit the registry changes, along with an extra fix:
478           When a cached plugin is encountered at a different file path,
479           update the stored path in the registry cache so that the parent
480           process knows where it actually is now when it re-reads the registry
481           cache. Fixes the thing that broke distcheck with the previous commit.
482
483         * tests/check/Makefile.am:
484         Clean up files named 'core' too when running make clean.
485
486         * tests/examples/manual/Makefile.am:
487         Set up a registry path for running these tests, and clean it properly
488         for distcheck.
489
490 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
491
492         * configure.ac:
493         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
494         want gmodule-no-export-2.0.pc instead so that we don't drag in
495         --export-dynamic on every project that links to GStreamer.
496
497         Also, make our export regex only match the start of symbols, rather 
498         than any symbol that contains '_gst' somewhere.
499
500         * libs/gst/check/Makefile.am:
501         The libgstcheck we build does however need export-dynamic, as it
502         produces some symbols that don't match our _gst... style regex.
503         Fixes: #318031
504
505 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
506
507         * gst/gst.c: (init_pre), (scan_and_update_registry),
508         (ensure_current_registry_nonforking),
509         (ensure_current_registry_forking), (ensure_current_registry),
510         (init_post), (gst_debug_help), (gst_deinit):
511         * gst/gst_private.h:
512         * gst/gstregistry.c: (gst_registry_finalize),
513         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
514         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
515         (_gst_registry_cleanup):
516         * gst/gstregistry.h:
517           Revert previous change until I figure out why it breaks distcheck.
518
519 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
520
521         * gst/gst.c: (init_pre), (scan_and_update_registry),
522         (ensure_current_registry_nonforking),
523         (ensure_current_registry_forking), (ensure_current_registry),
524         (init_post), (gst_debug_help), (gst_deinit):
525
526           Make init_pre and init_post take the full complement of GOptionFunc
527           args so they can return useful GErrors. Make the registry updating
528           functions do so.
529
530           Call _priv_gst_registry_remove_cache_plugins after scanning files to
531           ensure that the registry we're about to write out doesn't contain
532           stale information about old-deleted plugin files.
533
534           Make _priv_gst_registry_remove_cache_plugins return a boolean so
535           that deletion of plugin files is considered a registry change.
536
537         * gst/gst_private.h:
538         * gst/gstregistry.c: (gst_registry_finalize),
539         (gst_registry_remove_features_for_plugin_unlocked),
540         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
541         (gst_registry_scan_path),
542         (_priv_gst_registry_remove_cache_plugins),
543         (_priv_gst_registry_cleanup):
544         * gst/gstregistry.h:
545         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
546         by adding _priv prefix, so that they won't appear in the global
547         symbol table. They still do atm though because of #318031. Move the
548         prototypes to gst_private.h
549
550         When removing a plugin, remove all features for that plugin too. 
551         Fixes #340878.
552
553 2006-09-27  Wim Taymans  <wim@fluendo.com>
554
555         * docs/random/moving-plugins:
556         Make it clear that the "compiled-in descriptions" really mean
557         the element details.
558
559         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
560         (gst_base_sink_wait_preroll):
561         Update docs.
562
563         * docs/libs/gstreamer-libs-sections.txt:
564         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
565         (gst_base_src_get_range), (gst_base_src_activate_push):
566         * libs/gst/base/gstbasesrc.h:
567         Added function to block while waiting for PLAYING, this function
568         is used by live sources that block on the clock.
569         API: gst_base_src_wait_playing()
570
571 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
572
573         Patch by: Peter Kjellerstedt <pkj at axis com>
574
575         * Makefile.am:
576           gst-element-check.m4 is generated and should therefore be
577           copied from the build dir rather than the source dir (#357593).
578           'make distcheck' hasn't noticed this because we were disting
579           the file as well, so stop doing that.
580
581 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
582
583         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
584           Add some tests for gst_caps_intersect().
585
586         * tools/gst-launch.c: (event_loop):
587           Print all buffering percentages we get, even the 100% one.
588
589 2006-09-26  Wim Taymans  <wim@fluendo.com>
590
591         * tools/gst-inspect.c: (print_element_properties_info),
592         (print_signal_info):
593         Fix printing of flags to match the look of enums.
594
595 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
596
597         * gst/gstelementfactory.c:
598           Fix typo in docs blurb.
599
600 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
601
602         * gst/gsturi.c: (search_by_entry):
603           Don't assert/crash here if a uri handler doesn't return any
604           supported protocols. The list of protocols could be generated
605           dynamically at runtime or at plugin registration, and an error
606           in the underlying library shouldn't be fatal (#353301).
607
608 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
609
610         * gst/gstinfo.c:
611           Fix warning if HAVE_PRINTF_EXTENSION is undefined
612           (spotted by Peter Kjellerstedt).
613
614 2006-09-23  Wim Taymans  <wim@fluendo.com>
615
616         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
617
618         * libs/gst/base/gstbasesrc.c:
619         (gst_base_src_default_check_get_range), (gst_base_src_start),
620         (gst_base_src_activate_push), (gst_base_src_activate_pull),
621         (gst_base_src_change_state):
622         Match _start/_stop calls in the activate functions. Remove redundant
623         _stop call from the state change function. Fixes #356910.
624         Turn failure DEBUG into ERROR. 
625
626 2006-09-22  Wim Taymans  <wim@fluendo.com>
627
628         * docs/design/part-buffering.txt:
629         * gst/gstmessage.c: (gst_message_new_buffering),
630         (gst_message_parse_buffering):
631         Update docs about buffering.
632
633         * docs/design/part-trickmodes.txt:
634         Fix typo.
635
636 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
637
638         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
639         (gst_controller_new_list):
640           Ref instances when returning them again (fixes #357180)
641
642 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
643
644         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
645           Don't forget to release proxy lock when there's an error.
646
647 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
648
649         * gst/gstcaps.h:
650           Add extra initialisers for Caps things, to fix some plugin warnings
651           when using -Wextra
652
653 2006-09-18  Wim Taymans  <wim@fluendo.com>
654
655         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
656           Also set template on the internal pad so that a getcaps from the 
657           target pad returns the template caps.
658
659 2006-09-18  Wim Taymans  <wim@fluendo.com>
660
661         * gst/gstelement.c: (gst_element_post_message),
662         (gst_element_dispose):
663         Use _DEBUG_OBJECT some more.
664
665         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
666         Avoid typechecks.
667
668         * tools/gst-launch.c: (main):
669         If the toplevel element is not a GstPipeline, it must be put in a
670         pipeline so that a bus and clock is selected.
671
672 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
673
674         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
675           JITTER, RATE, and LATENCY query should be handled by the
676           default case and not by the CONVERT query code.
677
678 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
679
680         * gst/gstformat.c: (gst_format_register):
681           Fix locking order (must take lock before using n_values).
682
683         * gst/gstvalue.c: (gst_value_serialize_enum),
684         (gst_value_deserialize_enum_iter_cmp),
685         (gst_value_deserialize_enum):
686           Fix serialisation/deserialisation of custom registered GstFormats.
687
688         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
689           Unit test for custom format serialisation/deserialisation.
690
691 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
692
693         * docs/pwg/building-boiler.xml:
694         * plugins/elements/gstcapsfilter.c:
695         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
696         section.
697
698 2006-09-16  Edward Hervey  <edward@fluendo.com>
699
700         * libs/gst/base/gstbasetransform.c:
701         (gst_base_transform_buffer_alloc):
702         Check if requested caps are the same as the sinks caps IF
703         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
704         is FALSE.
705         This fixes the renegotiation issues stated in #352827.
706
707 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
708
709         * configure.ac:
710         * docs/manual/advanced-autoplugging.xml:
711         * tests/examples/Makefile.am:
712         * tests/examples/manual/.cvsignore:
713         * tests/examples/manual/Makefile.am:
714         * tests/examples/manual/extract.pl:
715           Extract the manual examples again like we used to do.
716           Fix one of them.
717
718 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
719
720         * win32/common/config.h:
721           update for version
722
723 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
724
725         * gst/gsterror.c:
726           Documents how to receive errors.
727
728 2006-09-15  Wim Taymans  <wim@fluendo.com>
729
730         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
731         (event_loop), (main):
732         Added some comments here and there.
733         Post an application message when an interrupt is caught instead of doing
734         an uncontrolled state change.
735         Clean up the event loop.
736         Handle buffering messages, pause/resume the pipeline.
737         Make shutdown because of an interrupt more reliable.
738
739 2006-09-15  Wim Taymans  <wim@fluendo.com>
740
741         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
742         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
743         (gst_base_sink_preroll_object):
744         Make sure that our internal state is correct when we commit our state
745         asynchronously. This solves a race where a state change to PLAYING
746         could cause the sink to remain blocked in preroll in some situations.
747
748 2006-09-15  Wim Taymans  <wim@fluendo.com>
749
750         * tools/gst-inspect.c: (print_element_properties_info),
751         (print_signal_info):
752         List flags as hex so it's easier to deal with.
753
754 2006-09-15  Wim Taymans  <wim@fluendo.com>
755
756         * docs/libs/gstreamer-libs-sections.txt:
757         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
758         (gst_base_sink_do_sync):
759         * libs/gst/base/gstbasesink.h:
760         Expose logic to wait for preroll so that subclasses such as audiosink
761         can also use this method.
762         API: gst_base_sink_wait_preroll()
763
764 2006-09-15  Wim Taymans  <wim@fluendo.com>
765
766         * gst/gstobject.c: (gst_object_set_parent):
767         * gst/gstpipeline.c: (do_pipeline_seek):
768         Small cleanups in docs and code.
769
770         * gst/gstsegment.c: (gst_segment_clip):
771         * tests/check/gst/gstsegment.c: (GST_START_TEST):
772         if stop == start and start is in the segment, no clipping should be
773         done. Also add a test for this.
774
775 2006-09-15  Wim Taymans  <wim@fluendo.com>
776
777         * docs/design/part-buffering.txt:
778         * docs/gst/gstreamer-sections.txt:
779         * gst/gstmessage.c: (gst_message_new_buffering),
780         (gst_message_parse_buffering):
781         * gst/gstmessage.h:
782         Added methods to create and parse BUFFERING messages.
783         Added preliminary docs about buffering.
784         API: gst_message_new_buffering
785         API: gst_message_parse_buffering
786
787 2006-09-06  Wim Taymans  <wim@fluendo.com>
788
789         * gst/gstbin.c:
790         Update documentation.
791
792         * gst/gstelement.c: (gst_element_class_init),
793         (gst_element_release_request_pad), (gst_element_set_clock),
794         (gst_element_get_index), (gst_element_add_pad),
795         (gst_element_remove_pad), (gst_element_get_random_pad),
796         (gst_element_send_event), (gst_element_get_query_types),
797         (gst_element_query), (gst_element_post_message),
798         (gst_element_message_full), (gst_element_continue_state),
799         (gst_element_lost_state), (gst_element_save_thyself),
800         (gst_element_restore_thyself):
801         Documentation updates.
802         Rename last bit of the new-pad -> pad-added signal rename.
803         Fix the case where an element query would only work if the source
804         pad was linked.
805         Avoid some useless type checking in message handling.
806
807         * gst/gstevent.c:
808         * gst/gstevent.h:
809         * gst/gstutils.c:
810         Documentation updates.
811
812 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
813
814         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
815           add an INFO line for when we actually update the fd
816
817 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
818
819         * configure.ac:
820           back to TRUNK
821
822 === release 0.10.10 ===
823
824 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
825
826         * configure.ac:
827           releasing 0.10.10, "Pais"
828
829 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
830
831         * docs/manual/advanced-position.xml:
832           Fix typo in sample code.
833
834 2006-09-05  Wim Taymans  <wim@fluendo.com>
835
836         * libs/gst/net/gstnetclientclock.c: (inet_aton),
837         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
838         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
839         * libs/gst/net/gstnetclientclock.h:
840         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
841         * libs/gst/net/gstnettimepacket.h:
842         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
843         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
844         (gst_net_time_provider_thread), (gst_net_time_provider_new):
845         * libs/gst/net/gstnettimeprovider.h:
846         Make stuff compile on windows. Fixes #345295.
847
848 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * gst/gst.c: (ensure_current_registry_forking):
851           Print better details when child was terminated by signal.
852
853 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
854
855         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
856           Print a warning rather than g_assert() if a plugin feature
857           is a URI handler but returns no protocols (#353976).
858
859 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
860
861         * docs/random/moving-plugins:
862         Fix two typos.         
863
864 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
865
866         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
867           Fix locking order, handle NULL function values properly.
868
869         * gst/gstinfo.h:
870           Fix docs.
871
872         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
873           Initialise variable before using it and fix debug statement to
874           print the address of the function rather than the address of the
875           variable on the stack holding the address of the function.
876
877 2006-09-01  Wim Taymans  <wim@fluendo.com>
878
879         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
880         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
881         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
882         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
883         (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_init), (gst_ghost_pad_dispose),
889         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
890         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
891         (gst_ghost_pad_new_no_target_from_template),
892         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
893         More cleanups.
894         Avoid needless typechecking in macros.
895         Since the internal pad is always present and never changes, there is
896         no need to locking or ref when retrieving it.
897         Improve debugging a bit.
898         Handle link errors when setting the target. Fixes #341029.
899
900 2006-09-01  Wim Taymans  <wim@fluendo.com>
901
902         * docs/libs/gstreamer-libs-sections.txt:
903         * docs/plugins/gstreamer-plugins-sections.txt:
904         Fix docs some more.
905
906         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
907         (gst_collect_pads_event):
908         * libs/gst/base/gstcollectpads.h:
909         Documentation updates.
910         Free queued buffer when removing a pad.
911
912 2006-08-31  Michael Smith  <msmith@fluendo.com>
913
914         * gst/gstutils.c: (gst_element_link_pads),
915         (gst_element_link_pads_filtered):
916           Ensure that we set a capsfilter to NULL if we failed to link it
917           when doing filtered linking, to avoid criticals.
918
919           No need to check for unreffing srcpad, which is explicly NULLed
920           above (a trivial code cleanup).
921
922 2006-08-31  Wim Taymans  <wim@fluendo.com>
923
924         * docs/design/part-gstghostpad.txt:
925         Update ascii art in documentation.
926
927         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
928         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
929         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
930         (gst_ghost_pad_internal_do_activate_push),
931         (gst_ghost_pad_internal_do_activate_pull),
932         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
933         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
934         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
935         (gst_ghost_pad_set_target):
936         Small cleanups and leak fixes.
937         Remove some checks now that the internal pad is never NULL.
938         Fix the case where linking pads without a target would create nasty
939         criticals. Fixes #341029.
940         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
941         value of _set_target().
942
943         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
944         (gst_ghost_pad_suite):
945         Some more tests for creating and linking untargeted ghostpads.
946
947 2006-08-31  Edward Hervey  <edward@fluendo.com>
948
949         * docs/gst/gstreamer-sections.txt:
950         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
951         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
952         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
953         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
954         (gst_ghost_pad_new_from_template),
955         (gst_ghost_pad_new_no_target_from_template):
956         * gst/gstghostpad.h:
957         Refactored *_new() functions.
958         Templates are now used as a g_object_new() parameter.
959         Use template in _do_getcaps() if we don't have a target.
960         Small documentation cleanups.
961         Added two new constructors:
962         gst_ghost_pad_new_from_template()
963         gst_ghost_pad_new_no_target_from_template()
964         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
965         (gst_ghost_pad_suite):
966         Added tests for new ghostpad instanciation functions.
967
968         API additions: gst_ghost_pad_new_from_template,
969         gst_ghost_pad_new_no_target_from_template
970
971 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
972
973         * docs/random/ensonic/profiling.txt:
974           Ideas about qos profiling.
975
976 2006-08-29  Wim Taymans  <wim@fluendo.com>
977
978         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
979         Code cleanups.
980         Fix memleak.
981
982 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
983
984         * gst/gstxml.c:
985           Improve and detypofy docs.
986
987         * tests/check/Makefile.am:
988         * tests/check/gst/.cvsignore:
989         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
990           Add a basic test suite for GstXML.
991
992 2006-08-29  Wim Taymans  <wim@fluendo.com>
993
994         * gst/gstelement.c: (activate_pads), (clear_caps),
995         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
996         Clear the pad caps when the element shut down all of the pads and
997         is not streaming data that could modify the caps. 
998         Fixes #352958.
999
1000 2006-08-28  Michael Smith  <msmith@fluendo.com>
1001
1002         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1003           Revert previous change; I misunderstood single-segment mode.
1004
1005 2006-08-28  Michael Smith  <msmith@fluendo.com>
1006
1007         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1008           Unset DISCONT on buffers when using single-segment mode.
1009
1010 2006-08-28  Wim Taymans  <wim@fluendo.com>
1011
1012         * gst/gstcaps.c: (gst_caps_merge_structure):
1013         * gst/gstcaps.h:
1014         Fix docs and indentation again.
1015
1016         * tests/check/gst/gstquery.c: (GST_START_TEST):
1017         Fix leak in tests and add some more tests.
1018
1019 2006-08-28  Edward Hervey  <edward@fluendo.com>
1020
1021         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1022         Inform GstSegment of the last stop position in order for the current
1023         segment to have a proper duration if it doesn't have a specific stop
1024         position from which a duration could be calculated.
1025         This bug was noticeable when a non-flushing, non-update new segment was
1026         followed by another segment (all buffers from the new segment were being
1027         dropped).
1028
1029 2006-08-28  Wim Taymans  <wim@fluendo.com>
1030
1031         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1032         Small comment update.
1033
1034         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1035         (gst_identity_transform_ip):
1036         Drop-probability is broken, mention this in the code with a 
1037         FIXME and also in the property description.
1038         Make silent also be silent about the drop messages.
1039
1040 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
1041
1042         * docs/manual/appendix-win32.xml:
1043           Remove mention of popt, we don't depend on that any
1044           longer (#353136). Add some comments pointing out that
1045           this section is slightly outdated.
1046
1047 2006-08-28  Wim Taymans  <wim@fluendo.com>
1048
1049         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1050
1051         * gst/gstquery.c: (gst_query_new_segment):
1052         * tests/check/gst/gstquery.c: (GST_START_TEST):
1053         Initialize variables when creating a new segment query.
1054         Fixes #353121.
1055
1056 2006-08-28  Wim Taymans  <wim@fluendo.com>
1057
1058         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1059
1060         * gst/gstelement.c: (gst_element_get_bus):
1061         * tests/check/gst/gstelement.c: (GST_START_TEST):
1062         Check for NULL before _reffing the bus. Fixes #353122.
1063
1064 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
1065
1066         * docs/manual/basics-bus.xml:
1067           Docs update: fix wrong callback return value explanation; add
1068           some lines about the implicit relationship between main loop
1069           and main context; remove duplicate main loop variable declaration.
1070
1071 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
1072
1073         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1074           Don't leak caps in unit test; add a few more simple
1075           checks. 
1076
1077 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
1078
1079         * docs/gst/gstreamer-sections.txt:
1080         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1081         (gst_caps_structure_is_subset), (gst_caps_merge),
1082         (gst_caps_merge_structure):
1083         * gst/gstcaps.h:
1084         * libs/gst/base/gstbasetransform.c:
1085         (gst_base_transform_transform_caps):
1086         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1087           implement caps merging (fixes #352580)
1088
1089 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * tools/Makefile.am:
1092         * tools/gst-plot-timeline.py:
1093           add debug-log plotting developer tool (#340674)
1094
1095 2006-08-23  Wim Taymans  <wim@fluendo.com>
1096
1097         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1098         (gst_pad_stop_task):
1099         Improve debugging for task functions.
1100
1101         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1102         (gst_task_start), (gst_task_pause), (gst_task_join):
1103         Make sure that the task function started and finished after a 
1104         join(). 
1105         Don't try to push the task function on the threadpool multiple
1106         times.
1107         Improve the g_warning message with some useful suggestions
1108         about how to fix the problem. 
1109
1110 2006-08-23  Wim Taymans  <wim@fluendo.com>
1111
1112         * gst/gstutils.c: (gst_pad_proxy_getcaps):
1113         Handle RESYNC correctly in _proxy_getcaps.
1114
1115 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
1116
1117         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1118         (gst_xml_parse_memory), (gst_xml_get_element):
1119           Chain up to parent class in dispose function and also
1120           unref the elements in the toplevel_elements GList.
1121           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1122           Always return a reference in gst_xml_get_element() rather
1123           than only sometimes.
1124
1125         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1126           Don't leak GstXml object.
1127
1128 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
1129
1130         * docs/gst/gstreamer-sections.txt:
1131         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1132         (gst_caps_merge):
1133         * gst/gstcaps.h:
1134         * libs/gst/base/gstbasetransform.c:
1135         (gst_base_transform_transform_caps):
1136           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1137           in a better way
1138
1139 2006-08-21  Edward Hervey  <edward@fluendo.com>
1140
1141         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1142         Implement GObject::dispose virtual method in GstXML so we can free the
1143         top_elements GList.
1144
1145 2006-08-21  Wim Taymans  <wim@fluendo.com>
1146
1147         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1148         (gst_buffer_create_sub):
1149         Copy duration/offset_end/caps when creating a subbuffer of the
1150         complete parent.
1151         Make the subbuffer read-only when we make the metadata writable for
1152         now. Fixes #351768.
1153
1154         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1155         Added check for metadata copy when creating subbuffers.
1156
1157 2006-08-21  Edward Hervey  <edward@fluendo.com>
1158
1159         * libs/gst/base/gstbasetransform.c:
1160         (gst_base_transform_buffer_alloc):
1161         Only call downstream buffer_alloc if transform element is passthrough
1162         or always_in_place. Closes #350449.
1163
1164 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1165
1166         * ChangeLog:
1167           ChangeLog surgery to add comments to previous changes
1168
1169 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1170
1171         * gst/gst.c:
1172           Add comments
1173
1174         * gst/gstpad.c: (gst_pad_set_active):
1175           Be more verbose in the log
1176
1177         * libs/gst/base/gstbasetransform.c:
1178         (gst_base_transform_transform_caps):
1179           Simplify caps to get rid of duplicates, fixes #345444
1180
1181 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1182
1183         * gst/gstvalue.c:
1184         * gst/gstvalue.h:
1185           Use these optimizations only internally.
1186
1187 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * gst/gstvalue.c: (gst_value_compare_list),
1190         (gst_value_compare_fraction_range),
1191         (gst_value_intersect_fraction_fraction_range),
1192         (gst_value_intersect_fraction_range_fraction_range),
1193         (gst_value_subtract_fraction_fraction_range),
1194         (gst_value_subtract_fraction_range_fraction_range),
1195         (gst_value_get_compare_func), (gst_value_compare),
1196         (gst_value_compare_with_func):
1197         * gst/gstvalue.h:
1198           Saves the expensive lookup of the compare function in many cases
1199          (#345444)
1200
1201 2006-08-18  Edward Hervey  <edward@fluendo.com>
1202
1203         * tests/check/gst/gstinfo.c: (gst_info_suite):
1204         Disable test that require gstdebug if it wasn't built in core.
1205
1206 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1207
1208         * docs/random/ensonic/logging.txt:
1209           update ideas
1210           
1211         * gst/gstinfo.c: (gst_debug_log_default):
1212           reorder fields, save some columns, add optional color codes for log
1213           levels
1214
1215 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1216
1217         * docs/random/ensonic/logging.txt:
1218           add ideas about making the logs a bit more useful
1219
1220 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1221
1222         * docs/pwg/advanced-events.xml:
1223         * docs/pwg/titlepage.xml:
1224           Update for 0.10 API (#340627). Add myself
1225           to authors list.
1226
1227 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1228
1229         * docs/libs/gstreamer-libs-docs.sgml:
1230         * docs/libs/gstreamer-libs-sections.txt:
1231         * libs/gst/check/gstbufferstraw.c:
1232           Make gstcheck stuff show up in docs (still needs to
1233           be documented properly though).
1234
1235 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
1236
1237         * docs/gst/gstreamer-sections.txt:
1238         * gst/Makefile.am:
1239         * gst/gst.c: (init_post):
1240         * gst/gst_private.h:
1241         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1242         * gst/gstquark.h:
1243         * gst/gstquery.c: (gst_query_new_position),
1244         (gst_query_set_position), (gst_query_parse_position),
1245         (gst_query_new_duration), (gst_query_set_duration),
1246         (gst_query_parse_duration), (gst_query_new_convert),
1247         (gst_query_set_convert), (gst_query_parse_convert),
1248         (gst_query_new_segment), (gst_query_set_segment),
1249         (gst_query_parse_segment), (gst_query_new_seeking),
1250         (gst_query_set_seeking), (gst_query_parse_seeking):
1251         Add internal helpers for pre-registering quarks from static strings
1252         and using the quark values directly instead of looking them up when
1253         creating and parsing queries. Can be used for event construction too.
1254         Closes #350432.
1255
1256 2006-08-16  Wim Taymans  <wim@fluendo.com>
1257
1258         * gst/gstbin.c:
1259         Fix bogus docs.
1260
1261 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1262
1263         * gst/gstutils.c: (gst_util_set_value_from_string):
1264           Fix memleak (#351502).
1265
1266         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1267           Add unit test for most of gst_util_set_value_from_string()
1268           (not that one would want to encourage use of this function).
1269
1270 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1271
1272         * libs/gst/check/gstcheck.h:
1273           Use const gchar * variables in fail_unless_equals_string
1274           macro to avoid compiler warnings (and don't use tabs for
1275           indenting).
1276
1277 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1278
1279         * tools/gst-launch.c: (print_tag):
1280           More space on the left for the tag names, to cater
1281           for the 'extended comment' tag (not touching the
1282           string for the first line since it's translated).
1283
1284 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1285
1286         * libs/gst/check/gstcheck.h:
1287           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1288           print something when they fail.
1289
1290 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1291
1292         * docs/gst/gstreamer-sections.txt:
1293         * gst/gsttaglist.c: (_gst_tag_initialize):
1294         * gst/gsttaglist.h:
1295           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1296           Also change merge function for GST_TAG_COMMENT to
1297           use_first.
1298
1299 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1300
1301         * gst/gstinfo.c: (gst_debug_print_object):
1302           Make GST_PTR_FORMAT print messages as well.
1303
1304         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1305         (GST_START_TEST), (gst_info_suite):
1306           More tests.
1307
1308 2006-08-14  Edward Hervey  <edward@fluendo.com>
1309
1310         * gst/gstelementfactory.c: (gst_element_register):
1311         If the GstElementClass doesn't have a GstElementDetails with all fields
1312         filled up correctly (longname, description AND author), then error out
1313         nicely instead of crashing.
1314
1315 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1316
1317         * gst/gststructure.c:
1318           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1319
1320         * gst/gstvalue.h:
1321           Expand on the difference between arrays and lists as we use them.
1322           
1323 2006-08-14  Wim Taymans  <wim@fluendo.com>
1324
1325         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1326         If the parent state change function failed, don't assume we can safely
1327         stop the source, this will be done when the pads are deactivated.
1328
1329 2006-08-14  Wim Taymans  <wim@fluendo.com>
1330
1331         * gst/gstbuffer.c:
1332         * gst/gsttask.c: (gst_task_join):
1333         Small doc updates.
1334
1335         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1336         (gst_pad_stop_task):
1337         When pad (de)activation failed for some reason, restore the old
1338         activation mode and set the pad to flushing instead of assuming the
1339         pad is deactivated.
1340         If the _task_join() failed, reinstall the task on the pad so that it can
1341         be stopped later and return an error.
1342
1343 2006-08-11  Andy Wingo  <wingo@pobox.com>
1344
1345         * configure.ac:
1346         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1347         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1348         is only for users of API that don't want to see deprecated
1349         functions in the headers; people that want to compile out
1350         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1351         CFLAGS. Fixes the build of multifdsink, or will soon..
1352
1353 2006-08-11  Wim Taymans  <wim@fluendo.com>
1354
1355         * docs/gst/gstreamer-sections.txt:
1356         Add GstClockClass vmethod docs.
1357
1358         * gst/gstcaps.h:
1359         Mark #endif with comment for associated #if
1360
1361         * gst/gstclock.c: (gst_clock_id_wait):
1362         * gst/gstclock.h:
1363         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1364         most clock implementations.
1365         Document vmethods.
1366         Flesh out docs about resolution methods.
1367         API: GstClockClass::wait_jitter
1368
1369         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1370         (gst_system_clock_async_thread),
1371         (gst_system_clock_id_wait_jitter_unlocked),
1372         (gst_system_clock_id_wait_jitter):
1373         Use base class wait_jitter variant for improved performance
1374         due to less clock polling.
1375
1376 2006-08-11  Edward Hervey  <edward@fluendo.com>
1377
1378         * gst/gst.c: (gst_init_check), (init_post):
1379         Set gst as being initialized before scanning/updating the registry,
1380         since there might be my python plugin loader that calls gst_init() and
1381         we don't want to loop back in.
1382         Closes #350879
1383
1384 2006-08-11  Wim Taymans  <wim@fluendo.com>
1385
1386         * docs/design/part-qos.txt:
1387         Bring docs in line with the code. Mostly the sign of the jitter was
1388         wrong in the docs. Fixes #349943.
1389
1390         * gst/gstclock.c:
1391         Fix the docs for the jitter.
1392
1393         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1394         (gst_event_parse_tag), (gst_event_new_buffer_size),
1395         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1396         (gst_event_new_seek), (gst_event_parse_seek),
1397         (gst_event_new_navigation):
1398         Make sure the GstStructure has no parent when creating custom
1399         events.
1400         Add some more argument checking so that we avoid 0.0 rates.
1401         Flesh out the docs for the QoS event some more.
1402
1403 2006-08-11  Wim Taymans  <wim@fluendo.com>
1404
1405         * docs/gst/gstreamer-sections.txt:
1406         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1407         (ensure_current_registry_forking), (ensure_current_registry),
1408         (parse_one_option), (parse_goption_arg), (gst_deinit),
1409         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1410         * gst/gst.h:
1411         Doc updates.
1412         Added API and command line option to disable registry forking in
1413         addition to the environment variable.
1414         Constify some static arrays.
1415         Added some more debug.
1416         Don't deinit twice.
1417         API: gst_registry_fork_is_enabled()
1418         API: gst_registry_fork_set_enabled()
1419         API: --gst-disable-registry-fork command line option
1420         Fixes #348918.
1421
1422 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1423
1424         * gst/gst.c: (gst_init):
1425           Fix typo in error message.
1426
1427 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1428
1429         * libs/gst/controller/gstcontroller.h:
1430           fix ABI size-correction
1431
1432         * tests/check/libs/gdp.c: (gst_dp_suite):
1433           make tests that use deprecated API conditional
1434
1435 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1436
1437         * docs/libs/gstreamer-libs-sections.txt:
1438         * libs/gst/controller/gstcontroller.c:
1439         (_gst_controller_get_property), (_gst_controller_set_property),
1440         (_gst_controller_init), (_gst_controller_class_init):
1441         * libs/gst/controller/gstcontroller.h:
1442         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1443         (gst_object_set_control_rate):
1444           API: add gst_object_{s,g}et_control_rate(), add private data section,
1445           fix docs
1446
1447         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1448         * libs/gst/dataprotocol/dataprotocol.h:
1449           add deprecation guards to make gtk-doc happy and allow disabling cruft
1450
1451 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1452
1453         * tests/check/Makefile.am:
1454         * tests/check/gst/.cvsignore:
1455           Let's enable the new unit test as well.
1456
1457 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1458
1459         * configure.ac:
1460         * docs/gst/gstreamer-sections.txt:
1461         * gst/gstconfig.h.in:
1462         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1463         (_gst_info_printf_extension_ptr),
1464         (_gst_info_printf_extension_segment):
1465           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1466           register that lets us easily dump GstSegments into debug
1467           logs (#350419).
1468
1469         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1470         (info_segment_format_printf_extension), (gst_info_suite):
1471           Add simple unit test that logs a bunch of different segments (not
1472           valgrinded at the moment because of leaks in
1473           gst_debug_add_log_function).
1474
1475 2006-08-09  Edward Hervey  <edward@fluendo.com>
1476
1477         * libs/gst/base/gstbasetransform.c:
1478         (gst_base_transform_buffer_alloc):
1479         Even if we can't figure out the proper format to request downstream,
1480         call buffer_alloc() downstream with the input parameters without setting
1481         the caps on the srcpad. This will force negotiation in the chain
1482         function.
1483         Closes #350449
1484
1485 2006-08-08  Edward Hervey  <edward@fluendo.com>
1486
1487         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1488         Unlinking from a pad without a target is now a perfectly valid case
1489         which should NOT raise an assertion.
1490         This case would happen if a linked ghostpad its target set to NULL after
1491         it was previously linked.
1492
1493 2006-08-08  Edward Hervey  <edward@fluendo.com>
1494
1495         * tests/check/libs/gdp.c:
1496         Also comment out the test (see below).
1497
1498 2006-08-08  Edward Hervey  <edward@fluendo.com>
1499
1500         * tests/check/libs/gdp.c: (gst_dp_suite):
1501         Use the architecture information from config.h and not gcc macros
1502         in order to properly disable a test that fails on PPC64.
1503
1504 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1505
1506         * gst/gstelement.c: (gst_element_remove_pad):
1507           Don't crash printing the warning if the pad has no parent.
1508
1509 2006-08-02  Wim Taymans  <wim@fluendo.com>
1510
1511         * libs/gst/dataprotocol/dataprotocol.c:
1512         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1513         (gst_dp_crc), (gst_dp_header_payload_length),
1514         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1515         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1516         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1517         (gst_dp_event_from_packet), (gst_dp_validate_header),
1518         (gst_dp_validate_payload):
1519         Make debug category static
1520         Constify the crc table.
1521         Do some more arg checking in public functions.
1522         Fix some docs and do some small cleanups.
1523
1524         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1525         Add some more checks to see if GDP deals with bogus input.
1526
1527 2006-07-31  Wim Taymans  <wim@fluendo.com>
1528
1529         * gst/gstvalue.c: (gst_value_compare_list):
1530         Fix GstValueList comparison code. Fixes #347293.
1531
1532         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1533         Check to test GstValueList comparison.
1534
1535 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1536
1537         * gst/gstelementfactory.c: (gst_element_factory_create):
1538         Remove unnecessary ref/unref pair
1539
1540         * gst/parse/grammar.y:
1541         Make sure to free the parse buffer on all code paths.
1542         Move a g_free up to the error handler where it's easier to see.
1543
1544         * tests/check/gst/gstevent.c: (test_event):
1545         Extending timeout for downstream travelling events to 10 seconds to
1546         hopefully avoid intermittent failure on the buildbots.
1547
1548         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1549         Don't manually set the state of the src element - it will happen as a
1550         natural consequence of the pipeline changing state, and that way it
1551         will do it in the right order too.
1552
1553 2006-07-31  Wim Taymans  <wim@fluendo.com>
1554
1555         * libs/gst/base/gstbasetransform.c:
1556         (gst_base_transform_buffer_alloc):
1557         Use OBJECT_LOCK and refcounting to get the pad caps in the
1558         buffer_alloc function because the caps could change while we are
1559         busy with them. Fixes #349105
1560
1561 2006-07-31  Wim Taymans  <wim@fluendo.com>
1562
1563         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1564         Protect _PAD_CAPS with OBJECT_LOCK.
1565
1566 2006-07-31  Wim Taymans  <wim@fluendo.com>
1567
1568         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1569         (gst_pad_get_property), (gst_pad_activate_pull),
1570         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1571         (gst_pad_set_activate_function),
1572         (gst_pad_set_activatepull_function),
1573         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1574         (gst_pad_set_getrange_function),
1575         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1576         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1577         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1578         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1579         (gst_pad_set_acceptcaps_function),
1580         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1581         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1582         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1583         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1584         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1585         (gst_pad_configure_sink), (gst_pad_configure_src),
1586         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1587         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1588         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1589         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1590         (gst_pad_send_event):
1591         Use _DEBUG_OBJECT when it makes sense.
1592         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1593         Small cleanups and code reflows.
1594         Avoid caps refcounting in _accept_caps.
1595         Refactor alloc_buffer so that the code performed on the peer is in a
1596         separate function. Also if the pad does not implement a buffer alloc
1597         function, we should still check if the pad is flushing before falling
1598         back to the default allocator.
1599
1600 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1601
1602         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1603         Make all uses of identity and fakesink have silent=true to avoid
1604         serialising every passing data structure, which is breaking tests
1605         on FC4 for some unknown reason.
1606
1607 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1608
1609         * gst/parse/Makefile.am:
1610         * gst/parse/grammar.y:
1611         * gst/parse/parse.l:
1612           Reverted previous patch as it required to bump the flex dependency to
1613           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1614
1615 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1616
1617         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1618
1619         * gst/parse/Makefile.am:
1620         * gst/parse/grammar.y:
1621         * gst/parse/parse.l:
1622           push & pop the state of the lexer for reentrant use case
1623           Fixes #349180
1624
1625 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1626
1627         * libs/gst/base/gstbasesrc.h:
1628           Note in the docs that the ::newsegment vfunc is not actually used by
1629           GstBaseSrc.
1630
1631 2006-07-28  Wim Taymans  <wim@fluendo.com>
1632
1633         * libs/gst/base/gstcollectpads.c:
1634         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1635         (gst_collect_pads_clear), (gst_collect_pads_flush),
1636         (gst_collect_pads_event), (gst_collect_pads_chain):
1637         When flushing a pad, also clear the queued buffer so that we don't
1638         accidentally use it when we shouldn't.
1639         Fix leaks by inreffing incomming buffer.
1640         Flush out queued buffers in case of errors.
1641         Fixes #347452.
1642
1643 2006-07-28  Wim Taymans  <wim@fluendo.com>
1644
1645         * docs/random/phonon-gst:
1646         Random notes about a Phonon backend.
1647
1648 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1649
1650         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1651         Extra debug output
1652         * tests/check/libs/gdp.c: (gst_dp_suite):
1653         Take a whack at fixing the ppc compile using a different define to
1654         disable the broken test.
1655
1656         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1657         Remove excess g_print()
1658
1659 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1660
1661         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1662         Oops, meant to uncomment this line too to dampen the noise a bit.
1663
1664 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1665
1666         * gst/parse/grammar.y:
1667         * gst/parse/parse.l:
1668         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1669         (GST_START_TEST), (parse_suite):
1670         Fix some of the leaks exposed by extending the parse-launch testsuite,
1671         and move the 3 I can't figure out into a separate test that won't run
1672         the pipelines unless the appropriate line is uncommented.
1673
1674 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1675
1676         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1677           Requesting 0 bytes before the end of the file should result in
1678           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1679           unit test.
1680
1681 2006-07-27  Wim Taymans  <wim@fluendo.com>
1682
1683         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1684         Fix useless assert, a uint is always positive.
1685
1686         * gst/gststructure.c: (gst_structure_nth_field_name),
1687         (gst_structure_foreach), (gst_structure_map_in_place):
1688         Check input arguments for public functions to avoid obvious crashes.
1689
1690         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1691         * plugins/elements/gstfakesink.h:
1692         Do less useless typechecking.
1693
1694 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1695
1696         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1697           Do not use mmap() by default since there are a number of error
1698           conditions that we would like to handle in a non-fatal way that
1699           will result in a SIGBUS if we use mmap(). Examples: external
1700           devices (USB harddrive, portable music player) being unplugged
1701           while in use; file on mounted CD/DVD that can't be read because
1702           the medium is partly damaged. Fixes #348455 and #348475.
1703
1704 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1705
1706         * gst/gstquery.h:
1707         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1708         rates are a gdouble
1709
1710 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1711
1712         * gst/gstregistry.c:
1713           Move big documentation comment into class section header, so that it
1714           appears in the API docs.
1715
1716 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1717
1718         * docs/gst/gstreamer-sections.txt:
1719         Oops. Commit the docs additions too for new API.
1720         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1721
1722 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1723
1724         * gst/gststructure.c: (gst_structure_id_set),
1725         (gst_structure_id_set_valist):
1726         * gst/gststructure.h:
1727         Add API for setting values into structures without performing
1728         a quark lookup, if the appropriate quark is already known.
1729
1730         API: gst_structure_id_set
1731         API: gst_structure_id_set_valist
1732
1733         * gst/parse/grammar.y:
1734         * gst/parse/parse.l:
1735         Remove some dead code shown by the coverage information.
1736         Don't throw a critical g_warning when encountering a syntax error,
1737         just warn and let the normal error path handle it.
1738
1739         * plugins/elements/gstelements.c:
1740         Bump the rank of filesink up to PRIMARY so that it is preferred over
1741         gnomevfssink for file:// sink uri's
1742
1743         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1744         (GST_START_TEST), (run_delayed_test),
1745         (gst_parse_test_element_base_init),
1746         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1747         (gst_parse_test_element_change_state),
1748         (gst_register_parse_element), (parse_suite):
1749         Beef up the tests for parse syntax to check that more error cases
1750         fail as they are supposed to. Increases the test coverage a bit.
1751
1752 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1753
1754         * docs/manual/basics-elements.xml:
1755           Fix gst_element_link() example.
1756
1757         * gst/gstutils.c:
1758           Mention in API docs that one should usually gst_bin_add()
1759           elements to a bin or pipeline before doing the linking.
1760           
1761 2006-07-26  Wim Taymans  <wim@fluendo.com>
1762
1763         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1764         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1765         Avoid function call for known types by keeping the buffer and
1766         subbuffer GType global.
1767
1768         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1769         Random silly optimisations in read() path.
1770
1771 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1772
1773         * tools/gst-launch.c: (main):
1774           If the top-level of the parse is a normal bin, it doesn't do the
1775           right logic to run as a top-level element, so place it inside a
1776           pipeline.
1777
1778 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1781           Remove superfluous g_object_notify() calls, GObject does
1782           that for us automatically.
1783
1784 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1785
1786         * gst/gstinfo.h:
1787           on Win32, use dllspec to export the debug category symbols
1788
1789 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1790
1791         * gst/gsttaglist.c: (_gst_tag_initialize):
1792           Allow more than one GST_TAG_IMAGE per taglist.
1793
1794 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1795
1796         * gst/gstminiobject.c:
1797           update docs
1798         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1799         (gst_fd_src_create):
1800           log recurring events at LOG level
1801           add more debug for when the fd gets set
1802
1803 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1804
1805         * gst/gstparse.c: (gst_parse_launch):
1806           Also remove reentrance checks if flex is MT safe (#348179)
1807          Fix my empty ChangeLog entry below
1808
1809 2006-07-21  Andy Wingo  <wingo@pobox.com>
1810
1811         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1812
1813         * libs/gst/check/Makefile.am
1814         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1815         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1816         * libs/gst/check/gstbufferstraw.h:
1817         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1818         functions, thus proving I am still a GStreamer haxor. OK I wrote
1819         them a long time ago, but anyways.
1820
1821 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1822
1823         * configure.ac:
1824         * gst/gstparse.c: (gst_parse_launch):
1825           Check for flex version and omit mutex if we have a MT save flex
1826           (fixes #348179)
1827
1828 2006-07-21  Wim Taymans  <wim@fluendo.com>
1829
1830         * gst/gstparse.c: (gst_parse_launch):
1831         Protect recursive calls to _parse with a recursive mutex
1832         and busy flag.
1833
1834 2006-07-21  Wim Taymans  <wim@fluendo.com>
1835
1836         * tests/check/gst/gstpad.c: (GST_START_TEST):
1837         Fix leak in test.
1838
1839 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1840
1841         * gst/gstparse.c: (gst_parse_launch):
1842           Do not hang on recursive usage of gst_parse_launch()
1843
1844 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1845
1846         * gst/gsttaglist.c:
1847           Add some more docs, comments and FIXME 0.11s here and there
1848           and also fix some typos.
1849
1850 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * gst/gstsegment.h:
1853           Convert tabs to spaces for better readability. 
1854
1855 2006-07-20  Edward Hervey  <edward@fluendo.com>
1856
1857         * tests/check/libs/gdp.c: (gst_dp_suite):
1858         the test_buffer test fails at line 140 on ppc64 at the following
1859         check:
1860         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1861                 GST_BUFFER_FLAG_IN_CAPS),
1862                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1863         See bug #348114 for more details.
1864
1865 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1866
1867         * docs/pwg/advanced-scheduling.xml:
1868         * gst/gstpad.c:
1869           Fix typos (#348000).
1870
1871 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1872
1873         * docs/pwg/intro-basics.xml:
1874           Fix wrong links (#347927).
1875
1876 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1877
1878         * gst/gstregistry.h:
1879         * gst/gstregistryxml.c: (load_feature),
1880         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1881         * win32/common/config.h:
1882           make --disable-index work (#342564)
1883
1884 2006-07-18  Wim Taymans  <wim@fluendo.com>
1885
1886         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1887
1888         * gst/Makefile.am:
1889         * gst/gsttrace.h:
1890         The attached patch adds two missing defines to gsttrace.h when tracing
1891         is disabled.  It also corrects one existing define.
1892         Fixes #347756.
1893
1894 2006-07-17  Wim Taymans  <wim@fluendo.com>
1895
1896         * docs/gst/gstreamer-sections.txt:
1897         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1898         * gst/gst.h:
1899         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1900         Add two functions to check and change the SIGSEGV behaviour
1901         when loading plugins.
1902         Don't mess with the SIGSEGV handler when we were told not to.
1903         Fixes #347794.
1904         API: gst_segtrap_is_enabled
1905         API: gst_segtrap_set_enabled
1906
1907 2006-07-14  Wim Taymans  <wim@fluendo.com>
1908
1909         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1910         * tests/check/elements/filesrc.c: (GST_START_TEST):
1911         Revert fix for regression in #347408 after release.
1912
1913 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1914
1915         Patch by: Antoine Tremblay <hexa00 at gmail com>
1916
1917         * gst/gstutils.c: (gst_element_unlink):
1918           Free iterator when done (#347311).
1919
1920         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1921           And add a test case for this.
1922
1923 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1924
1925         * configure.ac:
1926         Bump nano back to CVS
1927
1928 === release 0.10.9 ===
1929
1930 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1931
1932         * configure.ac:
1933           releasing 0.10.9, "On the road again"
1934
1935 2006-07-13  Wim Taymans  <wim@fluendo.com>
1936
1937         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1938         * tests/check/elements/filesrc.c: (GST_START_TEST):
1939         Revert pull-0 fix for release. Disable check. Fixes #347408.
1940
1941 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1942
1943         * libs/gst/dataprotocol/dataprotocol.c:
1944         (gst_dp_event_from_packet_1_0):
1945           Fixes #347337: failure to deserialize event packets with
1946           empty payload (only event type)
1947
1948 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1949
1950         * gst/Makefile.am:
1951           do not install a .c file in the header directory
1952
1953 2006-07-13  Edward Hervey  <edward@fluendo.com>
1954
1955         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1956         GhostPad no longer implicitely use the padtemplates of the targets.
1957         Fixes #347384
1958
1959 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1960
1961         * gst/gstvalue.c: (gst_value_compare_list),
1962         (gst_value_compare_array), (_gst_value_initialize):
1963         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1964         Make GstValueArray comparison be order dependent as designed.
1965         Add checks for value lists and value array comparisons.
1966         Fixes #347221
1967
1968 2006-07-11  Edward Hervey  <edward@fluendo.com>
1969
1970         * gst/gstbin.c: (activate_pads),
1971         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1972         (gst_bin_change_state_func):
1973         (de)activate src pads before calling state_change on the childs.
1974         This is to avoid the case where a src ghostpad is blocked (holding the
1975         stream lock), which would block the deactivation of the ghostpad's
1976         target pad.
1977         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1978         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1979         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1980         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1981         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1982         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1983         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1984         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1985         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1986         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1987         (gst_ghost_pad_class_init),
1988         (gst_ghost_pad_internal_do_activate_push),
1989         (gst_ghost_pad_internal_do_activate_pull),
1990         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1991         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1992         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1993         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1994         GhostPads now create their internal GstProxyPad at creation (and not
1995         when they're linked, as it was being done previously).
1996         The internal and target pads are linked straight away.
1997         The data will also travel through the other pad in order to make
1998         pad blocking and probes non-hackish (the probe/block now really happens
1999         on the GhostPad and not on the target).
2000         * gst/gstpad.c: (gst_pad_set_blocked_async),
2001         (gst_pad_link_prepare), (gst_pad_push_event):
2002         Remove previous ghostpad cruft.
2003         * gst/gstutils.c: (gst_pad_add_data_probe),
2004         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2005         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2006         (gst_pad_remove_buffer_probe):
2007         Remove previous ghost pad cruft.
2008         Added more detailed debug statements.
2009         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2010         Fix the testsuite for refcounting changes.
2011         The comments about who has references were correct, but the refcount
2012         being checked wasn't the same (!?!).
2013
2014         Fixes #341029
2015
2016 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2017
2018         * docs/gst/gstreamer-sections.txt:
2019         * gst/gstconfig.h.in:
2020         More docs for configuration options, add docs to gtk-doc.
2021
2022 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2023
2024         * gst/Makefile.am:
2025         * gst/gstconfig.h.in:
2026         * win32/common/config.h:
2027         Fix build when disabling tracing (fixes #344016). Also start to document
2028         the defines that disable the sub-systems.
2029
2030 2006-07-10  Edward Hervey  <edward@fluendo.com>
2031
2032         * gst/gst.c: (ensure_current_registry_forking):
2033         let's make valgrind happy...
2034
2035 2006-07-09  Wim Taymans  <wim@fluendo.com>
2036
2037         * gst/gstelement.c: (activate_pads),
2038         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2039         Better pad activation code: Reset the collect value too on resync.
2040         Add some comments.
2041
2042 2006-07-09  Wim Taymans  <wim@fluendo.com>
2043
2044         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2045         (gst_pad_activate_push):
2046         Use some more macros where it makes sense.
2047         Allow pad mode switching instead of asserting. When a pad
2048         is activated in one mode and we activate it in another, 
2049         deactivate it first before activating it in a different mode.
2050         Fixes #329198.
2051
2052 2006-07-08  Andy Wingo  <wingo@pobox.com>
2053
2054         * tools/gst-launch.c (main): Handle err == NULL.
2055
2056         * gst/gst.c (init_post, ensure_current_registry)
2057         (ensure_current_registry_forking)
2058         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2059         factoring out the registry scanning into separate functions. Don't
2060         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2061         Better environment var name/interface suggestions accepted.
2062
2063 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2064
2065         * gst/gstobject.c: (gst_object_set_name_default),
2066         (gst_object_set_name):
2067           Random micro-optimisation: don't use a hash table
2068           with strings as keys and the usual strdup/strcmp
2069           involved, but rather just use the GQuark of the
2070           type name as key, since it needs to be looked up
2071           anyway to get the type name string.
2072
2073         * tests/check/gst/gstobject.c: (GST_START_TEST):
2074           Fix various leaks.
2075
2076 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2077
2078         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2079         (gst_bin_iterate_all_by_interface):
2080           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2081           GTypes are gulongs and thus the top 4 bytes might be cut
2082           off on some platforms when doing GPOINTER_TO_INT, leading
2083           to invalid GTypes and bad things happening (see RH bug #179654).
2084           Also add a check to make sure the type passed in is really
2085           an interface type.
2086
2087 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2088
2089         * .cvsignore:
2090           Ignore more.
2091
2092 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2093
2094         * Makefile.am:
2095         * configure.ac:
2096         * gst-element-check.m4:
2097         * gst-element-check.m4.in:
2098           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2099           instead of the unversioned gst-inspect (#324176, #168659).
2100
2101 2006-07-06  Wim Taymans  <wim@fluendo.com>
2102
2103         * gst/gstmessage.h:
2104         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2105         warnings.
2106
2107 2006-07-06  Wim Taymans  <wim@fluendo.com>
2108
2109         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2110         (gst_base_src_wait), (gst_base_src_update_length),
2111         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2112         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2113         (gst_base_src_loop), (gst_base_src_start),
2114         (gst_base_src_activate_pull):
2115         Update docs.
2116         blocksize == 0 now means the default blocksize when working in push
2117         based mode.
2118         Remove some pointless asserts in _wait function.
2119         Fix offset/length calculations and EOS handling. We can now pull 0
2120         bytes as well, which is allowed.
2121         use _check_get_range() to decide if we can operate in _pull based
2122         mode.
2123         Fix refcounting leak when check_get_range function was not 
2124         implemented.
2125         API GstBaseSrc::blocksize range can be 0 too now (default)
2126
2127         * tests/check/elements/filesrc.c: (GST_START_TEST),
2128         (filesrc_suite):
2129         Added check to test _get_range() behaviour.
2130
2131 2006-07-06  Wim Taymans  <wim@fluendo.com>
2132
2133         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2134         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2135         (gst_pad_pull_range):
2136         * gst/gstpad.h:
2137         Lots of comments and docs added to the pad functions.
2138         Flesh out the expected behaviour of the get_range() functions.
2139
2140 2006-07-06  Wim Taymans  <wim@fluendo.com>
2141
2142         * gst/gstbus.h:
2143         * gst/gstclock.h:
2144         * gst/gstevent.h:
2145         * gst/gstiterator.h:
2146         * gst/gstpad.h:
2147         * gst/gstplugin.h:
2148         * gst/gsttask.h:
2149         Remove comma at end of enumerator list. 
2150
2151 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
2152
2153         * win32/common/libgstbase.def:
2154         * win32/common/libgstdataprotocol.def:
2155         * win32/common/libsgtreamer.def:
2156         Add new exported functions.
2157
2158 2006-07-05  Wim Taymans  <wim@fluendo.com>
2159
2160         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2161         Add some more docs here and there.
2162
2163 2006-07-05  Wim Taymans  <wim@fluendo.com>
2164
2165         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2166         (gst_base_sink_loop), (gst_base_sink_get_position):
2167         When operating in pull mode update the offset so that we
2168         read sequentially.
2169
2170 2006-07-05  Wim Taymans  <wim@fluendo.com>
2171
2172         * gst/gstregistryxml.c: (read_string):
2173         Avoid strdup. (will happen in libxml, but hey!)
2174
2175         * gst/gsturi.c:
2176         Add some more docs.
2177
2178 2006-07-05  Wim Taymans  <wim@fluendo.com>
2179
2180         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2181         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2182         (gst_buffer_suite):
2183         No point in checking if the size of the subbuffer > 0, the
2184         code handles it correclty as demonstrated by unit test.
2185         Also add a unit test for the zero sized _new_and_alloc and
2186         _copy. Fixes #346663.
2187
2188 2006-07-05  Wim Taymans  <wim@fluendo.com>
2189
2190         * libs/gst/base/gstbasetransform.c:
2191         (gst_base_transform_prepare_output_buffer),
2192         (gst_base_transform_buffer_alloc),
2193         (gst_base_transform_handle_buffer):
2194         Make sure the buffer we pass to transform_ip has a refcount of
2195         1 and thus is writable. Fixes #343196
2196
2197 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2198
2199         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2200         (gst_file_src_init), (gst_file_src_set_property),
2201         (gst_file_src_get_property), (gst_file_src_map_region):
2202         * plugins/elements/gstfilesrc.h:
2203         Add "sequential" property, off by default, to use madvise and hint
2204         to the kernel that sequential access is desired.
2205         Touch all retrieved pages by default to ensure they are pulled
2206         into memory. (Closes #345720)
2207
2208 2006-07-03  Wim Taymans  <wim@fluendo.com>
2209
2210         * docs/design/part-block.txt:
2211         * docs/design/part-dynamic.txt:
2212         Small docs updates.
2213
2214 2006-07-03  Wim Taymans  <wim@fluendo.com>
2215
2216         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2217         (gst_caps_unref), (gst_static_caps_get),
2218         (gst_caps_append_structure):
2219         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2220         Use GSlice when the glib we build against is >= 2.10
2221
2222 2006-07-03  Wim Taymans  <wim@fluendo.com>
2223
2224         * gst/gstelement.c: (gst_element_pads_activate):
2225         Small cleanup in pad activation code.
2226
2227 2006-07-03  Wim Taymans  <wim@fluendo.com>
2228
2229         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2230
2231         * gst/gst-i18n-app.h:
2232         * gst/gst-i18n-lib.h:
2233         * tools/gst-inspect.c: (print_signal_info):
2234         The attached patch will make the inclusion of gettext.h unconditional in
2235         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2236         libintl.h in tools/gst-inspect.c.
2237         This allows use of --disable-nls again and fixes #344642.
2238
2239 2006-07-03  Edward Hervey  <edward@fluendo.com>
2240
2241         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2242         Implement pad blocking on events according to part-block.txt.
2243         More comments on behaviour.
2244         * tests/check/gst/gstevent.c: (test_event):
2245         Send event to peer pad of blocked pad (else it will block).
2246
2247 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2248
2249         * libs/gst/check/gstcheck.c: (gst_check_message_error),
2250         (gst_check_run_suite):
2251           if we get the wrong message, give us the types as string
2252         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2253           Fix a translatable
2254         * tests/check/elements/filesrc.c: (GST_START_TEST):
2255           add a test for trying to open a non-existing file
2256
2257 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2258
2259         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2260           add a test for adding self
2261
2262 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2263
2264         * libs/gst/check/gstcheck.h:
2265           add some assert_ as alias for fail_unless_*
2266         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2267           increase test coverage
2268
2269 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2270
2271         * Makefile.am:
2272           include lcov.mak for lcov coverage generation
2273         * tools/Makefile.am:
2274           add to CLEANFILES
2275
2276 2006-07-02  Edward Hervey  <edward@fluendo.com>
2277
2278         * tests/check/elements/.cvsignore:
2279         moaping
2280
2281 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2282
2283         * configure.ac:
2284           don't set CFLAGS and friends for gcov, done from GST_GCOV now
2285         * tests/check/Makefile.am:
2286           clean up gcov files
2287
2288 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2291           remove gst_caps_simplify; it was not declared and not used
2292           and deprecated in 0.8
2293
2294 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2295
2296         * docs/faq/gst-uninstalled:
2297           don't put empty paths on PYTHONPATH
2298         * docs/gst/gstreamer-sections.txt:
2299           remove some symbols that are not there
2300
2301 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2302
2303         * gst/gstcaps.c: (gst_caps_compare_structures):
2304           whitespace fixes
2305         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2306         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2307           add more tests
2308
2309 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2310
2311         * libs/gst/dataprotocol/Makefile.am:
2312           build dataprotocol test by linking to the lib, instead of
2313           compiling the source, so we get coverage
2314         * tests/check/Makefile.am:
2315         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2316         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2317           add a test for filesrc
2318
2319 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2320
2321         * tests/check/gst/gststructure.c: (GST_START_TEST),
2322         (gst_structure_suite):
2323           Push coverage from 59.04% to 70.00%
2324
2325 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2326
2327         * tests/check/Makefile.am:
2328           gst-inspect every element; this makes sure that we also get
2329           coverage on element's get/set functions
2330
2331 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2332
2333         * configure.ac:
2334           set CFLAGS and friends to -O0 if gcov is being used
2335           add GCOV LIBS
2336         * gst/Makefile.am:
2337         * libs/gst/base/Makefile.am:
2338         * libs/gst/check/Makefile.am:
2339         * libs/gst/controller/Makefile.am:
2340         * libs/gst/dataprotocol/Makefile.am:
2341         * libs/gst/net/Makefile.am:
2342         * plugins/elements/Makefile.am:
2343         * plugins/indexers/Makefile.am:
2344           add makefile rules to generate gcov data and clean up
2345         * tests/check/Makefile.am:
2346           add a coverage target that generates an html overview
2347           of coverage data
2348
2349 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2350
2351         * tests/check/elements/fakesink.c:
2352         * tests/check/elements/fakesrc.c:
2353         * tests/check/elements/fdsrc.c:
2354         * tests/check/elements/identity.c:
2355         * tests/check/generic/sinks.c: (gst_sinks_suite):
2356         * tests/check/generic/states.c:
2357         * tests/check/gst/gst.c:
2358         * tests/check/gst/gstabi.c:
2359         * tests/check/gst/gstbin.c:
2360         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2361         * tests/check/gst/gstbus.c: (gst_bus_suite):
2362         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2363         * tests/check/gst/gstelement.c:
2364         * tests/check/gst/gstevent.c: (gst_event_suite):
2365         * tests/check/gst/gstghostpad.c:
2366         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2367         * tests/check/gst/gstmessage.c: (gst_message_suite):
2368         * tests/check/gst/gstminiobject.c:
2369         * tests/check/gst/gstobject.c:
2370         * tests/check/gst/gstpad.c:
2371         * tests/check/gst/gstpipeline.c:
2372         * tests/check/gst/gstplugin.c:
2373         * tests/check/gst/gstquery.c: (gst_query_suite):
2374         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2375         * tests/check/gst/gststructure.c:
2376         * tests/check/gst/gstsystemclock.c:
2377         * tests/check/gst/gsttag.c:
2378         * tests/check/gst/gsttask.c: (gst_task_suite):
2379         * tests/check/gst/gstutils.c:
2380         * tests/check/gst/gstvalue.c:
2381         * tests/check/libs/adapter.c:
2382         * tests/check/libs/basesrc.c:
2383         * tests/check/libs/collectpads.c:
2384         * tests/check/libs/controller.c:
2385         * tests/check/libs/gdp.c: (gst_dp_suite):
2386         * tests/check/libs/gstnetclientclock.c:
2387         * tests/check/libs/gstnettimeprovider.c:
2388         * tests/check/libs/libsabi.c: (libsabi_suite):
2389         * tests/check/libs/typefindhelper.c:
2390         * tests/check/pipelines/cleanup.c:
2391         * tests/check/pipelines/parse-launch.c:
2392         * tests/check/pipelines/simple-launch-lines.c:
2393         * tests/check/pipelines/stress.c: (stress_suite):
2394           use the new macro
2395
2396 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2397
2398         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2399         * libs/gst/check/gstcheck.h:
2400           create a macro and function so that the simple unit test
2401           case can be just one macro to create main()
2402
2403 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2404
2405         * gst/gstbin.c: (gst_bin_restore_thyself):
2406         * gst/gstxml.c: (gst_xml_make_element):
2407           Fix deserialisation from XML. Set parent manually
2408           instead of using gst_bin_add(), since gst_bin_add()
2409           will unlink all pads of the element being added.
2410           Fixes #341667.
2411
2412 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2413
2414         Patch by: Peter Kjellerstedt <pkj at axis com>
2415
2416         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2417           Fix missing g_strdup() and double free when using the
2418           --gst-plugin-load command line option (#346097).
2419
2420 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2421
2422         * gst/gstinfo.c:
2423           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2424
2425         * libs/gst/net/gstnetclientclock.c:
2426         * libs/gst/net/gstnettimeprovider.c:
2427           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2428
2429 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2430
2431         * docs/manual/advanced-dataaccess.xml:
2432           Fix buffer probe example compilation in
2433           ADM (#345708).
2434         
2435 2006-06-22  Edward Hervey  <edward@fluendo.com>
2436
2437         * gst/gstelement.c: (gst_element_pads_activate):
2438         We need to deactivate src pads first and then sink pads.
2439         The reason is the src pads might be blocking while holding the streaming
2440         lock, so we need to deactivate them first so that deactivating the sink
2441         pads doesn't block (since it will require the streaming lock).
2442
2443 2006-06-22  Wim Taymans  <wim@fluendo.com>
2444
2445         * libs/gst/base/gstbasetransform.c:
2446         (gst_base_transform_buffer_alloc):
2447         Forgot to remove two unneeded unrefs.
2448         Simplify a check _is_equal allready checks the obvious case.
2449
2450 2006-06-22  Wim Taymans  <wim@fluendo.com>
2451
2452         * docs/design/part-block.txt:
2453         Some docs about what pad_block should do.
2454
2455 2006-06-22  Wim Taymans  <wim@fluendo.com>
2456
2457         * gst/gstcaps.c: (gst_caps_replace):
2458         Fix crasher when passed NULL. Doc clarification.
2459         Optimize for the trivial case.
2460
2461         * gst/gstpipeline.c: (gst_pipeline_change_state):
2462         Small cleanups.
2463
2464         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2465         Small documentation cleanup.
2466
2467         * libs/gst/base/gstbasetransform.c:
2468         (gst_base_transform_buffer_alloc):
2469         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2470         is what we need and it avoids a whole lot of redundant 
2471         refcount operations.
2472
2473 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2474
2475         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2476
2477         * docs/manual/advanced-dataaccess.xml:
2478           Fix 'Embedding static elements' section to use
2479           GST_PLUGIN_DEFINE_STATIC (#345607).
2480
2481 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2482
2483         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2484           Attempt to 'fix' spuriously failing test case: it seems like the
2485           timeout of half a second is simply too small when the system is under
2486           load otherwise, and the timeout doesn't really seem to serve any
2487           particular purpose here. Give the pipeline a few seconds to preroll
2488           first, and then give it another half a second to go from PAUSED to
2489           PLAYING and marshal the message into the main thread.
2490
2491 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2492
2493         * tools/gst-feedback-m.m:
2494           Don't only use unversioned tools, try versioned tools as well
2495           (#345086).
2496
2497 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2498
2499         * gst/gstbus.c: (gst_bus_class_init):
2500           Fix some typos, make docs more explicit.
2501
2502 2006-06-20  Wim Taymans  <wim@fluendo.com>
2503
2504         * tests/check/gst/gstghostpad.c: (block_callback),
2505         (GST_START_TEST), (gst_ghost_pad_suite):
2506         Added some more ghostpad tests, mainly blocking
2507         and probes.
2508
2509 2006-06-16  Wim Taymans  <wim@fluendo.com>
2510
2511         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2512         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2513         (gst_file_sink_event), (gst_file_sink_render):
2514         * plugins/elements/gstfilesink.h:
2515         Check if we can seek in the file instead of assuming
2516         we always can. Post an error when we are asked to seek in a
2517         non-seekable file (like a fifo). Fixes #343312.
2518         Some cleanups.
2519
2520 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2521
2522         * tools/gst-launch.1.in:
2523           Un-garble (fourcc) bit in filtered caps section.
2524
2525 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2526
2527         * docs/manual/advanced-autoplugging.xml:
2528         * docs/manual/basics-helloworld.xml:
2529         * docs/manual/highlevel-components.xml:
2530           Don't leak bus reference in sample code.
2531
2532 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2533
2534         * autogen.sh:
2535           Add default for new --enable-plugin-docs switch.
2536
2537         * configure.ac:
2538           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2539           Fixes #344039.
2540
2541         * docs/Makefile.am:
2542           Use new ENABLE_PLUGIN_DOCS conditional.
2543
2544 2006-06-14  Wim Taymans  <wim@fluendo.com>
2545
2546         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2547         Make it clear with a FIXME and a real define what the #if 0
2548         previously disabled.
2549
2550 2006-06-14  Wim Taymans  <wim@fluendo.com>
2551
2552         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2553         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2554         * libs/gst/base/gstbasetransform.c:
2555         (gst_base_transform_sink_eventfunc):
2556         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2557         Don't randomly and silently reset a segment when the format 
2558         changes as this is a bug somewhere upstream. Fixes #330379.
2559
2560 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2561
2562         Patch by: Wouter Paesen  <wouter at kangaroot net>
2563
2564         * libs/gst/controller/gstcontroller.c:
2565         (gst_controlled_property_new):
2566           Fix controlling of float properties (#344849).
2567
2568         * tests/check/libs/controller.c:
2569         (gst_test_mono_source_get_property),
2570         (gst_test_mono_source_set_property),
2571         (gst_test_mono_source_class_init), (GST_START_TEST):
2572           While we're at it, add some float stuff to unit test.
2573
2574 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2575
2576         * docs/README:
2577         * docs/images/gdp-header.svg:
2578           add a gdp image
2579         * docs/libs/Makefile.am:
2580         * docs/libs/gdp-header.png:
2581         * libs/gst/dataprotocol/dataprotocol.c:
2582           add it to the API docs
2583         * docs/manual/intro-motivation.xml:
2584           fix typo
2585
2586 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2587
2588         * gst/gst.c: (scan_and_update_registry), (init_post):
2589           If the fork()'ed child process can't write the updated registry cache
2590           file to disk for some reason, make it exit with a failure exit code,
2591           so that the parent can then re-scan the plugins itself and update the
2592           registry structures in memory and work with that (rather than failing
2593           when creating elements because seemingly no plugins are available).
2594           Refactor registry scanning code into separate function for this and
2595           also separate fork() and non-fork() code paths. Fixes #344748.
2596
2597 2006-06-13  Wim Taymans  <wim@fluendo.com>
2598
2599         * docs/manual/advanced-dataaccess.xml:
2600         Fix wrong PluginDesc. Fixes #344755.
2601
2602 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2603
2604         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2605           Fix silly bug that prevented us from creating
2606           ~/.gstreamer-0.10 and writing the registry in one
2607           go (the first call to g_mkstemp() would overwrite the
2608           placeholder in the template string, so the second call
2609           to g_mkstemp() after creating the missing directory
2610           would then error out with 'invalid argument').
2611
2612 2006-06-13  Edward Hervey  <edward@fluendo.com>
2613
2614         * gst/gst.c: (init_post):
2615         Free string.
2616
2617 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2618
2619         * gst/glib-compat-private.h:
2620         * gst/glib-compat.c:
2621         * gst/glib-compat.h:
2622         * gst/gstvalue.c: (gst_value_serialize_flags):
2623           remove GLib 2.6 compatibility code
2624
2625 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2626
2627         * gst/parse/Makefile.am:
2628           Fix build with 'make -j N' even more (#340016).
2629
2630 2006-06-12  Wim Taymans  <wim@fluendo.com>
2631
2632         * docs/gst/gstreamer-sections.txt:
2633         Fix docs.
2634
2635 2006-06-12  Wim Taymans  <wim@fluendo.com>
2636
2637         * gst/gstsegment.c: (gst_segment_set_duration),
2638         (gst_segment_set_last_stop), (gst_segment_set_seek),
2639         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2640         (gst_segment_to_running_time), (gst_segment_clip):
2641         Use G_UNLIKELY to help the compiler a bit.
2642
2643 2006-06-12  Wim Taymans  <wim@fluendo.com>
2644
2645         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2646
2647         * gst/gstevent.c: (gst_event_get_type):
2648         * gst/gstmessage.c:
2649         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2650         (gst_pad_push):
2651         constify quark registration strings. Fixes #344115
2652         Avoid unneeded type checking is _pad_push() by internally
2653         calling gst_pad_chain_unchecked().
2654
2655 2006-06-12  Wim Taymans  <wim@fluendo.com>
2656
2657         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2658         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2659         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2660         (gst_buffer_is_span_fast), (gst_buffer_span):
2661         Init _type for consistency.
2662         Use _FLAGS macro to avoid type check.
2663         Avoid unneeded type checks in subbufer code.
2664
2665 2006-06-12  Wim Taymans  <wim@fluendo.com>
2666
2667         * gst/gst.c: (gst_debug_help):
2668         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2669         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2670         (gst_plugin_feature_list_free):
2671         * gst/gstregistry.c: (gst_registry_add_plugin),
2672         (gst_registry_add_feature), (gst_registry_plugin_filter),
2673         (gst_registry_feature_filter), (gst_registry_find_plugin),
2674         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2675         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2676         * gst/gstregistryxml.c: (load_feature),
2677         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2678         * gst/gstminiobject.c: (gst_mini_object_unref),
2679         (gst_mini_object_replace), (gst_value_mini_object_free),
2680         (gst_value_mini_object_copy):
2681         Use _CAST macros to avoid unneeded type checking.
2682         Added some more G_UNLIKELY.
2683
2684 2006-06-12  Wim Taymans  <wim@fluendo.com>
2685
2686         * gst/gstbuffer.h:
2687         Avoid unneeded type checking.
2688         API: GST_BUFFER_IS_DISCONT
2689
2690         * gst/gstminiobject.h:
2691         Avoid type check in flag accessor.
2692
2693         * gst/gstelementfactory.h:
2694         * gst/gstplugin.h:
2695         * gst/gstpluginfeature.h:
2696         Add _CAST macros.
2697         API: GST_ELEMENT_FACTORY_CAST
2698         API: GST_PLUGIN_CAST
2699         API: GST_PLUGIN_FEATURE_CAST
2700
2701 2006-06-12  Wim Taymans  <wim@fluendo.com>
2702
2703         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2704         (gst_object_unref):
2705         Add G_UNLIKELY in type registration.
2706         Avoid type check in _ref/_unref since that is also
2707         done in glib.
2708
2709 2006-06-12  Wim Taymans  <wim@fluendo.com>
2710
2711         * gst/gsterror.c: (gst_g_error_get_type):
2712         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2713         (gst_static_pad_template_get_type):
2714         * gst/gsttaglist.c: (gst_tag_list_get_type):
2715         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2716         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2717         * gst/gsturi.c: (gst_uri_handler_get_type):
2718         * gst/gstvalue.c: (gst_date_get_type):
2719         * gst/gstxml.c: (gst_xml_get_type):
2720         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2721         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2722         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2723         Add G_UNLIKELY in type registration.
2724
2725 2006-06-12  Wim Taymans  <wim@fluendo.com>
2726
2727         * tools/gst-inspect.c: (print_signal_info):
2728         Properly print enum values.
2729
2730 2006-06-12  Wim Taymans  <wim@fluendo.com>
2731
2732         * gst/gstinfo.c: (gst_debug_set_active),
2733         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2734         * gst/gstinfo.h:
2735         Add some G_[UN]LIKELY.
2736         Maintain __gst_debug_min to avoid formatting the arguments of
2737         debug messages that will be dropped anyway to avoid a lot of 
2738         overhead from the debugging system.
2739
2740 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2741
2742         * po/POTFILES.in:
2743         * po/POTFILES.skip:
2744           add missing files containing translatable strings, tell intltool about
2745           one exception
2746
2747 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2748
2749         * tests/check/libs/.cvsignore:
2750         add test-binary to ignore list
2751
2752 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2753
2754         * docs/libs/gstreamer-libs-docs.sgml:
2755         reorder (put dp into a chapter) and indent
2756
2757 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2758
2759         * configure.ac:
2760           back to HEAD
2761
2762 === release 0.10.8 ===
2763
2764 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2765
2766         * configure.ac:
2767           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2768
2769 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2770
2771         * gst/gst.c: (init_post):
2772           move pid declaration to declaration block
2773
2774 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2775
2776         * gst/gst.c: (init_post):
2777           use _exit() instead of exit() in our forked child; this ensures
2778           that none of the registered exit handlers from whatever is using
2779           GStreamer get executed.  This fixes gnome-mixer-applet failing
2780           to load, because ORBit would shut down.
2781           Spotted by: Edward Hervey  <edward@fluendo.com>
2782           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2783           Fixes #344474
2784
2785 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2786
2787         * configure.ac:
2788           back to TRUNK
2789
2790 === release 0.10.7 ===
2791
2792 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2793
2794         * configure.ac:
2795           releasing 0.10.7, "Soepeke, ik zie ou"
2796
2797 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2798
2799         * configure.ac:
2800         * po/af.po:
2801         * po/az.po:
2802         * po/bg.po:
2803         * po/ca.po:
2804         * po/cs.po:
2805         * po/de.po:
2806         * po/en_GB.po:
2807         * po/fr.po:
2808         * po/it.po:
2809         * po/nb.po:
2810         * po/nl.po:
2811         * po/ru.po:
2812         * po/sq.po:
2813         * po/sr.po:
2814         * po/sv.po:
2815         * po/tr.po:
2816         * po/uk.po:
2817         * po/vi.po:
2818         * po/zh_CN.po:
2819         * po/zh_TW.po:
2820         * win32/common/config.h:
2821           0.10.6.2 prerelease
2822
2823 2006-06-07  Wim Taymans  <wim@fluendo.com>
2824
2825         * gst/gstindex.c: (gst_index_gtype_resolver):
2826         * tools/gst-xmlinspect.c: (print_plugin_info):
2827         Fix leak spotted by coverity checker. Fixes #343827
2828         Fix another other leak found by paolo borelli.
2829
2830 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2831
2832         * libs/gst/dataprotocol/dataprotocol.c:
2833         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2834         (gst_dp_version_get_type), (gst_dp_init),
2835         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2836         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2837         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2838         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2839         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2840         (gst_dp_packetizer_free):
2841         * libs/gst/dataprotocol/dataprotocol.h:
2842           API: add a GstDPPacketizer object, and create/free functions
2843           API: add GstDPVersion enum
2844           Add 1.0 event function that uses the string serialization
2845           Serialize more useful buffer flags
2846           Fixes #343988
2847
2848 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2849
2850         * tests/check/Makefile.am:
2851         * tests/check/gst/gstabi.c:
2852         * tests/check/gst/struct_ppc64.h:
2853         * tests/check/libs/libsabi.c:
2854         * tests/check/libs/struct_ppc64.h:
2855           add ppc64 structure sizes
2856
2857 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2858
2859         * tests/check/Makefile.am:
2860         * tests/check/gst/gstabi.c:
2861         * tests/check/gst/struct_x86_64.h:
2862         * tests/check/libs/libsabi.c:
2863         * tests/check/libs/struct_x86_64.h:
2864           generate and add structure size lists for x86_64
2865
2866 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2867
2868         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2869         * libs/gst/check/gstcheck.h:
2870           factor out the method from tests that checks size of structures,
2871           and add code to generate the header containing these sizes
2872         * tests/check/gst/gstabi.c: (GST_START_TEST):
2873         * tests/check/gst/struct_i386.h:
2874         * tests/check/libs/libsabi.c: (GST_START_TEST):
2875         * tests/check/libs/struct_i386.h:
2876           use it
2877
2878 2006-06-06  Michael Smith  <msmith@fluendo.com>
2879
2880         * gst/gstsegment.h:
2881           Don't use c++-style comments, fixes #343929
2882
2883 2006-06-05  Edward Hervey  <edward@fluendo.com>
2884
2885         * gst/gst.c:
2886         plugin_paths is not used if we build without registry support.
2887
2888         * gst/gstsegment.c: (gst_segment_copy): 
2889         _copy() was always returning NULL...
2890
2891 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2892
2893         * libs/gst/dataprotocol/dataprotocol.c:
2894         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2895         (gst_dp_packet_from_event):
2896           factor out CRC code
2897
2898 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2899
2900         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2901           make sure we unset caps
2902
2903 2006-06-02  Michael Smith  <msmith@fluendo.com>
2904
2905         * libs/gst/check/gstcheck.c: (gst_check_init),
2906         (gst_check_chain_func):
2907         * libs/gst/check/gstcheck.h:
2908           Add a cond/mutex to the check support lib, signal this whenever we
2909           add to the buffers list. This will allow tests to not busy-wait on
2910           the buffer-list.
2911
2912 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2913
2914         * libs/gst/dataprotocol/dataprotocol.c:
2915         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2916         (gst_dp_packet_from_event):
2917           factor out some common header init code
2918
2919 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2920
2921         * docs/libs/gstreamer-libs-sections.txt:
2922         * docs/libs/tmpl/gstdataprotocol.sgml:
2923         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2924         * libs/gst/dataprotocol/dataprotocol.h:
2925           API: make gst_dp_crc() public
2926
2927 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2928
2929         * plugins/indexers/gstindexers.c: (plugin_init):
2930         conditionally register fileindexer (fixes #343598)
2931
2932 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2933
2934         * gst/gsttagsetter.h:
2935         Can't cast ifaces to a class
2936
2937         * libs/gst/net/gstnetclientclock.h:
2938         * libs/gst/net/gstnettimeprovider.h:
2939         * plugins/elements/gstfakesink.h:
2940         * plugins/elements/gstfakesrc.h:
2941         * plugins/elements/gstfdsink.h:
2942         * plugins/elements/gstfdsrc.h:
2943         * plugins/elements/gstfilesink.h:
2944         * plugins/elements/gstfilesrc.h:
2945         * plugins/elements/gstidentity.h:
2946         * plugins/elements/gstqueue.h:
2947         * plugins/elements/gsttee.h:
2948         * plugins/indexers/gstfileindex.c:
2949         * plugins/indexers/gstmemindex.c:
2950         * tests/old/examples/plugins/example.h:
2951         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2952
2953 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2954
2955         * libs/gst/dataprotocol/dataprotocol.c:
2956         (gst_dp_header_from_buffer):
2957           make sure we zero the whole ABI-compatible area
2958
2959 2006-06-01  Wim Taymans  <wim@fluendo.com>
2960
2961         Patch by: Alessandro Decina <alessandro at nnva dot org>
2962
2963         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2964         Make sure the EOS flag is cleared from pads after a flush
2965         or stop. Fixes #343538.
2966
2967         * tests/check/libs/collectpads.c: (GST_START_TEST),
2968         (gst_collect_pads_suite):
2969         Added test for collectpads reusage after EOS.
2970
2971 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2972
2973         * gst/gst.c:
2974          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2975         * win32/common/libgstbase.def:
2976          export gst_collect_pads_set_flushing
2977         * win32/common/libgstreamer.def:
2978          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2979          gst_value_fraction_multiply
2980         * win32/vs6/gst_inspect.dsp:
2981          add a link to intl.lib
2982
2983 2006-05-30  Wim Taymans  <wim@fluendo.com>
2984
2985         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2986         (gst_collect_pads_chain):
2987         Handle the case where a pad is removed from the collection
2988         that could cause the other pads to become collectable.
2989
2990 2006-05-30  Wim Taymans  <wim@fluendo.com>
2991
2992         * gst/gstelement.c:
2993         Clarify the use of _release_request_pad() and
2994         _get_request_pad() a bit better.
2995
2996         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2997         (gst_adapter_take_buffer):
2998         Fix some doc and comment typos.
2999
3000 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3001
3002         * docs/gst/gstreamer-sections.txt:
3003         * docs/libs/gstreamer-libs-sections.txt:
3004           add declared symbols
3005
3006 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
3007
3008         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3009         Add debug that can be enabled using a #define at the top of the file,
3010         for dumping stats about how late/early we were when waking up from
3011         waiting on the clock.
3012
3013 2006-05-30  Wim Taymans  <wim@fluendo.com>
3014
3015         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3016         When rebuilding the pad list, don't leak the previous list.
3017
3018 2006-05-30  Wim Taymans  <wim@fluendo.com>
3019
3020         Patch by: Lutz Mueller <lutz at topfrose dot de>
3021
3022         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3023         (gst_base_src_get_query_types), (gst_base_src_update_length):
3024         Publish supported query types.
3025         Update last_stop field in get_range mode so the position
3026         query works. Fixes #342321.
3027
3028 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
3029
3030         * docs/gst/gstreamer-sections.txt:
3031         * gst/gsttaglist.c: (_gst_tag_initialize):
3032         * gst/gsttaglist.h:
3033           API: add GST_TAG_PREVIEW_IMAGE (#343341).
3034
3035 2006-05-30  Wim Taymans  <wim@fluendo.com>
3036
3037         Patch by: Alessandro Decina <alessandro at nnva dot org>
3038
3039         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3040         Unlock mutex when removing an unknown pad.
3041         Fixes #343334.
3042
3043         * tests/check/Makefile.am:
3044         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3045         (push_event), (setup), (teardown), (GST_START_TEST),
3046         (gst_collect_pads_suite), (main):
3047         Added collecpads check, disabled for now as check crashes for
3048         some reason.
3049
3050 2006-05-29  Wim Taymans  <wim@fluendo.com>
3051
3052         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3053         Don't leak pads lists.
3054
3055 2006-05-29  Wim Taymans  <wim@fluendo.com>
3056
3057         * docs/libs/gstreamer-libs-sections.txt:
3058         * libs/gst/base/gstcollectpads.c:
3059         (gst_collect_pads_set_flushing_unlocked),
3060         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3061         (gst_collect_pads_stop):
3062         * libs/gst/base/gstcollectpads.h:
3063         API: gst_collect_pads_set_flushing()
3064         Added api to set the pads to flushing, useful for seeking
3065         code in elements using collectpads.
3066         Clear segment when receiving a flush.
3067
3068 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
3069
3070         * gst/gst.c: (add_path_func), (init_post):
3071           Don't scan registry paths passed via --gst-plugin-path immediately
3072           (will crash, because absolutely nothing is set up and no types are
3073           registered etc.); do this later in init_post(). Fixes #343057.
3074
3075 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3076
3077         * gst/gst.c: (init_post):
3078           if we have fork, fork while reading/rebuilding the registry
3079           so the parent doesn't take the hit of having all plugins loaded
3080           in memory.  Fixes #342777.
3081         * configure.ac:
3082           Check if we have fork()
3083         * win32/common/config.h.in:
3084           no fork() on win32
3085
3086 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3087
3088         * plugins/elements/gstelements.c:
3089         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3090         (gst_file_src_init), (gst_file_src_set_property),
3091         (gst_file_src_get_property), (gst_file_src_start):
3092         * plugins/elements/gstfilesrc.h:
3093           API: GstFileSrc::use-mmap
3094
3095         Add a use-mmap property to enable easier testing of all code paths.
3096         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3097         in the absence of gnomevfssrc. (Closes #340501)
3098
3099 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3100
3101         * tools/gst-inspect.c:
3102         Add missing include, removes warning of ngettext not being defined on
3103         some arches.
3104
3105 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3106
3107         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3108         Handle NULL input and output pointers silently as a failed conversion,
3109         rather than g_warnings.
3110
3111 2006-05-25  Wim Taymans  <wim@fluendo.com>
3112
3113         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3114         Initialize variable before using. Fixes #342820.
3115
3116 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3117
3118         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3119           Fix off-by-one bug that would only allow peeks of N-1 bytes
3120           from the start even if the buffer to typefind on contains
3121           in fact N bytes of data (makes vorbis typefinding from a
3122           vorbis identification header buffer work).
3123
3124         * tests/check/Makefile.am:
3125         * tests/check/libs/.cvsignore:
3126         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3127         (gst_typefindhelper_suite), (main), (foobar_typefind),
3128         (plugin_init):
3129           Add very basic unit test for gst_type_find_helper_for_buffer()
3130           that checks for the problem fixed above.
3131
3132 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3133
3134         * tools/gst-inspect.c: (print_interfaces),
3135         (print_element_properties_info), (print_element_list), (main):
3136           add more translatable strings
3137
3138 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
3139
3140         Patch by: Julien Moutte  <julien at moutte net>
3141
3142         * docs/gst/gstreamer-sections.txt:
3143           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3144           
3145         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3146         (gst_fake_sink_preroll):
3147         * plugins/elements/gstfakesink.h:
3148           API: Add new GstFakeSink::preroll-handoff signal (#337100).
3149
3150 2006-05-23  Wim Taymans  <wim@fluendo.com>
3151
3152         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3153         * gst/gstpad.h:
3154         Added _CUSTOM error and success GstFlowReturn that can be
3155         used be elements internally. 
3156         Added macro to check for SUCCESS flowreturns.
3157         API: GST_FLOW_CUSTOM_SUCCESS
3158         API: GST_FLOW_CUSTOM_ERROR
3159         API: GST_FLOW_IS_SUCCESS
3160
3161         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3162         Added check for GstFlowReturn sanity.
3163
3164 2006-05-23  Wim Taymans  <wim@fluendo.com>
3165
3166         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3167
3168         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3169         (gst_collect_pads_event):
3170         clear/reset segment info in FLUSH_STOP.
3171         Fixes #336929.
3172
3173 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3176         (gst_collect_pads_check_collected):
3177         Flush queued buffer on _stop(), fixes playing again (#342454)
3178
3179 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3180
3181         * tests/check/gst/gststructure.c: (GST_START_TEST),
3182         (gst_structure_suite):
3183           add a test for a complete structure
3184
3185 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3186
3187         * docs/faq/developing.xml:
3188         * docs/faq/faq.xml:
3189         * docs/faq/troubleshooting.xml:
3190         * docs/faq/using.xml:
3191           Some minor FAQ updates that won't change the fact that
3192           our FAQ is badly structured, full of information hardly
3193           anyone new to GStreamer needs to know and lacking lots
3194           of information people constantly ask for.
3195           
3196 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
3197
3198         * gst/gstpad.c: (gst_pad_set_caps):
3199           Short-circuit gst_pad_set_caps if setting the existing
3200           caps pointer again, and avoid printing debug and 
3201           reffing/unreffing the caps.
3202
3203         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3204           There's actually no need to set the caps before pushing -
3205           the acceptcaps method will handle it anyway.
3206
3207 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3208
3209         * docs/gst/gstreamer-sections.txt:
3210         * win32/common/libgstreamer.def:
3211         * gst/gstutils.c: (gst_element_seek_simple):
3212         * gst/gstutils.h:
3213           API: add gst_element_seek_simple() (#342238).
3214
3215 2006-05-18  Edward Hervey  <edward@fluendo.com>
3216
3217         * gst/gsttypefind.c: (gst_type_find_get_type):
3218         * gst/gsttypefind.h:
3219         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3220         registered for GstTypeFind pointers. This allows wrapping the structure
3221         in bindings (i.e. gst-python).
3222
3223 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3224
3225         * gst/gsttagsetter.c:
3226           Docs additions and fixes (see #339918).
3227
3228 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
3229
3230         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3231         The caps intersection algorithm can produce multiple copies of the
3232         caps. Until that is fixed, we need to simplify the result to be
3233         sure whether the allowed caps are fixed or not.
3234
3235         * plugins/elements/gstqueue.c: (gst_queue_init),
3236         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3237         (gst_queue_push_one):
3238         Proxied buffer alloc should not set the caps on the source pad.
3239         When pushing buffers, we always accept the caps change that triggers.
3240         This prevents negotiation errors caused by caps changing mid-stream 
3241         and then being refused on our source pad (because upstream is now
3242         refusing those caps).
3243
3244 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3245
3246         * tests/examples/helloworld/helloworld.c: (main):
3247           Must plug audioconvert and audioresample between decoder
3248           and audio sink.
3249
3250 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
3251
3252         * gst/gstregistryxml.c: (read_string), (load_pad_template),
3253         (load_feature), (load_plugin):
3254         Allow empty strings for some of the plugin fields so we don't 
3255         drop valid plugin entries that were written out correctly
3256         (Fixes #341479)
3257
3258 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
3259         
3260         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3261           Use g_remove and g_rename instead of remove and rename that don't 
3262           handle utf8 characters. rename was failing for users who had specific
3263           characters in their name then the registry was built at each 
3264           gstreamer init.
3265         * win32/vs6/gst_inspect.dsp:
3266         * win32/vs6/gst_launch.dsp:
3267         * win32/vs6/libgstbase.dsp:
3268         * win32/vs6/libgstcoreelements.dsp:
3269         * win32/vs6/libgstreamer.dsp:
3270           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
3271           build of libgstreamer and clean unused libraries in projects link 
3272           settings.
3273
3274 2006-05-17  Edward Hervey  <edward@fluendo.com>
3275
3276         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3277         The queue is not responsible for pushing an EOS when receiving a fatal
3278         flow error. It's up to the real element driving the pipeline to do that.
3279
3280 2006-05-16  Edward Hervey  <edward@fluendo.com>
3281
3282         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3283         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3284         buffer returned a fatal error. It should just send an EOS and stop
3285         its task.
3286         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3287         when pushing buffers on the queue and will be able to handle the event.
3288
3289 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3290
3291         * docs/manual/basics-bins.xml:
3292         * docs/manual/basics-init.xml:
3293           Fix typos and minor errors in sample code (#341856).
3294
3295 2006-05-16  Wim Taymans  <wim@fluendo.com>
3296
3297         * docs/design/part-qos.txt:
3298         Fix indexes in formulas to make more sense.
3299
3300 2006-05-15  Wim Taymans  <wim@fluendo.com>
3301
3302         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3303         Don't report POSITION based on clock time if sync is
3304         disabled in a sink.
3305
3306 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3307
3308         * gst/gstobject.h:
3309           Add cast to make compiler happy - refcount variable was a gint
3310           in GstObject but is a guint in GObject and g_atomic_int_get()
3311           wants a gint *.
3312
3313 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3314
3315         * gst/parse/Makefile.am:
3316           chain commands using &&, which also makes parallel make work
3317
3318 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3319
3320         * docs/gst/gstreamer-sections.txt:
3321         * gst/gstevent.c:
3322         * gst/gstevent.h:
3323         * gst/gstmessage.h:
3324           Minor docs fixes.
3325
3326 === release 0.10.6 ===
3327
3328 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3329
3330         * configure.ac:
3331           releasing 0.10.6, "Take the cannoli"
3332
3333 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3334
3335         * tools/gst-launch.c: (print_tag):
3336           Fix use of uninitialized variable in the hypothetical
3337           case that some broken plugin creates a GST_TAG_IMAGE
3338           tag containing a NULL buffer (#341667).
3339
3340 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3341
3342         * tools/gst-launch.c: (print_tag):
3343           Print something more intelligible for image tags when
3344           using the -t switch (#341556).
3345
3346 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3347
3348         * Makefile.am:
3349           updates for win32
3350         * configure.ac:
3351           define GST_MAJORMINOR so we have it available in win32/common/config.h
3352           Possibly remove it from our Makefile.am files later
3353         * win32/common/config.h:
3354         * win32/common/config.h.in:
3355           added GST_MAJORMINOR
3356         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3357         * win32/common/gstversion.h:
3358           updated
3359
3360 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3361
3362         * win32/MANIFEST:
3363           Update win32 files listing.
3364         * win32/common/gstversion.h:
3365           Add GST_MAJORMINOR definition.
3366         * win32/common/libgstreamer.def:
3367           Add new exported functions.
3368           
3369 2006-05-12  Michael Smith  <msmith@fluendo.com>
3370
3371         * gst/gstplugin.c: (gst_plugin_load_file):
3372           If an so file has no plugin entry point, unload the module.
3373
3374 2006-05-11  Wim Taymans  <wim@fluendo.com>
3375
3376         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3377         (gst_queue_set_property):
3378         Don't forget to signal the _chain or _loop function 
3379         when the queue size or thresholds change since that might
3380         cause them to make progres again.
3381
3382 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3383
3384         * gst/gstclock.c: (gst_clock_class_init):
3385         * gst/gstindex.c: (gst_index_class_init):
3386         * gst/gstobject.c: (gst_object_class_init):
3387         * gst/gstpad.c: (gst_pad_class_init):
3388         * gst/gstpipeline.c: (gst_pipeline_class_init):
3389         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3390         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3391         * libs/gst/base/gstbasetransform.c:
3392         (gst_base_transform_class_init):
3393         * libs/gst/net/gstnetclientclock.c:
3394         (gst_net_client_clock_class_init):
3395         * libs/gst/net/gstnettimeprovider.c:
3396         (gst_net_time_provider_class_init):
3397         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3398         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3399         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3400         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3401         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3402         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3403         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3404         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3405         * plugins/elements/gsttee.c: (gst_tee_class_init):
3406         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3407         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3408           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3409
3410 2006-05-11  Wim Taymans  <wim@fluendo.com>
3411
3412         * gst/gstbuffer.c: (_gst_buffer_initialize):
3413         Register subbufer along with the buffer type so that
3414         it does not accidentally gets registered from N
3415         different streaming threads in a non threadsafe way.
3416
3417 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3418
3419         * gst/gstbuffer.h:
3420         * gst/gstevent.h:
3421         * gst/gstmessage.h:
3422           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3423           gst_event_ref() and gst_message_ref() functions again
3424           (ugly hack, please do fix if there's a better way besides
3425           overrides.txt, which doesn't seem to work).
3426
3427 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3428
3429         * libs/gst/check/gstcheck.h:
3430           add an assert for setting state to avoid lots of repetitive code
3431           in the future
3432
3433 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3434
3435         * gst/gstvalue.c: (gst_value_serialize_flags):
3436           fix a leak if no flags are set
3437         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3438           fix leak in tests
3439
3440 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * docs/manual/basics-pads.xml:
3443           Expand a bit on caps and filtered links and update
3444           examples that were still using the no longer existing
3445           gst_pad_link_filtered() (#338206).
3446
3447 2006-05-10  Wim Taymans  <wim@fluendo.com>
3448
3449         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3450         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3451         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3452         (gst_collect_pads_stop):
3453         * libs/gst/base/gstcollectpads.h:
3454         No need to call _stop in _finalize.
3455         Iterate the main pad list in _finalize.
3456         Added some more debug.
3457         Free lists and data in the right order.
3458         Also free data whem doing _remove_pad when stopped for
3459         backward compatibility protect ::started with PAD_LOCK as
3460         well.
3461
3462 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3463
3464         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3465         (gst_structure_parse_value):
3466           add some comments
3467           rename a method so that it actually says what it does better
3468
3469 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3470
3471         * gst/gstevent.c: (_gst_event_initialize):
3472         * gst/gstformat.c: (_gst_format_initialize):
3473           make sure some essential types used by events are registered
3474           as part of gst_init()
3475         * gst/gstvalue.c: (gst_value_serialize_flags):
3476           if no flags are set, serialize them to a value that represents NONE
3477           so that deserializing them works
3478         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3479           add tests for serialization and deserialization of flags
3480
3481 2006-05-10  Wim Taymans  <wim@fluendo.com>
3482
3483         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3484         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3485         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3486         (gst_collect_pads_event), (gst_collect_pads_chain):
3487         Update docs.
3488         Better debug info.
3489         Catch and return errors from the collect function
3490         Refuse data on eos pads.
3491
3492 2006-05-10  Edward Hervey  <edward@fluendo.com>
3493
3494         * gst/gstinterface.h:
3495         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3496         GInterface type checking.
3497         They were previously using non-defined macros.
3498
3499 2006-05-09  Wim Taymans  <wim@fluendo.com>
3500
3501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3502         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3503         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3504         (gst_collect_pads_start), (gst_collect_pads_stop),
3505         (gst_collect_pads_peek), (gst_collect_pads_pop),
3506         (gst_collect_pads_available), (gst_collect_pads_read),
3507         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3508         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3509         (gst_collect_pads_chain):
3510         * libs/gst/base/gstcollectpads.h:
3511         Clean up the mess that is collectpads, add comments and
3512         FIXMEs where needed.
3513         Maintain a separate pad list so we can add pads while
3514         collecting the other ones. For this we need a new separate 
3515         lock (see comics).
3516         Fix memory leak in finalize.
3517         Refactor some weird code to set/unset pad flushing flags, mark
3518         with comments.
3519         Don't crash in _available, _read, _flush when we're EOS.
3520
3521         * tests/check/libs/.cvsignore:
3522         Ignore adapter check binary.
3523
3524 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3525
3526         * gst/gstindex.c: (gst_index_resolver_get_type):
3527         * plugins/elements/gstfakesink.c:
3528         (gst_fake_sink_state_error_get_type):
3529         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3530         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3531         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3532           Const-ify GEnumValue arrays.
3533
3534 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3535
3536         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3537           Add test case for flags + gst_buffer_make_metadata_writable().
3538
3539 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3540
3541         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3542           gst_buffer_make_metadata_writable() should maintain the
3543           buffer flags (those that make sense at least) (see #340859).
3544
3545 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3546
3547         * tools/gst-inspect.c:
3548         * tools/gst-launch.c:
3549         * tools/gst-typefind.c:
3550         * tools/gst-xmlinspect.c:
3551         * tools/tools.h:
3552           Fix up includes: need to include stdlib.h in tools.h for exit().
3553
3554 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         * gst/gsttaglist.c: (_gst_tag_initialize):
3557         * gst/gsttaglist.h:
3558           API: add GST_TAG_IMAGE tag (#340721).
3559
3560 2006-05-08  Wim Taymans  <wim@fluendo.com>
3561
3562         * gst/gstquery.c:
3563         Added some docs for the segment query.
3564
3565 2006-05-08  Wim Taymans  <wim@fluendo.com>
3566
3567         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3568         (gst_base_src_loop), (gst_base_src_change_state):
3569         Always push non-flushing serialized events in the streaming 
3570         thread.
3571
3572 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3573
3574         * gst/gsterror.c: (_gst_stream_errors_init):
3575           Add a missing error string.
3576
3577 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3578
3579         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3580         Add applied_rate to the debug
3581
3582         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3583         Copy applied_rate into the outgoing NEWSEGMENT event
3584
3585 2006-05-08  Wim Taymans  <wim@fluendo.com>
3586
3587         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3588
3589         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3590         (gst_base_sink_change_state):
3591         call ::unlock before taking the PREROLL_LOCK so we can safely
3592         handle elements that lock in ::render.
3593         Fixes #340174.
3594
3595 2006-05-08  Edward Hervey  <edward@fluendo.com>
3596
3597         * autogen.sh: (CONFIGURE_DEF_OPT): 
3598         Darwin's libtoolize is in fact called glibtoolize.
3599         Adding glibtoolize to the list of accepted names for libtoolize.
3600
3601 2006-05-08  Wim Taymans  <wim@fluendo.com>
3602
3603         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3604         Unify error handling, don't post an error message
3605         when a push() returns EOS but perform our normal EOS
3606         handling code. Fixes #340772.
3607
3608 2006-05-08  Wim Taymans  <wim@fluendo.com>
3609
3610         * docs/design/part-overview.txt:
3611         Make upsteam/downstream concepts more clear.
3612         Give an example of serialized/non-serialized events.
3613
3614         * docs/design/part-events.txt:
3615         * docs/design/part-streams.txt:
3616         Mention applied_rate.
3617
3618         * docs/design/part-trickmodes.txt:
3619         Mention applied rate, flesh out some more use cases.
3620
3621         * gst/gstevent.c: (gst_event_new_new_segment),
3622         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3623         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3624         (gst_event_parse_tag), (gst_event_new_buffer_size),
3625         (gst_event_parse_buffer_size), (gst_event_new_qos),
3626         (gst_event_parse_qos), (gst_event_parse_seek),
3627         (gst_event_new_navigation):
3628         * gst/gstevent.h:
3629         Add applied_rate field to NEWSEGMENT event.
3630         API: gst_event_new_new_segment_full()
3631         API: gst_event_parse_new_segment_full()
3632
3633         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3634         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3635         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3636         * gst/gstsegment.h:
3637         Add applied_rate to GstSegment structure.
3638         Make calculation of stream_time and running_time more correct
3639         wrt rate/applied_rate.
3640         Add some more docs.
3641         API: GstSegment::applied_rate field
3642         API: gst_segment_set_newsegment_full();
3643
3644         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3645         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3646         * libs/gst/base/gstbasetransform.c:
3647         (gst_base_transform_sink_eventfunc),
3648         (gst_base_transform_handle_buffer):
3649         Parse and use applied_rate in the GstSegment field.
3650
3651         * tests/check/gst/gstevent.c: (GST_START_TEST):
3652         Add check for applied_rate field.
3653
3654         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3655         (gstsegments_suite):
3656         Add more checks for various GstSegment operations.
3657
3658 2006-05-08  Wim Taymans  <wim@fluendo.com>
3659
3660         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3661         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3662         (gst_base_sink_get_position), (gst_base_sink_change_state):
3663         Store the sync time of the buffer end position separatly in a
3664         new variable eos_rtime so we can properly sync the EOS event.
3665         Fixes #340697.
3666         Fix the docs for gst_base_sink_set_qos_enabled().
3667         Don't set segment start to invalid value when we receive a 
3668         non TIME newsegment.
3669         get closer to handling position reporting for negative rates 
3670         correctly.
3671
3672 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3673
3674         * gst/gstcaps.c:
3675         Docs about how to print caps for debug purposes.
3676
3677         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3678         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3679
3680 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3681
3682         * gst/gstelement.c:
3683           use full enum names and preprend a '%' in docs strings to make recent 
3684           gtk-doc turn that into a link
3685
3686 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3687
3688         * docs/manual/basics-bins.xml:
3689         * docs/manual/basics-bus.xml:
3690         * docs/manual/basics-pads.xml:
3691           Some typo fixes, some additions, some clarifications. 
3692
3693 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3694
3695         * tools/gst-inspect.c: (main):
3696         * tools/gst-launch.c: (main):
3697         * tools/gst-run.c: (main):
3698         * tools/gst-typefind.c: (main):
3699         * tools/gst-xmlinspect.c: (main):
3700           Use the string passed to g_option_context_new() for
3701           what it's intended for - the program name is already
3702           printed elsewhere.
3703
3704 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3705
3706         * tools/Makefile.am:
3707         * tools/gst-inspect.c: (main):
3708         * tools/gst-launch.c: (main):
3709         * tools/gst-xmlinspect.c: (main):
3710         * tools/tools.h:
3711           Add back --version command line option (#340460).
3712
3713         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3714           Add --version option and use GOption for argument parsing; refactor a
3715           bit; accept directories as arguments and recurse into them; lastly,
3716           print a decent error message when things go wrong.
3717
3718 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3719
3720         * docs/manual/basics-bins.xml:
3721         Don't mention GstThread (#340611)
3722         * docs/manual/basics-elements.xml:
3723         Update link to GObject tutorial (#340607)
3724         
3725 2006-05-05  Wim Taymans  <wim@fluendo.com>
3726
3727         * gst/gstbuffer.h:
3728         * gst/gstminiobject.c:
3729         Add note about refcounting and miniobject/buffer writeability
3730         to docs. Fixes #340604
3731
3732         * gst/gstelementfactory.h:
3733         Added some explanation about @klass.
3734
3735 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3736
3737         * docs/manual/intro-motivation.xml:
3738         * docs/manual/manual.xml:
3739         Avoid CORBA & Bonobo references (#340598)
3740
3741 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3742
3743         * docs/manual/basics-bus.xml:
3744         * docs/manual/basics-pads.xml:
3745         Fix up some inaccuracies and omissions (#340609)
3746         
3747 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3748
3749         * gst/gstghostpad.c:
3750           Small typo in docs (#340625)
3751
3752 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * gst/parse/Makefile.am:
3755           Make 'make -j' proof (see #340698).
3756
3757 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3758
3759         * configure.ac:
3760           Require GLib-2.8 here as well.
3761
3762 2006-05-05  Wim Taymans  <wim@fluendo.com>
3763
3764         * gst/glib-compat.c:
3765         * gst/gst.c: (init_pre):
3766         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3767         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3768         (gst_object_dispatch_properties_changed):
3769         * gst/gstobject.h:
3770         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3771         * gst/gststructure.c: (gst_structure_set_valist):
3772         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3773         Remove pre glib2.8 compatibility, fixes #340508
3774
3775 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3776
3777         * gst/gsttaglist.h:
3778           Mention type of tags in doc blurbs.
3779
3780 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3781
3782         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3783         (gst_pad_configure_src), (gst_pad_push):
3784         Restore acceptcaps checking behaviour now that good plugins have
3785         been released.
3786
3787 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3788
3789         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3790
3791         * gst/gst.c:
3792         * gst/gstbus.c:
3793         * gst/gstclock.c:
3794         * gst/gstevent.c:
3795         * gst/gstformat.c:
3796         * gst/gstmessage.c:
3797         * gst/gstparse.c:
3798         * gst/gstquery.c:
3799         * gst/gstutils.c:
3800         * gst/parse/Makefile.am:
3801         * libs/gst/base/gstadapter.c:
3802         * libs/gst/base/gstbasesrc.c:
3803         * libs/gst/base/gstpushsrc.c:
3804         * libs/gst/base/gsttypefindhelper.c:
3805         * plugins/elements/gstfakesrc.c:
3806         * plugins/elements/gstidentity.c:
3807           Make sure gstprivate.h and/or config.h are
3808           always included first, otherwise some of our
3809           defines (like _FILE_OFFSET_BITS) might be
3810           redefined in the system headers. Fixes build
3811           on opensolaris (#340016).
3812
3813 2006-05-04  Wim Taymans  <wim@fluendo.com>
3814
3815         * docs/libs/gstreamer-libs-sections.txt:
3816         API: addition: gst_adapter_take_buffer()
3817         
3818         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3819         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3820         (gst_adapter_available_fast):
3821         * libs/gst/base/gstadapter.h:
3822         Prepare for optimizing the hell out of this hugely inefficient
3823         piece of code. 
3824         Added gst_adapter_take_buffer() so we can at least start thinking
3825         about subbuffering and merging.
3826         Added some comments.
3827
3828         * tests/check/Makefile.am:
3829         * tests/check/libs/adapter.c: (GST_START_TEST),
3830         (gst_adapter_suite), (main):
3831         Added GstAdapter check.
3832
3833 2006-05-04  Wim Taymans  <wim@fluendo.com>
3834
3835         * docs/design/part-overview.txt:
3836         Fix some typos, add blurb about buffer flags.
3837
3838 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3839
3840         * docs/libs/gstreamer-libs-sections.txt:
3841           make sure GstBaseTransformClass shows up in the docs
3842         * libs/gst/base/gstbasetransform.c:
3843         * libs/gst/base/gstbasetransform.h:
3844           move docs so gtk-doc picks it up now
3845
3846 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3847
3848         * docs/libs/gstreamer-libs-sections.txt:
3849           add missing symbols to docs
3850
3851 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3852
3853         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3854           back out the newsegment handling change, see #340060 for ongoing
3855           discussion
3856
3857 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * tools/gst-run.c: (get_candidates), (main):
3860           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3861           work); fix typo in error message. Fixes #340079.
3862
3863 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3864
3865         * common/Makefile.am:
3866         * docs/Makefile.am:
3867         * docs/faq/Makefile.am:
3868         * docs/gst/Makefile.am:
3869         * docs/libs/Makefile.am:
3870         * docs/manual/Makefile.am:
3871         * docs/plugins/Makefile.am:
3872         * docs/pwg/Makefile.am:
3873         * docs/slides/Makefile.am:
3874         * docs/upload.mak:
3875         * common/upload.mak:
3876           move upload.mak to common
3877
3878 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3879
3880         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3881           add more asserts on refcounts
3882           do more cleanup at end of tests
3883           fix test leaks showing in FC5
3884
3885 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3886
3887         * plugins/elements/gsttypefindelement.c:
3888         (gst_type_find_element_handle_event):
3889         reverted wrong change and reflowed code to avoid others falling into
3890         this trap
3891
3892 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3893
3894         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3895           fix changelog entry about last collectpads change,
3896           add notes about proper fix
3897
3898 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3899
3900         * gst/gst.c:
3901         * gst/gstregistry.c: (gst_registry_scan_path_level),
3902         (gst_registry_scan_path):
3903         * gst/gstregistry.h:
3904           only write out registry if it has changed, fixes #338339
3905
3906 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3907
3908         * gst/gstbin.c:
3909         * gst/gstpipeline.c:
3910         * plugins/elements/gstcapsfilter.c:
3911         * plugins/elements/gstfakesink.c:
3912         * plugins/elements/gstfakesrc.c:
3913         * plugins/elements/gstfdsink.c:
3914         * plugins/elements/gstfdsrc.c:
3915         * plugins/elements/gstfilesink.c:
3916         * plugins/elements/gstfilesrc.c:
3917         * plugins/elements/gstidentity.c:
3918         * plugins/elements/gstqueue.c:
3919         * plugins/elements/gsttee.c:
3920         * plugins/elements/gsttypefindelement.c:
3921         (gst_type_find_element_handle_event):
3922           make GstElementDetails const
3923
3924 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3925
3926         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3927         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3928         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3929           more detailed debug and formatting cleanup,
3930           forward newsegments to src-pad (so that e.g. adder not eats them)
3931
3932 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3933
3934         * gst/gstutils.c: (gst_element_link_pads):
3935           cleanup double code
3936
3937 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3938
3939         * libs/gst/controller/gstcontroller.c:
3940         (gst_controller_sync_values):
3941           some little tuning
3942         * tests/check/libs/controller.c: (GST_START_TEST),
3943         (gst_controller_suite):
3944           a new test for live value handling
3945
3946 2006-04-28  Wim Taymans  <wim@fluendo.com>
3947
3948         * gst/gstutils.c: (push_and_ref):
3949         Added some more docs.
3950         Fix refcount issue whith gst_element_found_tags() helper 
3951         function. Fixes #338335
3952
3953         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3954         Added testsuite for gst_element_found_tags().
3955
3956 2006-04-28  Michael Smith  <msmith@fluendo.com>
3957
3958         * gst/gstvalue.c: (gst_value_serialize_flags):
3959           Avoid NULL dereference when trying to serialize flags containing
3960           invalid values.
3961
3962 2006-04-28  Michael Smith  <msmith@fluendo.com>
3963
3964         * plugins/elements/gsttypefindelement.c:
3965         (gst_type_find_element_handle_event):
3966           If we get EOS before any data is accumulated, don't use
3967           uninitialised local variables.
3968
3969 2006-04-28  Michael Smith  <msmith@fluendo.com>
3970
3971         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3972         (gst_dp_event_from_packet):
3973           Fixes in reading/writing events over GDP (not currently used?) - 
3974           dereferencing NULL events for unknown/invalid event types, memory
3975           leak, and change g_warning to GST_WARNING.
3976
3977 2006-04-28  Wim Taymans  <wim@fluendo.com>
3978
3979         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3980         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3981         (gst_base_sink_get_position), (gst_base_sink_change_state):
3982         When frame dropping is enabled, we should not ignore frames
3983         without a duration.
3984         Update some documentation.
3985
3986 2006-04-28  Wim Taymans  <wim@fluendo.com>
3987
3988         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3989         (gst_base_src_send_event), (gst_base_src_change_state):
3990         Documentation updates.
3991
3992 2006-04-28  Wim Taymans  <wim@fluendo.com>
3993
3994         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3995         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3996         handle EAGAIN, EINTR and short writes correctly. Also clean
3997         up some error cases, avoid a deadlock on bad file descriptors and
3998         use GST_DEBUG_OBJECT.
3999         Fixes #339843
4000
4001 2006-04-28  Wim Taymans  <wim@fluendo.com>
4002
4003         * gst/gstvalue.c: (gst_value_serialize_buffer),
4004         (gst_value_deserialize_buffer):
4005         Don't try to serialize a GValue with a NULL buffer. 
4006         Fixes #339821.
4007
4008         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4009         Added check for serialisation of NULL buffers.
4010
4011 2006-04-28  Wim Taymans  <wim@fluendo.com>
4012
4013         * gst/gstminiobject.c: (gst_value_take_mini_object):
4014         Taking a NULL miniobject is valid, fix the case where
4015         we try to unref the NULL miniobject.
4016
4017 2006-04-28  Wim Taymans  <wim@fluendo.com>
4018
4019         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4020
4021         * gst/gstbin.c: (gst_bin_handle_message_func):
4022         Update docs.
4023         Don't leak bin refcount when a state recalc is
4024         in progress and we delay another one #339808.
4025
4026 2006-04-28  Wim Taymans  <wim@fluendo.com>
4027
4028         * docs/design/part-TODO.txt:
4029         Mention QoS as an ongoing work item.
4030
4031         * docs/design/part-buffering.txt:
4032         New doc about buffering that needs to be fleshed out
4033         at some point.
4034
4035         * docs/design/part-qos.txt:
4036         More QoS policy for decoders/demuxers/transforms
4037
4038         * docs/design/part-trickmodes.txt:
4039         Small update.
4040
4041 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4042
4043         * configure.ac:
4044           back to HEAD
4045
4046 === release 0.10.5 ===
4047
4048 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
4049
4050         * configure.ac:
4051           releasing 0.10.5, "Fogo"
4052
4053 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4054
4055         patch by: Wim Taymans
4056
4057         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4058         (gst_pad_configure_src), (gst_pad_push):
4059         * gst/gstpipeline.c: (gst_pipeline_init):
4060           Fix internal data flow errors.  Fixes #338711.
4061
4062 2006-04-12  Wim Taymans  <wim@fluendo.com>
4063
4064         * tests/check/gst/gstelement.c: (GST_START_TEST):
4065         Don't leak the factory.
4066
4067 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4068
4069         * configure.ac:
4070         * win32/common/config.h:
4071           prerelease
4072
4073 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4074
4075         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4076         (gst_controller_unset_all):
4077           Free allocated GstTimedValues when freeing list nodes.
4078           Should fix leaks 'make check-valgrind' complains about.
4079
4080         * win32/common/libgstcontroller.def:
4081           Add gst_controller_unset_all.
4082
4083 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
4084
4085         * docs/libs/gstreamer-libs-sections.txt:
4086         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4087         (gst_controller_unset_all):
4088         * libs/gst/controller/gstcontroller.h:
4089         API: Added new method gst_controller_unset_all()
4090         fixed gst_controller_unset()
4091         * tests/check/libs/controller.c: (GST_START_TEST),
4092         (gst_controller_suite):
4093         Added two testcases for new and fixed method
4094
4095 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
4096
4097         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4098           MSG_DONTWAIT is not defined on Cygwin, so work
4099           around that (fixes #317048).
4100           
4101 2006-04-11  Wim Taymans  <wim@fluendo.com>
4102
4103         * gst/gstelementfactory.c: (gst_element_register),
4104         (gst_element_factory_create), (gst_element_factory_make):
4105         Some cleanups.
4106         Fixed a FIXME.
4107         Updated docs (Fixes #131079)
4108
4109         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4110         Small cleanups.
4111
4112         * tests/check/gst/gstelement.c: (GST_START_TEST),
4113         (gst_element_suite):
4114         Added testcase for elementfactory class field.
4115
4116 2006-04-10  Wim Taymans  <wim@fluendo.com>
4117
4118         * gst/gstsegment.c:
4119         Added some more docs.
4120
4121         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4122         (gst_base_sink_reset_qos):
4123         Calculate more accurate rate values.
4124
4125 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
4126
4127         * gst/gst_private.h:
4128           add a new #ifdef to use __declspec(dllimport) only for
4129           other modules and not for gstreamer core
4130         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4131           use gst_guint64_to_gdouble for conversion
4132         * win32/common/libgstreamer.def:
4133           add new exported functions
4134         * win32/vs6/gst_inspect.dsp:
4135         * win32/vs6/gst_launch.dsp:
4136         * win32/vs6/libgstbase.dsp:
4137         * win32/vs6/libgstcontroller.dsp:
4138         * win32/vs6/libgstcoreelements.dsp:
4139         * win32/vs6/libgstdataprotocol.dsp:
4140         * win32/vs6/libgstnet.dsp:
4141           update project files
4142
4143 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4144
4145         * gst/gstbuffer.c: (gst_subbuffer_class_init):
4146         * gst/gstclock.c: (gst_clock_class_init):
4147         * gst/gstelement.c: (gst_element_class_init):
4148         * gst/gstindex.c: (gst_index_class_init):
4149         * gst/gstindexfactory.c: (gst_index_factory_class_init):
4150         * gst/gstobject.c: (gst_object_class_init),
4151         (gst_signal_object_class_init):
4152         * gst/gstpad.c: (gst_pad_class_init):
4153         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4154         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4155         * gst/gstregistry.c: (gst_registry_class_init):
4156         * gst/gstsystemclock.c: (gst_system_clock_class_init):
4157         * gst/gsttask.c: (gst_task_class_init):
4158         * gst/gstxml.c: (gst_xml_class_init):
4159         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4160         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4161         (gst_base_src_loop):
4162         * libs/gst/controller/gstcontroller.c:/
4163         (_gst_controller_class_init):
4164         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4165         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4166         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4167         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4168         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4169         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4170
4171 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
4172
4173         * gst/gstpad.c: (gst_pad_link):
4174           Must set peer pads before calling the link function, otherwise
4175           a task started from a link function might get a flow-not-linked
4176           result when trying to push because the other thread where the
4177           linking happens hasn't had a chance to set the peers yet. This
4178           might happen for example when a queue gets linked to a downstream
4179           element, as queue starts a streaming task when its source pad
4180           gets linked. Happens in real life when playing back flac/musepack
4181           files in playbin (#332390).
4182           
4183 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4184
4185         * gst/gstindex.h:
4186         * gst/gstxml.h:
4187         * libs/gst/base/gstadapter.h:
4188         * libs/gst/base/gstbasesink.h:
4189         * libs/gst/base/gstbasesrc.h:
4190         * libs/gst/base/gstbasetransform.h:
4191         * libs/gst/base/gstcollectpads.h:
4192         * libs/gst/base/gstpushsrc.h:
4193         Fix broken GObject macros
4194
4195 2006-04-07  Wim Taymans  <wim@fluendo.com>
4196
4197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4198         Initialize start and stop times, thanks valgrind.
4199
4200 2006-04-07  Wim Taymans  <wim@fluendo.com>
4201
4202         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4203         Be a bit nicer to badly behaving upstream elements that expect
4204         us to deal with non TIME segments and timestamps (such as fakesrc
4205         in the testsuite).
4206
4207 2006-04-07  Wim Taymans  <wim@fluendo.com>
4208
4209         * gst/gstbus.c:
4210         Small documentation clarification about the signal watch.
4211
4212         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4213         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4214         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4215         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4216         (gst_base_sink_get_position_last),
4217         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4218         Convert and store timestamps in stream time and running time, the
4219         raw timestamps are not usefull, also document this better.
4220         Use different window sizes for good and bad QoS observations so
4221         we react to badness a little quicker.
4222         Keep track of the amount of rendered and dropped buffers.
4223         Send QoS timestamps in running time.
4224
4225         * libs/gst/base/gstbasetransform.c:
4226         (gst_base_transform_sink_eventfunc),
4227         (gst_base_transform_handle_buffer):
4228         Compare QoS timestamps against running time.
4229
4230 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4231
4232         * gst/gstpad.c:
4233           Typo fixes in docs.
4234
4235 2006-04-06  Michael Smith  <msmith@fluendo.com>
4236
4237         * gst/gstpad.c: (gst_pad_set_property):
4238           Use g_value_get_object() instead of g_value_dup_gst_object(),
4239           to avoid double-reffing the pad template (which we then sink,
4240           so this worked previously if (and only if) the pad template
4241           was floating.
4242
4243         * gst/gstpadtemplate.c: (gst_pad_template_init),
4244         (gst_pad_template_pad_created):
4245           Never return floating references to pad templates, create
4246           them as initially-sunken.
4247
4248           Document an extra function (and make this stop sinking our
4249           pad template, since that is now guaranteed to do nothing,
4250           since we created it sunken).
4251
4252         * gst/gstghostpad.c:
4253           Fix docs typo.
4254
4255 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4256
4257         * gst/gstinfo.c: (__gst_in_valgrind):
4258           Add some newlines.
4259
4260         * plugins/elements/gsttypefindelement.c:
4261         (gst_type_find_element_chain):
4262           Don't leak buffer caps.
4263
4264 2006-04-06  Michael Smith  <msmith@fluendo.com>
4265
4266         * gst/parse/grammar.y:
4267           Fix a leak in parse-launch for any source-or-sink named element 
4268           references used.
4269
4270         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4271           Unref the pipeline if it exists after we've failed parsing.
4272
4273 2006-04-05  Michael Smith  <msmith@fluendo.com>
4274
4275         * gst/gstpipeline.c: (gst_pipeline_init):
4276           When we create a pipeline bus, initially create it in flushing mode.
4277           Fixes leaks in at least one test, and makes a new pipeline work the
4278           same as one that has gone to READY and then back to NULL.
4279
4280         * gst/gstelement.c:
4281           Typo fix in docs.
4282
4283 2006-04-05  Michael Smith  <msmith@fluendo.com>
4284
4285         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4286           Unref a pad we reffed.
4287         * tests/check/gst/gstutils.c: (GST_START_TEST):
4288           Unref bins
4289
4290 2006-04-05  Michael Smith  <msmith@fluendo.com>
4291
4292         * gst/gstquery.c: (gst_query_set_formats),
4293         (gst_query_set_formatsv):
4294           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4295
4296 2006-04-05  Michael Smith  <msmith@fluendo.com>
4297
4298         * tests/check/generic/sinks.c: (GST_START_TEST):
4299           Fix a variety of memleaks in sinks check, which are only sometimes 
4300           shown by running the tests under valgrind (weird?).
4301
4302 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4303
4304         * docs/version.entities.in:
4305           Fix the substituted entity name after thomas' changes on the
4306           weekend.
4307
4308 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4309
4310         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4311         VALGRIND_PRINTF
4312         
4313 2006-04-05  Andy Wingo  <wingo@pobox.com>
4314
4315         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4316
4317         * libs/gst/base/gstbasetransform.c
4318         (gst_base_transform_sink_eventfunc): When resetting our segment on
4319         FLUSH_STOP, also update the flag saying we haven't seen a
4320         newsegment.
4321
4322 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4323
4324         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4325
4326         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4327         (gst_plugin_check_license):
4328           minor clean-ups: G_DEFINE_TYPE already takes care of the
4329           parent_class stuff, no need to do it twice. Mark array of
4330           license strings as constant. (#337103)
4331           
4332 2006-04-04  Michael Smith  <msmith@fluendo.com>
4333
4334         * tools/gst-inspect.c: (print_element_list):
4335           Free the right plugin list; fixes a memory leak.
4336
4337 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4338
4339         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4340
4341         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4342           Don't error out on empty buffers (#336945).
4343           
4344 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4345
4346         * docs/libs/gstreamer-libs-sections.txt:
4347         * gst/gsttaglist.c:
4348         * libs/gst/base/gstbasesink.c:
4349         * libs/gst/base/gstbasesink.h:
4350         * libs/gst/base/gstbasesrc.c:
4351         * libs/gst/base/gstbasesrc.h:
4352           Documentation updates. Make BaseSink and BaseSrc docs contain the
4353           class structure so that people can actually see the prototypes for
4354           virtual functions they're supposed to be overriding.
4355
4356 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4357
4358         * plugins/elements/gsttypefindelement.c:
4359         (gst_type_find_element_chain):
4360           More debug info; when skipping typefinding, send cached
4361           events in all cases.
4362
4363 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4364
4365         * configure.ac:
4366           use new AS_VERSION and AS_NANO macros
4367         * gst/gst-i18n-lib.h:
4368         * gst/gst.c:
4369         * gst/gsterror.c:
4370         * gst/gstversion.h.in:
4371         * win32/common/config.h:
4372         * win32/common/config.h.in:
4373           update accordingly
4374
4375 2006-03-31  Michael Smith  <msmith@fluendo.com>
4376
4377         * plugins/elements/gsttypefindelement.c:
4378         (gst_type_find_element_chain):
4379           Do not typefind content if the buffers already have caps.
4380           Neccesary for icydemux (#333657), and the right thing to do anyway.
4381
4382 2006-03-30  Wim Taymans  <wim@fluendo.com>
4383
4384         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4385         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4386         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4387         (gst_base_sink_record_qos_observation),
4388         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4389         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4390         (gst_base_sink_change_state):
4391         More QoS measurements as described in the design doc.
4392         Get rid of ringbuffer with observations, running average is
4393         more simple and equally good.
4394         Calculates valid proportion now.
4395         Added beginning of flood measurement.
4396
4397 2006-03-29  Wim Taymans  <wim@fluendo.com>
4398
4399         * docs/design/part-qos.txt:
4400         * gst/gstclock.c:
4401         Small documentation updates and additions.
4402
4403 2006-03-29  Wim Taymans  <wim@fluendo.com>
4404
4405         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4406         (gst_base_src_send_event), (gst_base_src_loop),
4407         (gst_base_src_change_state):
4408         Perform the EOS logic when we reach the segment stop position.
4409         Fix compilation on gcc4.1
4410
4411 2006-03-29  Wim Taymans  <wim@fluendo.com>
4412
4413         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4414
4415         * plugins/elements/gstqueue.c: (gst_queue_init),
4416         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4417         (gst_queue_set_property):
4418         * plugins/elements/gstqueue.h:
4419         In queue, when EOS is received, if minimum threshold > max_size -
4420         current_level, there is chance that queue blocks forever in conditional
4421         item del wait. This is because the queue is not emptied completely due
4422         to minimum threshold.  Here is another approach. Instead of setting
4423         cur_levels to max in EOS, just zero all minimum threshold levels. This
4424         should make sure that queue gives out all data. When going to READY
4425         (stop) state, just reset the original minimum threshold levels.
4426         Fixes #336336.
4427
4428 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4429
4430         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4431         (gst_type_find_element_handle_event),
4432         (gst_type_find_element_send_cached_events),
4433         (gst_type_find_element_change_state):
4434         * plugins/elements/gsttypefindelement.h:
4435           When typefinding is done in push mode, we should cache
4436           events we receive during typefinding instead of just
4437           dropping them (e.g. newsegment, custom events from
4438           dvdreadsrc etc.) and then send them out once we've
4439           determined the type of the stream (and decodebin
4440           has had a chance to plug in a decoder/demuxer).
4441           
4442 2006-03-27  Wim Taymans  <wim@fluendo.com>
4443
4444         * docs/design/part-qos.txt:
4445         First QoS ideas.
4446
4447 2006-03-27  Wim Taymans  <wim@fluendo.com>
4448
4449         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4450
4451         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4452         (gst_base_src_send_event), (gst_base_src_change_state):
4453         Handle element seek correctly when we are streaming.
4454         Fixes #326998.
4455
4456 2006-03-24  Michael Smith  <msmith@fluendo.com>
4457
4458         * docs/faq/gst-uninstalled:
4459           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4460           allow you to correctly run intalled applications built against old 
4461           core, using plugins that require updated core (e.g. running
4462           installed totem against a full uninstalled gstreamer stack)
4463
4464 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4465
4466         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4467         more debug details
4468
4469 2006-03-24  Wim Taymans  <wim@fluendo.com>
4470
4471         * docs/gst/gstreamer-sections.txt:
4472         Rearrange the order of the methods so that related methods
4473         are grouped together in sections.
4474
4475 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4476
4477         * gst/gstelement.c:
4478           Little clarification in the docs
4479
4480 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4481
4482         * docs/README:
4483         formatting fix
4484         * plugins/elements/gstidentity.c:
4485         * plugins/elements/gstqueue.c:
4486         * plugins/elements/gsttee.c:
4487         * plugins/elements/gsttypefindelement.c:
4488         GST_ELEMENT_DETAILS formatting
4489
4490 2006-03-24  Wim Taymans  <wim@fluendo.com>
4491
4492         * libs/gst/base/gstbasesink.h:
4493         Only add fields, not insert or we break ABI.
4494
4495 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4496
4497         * win32/common/libgstbase.def:
4498         * win32/common/libgstreamer.def:
4499           Update, add recently added functions.
4500
4501 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4502
4503         * docs/gst/gstreamer-sections.txt:
4504         * gst/gstutils.c: (gst_pad_query_peer_position),
4505         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4506         * gst/gstutils.h:
4507           API: add some new utility functions:
4508            - gst_pad_query_peer_position()
4509            - gst_pad_query_peer_duration()
4510            - gst_pad_query_peer_convert()
4511           
4512 2006-03-23  Wim Taymans  <wim@fluendo.com>
4513
4514         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4515         (gst_base_sink_init), (gst_base_sink_finalize),
4516         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4517         (gst_base_sink_set_property), (gst_base_sink_get_property),
4518         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4519         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4520         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4521         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4522         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4523         (gst_base_sink_preroll_object), (gst_base_sink_event),
4524         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4525         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4526         (gst_base_sink_query), (gst_base_sink_change_state):
4527         Decouple max-lateness and the fact that QoS messages are generated
4528         with a new property (qos).
4529         added API: GstBaseSink::async_play()
4530         Add vmethod so subclasses can be notified of ASYNC playing
4531         state changes.
4532         Collect timestamp start and stop to report better current
4533         position in EOS/PLAYING/PAUSED/READY/NULL.
4534         Refactor QoS/frame dropping and other measurements.
4535         API: GstBaseSrc::qos
4536         Fixes #326311
4537
4538         * libs/gst/base/gstbasesink.h:
4539         Added Private struct.
4540         API: gst_base_sink_set_qos_enabled()
4541         API: gst_base_sink_is_qos_enabled()
4542
4543 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4546           If compiling against GLib-2.8 or newer, try to read the
4547           registry file using GMappedFile first before falling back
4548           to fopen() + fread() (#332151).
4549
4550 2006-03-22  Wim Taymans  <wim@fluendo.com>
4551
4552         * gst/gstinfo.c: (gst_debug_set_active),
4553         (gst_debug_category_set_threshold):
4554         Disable debugging unless explicitly activated.
4555         Fixes #335480.
4556
4557 2006-03-22  Wim Taymans  <wim@fluendo.com>
4558
4559         * gst/gstelement.c: (gst_element_set_locked_state),
4560         (gst_element_dispose):
4561         Cleanup the error case.
4562
4563         * gst/gstobject.c: (gst_object_dispose):
4564         print a critical when some object was disposed with
4565         a parent, also revive the object since it might
4566         crash the parent.
4567
4568 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4569
4570         * tools/gst-launch.1.in:
4571           Fix another typo.
4572
4573 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4574
4575         * configure.ac:
4576         * tests/check/Makefile.am:
4577           disable some tests when we don't have a registry
4578         * tests/check/gst/gstutils.c: (gst_utils_suite):
4579           don't build the part that needs parsing
4580
4581 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4582
4583         * gst/Makefile.am
4584         * tests/examples/Makefile.am:
4585           fix --disable-parse build
4586
4587 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4588
4589         * tools/gst-feedback.1.in:
4590           Fix typo: s/feeback/feedback/ (#133494).
4591
4592 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4593
4594         * tools/Makefile.am:
4595         * tools/gst-launch.1.in:
4596           Add FILES section and correct entry about GST_REGISTRY_PATH
4597           environment variable (#133495; #133494).
4598
4599 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4600
4601         * tools/Makefile.am:
4602         * tools/gst-md5sum.1.in:
4603         * tools/gst-md5sum.c:
4604           Remove gst-md5sum and man page (the md5sink element
4605           required was removed ages ago)
4606
4607 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4608
4609         * gst/gststructure.c: (gst_structure_id_set_value):
4610           Make sure that string fields in structures/taglists
4611           contain valid UTF-8 - we don't want to pass rubbish to
4612           applications because of a buggy plugin (cp. #334167).
4613
4614 2006-03-21  Edward Hervey  <edward@fluendo.com>
4615
4616         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4617         (gst_bin_handle_message_func):
4618         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4619         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4620         (gst_element_set_bus_func):
4621         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4622         * gst/gstminiobject.c: (gst_value_set_mini_object),
4623         (gst_value_take_mini_object):
4624         * gst/gstpad.c: (gst_pad_set_pad_template):
4625         * gst/gstpipeline.c: (gst_pipeline_dispose),
4626         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4627         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4628         (gst_collect_pads_chain):
4629         * libs/gst/net/gstnettimeprovider.c:
4630         (gst_net_time_provider_set_property):
4631         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4632         It's in fact all issues with gst_*object_replace().
4633
4634 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4635
4636         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4637         
4638         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4639         * pkgconfig/gstreamer-check.pc.in:
4640           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4641
4642 2006-03-21  Edward Hervey  <edward@fluendo.com>
4643
4644         * gst/gstbuffer.h:
4645         * gst/gstevent.h:
4646         * gst/gstmessage.h:
4647         gst_[buffer|event|message]_ref() macros are replaced by a static
4648         inline functions because gcc-4.1 will about if the return value
4649         isn't used.
4650         * tests/check/gst/gstevent.c: (event_probe):
4651         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4652
4653 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4654
4655         * gst/gstutils.h:
4656         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4657         the type' case. (Closes: #335195 for now). In the future, when we
4658         depend on GLib 2.10, we could also intern the type name using
4659         g_intern_static_string()
4660
4661 2006-03-20  Wim Taymans  <wim@fluendo.com>
4662
4663         * gst/gstbin.c: (gst_bin_handle_message_func),
4664         (bin_query_max_init), (bin_query_position_fold),
4665         (bin_query_position_done), (gst_bin_query):
4666         Position query should also take max of all streams.
4667
4668 2006-03-20  Wim Taymans  <wim@fluendo.com>
4669
4670         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4671         (gst_fake_src_finalize):
4672         Fix leaks in fakesrc.
4673
4674         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4675         Fix leaks in the testcase.
4676
4677 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4678
4679         * gst/gst_private.h:
4680           add win32 specific import decoration(__declspec(dllimport)) 
4681           for all extern GstDebugCategory * variables
4682         * win32/common/libgstbase.def:
4683         * win32/common/libgstcontroller.def:
4684         * win32/common/libgstreamer.def:
4685           Add some exports, remove empty lines
4686         * win32/common/libgstdataprotocol.def:
4687         * win32/common/libgstdataprotocol.dsp:
4688         * win32/common/libgstnet.def:
4689         * win32/common/libgstnet.dsp:
4690           new project files and exportation files added
4691         
4692 2006-03-19  Wim Taymans  <wim@fluendo.com>
4693
4694         * tests/check/libs/basesrc.c: (eos_event_counter):
4695         Use proper return value for probe.
4696
4697 2006-03-17  Wim Taymans  <wim@fluendo.com>
4698
4699         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4700         (gst_pad_push):
4701         Don't leak buffers, caps and pads on negotiation errors.
4702
4703 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4704
4705         * docs/faq/cvs.xml:
4706         * docs/faq/dependencies.xml:
4707         * docs/faq/developing.xml:
4708         * docs/faq/faq.xml:
4709         * docs/faq/general.xml:
4710         * docs/faq/getting.xml:
4711         * docs/faq/legal.xml:
4712         * docs/faq/troubleshooting.xml:
4713         * docs/faq/using.xml:
4714         Faq review and update.
4715
4716 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4717
4718         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4719         (gst_pad_push):
4720         Don't pound the cpu to pieces by checking get_caps when accept_caps
4721         is called with the same caps as the pad already has.
4722         Use GST_DEBUG_OBJECT when outputting caps change information.
4723
4724 2006-03-15  Wim Taymans  <wim@fluendo.com>
4725
4726         * gst/gstclock.c: (gst_clock_class_init):
4727         Fix docs.
4728
4729 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4730
4731         * gst/gstbuffer.h:
4732         Documentation fix.
4733
4734         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4735         (gst_pad_accept_caps), (gst_pad_configure_sink),
4736         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4737         Make the default acceptcaps behaviour be to check the requested 
4738         caps against the gst_pad_get_caps output. 
4739
4740         Ensure that gst_pad_accept_caps is used to check caps when a pad
4741         doesn't have a setcaps function, so that pads automatically refuse 
4742         caps that they don't allow in their pad template. (Fixes #332986)
4743
4744         When a buffer with attached caps is pushed, ensure that the source 
4745         pad receives those caps even if the element didn't call
4746         gst_pad_set_caps first.
4747
4748 2006-03-15  Wim Taymans  <wim@fluendo.com>
4749
4750         * libs/gst/base/gstadapter.c:
4751         Add some docs.
4752
4753 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4754
4755         * win32/common/libgstbase.def:
4756         * win32/common/libgstcontroller.def:
4757         * win32/common/libgstreamer.def:
4758           Add a whole bunch of missing functions (#334434).
4759
4760 2006-03-14  Wim Taymans  <wim@fluendo.com>
4761
4762         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4763         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4764         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4765         Better debug info when we receive a segment event.
4766         Reorganize a bit so we can pass the get_times() results around.
4767         Use the segment format when calculating the running time.
4768         Don't do QoS is sync is disabled or we have no clock or the
4769         element does not want us to sync to the clock.
4770         Don't drop buffers if QoS is disabled for now.
4771
4772 2006-03-14  Wim Taymans  <wim@fluendo.com>
4773
4774         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4775         Marked the stats property as unimplemented so people don't get
4776         wild ideas.
4777         Add debug message when regression goes wrong.
4778         Added some more docs.
4779
4780 2006-03-14  Wim Taymans  <wim@fluendo.com>
4781
4782         * gst/gstsegment.c: (gst_segment_to_stream_time):
4783         Return correct return type in case of errors.
4784
4785 2006-03-14  Wim Taymans  <wim@fluendo.com>
4786
4787         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4788           Don't segfault on invalid formats.
4789
4790 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4791
4792         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4793           Can't use gst_segment_to_running_time() when the segment
4794           is not in GST_TIME_FORMAT (like with filesink, for example).
4795           Stops flac encoding pipelines from spewing critical warnings
4796           at EOS (#331248).
4797           
4798 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4799
4800         * gst/gstpipeline.c: (gst_pipeline_class_init):
4801           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4802
4803         * plugins/elements/gsttypefindelement.c:
4804         (gst_type_find_element_handle_event):
4805           Don't try to typefind empty streams.
4806
4807 2006-03-14  Wim Taymans  <wim@fluendo.com>
4808
4809         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4810         (gst_base_sink_do_qos):
4811         Separate QoS calculation.
4812         Only drop buffers when lateness is bigger than the 
4813         duration of the buffer.
4814
4815 2006-03-13  Wim Taymans  <wim@fluendo.com>
4816
4817         * gst/gstpipeline.c: (gst_pipeline_set_property),
4818         (gst_pipeline_get_property), (do_pipeline_seek),
4819         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4820         (gst_pipeline_get_delay):
4821         Don't deadlock when reading properties.
4822
4823 2006-03-13  Wim Taymans  <wim@fluendo.com>
4824
4825         * libs/gst/base/gstbasetransform.c:
4826         (gst_base_transform_class_init), (gst_base_transform_init),
4827         (gst_base_transform_sink_event),
4828         (gst_base_transform_sink_eventfunc),
4829         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4830         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4831         (gst_base_transform_set_property),
4832         (gst_base_transform_get_property),
4833         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4834         (gst_base_transform_set_qos_enabled),
4835         (gst_base_transform_is_qos_enabled):
4836         * libs/gst/base/gstbasetransform.h:
4837         Make basetransform virtual method for src events too.
4838         Handle QOS in basetransform.
4839         API: gst_base_transform_update_qos()
4840         API: gst_base_transform_set_qos_enabled()
4841         API: gst_base_transform_is_qos_enabled()
4842
4843 2006-03-13  Wim Taymans  <wim@fluendo.com>
4844
4845         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4846         (gst_base_sink_do_sync):
4847         Small cleanups.
4848         Use QOS debug category.
4849
4850 2006-03-13  Wim Taymans  <wim@fluendo.com>
4851
4852         * plugins/elements/gstqueue.c:
4853         Very small doc update.
4854
4855 2006-03-13  Wim Taymans  <wim@fluendo.com>
4856
4857         * gst/gst_private.h:
4858         * gst/gstinfo.c: (_gst_debug_init):
4859         Added QOS debug category
4860
4861 2006-03-13  Wim Taymans  <wim@fluendo.com>
4862
4863         * docs/gst/gstreamer-sections.txt:
4864         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4865         * gst/gstbin.h:
4866         * gst/gstbus.c: (gst_bus_class_init):
4867         * gst/gstbus.h:
4868         * gst/gstclock.c:
4869         * gst/gstelement.c: (gst_element_set_locked_state):
4870         * gst/gstsegment.c:
4871         Documentation updates.
4872
4873         * gst/gstpipeline.c: (gst_pipeline_get_type),
4874         (gst_pipeline_class_init), (gst_pipeline_init),
4875         (gst_pipeline_dispose), (gst_pipeline_set_property),
4876         (gst_pipeline_get_property), (do_pipeline_seek),
4877         (gst_pipeline_send_event), (gst_pipeline_change_state),
4878         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4879         (gst_pipeline_get_delay):
4880         * gst/gstpipeline.h:
4881         Added methods for setting the delay.
4882         API: gst_pipeline_set_delay()
4883         API: gst_pipeline_get_delay()
4884         Add pipeline debug category
4885         Various cleanups.
4886         Updated docs.
4887         Don't reset stream time when seek failed.
4888
4889 2006-03-13  Wim Taymans  <wim@fluendo.com>
4890
4891         * docs/design/draft-klass.txt:
4892         * docs/design/part-clocks.txt:
4893         * docs/design/part-events.txt:
4894         * docs/design/part-gstbin.txt:
4895         * docs/design/part-gstpipeline.txt:
4896         * docs/design/part-messages.txt:
4897         * docs/design/part-negotiation.txt:
4898         * docs/design/part-overview.txt:
4899         * docs/design/part-preroll.txt:
4900         * docs/design/part-seeking.txt:
4901         * docs/design/part-states.txt:
4902         * docs/design/part-streams.txt:
4903         Documentation updates.
4904
4905 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4906
4907         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4908         us to leak strings...
4909
4910 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * libs/gst/net/gstnettimeprovider.c:
4913           fix docs
4914         * win32/common/config.h:
4915           update
4916
4917 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4918
4919         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4920
4921         * configure.ac:
4922           Don't check for libgnomeui (leftover from old examples
4923           that aren't built or disted any longer) (#334303).
4924           
4925 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4926
4927         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4928         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4929           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4930           there's no space left on the device.
4931
4932 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4933
4934         * gst/gstclock.h:
4935           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4936           to cast the input to GstClockTime before comparing with
4937           another GstClockTime value.
4938
4939 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4940
4941         * configure.ac:
4942           back to trunk
4943
4944 === release 0.10.4 ===
4945
4946 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4947
4948         * configure.ac:
4949           releasing 0.10.4, "Light"
4950
4951 2006-03-10  Michael Smith  <msmith@fluendo.com>
4952
4953         * libs/gst/dataprotocol/dataprotocol.c:
4954           Fix docs for dataprocotol to not get the return types completely
4955           wrong for a few functions.
4956
4957 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4958
4959         * docs/gst/gstreamer-sections.txt:
4960         * gst/gstpipeline.c: (gst_pipeline_class_init),
4961         (gst_pipeline_init), (gst_pipeline_set_property),
4962         (gst_pipeline_get_property), (gst_pipeline_change_state),
4963         (gst_pipeline_set_auto_flush_bus),
4964         (gst_pipeline_get_auto_flush_bus):
4965         * gst/gstpipeline.h:
4966           Add new API: gst_pipeline_set_auto_flush_bus() and
4967           gst_pipeline_get_auto_flush_bus() to disable automatic
4968           flushing of the pipeline's GstBus when going from READY
4969           to NULL state (#332045).
4970
4971 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4972
4973         * docs/gst/gstreamer-sections.txt:
4974         * gst/gsturi.c: (gst_uri_has_protocol):
4975         * gst/gsturi.h:
4976            Add new API: gst_uri_has_protocol() (#333779).
4977
4978 2006-03-09  Wim Taymans  <wim@fluendo.com>
4979
4980         * gst/gstclock.c: (gst_clock_entry_new),
4981         (gst_clock_id_compare_func), (gst_clock_id_wait),
4982         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4983         (gst_clock_init), (gst_clock_get_internal_time),
4984         (gst_clock_set_master), (do_linear_regression),
4985         (gst_clock_add_observation), (gst_clock_set_property):
4986         * gst/gstclock.h:
4987         Review docs.
4988         Small cleanups.
4989         Fix a possible segfault when the window-size is made smaller.
4990         Calculate jitter before performing the clock wait. Ideally
4991         the clock implementation should calculate jitter but we need
4992         API breakage for that.
4993
4994         * gst/gstsystemclock.c: (gst_system_clock_init):
4995         Docs review.
4996         
4997         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4998         Remove leftover else
4999
5000         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5001         (gst_systemclock_suite):
5002         Added check to test GST_CLOCK_DIFF.
5003
5004 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
5005
5006         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5007         (gst_type_find_helper_get_range):
5008           If we are provided with the size, we should implement
5009           GstTypeFind::get_length, so that typefind functions who
5010           want to can actually peek at the middle of a file.
5011
5012 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
5013
5014         * docs/manual/advanced-dataaccess.xml:
5015           Add some very very basic error checking.
5016
5017         * docs/pwg/appendix-checklist.xml:
5018           Some updates to the list of things to check when writing an element.
5019
5020 2006-03-08  Wim Taymans  <wim@fluendo.com>
5021
5022         * docs/design/part-element-transform.txt:
5023         Added some docs about the design of tranform elements.
5024
5025         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5026         (gst_base_src_loop), (gst_base_src_change_state):
5027         Mark buffers with the DISCONT flag.
5028
5029 2006-03-08  Michael Smith  <msmith@fluendo.com>
5030
5031         * gst/gstregistry.h:
5032         * gst/gstregistryxml.c: (gst_registry_save),
5033         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5034         (gst_registry_xml_save_pad_template),
5035         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5036         (gst_registry_xml_write_cache):
5037           Rewrite registry-saving to avoid race conditions and check for
5038           failed writes.
5039
5040 2006-03-08  Wim Taymans  <wim@fluendo.com>
5041
5042         * libs/gst/base/gstbasetransform.c:
5043         (gst_base_transform_transform_caps),
5044         (gst_base_transform_transform_size),
5045         (gst_base_transform_prepare_output_buffer),
5046         (gst_base_transform_get_unit_size),
5047         (gst_base_transform_buffer_alloc),
5048         (gst_base_transform_handle_buffer),
5049         (gst_base_transform_change_state):
5050         Cleanups, separate normal flow from errors, add sensible
5051         DEBUG lines.
5052         Don't try to renegotiate when allocating an output buffer.
5053         Also copy DISCONT buffer flag when copying a buffer.
5054         Reset the transform after we finish streaming, not during.
5055
5056 2006-03-08  Wim Taymans  <wim@fluendo.com>
5057
5058         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5059         Use last buffer timestamp in qos message.
5060
5061 2006-03-07  Wim Taymans  <wim@fluendo.com>
5062
5063         Patch by: Christophe Fergeau
5064
5065         * docs/pwg/advanced-tagging.xml:
5066         * docs/pwg/building-pads.xml:
5067           fixes #333416
5068
5069 2006-03-07  Wim Taymans  <wim@fluendo.com>
5070
5071         * docs/libs/gstreamer-libs-sections.txt:
5072         Added basesink new methods.
5073
5074         * gst/gstevent.c:
5075         * gst/gstevent.h:
5076         Docs updates. Flesh out the QoS docs.
5077
5078         * libs/gst/base/gstadapter.c:
5079         Small doc clarification about ownership and flushing.
5080
5081         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5082         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5083         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5084         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5085         * libs/gst/base/gstbasesink.h:
5086         API additions: 
5087         Added new methods to allow subclass to control max-lateness 
5088         and sync.
5089         Generate very basic QoS events based on last sync observation.
5090         Updated docs, fix typo, added some QoS blurb.
5091
5092         * libs/gst/base/gstbasesrc.c:
5093         Remove obsolete _get_state() calls from docs.
5094
5095 2006-03-07  Wim Taymans  <wim@fluendo.com>
5096
5097         * docs/libs/gstreamer-libs-sections.txt:
5098         * libs/gst/base/gstbasetransform.h:
5099         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5100         Fix docs for GstBaseSrc.
5101
5102 2006-03-07  Wim Taymans  <wim@fluendo.com>
5103
5104         * docs/gst/gstreamer-sections.txt:
5105         * gst/gstbuffer.h:
5106         * gst/gstvalue.c:
5107         * libs/gst/base/gstbasetransform.h:
5108         Small documentation fixes.
5109
5110 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5111
5112         * gst/gstvalue.c:
5113           Document thread-unsafety of gst_value_register_foo_func()
5114           when used at the same time as gst_value_foo() (#322628).
5115
5116 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5117
5118         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5119         (gst_push_src_check_get_range):
5120           Push sources don't support pull mode by default.
5121
5122 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5123
5124         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5125         (gst_base_src_init), (gst_base_src_pad_check_get_range),
5126         (gst_base_src_default_check_get_range):
5127         * libs/gst/base/gstbasesrc.h:
5128           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5129           provide default implementation, and rename
5130           gst_base_src_check_get_range() to
5131           gst_base_src_pad_check_get_range() for clarity.
5132
5133 2006-03-06  Wim Taymans  <wim@fluendo.com>
5134
5135         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5136         Make property overridable.
5137
5138 2006-03-06  Wim Taymans  <wim@fluendo.com>
5139
5140         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5141         (gst_base_sink_init), (gst_base_sink_set_property),
5142         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5143         * libs/gst/base/gstbasesink.h:
5144         API addition: Make max-lateness a property.
5145
5146 2006-03-06  Wim Taymans  <wim@fluendo.com>
5147
5148         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5149         (gst_base_sink_do_sync), (gst_base_sink_render_object):
5150         Don't ever draw a frame that is >10ms late.
5151
5152 2006-03-06  Michael Smith  <msmith@fluendo.com>
5153
5154         * gst/gstmessage.c: (_gst_message_copy):
5155           When copying a message, set the parent_refcount of the enclosed
5156           structure to point at the copy, not the original message.
5157
5158 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         Patch by: Christophe Fergeau
5161
5162         * gst/gstutils.h:
5163           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5164           usable in c++ code (#333417)
5165
5166 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5167
5168         * gst/gstclock.h:
5169           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5170
5171 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
5172
5173         * libs/gst/base/gstbasetransform.c:
5174         (gst_base_transform_transform_caps):
5175           Make sure caps are writable before passing them to
5176           gst_caps_append().
5177
5178 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5179
5180         * gst/gsterror.h:
5181           Fix some minor docs errors.
5182
5183 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185           Patch by: Ross Burton <ross at burtonini dot com>
5186
5187         * gst/gsterror.c: (_gst_resource_errors_init):
5188         * gst/gsterror.h:
5189           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5190
5191 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5192
5193         * gst/gst.c:
5194         Add a check and output a g_warning when GStreamer is built
5195         against GLib 2.6 but running against 2.8 or higher, and vice 
5196         versa. (Closes: #323542)
5197
5198 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5199
5200         * gst/parse/parse.l:
5201           Commit patch for parse_launch syntax from #331255. Removes 
5202           support for quoted strings and mimetypes when writing filtered 
5203           caps. See the bug report for more details - I'm pretty sure this
5204           obscure feature is not in use by _anyone_ anywhere.
5205
5206           With this simple change, the size of the gstreamer.so here 
5207           drops from 2193KB to 1565KB.
5208
5209 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5210
5211         * plugins/elements/gsttypefindelement.h:
5212         * plugins/elements/gsttypefindelement.c:
5213         (gst_type_find_element_src_event), (start_typefinding),
5214         (stop_typefinding), (gst_type_find_element_handle_event),
5215         (gst_type_find_element_chain),
5216         (gst_type_find_element_chain_do_typefinding):
5217           Use gst_type_find_helper_for_buffer() for chain-based
5218           typefinding.
5219
5220 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5221
5222         * plugins/elements/gsttypefindelement.c:
5223         (gst_type_find_element_class_init),
5224         (gst_type_find_element_set_property),
5225         (gst_type_find_element_get_property):
5226           Deprecate "maximum" property (not only was it only taken into
5227           account for typefinding in push-mode anyway, it also was never
5228           actually possible to set it in the first place because the
5229           property was registered with the numeric property ID for the
5230           "minimum" property). Register "maximum" property correctly,
5231           for the sake of future copy'n'pasters. Remove some cruft
5232           from property get/set functions.
5233
5234 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5235
5236         * plugins/elements/gsttypefindelement.c:
5237         (gst_type_find_element_activate):
5238           Use gst_type_find_helper_get_range() here, so we
5239           can honour the "minimum" property and also emit
5240           the signal with the correct probability of the found caps.
5241
5242 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
5243
5244         * docs/libs/gstreamer-libs-sections.txt:
5245         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5246         (helper_find_suggest), (gst_type_find_helper_get_range),
5247         (gst_type_find_helper):
5248         * libs/gst/base/gsttypefindhelper.h:
5249           New API: gst_type_find_helper_get_range() (#333042).
5250
5251 2006-03-02  Michael Smith  <msmith@fluendo.com>
5252
5253         * gst/gstregistryxml.c: (load_feature):
5254           Asserting on a failure to read part of the registry is Not Cool.
5255           Just log a warning and return NULL (which is already handled)
5256
5257 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
5258
5259         * win32/common/libgstbase.def:
5260           added export of gst_type_find_helper_for_buffer
5261         * win32/common/libgstbase.def:
5262           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5263           gst_ghost_pad_get_target
5264
5265 2006-02-28  Wim Taymans  <wim@fluendo.com>
5266
5267         * docs/design/draft-klass.txt:
5268         We use Filter now.
5269         Added Connector to mark elements that are only used to
5270         allow pipeline connections.
5271         Moved Debug to extra feature since most of them are 
5272         functionally something else.
5273
5274 2006-02-28  Wim Taymans  <wim@fluendo.com>
5275
5276         * docs/design/draft-klass.txt:
5277         Some updates and clarifications.
5278
5279 2006-02-28  Wim Taymans  <wim@fluendo.com>
5280
5281         * docs/design/draft-klass.txt:
5282         Proposal for klass field values.
5283
5284         * docs/design/part-streams.txt:
5285         Start of a doc describing stream anatomy.
5286
5287 2006-02-28  Wim Taymans  <wim@fluendo.com>
5288
5289         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5290         Help the compiler a bit with type registration.
5291         Use existing forward cod path instead of duplicating it when 
5292         handling a message.
5293         
5294         * gst/gstbus.c: (gst_bus_get_type):
5295         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5296         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5297         * gst/gstclock.c: (gst_clock_get_type):
5298         * gst/gstelement.c: (gst_element_get_type),
5299         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5300         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5301         * gst/gstminiobject.c: (gst_mini_object_get_type):
5302         * gst/gstpad.c: (gst_pad_get_type):
5303         * gst/gstsegment.c: (gst_segment_get_type):
5304         * gst/gststructure.c: (gst_structure_get_type):
5305         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5306         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5307         * gst/gstvalue.c:
5308         Help compiler with type registration.
5309
5310         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5311         Small doc update.
5312
5313 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5314
5315         * plugins/elements/gsttypefindelement.c:
5316         (gst_type_find_element_handle_event):
5317           When we get an EOS event and have not found a type yet
5318           (most likely because we had not yet accumulated
5319           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5320           type given the data we have so far. Fixes typefinding
5321           for very short streams again, most notably quicktime
5322           redirections as used on Apple's trailer site (#331701).
5323
5324 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5327         (gst_type_find_helper):
5328           Try typefinding factories with the highest rank first.
5329
5330 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5331
5332         * docs/libs/gstreamer-libs-docs.sgml:
5333         * docs/libs/gstreamer-libs-sections.txt:
5334         * libs/gst/base/gsttypefindhelper.c:
5335           Add section for typefind helper and add documentation
5336           for the old and the new function.
5337
5338 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5339
5340         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5341         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5342         (gst_type_find_helper_for_buffer):
5343         * libs/gst/base/gsttypefindhelper.h:
5344           New API: gst_type_find_helper_for_buffer() (#332723).
5345           
5346 2006-02-27  Michael Smith  <msmith@fluendo.com>
5347
5348         Patch by: Loïc Minier
5349
5350         * configure.ac:
5351         * docs/Makefile.am:
5352         * docs/slides/Makefile.am:
5353           prevent CVS directories getting disted.
5354
5355 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5356
5357         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5358           Use the REFCOUNTING category for caps refcounting.
5359           
5360 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5361
5362         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5363           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5364
5365 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5366
5367         * plugins/elements/gsttypefindelement.c:
5368         (gst_type_find_element_activate):
5369           Use gst_pad_check_pull_range() before _activate_pull()
5370           to avoid unnecessary open/close (see #331690).
5371
5372 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5373
5374         * gst/gstutils.c:
5375           Docs enhancement: make it crystal clear what the
5376           gst_pad_add_*_probe() callbacks should look like.
5377
5378 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * libs/gst/base/gstbasesrc.c:
5381           Document how applications can stop recording from
5382           live sources (see #330996).
5383
5384 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5385
5386         * tests/check/Makefile.am:
5387         * tests/check/libs/basesrc.c: (eos_event_counter),
5388         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5389         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5390         (gst_basesrc_suite), (main):
5391           ... and add some tests for the base source EOS stuff.
5392
5393 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5394
5395         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5396           Test case originally showed the problem fixed below,
5397           but was then amended. Add checks back at the place
5398           where they used to be.
5399
5400 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5401
5402         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5403         (gst_base_src_init), (gst_base_src_loop),
5404         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5405         (gst_base_src_change_state):
5406         * libs/gst/base/gstbasesrc.h:
5407           Don't unconditionally send EOS when going from PAUSED to
5408           READY state, esp. make sure we don't send two EOS events
5409           in some cases (e.g. one when reaching EOS and one when
5410           going from PAUSED to READY). Also, we don't want to send
5411           EOS events when operating in pull mode. However, we do
5412           want to send an EOS event when shutting down a live
5413           source explicitly, for example (fixes #330996).
5414           
5415 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5416
5417         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5418           Update src->read_position after a seek when not using mmap.
5419           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5420
5421 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5422
5423         * gst/Makefile.am:
5424         * gst/gstparse.h:
5425         * gst/gstutils.c:
5426         * gst/gstutils.h:
5427         Make things work with --disable-parse as they do with 
5428         --disable-load-save - the symbols involved disappear, but the
5429         header is still installed and GST_DISABLE_PARSE is included via
5430         gstconfig.h
5431
5432 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5433
5434         * libs/gst/base/gstbasetransform.c:
5435         (gst_base_transform_change_state): Fix a stupid bug. I was 
5436         sure I compiled that.
5437
5438 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5439
5440         * gst/gstpad.c: (gst_pad_set_blocked_async):
5441         * gst/gstutils.c: (gst_pad_add_data_probe),
5442         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5443         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5444         (gst_pad_remove_buffer_probe): Make those function act on the
5445         ghostpad target when it's a ghostpad. (Closes #331727)
5446
5447 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5448
5449         * libs/gst/base/gstbasetransform.c:
5450         (gst_base_transform_change_state): Make basetransform reusable.
5451         (Closes #331898)
5452
5453 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5454
5455         * docs/random/release:
5456         Move the current documentation of how to do a release to the top
5457         of the file.
5458
5459         * gst/gstbin.c: (gst_bin_class_init),
5460         (gst_bin_handle_message_func):
5461         Allow multiple state-recalculation threads. (Closes #328873)
5462
5463 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5464
5465         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5466         * gst/gstpad.c: (gst_pad_set_event_function),
5467         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5468         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5469         2 strings. You can't use the STR_NULL macro on that.
5470
5471 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5472
5473         * gst/gstpad.c: (gst_pad_set_event_function),
5474         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5475         (gst_pad_set_getcaps_function)
5476         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5477           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5478           So now, we can use --gst-debug-level=5 on Windows
5479         * win32/common/libgstcontroller.def:
5480           Added export of gst_controller_init
5481         * win32/vs6/libgstcontroller.dsp:
5482           Fixed Release post build configuration
5483
5484 2006-02-17  Wim Taymans  <wim@fluendo.com>
5485
5486         * tests/check/gst/gstquery.c: (GST_START_TEST):
5487         Added another check.
5488
5489 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         * plugins/elements/gsttypefindelement.c: (find_peek):
5492           We can do peeks at non-zero offsets, as long as they
5493           fall within the buffer we have.
5494
5495 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5496
5497         * tests/check/Makefile.am:
5498         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5499         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5500         (parse_suite), (main):
5501           Add testsuite for parse launch syntax
5502
5503 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5504
5505         * plugins/elements/gsttypefindelement.c:
5506         (gst_type_find_element_chain):
5507           When typefinding is unsuccessful in the chain function, don't
5508           error out immediately. Only error out with NO_CAPS_FOUND if
5509           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5510           otherwise simply wait for more data so we can try typefinding
5511           again with more data later. Also, don't attempt to typefind
5512           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5513           this should improve typefinding from network sources where the
5514           size of the first buffer can be somewhat random.
5515
5516 2006-02-14  Wim Taymans  <wim@fluendo.com>
5517
5518         * docs/gst/gstreamer-sections.txt:
5519         * gst/gstpadtemplate.c:
5520         * gst/gstpadtemplate.h:
5521         Fix padtemplate docs, fixes #328805.
5522
5523 2006-02-14  Wim Taymans  <wim@fluendo.com>
5524
5525         * tools/gst-launch.c: (main):
5526         NO_PREROLL is not an ERROR so don't send confusing messages
5527         to the user.
5528
5529 2006-02-14  Wim Taymans  <wim@fluendo.com>
5530
5531         Patch by: Torsten Schoenfeld
5532
5533         * gst/gstregistry.c: (gst_registry_get_default),
5534         (_gst_registry_cleanup):
5535         Protect default registry with lock and ref/sink it.
5536         Fixes #324818
5537
5538 2006-02-14  Wim Taymans  <wim@fluendo.com>
5539
5540         * gst/gstbuffer.c:
5541         * gst/gstquery.c: (gst_query_list_add_format),
5542         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5543         (gst_query_parse_formats_nth):
5544         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5545         Docs fixes.
5546
5547 2006-02-14  Wim Taymans  <wim@fluendo.com>
5548
5549         * docs/gst/gstreamer-sections.txt:
5550         Reworked query docs.
5551
5552         * gst/gstquery.c: (gst_query_new_formats),
5553         (gst_query_list_add_format), (gst_query_set_formats),
5554         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5555         (gst_query_parse_formats_nth):
5556         * gst/gstquery.h:
5557         Flesh out formats query, added some new methods.
5558         Fix part of #324398.
5559
5560         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5561         Added query creation tests.
5562
5563 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5564
5565         * gst/gstpad.c: (fixate_value):
5566         Add a default fixation for fraction lists.
5567
5568 2006-02-13  Wim Taymans  <wim@fluendo.com>
5569
5570         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5571         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5572         (gst_task_join):
5573         * gst/gsttask.h:
5574         Detect and warn for obvious deadlocks. fixes #320340
5575         Fix error case where lock was not released.
5576
5577         * tests/check/Makefile.am:
5578         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5579         (task_func), (gst_element_suite), (main):
5580         Add task check.
5581
5582 2006-02-13  Wim Taymans  <wim@fluendo.com>
5583
5584         * docs/gst/gstreamer-sections.txt:
5585         * gst/gstbus.c:
5586         Add new functions to docs.
5587
5588 2006-02-13  Wim Taymans  <wim@fluendo.com>
5589
5590         * docs/design/part-TODO.txt:
5591         Updated TODO list, basesrc supports seeking to non-bytes
5592         formats.
5593
5594         * docs/design/part-element-sink.txt:
5595         Update docs.
5596
5597         * gst/gstbin.c: (bin_replace_message),
5598         (gst_bin_handle_message_func):
5599         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5600         * gst/gstevent.c: (gst_event_finalize):
5601         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5602         (gst_pad_send_event):
5603         Use shiny new _TYPE_NAME macros.
5604
5605         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5606         Move debug statement up.
5607
5608         * gst/gstelement.c: (gst_element_set_locked_state):
5609         Add some debugging.
5610
5611 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5612
5613         * docs/gst/gstreamer-sections.txt:
5614         * gst/gstmessage.h:
5615         * gst/gstquery.h:
5616           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5617           macros (#330906). Also, document the already existing
5618           GST_QUERY_TYPE macro.
5619
5620 2006-02-13  Wim Taymans  <wim@fluendo.com>
5621
5622         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5623         (event_probe), (GST_START_TEST):
5624         Only events up to the pipeline EOS are counted, there are
5625         some more when going to NULL currently which we don't care
5626         about for now.
5627
5628 2006-02-13  Wim Taymans  <wim@fluendo.com>
5629
5630         * gst/gstpad.c: (gst_pad_send_event):
5631         Correctly check flushing and emit probes. fixes #330125
5632
5633 2006-02-10  Andy Wingo  <wingo@pobox.com>
5634
5635         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5636         structure.
5637         (gst_bus_init): Cache the location of the private data in the
5638         instance structure.
5639         (gst_bus_enable_sync_message_emission) 
5640         (gst_bus_disable_sync_message_emission): Implement new public
5641         functions.
5642         (gst_bus_post): Emit the sync-message signal if the user asked for
5643         it. Fixes #330684.
5644
5645         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5646         location of the bus-private structure.
5647         (gst_bus_enable_sync_message_emission)
5648         (gst_bus_disable_sync_message_emission): API addition
5649
5650 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5651
5652         Patch by: Vincent Torri
5653
5654         * docs/pwg/building-boiler.xml:
5655         PWG patch from #326800
5656
5657 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5658
5659         * configure.ac:
5660         * docs/Makefile.am:
5661         * docs/design/Makefile.am:
5662           Dist design docs.
5663
5664 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5665
5666         * configure.ac:
5667           back to CVS
5668
5669 === release 0.10.3 ===
5670
5671 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5672
5673         * configure.ac:
5674           releasing 0.10.3, "Like a virgin"
5675
5676 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5677
5678         * configure.ac:
5679           2nd prerelease of 0.10.3
5680           Bump libtool versioning.
5681
5682 2006-02-07  Andy Wingo  <wingo@pobox.com>
5683
5684         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5685         update last_stop if we're in TIME format and the timestamp is
5686         valid.
5687
5688         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5689         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5690         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5691         If we get a new newsegment with a different format, adapt
5692         accordingly.
5693
5694         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5695         of 0. Not a problem, really.
5696
5697         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5698         warn if sync=true.
5699
5700 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5701
5702         * configure.ac:
5703           Prelease of 0.10.3
5704
5705 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5706
5707         * win32/vs7:
5708           project files updated to the default vs7 configuration
5709         * win32/common/libgstbase.def:
5710         * win32/common/libgstreamer.def:
5711           added new symbols,
5712           removed empty lines,
5713           sorted all exported symbols alphabetically
5714         * win32/common/dirent.c:
5715         * win32/common/dirent.h:
5716         * win32/common/gchar.h:
5717           use windows line end.
5718           
5719 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5720
5721         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5722           Send EOS event when stopping.
5723
5724 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5725
5726         * docs/README:
5727           Tell folks what to do if the plugin-foobar.xml file
5728           hasn't been generated for a newly-added plugin.
5729
5730 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5731
5732         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5733         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5734         (gst_collect_pads_start), (gst_collect_pads_stop),
5735         (gst_collect_pads_event): Collectpads now holds a reference
5736         to the GstPad that was added. Indeed we don't want to look
5737         at pads that might just go away with no warning...
5738
5739 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5740
5741         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5742         (gst_collect_pads_start), (gst_collect_pads_stop),
5743         (gst_collect_pads_event), (gst_collect_pads_chain):
5744         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5745         Mark Nauwelaerts's patch on bug #328491.
5746
5747 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5750         (gst_utils_suite):
5751           Add some simple tests for gst_parse_bin_from_description() and
5752           gst_bin_find_unconnected_pad() (#329069).
5753
5754 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5755
5756         * tools/gst-launch.c: (event_loop), (main):
5757           Catch errors during preroll (#320084).
5758
5759 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5760
5761         * plugins/elements/gsttypefindelement.c:
5762         (gst_type_find_element_activate):
5763           Post TYPE_NOT_FOUND error message when typefinding
5764           is unsuccessful in the activate function as well.
5765
5766 2006-02-02  Wim Taymans  <wim@fluendo.com>
5767
5768         * docs/design/part-element-sink.txt:
5769         Updated doc.
5770
5771 2006-02-02  Wim Taymans  <wim@fluendo.com>
5772
5773         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5774         (gst_base_sink_render_object),
5775         (gst_base_sink_queue_object_unlocked):
5776         Only keep track of prerollable items when we are 
5777         prerolling.
5778         Before rendering after preroll, always check if we
5779         have queued items.
5780         Added some more debugging.
5781
5782 2006-02-02  Wim Taymans  <wim@fluendo.com>
5783
5784         * gst/gstelement.c: (gst_element_continue_state),
5785         (gst_element_set_state_func), (gst_element_change_state):
5786         Fixed #326576, been running this for quite some time with
5787         no regressions at all.
5788
5789 2006-02-02  Wim Taymans  <wim@fluendo.com>
5790
5791         * common/gst.supp:
5792         Added more suppressions
5793
5794 2006-02-02  Wim Taymans  <wim@fluendo.com>
5795
5796         * docs/design/part-element-sink.txt:
5797         Updated document.
5798
5799         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5800         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5801         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5802         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5803         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5804         (gst_base_sink_preroll_object),
5805         (gst_base_sink_queue_object_unlocked),
5806         (gst_base_sink_queue_object), (gst_base_sink_event),
5807         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5808         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5809         (gst_base_sink_get_position), (gst_base_sink_change_state):
5810         * libs/gst/base/gstbasesink.h:
5811         Totally refactored matching the design doc.
5812         Use two segments, one to clip incomming buffers and another to
5813         perform sync.
5814         Handle queueing correctly, bypass the queue when playing.
5815         Make EOS cancelable.
5816         Handle errors correctly when operating in pull based mode.
5817
5818         * tests/check/elements/fakesink.c: (GST_START_TEST),
5819         (fakesink_suite):
5820         Added new check for sinks.
5821
5822 2006-02-02  Wim Taymans  <wim@fluendo.com>
5823
5824         * gst/gstsegment.c: (gst_segment_clip):
5825         No reason to refuse to clip when start == -1
5826
5827 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5828
5829         * docs/README:
5830         * docs/manual/intro-basics.xml:
5831         * docs/manual/intro-preface.xml:
5832         * docs/manual/manual.xml:
5833         * docs/pwg/advanced-dparams.xml:
5834         * docs/pwg/intro-basics.xml:
5835         * docs/pwg/intro-preface.xml:
5836         * docs/pwg/pwg.xml:
5837           describe dparams (controller) for plugins
5838           unify docs a little more
5839
5840 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5841
5842         * docs/gst/gstreamer-sections.txt:
5843         * gst/gstutils.c: (element_find_unconnected_pad),
5844         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5845         * gst/gstutils.h:
5846           Add new API: gst_parse_bin_from_description() and
5847           gst_bin_find_unconnected_pad() (#329069).
5848
5849 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5850
5851         * docs/manual/README:
5852           uncover a nasty detail of the docs build
5853
5854 2006-01-31  Wim Taymans  <wim@fluendo.com>
5855
5856         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5857         Don't cache duration messages if we're not going to use or
5858         free them.
5859
5860 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * docs/manual/advanced-dparams.xml:
5863         * docs/pwg/advanced-dparams.xml:
5864           more dparam docs
5865         * gst/gstindex.c:
5866           fix docs
5867         * libs/gst/controller/lib.c: (gst_controller_init):
5868           init just once
5869
5870 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5871
5872         * gst/gstelement.c: (gst_element_message_full):
5873           also show file/line/func if no additional debug was given
5874
5875 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5876         
5877         * win32/vs7/grammar.vcproj:
5878           activate copy of autogenerated files for Release mode
5879
5880 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5881         
5882         * win32/common/libgstreamer.def:
5883           export gst_value_compare
5884
5885 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5886
5887         * plugins/elements/Makefile.am:
5888         * plugins/elements/gstelements.c:
5889         * plugins/elements/gstfdsink.c: (_do_init),
5890         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5891         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5892         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5893         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5894         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5895         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5896         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5897         * plugins/elements/gstfdsink.h:
5898         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5899
5900 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5901
5902         * docs/manual/advanced-dparams.xml:
5903           describe controller
5904         * docs/manual/advanced-position.xml:
5905         * docs/manual/basics-init.xml:
5906         * docs/manual/manual.xml:
5907         * docs/manual/titlepage.xml:
5908         * docs/pwg/pwg.xml:
5909         * docs/pwg/titlepage.xml:
5910           cleanup xml (more to come)
5911         * libs/gst/controller/gstcontroller.c:
5912           fix typo
5913
5914 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5915         
5916         * win32/vs6/grammar.dsp:
5917           add autogen of gstmarshal.c,h for Release mode
5918                 
5919 2006-01-30  Wim Taymans  <wim@fluendo.com>
5920
5921         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5922         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5923         (gst_base_sink_handle_object), (gst_base_sink_event),
5924         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5925         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5926         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5927         (gst_base_sink_deactivate), (gst_base_sink_activate),
5928         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5929         (gst_base_sink_query), (gst_base_sink_change_state):
5930         Basesink cleanups, remove some old code.
5931         Handle the case where a subclass can preroll in the render
5932         method (mostly audiosinks).
5933         Handle more events.
5934         Remove some locks around variables that are now protected
5935         with the PREROLL_LOCK (clock_id, flushing, ..).
5936         Optimize position query some more, do correct locking.
5937         Remove old code to push queue in state change, this is not
5938         needed anymore since preroll blocks on all prerollable items 
5939         now.
5940         Almost implemented as described in design doc.
5941
5942 2006-01-30  Wim Taymans  <wim@fluendo.com>
5943
5944         * tests/check/gst/gstbin.c: (GST_START_TEST):
5945         Wait for refcount to settle down before checking.
5946
5947 2006-01-30  Wim Taymans  <wim@fluendo.com>
5948
5949         * docs/design/part-element-sink.txt:
5950         Pseudo code overview of desired sink behaviour regarding
5951         preroll.
5952
5953 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5954         * win32/vs6/grammar.dsp:
5955           fix some bugs in Release mode for autogenerated files
5956                 
5957 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5958         * win32/common/libgstbase.def:
5959         * win32/common/libgstreamer.def:
5960           export some new symbols: gst_base_src_set_format,
5961           gst_iterator_next, gst_structure_set_valist
5962
5963 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5964
5965         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5966         Set pad functions unconditionally. Fixes #329105.
5967
5968 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5969         * win32/vs8:
5970           add vs8 project files created by Sergey Scobich
5971
5972 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5973
5974         * gst/gstutils.c: (gst_element_unlink_pads):
5975         Don't leak pad references.
5976
5977         * tests/check/elements/fakesink.c: (GST_START_TEST):
5978         * tests/check/generic/sinks.c: (GST_START_TEST):
5979         * tests/check/generic/states.c: (GST_START_TEST):
5980         * tests/check/gst/gstbin.c: (GST_START_TEST):
5981         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5982         * tests/check/gst/gstelement.c: (GST_START_TEST):
5983         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5984         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5985         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5986         Fix a bunch of leaks. Make generic/sinks.c
5987         use a bit less cpu by slowing the buffer rate
5988         between fakesrc and fakesink.
5989         
5990 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5991         * gst/gstcaps.c:
5992         * gst/gstelement.c: (gst_element_send_event):
5993         * gst/gstevent.c:
5994         * gst/gstinfo.c:
5995         * gst/gstiterator.c:
5996         * gst/gstiterator.h:
5997         * gst/gstpad.c: (gst_pad_send_event):
5998         * gst/gststructure.c:
5999         * gst/gsturi.c:
6000         * gst/gstutils.c:
6001         * gst/gstvalue.c:
6002         * libs/gst/base/gstadapter.c:
6003           doc fixes, to link to function, just write gst_cool_function(), don't
6004           prefix with '#'
6005
6006 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6007
6008         * plugins/elements/gsttee.c: (gst_tee_do_push),
6009         (gst_tee_handle_buffer):
6010         Always prefer an actual return value from a src
6011         pad in place of NOT_LINKED. This means we return
6012         WRONG_STATE when all src pads are WRONG_STATE
6013         instead of NOT_LINKED.
6014
6015         Lock when replacing the last message to prevent
6016         racing with the get_property method.
6017
6018         Add debug output
6019
6020 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6021
6022         * tests/check/Makefile.am:
6023         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6024         (main):
6025         Add a very simple check that should have caught the memleak I fixed
6026         last night (if not for the slice allocator hiding it)
6027
6028 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6029
6030         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6031         (gst_bin_remove_func), (gst_bin_handle_message_func),
6032         (bin_query_duration_fold), (bin_query_generic_fold):
6033         Clean up references to the clock provider when disposed or when
6034         handling a clock-lost message from it.
6035
6036         Unref sinks when performing a query via gst_iterator_fold, as the
6037         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6038
6039         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6040         (gst_clock_set_master):
6041         Drop our reference to the master clock, if any, when we are disposed.
6042
6043         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6044         Chain up in dispose. 
6045
6046 2006-01-26  Wim Taymans  <wim@fluendo.com>
6047
6048         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6049         Add some debugging.
6050
6051 2006-01-26  Julien MOUTTE  <julien@moutte.net>
6052
6053         * plugins/elements/gsttee.c: (gst_tee_do_push),
6054         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6055         handles pad being NOT_LINKED or in WRONG_STATE.
6056
6057 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6058
6059         * win32/MANIFEST:
6060           more updating
6061
6062 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6063
6064         * win32/MANIFEST:
6065           remove obsolete entry
6066
6067 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6068
6069         * docs/gst/gstreamer-sections.txt:
6070         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6071         (gst_bin_iterate_sources), (gst_bin_send_event):
6072         * gst/gstbin.h:
6073         * gst/gstelement.c: (gst_element_send_event):
6074         * gst/gstevent.c:
6075         * gst/gstpad.c: (gst_pad_send_event):
6076           added code for downstream events, reviewed docs in gstevent.c
6077
6078 2006-01-25  Julien MOUTTE  <julien@moutte.net>
6079
6080         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6081         We only query position using the clock in the playing state.
6082         Query peer in the other cases.
6083         * win32/common/config.h: Updates.
6084
6085 2006-01-24  Wim Taymans  <wim@fluendo.com>
6086
6087         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6088         A clock entry that is scheduled for the exact time of the
6089         clock is still in time.
6090
6091         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6092         (gst_base_sink_do_sync):
6093         Add some more debug info.
6094
6095 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6096
6097         * win32/vs7:
6098           Add new vs7 project files and solution.
6099
6100 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6101
6102         * win32/vs7:
6103           all files removed as they were out-dated.
6104
6105 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6106
6107         * docs/random/release:
6108           update notes
6109         * gst/gstbin.c: (gst_bin_init):
6110         * gst/gstbus.c: (gst_bus_new):
6111         * gst/gstbus.h:
6112         * gst/gstpipeline.c: (gst_pipeline_init):
6113           use gst_bus_new(), improve logging, fix docs
6114         * win32/common/config.h:
6115           update for cvs build
6116
6117 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6118
6119         * autogen.sh:
6120           up required version of automake to 1.7
6121
6122 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
6123
6124         * win32/common/libgstreamer.def:
6125           export gst_buffer_is_metadata_writable
6126
6127 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * docs/gst/gstreamer-sections.txt:
6130         * gst/gstevent.h:
6131           Add gst_event_replace() (#327001)
6132
6133 2006-01-20  Wim Taymans  <wim@fluendo.com>
6134
6135         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6136         Make it actually compile too..
6137
6138 2006-01-20  Wim Taymans  <wim@fluendo.com>
6139
6140         * gst/gstcaps.c:
6141         Clarify behaviour of _is_equal() when passing NULL parameters.
6142
6143         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6144         (gst_pad_set_caps):
6145         Cleanups. Don't unref NULL caps.
6146         When setting the same caps, protect caps of the pad with
6147         proper lock.
6148         Use full functionality of _is_equal() when comparing caps.
6149
6150 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6151
6152         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6153         Don't loop infinitely if there are no buffers to present. Partially
6154         fixes #327197, but collectpads is just broken for reusing elements
6155         to do multiple encodes atm.
6156
6157 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6158
6159         * tools/gst-inspect.c: (print_element_features):
6160         * tools/gst-xmlinspect.c: (main):
6161         URL_HANDLER is not a plugin feature we can search for in
6162         the registry.
6163
6164 2006-01-19  Edward Hervey  <edward@fluendo.com>
6165
6166         * gst/gstelement.c: (gst_element_pads_activate): 
6167         When activating, do src pads first, then sink pads.
6168         When de-activating, do sink pads first, then src pads.
6169
6170 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6171
6172         * docs/gst/gstreamer-sections.txt:
6173         Add gst_index_add_associationv to the docs
6174
6175 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6176
6177         * gst/gstevent.c:
6178           Fix docs typo
6179
6180         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6181         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6182           Do some refactoring. Doesn't actually change functionality,
6183           but makes landing the DRAIN event easier later.
6184
6185 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
6186
6187         * docs/pwg/advanced-scheduling.xml:
6188           Update from 0.9.x to 0.10 API and make example a bit
6189           clearer.
6190
6191 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6192
6193         * docs/gst/gstreamer-sections.txt:
6194         Add gst_buffer_(is|make)_metadata_writable methods.
6195
6196 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6197
6198         * docs/design/part-sparsestreams.txt:
6199         Update sparse streams doc, hopefully for greater clarity
6200
6201 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
6202
6203         * docs/design/part-events.txt:
6204         Remove mention of FILLER events.
6205         Add DRAIN event.
6206
6207         * docs/design/part-sparsestreams.txt:
6208         Write some things about using NEWSEGMENT to keep sparse streams
6209         flowing.
6210
6211 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6212
6213         * gst/gstbin.c: (gst_bin_dispose):
6214           Guard gst_object_unref call against a NULL object (dispose
6215           can theoretically be called multiple times).
6216           
6217 2006-01-18  Wim Taymans  <wim@fluendo.com>
6218
6219         * gst/gstbin.c: (gst_bin_element_set_state):
6220         * gst/gstclock.c: (gst_clock_id_wait):
6221         Added some more debug info.
6222
6223         * libs/gst/base/gstadapter.c:
6224         Added more docs.
6225
6226         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6227         (gst_base_sink_do_sync), (gst_base_sink_chain):
6228         Added some comments.
6229
6230 2006-01-18  Wim Taymans  <wim@fluendo.com>
6231
6232         * tests/check/Makefile.am:
6233         * tests/check/elements/fakesink.c: (chain_async_buffer),
6234         (chain_async), (chain_async_return), (GST_START_TEST),
6235         (fakesink_suite), (main):
6236         Added fakesink test that checks prerolling and clipping
6237         behaviour.
6238
6239         * tests/check/gst/gstutils.c: (GST_START_TEST):
6240         Make check run faster so that buildbots don't timeout.
6241
6242 2006-01-18  Wim Taymans  <wim@fluendo.com>
6243
6244         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6245         (gst_base_sink_do_sync):
6246         Some cleanups.
6247         When the sink finishes blocking on the preroll buffer, it can
6248         immediatly render it instead of rendering when the next buffer
6249         arrives.
6250
6251 2006-01-18  Wim Taymans  <wim@fluendo.com>
6252
6253         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6254         (gst_base_sink_get_property), (gst_base_sink_do_sync),
6255         (gst_base_sink_chain):
6256         Small cleanups.
6257         GST_ELEMENT_CLOCK and sync are protected with LOCK.
6258         Don't store _last_stop if the buffer is dropped.
6259
6260 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6261
6262         * plugins/elements/gsttypefindelement.c:
6263         (gst_type_find_element_class_init):
6264           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6265           object method handler that sets the caps on the pad and we want
6266           that to happen before we emit the signal (fixes e.g. feeding a
6267           plain text file to decodebin).
6268
6269 2006-01-18  Christian Schaller  <Christian@fluendo.com>
6270
6271         * gst/gstplugin.c: Add MPL and Proprietary as license options
6272
6273 2006-01-18  Andy Wingo  <wingo@pobox.com>
6274
6275         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6276         symbol was exported before, it appears this was just an oversight.
6277         Fixes #168703.
6278         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6279
6280         * gst/gstindex.c (gst_index_add_associationv): Changed int in
6281         prototype to gint. OK since this prototype was not in the header.
6282
6283 2006-01-17  Andy Wingo  <wingo@pobox.com>
6284
6285         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6286         registry while we remove plugins.
6287
6288         * tools/gst-inspect.c (print_element_info): Don't unref the
6289         factory arg, that should be the responsibility of whatever code
6290         received the ref. Fixes a double-free when called from
6291         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6292         (main): Unref the factory if we have one.
6293         (print_element_list): No change -- relies on the
6294         plugin_feature_list_free to free the list of features.
6295
6296 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6297
6298         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6299         (gst_buffer_make_metadata_writable):
6300         * gst/gstbuffer.h:
6301         * libs/gst/base/gstbasetransform.c:
6302         (gst_base_transform_prepare_output_buf):
6303         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6304         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6305           Replace gst_buffer_(make|is)_metadata_writable patch now
6306           that the release is out.
6307
6308 2006-01-17  Andy Wingo  <wingo@pobox.com>
6309
6310         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6311         in the present tense without reference to versions.
6312
6313         * gst/gstregistry.c (gst_registry_add_plugin)
6314         (gst_registry_remove_plugin, gst_registry_remove_feature)
6315         (gst_registry_find_feature, gst_registry_get_feature_list)
6316         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6317         (gst_registry_lookup, gst_registry_scan_path)
6318         (_gst_registry_remove_cache_plugins)
6319         (gst_registry_get_feature_list_by_plugin): Add argument
6320         validation.
6321
6322 === release 0.10.2 ===
6323
6324 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6325
6326         * configure.ac:
6327           releasing 0.10.2, "If man is five"
6328
6329 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6330
6331         * gst/gstbuffer.c:
6332         * gst/gstbuffer.h:
6333         * libs/gst/base/gstbasetransform.c:
6334         (gst_base_transform_prepare_output_buf):
6335         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6336         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6337           Back out patch until after the release.
6338
6339 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6340
6341         * gst/gstminiobject.c:
6342           Spelling fix in docs.
6343         * ChangeLog - remove conflict indicator
6344
6345 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6346
6347         Reviewed By: Andy Wingo
6348
6349         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6350         (gst_buffer_make_metadata_writable):
6351         * gst/gstbuffer.h:
6352           Add gst_buffer_(is|make)_metadata_writable as analogues of
6353           gst_buffer_(is|make)_writable.
6354
6355         * libs/gst/base/gstbasetransform.c:
6356         (gst_base_transform_prepare_output_buf):
6357         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6358           Use name gst_buffer_(is|make)_metadata_writable functions.
6359
6360         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6361           Test gst_buffer_(is|make)_metadata_writable
6362         
6363           (Closes: #324162)
6364
6365 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6366
6367         * docs/manual/Makefile.am:
6368           don't do parallel make
6369         * configure.ac:
6370           AC_SUBST HOST_CPU
6371         * win32/common/config.h.in:
6372           add generations for HOST_CPU and GST_MAJORMINOR
6373         * win32/common/config.h:
6374           commit generated result
6375
6376 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6377
6378         * docs/manual/appendix-integration.xml:
6379           Update GNOME integration section to use gst_init_get_option_group()
6380           instead of the old popt stuff (#322911). Also, GNOME applications
6381           should  now use gconf*sink and gconf*src instead of the old gconf
6382           helper lib we had.
6383
6384 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6385
6386
6387         * docs/gst/gstreamer-docs.sgml:
6388         * docs/gst/gstreamer-sections.txt:
6389         * docs/libs/gstreamer-libs-sections.txt:
6390           add new API entries to the docs
6391         * libs/gst/controller/Makefile.am:
6392         * libs/gst/controller/gstcontroller.c:
6393         * libs/gst/controller/gstcontroller.h:
6394         * libs/gst/controller/gstcontrollerprivate.h:
6395         * libs/gst/controller/gsthelper.c:
6396         * libs/gst/controller/gstinterpolation.c:
6397           move private structs to private header
6398         * po/README:
6399           gstreamer-0.7 -> gstreamer-0.10
6400         * tests/check/libs/struct_i386.h:
6401           remove private structs
6402
6403 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6404
6405         * plugins/indexers/Makefile.am:
6406           Fixes as part of #317048
6407
6408 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6409
6410         * plugins/indexers/Makefile.am:
6411           fix #316086 - compilation when mmap is missing
6412
6413 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6414
6415         * libs/gst/base/gstbasesink.c:
6416           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6417           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6418         * win32/common/config.h:
6419           added some defines GST_MAJORMINOR and HOST_CPU
6420         * win32/common/libgstbase.def:
6421         * win32/common/libgstreamer.def:
6422           added some exported functions.
6423
6424 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6425
6426         * libs/gst/controller/gstcontroller.c:
6427         (gst_controlled_property_set_interpolation_mode),
6428         (gst_controlled_property_new):
6429         * libs/gst/controller/gstcontroller.h:
6430         * libs/gst/controller/gstinterpolation.c:
6431         (interpolate_none_get_string_value_array):
6432           make G_TYPE_STRING controlable
6433
6434 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6435
6436         * tools/README:
6437         * tools/gst-feedback.1.in:
6438         * tools/gst-inspect.1.in:
6439         * tools/gst-launch.1.in:
6440         * tools/gst-md5sum.1.in:
6441         * tools/gst-typefind.1.in:
6442         * tools/gst-xmlinspect.1.in:
6443         * tools/gst-xmllaunch.1.in:
6444           cleanup man-pages, remove reference to gst-register, document env-vars
6445
6446 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6447
6448         * gst/gstbuffer.c: (gst_buffer_span):
6449           gst_buffer_span should copy the timestamp of the first buffer
6450           if they were both originally overlapping subbuffers of the 
6451           same parent, using the same logic as the 'slow copy' case.
6452
6453 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6454
6455         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6456           Need to awaken ALL the pads when we pop a buffer, otherwise
6457           collectpads only works when there is 2 input streams.
6458
6459 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6460
6461         * docs/random/ensonic/media-device-daemon.txt:
6462           more ideas (dbus)
6463         * gst/gstbuffer.c:
6464           fix doc example, add clarification
6465         * tools/gst-launch.1.in:
6466           add initial info about GST_PLUGIN_PATH, needs more work
6467
6468 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6469
6470         * docs/manual/basics-bins.xml:
6471         * docs/manual/basics-elements.xml:
6472         * docs/manual/intro-basics.xml:
6473           Some more minor docs additions and updates.
6474
6475 2006-01-11  Wim Taymans  <wim@fluendo.com>
6476
6477         * docs/manual/basics-bins.xml:
6478         * docs/manual/basics-elements.xml:
6479         Some small fixes as pointed out by Ser-ver on IRC.
6480
6481 2006-01-10  Edward Hervey  <edward@fluendo.com>
6482
6483         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6484         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6485         the single-segment mode.
6486
6487 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6488
6489         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6490
6491         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6492         (gst_base_src_perform_seek), (gst_base_src_send_event),
6493         (gst_base_src_set_property), (gst_base_src_get_property),
6494         (gst_base_src_loop), (gst_base_src_start),
6495         (gst_base_src_activate_push):
6496         * libs/gst/base/gstbasesrc.h:
6497           Name (private) union; makes Sun's Forte compiler happy (#324900).
6498
6499 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6500
6501         * README:
6502           gst-register is gone.
6503
6504 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6505
6506         * gst/gstvalue.c: (_gst_value_initialize):
6507           make the G_TYPE_DATE instantiation work if debug is disabled
6508
6509 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6510
6511         * gst/gstmessage.c: (gst_message_parse_tag),
6512         (gst_message_parse_error), (gst_message_parse_warning):
6513           Don't crash when return location for error/warning debug
6514           string is NULL; add fact that return locations can be
6515           NULL to docs where appropriate.
6516
6517 2006-01-05  Wim Taymans  <wim@fluendo.com>
6518
6519         * gst/gstplugin.c: (gst_plugin_load_file):
6520         Replace strdup by g_strdup.
6521
6522 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6523
6524         * docs/pwg/advanced-types.xml:
6525           fix doc borkage
6526
6527 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6528
6529         submitted by: Abel Cheung
6530
6531         * po/LINGUAS:
6532         * po/zh_TW.po:
6533           Added Chinese (traditional) translation
6534
6535 2006-01-04  Wim Taymans  <wim@fluendo.com>
6536
6537         * docs/manual/basics-pads.xml:
6538         * docs/plugins/Makefile.am:
6539         * docs/plugins/gstreamer-plugins-docs.sgml:
6540         * docs/plugins/gstreamer-plugins-sections.txt:
6541         * docs/pwg/advanced-clock.xml:
6542         * docs/pwg/advanced-scheduling.xml:
6543         * docs/pwg/advanced-types.xml:
6544         * plugins/elements/gstfdsink.c:
6545         * plugins/elements/gstfdsrc.c:
6546         * plugins/elements/gstfdsrc.h:
6547         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6548         * plugins/elements/gstidentity.h:
6549         * plugins/elements/gstqueue.h:
6550         * plugins/elements/gsttee.c:
6551         * plugins/elements/gsttee.h:
6552         * plugins/elements/gsttypefindelement.c:
6553         (gst_type_find_element_class_init):
6554         * plugins/elements/gsttypefindelement.h:
6555         Small updates to various docs.
6556         Added core plugins to docs.
6557
6558 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6559
6560         * common/gst.supp:
6561           add a suppression for liboil's uninitialized variable
6562
6563 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6564
6565         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6566
6567         * gst/gstutils.h:
6568           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6569           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6570           compiler switch is being used (#325429).
6571
6572 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6573
6574         * gst/gstbin.c: (gst_bin_query):
6575           Disable duration query caching in bins until it gets
6576           fixed (see #324807).
6577
6578 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6579
6580         * tools/gst-inspect.c: (print_element_properties_info):
6581           Handle properties of POINTER and BOXED type.
6582
6583 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6584
6585         * gst/gst.c: (init_post):
6586           Init tags stuff and some other things before loading
6587           any static plugins (there may be other static plugins
6588           than just the GStreamer ones, and they may want to
6589           register their own tags or formats or whatever, and
6590           preferably without segfaulting).
6591
6592         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6593           Print at least a warning in the debug logs if we drop a
6594           query just because we don't know how to adjust the value
6595           in the particular format.
6596
6597 2005-12-24  David Schleef  <ds@schleef.org>
6598
6599         * tools/gstreamer-completion:
6600           Replacement for gst-complete written in sh and sed.  Only
6601           completes names of features, but that's 90% of what I want
6602           it for.  Properties are not available in registry.xml.  (Maybe
6603           they should be...)
6604
6605 === release 0.10.1 ===
6606
6607 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6608
6609         * configure.ac:
6610           releasing 0.10.1, "Nollaig chridheil"
6611
6612 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6613
6614         * docs/faq/cvs.xml:
6615           Add missing quote, should be make ERROR_CFLAGS="".
6616
6617 2005-12-20  Wim Taymans  <wim@fluendo.com>
6618
6619         * docs/design/part-trickmodes.txt:
6620         More documentation on trickmodes.
6621
6622 2005-12-20  Edward Hervey  <edward@fluendo.com>
6623
6624         * gst/gstcaps.c: (gst_static_caps_get_type):
6625         * gst/gstcaps.h:
6626           API addition: GST_TYPE_STATIC_CAPS
6627         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6628         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6629         * gst/gstpadtemplate.h:
6630           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6631         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6632         bindings.
6633
6634 2005-12-18  Wim Taymans  <wim@fluendo.com>
6635
6636         * libs/gst/base/gstadapter.c:
6637         * libs/gst/base/gstadapter.h:
6638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6639         (gst_base_sink_get_position):
6640         * libs/gst/base/gstbasesink.h:
6641         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6642         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6643         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6644         (gst_base_src_send_event), (gst_base_src_update_length),
6645         (gst_base_src_get_range), (gst_base_src_loop),
6646         (gst_base_src_start):
6647         * libs/gst/base/gstbasesrc.h:
6648         * libs/gst/base/gstbasetransform.h:
6649         * libs/gst/base/gstcollectpads.h:
6650         * libs/gst/base/gstpushsrc.c:
6651         * libs/gst/base/gstpushsrc.h:
6652         * libs/gst/dataprotocol/dataprotocol.c:
6653         * libs/gst/dataprotocol/dataprotocol.h:
6654         * libs/gst/net/gstnetclientclock.h:
6655         * libs/gst/net/gstnettimeprovider.h:
6656         Documentation updates.
6657
6658 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6659
6660         * docs/manual/basics-helloworld.xml:
6661           Remove superfluous closing bracket in helloworld example.
6662
6663 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6664
6665         * tools/gst-launch.1.in:
6666           Update gst-launch man page; add a section with useful
6667           environment variables. Fixes #323882.
6668
6669 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6670
6671         * gst/gst.c:
6672         * gst/gst_private.h:
6673           change some char* into char[]
6674
6675 2005-12-16  Wim Taymans  <wim@fluendo.com>
6676
6677         * gst/gstregistryxml.c: (load_feature):
6678         Cleanups.
6679         Don't use g_object_unref on GstObjects so that we avoid
6680         leaks on unsafe glibs.
6681
6682 2005-12-16  Wim Taymans  <wim@fluendo.com>
6683
6684         * gst/gstbin.c: (gst_bin_recalc_state):
6685         Small doc updates.
6686
6687 2005-12-16  Wim Taymans  <wim@fluendo.com>
6688
6689         * common/check.mak:
6690         Added make forever target for check.
6691
6692 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6693
6694         * gst/gst.c: (init_post):
6695           make the registry cache file HOST_CPU-dependent
6696
6697 2005-12-16  Andy Wingo  <wingo@pobox.com>
6698
6699         * plugins/elements/gstbufferstore.c
6700         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6701         return value.
6702
6703         * tests/check/gst/gstobject.c
6704         (test_fake_object_name_threaded_unique): Pay attention to
6705         g_list_sort return value.
6706
6707 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6708
6709         * tools/gst-feedback-m.m:
6710           Update for 0.9/0.10 (fixes #323870).
6711
6712 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6713
6714         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6715           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6716           
6717         * tests/check/gst/gstminiobject.c: (my_foo_init),
6718         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6719         (test_value_collection), (gst_mini_object_suite):
6720           Add test to ensure refcounts end up as expected when passing
6721           GstMiniObjects through g_object_get() and g_object_set().
6722
6723 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6724
6725         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6726         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6727         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6728         of collectpads. This version removes a lot of races without
6729         touching API/ABI. Yay !
6730
6731 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6732
6733         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6734           Don't allow activation of a srcpad in pull_range if it has no
6735           getrange function.
6736           Change some debug statements to be a little clearer
6737
6738         * plugins/elements/gsttypefindelement.c:
6739         (gst_type_find_handle_src_query):
6740           Check that we have a peer before executing queries thereupon.
6741
6742         * tests/examples/metadata/read-metadata.c: (message_loop):
6743           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6744           immediately return us any available message with 0 timeout.
6745
6746 2005-12-12  Michael Smith  <msmith@fluendo.com>
6747
6748         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6749           Don't unref factories after calling them.
6750         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6751         * plugins/elements/gsttypefindelement.c:
6752         (gst_type_find_element_chain):
6753           Free lists of factories after using them. Fixing typefinding memory
6754           leaks.
6755
6756 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6757
6758         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6759         (gst_plugin_feature_load):
6760           more meaningful debug output
6761         * configure.ac:
6762         * tests/Makefile.am:
6763         * tests/old/examples/Makefile.am:
6764           make make distcheck happy again
6765
6766 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6767
6768         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6769           Catch the special case where we are operating chain-based,
6770           but the downstream peer pad has no chain function. Emit a
6771           custom error message in this case instead of letting the
6772           core generate one implying that this is some sort of core
6773           bug. It's not, it just means that whatever got plugged
6774           into the pipeline downstream when we announced the type
6775           can only operate pull-based, while our source can only
6776           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6777           Error string has not been marked for translation yet, as
6778           it probably needs some more work first.
6779
6780         (gst_type_find_element_get_best_possibility):
6781           Add helper function to find the best of all available
6782           found possibilities that qualify given the min. threshold.
6783
6784         (gst_type_find_element_handle_event):
6785           Fix the case where we get an EOS while still in TYPEFIND
6786           mode (we want to chose the best of all possible types,
6787           not just the first type that happens to be in our unsorted
6788           list of possible types).
6789
6790         (gst_type_find_element_chain):
6791           Make sure we return GST_FLOW_ERROR when we errored out
6792           in stop_typefinding(); also, don't just find the best of
6793           all found type entries and then use the last examined
6794           type entry, but actually use the best entry.
6795
6796 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6797
6798         * tests/examples/typefind/typefind.c: (type_found):
6799         * tests/examples/xml/runxml.c: (xml_loaded):
6800           More gcc4 fixes and a mem leak fix.
6801
6802 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6803
6804         * tests/examples/xml/createxml.c: (object_saved):
6805           gcc 4 fixes
6806
6807 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6808
6809         * tests/Makefile.am:
6810           enable the examples even more
6811
6812 2005-12-12  Andy Wingo  <wingo@pobox.com>
6813
6814         * libs/gst/net/gstnettimeprovider.c
6815         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6816         (gst_net_time_provider_set_property)
6817         (gst_net_time_provider_get_property):
6818         API addition: Export "active" as a GObject property.
6819         (gst_net_time_provider_thread): Only respond to time queries if
6820         the time provider is active.
6821
6822         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6823         NetTimeProvider, preserving binary compat.
6824
6825 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6826
6827         * tests/examples/controller/audio-example.c: (main):
6828         * tests/examples/launch/Makefile.am:
6829           convert comments again
6830
6831 2005-12-12  Wim Taymans  <wim@fluendo.com>
6832
6833         * libs/gst/base/gstpushsrc.c:
6834         Fix typo.
6835
6836 2005-12-12  Wim Taymans  <wim@fluendo.com>
6837
6838         * docs/libs/gstreamer-libs-sections.txt:
6839         Added new symbol to docs.
6840
6841         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6842         (gst_base_src_init), (gst_base_src_set_format),
6843         (gst_base_src_default_query), (gst_base_src_query),
6844         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6845         (gst_base_src_perform_seek), (gst_base_src_send_event),
6846         (gst_base_src_default_event), (gst_base_src_event_handler),
6847         (gst_base_src_set_property), (gst_base_src_get_property),
6848         (gst_base_src_wait), (gst_base_src_do_sync),
6849         (gst_base_src_update_length), (gst_base_src_get_range),
6850         (gst_base_src_check_get_range), (gst_base_src_loop),
6851         (gst_base_src_default_negotiate), (gst_base_src_start),
6852         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6853         (gst_base_src_change_state):
6854         * libs/gst/base/gstbasesrc.h:
6855         Implement seeking to other formats than _BYTES.
6856         Implement more seeking methods correctly.
6857         Doc updates.
6858         Added query vmethod.
6859         Added do_seek vmethod to make life easier for subclasses
6860         when seeking.
6861         API addition: gst_base_src_set_format()
6862
6863 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6864
6865         * tests/examples/Makefile.am:
6866           added that too
6867
6868 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6869
6870         * configure.ac:
6871         * docs/random/ensonic/media-device-daemon.txt:
6872         * tests/examples/controller/.cvsignore:
6873         * tests/examples/controller/Makefile.am:
6874         * tests/examples/controller/audio-example.c: (main):
6875         * tests/examples/helloworld/.cvsignore:
6876         * tests/examples/helloworld/Makefile.am:
6877         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6878         * tests/examples/launch/.cvsignore:
6879         * tests/examples/launch/Makefile.am:
6880         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6881         * tests/examples/metadata/.cvsignore:
6882         * tests/examples/metadata/Makefile.am:
6883         * tests/examples/metadata/read-metadata.c: (message_loop),
6884         (make_pipeline), (print_tag), (main):
6885         * tests/examples/queue/.cvsignore:
6886         * tests/examples/queue/Makefile.am:
6887         * tests/examples/queue/queue.c: (event_loop), (main):
6888         * tests/examples/typefind/.cvsignore:
6889         * tests/examples/typefind/Makefile.am:
6890         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6891         (main):
6892         * tests/examples/xml/.cvsignore:
6893         * tests/examples/xml/Makefile.am:
6894         * tests/examples/xml/createxml.c: (object_saved), (main):
6895         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6896         * tests/old/examples/Makefile.am:
6897         * tests/old/examples/TODO:
6898         * tests/old/examples/controller/.cvsignore:
6899         * tests/old/examples/controller/Makefile.am:
6900         * tests/old/examples/controller/audio-example.c:
6901         * tests/old/examples/helloworld/.cvsignore:
6902         * tests/old/examples/helloworld/Makefile.am:
6903         * tests/old/examples/helloworld/helloworld.c:
6904         * tests/old/examples/launch/.cvsignore:
6905         * tests/old/examples/launch/Makefile.am:
6906         * tests/old/examples/launch/mp3parselaunch.c:
6907         * tests/old/examples/launch/mp3play:
6908         * tests/old/examples/manual/Makefile.am:
6909         * tests/old/examples/metadata/Makefile.am:
6910         * tests/old/examples/metadata/read-metadata.c:
6911         * tests/old/examples/queue/.cvsignore:
6912         * tests/old/examples/queue/Makefile.am:
6913         * tests/old/examples/queue/queue.c:
6914         * tests/old/examples/typefind/.cvsignore:
6915         * tests/old/examples/typefind/Makefile.am:
6916         * tests/old/examples/typefind/typefind.c:
6917         * tests/old/examples/xml/.cvsignore:
6918         * tests/old/examples/xml/Makefile.am:
6919         * tests/old/examples/xml/createxml.c:
6920         * tests/old/examples/xml/runxml.c:
6921           applied some simple fixing to some examples
6922           re-enabled the working examples
6923
6924 2005-12-12  Wim Taymans  <wim@fluendo.com>
6925
6926         * gst/gstsegment.c: (gst_segment_init),
6927         (gst_segment_set_last_stop), (gst_segment_set_seek),
6928         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6929         (gst_segment_to_running_time):
6930         Added more documentation.
6931         Make sure the last_pos value is updated properly.
6932         Make sure to_stream_time and to_running_time don't
6933         operate on wrong values.
6934
6935         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6936         Update check.
6937
6938 2005-12-12  Michael Smith  <msmith@fluendo.com>
6939
6940         * plugins/elements/gsttypefindelement.c: (free_entry),
6941         (gst_type_find_element_chain):
6942           Now that we're not leaking factories, make sure we keep references
6943           to them while we need them.
6944
6945 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6946
6947         * tests/check/gst/struct_i386.h:
6948           ifdef out the XML structs
6949
6950 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6951
6952         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6953           floor is not needed, F is always positive; this obviates the
6954           need for adding -lm when building without libxml
6955
6956 2005-12-12  Wim Taymans  <wim@fluendo.com>
6957
6958         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6959         Take current playback rate into account when reporting
6960         the position.
6961
6962 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6963
6964         * docs/manual/mime-world.fig:
6965           Let's try this again, this time with a file that is
6966           actually in XFig format.
6967
6968 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6969
6970         * docs/manual/mime-world.fig:
6971           Add audioconvert element to diagram so that it
6972           matches the text and the code (fixes #319526).
6973
6974 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6975
6976         * docs/pwg/building-chainfn.xml:
6977         * docs/pwg/building-pads.xml:
6978         * docs/pwg/building-state.xml:
6979         * docs/pwg/other-source.xml:
6980           Update state change stuff for 0.10 (fixes #322969).
6981
6982 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6983
6984         * docs/manual/advanced-dataaccess.xml:
6985         * docs/manual/appendix-checklist.xml:
6986         * docs/manual/appendix-programs.xml:
6987         * docs/manual/basics-pads.xml:
6988         * docs/manual/highlevel-components.xml:
6989         * docs/manual/manual.xml:
6990           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6991           add converters in front of pipelines; remove curly
6992           brackets for threads stuff, they no longer exist; use
6993           GST_TYPE_FRACTION for framerates; update some pieces of
6994           code to 0.10, but there's plenty more to do.
6995
6996         * docs/manual/appendix-porting.xml:
6997           Expand on asynchroneous state changes; s/0.9/0.10/;
6998           mention disappearance of gst_init_get_popt_table()
6999           (fixes #322916).
7000
7001 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7002
7003         * docs/faq/using.xml:
7004           Spider no longer exists, and neither does gst-launch-ext.
7005           Update examples to use decodebin and playbin and put
7006           converters in front of sinks (fixes #323726).
7007
7008 2005-12-09  Michael Smith  <msmith@fluendo.com>
7009
7010         * plugins/elements/gsttypefindelement.c: (find_peek),
7011         (gst_type_find_element_chain):
7012           Fix leaking element factories in typefinding.
7013           Fix problem where we forgot about a probable type on non-seekable
7014           files, and thus later mis-typefound it.
7015
7016 2005-12-09  Michael Smith  <msmith@fluendo.com>
7017
7018         * common/m4/gst-makecontext.m4:
7019         * common/m4/gst-mcsc.m4:
7020         * configure.ac:
7021         * win32/common/config.h:
7022         * win32/common/config.h.in:
7023           Remove makecontext stuff; not used in 0.10 and causes problems on
7024           HPUX according to bug #322441
7025
7026 2005-12-07  Wim Taymans  <wim@fluendo.com>
7027
7028         * tests/check/Makefile.am:
7029         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7030         (main):
7031         * tests/check/libs/struct_i386.h:
7032         Added ABI check for libs
7033
7034 2005-12-07  Wim Taymans  <wim@fluendo.com>
7035
7036         * tests/check/Makefile.am:
7037         And add the struct_i386.h to dist.
7038
7039 2005-12-07  Wim Taymans  <wim@fluendo.com>
7040
7041         * tests/check/Makefile.am:
7042         * tests/check/gst/.cvsignore:
7043         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7044         (main):
7045         * tests/check/gst/struct_i386.h:
7046         Added check for ABI compatibility.
7047
7048 2005-12-07  Wim Taymans  <wim@fluendo.com>
7049
7050         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7051         (gst_fake_src_get_times), (gst_fake_src_create):
7052         Fix broken sync option, fixes #323259
7053
7054 2005-12-07  Wim Taymans  <wim@fluendo.com>
7055
7056         * gst/gstbuffer.c:
7057         Small docs update.
7058
7059         * gst/gstcaps.c: (gst_caps_is_equal):
7060         Don't assert on NULL <--> X. Fixes #323260
7061
7062         * gst/gstminiobject.c: (gst_mini_object_replace):
7063         If we're doing atomic operations, we might just as well use
7064         the proper way to get an atomic pointer.
7065
7066         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7067         Clean up debugging.
7068
7069 2005-12-07  Michael Smith  <msmith@fluendo.com>
7070
7071         * gst/parse/grammar.y:
7072           Remove handling of { } for threads.
7073
7074 2005-12-06  David Schleef  <ds@schleef.org>
7075
7076         * libs/gst/base/gstbasetransform.c: speling fix.
7077
7078 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7079
7080         * docs/libs/tmpl/gstdataprotocol.sgml:
7081         * docs/random/omega/testing/gstobject.c:
7082         * gst/gst.c:
7083         * gst/gstclock.c:
7084         * gst/gstelement.c:
7085         * gst/gstelementfactory.c:
7086         * gst/gsterror.c:
7087         * gst/gstevent.c:
7088         * gst/gstghostpad.c:
7089         * gst/gstinfo.c:
7090         * gst/gstpadtemplate.c:
7091         * gst/gstregistryxml.c:
7092         * gst/gsttaglist.c:
7093         * gst/gsttagsetter.c:
7094         * gst/gsttypefind.c:
7095         * gst/gstvalue.c:
7096         * libs/gst/base/gstbasesrc.c:
7097         * libs/gst/net/gstnetclientclock.c:
7098         * libs/gst/net/gstnettimeprovider.c:
7099         * plugins/elements/gstfakesrc.c:
7100         * plugins/elements/gstfdsrc.c:
7101         * plugins/elements/gstfilesrc.c:
7102         * plugins/elements/gstidentity.c:
7103         * plugins/elements/gstqueue.c:
7104         * plugins/elements/gsttypefindelement.c:
7105         * plugins/indexers/gstfileindex.c:
7106         * plugins/indexers/gstmemindex.c:
7107         * tests/check/gst/gsttag.c:
7108         * tests/old/examples/cutter/cutter.c:
7109         * tests/old/examples/mixer/mixer.c:
7110         * tests/old/examples/xml/runxml.c: (main):
7111         * tests/old/testsuite/caps/normalisation.c:
7112         * tests/old/testsuite/debug/global.c:
7113         * tests/old/testsuite/parse/parse1.c:
7114         * tools/gst-xmlinspect.c:
7115         * win32/common/dirent.c:
7116           expand tabs
7117
7118 === release 0.10.0 ===
7119
7120 2005-12-05   <thomas (at) apestaart (dot) org>
7121
7122         * configure.ac:
7123           releasing 0.10.0, "Maroilles"
7124
7125 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7126
7127         submitted by: Funda Wang <fundawang@linux.net.cn>
7128
7129         * po/LINGUAS:
7130         * po/zh_CN.po:
7131           added Chinese (Traditional) translation
7132
7133 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7134
7135         * docs/gst/gstreamer-sections.txt:
7136         * docs/libs/tmpl/gstdataprotocol.sgml:
7137         * docs/random/thomasvs/TODO:
7138         * gst/gstutils.c:
7139         * gst/gstutils.h:
7140           fix docs
7141
7142 2005-12-05  Andy Wingo  <wingo@pobox.com>
7143
7144         patch by: Wim Taymans <wim@fluendo.com>
7145
7146         * libs/gst/base/gstbasetransform.c
7147         (gst_base_transform_prepare_output_buf)
7148         (gst_base_transform_buffer_alloc):
7149         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7150         alloc_buffer_and_set_caps.
7151
7152         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7153         set_caps on the source pad.
7154         (gst_pad_alloc_buffer_and_set_caps): New function, does what
7155         alloc_buffer used to do. Fixes #322874.
7156
7157         * docs/gst/gstreamer-sections.txt: 
7158         * docs/design/part-negotiation.txt: 
7159         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7160         changes.
7161
7162 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7163
7164         patch by: Sebastien Moutte
7165
7166         * win32/MANIFEST:
7167         * win32/common/config.h.in:
7168         * win32/vs6/libgstcontroller.dsp:
7169           win32 build fixes
7170
7171 2005-12-05  Wim Taymans  <wim@fluendo.com>
7172
7173         * gst/gstcaps.c: (gst_caps_is_equal):
7174         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7175         (gst_fake_src_create):
7176         Back out previous code changes, leave doc updates, file bugs 
7177         instead. 
7178
7179 2005-12-05  Wim Taymans  <wim@fluendo.com>
7180
7181         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7182         (gst_fake_src_get_times), (gst_fake_src_create):
7183         * plugins/elements/gstfakesrc.h:
7184         Fix broken sync code.
7185
7186 2005-12-05  Wim Taymans  <wim@fluendo.com>
7187
7188         * gst/gstcaps.c: (gst_caps_is_equal):
7189         Comparing NULL against !NULL yields different caps, not a
7190         failure.
7191
7192 2005-12-05  Wim Taymans  <wim@fluendo.com>
7193
7194         * gst/gstpipeline.c:
7195         Fix small typo in docs.
7196
7197 2005-12-05  Andy Wingo  <wingo@pobox.com>
7198
7199         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
7200
7201         * gst/gst.c (init_post): remove hard-coded 0.9 location for
7202         registries/plugins with a MAJORMINOR one.
7203         (plugin_desc): Rename library from gstcoreleements to
7204         staticelements. Fixes #323222.
7205
7206 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
7207
7208         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7209           Change debug category to 'collectpads' from 'collect_pads'
7210           (fixes #323250).
7211
7212 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7213
7214         patch by: Sebastien Moutte
7215
7216         * libs/gst/controller/gstinterpolation.c:
7217           use convert function for uint64/double
7218         * win32/vs6/libgstcontroller.dsp:
7219           link to GLib
7220
7221 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7222
7223         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7224         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7225         * gst/gstutils.h:
7226         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7227           add tests that seem to show that the guint64/gdouble conversions
7228           are correct.
7229
7230 2005-12-02  Wim Taymans  <wim@fluendo.com>
7231
7232         * gst/gstregistry.c: (gst_registry_add_path):
7233         * gst/gstregistry.h:
7234         * gst/gstregistryxml.c:
7235         Fix docs again.
7236
7237 2005-12-02  Wim Taymans  <wim@fluendo.com>
7238
7239         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7240         (gst_util_uint64_scale_int):
7241         Small cleanup.
7242
7243         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7244         Add debug log line.
7245
7246         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7247         Add FIXME.
7248
7249 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7250
7251         * win32/MANIFEST:
7252         * win32/common/config.h:
7253         * win32/vs6/gstreamer.dsw:
7254         * win32/vs6/libgstcoreelements.dsp:
7255         * win32/vs6/libgstelements.dsp:
7256           renamed core elements plugin
7257
7258 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7259
7260         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7261         (get_candidates):
7262           do piece-wise major/minor comparison so 0.9 < 0.10
7263           also allow .exe extensions for tools
7264
7265 2005-12-02  Michael Smith  <msmith@fluendo.com>
7266
7267         * gst/gst.c:
7268           Escape a % to make gtkdoc happier; bug 322958.
7269
7270 === release 0.9.7 ===
7271
7272 2005-12-01   <thomas (at) apestaart (dot) org>
7273
7274         * configure.ac:
7275           releasing 0.9.7, "My Dog Has No Nose"
7276
7277 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7278
7279         * common/gst-xmlinspect.py:
7280         * configure.ac:
7281         * docs/libs/tmpl/gstdataprotocol.sgml:
7282         * docs/random/release:
7283         * po/af.po:
7284         * po/az.po:
7285         * po/bg.po:
7286         * po/ca.po:
7287         * po/cs.po:
7288         * po/de.po:
7289         * po/en_GB.po:
7290         * po/fr.po:
7291         * po/it.po:
7292         * po/nb.po:
7293         * po/nl.po:
7294         * po/ru.po:
7295         * po/sq.po:
7296         * po/sr.po:
7297         * po/sv.po:
7298         * po/tr.po:
7299         * po/uk.po:
7300         * po/vi.po:
7301         * win32/common/config.h:
7302         * win32/common/config.h.in:
7303         * win32/vs6/gst_inspect.dsp:
7304         * win32/vs6/gst_launch.dsp:
7305         * win32/vs6/libgstbase.dsp:
7306         * win32/vs6/libgstelements.dsp:
7307         * win32/vs6/libgstreamer.dsp:
7308         * win32/vs7/GStreamer.vcproj:
7309         * win32/vs7/gst-inspect.vcproj:
7310         * win32/vs7/gst-launch.vcproj:
7311         * win32/vs7/libgstbase.vcproj:
7312           bump GST_MAJORMINOR to 0.10
7313           reset libtool version
7314
7315 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7316
7317         * po/LINGUAS:
7318         * po/bg.po:
7319           Added Bulgarian translation by (Alexander Shopov)
7320
7321 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7322
7323         * tests/check/gst/gstplugin.c:
7324           fix test
7325
7326 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7327
7328         * common/gst-xmlinspect.py:
7329         * common/gtk-doc-plugins.mak:
7330         * configure.ac:
7331         * docs/Makefile.am:
7332         * docs/gst/Makefile.am:
7333         * docs/gst/gstreamer-docs.sgml:
7334         * docs/gst/gstreamer-sections.txt:
7335         * docs/gst/gstreamer.types:
7336         * docs/gst/gstreamer.types.in:
7337         * docs/plugins/Makefile.am:
7338         * docs/plugins/gstreamer-plugins-docs.sgml:
7339         * docs/plugins/gstreamer-plugins-sections.txt:
7340         * docs/plugins/gstreamer-plugins.types:
7341         * docs/plugins/inspect.stamp:
7342         * docs/plugins/inspect/plugin-coreelements.xml:
7343         * docs/plugins/inspect/plugin-coreindexers.xml:
7344         * docs/plugins/scanobj-build.stamp:
7345         * gstreamer.spec.in:
7346         * plugins/elements/Makefile.am:
7347         * plugins/elements/gstelements.c:
7348         * plugins/elements/gstfakesink.c:
7349         * plugins/elements/gstfakesrc.c:
7350         * plugins/elements/gstfilesink.c:
7351         * plugins/elements/gstfilesrc.c:
7352         * plugins/elements/gstqueue.c:
7353         * plugins/indexers/Makefile.am:
7354         * plugins/indexers/gstindexers.c:
7355           document core plugins in a separate document just like all the
7356           others
7357           rename these plugins to something starting with core
7358
7359 2005-12-01  Andy Wingo  <wingo@pobox.com>
7360
7361         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7362         padding here before, but it missed the commit.
7363
7364 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7365
7366         * libs/gst/controller/gstinterpolation.c:
7367           whitespace prices have crashed, we should feel free to use some now
7368           use gst_guint64_to_gdouble
7369
7370 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7371
7372         * libs/gst/controller/gstcontroller.c:
7373         * libs/gst/controller/gsthelper.c:
7374         * libs/gst/controller/gstinterpolation.c:
7375         * libs/gst/controller/lib.c:
7376           wrap config.h include
7377
7378 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7379
7380         * docs/gst/gstreamer-sections.txt:
7381           update docs
7382
7383 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * plugins/elements/gstelements.c:
7386         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7387         (gst_fd_sink__class_init), (gst_fd_sink__init),
7388         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7389         (gst_fd_sink__get_property):
7390         * plugins/elements/gstfdsink.h:
7391         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7392         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7393         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7394         (gst_fd_src_unlock), (gst_fd_src_set_property),
7395         (gst_fd_src_get_property), (gst_fd_src_create),
7396         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7397         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7398         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7399         (gst_fd_src_uri_handler_init):
7400         * plugins/elements/gstfdsrc.h:
7401         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7402           more anal cleanup
7403
7404 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7405
7406         * docs/gst/Makefile.am:
7407         * docs/gst/gstreamer.types.in:
7408         * gst/Makefile.am:
7409           fix the docs build
7410
7411 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7412
7413         * configure.ac:
7414         * gst/Makefile.am:
7415         * gst/gst.c:
7416         * gst/gstplugin.h:
7417         * gst/gstregistry.h:
7418         * tests/benchmarks/complexity.c:
7419         * tests/benchmarks/mass-elements.c:
7420         * tests/check/Makefile.am:
7421         * tools/Makefile.am:
7422         * tools/gst-inspect.c:
7423         * tools/gst-xmlinspect.c:
7424           various fixes to make
7425           --disable-nls --disable-registry --disable-loadsave
7426           --disable-parse --disable-gst-debug
7427           work and get the core .so down to 360444 bytes after stripping
7428
7429 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7430
7431         * Makefile.am:
7432         * configure.ac:
7433           descend into tests
7434         * docs/random/thomasvs/TODO:
7435         * tests/Makefile.am:
7436         * tests/README:
7437           add a README
7438
7439 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7440
7441         * win32/GStreamer.vcproj:
7442         * win32/MANIFEST:
7443         * win32/Makefile:
7444         * win32/Makefile.inspect:
7445         * win32/Makefile.launch:
7446         * win32/Makefile.register:
7447         * win32/README.txt:
7448         * win32/gst-inspect.vcproj:
7449         * win32/gst-launch.vcproj:
7450         * win32/gst-register.vcproj:
7451         * win32/gstelements.vcproj:
7452         * win32/gstgetbits.def:
7453         * win32/gstgetbits.vcproj:
7454         * win32/gstreamer-dbg.def:
7455         * win32/gstreamer.def:
7456         * win32/libgstbase.def:
7457         * win32/libgstbase.vcproj:
7458         * win32/link_oldruntime.c:
7459         * win32/mman.c:
7460         * win32/mman.h:
7461         * win32/mman.inl:
7462         * win32/msvc71.sln:
7463           move even more stuff, win32/ is nice and clean now
7464
7465 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7466
7467         * libs/gst/control/.cvsignore:
7468         * win32/MANIFEST:
7469         * win32/config.h:
7470         * win32/dirent.c:
7471         * win32/dirent.h:
7472         * win32/gstbytestream.def:
7473         * win32/gstbytestream.vcproj:
7474         * win32/gstconfig.h:
7475         * win32/gstenumtypes.c:
7476         * win32/gstenumtypes.h:
7477         * win32/gstoptimalscheduler.vcproj:
7478         * win32/gstversion.h:
7479         * win32/gtchar.h:
7480         * win32/testsuite/bins.vcproj:
7481         * win32/testsuite/bytestream.vcproj:
7482         * win32/testsuite/caps.vcproj:
7483         * win32/testsuite/cleanup.vcproj:
7484         * win32/testsuite/clock.vcproj:
7485         * win32/testsuite/debug.vcproj:
7486         * win32/testsuite/dlopen.vcproj:
7487         * win32/testsuite/dynparams.vcproj:
7488         * win32/testsuite/elements.vcproj:
7489         * win32/testsuite/ghostpads.vcproj:
7490         * win32/testsuite/indexers.vcproj:
7491         * win32/testsuite/negotiation.vcproj:
7492         * win32/testsuite/parse.vcproj:
7493         * win32/testsuite/plugin.vcproj:
7494         * win32/testsuite/refcounting.vcproj:
7495         * win32/testsuite/schedulers.vcproj:
7496         * win32/testsuite/states.vcproj:
7497         * win32/testsuite/tags.vcproj:
7498         * win32/testsuite/threads.vcproj:
7499           remove old win32 stuff that isn't maintained and should be
7500           reorganized
7501
7502 2005-11-30  Andy Wingo  <wingo@pobox.com>
7503
7504         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7505         loading the gst.interfaces python module bork.
7506
7507         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7508         available since GLib 2.2. Fixes #318031.
7509
7510 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7511
7512         * Makefile.am:
7513         * check/.cvsignore:
7514         * check/Makefile.am:
7515         * check/elements/.cvsignore:
7516         * check/elements/fakesrc.c:
7517         * check/elements/fdsrc.c:
7518         * check/elements/identity.c:
7519         * check/generic/.cvsignore:
7520         * check/generic/states.c:
7521         * check/gst-libs/.cvsignore:
7522         * check/gst-libs/controller.c:
7523         * check/gst-libs/gdp.c:
7524         * check/gst/.cvsignore:
7525         * check/gst/capslist.h:
7526         * check/gst/gst.c:
7527         * check/gst/gstbin.c:
7528         * check/gst/gstbuffer.c:
7529         * check/gst/gstbus.c:
7530         * check/gst/gstcaps.c:
7531         * check/gst/gstelement.c:
7532         * check/gst/gstevent.c:
7533         * check/gst/gstghostpad.c:
7534         * check/gst/gstiterator.c:
7535         * check/gst/gstmessage.c:
7536         * check/gst/gstminiobject.c:
7537         * check/gst/gstobject.c:
7538         * check/gst/gstpad.c:
7539         * check/gst/gstpipeline.c:
7540         * check/gst/gstplugin.c:
7541         * check/gst/gstsegment.c:
7542         * check/gst/gststructure.c:
7543         * check/gst/gstsystemclock.c:
7544         * check/gst/gsttag.c:
7545         * check/gst/gstutils.c:
7546         * check/gst/gstvalue.c:
7547         * check/net/.cvsignore:
7548         * check/net/gstnetclientclock.c:
7549         * check/net/gstnettimeprovider.c:
7550         * check/pipelines/.cvsignore:
7551         * check/pipelines/cleanup.c:
7552         * check/pipelines/simple_launch_lines.c:
7553         * check/pipelines/stress.c:
7554         * check/states/.cvsignore:
7555         * check/states/sinks.c:
7556         * configure.ac:
7557         * examples/Makefile.am:
7558         * examples/appreader/.cvsignore:
7559         * examples/appreader/Makefile.am:
7560         * examples/appreader/appreader.c:
7561         * examples/controller/.cvsignore:
7562         * examples/controller/Makefile.am:
7563         * examples/controller/audio-example.c:
7564         * examples/cutter/.cvsignore:
7565         * examples/cutter/Makefile.am:
7566         * examples/cutter/cutter.c:
7567         * examples/cutter/cutter.h:
7568         * examples/events/Makefile.am:
7569         * examples/events/seek.c:
7570         * examples/helloworld/.cvsignore:
7571         * examples/helloworld/Makefile.am:
7572         * examples/helloworld/helloworld.c:
7573         * examples/helloworld2/.cvsignore:
7574         * examples/helloworld2/Makefile.am:
7575         * examples/helloworld2/helloworld2.c:
7576         * examples/launch/.cvsignore:
7577         * examples/launch/Makefile.am:
7578         * examples/launch/mp3parselaunch.c:
7579         * examples/launch/mp3play:
7580         * examples/manual/.cvsignore:
7581         * examples/manual/Makefile.am:
7582         * examples/manual/extract.pl:
7583         * examples/metadata/Makefile.am:
7584         * examples/metadata/read-metadata.c:
7585         * examples/mixer/.cvsignore:
7586         * examples/mixer/Makefile.am:
7587         * examples/mixer/mixer.c:
7588         * examples/mixer/mixer.h:
7589         * examples/pingpong/.cvsignore:
7590         * examples/pingpong/Makefile.am:
7591         * examples/pingpong/pingpong.c:
7592         * examples/plugins/.cvsignore:
7593         * examples/plugins/Makefile.am:
7594         * examples/plugins/example.c:
7595         * examples/plugins/example.h:
7596         * examples/pwg/.cvsignore:
7597         * examples/pwg/Makefile.am:
7598         * examples/pwg/extract.pl:
7599         * examples/queue/.cvsignore:
7600         * examples/queue/Makefile.am:
7601         * examples/queue/queue.c:
7602         * examples/queue2/.cvsignore:
7603         * examples/queue2/Makefile.am:
7604         * examples/queue2/queue2.c:
7605         * examples/queue3/.cvsignore:
7606         * examples/queue3/Makefile.am:
7607         * examples/queue3/queue3.c:
7608         * examples/queue4/.cvsignore:
7609         * examples/queue4/Makefile.am:
7610         * examples/queue4/queue4.c:
7611         * examples/retag/.cvsignore:
7612         * examples/retag/Makefile.am:
7613         * examples/retag/retag.c:
7614         * examples/retag/transcode.c:
7615         * examples/thread/.cvsignore:
7616         * examples/thread/Makefile.am:
7617         * examples/thread/thread.c:
7618         * examples/typefind/.cvsignore:
7619         * examples/typefind/Makefile.am:
7620         * examples/typefind/typefind.c:
7621         * examples/xml/.cvsignore:
7622         * examples/xml/Makefile.am:
7623         * examples/xml/createxml.c:
7624         * examples/xml/runxml.c:
7625         * tests/Makefile.am:
7626         * tests/check/Makefile.am:
7627         * testsuite/.cvsignore:
7628         * testsuite/Makefile.am:
7629         * testsuite/Rules:
7630         * testsuite/caps/.cvsignore:
7631         * testsuite/caps/Makefile.am:
7632         * testsuite/caps/app_fixate.c:
7633         * testsuite/caps/audioscale.c:
7634         * testsuite/caps/caps.c:
7635         * testsuite/caps/caps.h:
7636         * testsuite/caps/caps_strings:
7637         * testsuite/caps/compatibility.c:
7638         * testsuite/caps/deserialize.c:
7639         * testsuite/caps/enumcaps.c:
7640         * testsuite/caps/eratosthenes.c:
7641         * testsuite/caps/filtercaps.c:
7642         * testsuite/caps/fixed.c:
7643         * testsuite/caps/fraction-convert.c:
7644         * testsuite/caps/fraction-multiply-and-zero.c:
7645         * testsuite/caps/intersect2.c:
7646         * testsuite/caps/intersection.c:
7647         * testsuite/caps/normalisation.c:
7648         * testsuite/caps/random.c:
7649         * testsuite/caps/renegotiate.c:
7650         * testsuite/caps/sets.c:
7651         * testsuite/caps/simplify.c:
7652         * testsuite/caps/string-conversions.c:
7653         * testsuite/caps/structure.c:
7654         * testsuite/caps/subtract.c:
7655         * testsuite/caps/union.c:
7656         * testsuite/debug/.cvsignore:
7657         * testsuite/debug/Makefile.am:
7658         * testsuite/debug/category.c:
7659         * testsuite/debug/commandline.c:
7660         * testsuite/debug/global.c:
7661         * testsuite/debug/output.c:
7662         * testsuite/debug/printf_extension.c:
7663         * testsuite/dlopen/.cvsignore:
7664         * testsuite/dlopen/Makefile.am:
7665         * testsuite/dlopen/dlopen_gst.c:
7666         * testsuite/dlopen/loadgst.c:
7667         * testsuite/elements/.cvsignore:
7668         * testsuite/elements/Makefile.am:
7669         * testsuite/elements/gst-inspect-check.in:
7670         * testsuite/elements/struct_i386.h:
7671         * testsuite/elements/struct_size.c:
7672         * testsuite/indexers/.cvsignore:
7673         * testsuite/indexers/Makefile.am:
7674         * testsuite/indexers/cache1.c:
7675         * testsuite/indexers/indexdump.c:
7676         * testsuite/parse/.cvsignore:
7677         * testsuite/parse/Makefile.am:
7678         * testsuite/parse/parse1.c:
7679         * testsuite/parse/parse2.c:
7680         * testsuite/plugin/.cvsignore:
7681         * testsuite/plugin/Makefile.am:
7682         * testsuite/plugin/README:
7683         * testsuite/plugin/dynamic.c:
7684         * testsuite/plugin/linked.c:
7685         * testsuite/plugin/loading.c:
7686         * testsuite/plugin/registry.c:
7687         * testsuite/plugin/static.c:
7688         * testsuite/plugin/static2.c:
7689         * testsuite/plugin/testplugin.c:
7690         * testsuite/plugin/testplugin2.c:
7691         * testsuite/plugin/testplugin2_s.c:
7692         * testsuite/plugin/testplugin_s.c:
7693         * testsuite/refcounting/.cvsignore:
7694         * testsuite/refcounting/Makefile.am:
7695         * testsuite/refcounting/bin.c:
7696         * testsuite/refcounting/element.c:
7697         * testsuite/refcounting/element_pad.c:
7698         * testsuite/refcounting/mainloop.c:
7699         * testsuite/refcounting/mem.c:
7700         * testsuite/refcounting/mem.h:
7701         * testsuite/refcounting/object.c:
7702         * testsuite/refcounting/pad.c:
7703         * testsuite/refcounting/sched.c:
7704         * testsuite/refcounting/thread.c:
7705         * testsuite/states/.cvsignore:
7706         * testsuite/states/Makefile.am:
7707         * testsuite/states/bin.c:
7708         * testsuite/states/locked.c:
7709         * testsuite/states/parent.c:
7710         * testsuite/threads/.cvsignore:
7711         * testsuite/threads/159566.c:
7712         * testsuite/threads/159852.c:
7713         * testsuite/threads/Makefile.am:
7714         * testsuite/threads/queue.c:
7715         * testsuite/threads/signals.c:
7716         * testsuite/threads/staticrec.c:
7717         * testsuite/threads/thread.c:
7718         * testsuite/threads/threadb.c:
7719         * testsuite/threads/threadc.c:
7720         * testsuite/threads/threadd.c:
7721         * testsuite/threads/threade.c:
7722         * testsuite/threads/threadf.c:
7723         * testsuite/threads/threadg.c:
7724         * testsuite/threads/threadh.c:
7725         * testsuite/threads/threadi.c:
7726           move all of these under tests
7727
7728 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7729
7730         * configure.ac:
7731         * tests/Makefile.am:
7732           fix distcheck
7733
7734 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7735
7736         * docs/gst/gstreamer-sections.txt:
7737         * tests/sched/.cvsignore:
7738         * tests/sched/Makefile.am:
7739         * tests/sched/cases/(fs-fs).xml:
7740         * tests/sched/cases/(fs-i-fs).xml:
7741         * tests/sched/cases/(fs-i-i-fs).xml:
7742         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7743         * tests/sched/dynamic-pipeline.c:
7744         * tests/sched/interrupt1.c:
7745         * tests/sched/interrupt2.c:
7746         * tests/sched/interrupt3.c:
7747         * tests/sched/runtestcases:
7748         * tests/sched/runxml.c:
7749         * tests/sched/sched-stress.c:
7750         * tests/sched/sort.c:
7751         * tests/sched/testcases:
7752         * tests/sched/testcases1.tc:
7753         * tests/seeking/.cvsignore:
7754         * tests/seeking/Makefile.am:
7755         * tests/seeking/seeking1.c:
7756         * tests/threadstate/.cvsignore:
7757         * tests/threadstate/Makefile.am:
7758         * tests/threadstate/test1.c:
7759         * tests/threadstate/test2.c:
7760         * tests/threadstate/threadstate1.c:
7761         * tests/threadstate/threadstate2.c:
7762         * tests/threadstate/threadstate3.c:
7763         * tests/threadstate/threadstate4.c:
7764         * tests/threadstate/threadstate5.c:
7765           remove obsolete tests
7766         * configure.ac:
7767         * tests/bench-complexity.scm:
7768         * tests/bench-mass_elements.scm:
7769         * tests/complexity.c:
7770         * tests/complexity.gnuplot:
7771         * tests/instantiate/.cvsignore:
7772         * tests/instantiate/Makefile.am:
7773         * tests/instantiate/caps.c:
7774         * tests/mass_elements.c:
7775         * tests/network-clock-utils.scm:
7776         * tests/network-clock.scm:
7777         * tests/plot-data:
7778         First pass at cleaning up tests/ dir before moving the rest
7779         Combined with CVS surgery
7780
7781 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7782
7783         * po/POTFILES.in:
7784           queue has moved, update
7785
7786 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7787
7788         * docs/gst/gstreamer-sections.txt:
7789           remove double entries from the docs
7790         * gst/gst_private.h:
7791         * gst/gstinfo.c: (_gst_debug_init):
7792           remove the THREAD debug category
7793         * gst/Makefile.am:
7794         * gst/gstqueue.c:
7795         * gst/gstqueue.h:
7796         * docs/gst/gstreamer.types:
7797         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7798         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7799           completely move queue and fix up debugging categories
7800
7801 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7802
7803         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7804           make initialization portable, using LL is not
7805
7806 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7807
7808         * win32/common/gstconfig.h:
7809           add large padding
7810
7811 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7812
7813         * win32/common/libgstreamer.def:
7814           rename symbols; sort base section
7815
7816 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7817
7818         * gst/gstclock.c: (do_linear_regression):
7819           remove crack non-portable handrolled DEBUG macro
7820
7821 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7822
7823         * docs/random/release:
7824           update notes
7825         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7826         (gst_object_flags_get_type), (register_gst_bin_flags),
7827         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7828         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7829         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7830         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7831         (gst_caps_flags_get_type), (register_gst_clock_return),
7832         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7833         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7834         (gst_clock_flags_get_type), (register_gst_state),
7835         (gst_state_get_type), (register_gst_state_change_return),
7836         (gst_state_change_return_get_type), (register_gst_state_change),
7837         (gst_state_change_get_type), (register_gst_element_flags),
7838         (gst_element_flags_get_type), (register_gst_core_error),
7839         (gst_core_error_get_type), (register_gst_library_error),
7840         (gst_library_error_get_type), (register_gst_resource_error),
7841         (gst_resource_error_get_type), (register_gst_stream_error),
7842         (gst_stream_error_get_type), (register_gst_event_type_flags),
7843         (gst_event_type_flags_get_type), (register_gst_event_type),
7844         (gst_event_type_get_type), (register_gst_seek_type),
7845         (gst_seek_type_get_type), (register_gst_seek_flags),
7846         (gst_seek_flags_get_type), (register_gst_format),
7847         (gst_format_get_type), (register_gst_index_certainty),
7848         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7849         (gst_index_entry_type_get_type),
7850         (register_gst_index_lookup_method),
7851         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7852         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7853         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7854         (gst_index_flags_get_type), (register_gst_debug_level),
7855         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7856         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7857         (gst_iterator_result_get_type), (register_gst_iterator_item),
7858         (gst_iterator_item_get_type), (register_gst_message_type),
7859         (gst_message_type_get_type), (register_gst_mini_object_flags),
7860         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7861         (gst_pad_link_return_get_type), (register_gst_flow_return),
7862         (gst_flow_return_get_type), (register_gst_activate_mode),
7863         (gst_activate_mode_get_type), (register_gst_pad_direction),
7864         (gst_pad_direction_get_type), (register_gst_pad_flags),
7865         (gst_pad_flags_get_type), (register_gst_pad_presence),
7866         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7867         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7868         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7869         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7870         (gst_plugin_flags_get_type), (register_gst_rank),
7871         (gst_rank_get_type), (register_gst_query_type),
7872         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7873         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7874         (gst_tag_flag_get_type), (register_gst_task_state),
7875         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7876         (gst_alloc_trace_flags_get_type),
7877         (register_gst_type_find_probability),
7878         (gst_type_find_probability_get_type), (register_gst_uri_type),
7879         (gst_uri_type_get_type), (register_gst_parse_error),
7880         (gst_parse_error_get_type):
7881         * win32/common/gstenumtypes.h:
7882         * win32/common/gstversion.h:
7883           update visual studio generated files
7884
7885 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7886
7887         * win32/vs6/libgstbase.dsp:
7888         * win32/vs6/libgstelements.dsp:
7889           update project files for new locations
7890
7891 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7892
7893         * Makefile.am:
7894           remove some files
7895         * README:
7896           reinstate and update
7897         * DEVEL:
7898         * REQUIREMENTS:
7899           removed
7900         * LICENSE:
7901         * docs/random/LICENSE:
7902           moved to random
7903
7904 2005-11-30  Edward Hervey  <edward@fluendo.com>
7905
7906         * gst/gsttypefind.c: (gst_type_find_register):
7907         * gst/gsttypefind.h:
7908         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7909         (gst_type_find_factory_dispose):
7910         * gst/gsttypefindfactory.h:
7911         Fix memory leak in GstTypeFindFactory.
7912
7913 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7914
7915         * gst/gst.c:
7916         * plugins/elements/Makefile.am:
7917         * plugins/elements/gstelements.c:
7918         * plugins/elements/gstqueue.c:
7919           move queue from core to the elements plugin
7920
7921 2005-11-29  Andy Wingo  <wingo@pobox.com>
7922
7923         * libs/gst/base/gstbasetransform.h: 
7924         * libs/gst/base/gstbasesrc.h: 
7925         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7926
7927         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7928         of pointers by which to pad very extensible base classes (like the
7929         ones in libs/gst/base).
7930
7931 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7932
7933         * docs/gst/gstreamer-docs.sgml:
7934         * docs/gst/gstreamer-sections.txt:
7935         * docs/libs/gstreamer-libs-docs.sgml:
7936         * docs/libs/gstreamer-libs-sections.txt:
7937           moving documentation from core to lib
7938
7939 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7940
7941         * check/Makefile.am:
7942         * configure.ac:
7943         * docs/gst/Makefile.am:
7944         * gst/Makefile.am:
7945         * gst/base/.cvsignore:
7946         * gst/base/Makefile.am:
7947         * gst/base/README:
7948         * gst/base/gstadapter.c:
7949         * gst/base/gstadapter.h:
7950         * gst/base/gstbasesink.c:
7951         * gst/base/gstbasesink.h:
7952         * gst/base/gstbasesrc.c:
7953         * gst/base/gstbasesrc.h:
7954         * gst/base/gstbasetransform.c:
7955         * gst/base/gstbasetransform.h:
7956         * gst/base/gstcollectpads.c:
7957         * gst/base/gstcollectpads.h:
7958         * gst/base/gstpushsrc.c:
7959         * gst/base/gstpushsrc.h:
7960         * gst/base/gsttypefindhelper.c:
7961         * gst/base/gsttypefindhelper.h:
7962         * gst/check/Makefile.am:
7963         * gst/check/gstcheck.c:
7964         * gst/check/gstcheck.h:
7965         * gst/net/Makefile.am:
7966         * gst/net/gstnet.h:
7967         * gst/net/gstnetclientclock.c:
7968         * gst/net/gstnetclientclock.h:
7969         * gst/net/gstnettimepacket.c:
7970         * gst/net/gstnettimepacket.h:
7971         * gst/net/gstnettimeprovider.c:
7972         * gst/net/gstnettimeprovider.h:
7973         * libs/gst/Makefile.am:
7974         * libs/gst/base/Makefile.am:
7975         * libs/gst/base/gstbasetransform.c:
7976         * libs/gst/check/Makefile.am:
7977         * plugins/elements/Makefile.am:
7978         * po/POTFILES.in:
7979           CVS surgery + support to move base, check, and net out of gst
7980           and into libs/gst
7981
7982 2005-11-29  Andy Wingo  <wingo@pobox.com>
7983
7984         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7985
7986         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7987         padding.
7988
7989         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7990
7991         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7992
7993         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7994
7995         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7996         padding; reduces object size by about 30%. We don't expect
7997         anything else to go into gstobject.
7998
7999         * gst/gstminiobject.h (struct _GstMiniObject)
8000         (struct _GstMiniObjectClass): Only one pointer of padding; the
8001         payload is only a pointer and two ints anyway. For the class there
8002         are only two methods as well.
8003         
8004         * gst/gstelement.h (struct _GstElementClass): Removed
8005         the state_changed signal callback, it is not used.
8006
8007 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8008
8009         * docs/gst/gstreamer.types:
8010           fix includes, though they are a little dinky
8011
8012 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8013
8014         * check/Makefile.am:
8015           look in the right place for elements, a lot more chance of
8016           success
8017         * gst/Makefile.am:
8018           remove indexers and elements subdirs
8019         * plugins/Makefile.am:
8020           make indexers conditional
8021
8022 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8023
8024         * Makefile.am:
8025         * configure.ac:
8026         * plugins/elements/Makefile.am:
8027         * plugins/elements/gstcapsfilter.c:
8028         * plugins/elements/gstfilesink.c:
8029         * plugins/elements/gstfilesrc.c:
8030         * plugins/elements/gstidentity.c:
8031         * plugins/indexers/Makefile.am:
8032           do CVS surgery and related build fixery to move elements
8033           and indexers in a new gstreamer/plugins directory, out of the
8034           gst/ directory
8035
8036 2005-11-29  Andy Wingo  <wingo@pobox.com>
8037
8038         * check/Makefile.am:
8039         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8040         * pkgconfig/gstreamer-net.pc.in:
8041         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8042         #322257.
8043
8044 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8045
8046         * tools/Makefile.am:
8047         * tools/gst-complete.1.in:
8048         * tools/gst-complete.c:
8049         * tools/gst-compprep.1.in:
8050         * tools/gst-compprep.c:
8051           removing -compprep and -complete
8052
8053 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8054
8055         * gst/gstevent.c: (gst_event_new_new_segment),
8056         (gst_event_parse_new_segment):
8057         * gst/gstevent.h:
8058           fix #320529 - clean up new_segment API and structure.
8059           Let's hope everyone was using the methods, and not the structure.
8060
8061 2005-11-29  Edward Hervey  <edward@fluendo.com>
8062
8063         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8064         (gst_base_sink_event), (gst_base_sink_do_sync),
8065         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8066         Properly handle non GST_FORMAT_TIME segment
8067         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8068         Properly handle non GST_FORMAT_TIME segment
8069         * gst/gstsegment.c:
8070         This function is valid if the accumulator is 0 and the format
8071         is different from the requested format.
8072         
8073 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8074
8075         * docs/gst/gstreamer-sections.txt:
8076         Add gst_query_new_seeking and gst_query_parse_seeking to the
8077         docs.
8078
8079 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8080
8081         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8082           Treat a pad alloc with new caps the same as if we were not
8083           negotiated, in order to allow a changing upstream output
8084           to produce a new format of data.
8085
8086 2005-11-29  Edward Hervey  <edward@fluendo.com>
8087
8088         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8089         (gst_base_transform_event), (gst_base_transform_eventfunc):
8090         The event virtual method is now properly implemented, with a default
8091         handler
8092         Sub classes should call the parent_class event method. They should
8093         return FALSE if they had a problem handling the given event, or don't
8094         want GstBaseTransform to send that even downstream
8095         * gst/elements/gstidentity.c: (gst_identity_class_init),
8096         (gst_identity_init), (gst_identity_event),
8097         (gst_identity_transform_ip), (gst_identity_set_property),
8098         (gst_identity_get_property):
8099         * gst/elements/gstidentity.h:
8100         Added the single-segment boolean property.
8101         If set to TRUE, it will output a single segment of data, starting from
8102         0, will eat up all incoming newsegment, and modify the timestamp of the
8103         buffers accordingly
8104
8105 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
8106
8107         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8108           Don't ref NULL target pad (#322751). Improve docs.
8109
8110 2005-11-29  Michael Smith  <msmith@fluendo.com>
8111
8112         * gst/gstregistryxml.c: (load_plugin):
8113           Don't crash if we failed to load a feature from a plugin. 
8114
8115 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8116
8117         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8118         (GST_START_TEST):
8119           use more check API and less GLib API
8120
8121 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8122
8123         * Makefile.am:
8124           don't run checks if we don't have check
8125         * common/check.mak:
8126           remove the registry when running make torture
8127         * docs/gst/gstreamer-sections.txt:
8128           remove second multiply
8129         * gst/gstqueue.c: (gst_queue_loop):
8130           fix a compile warning when disabling debug
8131
8132 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8133
8134         * gst/gstinfo.h:
8135         Hey! Let's print the pad name if the pointer != NULL instead
8136         of when it == NULL :-)
8137
8138 2005-11-28  Wim Taymans  <wim@fluendo.com>
8139
8140         * check/gst/gstutils.c: (GST_START_TEST):
8141         Updated check, add some scaling accuracy checking code.
8142
8143         * gst/gstutils.c: (gst_util_div128_64),
8144         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8145         (gst_util_uint64_scale_int):
8146         Fix 6 times faster division code. Optimize for common 
8147         1/1 and less common X/1 cases.
8148
8149 2005-11-28  Wim Taymans  <wim@fluendo.com>
8150
8151         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8152         More checks.
8153
8154         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8155         (do_linear_regression), (gst_clock_add_observation):
8156         Cleanups.
8157         Release lock when the clock cannot be slaved.
8158         Catch the case where the regression returned an invalid denominator.
8159
8160         * gst/gstutils.c: (gst_util_div128_64_iterate),
8161         (gst_util_div128_64), (gst_util_uint64_scale_int64),
8162         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8163         Add protentially more performant non-iterative 128/64 divide function
8164         that unfortunatly does not work yet.
8165         Shortcut the trivial 0/X = 0 case.
8166         Remove the warnings on overflow.
8167
8168 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8169
8170         * gst/gstplugin.c: (gst_plugin_register_func):
8171           everything causing a plugin not to load should be at least a WARNING
8172
8173 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
8174
8175         * docs/random/ensonic/dparams.txt:
8176           some TODOs for the next dev cycle
8177         * libs/gst/controller/gstcontroller.c:
8178         (gst_controlled_property_set_interpolation_mode),
8179         (gst_controlled_property_new):
8180         * libs/gst/controller/gstcontroller.h:
8181           use base type to assign acccessor functions
8182
8183 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8184
8185         * check/Makefile.am:
8186         Oops, that should have been top_srcdir
8187
8188 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8189
8190         * check/Makefile.am:
8191         * check/elements/fdsrc.c: (GST_START_TEST):
8192         Use a cmdline define to specify the location of a file to use for
8193         testing, to avoid breaking distcheck.
8194
8195 2005-11-28  Andy Wingo  <wingo@pobox.com>
8196
8197         * gst/gstpad.c (fixate_value): Use array functions for arrays.
8198
8199 2005-11-28  Edward Hervey  <edward@fluendo.com>
8200
8201         * tools/gst-launch.c: (main):
8202         Clarify the output strings, makes it easier to translate.
8203         Fixes #322626
8204
8205 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8206
8207         * gst/Makefile.am:
8208           don't try and build net if we don't even have <sys/socket.h>
8209
8210 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
8211
8212         * check/Makefile.am:
8213         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8214         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8215           Add tests for fdsrc seekability
8216
8217         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8218         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8219         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8220         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8221         * gst/elements/gstfdsrc.h:
8222           fdsrc should not be a 'live' source.
8223           Implement seeking on seekable fd's.
8224
8225         * gst/gstquery.c: (gst_query_new_seeking),
8226         (gst_query_parse_seeking):
8227         * gst/gstquery.h:
8228           Implement SEEKING query functions: 
8229             *_new_seeking and *_parse_seeking
8230
8231 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
8232
8233         * gst/gstelement.c: (gst_element_dispose):
8234           don't loop forever
8235
8236         * gst/gstiterator.c:
8237         * gst/gststructure.c:
8238           doc fixes
8239
8240         * libs/gst/controller/gstcontroller.c:
8241         (gst_controlled_property_set_interpolation_mode):
8242         * libs/gst/controller/gstcontroller.h:
8243         * libs/gst/controller/gstinterpolation.c:
8244         (interpolate_none_get_enum_value_array):
8245           support controlling enums
8246
8247 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8248
8249         * gst/gstvalue.c:
8250           Improve documentation for gst_value_union().
8251
8252         * gst/gstvalue.h:
8253           Change return value for union, intersect and subtract functions
8254           from gint to gboolean.
8255
8256 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8257
8258         * gst/gstvalue.c: (gst_value_serialize_any_list),
8259         (gst_value_transform_any_list_string),
8260         (gst_value_deserialize_list), (gst_value_deserialize_array),
8261         (gst_value_set_int_range), (gst_value_deserialize_int_range),
8262         (gst_value_set_double_range), (gst_value_deserialize_double_range),
8263         (gst_value_set_fraction_range_full),
8264         (gst_value_deserialize_fraction_range),
8265         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8266         (gst_value_deserialize_boolean),
8267         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8268         (gst_value_serialize_float), (gst_value_deserialize_float),
8269         (gst_string_wrap), (gst_value_deserialize_string),
8270         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8271         (gst_value_union_int_range_int_range),
8272         (gst_value_intersect_int_range_int_range),
8273         (gst_value_intersect_double_range_double_range),
8274         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8275         (gst_value_subtract_int_range_int_range),
8276         (gst_value_subtract_double_double_range),
8277         (gst_value_subtract_double_range_double_range),
8278         (gst_value_deserialize_fraction):
8279         * gst/gstvalue.h:
8280           Use gint, gdouble and gchar in our API instead of int, double and
8281           char (and make usage in gstvalue.c more consistent).
8282
8283 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8284
8285         * check/Makefile.am:
8286         * libs/gst/controller/Makefile.am:
8287         * libs/gst/dataprotocol/Makefile.am:
8288           fix up Makefile.am and remove GST_ENABLE_NEW
8289
8290 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8291
8292         * configure.ac:
8293         * gst/Makefile.am:
8294         * gst/base/Makefile.am:
8295         * gst/check/Makefile.am:
8296         * gst/elements/Makefile.am:
8297         * gst/net/Makefile.am:
8298           update LDFLAGS use some more
8299
8300 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8301
8302         * common/m4/gst-doc.m4:
8303           Fixes #312589
8304
8305 2005-11-26  Edward Hervey  <edward@fluendo.com>
8306
8307         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8308         This shouldn't issue a g_warning since it returns NULL if it
8309         couldn't find the plugin, and all functions using this behave
8310         properly on a NULL return. Switching to a GST_WARNING.
8311
8312 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8313
8314         * gst/gstbin.c: (gst_bin_handle_message_func):
8315         Don't leak clock messages.
8316
8317 2005-11-25  Wim Taymans  <wim@fluendo.com>
8318
8319         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8320         (gst_util_uint64_scale_int):
8321         Optimisations, remove unneeded vars.
8322
8323 2005-11-25  Wim Taymans  <wim@fluendo.com>
8324
8325         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8326         Added more checks for the high precision uint64 cases.
8327
8328         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8329         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8330         Implement high precision (guint64 * guint64) / guint64.
8331
8332 2005-11-24  Wim Taymans  <wim@fluendo.com>
8333
8334         * gst/base/gstbasesrc.c: (gst_base_src_query):
8335         Fix wrong percentage query.
8336
8337         * gst/gstutils.c: (gst_util_uint64_scale),
8338         (gst_util_uint64_scale_int):
8339         Add some more common cases that can be handled 
8340         efficiently to _scale.
8341
8342 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8343
8344         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8345         (gst_mini_object_suite):
8346           don't use check calls from threads; check probably isn't
8347           threadsafe and using a lock to make it threadsafe would
8348           defeat the purpose of this check
8349         * gst/check/gstcheck.c:
8350         * gst/check/gstcheck.h:
8351           use GST_DEBUG some more
8352
8353 2005-11-24  Wim Taymans  <wim@fluendo.com>
8354
8355         * gst/gstutils.c: (gst_util_uint64_scale),
8356         (gst_util_uint64_scale_int):
8357         Chain trivial case to _scale_int.
8358
8359 2005-11-24  Wim Taymans  <wim@fluendo.com>
8360
8361         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8362         Added test for scaling.
8363
8364         * gst/gstclock.h:
8365         Small doc fix.
8366
8367         * gst/gstutils.c: (gst_util_uint64_scale_int):
8368         Implemented high precision scaling code.
8369
8370 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8371
8372         * gst/gstinfo.h:
8373           do not crash on pad==NULL
8374
8375 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8376
8377         Patch by: Stefan Kost
8378
8379         * common/gtk-doc.mak:
8380         * docs/gst/Makefile.am:
8381         * docs/libs/Makefile.am:
8382           Fix distcheck issues for the libraries docs build
8383           Closes #319599.
8384
8385 2005-11-24  Michael Smith <msmith@fluendo.com>
8386
8387         * docs/manual/basics-helloworld.xml:
8388           Fix bug #315027: memory leak in example code in docs.
8389
8390 2005-11-24  Michael Smith <msmith@fluendo.com>
8391
8392         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8393           Unlock the PREROLL_LOCK in a failure case.
8394
8395 2005-11-24  Wim Taymans  <wim@fluendo.com>
8396
8397         * docs/gst/gstreamer-sections.txt:
8398         * gst/base/gstadapter.h:
8399         * gst/base/gstbasesink.h:
8400         * gst/base/gstbasesrc.h:
8401         * gst/base/gstbasetransform.h:
8402         * gst/base/gstpushsrc.h:
8403         * gst/elements/gstfakesink.h:
8404         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8405         * gst/elements/gstfakesrc.h:
8406         * gst/elements/gstfilesink.h:
8407         * gst/elements/gstfilesrc.h:
8408         * gst/gst.c:
8409         * gst/gstbin.c:
8410         * gst/gstbuffer.c: (_gst_buffer_copy):
8411         * gst/gstbus.h:
8412         * gst/gstcaps.c:
8413         * gst/gstchildproxy.c:
8414         * gst/gstclock.c:
8415         * gst/gstelement.c:
8416         * gst/gstelementfactory.c:
8417         * gst/gstelementfactory.h:
8418         * gst/gstevent.c:
8419         * gst/gstghostpad.h:
8420         * gst/gstindex.h:
8421         * gst/gstinterface.h:
8422         * gst/gstminiobject.c:
8423         * gst/gstminiobject.h:
8424         * gst/gstpad.c:
8425         * gst/gstpad.h:
8426         * gst/gstpadtemplate.h:
8427         * gst/gstpipeline.h:
8428         * gst/gstpluginfeature.h:
8429         * gst/gstquery.h:
8430         * gst/gstqueue.h:
8431         * gst/gsttaglist.c:
8432         * gst/gsttaglist.h:
8433         * gst/gsttagsetter.c:
8434         * gst/gsttagsetter.h:
8435         * gst/gsttrace.c:
8436         * gst/gsttrace.h:
8437         * gst/gsttypefind.h:
8438         * gst/gsturi.h:
8439         * gst/gstvalue.c:
8440         * gst/net/gstnetclientclock.c:
8441         * gst/net/gstnetclientclock.h:
8442         * gst/net/gstnettimepacket.c:
8443         * gst/net/gstnettimeprovider.c:
8444         * gst/net/gstnettimeprovider.h:
8445         Doc fixes.
8446
8447 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8448
8449         * configure.ac: back to HEAD
8450
8451 === release 0.9.6 ===
8452
8453 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8454
8455         * configure.ac:
8456           releasing 0.9.6, "Always On Time"
8457
8458 2005-11-23  Wim Taymans  <wim@fluendo.com>
8459
8460         * docs/gst/gstreamer-sections.txt:
8461         * gst/glib-compat.c:
8462         * gst/gsttagsetter.c:
8463         * gst/gstvalue.c:
8464         * gst/net/gstnetclientclock.c:
8465         * gst/net/gstnettimepacket.h:
8466         Doc updates.
8467
8468 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8469
8470         * docs/faq/using.xml:
8471         * docs/libs/tmpl/gstcontrol.sgml:
8472         * docs/manual/advanced-dparams.xml:
8473         * docs/manual/appendix-checklist.xml:
8474         * docs/manual/basics-elements.xml:
8475         * docs/pwg/other-source.xml:
8476         * docs/random/moving-plugins:
8477         * gst/gstpad.c:
8478         * tools/gst-launch.1.in:
8479           remove mentions of sinesrc
8480
8481 2005-11-23  Michael Smith <msmith@fluendo.com>
8482
8483         * docs/gst/gstreamer-sections.txt:
8484           Update for new API and API changes.
8485         * gst/gstobject.h:
8486           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8487         * gst/gstvalue.c:
8488           Documentation typo fix.
8489         * gst/net/gstnettimepacket.c:
8490           Documentation fixes for arguments.
8491
8492 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8493
8494         * gst/gststructure.c: (gst_structure_get_fraction),
8495         (gst_structure_parse_value),
8496         (gst_structure_fixate_field_nearest_fraction):
8497         * gst/gststructure.h:
8498         * gst/gstutils.c: (gst_util_uint64_scale_int):
8499         * gst/gstutils.h:
8500         * scripts/update-funcnames:
8501         API Changes. 
8502         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8503         Make gst_structure_fixate_field_nearest_fraction take a numerator
8504         and denominator argument instead of a GValue
8505         add gst_structure_get_fraction helper function.
8506
8507 2005-11-23  Wim Taymans  <wim@fluendo.com>
8508
8509         * docs/design/part-TODO.txt:
8510         Update TODO.
8511
8512         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8513         * gst/net/gstnetclientclock.h:
8514         Use parent fields for timeout and window_size.
8515
8516 2005-11-23  Andy Wingo  <wingo@pobox.com>
8517
8518         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8519         rate_num/rate_denom change.
8520
8521         * gst/net/gstnetclientclock.c
8522         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8523         OBJECT_LOCK. Don't call add_observation with the lock.
8524
8525         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8526         fraction.
8527         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8528         rate fraction.
8529         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8530         deal with rate as a fraction whose numerator and denominator are
8531         GstClockTime values.
8532         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8533         master; the other fields are protected by the SLAVE_LOCK.
8534         (do_linear_regression): Note that this must be called with the
8535         SLAVE_LOCK.
8536         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8537         OBJECT_LOCK. Call set_calibration instead of touching the
8538         variables directly.
8539         (gst_clock_set_property, gst_clock_get_property): Protect
8540         master/slave parameters with the SLAVE_LOCK.
8541
8542         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8543         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8544         note that all of the instance variables that add_observation and
8545         the set_master functions use are protected by that lock and not
8546         the OBJECT_LOCK.
8547         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8548
8549         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8550         the caller to take the object lock.
8551
8552 2005-11-23  Wim Taymans  <wim@fluendo.com>
8553
8554         * gst/gsterror.c: (_gst_core_errors_init):
8555         * gst/gsterror.h:
8556         Add error for clock stuff.
8557
8558         * gst/gstpipeline.c: (gst_pipeline_change_state),
8559         (gst_pipeline_set_clock):
8560         Post clock error when clock cannot be used in a pipeline.
8561
8562 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8563
8564         * docs/gst/gstreamer-sections.txt:
8565           make two symbols from gstinfo private for the docs
8566         * gst/base/gstcollectpads.h:
8567         * gst/gstutils.c:
8568           fix doc typos, update docs
8569
8570 2005-11-22  Wim Taymans  <wim@fluendo.com>
8571
8572         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8573         (gst_base_sink_wait), (gst_base_sink_do_sync),
8574         (gst_base_sink_handle_event):
8575         * gst/base/gstbasesink.h:
8576         No need to store the clock, the parent element class already
8577         has it.
8578
8579         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8580         Updates for clock_set returning a gboolean
8581
8582         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8583         (gst_clock_id_wait_async), (gst_clock_class_init),
8584         (gst_clock_init), (gst_clock_finalize),
8585         (gst_clock_get_internal_time), (gst_clock_get_time),
8586         (gst_clock_slave_callback), (gst_clock_set_master),
8587         (gst_clock_get_master), (do_linear_regression),
8588         (gst_clock_add_observation), (gst_clock_set_property),
8589         (gst_clock_get_property):
8590         * gst/gstclock.h:
8591         Implement master/slave. When setting a clock as a slave, a
8592         periodic timeout is scheduled to sample master and slave times.
8593         Then the slave clock is recalibrated to match offset and rate
8594         of the master clock.
8595         Update logging a bit.
8596         Add flag so that a clock can state that is cannot be slaved to
8597         another clock.
8598
8599         * gst/gstelement.c: (gst_element_set_clock):
8600         * gst/gstelement.h:
8601         The set clock returns a gboolean for when an element cannot
8602         deal with the selected clock in the pipeline. 
8603
8604         * gst/gstpipeline.c: (gst_pipeline_change_state),
8605         (gst_pipeline_set_clock):
8606         * gst/gstpipeline.h:
8607         Handle the case where the selected clock cannot be set on
8608         the pipeline.
8609
8610         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8611         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8612         (gst_net_client_clock_set_property),
8613         (gst_net_client_clock_get_property),
8614         (gst_net_client_clock_observe_times):
8615         * gst/net/gstnetclientclock.h:
8616         Use regression code in GstClock parent, remove duplicated
8617         functionality.
8618
8619 2005-11-22  Michael Smith <msmith@fluendo.com>
8620
8621         * gst/gstutils.c: (gst_util_clock_time_scale):
8622         * gst/gstutils.h:
8623         * docs/gst/gstreamer-sections.txt:
8624           Rename method to have extra underscore.
8625
8626 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8627
8628         * gst/elements/Makefile.am:
8629         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8630         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8631         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8632         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8633         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8634         * gst/elements/gstfakesrc.h:
8635         * gst/gstqueue.c: (queue_leaky_get_type):
8636           correctly fix GEnumValues so that nick is the short lowercase
8637           dashed tag
8638         * tools/gst-inspect.c: (print_element_properties_info):
8639           also show the nick, since it's useful to use from parse_launch
8640           syntax
8641           Fixes #322139
8642
8643 2005-11-22  Michael Smith <msmith@fluendo.com>
8644
8645         * gst/gstutils.c: (gst_util_clocktime_scale):
8646         * gst/gstutils.h:
8647         * docs/gst/gstreamer-sections.txt:
8648           Add util method for scaling a clocktime by a fraction. Useful 
8649           implementation is left as an exercise for the reader.
8650
8651 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8652
8653         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8654         If needed, allocate storage in the destination value during
8655         collection.
8656
8657 2005-11-22  Edward Hervey  <edward@fluendo.com>
8658
8659         * docs/gst/gstreamer-sections.txt:
8660         * gst/Makefile.am:
8661         * gst/gst.h:
8662         * gst/gsturitype.c:
8663         * gst/gsturitype.h:
8664         * gst/gstutils.c: (gst_util_set_object_arg):
8665         * tools/gst-compprep.c: (main):
8666         * tools/gst-inspect.c: (print_element_properties_info):
8667         Removed GstURI, closes bug #321061
8668
8669 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8670
8671         * check/gst/gststructure.c: (GST_START_TEST):
8672         * gst/gststructure.c: (gst_structure_parse_value):
8673           Oops, broke automatic string type parsing.
8674           Add a test to catch it in future.
8675
8676 2005-11-22  Andy Wingo  <wingo@pobox.com>
8677
8678         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8679         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8680         Actually rename the function implementations. Grr.
8681
8682 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8683
8684         * check/gst/capslist.h:
8685           Comment test cases
8686         * check/gst/gststructure.c: (GST_START_TEST),
8687         (gst_structure_suite):
8688           Test automatic value type detection in gst_structure_from_string.
8689         * gst/gststructure.c: (gst_structure_parse_value):
8690           Add fraction as a type we try and guess automatically in
8691           caps/structure strings.
8692
8693 2005-11-22  Andy Wingo  <wingo@pobox.com>
8694
8695         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8696
8697         * gst/gsttagsetter.h:
8698         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8699         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8700         (gst_tag_setter_add_tag_valist)
8701         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8702         _add_values, _add_valist, and _add_valist_values. Since this is an
8703         interface the function suffixes should be more explicit so
8704         language binding don't end up with element.add_valist ->
8705         gst_tag_setter_add_valist, for example. Fixes #322069.
8706
8707 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8708
8709         * check/gst/gstcaps.c: (GST_START_TEST):
8710           Extend caps string tests to check that a caps to string
8711           conversion is reversible and produces the same caps.
8712
8713         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8714           Output "fraction" as the generic type fraction range, so caps
8715           serialisation and deserialisation works.
8716         * check/gst/capslist.h:
8717         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8718           Support 'MIN' and 'MAX' for deserialising fractions.
8719
8720 2005-11-22  Andy Wingo  <wingo@pobox.com>
8721
8722         * gst/gstevent.h (gst_event_new_new_segment)
8723         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8724         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8725         Renamed from *_newsegment, *_buffersize, *_notarget.
8726
8727         * scripts/update-funcnames: New script, performs the changes
8728         listed above.
8729
8730 2005-11-22  Wim Taymans  <wim@fluendo.com>
8731
8732         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8733         Make sure the GstFlowReturn is returned.
8734
8735         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8736         (gst_bus_add_signal_watch):
8737         * gst/gstbus.h:
8738         add gst_bus_add_signal_watch_full.
8739
8740         * gst/gstplugin.c: (gst_plugin_load_file):
8741         Small style cleanup.
8742
8743 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8744
8745         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8746           Block the fakesrc srcpad when we send an event, to avoid
8747           contention on the stream_lock causing random test failures.
8748
8749 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8750
8751         * check/gst/gstvalue.c: (GST_START_TEST):
8752         * gst/gstvalue.c: (gst_value_fraction_subtract):
8753           Fix subtraction.
8754
8755 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8756
8757         * gst/gst.h:
8758           include "gstchildproxy.h"
8759         * gst/gstchildproxy.h:
8760         * libs/gst/controller/gstcontroller.h:
8761           use G_GNUC_NULL_TERMINATED
8762
8763 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8764
8765         * check/gst/capslist.h:
8766         * check/gst/gstcaps.c: (GST_START_TEST):
8767         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8768         * gst/gststructure.c: (gst_structure_parse_range),
8769         (gst_structure_fixate_field_nearest_fraction):
8770         * gst/gststructure.h:
8771         * gst/gstvalue.c: (gst_value_init_fraction_range),
8772         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8773         (gst_value_collect_fraction_range),
8774         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8775         (gst_value_set_fraction_range_full),
8776         (gst_value_get_fraction_range_min),
8777         (gst_value_get_fraction_range_max),
8778         (gst_value_serialize_fraction_range),
8779         (gst_value_transform_fraction_range_string),
8780         (gst_value_compare_fraction_range),
8781         (gst_value_deserialize_fraction_range),
8782         (gst_value_intersect_fraction_fraction_range),
8783         (gst_value_intersect_fraction_range_fraction_range),
8784         (gst_value_subtract_fraction_fraction_range),
8785         (gst_value_subtract_fraction_range_fraction),
8786         (gst_value_subtract_fraction_range_fraction_range),
8787         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8788         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8789         (gst_value_transform_string_fraction), (_gst_value_initialize):
8790         * gst/gstvalue.h:
8791           Implement fraction ranges and extend GstFraction to support
8792           arithmetic subtraction, as well as deserialization from integer
8793           strings such as "100"
8794           Add a testsuite as for int and double range set operations
8795
8796 2005-11-21  Andy Wingo  <wingo@pobox.com>
8797
8798         * gst/gsttaglist.h: 
8799         * gst/gstcaps.h: 
8800         * gst/gststructure.h: Add glib-compat.h.
8801
8802 2005-11-21  Wim Taymans  <wim@fluendo.com>
8803
8804         * gst/gstbin.c: (gst_bin_change_state_func):
8805         Fix for #321595
8806
8807 2005-11-21  Wim Taymans  <wim@fluendo.com>
8808
8809         * gst/gstsegment.h:
8810         And add a nice define too.
8811
8812 2005-11-21  Wim Taymans  <wim@fluendo.com>
8813
8814         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8815         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8816         (gst_segment_set_duration), (gst_segment_set_last_stop),
8817         (gst_segment_set_seek), (gst_segment_set_newsegment),
8818         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8819         (gst_segment_clip):
8820         * gst/gstsegment.h:
8821         Make binding friendly.
8822
8823 2005-11-21  Andy Wingo  <wingo@pobox.com>
8824
8825         * gst/gsttagsetter.h: 
8826         * gst/gsttaglist.h: 
8827         * gst/gststructure.h: 
8828         * gst/gstcaps.h: 
8829         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8830         #319940.
8831
8832         * gst/gsterror.c (_gst_core_errors_init):
8833         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8834         category.
8835
8836         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8837         (noinst_HEADERS): noinst the -private.
8838
8839 2005-11-21  Michael Smith <msmith@fluendo.com>
8840
8841         * gst/gstplugin.h:
8842         * gst/gstregistry.h:
8843           Remove unimplemented declarations for which we can see no sensible
8844           use.
8845
8846 2005-11-21  Andy Wingo  <wingo@pobox.com>
8847
8848         * gst/gst.h: Include glib-compat.h.
8849
8850         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8851
8852         * gst/glib-compat.c: Include the public and the private header.
8853
8854         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8855
8856         * gst/gstvalue.c: 
8857         * gst/gstpad.c: 
8858         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8859
8860         * check/gst/gstevent.c (create_custom_events): Check that
8861         FLUSH_STOP is serialized.
8862
8863         * check/elements/identity.c (event_func): 
8864         * check/elements/fakesrc.c (event_func): No stream lock, the core
8865         takes it.
8866
8867         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8868         stream lock taking, yay.
8869
8870         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8871         ensure that core takes the stream lock.
8872
8873         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8874         lock name change.
8875
8876         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8877         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8878         it already. For the flush start we do take it though so we get the
8879         right preroll state change messages.
8880
8881         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8882         the stream lock here, the core does it for us.
8883
8884         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8885         GST_STREAM_GET_LOCK.
8886         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8887         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8888         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8889         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8890         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8891         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8892
8893         * gst/gstpad.c: Update for stream lock name change.
8894
8895         * gst/base/gstbasesink.c: Update for preroll lock name change.
8896
8897 2005-11-21  Wim Taymans  <wim@fluendo.com>
8898
8899         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8900         (gst_clock_get_master):
8901         * gst/gstclock.h:
8902         * gst/gstsystemclock.c: (gst_system_clock_init):
8903         Convert Clock flags to object flags.
8904         Added methods to manage master/slave clocks.
8905
8906 2005-11-21  Wim Taymans  <wim@fluendo.com>
8907
8908         * check/gst/gstsegment.c: (GST_START_TEST):
8909         * docs/design/part-TODO.txt:
8910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8911         (gst_base_sink_event), (gst_base_sink_do_sync),
8912         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8913         (gst_base_sink_query), (gst_base_sink_change_state):
8914         * gst/base/gstbasesink.h:
8915         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8916         (gst_base_src_default_newsegment),
8917         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8918         (gst_base_src_get_range), (gst_base_src_loop),
8919         (gst_base_src_change_state):
8920         * gst/base/gstbasesrc.h:
8921         * gst/base/gstbasetransform.c:
8922         (gst_base_transform_prepare_output_buf),
8923         (gst_base_transform_event), (gst_base_transform_change_state):
8924         * gst/base/gstbasetransform.h:
8925         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8926         (gst_collect_pads_event):
8927         * gst/base/gstcollectpads.h:
8928         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8929         (gst_fake_src_create):
8930         * gst/elements/gstfakesrc.h:
8931         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8932         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8933         (gst_segment_set_last_stop), (gst_segment_set_seek),
8934         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8935         (gst_segment_to_running_time), (gst_segment_clip):
8936         * gst/gstsegment.h:
8937         More segment updates, replace code in plugins with segment
8938         helper functions.
8939
8940 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8941
8942         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8943         Don't ignore sscanf results
8944
8945 2005-11-21  Andy Wingo  <wingo@pobox.com>
8946
8947         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8948
8949         * *.h:
8950         * *.c: Ran scripts/update-macros. Oh yes.
8951
8952         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8953         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8954         GST_GET_LOCK, etc.
8955
8956         * scripts/update-macros: New script. Run it on your files to
8957         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8958         well.
8959
8960 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8961
8962         * docs/gst/Makefile.am:
8963         * docs/gst/gstreamer-docs.sgml:
8964         * docs/gst/gstreamer-sections.txt:
8965         * docs/gst/gstreamer.types:
8966         * gst/gstinfo.h:
8967           more docs fixes, add new api to the docs
8968
8969 2005-11-21  Andy Wingo  <wingo@pobox.com>
8970
8971         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8972         state_broadcast call.
8973
8974         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8975
8976 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8977
8978         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8979         function calls for arrays.
8980
8981 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8982
8983         * docs/random/ensonic/media-device-daemon.txt:
8984           wild idea, can this be done?
8985         * docs/gst/gstreamer-sections.txt:
8986         * gst/gsterror.h:
8987         * gst/gstfilter.c:
8988         * gst/gstfilter.h:
8989         * gst/gstplugin.h:
8990         * gst/gstpluginfeature.c:
8991         * gst/gsttrace.c:
8992         * gst/gstvalue.c:
8993         * gst/gstvalue.h:
8994           doc fixes and additions
8995
8996 2005-11-21  Andy Wingo  <wingo@pobox.com>
8997
8998         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8999         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
9000         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
9001         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9002         private to the basesrc implementation.
9003
9004         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9005         behalf of event function if necessary. It should no longer be
9006         necessary to take the stream lock in pad's event functions. Fixes
9007         #320299.
9008
9009 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9010         * docs/gst/gstreamer-sections.txt:
9011         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9012         (gst_structure_fixate_field_nearest_double),
9013         (gst_structure_fixate_field_boolean):
9014         * gst/gststructure.h:
9015         * win32/common/libgstreamer.def:
9016         * win32/gstreamer.def:
9017
9018         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9019         (#322027)
9020
9021 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9022
9023         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9024         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9025         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9026         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9027         (gst_fdsrc_uri_handler_init):
9028         * gst/elements/gstfdsrc.h:
9029           Port fd:// URI handler from 0.8 to fdsrc
9030
9031 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9032
9033         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9034         (gst_value_serialize_fourcc):
9035         * gst/gstvalue.h:
9036           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9037           consistent with our other format defines (#320324).
9038
9039 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9040
9041         * gst/gstvalue.c: (gst_value_is_fixed):
9042           Revert previous commit. Value lists are by definition
9043           not fixed, as they are a list of possible values.
9044
9045 2005-11-21  Andy Wingo  <wingo@pobox.com>
9046
9047         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9048         during the stable series if we need it. Fixes #319178.
9049
9050         * gst/gstevent.c (gst_event_new_filler): Removed.
9051
9052         * check/gst/gstevent.c: Update comment about filler events.
9053
9054 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * gst/gstvalue.c: (gst_value_is_fixed):
9057           Should handle both value arrays and value lists.
9058
9059 2005-11-21  Andy Wingo  <wingo@pobox.com>
9060
9061         patch by: Alessandro Dessina <alessandro nnva org>
9062
9063         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9064         functions to access arrays. Fixes #321962.
9065
9066 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9067
9068         * docs/gst/gstreamer.types:
9069           gst_collectpads_get_type => gst_collect_pads_get_type.
9070           
9071         * gst/base/gstbasetransform.c:
9072           Remove unused SIGNAL_HANDOFF enum.
9073
9074 2005-11-21  Andy Wingo  <wingo@pobox.com>
9075
9076         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9077         the event type (upstream, downstream, serialized). Renamed
9078         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9079         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9080         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9081
9082         * gst/gstevent.c: Update for new CUSTOM event names.
9083
9084         * check/gst/gstevent.c: Update check for new CUSTOM event names.
9085
9086         * gst/gstevent.h:
9087         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9088         bug #319392.
9089
9090 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9091
9092         * docs/gst/gstreamer-sections.txt:
9093         * win32/common/libgstbase.def:
9094         * win32/libgstbase.def:
9095         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9096         (gst_collect_pads_class_init), (gst_collect_pads_init),
9097         (gst_collect_pads_finalize), (gst_collect_pads_new),
9098         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9099         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9100         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9101         (gst_collect_pads_start), (gst_collect_pads_stop),
9102         (gst_collect_pads_peek), (gst_collect_pads_pop),
9103         (gst_collect_pads_available), (gst_collect_pads_read),
9104         (gst_collect_pads_flush), (gst_collect_pads_event),
9105         (gst_collect_pads_chain):
9106         * gst/base/gstcollectpads.h:
9107           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9108           unimplemented functions as unimplemented. Add padding to
9109           GstCollectData. (#320766, #320423)
9110
9111 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9112
9113         * gst/gstmessage.c:
9114           Improve docs for DURATION message (usage of duration parameter)
9115           (#320113)
9116
9117 2005-11-20  Wim Taymans  <wim@fluendo.com>
9118
9119         * check/Makefile.am:
9120         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9121         (main):
9122         * gst/Makefile.am:
9123         * gst/gst.h:
9124         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9125         (gst_segment_set_seek), (gst_segment_set_newsegment),
9126         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9127         (gst_segment_clip):
9128         * gst/gstsegment.h:
9129         Added segment helper structure and methods. Not fully implemented
9130         yet.
9131         Added segment check.
9132
9133 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
9134
9135         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9136           Add a deserialisation test for fractions
9137         * examples/metadata/read-metadata.c: (message_loop),
9138         (make_pipeline), (main):
9139           Fix up metadata reading sample.
9140         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9141           Debug format fix
9142         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9143           Don't try and fixate empty caps
9144         * gst/gst_private.h:
9145           Wrap in G_BEGIN_DECLS/G_END_DECLS
9146         * gst/gstvalue.c: (gst_value_collect_fraction),
9147         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9148         (gst_value_transform_string_fraction),
9149         (gst_value_compare_fraction):
9150           Add some extra guards to ensure that we don't end up 
9151           with an invalid denominator of 0 in a gstfraction and
9152           that fractions always get reduced.
9153
9154 2005-11-20  Wim Taymans  <wim@fluendo.com>
9155
9156         * docs/gst/gstreamer-sections.txt:
9157         * gst/gstbuffer.h:
9158         * gst/gstelement.c:
9159         * gst/gstformat.c:
9160         * gst/gstformat.h:
9161         * gst/gstindex.h:
9162         * gst/gstquery.c:
9163         * gst/gstquery.h:
9164         * gst/gstvalue.c:
9165         Doc fixes.
9166
9167 2005-11-20  Wim Taymans  <wim@fluendo.com>
9168
9169         * docs/design/part-TODO.txt:
9170         * gst/gstcaps.h:
9171         Make a proper enum of the flag.
9172
9173 2005-11-19  Wim Taymans  <wim@fluendo.com>
9174
9175         * docs/design/part-TODO.txt:
9176         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9177         (gst_format_to_quark), (gst_format_register):
9178         * gst/gstformat.h:
9179         * gst/gstquery.c: (_gst_query_initialize),
9180         (gst_query_type_get_name), (gst_query_type_to_quark),
9181         (gst_query_type_register):
9182         * gst/gstquery.h:
9183         Add type to quark and type to string conversions.
9184
9185 2005-11-19  Andy Wingo  <wingo@pobox.com>
9186
9187         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9188         #320097.
9189
9190 2005-11-19  Wim Taymans  <wim@fluendo.com>
9191
9192         * docs/design/part-TODO.txt:
9193         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9194         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9195         (gst_bin_handle_message_func):
9196         * gst/gstbin.h:
9197         Make message handling overridable.
9198
9199 2005-11-19  Andy Wingo  <wingo@pobox.com>
9200
9201         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9202
9203         * gst/gstclock.h:
9204         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9205         be a GstClockTime.
9206         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9207         is a GstClockTime. Fixes #321710.
9208
9209         * gst/gstclock.h (GstClock): Remove offset property. Add
9210         internal_calibration and external_calibration. Fix padding. Pad
9211         also by GstClockTime so we don't run into problems.
9212
9213         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9214         (gst_clock_get_rate_offset): Remove.
9215         (gst_clock_set_time_adjust): Remove. Fixes #321712.
9216
9217         * gst/gstutils.h:
9218         * gst/gstutils.c (g_static_rec_cond_wait)
9219         (g_static_rec_cond_timed_wait): Removed, no longer needed.
9220
9221         * gst/gstbin.c: Remove terrible continue_state prototype.
9222
9223         * gst/gstelement.h (gst_element_continue_state): Make public.
9224
9225         * gst/gstelement.h:
9226         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9227         by continue_state. Fixes #319389.
9228
9229         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9230         Really fixes #168438. However I don't see anywhere where the
9231         filter function is called... stupid GStreamer...
9232         
9233         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9234         don't have a dispose function, so it won't get called when the
9235         object is unreffed, but oh well!
9236
9237         * gst/gstindex.c (gst_index_set_filter_full): New API function,
9238         allows a destroy function to be set so user_data can be freed.
9239         Fixes #168438.
9240         (gst_index_set_filter): Call gst_index_set_filter_full.
9241
9242         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9243
9244         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9245         string should produce an error, given the lack of a way to
9246         represent NULL strings. Fixes #165650.
9247         
9248         * gst/gstvalue.h: 
9249         * gst/gstvalue.c (gst_value_array_append_value) 
9250         (gst_value_array_prepend_value, gst_value_array_get_size) 
9251         (gst_value_array_get_value): New API, copied from
9252         gst_value_list_*, only operates on arrays.
9253         (gst_value_list_append_value, gst_value_list_prepend_value) 
9254         (gst_value_list_concat, gst_value_list_get_size) 
9255         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9256
9257         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9258         init_list, because it works on both.
9259         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9260         (gst_value_copy_list_or_array): Renamed from copy_list.
9261         (gst_value_free_list_or_array): Renamed from free_list.
9262         (gst_value_collect_list_or_array): Renamed from collect_list.
9263         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9264         (gst_value_list_or_array_peek_pointer): Renamed from
9265         list_peek_pointer.
9266         (_gst_value_array_value_table, _gst_value_list_value_table):
9267         Update value table functions.
9268         (gst_value_compare_list_or_array): Renamed from compare_list.
9269
9270         * gsttaglist.h: Whoops, foreach function returns void. Also fix
9271         some constness.
9272
9273         * gst/gsttaglist.c:
9274         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9275         GstTagList*. Fixes #143472.
9276
9277         * gst/gststructure.h: Clarify what the foreach/map functions can
9278         or can't do to their arguments.
9279
9280 2005-11-18  Wim Taymans  <wim@fluendo.com>
9281
9282         * gst/gstclock.c: (gst_clock_set_calibration),
9283         (gst_clock_get_calibration):
9284         Doc and API fixes.
9285         Calibration can be set with internal time equal to current
9286         internal time too.
9287
9288 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9289
9290         * gst/gsterror.c:
9291         * gst/gsterror.h:
9292           document
9293
9294 2005-11-18  Andy Wingo  <wingo@pobox.com>
9295
9296         * configure.ac: 
9297         * pkgconfig/gstreamer-net.pc.in:
9298         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9299         * pkgconfig/Makefile.am: Add net pkgconfig files.
9300
9301 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9302
9303         * gst/gstcaps.c:
9304         * gst/gstghostpad.c:
9305         * gst/gsttrace.c:
9306         * gst/gstvalue.c:
9307         * gst/gstvalue.h:
9308           docs fixes
9309
9310 2005-11-18  Andy Wingo  <wingo@pobox.com>
9311
9312         * gst/net/gstnetclientclock.c: Turn off debugging.
9313
9314         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9315         times connverge somewhat. Can't make a real test.
9316
9317         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9318         integer arithmetic. Return the minimum of the domain, which can be
9319         set as "internal" for gst_clock_set_calibration.
9320         (gst_net_client_clock_observe_times): Call _set_calibration.
9321         (gst_net_client_clock_new): Call _set_calibration instead of
9322         rate_offset.
9323
9324         * check/net/gstnetclientclock.c (test_functioning): Use the right
9325         adjustment api.
9326
9327         * gst/gstclock.h:
9328         * gst/gstclock.c (gst_clock_get_calibration) 
9329         (gst_clock_set_calibration): New functions, obsolete the ones I
9330         added yesterday. Doh. Precision issues mean we have to extrapolate
9331         from a point in the more recent past than 1970.
9332         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9333         obsolete.
9334         (gst_clock_adjust_unlocked): Use the right calibration data.
9335
9336 2005-11-18  Edward Hervey  <edward@fluendo.com>
9337
9338         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9339         Also reset the ->current_* values in READY->PAUSED
9340
9341 2005-11-18  Andy Wingo  <wingo@pobox.com>
9342
9343         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9344         Whoops, check the right fd. Also add some debugging.
9345         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9346         (do_linear_regression): Add a crapload of debugging. Subtract off
9347         the minimum values from the input series to discard unneeded bits.
9348         Use only int arithmetic. There is still double arithmetic when
9349         calculating the intercept that needs fixing. Return boolean to
9350         indicate success; FALSE would mean the domain or range is too
9351         great. Still needs fixes.
9352
9353 2005-11-18  Wim Taymans  <wim@fluendo.com>
9354
9355         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9356         For the current position in stream time, we need to subtract
9357         accumulated time.
9358         
9359         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9360         Release lock before calling the callback function of async
9361         entries.
9362
9363 2005-11-18  Andy Wingo  <wingo@pobox.com>
9364
9365         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9366         Port goes all the way to MAXUINT16.
9367
9368         * gst/net/gstnettimeprovider.c: Make the port range the same as
9369         for the kernel: 0 assigns, otherwise ports are less than
9370         MAXUINT16.
9371
9372         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9373         port change.
9374
9375         * check/net/gstnetclientclock.c (test_functioning): Add the start
9376         of another test. 
9377
9378 2005-11-18  Wim Taymans  <wim@fluendo.com>
9379
9380         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9381         (gst_bin_remove_func), (bin_bus_handler):
9382         * gst/gstbin.h:
9383         Removing a clock provider from a bin, triggers a clock lost message
9384         so that a new clock will be selected.
9385         Adding a clock to a bin triggers a clock provider message.
9386         Make sure we reselect a clock when we received a clock lost message.
9387         Keep a reference to the element that provided the clock.
9388
9389 2005-11-18  Andy Wingo  <wingo@pobox.com>
9390
9391         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9392         the clock initially so it produces values around the base time.
9393         (gst_net_client_clock_class_init): Typo fix.
9394         (gst_net_client_clock_thread): Add note on when the socket gets
9395         closed.
9396
9397 2005-11-17  Wim Taymans  <wim@fluendo.com>
9398
9399         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9400         Free remote and local time arrays.
9401
9402 2005-11-17  Wim Taymans  <wim@fluendo.com>
9403
9404         * gst/net/gstnetclientclock.c: (do_linear_regression),
9405         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9406         Fix compilation, uninitialized vars and a forgotten continue.
9407
9408 2005-11-17  Andy Wingo  <wingo@pobox.com>
9409
9410         * check/Makefile.am (check_PROGRAMS): 
9411         * check/net/gstnetclientclock.c: Add a most minimal test for the
9412         net client clock. More to come later.
9413
9414         * gst/net/gstnet.h: 
9415         * gst/net/Makefile.am: Add netclientclock.
9416
9417         * gst/net/gstnetclientclock.h:
9418         * gst/net/gstnetclientclock.c: New files, implement an untested
9419         GstClock that takes its time from a network time provider.
9420         Implements the algorithm in network-clock.scm.
9421
9422         * tests/network-clock.scm (*window-size*): Rename from
9423         *queue-length*.
9424         * tests/network-clock.scm (network-time): 
9425         * tests/network-clock-utils.scm (q-push): Update callers.
9426
9427 2005-11-17  Wim Taymans  <wim@fluendo.com>
9428
9429         * gst/gstbin.c: (gst_bin_provide_clock_func),
9430         (gst_bin_sort_iterator_new):
9431         And unref the child too..
9432
9433 2005-11-17  Wim Taymans  <wim@fluendo.com>
9434
9435         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9436         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9437         Refactor the sort iterator so it can be used while holding the
9438         LOCK too.
9439         Make clock selection select a clock closest to the source.
9440
9441 2005-11-17  Michael Smith <msmith@fluendo.com>
9442
9443         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9444         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9445         * gst/gstclock.h:
9446           Anonymous structs are a gcc (and some other compilers) extension, so
9447           don't use them. Since this is only for ABI-compatibility, and our
9448           API/ABI freeze is over in a few days, this whole thing will only
9449           last a few days, so don't bother trying to think up a meaningful
9450           name for the struct.
9451
9452 2005-11-17  Andy Wingo  <wingo@pobox.com>
9453
9454         * gst/gstclock.h (GstClock): Add rate and offset properties,
9455         preserving ABI stability. Add rate/offset accessors. Will file bug
9456         for the freeze break.
9457
9458         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9459         and offset, trying to keep precision and avoiding
9460         underflow/overflow.
9461         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9462         functions. Make gst_clock_set_time_adjust obsolete.
9463         (gst_clock_set_time_adjust): Note that this function is obsolete.
9464         Will file bug soon.
9465
9466         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9467         greppable by using GST_PADDING-1+1.
9468
9469 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9470
9471         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9472
9473         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9474           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9475
9476         * gst/gstpadtemplate.h:
9477         * gst/gstpluginfeature.h:
9478           Don't use c++ style comments in headers (#321638).
9479
9480 2005-11-16  Andy Wingo  <wingo@pobox.com>
9481
9482         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9483         buffer.
9484
9485         * check/net/gstnettimeprovider.c: Check to see that the time
9486         provider actually provides times. Works, yo!
9487
9488 2005-11-16  Wim Taymans  <wim@fluendo.com>
9489
9490         * check/Makefile.am:
9491         Enable more tests.
9492
9493         * check/elements/fakesrc.c: (GST_START_TEST):
9494         Set element to NULL before disposing it.
9495
9496 2005-11-16  Andy Wingo  <wingo@pobox.com>
9497
9498         * gst/net/Makefile.am:
9499         * gst/net/gstnet.h:
9500         * gst/net/gstnettimeprovider.c: 
9501         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9502         provider, include it from gstnet.h, and add it to the build.
9503
9504         * gst/net/gstnettimepacket.h: 
9505         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9506         sending and receiving.
9507
9508 2005-11-16  Wim Taymans  <wim@fluendo.com>
9509
9510         * check/Makefile.am:
9511         Enable valgrind check.
9512
9513         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9514         (gst_fake_src_alloc_buffer):
9515         Fix memleak.
9516
9517 2005-11-16  Wim Taymans  <wim@fluendo.com>
9518
9519         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9520         Call parent finalize too.
9521
9522 2005-11-16  Wim Taymans  <wim@fluendo.com>
9523
9524         * check/Makefile.am:
9525         Enable valgrind check that should work fine now.
9526
9527         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9528         * gst/gstqueue.c: (gst_queue_init):
9529         Fix memleaks in pad allocation.
9530
9531 2005-11-16  Andy Wingo  <wingo@pobox.com>
9532
9533         * gst/net/Makefile.am:
9534         * gst/net/gstnet.h: New part of core to hold network elements and
9535         objects. Put in core because it exposes API that applications want
9536         to use. The library is named libgstnet-tempname right now because
9537         of the existing libgstnet in gst-plugins-base. Solution is
9538         probably to rename the one in plugins-base; will file a bug for
9539         the freeze break.
9540
9541         * gst/net/gstnettimeprovider.c: 
9542         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9543         get_time call over the network.
9544
9545         * configure.ac: 
9546         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9547
9548         * check/Makefile.am:
9549         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9550         get additions shortly.
9551
9552 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9553
9554         * gst/gstpad.c: (gst_pad_new_from_static_template):
9555         * gst/gstpad.h:
9556           add gst_pad_new_from_static_template functions
9557         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9558         (gst_check_setup_sink_pad):
9559         * gst/elements/gsttee.c: (gst_tee_init):
9560           and use them
9561
9562 2005-11-16  Wim Taymans  <wim@fluendo.com>
9563
9564         * gst/gstpad.c: (gst_pad_pause_task):
9565         Removed warning, it's not really an error either.
9566
9567 2005-11-16  Wim Taymans  <wim@fluendo.com>
9568
9569         * gst/base/gstbasetransform.c:
9570         (gst_base_transform_prepare_output_buf),
9571         (gst_base_transform_event):
9572         Check if the caps are NULL, this can happen if the element
9573         is shutting down and the pad caps are set to NULL.
9574
9575 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9576
9577         * gst/elements/gsttee.c: (gst_tee_init):
9578           fix pad template leak in tee
9579
9580 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9581
9582         * gst/glib-compat.c: (g_value_dup_gst_object):
9583         * gst/glib-compat.h:
9584         * gst/gstpad.c: (gst_pad_set_property):
9585           use gst_object_ref when setting the pad template; this will
9586           trigger the pad template leaks on GLib 2.6 and the slaves
9587
9588 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9589
9590         * gst/glib-compat.c: (gst_flags_get_first_value):
9591         * gst/glib-compat.h:
9592         * gst/gstregistryxml.c:
9593           remove functions copied from GLib 2.6
9594
9595 2005-11-16  Michael Smith <msmith@fluendo.com>
9596
9597         * gst/Makefile.am:
9598           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9599           do, but only breaks with newer valgrind versions. We're not a
9600           valgrind tool, we have no link-time dependencies on libcoregrind.
9601
9602 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9603
9604         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9605           some debug changes
9606         * gst/gstmessage.h:
9607           typo fixes
9608
9609 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9610
9611         * gst/base/gstbasesrc.c: (gst_base_src_init):
9612         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9613         * gst/gstqueue.c: (gst_queue_init):
9614         * gst/gstregistryxml.c: (load_feature):
9615           Revert all these unrefs, they don't even pass make check !
9616
9617 2005-11-15  Johan Dahlin  <johan@gnome.org>
9618
9619         * gst/base/gstbasesrc.c: (gst_base_src_init):
9620         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9621         * gst/gstqueue.c: (gst_queue_init): 
9622         Free pad templates, fixes a couple of leaks.
9623
9624 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9625
9626         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9627
9628         * gst/gstpad.c: (gst_pad_get_property):
9629           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9630           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9631           (#321452)
9632
9633 2005-11-15  Wim Taymans  <wim@fluendo.com>
9634
9635         * gst/gstevent.c:
9636         Small doc update.
9637
9638 2005-11-15  Andy Wingo  <wingo@pobox.com>
9639
9640         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9641
9642         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9643         using GST_CLOCK_TIME_NONE to disable base time management.
9644         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9645         time if it was NONE before.
9646         (gst_pipeline_change_state): Only munge the base time if
9647         stream_time != GST_CLOCK_TIME_NONE.
9648
9649         * check/gst/gstpipeline.c (test_base_time): Punt around the
9650         problem of the probe not being called, because that's not the
9651         issue I'm looking at. Add a check that setting stream_time to NONE
9652         disables base time management.
9653         
9654 2005-11-15  Wim Taymans  <wim@fluendo.com>
9655
9656         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9657         segment_stop == -1 at startup.
9658
9659         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9660         (gst_base_transform_change_state):
9661         Init segment values at start.
9662
9663 2005-11-15  Wim Taymans  <wim@fluendo.com>
9664
9665         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9666         0 segment values are 0 in any format.
9667
9668         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9669         * gst/base/gstbasetransform.h:
9670         Parse newsegment correctly in basetransform
9671
9672         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9673         Sync to clock using updated segment values.
9674
9675 2005-11-15  Andy Wingo  <wingo@pobox.com>
9676
9677         * check/gst/gstpipeline.c (test_base_time): Add check that the
9678         base time and stream time are reset correctly.
9679
9680 2005-11-15  Wim Taymans  <wim@fluendo.com>
9681
9682         * docs/design/part-TODO.txt:
9683         Some more TODO items.
9684
9685 2005-11-15  Andy Wingo  <wingo@pobox.com>
9686
9687         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9688         error if the user selected "no clock" as the clocking method.
9689
9690         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9691         timestamps with live capture.
9692
9693         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9694         is 0 but we are a live source, timestamp the buffers using the
9695         element's clock.
9696
9697 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9698
9699         * docs/gst/gstreamer-sections.txt:
9700         * gst/gsterror.c:
9701         * gst/gstghostpad.c:
9702         * gst/gstobject.h:
9703         * gst/gstxml.c:
9704           more section docs
9705
9706 2005-11-14  Wim Taymans  <wim@fluendo.com>
9707
9708         * common/gst.supp:
9709           add suppressions from Wim's Debian machine
9710
9711 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9712
9713         * common/gst.supp:
9714           add suppressions from Andy's AMD64 Ubuntu machine
9715
9716 2005-11-14  Andy Wingo  <wingo@pobox.com>
9717
9718         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9719         STATE_LOCK not necessary. Fixes #311489.
9720
9721         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9722         #305291.
9723
9724         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9725         this function is not implemented.
9726
9727 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9728
9729         * gst/base/gstbasetransform.c:
9730         (gst_base_transform_prepare_output_buf):
9731         Ref the source pad caps while we need them.
9732         Fixes (#321386)
9733
9734 2005-11-11  Wim Taymans  <wim@fluendo.com>
9735
9736         * docs/gst/gstreamer-sections.txt:
9737         Added some docs for GstCollectData.
9738
9739         * gst/base/gstadapter.c:
9740         Some small code example fix.
9741
9742         * gst/base/gstcollectpads.c:
9743         * gst/base/gstcollectpads.h:
9744         Document some more.
9745
9746 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9747
9748         * configure.ac: back to HEAD
9749
9750 === release 0.9.5 ===
9751
9752 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9753
9754         * configure.ac:
9755           releasing 0.9.5, "Bike Lunch Day"
9756
9757 2005-11-11  Wim Taymans  <wim@fluendo.com>
9758
9759         * gst/gstbuffer.c: (_gst_buffer_copy):
9760         Copy more flags.
9761
9762         * gst/gstcaps.c: (gst_caps_is_equal):
9763         Fix some docs.
9764         Make _is_equal fast in the trivial cases.
9765
9766         * gst/gstminiobject.c:
9767         * gst/gstminiobject.h:
9768         More docs. Spifify .h file.
9769
9770         * gst/gstutils.c:
9771         Small doc update.
9772
9773 2005-11-11  Wim Taymans  <wim@fluendo.com>
9774
9775         * gst/base/gstbasetransform.c:
9776         (gst_base_transform_prepare_output_buf),
9777         (gst_base_transform_handle_buffer):
9778         Small cleanups.
9779         If we're processing a buffer and need to allocate an output
9780         buffer, we cannot accept a format change. If we did get a 
9781         format change, we have to alloc a buffer ourselves of the 
9782         right size.
9783
9784 2005-11-11  Wim Taymans  <wim@fluendo.com>
9785
9786         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9787         While checking the flag for reentrancy in the gstcaps function
9788         is nice to detect recursive invocations, it also makes it 
9789         impossible to call getcaps from multiple threads, which must be
9790         possible. So, checking for recursive calls has to go.
9791
9792 2005-11-11  Michael Smith <msmith@fluendo.com>
9793
9794         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9795           Don't sync on buffers that fall partially outside our current
9796           segment. Prevents an assertion failure/abort playing some files.
9797
9798 2005-11-10  Andy Wingo  <wingo@pobox.com>
9799
9800         * check/gst/gstbin.c (test_message_state_changed_children): Style
9801         fix..
9802
9803         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9804         gst_bus_poll with the signal watch. Ensures that poll and a signal
9805         watch see the same messages.
9806
9807         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9808         a poll and a watch at the same time get the same messages.
9809
9810 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9811
9812         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9813         * gst/gstcaps.c: (gst_caps_intersect):
9814           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9815           and it's not needed.
9816
9817 2005-11-10  Wim Taymans  <wim@fluendo.com>
9818
9819         * docs/design/part-TODO.txt:
9820         Updated todo.
9821
9822 2005-11-10  Wim Taymans  <wim@fluendo.com>
9823
9824         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9825         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9826         (gst_base_src_do_sync), (gst_base_src_get_range):
9827         Implement clock sync in base class.
9828
9829 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9830
9831         patch by: Tim-Philipp Müller <tim at centricular dot net>
9832
9833         * gst/gststructure.c: (gst_structure_parse_field),
9834         (gst_structure_from_string):
9835           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9836           so that gst_parse_launch() can deal with spaces in filtered link
9837           caps (fixes #164479)
9838         * check/gst/capslist.h:
9839         * check/gst/gststructure.c: (GST_START_TEST):
9840           add unit tests for this change
9841
9842 2005-11-10  Wim Taymans  <wim@fluendo.com>
9843
9844         * docs/gst/gstreamer-sections.txt:
9845         * gst/gstelement.c:
9846         * gst/gstelement.h:
9847         Fix docs, move some STATE macros to private.
9848
9849 2005-11-10  Wim Taymans  <wim@fluendo.com>
9850
9851         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9852         Added check for bug #317341
9853
9854         * gst/gstbuffer.c:
9855         * gst/gstbuffer.h:
9856         Some more spiffifying.
9857
9858         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9859         Call peer linkfunction if we are a source pad. Totally fixes
9860         #317341
9861
9862         * gst/gstpad.c:
9863         Update docs, source pads should call the peer linkfunction
9864         so they can atomically perform the pad link.
9865
9866 2005-11-09  Wim Taymans  <wim@fluendo.com>
9867
9868         * gst/gstbuffer.c:
9869         * gst/gstbuffer.h:
9870         Uber-spiffy-spiffify some more.
9871
9872 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9873
9874         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9875         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9876         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9877         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9878         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9879         * gst/gstpad.c: (gst_pad_init):
9880           Use GST_DEBUG_FUNCPTR() more extensively.
9881
9882 2005-11-09  Wim Taymans  <wim@fluendo.com>
9883
9884         * gst/gstobject.c: (gst_object_class_init):
9885         * gst/gstobject.h:
9886         Documentation fixes.
9887
9888 2005-11-09  Edward Hervey  <edward@fluendo.com>
9889
9890         * gst/gsttypefindfactory.c:
9891         Fix docs.
9892         
9893 2005-11-09  Edward Hervey  <edward@fluendo.com>
9894
9895         * gst/base/gsttypefindhelper.c:
9896         * gst/gsttypefind.c:
9897         * gst/gsttypefind.h:
9898         Fix docs.
9899
9900 2005-11-09  Wim Taymans  <wim@fluendo.com>
9901
9902         * gst/gstiterator.c:
9903         Fix revision data.
9904
9905         * gst/gsttask.c:
9906         * gst/gsttask.h:
9907         Fix docs.
9908
9909 2005-11-09  Wim Taymans  <wim@fluendo.com>
9910
9911         * gst/gstevent.h:
9912         * gst/gsturi.h:
9913         Fix docs.
9914
9915 2005-11-09  Wim Taymans  <wim@fluendo.com>
9916
9917         * docs/gst/gstreamer-sections.txt:
9918         Moved the message async delivery private lock and cond
9919         to the private section.
9920
9921         * gst/gstmessage.c:
9922         * gst/gstmessage.h:
9923         Fixed docs.
9924
9925 2005-11-09  Edward Hervey  <edward@fluendo.com>
9926
9927         * docs/gst/gstreamer-sections.txt:
9928         * gst/gsturi.c:
9929         * gst/gsturi.h:
9930         Document GstURIHandler
9931
9932 2005-11-09  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9935         (gst_iterator_find_custom):
9936         * gst/gstiterator.h:
9937         Fix iterator docs.
9938
9939 2005-11-09  Wim Taymans  <wim@fluendo.com>
9940
9941         * gst/gstbin.h:
9942         Document another field.
9943
9944         * gst/gststructure.c:
9945         * gst/gststructure.h:
9946         Document.
9947
9948 2005-11-09  Wim Taymans  <wim@fluendo.com>
9949
9950         * gst/gstbin.h:
9951         Documented structs.
9952
9953 2005-11-09  Wim Taymans  <wim@fluendo.com>
9954
9955         * docs/gst/gstreamer-sections.txt:
9956         Added some new macros.
9957
9958         * gst/gstclock.c:
9959         * gst/gstclock.h:
9960         * gst/gstobject.h:
9961         Docs updates.
9962
9963 2005-11-09  Wim Taymans  <wim@fluendo.com>
9964
9965         * docs/design/part-TODO.txt:
9966         Some more items for the TODO
9967
9968         * gst/gstcaps.c:
9969         * gst/gstcaps.h:
9970         Document GstCaps.
9971
9972 2005-11-09  Andy Wingo  <wingo@pobox.com>
9973
9974         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9975         to work on something else now tho...
9976
9977         * gst/base/gstadapter.c: More adapter docs.
9978
9979         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9980         (gst_file_sink_stop): New functions, replace the state change
9981         handler.
9982         (gst_file_sink_class_init): Hook up the start and stop functions.
9983         (gst_file_sink_base_init): Don't set the state change handler any
9984         more. It was a bit ugly too, being set from here...
9985         (gst_file_sink_get_property, gst_file_sink_set_property):
9986         Cleanups...
9987         (gst_file_sink_set_location): More robust check that doesn't call
9988         GST_STATE. Ugggggg.
9989
9990 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9991
9992         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9993           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9994
9995 2005-11-08  Wim Taymans  <wim@fluendo.com>
9996
9997         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9998         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9999         (gst_base_sink_chain), (gst_base_sink_change_state):
10000         * gst/base/gstbasesink.h:
10001         * gst/base/gstbasesrc.h:
10002         * gst/gstelement.h:
10003         * gst/gstevent.h:
10004         Avoid excessive typechecking in macros.
10005
10006         * gst/gstminiobject.c: (gst_mini_object_get_type),
10007         (gst_mini_object_init), (gst_mini_object_new),
10008         (gst_mini_object_free):
10009         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10010         (gst_object_finalize):
10011         Remove cruft code, optimize alloc_trace.
10012
10013 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10014
10015         * docs/faq/gst-uninstalled:
10016           fix up PS1 for systems that try to reset it
10017
10018 2005-11-07  Wim Taymans  <wim@fluendo.com>
10019
10020         * gst/base/gstbasesrc.c: (gst_base_src_init),
10021         (gst_base_src_get_range):
10022         Set the segment_end to -1 initially. Fixed typefind.
10023
10024 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10025
10026         * gst/base/gstadapter.c:
10027           Debug category should be 'adapter', not 'GstAdapter'.
10028           
10029         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10030         (gst_collectpads_class_init), (gst_collectpads_init),
10031         (gst_collectpads_peek), (gst_collectpads_pop),
10032         (gst_collectpads_event), (gst_collectpads_chain):
10033           Add debug category and some debugging output. Use boilerplate
10034           macros. Remove some extraneous words from docs.
10035
10036 2005-11-05  Andy Wingo  <wingo@pobox.com>
10037
10038         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10039         macro.
10040
10041 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10042
10043         * docs/gst/gstreamer-sections.txt:
10044         * gst/gstcaps.h:
10045         * gst/gstinfo.c:
10046         * gst/gstminiobject.h:
10047         * gst/gstobject.h:
10048         * gst/gstutils.h:
10049           more docs added
10050
10051 2005-11-04  Wim Taymans  <wim@fluendo.com>
10052
10053         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10054         Small update to stop at the configured segment_end
10055         position.
10056
10057 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10058
10059         * gst/gstregistry.c:
10060         * gst/gstregistry.h:
10061           added missing docs
10062
10063 2005-11-04  Edward Hervey  <edward@fluendo.com>
10064
10065         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10066         Check if we are doing a segment seek and have arrived at the
10067         end of that segment.
10068
10069 2005-11-04  Wim Taymans  <wim@fluendo.com>
10070
10071         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10072         Don't leak a mutex unlock in case of an error.
10073
10074         * gst/gstbus.h:
10075         Doc fixes.
10076
10077 2005-11-04  Wim Taymans  <wim@fluendo.com>
10078
10079         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10080         (gst_bus_post):
10081         Get the context to wake up only once.
10082
10083 2005-11-03  Wim Taymans  <wim@fluendo.com>
10084
10085         * check/states/sinks.c: (GST_START_TEST):
10086         Uncomment fixed check.
10087
10088         * docs/design/part-TODO.txt:
10089         Updated TODO.
10090
10091         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10092         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10093         (gst_base_sink_get_position):
10094         If we are going to PLAYING, post the right pending state
10095         when we post the intermediate paused message.
10096
10097         * gst/gstelement.c: (gst_element_continue_state),
10098         (gst_element_set_state_func), (gst_element_change_state):
10099         Don't post state changes that were between the same state
10100         and were not ASYNC.
10101
10102 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10103
10104         * docs/gst/gstreamer-sections.txt:
10105         * gst/gstcaps.h:
10106         * gst/gstinfo.c:
10107         * gst/gstminiobject.h:
10108         * gst/gstobject.h:
10109         * gst/gstutils.h:
10110           more docs and doc style fixes
10111
10112 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10113
10114         * docs/gst/gstreamer-sections.txt:
10115         * gst/gstelement.c:
10116         * gst/gstminiobject.c:
10117         doc fixes
10118
10119 2005-11-03  Andy Wingo  <wingo@pobox.com>
10120
10121         * check/states/sinks.c (test_livesrc_sink): Add checks that the
10122         state-changed messages actually have the right order and the right
10123         values.
10124
10125 2005-11-03  Wim Taymans  <wim@fluendo.com>
10126
10127         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10128         Added some more checks. Specifically the case where NO_PREROLL
10129         elements are in the pipeline.
10130
10131         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10132         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10133         (gst_base_sink_get_position):
10134         Post READY->PAUSED state change messages too.
10135         Fix bug where VOID was posted as pending state...
10136
10137         * gst/gstbin.c: (gst_bin_recalc_state):
10138         use _element_continue_state() to continue the state change.
10139
10140         * gst/gstelement.c: (gst_element_continue_state),
10141         (gst_element_commit_state), (gst_element_set_state_func),
10142         (gst_element_change_state), (gst_element_change_state_func):
10143         Lots of state change cleanups, assign the STATE_RETURN in
10144         a new continue_state() function that also propagates the
10145         last return value from a state change to the app.
10146         Update some debug statements with proper category.
10147
10148 2005-11-03  Wim Taymans  <wim@fluendo.com>
10149
10150         * docs/design/part-events.txt:
10151         * docs/design/part-gstpipeline.txt:
10152         * docs/design/part-messages.txt:
10153         * docs/design/part-overview.txt:
10154         * docs/design/part-seeking.txt:
10155         * docs/design/part-states.txt:
10156         * docs/design/part-trickmodes.txt:
10157         * docs/manual/advanced-position.xml:
10158         Small docs updates.
10159
10160         * gst/gstobject.h:
10161         People think !! is ugly, this looks better.
10162
10163         * gst/gstpad.c: (gst_pad_set_blocked_async):
10164         Remove !! since it's fixed elsewhere now.
10165
10166 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10167
10168         * gst/gstminiobject.h:
10169         * gst/gstobject.h:
10170           Add !! to _FLAG_IS_SET macros to make the result boolean.
10171
10172 2005-11-03  Edward Hervey  <edward@fluendo.com>
10173
10174         * gst/gstpad.c: (gst_pad_set_blocked_async):
10175         comparing a flag and a gboolean rarely returns coherent results...
10176         Added two characters (!!) to make that work correctly.
10177         
10178 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10179
10180         * gst/gstbus.c: (gst_bus_class_init):
10181           Fix some typos.
10182           
10183         * gst/gstqueue.c: (gst_queue_loop):
10184           Don't assume a miniobject that isn't a buffer is an
10185           event (it could be that there is a refcounting
10186           problem somewhere and the pointer is stale and
10187           refers to an already destroyed miniobject).
10188
10189 2005-11-03  Julien MOUTTE  <julien@moutte.net>
10190
10191         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10192
10193 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10194
10195         * docs/manual/advanced-position.xml:
10196           Update seek example and explanations to current 0.9 API.
10197
10198         * gst/elements/gsttypefindelement.c:
10199         (gst_type_find_element_activate):
10200           Remove FIXME comment now that the found caps
10201           are unreffed.
10202
10203 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10204
10205         * gst/gstregistryxml.c: (load_feature):
10206           Add another GST_STR_NULL instance
10207
10208 2005-11-02  Edward Hervey  <edward@fluendo.com>
10209
10210         * gst/gstpad.c: (handle_pad_block):
10211         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10212         
10213 2005-11-02  Wim Taymans  <wim@fluendo.com>
10214
10215         * gst/gstbin.c:
10216         Fix typo in docs.
10217
10218         * gst/gstelement.c: (gst_element_commit_state):
10219         Remove unused value.
10220
10221         * gst/gstiterator.c:
10222         Mention that the returned element is reffed in the docs.
10223
10224 2005-11-02  Wim Taymans  <wim@fluendo.com>
10225
10226         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10227         (gst_pad_push), (gst_pad_push_event):
10228         Unlock blocked pads when they are flushed.
10229
10230 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10231
10232         * docs/README:
10233         * docs/gst/gstreamer-sections.txt:
10234         * gst/gstbin.c:
10235           doc updates
10236         * gst/gstregistry.c: (gst_registry_scan_path_level):
10237           fix for a nasty little missed situation where an installed plug-in
10238           which was in the cache did not get overridden by an uninstalled one
10239           which was earlier in the plugin path because the newly created plugin
10240           for the uninstalled one (not in the registry) didn't get its
10241           ->registered set to TRUE
10242
10243 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10244
10245         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10246         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10247         (gst_collectpads_is_active), (gst_collectpads_collect),
10248         (gst_collectpads_collect_range), (gst_collectpads_start),
10249         (gst_collectpads_stop), (gst_collectpads_peek),
10250         (gst_collectpads_pop), (gst_collectpads_available),
10251         (gst_collectpads_read), (gst_collectpads_flush):
10252           Guard public API with assertions.
10253         
10254         * gst/gstpad.c:
10255           Fix docs for gst_pad_set_link_function().
10256
10257 2005-11-02  Johan Dahlin  <johan@gnome.org>
10258
10259         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
10260         Unref found_caps after we used it.
10261
10262 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10263
10264         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10265           Don't try to ref NULL.
10266
10267 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10268
10269         * win32/common/config.h.in:
10270           provide a GST_FUNCTION that just gives a string for now
10271
10272 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10273
10274         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10275         (gst_object_flags_get_type), (register_gst_bin_flags),
10276         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10277         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10278         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10279         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10280         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10281         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10282         (gst_clock_flags_get_type), (register_gst_state),
10283         (gst_state_get_type), (register_gst_state_change_return),
10284         (gst_state_change_return_get_type), (register_gst_state_change),
10285         (gst_state_change_get_type), (register_gst_element_flags),
10286         (gst_element_flags_get_type), (register_gst_core_error),
10287         (gst_core_error_get_type), (register_gst_library_error),
10288         (gst_library_error_get_type), (register_gst_resource_error),
10289         (gst_resource_error_get_type), (register_gst_stream_error),
10290         (gst_stream_error_get_type), (register_gst_event_type),
10291         (gst_event_type_get_type), (register_gst_seek_type),
10292         (gst_seek_type_get_type), (register_gst_seek_flags),
10293         (gst_seek_flags_get_type), (register_gst_format),
10294         (gst_format_get_type), (register_gst_index_certainty),
10295         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10296         (gst_index_entry_type_get_type),
10297         (register_gst_index_lookup_method),
10298         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10299         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10300         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10301         (gst_index_flags_get_type), (register_gst_debug_level),
10302         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10303         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10304         (gst_iterator_result_get_type), (register_gst_iterator_item),
10305         (gst_iterator_item_get_type), (register_gst_message_type),
10306         (gst_message_type_get_type), (register_gst_mini_object_flags),
10307         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10308         (gst_pad_link_return_get_type), (register_gst_flow_return),
10309         (gst_flow_return_get_type), (register_gst_activate_mode),
10310         (gst_activate_mode_get_type), (register_gst_pad_direction),
10311         (gst_pad_direction_get_type), (register_gst_pad_flags),
10312         (gst_pad_flags_get_type), (register_gst_pad_presence),
10313         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10314         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10315         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10316         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10317         (gst_plugin_flags_get_type), (register_gst_rank),
10318         (gst_rank_get_type), (register_gst_query_type),
10319         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10320         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10321         (gst_tag_flag_get_type), (register_gst_task_state),
10322         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10323         (gst_alloc_trace_flags_get_type),
10324         (register_gst_type_find_probability),
10325         (gst_type_find_probability_get_type), (register_gst_uri_type),
10326         (gst_uri_type_get_type), (register_gst_parse_error),
10327         (gst_parse_error_get_type):
10328         * win32/common/gstversion.h:
10329           update win32 copies
10330
10331 2005-11-01  Luca Ognibene  <luogni@tin.it>
10332
10333         * gst/gst.c:
10334           fix docs. popt is dead, long live GOption.
10335
10336 2005-10-31  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/gstbuffer.h:
10339         Small doc fix.
10340
10341 2005-10-31  Andy Wingo  <wingo@pobox.com>
10342
10343         * Boo!
10344
10345         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10346
10347         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10348         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10349         the possibility of deadlocks here if code calling notify() or
10350         set() has a lock that can be taken in another notify handler (ABBA
10351         with class lock and e.g. python GIL state lock).
10352
10353 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10354
10355         * gst/gstbus.c: Doc updates.
10356
10357 2005-10-28  Wim Taymans  <wim@fluendo.com>
10358
10359         * docs/design/part-TODO.txt:
10360         * gst/gstiterator.c:
10361         * gst/gstsystemclock.c:
10362         * gst/gstsystemclock.h:
10363         Doc updates.
10364
10365 2005-10-28  Edward Hervey  <edward@fluendo.com>
10366
10367         * docs/gst/gstreamer-docs.sgml:
10368         * docs/gst/gstreamer-sections.txt:
10369         the GstURIType documentation page is private, it only defines GstURIType
10370         which should be defined in the GstURIHandler page
10371         
10372 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10373
10374         * gst/gstbin.c: (gst_bin_class_init):
10375         * gst/gstbin.h:
10376         * gst/gstutils.c:
10377         Documentation updates.
10378
10379 2005-10-28  Wim Taymans  <wim@fluendo.com>
10380
10381         * docs/gst/gstreamer-sections.txt:
10382         * gst/gstclock.c:
10383         * gst/gstclock.h:
10384         Documented the clocks.
10385
10386 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10387
10388         * docs/gst/gstreamer-sections.txt:
10389           move some macros to private sections
10390         * gst/gstminiobject.c:
10391         * gst/gstminiobject.h:
10392           add descriptions provided by ds and some more
10393         * gst/gstpad.h:
10394           mark macro as to be removed
10395
10396 2005-10-28  Wim Taymans  <wim@fluendo.com>
10397
10398         * docs/design/part-TODO.txt:
10399         Add an item to TODO.
10400
10401         * gst/gstiterator.c: (gst_iterator_fold),
10402         (gst_iterator_find_custom):
10403         * gst/gstiterator.h:
10404         Add iterator docs.
10405
10406 2005-10-28  Wim Taymans  <wim@fluendo.com>
10407
10408         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10409         (gst_base_transform_init):
10410         Don't leak class.
10411
10412         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10413         An EOS event marks the queue as completely filled.
10414
10415 2005-10-27  Wim Taymans  <wim@fluendo.com>
10416
10417         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10418         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10419         Some more debugging.
10420
10421         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10422         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10423         (gst_base_transform_event), (gst_base_transform_getrange),
10424         (gst_base_transform_chain):
10425         * gst/base/gstbasetransform.h:
10426         Fix debugging,
10427         Protect transform and concurrent buffer alloc with a new lock.
10428         Try not to break ABI/API.
10429
10430 2005-10-27  Wim Taymans  <wim@fluendo.com>
10431
10432         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10433         (gst_base_src_init), (gst_base_src_query),
10434         (gst_base_src_default_newsegment),
10435         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10436         (gst_base_src_send_event), (gst_base_src_event_handler),
10437         (gst_base_src_pad_get_range), (gst_base_src_loop),
10438         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10439         (gst_base_src_start), (gst_base_src_deactivate),
10440         (gst_base_src_activate_push), (gst_base_src_change_state):
10441         Move some stuff around and cleanup things.
10442
10443 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10444
10445         * gst/base/gstbasesrc.c: (gst_base_src_query):
10446           Add missing break statements.
10447
10448 2005-10-27  Wim Taymans  <wim@fluendo.com>
10449
10450         * check/gst/gstbin.c: (GST_START_TEST):
10451         An extra refcount is taken in basesrc.
10452
10453         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10454         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10455         (gst_base_src_loop):
10456         Small cleanups, check for flushing after being unlocked from the 
10457         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10458         Don't send out EOS when going to READY.
10459
10460 2005-10-27  Wim Taymans  <wim@fluendo.com>
10461
10462         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10463         (gst_base_sink_get_position):
10464         Some more debug.
10465
10466         * gst/gstbin.c: (message_check), (bin_replace_message),
10467         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10468         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10469         (bin_query_duration_init), (bin_query_duration_fold),
10470         (bin_query_duration_done), (bin_query_generic_fold),
10471         (gst_bin_query):
10472         * tools/gst-launch.c: (main):
10473         Remove old option.
10474
10475 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10476
10477         * examples/controller/audio-example.c: (main):
10478         * examples/queue/queue.c: (event_loop):
10479         * gst/base/gstbasetransform.h:
10480         * gst/gstelement.c: (gst_element_send_event):
10481         * gst/gstevent.h:
10482         * gst/gstpad.c: (gst_pad_send_event):
10483           fixing examples
10484           fixing docs typos
10485           changing log priority in error situations
10486
10487 2005-10-25  Wim Taymans  <wim@fluendo.com>
10488
10489         * gst/gstbin.c: (message_check), (bin_replace_message),
10490         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10491         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10492         (bin_query_duration_init), (bin_query_duration_fold),
10493         (bin_query_duration_done), (bin_query_generic_fold),
10494         (gst_bin_query):
10495         Some doc and debug updates.
10496         Cache previously requested query DURATION for speed. invalidate
10497         cached duration if element posts a DURATION message.
10498
10499 2005-10-25  Wim Taymans  <wim@fluendo.com>
10500
10501         * docs/design/part-TODO.txt:
10502         Update TODO.
10503
10504         * gst/gstbin.c: (message_check), (bin_replace_message),
10505         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10506         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10507         (bin_query_duration_init), (bin_query_duration_fold),
10508         (bin_query_duration_done), (bin_query_generic_fold),
10509         (gst_bin_query):
10510         Handle SEGMENT_START/DONE messages correctly.
10511         More evolved query algorithm that handles duration queries
10512         correctly.
10513
10514         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10515         (gst_element_get_state_func), (gst_element_abort_state),
10516         (gst_element_commit_state), (gst_element_lost_state):
10517         Some more debugging.
10518
10519         * gst/gstmessage.h:
10520         Added doc.
10521
10522 2005-10-25  Wim Taymans  <wim@fluendo.com>
10523
10524         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10525         Don't use invalid stream_time.
10526
10527         * gst/gstevent.c: (gst_event_new_newsegment):
10528         stream_time in newsegment cannot be undefined.
10529
10530 2005-10-24  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/gstbus.c:
10533         Doc fix.
10534
10535         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10536         (gst_queue_loop):
10537         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10538
10539 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10540
10541         * docs/libs/tmpl/gstdparam.sgml:
10542         * docs/libs/tmpl/gstdplinint.sgml:
10543         * docs/libs/tmpl/gstdpman.sgml:
10544         * docs/libs/tmpl/gstdpsmooth.sgml:
10545         * docs/libs/tmpl/gstunitconvert.sgml:
10546           these are obsolete
10547
10548 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10549
10550         * configure.ac:
10551           back to HEAD
10552
10553 === release 0.9.4 ===
10554
10555 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10556
10557         * configure.ac:
10558           releasing 0.9.4, "Tyrannosaurus Rex"
10559
10560 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10561
10562         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10563         (gst_file_sink_get_current_offset):
10564           Use fseeko() and ftello() if available. When falling back on
10565           lseek() to get the current offset, fflush() first to make sure
10566           everything is up-to-date and we get the right offset.
10567
10568 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10569
10570         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10571         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10572         * gst/gsterror.c: (_gst_stream_errors_init):
10573         * gst/gsterror.h:
10574         * gst/gstqueue.c: (gst_queue_loop):
10575         * po/POTFILES.in:
10576           remove prematurely added error category and clean up the instances
10577
10578 2005-10-21  Wim Taymans  <wim@fluendo.com>
10579
10580         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10581         (gst_base_sink_get_position), (gst_base_sink_query),
10582         (gst_base_sink_change_state):
10583         Simply set the right flag when going to playing, that's all
10584         we need to do instead of calling a function inside the object
10585         lock (that could take the lock as well and deadlock)
10586
10587 2005-10-21  Wim Taymans  <wim@fluendo.com>
10588
10589         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10590         (gst_base_src_loop):
10591         Don't warn, the peer element knows what to do best when
10592         the seek failed, it might try something else.
10593
10594 2005-10-21  Wim Taymans  <wim@fluendo.com>
10595
10596         * gst/base/gstbasesrc.c: (gst_base_src_init),
10597         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10598         Fix seeking.
10599
10600 2005-10-21  Wim Taymans  <wim@fluendo.com>
10601
10602         * docs/design/part-segments.txt:
10603         More docs.
10604
10605         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10606         Correctly set caps, even on the subbufer.
10607
10608 2005-10-21  Wim Taymans  <wim@fluendo.com>
10609
10610         * docs/gst/gstreamer-docs.sgml:
10611         * docs/gst/gstreamer-sections.txt:
10612         * gst/gstelement.h:
10613         * gst/gstevent.c:
10614         * gst/gstevent.h:
10615         * gst/gstmessage.h:
10616         * gst/gstpad.h:
10617         * gst/gstparse.h:
10618         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10619         * gst/gsttask.h:
10620         * gst/gstutils.c:
10621         * gst/gstutils.h:
10622         And 2% more doc coverage.
10623
10624 2005-10-21  Andy Wingo  <wingo@pobox.com>
10625
10626         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10627         position reporting.
10628
10629 2005-10-20  Wim Taymans  <wim@fluendo.com>
10630
10631         * gst/gsterror.c: (gst_error_get_message):
10632         * gst/gstparse.h:
10633         * gst/gstquery.h:
10634         * gst/gststructure.c:
10635         * gst/gsttrace.c:
10636         * gst/gstutils.c:
10637         More docs.
10638
10639 2005-10-20  Wim Taymans  <wim@fluendo.com>
10640
10641         * gst/gstbuffer.h:
10642         * gst/gstpad.c:
10643         * gst/gstparse.c:
10644         Another 1% more coverage.
10645
10646 2005-10-20  Wim Taymans  <wim@fluendo.com>
10647
10648         * docs/gst/gstreamer-sections.txt:
10649         * gst/gstelement.c: (gst_element_get_state_func),
10650         (gst_element_abort_state), (gst_element_commit_state),
10651         (gst_element_lost_state):
10652         * gst/gstevent.h:
10653         * gst/gstquery.c: (gst_query_set_position),
10654         (gst_query_parse_position), (gst_query_set_duration),
10655         (gst_query_parse_duration), (gst_query_new_convert):
10656         * gst/gstutils.c:
10657         Yay! 1% more docs coverage.
10658
10659 2005-10-20  Wim Taymans  <wim@fluendo.com>
10660
10661         * gst/gstpad.h:
10662         * gst/gstquery.c: (gst_query_set_position),
10663         (gst_query_parse_position), (gst_query_set_duration),
10664         (gst_query_parse_duration), (gst_query_new_convert):
10665         * gst/gstquery.h:
10666         * gst/gstutils.c: (gst_element_query_convert):
10667         * gst/gstutils.h:
10668         Docs and consistency fixes.
10669
10670 2005-10-20  Wim Taymans  <wim@fluendo.com>
10671
10672         * gst/gsttask.c:
10673         * gst/gsttask.h:
10674         More docs.
10675
10676 2005-10-20  Wim Taymans  <wim@fluendo.com>
10677
10678         * gst/gstbin.c: (message_check), (bin_replace_message),
10679         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10680         (update_degree), (gst_bin_sort_iterator_next),
10681         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10682         Reworked the message handling a bit, cache the messages instead of
10683         only the senders. alows us to do more in the future.
10684
10685 2005-10-20  Wim Taymans  <wim@fluendo.com>
10686
10687         * docs/design/part-TODO.txt:
10688         Update TODO
10689
10690         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10691         (gst_base_sink_query):
10692         Don't use clock time to report position when in EOS.
10693
10694 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10695
10696         * tools/gst-inspect.c: (print_interfaces),
10697         (print_element_properties_info), (print_element_info):
10698           Fix interface output with gst-inspect -a; don't print
10699           newlines after double/float properties.
10700
10701 2005-10-20  Wim Taymans  <wim@fluendo.com>
10702
10703         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10704         (gst_base_sink_query):
10705         Speed up current position calculation.
10706
10707         * gst/base/gstbasesrc.c: (gst_base_src_query),
10708         (gst_base_src_default_newsegment):
10709         Correctly set stream position in newsegment.
10710
10711         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10712         (update_degree), (gst_bin_sort_iterator_next),
10713         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10714         * gst/gstmessage.c: (gst_message_new_custom):
10715         Clean up debugging info
10716
10717         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10718         (gst_queue_loop), (gst_queue_handle_src_query):
10719         Pause task faster.
10720
10721 2005-10-19  Wim Taymans  <wim@fluendo.com>
10722
10723         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10724         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10725         Fix query handling again.
10726
10727 2005-10-19  Wim Taymans  <wim@fluendo.com>
10728
10729         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10730         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10731         * gst/base/gstbasesrc.c: (gst_base_src_query):
10732         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10733         * gst/elements/gsttypefindelement.c:
10734         (gst_type_find_handle_src_query), (find_element_get_length),
10735         (gst_type_find_element_activate):
10736         API change fix.
10737
10738         * gst/gstquery.c: (gst_query_new_position),
10739         (gst_query_set_position), (gst_query_parse_position),
10740         (gst_query_new_duration), (gst_query_set_duration),
10741         (gst_query_parse_duration), (gst_query_set_segment),
10742         (gst_query_parse_segment):
10743         * gst/gstquery.h:
10744         Bundling query position/duration is not a good idea since duration
10745         does not change much and we don't want to recalculate it for every
10746         position query, so they are separated again..
10747         Base value in segment query is not needed.
10748
10749         * gst/gstqueue.c: (gst_queue_handle_src_query):
10750         * gst/gstutils.c: (gst_element_query_position),
10751         (gst_element_query_duration), (gst_pad_query_position),
10752         (gst_pad_query_duration):
10753         * gst/gstutils.h:
10754         Updates for query API change.
10755         Added some docs here and there.
10756
10757 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10758
10759         * check/gst/gstbin.c: (GST_START_TEST):
10760         * check/gst/gstghostpad.c: (GST_START_TEST):
10761         * check/pipelines/cleanup.c: (GST_START_TEST):
10762           wait on thread to die so we can check refcount correctly
10763
10764 2005-10-18  Wim Taymans  <wim@fluendo.com>
10765
10766         * check/pipelines/stress.c: (GST_START_TEST):
10767         Make check a little more time consuming.
10768
10769 2005-10-18  Wim Taymans  <wim@fluendo.com>
10770
10771         * check/Makefile.am:
10772         * check/pipelines/stress.c: (GST_START_TEST),
10773         (simple_launch_lines_suite), (main):
10774         Small state change torture test.
10775
10776         * docs/design/part-states.txt:
10777         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10778         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10779         (gst_base_sink_change_state):
10780         Never take state lock from streaming thread, clean up ugly
10781         hacks. Unfortunatly core does not yet support nice ways to
10782         async commit state.
10783         
10784         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10785         (bin_bus_handler):
10786         Start state recalc if a STATE_DIRTY message is posted, but only
10787         on the toplevel bin.
10788
10789         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10790         (gst_element_get_state_func), (gst_element_abort_state),
10791         (gst_element_commit_state), (gst_element_lost_state),
10792         (gst_element_set_state_func), (gst_element_change_state):
10793         * gst/gstelement.h:
10794         State variables are now protected with the LOCK, the state
10795         lock is only used to serialize _set_state().
10796
10797 2005-10-18  Wim Taymans  <wim@fluendo.com>
10798
10799         * check/gst/gstbin.c: (GST_START_TEST):
10800         * check/gst/gstmessage.c: (GST_START_TEST):
10801         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10802         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10803         (bin_bus_handler):
10804         * gst/gstelement.c: (gst_element_abort_state),
10805         (gst_element_commit_state), (gst_element_lost_state):
10806         * gst/gstmessage.c: (gst_message_new_state_changed),
10807         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10808         (gst_message_new_segment_done), (gst_message_new_duration),
10809         (gst_message_parse_state_changed),
10810         (gst_message_parse_segment_start),
10811         (gst_message_parse_segment_done), (gst_message_parse_duration):
10812         * gst/gstmessage.h:
10813         * tools/gst-launch.c: (event_loop):
10814         Seriously, this is better than a previous commit as we only need
10815         to notify the fact that an element changed state in a streaming
10816         thread, marking the state of the parents dirty, hence the 
10817         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10818         message.
10819
10820 2005-10-18  Wim Taymans  <wim@fluendo.com>
10821
10822         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10823         (gst_bin_recalc_func):
10824         * gst/gstelement.c: (gst_element_set_clock),
10825         (gst_element_abort_state), (gst_element_lost_state):
10826         Cleanups, prepare for state change fixes.
10827
10828 2005-10-18  Wim Taymans  <wim@fluendo.com>
10829
10830         * gst/gstbin.h:
10831         * gst/gstelement.c: (gst_element_class_init),
10832         (gst_element_set_state), (gst_element_set_state_func):
10833         * gst/gstelement.h:
10834         Pending ABI changes.
10835         GThreadPool in GstBinClass to monitor async state changes.
10836         state_cookie in GstElement to detect concurrent gst/set state.
10837         set_state is now virtual too in case a very complicated element
10838         has to be constructed.
10839
10840 2005-10-18  Wim Taymans  <wim@fluendo.com>
10841
10842         * check/gst/gstbin.c: (GST_START_TEST):
10843         * check/gst/gstmessage.c: (GST_START_TEST):
10844         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10845         * gst/gstbin.c: (bin_bus_handler):
10846         * gst/gstelement.c: (gst_element_commit_state),
10847         (gst_element_lost_state):
10848         * gst/gstmessage.c: (gst_message_new_state_changed),
10849         (gst_message_new_segment_start), (gst_message_new_segment_done),
10850         (gst_message_new_duration), (gst_message_parse_state_changed),
10851         (gst_message_parse_segment_start),
10852         (gst_message_parse_segment_done), (gst_message_parse_duration):
10853         * gst/gstmessage.h:
10854         * tools/gst-launch.c: (event_loop):
10855         Make messages future proof.
10856         state-change gets a flag if it was a message comming from the
10857         streaming thread.
10858         segment-start/stop can also be specified in other formats.
10859         A message to notify an app that a pipeline changed playback 
10860         duration.
10861         Also fix a GstMessage leak in -launch
10862
10863 2005-10-18  Andy Wingo  <wingo@pobox.com>
10864
10865         * gst/gstelement.c (gst_element_dispose): More helpful message.
10866
10867 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10868
10869         reviewed by: <delete if not using a buddy>
10870
10871         * common/gtk-doc.mak:
10872
10873 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10874
10875         * gst/gstregistry.c: (gst_registry_scan_path_level):
10876           unref a plug-in we get that was already initialized
10877
10878 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10879
10880         * docs/gst/gstreamer-sections.txt:
10881         * docs/libs/gstreamer-libs-sections.txt:
10882         * gst/gstelement.h:
10883           add new api entries
10884           hide internal macro
10885
10886 2005-10-17  Andy Wingo  <wingo@pobox.com>
10887
10888         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10889         cleanup.
10890
10891         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10892
10893         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10894
10895         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10896         (gst_element_get_state_func): Better debug message.
10897         (gst_element_commit_state): s/INFO/DEBUG/.
10898         (gst_element_lost_state, gst_element_change_state): 
10899
10900         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10901         (gst_message_new_custom): s/INFO/LOG/.
10902
10903 2005-10-17  Michael Smith <msmith@fluendo.com>
10904
10905         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10906           Check if end time is valid using end time, not start time.
10907
10908 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10909
10910         * check/gst-libs/controller.c: (GST_START_TEST),
10911         (gst_controller_suite):
10912         * libs/gst/controller/gstcontroller.c:
10913         (gst_controlled_property_set_interpolation_mode):
10914         * libs/gst/controller/gstcontroller.h:
10915         * libs/gst/controller/gstinterpolation.c:
10916         * testsuite/controller/.cvsignore:
10917         * testsuite/controller/Makefile.am:
10918         * testsuite/controller/interpolator.c:
10919           merge controller testsuites
10920           fix broken tests
10921           remove mem-chunk from docs
10922
10923 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10924
10925         * gst/gstmemchunk.c:
10926         * gst/gstmemchunk.h:
10927         * gst/gsttrashstack.c:
10928         * gst/gsttrashstack.h:
10929           out.  get out.  you're fired.  to the Attic !
10930
10931 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10932
10933         * gst/gstcaps.c: (gst_caps_intersect):
10934           fix signedness issues in a (hopefully) correct way
10935         * gst/gstelement.c: (gst_element_pads_activate):
10936           some debugging
10937         * gst/gstobject.c: (gst_object_set_parent):
10938           some debugging
10939
10940 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10941
10942         * gst/gstvalue.h: Fix prototypes.
10943
10944 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10945
10946         * docs/gst/gstreamer-sections.txt:
10947         * gst/gst.c: (gst_version_string):
10948         * gst/gst.h:
10949         * gst/gstversion.h.in:
10950         * win32/common/libgstreamer.def:
10951           add gst_version_string ()
10952
10953 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10954
10955         * configure.ac:
10956           clean up further
10957         * gst/gst.c: (init_post):
10958         * win32/common/config.h.in:
10959           it's PLUGINDIR now
10960         * gst/gstcaps.c: (gst_caps_intersect):
10961           use gint64, the range could be bigger than a guint
10962
10963 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10964
10965         * gst/gstclock.h:
10966           document potential problem in 2038
10967
10968 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10969
10970         * gst/gstcaps.c: (gst_caps_intersect):
10971           Fix guint j diving under 0
10972
10973 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10974
10975         * configure.ac:
10976         * win32/common/config.h:
10977         * win32/common/config.h.in:
10978           check for process.h, declares getpid() on Windows
10979         * gst/gstinfo.c:
10980           include process.h if we have it
10981         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10982         * gst/gstmemchunk.h:
10983           fix signedness issues
10984         * win32/common/libgstreamer.def:
10985           fix get_type's
10986
10987 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10988
10989         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10990         fix. Because of unsigned ints, caps intersection was going nuts and
10991         trying to access structures with G_MAXUINT index. That fixes
10992         videotestsrc ! ffmpegcolorspace ! fakesink
10993         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10994         consistency.
10995
10996 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10997
10998         * configure.ac:
10999           use the gettext macro
11000         * gst/elements/gstelements.c:
11001         * gst/gst.c:
11002         * gst/indexers/gstindexers.c:
11003           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11004         * win32/common/config.h:
11005           updated config.h
11006         * win32/common/config.h.in:
11007           add the template to generate config.h
11008         * win32/common/gstenumtypes.c:
11009         * win32/common/gstversion.h:
11010           updated copies
11011
11012 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11013
11014         * gst/gst.c: (gst_version):
11015         * gst/gstversion.h.in:
11016           add the nano
11017
11018 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11019
11020         * gst/gstevent.h:
11021           Oops, add missing closing bracket.
11022
11023 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11024
11025         * configure.ac:
11026           use common m4's for argument checking
11027
11028 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11029
11030         * docs/gst/gstreamer-sections.txt:
11031         * gst/gstevent.h:
11032           Add GST_EVENT_TYPE_NAME() macro.
11033
11034 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11035
11036         * gst/gstinfo.c:
11037         * gst/gstpluginfeature.c:
11038         * gst/gsttask.c:
11039           privatize more symbols
11040
11041 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11042
11043         * configure.ac:
11044           add srcdir, builddir includes to GST_ALL_CFLAGS, since
11045           everything that uses GStreamer API should have the includes
11046
11047 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11048
11049         * docs/gst/gstreamer-sections.txt:
11050         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11051         * gst/gstvalue.h:
11052           give each value a _get_type, removes the DATA exports
11053
11054 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11055
11056         * gst/gst.c:
11057         * gst/gst.h:
11058           remove _gst_registry_auto_load, not used anymore
11059         * gst/gstbin.c: (gst_bin_get_type):
11060         * gst/gstbin.h:
11061         * gst/gstelement.c: (gst_element_get_type):
11062         * gst/gstelement.h:
11063         * gst/gstobject.c: (gst_object_get_type):
11064         * gst/gstobject.h:
11065         * gst/gstpad.c: (gst_pad_get_type):
11066         * gst/gstpad.h:
11067           make _get_type functions similar, fixes data export from library
11068
11069 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11070
11071         * configure.ac:
11072           correctly make conditionals
11073         * gst/elements/Makefile.am:
11074         * gst/elements/gstelements.c:
11075           fix typo causing fdsrc not to build
11076
11077 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11078
11079         * testsuite/Makefile.am:
11080         * testsuite/bytestream/.cvsignore:
11081         * testsuite/bytestream/Makefile.am:
11082         * testsuite/bytestream/filepadsink.c:
11083         * testsuite/bytestream/gstbstest.c:
11084         * testsuite/bytestream/test1.c:
11085         * testsuite/bytestream/testfile1:
11086         * testsuite/caps/normalisation.c:
11087         * testsuite/caps/random.c: (main):
11088         * testsuite/cleanup/.cvsignore:
11089         * testsuite/cleanup/Makefile.am:
11090         * testsuite/cleanup/cleanup1.c:
11091         * testsuite/cleanup/cleanup2.c:
11092         * testsuite/cleanup/cleanup3.c:
11093         * testsuite/cleanup/cleanup4.c:
11094         * testsuite/cleanup/cleanup5.c:
11095         * testsuite/controller/interpolator.c:
11096         * testsuite/debug/printf_extension.c: (main):
11097         * testsuite/elements/tee.c:
11098         * testsuite/negotiation/.cvsignore:
11099         * testsuite/negotiation/Makefile.am:
11100         * testsuite/negotiation/pad_link.c:
11101         * testsuite/pad/Makefile.am:
11102         * testsuite/pad/chainnopull.c:
11103         * testsuite/pad/getnopush.c:
11104         * testsuite/pad/link.c:
11105         * testsuite/refcounting/sched.c: (create_pipeline):
11106         * testsuite/registry/Makefile.am:
11107         * testsuite/registry/gst-print-formats.c:
11108         * testsuite/schedulers/.cvsignore:
11109         * testsuite/schedulers/142183-2.c:
11110         * testsuite/schedulers/142183.c:
11111         * testsuite/schedulers/143777-2.c:
11112         * testsuite/schedulers/143777.c:
11113         * testsuite/schedulers/147713.c:
11114         * testsuite/schedulers/147819.c:
11115         * testsuite/schedulers/147894-2.c:
11116         * testsuite/schedulers/147894.c:
11117         * testsuite/schedulers/Makefile.am:
11118         * testsuite/schedulers/group_link.c:
11119         * testsuite/schedulers/queue_link.c:
11120         * testsuite/schedulers/relink.c:
11121         * testsuite/schedulers/unlink.c:
11122         * testsuite/schedulers/unref.c:
11123         * testsuite/schedulers/useless_iteration.c:
11124         * testsuite/states/bin.c:
11125           clean out/remove some stuff from the testsuite directories
11126
11127 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11128
11129         * configure.ac:
11130           check for some headers
11131         * gst/elements/Makefile.am:
11132         * gst/elements/gstelements.c:
11133           don't compile fdsrc without sys/socket.h
11134         * gst/indexers/Makefile.am:
11135         * gst/indexers/gstindexers.c: (plugin_init):
11136           don't compile fileindex without mmap
11137
11138 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11139
11140         * configure.ac:
11141           reorganize
11142           clean up
11143           document more
11144           remove cruft
11145         * check/Makefile.am:
11146         * docs/gst/Makefile.am:
11147         * examples/helloworld/Makefile.am:
11148         * gst/Makefile.am:
11149         * gst/base/Makefile.am:
11150         * gst/check/Makefile.am:
11151         * gst/elements/Makefile.am:
11152         * gst/indexers/Makefile.am:
11153         * gst/parse/Makefile.am:
11154         * libs/gst/controller/Makefile.am:
11155         * libs/gst/dataprotocol/Makefile.am:
11156         * examples/helloworld/helloworld.c: (event_loop):
11157           compile fixes, though it's not being compiled currently
11158
11159 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11160
11161         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11162           Add some simple tests for the new taglist date API.
11163
11164 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11165
11166         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11167         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11168           Beautify 'last-message' output: print 'none' for buffer timestamps
11169           and durations if none is set; improve alignment with next messages.
11170
11171 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11172
11173         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11174         * gst/gstpluginfeature.h:
11175         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11176         * gst/gstregistry.h:
11177         * docs/gst/gstreamer-sections.txt:
11178           Add new API to check plugin feature version requirements.
11179
11180         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11181           Some basic tests for the above.         
11182
11183 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11184
11185         * gst/gststructure.c: (gst_structure_to_string):
11186           guard against NULL printf - happens when for example
11187           a message structure with GstClock gets serialized
11188
11189 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11190
11191         * gst/base/gstcollectpads.c: (gst_collectpads_event):
11192           Fix presumable copy'n'pasto.
11193
11194 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11195
11196         * gst/elements/gstfakesrc.h:
11197         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11198         * gst/elements/gsttypefindelement.c:
11199           fix some signedness
11200         * gst/elements/gstfilesink.c: (gst_file_sink_render):
11201           I wonder if this could actually write +2GB files before
11202
11203 2005-10-13  Andy Wingo  <wingo@pobox.com>
11204
11205         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11206         Fix Timmeke Waymans bug.
11207         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11208         string of the proper length to gst_caps_from_string. There's a
11209         potential for, before this fix, that this could cause someone
11210         connecting over the network to cause a segfault if the payload is
11211         not NUL-terminated.
11212
11213 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11214
11215         * docs/design/draft-push-pull.txt:
11216         * docs/design/part-overview.txt:
11217         * docs/random/TODO-pre-0.9:
11218         * docs/random/old/ChangeLog.gstreamer:
11219         * gst/base/gstpushsrc.c:
11220         * gst/gstclock.c:
11221           fixed typos
11222
11223 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11224
11225         * gst/glib-compat.c: (gst_flags_get_first_value):
11226         * gst/glib-compat.h:
11227         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11228         (gst_value_compare_double), (gst_value_serialize_flags):
11229           GLib 2.6 g_flags_get_first_value has a bug that triggers an
11230           infinite loop
11231
11232 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11233
11234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11235         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11236           fix up debugging
11237         * tools/gst-launch.c: (event_loop):
11238           print out clock nicely
11239
11240 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11241
11242         * docs/gst/gstreamer-sections.txt:
11243         * gst/gsttaglist.h:
11244         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11245         (gst_tag_list_get_date_index):
11246           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11247           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11248
11249 2005-10-13  Julien MOUTTE  <julien@moutte.net>
11250
11251         * gst/base/gstcollectpads.c: (gst_collectpads_event),
11252         (gst_collectpads_chain):
11253         * gst/base/gstcollectpads.h: Handle newsegment and store informations
11254         in CollectData.
11255
11256 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11257
11258         * docs/gst/gstreamer-sections.txt:
11259         * gst/gst.c:
11260         * gst/gsterror.h:
11261         * tools/gst-inspect.c: (main):
11262         * tools/gst-launch.c: (main):
11263         * tools/gst-run.c: (main):
11264         * tools/gst-xmlinspect.c: (main):
11265           fix GOption context leaks
11266           doc fixes
11267
11268 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11269
11270         * gst/gstbus.c:
11271           use HAVE_UNISTD_H
11272         * win32/common/config.h:
11273           update config
11274         * win32/vs6/grammar.dsp:
11275         * win32/vs6/libgstelements.dsp:
11276         * win32/vs6/libgstreamer.dsp:
11277           update vs6 files
11278
11279 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11280
11281         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11282         * gst/base/gstbasesrc.c: (gst_base_src_query):
11283           fix more guint64<->gdouble conversions
11284
11285 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11286
11287         * Makefile.am:
11288           add win32-update target
11289         * win32/common/gstconfig.h:
11290         * win32/common/gstenumtypes.c:
11291         * win32/common/gstenumtypes.h:
11292         * win32/common/gstversion.h:
11293           add files that visual studio can't generate
11294
11295 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11296
11297         * Makefile.am:
11298           add a win32-update target
11299         * configure.ac:
11300
11301 2005-10-12  Wim Taymans  <wim@fluendo.com>
11302
11303         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11304         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11305         * gst/gstelement.c: (gst_element_commit_state),
11306         (gst_element_set_state):
11307         Protect flags with proper lock.
11308         unref provided cached clock in dispose.
11309
11310 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11311
11312         * gst/gst.c:
11313         * gst/gstminiobject.h:
11314         * gst/gstpad.h:
11315         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11316           removed unused flags from miniobject
11317           doc fixes
11318
11319 2005-10-12  Wim Taymans  <wim@fluendo.com>
11320
11321         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11322         (gst_file_sink_event), (gst_file_sink_render):
11323         Flush before seeking.
11324
11325 2005-10-12  Andy Wingo  <wingo@pobox.com>
11326
11327         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11328         always been the case.
11329
11330 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11331
11332         * check/gst/gstbin.c: (GST_START_TEST):
11333         * docs/gst/gstreamer-sections.txt:
11334         * gst/base/gstbasesink.c: (gst_base_sink_init):
11335         * gst/base/gstbasesrc.c: (gst_base_src_init),
11336         (gst_base_src_get_range), (gst_base_src_check_get_range),
11337         (gst_base_src_start), (gst_base_src_stop):
11338         * gst/base/gstbasesrc.h:
11339         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11340         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11341         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11342         (bin_bus_handler):
11343         * gst/gstbin.h:
11344         * gst/gstbuffer.h:
11345         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11346         * gst/gstbus.h:
11347         * gst/gstelement.c: (gst_element_is_locked_state),
11348         (gst_element_set_locked_state), (gst_element_commit_state),
11349         (gst_element_set_state):
11350         * gst/gstelement.h:
11351         * gst/gstindex.c: (gst_index_init):
11352         * gst/gstindex.h:
11353         * gst/gstminiobject.h:
11354         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11355         (gst_object_set_parent):
11356         * gst/gstobject.h:
11357         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11358         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11359         * gst/gstpad.h:
11360         * gst/gstpadtemplate.h:
11361         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11362         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11363         * gst/gstpipeline.h:
11364         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11365         (gst_file_index_commit):
11366         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11367         * testsuite/pad/link.c: (gst_test_src_init),
11368         (gst_test_filter_init), (gst_test_sink_init):
11369         * testsuite/states/locked.c: (main):
11370           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11371           moved bitshift from macro to enum definition
11372
11373 2005-10-12  Wim Taymans  <wim@fluendo.com>
11374
11375         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11376         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11377         (gst_file_sink_render):
11378         Some more debugging info.
11379
11380 2005-10-12  Wim Taymans  <wim@fluendo.com>
11381
11382         * docs/design/part-states.txt:
11383         * tools/gst-launch.c: (main):
11384         Some doc updates.
11385         Revert non-intentional change.
11386
11387 2005-10-12  Wim Taymans  <wim@fluendo.com>
11388
11389         * check/gst/gstbin.c: (GST_START_TEST):
11390         * check/gst/gstelement.c: (GST_START_TEST):
11391         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11392         * check/gst/gstghostpad.c: (GST_START_TEST):
11393         * check/gst/gstpipeline.c: (GST_START_TEST):
11394         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11395         * check/states/sinks.c: (GST_START_TEST):
11396         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11397         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11398         (gst_bin_remove_func), (gst_bin_get_state_func),
11399         (gst_bin_recalc_state), (gst_bin_change_state_func),
11400         (bin_bus_handler):
11401         * gst/gstelement.c: (gst_element_get_state_func),
11402         (gst_element_get_state), (gst_element_abort_state),
11403         (gst_element_commit_state), (gst_element_set_state),
11404         (gst_element_change_state), (gst_element_change_state_func):
11405         * gst/gstelement.h:
11406         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11407         (gst_pipeline_provide_clock_func):
11408         * gst/gstutils.c: (gst_element_link_pads_filtered):
11409         * tools/gst-launch.c: (main):
11410         * tools/gst-typefind.c: (main):
11411         Use GstClockTime in _get_state() instead of GTimeVal.
11412         Remove old code in gstutils.c
11413
11414 2005-10-12  Andy Wingo  <wingo@pobox.com>
11415
11416         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11417         removed.
11418
11419         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11420         there is no task. Shouldn't affect any code, as nothing in our
11421         plugins checks this return value.
11422         (gst_pad_stop_task): Also take the stream lock if the pad has no
11423         task. Docs updated.
11424
11425 2005-10-12  Wim Taymans  <wim@fluendo.com>
11426
11427         * gst/gstpad.c: (pre_activate), (post_activate),
11428         (gst_pad_activate_pull), (gst_pad_activate_push):
11429         Cleanup activation code. Reset old state if
11430         activation failed.
11431
11432 2005-10-12  Wim Taymans  <wim@fluendo.com>
11433
11434         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11435         (gst_base_sink_change_state):
11436         No need to prerol after receiving EOS.
11437
11438         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11439         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11440         * gst/elements/gstidentity.c: (gst_identity_event):
11441         Print events more verbosely.
11442
11443 2005-10-12  Wim Taymans  <wim@fluendo.com>
11444
11445         * check/Makefile.am:
11446         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11447         * check/states/sinks2.c:
11448         Moved sinks2 testcode in sinks check.
11449
11450         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11451         (gst_bin_remove_func), (gst_bin_recalc_state),
11452         (gst_bin_change_state_func), (bin_bus_handler):
11453         Fix potential race condition when _get_state() iterated over an
11454         ASYNC element right before it posted a state completion.
11455
11456         * gst/gstclock.h:
11457         Do proper cast here.
11458
11459         * gst/gstevent.c: (gst_event_new_newsegment),
11460         (gst_event_parse_newsegment):
11461         A playback rate of 0.0 is not allowed.
11462
11463 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11464
11465         * win32/common/config.h:
11466         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11467         (_trewinddir), (_ttelldir), (_tseekdir):
11468         * win32/common/dirent.h:
11469         * win32/common/gtchar.h:
11470         * win32/common/libgstbase.def:
11471         * win32/common/libgstreamer.def:
11472         * win32/vs6/grammar.dsp:
11473         * win32/vs6/gst_inspect.dsp:
11474         * win32/vs6/gst_launch.dsp:
11475         * win32/vs6/gstreamer.dsw:
11476         * win32/vs6/libgstbase.dsp:
11477         * win32/vs6/libgstelements.dsp:
11478         * win32/vs6/libgstreamer.dsp:
11479           Visual Studio 6 project files, and a new common directory.
11480           Phear.
11481
11482 2005-10-11  Wim Taymans  <wim@fluendo.com>
11483
11484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11485         (gst_base_sink_do_sync), (gst_base_sink_query),
11486         (gst_base_sink_change_state):
11487         * gst/base/gstbasesink.h:
11488         Correctly parse newsegment info.
11489
11490 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11491
11492         * gst/gst.c: (init_post):
11493           split plugin paths correctly
11494
11495 2005-10-11  Wim Taymans  <wim@fluendo.com>
11496
11497         * check/gst/gstevent.c: (GST_START_TEST):
11498         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11499         (gst_base_sink_change_state):
11500         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11501         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11502         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11503         * gst/gstevent.c: (gst_event_new_newsegment),
11504         (gst_event_parse_newsegment):
11505         * gst/gstevent.h:
11506         Added extra flag to newsegment for future API freeze.
11507         Updated check and base elements.
11508
11509 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11510
11511         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11512         (gst_collectpads_add_pad), (gst_collectpads_pop),
11513         (gst_collectpads_event), (gst_collectpads_chain):
11514         * gst/base/gstcollectpads.h: Handle EOS correctly.
11515
11516 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11517
11518         * tools/gst-launch.c: (main):
11519           more null protecting
11520
11521 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11522
11523         * gst/gst-i18n-lib.h:
11524           check for ENABLE_NLS, not GETTEXT_PACKAGE
11525         * gst/gstregistry.c: (gst_registry_add_plugin),
11526         (gst_registry_scan_path_level),
11527         (_gst_registry_remove_cache_plugins):
11528           protect possibly NULL strings
11529         * gst/parse/types.h:
11530           config.h already included before
11531         * tools/gst-inspect.c: (main):
11532           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11533           check for ENABLE_NLS, not GETTEXT_PACKAGE
11534         * tools/gst-launch.c: (main):
11535           check for ENABLE_NLS, not GETTEXT_PACKAGE
11536
11537 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11538
11539         * configure.ac:
11540           if we don't have glib, fail before testing 2.8
11541         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11542           fix a leak, should fix plugins-base testsuite
11543
11544 2005-10-11  Andy Wingo  <wingo@pobox.com>
11545
11546         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11547         take the mode we're going to as an arg. Go head and set the mode
11548         and flushing flags now, so that if the activate function starts a
11549         thread all the flags will be in the right state.
11550         (post_activate): Renamed also. Just handle making sure streaming
11551         finishes for the deactivation case, and setting the deactivated
11552         mode.
11553         (gst_pad_set_active): Complain loudly if deactivation fails.
11554         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11555         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11556         remove the terrible hack.
11557
11558 2005-10-11  Wim Taymans  <wim@fluendo.com>
11559
11560         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11561         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11562         (gst_bin_recalc_state), (gst_bin_change_state_func),
11563         (gst_bin_dispose), (bin_bus_handler):
11564         * gst/gstbin.h:
11565         Prepare to make current EOS message queue more generic.
11566         Fix some typos.
11567
11568         * gst/gstevent.c: (gst_event_new_newsegment),
11569         (gst_event_parse_newsegment):
11570         * gst/gstevent.h:
11571         Rename base to stream_time.
11572
11573         * gst/gstmessage.h:
11574         Fix typo in docs.
11575
11576 2005-10-11  Wim Taymans  <wim@fluendo.com>
11577
11578         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11579         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11580         (gst_bin_change_state_func), (bin_bus_handler):
11581         * gst/gstbin.h:
11582         Work on proper clock selection.
11583
11584 2005-10-11  Edward Hervey  <edward@fluendo.com>
11585
11586         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11587         * libs/gst/controller/gstcontroller.h:
11588         Added GList* version of _remove_properties() in order to be able to wrap
11589         it in bindings.
11590
11591 2005-10-11  Wim Taymans  <wim@fluendo.com>
11592
11593         * docs/design/part-states.txt:
11594         Some more docs.
11595
11596         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11597         (gst_bin_change_state_func), (bin_bus_handler):
11598         Doc updates. Don't distribute the same clock over and over again.
11599
11600         * gst/gstclock.c:
11601         * gst/gstclock.h:
11602         Doc updates.
11603
11604         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11605         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11606         (gst_pad_send_event):
11607         * gst/gstpad.h:
11608         Make probe emission threadsafe again.
11609         Register quarks and move _get_name() from utils.
11610         Doc updates.
11611
11612         * gst/gstpipeline.c: (gst_pipeline_class_init),
11613         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11614         Only redistribute the clock of it changed.
11615
11616         * gst/gstsystemclock.h:
11617         Doc updates. 
11618
11619         * gst/gstutils.c:
11620         * gst/gstutils.h:
11621         Moved the _flow_get_name() to GstPad.
11622
11623 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11624
11625         * check/gst-libs/gdp.c: (GST_START_TEST):
11626         * check/gst/gstcaps.c: (GST_START_TEST):
11627         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11628         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11629         (gst_dp_packet_from_caps):
11630           fix more valgrind warnings before turning up the heat
11631
11632 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11633
11634         * gst/parse/grammar.y:
11635           some cleanup before the hacking
11636
11637 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11638
11639         * gst/base/gstbasesrc.c: (gst_base_src_query):
11640           use conversions
11641         * gst/gstutils.c: (gst_guint64_to_gdouble),
11642         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11643         * gst/gstutils.h:
11644           externalize, basesrc uses it
11645           obviously the implementation needs testing
11646
11647 2005-10-10  Wim Taymans  <wim@fluendo.com>
11648
11649         * tests/sched/Makefile.am:
11650         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11651         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11652
11653 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11654
11655         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11656           apparently converting from guint64 to double is not implemented
11657           on MSVC
11658
11659 2005-10-10  Wim Taymans  <wim@fluendo.com>
11660
11661         * check/Makefile.am:
11662         * check/generic/states.c: (GST_START_TEST):
11663         * check/gst/gstbin.c: (GST_START_TEST):
11664         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11665         * check/states/sinks.c: (GST_START_TEST):
11666         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11667         (main):
11668         Check fixes, use API as stated in design docs, remove hacks.
11669
11670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11671         (gst_base_sink_change_state):
11672         Catch stopping our task while we're shutting down.
11673
11674         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11675         (gst_bin_remove_func), (gst_bin_get_state_func),
11676         (gst_bin_recalc_state), (gst_bin_change_state_func),
11677         (bin_bus_handler):
11678         * gst/gstbin.h:
11679         * gst/gstelement.c: (gst_element_init),
11680         (gst_element_get_state_func), (gst_element_abort_state),
11681         (gst_element_commit_state), (gst_element_lost_state),
11682         (gst_element_set_state), (gst_element_change_state),
11683         (gst_element_change_state_func):
11684         * gst/gstelement.h:
11685         New state change algorithm (see #318116)
11686
11687         * gst/gstpipeline.c: (gst_pipeline_class_init),
11688         (gst_pipeline_init), (gst_pipeline_set_property),
11689         (gst_pipeline_get_property), (do_pipeline_seek),
11690         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11691         * gst/gstpipeline.h:
11692         Remove crude state change hacks.
11693
11694         * gst/gstutils.h:
11695         Remove crude hacks.
11696
11697         * tools/gst-launch.c: (main):
11698         Fixes for state change. Needs some more work to fully use the
11699         new stuff.
11700
11701 2005-10-10  Andy Wingo  <wingo@pobox.com>
11702
11703         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11704
11705         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11706         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11707         issue.
11708
11709 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11710
11711         * gst/gstiterator.c: (gst_iterator_new):
11712           Fix my previous commit: GTypes passed to gst_iterator_new()
11713           can be fundamental types.
11714
11715 2005-10-10  Wim Taymans  <wim@fluendo.com>
11716
11717         * gst/gstelement.c: (gst_element_iterate_pad_list),
11718         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11719         (gst_element_iterate_sink_pads):
11720         Use src/sink pads lists for the respective iterators instead
11721         of filtering.
11722
11723 2005-10-10  Andy Wingo  <wingo@pobox.com>
11724
11725         Merged in popt removal + GOption addition patch from Ronald, bug
11726         #169772.
11727
11728         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11729         GstElement macros around, remove popt-related symbols, add goption
11730         stuff.
11731
11732         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11733         
11734         * docs/gst/Makefile.am:
11735         * docs/libs/Makefile.am: No POPT_CFLAGS.
11736         
11737         * examples/manual/Makefile.am:
11738         * docs/manual/basics-init.xml: Doc updates with an example.
11739         
11740         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11741         (gst_init), (parse_one_option), (parse_goption_arg):
11742         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11743         bit of hand merging and debugging to get the GOption stuff working
11744         tho.
11745         
11746         * tests/Makefile.am:
11747         * tools/Makefile.am:
11748         * tools/gst-inspect.c: (main):
11749         * tools/gst-launch.c: (main):
11750         * tools/gst-run.c: (main):
11751         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11752
11753 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11754
11755         * gst/gstiterator.c: (gst_iterator_new):
11756           Add assertions to make sure passed GType is likely to really
11757           be a GType (as the compiler won't catch it if the size and
11758           GType arguments get mixed up, see #318447).
11759
11760 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11761
11762         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11763
11764         * gst/gstbin.c: (gst_bin_iterate_sorted):
11765           Pass GType and size arguments to gst_iterator_new() in the right
11766           order (maybe we should make _new() take the GType as first argument
11767           just like _new_list()?) (#318447).
11768           
11769
11770 2005-10-10  Wim Taymans  <wim@fluendo.com>
11771
11772         * gst/gstelement.c: (gst_element_finalize):
11773         And free the GStaticRecMutex too
11774
11775 2005-10-10  Andy Wingo  <wingo@pobox.com>
11776
11777         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11778         Allocate and free the mutex properly.
11779
11780         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11781         New macros.
11782         (GstElement): The state_lock is now recursive. Rebuild your
11783         plugins, suckers. Old macros adapted.
11784
11785         * docs/gst/gstreamer-sections.txt: Doc updates.
11786
11787         * gst/gstutils.h:
11788         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11789         (g_static_rec_cond_wait): Ported from state changes patch, while
11790         we wait on bug #317802 to be solved in a well-distributed GLib.
11791
11792         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11793         gst_element_change_state, variable name changes.
11794         (gst_element_change_state): Split out of gst_element_set_state in
11795         preparation for the state change merge. Doesn't pay attention to
11796         the 'transition' argument.
11797         (gst_element_set_state): Updates, hopefully purely cosmetic.
11798         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11799         state change patch.
11800         (gst_element_get_state_func): Renamed from get_state, cosmetic
11801         changes.
11802
11803 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11804
11805         * gst/elements/gstelements.c:
11806         * win32/GStreamer.vcproj:
11807         * win32/config.h:
11808         * win32/dirent.c: (_tseekdir):
11809         * win32/gst-inspect.vcproj:
11810         * win32/gst-launch.vcproj:
11811         * win32/gstconfig.h:
11812         * win32/gstelements.vcproj:
11813         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11814         * win32/gstreamer.def:
11815         * win32/msvc71.sln:
11816           updates for the win32 build (patch from Sebastien Moutte)
11817
11818 2005-10-10  Andy Wingo  <wingo@pobox.com>
11819
11820         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11821         gst_bin_get_state, cleaned up (but no logic changes).
11822         (bin_element_is_sink): Comment updates.
11823         (sink_iterator_filter): Remove needless cast.
11824         (gst_bin_iterate_sinks): Doc update.
11825         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11826         cleaned up (but no logic changes).
11827
11828         * check/states/sinks.c (test_src_sink): Cleanups from the state
11829         change patch.
11830         (test_livesrc_sink): Sync on the state.
11831
11832         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11833         the state change patch.
11834
11835         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11836         change patch.
11837
11838         * check/gst/gstbin.c: Merge in some style fixes and additional
11839         checks from Wim's state change patch.
11840
11841 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11842
11843         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11844         (gst_type_find_helper):
11845           Check whether we have the requested data already in our list of
11846           cached buffers before pulling a new buffer; also make the buffer
11847           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11848
11849 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11850
11851         * gst/gstcaps.c:
11852         * gst/gstevent.c:
11853           doc updates
11854         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11855           don't use long long, it's not portable.  Replacing with
11856           gint64 seems to work; let's hope no skeletons fall out of the closet.
11857
11858 2005-10-10  Andy Wingo  <wingo@pobox.com>
11859
11860         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11861
11862 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11863
11864         * docs/gst/gstreamer-sections.txt:
11865         * gst/gstevent.c:
11866         * gst/gstevent.h:
11867         * gst/gstinfo.c:
11868         * gst/gstinfo.h:
11869         * gst/gstmessage.c: (gst_message_parse_state_changed):
11870         * gst/gstpad.c:
11871         * gst/gstpad.h:
11872           more docs, fix compilation
11873
11874 2005-10-09  Philippe Khalaf <burger@speedy.org>
11875         * gst/gstmessage.c:
11876           Fixed a few forgotten variables on previous commit
11877
11878 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11881           Fix evil typefind crasher: getrange() might return a short
11882           buffer at the end of a file, but gst_type_find_peek() must
11883           either return the full data as requested or NULL, but
11884           never a short buffer.
11885
11886 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11887
11888         * gst/gstmessage.c: (gst_message_new_state_changed),
11889         (gst_message_parse_state_changed):
11890         * gst/gstmessage.h:
11891           don't use "new", it's a C++ keyword
11892
11893 2005-10-08  Wim Taymans  <wim@fluendo.com>
11894
11895         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11896         * gst/gstelement.c: (gst_element_post_message):
11897         * gst/gstpipeline.c: (gst_pipeline_change_state):
11898         Small docs and debug updates.
11899
11900 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11901
11902         * docs/gst/gstreamer-sections.txt:
11903         * gst/gstelementfactory.c:
11904         * gst/gstevent.c:
11905         * gst/gsttaglist.c:
11906           more docs
11907
11908 2005-10-08  Wim Taymans  <wim@fluendo.com>
11909
11910         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11911         (gst_bin_dispose), (bin_bus_handler):
11912         Fix typos, add comments.
11913         Clear EOS list when going to PAUSED from any direction and do it
11914         in a threadsafe way.
11915         Get base time in a threadsafe way too.
11916         Fix confusing debug in the change_state function.
11917         Various other small cleanups.
11918         
11919         * gst/gstelement.c: (gst_element_post_message):
11920         Fix very verbose bus posting code.
11921
11922         * gst/gstpipeline.c: (gst_pipeline_class_init),
11923         (gst_pipeline_set_property), (gst_pipeline_get_property),
11924         (gst_pipeline_change_state):
11925         Small ARG_ -> PROP_ cleanup
11926
11927 2005-10-08  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11930         Do a less CPU demanding EOS check because we can.
11931
11932 2005-10-08  Wim Taymans  <wim@fluendo.com>
11933
11934         * libs/gst/dataprotocol/dataprotocol.c:
11935         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11936         (gst_dp_packet_from_event):
11937         * libs/gst/dataprotocol/dataprotocol.h:
11938         * libs/gst/dataprotocol/dp-private.h:
11939         It's about time we bump the version number.
11940         Since event types don't fit in the guint8 anymore describing
11941         the payload type, make payload type 16 bits wide.
11942
11943 2005-10-08  Wim Taymans  <wim@fluendo.com>
11944
11945         * docs/design/part-TODO.txt:
11946         * docs/design/part-clocks.txt:
11947         * docs/design/part-events.txt:
11948         * docs/design/part-gstbin.txt:
11949         * docs/design/part-gstelement.txt:
11950         * docs/design/part-gstpipeline.txt:
11951         * docs/design/part-live-source.txt:
11952         * docs/design/part-messages.txt:
11953         * docs/design/part-overview.txt:
11954         * docs/design/part-states.txt:
11955         Many doc updates.
11956
11957 2005-10-08  Wim Taymans  <wim@fluendo.com>
11958
11959         * gst/gstevent.c:
11960         * gst/gstevent.h:
11961         Fix event quark registration.
11962         Add some space between events so we can insert them in the
11963         right groups.
11964
11965 2005-10-08  Wim Taymans  <wim@fluendo.com>
11966
11967         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11968         (gst_base_sink_handle_buffer):
11969         Better log message.
11970
11971         * gst/gstbus.h:
11972         * gst/gstelement.h:
11973         More docs.
11974
11975         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11976         (gst_queue_set_property), (gst_queue_get_property):
11977         * gst/gstqueue.h:
11978         Remove old unused properties.
11979
11980 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11981         * docs/gst/gstreamer-sections.txt:
11982         * gst/gstmessage.c:
11983         * gst/gstmessage.h:
11984         * gst/gstminiobject.c:
11985         * gst/gstminiobject.h:
11986         * gst/gstobject.h:
11987         * gst/gstpad.h:
11988         * gst/gstutils.h:
11989           lots of new docs and doc fixes
11990
11991 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11992
11993         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11994         * gst/gstplugin.h:
11995         * gst/gstregistry.c: (gst_registry_lookup_locked),
11996         (gst_registry_scan_path_level):
11997         * gst/gstregistryxml.c: (load_plugin):
11998           Only ever load one plugin for a given plugin basename.
11999           This ensures correct overriding of GST_PLUGIN_PATH over
12000           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12001           system installed plugins.
12002
12003 2005-10-08  Wim Taymans  <wim@fluendo.com>
12004
12005         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12006         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12007         Prepare for doing QOS.
12008
12009 2005-10-08  Wim Taymans  <wim@fluendo.com>
12010
12011         * check/gst/gstbin.c: (GST_START_TEST):
12012         * check/pipelines/cleanup.c: (GST_START_TEST):
12013         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12014         Allow new clock message too.
12015
12016 2005-10-08  Wim Taymans  <wim@fluendo.com>
12017
12018         * gst/gstmessage.c: (gst_message_new_error),
12019         (gst_message_new_warning), (gst_message_new_tag),
12020         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12021         (gst_message_new_clock_lost), (gst_message_new_new_clock),
12022         (gst_message_new_segment_start), (gst_message_new_segment_done),
12023         (gst_message_parse_state_changed),
12024         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12025         (gst_message_parse_new_clock):
12026         * gst/gstmessage.h:
12027         Also carry the clock in question.
12028
12029 2005-10-08  Wim Taymans  <wim@fluendo.com>
12030
12031         * gst/gstmessage.c: (gst_message_new_custom),
12032         (gst_message_new_eos), (gst_message_new_error),
12033         (gst_message_new_warning), (gst_message_new_tag),
12034         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12035         (gst_message_new_new_clock), (gst_message_new_segment_start),
12036         (gst_message_new_segment_done), (gst_message_parse_state_changed),
12037         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12038         * gst/gstmessage.h:
12039         Clean up.
12040         Added clock related messages.
12041
12042         * gst/gstpipeline.c: (gst_pipeline_change_state):
12043         Post message when the clock changed.
12044
12045         * tools/gst-launch.c: (event_loop):
12046         Print new clock.
12047
12048 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12049
12050         * tools/gst-inspect.c: (print_element_properties_info):
12051           Can't pass NULL strings to g_print() on windows.
12052
12053 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12054
12055         * docs/Makefile.am:
12056         * docs/gst/Makefile.am:
12057         * docs/gst/gstreamer-docs.sgml:
12058         * docs/gst/running.xml:
12059         * docs/version.entities.in:
12060           add a chapter on running GStreamer.
12061           document GST_DEBUG and GST_PLUGIN* env vars
12062
12063 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12064
12065         * Makefile.am:
12066           remove include dir
12067         * configure.ac:
12068           remove PLUGINS_BUILDDIR stuff
12069         * gst/gst.c: (init_post):
12070           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12071         * idiottest.mak:
12072           remove, it was condescending and not needed
12073
12074 2005-10-08  Wim Taymans  <wim@fluendo.com>
12075
12076         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12077         (gst_base_sink_handle_object), (gst_base_sink_event),
12078         (gst_base_sink_wait), (gst_base_sink_handle_event),
12079         (gst_base_sink_change_state):
12080         * gst/base/gstbasesink.h:
12081         Repost EOS message while going to PLAYING if still EOS.
12082         Make sure that when receiving a FLUSH_START we don't attempt
12083         to sync on the clock anymore.
12084
12085 2005-10-08  Wim Taymans  <wim@fluendo.com>
12086
12087         * tools/gst-launch.c: (event_loop):
12088         Better message printout.
12089
12090 2005-10-08  Wim Taymans  <wim@fluendo.com>
12091
12092         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12093         (gst_bin_child_proxy_get_children_count):
12094         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12095         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12096         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12097         (gst_child_proxy_set_valist):
12098         * gst/parse/grammar.y:
12099         Make ChildProxy threadsafe and fix mem leaks.
12100
12101 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12102
12103         * gst/gst.c: (init_post):
12104           debug the GST_PLUGIN_ env vars
12105
12106 2005-10-08  Wim Taymans  <wim@fluendo.com>
12107
12108         * check/gst/gstbin.c: (GST_START_TEST):
12109         * check/gst/gstmessage.c: (GST_START_TEST):
12110         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12111         * gst/gstelement.c: (gst_element_commit_state),
12112         (gst_element_lost_state):
12113         * gst/gstmessage.c: (gst_message_new_state_changed),
12114         (gst_message_parse_state_changed):
12115         * gst/gstmessage.h:
12116         * tools/gst-launch.c: (event_loop):
12117         Added extra field to STATE_CHANGE message with the pending
12118         state, which will be different from the new state soon.
12119
12120 2005-10-08  Wim Taymans  <wim@fluendo.com>
12121
12122         * gst/gstbus.c: (gst_bus_pop):
12123         * gst/gstclock.c:
12124         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12125         Small cleanups and doc updates.
12126
12127 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12128
12129         * gst/gst.c: (init_pre):
12130         * gst/gstbin.c: (gst_bin_add_func):
12131           log distributing clocks and base time
12132         * gst/gstregistry.c: (gst_registry_add_plugin),
12133         (gst_registry_scan_path_level), (gst_registry_scan_path):
12134           clean up the debugging output a little
12135         * gst/gstutils.c: (gst_element_state_get_name):
12136           warn about a memleak (I've actually seen this be used, though
12137           it was probably a bug)
12138
12139 2005-10-07  Wim Taymans  <wim@fluendo.com>
12140
12141         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12142         (gst_base_src_init), (gst_base_src_default_newsegment),
12143         (gst_base_src_newsegment), (gst_base_src_do_seek),
12144         (gst_base_src_loop), (gst_base_src_start):
12145         * gst/base/gstbasesrc.h:
12146         Make the newsegment event customizable by subclasses.
12147
12148 2005-10-07  Wim Taymans  <wim@fluendo.com>
12149
12150         * gst/gstevent.c: (gst_event_new_buffersize),
12151         (gst_event_parse_buffersize):
12152         * gst/gstevent.h:
12153         New event for future idea.
12154
12155 2005-10-07  Andy Wingo  <wingo@pobox.com>
12156
12157         * gst/gstelement.c (gst_element_post_message): Doc update.
12158
12159         * docs/gst/gstreamer-sections.txt: Update.
12160
12161         * gst/gstmessage.c (gst_message_new_application): Made into a
12162         function like honest API calls.
12163         (gst_message_new_element): New message type.
12164
12165         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12166
12167         * check/elements/fakesrc.c (test_no_preroll): New check, checks
12168         that setting a live fakesrc to PAUSED returns NO_PREROLL both
12169         times.
12170
12171         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12172         NO_PREROLL from gst_element_change_state to fall through.
12173
12174 2005-10-07  Wim Taymans  <wim@fluendo.com>
12175
12176         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12177         (gst_ghost_pad_do_activate_push):
12178         Activating a ghostpad with no internal pad in push mode
12179         is ok.
12180
12181 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12182
12183         * gst/gstobject.h:
12184           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12185           Fixes compilation on Windows.
12186
12187 2005-10-07  Michael Smith <msmith@fluendo.com>
12188
12189         * tools/gst-inspect.c:
12190           Print out feature and plugin count at the end when printing out
12191           all features.
12192
12193 2005-10-04  Michael Smith <msmith@fluendo.com>
12194
12195         * gst/gsterror.c: (_gst_stream_errors_init):
12196           Add another error string used in a few existing plugins.
12197
12198         * gst/gstplugin.c:
12199         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12200         * tools/gst-inspect.c: (print_element_info):
12201           When a feature disappears from a plugin (and the feature exists in
12202           the cached registry file), things went horribly wrong. This isn't a
12203           complete fix, we should actually be removing the 'missing' features
12204           from the features list when we load the actual plugin. That's not
12205           yet implemented. 
12206
12207 2005-10-04  Johan Dahlin  <johan@gnome.org>
12208
12209         * check/gst/gstiterator.c: (GST_START_TEST):
12210         * gst/gstbin.c: (gst_bin_iterate_elements),
12211         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12212         * gst/gstelement.c: (gst_element_iterate_pads):
12213         * gst/gstformat.c: (gst_format_iterate_definitions):
12214         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12215         (gst_iterator_new_list), (gst_iterator_filter):
12216         * gst/gstiterator.h:
12217         * gst/gstquery.c: (gst_query_type_iterate_definitions):
12218         Add a GType to GstIterator, update callsites and tests.
12219
12220 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12221
12222         * gst/gstpad.c: (gst_pad_event_default_dispatch):
12223           give events a chance to be handled by event probes when the pad
12224           is not linked
12225
12226 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12227
12228         * gst/gstevent.c: (gst_event_type_get_name),
12229         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12230         * gst/gstevent.h:
12231           add string representations for event types
12232
12233 2005-10-06  Wim Taymans  <wim@fluendo.com>
12234
12235         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12236         Don't use NULL pointers.
12237
12238 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12239
12240         * gst/gst_private.h:
12241         * gst/gstbus.c:
12242         * gst/gstelement.c:
12243         * gst/gstinfo.c:
12244         * gst/gstpluginfeature.c:
12245           widen the debug category in output to fit the biggest one we have
12246           add a bus category and use it
12247           play with the colors
12248           fix up some categories
12249
12250 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12251
12252         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12253           add push activation of sink ghost pads.
12254           Andye, please verify
12255
12256 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12257
12258         * gst/gstutils.c: (gst_element_link_pads):
12259           fix a bug in the case where neither element has a pad
12260         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12261           add a test for that case
12262
12263 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12264
12265         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12266           emit have-data before checking for peers.  This allows
12267           for probe handlers to connect elements.  This helps autopluggers.
12268         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12269         (gst_pad_suite):
12270           add six checks, linked/unlinked with no/true/false probe
12271
12272 2005-10-04  Wim Taymans  <wim@fluendo.com>
12273
12274         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12275         (gst_fake_sink_event), (gst_fake_sink_preroll),
12276         (gst_fake_sink_render), (gst_fake_sink_change_state):
12277         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12278         (gst_fake_src_get_property), (gst_fake_src_create),
12279         (gst_fake_src_stop):
12280         * gst/elements/gstidentity.c: (gst_identity_stop):
12281         Protect last_message with lock.
12282
12283 2005-10-04  Edward Hervey  <edward@fluendo.com>
12284
12285         * gst/gstformat.h: 
12286         Added precision in the comments for GST_FORMAT_DEFAULT
12287
12288 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12289
12290         * tools/gst-launch.c: (main):
12291           Don't try to run erroneous pipelines.
12292
12293 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12294
12295         * gst/gstbus.c: We don't need this header.
12296
12297 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12298
12299         * configure.ac:
12300           back to development
12301
12302 === release 0.9.3 ===
12303
12304 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * README:
12307         * configure.ac:
12308           Releasing 0.9.3, "Unregistered"
12309
12310 2005-10-03  Andy Wingo  <wingo@pobox.com>
12311
12312         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12313         whereby calling a pad's activatepush() function can start a thread
12314         that starts to push or pull before the pad gets the FLUSHING flag
12315         unset. Hack around it by holding the stream lock until the flag is
12316         set. Need to replace this with a proper solution. Together with
12317         the ghost pad fixes, this fixes mp3 playing/tagreading.
12318
12319         * docs/design/part-gstghostpad.txt: Add a note about activation of
12320         proxy pads outside of ghost pads.
12321
12322         * gst/gstghostpad.c: Implement the ghost pad activation design.
12323
12324 2005-10-02  Andy Wingo  <wingo@pobox.com>
12325
12326         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12327         It is volatile, after all.
12328
12329         * docs/design/part-gstghostpad.txt: Flesh out activation with
12330         ghost pads.
12331
12332         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12333         GST_DEBUG_FUNCPTR.
12334
12335 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12336
12337         * configure.ac:
12338           Fix (unused) AM_CONDITIONAL tests.
12339
12340 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12341
12342         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12343
12344         * gst/gstutils.c: (gst_pad_query_convert):
12345           Add assertion that makes sure src_val is >=0, just like
12346           gst_query_new_convert() has. (#315895)
12347
12348 2005-09-30  Edward Hervey  <edward@fluendo.com>
12349
12350         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12351         Let's not iterate pads we're not interested in, it avoids getting 
12352         sky-high refcounts on sinkpad.
12353
12354 2005-09-30  Wim Taymans  <wim@fluendo.com>
12355
12356         * gst/gstelement.c: (gst_element_set_state),
12357         (gst_element_change_state):
12358         Small tweak, element in ASYNC remains ASYNC.
12359
12360 2005-09-30  Wim Taymans  <wim@fluendo.com>
12361
12362         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12363         Only error is an error.
12364
12365         * gst/gstbin.c: (gst_bin_change_state):
12366         Better debugging.
12367
12368         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12369         Also call pad_block in pad alloc.
12370
12371         * gst/gstutils.c: (gst_flow_get_name):
12372         Better debugging.
12373
12374 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12375
12376         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12377         (gst_base_src_get_range):
12378           Fix documentation typos. Add some more debug info.
12379
12380 2005-09-29  David Schleef  <ds@schleef.org>
12381
12382         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12383           more end-user friendly.
12384         * tools/gst-inspect.c: (main): Check if command-line argument is
12385           a file and attempt to load that file as a plugin.
12386
12387 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         * check/gst/gstbin.c:
12390         * check/states/sinks.c:
12391           fix tests for the new warning
12392         * check/gst/gstpipeline.c:
12393           add a test for pipeline and bus interaction
12394         * gst/gstelement.c:
12395           elements should be NULL if they get disposed; add a warning if not
12396
12397 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12398
12399         * gst/gstobject.c:
12400           for 2.6 refcounting, make debug log more correct by printing
12401           the actual refcounts at the time of swap (Wim)
12402
12403 2005-09-29  Andy Wingo  <wingo@pobox.com>
12404
12405         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12406         removes signal watches previously added via
12407         gst_bus_add_signal_watch.
12408         (gst_bus_add_signal_watch): Don't return the source id, just store
12409         it on the bus if there wasn't an id already.
12410
12411         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12412         add_signal_watch and remove_signal_watch.
12413
12414 2005-09-29  Edward Hervey  <edward@fluendo.com>
12415
12416         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12417         Better if we actually iterate the list :)
12418
12419 2005-09-29  Wim Taymans  <wim@fluendo.com>
12420
12421         * check/gst/gstbin.c: (GST_START_TEST):
12422         Change for new bus API.
12423
12424         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12425         (send_messages), (GST_START_TEST), (gstbus_suite):
12426         Change for new bus signal API.
12427
12428         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12429         (gst_bus_source_prepare), (gst_bus_source_check),
12430         (gst_bus_create_watch), (gst_bus_add_watch_full),
12431         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12432         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12433         * gst/gstbus.h:
12434         Remove support for multiple GSources operating on different
12435         message types as it is too complex and unneeded when using
12436         signals.
12437         Added support for receiving signals from the bus.
12438
12439 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12440
12441         * docs/libs/tmpl/gstdataprotocol.sgml:
12442         * docs/manual/advanced-dataaccess.xml:
12443         * gst/elements/gstcapsfilter.c:
12444         * gst/gstutils.c:
12445           rename filter-caps to caps property
12446
12447 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12448
12449         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12450           More robust fraction string parsing.
12451
12452         * docs/pwg/appendix-porting.xml:
12453           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12454
12455 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12456
12457         * gst/gstcaps.c: (gst_caps_do_simplify):
12458           Thou shalt not free a structure and then continue using it
12459           in the next loop iteration.
12460
12461         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12462         (gst_caps_suite):
12463           Add test case for caps simplification.
12464
12465 2005-09-29  Wim Taymans  <wim@fluendo.com>
12466
12467         * check/gst/gstbin.c: (GST_START_TEST):
12468         Oops.
12469
12470 2005-09-29  Wim Taymans  <wim@fluendo.com>
12471
12472         * check/gst/gstbin.c: (GST_START_TEST):
12473         Add bus to bin.
12474
12475         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12476         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12477         (find_element), (gst_bin_sort_iterator_next),
12478         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12479         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12480         (gst_bin_change_state), (gst_bin_dispose):
12481         A bin does not have a bus, it gets the bus from the parent.
12482
12483         * gst/gstelement.c: (gst_element_requires_clock),
12484         (gst_element_provides_clock), (gst_element_is_indexable),
12485         (gst_element_is_locked_state), (gst_element_change_state),
12486         (gst_element_set_bus_func):
12487         Small cleanups.
12488
12489         * gst/gstpipeline.c: (gst_pipeline_class_init),
12490         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12491         The pipeline provides a bus.
12492
12493 2005-09-28  Johan Dahlin  <johan@gnome.org>
12494
12495         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12496         gst_structure_get_enum instead of gst_structure_get_int
12497
12498         * gst/gststructure.c (gst_structure_get_enum): Impl.
12499
12500         * gst/gststructure.h (gst_structure_get_enum): Add
12501
12502         * docs/gst/gstreamer-sections.txt: Ditto
12503
12504         * gst/gstmessage.c (gst_message_new_state_changed): Use
12505         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12506         which does introspection.
12507         Reviewed by Christian Schaller
12508
12509 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12510
12511         * gst/gstinfo.c: (gst_debug_log_default):
12512           don't do dummy g_strdup()s
12513         * libs/gst/controller/gstcontroller.c:
12514         (on_object_controlled_property_changed),
12515         (gst_controlled_property_new), (gst_controller_new_valist),
12516         (gst_controller_new_list),
12517         (gst_controller_remove_properties_valist), (gst_controller_set),
12518         (gst_controller_get), (gst_controller_sync_values),
12519         (gst_controller_get_value_array), (_gst_controller_class_init),
12520         (gst_controller_get_type):
12521         * libs/gst/controller/gstcontroller.h:
12522         * libs/gst/controller/gstinterpolation.c:
12523         (gst_controlled_property_find_timed_value_node):
12524           convert // to /**/ comments
12525
12526 2005-09-28  Wim Taymans  <wim@fluendo.com>
12527
12528         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12529         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12530         (gst_bus_sync_signal_handler):
12531         * gst/gstbus.h:
12532         Added async-message and sync-message signals to the bus.
12533         Added helper BusFunc to emit signals for all posted messages.
12534
12535         * gst/gstmessage.c: (gst_message_type_get_name),
12536         (gst_message_type_to_quark), (gst_message_get_type):
12537         * gst/gstmessage.h:
12538         Register quarks for message names.
12539
12540 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12541
12542         * docs/libs/gstreamer-libs-sections.txt:
12543         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12544         (gst_controller_new_list):
12545         * libs/gst/controller/gstcontroller.h:
12546           added another constructor for language bindings
12547
12548 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12549
12550         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12551           add another check
12552         * gst/gstbus.c:
12553           add some doc
12554         * gst/gstinfo.c: (_gst_debug_init):
12555           slightly more readable color for refcount debugging
12556
12557 2005-09-28  Wim Taymans  <wim@fluendo.com>
12558
12559         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12560         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12561         (find_element), (gst_bin_sort_iterator_next),
12562         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12563         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12564         (gst_bin_change_state), (gst_bin_dispose):
12565         Small doc fixes. get_clock -> provide_clock.
12566
12567         * gst/gstelement.c: (gst_element_class_init),
12568         (gst_element_provides_clock), (gst_element_provide_clock),
12569         (gst_element_get_clock), (gst_element_commit_state),
12570         (gst_element_lost_state):
12571         * gst/gstelement.h:
12572         Make get/set_clock() symetric. Add provide_clock vmethod since
12573         that is actually what this function does.
12574
12575         * gst/gstpipeline.c: (gst_pipeline_class_init),
12576         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12577         (gst_pipeline_get_clock):
12578         get_clock -> provide_clock.
12579
12580 2005-09-28  Andy Wingo  <wingo@pobox.com>
12581
12582         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12583         lieu of real docs...
12584
12585         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12586
12587 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12588
12589         * gst/elements/gstcapsfilter.c:
12590         * gst/elements/gstfakesink.c:
12591         * gst/elements/gstfakesrc.c:
12592         * gst/elements/gstfdsink.c:
12593         * gst/elements/gstfdsrc.c:
12594         * gst/elements/gstfilesink.c:
12595         * gst/elements/gstfilesrc.c:
12596         * gst/elements/gstidentity.c:
12597         * gst/elements/gsttee.c:
12598         * gst/elements/gsttypefindelement.c:
12599           Make element details static.
12600
12601 2005-09-28  Wim Taymans  <wim@fluendo.com>
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), (gst_bin_dispose):
12608         Some documentation updates.
12609         Clean up dispose handlers.
12610
12611         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12612         * gst/gstpad.c: (gst_pad_dispose):
12613         Clean up dispose handler.
12614
12615         * gst/gstpipeline.c: (gst_pipeline_change_state):
12616         Removed spurious UNLOCK.
12617
12618 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12619
12620         * docs/gst/gstreamer-sections.txt:
12621         * gst/base/gstbasesrc.h:
12622         * gst/gstelement.h:
12623         * gst/gstevent.h:
12624         * gst/gstobject.h:
12625         * gst/gstpad.h:
12626         * gst/gstpipeline.c:
12627         * gst/gstpipeline.h:
12628         * gst/gstutils.h:
12629         * gst/gstxml.h:
12630           added two new functions to the docs
12631                 documents all undocumented GstXXXFlags
12632                 completed some incomplete docs 
12633
12634 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12635
12636         * gst/gstbin.c: (gst_bin_dispose):
12637         * gst/gstelement.c: (gst_element_dispose):
12638           remove now useless and leaky resurrection code in dispose
12639         * gst/base/gstbasesrc.c: (gst_base_src_init):
12640         * gst/gstelementfactory.c: (gst_element_factory_create):
12641         * gst/gstobject.c: (gst_object_set_parent):
12642           add some debugging
12643
12644 2005-09-27  Wim Taymans  <wim@fluendo.com>
12645
12646         * docs/design/part-TODO.txt:
12647         Update TODO.
12648
12649         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12650         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12651         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12652         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12653         (gst_bin_change_state):
12654         * gst/gstelement.h:
12655         Remove element variable, we keep element info in the iterator now.
12656
12657 2005-09-27  Andy Wingo  <wingo@pobox.com>
12658
12659         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12660         values.
12661
12662 2005-09-27  Wim Taymans  <wim@fluendo.com>
12663
12664         * check/gst/gstbin.c: (GST_START_TEST):
12665         Enable check that works now.
12666
12667         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12668         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12669         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12670         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12671         (gst_bin_change_state):
12672         * gst/gstbin.h:
12673         Redid the state change algorithm using a topological sort algo.
12674         Handles all cases correctly.
12675         Exposed iterator for state change order.
12676
12677         * gst/gstelement.h:
12678         Temp storage for state changes. Need to get rid of this soon.
12679
12680 2005-09-27  Wim Taymans  <wim@fluendo.com>
12681
12682         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12683         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12684         (link_fold_func), (gst_pad_proxy_setcaps):
12685         Leak fixes, the fold functions need to unref the passed object and
12686         _get_parent_*() returns ref to parent.
12687
12688 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12689
12690         * check/gst/gstbuffer.c: (test_make_writable):
12691           Plug leak in test case and fix 'make check-valgrind'
12692
12693 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * gst/gstbuffer.c: (gst_subbuffer_init):
12696           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12697           works correctly in all circumstances (we could have just copied
12698           the parent buffer's readonly flag, but conceptually it seems
12699           cleaner to mark all subbuffers as read-only). (based on patch
12700           by Alessandro Decina, #314710).
12701         
12702         * check/gst/gstbuffer.c: (create_read_only_buffer),
12703         (test_make_writable), (test_subbuffer_make_writable),
12704         (gst_test_suite):
12705           Add some tests for gst_buffer_make_writable().
12706
12707 2005-09-27  Wim Taymans  <wim@fluendo.com>
12708
12709         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12710         use gst_object_has_ancestor().
12711
12712         * gst/gstobject.c: (gst_object_has_ancestor):
12713         * gst/gstobject.h:
12714         gst_object_has_ancestor() copied from gstbin.c as it is a
12715         usefull function.
12716
12717         * tests/instantiate/create.c: (create_all_elements):
12718         * tests/lat.c: (handoff_src), (handoff_sink):
12719         * tests/sched/runxml.c: (main):
12720         * tests/seeking/seeking1.c: (main):
12721         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12722         (main):
12723         Fix compilation of some tests.
12724
12725 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12726
12727         * gst/gsterror.h:
12728           Remove comment. GST_TYPE_G_ERROR is here to stay,
12729           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12730           (#316961, #300610).
12731
12732 2005-09-26  Wim Taymans  <wim@fluendo.com>
12733
12734         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12735         Added check that shows error in state change order.
12736
12737 2005-09-26  Wim Taymans  <wim@fluendo.com>
12738
12739         * gst/gstbin.c: (gst_bin_change_state):
12740         Make state change function use 3 queues again, we were
12741         adding elements in the wrong order.
12742
12743         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12744         Some debug info,
12745
12746         * gst/gstpad.c: (gst_pad_dispose):
12747         Added some debug info first.
12748
12749 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12750
12751         * docs/design/draft-push-pull.txt:
12752         * docs/design/part-events.txt:
12753         * docs/design/part-overview.txt:
12754         * docs/design/part-scheduling.txt:
12755           Replace all _pull_region() with _pull_range()
12756           
12757 2005-09-26  Andy Wingo  <wingo@pobox.com>
12758
12759         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12760
12761         * check/gst-libs/controller.c: Update for controller api change.
12762
12763         * configure.ac: 
12764         * tests/Makefile.am:
12765         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12766         over by GLib bug 118439.
12767         
12768         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12769         routines to a function.
12770
12771         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12772
12773         * libs/gst/controller/gsthelper.c:
12774         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12775         (gst_object_sync_values): Renamed from sink_values. Ugh.
12776
12777         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12778
12779         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12780         Renamed from controller_key, as it is exported.
12781
12782         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12783
12784 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12785
12786         * gst/Makefile.am:
12787         * gst/gst.h:
12788         * gst/gstpad.h:
12789         * gst/gstpadtemplate.h:
12790         * gst/gstquery.c:
12791         * gst/gstquery.h:
12792         * gst/gstqueryutils.c:
12793         * gst/gstqueryutils.h:
12794           remove queryutils headers after moving the two used functions
12795           to gstquery.  also fixes build problem for gstsiddec
12796
12797 2005-09-26  Michael Smith <msmith@fluendo.com>
12798
12799         * tools/gst-launch.1.in:
12800         Correct documentation in manpage of debug syntax
12801
12802 2005-09-26  Wim Taymans  <wim@fluendo.com>
12803
12804         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12805         (gst_base_src_is_seekable), (gst_base_src_change_state):
12806         Some more debugging info.
12807
12808 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12809
12810         * docs/gst/gstreamer-sections.txt:
12811         * gst/base/gstbasetransform.h:
12812         * gst/gstindex.h:
12813           added more docs
12814
12815 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12816
12817         * docs/gst/.cvsignore:
12818         * docs/gst/tmpl/.cvsignore:
12819         * docs/gst/tmpl/gstpipeline.sgml:
12820         * docs/gst/tmpl/gstplugin.sgml:
12821         * gst/gstpipeline.c:
12822         * gst/gstplugin.c:
12823         * gst/gstplugin.h:
12824           inlined the last two docs files
12825           removed the tmpl directory from cvs (no more conflicts here!)
12826
12827 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12828
12829         * docs/gst/gstreamer-sections.txt:
12830         * docs/gst/tmpl/.cvsignore:
12831         * docs/gst/tmpl/gstpad.sgml:
12832         * docs/gst/tmpl/gstpadtemplate.sgml:
12833         * gst/Makefile.am:
12834         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12835         (gst_pad_finalize), (gst_pad_set_pad_template):
12836         * gst/gstpad.h:
12837         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12838         (gst_pad_template_class_init), (gst_pad_template_init),
12839         (gst_pad_template_dispose), (name_is_valid),
12840         (gst_static_pad_template_get), (gst_pad_template_new),
12841         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12842         (gst_pad_template_pad_created):
12843         * gst/gstpadtemplate.h:
12844           inlined two more docs
12845           factored gstpadtemplate out of gstpad
12846
12847 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12848
12849         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12850         (test_children_state_change_order_semi_sink):
12851           Fix test case: we can't rely on a fixed state change order when
12852           going from READY => PAUSED because the sink might commit its 
12853           new state first when the first buffer created by the source 
12854           reaches the sink before the source has finished its change state.
12855           (Test case still fails at times, see #316856, comment 5 onwards)
12856
12857 2005-09-24  Wim Taymans  <wim@fluendo.com>
12858
12859         * docs/design/part-events.txt:
12860         * docs/design/part-gstbus.txt:
12861         * docs/design/part-gstpipeline.txt:
12862         * docs/design/part-messages.txt:
12863         * docs/design/part-overview.txt:
12864         * docs/design/part-segments.txt:
12865         * gst/gstbin.c:
12866         * gst/gstbuffer.c:
12867         * gst/gstclock.c:
12868         * gst/gstelement.c:
12869         * gst/gstevent.c:
12870         * gst/gstfilter.c:
12871         * gst/gstiterator.c:
12872         Various documentation updates.
12873
12874 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12875
12876         * gst/gstclock.h:
12877           Well, that's embarassing.  Luckily we weren't using
12878           GST_CLOCK_DIFF anywhere.
12879
12880 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12881
12882         * common/gtk-doc.mak:
12883           don't fail on building XML, FC4 slave shows a bunch of doc
12884           missing bits that I don't get
12885         * gst/gstpad.c:
12886         * gst/gstpipeline.c:
12887         * gst/gststructure.c:
12888           some doc updates
12889
12890 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12891
12892         * docs/design/part-gstbin.txt:
12893         * docs/design/part-gstbus.txt:
12894         * gst/gstbus.c:
12895           Add blurb about how the bus goes into flushing mode and
12896           drops all messages when its bin goes from READY into NULL 
12897           state.
12898
12899 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12900
12901         * docs/gst/gstreamer-sections.txt:
12902         * gst/gststructure.c: (gst_structure_get_clock_time):
12903         * gst/gststructure.h:
12904           add a method to get a GstClockTime out of a structure
12905
12906 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12909         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12910           Added test to check state change order in bins (can still be made
12911           to fail here under heavy disk load; bails out with 'Push on pad
12912           fakesink:sink0, but it was not activated in push mode').
12913
12914         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12915           Fix state change order when there is only a semi sink (#316856)
12916
12917         * gst/gstbus.c: (gst_bus_class_init):
12918           Use _class_peek_parent(), not _class_ref(); fix docs to say
12919           'default main context' instead of 'mainloop' where that is
12920           what's meant.
12921
12922         * gst/gstelement.c: (gst_element_commit_state),
12923         (gst_element_set_state):
12924           Fix typos in debug messages
12925
12926 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12927
12928         * docs/README:
12929         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12930         * gst/gstpluginfeature.c:
12931         * gst/gstutils.c:
12932           various doc updates
12933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12934           change an assert into an error until it gets fixed properly
12935
12936 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12937
12938         * docs/gst/gstreamer-sections.txt:
12939         * docs/gst/tmpl/.cvsignore:
12940         * docs/gst/tmpl/gstelement.sgml:
12941         * docs/gst/tmpl/gstinfo.sgml:
12942         * docs/gst/tmpl/gstobject.sgml:
12943         * gst/gstelement.c:
12944         * gst/gstelement.h:
12945         * gst/gstinfo.c:
12946         * gst/gstinfo.h:
12947         * gst/gstobject.c: (gst_object_class_init):
12948         * gst/gstobject.h:
12949           inlined 3 more biiiig doc files and added some missing docs on the fly
12950
12951 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12952
12953         * check/gst/.cvsignore:
12954         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12955         * gst/gstregistryxml.c: (load_plugin),
12956         (gst_registry_xml_save_plugin):
12957           put back source in registry.  add checks for find_plugin.
12958         * testsuite/states/bin.c: (assert_state), (empty_bin),
12959         (test_adding_one_element), (main):
12960         * testsuite/states/locked.c: (main):
12961           some compile/run fixes
12962
12963 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12964
12965         * check/gst/gstvalue.c: (GST_START_TEST):
12966           fix leaks in the test itself
12967
12968 2005-09-22  Wim Taymans  <wim@fluendo.com>
12969
12970         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12971         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12972         (gst_base_sink_query):
12973         Prepare for more accurate position reporting and query
12974         handling.
12975
12976         * gst/gstelement.c: (gst_element_send_event),
12977         (gst_element_set_state):
12978         Add some comment.
12979
12980 2005-09-22  Wim Taymans  <wim@fluendo.com>
12981
12982         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12983         (gst_query_parse_segment):
12984         * gst/gstquery.h:
12985         More documentation.
12986         Add segment query for future use.
12987
12988 2005-09-22  Wim Taymans  <wim@fluendo.com>
12989
12990         * gst/gstbin.c: (gst_bin_add_func):
12991         Some more debug info.
12992
12993         * gst/gstelement.c: (gst_element_send_event):
12994         Simplify send_event
12995
12996         * gst/gstelement.h:
12997         Don't know how flags got broken.
12998
12999         * gst/gstquery.h:
13000         Added new query.
13001
13002 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13003
13004         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13005           Add simplistic test suite for GST_TYPE_DATE serialisation and
13006           deserialisation.
13007
13008 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13009
13010         * docs/gst/gstreamer-sections.txt:
13011         * gst/gststructure.c: (gst_structure_set_valist),
13012         (gst_structure_get_date):
13013         * gst/gststructure.h:
13014         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13015         (gst_date_copy), (gst_value_compare_date),
13016         (gst_value_serialize_date), (gst_value_deserialize_date),
13017         (gst_value_transform_date_string),
13018         (gst_value_transform_string_date), (_gst_value_initialize):
13019         * gst/gstvalue.h:
13020           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13021           bunch of utility functions along with a hack that checks that
13022           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13023           is required. Part of the grand scheme in #170777.
13024
13025 2005-09-22  Andy Wingo  <wingo@pobox.com>
13026
13027         * gst/gstconfig.h.in: Psych out gtk-doc.
13028
13029         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13030
13031         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13032
13033         * tools/gst-inspect.c (print_element_list): Plug some
13034         inconsequential leaks.
13035
13036         * gst/gstregistry.c (gst_registry_get_default): Doc.
13037
13038         * check/gst/gstplugin.c: 
13039         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13040         * gst/gstelementfactory.c (gst_element_factory_create): 
13041         * gst/gstindexfactory.c (gst_index_factory_create): Update for
13042         refcount changes.
13043
13044         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13045         (gst_plugin_feature_load): Doc, don't eat refs.
13046
13047         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13048         (gst_plugin_list_free): Doc.
13049         (gst_plugin_load_file): Doc updates.
13050
13051         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13052         accessors returning refcounted objects, return a ref.
13053
13054         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13055         accessor for caps. IDEMPOTENCE. Oh yes.
13056
13057 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
13058
13059         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13060
13061         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13062         (_gst_debug_register_funcptr):
13063           Add mutex to serialise access to the hash table with
13064           the function pointer => function name string mapping;
13065           make that hash table static scope (#316809).
13066
13067         * gst/registries/.cvsignore:
13068           Remove left-over file.
13069
13070 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13071
13072         * docs/pwg/appendix-porting.xml:
13073           And something about newsegment events and caps-on-buffers to
13074           the porting guide (feel free to improve).
13075
13076 2005-09-21  Andy Wingo  <wingo@pobox.com>
13077
13078         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13079         data and event probes on the same pad.
13080         (test_buffer_probe_once): Test that removing probes from within
13081         the probe functions works.
13082
13083 2005-09-21  Andy Wingo  <wingo@pobox.com>
13084
13085         * check/gst/gstutils.c: New file.
13086         (test_buffer_probe_n_times): A simple buffer probe test. More to
13087         come, foolios.
13088
13089         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13090         have-data::buffer, not have-data.
13091         (gst_pad_add_event_probe): Likewise for have-data::event.
13092         (gst_pad_add_data_probe): More docs. The part about 'resolving the
13093         peer' isn't quite right yet though.
13094         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
13095         (gst_pad_remove_data_probe): Change to take the guint handler_id
13096         as their arg, not the function+data, which is more glib-like.
13097
13098         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13099         the signal emission to indicate if the data is a buffer or an
13100         event.
13101         (gst_pad_get_type): Initialize buffer and event quarks.
13102         (gst_pad_class_init): have-data is now a detailed signal, yes it
13103         is.
13104
13105 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13106
13107         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13108         * gst/gstutils.c: (gst_util_set_value_from_string),
13109         (gst_util_set_object_arg):
13110           Don't put functional code in g_return_if_fail() or
13111           g_return_val_if_fail() statements, otherwise things will 
13112           break when G_DISABLE_CHECKS is defined during compilation.
13113
13114 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13115
13116         * docs/gst/tmpl/.cvsignore:
13117         * docs/gst/tmpl/gstvalue.sgml:
13118         * gst/gstvalue.c:
13119         * gst/gstvalue.h:
13120           inlied another one and added  some obvious docs
13121
13122 2005-09-21  Wim Taymans  <wim@fluendo.com>
13123
13124         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13125         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13126         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13127         (gst_fdsrc_get_property), (gst_fdsrc_create):
13128         * gst/elements/gstfdsrc.h:
13129         Properly implement fdsrc. Removed signal and timeout,
13130         better implemented somewhere else.
13131
13132 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13133
13134         * docs/gst/tmpl/.cvsignore:
13135         * docs/gst/tmpl/gstimplementsinterface.sgml:
13136         * gst/gstinterface.c:
13137           inlined more docs
13138
13139 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13140
13141         * docs/gst/gstreamer-sections.txt:
13142         * docs/gst/tmpl/.cvsignore:
13143         * docs/gst/tmpl/gstenumtypes.sgml:
13144           remove obsolete doc file
13145
13146 2005-09-21  David Schleef  <ds@schleef.org>
13147
13148         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13149         little beer, fix a little leak.
13150
13151 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13152
13153         * docs/gst/gstreamer-docs.sgml:
13154         * docs/gst/gstreamer-sections.txt:
13155         * docs/gst/tmpl/.cvsignore:
13156         * gst/Makefile.am:
13157         * gst/gst.h:
13158         * gst/gstbin.c:
13159         * gst/gstelement.h:
13160         * gst/gstindex.c: (gst_index_class_init):
13161         * gst/gstindex.h:
13162         * gst/gstindexfactory.c: (gst_index_factory_get_type),
13163         (gst_index_factory_class_init), (gst_index_factory_init),
13164         (gst_index_factory_finalize), (gst_index_factory_new),
13165         (gst_index_factory_destroy), (gst_index_factory_find),
13166         (gst_index_factory_create), (gst_index_factory_make):
13167         * gst/gstindexfactory.h:
13168         * gst/gstpluginfeature.c:
13169         * gst/gstpluginfeature.h:
13170         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13171           more docs inlined, splitted gstindex.{c,h}
13172
13173 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13174
13175         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13176           fix a leak
13177
13178 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13179
13180         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13181           Set sync to FALSE by default.
13182
13183 2005-09-20  Wim Taymans  <wim@fluendo.com>
13184
13185         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13186         (gst_base_sink_init):
13187         Make sync property settable from subclass.
13188
13189         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13190         (gst_fake_sink_change_state):
13191         Set sync to FALSE by default.
13192
13193 2005-09-20  Wim Taymans  <wim@fluendo.com>
13194
13195         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13196         * tools/gst-launch.c: (main):
13197         The timeout handler should have lower priority than the source
13198         so we don't timeout before popping a message with 0 timeout.
13199         Dump error messages after failed state change.
13200
13201 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13202
13203         * tools/gst-inspect.c: (print_element_properties_info):
13204           Fix two typos.
13205
13206 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13207
13208         * check/gst/gstevent.c:
13209         * gst/elements/gstfakesink.c:
13210         * gst/elements/gstfakesink.h:
13211           remove the sync property from fakesink.
13212           has the side effect of setting sync TRUE
13213           for fakesink, which is a change.  Anyone who knows how
13214           to fix this nicely in a GObject-y way, feel free.
13215
13216 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13217
13218         * docs/gst/gstreamer-docs.sgml:
13219           remove probe refsection
13220
13221 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13222
13223         * check/Makefile.am:
13224           disable valgrinding the controller test again
13225         * docs/gst/gstreamer-sections.txt:
13226           update for api-changes
13227
13228 2005-09-20  Wim Taymans  <wim@fluendo.com>
13229
13230         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13231         (gst_base_sink_set_property), (gst_base_sink_get_property),
13232         (gst_base_sink_do_sync):
13233         * gst/base/gstbasesink.h:
13234         Added sync property to basesink to disable clock sync.
13235
13236 2005-09-20  Andy Wingo  <wingo@pobox.com>
13237
13238         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13239         eating the caller's refcount.
13240
13241         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
13242         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13243         refcount.
13244
13245         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13246         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13247         of GLib 2.8 public, so we can know which refcount to check in
13248         tests.
13249
13250         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13251         (gst_object_init): Only set the gst refcount if we're going ahead
13252         with the refcount hack.
13253
13254 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13255
13256         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13257         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13258           more leaks plumbed, added more debug-logging
13259         * gst/gstmacros.h:
13260           whitespace fix
13261
13262 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13263
13264         * gst/gstmessage.c:
13265           remove include of gstmemchunk.h
13266
13267 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13268
13269         * gst/gstclock.c: (_gst_clock_id_free):
13270           Commit from the Political Party For More Atomic CVS Commits,
13271           so that people don't waste too much of their day fishing
13272           out obvious leaks out of massive commits.
13273           Oh, and fix a pretty damn obvious leak in the memchunk
13274           removal code.
13275
13276 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13277
13278         * check/Makefile.am:
13279         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13280           plug mem-leak, re-add to valgrindable tests
13281
13282 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13283
13284         * gst/gstplugin.h:
13285           unbreak the build for those who have chronic arthritis
13286           and typing "make check" is just too taxing on the hands
13287
13288 2005-09-20  Andy Wingo  <wingo@pobox.com>
13289
13290         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13291         really want it out, you should fix plugins at the same time.
13292
13293 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13294
13295         * configure.ac:
13296         * docs/gst/gstreamer-sections.txt:
13297         * gst/gstobject.c:
13298           added missing symbols to api docs
13299           disable ref-count hack if we have glib >= 2.8
13300
13301 2005-09-19  David Schleef  <ds@schleef.org>
13302
13303         * docs/gst/Makefile.am: Ignore a few more internal headers
13304         * docs/gst/gstreamer-docs.sgml: Remove old sections
13305         * docs/gst/gstreamer-sections.txt: Remove old sections
13306         * docs/gst/tmpl/gstobject.sgml: update
13307         * docs/gst/tmpl/gstplugin.sgml: update
13308         * docs/gst/tmpl/gstpluginfeature.sgml: update
13309         * docs/random/ds/0.9-suggested-changes: update.
13310         * gst/Makefile.am: remove memchunk and trashstack, since they're
13311           not used.
13312         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13313         * gst/gst.h: don't include some headers
13314         * gst/gstchildproxy.c: add gstmarshal.h
13315         * gst/gstclock.c: Don't use memchunks
13316         * gst/gstminiobject.c: Add some docs
13317         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13318         * gst/gstobject.h: same
13319         * gst/gstplugin.c: include gstmacros.h
13320         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13321         * gst/gstquery.c: don't use memchunks
13322         * gst/gstregistry.c: rename gst_registry_deinit()
13323         * gst/gstregistry.h: same
13324
13325 2005-09-19  David Schleef  <ds@schleef.org>
13326
13327         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13328         * docs/libs/gstreamer-libs-sections.txt:
13329         * docs/libs/tmpl/gstgetbits.sgml:
13330         * docs/libs/tmpl/gstputbits.sgml:
13331
13332 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13333
13334         * win32/gstenumtypes.c:
13335         * win32/gstenumtypes.h:
13336           Update.
13337
13338 2005-09-19  Wim Taymans  <wim@fluendo.com>
13339
13340         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13341         Automatically PAUSE and RESUME a pipeline when a flushing seek
13342         is performed.
13343
13344 2005-09-19  Andy Wingo  <wingo@pobox.com>
13345
13346         * gst/gstregistry.h: Spacing fixen.
13347
13348 2005-09-19  Wim Taymans  <wim@fluendo.com>
13349
13350         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13351         Handle state change failure more correctly.
13352
13353 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13354
13355         * check/Makefile.am:
13356         * check/pipelines/cleanup.c: (run_pipeline):
13357         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13358         (GST_START_TEST):
13359           enable cleanup again after fixing the leak
13360         * docs/README:
13361           some more info on docs
13362
13363 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13364
13365         * check/Makefile.am:
13366           re-enable tests now that leaks are plugged
13367         * check/gst/gst.c:
13368         * check/gst/gstbin.c:
13369         * check/gst/gstpipeline.c:
13370           add some more tests while fixing leaks
13371         * common/check.mak:
13372           make sure binaries are uptodate when valgrinding/gdbing
13373         * gst/gst.c:
13374         * gst/gstelementfactory.c:
13375           remove a ref too many, and add a FIXME for when we get
13376           round to disposing of classes
13377         * gst/gstplugin.c:
13378           fix the refcounting when loading a plugin from a file and
13379           the code pretends that the pointer is the same even though
13380           of course it can change
13381         * gst/gstpluginfeature.c:
13382           unref plugins marked cached (a bit confusing as a name)
13383           as the docs state should be done
13384           various doc additions to explain refcounting
13385         * gst/gstregistry.c:
13386         * gst/gstregistryxml.c:
13387           debugging
13388
13389 2005-09-19  Wim Taymans  <wim@fluendo.com>
13390
13391         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13392         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13393         (send_messages), (GST_START_TEST), (gstbus_suite):
13394         * check/gst/gstpipeline.c: (GST_START_TEST):
13395         * check/pipelines/cleanup.c: (run_pipeline):
13396         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13397         (GST_START_TEST):
13398         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13399         (gst_bus_source_check), (gst_bus_source_dispatch),
13400         (gst_bus_create_watch), (gst_bus_add_watch_full),
13401         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13402         * gst/gstbus.h:
13403         * tools/gst-launch.c: (event_loop):
13404         * tools/gst-md5sum.c: (event_loop):
13405         GstBusHandler -> GstBusFunc, return value has the same meaning as
13406         any other GSource (FALSE == remove source).
13407         _add_watch() and _add_watch_full() now take a MessageType mask to
13408         only handle specific types of messages.
13409         _poll() returns the GstMessage instead of the message type to avoid
13410         race conditions.
13411         _have_pending() takes a MessageType mask now too.
13412         Added testsuite for multiple bus watches.
13413         Fix testsuites and applications for new bus API.
13414
13415 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13416
13417         * check/Makefile.am:
13418           mark a bunch of the tests as to fix until we fix them
13419
13420 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13421
13422         * common/check.mak:
13423           use GST_PLUGIN settings for valgrind tests as well, so we're
13424           valgrinding the correct thing
13425         * gst/gst.c: (init_post):
13426           plug another leak
13427
13428 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13429
13430         * gst/gst.c: (init_post), (gst_deinit):
13431         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13432         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13433         * gst/gstindex.c: (gst_index_factory_class_init),
13434         (gst_index_factory_finalize):
13435         * gst/gstobject.c: (gst_object_dispose):
13436         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13437         (gst_plugin_load_file), (gst_plugin_desc_free):
13438         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13439         (gst_plugin_feature_finalize):
13440         * gst/gstregistry.c: (gst_registry_class_init),
13441         (gst_registry_init), (gst_registry_finalize),
13442         (gst_registry_get_default), (gst_registry_deinit):
13443         * gst/gstregistry.h:
13444         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13445           various cleanups and memleak plugging.  make valgrind is happy now.
13446
13447 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13448
13449         * common/check.mak:
13450           add a check-valgrind target
13451
13452 2005-09-18  David Schleef  <ds@schleef.org>
13453
13454         * tools/gst-inspect.c: Revert the GOption code.
13455
13456 2005-09-17  David Schleef  <ds@schleef.org>
13457
13458         * check/Makefile.am: Fix environment variables.
13459         * check/gst/gstplugin.c: Fix for API changes.
13460         * tools/gst-inspect.c: Fix for API changes.
13461         * tools/gst-xmlinspect.c: Fix for API changes.
13462         * gst/gstelementfactory.c:
13463         * gst/gstplugin.c:
13464         * gst/gstplugin.h:
13465         * gst/gstpluginfeature.c:
13466         * gst/gstpluginfeature.h:
13467         * gst/gstregistry.c:
13468         * gst/gstregistry.h:
13469         * gst/gstregistryxml.c:
13470         * gst/gsttypefind.c:
13471         * gst/gsttypefindfactory.c:
13472         * gst/indexers/gstfileindex.c:
13473         * gst/indexers/gstmemindex.c:
13474         * gst/schedulers/Makefile.am:
13475           Change registry to keep track of both plugins and features,
13476           removing the feature tracking from plugins themselves.
13477
13478 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13479
13480         * check/Makefile.am:
13481         * tools/gst-register.1.in:
13482           remove gst-register
13483
13484 2005-09-15  David Schleef  <ds@schleef.org>
13485
13486         * check/gst/gstplugin.c:
13487         * gst/gstelementfactory.c:
13488         * gst/gstplugin.c:
13489         * gst/gstpluginfeature.c:
13490         * gst/gstregistry.c:
13491           Getting tired of debugging.  Disabled all the unreffing of
13492           plugins and features, which fixes the segfaults, but of
13493           course leaks like crazy.  At least playbin works.
13494
13495 2005-09-15  David Schleef  <ds@schleef.org>
13496
13497         * check/gst/gstplugin.c: (register_check_elements),
13498         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13499         More testing
13500         * gst/elements/gsttypefindelement.c: Fix refcounting.
13501         * gst/gsttypefind.c:
13502         * gst/gsttypefindfactory.c:
13503         * gst/gsttypefindfactory.h:
13504
13505 2005-09-15  David Schleef  <ds@schleef.org>
13506
13507         * gst/gstindex.c: get refcounting correct.
13508         * gst/gstregistry.c: Handle the case where a feature/plugin is
13509           not found.
13510
13511 2005-09-15  David Schleef  <ds@schleef.org>
13512
13513         * check/Makefile.am:
13514         * check/gst/gstplugin.c: Add test
13515         * gst/gstplugin.c: Fix problems noticed by testsuite
13516         * gst/gstplugin.h:
13517         * gst/gstregistry.c: 
13518         * gst/gstregistry.h:
13519
13520 2005-09-15  David Schleef  <ds@schleef.org>
13521
13522         * gst/gstplugin.c: Implement semi-decent recounting and locking
13523           in plugins and plugin features.
13524         * gst/gstplugin.h:
13525         * gst/gstpluginfeature.c:
13526         * gst/gstpluginfeature.h:
13527         * gst/gstregistry.c:
13528
13529 2005-09-15  Michael Smith <msmith@fluendo.com>
13530
13531         * gst/gstregistry.c: (gst_registry_get_feature_list):
13532           Implement this. Makes oggdemux work; decodebin still broken.
13533
13534 2005-09-14  David Schleef  <ds@schleef.org>
13535
13536         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13537           #316076)
13538         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13539         * gst/check/Makefile.am:
13540         * libs/gst/controller/Makefile.am:
13541         * libs/gst/dataprotocol/Makefile.am:
13542
13543 2005-09-14  David Schleef  <ds@schleef.org>
13544
13545         * configure.ac: Remove getbits library.  Nothing uses it, and
13546           it should be in something like liboil if someone did want
13547           to use it.
13548         * libs/gst/Makefile.am:
13549         * libs/gst/getbits/Makefile.am:
13550         * libs/gst/getbits/gbtest.c:
13551         * libs/gst/getbits/getbits.c:
13552         * libs/gst/getbits/getbits.h:
13553         * libs/gst/getbits/gstgetbits_generic.c:
13554         * libs/gst/getbits/gstgetbits_i386.s:
13555         * libs/gst/getbits/gstgetbits_inl.h:
13556
13557 2005-09-14  David Schleef  <ds@schleef.org>
13558
13559         * gst/Makefile.am: Dist glib-compat.h
13560
13561 2005-09-14  David Schleef  <ds@schleef.org>
13562
13563         * configure.ac: Remove gst/registries, since it's no longer used.
13564         * gst/registries/Makefile.am:
13565         * gst/registries/gstlibxmlregistry.c:
13566         * gst/registries/gstlibxmlregistry.h:
13567         * gst/registries/gstxmlregistry.c:
13568         * gst/registries/gstxmlregistry.h:
13569         * gst/registries/registrytest.c:
13570
13571 2005-09-14  David Schleef  <ds@schleef.org>
13572
13573         * gst/glib-compat.h:
13574         * gst/gstregistryxml.c:
13575           Convergence is near.  Seriously.
13576
13577 2005-09-14  David Schleef  <ds@schleef.org>
13578
13579         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13580         * gst/glib-compat.h:
13581           Attempt #4 to appease the buildbots.
13582
13583 2005-09-14  David Schleef  <ds@schleef.org>
13584
13585         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13586           Attempt #3.
13587
13588 2005-09-14  David Schleef  <ds@schleef.org>
13589
13590         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13591         Attempt #2.
13592
13593 2005-09-14  David Schleef  <ds@schleef.org>
13594
13595         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13596           the new functions.
13597
13598 2005-09-14  David Schleef  <ds@schleef.org>
13599
13600         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13601         * gst/glib-compat.h: Add some functions that are in newer versions
13602           of glib than we care to require.
13603         * gst/gstregistryxml.c: Use them.
13604
13605 2005-09-14  David Schleef  <ds@schleef.org>
13606
13607         * po/POTFILES.in: remove gst-register.c
13608
13609 2005-09-14  David Schleef  <ds@schleef.org>
13610
13611         * docs/gst/gstreamer-docs.sgml:
13612         * docs/gst/gstreamer-sections.txt:
13613         * docs/gst/gstreamer.types:
13614         * docs/gst/tmpl/gstelement.sgml:
13615         * docs/gst/tmpl/gstplugin.sgml:
13616         * docs/gst/tmpl/gstpluginfeature.sgml:
13617           Documentation updates for registry changes.
13618
13619 2005-09-14  David Schleef  <ds@schleef.org>
13620
13621         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13622           because we don't require glib-2.8.
13623
13624 2005-09-14  David Schleef  <ds@schleef.org>
13625
13626         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13627           registries directory.
13628
13629 2005-09-14  David Schleef  <ds@schleef.org>
13630
13631         * check/Makefile.am:
13632         * check/generic/states.c:
13633         * gst/Makefile.am:
13634         * gst/gst.c:
13635         * gst/gst.h:
13636         * gst/gst_private.h:
13637         * gst/gstelementfactory.c:
13638         * gst/gstindex.c:
13639         * gst/gstinfo.c:
13640         * gst/gstplugin.c:
13641         * gst/gstplugin.h:
13642         * gst/gstpluginfeature.c:
13643         * gst/gstpluginfeature.h:
13644         * gst/gstregistry.c:
13645         * gst/gstregistry.h:
13646         * gst/gstregistrypool.c: remove
13647         * gst/gstregistrypool.h: remove
13648         * gst/gsttypefind.c:
13649         * gst/gsttypefindfactory.c:
13650         * gst/gsturi.c:
13651         * tools/Makefile.am:
13652         * tools/gst-compprep.c:
13653         * tools/gst-inspect.c:
13654         * tools/gst-register.c: remove
13655         * tools/gst-xmlinspect.c:
13656           Registry rewrite.  Changes registry from being a file created
13657           by a tool into a simple cache file created automatically by 
13658           libgstreamer.  Removed gst-register (because it's no longer
13659           needed).  Remove registry pools, because we only have one
13660           registry implementation (XML).  Fix up other subsystems as
13661           necessary.
13662
13663 2005-09-13  Michael Smith <msmith@fluendo.com>
13664
13665         * gst/gstconfig.h.in:
13666           Don't Use windows linking attributes for MinGW. Fixes #316157
13667
13668 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13669
13670         * gst/gstutils.c: (set_state_async_thread_func),
13671         (gst_element_set_state_async):
13672           Apparently people think it's better if this function doesn't
13673           try to set the state to whatever state was asked for on the first
13674           call to this function for any object.  Seriously.
13675
13676 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13677
13678         * check/gst/gstpipeline.c: (GST_START_TEST):
13679         * docs/gst/gstreamer-sections.txt:
13680         * gst/gstutils.c: (set_state_async_thread_func),
13681         (gst_element_set_state_async):
13682         * gst/gstutils.h:
13683           add a "gst_element_set_state_async" method that
13684           sets the state and starts a thread to make sure the state
13685           change completes as best as it can
13686
13687 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13688
13689         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13690           codify design+behaviour in testsuite after discussion
13691
13692 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13693
13694         * docs/gst/tmpl/gstelement.sgml:
13695         * docs/manual/appendix-quotes.xml:
13696           add a quote
13697         * gst/gstelement.c: (gst_element_set_state):
13698           add some debug
13699
13700 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13701
13702         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13703         (gst_base_transform_prepare_output_buf),
13704         (gst_base_transform_handle_buffer):
13705         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13706         (gst_capsfilter_prepare_buf):
13707           Remove the requirement for sub-classes to call the parent
13708           implementation of prepare_output_buffer with a wrapper function.
13709           
13710         * gst/gsttaglist.h:
13711         * gst/gsttagsetter.h:
13712           Fix #define wrapper
13713
13714 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13715
13716         * docs/gst/gstreamer-sections.txt:
13717           more doc cleanups
13718
13719 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13720
13721         * docs/gst/gstreamer-sections.txt:
13722         * docs/gst/tmpl/gstelement.sgml:
13723         * docs/gst/tmpl/gstplugin.sgml:
13724         * gst/gstminiobject.c:
13725         * gst/gstvalue.h:
13726           docs now stop throwing warnings
13727
13728 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13729
13730         * docs/gst/gstreamer-sections.txt:
13731         * docs/gst/gstreamer.types:
13732         * docs/gst/tmpl/gstpad.sgml:
13733         * docs/gst/tmpl/gsttypes.sgml:
13734         * gst/base/gstadapter.h:
13735         * gst/base/gstbasesink.h:
13736         * gst/base/gstbasesrc.h:
13737         * gst/gstbin.h:
13738         * gst/gstbuffer.h:
13739         * gst/gstbus.h:
13740         * gst/gstcaps.h:
13741         * gst/gstclock.h:
13742         * gst/gstelement.h:
13743         * gst/gstevent.h:
13744         * gst/gstmessage.h:
13745         * gst/gstpad.h:
13746         * gst/gststructure.c:
13747         * gst/registries/gstlibxmlregistry.h:
13748           various documentation fixes
13749
13750 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13751
13752         * docs/gst/gstreamer-sections.txt:
13753         * docs/gst/tmpl/gstvalue.sgml:
13754           rearrange gstvalue section
13755         * gst/gstutils.c: (gst_element_state_get_name):
13756           NONE -> VOID
13757         * gst/gstvalue.c: (_gst_value_initialize):
13758         * gst/gstvalue.h:
13759           doc updates
13760
13761 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13762
13763         * check/gst-libs/controller.c:
13764           Header include fix.
13765         * gst/base/gstbasetransform.c:
13766         (gst_base_transform_default_prepare_buf),
13767         (gst_base_transform_handle_buffer):
13768         * gst/base/gstbasetransform.h:
13769           Some more basetransform changes and fixes to enable sub-classes
13770           that modify buffer metadata only.
13771         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13772         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13773         (gst_capsfilter_prepare_buf):
13774           If the output pad has fixed allowed caps and input buffers 
13775           don't have any, set the fixed caps on outgoing buffers.
13776
13777 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13778         * check/elements/identity.c: (GST_START_TEST):
13779           Make the error a little clearer when the test fails because
13780           identity made a copy of the buffer.
13781         * docs/gst/gstreamer-sections.txt:
13782           New symbols in gstbasetransform.h
13783         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13784         (gst_base_transform_init), (gst_base_transform_transform_size),
13785         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13786         (gst_base_transform_default_prepare_buf),
13787         (gst_base_transform_get_unit_size),
13788         (gst_base_transform_buffer_alloc),
13789         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13790         (gst_base_transform_change_state),
13791         (gst_base_transform_set_passthrough),
13792         (gst_base_transform_set_in_place),
13793         (gst_base_transform_is_in_place):
13794         * gst/base/gstbasetransform.h:
13795           Change BaseTransform to separate in_place operate from same_caps
13796           output. in_place implies that the element can perform the transform
13797           on incoming buffers in-place, even if the caps on the output are
13798           different.
13799           Sub-class elements can now implement special buffer allocation
13800           methods for outgoing buffers if they wish to.
13801           Big documentation addition.
13802         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13803         * gst/elements/gstelements.c:
13804           Changes for basetransform modifications.
13805         * gst/elements/Makefile.am:
13806         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13807           Compile fix. Extra debug output.
13808
13809 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13810
13811         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13812         (gst_pad_suite):
13813           add tests for valid pad naming
13814         * gst/check/gstcheck.c: (gst_check_log_message_func),
13815         (gst_check_log_critical_func):
13816           add ASSERT_WARNING
13817           remove printing of code, it is fragile when the code contains
13818           % and the line number is enough info
13819         * gst/check/gstcheck.h:
13820         * gst/gstpad.c: (gst_pad_template_new):
13821           fix memleaks
13822
13823 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13824
13825         * configure.ac:
13826           say what CHECK flags we use
13827         * docs/libs/gstreamer-libs.types:
13828         * libs/gst/controller/Makefile.am:
13829         * libs/gst/controller/gst-controller.c:
13830         * libs/gst/controller/gst-controller.h:
13831         * libs/gst/controller/gst-helper.c:
13832         * libs/gst/controller/gst-interpolation.c:
13833         * libs/gst/controller/gstcontroller.c:
13834         * libs/gst/controller/gsthelper.c:
13835         * libs/gst/controller/gstinterpolation.c:
13836         * tools/gst-inspect.c: (print_plugin_info):
13837           we don't use dashes in header names
13838
13839 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13840
13841         * check/Makefile.am:
13842         * check/gst/.cvsignore:
13843         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13844         (gst_pipeline_suite), (main):
13845           adding a test for pipelines and state changes
13846         * gst/gstutils.c: (get_state_func):
13847           add some debugging
13848         * gstreamer.spec.in:
13849           fix up spec file
13850
13851 2005-09-08  Michael Smith <msmith@fluendo.com>
13852
13853         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13854         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13855         (gst_file_src_is_seekable), (gst_file_src_get_size),
13856         (gst_file_src_start):
13857         * gst/elements/gstfilesrc.h:
13858           Various fixes for unseekable, unmmapable, and non-normal files, so
13859           that fallback to read() rather than mmap() works.
13860         * gst/gstevent.c: (gst_event_new_newsegment):
13861           Allow newsegment events with segment_start == segment_end, as will
13862           correctly happen if you use filesrc on a zero-size file, for
13863           example.
13864
13865 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13866
13867         * gst/gstplugin.c: (gst_plugin_load_file):
13868           Call g_module_close when we don't load the module
13869
13870         * gst/registries/gstlibxmlregistry.c:
13871         (gst_xml_registry_get_property):
13872           Port leak fix from 0.8
13873
13874 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13875
13876         * docs/gst/gstreamer-docs.sgml:
13877         * docs/gst/tmpl/.cvsignore:
13878         * docs/gst/tmpl/gsttrace.sgml:
13879         * docs/gst/tmpl/gsttrashstack.sgml:
13880         * gst/Makefile.am:
13881         * gst/gst.h:
13882         * gst/gstelement.h:
13883         * gst/gstevent.h:
13884         * gst/gstmessage.c:
13885         * gst/gstmessage.h:
13886         * gst/gsttag.c:
13887         * gst/gsttag.h:
13888         * gst/gsttaginterface.c:
13889         * gst/gsttaginterface.h:
13890         * gst/gsttaglist.c:
13891         * gst/gsttaglist.h:
13892         * gst/gsttagsetter.c:
13893         * gst/gsttagsetter.h:
13894         * gst/gsttrace.c:
13895         * gst/gsttrace.h:
13896         * gst/gsttrashstack.c:
13897           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13898           inlined docs for gsttrace, gsttrashstack
13899
13900 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13901
13902         * gst/Makefile.am:
13903         * gst/elements/gstbufferstore.h:
13904         * gst/elements/gsttypefindelement.c:
13905         * gst/elements/gsttypefindelement.h:
13906         * gst/gst.h:
13907         * gst/gsttypefind.c:
13908         * gst/gsttypefind.h:
13909         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13910         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13911         (gst_type_find_factory_dispose),
13912         (gst_type_find_factory_unload_thyself),
13913         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13914         (gst_type_find_factory_get_caps),
13915         (gst_type_find_factory_get_extensions),
13916         (gst_type_find_factory_call_function):
13917         * gst/gsttypefindfactory.h:
13918         * gst/registries/gstlibxmlregistry.c:
13919         * gst/registries/gstxmlregistry.c:
13920           splitted gsttypefind into gsttypefind, gsttypefindfactory
13921
13922 2005-09-07  Andy Wingo  <wingo@pobox.com>
13923
13924         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13925         condition whereby the pad's task function is entered before the
13926         pad_mode variable was set.
13927
13928 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13929
13930         * gst/gstpad.c: (gst_pad_alloc_buffer):
13931           Catch misbehaving pad_alloc functions that don't
13932           set up caps and do it for them.
13933
13934 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13935
13936         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13937           test for pipe!=NULL
13938         * docs/gst/tmpl/.cvsignore:
13939         * docs/gst/tmpl/gstmemchunk.sgml:
13940         * docs/gst/tmpl/gstparse.sgml:
13941         * docs/gst/tmpl/gsttaglist.sgml:
13942         * docs/gst/tmpl/gsttagsetter.sgml:
13943         * docs/gst/tmpl/gsttypefind.sgml:
13944         * docs/gst/tmpl/gsttypefindfactory.sgml:
13945         * gst/gstmemchunk.c:
13946         * gst/gstparse.c:
13947         * gst/gsttag.c:
13948         * gst/gsttaginterface.c:
13949         * gst/gsttypefind.c:
13950         * gst/gsttypefind.h:
13951           inlined more docs
13952
13953 === release 0.9.2 ===
13954
13955 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13956
13957         * NEWS:
13958         * RELEASE:
13959         * configure.ac:
13960           releasing 0.9.2, "South"
13961
13962 2005-09-05  Andy Wingo  <wingo@pobox.com>
13963
13964         * gst/registries/gstxmlregistry.h:
13965         * gst/registries/gstxmlregistry.c: Um... resurrect...
13966         
13967         * gst/registries/gstxmlregistry.h:
13968         * gst/registries/gstxmlregistry.c: and update to newer API.
13969         Incidentally they should be a bit faster now that they don't have
13970         to parse the caps.
13971         
13972 2005-09-05  Andy Wingo  <wingo@pobox.com>
13973
13974         * gst/registries/gstxmlregistry.h:
13975         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13976         replaced by the libxml registry a while back
13977
13978 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13979
13980         * docs/gst/tmpl/gstplugin.sgml:
13981         * gst/elements/gstelements.c:
13982         * gst/gst.c:
13983         * gst/gstplugin.c: (gst_plugin_register_func),
13984         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13985         (gst_plugin_get_source):
13986         * gst/gstplugin.h:
13987         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13988         (gst_xml_registry_save_plugin):
13989         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13990         (gst_xml_registry_save_plugin):
13991         * tools/gst-inspect.c: (print_plugin_info):
13992           add a "source" plugin description field, to represent the source
13993           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13994           will set it to PACKAGE, which is automake's idea of the name of
13995           the source project.
13996
13997 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13998
13999         * Makefile.am:
14000         * autogen.sh:
14001         * configure.ac:
14002         * docs/Makefile.am:
14003         * docs/faq/Makefile.am:
14004         * docs/gst/tmpl/gstelement.sgml:
14005         * docs/gst/tmpl/gsttypes.sgml:
14006         * docs/htmlinstall.mak:
14007         * docs/manual/Makefile.am:
14008         * docs/pwg/Makefile.am:
14009           reorganize doc build a little
14010           split out docbook and gtk-doc stuff
14011           have two separate --enable's and enable them through autogen
14012           but disable by default in configure (to be similar to other
14013           projects)
14014         * gstreamer.spec.in:
14015           clean up docs install
14016         * po/af.po:
14017         * po/az.po:
14018         * po/ca.po:
14019         * po/cs.po:
14020         * po/de.po:
14021         * po/en_GB.po:
14022         * po/fr.po:
14023         * po/it.po:
14024         * po/nb.po:
14025         * po/nl.po:
14026         * po/ru.po:
14027         * po/sq.po:
14028         * po/sr.po:
14029         * po/sv.po:
14030         * po/tr.po:
14031         * po/uk.po:
14032         * po/vi.po:
14033           translation updates
14034
14035 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
14036
14037         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14038           Add comment.
14039           
14040         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14041         (gst_fake_sink_change_state):
14042           Make state change function thread-safe.
14043           
14044         * gst/gstpad.c: (gst_pad_alloc_buffer):
14045           Set offset on generic buffer allocated by fallback.
14046
14047 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
14048
14049         * docs/gst/gstreamer-sections.txt:
14050         * docs/gst/tmpl/gstelement.sgml:
14051         * gst/gstpad.c:
14052         * libs/gst/controller/gst-controller.c:
14053         (gst_controlled_property_set_interpolation_mode),
14054         (gst_controlled_property_new),
14055         (gst_controller_find_controlled_property):
14056          run the wingo-magic script against the docs
14057
14058 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14059
14060         * docs/gst/gstreamer-docs.sgml:
14061         * docs/gst/gstreamer-sections.txt:
14062         * docs/gst/tmpl/.cvsignore:
14063         * docs/gst/tmpl/gstelementdetails.sgml:
14064         * docs/gst/tmpl/gstelementfactory.sgml:
14065         * gst/gst.c:
14066         * gst/gstbus.c:
14067         * gst/gstelementfactory.c:
14068         * gst/gstelementfactory.h:
14069           merged elementdetails docs into elementfactory docs
14070           inlined both
14071
14072 2005-09-02  Andy Wingo  <wingo@pobox.com>
14073
14074         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14075         consider this enum an enum and not a flags.
14076
14077 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14078
14079         * docs/gst/gstreamer-docs.sgml:
14080         * docs/gst/tmpl/.cvsignore:
14081         * docs/gst/tmpl/gstghostpad.sgml:
14082         * docs/gst/tmpl/gstiterator.sgml:
14083         * docs/gst/tmpl/gstmacros.sgml:
14084         * docs/gst/tmpl/gstrealpad.sgml:
14085         * docs/gst/tmpl/gstregistry.sgml:
14086         * docs/gst/tmpl/gstregistrypool.sgml:
14087         * docs/gst/tmpl/gststructure.sgml:
14088         * docs/gst/tmpl/gstsystemclock.sgml:
14089         * docs/gst/tmpl/gsttrace.sgml:
14090         * gst/gstghostpad.c:
14091         * gst/gstmacros.h:
14092         * gst/gstmemchunk.c:
14093         * gst/gstmemchunk.h:
14094         * gst/gstqueue.c:
14095         * gst/gstregistry.c:
14096         * gst/gstregistrypool.c:
14097         * gst/gststructure.c:
14098         * gst/gstsystemclock.c:
14099           more docs inlined
14100
14101 2005-09-02  Andy Wingo  <wingo@pobox.com>
14102
14103         * gst/gstelement.h (GstState): Renamed from GstElementState,
14104         changed to be a normal enum instead of flags.
14105         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14106         munged to be GST_STATE_CHANGE_*.
14107         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14108         work with the new state representation.
14109         (GstStateChange): New enumeration of possible state transitions.
14110         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14111         (GstElementClass::change_state): Pass the GstStateChange along as
14112         an argument. Helps language bindings, so they don't have to use
14113         tricky lock-needing macros like GST_STATE_CHANGE ().
14114
14115         * scripts/update-states (file): New script. Run it on a file to
14116         update it for state naming and API changes. Updates files in
14117         place.
14118
14119         * All files updated for the new API.
14120
14121 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14122
14123         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14124         * gst/gstutils.c: (gst_util_set_value_from_string),
14125         (gst_util_set_object_arg):
14126           fix a bunch of unchecked return values
14127         * tools/gst-complete.c: (main):
14128         * gstreamer.spec.in:
14129           clean up a little
14130
14131 2005-09-01  Wim Taymans  <wim@fluendo.com>
14132
14133         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14134         (gst_base_sink_event), (gst_base_sink_do_sync),
14135         (gst_base_sink_handle_event):
14136         * gst/base/gstbasesink.h:
14137         Handle newsegments more correctly.
14138
14139         * gst/gstbus.c:
14140         Fix docs.
14141
14142         * gst/gstevent.c: (gst_event_new_newsegment):
14143         A newsegment cannot have a start_time of -1
14144
14145 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
14146
14147         * win32/gstenumtypes.c:
14148         * win32/gstenumtypes.h:
14149           Update
14150
14151 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14152
14153         * libs/gst/controller/gst-controller.c:
14154         (gst_controlled_property_set_interpolation_mode),
14155         (gst_controlled_property_new):
14156          fixed boolean again
14157
14158 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14159
14160         * docs/faq/gst-uninstalled:
14161           add -good
14162         * gst/gstevent.c:
14163         * gst/gstevent.h:
14164           remove wrong docs
14165         * gst/gstutils.c: (gst_element_link_filtered):
14166         * gst/gstutils.h:
14167           add gst_element_link_filtered
14168
14169 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14170
14171         * docs/gst/gstreamer-docs.sgml:
14172         * docs/gst/gstreamer-sections.txt:
14173         * docs/gst/tmpl/.cvsignore:
14174         * docs/gst/tmpl/gsterror.sgml:
14175         * docs/gst/tmpl/gstfilter.sgml:
14176         * docs/gst/tmpl/gsturihandler.sgml:
14177         * docs/gst/tmpl/gsturitype.sgml:
14178         * docs/gst/tmpl/gstutils.sgml:
14179         * docs/gst/tmpl/gstxml.sgml:
14180         * gst/gsterror.c:
14181         * gst/gsterror.h:
14182         * gst/gstfilter.c:
14183         * gst/gsturi.c:
14184         * gst/gsturitype.c:
14185         * gst/gstutils.c:
14186         * gst/gstxml.c:
14187           inlined more docs, fixed double id-ref
14188
14189 2005-08-31  Wim Taymans  <wim@fluendo.com>
14190
14191         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14192         (gst_base_transform_handle_buffer):
14193         Passthrough elements don't need the caps as they don't care.
14194
14195 2005-08-31  Wim Taymans  <wim@fluendo.com>
14196
14197         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14198         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14199         Don't leak refcounts on buffers.
14200
14201 2005-08-31  Wim Taymans  <wim@fluendo.com>
14202
14203         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14204         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14205         (gst_base_transform_chain), (gst_base_transform_change_state):
14206         * gst/base/gstbasetransform.h:
14207         Handle the case where we are not negotiated more gracefully.
14208
14209 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
14210
14211         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14212         (gst_file_src_map_region):
14213           Set READONLY flag on mmap'ed buffers, otherwise
14214           gst_buffer_make_writable() won't work properly (#314708).
14215
14216 2005-08-31  Wim Taymans  <wim@fluendo.com>
14217
14218         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14219         passthrough elements can even do inplace on non writable
14220         buffers (as they don't touch them).
14221
14222 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14223
14224         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14225         (gst_test_mono_source_set_property),
14226         (gst_test_mono_source_class_init), (GST_START_TEST),
14227         (gst_controller_suite):
14228           more tests (hehe I have the most)
14229         * gst/gstbus.c:
14230           describe popping messages whenusing mulltiple sources
14231         * libs/gst/controller/gst-controller.c:
14232         (gst_controlled_property_set_interpolation_mode),
14233         (gst_controlled_property_new):
14234         * libs/gst/controller/gst-controller.h:
14235         * libs/gst/controller/gst-interpolation.c:
14236           implement boolean properties
14237
14238 2005-08-31  Wim Taymans  <wim@fluendo.com>
14239
14240         * gst/gstminiobject.c: (gst_mini_object_ref):
14241         Cannot assert that the refcount has to be positive
14242         since a disposed object can be resurrected.
14243
14244 2005-08-31  Wim Taymans  <wim@fluendo.com>
14245
14246         * gst/gstpad.c: (gst_pad_init):
14247         Revert change, need to first fix badly behaving 
14248         apps.
14249
14250 2005-08-30  Wim Taymans  <wim@fluendo.com>
14251
14252         * check/elements/fakesrc.c: (setup_fakesrc):
14253         * check/elements/identity.c: (setup_identity):
14254         Activate pads before using them.
14255
14256 2005-08-30  Wim Taymans  <wim@fluendo.com>
14257
14258         * gst/base/gstadapter.c: (gst_adapter_flush):
14259         Flushing out 0 bytes is ok for this function.
14260
14261         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14262         no newsegment gives a warning and sets the start/stop to 
14263         invalid.
14264
14265         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14266         (gst_base_transform_set_passthrough):
14267         Some debug info.
14268
14269         * gst/gstminiobject.c: (gst_mini_object_ref):
14270         Check refcount here too.
14271
14272         * gst/gstpad.c: (gst_pad_init):
14273         Pads are initially flushing and refusing data.
14274
14275         * gst/gstutils.c: (gst_element_link_pads_filtered):
14276         When adding a capsfilter element make sure it has the
14277         same state as the parent bin.
14278
14279 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14280
14281         * docs/gst/tmpl/.cvsignore:
14282         * docs/gst/tmpl/gstformat.sgml:
14283         * docs/gst/tmpl/gstversion.sgml:
14284         * gst/gstbus.h:
14285         * gst/gstformat.c:
14286         * gst/gstformat.h:
14287         * gst/gstversion.h.in:
14288           more docs and two more inlined
14289
14290 2005-08-30  Wim Taymans  <wim@fluendo.com>
14291
14292         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14293         Don't sync to clock.
14294
14295 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14296
14297         * docs/gst/gstreamer-sections.txt:
14298           ultral33t func10ns deserve to appear in the docs actually
14299         * docs/gst/tmpl/.cvsignore:
14300         * docs/gst/tmpl/gstcompat.sgml:
14301         * docs/gst/tmpl/gstconfig.sgml:
14302         * gst/check/gstcheck.c:
14303         * gst/gstcompat.h:
14304         * gst/gstconfig.h.in:
14305           inlined more docs
14306
14307 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14308
14309         * docs/gst/tmpl/.cvsignore:
14310         * docs/gst/tmpl/gstquery.sgml:
14311         * docs/gst/tmpl/gstutils.sgml:
14312         * gst/gstquery.c:
14313         * gst/gstquery.h:
14314           inlined and extended docs
14315
14316 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14317
14318         * check/gst-libs/controller.c: (GST_START_TEST),
14319         (gst_controller_suite):
14320           more tests
14321         * docs/gst/tmpl/gstutils.sgml:
14322         * docs/libs/gstreamer-libs-sections.txt:
14323         * docs/libs/tmpl/gstdataprotocol.sgml:
14324           include path fixes
14325         * examples/controller/audio-example.c: (main):
14326           controller example works now
14327         * gst/gstclock.h:
14328           doc fixes
14329         * tools/gst-inspect.c: (print_element_properties_info):
14330           show param spec flags
14331
14332 2005-08-29  Andy Wingo  <wingo@pobox.com>
14333
14334         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14335
14336 2005-08-28  Andy Wingo  <wingo@pobox.com>
14337
14338         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14339         as having two arguments instead of just one. Allows superclasses
14340         to access information on subclasses -- see the terrible for() loop
14341         in gtype.c:g_type_create_instance for the reason why. All callers
14342         changed.
14343
14344 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14345
14346         * docs/design/part-messages.txt:
14347           update info
14348         * docs/gst/tmpl/.cvsignore:
14349         * docs/gst/tmpl/gstcaps.sgml:
14350         * docs/gst/tmpl/gstclock.sgml:
14351         * gst/gstbus.c:
14352         * gst/gstcaps.c:
14353         * gst/gstcaps.h:
14354         * gst/gstclock.c:
14355         * gst/gstclock.h:
14356         * gst/gstmessage.c:
14357           added descriptions for bus and message
14358           inline caps and clock docs
14359
14360 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14361
14362         * gst/gstmessage.c:
14363         * gst/gstmessage.h:
14364           doc fixes
14365
14366 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14367
14368         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14369           fix div-by-zero
14370
14371 2005-08-26  Andy Wingo  <wingo@pobox.com>
14372
14373         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14374         element_set_state's return val.
14375         (test_2_elements): Add test that's been disabled for months.
14376
14377         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14378         can-activate-pull properties.
14379
14380         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14381         can-activate-pull properties. Implement is_seekable so fakesrc can
14382         operate in pull mode.
14383
14384         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14385         properties.
14386         (gst_base_sink_activate, gst_base_sink_activate_pull)
14387         (gst_base_sink_activate_push): Make activation mode choosing work.
14388         Cleanups.
14389         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14390         is right. Make pull mode work. Post an eos before pausing in pull
14391         mode.
14392         (gst_base_sink_change_state): Pay attention to the core's
14393         change_state() return val.
14394         
14395         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14396         has-getrange properties. Cleanups.
14397         
14398         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14399         has_getrange and replace with can_activate_pull and
14400         can_activate_push.
14401
14402         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14403         locking comments. Remove has_loop, has_chain and replace with
14404         can_activate_pull and can_activate_push.
14405
14406 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14407
14408         * configure.ac:
14409         * examples/Makefile.am:
14410         * examples/metadata/Makefile.am:
14411         * examples/metadata/read-metadata.c: (message_loop),
14412         (have_pad_handler), (make_pipeline), (print_tag), (main):
14413           Add metadata reading example that loops over a list of filenames,
14414           dumping any tags found.
14415
14416         * gst/gstbus.c: (gst_bus_dispose):
14417         * gst/gstelement.c: (gst_element_dispose):
14418           Release a few potentially-held references in dispose.
14419
14420 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14421
14422         * docs/gst/tmpl/gstminiobject.sgml:
14423           do *not* add tmpl/*.sgml files to CVS!
14424
14425 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14426
14427         * libs/gst/bytestream/.cvsignore:
14428         * libs/gst/bytestream/Makefile.am:
14429         * libs/gst/bytestream/adapter.c:
14430         * libs/gst/bytestream/adapter.h:
14431         * libs/gst/bytestream/bytestream.c:
14432         * libs/gst/bytestream/bytestream.h:
14433         * libs/gst/bytestream/filepad.c:
14434         * libs/gst/bytestream/filepad.h:
14435           removing obsolete files
14436
14437 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14438
14439         * docs/gst/gstreamer-docs.sgml:
14440         * docs/libs/gstreamer-libs-docs.sgml:
14441           disabed additional index entries again, as this makes docs-gen just
14442           slow and they aren't useful yet
14443         * docs/libs/gstreamer-libs-sections.txt:
14444           little -section.txt cleanup for libs
14445
14446 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14447
14448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14449         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14450           fix up some debugging
14451         (gst_base_transform_get_unit_size),
14452         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14453         (gst_base_transform_handle_buffer):
14454         * gst/base/gstbasetransform.h:
14455           handle and store timed NEWSEGMENT events so that subclasses that
14456           calculate time by counting samples have a segment_start time they
14457           need to add to their timestamps - see audioresample
14458
14459 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14460
14461         * gst/gstbin.h:
14462           removed ';' from the end of macro defs
14463         * docs/gst/gstreamer-docs.sgml:
14464         * docs/gst/gstreamer-sections.txt:
14465         * docs/gst/tmpl/.cvsignore:
14466         * gst/gstbus.h:
14467         * gst/gstelement.c: (gst_element_class_init),
14468         (gst_element_set_state), (activate_pads),
14469         (gst_element_save_thyself):
14470         * gst/gstevent.c: (gst_event_new_newsegment):
14471         * gst/gstevent.h:
14472         * gst/gstiterator.c:
14473         * gst/gstiterator.h:
14474         * gst/gstpad.c:
14475         * gst/gstprobe.h:
14476         * gst/gstutils.c: (gst_pad_query_convert):
14477         * gst/gstutils.h:
14478           fixed parameter name mismatches between source, header and docs
14479           added some more docs, resolved the last batch of unused elements in
14480           docs (now someone needs to doc them)
14481
14482 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14483
14484         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14485         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14486           don't walk through the plugins backwards.  Where is all this
14487           reversed logic coming from ?
14488
14489 2005-08-25  Wim Taymans  <wim@fluendo.com>
14490
14491         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14492         (gst_base_transform_transform_size),
14493         (gst_base_transform_configure_caps),
14494         (gst_base_transform_get_unit_size),
14495         (gst_base_transform_buffer_alloc),
14496         (gst_base_transform_change_state):
14497         * gst/base/gstbasetransform.h:
14498         Cache caps unit_size.
14499         Make sure we cannot negotiate up and downstream at the
14500         same time.
14501
14502 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14503
14504         * gst/gst.c: (init_pre), (init_post):
14505           register the installed plugin path after the env var
14506         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14507         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14508           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14509           directories, so the tests can prefer uninstalled over installed
14510
14511 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14512
14513         * gst/base/gstbasetransform.h:
14514           comment
14515         * gst/gstpad.c:
14516           add to docs
14517
14518 2005-08-25  Wim Taymans  <wim@fluendo.com>
14519
14520         * gst/gstbin.c: (bin_bus_handler):
14521         Be a bit more conservative about the posted message.
14522         
14523         * gst/gstbus.c: (gst_bus_post):
14524         Some cleanups, warn wrong return values.
14525
14526 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14527
14528         * check/gst/gstbin.c: (GST_START_TEST):
14529         * gst/gstbin.c: (bin_bus_handler):
14530         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14531         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14532         (gst_message_new_warning), (gst_message_new_tag),
14533         (gst_message_new_state_changed), (gst_message_new_segment_start),
14534         (gst_message_new_segment_done), (gst_message_new_custom):
14535         * gst/gstmessage.h:
14536         * tools/gst-launch.c: (event_loop):
14537         * tools/gst-md5sum.c: (event_loop):
14538           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14539
14540 2005-08-25  Wim Taymans  <wim@fluendo.com>
14541
14542         * check/generic/states.c: (GST_START_TEST):
14543         Cleanup can be done at the end.
14544
14545         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14546         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14547         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14548         Oh boy.. Thanks for finding this, Thomas. 
14549
14550 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14551
14552         * docs/gst/gstreamer.types:
14553           added missing types
14554
14555 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14556
14557         * docs/gst/gstreamer-docs.sgml:
14558         * docs/gst/gstreamer-sections.txt:
14559         * docs/gst/tmpl/.cvsignore:
14560         * gst/gstbin.c:
14561         * gst/gstiterator.c:
14562         * gst/gstutils.c:
14563         * gst/registries/gstxmlregistry.h:
14564           added missing classes and symbols (123 more to go)
14565           removed removed symbols from section file
14566           fixed many doc-comments
14567
14568 2005-08-24  Wim Taymans  <wim@fluendo.com>
14569
14570         * check/generic/states.c: (GST_START_TEST):
14571         Make sure all tasks are stopped.
14572
14573         * check/gst/gstbin.c: (GST_START_TEST):
14574         Unref after usage for proper valgrinding.
14575
14576         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14577         Really wait for the task to stop before destroying the
14578         mutex.
14579
14580         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14581         (gst_queue_src_activate_push):
14582         Small cleanups. Don't stop the task when we did not start
14583         it.
14584
14585         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14586         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14587         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14588         (gst_task_join):
14589         * gst/gsttask.h:
14590         Protect the stream lock with the object lock.
14591         Disallow setting the stream lock when running.
14592         Add cleanup_all to wait for the threadpool to finish.
14593         Remove code to autoallocate a mutex if none was provided.
14594         Add _join() to wait for a task to stop.
14595         Protect the thread pool with a global lock.
14596
14597 2005-08-24  Wim Taymans  <wim@fluendo.com>
14598
14599         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14600         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14601         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14602         * gst/base/gstbasesink.h:
14603         Handle newsegment events correctly.
14604         Drop buffers out of the segment range.
14605
14606 2005-08-22  Andy Wingo  <wingo@pobox.com>
14607
14608         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14609         macro, implements an interface and gstimplementsinterface for a
14610         new type.
14611
14612 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14613
14614         * check/Makefile.am:
14615         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14616           add a test that does a bunch of state changes on elements
14617           needs some fixing for valgrind
14618         * check/states/sinks.c: (gst_object_suite):
14619           whitespace
14620         * gst/gstcaps.h:
14621           add prototype for gst_caps_is_equal_fixed
14622         * gst/gstplugin.c:
14623         * gst/gstregistrypool.c:
14624           doc fixes
14625
14626 2005-08-24  Andy Wingo  <wingo@pobox.com>
14627
14628         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14629         convert a negative value. Doesn't make much sense. Mostly this is
14630         here to force callers to ensure -1 maps to -1.
14631
14632 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14633
14634         * docs/pwg/advanced-types.xml:
14635           Well done to Michael for catching my deliberate introduction
14636           of this spelling mistake. 
14637         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14638         * gst/gstelement.h:
14639           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14640           unlink pads before removing the element from the bin.
14641
14642 2005-08-24  Andy Wingo  <wingo@pobox.com>
14643
14644         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14645         the same thing as GST_DEBUG=*:4.
14646         (parse_debug_level, parse_debug_category): New helper parsers.
14647
14648 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14649
14650         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14651         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14652         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14653         (gst_base_transform_buffer_alloc),
14654         (gst_base_transform_handle_buffer):
14655           use gboolean return values and pointers to size so we can use the
14656           full GST_BUFFER_SIZE range (guint) for buffer sizes
14657           use GstPadDirection for transform_caps
14658         * gst/base/gstbasetransform.h:
14659           rename get_size to get_unit_size since that's what it is
14660         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14661           use GstPadDirection for transform_caps
14662         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14663         * gst/gstutils.h:
14664           cleanup and debugging
14665
14666 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14667
14668         * gst/gstelement.c: (gst_element_class_init),
14669         (gst_element_set_state), (activate_pads),
14670         (gst_element_save_thyself):
14671         * tools/gst-compprep.c: (main):
14672         * tools/gst-inspect.c: (print_element_properties_info):
14673         * tools/gst-xmlinspect.c: (print_element_properties):
14674           Fixed long standing mem-leak
14675
14676 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14677
14678         * check/gst/gstbin.c: (GST_START_TEST):
14679         * gst/gstbin.c: (bin_bus_handler):
14680         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14681         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14682         (gst_message_new_warning), (gst_message_new_tag),
14683         (gst_message_new_state_changed), (gst_message_new_segment_start),
14684         (gst_message_new_segment_done), (gst_message_new_custom):
14685         * gst/gstmessage.h:
14686         * tools/gst-launch.c: (event_loop):
14687         * tools/gst-md5sum.c: (event_loop):
14688           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14689           that applications can sensibly post custom messages with references
14690           to their own objects.
14691
14692 2005-08-24  Andy Wingo  <wingo@pobox.com>
14693
14694         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14695         already.
14696
14697 2005-08-24  Wim Taymans  <wim@fluendo.com>
14698
14699         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14700         (gst_base_transform_transform_caps),
14701         (gst_base_transform_transform_size),
14702         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14703         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14704         (gst_base_transform_handle_buffer):
14705         * gst/base/gstbasetransform.h:
14706         Many fixes and new features added by Thomas. Can now also do
14707         transforms with variable sizes and a custom fixate_caps function.
14708
14709 2005-08-24  Wim Taymans  <wim@fluendo.com>
14710
14711         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14712         Some debugging.
14713
14714         * gst/gstclock.h:
14715         Cast to ClockTime before formatting to time.
14716
14717         * gst/gstutils.h:
14718         Cleanups.
14719
14720 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14721
14722         * check/gst-libs/controller.c: (GST_START_TEST),
14723         (gst_controller_suite):
14724         * docs/gst/tmpl/gstcaps.sgml:
14725         * docs/gst/tmpl/gstghostpad.sgml:
14726         * docs/gst/tmpl/gstquery.sgml:
14727         * docs/gst/tmpl/gstutils.sgml:
14728         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14729         (gst_object_sink_values), (gst_object_get_value_arrays),
14730         (gst_object_get_value_array):
14731           gracefully handle helper method calls to objects that are not beeing
14732           controlled, added test case for that          
14733
14734 2005-08-23  Wim Taymans  <wim@fluendo.com>
14735
14736         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14737         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14738         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14739         (gst_event_parse_qos), (gst_event_new_seek),
14740         (gst_event_parse_seek):
14741         * gst/gstevent.h:
14742         Some more debugging output and doc cleanups.
14743
14744         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14745         Fix possible deadlock.
14746
14747 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14748
14749         * docs/gst/gstreamer-docs.sgml:
14750         * docs/gst/gstreamer-sections.txt:
14751         * docs/gst/gstreamer.types:
14752         * docs/gst/tmpl/.cvsignore:
14753         * gst/gstbin.h:
14754         * gst/gstbus.c:
14755         * gst/gstelement.c:
14756         * gst/gstevent.h:
14757           added 100 symbols from gstreamer-unused.txt to the right sections
14758           fixed more broken comments
14759           added GstBus to docs
14760
14761 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14762
14763         * docs/gst/gstreamer-sections.txt:
14764         * docs/gst/tmpl/.cvsignore:
14765         * docs/gst/tmpl/gstbin.sgml:
14766         * docs/gst/tmpl/gstbuffer.sgml:
14767         * gst/base/gstbasesrc.c:
14768         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14769         * gst/gstbuffer.c:
14770         * gst/gstbuffer.h:
14771         * tools/gst-launch.1.in:
14772           inlined more doc comments, added missing comments and fixed comments
14773           fixed typos
14774
14775 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14776
14777         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14778           some debugging
14779         * gst/gstcaps.h:
14780           whitespace fixes
14781         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14782           more debugging
14783         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14784         * gst/gststructure.h:
14785           add a fixate function for booleans; add a FIXME that these func
14786           names should probably be gst_structure_fixate_*
14787
14788 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14789
14790         * docs/gst/gstreamer-docs.sgml:
14791         * docs/gst/gstreamer-sections.txt:
14792         * gst/Makefile.am:
14793         * gst/gstbin.c: (gst_bin_get_type),
14794         (gst_bin_child_proxy_get_child_by_index),
14795         (gst_bin_child_proxy_get_children_count),
14796         (gst_bin_child_proxy_init):
14797         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14798         (gst_child_proxy_get_child_by_index),
14799         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14800         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14801         (gst_child_proxy_get), (gst_child_proxy_set_property),
14802         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14803         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14804         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14805         * gst/gstchildproxy.h:
14806         * gst/parse/grammar.y:
14807         * tools/gst-inspect.c: (print_interfaces),
14808         (print_element_properties_info), (print_element_info):
14809           ported gstchildproxy over from 0.8
14810           ported gst-inspect fixes and enhancements over from 0.8
14811
14812 2005-08-22  Wim Taymans  <wim@fluendo.com>
14813
14814         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14815         (gst_base_transform_handle_buffer):
14816         Also call the transform function if we have ANY caps.
14817
14818         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14819         Fix debug info.
14820
14821 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14822
14823         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14824           Don't pretend to handle seek events if the source is not seekable
14825
14826 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14827
14828         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14829           Remove extra parameter to debug output
14830
14831         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14832         (gst_base_src_do_seek), (gst_base_src_activate_push):
14833           Fix seek event handling.
14834
14835         * gst/gstpipeline.c: (gst_pipeline_change_state):
14836         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14837         (gst_queue_src_activate_push):
14838           Don't start the src pad task on FLUSH_STOP if the pad
14839           isn't linked.
14840           Debug changes.
14841
14842 2005-08-22  Wim Taymans  <wim@fluendo.com>
14843
14844         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14845         Added check for gst_static_caps_get() refcounting.
14846
14847 2005-08-22  Wim Taymans  <wim@fluendo.com>
14848
14849         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14850         Make _static_caps_get() refcounting sane.
14851         
14852         * gst/gstelement.c: (gst_element_set_state):
14853         Add g_return_val_if_fail() to protect against segfaults.
14854
14855 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14856
14857         * docs/gst/tmpl/gstevent.sgml:
14858         * gst/gstevent.c:
14859         * gst/gstevent.h:
14860           inlined remaining docs, added missing doc comments
14861
14862 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14863
14864         * check/gst/gstbin.c: (GST_START_TEST):
14865           since we don't know when preroll is done, use refcount range
14866           check for the sink
14867         * gst/check/gstcheck.h:
14868           add macro for checking refcount range
14869
14870 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14871
14872         * check/Makefile.am:
14873           clean up environment for when registry gets built versus
14874           when actual tests are run; valgrind seems to not report
14875           leaks if GST_PLUGIN_PATH is set to some specific values
14876         * check/gst/gstbin.c: (GST_START_TEST):
14877           add more refcounting checks; maybe this exposes a
14878           preroll lock bug ?
14879         * common/check.mak:
14880         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14881         * gst/check/gstcheck.h:
14882         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14883         (gst_bin_change_state):
14884         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14885           add/fix debugging/whitespace
14886
14887 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14888
14889         * check/gst/gstevent.c: (event_probe), (test_event),
14890         (GST_START_TEST):
14891          Er, don't call gst_bin_watch_for_state_change you idiot.
14892
14893 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14894
14895         * check/Makefile.am:
14896           Use CHECK_CFLAGS and CHECK_LIBS
14897         * check/gst/gstevent.c: (event_probe), (test_event),
14898         (GST_START_TEST):
14899           Don't leak events.
14900         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14901         (gst_base_src_start), (gst_base_src_stop),
14902         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14903         (gst_base_src_change_state):
14904           Sprinkle gst_base_src_stop liberally around error paths to fix
14905           problems reusing a source after failed state changes.
14906         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14907         (helper_find_suggest), (gst_type_find_helper):
14908           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14909         * gst/gstevent.h:
14910         * docs/gst/tmpl/gstevent.sgml:
14911           Migrate part of the docs from the SGML file. Wait for ensonic to
14912           tell me how I did it wrong ;)
14913         * tools/gst-typefind.c: (main):
14914           Extra robustness to state changes between files.
14915
14916 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14917
14918         * check/Makefile.am:
14919           don't valgrind the controller test - it's leaking - Stefan, HELP
14920         * gst/check/gstcheck.c: (gst_check_message_error),
14921         (gst_check_chain_func), (gst_check_setup_element),
14922         (gst_check_teardown_element), (gst_check_setup_src_pad),
14923         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14924         (gst_check_teardown_sink_pad):
14925         * gst/check/gstcheck.h:
14926           add a bunch of methods to set up elements, and src and sink pads
14927         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14928         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14929         (GST_START_TEST):
14930           use them
14931         * gst/gstmessage.c:
14932         * gst/gsttag.h:
14933           whitespace/doc fixes
14934
14935 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14936
14937         * gst/gstelement.h:
14938           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14939           be handled by the application and not always printed as well
14940
14941 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14942
14943         * check/Makefile.am:
14944           set GST_TOOLS_DIR
14945         * gst/check/gstcheck.c: (gst_check_message_error):
14946         * gst/check/gstcheck.h:
14947           add a fail_unless_equals_int
14948           add fail_unless for error messages
14949
14950 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14951
14952         * check/Makefile.am:
14953         * check/gst.supp:
14954         * common/Makefile.am:
14955         * common/check.mak:
14956         * common/gst.supp:
14957           factor out some of the common stuff so we can use it
14958
14959 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14960
14961         * check/Makefile.am:
14962         * check/gst/gstiterator.c: (GST_START_TEST):
14963         * check/gst/gstsystemclock.c: (GST_START_TEST),
14964         (gst_systemclock_suite):
14965         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14966         * gst/gstclock.c:
14967           valgrind more tests
14968
14969 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14970
14971         * check/elements/.cvsignore:
14972         * check/elements/gstfakesrc.c:
14973           rename to name of element
14974         * check/elements/identity.c: (chain_func), (event_func),
14975         (setup_identity), (cleanup_identity), (GST_START_TEST),
14976         (identity_suite), (main):
14977           add a test for identity
14978         * check/Makefile.am:
14979         * pkgconfig/Makefile.am:
14980         * pkgconfig/gstreamer-check.pc.in:
14981         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14982         * gst/check:
14983         * gst/Makefile.am:
14984         * configure.ac:
14985           move the check stuff to a library that gets installed
14986         * check/gst-libs/controller.c: (GST_START_TEST):
14987         * check/gst-libs/gdp.c:
14988         * check/gst/gst.c: (GST_START_TEST):
14989         * check/gst/gstbin.c:
14990         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14991         * check/gst/gstbus.c:
14992         * check/gst/gstcaps.c: (GST_START_TEST):
14993         * check/gst/gstelement.c:
14994         * check/gst/gstghostpad.c:
14995         * check/gst/gstiterator.c:
14996         * check/gst/gstmessage.c:
14997         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14998         * check/gst/gstobject.c:
14999         * check/gst/gstpad.c: (GST_START_TEST):
15000         * check/gst/gststructure.c: (GST_START_TEST):
15001         * check/gst/gstsystemclock.c: (GST_START_TEST),
15002         (gst_systemclock_suite):
15003         * check/gst/gsttag.c: (gst_tag_suite):
15004         * check/gst/gstvalue.c:
15005         * check/pipelines/cleanup.c:
15006         * check/pipelines/simple_launch_lines.c:
15007         * check/states/sinks.c:
15008           change include statement
15009
15010         * docs/gst/gstreamer-sections.txt:
15011         * docs/gst/tmpl/gstpad.sgml:
15012           document more pad stuff
15013         * gst/gstminiobject.c: (gst_mini_object_ref),
15014         (gst_mini_object_unref):
15015           debug refcounting
15016
15017 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
15018
15019         * docs/gst/tmpl/gst.sgml:
15020         * gst/gst.c:
15021           eliminate another tmpl file, fix spelling in the long-description
15022
15023 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15024
15025         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15026         (test_event), (timediff), (gstevents_suite):
15027           Should fix build on 64-bit arch's
15028
15029 2005-08-18  Andy Wingo  <wingo@pobox.com>
15030
15031         Make sure that when a pipeline goes to PLAYING, that data has
15032         actually hit the sink.
15033
15034         * check/states/sinks.c (test_sink): A sink that doesn't get any
15035         data shouldn't return SUCCESS for going to either PLAYING or
15036         PAUSED. Test also the return values on the way back down.
15037
15038         * gst/gstelement.c (gst_element_set_state): When changing the
15039         state of an element currently changing state asynchronously, go to
15040         lost-state after commiting the pending state. Makes future calls
15041         to get_state continue to return ASYNC.
15042
15043         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15044         ASYNC when going to PLAYING if we still don't have preroll, as can
15045         happen with live sources.
15046
15047 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15048
15049         * docs/pwg/advanced-types.xml:
15050           Hack long paragraph into 2 chunks as a workaround for buggy
15051           jadetex version in sid and breezy that loops infinitely and
15052           eats all RAM.
15053
15054 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15055
15056         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15057         (test_event), (timediff), (gstevents_suite):
15058           Provide more error margin in clock measurements to allow for 
15059           g_get_current_time inaccuracies.
15060
15061 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15062
15063         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15064         (test_event), (timediff), (gstevents_suite):
15065            Fix error message output so I might be able to tell why the
15066            test works here but fails on the build farm.
15067
15068 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15069
15070         * check/Makefile.am:
15071         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15072         (test_event), (timediff), (gstevents_suite), (main):
15073           I wrote a test!
15074
15075         * docs/design/part-seeking.txt:
15076           Spelling correction
15077
15078         * docs/gst/tmpl/gstevent.sgml:
15079         * docs/gst/tmpl/gstfakesrc.sgml:
15080           Docs updates.
15081
15082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15083           Treat a buffer-without-newsegment the same as a receiving 
15084           a newsegment not in time format, and disable syncing to the clock
15085           with a warning.
15086
15087         * gst/gstbus.c: (gst_bus_set_sync_handler):
15088           Assert if anyone tries to replace the existing sync_handler for bus, 
15089           as only the owner should be setting it.
15090
15091         * gst/gstevent.h:
15092           Have a fixed set of custom event enums with events identified by
15093           their structure name (as in 0.8), rather than a free-for-all
15094           allowing collisions between enum values from different plugins.
15095
15096         * gst/gstpad.c: (gst_pad_class_init):
15097           Docs change.
15098           
15099         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15100           Handle out-of-band downstream events from the sending thread.
15101
15102 2005-08-17  Andy Wingo  <wingo@pobox.com>
15103
15104         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15105         play-timeout==0 to mean no timeout at all. In that case, don't
15106         bother with a get_state or a warning, just return directly, even
15107         if it's ASYNC.
15108
15109         * gst/base/gstbasetransform.c: Debug changes.
15110
15111         * gst/gstutils.h:
15112         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15113         ensure bins post state change messages. A bit of a hack but I can't
15114         think of a way to avoid it.
15115
15116         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15117
15118 2005-08-16  Andy Wingo  <wingo@pobox.com>
15119
15120         * gst/base/gstadapter.h:
15121         * gst/base/gstadapter.c (gst_adapter_take): New function, like
15122         peek() but you own the data. Not terribly efficient atm.
15123
15124 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15125
15126         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15127         (gst_element_found_tags):
15128         * gst/gstutils.h:
15129           Add two utility functions for tag handling.
15130
15131 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15132
15133         * docs/manual/advanced-dataaccess.xml:
15134         * docs/manual/basics-helloworld.xml:
15135           Fix docs to use _bin_add() before _link(), which fixes the examples
15136           with recent core versions (reported by Madhan Raj M
15137           <raj_madan@rediffmail.com>, #313199).
15138
15139 2005-08-16  Wim Taymans  <wim@fluendo.com>
15140
15141         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15142         Added subtract checks.
15143
15144         * docs/design/part-events.txt:
15145         Some more docs about newsegment
15146
15147         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15148         Fix FIXME
15149
15150         * gst/gstcaps.c: (gst_caps_to_string):
15151         Add comments, cleanups.
15152         
15153         * gst/gstelement.c: (gst_element_save_thyself):
15154         cleanups
15155         
15156         * gst/gstvalue.c: (gst_value_collect_int_range),
15157         (gst_string_unwrap), (gst_value_union_int_int_range),
15158         (gst_value_union_int_range_int_range),
15159         (gst_value_intersect_int_int_range),
15160         (gst_value_intersect_int_range_int_range),
15161         (gst_value_intersect_double_double_range),
15162         (gst_value_intersect_double_range_double_range),
15163         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15164         (gst_value_subtract_int_range_int),
15165         (gst_value_subtract_double_range_double),
15166         (gst_value_subtract_double_range_double_range),
15167         (gst_value_subtract_from_list), (gst_value_subtract_list),
15168         (gst_value_can_compare), (gst_value_compare_fraction):
15169         Cleanups, add comments, remove unneeded asserts.
15170
15171 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15172
15173         * tools/gst-launch.c: (event_loop):
15174           don't convert NULL structures to strings
15175
15176 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
15177
15178         * docs/gst/gstreamer-sections.txt:
15179           made some defines private
15180         * docs/gst/tmpl/gstconfig.sgml:
15181         * docs/gst/tmpl/gstqueue.sgml:
15182         * docs/gst/tmpl/gsttaglist.sgml:
15183         * docs/gst/tmpl/gsttypes.sgml:
15184         * docs/gst/tmpl/gstutils.sgml:
15185         * docs/pwg/appendix-porting.xml:
15186         * gst/base/gstbasesink.h:
15187         * gst/base/gstbasesrc.c:
15188         * gst/base/gstbasesrc.h:
15189         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15190         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15191         * gst/gstelement.c: (gst_element_class_init):
15192         * gst/gstpad.c: (gst_pad_class_init):
15193         * gst/gstqueue.c: (gst_queue_class_init):
15194         * gst/gstxml.c: (gst_xml_class_init):
15195           documented all undocumented signal inline
15196         * libs/gst/controller/gst-controller.h:
15197           added padding
15198
15199 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15200
15201         * docs/pwg/appendix-porting.xml:
15202           Document _set_link_function -> _set_setcaps_function.
15203
15204 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15205
15206         * check/Makefile.am:
15207           add a .check target for running the check
15208         * check/gst-libs/controller.c: (GST_START_TEST):
15209           cosmetic fixups
15210         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15211           complete checks for gstbuffer; would be nice if I could get the
15212           gcov stuff to work so I can see if I actually completed gstbuffer.c
15213         * check/gstcheck.h:
15214           add ASSERT_BUFFER_REFCOUNT
15215
15216 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
15217
15218         * docs/gst/gstreamer-sections.txt:
15219         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15220         * gst/gsttag.h:
15221           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15222           spew out a warning if a tag that is already registered
15223           is re-registered, unless it is re-registered with a 
15224           different type (#308438).
15225
15226 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
15227
15228         * docs/pwg/appendix-porting.xml:
15229         * docs/pwg/building-state.xml:
15230           Add some paragraphs about state changes in 0.9 to the PWG
15231           and the porting guide, in particular about the new meaning
15232           of GST_STATE_PAUSED and how to write state change functions
15233           with concurrent access by multiple threads in mind.
15234
15235 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
15236
15237         * docs/gst/gstreamer-docs.sgml:
15238         * docs/libs/gstreamer-libs-docs.sgml:
15239           added deprecation and since indexes
15240         * libs/gst/controller/gst-controller.c:
15241         * libs/gst/controller/gst-helper.c:
15242           added since tags
15243
15244
15245 2005-08-11  Wim Taymans  <wim@fluendo.com>
15246
15247         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15248         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15249         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15250         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15251         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15252         (gst_ghost_pad_set_target):
15253         Actually implement (re)setting the target on a ghostpad
15254         as described in the docs.
15255
15256 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15257
15258         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15259           Check whether GST_DEBUG_NO_COLOR environment variable is
15260           set and disable coloured debug output if that is the case.
15261
15262 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15263
15264         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15265         (gst_type_find_helper):
15266           The memory returned by gst_type_find_peek() needs to
15267           stay valid until the end of a typefind function, and
15268           typefind functions may keep results from different 
15269           offsets around, so we can't just unref the buffer from
15270           the previous _peek(), but have to save all buffers 
15271           returned by _peek() until typefinding is done and only
15272           free them then.
15273
15274 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * docs/gst/gstreamer-sections.txt:
15277         * gst/gstutils.h:
15278           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15279
15280 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15281
15282         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15283           Fix a pretty good memleak.
15284
15285 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15286
15287         * gst/gstiterator.h:
15288           Fix wrong include and 'make distcheck'.
15289
15290 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15291
15292         * gst/gstbin.c: (bin_bus_handler):
15293           Use gst_element_post_message() instead.
15294
15295 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15296
15297         * gst/base/gstadapter.h:
15298         * gst/base/gstbasesink.h:
15299         * gst/base/gstbasesrc.h:
15300         * gst/base/gstbasetransform.h:
15301         * gst/base/gstcollectpads.h:
15302         * gst/base/gstpushsrc.h:
15303         * gst/gstiterator.h:
15304           Add padding to our base elements' class and instance structs and
15305           to GstIterator (you will need to rebuild all plugins and apps!)
15306
15307 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15308
15309         * gst/gstbin.c: (bin_bus_handler):
15310           Make default message forwarding from child->bus to bin->bus
15311           threadsafe and make it not emit warnings if the parent has no bus.
15312
15313 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15314
15315         * gst/gstelement.c: (activate_pads):
15316           On paused->ready, set pad->caps to NULL, as is the documented
15317           behaviour in this state change. Fixes playback of series of
15318           media files when visualization is enabled in Totem.
15319
15320 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15321
15322         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15323           Allow NULL as filter-caps (which means "any").
15324
15325 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15326
15327         * docs/libs/gstreamer-libs-sections.txt:
15328         * libs/gst/controller/gst-controller.c:
15329         * libs/gst/controller/gst-controller.h:
15330         * libs/gst/controller/gst-helper.c:
15331           adding more entries to the docs and fix small doc-bugs
15332
15333 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15334
15335         * docs/gst/gstreamer-docs.sgml:
15336         * docs/gst/gstreamer-sections.txt:
15337         * docs/gst/gstreamer.types:
15338         * docs/gst/tmpl/gstbasesink.sgml:
15339         * docs/gst/tmpl/gstbasesrc.sgml:
15340         * docs/gst/tmpl/gstbasetransform.sgml:
15341         * docs/gst/tmpl/gstfakesrc.sgml:
15342         * gst/base/gstcollectpads.c:
15343         * gst/base/gstcollectpads.h:
15344         * libs/gst/controller/gst-controller.c:
15345         * libs/gst/controller/gst-controller.h:
15346         * libs/gst/controller/gst-helper.c:
15347         * libs/gst/controller/gst-interpolation.c:
15348         * libs/gst/controller/lib.c:
15349           added long/short desc for controller docs
15350           added collectpads base class docs
15351           added correct includes to base-class docs
15352
15353 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15354
15355         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15356         (gst_test_mono_source_set_property),
15357         (gst_test_mono_source_class_init), (GST_START_TEST),
15358         (gst_controller_suite):
15359         * docs/gst/gstreamer-docs.sgml:
15360         * docs/gst/gstreamer-sections.txt:
15361         * docs/gst/gstreamer.types:
15362         * docs/libs/gstreamer-libs-docs.sgml:
15363         * docs/libs/gstreamer-libs-sections.txt:
15364         * gst/base/gstadapter.c:
15365         * libs/gst/controller/gst-controller.c:
15366         (gst_controlled_property_new), (gst_controlled_property_free),
15367         (gst_controller_new_valist),
15368         (gst_controller_remove_properties_valist),
15369         (gst_controller_sink_values), (_gst_controller_finalize):
15370         * libs/gst/controller/gst-controller.h:
15371         * libs/gst/controller/gst-helper.c:
15372         (gst_object_control_properties), (gst_object_uncontrol_properties),
15373         (gst_object_get_controller), (gst_object_set_controller),
15374         (gst_object_sink_values), (gst_object_get_value_arrays),
15375         (gst_object_get_value_array):
15376           more tests (and fixes) for the controller
15377           more docs for the controller
15378           integrated companies docs for the adapter 
15379
15380 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15381
15382         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15383         (GST_START_TEST), (fakesrc_suite):
15384           add tests for sizetype
15385
15386 2005-08-04  Andy Wingo  <wingo@pobox.com>
15387
15388         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15389         fixes buffer_alloc proxying among other things.
15390
15391         * gst/base/gstbasetransform.c:
15392         * gst/base/gstbasetransform.h:
15393         Revert patch to gstbasetransform from 7-28 removing
15394         delay_configure.
15395
15396         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15397         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15398         Semantics changed, should return not the size of the output buffer
15399         but the byte size of a buffer with a given caps.
15400
15401         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15402         debug object.
15403         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15404         out) are not the pad caps until setcaps finishes.
15405         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15406         not-in-place case as well. Deal with changing from in-place to
15407         not-in-place within calling pad_alloc_buffer. Still a bit
15408         concerned about the overhead here...
15409
15410 2005-08-03  Andy Wingo  <wingo@pobox.com>
15411
15412         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15413         fixating is an error.
15414
15415 2005-08-04  Edward Hervey  <edward@fluendo.com>
15416
15417         * gst/base/gstadapter.h: 
15418         Added gst_adapter_get_type() to the header
15419
15420 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15421
15422         * check/Makefile.am:
15423         * check/gst-libs/controller.c:
15424         * libs/gst/controller/gst-controller.c:
15425         (gst_controller_new_valist):
15426           added check test suite for the controller
15427         * gst/base/gstpushsrc.c:
15428           fixed a doc typo
15429
15430 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15431
15432         * docs/gst/Makefile.am:
15433         * docs/gst/gstreamer-docs.sgml:
15434         * docs/gst/gstreamer-sections.txt:
15435         * docs/gst/gstreamer.types:
15436         * docs/gst/tmpl/gstfakesrc.sgml:
15437         * gst/base/README:
15438         * gst/base/gstbasesink.c:
15439         * gst/base/gstbasesink.h:
15440         * gst/base/gstbasesrc.c:
15441         * gst/base/gstbasesrc.h:
15442         * gst/base/gstbasetransform.c:
15443         * gst/base/gstpushsrc.c:
15444         * gst/base/gstpushsrc.h:
15445           add short/long description docs to base classes
15446           add pushsrc to the docs
15447           remove consolidated doc fragments
15448
15449 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15450
15451         * configure.ac:
15452         * docs/libs/Makefile.am:
15453         * docs/libs/gstreamer-libs-docs.sgml:
15454         * docs/libs/gstreamer-libs-sections.txt:
15455         * docs/libs/gstreamer-libs.types:
15456         * examples/Makefile.am:
15457         * examples/controller/.cvsignore:
15458         * examples/controller/Makefile.am:
15459         * examples/controller/audio-example.c: (main):
15460         * libs/gst/Makefile.am:
15461         * libs/gst/controller/.cvsignore:
15462         * libs/gst/controller/Makefile.am:
15463         * libs/gst/controller/gst-controller.c:
15464         (on_object_controlled_property_changed), (gst_timed_value_compare),
15465         (gst_timed_value_find),
15466         (gst_controlled_property_set_interpolation_mode),
15467         (gst_controlled_property_new), (gst_controlled_property_free),
15468         (gst_controller_find_controlled_property),
15469         (gst_controller_new_valist), (gst_controller_new),
15470         (gst_controller_remove_properties_valist),
15471         (gst_controller_remove_properties), (gst_controller_set),
15472         (gst_controller_set_from_list), (gst_controller_unset),
15473         (gst_controller_get), (gst_controller_get_all),
15474         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15475         (gst_controller_get_value_array),
15476         (gst_controller_set_interpolation_mode),
15477         (_gst_controller_finalize), (_gst_controller_init),
15478         (_gst_controller_class_init), (gst_controller_get_type):
15479         * libs/gst/controller/gst-controller.h:
15480         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15481         (g_object_uncontrol_properties), (g_object_get_controller),
15482         (g_object_set_controller), (g_object_sink_values),
15483         (g_object_get_value_arrays), (g_object_get_value_array):
15484         * libs/gst/controller/gst-interpolation.c:
15485         (gst_controlled_property_find_timed_value_node),
15486         (interpolate_none_get), (interpolate_trigger_get),
15487         (interpolate_trigger_get_value_array):
15488         * libs/gst/controller/lib.c: (gst_controller_init):
15489         * pkgconfig/Makefile.am:
15490         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15491         * pkgconfig/gstreamer-control.pc.in:
15492         * testsuite/Makefile.am:
15493         * testsuite/controller/.cvsignore:
15494         * testsuite/controller/Makefile.am:
15495         * testsuite/controller/interpolator.c: (main):
15496           added controller code
15497           removed dparam pc files
15498
15499 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15500         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15501         (gst_collectpads_stop):
15502           Broadcast the condition when shutting down, to make sure we wake all
15503           threads up. Shut down pads on finalize, for safety.
15504
15505 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15506         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15507         (gst_base_transform_handle_buffer),
15508         (gst_base_transform_change_state):
15509           Handle PAUSED->READY->PAUSED transition after negotiation
15510           occurred already.
15511         * gst/gstmessage.c: (gst_message_init):
15512           Extra piece of debug for new messages.
15513
15514 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15515
15516         * configure.ac:
15517         * docs/gst/tmpl/gstbasesrc.sgml:
15518         * docs/gst/tmpl/gstelement.sgml:
15519         * docs/gst/tmpl/gstevent.sgml:
15520         * docs/gst/tmpl/gstfakesrc.sgml:
15521         * docs/gst/tmpl/gstformat.sgml:
15522         * docs/gst/tmpl/gstghostpad.sgml:
15523         * docs/gst/tmpl/gstpad.sgml:
15524         * docs/gst/tmpl/gstquery.sgml:
15525         * docs/gst/tmpl/gststructure.sgml:
15526         * docs/gst/tmpl/gsttaglist.sgml:
15527         * docs/gst/tmpl/gstvalue.sgml:
15528         * docs/libs/gstreamer-libs-docs.sgml:
15529         * docs/libs/gstreamer-libs-sections.txt:
15530         * docs/libs/gstreamer-libs.types:
15531         * libs/gst/Makefile.am:
15532         * libs/gst/control/.cvsignore:
15533         * libs/gst/control/Makefile.am:
15534         * libs/gst/control/control.c:
15535         * libs/gst/control/control.h:
15536         * libs/gst/control/dparam.c:
15537         * libs/gst/control/dparam.h:
15538         * libs/gst/control/dparam_smooth.c:
15539         * libs/gst/control/dparam_smooth.h:
15540         * libs/gst/control/dparamcommon.h:
15541         * libs/gst/control/dparammanager.c:
15542         * libs/gst/control/dparammanager.h:
15543         * libs/gst/control/dplinearinterp.c:
15544         * libs/gst/control/dplinearinterp.h:
15545         * libs/gst/control/unitconvert.c:
15546         * libs/gst/control/unitconvert.h:
15547         * testsuite/Makefile.am:
15548         * testsuite/dynparams/.cvsignore:
15549         * testsuite/dynparams/Makefile.am:
15550         * testsuite/dynparams/dparamstest.c:
15551         * tools/Makefile.am:
15552         * tools/gst-inspect.c: (print_element_info), (main):
15553         * tools/gst-xmlinspect.c: (print_element_info), (main):
15554           deactivate and remove dparams (libgstcontrol)
15555
15556 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15557
15558         * gst/elements/gsttypefindelement.c:
15559         (gst_type_find_element_have_type), (gst_type_find_element_init),
15560         (stop_typefinding), (gst_type_find_element_handle_event),
15561         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15562         * gst/elements/gsttypefindelement.h:
15563           Set caps on all outgoing buffers, not just the first one.
15564
15565 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15566
15567         * gst/elements/gsttypefindelement.c:
15568         (gst_type_find_element_have_type),
15569         (gst_type_find_element_check_set_buffer_caps),
15570         (gst_type_find_element_init), (stop_typefinding),
15571         (gst_type_find_element_handle_event),
15572         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15573         * gst/elements/gsttypefindelement.h:
15574           Set caps on first outgoing buffer when we've found the type.
15575
15576 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15577
15578         * docs/gst/gstreamer-docs.sgml:
15579         * docs/gst/gstreamer-sections.txt:
15580         * docs/gst/tmpl/gstscheduler.sgml:
15581         * docs/gst/tmpl/gstschedulerfactory.sgml:
15582           Remove some old cruft from docs.
15583
15584 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15585
15586         * gst/gstpad.h:
15587           Fix inline docs for GstPadLinkReturn.
15588           
15589         * gst/gststructure.c: (gst_structure_has_name):
15590         * gst/gststructure.h:
15591         * docs/gst/gstreamer-sections.txt:
15592           New API: gst_structure_has_name().
15593
15594 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15595
15596         * configure.ac:
15597           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15598           and _LARGEFILE_SOURCE in config.h as required. Do not 
15599           export those flags in our .pc files any longer (#142209).
15600
15601           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15602
15603         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15604         (gst_file_sink_do_seek), (gst_file_sink_event),
15605         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15606           Redo seek/tell calls with large file support in mind; add some
15607           debugging messages; add log message that tells us when large
15608           file support is unavailable or not enabled for some reason.
15609
15610         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15611           Add log message that tells us when large file support 
15612           is unavailable or not enabled for some reason.
15613
15614 2005-07-29  Wim Taymans  <wim@fluendo.com>
15615
15616         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15617         Added test for removing an element with ghostpad from a bin.
15618         Fixed test as current implementation does the right thing.
15619
15620         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15621         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15622         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15623         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15624         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15625         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15626         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15627         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15628         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15629         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15630         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15631         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15632         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15633         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15634         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15635         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15636         * gst/gstghostpad.h:
15637         Clean up ghostpads, remove properties for internal stuff.
15638         Make threadsafe.
15639         Fix refcounting.
15640         Prepare for switching targets, not all use cases work yet.
15641
15642 2005-07-29  Wim Taymans  <wim@fluendo.com>
15643
15644         * docs/design/part-gstghostpad.txt:
15645         Small update.
15646
15647         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15648         (gst_bin_remove_func):
15649         Unlinking pads while holding the bin LOCK is not a good
15650         idea.
15651
15652         * gst/gstpad.c: (gst_pad_class_init),
15653         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15654         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15655         No prob setting template after creating the pad.
15656
15657 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15658
15659         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15660         (gst_bus_peek), (gst_bus_source_dispatch),
15661         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15662         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15663           gst_bus_poll may be called from other threads. Handle
15664           this nicely by not making poll_data disappear off the
15665           stack once gst_bus_poll returns.
15666           gst_bus_peek now increments the refcount on the returned
15667           message.
15668
15669 2005-07-29  Wim Taymans  <wim@fluendo.com>
15670
15671         * docs/design/part-gstghostpad.txt:
15672         Overview of current GhostPad datastructures and use
15673         cases for changing the target.
15674
15675 2005-07-28  Wim Taymans  <wim@fluendo.com>
15676
15677         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15678         Added checks for hierarchy consistency whan adding linked
15679         elements to bins.
15680
15681         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15682         Added check to test element scheduling without bin/pipeline.
15683
15684         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15685         First add elements to bin, then link.
15686         
15687         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15688         (gst_bin_remove_func):
15689         Unlink pads from elements added/removed from bin to maintain
15690         hierarchy consistency.
15691
15692 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15693
15694         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15695         (gst_base_transform_handle_buffer):
15696         * gst/base/gstbasetransform.h:
15697           Remove broken delay_configure (fixes renegotiation of software
15698           scaling pipelines); remove some leftover printf()s.
15699
15700 2005-07-28  Wim Taymans  <wim@fluendo.com>
15701
15702         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15703         Added some more tests for wrong hierarchy
15704
15705         * docs/design/part-overview.txt:
15706         Some updates.
15707
15708         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15709         Cleanups.
15710
15711         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15712         (gst_element_dispose):
15713         Some more cleanups.
15714
15715         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15716         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15717         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15718         (gst_pad_set_caps), (gst_pad_send_event):
15719         Check for correct hierarchy when linking pads. Moving to
15720         strict requirement for ghostpads when linking elements in
15721         different bins.
15722
15723         * gst/gstpad.h:
15724         Clean ups. Added WRONG_HIERARCHY return value.
15725
15726 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15727
15728         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15729           Better debug if no transform is possible.
15730
15731 2005-07-27  Wim Taymans  <wim@fluendo.com>
15732
15733         * docs/random/wtay/network-transp:
15734         Some old doc I had.
15735
15736 2005-07-27  Wim Taymans  <wim@fluendo.com>
15737
15738         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15739         (gst_dp_event_from_packet):
15740         Fix serialization of seek events.
15741
15742 2005-07-27  Wim Taymans  <wim@fluendo.com>
15743
15744         * check/gst-libs/gdp.c: (GST_START_TEST):
15745         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15746         Fix compilation and fix event serialization.
15747
15748 2005-07-27  Wim Taymans  <wim@fluendo.com>
15749
15750         * CHANGES-0.9:
15751         * docs/design/part-TODO.txt:
15752         * docs/design/part-events.txt:
15753         Some docs updates
15754
15755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15756         (gst_base_sink_event), (gst_base_sink_do_sync),
15757         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15758         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15759         (gst_base_src_do_seek), (gst_base_src_event_handler),
15760         (gst_base_src_loop):
15761         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15762         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15763         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15764         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15765         (gst_base_transform_set_passthrough),
15766         (gst_base_transform_is_passthrough):
15767         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15768         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15769         Event updates.
15770
15771         * gst/gstbuffer.h:
15772         Use faster casts.
15773
15774         * gst/gstelement.c: (gst_element_seek):
15775         * gst/gstelement.h:
15776         Update gst_element_seek.
15777
15778         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15779         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15780         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15781         (gst_event_new_eos), (gst_event_new_newsegment),
15782         (gst_event_parse_newsegment), (gst_event_new_tag),
15783         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15784         (gst_event_parse_qos), (gst_event_new_seek),
15785         (gst_event_parse_seek), (gst_event_new_navigation):
15786         * gst/gstevent.h:
15787         Make GstEvent use GstStructure. Add parsing code, make sure the
15788         API is sufficiently generic.
15789         Mark possible directions of events and serialization.
15790
15791         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15792         (_gst_message_copy), (gst_message_new_segment_start),
15793         (gst_message_new_segment_done), (gst_message_new_custom),
15794         (gst_message_parse_segment_start),
15795         (gst_message_parse_segment_done):
15796         Small cleanups.
15797
15798         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15799         (gst_pad_set_caps), (gst_pad_send_event):
15800         Update for new events. 
15801         Catch events sent in wrong directions.
15802
15803         * gst/gstqueue.c: (gst_queue_link_src),
15804         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15805         (gst_queue_handle_src_query):
15806         Event updates.
15807
15808         * gst/gsttag.c:
15809         * gst/gsttag.h:
15810         Remove event code from this file.
15811
15812         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15813         (gst_dp_event_from_packet):
15814         Event updates.
15815
15816 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15817
15818         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15819         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15820         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15821           Make debugging actually useful.
15822
15823 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15824
15825         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15826         (gst_pad_fixate_caps):
15827           Implement default fixation once again, so that gst_pad_fixate()
15828           actually does anything at all. This probably needs to be some
15829           sort of a last resort, and use profile-based fixation first, but
15830           since that doesn't exist yet, this is the best we have. Fixes
15831           visualization in Totem.
15832
15833 2005-07-22  Wim Taymans  <wim@fluendo.com>
15834
15835         * docs/design/part-events.txt:
15836         Small update.
15837
15838         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15839         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15840         (gst_base_sink_activate_pull):
15841         Some more comments.
15842
15843         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15844         (gst_fake_src_create):
15845         Fix handoff marshall.
15846
15847         * gst/elements/gstidentity.c: (gst_identity_class_init),
15848         (gst_identity_transform_ip):
15849         We're a real inplace element.
15850
15851         * gst/gstbus.c: (gst_bus_post):
15852         Added some comments.
15853
15854         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15855         * tests/muxing/case1.c: (main):
15856         * tests/sched/dynamic-pipeline.c: (main):
15857         * tests/sched/interrupt1.c: (main):
15858         * tests/sched/interrupt2.c: (main):
15859         * tests/sched/interrupt3.c: (main):
15860         * tests/sched/runxml.c: (main):
15861         * tests/sched/sched-stress.c: (main):
15862         * tests/seeking/seeking1.c: (event_received), (main):
15863         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15864         (main):
15865         * tests/threadstate/threadstate3.c: (main):
15866         * tests/threadstate/threadstate4.c: (main):
15867         * tests/threadstate/threadstate5.c: (main):
15868         Fix the tests.
15869
15870 2005-07-21  Wim Taymans  <wim@fluendo.com>
15871
15872         * docs/design/part-seeking.txt:
15873         Some small additions.
15874
15875         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15876         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15877         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15878         * gst/base/gstbasesink.h:
15879         discont values are gint64, handle the math correctly.
15880
15881         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15882         Make the basesrc report error if the source pad is not linked.
15883
15884         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15885         (gst_queue_loop), (gst_queue_handle_src_query),
15886         (gst_queue_src_activate_push):
15887         Make queue collect data even if the srcpad is not linked.
15888         Start pushing out data as soon as it is linked.
15889
15890         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15891         * gst/gstutils.h:
15892         Added gst_flow_get_name() to ease error reporting.
15893
15894 2005-07-20  Wim Taymans  <wim@fluendo.com>
15895
15896         * gst/gstmessage.c: (gst_message_new_segment_start),
15897         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15898         (gst_message_parse_segment_done):
15899         * gst/gstmessage.h:
15900         Added a bunch of messages for advanced seeking.
15901
15902         * gst/parse/grammar.y:
15903         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15904         (gst_dpman_state_changed):
15905         Fix some new-pad -> pad-added signals
15906
15907 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15908
15909         * docs/manual/appendix-porting.xml:
15910         * docs/pwg/appendix-porting.xml:
15911           Document new-pad/state-change signal renames and the FixedList
15912           type rename.
15913
15914 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15915
15916         * docs/manual/advanced-autoplugging.xml:
15917         * docs/manual/basics-helloworld.xml:
15918         * docs/manual/basics-pads.xml:
15919         * docs/random/ds/0.9-suggested-changes:
15920         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15921         * gst/gstelement.h:
15922         * gst/gstevent.h:
15923         * gst/gstformat.h:
15924         * gst/gstquery.h:
15925         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15926         (gst_structure_parse_array), (gst_structure_parse_value):
15927         * gst/gstvalue.c: (gst_type_is_fixed),
15928         (gst_value_list_prepend_value), (gst_value_list_append_value),
15929         (gst_value_list_get_size), (gst_value_list_get_value),
15930         (gst_value_transform_array_string), (gst_value_serialize_array),
15931         (gst_value_deserialize_array), (gst_value_intersect_array),
15932         (gst_value_is_fixed), (_gst_value_initialize):
15933         * gst/gstvalue.h:
15934           GstElement::new-pad -> pad-added, GstElement::state-change ->
15935           state-changed, GstValueFixedList -> GstValueArray, add format and
15936           flags as their own arguments in gst_element_seek() (should improve
15937           "bindeability"), remove function generators since they don't work
15938           under a whole bunch of compilers (they were deprecated already
15939           anyway).
15940
15941 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15942
15943         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15944         (_gst_debug_register_funcptr):
15945         * gst/gstinfo.h:
15946           Fix illegal cast on some platforms (#309253).
15947
15948 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15949
15950         * gst/gstmessage.c: (gst_message_new_custom):
15951         * gst/gstmessage.h:
15952           Add _new_custom, make _new_application a macro to _new_custom.
15953
15954 2005-07-20  Wim Taymans  <wim@fluendo.com>
15955
15956         * gst/base/gstbasesrc.c: (gst_base_src_init),
15957         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15958         * gst/base/gstbasesrc.h:
15959         Add a gboolean to decide when to push out a discont.
15960
15961         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15962         (gst_queue_loop), (gst_queue_handle_src_query),
15963         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15964         (gst_queue_set_property), (gst_queue_get_property):
15965         Some cleanups.
15966
15967         * tests/threadstate/threadstate1.c: (main):
15968         Make a thread test compile and run... very silly..
15969
15970
15971 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15972
15973         * docs/manual/appendix-porting.xml:
15974           Mention removal of libgstgconf-0.9.la and existence of gconf
15975           elements.
15976
15977 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15978
15979         * docs/pwg/advanced-clock.xml:
15980         * docs/pwg/appendix-porting.xml:
15981         * docs/pwg/intro-preface.xml:
15982         * docs/pwg/other-base.xml:
15983         * docs/pwg/other-manager.xml:
15984         * docs/pwg/other-nton.xml:
15985         * docs/pwg/other-ntoone.xml:
15986         * docs/pwg/other-oneton.xml:
15987         * docs/pwg/pwg.xml:
15988           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15989           demuxer), remove n-to-n (was never written), fix some code examples
15990           and links and update the porting section to include all this.
15991
15992 2005-07-19  Wim Taymans  <wim@fluendo.com>
15993
15994         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15995         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15996         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15997         (gst_queue_src_activate_push), (gst_queue_change_state),
15998         (gst_queue_get_property):
15999         * gst/gstqueue.h:
16000         Propagate GstFlowReturn more intelligently upstream and output
16001         an ERROR/EOS when streaming stopped due to fatal error.
16002
16003 2005-07-19  Wim Taymans  <wim@fluendo.com>
16004
16005         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16006         Don't block forever for the state change to complete, the
16007         pipeline already did with a sensible timeout.
16008
16009 2005-07-19  Wim Taymans  <wim@fluendo.com>
16010
16011         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16012         Make sure we never call the create function is we
16013         got deactivated.
16014
16015 2005-07-19  Andy Wingo  <wingo@pobox.com>
16016
16017         * gst/parse/parse.l: Attempt to solve bug #172815.
16018
16019 2005-07-19  Wim Taymans  <wim@fluendo.com>
16020
16021         * docs/design/part-clocks.txt:
16022         * docs/design/part-events.txt:
16023         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16024         Small docs updates.
16025         Only update the seeking values when we are not
16026         busy streaming.
16027
16028 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16029
16030         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16031           Oops, ignore the result of gst_pad_push_event here.
16032
16033 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16034
16035         * gst/base/gstbasesrc.c: (gst_base_src_loop),
16036         (gst_base_src_activate_push):
16037           Send discont event from the loop function, as pads
16038           aren't activated yet in the activate_push handler.
16039
16040         * gst/gstbin.c: (bin_bus_handler):
16041           Don't leak element name.
16042
16043 2005-07-18  Andy Wingo  <wingo@pobox.com>
16044
16045         * configure.ac: Use AS_LIBTOOL_TAGS.
16046
16047 2005-07-18  Wim Taymans  <wim@fluendo.com>
16048
16049         * docs/gst/gstreamer.types:
16050         Remove deleted types.
16051
16052 2005-07-18  Wim Taymans  <wim@fluendo.com>
16053
16054         * check/elements/gstfakesrc.c: (GST_START_TEST):
16055         * configure.ac:
16056         * gst/Makefile.am:
16057         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16058         (init_popt_callback):
16059         * gst/gst.h:
16060         * gst/gst_private.h:
16061         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16062         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16063         * gst/gstbin.h:
16064         * gst/gstbus.h:
16065         * gst/gstconfig.h.in:
16066         * gst/gstelement.c: (gst_element_class_init),
16067         (gst_element_set_base_time), (gst_element_get_base_time),
16068         (iterator_fold_with_resync), (gst_element_change_state),
16069         (gst_element_dispose), (gst_element_get_bus):
16070         * gst/gstelement.h:
16071         * gst/gstelementfactory.h:
16072         * gst/gsterror.c: (_gst_core_errors_init):
16073         * gst/gsterror.h:
16074         * gst/gstevent.h:
16075         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16076         * gst/gstindex.c:
16077         * gst/gstinfo.c: (_gst_debug_init):
16078         * gst/gstmessage.c: (_gst_message_copy):
16079         * gst/gstmessage.h:
16080         * gst/gstminiobject.h:
16081         * gst/gstobject.c:
16082         * gst/gstobject.h:
16083         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16084         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16085         * gst/gstpad.h:
16086         * gst/gstparse.h:
16087         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16088         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16089         (gst_pipeline_get_last_stream_time):
16090         * gst/gstpipeline.h:
16091         * gst/gstpluginfeature.h:
16092         * gst/gstquery.h:
16093         * gst/gstscheduler.c:
16094         * gst/gstscheduler.h:
16095         * gst/gststructure.h:
16096         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16097         (gst_task_finalize), (gst_task_func), (gst_task_create),
16098         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16099         (gst_task_stop), (gst_task_pause):
16100         * gst/gsttask.h:
16101         * gst/gsttypefind.h:
16102         * gst/gsttypes.h:
16103         * gst/registries/gstlibxmlregistry.c: (load_feature),
16104         (gst_xml_registry_load), (gst_xml_registry_save_feature):
16105         * gst/registries/gstxmlregistry.c:
16106         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16107         * gst/schedulers/threadscheduler.c:
16108         * libs/gst/control/dparammanager.h:
16109         * tools/gst-inspect.c: (print_element_list),
16110         (print_plugin_features), (print_element_features):
16111         * tools/gst-xmlinspect.c: (print_element_list),
16112         (print_plugin_info), (main):
16113         Removed plugable schedulers.
16114         Removed Scheduler/Manager from elements.
16115         Removed gsttypes.h, rearranged includes.
16116         Removed dependency pad<->element, element<>pipeline, and
16117         various others,  fix includes.
16118         implement gst_pad_get_parent() with gst_object_get_parent()
16119         Make GstTask sefcontained.
16120         Fix _get_state() on GstBin, it did not return ASYNC with a 0
16121         timeout.
16122         Fix endless loop in iterator_fold_with_resync.
16123
16124
16125 2005-07-18  Wim Taymans  <wim@fluendo.com>
16126
16127         * gst/Makefile.am:
16128         * gst/gstarch.h:
16129         Remove old file.
16130
16131 2005-07-18  Wim Taymans  <wim@fluendo.com>
16132
16133         * gst/Makefile.am:
16134         No more cothreads.h
16135
16136 2005-07-18  Wim Taymans  <wim@fluendo.com>
16137
16138         * gst/cothreads.c:
16139         * gst/cothreads.h:
16140         Let's remove these.
16141
16142 2005-07-18  Wim Taymans  <wim@fluendo.com>
16143
16144         * docs/design/part-dynamic.txt:
16145         * docs/design/part-events.txt:
16146         * docs/design/part-seeking.txt:
16147         Some more docs in the works.
16148
16149         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16150         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16151         (gst_base_transform_setcaps), (gst_base_transform_get_size),
16152         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16153         (gst_base_transform_handle_buffer),
16154         (gst_base_transform_sink_activate_push),
16155         (gst_base_transform_src_activate_pull),
16156         (gst_base_transform_set_passthrough),
16157         (gst_base_transform_is_passthrough):
16158         Refcounting fixes.
16159
16160         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16161         Cleanups.
16162
16163         * gst/gstevent.c: (gst_event_finalize):
16164         Set SRC to NULL.
16165
16166         * gst/gstutils.c: (gst_element_unlink),
16167         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16168         (gst_pad_proxy_setcaps):
16169         * gst/gstutils.h:
16170         Add _get_parent_element() to get a pads parent as an element.
16171
16172 2005-07-18  Wim Taymans  <wim@fluendo.com>
16173
16174         * check/gst/gstbin.c: (GST_START_TEST):
16175         Remove bogus test.
16176
16177 2005-07-18  Wim Taymans  <wim@fluendo.com>
16178
16179         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16180         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16181         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16182         (gst_base_sink_event), (gst_base_sink_do_sync),
16183         (gst_base_sink_chain), (gst_base_sink_loop),
16184         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16185         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16186         Refcounting fixes.
16187         Fix logic for returning ASYNC when not prerolled.
16188
16189 2005-07-18  Wim Taymans  <wim@fluendo.com>
16190
16191         * gst/gstqueue.c: (gst_queue_handle_sink_event):
16192         Fix nasty refcount bug.
16193
16194 2005-07-16 Philippe Khalaf <burger@speedy.org>
16195
16196         * gst/elements/gstfdsrc.c:
16197         * gst/elements/gstfdsrc.h:
16198         * gst/elements/gstelements.c:
16199         * gst/elements/Makefile.am:
16200         Ported fdsrc to 0.9.
16201
16202 2005-07-16  Wim Taymans  <wim@fluendo.com>
16203
16204         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16205         (gst_base_sink_do_sync):
16206         Fix compile error.
16207
16208 2005-07-16  Wim Taymans  <wim@fluendo.com>
16209
16210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16211         (gst_base_sink_event), (gst_base_sink_get_times),
16212         (gst_base_sink_do_sync), (gst_base_sink_change_state):
16213         * gst/base/gstbasesink.h:
16214         Store and use discont values when syncing buffers as described
16215         in design docs.
16216         
16217         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16218         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16219         (gst_base_src_activate_push):
16220         Push discont event when starting.
16221
16222         * gst/elements/gstidentity.c: (gst_identity_transform):
16223         Small cleanups.
16224
16225         * gst/gstbin.c: (gst_bin_change_state):
16226         Small cleanups in base_time  distribution.
16227
16228         * gst/gstelement.c: (gst_element_set_base_time),
16229         (gst_element_get_base_time), (gst_element_change_state):
16230         * gst/gstelement.h:
16231         Added methods for the base_time of the element.
16232         Some MT fixes.
16233
16234         * gst/gstpipeline.c: (gst_pipeline_send_event),
16235         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16236         (gst_pipeline_get_last_stream_time):
16237         * gst/gstpipeline.h:
16238         MT fixes.
16239         Handle seeking as described in design doc, remove stream_time
16240         hack.
16241         Cleanups clock and stream_time selection code. Added accessors
16242         for the stream_time.
16243         
16244
16245 2005-07-16  Andy Wingo  <wingo@pobox.com>
16246
16247         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16248         (#305291).
16249
16250 2005-07-16  Wim Taymans  <wim@fluendo.com>
16251
16252         * check/gst/gstbin.c: (GST_START_TEST):
16253         Make elements silent as the deep_notify refs the
16254         parent, which might make the test fail.
16255
16256         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16257         Don't hold the lock for too long.
16258
16259 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
16260
16261         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16262           Don't unref the caps we passed to gst_caps_make_writable() after
16263           passing them. gst_caps_make_writable() will do that for us.
16264
16265 2005-07-15  Andy Wingo  <wingo@pobox.com>
16266
16267         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16268         (#157311).
16269
16270         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16271         own marshalling function for the handoff signal. Properly type the
16272         buffer as a buffer. Fixes some warnings. Should do a more general
16273         solution.
16274         (gst_identity_class_init): Plug into the right marshaller.
16275
16276 2005-07-15  Wim Taymans  <wim@fluendo.com>
16277
16278         * docs/design/part-TODO.txt:
16279         * docs/design/part-clocks.txt:
16280         * docs/design/part-element-sink.txt:
16281         * docs/design/part-events.txt:
16282         * docs/design/part-gstpipeline.txt:
16283         Updated docs, mostly DISCONT related.
16284
16285 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16286
16287         * docs/pwg/building-pads.xml:
16288           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16289
16290 2005-07-15  Andy Wingo  <wingo@pobox.com>
16291
16292         * tools/gst-typefind.c: Update, add copyright block.
16293
16294         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16295         Normalize and truncate caps before fixation.
16296
16297         * gst/gstcaps.h:
16298         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16299         discards all but the first structure from its argument.
16300
16301 2005-07-15  Wim Taymans  <wim@fluendo.com>
16302
16303         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16304         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16305         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16306         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16307         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16308         (gst_base_transform_chain), (gst_base_transform_change_state),
16309         (gst_base_transform_set_passthrough),
16310         (gst_base_transform_is_passthrough):
16311         * gst/base/gstbasetransform.h:
16312         Make passthrough work using the bufferpools.
16313         Changed API a bit, subclasses have to write into a buffer
16314         provided by the base class.
16315         More debug info in nego functions.
16316         
16317         * gst/elements/gstidentity.c: (gst_identity_init),
16318         (gst_identity_transform):
16319         Port to new base class.
16320
16321 2005-07-15  Wim Taymans  <wim@fluendo.com>
16322
16323         * gst/gstmessage.c: (gst_message_new_state_changed):
16324         * tools/gst-launch.c: (event_loop), (main):
16325         Totally dump messages in -launch with the -m option.
16326         Fix message name for State messages,
16327
16328 2005-07-14  Wim Taymans  <wim@fluendo.com>
16329
16330         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16331         Post error messages on errors.
16332
16333 2005-07-14  Wim Taymans  <wim@fluendo.com>
16334
16335         * gst/gstcaps.c: (gst_caps_do_simplify):
16336         Remove debug info.
16337
16338         * gst/gsterror.h:
16339         Define error for stream stopped.
16340
16341         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16342         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16343         Do proper return values.
16344
16345         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16346         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16347         (gst_pad_get_range):
16348         Better return values.
16349
16350         * gst/gstpad.h:
16351         Reorganise return values, add macro to check for fatal errors.
16352
16353         * gst/gstqueue.c: (gst_queue_chain):
16354         Return proper GstFlowReturn values,
16355
16356 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16357
16358         * docs/gst/gstreamer-sections.txt:
16359         * docs/gst/gstreamer.types:
16360         * docs/gst/tmpl/gst.sgml:
16361         * docs/gst/tmpl/gstbasesink.sgml:
16362         * docs/gst/tmpl/gstbasesrc.sgml:
16363         * docs/gst/tmpl/gstbasetransform.sgml:
16364         * docs/gst/tmpl/gstbin.sgml:
16365         * docs/gst/tmpl/gstbuffer.sgml:
16366         * docs/gst/tmpl/gstcaps.sgml:
16367         * docs/gst/tmpl/gstclock.sgml:
16368         * docs/gst/tmpl/gstcompat.sgml:
16369         * docs/gst/tmpl/gstconfig.sgml:
16370         * docs/gst/tmpl/gstelement.sgml:
16371         * docs/gst/tmpl/gstelementdetails.sgml:
16372         * docs/gst/tmpl/gstelementfactory.sgml:
16373         * docs/gst/tmpl/gstenumtypes.sgml:
16374         * docs/gst/tmpl/gsterror.sgml:
16375         * docs/gst/tmpl/gstevent.sgml:
16376         * docs/gst/tmpl/gstfakesink.sgml:
16377         * docs/gst/tmpl/gstfakesrc.sgml:
16378         * docs/gst/tmpl/gstfilesink.sgml:
16379         * docs/gst/tmpl/gstfilesrc.sgml:
16380         * docs/gst/tmpl/gstfilter.sgml:
16381         * docs/gst/tmpl/gstformat.sgml:
16382         * docs/gst/tmpl/gstghostpad.sgml:
16383         * docs/gst/tmpl/gstimplementsinterface.sgml:
16384         * docs/gst/tmpl/gstindex.sgml:
16385         * docs/gst/tmpl/gstindexfactory.sgml:
16386         * docs/gst/tmpl/gstinfo.sgml:
16387         * docs/gst/tmpl/gstiterator.sgml:
16388         * docs/gst/tmpl/gstmacros.sgml:
16389         * docs/gst/tmpl/gstmemchunk.sgml:
16390         * docs/gst/tmpl/gstminiobject.sgml:
16391         * docs/gst/tmpl/gstobject.sgml:
16392         * docs/gst/tmpl/gstpad.sgml:
16393         * docs/gst/tmpl/gstpadtemplate.sgml:
16394         * docs/gst/tmpl/gstparse.sgml:
16395         * docs/gst/tmpl/gstpipeline.sgml:
16396         * docs/gst/tmpl/gstplugin.sgml:
16397         * docs/gst/tmpl/gstpluginfeature.sgml:
16398         * docs/gst/tmpl/gstquery.sgml:
16399         * docs/gst/tmpl/gstqueue.sgml:
16400         * docs/gst/tmpl/gstregistry.sgml:
16401         * docs/gst/tmpl/gstregistrypool.sgml:
16402         * docs/gst/tmpl/gstscheduler.sgml:
16403         * docs/gst/tmpl/gstschedulerfactory.sgml:
16404         * docs/gst/tmpl/gststructure.sgml:
16405         * docs/gst/tmpl/gstsystemclock.sgml:
16406         * docs/gst/tmpl/gsttaglist.sgml:
16407         * docs/gst/tmpl/gsttagsetter.sgml:
16408         * docs/gst/tmpl/gsttrace.sgml:
16409         * docs/gst/tmpl/gsttrashstack.sgml:
16410         * docs/gst/tmpl/gsttypefind.sgml:
16411         * docs/gst/tmpl/gsttypefindfactory.sgml:
16412         * docs/gst/tmpl/gsttypes.sgml:
16413         * docs/gst/tmpl/gsturihandler.sgml:
16414         * docs/gst/tmpl/gsturitype.sgml:
16415         * docs/gst/tmpl/gstutils.sgml:
16416         * docs/gst/tmpl/gstvalue.sgml:
16417         * docs/gst/tmpl/gstversion.sgml:
16418         * docs/gst/tmpl/gstxml.sgml:
16419         * docs/libs/tmpl/gstcontrol.sgml:
16420         * docs/libs/tmpl/gstdataprotocol.sgml:
16421         * docs/libs/tmpl/gstdparam.sgml:
16422         * docs/libs/tmpl/gstdplinint.sgml:
16423         * docs/libs/tmpl/gstdpman.sgml:
16424         * docs/libs/tmpl/gstdpsmooth.sgml:
16425         * docs/libs/tmpl/gstgetbits.sgml:
16426         * docs/libs/tmpl/gstunitconvert.sgml:
16427         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16428         (gst_push_src_base_init), (gst_push_src_class_init),
16429         (gst_push_src_init), (gst_push_src_create):
16430         * gst/base/gstpushsrc.h:
16431         * gst/elements/gstelements.c:
16432         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16433         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16434         (gst_fake_sink_init), (gst_fake_sink_set_property),
16435         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16436         (gst_fake_sink_event), (gst_fake_sink_preroll),
16437         (gst_fake_sink_render), (gst_fake_sink_change_state):
16438         * gst/elements/gstfakesink.h:
16439         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16440         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16441         (gst_fake_src_base_init), (gst_fake_src_class_init),
16442         (gst_fake_src_init), (gst_fake_src_event_handler),
16443         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16444         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16445         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16446         (gst_fake_src_create_buffer), (gst_fake_src_create),
16447         (gst_fake_src_start), (gst_fake_src_stop):
16448         * gst/elements/gstfakesrc.h:
16449         * gst/elements/gstfilesink.c: (_do_init),
16450         (gst_file_sink_base_init), (gst_file_sink_class_init),
16451         (gst_file_sink_init), (gst_file_sink_dispose),
16452         (gst_file_sink_set_location), (gst_file_sink_set_property),
16453         (gst_file_sink_get_property), (gst_file_sink_open_file),
16454         (gst_file_sink_close_file), (gst_file_sink_query),
16455         (gst_file_sink_event), (gst_file_sink_render),
16456         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16457         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16458         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16459         * gst/elements/gstfilesink.h:
16460         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16461         (gst_file_src_class_init), (gst_file_src_init),
16462         (gst_file_src_finalize), (gst_file_src_set_location),
16463         (gst_file_src_set_property), (gst_file_src_get_property),
16464         (gst_file_src_map_region), (gst_file_src_map_small_region),
16465         (gst_file_src_create_mmap), (gst_file_src_create_read),
16466         (gst_file_src_create), (gst_file_src_is_seekable),
16467         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16468         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16469         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16470         (gst_file_src_uri_handler_init):
16471         * gst/elements/gstfilesrc.h:
16472           more autistic cleanliness in functions/names/defines
16473
16474 2005-07-13  Andy Wingo  <wingo@pobox.com>
16475
16476         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16477         source couldn't negotiate.
16478
16479         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16480         connections again.
16481
16482         * gst/gstutils.h:
16483         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16484         function. I am channeling Hades. Put your boots on suckers!!!
16485
16486 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16487
16488         * testsuite/caps/Makefile.am:
16489         * testsuite/caps/value_compare.c:
16490         * testsuite/caps/value_intersect.c:
16491         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16492           move two testsuite apps over to the check dir
16493
16494 2005-07-12  Wim Taymans  <wim@fluendo.com>
16495
16496         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16497         Added more debug info in the negotiate process.
16498
16499         * gst/gstmessage.h:
16500         Prepare for segment playback.
16501
16502         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16503         Better debugging.
16504
16505         * gst/gstutils.c:
16506         Some more docs.
16507
16508         * tools/gst-launch.c: (main):
16509         NULL pipeline on errors.
16510
16511 2005-07-12  Andy Wingo  <wingo@pobox.com>
16512
16513         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16514         not it comes from a malloc region. Make sure our copy gets freed.
16515
16516 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16517
16518         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16519         * check/gst/gstmessage.c: (GST_START_TEST):
16520         * check/gst/gststructure.c: (GST_START_TEST),
16521         (gst_structure_suite), (main):
16522           more testing
16523         * gst/gstelement.c: (gst_element_message_full):
16524           clean up GError and debug string now that they get copied
16525         * gst/gstmessage.c: (gst_message_new_error),
16526         (gst_message_new_warning), (gst_message_parse_error),
16527         (gst_message_parse_warning):
16528           use GST_TYPE_G_ERROR for structure_new, and take copies of
16529           arguments, so that we don't mess up refcounting
16530
16531 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16532
16533         * check/Makefile.am:
16534           add per-test valgrind targets
16535         * check/gst-libs/gdp.c: (GST_START_TEST),
16536         (gst_data_protocol_suite), (main):
16537           clean up
16538
16539 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16540
16541         * check/Makefile.am:
16542           instate more valgrindable tests
16543         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16544         (GST_START_TEST), (fakesrc_suite):
16545         * check/gst/gstpad.c: (GST_START_TEST):
16546         * check/gst/gststructure.c: (GST_START_TEST):
16547           fix test leaks
16548         * docs/gst/tmpl/gstminiobject.sgml:
16549         * gst/gstpad.c: (gst_pad_finalize):
16550           fix the static mutex leak
16551
16552 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16553
16554         * check/Makefile.am:
16555           add two more tests for valgrinding
16556         * check/gst/gstvalue.c: (GST_START_TEST):
16557           test refcount of deserialized buffer, found a leak
16558         * docs/gst/gstreamer-docs.sgml:
16559         * docs/gst/gstreamer-sections.txt:
16560         * docs/gst/gstreamer.types:
16561         * docs/gst/tmpl/gstminiobject.sgml:
16562           add miniobject to docs
16563         * gst/gstminiobject.c:
16564           add some docs
16565         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16566         (gst_string_unwrap):
16567           fix a hard-to-find invalid write for one of the tests
16568           fix a leak for deserialized buffers
16569
16570 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16571
16572         * docs/pwg/advanced-events.xml:
16573         * docs/pwg/advanced-request.xml:
16574         * docs/pwg/advanced-scheduling.xml:
16575         * docs/pwg/appendix-porting.xml:
16576         * docs/pwg/building-boiler.xml:
16577         * docs/pwg/intro-preface.xml:
16578         * docs/pwg/other-ntoone.xml:
16579           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16580           of example code and explanation for pad activation, loop() and
16581           getrange() functions and a bit more. Remove old comments pointing
16582           to loop-functions.
16583         * examples/pwg/Makefile.am:
16584           Add loop/getrange examples.
16585
16586 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16587
16588         * configure.ac:
16589           check for valgrind binary + some fixes
16590         * check/gst.supp:
16591           valgrind suppressions for the tests
16592         * check/Makefile.am:
16593           add a valgrind: target that valgrinds the unit tests
16594         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16595         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16596         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16597         * check/gst/gstghostpad.c:
16598           added some cleanup
16599         * check/gst/gstdata.c:
16600           removed
16601         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16602         (thread_unref), (gst_mini_object_suite), (main):
16603           added
16604         * gst/gst.c: (gst_deinit):
16605         * gst/gst.h:
16606           add a method to clean up.
16607         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16608         (gst_system_clock_obtain):
16609           allow for disposing the system clock.
16610         * tools/gst-launch.c: (main):
16611           deinit
16612
16613 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16614
16615         * docs/gst/tmpl/gstbasesrc.sgml:
16616         * docs/gst/tmpl/gstfakesrc.sgml:
16617         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16618         (gst_base_src_init), (gst_base_src_set_property),
16619         (gst_base_src_get_property), (gst_base_src_get_range),
16620         (gst_base_src_start):
16621         * gst/base/gstbasesrc.h:
16622           add num-buffers property
16623         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16624         (gst_fakesrc_init), (gst_fakesrc_set_property),
16625         (gst_fakesrc_get_property), (gst_fakesrc_create),
16626         (gst_fakesrc_start):
16627           remove num-buffers property
16628
16629 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16630
16631         * docs/gst/gstreamer-sections.txt:
16632         * docs/gst/tmpl/gstbasesink.sgml:
16633         * docs/gst/tmpl/gstbasesrc.sgml:
16634         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16635         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16636         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16637         (gst_base_sink_set_property), (gst_base_sink_get_property),
16638         (gst_base_sink_handle_object), (gst_base_sink_event),
16639         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16640         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16641         (gst_base_sink_loop), (gst_base_sink_deactivate),
16642         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16643         (gst_base_sink_change_state):
16644         * gst/base/gstbasesink.h:
16645         * gst/base/gstbasesrc.h:
16646         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16647         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16648         (gst_filesink_init):
16649           more macro splitting
16650
16651 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16652
16653         * gst/gstelement.c: (gst_element_get_bus):
16654           add debug
16655         * tools/gst-launch.c: (check_intr), (event_loop):
16656           fix bus leaks
16657
16658 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16659
16660         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16661           fix a caps leak
16662
16663 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16664
16665         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16666         (gst_base_src_finalize):
16667           add finalize method and clean up properly
16668         * gst/gstpipeline.c: (gst_pipeline_dispose):
16669           add debug
16670
16671 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16672
16673         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16674         (gst_bin_suite):
16675           add more things to check
16676         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16677         * gst/gstelement.c:
16678           more debug
16679
16680 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16681
16682         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16683         (GST_START_TEST), (fakesrc_suite):
16684         * check/gst-libs/gdp.c: (GST_START_TEST):
16685         * check/gst/gst.c: (GST_START_TEST):
16686         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16687         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16688         * check/gst/gstbus.c: (GST_START_TEST):
16689         * check/gst/gstcaps.c: (GST_START_TEST):
16690         * check/gst/gstdata.c: (GST_START_TEST):
16691         * check/gst/gstelement.c: (GST_START_TEST):
16692         * check/gst/gstghostpad.c: (GST_START_TEST):
16693         * check/gst/gstiterator.c: (GST_START_TEST):
16694         * check/gst/gstmessage.c: (GST_START_TEST):
16695         * check/gst/gstobject.c: (GST_START_TEST):
16696         * check/gst/gstpad.c: (GST_START_TEST):
16697         * check/gst/gststructure.c: (GST_START_TEST):
16698         * check/gst/gstsystemclock.c: (GST_START_TEST),
16699         (gst_systemclock_suite):
16700         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16701         * check/gst/gstvalue.c: (GST_START_TEST):
16702         * check/pipelines/cleanup.c: (GST_START_TEST):
16703         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16704         * check/states/sinks.c: (GST_START_TEST):
16705         * check/gstcheck.c: (gst_check_init):
16706         * check/gstcheck.h:
16707           add debugging category
16708           use GST_START_TEST now, so we add a debug line
16709
16710 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16711
16712         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16713           add test for state change message on a bin
16714         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16715           add another test
16716         * gst/gstbin.c: (gst_bin_init):
16717         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16718         * gst/gstelement.c: (gst_element_post_message),
16719         (gst_element_set_state):
16720         * gst/gstelementfactory.c: (gst_element_factory_create):
16721         * gst/gstmessage.c: (gst_message_new):
16722         * gst/gstscheduler.c:
16723           various debugging additions and cleanups
16724
16725 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16726
16727         * check/Makefile.am:
16728         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16729         (main):
16730           adding tests for elements
16731         * gst/gstelement.c: (gst_element_dispose):
16732
16733 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16734
16735         * gst/registries/gstlibxmlregistry.c: (load_feature):
16736           plug more leaks.  A simple gst_init() now is leakfree, yay.
16737
16738 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16739
16740         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16741         (gst_xml_registry_load):
16742           plug another memleak
16743
16744 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16745
16746         * configure.ac:
16747           use GST_SET_ERROR_CFLAGS
16748         * docs/faq/cvs.xml:
16749           change to ERROR_CFLAGS
16750
16751 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16752
16753         * configure.ac:
16754           make GST_ERROR_CFLAGS overridable and re-enable Werror
16755         * docs/faq/cvs.xml:
16756           add a note about error CFLAGS
16757         * docs/gst/tmpl/gstfakesrc.sgml:
16758         * gst/elements/gstfakesrc.c:
16759           comment out some unused code
16760         * gst/gst.c: (split_and_iterate):
16761         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16762         (load_feature):
16763           plug some memleaks
16764
16765 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16766
16767         * common/Makefile.am:
16768         * common/gtk-doc.mak:
16769         * docs/gst/Makefile.am:
16770           factor out gtk-doc.mak
16771
16772 2005-07-07  Wim Taymans  <wim@fluendo.com>
16773
16774         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16775         (gst_thread_scheduler_dispose):
16776         Unlock the STREAM_LOCK completely.
16777
16778 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16779
16780         * check/Makefile.am:
16781         * check/elements/.cvsignore:
16782         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16783         (START_TEST), (fakesrc_suite), (main):
16784         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16785         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16786         (gst_fakesrc_create), (gst_fakesrc_start):
16787         * gst/elements/gstfakesrc.h:
16788           adding a first element test
16789
16790 2005-07-07  Andy Wingo  <wingo@pobox.com>
16791
16792         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16793         debug message.
16794
16795 2005-07-07  Wim Taymans  <wim@fluendo.com>
16796
16797         * gst/gstquery.c:
16798         * gst/gstquery.h:
16799         Remove old types
16800
16801 2005-07-07  Wim Taymans  <wim@fluendo.com>
16802
16803         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16804         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16805         Allow subclasses to implement their own negotiation.
16806
16807 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16808
16809         * docs/design/part-gstbin.txt:
16810         * docs/design/part-gstpipeline.txt:
16811           Update design notes to reflect the movement of
16812           responsibility for bus handling from GstPipeline to
16813           GstBin
16814
16815 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16816
16817         * configure.ac:
16818           Remove unnecessary queue2/3/4 examples.
16819
16820 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16821
16822         * examples/Makefile.am:
16823         * examples/helloworld/helloworld.c: (event_loop), (main):
16824         * examples/queue/queue.c: (event_loop), (main):
16825         * examples/queue2/queue2.c: (main):
16826           Update a couple of the examples to work again.
16827
16828         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16829         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16830          Spelling corrections and extra debug.
16831         
16832         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16833         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16834         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16835         * gst/gstbin.h:
16836         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16837         (gst_pipeline_change_state):
16838         * gst/gstpipeline.h:
16839           Move the bus handler for children to the GstBin, and create a
16840           separate bus for receiving messages from children to the one the
16841           bus sends 'upwards' on.
16842
16843 2005-07-06  Wim Taymans  <wim@fluendo.com>
16844
16845         * gst/base/README:
16846         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16847         (gst_base_sink_handle_object), (gst_base_sink_loop),
16848         (gst_base_sink_change_state):
16849         * gst/base/gstbasesink.h:
16850         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16851         (gst_base_src_init), (gst_base_src_setcaps),
16852         (gst_base_src_getcaps), (gst_base_src_loop),
16853         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16854         (gst_base_src_start), (gst_base_src_change_state):
16855         * gst/base/gstbasesrc.h:
16856         Make basesrc negotiate.
16857         Handle the case where preroll fails in basesink.
16858         Update README.
16859
16860 2005-07-06  Wim Taymans  <wim@fluendo.com>
16861
16862         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16863         Implement the fixate function.
16864         Clean up acceptcaps.
16865
16866 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16867
16868         * docs/pwg/building-filterfactory.xml:
16869         * docs/pwg/pwg.xml:
16870           Remove never-written filter-factory chapter; I'll add the various
16871           base classes to part 4 ("other element types") later on.
16872
16873 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16874
16875         * docs/pwg/advanced-negotiation.xml:
16876         * docs/pwg/building-boiler.xml:
16877         * docs/pwg/building-pads.xml:
16878         * docs/pwg/pwg.xml:
16879         * examples/pwg/Makefile.am:
16880           Add a chapter on caps negotiation, simplify the original code
16881           samples a bit w.r.t. caps negotiation, add link to the advanced
16882           section. Add a bunch of examples showing different use cases of
16883           different types of caps negotiation. Upstream renegotiation isn't
16884           fully documented yet since nobody knows how that works.
16885
16886 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16887
16888         * check/gst/gstpad.c:
16889         * check/gstcheck.c:
16890         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16891           if pad has no parent, return NULL as list of internal links
16892
16893 2005-07-05  Andy Wingo  <wingo@pobox.com>
16894
16895         * gst/elements/gstfilesrc.c:
16896         * gst/elements/gstfakesrc.c: 
16897         * gst/base/gstpushsrc.c:
16898         * gst/base/gstbasesrc.h: 
16899         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16900         
16901 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16902
16903         * Makefile.am:
16904           better report generation target (lcov needs a patch)
16905
16906 2005-07-05  Andy Wingo  <wingo@pobox.com>
16907
16908         * gst/elements, testsuite: Null if we got it...
16909
16910 2005-07-05  Wim Taymans  <wim@fluendo.com>
16911
16912         * configure.ac:
16913         * libs/gst/dataprotocol/Makefile.am:
16914         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16915         * libs/gst/dataprotocol/dataprotocol.h:
16916         * pkgconfig/Makefile.am:
16917         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16918         * pkgconfig/gstreamer-dataprotocol.pc.in:
16919         Ported dataprotol to 0.9. 
16920         Added pkgconfig files.
16921
16922 2005-07-05  Andy Wingo  <wingo@pobox.com>
16923
16924         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16925         Default to returning TRUE for the case when tranform_caps returns
16926         a fixed caps, like for identity or volume.
16927
16928         * check/gst/gstbus.c (pound_bus_with_messages): 
16929         * check/gst/gstmessage.c (START_TEST): 
16930         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16931         message API change.
16932
16933         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16934         logic weaks here: always run transform_caps, trying passthrough
16935         operation only if the original caps intersects with the transform.
16936
16937         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16938         source and sink caps.
16939
16940         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16941         Intersect the peer caps with the pad template before going into
16942         transform_caps.
16943         (gst_base_transform_transform_caps): More debugging.
16944
16945         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16946         src argument.
16947
16948 2005-07-04  Edward Hervey  <edward@fluendo.com>
16949
16950         * gst/gstutils.c:
16951         * gst/gstutils.h:
16952         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16953         in bindings.
16954
16955 2005-07-04  Andy Wingo  <wingo@pobox.com>
16956
16957         * check/gst/gstpad.c: Only set explicit caps on pads.
16958
16959 2005-07-01  Andy Wingo  <wingo@pobox.com>
16960
16961         * tests/network-clock.scm: Commentary update.
16962
16963         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16964         Didn't really make sense, not implementable with basetransform,
16965         etc.
16966         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16967         attempt at implementing the sync property, needs an unlock method.
16968
16969         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16970         New func, by default returns the same caps (the identity
16971         transformation).
16972         (gst_base_transform_getcaps): Uses transform_caps to return
16973         something sensible.
16974         (gst_base_transform_setcaps): Complicated logic to get caps on
16975         both pads, even if they are different, and to call set_caps once
16976         for every time both pads get their caps set.
16977         (gst_base_transform_handle_buffer): Give the ref to the transform
16978         function. Allows in-place modification of the buffer.
16979
16980         * gst/base/gstbasetransform.h (transform_caps): New class method.
16981         Given caps on one side, what can I do on the other.
16982         (set_caps): Take two caps, one for each side of the element.
16983
16984         * gst/gstpad.h:
16985         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16986         caps in place. This is safe because we can check the mutability of
16987         the caps, and a good idea because fixate functions are just called
16988         as a matter of last resort. (Not actually implemented.)
16989         (gst_pad_set_caps): If the caps we're setting is actually the same
16990         as the existing pad caps, just update the pointer without calling
16991         setcaps. Assert that caps is either NULL or fixed, as per the
16992         docs.
16993
16994         * gst/gstghostpad.c: Update for fixate changes.
16995
16996 2005-07-02  Andy Wingo  <wingo@pobox.com>
16997
16998         * gst/gstcaps.c:
16999         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17000         two refcounts makes it immutable, which is enough. Doc more.
17001
17002 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
17003
17004         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17005           Put the mini_object into GValue as a mini_object,
17006           not a gpointer, since that's how we declared
17007           the signal.
17008
17009 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17010
17011         * examples/pwg/Makefile.am:
17012           Fix buildbot again.
17013
17014 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17015
17016         * docs/pwg/building-testapp.xml:
17017           Add extra check.
17018         * examples/pwg/Makefile.am:
17019           Fix buildbot.
17020
17021 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17022
17023         * configure.ac:
17024         * examples/Makefile.am:
17025         * examples/pwg/Makefile.am:
17026         * examples/pwg/extract.pl:
17027           Enable building the PWG examples.
17028         * docs/pwg/advanced-interfaces.xml:
17029           Add URI interface stub.
17030         * docs/pwg/advanced-types.xml:
17031         * docs/pwg/other-autoplugger.xml:
17032         * docs/pwg/appendix-porting.xml:
17033         * docs/pwg/pwg.xml:
17034           Add porting guide (mostly stubs), remove autoplugging (see ADM).
17035         * docs/pwg/building-boiler.xml:
17036         * docs/pwg/building-chainfn.xml:
17037         * docs/pwg/building-pads.xml:
17038         * docs/pwg/building-props.xml:
17039         * docs/pwg/building-state.xml:
17040         * docs/pwg/building-testapp.xml:
17041           Update the building-*.xml parts for 0.9 changes. All examples
17042           code blocks compile in examples/pwg/*.
17043
17044 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17045
17046         * docs/manual/advanced-autoplugging.xml:
17047         * docs/manual/appendix-checklist.xml:
17048         * docs/manual/appendix-integration.xml:
17049         * docs/manual/highlevel-components.xml:
17050           Fix playbin/decodebin examples, update docs a bit, mention bus
17051           instead of signals in various places, mention kmplayer and
17052           kaffeine since they have a working GStreamer backend in the KDE
17053           section.
17054
17055 2005-06-30  Wim Taymans  <wim@fluendo.com>
17056
17057         * CHANGES-0.9:
17058         * docs/design/draft-ghostpads.txt:
17059         * docs/design/draft-push-pull.txt:
17060         * docs/design/draft-query.txt:
17061         * docs/design/part-TODO.txt:
17062         * docs/design/part-query.txt:
17063         Added CHANGES-0.9 doc, updated status of other docs.
17064         
17065         * gst/gstquery.h:
17066         Remove "hmm" macro
17067
17068 2005-06-30  Wim Taymans  <wim@fluendo.com>
17069
17070         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17071         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17072         (gst_base_sink_change_state):
17073         * gst/base/gstbasesink.h:
17074         Some tweaks, only EOS and a buffer complete a preroll.
17075
17076 2005-06-30  Andy Wingo  <wingo@pobox.com>
17077
17078         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17079         activate_push down to the internal pad as well.
17080
17081 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
17082
17083         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17084
17085         * gst/gsttaginterface.c:
17086           Some documentation fixes (#307394 and #307397).
17087
17088 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
17089
17090         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17091
17092         * gst/gstvalue.c: (gst_value_intersect_list):
17093           Fix memleak (#309125).
17094
17095 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17096
17097         * docs/manual/advanced-dataaccess.xml:
17098           Fix fakesrc example to compile; doesn't work, bug somewhere...?
17099         * docs/manual/basics-pads.xml:
17100           Add reference for filtered caps to above chapter.
17101
17102 2005-06-30  Wim Taymans  <wim@fluendo.com>
17103
17104         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17105         (gst_bin_change_state):
17106         Probes are gone.
17107         Lame attempt at making the state change function a bit
17108         more readable.
17109
17110 2005-06-30  Wim Taymans  <wim@fluendo.com>
17111
17112         * docs/design/part-clocks.txt:
17113         * docs/design/part-element-sink.txt:
17114         * docs/design/part-events.txt:
17115         * docs/design/part-preroll.txt:
17116         * docs/design/part-states.txt:
17117         Some more tweeks and additions to the docs.
17118
17119 2005-06-30  Wim Taymans  <wim@fluendo.com>
17120
17121         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17122         (default_have_data), (gst_pad_class_init), (gst_pad_init),
17123         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17124         (gst_pad_check_pull_range), (gst_pad_get_range),
17125         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17126         * gst/gstpad.h:
17127         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17128         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17129         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17130         (gst_pad_remove_buffer_probe):
17131         Removed atomic operations, use existing LOCK.
17132         Move exception handling out of main code path.
17133
17134 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17135
17136         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17137         (silly_return_true_function), (gst_pad_class_init),
17138         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17139         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17140         (gst_pad_send_event):
17141           Fix accumulator, add default value by using _emitv() instead
17142           of _emit() for signal emission.
17143
17144 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17145
17146         * docs/manual/advanced-dataaccess.xml:
17147         * examples/manual/Makefile.am:
17148           Add probe example.
17149         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17150           Make work (??).
17151
17152 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
17153
17154         * gst/elements/gstfilesink.c: (gst_filesink_render):
17155           Simplify code so that we don't have to handle short
17156           writes and return GST_FLOW_ERROR if an error occured.
17157
17158 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17159
17160         * docs/gst/gstreamer-docs.sgml:
17161           Remove probes more.
17162
17163 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17164
17165         * docs/gst/gstreamer-sections.txt:
17166         * docs/gst/tmpl/gstpad.sgml:
17167         * docs/gst/tmpl/gstprobe.sgml:
17168         * gst/Makefile.am:
17169         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17170         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17171         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17172         (gst_pad_push_event), (gst_pad_send_event):
17173         * gst/gstpad.h:
17174         * gst/gstutils.c: (gst_pad_add_data_probe),
17175         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17176         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17177         (gst_pad_remove_buffer_probe):
17178         * gst/gstutils.h:
17179           Remove old probes, add new g-signal-based probes and some utility
17180           functions.
17181
17182 2005-06-29  Edward Hervey  <edward@fluendo.com>
17183
17184         * gst/gstelementfactory.c:
17185         * gst/gstutils.h:
17186         * gst/gstutils.c:
17187         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17188         the definition to the header file.
17189
17190 2005-06-29  Andy Wingo  <wingo@pobox.com>
17191
17192         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17193         plugins from the source directory.
17194
17195 2005-06-29  Wim Taymans  <wim@fluendo.com>
17196
17197         * docs/gst/tmpl/gstbuffer.sgml:
17198         * docs/gst/tmpl/gstclock.sgml:
17199         Some fixings for blantently wrong text.
17200
17201 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * check/Makefile.am:
17204         * gst/gst.c: (add_path_func), (init_pre):
17205         * gst/gstregistry.c: (gst_registry_add_path):
17206           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17207           only scan the GST_PLUGIN_PATH locations, and not add
17208           system locations
17209
17210 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17211
17212         * docs/gst/gstreamer-sections.txt:
17213         * docs/gst/tmpl/gstbasesrc.sgml:
17214         * gst/gstelement.c:
17215         * gst/gstelement.h:
17216         * gst/gstevent.c:
17217         * gst/gstutils.c:
17218           doc fixes
17219
17220 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17221
17222         * docs/manual/advanced-autoplugging.xml:
17223           Fix autoplugging example.
17224
17225 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17226
17227         * docs/manual/advanced-autoplugging.xml:
17228         * docs/manual/mime-world.fig:
17229           Try to get autoplugging working, fix type detection. Fix text
17230           in hello-world image.
17231
17232 2005-06-29  Wim Taymans  <wim@fluendo.com>
17233
17234         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17235         (gst_base_sink_change_state):
17236         Small debug line.
17237
17238         * gst/gstclock.h:
17239         map SIGNAL and BROADCAST to the right function.
17240
17241         * gst/gstobject.h:
17242         Remove redundant braces.
17243
17244         * gst/gstpad.c: (gst_pad_set_caps):
17245         Don't call setcaps function when reseting caps to NULL.
17246
17247         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17248         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17249         (gst_system_clock_id_unschedule):
17250         Use BROADCAST as this is what we do.
17251
17252 2005-06-29  Wim Taymans  <wim@fluendo.com>
17253
17254         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17255         We are actually prerolling before commiting the state
17256         change. 
17257
17258 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17259
17260         * docs/manual/advanced-clocks.xml:
17261         * docs/manual/advanced-interfaces.xml:
17262         * docs/manual/advanced-metadata.xml:
17263         * docs/manual/advanced-position.xml:
17264         * docs/manual/advanced-schedulers.xml:
17265         * docs/manual/advanced-threads.xml:
17266         * docs/manual/appendix-porting.xml:
17267         * docs/manual/basics-bins.xml:
17268         * docs/manual/basics-bus.xml:
17269         * docs/manual/basics-elements.xml:
17270         * docs/manual/basics-helloworld.xml:
17271         * docs/manual/basics-pads.xml:
17272         * docs/manual/highlevel-components.xml:
17273         * docs/manual/manual.xml:
17274         * docs/manual/thread.fig:
17275           Update (until threads/scheduling) Application Development Manual;
17276           remove GstThread, add GstBus, add simple porting checklist, add
17277           documentation for tag writing, clocks, make all examples until this
17278           part compile and run.
17279         * examples/manual/Makefile.am:
17280           Update from changes to Application Development Manual; add bus
17281           example, remove thread example.
17282
17283 2005-06-28  Wim Taymans  <wim@fluendo.com>
17284
17285         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17286         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17287         (gst_bus_source_dispatch):
17288         Add debugging messages.
17289         Make internal methods static.
17290         Handle the case where the bus is flushed in the handler.
17291         
17292         * gst/gstelement.c: (gst_element_get_bus):
17293         Fix refcount in _get_bus();
17294
17295         * gst/gstpipeline.c: (gst_pipeline_change_state),
17296         (gst_pipeline_get_clock_func):
17297         Clock refcounting fixes.
17298         Handle the case where preroll timed out more gracefully.
17299         
17300         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17301         Clean up the internal thread in dispose. This is needed
17302         for subclasses that actually get disposed.
17303         
17304         * gst/schedulers/threadscheduler.c:
17305         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17306         (gst_thread_scheduler_dispose):
17307         Free thread pool in dispose.
17308
17309 2005-06-28  Andy Wingo  <wingo@pobox.com>
17310
17311         * tests/network-clock-utils.scm (debug, print-event): New utils.
17312
17313         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17314         (*packet-loss*): Unified loss probability.
17315         (network-time): Report out-of-band events.
17316
17317         * tests/plot-data: Add support for out-of-band events. Hack it
17318         into this script instead of passing it down the pipe; should fix
17319         this later.
17320
17321 2005-06-28  Wim Taymans  <wim@fluendo.com>
17322
17323         * docs/gst/gstreamer.types:
17324         * docs/gst/tmpl/gstbasesrc.sgml:
17325         * docs/gst/tmpl/gstpad.sgml:
17326         Docs fixes.
17327
17328 2005-06-28  Wim Taymans  <wim@fluendo.com>
17329
17330         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17331         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17332         (gst_proxy_pad_do_fixatecaps):
17333         Correctly proxy the check_pull_range function.
17334
17335 2005-06-28  Andy Wingo  <wingo@pobox.com>
17336
17337         * tests/network-clock.scm: Removed need for slib.
17338         
17339 2005-06-28  Wim Taymans  <wim@fluendo.com>
17340
17341         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17342         (gst_basesink_preroll_queue_flush):
17343         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17344         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17345         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17346         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17347         (gst_proxy_pad_set_property):
17348         * gst/gstpad.c:
17349         * gst/gstpad.h:
17350         * gst/gstqueue.c: (gst_queue_init):
17351         The deprecated pad loop function is removed now.
17352
17353 2005-06-28  Andy Wingo  <wingo@pobox.com>
17354
17355         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17356         New parameters, simulate network packet loss.
17357
17358         * tests/network-clock-utils.scm: Initialize the RNG.
17359
17360 2005-06-28  Wim Taymans  <wim@fluendo.com>
17361
17362         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17363         (gst_basesink_event), (gst_basesink_deactivate):
17364         Flushing the preroll queue always needs to unlock the waiters.
17365
17366 2005-06-28  Edward Hervey  <edward@fluendo.com>
17367
17368         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17369         Wheen a seek was successful on a pipeline, set the stream_time to the
17370         seek offset in order to have a synchronized stream_time.
17371
17372 2005-06-28  Wim Taymans  <wim@fluendo.com>
17373
17374         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17375         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17376         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17377         (gst_proxy_pad_do_fixatecaps):
17378         Call wrapper function instead of just calling the function
17379         pointers. This takes care of any locking and whatmore.
17380
17381 2005-06-28  Wim Taymans  <wim@fluendo.com>
17382
17383         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17384         (gst_pad_pull_range):
17385         * gst/gstpad.h:
17386         CONNECTED -> LINKED.
17387
17388 2005-06-28  Andy Wingo  <wingo@pobox.com>
17389
17390         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17391         source-munging commit!!!
17392
17393         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17394         (gst_object_sink): Take gpointer arguments, not GstObject --
17395         avoids casts. Like GLib.
17396
17397         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17398         activate.
17399
17400 2005-06-27  Andy Wingo  <wingo@pobox.com>
17401
17402         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17403         remaining buffer.
17404
17405         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17406         returns a sorted copy of the trace list.
17407         (gst_alloc_trace_print_live): New API, only prints traces with
17408         live objects. Sort the list.
17409         (gst_alloc_trace_print_all): Sort the list.
17410         (gst_alloc_trace_print): Align columns.
17411
17412         * gst/elements/gstttypefindelement.c:
17413         * gst/elements/gsttee.c:
17414         * gst/base/gstbasesrc.c:
17415         * gst/base/gstbasesink.c:
17416         * gst/base/gstbasetransform.c:
17417         * gst/gstqueue.c: Adapt for pad activation changes.
17418
17419         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17420         sched.
17421         (gst_pipeline_dispose): Drop ref on sched.
17422
17423         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17424         (gst_pad_activate_default): Push mode by default.
17425         (pre_activate_switch, post_activate_switch): New stubs, things to
17426         do before and after switching activation modes on pads.
17427         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17428         the pad's activate function to choose which mode to activate.
17429         Shortcut on deactivation and call the right function directly.
17430         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17431         mode.
17432         (gst_pad_activate_push): New API, same for push mode.
17433         (gst_pad_set_activate_function) 
17434         (gst_pad_set_activatepull_function) 
17435         (gst_pad_set_activatepush_function): Setters for new API.
17436
17437         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17438         Trace all miniobjects.
17439         (gst_mini_object_make_writable): Unref the arg if we copy, like
17440         gst_caps_make_writable.
17441
17442         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17443
17444         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17445         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17446         Adapt for new pad API.
17447
17448         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17449
17450         * gst/gstelement.h:
17451         * gst/gstelement.c (gst_element_iterate_src_pads) 
17452         (gst_element_iterate_sink_pads): New API functions.
17453         
17454         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17455         should fold into gstiterator.c in some form.
17456         (gst_element_pads_activate): Simplified via use of fold and
17457         delegation of decisions to gstpad->activate.
17458
17459         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17460         help in debugging.
17461
17462         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17463         class once in init, like gstmessage. Didn't run into this issue
17464         but it seems correct. Don't initialize a trace, gstminiobject does
17465         that.
17466
17467         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17468         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17469         to the bus.
17470         (assert_live_count): New util function, uses alloc traces to check
17471         cleanup.
17472
17473         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17474         To be modified when unlink drops the internal pad.
17475
17476 2005-06-27  Wim Taymans  <wim@fluendo.com>
17477
17478         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17479         (gst_bin_change_state):
17480         Cleanup the get_state() function a little, make sure it
17481         iterates the same set of elements.
17482         Added stub iterate_state_order().
17483
17484 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17485
17486         * docs/gst/gstreamer-docs.sgml:
17487         * docs/gst/gstreamer-sections.txt:
17488         * docs/gst/gstreamer.types:
17489         * docs/gst/tmpl/gstbasesink.sgml:
17490         * docs/gst/tmpl/gstbasesrc.sgml:
17491         * docs/gst/tmpl/gstbasetransform.sgml:
17492         * docs/gst/tmpl/gstelement.sgml:
17493         * docs/gst/tmpl/gstiterator.sgml:
17494         * gst/base/gstbasesrc.c:
17495         * gst/base/gstbasesrc.h:
17496         * gst/base/gstbasetransform.h:
17497         * gst/gstelement.c:
17498         * gst/gstiterator.h:
17499           adding basetransform and iterator docs
17500
17501 2005-06-27  Andy Wingo  <wingo@pobox.com>
17502
17503         * docs/design/part-activation.txt: Notes on how activation should
17504         work -- not quite implemented yet.
17505
17506 2005-06-25  Wim Taymans  <wim@fluendo.com>
17507
17508         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17509         At least get the chain function correct, needs more
17510         fixing.
17511
17512 2005-06-25  Wim Taymans  <wim@fluendo.com>
17513
17514         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17515         (gst_basesink_handle_object), (gst_basesink_event),
17516         (gst_basesink_do_sync), (gst_basesink_handle_event),
17517         (gst_basesink_change_state):
17518         * gst/gsttask.h:
17519         Right, two problems here: ghostpads don't take locks and
17520         glib _rec_mutex_lock_full() with depth==0 still locks.
17521         Catch illegal locking and g_warn them.
17522
17523 2005-06-25  Wim Taymans  <wim@fluendo.com>
17524
17525         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17526         Have to check for completion now...
17527
17528 2005-06-25  Wim Taymans  <wim@fluendo.com>
17529
17530         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17531         (gst_basesink_handle_object), (gst_basesink_event),
17532         (gst_basesink_do_sync), (gst_basesink_handle_event),
17533         (gst_basesink_change_state):
17534         * gst/gstpad.h:
17535         Unlock STREAM_LOCK whatever the recursion was.
17536
17537 2005-06-25  Wim Taymans  <wim@fluendo.com>
17538
17539         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17540         (gst_basesink_preroll_queue_empty),
17541         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17542         (gst_basesink_event), (gst_basesink_do_sync),
17543         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17544         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17545         (gst_basesink_change_state):
17546         Reworked the base sink, handle event and buffer serialisation
17547         correctly and removed possible deadlock.
17548         Handle EOS correctly.
17549
17550 2005-06-25  Wim Taymans  <wim@fluendo.com>
17551
17552         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17553         (gst_pipeline_change_state):
17554         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17555         Allow elements to post EOS in the state change function.
17556         Fix up -launch, make it exit the poll loop when the
17557         pipeline actually changed state.
17558         Fix up warning parsing in -launch.
17559
17560 2005-06-25  Wim Taymans  <wim@fluendo.com>
17561
17562         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17563         (gst_tee_sink_activate):
17564         Core takes STREAM_LOCK for us now.
17565
17566 2005-06-25  Wim Taymans  <wim@fluendo.com>
17567
17568         * gst/gstelement.c: (gst_element_get_state_func),
17569         (gst_element_set_state):
17570         * gst/gstelement.h:
17571         * gst/gstmessage.c: (gst_message_parse_error),
17572         (gst_message_parse_warning):
17573         Keep track of current target state while performing a state
17574         change so that subclasses can do something interesting.
17575         Fix parsing of warning/error messages when GError is NULL.
17576
17577 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17578
17579         * docs/gst/Makefile.am:
17580         * docs/gst/gstreamer-docs.sgml:
17581         * docs/gst/gstreamer-sections.txt:
17582         * docs/gst/gstreamer.types:
17583         * docs/gst/tmpl/gstbasesink.sgml:
17584         * docs/gst/tmpl/gstbasesrc.sgml:
17585         * docs/gst/tmpl/gstbin.sgml:
17586         * docs/gst/tmpl/gstcompat.sgml:
17587         * docs/gst/tmpl/gstfakesink.sgml:
17588         * docs/gst/tmpl/gstfakesrc.sgml:
17589         * docs/gst/tmpl/gstfilesink.sgml:
17590         * docs/gst/tmpl/gstfilesrc.sgml:
17591         * docs/gst/tmpl/gstindex.sgml:
17592         * docs/manual/appendix-quotes.xml:
17593         * gst/base/gstbasesrc.h:
17594         * gst/elements/gstfakesrc.h:
17595         * gst/gstmessage.h:
17596           start pulling in base classes and elements in our docs
17597
17598 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17599
17600         * docs/gst/Makefile.am:
17601         * docs/libs/Makefile.am:
17602           fixed make distcheck with gtk-doc 1.3
17603
17604 2005-06-23  Wim Taymans  <wim@fluendo.com>
17605
17606         * gst/gstelement.c: (gst_element_get_state_func),
17607         (gst_element_set_state), (gst_element_change_state):
17608         When the state did not change, also report NO_PREROLL
17609         when it matters.
17610
17611 2005-06-23  Wim Taymans  <wim@fluendo.com>
17612
17613         * gst/gstpad.c: (gst_pad_event_default):
17614         * gst/gstqueue.c: (gst_queue_loop):
17615         No unsafe task pausing please.
17616
17617 2005-06-23  Wim Taymans  <wim@fluendo.com>
17618
17619         * gst/schedulers/threadscheduler.c:
17620         (gst_thread_scheduler_task_start),
17621         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17622         Ref the task before pushing it on the threadpool. This
17623         makes sure that we have a ref when the threadfunction is
17624         actually called.
17625
17626 2005-06-23  Andy Wingo  <wingo@pobox.com>
17627
17628         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17629         offset is greater than the file's size.
17630
17631         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17632         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17633         * gst/gstobject.c (gst_object_class_init): Make the class lock
17634         recursive. Wim won't let me drop deep_notify. Decodebin works
17635         again, whoopdy doo.
17636
17637         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17638         internal pad, and hacks accordingly. Doesn't do it on the target
17639         pad because we change its caps. Probably catches all cases of
17640         interest tho.
17641         (gst_ghost_pad_set_property): Connect to notify::caps as
17642         appropritate.
17643
17644         * tests/network-clock.scm (plot-simulation): Pipe data to the
17645         elite python skript.
17646
17647         * tests/network-clock-utils.scm (define-parameter): New macro,
17648         defines a parameter that can be set via the command line.
17649         (set-parameter!, parse-parameter-arguments): Command line args
17650         parser.
17651
17652         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17653         stdin.
17654
17655 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17656
17657         * gst/elements/gsttypefindelement.c:
17658         (gst_type_find_element_handle_event):
17659           Don't restart typefinding on a discont.
17660         * gst/gstelement.c: (gst_element_set_state):
17661           Debug spelling fix.
17662         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17663           Allow changing mode of an active pad.
17664           Debug output fixes.
17665         * gst/registries/gstlibxmlregistry.c: (load_feature):
17666           Don't cast a static pad template to a normal pad template.
17667
17668 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17669
17670         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17671         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17672           remove gst_strtoll completely, since it didn't actually do
17673           anything more than what g_ascii_strtoull already does.
17674           check for range errors when deserializing
17675           do a cast for the unsigned cases; but further fixing needs
17676           a decision on what the interpretation of "(int)" and
17677           deserialization should be for values that fall outside the
17678           type's boundaries (ie, refuse, or interpret as casting)
17679
17680 2005-06-23  Wim Taymans  <wim@fluendo.com>
17681
17682         * check/Makefile.am:
17683         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17684         * docs/design/part-live-source.txt:
17685         * docs/design/part-states.txt:
17686         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17687         (gst_basesrc_set_live), (gst_basesrc_is_live),
17688         (gst_basesrc_get_range), (gst_basesrc_activate),
17689         (gst_basesrc_change_state):
17690         * gst/base/gstbasesrc.h:
17691         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17692         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17693         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17694         * gst/gstelement.c: (gst_element_get_state_func),
17695         (gst_element_set_state):
17696         * gst/gstelement.h:
17697         * gst/gsttypes.h:
17698         * tools/gst-launch.c: (event_loop), (main):
17699         Added support for live sources and other elements that
17700         cannot do preroll.
17701         Updated design docs, added live-source design doc.
17702         Implemented live source functionality in basesrc
17703         Fix error condition in _bin_get_state()
17704         Implement live source handling in -launch.
17705         Added check for live sources.
17706         Fixed case in GstBin where elements were changed state
17707         multiple times.
17708
17709
17710 2005-06-23  Andy Wingo  <wingo@pobox.com>
17711
17712         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17713         borken refcounting.
17714
17715         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17716         gst_caps_replace takes care of this for us.
17717
17718         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17719         gst_pad_set_caps on the target, not just its setcaps() function.
17720
17721         * tests/network-clock.scm: 
17722         * tests/network-clock-utils.scm: A network clock simulator.
17723         Something of an algorithmic testbed before doing something in C.
17724
17725 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17726
17727         * check/Makefile.am:
17728         * check/gst/capslist.h:
17729           copy over from 0.8, and add two with bitmasks specified with
17730           (int) 0xFF...
17731         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17732           add test to parse everything from capslist.h
17733         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17734         (main):
17735           add test for structure deserialization
17736         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17737           add tests for deserialization of strings to int types
17738         * gst/gststructure.c: (gst_structure_nth_field_name):
17739         * gst/gststructure.h:
17740           add a way to get the name of a field referenced by index
17741         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17742           instead of checking if the resulting long long lies between
17743           min and max, we check if the long long would fit into
17744           a number of bytes for the final type.
17745           This fixes cases where a string represents 2^32 - 1, which
17746           when cast to int would be the (valid) -1, but is bigger than
17747           G_MAXINT
17748
17749 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17750
17751         * gst/parse/grammar.y:
17752           add a log line for type deserialization
17753
17754 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17755
17756         * check/gst/gstvalue.c: (START_TEST):
17757         * gst/gstvalue.c: (gst_value_deserialize):
17758           return long long, not int, so gint64 deserialization actually
17759           works.  Is there any flag that makes the compiler check this ?
17760           Fixes #308559
17761
17762 2005-06-22  Wim Taymans  <wim@fluendo.com>
17763
17764         * gst/gstbuffer.h:
17765         Added convenience macros for setting buffers in GValue.
17766
17767 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17768
17769         * check/gst/.cvsignore:
17770         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17771           add a test deserializing int64, and comment part out because
17772           it fails, yay !
17773
17774 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17775
17776         * check/Makefile.am:
17777         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17778         * testsuite/Makefile.am:
17779         * testsuite/caps/Makefile.am:
17780         * testsuite/caps/value_serialize.c:
17781         * testsuite/test_gst_init.c:
17782           move a value_serialize test over
17783
17784 2005-06-20  Wim Taymans  <wim@fluendo.com>
17785
17786         * gst/gstpad.c:
17787         Small doc updates.
17788         
17789         * gst/gstvalue.c: (gst_value_compare_buffer),
17790         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17791         (gst_value_compare_flags), (gst_value_serialize_flags),
17792         (gst_value_deserialize_flags), (_gst_value_initialize):
17793         Fix serialisation of buffers, they are not boxed types anymore
17794
17795 2005-06-20  Wim Taymans  <wim@fluendo.com>
17796
17797         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17798         Testcase to show error in buffer-on-caps serialisation.
17799
17800 2005-06-20  Andy Wingo  <wingo@pobox.com>
17801
17802         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17803         will be adding to later.
17804
17805         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17806         if its socks fill with rocks.
17807         (gst_system_clock_obtain): Set the name on object construction.
17808         Avoid double-checked locking.
17809
17810 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17811
17812         * gst/gsturi.c: (gst_element_make_from_uri):
17813           Fix potential endless loop.
17814
17815 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17816
17817         * check/Makefile.am:
17818           add gsttag
17819         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17820         (main):
17821           move over from testsuite dir and clean up
17822         * configure.ac:
17823         * gst/gsttag.c:
17824         * testsuite/Makefile.am:
17825         * testsuite/tags/.cvsignore:
17826         * testsuite/tags/Makefile.am:
17827         * testsuite/tags/merge.c:
17828           remove testsuite/tags
17829
17830 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17831
17832         * docs/gst/gstreamer-sections.txt:
17833         * docs/gst/tmpl/gstenumtypes.sgml:
17834         * win32/gstenumtypes.c:
17835           clean up documentation build a little
17836
17837 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17838
17839         * check/gstcheck.h:
17840           add macros for checking refcounts on objects and caps
17841         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17842           add some more unit tests
17843         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17844         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17845           fix leaked refcounts (I hope :)) so unittest works
17846         * gst/gstpad.h:
17847           whitespace removal
17848
17849 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17850
17851         * configure.ac: back to HEAD
17852
17853 === release 0.9.1 ===
17854
17855 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17856
17857         * NEWS:
17858         * RELEASE:
17859           updated
17860
17861 2005-06-17  Andy Wingo  <wingo@pobox.com>
17862
17863         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17864         assert; it's always possible that the pad gets deactivated in
17865         between the checks in gstpad.c and the implementation. Rely on
17866         finish_preroll() to return a FLUSHING or similar instead of on the
17867         assert.
17868         
17869         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17870         clock and post an EOS message if we come out of finish_preroll in
17871         the playing state.
17872
17873 2005-06-16  David Schleef  <ds@schleef.org>
17874
17875         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17876         (gst_capsfilter_set_property): Allow NULL as possible value
17877         for filter_caps property, indicating GST_CAPS_ANY.
17878
17879 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17880
17881         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17882           fix debug output
17883         * gst/schedulers/Makefile.am:
17884           use libgst prefix
17885         * gstreamer.spec.in:
17886           fix spec for it
17887
17888 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17889
17890         * gstreamer.spec.in:
17891           clean up
17892
17893 2005-06-08  Andy Wingo  <wingo@pobox.com>
17894
17895         * gst/gstutils.c: RPAD fixes all around.
17896         (gst_element_link_pads): Refcounting fixes.
17897
17898         * tools/gst-inspect.c:
17899         * tools/gst-xmlinspect.c:
17900         * parse/grammar.y:
17901         * gst/base/gsttypefindhelper.c:
17902         * gst/base/gstbasesink.c:
17903         * gst/gstqueue.c: RPAD fixes.
17904
17905         * gst/gstghostpad.h:
17906         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17907         pads. The tricky thing is they provide both source and sink
17908         interfaces, since they proxy the internal pad for the external
17909         pad, and vice versa. Implement with lower-level ProxyPad objects,
17910         with the interior proxy pad as a child of the exterior ghost pad.
17911         Should write a doc on this.
17912         
17913         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17914         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17915         gst_object API.
17916         
17917         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17918         pads are real pads. No ghost pads in this file. Not documenting
17919         the myriad s/RPAD/PAD/ and REALIZE fixes.
17920         (gst_pad_class_init): Add properties for "direction" and
17921         "template". Both are construct-only, so they can't change during
17922         the life of the pad. Fixes properly deriving from GstPad.
17923         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17924         derived objects, just set properties when creating the objects via
17925         g_object_new.
17926         (gst_pad_get_parent): Implement as a function, return NULL if the
17927         parent is not an element.
17928         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17929         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17930         
17931         * gst/gstobject.c (gst_object_class_init): Make name a construct
17932         property. Don't set it in the object init.
17933
17934         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17935         with UNKNOWN direction.
17936         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17937         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17938         (gst_element_remove_pad): Remove ghost-pad special cases.
17939         (gst_element_pads_activate): Remove rpad cruft.
17940
17941         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17942         catch the pad's-parent-not-an-element case.
17943
17944         * gst/gst.h: Include gstghostpad.h.
17945
17946         * gst/gst.c (init_post): No more real, ghost pads.
17947
17948         * gst/Makefile.am: Add gstghostpad.[ch].
17949
17950         * check/Makefile.am:
17951         * check/gst/gstbin.c:
17952         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17953         into a bin creates ghost pads, and that the refcounts are right.
17954         Partly moved from gstbin.c.
17955
17956 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17957
17958         * check/gst-libs/.cvsignore:
17959         * check/gst/.cvsignore:
17960         * check/pipelines/.cvsignore:
17961           ignore more
17962         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17963         (START_TEST), (cleanup_suite), (main):
17964           add some tests related to cleanup after running pipelines
17965
17966 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17967
17968         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17969           add a testsuite for GstBuffer
17970
17971 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17972
17973         * gst/gstminiobject.h:
17974           add defines for accessing the refcount
17975
17976 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17977
17978         * Makefile.am: added support for html unit test coverage reports
17979
17980 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17981
17982         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17983           Free existing caps if the capsfilter changes. Add a FIXME about
17984           setting those caps on the pads.
17985
17986         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17987           Before adding a ghost pad to a parent bin, check that there isn't
17988           already one for the element on the bin. Prevents infinite recursion
17989           when using decodebin in parse pipelines. Andy says he'll rewrite the
17990           way this works anyway, so ignore the hack.
17991
17992 2005-06-02  Andy Wingo  <wingo@pobox.com>
17993
17994         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17995         file size, pass it on to the type find helper.
17996
17997         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17998         segment_start and segment_end properly according to the seek
17999         method. Segment_end is still a bit flaky because offset can be
18000         negative for CUR and END cases, but it takes -1 as an "unset"
18001         value.
18002
18003 2005-06-02  Wim Taymans  <wim@fluendo.com>
18004
18005         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18006         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18007         (gst_basesink_activate):
18008         * gst/base/gstbasesink.h:
18009         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18010         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18011         (gst_pad_query), (gst_pad_start_task):
18012         * gst/gstpad.h:
18013         * gst/gstqueue.c: (gst_queue_bufferalloc),
18014         (gst_queue_handle_sink_event), (gst_queue_chain):
18015         Bufferalloc: return GstFlowReturn to more accuratly report
18016         why allocation failed.
18017
18018 2005-06-02  Wim Taymans  <wim@fluendo.com>
18019
18020         * gst/gstpipeline.c: (gst_pipeline_send_event):
18021         Take snapshot of state without blocking.
18022
18023 2005-06-02  Wim Taymans  <wim@fluendo.com>
18024
18025         * docs/design/part-TODO.txt:
18026         * docs/design/part-caps.txt:
18027         * docs/design/part-clocks.txt:
18028         * docs/design/part-negotiation.txt:
18029         * docs/design/part-preroll.txt:
18030         Small doc updates 
18031
18032 2005-05-30  Wim Taymans  <wim@fluendo.com>
18033
18034         * gst/elements/gstidentity.c: (gst_identity_event),
18035         (gst_identity_transform), (gst_identity_get_property):
18036         Protect last_message property as it is accessed from
18037         multiple threads.
18038
18039 2005-05-30  Wim Taymans  <wim@fluendo.com>
18040
18041         * gst/gstelement.c: (gst_element_init),
18042         (gst_element_pads_activate), (gst_element_change_state):
18043         Slicker pad activation code.
18044
18045 2005-05-30  Wim Taymans  <wim@fluendo.com>
18046
18047         * gst/Makefile.am:
18048         * gst/gstelement.h:
18049         * gst/gstelementfactory.h:
18050         * gst/gsttypes.h:
18051         Move elementfactory methods to separate .h file.
18052
18053 2005-05-30  Wim Taymans  <wim@fluendo.com>
18054
18055         * docs/design/part-overview.txt:
18056         * gst/gstsystemclock.h:
18057         Small typo fixes, doc updates.
18058
18059 2005-05-30  Wim Taymans  <wim@fluendo.com>
18060
18061         * gst/gst.c: (gst_init_get_popt_table), (init_post),
18062         (init_popt_callback):
18063         Remove cpu-opt flag.
18064
18065 2005-05-30  Wim Taymans  <wim@fluendo.com>
18066
18067         * gst/gstbuffer.c: (gst_subbuffer_finalize),
18068         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18069         * gst/gstbuffer.h:
18070         Avoid typechecking in places where not needed.
18071         Added accessor for malloc_data.
18072
18073 2005-05-30  Wim Taymans  <wim@fluendo.com>
18074
18075         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18076         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18077         (gst_pad_configure_sink), (gst_pad_configure_src),
18078         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18079         (gst_pad_start_task):
18080         Propagate errors from _set_caps() in configure_src/sink
18081         functions instead of returning TRUE.
18082         FLUSH events can travel up and downstream
18083
18084
18085 2005-05-30  Wim Taymans  <wim@fluendo.com>
18086
18087         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18088         (gst_basesink_activate):
18089         Handle EOS in preroll.
18090
18091 2005-05-30  Wim Taymans  <wim@fluendo.com>
18092
18093         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18094         (gst_queue_loop), (gst_queue_handle_src_event):
18095         Remove old pieces of code
18096         Flushing the queue in an upstream event is a very bad idea.
18097
18098 2005-05-26  Andy Wingo  <wingo@pobox.com>
18099
18100         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18101         gst_value_set_mini_object so as to add a ref on the object (which
18102         will be removed when the value is unset).
18103
18104         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18105         arg type in ::handoff.
18106
18107         * gst/gstelement.c (gst_element_change_state): Also deactivate
18108         pads in READY->NULL, just in case the element didn't make it to
18109         PAUSED. Wingo tested, Wim approved.
18110
18111 2005-05-26  Wim Taymans  <wim@fluendo.com>
18112
18113         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18114         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18115         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18116         A flushing pad cannot be used to alloc_buffer from.
18117
18118 2005-05-26  Wim Taymans  <wim@fluendo.com>
18119
18120         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18121         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18122         (gst_bus_source_dispatch), (gst_bus_source_finalize),
18123         (gst_bus_create_watch), (gst_bus_add_watch_full):
18124         * gst/gstbus.h:
18125         Implement a real GSource and use g_main_context_wakeup() to
18126         signal new messages instead of the socketpair.
18127
18128 2005-05-25  Wim Taymans  <wim@fluendo.com>
18129
18130         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18131         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18132         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18133         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18134         (gst_pad_send_event), (gst_pad_start_task):
18135         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18136         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18137         (gst_queue_sink_activate), (gst_queue_src_activate),
18138         (gst_queue_change_state):
18139         * gst/gstqueue.h:
18140         Fix state changes for non sinks. We now change sinks, then elements
18141         with unconnected srcpads, then the rest.
18142         More efficient queue unlocking in flush and state changes.
18143         Set the pad activate mode even if it does not have an activate
18144         function.
18145
18146 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18147
18148         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18149           Don't go in pull mode for non-seekable sources.
18150         * gst/elements/gsttypefindelement.h:
18151         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18152         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18153         (free_entry), (stop_typefinding),
18154         (gst_type_find_element_handle_event), (find_peek),
18155         (gst_type_find_element_chain), (do_pull_typefind),
18156         (gst_type_find_element_change_state):
18157           Allow typefinding (w/o seeking) in push-mode, simplified version
18158           of what was in 0.8.
18159         * gst/gstutils.c: (gst_buffer_join):
18160         * gst/gstutils.h:
18161           gst_buffer_join() from 0.8.
18162
18163 2005-05-25  Wim Taymans  <wim@fluendo.com>
18164
18165         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18166         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18167         (gst_pad_send_event), (gst_pad_start_task):
18168         Disable attempt at mode switching until it is figured out.
18169
18170 2005-05-25  Wim Taymans  <wim@fluendo.com>
18171
18172         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18173         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18174         (gst_basesink_finish_preroll), (gst_basesink_chain),
18175         (gst_basesink_loop), (gst_basesink_activate),
18176         (gst_basesink_change_state):
18177         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18178         (gst_basesrc_get_range), (gst_basesrc_loop),
18179         (gst_basesrc_activate):
18180         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18181         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18182         (gst_real_pad_init), (gst_real_pad_set_property),
18183         (gst_real_pad_get_property), (gst_pad_set_active),
18184         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18185         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18186         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18187         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18188         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18189         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18190         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18191         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18192         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18193         (gst_pad_stop_task):
18194         * gst/gstpad.h:
18195         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18196         (gst_queue_loop), (gst_queue_src_activate):
18197         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18198         (gst_task_get_state):
18199         * gst/gsttask.h:
18200         * gst/schedulers/threadscheduler.c:
18201         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18202         Implement gst_pad_pause/start/stop_task(), take STREAM lock
18203         in task function.
18204         Remove ACTIVE pad flag, use FLUSHING everywhere
18205         Added _pad_chain(), _pad_get_range() to call chain/getrange 
18206         functions.
18207         Add locks around IS_FLUSHING when reading.
18208         Take STREAM lock in chain(), get_range() functions so plugins
18209         don't need to take it anymore.
18210         
18211
18212
18213 2005-05-25  Wim Taymans  <wim@fluendo.com>
18214
18215         * tools/gst-launch.c: (event_loop):
18216         Unref message after using its contents instead of
18217         before.
18218
18219 2005-05-24  Wim Taymans  <wim@fluendo.com>
18220
18221         * docs/design/draft-ghostpads.txt:
18222         * docs/design/draft-push-pull.txt:
18223         * docs/design/draft-query.txt:
18224         * docs/design/part-overview.txt:
18225         Docs updates, added general overview doc.
18226
18227 2005-05-21  David Schleef  <ds@schleef.org>
18228
18229         * docs/gst/tmpl/old/GstBin.sgml:
18230         * docs/gst/tmpl/old/GstBuffer.sgml:
18231         * docs/gst/tmpl/old/GstCaps.sgml:
18232         * docs/gst/tmpl/old/GstClock.sgml:
18233         * docs/gst/tmpl/old/GstCompat.sgml:
18234         * docs/gst/tmpl/old/GstData.sgml:
18235         * docs/gst/tmpl/old/GstElement.sgml:
18236         * docs/gst/tmpl/old/GstEvent.sgml:
18237         * docs/gst/tmpl/old/GstIndex.sgml:
18238         * docs/gst/tmpl/old/GstStructure.sgml:
18239         * docs/gst/tmpl/old/GstTag.sgml:
18240         * docs/gst/tmpl/old/cothreads.sgml:
18241         * docs/gst/tmpl/old/cothreads_compat.sgml:
18242         * docs/gst/tmpl/old/gettext.sgml:
18243         * docs/gst/tmpl/old/gobject2gtk.sgml:
18244         * docs/gst/tmpl/old/grammar.tab.sgml:
18245         * docs/gst/tmpl/old/gst-i18n-app.sgml:
18246         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18247         * docs/gst/tmpl/old/gst_private.sgml:
18248         * docs/gst/tmpl/old/gstaggregator.sgml:
18249         * docs/gst/tmpl/old/gstarch.sgml:
18250         * docs/gst/tmpl/old/gstatomic_impl.sgml:
18251         * docs/gst/tmpl/old/gstbufferstore.sgml:
18252         * docs/gst/tmpl/old/gstdata_private.sgml:
18253         * docs/gst/tmpl/old/gstdisksink.sgml:
18254         * docs/gst/tmpl/old/gstdisksrc.sgml:
18255         * docs/gst/tmpl/old/gstelementfactory.sgml:
18256         * docs/gst/tmpl/old/gstextratypes.sgml:
18257         * docs/gst/tmpl/old/gstfakesink.sgml:
18258         * docs/gst/tmpl/old/gstfakesrc.sgml:
18259         * docs/gst/tmpl/old/gstfdsink.sgml:
18260         * docs/gst/tmpl/old/gstfdsrc.sgml:
18261         * docs/gst/tmpl/old/gstfilesink.sgml:
18262         * docs/gst/tmpl/old/gstfilesrc.sgml:
18263         * docs/gst/tmpl/old/gsthttpsrc.sgml:
18264         * docs/gst/tmpl/old/gstidentity.sgml:
18265         * docs/gst/tmpl/old/gstindexfactory.sgml:
18266         * docs/gst/tmpl/old/gstmarshal.sgml:
18267         * docs/gst/tmpl/old/gstmd5sink.sgml:
18268         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18269         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18270         * docs/gst/tmpl/old/gstpadtemplate.sgml:
18271         * docs/gst/tmpl/old/gstpipefilter.sgml:
18272         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18273         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18274         * docs/gst/tmpl/old/gstshaper.sgml:
18275         * docs/gst/tmpl/old/gstspider.sgml:
18276         * docs/gst/tmpl/old/gstspideridentity.sgml:
18277         * docs/gst/tmpl/old/gststatistics.sgml:
18278         * docs/gst/tmpl/old/gsttee.sgml:
18279         * docs/gst/tmpl/old/gsttimecache.sgml:
18280         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18281         * docs/gst/tmpl/old/gstxmlregistry.sgml:
18282         * docs/gst/tmpl/old/gthread-cothreads.sgml:
18283         * docs/gst/tmpl/old/types.sgml:
18284           I didn't intend to add these or check them in.
18285
18286 2005-05-19  David Schleef  <ds@schleef.org>
18287
18288         * configure.ac: Use -no-common everywhere.  In a sane world, it
18289           would be the default in libtool, because without it, you can't
18290           build DLLs on Windows.
18291         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18292         * docs/gst/gstreamer-sections.txt:
18293         * docs/gst/tmpl/gstcpu.sgml:
18294         * docs/gst/tmpl/gstdata.sgml:
18295         * docs/gst/tmpl/gstthread.sgml:
18296
18297 2005-05-19  David Schleef  <ds@schleef.org>
18298
18299         * gst/gstminiobject.c: (gst_value_set_mini_object),
18300         (gst_value_take_mini_object), (gst_value_get_mini_object):
18301         * gst/gstminiobject.h: Add GValue set/get functions.
18302
18303 2005-05-19  Wim Taymans  <wim@fluendo.com>
18304
18305         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18306         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18307         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18308         * gst/gstbuffer.h:
18309         * gst/gstbus.c: (gst_bus_post):
18310         * gst/gstelement.c: (gst_element_get_random_pad):
18311         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18312         Make subbufer unref the parent in finalize.
18313         some more debugging info.
18314
18315
18316 2005-05-19  Wim Taymans  <wim@fluendo.com>
18317
18318         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18319         (gst_basesink_init), (gst_basesink_finalize),
18320         (gst_basesink_activate), (gst_basesink_change_state):
18321         Don't free preroll queue too early.
18322
18323 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18324
18325         * gst/Makefile.am:
18326         * gst/ROADMAP:
18327           Hi, I'm outdated. Please shoot me.
18328
18329 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18330
18331         * gst/gstpipeline.c: (gst_pipeline_send_event):
18332           Do not access variables after they have been deleted.
18333
18334 2005-05-19  Wim Taymans  <wim@fluendo.com>
18335
18336         * tools/gst-inspect.c: (print_plugin_features):
18337         A plugin feature does unfortunatly not use the
18338         object name yet...
18339
18340 2005-05-18  Wim Taymans  <wim@fluendo.com>
18341
18342         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18343         Port _span() functions to new subbuffers.
18344
18345 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18346
18347         * gst/gstbin.c: (gst_bin_add_func):
18348           Fix clock settery in bins when adding kids after the clock has
18349           been selected.
18350
18351 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18352
18353         * gst/elements/gstidentity.c: (gst_identity_class_init):
18354           Workaround until signals support GstMiniObject.
18355
18356 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18357
18358         * gst/gstbuffer.c:
18359         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18360
18361 2005-05-18  Wim Taymans  <wim@fluendo.com>
18362
18363         * gst/base/Makefile.am:
18364         * gst/base/gstadapter.c: (gst_adapter_base_init),
18365         (gst_adapter_class_init), (gst_adapter_init),
18366         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18367         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18368         (gst_adapter_flush), (gst_adapter_available),
18369         (gst_adapter_available_fast):
18370         * gst/base/gstadapter.h:
18371         Ported and added adapter to the base classes.
18372
18373 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18374
18375         * gst/gst.c:
18376         * gst/gstmessage.c:
18377           Make sure the class is reffed/unreffed once before threads can be
18378           used.  Fixes #304551.
18379
18380 2005-05-17  Wim Taymans  <wim@fluendo.com>
18381
18382         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18383         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18384         * gst/gstminiobject.c: (gst_mini_object_get_type),
18385         (gst_mini_object_free):
18386         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18387         (gst_pad_push), (gst_pad_push_event):
18388         * gst/gstqueue.c: (gst_queue_change_state):
18389         Don't queue buffers in basesink when we are flushing.
18390         Unref buffer when flushing in basesink.
18391         Flush queue when going to READY
18392         Unref buffer when _push() returns an error.
18393         Don't free MiniObject instance when refcount is incremented
18394         in _finalize() so that we can recover objects.
18395
18396 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18397
18398         * docs/manual/advanced-schedulers.xml:
18399         * docs/manual/appendix-checklist.xml:
18400         * docs/pwg/advanced-clock.xml:
18401         * docs/pwg/advanced-interfaces.xml:
18402         * docs/pwg/advanced-request.xml:
18403         * docs/pwg/advanced-types.xml:
18404         * docs/pwg/intro-preface.xml:
18405         * examples/plugins/example.c: (gst_example_get_type),
18406         (gst_example_class_init), (gst_example_chain),
18407         (gst_example_set_property), (gst_example_get_property),
18408         (gst_example_change_state), (plugin_init):
18409         * examples/plugins/example.h:
18410           small doc fixes
18411
18412 2005-05-17  Wim Taymans  <wim@fluendo.com>
18413
18414         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18415         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18416         * gst/gstqueue.c: (gst_queue_change_state):
18417         Clear queue when going to READY.
18418         Remove IN_SETCAPS flag too.
18419
18420 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18421
18422         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18423           Remove implicit cast from gboolean to GstElementStateReturn;
18424           make sure we still return failure in paused => ready case if
18425           the parent class fails to change state and our own stop 
18426           vfunc succeeds.
18427
18428 2005-05-17  Wim Taymans  <wim@fluendo.com>
18429
18430         * tools/gst-launch.c: (event_loop):
18431         Message was unreffed too soon.
18432
18433 2005-05-16  Andy Wingo  <wingo@pobox.com>
18434
18435         * gst/gstbin.c (sink_iterator_filter): Err... um...
18436
18437         * check/gst/gstbin.c (test_ghost_pads): New test for the
18438         ghosting-if-elements-not-in-same-bin behavior.
18439
18440 2005-05-16  David Schleef  <ds@schleef.org>
18441
18442         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18443         accessing refcount directly.
18444
18445 2005-05-15  David Schleef  <ds@schleef.org>
18446
18447         * check/Makefile.am: remove GstData checks
18448         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18449         * gst/Makefile.am: add miniobject, remove data
18450         * gst/gst.h: add miniobject, remove data
18451         * gst/gstdata.c: remove
18452         * gst/gstdata.h: remove
18453         * gst/gstdata_private.h: remove
18454         * gst/gsttypes.h: remove GstEvent and GstMessage
18455         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18456         * gst/gstmarshal.list: change BOXED -> OBJECT
18457
18458         Implement GstMiniObject.
18459         * gst/gstminiobject.c:
18460         * gst/gstminiobject.h:
18461
18462         Modify to be subclasses of GstMiniObject.
18463         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18464         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18465         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18466         (gst_subbuffer_get_type), (gst_subbuffer_init),
18467         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18468         (gst_buffer_span):
18469         * gst/gstbuffer.h:
18470         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18471         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18472         (_gst_event_copy), (gst_event_new):
18473         * gst/gstevent.h:
18474         * gst/gstmessage.c: (_gst_message_initialize),
18475         (gst_message_get_type), (gst_message_class_init),
18476         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18477         (gst_message_new), (gst_message_new_error),
18478         (gst_message_new_warning), (gst_message_new_tag),
18479         (gst_message_new_state_changed), (gst_message_new_application):
18480         * gst/gstmessage.h:
18481         * gst/gstprobe.c: (gst_probe_perform),
18482         (gst_probe_dispatcher_dispatch):
18483         * gst/gstprobe.h:
18484         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18485         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18486         (_gst_query_copy), (gst_query_new):
18487
18488         Update elements for GstData -> GstMiniObject changes
18489         * gst/gstquery.h:
18490         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18491         (gst_queue_chain), (gst_queue_loop):
18492         * gst/elements/gstbufferstore.c:
18493         (gst_buffer_store_add_buffer_func),
18494         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18495         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18496         (gst_fakesink_render):
18497         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18498         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18499         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18500         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18501         (gst_filesrc_create_read):
18502         * gst/elements/gstidentity.c: (gst_identity_class_init):
18503         * gst/elements/gsttypefindelement.c:
18504         (gst_type_find_element_src_event), (free_entry_buffers),
18505         (gst_type_find_element_handle_event):
18506         * libs/gst/dataprotocol/dataprotocol.c:
18507         (gst_dp_header_from_buffer):
18508         * libs/gst/dataprotocol/dataprotocol.h:
18509         * libs/gst/dataprotocol/dp-private.h:
18510
18511 2005-05-15  David Schleef  <ds@schleef.org>
18512
18513         * gst/elements/gstelements.c: Don't include headers that were
18514         just removed.
18515
18516 2005-05-15  David Schleef  <ds@schleef.org>
18517
18518         * gst/elements/Makefile.am: Remove some elements that don't
18519         need to be in the core (or even exist at all).
18520         * gst/elements/gstaggregator.c:
18521         * gst/elements/gstaggregator.h:
18522         * gst/elements/gstmd5sink.c:
18523         * gst/elements/gstmd5sink.h:
18524         * gst/elements/gstmultifilesrc.c:
18525         * gst/elements/gstmultifilesrc.h:
18526         * gst/elements/gstpipefilter.c:
18527         * gst/elements/gstpipefilter.h:
18528         * gst/elements/gstshaper.c:
18529         * gst/elements/gstshaper.h:
18530         * gst/elements/gststatistics.c:
18531         * gst/elements/gststatistics.h:
18532         * po/POTFILES.in: Remove above files.
18533
18534 2005-05-14  Andy Wingo  <wingo@pobox.com>
18535
18536         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18537         so as to get the refs right.
18538         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18539         unreffing objects that don't pass the filter.
18540
18541         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18542         gst_element_set_bus.
18543         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18544         normal cases, this will destroy the bus.
18545
18546         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18547         object.
18548
18549         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18550         has no sinks.
18551
18552 2005-05-13  Andy Wingo  <wingo@pobox.com>
18553
18554         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18555         gst_pad_link, call pad_link_maybe_ghosting,
18556         (pad_link_maybe_ghosting): Links pads, making sure that the
18557         elements being linked are in the same bin.
18558         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18559         Helpers for pad_link_maybe_ghosting.
18560
18561 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18562
18563         * configure.ac:
18564           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18565
18566 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18567
18568         * docs/design/part-element-source.txt:
18569           Mention GstPushSrc
18570
18571 2005-05-12  Wim Taymans  <wim@fluendo.com>
18572
18573         * gst/base/gstbasesink.c: (gst_basesink_init),
18574         (gst_basesink_activate):
18575         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18576         (gst_basesrc_is_seekable):
18577         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18578         (bin_element_is_sink), (gst_bin_change_state):
18579         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18580         * gst/gstelement.h:
18581         Identify sinks by their flag to avoid overly complicated
18582         checks (fow now).
18583         Do state changes even for elements not reachable from the
18584         sinks.
18585         BaseSink is a sink now :)
18586         Some more debugging info in the basesrc.
18587
18588
18589 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18590
18591         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18592           Implement _query on a bin, similar to _send_event.
18593
18594 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18595
18596         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18597           Discont event offset format should be GST_FORMAT_BYTES,
18598           not GST_FORMAT_TIME.
18599
18600 2005-05-12  Wim Taymans  <wim@fluendo.com>
18601
18602         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18603         Same fix as Ronald's but without the signal. 
18604
18605 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18606
18607         * gst/gstutils.c: (gst_element_query_position):
18608           No, an element is not a pad.
18609
18610 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18611
18612         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18613         (gst_bin_get_state):
18614           If a child is removed from a bin while we remove the child from
18615           the bin and while we're retrieving its state, signal this to the
18616           get_state function so we abort the wait (instead of waiting for
18617           a timeout) and can immediately re-iterate over all other elements.
18618
18619 2005-05-12  Wim Taymans  <wim@fluendo.com>
18620
18621         * gst/base/Makefile.am:
18622         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18623         (gst_basesrc_start):
18624         * gst/base/gstbasesrc.h:
18625         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18626         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18627         (gst_pushsrc_init), (gst_pushsrc_create):
18628         * gst/base/gstpushsrc.h:
18629         Added is_seekable to BaseSrc
18630         Added simple PushSrc.
18631
18632 2005-05-11  Wim Taymans  <wim@fluendo.com>
18633
18634         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18635         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18636         (gst_element_link_pads), (gst_element_query_position),
18637         (gst_element_query_convert), (intersect_caps_func),
18638         (gst_pad_query_position), (gst_pad_query_convert):
18639         Fix refcounting in utils function.
18640         No point in trying to activate a pad when it's added, it could
18641         be added from the state change function and then we deadlock, the
18642         element has to decide what to do.
18643
18644 2005-05-10  Andy Wingo  <wingo@pobox.com>
18645
18646         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18647         *all* the arguments.
18648
18649         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18650         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18651         lock (according to the docs -- if this is wrong change the docs).
18652
18653         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18654         flush messages in the NULL state.
18655
18656         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18657         message immediately and return.
18658         (gst_bus_set_flushing): New function. If a bus is flushing, it
18659         flushes out any queued messages and immediately unrefs new
18660         messages. This is so when an element goes to NULL, all of the
18661         unhandled messages coming from it can be freed, and their
18662         references to the element dropped. In other words: message source
18663         ref considered harmful :P
18664
18665         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18666         we're finished with it.
18667
18668         * gst/gstmessage.c (gst_message_new_state_changed): 
18669
18670 2005-05-10  Wim Taymans  <wim@fluendo.com>
18671
18672         * gst/gstvalue.c: (gst_value_compare_flags),
18673         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18674         (_gst_value_initialize):
18675         Added flags serialize/deserialize/compare code.
18676
18677 2005-05-09  Andy Wingo  <wingo@pobox.com>
18678
18679         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18680         Intersect the peer's caps with our caps.
18681
18682 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18683
18684         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18685         * gst/elements/gsttypefindelement.c: (find_peek):
18686           Handle negative offsets better. Fixes decodebin.
18687
18688 2005-05-09  Wim Taymans  <wim@fluendo.com>
18689
18690         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18691         (gst_base_transform_event):
18692         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18693         Implement accept_caps.
18694         Fix silly lock/unlock mismatch in base class.
18695
18696 2005-05-09  Wim Taymans  <wim@fluendo.com>
18697
18698         * docs/design/draft-push-pull.txt:
18699         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18700         * gst/elements/gstfilesink.c: (gst_filesink_init),
18701         (gst_filesink_query):
18702         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18703         (gst_type_find_handle_src_query), (find_element_get_length):
18704         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18705         * gst/gstelement.h:
18706         * gst/gstmessage.c:
18707         * gst/gstmessage.h:
18708         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18709         (gst_real_pad_get_caps_unlocked),
18710         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18711         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18712         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18713         (gst_real_pad_dispose), (gst_real_pad_finalize),
18714         (gst_pad_load_and_link), (gst_pad_save_thyself),
18715         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18716         (gst_pad_check_pull_range), (gst_pad_pull_range),
18717         (gst_pad_template_get_type), (gst_pad_template_class_init),
18718         (gst_pad_template_init), (gst_pad_template_dispose),
18719         (name_is_valid), (gst_static_pad_template_get),
18720         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18721         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18722         (gst_pad_get_element_private), (gst_pad_start_task),
18723         (gst_pad_pause_task), (gst_pad_stop_task),
18724         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18725         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18726         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18727         (gst_ghost_pad_new):
18728         * gst/gstpad.h:
18729         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18730         (gst_query_new_position), (gst_query_set_position),
18731         (gst_query_parse_position), (gst_query_new_convert),
18732         (gst_query_set_convert), (gst_query_parse_convert):
18733         * gst/gstquery.h:
18734         * gst/gstqueryutils.c:
18735         * gst/gstqueryutils.h:
18736         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18737         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18738         (gst_queue_handle_src_query):
18739         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18740         (gst_element_query_position), (gst_element_query_convert),
18741         (intersect_caps_func), (gst_pad_query_position),
18742         (gst_pad_query_convert):
18743         * gst/gstutils.h:
18744         * tools/gst-inspect.c: (print_pad_info):
18745         * tools/gst-xmlinspect.c: (print_element_info):
18746         Remove old query functions. Ported old code.
18747         Added position/convert helper functions to gstutils.
18748         Reordered gstpad.c code, grouping relevant things.
18749         Remove gst_message_new(), always need to speficy a specific
18750         message.
18751
18752
18753 2005-05-09  Andy Wingo  <wingo@pobox.com>
18754
18755         * gst/gstiterator.h: Add some includes.
18756
18757         * gst/gstqueryutils.h: Include more headers.
18758
18759         * gst/gstpad.h:
18760         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18761         some uses of gst_pad_query.
18762
18763         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18764         NULL out parameters.
18765         (gst_query_new_position): New proc, allocates a new position
18766         query.
18767
18768         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18769         gstqueryutils.c to the build.
18770
18771         * gst/gststructure.c (gst_structure_set_valist): Implement with
18772         the generic G_VALUE_COLLECT.
18773         
18774 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18775
18776         * gst/Makefile.am: (gst_headers):
18777         Added gstqueryutils.h to the list of headers to install, that was
18778         a 'nachty' move wingo :)
18779
18780 2005-05-06  Andy Wingo  <wingo@pobox.com>
18781
18782         * gst/gstquery.h
18783         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18784         GstData, init a memchunk.
18785         (standard_definitions): Add a few query types, deprecate a few.
18786         (gst_query_get_type): New proc.
18787         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18788         implementation.
18789         (gst_query_new_application, gst_query_get_structure): New public
18790         procs.
18791
18792         * docs/design/draft-query.txt: Removed LINKS from the query types,
18793         because all the rest can be dispatched to other pads -- seemed
18794         ugly to have a query that couldn't be dispatched. internal_links
18795         is fine as a pad method.
18796
18797         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18798         in gstpad.c, but maintain binary compatibility for the moment.
18799         Will fix before 0.9 is out.
18800
18801         * gst/gstqueryutils.c: 
18802         * gst/gstqueryutils.h: New files, implement 3 methods for each
18803         query type: parse_query, parse_response, and set. Probably need an
18804         allocator as well.
18805
18806         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18807
18808         * gst/elements/gstfilesink.c (gst_filesink_query2):
18809         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18810         query_types, and formats methods.
18811
18812         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18813         (gst_pad_set_query2_function): New functions.
18814         (gst_real_pad_init): Set query2_default as the default query2
18815         function. Basically just dispatches to internally linked pads.
18816
18817         Needs review!
18818         
18819         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18820         without using the atomic operations. Only one thread can possibly
18821         be accessing the data at this point. Changed so as to avoid
18822         gst_atomic operations.
18823
18824 2005-05-06  Wim Taymans  <wim@fluendo.com>
18825
18826         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18827         Also set caps if we use the fallback buffer alloc.
18828
18829 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18830
18831         * docs/gst/Makefile.am:
18832         * docs/gst/gstreamer-docs.sgml:
18833         * docs/gst/gstreamer-sections.txt:
18834         * docs/gst/tmpl/gstatomic.sgml:
18835         * docs/gst/tmpl/gstmemchunk.sgml:
18836         * testsuite/elements/struct_i386.h:
18837         * win32/GStreamer.vcproj:
18838         * win32/Makefile:
18839           Purge GstAtomic stuff from docs and win32 makefiles as well
18840
18841 2005-05-06  Wim Taymans  <wim@fluendo.com>
18842
18843         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18844         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18845         * gst/gstpad.c: (gst_pad_peer_get_caps):
18846         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18847         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18848         (gst_queue_src_activate), (gst_queue_change_state):
18849         * gst/gstqueue.h:
18850         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18851         (intersect_caps_func):
18852         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18853         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18854         Some fixes for the peer_get_caps() change.
18855
18856 2005-05-06  Wim Taymans  <wim@fluendo.com>
18857
18858         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18859         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18860         (gst_basesink_activate):
18861         Actually do something with error codes returned from the push
18862         functions.
18863
18864 2005-05-06  Wim Taymans  <wim@fluendo.com>
18865
18866         * docs/design/part-element-sink.txt:
18867         * docs/design/part-element-source.txt:
18868         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18869         (gst_basesink_event), (gst_basesink_activate):
18870         * gst/base/gstbasesink.h:
18871         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18872         (gst_basesrc_activate):
18873         * gst/base/gstbasesrc.h:
18874         * gst/gstelement.c: (gst_element_pads_activate):
18875         Some more documentation.
18876         Fixed scheduling decision in _pads_activate().
18877
18878 2005-05-05  Andy Wingo  <wingo@pobox.com>
18879
18880         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18881         the test suite.
18882
18883 2005-05-05  Wim Taymans  <wim@fluendo.com>
18884
18885         * gst/base/Makefile.am:
18886         * gst/base/gstbasesink.h:
18887         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18888         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18889         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18890         (gst_collectpads_class_init), (gst_collectpads_init),
18891         (gst_collectpads_finalize), (gst_collectpads_new),
18892         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18893         (find_pad), (gst_collectpads_remove_pad),
18894         (gst_collectpads_is_active), (gst_collectpads_collect),
18895         (gst_collectpads_collect_range), (gst_collectpads_start),
18896         (gst_collectpads_stop), (gst_collectpads_peek),
18897         (gst_collectpads_pop), (gst_collectpads_available),
18898         (gst_collectpads_read), (gst_collectpads_flush),
18899         (gst_collectpads_chain):
18900         * gst/base/gstcollectpads.h:
18901         * gst/elements/Makefile.am:
18902         * gst/elements/gstelements.c:
18903         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18904         (gst_fakesink_get_times), (gst_fakesink_event),
18905         (gst_fakesink_preroll), (gst_fakesink_render):
18906         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18907         (gst_filesink_init), (gst_filesink_set_location),
18908         (gst_filesink_open_file), (gst_filesink_close_file),
18909         (gst_filesink_pad_query), (gst_filesink_event),
18910         (gst_filesink_render), (gst_filesink_change_state):
18911         * gst/elements/gstfilesink.h:
18912         Added object to help in making collect pad based elements.
18913         Ported filesink.
18914         Make event function in sink baseclass return gboolean.
18915
18916 2005-05-05  Wim Taymans  <wim@fluendo.com>
18917
18918         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18919         (gst_bin_get_by_name):
18920         * gst/gstbuffer.h:
18921         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18922         (gst_clock_finalize):
18923         * gst/gstdata.c: (gst_data_replace):
18924         * gst/gstdata.h:
18925         * gst/gstelement.c: (gst_element_request_pad),
18926         (gst_element_pads_activate):
18927         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18928         (gst_object_unref):
18929         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18930         (gst_pad_set_checkgetrange_function),
18931         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18932         (gst_pad_check_pull_range), (gst_pad_pull_range),
18933         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18934         (gst_pad_pause_task), (gst_pad_stop_task):
18935         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18936         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18937         Fix name lookup in GstBin.
18938         Added _data_replace() function and _buffer_replace()
18939         Use finalize method to clean up clock.
18940         Fix refcounting on request pads.
18941         Fix pad schedule mode error.
18942         Some more object refcounting debug info,
18943
18944
18945 2005-05-04  Andy Wingo <wingo@pobox.com>
18946
18947         * check/Makefile.am:
18948         * docs/gst/tmpl/gstatomic.sgml:
18949         * docs/gst/tmpl/gstplugin.sgml:
18950         * gst/base/gstbasesink.c: (gst_basesink_activate):
18951         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18952         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18953         (gst_basesrc_query), (gst_basesrc_set_property),
18954         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18955         (gst_basesrc_activate):
18956         * gst/base/gstbasesrc.h:
18957         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18958         (gst_base_transform_src_activate):
18959         * gst/elements/gstelements.c:
18960         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18961         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18962         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18963         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18964         (gst_type_find_element_checkgetrange),
18965         (gst_type_find_element_activate):
18966         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18967         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18968         (gst_caps_load_thyself):
18969         * gst/gstelement.c: (gst_element_pads_activate),
18970         (gst_element_save_thyself), (gst_element_restore_thyself):
18971         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18972         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18973         * gst/gstpad.h:
18974         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18975         (gst_xml_parse_file), (gst_xml_parse_memory),
18976         (gst_xml_get_element), (gst_xml_make_element):
18977         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18978         (_file_index_id_save_xml), (gst_file_index_commit):
18979         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18980         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18981         (load_paths):
18982         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18983         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18984         * tools/gst-complete.c: (main):
18985         * tools/gst-compprep.c: (main):
18986         * tools/gst-inspect.c: (print_element_properties_info):
18987         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18988         * tools/gst-xmlinspect.c: (print_element_properties):
18989         GCC 4 fixen.
18990         
18991 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18992
18993         * gst/gstplugin.c: (gst_plugin_check_module),
18994         (gst_plugin_check_file), (gst_plugin_load_file):
18995             apply patch from #172526 to make register work on MacOSX
18996
18997 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18998
18999         * docs/gst/tmpl/gstconfig.sgml:
19000         * gst/gstconfig.h.in:
19001           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
19002         * testsuite/debug/printf_extension.c: (main):
19003           Do not use GST_PTR_FORMAT on pointers to types with
19004           sizeof < sizeof(gpointer).  Fixes test on 64-bit
19005         * testsuite/elements/property.h:
19006           use correct printf format
19007
19008 2005-05-02  Wim Taymans  <wim@fluendo.com>
19009
19010         * docs/design/draft-push-pull.txt:
19011         * docs/design/draft-query.txt:
19012         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19013         (gst_basesrc_start):
19014         Added draft for new query API.
19015         Added draft for better selecting scheduling methods.
19016         Make basesrc ignore length if the subclass does not support
19017         it.
19018
19019 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19020
19021         * gst/Makefile.am:
19022           possible fixes for automake-1.5 - _LIBADD is reserved
19023
19024 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19025
19026         * docs/faq/Makefile.am:
19027         * docs/manual/Makefile.am:
19028         * docs/manuals.mak:
19029         * docs/pwg/Makefile.am:
19030         * gst/Makefile.am:
19031           possible fixes for automake-1.5
19032
19033 2005-04-28  Wim Taymans  <wim@fluendo.com>
19034
19035         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19036         (gst_basesink_pad_getcaps), (gst_basesink_init),
19037         (gst_basesink_do_sync):
19038         * gst/gstclock.c: (gst_clock_entry_new):
19039         * gst/gstevent.c: (gst_event_discont_get_value):
19040         * gst/gstpipeline.c: (pipeline_bus_handler),
19041         (gst_pipeline_change_state):
19042         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19043         Better debugging of clocking info.
19044         Allow NULL values when getting discont values.
19045
19046 2005-04-27  Wim Taymans  <wim@fluendo.com>
19047
19048         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19049         * check/gst/gstpad.c: (gst_pad_suite):
19050         Increase timeout for checks.
19051
19052 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19053
19054         * check/Makefile.am:
19055           fix the broken rule for cleanup.  Apparently this rule is
19056           only needed on FC2, so maybe this warrants further autotool
19057           inspection.
19058
19059 2005-04-26  Wim Taymans  <wim@fluendo.com>
19060
19061         * gst/gsttrashstack.h:
19062         Ooohh. a nasty one! After having a failed pop() from the stack,
19063         it's possible that the stack is empty. In that case, don't
19064         follow the NULL pointer.
19065
19066 2005-04-25  Wim Taymans  <wim@fluendo.com>
19067
19068         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19069         (gst_pad_set_checkgetrange_function),
19070         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19071         (gst_pad_check_pull_range), (gst_pad_pull_range),
19072         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19073         (gst_pad_pause_task), (gst_pad_stop_task):
19074         * gst/gstplugin.c: (gst_plugin_load):
19075         * gst/gstplugin.h:
19076         Remove gst_library_load as it does more harm than good with
19077         the new g_module flags.
19078         Revert bogus caps template check in pad linking, pad caps
19079         are important when linking not the template, which is more
19080         general than the current caps.
19081
19082 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19083
19084         * gst/autoplug/.cvsignore:
19085         * gst/autoplug/Makefile.am:
19086         * gst/autoplug/gstsearchfuncs.c:
19087         * gst/autoplug/gstsearchfuncs.h:
19088         * gst/autoplug/gstspider.c:
19089         * gst/autoplug/gstspider.h:
19090         * gst/autoplug/gstspideridentity.c:
19091         * gst/autoplug/gstspideridentity.h:
19092         * gst/autoplug/spidertest.c:
19093           Die, spider, die.
19094
19095 2005-04-25  Wim Taymans  <wim@fluendo.com>
19096
19097         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19098         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19099         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19100         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19101         * gst/gstpad.h:
19102         Added stubs for unimplemented functions. 
19103
19104 2005-04-24  David Schleef  <ds@schleef.org>
19105
19106         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
19107         please fix.
19108
19109 2005-04-24  David Schleef  <ds@schleef.org>
19110
19111         Convert everything from GstAtomicInt to g_atomic_int_*, and
19112         remove gstatomic.
19113         * gst/Makefile.am:
19114         * gst/gstatomic.c:
19115         * gst/gstatomic.h:
19116         * gst/gstatomic_impl.h:
19117         * gst/gstbuffer.c:
19118         * gst/gstcaps.c:
19119         * gst/gstcaps.h:
19120         * gst/gstclock.c:
19121         * gst/gstclock.h:
19122         * gst/gstdata.c:
19123         * gst/gstdata.h:
19124         * gst/gstdata_private.h:
19125         * gst/gstevent.c:
19126         * gst/gstinfo.c:
19127         * gst/gstinfo.h:
19128         * gst/gstmessage.c:
19129         * gst/gstobject.c:
19130         * gst/gstobject.h:
19131         * gst/gststructure.c:
19132         * gst/gststructure.h:
19133         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19134         * gst/gstutils.h:
19135
19136 2005-04-24  David Schleef  <ds@schleef.org>
19137
19138         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19139         make the regressions tests work.  Remove some code that is no
19140         longer true.
19141         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19142         Disable warning for pads without templates.
19143
19144 2005-04-24  David Schleef  <ds@schleef.org>
19145
19146         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
19147         functions that handle filtered links.
19148         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19149         removed functions.
19150         * gst/gstutils.c: Fix/remove utility functions that handle
19151         filtered caps.
19152         * gst/gstutils.h:
19153         * gst/gstvalue.c: Add serialization/deserialization of caps
19154         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
19155         requires fixing so that the filter caps notation creates
19156         a capsfilter element and sets the filter_caps property.  I
19157         think everyone probably wants to keep the shorthand notation.
19158         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19159         * docs/gst/tmpl/gstpad.sgml:
19160
19161         * gst/elements/gstelements.c: Register capsfilter element.
19162         * gst/Makefile.am: fix spacing
19163         * docs/random/ds/0.9-suggested-changes: random
19164
19165 2005-04-23  David Schleef  <ds@schleef.org>
19166
19167         * gst/elements/Makefile.am:
19168         * gst/elements/gstcapsfilter.c: New element that acts like an
19169         identity, but filters caps.  Will eventually replace filtered
19170         caps in pad linking.
19171         * gst/gstutils.c: (gst_element_create_all_pads): New function
19172         to create all the ALWAYS pads that are registered with an
19173         element class.  This functionality should eventually be
19174         merged in with GstElement initialization.
19175         * gst/gstutils.h:
19176         * testsuite/trigger/README: part of trigger test code that should
19177         have been checked in a long time ago.
19178
19179 2005-04-23  David Schleef  <ds@schleef.org>
19180
19181         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
19182         needed with new versions of libtool (nobody will confirm this),
19183         and hard to carry around.
19184         * gst/autoplug/Makefile.am:
19185         * gst/base/Makefile.am:
19186         * gst/elements/Makefile.am:
19187         * gst/indexers/Makefile.am:
19188         * gst/schedulers/Makefile.am:
19189         * libs/gst/bytestream/Makefile.am:
19190         * libs/gst/control/Makefile.am:
19191         * libs/gst/dataprotocol/Makefile.am:
19192         * libs/gst/getbits/Makefile.am:
19193
19194 2005-04-21  Wim Taymans  <wim@fluendo.com>
19195
19196         * docs/design/draft-push-pull.txt:
19197         * docs/design/part-MT-refcounting.txt:
19198         * docs/design/part-TODO.txt:
19199         * docs/design/part-caps.txt:
19200         * docs/design/part-events.txt:
19201         * docs/design/part-gstbus.txt:
19202         * docs/design/part-gstpipeline.txt:
19203         * docs/design/part-messages.txt:
19204         * docs/design/part-push-pull.txt:
19205         * docs/design/part-query.txt:
19206         Some more docs.
19207
19208 2005-04-21  Wim Taymans  <wim@fluendo.com>
19209
19210         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19211         (gst_message_new), (gst_message_new_error),
19212         (gst_message_new_warning), (gst_message_new_tag),
19213         (gst_message_new_state_changed), (gst_message_new_application),
19214         (gst_message_get_structure):
19215         * gst/gstmessage.h:
19216         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19217         (gst_structure_copy_conditional):
19218         Use parent refcount in GstMessage to ensure GstStructure
19219         consistency.
19220         Cleaned up headers a bit.
19221         
19222
19223 2005-04-20  Wim Taymans  <wim@fluendo.com>
19224
19225         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19226         (gst_basesink_pad_getcaps), (gst_basesink_init),
19227         (gst_basesink_chain_unlocked):
19228         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19229         (gst_type_find_helper):
19230         * gst/elements/gsttypefindelement.c:
19231         (gst_type_find_element_have_type), (gst_type_find_element_init),
19232         (stop_typefinding), (gst_type_find_element_handle_event),
19233         (find_suggest), (gst_type_find_element_chain),
19234         (gst_type_find_element_checkgetrange),
19235         (gst_type_find_element_getrange), (do_typefind),
19236         (gst_type_find_element_activate):
19237         * gst/gstbuffer.c: (_gst_buffer_sub_free),
19238         (gst_buffer_default_free), (gst_buffer_default_copy),
19239         (gst_buffer_set_caps):
19240         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19241         (gst_caps_replace):
19242         * gst/gstmessage.c: (gst_message_new),
19243         (gst_message_new_state_changed):
19244         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19245         (gst_pad_set_checkgetrange_function),
19246         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19247         (gst_pad_set_caps), (gst_pad_check_pull_range),
19248         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19249         * gst/gstpad.h:
19250         * gst/gsttypefind.c: (gst_type_find_register):
19251         Make gst_caps_replace() work like other _replace() functions.
19252         Use _caps_replace() where possible.
19253         Make sure _message_new() initialises its field.
19254         Add gst_static_pad_template_get_caps()
19255
19256
19257 2005-04-18  Andy Wingo  <wingo@pobox.com>
19258
19259         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19260         on the peer, not the pad. I think that was a typo. Pass an extra
19261         arg to see if random access is possible. Activate the pads as
19262         PULL_RANGE if possible.
19263
19264         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19265
19266         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
19267         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19268         to PROP_....
19269
19270 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19271
19272         * docs/faq/using.xml:
19273           Add note on gstreamer-properties (#154996).
19274
19275 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19276
19277         * docs/random/bbb/optional-properties:
19278           Some analysis on optional properties.
19279
19280 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19281
19282         * docs/gst/tmpl/gstelementfactory.sgml:
19283         * gst/gstelement.h:
19284         * gst/gstelementfactory.c: (gst_element_factory_init),
19285         (gst_element_factory_cleanup), (gst_element_register),
19286         (__gst_element_factory_add_static_pad_template),
19287         (gst_element_factory_get_static_pad_templates),
19288         (gst_element_factory_can_src_caps),
19289         (gst_element_factory_can_sink_caps):
19290         * gst/registries/Makefile.am:
19291         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19292         (gst_xml_registry_class_init), (gst_xml_registry_init),
19293         (gst_xml_registry_new), (gst_xml_registry_set_property),
19294         (gst_xml_registry_get_property), (get_time), (make_dir),
19295         (gst_xml_registry_get_perms_func),
19296         (plugin_times_older_than_recurse), (plugin_times_older_than),
19297         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19298         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19299         (add_to_char_array), (read_string), (read_uint), (read_enum),
19300         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19301         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19302         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19303         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19304         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19305         (gst_xml_registry_rebuild):
19306         * gst/registries/gstlibxmlregistry.h:
19307         * tools/gst-compprep.c: (main):
19308         * tools/gst-inspect.c: (print_pad_templates_info):
19309         * tools/gst-xmlinspect.c: (print_element_info):
19310           Use libxml2 for registry parsing, use staticpadtemplates in
19311           elementfactories. Makes gst_init() +/- 10x faster.
19312
19313 2005-04-12  Wim Taymans  <wim@fluendo.com>
19314
19315         * gst/base/Makefile.am:
19316         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19317         (gst_basesink_pad_getcaps), (gst_basesink_init),
19318         (gst_basesink_event), (gst_basesink_change_state):
19319         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19320         (gst_basesrc_init), (gst_basesrc_query),
19321         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19322         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19323         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19324         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19325         (gst_basesrc_stop), (gst_basesrc_activate),
19326         (gst_basesrc_change_state):
19327         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19328         (helper_find_suggest), (gst_type_find_helper):
19329         * gst/base/gsttypefindhelper.h:
19330         * gst/elements/Makefile.am:
19331         * gst/elements/gstelements.c:
19332         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19333         (gst_fakesink_get_times), (gst_fakesink_event),
19334         (gst_fakesink_preroll), (gst_fakesink_render):
19335         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19336         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19337         (gst_fakesrc_get_property), (gst_fakesrc_create),
19338         (gst_fakesrc_start), (gst_fakesrc_stop):
19339         * gst/elements/gstfakesrc.h:
19340         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19341         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19342         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19343         (gst_filesrc_create_read), (gst_filesrc_create),
19344         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19345         (gst_filesrc_start):
19346         * gst/elements/gsttypefindelement.c:
19347         (gst_type_find_element_have_type), (gst_type_find_element_init),
19348         (start_typefinding), (stop_typefinding), (push_buffer_store),
19349         (gst_type_find_element_handle_event),
19350         (gst_type_find_element_chain),
19351         (gst_type_find_element_checkgetrange),
19352         (gst_type_find_element_getrange), (do_typefind),
19353         (gst_type_find_element_activate),
19354         (gst_type_find_element_change_state):
19355         * gst/elements/gsttypefindelement.h:
19356         * gst/gstpipeline.c: (pipeline_bus_handler):
19357         Added typefind helper.
19358         Small preroll fix in the base sink.
19359         Disable typefind code in basesrc.
19360         Crude port of typefindelement.
19361         Fakesrc cleanups.
19362
19363
19364 2005-04-11  Wim Taymans  <wim@fluendo.com>
19365
19366         * check/gst/gstbus.c: (gstbus_suite):
19367         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19368         * check/gstcheck.h:
19369           Fix up the timeout so that the test does not fail.
19370
19371 2005-04-06  Wim Taymans  <wim@fluendo.com>
19372
19373         * gst/base/README:
19374         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19375         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19376         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19377         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19378         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19379         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19380         (gst_basesrc_stop), (gst_basesrc_activate),
19381         (gst_basesrc_change_state), (basesrc_find_peek),
19382         (basesrc_find_suggest), (gst_basesrc_type_find):
19383         * gst/base/gstbasesrc.h:
19384         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19385         (gst_filesrc_class_init), (gst_filesrc_init),
19386         (gst_filesrc_finalize), (gst_filesrc_set_location),
19387         (gst_filesrc_set_property), (gst_filesrc_get_property),
19388         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19389         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19390         (gst_filesrc_create_read), (gst_filesrc_create),
19391         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19392         * gst/elements/gstfilesrc.h:
19393         * gst/gstelement.c: (gst_element_get_state_func),
19394         (gst_element_lost_state), (gst_element_pads_activate):
19395         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19396         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19397         (gst_pad_pull_range):
19398         * gst/gstpad.h:
19399         More work on the generic source base class, implement seeking,
19400         query.
19401         Make filesrc extend the base source class.
19402         Added gst_pad_set_checkgetrange_function to GstPad.
19403
19404 2005-04-06  Andy Wingo  <wingo@pobox.com>
19405
19406         * pkgconfig/gstreamer-base.pc.in:
19407         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19408
19409         * pkgconfig/Makefile.am:
19410         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19411
19412 2005-04-04  Wim Taymans  <wim@fluendo.com>
19413
19414         * gst/base/Makefile.am:
19415         * gst/base/README:
19416         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19417         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19418         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19419         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19420         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19421         (gst_basesrc_base_init), (gst_basesrc_class_init),
19422         (gst_basesrc_init), (gst_basesrc_get_formats),
19423         (gst_basesrc_get_query_types), (gst_basesrc_query),
19424         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19425         (gst_basesrc_set_property), (gst_basesrc_get_property),
19426         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19427         (gst_basesrc_loop), (gst_basesrc_activate),
19428         (gst_basesrc_change_state):
19429         * gst/base/gstbasesrc.h:
19430         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19431         (gst_fakesrc_class_init), (gst_fakesrc_init),
19432         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19433         (gst_fakesrc_get_property), (gst_fakesrc_create):
19434         * gst/elements/gstfakesrc.h:
19435         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19436         (gst_filesrc_open_file), (gst_filesrc_loop),
19437         (gst_filesrc_activate), (filesrc_find_peek),
19438         (gst_filesrc_type_find):
19439         Made base source class, make fakesrc extend it.
19440         Add comments to basesink class.
19441         Some filesrc cleanup.
19442
19443 2005-03-31  David Schleef  <ds@schleef.org>
19444
19445         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19446         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19447         expected to link against libgstreamer.
19448         * gst/base/Makefile.am: link against libgstreamer
19449         * gst/elements/Makefile.am: same
19450
19451 2005-03-31  Andy Wingo  <wingo@pobox.com>
19452
19453         * tests/instantiate/Makefile.am:
19454         * tests/instantiate/caps.c: Add test to test speed of caps copy
19455         and free.
19456
19457         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19458         GMemChunk to be fair.
19459
19460         * gst/gsttrashstack.h: Remove warning about using the fallback
19461         trash stack implementation, it's still faster than malloc.
19462
19463 2005-03-30  Andy Wingo  <wingo@pobox.com>
19464
19465         * tests/complexity.c: Add a copyright.
19466
19467 2005-03-31  Wim Taymans  <wim@fluendo.com>
19468
19469         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19470         (gst_base_transform_class_init), (gst_base_transform_init),
19471         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19472         (gst_base_transform_get_property),
19473         (gst_base_transform_sink_activate),
19474         (gst_base_transform_src_activate),
19475         (gst_base_transform_change_state):
19476         * gst/base/gstbasetransform.h:
19477         * gst/elements/gstidentity.c: (gst_identity_class_init),
19478         (gst_identity_event), (gst_identity_check_perfect),
19479         (gst_identity_transform), (gst_identity_start),
19480         (gst_identity_stop):
19481         Added start/stop methods to transform base class so subclasses 
19482         don't need to deal with state changes even.
19483
19484 2005-03-31  Wim Taymans  <wim@fluendo.com>
19485
19486         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19487         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19488         * gst/gstevent.h:
19489         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19490         (gst_pad_pull_range):
19491         Added rate to the discont event to prepare for variable speed
19492         and reverse playback.
19493
19494 2005-03-29  David Schleef  <ds@schleef.org>
19495
19496         * configure.ac:
19497         * testsuite/trigger/Makefile.am:
19498         * testsuite/trigger/trigger.c: A little example program to show
19499         how trigger-based elements can work.
19500
19501 2005-03-29  Wim Taymans  <wim@fluendo.com>
19502
19503         * gst/base/Makefile.am:
19504         * gst/base/README:
19505         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19506         (gst_basesink_base_init), (gst_basesink_class_init),
19507         (gst_basesink_pad_getcaps), (gst_basesink_init),
19508         (gst_basesink_activate), (gst_basesink_change_state):
19509         * gst/base/gstbasesink.h:
19510         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19511         (gst_base_transform_base_init), (gst_base_transform_finalize),
19512         (gst_base_transform_class_init), (gst_base_transform_init),
19513         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19514         (gst_base_transform_event), (gst_base_transform_getrange),
19515         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19516         (gst_base_transform_set_property),
19517         (gst_base_transform_get_property),
19518         (gst_base_transform_sink_activate),
19519         (gst_base_transform_src_activate),
19520         (gst_base_transform_change_state):
19521         * gst/base/gstbasetransform.h:
19522         * gst/elements/gstidentity.c: (gst_identity_finalize),
19523         (gst_identity_class_init), (gst_identity_init),
19524         (gst_identity_event), (gst_identity_check_perfect),
19525         (gst_identity_transform), (gst_identity_set_property),
19526         (gst_identity_get_property), (gst_identity_change_state):
19527         * gst/elements/gstidentity.h:
19528         * gst/gstelement.c: (gst_element_get_state_func),
19529         (gst_element_lost_state), (gst_element_pads_activate):
19530         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19531         (gst_pad_check_pull_range), (gst_pad_pull_range):
19532         * gst/gstpad.h:
19533         Simplify pad activation.
19534         Added function to check if pull_range can be performed.
19535         Error out when pulling inactive or flushing pads.
19536         Removed const from refcounted types as it does not make sense.
19537         Simplify pad templates in basesink
19538         Added base class for simple 1-to-1 transforms.
19539         Make identity subclass the base transform.
19540
19541 2005-03-29  Andy Wingo  <wingo@pobox.com>
19542
19543         * docs/libs/gstreamer-libs-overrides.txt: 
19544         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19545         really don't understand what's going on, but like whatever. I want
19546         green buildbot!
19547
19548         * docs/gst/Makefile.am:
19549         * docs/libs/Makefile.am: Dist the overrides files.
19550
19551         * check/Makefile.am (clean-local): Remove .libs directories.
19552
19553         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19554         elements to EXTRA_DIST, so po/ files are happy.
19555
19556         * po/POTFILES.in: Er, remove it here.
19557
19558         * po/POTFILES: Remove gstspider.c.
19559
19560         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19561
19562         * docs/libs/gstreamer-libs-docs.sgml: 
19563         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19564         bytestream.
19565
19566         * tests/complexity.c (main): Set the length of the preroll queue
19567         on the sinks to prevent a lockup.
19568
19569         * libs/gst/dataprotocol/Makefile.am: 
19570         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19571         the same as the one in check/gst-libs/gdp.c.
19572
19573         * po/, docs/gst/: Commit automatic changes to docs and po files.
19574
19575         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19576         the versioned libgstbase.
19577
19578         * check/Makefile.am: Depend on an unversioned gst-register, seems
19579         to make autoconf happier.
19580
19581         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19582
19583 2005-03-28  Wim Taymans  <wim@fluendo.com>
19584
19585         * configure.ac:
19586         * docs/design/part-gstelement.txt:
19587         * docs/design/part-negotiation.txt:
19588         * docs/design/part-preroll.txt:
19589         * docs/design/part-scheduling.txt:
19590         * docs/design/part-states.txt:
19591         * gst/Makefile.am:
19592         * gst/base/Makefile.am:
19593         * gst/base/README:
19594         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19595         (gst_basesink_base_init), (gst_basesink_class_init),
19596         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19597         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19598         (gst_basesink_set_pad_functions),
19599         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19600         (gst_basesink_set_property), (gst_basesink_get_property),
19601         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19602         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19603         (gst_basesink_preroll_queue_push),
19604         (gst_basesink_preroll_queue_empty),
19605         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19606         (gst_basesink_event), (gst_basesink_get_times),
19607         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19608         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19609         (gst_basesink_loop), (gst_basesink_activate),
19610         (gst_basesink_change_state):
19611         * gst/base/gstbasesink.h:
19612         * gst/elements/Makefile.am:
19613         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19614         (gst_fakesink_class_init), (gst_fakesink_init),
19615         (gst_fakesink_set_property), (gst_fakesink_get_property),
19616         (gst_fakesink_get_times), (gst_fakesink_event),
19617         (gst_fakesink_preroll), (gst_fakesink_render),
19618         (gst_fakesink_change_state):
19619         * gst/elements/gstfakesink.h:
19620         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19621         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19622         * gst/gstelement.c: (gst_element_add_pad),
19623         (gst_element_get_state_func), (gst_element_abort_state),
19624         (gst_element_commit_state), (gst_element_lost_state),
19625         (gst_element_set_state), (gst_element_pads_activate):
19626         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19627         * gst/gstpipeline.c: (gst_pipeline_send_event),
19628         (gst_pipeline_change_state):
19629         Added state change code.
19630         Added/updated docs.
19631         Added sink base class, make fakesink extend the base class.
19632         Small cleanups in GstPipeline.
19633
19634 2005-03-26  David Schleef  <ds@schleef.org>
19635
19636         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19637         is broken and should be implemented in a different library.
19638         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19639         * gst/gst.h: remove gstcpu.h
19640         * gst/gstcpu.c: remove
19641         * gst/gstcpu.h: remove
19642         * gst/Makefile.am.future: Remove this file.  It's ancient.
19643
19644 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19645
19646         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19647         (gst_bin_send_event):
19648           Add default event/set_manager handlers. The set_manager handler
19649           takes care that the manager is distributed over kids that were
19650           already in the bin before the manager was set. The event handler
19651           is a utility virtual function that sends the event over all sinks,
19652           so that gst_element_send_event (bin, event); has the expected
19653           behaviour.
19654         * gst/gstpad.c: (gst_pad_event_default):
19655           Re-install default event handling for discontinuities, so that
19656           seeking works without requiring hacks in applications or extra
19657           code in sinks.
19658         * gst/gstpipeline.c: (gst_pipeline_class_init),
19659         (gst_pipeline_send_event):
19660           Half hack, half utility: set a pipeline to PAUSED for seek events,
19661           since that is the only way we can guarantee a/v sync. Means that
19662           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19663           and it "just works".
19664
19665 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19666
19667         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19668           Lock/unlock mismatch.
19669
19670 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19671
19672         * docs/faq/gst-uninstalled:
19673           add gst-plugins-base
19674         * docs/gst/Makefile.am:
19675           don't error out until docs are fixed
19676         * docs/gst/gstreamer.types:
19677           remove thread
19678
19679 2005-03-22  Wim Taymans  <wim@fluendo.com>
19680
19681         * check/Makefile.am:
19682         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19683         * gst/gststructure.c: (gst_structure_set_valist),
19684         (gst_structure_copy_conditional):
19685         Activated more tests.
19686         Added message test.
19687         Added G_TYPE_POINTER to GstStructure.
19688         
19689
19690 2005-03-22  Wim Taymans  <wim@fluendo.com>
19691
19692         * docs/design/part-TODO.txt:
19693         * docs/design/part-events.txt:
19694         * docs/design/part-gstbin.txt:
19695         * docs/design/part-gstbus.txt:
19696         * docs/design/part-gstpipeline.txt:
19697         * docs/design/part-messages.txt:
19698         * gst/gstbus.c:
19699         * gst/gstmessage.c:
19700         Docs updates
19701
19702 2005-03-21  Wim Taymans  <wim@fluendo.com>
19703
19704         * gst/gstbus.c: (gst_bus_post):
19705         Fix copy-and-paste error.
19706
19707 2005-03-21  Wim Taymans  <wim@fluendo.com>
19708
19709         * check/Makefile.am:
19710         * gst/Makefile.am:
19711         * gst/elements/Makefile.am:
19712         * gst/elements/gstelements.c:
19713         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19714         (gst_fakesink_event), (gst_fakesink_chain):
19715         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19716         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19717         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19718         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19719         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19720         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19721         (gst_fakesrc_loop), (gst_fakesrc_activate),
19722         (gst_fakesrc_change_state):
19723         * gst/elements/gstfakesrc.h:
19724         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19725         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19726         (gst_filesrc_open_file), (gst_filesrc_loop),
19727         (gst_filesrc_activate), (gst_filesrc_change_state),
19728         (filesrc_find_peek), (filesrc_find_suggest),
19729         (gst_filesrc_type_find):
19730         * gst/elements/gstidentity.c: (gst_identity_finalize),
19731         (gst_identity_class_init), (gst_identity_init),
19732         (gst_identity_proxy_getcaps), (identity_queue_push),
19733         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19734         (gst_identity_getrange), (gst_identity_chain),
19735         (gst_identity_sink_loop), (gst_identity_src_loop),
19736         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19737         (gst_identity_set_property), (gst_identity_get_property),
19738         (gst_identity_change_state):
19739         * gst/elements/gstidentity.h:
19740         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19741         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19742         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19743         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19744         (gst_tee_sink_activate):
19745         * gst/elements/gsttee.h:
19746         * gst/gst.c: (gst_register_core_elements), (init_post):
19747         * gst/gst.h:
19748         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19749         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19750         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19751         (gst_bin_change_state):
19752         * gst/gstbin.h:
19753         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19754         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19755         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19756         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19757         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19758         (bus_watch_callback), (bus_watch_destroy),
19759         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19760         (poll_timeout), (gst_bus_poll):
19761         * gst/gstbus.h:
19762         * gst/gstcaps.h:
19763         * gst/gstdata.h:
19764         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19765         (gst_element_post_message), (gst_element_message_full),
19766         (gst_element_get_state_func), (gst_element_get_state),
19767         (gst_element_abort_state), (gst_element_commit_state),
19768         (gst_element_lost_state), (gst_element_set_state),
19769         (gst_element_pads_activate), (gst_element_change_state),
19770         (gst_element_dispose), (gst_element_set_manager_func),
19771         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19772         (gst_element_set_manager), (gst_element_get_manager),
19773         (gst_element_set_bus), (gst_element_get_bus),
19774         (gst_element_set_scheduler), (gst_element_get_scheduler):
19775         * gst/gstelement.h:
19776         * gst/gstevent.c: (gst_event_new_segment_seek),
19777         (gst_event_new_flush):
19778         * gst/gstevent.h:
19779         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19780         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19781         (gst_message_new_eos), (gst_message_new_error),
19782         (gst_message_new_warning), (gst_message_new_tag),
19783         (gst_message_new_state_changed), (gst_message_new_application),
19784         (gst_message_get_structure), (gst_message_parse_tag),
19785         (gst_message_parse_state_changed), (gst_message_parse_error),
19786         (gst_message_parse_warning):
19787         * gst/gstmessage.h:
19788         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19789         (gst_real_pad_set_property), (gst_pad_set_active),
19790         (gst_pad_is_active), (gst_pad_set_blocked_async),
19791         (gst_pad_set_blocked), (gst_pad_is_blocked),
19792         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19793         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19794         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19795         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19796         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19797         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19798         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19799         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19800         (gst_pad_set_caps), (gst_pad_configure_sink),
19801         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19802         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19803         (gst_real_pad_dispose), (gst_real_pad_finalize),
19804         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19805         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19806         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19807         * gst/gstpad.h:
19808         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19809         (pipeline_bus_handler), (gst_pipeline_change_state),
19810         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19811         * gst/gstpipeline.h:
19812         * gst/gstprobe.h:
19813         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19814         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19815         (gst_queue_link_src), (gst_queue_bufferalloc),
19816         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19817         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19818         (gst_queue_loop), (gst_queue_handle_src_event),
19819         (gst_queue_handle_src_query), (gst_queue_src_activate),
19820         (gst_queue_change_state):
19821         * gst/gstqueue.h:
19822         * gst/gstscheduler.c: (gst_scheduler_init),
19823         (gst_scheduler_dispose), (gst_scheduler_create_task),
19824         (gst_scheduler_factory_create):
19825         * gst/gstscheduler.h:
19826         * gst/gststructure.c: (gst_structure_get_type),
19827         (gst_structure_copy_conditional):
19828         * gst/gststructure.h:
19829         * gst/gsttaginterface.h:
19830         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19831         (gst_task_init), (gst_task_dispose), (gst_task_create),
19832         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19833         (gst_task_pause):
19834         * gst/gsttask.h:
19835         * gst/gstthread.c:
19836         * gst/gstthread.h:
19837         * gst/gsttypes.h:
19838         * gst/schedulers/Makefile.am:
19839         * gst/schedulers/cothreads_compat.h:
19840         * gst/schedulers/entryscheduler.c:
19841         * gst/schedulers/faircothreads.c:
19842         * gst/schedulers/faircothreads.h:
19843         * gst/schedulers/fairscheduler.c:
19844         * gst/schedulers/gstbasicscheduler.c:
19845         * gst/schedulers/gstoptimalscheduler.c:
19846         * gst/schedulers/gthread-cothreads.h:
19847         * gst/schedulers/threadscheduler.c:
19848         (gst_thread_scheduler_task_get_type),
19849         (gst_thread_scheduler_task_class_init),
19850         (gst_thread_scheduler_task_init),
19851         (gst_thread_scheduler_task_start),
19852         (gst_thread_scheduler_task_stop),
19853         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19854         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19855         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19856         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19857         (plugin_init):
19858         * libs/gst/Makefile.am:
19859         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19860         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19861         (gst_file_pad_parent_set):
19862         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19863         (gst_dp_event_from_packet):
19864         * tests/complexity.c: (main):
19865         * tests/mass_elements.c: (main):
19866         * testsuite/states/locked.c: (message_received), (main):
19867         * testsuite/states/parent.c: (main):
19868         * tools/gst-inspect.c: (print_element_flag_info),
19869         (print_implementation_info), (print_pad_info):
19870         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19871         (main):
19872         * tools/gst-md5sum.c: (event_loop), (main):
19873         * tools/gst-typefind.c: (main):
19874         * tools/gst-xmlinspect.c: (print_element_info):
19875         Next big merge.
19876         Added GstBus for mainloop integration.
19877         Added GstMessage for sending notifications on the bus.
19878         Added GstTask as an abstraction for pipeline entry points.
19879         Removed GstThread.
19880         Removed Schedulers.
19881         Simplified GstQueue for multithreaded core.
19882         Made _link threadsafe, removed old capsnego.
19883         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19884         Added pad blocking functions.
19885         Reworked scheduling functions in GstPad to prepare for
19886         scheduling updates soon.
19887         Moved events out of data stream.
19888         Simplified GstEvent types.
19889         Added return values to push/pull.
19890         Removed clocking from GstElement.
19891         Added prototypes for state change function for next merge.
19892         Removed iterate from bins and state change management.
19893         Fixed some elements, disabled others for now.
19894         Fixed -inspect and -launch.
19895         Added check for GstBus.
19896
19897 2005-03-10  Wim Taymans  <wim@fluendo.com>
19898
19899         * docs/design/part-MT-refcounting.txt:
19900         * docs/design/part-clocks.txt:
19901         * docs/design/part-gstelement.txt:
19902         * docs/design/part-gstobject.txt:
19903         * docs/design/part-standards.txt:
19904         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19905         (gst_bin_remove_func), (gst_bin_remove):
19906         * gst/gstbin.h:
19907         * gst/gstbuffer.c:
19908         * gst/gstcaps.h:
19909         * testsuite/clock/clock1.c: (main):
19910         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19911         (main):
19912         * testsuite/dlopen/loadgst.c: (do_test):
19913         * testsuite/refcounting/bin.c: (add_remove_test1),
19914         (add_remove_test2), (main):
19915         * testsuite/refcounting/element.c: (main):
19916         * testsuite/refcounting/element_pad.c: (main):
19917         * testsuite/refcounting/pad.c: (main):
19918         * tools/gst-launch.c: (sigint_handler_sighandler):
19919         * tools/gst-typefind.c: (main):
19920         Doc updates.
19921         Added doc about clock.
19922         removed gst_bin_iterate_recurse_up(), marked methods
19923         for removal.
19924         Fix more testsuites.
19925
19926 2005-03-09  Wim Taymans  <wim@fluendo.com>
19927
19928         * gst/gstpad.c: (gst_pad_get_direction),
19929         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19930         (gst_pad_collect_valist):
19931         * testsuite/bins/interface.c: (main):
19932         * testsuite/caps/audioscale.c: (test_caps):
19933         * testsuite/caps/caps.c: (test1), (test2), (test3):
19934         * testsuite/caps/deserialize.c: (main):
19935         * testsuite/caps/enumcaps.c: (main):
19936         * testsuite/caps/filtercaps.c: (main):
19937         * testsuite/caps/intersect2.c: (main):
19938         * testsuite/caps/random.c: (main):
19939         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19940         * testsuite/caps/sets.c: (check_caps):
19941         * testsuite/caps/simplify.c: (check_caps), (main):
19942         * testsuite/caps/subtract.c: (check_caps):
19943         Fix _pad_get_direction wrt ghostpads.
19944         Fix caps testsuite.
19945
19946 2005-03-09  Wim Taymans  <wim@fluendo.com>
19947
19948         * check/Makefile.am:
19949         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19950         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19951         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19952         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19953         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19954         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19955         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19956         (bin_element_is_sink), (gst_bin_iterate_sinks),
19957         (gst_bin_iterate_all_by_interface):
19958         * gst/gstbin.h:
19959         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19960         (gst_element_change_state), (gst_element_dispose),
19961         (gst_element_finalize), (gst_element_set_loop_function):
19962         * gst/gstelement.h:
19963         * gst/gstiterator.c: (find_custom_fold_func):
19964         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19965         (gst_pad_collectv), (gst_pad_collect_valist),
19966         (gst_pad_template_new):
19967         * gst/gstpipeline.c: (gst_pipeline_class_init),
19968         (gst_pipeline_dispose), (gst_pipeline_set_property),
19969         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19970         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19971         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19972         * gst/gstutils.h:
19973         * gst/schedulers/entryscheduler.c:
19974         * gst/schedulers/gstbasicscheduler.c:
19975         (gst_basic_scheduler_cothreaded_chain),
19976         (gst_basic_scheduler_chain_add_element):
19977         * testsuite/bins/interface.c: (main):
19978         Added GstBin test.
19979         Added GstSystemClock test.
19980         Implemented clock distribution code in GstBin.
19981         Implemented iterate sinks method for future use.
19982         Rearranged gstelement.h
19983         Fix GstIterator comparison bug.
19984         Moved some code to GstPipeline, mostly clocking related.
19985
19986 2005-03-09  Wim Taymans  <wim@fluendo.com>
19987
19988         * configure.ac:
19989         * gst/gst_private.h:
19990         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19991         (gst_bin_remove_func), (gst_bin_remove),
19992         (gst_bin_get_by_name_recurse_up):
19993         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19994         (gst_clock_id_compare_func), (gst_clock_id_wait),
19995         (gst_clock_id_wait_async), (gst_clock_init),
19996         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19997         * gst/gstelement.h:
19998         * gst/gstinfo.c: (_gst_debug_init):
19999         * gst/gstobject.h:
20000         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20001         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20002         * gst/gstpad.h:
20003         Bump version number, we're now 0.9.0
20004         Add future debugging category.
20005         Fix NULL _unref() in _get_by_name_recurse_up
20006         Rearrange gstpad.h.
20007         Update some docs.
20008
20009 2005-03-08  Wim Taymans  <wim@fluendo.com>
20010
20011         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20012         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20013         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20014         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20015         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20016         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20017         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20018         * gst/elements/gstidentity.c: (gst_identity_class_init):
20019         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20020         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20021         * gst/elements/gstshaper.c: (gst_shaper_class_init):
20022         * gst/elements/gststatistics.c: (gst_statistics_class_init):
20023         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20024         (gst_tee_link):
20025         * gst/gstelement.c: (gst_element_class_init),
20026         (gst_element_base_class_init), (gst_element_init),
20027         (gst_element_get_random_pad), (gst_element_wait_state_change),
20028         (gst_element_change_state), (gst_element_dispose),
20029         (gst_element_finalize), (gst_element_set_loop_function):
20030         * gst/gstelement.h:
20031         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20032         * gst/gstthread.c: (gst_thread_class_init),
20033         (gst_thread_release_children_locks), (gst_thread_change_state):
20034         * gst/schedulers/gstbasicscheduler.c:
20035         (gst_basic_scheduler_loopfunc_wrapper),
20036         (gst_basic_scheduler_chain_wrapper),
20037         (gst_basic_scheduler_src_wrapper),
20038         (gst_basic_scheduler_remove_element):
20039         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20040         Remove threadsafe properties. Fix elements because GObject
20041         complains when installing a property before declaring a
20042         set/get_property handler.
20043         Rearrange gstelement.h file, use STATE macros for state locks.
20044         Free mutexes in the finalize method instead of dispose.
20045
20046 2005-03-08  Wim Taymans  <wim@fluendo.com>
20047
20048         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20049         * gst/gstthread.c: (gst_thread_release_children_locks):
20050         Added parentage check.
20051         Fix build og GstThread again.
20052
20053 2005-03-08  Wim Taymans  <wim@fluendo.com>
20054
20055         * docs/design/part-MT-refcounting.txt:
20056         * docs/design/part-conventions.txt:
20057         * docs/design/part-gstobject.txt:
20058         * docs/design/part-relations.txt:
20059         * docs/design/part-standards.txt:
20060         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20061         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20062         (gst_bin_get_by_name), (gst_bin_get_by_interface),
20063         (gst_bin_iterate_all_by_interface):
20064         * gst/gstbuffer.h:
20065         * gst/gstclock.h:
20066         * gst/gstelement.c: (gst_element_class_init),
20067         (gst_element_change_state), (gst_element_set_loop_function):
20068         * gst/gstelement.h:
20069         * gst/gstiterator.c:
20070         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20071         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20072         (gst_object_dispatch_properties_changed), (gst_object_set_name),
20073         (gst_object_set_parent), (gst_object_unparent),
20074         (gst_object_check_uniqueness):
20075         * gst/gstobject.h:
20076         Docs updates, clean up some headers.
20077
20078 2005-03-07  Wim Taymans  <wim@fluendo.com>
20079
20080         * check/.cvsignore:
20081         * check/Makefile.am:
20082         * check/gst-libs/.cvsignore:
20083         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20084         * check/gst/.cvsignore:
20085         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20086         (START_TEST), (gstbus_suite), (main):
20087         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20088         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20089         (gst_data_suite), (main):
20090         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20091         (add_fold_func), (gstiterator_suite), (main):
20092         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20093         (thread_name_object), (thread_name_object_default),
20094         (gst_object_name_compare), (gst_object_suite), (main):
20095         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20096         (gst_pad_suite), (main):
20097         * check/gstcheck.c: (gst_check_log_message_func),
20098         (gst_check_log_critical_func), (gst_check_init):
20099         * check/gstcheck.h:
20100         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20101         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20102         Added checks.
20103
20104 2005-03-07  Wim Taymans  <wim@fluendo.com>
20105
20106         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20107         (gst_list_iterator_next), (gst_list_iterator_resync),
20108         (gst_list_iterator_free), (gst_iterator_new_list),
20109         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20110         (gst_iterator_free), (gst_iterator_push), (filter_next),
20111         (filter_resync), (filter_uninit), (filter_free),
20112         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20113         (gst_iterator_foreach), (find_custom_fold_func),
20114         (gst_iterator_find_custom):
20115         * gst/gstiterator.h:
20116         Added missing files.
20117
20118 2005-03-07  Wim Taymans  <wim@fluendo.com>
20119
20120         * Makefile.am:
20121         * configure.ac:
20122         * docs/design/part-MT-refcounting.txt:
20123         * docs/design/part-conventions.txt:
20124         * docs/design/part-gstobject.txt:
20125         * docs/design/part-relations.txt:
20126         * examples/mixer/mixer.c: (main):
20127         * examples/thread/thread.c: (eos), (main):
20128         * gst/Makefile.am:
20129         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20130         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20131         (gst_spider_plug_from_srcpad):
20132         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20133         (gst_spider_identity_change_state),
20134         (gst_spider_identity_sink_loop_type_finding):
20135         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20136         * gst/elements/gstidentity.c: (gst_identity_init):
20137         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20138         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20139         * gst/elements/gsttypefindelement.c: (free_entry):
20140         * gst/gst.c:
20141         * gst/gst.h:
20142         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20143         (gst_bin_set_clock_func), (gst_bin_auto_clock),
20144         (gst_bin_set_index), (gst_bin_set_element_sched),
20145         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20146         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20147         (gst_bin_iterate_elements), (iterate_child_recurse),
20148         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20149         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20150         (compare_interface), (gst_bin_get_by_interface),
20151         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20152         * gst/gstbin.h:
20153         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20154         (gst_buffer_default_free), (gst_buffer_default_copy),
20155         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20156         (gst_buffer_create_sub):
20157         * gst/gstbuffer.h:
20158         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20159         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20160         (gst_caps_unref), (gst_static_caps_get),
20161         (gst_caps_remove_and_get_structure), (gst_caps_append),
20162         (gst_caps_append_structure), (gst_caps_remove_structure),
20163         (gst_caps_copy_nth), (gst_caps_set_simple),
20164         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20165         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20166         (gst_caps_structure_intersect_field), (gst_caps_intersect),
20167         (gst_caps_structure_subtract_field), (gst_caps_subtract),
20168         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20169         (gst_caps_structure_figure_out_union),
20170         (gst_caps_switch_structures), (gst_caps_do_simplify),
20171         (gst_caps_replace), (gst_caps_from_string),
20172         (gst_caps_copy_conditional):
20173         * gst/gstcaps.h:
20174         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20175         (_gst_clock_id_free), (gst_clock_id_unref),
20176         (gst_clock_id_compare_func), (gst_clock_id_wait),
20177         (gst_clock_id_wait_async), (gst_clock_class_init),
20178         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20179         (gst_clock_get_time), (gst_clock_set_time_adjust),
20180         (gst_clock_set_property), (gst_clock_get_property):
20181         * gst/gstclock.h:
20182         * gst/gstcompat.h:
20183         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20184         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20185         * gst/gstdata.h:
20186         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20187         (gst_element_requires_clock), (gst_element_provides_clock),
20188         (gst_element_set_clock), (gst_element_clock_wait),
20189         (gst_element_wait), (gst_element_set_time_delay),
20190         (gst_element_is_indexable), (gst_element_add_pad),
20191         (gst_element_add_ghost_pad), (gst_element_remove_pad),
20192         (pad_compare_name), (gst_element_get_static_pad),
20193         (gst_element_request_pad), (gst_element_get_request_pad),
20194         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20195         (gst_element_class_get_pad_template_list),
20196         (gst_element_class_get_pad_template), (gst_element_error_func),
20197         (gst_element_get_random_pad), (gst_element_get_event_masks),
20198         (gst_element_send_event), (gst_element_seek),
20199         (gst_element_get_query_types), (gst_element_query),
20200         (gst_element_get_formats), (gst_element_convert),
20201         (gst_element_is_locked_state), (gst_element_set_locked_state),
20202         (gst_element_sync_state_with_parent), (gst_element_change_state),
20203         (gst_element_finalize), (gst_element_yield),
20204         (gst_element_interrupt), (gst_element_set_scheduler),
20205         (gst_element_get_scheduler), (gst_element_set_loop_function):
20206         * gst/gstelement.h:
20207         * gst/gstevent.h:
20208         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20209         (gst_format_get_by_nick), (gst_format_get_details),
20210         (gst_format_iterate_definitions):
20211         * gst/gstformat.h:
20212         * gst/gstindex.c: (gst_index_gtype_resolver):
20213         * gst/gstinfo.c:
20214         * gst/gstinfo.h:
20215         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20216         (gst_mem_chunk_free):
20217         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20218         (gst_object_ref), (gst_object_unref), (gst_object_sink),
20219         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20220         (gst_object_dispatch_properties_changed),
20221         (gst_object_set_name_default), (gst_object_set_name),
20222         (gst_object_get_name), (gst_object_set_name_prefix),
20223         (gst_object_get_name_prefix), (gst_object_set_parent),
20224         (gst_object_get_parent), (gst_object_unparent),
20225         (gst_object_check_uniqueness), (gst_object_save_thyself),
20226         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20227         (gst_object_set_property), (gst_object_get_property),
20228         (gst_object_get_path_string):
20229         * gst/gstobject.h:
20230         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20231         (gst_real_pad_init), (gst_real_pad_get_property),
20232         (gst_pad_custom_new), (gst_pad_get_direction),
20233         (gst_pad_set_active), (gst_pad_is_active),
20234         (gst_pad_set_event_function), (gst_pad_is_linked),
20235         (gst_pad_link_free), (gst_pad_link_intersect),
20236         (gst_pad_link_fixate), (gst_pad_set_caps),
20237         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20238         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20239         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20240         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20241         (gst_pad_get_caps), (gst_pad_peer_get_caps),
20242         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20243         (gst_pad_realize), (gst_pad_get_allowed_caps),
20244         (gst_real_pad_dispose), (gst_real_pad_finalize),
20245         (gst_pad_collectv), (gst_pad_collect_valist),
20246         (gst_pad_template_dispose), (gst_pad_template_new),
20247         (gst_pad_get_internal_links):
20248         * gst/gstpad.h:
20249         * gst/gstpipeline.c: (gst_pipeline_dispose),
20250         (gst_pipeline_change_state):
20251         * gst/gstpipeline.h:
20252         * gst/gstplugin.c:
20253         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20254         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20255         * gst/gstpluginfeature.h:
20256         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20257         * gst/gstquery.c: (_gst_query_type_initialize),
20258         (gst_query_type_register), (gst_query_type_get_by_nick),
20259         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20260         * gst/gstquery.h:
20261         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20262         * gst/gstscheduler.c: (gst_scheduler_add_element),
20263         (gst_scheduler_factory_create):
20264         * gst/gststructure.c: (gst_structure_set_parent_refcount),
20265         (gst_structure_free), (gst_structure_set_name),
20266         (gst_structure_id_set_value), (gst_structure_set_value),
20267         (gst_structure_set_valist), (gst_structure_remove_field),
20268         (gst_structure_remove_fields),
20269         (gst_structure_remove_fields_valist),
20270         (gst_structure_remove_all_fields), (gst_structure_foreach),
20271         (gst_structure_map_in_place),
20272         (gst_caps_structure_fixate_field_nearest_int),
20273         (gst_caps_structure_fixate_field_nearest_double):
20274         * gst/gststructure.h:
20275         * gst/gstsystemclock.c: (gst_system_clock_class_init),
20276         (gst_system_clock_init), (gst_system_clock_dispose),
20277         (gst_system_clock_async_thread),
20278         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20279         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20280         * gst/gstsystemclock.h:
20281         * gst/gsttag.c: (gst_tag_list_add_value_internal),
20282         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20283         * gst/gsttaginterface.c:
20284         * gst/gstthread.c: (gst_thread_dispose),
20285         (gst_thread_release_children_locks), (gst_thread_change_state),
20286         (gst_thread_main_loop):
20287         * gst/gsttrashstack.h:
20288         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20289         * gst/gsttypes.h:
20290         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20291         (gst_element_request_pad), (gst_element_get_pad_from_template),
20292         (gst_element_request_compatible_pad),
20293         (gst_element_get_compatible_pad_filtered),
20294         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20295         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20296         (gst_element_link_many), (gst_element_link),
20297         (gst_element_link_pads), (gst_element_unlink_pads),
20298         (gst_element_unlink_many), (gst_element_unlink),
20299         (gst_pad_can_link_filtered), (gst_pad_can_link),
20300         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20301         (gst_object_default_error), (gst_bin_add_many),
20302         (gst_bin_remove_many), (gst_element_populate_std_props),
20303         (gst_element_class_install_std_props), (gst_buffer_merge),
20304         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20305         (link_fold_func), (gst_pad_proxy_setcaps):
20306         * gst/gstutils.h:
20307         * gst/gstvalue.c: (gst_value_deserialize_string):
20308         * gst/parse/grammar.y:
20309         * gst/schedulers/gstbasicscheduler.c:
20310         (gst_basic_scheduler_cothreaded_chain),
20311         (gst_basic_scheduler_chain_recursive_add),
20312         (gst_basic_scheduler_pad_link):
20313         * gst/schedulers/gstoptimalscheduler.c:
20314         (get_group_schedule_function),
20315         (gst_opt_scheduler_state_transition),
20316         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20317         * libs/gst/bytestream/bytestream.c:
20318         * libs/gst/dataprotocol/dataprotocol.c:
20319         (gst_dp_header_from_buffer):
20320         * po/nb.po:
20321         * po/ru.po:
20322         * tests/threadstate/threadstate2.c: (eos):
20323         * tools/gst-compprep.c: (main):
20324         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20325         (print_pad_info), (print_children_info):
20326         * tools/gst-launch.c: (idle_func), (main):
20327         * tools/gst-md5sum.c: (idle_func), (main):
20328         * tools/gst-xmlinspect.c: (print_element_info):
20329         First THREADED backport attempt, focusing on adding locks and
20330         making sure the API is threadsafe. Needs more work. More docs
20331         follow this week.
20332
20333 2005-02-24  Andy Wingo  <wingo@pobox.com>
20334
20335         * tests/bench-complexity.scm:
20336         * tests/complexity.gnuplot: New files, good for running complexity
20337         benchmarks.
20338
20339         * tests/Makefile.am:
20340         * tests/complexity.c: New test, sets up N elements, at each level
20341         teeing into M streams per element. Eeeenteresting.
20342
20343         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20344         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20345         running bench-mass_elements.scm.
20346
20347         * tests/bench-mass_elements.scm: New script, runs mass_elements
20348         for various numbers of identities, outputting the results to a
20349         file. Requires guile 1.6. Just for testing.
20350
20351 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20352
20353         * gst/schedulers/fairscheduler.c:
20354           compile with debug disabled
20355
20356 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20357
20358         * configure.ac:
20359           hunting season on 0.9 is now OPEN