gst/gstelement.h: Add casts to the correct return type to state <=> state transition...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * gst/gstelement.h:
4           Add casts to the correct return type to state <=> state transition
5           macros.
6
7 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
8
9         * docs/design/part-live-source.txt:
10           describe howto handle latency
11         
12         * docs/random/ensonic/profiling.txt:
13           more ideas
14
15         * tools/gst-plot-timeline.py:
16           fix log parsing for solaris, remove unused function
17
18 2006-10-16  Wim Taymans  <wim@fluendo.com>
19
20         * docs/design/part-trickmodes.txt:
21         * gst/gstevent.c:
22         Update some docs regarding reverse playback.
23
24 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
25
26         Patch by: Marcus Granado  <mrc dot gran at gmail com>
27
28         * win32/vs8/grammar.vcproj:
29           Error out with a warning if glib-genmarshal.exe is not in path,
30           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
31
32 2006-10-13  Wim Taymans  <wim@fluendo.com>
33
34         * gst/gstsegment.c: (gst_segment_set_seek):
35         When seeking to stop -1, set last_stop (current position) to the
36         duration of the segment.
37
38 2006-10-13  Wim Taymans  <wim@fluendo.com>
39
40         * gst/gstelement.h:
41         Clarify _NO_PREROLL a bit more.
42
43         * gst/gstevent.c:
44         Fix docs.
45
46         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
47         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
48         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
49         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
50         due to wrong locking order. Fixes #361769.
51         Remove some redundant/misplaced checks in pad_block.
52
53         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
54         For negative rates, count backwards from the duration.
55
56 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
57
58         * gst/gsterror.c: (_gst_library_errors_init):
59           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
60           up with something better).
61
62 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
63
64         * win32/vs6/libgstreamer.dsp:
65         * win32/vs7/libgstreamer.vcproj:
66         * win32/vs8/libgstreamer.vcproj:
67           Don't reference glib-compat.c which is currently not used and not
68           disted; add gstquark.c which was recently added. Fixes #361730.
69
70 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
71
72         * win32/common/libgstbase.def:
73         * win32/common/libgstcontroller.def:
74         * win32/common/libgstreamer.def:
75           Add gst_caps_merge() and a bunch of other recently-added functions.
76           Fixes #361732.
77
78 2006-10-11  Wim Taymans  <wim@fluendo.com>
79
80         * docs/plugins/gstreamer-plugins.args:
81         * docs/plugins/inspect/plugin-coreelements.xml:
82         * docs/plugins/inspect/plugin-coreindexers.xml:
83         Update element args.
84
85         * gst/gstsystemclock.c:
86         Small comment update.
87
88         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
89         (gst_tee_request_new_pad), (gst_tee_release_pad),
90         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
91         (gst_tee_sink_activate_pull):
92         * plugins/elements/gsttee.h:
93         Some tee loving:
94         Add default property defines.
95         Implement release pad function.
96         Give properties better blubs etc.
97         Activate pads before adding them to a running tee.
98         Do simple buffer_alloc on the first requested pad.
99         Post error when activation fails.
100
101 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
102
103         * gst/gst.c: (ensure_current_registry_forking):
104           Check return value of write() to make compiler happy.
105
106 2006-10-11  Wim Taymans  <wim@fluendo.com>
107
108         Patch by: Sjoerd Simons <sjoerd at luon dot net>
109
110         * plugins/elements/gstqueue.c: (gst_queue_chain):
111         Recheck queue filledness after signalling the overrun when we're about
112         to leak downstream because we released the lock when emitting the signal
113         and the queue could be empty again. Fixes #352345.
114
115 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
116
117         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
118           Fix refcounting here too, just like we did for _new_valist() a few
119           days ago (#357180) (thanks to René Stadler). Also remove all those
120           'Since: 0.9' from the gtk-doc blobs.
121
122         * tests/check/libs/controller.c: (controller_refcount_new_list),
123         (gst_controller_suite):
124           Unit test for the above.
125
126 2006-10-10  Wim Taymans  <wim@fluendo.com>
127
128         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
129
130         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
131         (gst_pad_save_thyself):
132         Update some docs.
133         Write pad direction in XML output. Fixes #345496.
134
135 2006-10-10  Wim Taymans  <wim@fluendo.com>
136
137         Patch by: René Stadler <mail at renestadler dot de>
138
139         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
140         (gst_controller_new_list), (_gst_controller_dispose),
141         (_gst_controller_finalize), (_gst_controller_class_init):
142         Take ref to controlled object so that it cannot disappear. 
143         Fixes #357432.
144
145 2006-10-10  Wim Taymans  <wim@fluendo.com>
146
147         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
148         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
149         (gst_check_teardown_sink_pad):
150         Activate/deactivate pads in setup/teardown respectively.
151
152 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
153
154         Patch by: Josep Torre Valles <josep@fluendo.com>
155
156         * gst/Makefile.am:
157         Cast values when making gstenumtypes.h.  This pacifies Forte
158         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
159         in the enumeration.
160
161 2006-10-09  Wim Taymans  <wim@fluendo.com>
162
163         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
164         Rename some more @cur to @start to fix docs. 
165
166         * gst/gstsegment.c: (gst_segment_set_seek):
167         Fix typo.
168         time and start must always stay in sync as defined in design doc.
169
170         * gst/gsttaglist.c: (gst_tag_list_is_empty):
171         Rename param to fix docs.
172
173         * tests/check/gst/gstsegment.c: (GST_START_TEST):
174         Check that start and time are in sync.
175
176         * tests/check/pipelines/parse-launch.c:
177         (gst_parse_test_element_change_state):
178         Activate pad before adding to the element.
179
180 2006-10-09  Wim Taymans  <wim@fluendo.com>
181
182         * docs/design/part-qos.txt:
183         Fix typo.
184
185         * gst/gstevent.c:
186         * gst/gstevent.h:
187         Update seek event docs regarding negative rates.
188         Rename @cur to @start. 
189
190         * gst/gstsegment.c: (gst_segment_set_seek):
191         * gst/gstsegment.h:
192         Update set_seek docs regarding negative rates.
193         Correctly update last_stop to @stop when dealing with negative
194         rates.
195         Rename @cur to @start. 
196
197         * tests/check/gst/gstpad.c: (GST_START_TEST):
198         Activate pads before trying to use them.
199
200         * tests/check/gst/gstsegment.c: (GST_START_TEST),
201         (gst_segment_suite):
202         Add simple check for segments and negative rates.
203
204 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
205
206         * gst/gsttaglist.c: (gst_tag_list_is_empty):
207         * gst/gsttaglist.h:
208         * docs/gst/gstreamer-sections.txt:
209           API: add gst_tag_list_is_empty() (#360467).
210
211         * tests/check/gst/gsttag.c: (GST_START_TEST):
212           And a test case.
213
214 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
215
216         * gst/gstmessage.h:
217         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
218         a value that doesn't fit on enumeration.
219
220 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
221
222         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
223         Remove local debugging system and use Gstreamer's instead.
224
225 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
226
227         Patch by: Josep Torre Valles <josep@fluendo.com>
228
229         * common/m4/gst-error.m4:
230         Disable warning of statement not reached on Forte.
231         * gst/gstmessage.h:
232         Fix warning on Forte (value doesn't fit on enumeration).
233         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
234         Fix warning on Forte (value doesn't fit on enumeration).
235         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
236         DEBUG macro says it takes minimum of 2 args and so Forte
237         complains about the use with just 1 arg.
238         * plugins/elements/gstfdsink.c:
239         * plugins/elements/gstfdsrc.c:
240         * plugins/elements/gstfilesink.c:
241         * plugins/elements/gstfilesrc.c:
242         Use correct return type for the uri handler implementations.
243
244         All these fix warnings in Forte.  Fixes bug #360860.
245
246 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
247
248         * gst/gstelement.h:
249           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
250           format string, so don't use G_GNUC_PRINTF for those versions.
251
252 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
253
254         * gst/gsttaglist.c: (gst_is_tag_list):
255         * gst/gsttaglist.h:
256           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
257
258         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
259           Small test for the above.
260
261 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
262
263         * gst/gsttaglist.h:
264           Less tabs, more spaces.
265
266 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
267
268         * gst/gstinfo.h:
269           Those two function declarations do actually belong there, revert
270           commit from yesterday that turned them intro macros.
271
272 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
273
274         Patch by: Josep Torre Valles <josep@fluendo.com>
275
276         * gst/gst.c: (gst_init_get_option_group):
277         Fix empty declaration and type mismatch.
278         * gst/gstbin.c: (gst_bin_change_state_func):
279         Fix type mismatch.
280         * gst/gstelement.c: (gst_element_continue_state),
281         (gst_element_set_state_func), (gst_element_change_state),
282         (gst_element_change_state_func):
283         Fix type mismatches.
284         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
285         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
286         Cast as appropriate.
287         * gst/gstobject.c: (gst_class_signal_connect):
288         Cast as appropriate.  The function pointer parameter really
289         has the wrong type but would break API if we change it.
290         * gst/gstquery.c:
291         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
292         order of including string.h.
293         * gst/gstutils.c: (gst_element_state_get_name):
294         Remove unreachable line.
295         * gst/gstxml.c: (gst_xml_parse_doc):
296         Fix type mismatch.
297         All these caught by Forte.
298
299 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
300
301         Patch by: Josep Torre Valles <josep@fluendo.com>
302
303         * common/m4/gst-error.m4:
304         Fixed bug #360151.
305         We need to disable warnings on Forte for empty declarations
306         due to gst-indent adding ;s to lines that just use macros
307         where the macro actually doesn't need a ; at end to end
308         statement.
309
310 2006-10-06  Wim Taymans  <wim@fluendo.com>
311
312         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
313         (gst_file_sink_close_file), (gst_file_sink_event),
314         (gst_file_sink_render):
315         Add some FIXME for the NEWSEGMENT handling.
316
317 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
318
319         * gst/parse/grammar.y:
320         Remove static function gst_parse_element_lock as all it does
321         is return.  Looks like cruft from 0.8.
322
323 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
324
325         Patch by: Josep Torre Valles <josep@fluendo.com>
326
327         * common/m4/gst-error.m4:
328         * configure.ac:
329         * libs/gst/net/Makefile.am:
330         Fix a compilation issue with Forte on Solaris.  inet_aton is in
331         libresolv.
332
333 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
334
335         * gst/gstpad.c: (pre_activate):
336         * gst/gstregistry.c: (gst_registry_scan_path_level):
337         * gst/gstregistryxml.c: (load_plugin):
338         * libs/gst/controller/gstcontroller.c:
339         (gst_controlled_property_set_interpolation_mode):
340         * libs/gst/dataprotocol/dataprotocol.c:
341         (gst_dp_packet_from_event_1_0):
342         * libs/gst/net/gstnetclientclock.c:
343         (gst_net_client_clock_observe_times):
344         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
345           Printf fixes.
346
347 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
348
349         * configure.ac:
350         * docs/gst/gstreamer-sections.txt:
351         * gst/gstconfig.h.in:
352         * gst/gstelement.h:
353         * gst/gstinfo.h:
354           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
355           whether we can use G_GNUC_PRINTF in other header files and at
356           least check the printf format/arguments of debug messages and
357           GST_ELEMENT_ERROR messages when the printf extension is not
358           being used.
359           Replace more tabs with spaces in gstinfo.h and remove two spurious
360           function declarations in GST_DISABLE_DEBUG part with macros.
361
362 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
363
364         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
365           More docs for the sync-message signal (mention that it is not
366           emitted by default); log message structures of messages posted on
367           the bus as well.
368
369 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
370
371         * gst/gst.c: (ensure_current_registry_forking):
372         Use a pipe pair to receive status results from the forked child, and
373         ignore the result from waitpid. Fixes #355499
374
375 2006-10-02  Wim Taymans  <wim@fluendo.com>
376
377         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
378         (gst_ghost_pad_suite):
379         Fix leak in check.
380
381 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
382
383         * gst/gstpad.c:
384           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
385
386 2006-10-02  Edward Hervey  <edward@fluendo.com>
387
388         * docs/design/part-block.txt:
389         Further explain the use of flushing on blocked pads.
390         * docs/gst/gstreamer-sections.txt:
391         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
392         (gst_pad_push_event):
393         * gst/gstpad.h:
394         Added new GstPadFlag : GST_PAD_BLOCKING.
395         Adds the notion of pads really blocking, which enables to properly
396         handle FLUSH_START/FLUSH_STOP events on blocked pads.
397         Fixes #358999
398         API: gst_pad_is_blocking()
399         API: GST_PAD_IS_BLOCKING() macro
400         API: GST_PAD_BLOCKING GstPadFlag
401         
402 2006-10-02  Wim Taymans  <wim@fluendo.com>
403
404         Patch by: mrcgran <mrc.gran at gmail dot com>
405
406         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
407         Filter the proxied caps against the padtemplate if we have one.
408
409         * gst/gstquery.c: (gst_query_new_segment):
410         Add include for gstinfo.h so that compilation with
411         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
412
413 2006-10-02  Wim Taymans  <wim@fluendo.com>
414
415         Patch by: Alessandro Decina  <alessandro at nnva org>
416
417         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
418         (gst_file_sink_set_location), (gst_file_sink_open_file),
419         (gst_file_sink_close_file), (gst_file_sink_event),
420         (gst_file_sink_render):
421         Set file to NULL when closing filesink so that we can set a new filename
422         in READY. Fixes #358613.
423
424 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
425
426         Patch by: Alessandro Decina  <alessandro at nnva org>
427
428         * gst/gstevent.c: (_gst_event_copy):
429           Fix gst_mini_object_make_writable() and gst_event_copy() for events
430           with event structures by setting the parent refcount address of the
431           copied structure to the address of the refcount member of the newly
432           copied event rather than the address of the refcount member of the
433           original event. Fixes #358737.
434
435         * tests/check/gst/gstevent.c: (GST_START_TEST):
436           Unit test for the above.
437
438 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
439
440         * docs/design/Makefile.am:
441           Dist some more files.
442
443 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
444
445         * tests/check/libs/controller.c: (GST_START_TEST),
446         (gst_controller_suite):
447           Add test for the previous fix; add some more tests
448           for correct refcounting behaviour; fix a few leaks
449           in test cases; call gst_controller_init() at start
450           of all tests.
451
452 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
453
454         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
455         (gst_controller_set_from_list):
456           Don't g_return_val_if_fail() on timed values with invalid timestamps
457           inside a critical section without unlocking the mutex. Spotted by
458           René Stadler. (#357617)
459           Also, fix up refcounting properly: when returning an existing
460           controller, we should increase the reference only once and not
461           once per property and when trying to control a property again
462           we should also increase the refcount.
463
464 2006-09-29  Wim Taymans  <wim@fluendo.com>
465
466         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
467         * libs/gst/net/gstnettimeprovider.c:
468         (gst_net_time_provider_thread):
469         Stop reading commands when EOF as well.
470
471         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
472         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
473         * plugins/elements/gstidentity.c: (gst_identity_class_init):
474         Unify description of the dump property.
475
476 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
477
478         * tests/examples/manual/.cvsignore:
479         OK, so it's actually cvsignore that needs changing. Stop laughing.
480
481 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
482
483         * tests/examples/manual/Makefile.am:
484         Gah, declare vars *before* using them
485
486 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
487
488         * gst/gst.c: (init_pre), (scan_and_update_registry),
489         (ensure_current_registry_nonforking),
490         (ensure_current_registry_forking), (ensure_current_registry),
491         (init_post), (gst_debug_help), (gst_deinit):
492         * gst/gst_private.h:
493         * gst/gstregistry.c: (gst_registry_finalize),
494         (gst_registry_remove_features_for_plugin_unlocked),
495         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
496         (gst_registry_scan_path),
497         (_priv_gst_registry_remove_cache_plugins),
498         (_priv_gst_registry_cleanup):
499         * gst/gstregistry.h:
500         Re-commit the registry changes, along with an extra fix:
501           When a cached plugin is encountered at a different file path,
502           update the stored path in the registry cache so that the parent
503           process knows where it actually is now when it re-reads the registry
504           cache. Fixes the thing that broke distcheck with the previous commit.
505
506         * tests/check/Makefile.am:
507         Clean up files named 'core' too when running make clean.
508
509         * tests/examples/manual/Makefile.am:
510         Set up a registry path for running these tests, and clean it properly
511         for distcheck.
512
513 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
514
515         * configure.ac:
516         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
517         want gmodule-no-export-2.0.pc instead so that we don't drag in
518         --export-dynamic on every project that links to GStreamer.
519
520         Also, make our export regex only match the start of symbols, rather 
521         than any symbol that contains '_gst' somewhere.
522
523         * libs/gst/check/Makefile.am:
524         The libgstcheck we build does however need export-dynamic, as it
525         produces some symbols that don't match our _gst... style regex.
526         Fixes: #318031
527
528 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
529
530         * gst/gst.c: (init_pre), (scan_and_update_registry),
531         (ensure_current_registry_nonforking),
532         (ensure_current_registry_forking), (ensure_current_registry),
533         (init_post), (gst_debug_help), (gst_deinit):
534         * gst/gst_private.h:
535         * gst/gstregistry.c: (gst_registry_finalize),
536         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
537         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
538         (_gst_registry_cleanup):
539         * gst/gstregistry.h:
540           Revert previous change until I figure out why it breaks distcheck.
541
542 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
543
544         * gst/gst.c: (init_pre), (scan_and_update_registry),
545         (ensure_current_registry_nonforking),
546         (ensure_current_registry_forking), (ensure_current_registry),
547         (init_post), (gst_debug_help), (gst_deinit):
548
549           Make init_pre and init_post take the full complement of GOptionFunc
550           args so they can return useful GErrors. Make the registry updating
551           functions do so.
552
553           Call _priv_gst_registry_remove_cache_plugins after scanning files to
554           ensure that the registry we're about to write out doesn't contain
555           stale information about old-deleted plugin files.
556
557           Make _priv_gst_registry_remove_cache_plugins return a boolean so
558           that deletion of plugin files is considered a registry change.
559
560         * gst/gst_private.h:
561         * gst/gstregistry.c: (gst_registry_finalize),
562         (gst_registry_remove_features_for_plugin_unlocked),
563         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
564         (gst_registry_scan_path),
565         (_priv_gst_registry_remove_cache_plugins),
566         (_priv_gst_registry_cleanup):
567         * gst/gstregistry.h:
568         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
569         by adding _priv prefix, so that they won't appear in the global
570         symbol table. They still do atm though because of #318031. Move the
571         prototypes to gst_private.h
572
573         When removing a plugin, remove all features for that plugin too. 
574         Fixes #340878.
575
576 2006-09-27  Wim Taymans  <wim@fluendo.com>
577
578         * docs/random/moving-plugins:
579         Make it clear that the "compiled-in descriptions" really mean
580         the element details.
581
582         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
583         (gst_base_sink_wait_preroll):
584         Update docs.
585
586         * docs/libs/gstreamer-libs-sections.txt:
587         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
588         (gst_base_src_get_range), (gst_base_src_activate_push):
589         * libs/gst/base/gstbasesrc.h:
590         Added function to block while waiting for PLAYING, this function
591         is used by live sources that block on the clock.
592         API: gst_base_src_wait_playing()
593
594 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
595
596         Patch by: Peter Kjellerstedt <pkj at axis com>
597
598         * Makefile.am:
599           gst-element-check.m4 is generated and should therefore be
600           copied from the build dir rather than the source dir (#357593).
601           'make distcheck' hasn't noticed this because we were disting
602           the file as well, so stop doing that.
603
604 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
605
606         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
607           Add some tests for gst_caps_intersect().
608
609         * tools/gst-launch.c: (event_loop):
610           Print all buffering percentages we get, even the 100% one.
611
612 2006-09-26  Wim Taymans  <wim@fluendo.com>
613
614         * tools/gst-inspect.c: (print_element_properties_info),
615         (print_signal_info):
616         Fix printing of flags to match the look of enums.
617
618 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
619
620         * gst/gstelementfactory.c:
621           Fix typo in docs blurb.
622
623 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
624
625         * gst/gsturi.c: (search_by_entry):
626           Don't assert/crash here if a uri handler doesn't return any
627           supported protocols. The list of protocols could be generated
628           dynamically at runtime or at plugin registration, and an error
629           in the underlying library shouldn't be fatal (#353301).
630
631 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
632
633         * gst/gstinfo.c:
634           Fix warning if HAVE_PRINTF_EXTENSION is undefined
635           (spotted by Peter Kjellerstedt).
636
637 2006-09-23  Wim Taymans  <wim@fluendo.com>
638
639         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
640
641         * libs/gst/base/gstbasesrc.c:
642         (gst_base_src_default_check_get_range), (gst_base_src_start),
643         (gst_base_src_activate_push), (gst_base_src_activate_pull),
644         (gst_base_src_change_state):
645         Match _start/_stop calls in the activate functions. Remove redundant
646         _stop call from the state change function. Fixes #356910.
647         Turn failure DEBUG into ERROR. 
648
649 2006-09-22  Wim Taymans  <wim@fluendo.com>
650
651         * docs/design/part-buffering.txt:
652         * gst/gstmessage.c: (gst_message_new_buffering),
653         (gst_message_parse_buffering):
654         Update docs about buffering.
655
656         * docs/design/part-trickmodes.txt:
657         Fix typo.
658
659 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
660
661         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
662         (gst_controller_new_list):
663           Ref instances when returning them again (fixes #357180)
664
665 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
666
667         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
668           Don't forget to release proxy lock when there's an error.
669
670 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
671
672         * gst/gstcaps.h:
673           Add extra initialisers for Caps things, to fix some plugin warnings
674           when using -Wextra
675
676 2006-09-18  Wim Taymans  <wim@fluendo.com>
677
678         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
679           Also set template on the internal pad so that a getcaps from the 
680           target pad returns the template caps.
681
682 2006-09-18  Wim Taymans  <wim@fluendo.com>
683
684         * gst/gstelement.c: (gst_element_post_message),
685         (gst_element_dispose):
686         Use _DEBUG_OBJECT some more.
687
688         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
689         Avoid typechecks.
690
691         * tools/gst-launch.c: (main):
692         If the toplevel element is not a GstPipeline, it must be put in a
693         pipeline so that a bus and clock is selected.
694
695 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
696
697         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
698           JITTER, RATE, and LATENCY query should be handled by the
699           default case and not by the CONVERT query code.
700
701 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
702
703         * gst/gstformat.c: (gst_format_register):
704           Fix locking order (must take lock before using n_values).
705
706         * gst/gstvalue.c: (gst_value_serialize_enum),
707         (gst_value_deserialize_enum_iter_cmp),
708         (gst_value_deserialize_enum):
709           Fix serialisation/deserialisation of custom registered GstFormats.
710
711         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
712           Unit test for custom format serialisation/deserialisation.
713
714 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
715
716         * docs/pwg/building-boiler.xml:
717         * plugins/elements/gstcapsfilter.c:
718         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
719         section.
720
721 2006-09-16  Edward Hervey  <edward@fluendo.com>
722
723         * libs/gst/base/gstbasetransform.c:
724         (gst_base_transform_buffer_alloc):
725         Check if requested caps are the same as the sinks caps IF
726         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
727         is FALSE.
728         This fixes the renegotiation issues stated in #352827.
729
730 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
731
732         * configure.ac:
733         * docs/manual/advanced-autoplugging.xml:
734         * tests/examples/Makefile.am:
735         * tests/examples/manual/.cvsignore:
736         * tests/examples/manual/Makefile.am:
737         * tests/examples/manual/extract.pl:
738           Extract the manual examples again like we used to do.
739           Fix one of them.
740
741 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
742
743         * win32/common/config.h:
744           update for version
745
746 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
747
748         * gst/gsterror.c:
749           Documents how to receive errors.
750
751 2006-09-15  Wim Taymans  <wim@fluendo.com>
752
753         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
754         (event_loop), (main):
755         Added some comments here and there.
756         Post an application message when an interrupt is caught instead of doing
757         an uncontrolled state change.
758         Clean up the event loop.
759         Handle buffering messages, pause/resume the pipeline.
760         Make shutdown because of an interrupt more reliable.
761
762 2006-09-15  Wim Taymans  <wim@fluendo.com>
763
764         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
765         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
766         (gst_base_sink_preroll_object):
767         Make sure that our internal state is correct when we commit our state
768         asynchronously. This solves a race where a state change to PLAYING
769         could cause the sink to remain blocked in preroll in some situations.
770
771 2006-09-15  Wim Taymans  <wim@fluendo.com>
772
773         * tools/gst-inspect.c: (print_element_properties_info),
774         (print_signal_info):
775         List flags as hex so it's easier to deal with.
776
777 2006-09-15  Wim Taymans  <wim@fluendo.com>
778
779         * docs/libs/gstreamer-libs-sections.txt:
780         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
781         (gst_base_sink_do_sync):
782         * libs/gst/base/gstbasesink.h:
783         Expose logic to wait for preroll so that subclasses such as audiosink
784         can also use this method.
785         API: gst_base_sink_wait_preroll()
786
787 2006-09-15  Wim Taymans  <wim@fluendo.com>
788
789         * gst/gstobject.c: (gst_object_set_parent):
790         * gst/gstpipeline.c: (do_pipeline_seek):
791         Small cleanups in docs and code.
792
793         * gst/gstsegment.c: (gst_segment_clip):
794         * tests/check/gst/gstsegment.c: (GST_START_TEST):
795         if stop == start and start is in the segment, no clipping should be
796         done. Also add a test for this.
797
798 2006-09-15  Wim Taymans  <wim@fluendo.com>
799
800         * docs/design/part-buffering.txt:
801         * docs/gst/gstreamer-sections.txt:
802         * gst/gstmessage.c: (gst_message_new_buffering),
803         (gst_message_parse_buffering):
804         * gst/gstmessage.h:
805         Added methods to create and parse BUFFERING messages.
806         Added preliminary docs about buffering.
807         API: gst_message_new_buffering
808         API: gst_message_parse_buffering
809
810 2006-09-06  Wim Taymans  <wim@fluendo.com>
811
812         * gst/gstbin.c:
813         Update documentation.
814
815         * gst/gstelement.c: (gst_element_class_init),
816         (gst_element_release_request_pad), (gst_element_set_clock),
817         (gst_element_get_index), (gst_element_add_pad),
818         (gst_element_remove_pad), (gst_element_get_random_pad),
819         (gst_element_send_event), (gst_element_get_query_types),
820         (gst_element_query), (gst_element_post_message),
821         (gst_element_message_full), (gst_element_continue_state),
822         (gst_element_lost_state), (gst_element_save_thyself),
823         (gst_element_restore_thyself):
824         Documentation updates.
825         Rename last bit of the new-pad -> pad-added signal rename.
826         Fix the case where an element query would only work if the source
827         pad was linked.
828         Avoid some useless type checking in message handling.
829
830         * gst/gstevent.c:
831         * gst/gstevent.h:
832         * gst/gstutils.c:
833         Documentation updates.
834
835 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
836
837         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
838           add an INFO line for when we actually update the fd
839
840 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
841
842         * configure.ac:
843           back to TRUNK
844
845 === release 0.10.10 ===
846
847 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
848
849         * configure.ac:
850           releasing 0.10.10, "Pais"
851
852 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
853
854         * docs/manual/advanced-position.xml:
855           Fix typo in sample code.
856
857 2006-09-05  Wim Taymans  <wim@fluendo.com>
858
859         * libs/gst/net/gstnetclientclock.c: (inet_aton),
860         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
861         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
862         * libs/gst/net/gstnetclientclock.h:
863         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
864         * libs/gst/net/gstnettimepacket.h:
865         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
866         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
867         (gst_net_time_provider_thread), (gst_net_time_provider_new):
868         * libs/gst/net/gstnettimeprovider.h:
869         Make stuff compile on windows. Fixes #345295.
870
871 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
872
873         * gst/gst.c: (ensure_current_registry_forking):
874           Print better details when child was terminated by signal.
875
876 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
877
878         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
879           Print a warning rather than g_assert() if a plugin feature
880           is a URI handler but returns no protocols (#353976).
881
882 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
883
884         * docs/random/moving-plugins:
885         Fix two typos.         
886
887 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
888
889         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
890           Fix locking order, handle NULL function values properly.
891
892         * gst/gstinfo.h:
893           Fix docs.
894
895         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
896           Initialise variable before using it and fix debug statement to
897           print the address of the function rather than the address of the
898           variable on the stack holding the address of the function.
899
900 2006-09-01  Wim Taymans  <wim@fluendo.com>
901
902         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
903         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
904         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
905         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
906         (gst_ghost_pad_parent_unset),
907         (gst_ghost_pad_internal_do_activate_push),
908         (gst_ghost_pad_internal_do_activate_pull),
909         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
910         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
911         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
912         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
913         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
914         (gst_ghost_pad_new_no_target_from_template),
915         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
916         More cleanups.
917         Avoid needless typechecking in macros.
918         Since the internal pad is always present and never changes, there is
919         no need to locking or ref when retrieving it.
920         Improve debugging a bit.
921         Handle link errors when setting the target. Fixes #341029.
922
923 2006-09-01  Wim Taymans  <wim@fluendo.com>
924
925         * docs/libs/gstreamer-libs-sections.txt:
926         * docs/plugins/gstreamer-plugins-sections.txt:
927         Fix docs some more.
928
929         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
930         (gst_collect_pads_event):
931         * libs/gst/base/gstcollectpads.h:
932         Documentation updates.
933         Free queued buffer when removing a pad.
934
935 2006-08-31  Michael Smith  <msmith@fluendo.com>
936
937         * gst/gstutils.c: (gst_element_link_pads),
938         (gst_element_link_pads_filtered):
939           Ensure that we set a capsfilter to NULL if we failed to link it
940           when doing filtered linking, to avoid criticals.
941
942           No need to check for unreffing srcpad, which is explicly NULLed
943           above (a trivial code cleanup).
944
945 2006-08-31  Wim Taymans  <wim@fluendo.com>
946
947         * docs/design/part-gstghostpad.txt:
948         Update ascii art in documentation.
949
950         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
951         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
952         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
953         (gst_ghost_pad_internal_do_activate_push),
954         (gst_ghost_pad_internal_do_activate_pull),
955         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
956         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
957         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
958         (gst_ghost_pad_set_target):
959         Small cleanups and leak fixes.
960         Remove some checks now that the internal pad is never NULL.
961         Fix the case where linking pads without a target would create nasty
962         criticals. Fixes #341029.
963         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
964         value of _set_target().
965
966         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
967         (gst_ghost_pad_suite):
968         Some more tests for creating and linking untargeted ghostpads.
969
970 2006-08-31  Edward Hervey  <edward@fluendo.com>
971
972         * docs/gst/gstreamer-sections.txt:
973         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
974         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
975         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
976         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
977         (gst_ghost_pad_new_from_template),
978         (gst_ghost_pad_new_no_target_from_template):
979         * gst/gstghostpad.h:
980         Refactored *_new() functions.
981         Templates are now used as a g_object_new() parameter.
982         Use template in _do_getcaps() if we don't have a target.
983         Small documentation cleanups.
984         Added two new constructors:
985         gst_ghost_pad_new_from_template()
986         gst_ghost_pad_new_no_target_from_template()
987         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
988         (gst_ghost_pad_suite):
989         Added tests for new ghostpad instanciation functions.
990
991         API additions: gst_ghost_pad_new_from_template,
992         gst_ghost_pad_new_no_target_from_template
993
994 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
995
996         * docs/random/ensonic/profiling.txt:
997           Ideas about qos profiling.
998
999 2006-08-29  Wim Taymans  <wim@fluendo.com>
1000
1001         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1002         Code cleanups.
1003         Fix memleak.
1004
1005 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
1006
1007         * gst/gstxml.c:
1008           Improve and detypofy docs.
1009
1010         * tests/check/Makefile.am:
1011         * tests/check/gst/.cvsignore:
1012         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1013           Add a basic test suite for GstXML.
1014
1015 2006-08-29  Wim Taymans  <wim@fluendo.com>
1016
1017         * gst/gstelement.c: (activate_pads), (clear_caps),
1018         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1019         Clear the pad caps when the element shut down all of the pads and
1020         is not streaming data that could modify the caps. 
1021         Fixes #352958.
1022
1023 2006-08-28  Michael Smith  <msmith@fluendo.com>
1024
1025         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1026           Revert previous change; I misunderstood single-segment mode.
1027
1028 2006-08-28  Michael Smith  <msmith@fluendo.com>
1029
1030         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1031           Unset DISCONT on buffers when using single-segment mode.
1032
1033 2006-08-28  Wim Taymans  <wim@fluendo.com>
1034
1035         * gst/gstcaps.c: (gst_caps_merge_structure):
1036         * gst/gstcaps.h:
1037         Fix docs and indentation again.
1038
1039         * tests/check/gst/gstquery.c: (GST_START_TEST):
1040         Fix leak in tests and add some more tests.
1041
1042 2006-08-28  Edward Hervey  <edward@fluendo.com>
1043
1044         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1045         Inform GstSegment of the last stop position in order for the current
1046         segment to have a proper duration if it doesn't have a specific stop
1047         position from which a duration could be calculated.
1048         This bug was noticeable when a non-flushing, non-update new segment was
1049         followed by another segment (all buffers from the new segment were being
1050         dropped).
1051
1052 2006-08-28  Wim Taymans  <wim@fluendo.com>
1053
1054         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1055         Small comment update.
1056
1057         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1058         (gst_identity_transform_ip):
1059         Drop-probability is broken, mention this in the code with a 
1060         FIXME and also in the property description.
1061         Make silent also be silent about the drop messages.
1062
1063 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
1064
1065         * docs/manual/appendix-win32.xml:
1066           Remove mention of popt, we don't depend on that any
1067           longer (#353136). Add some comments pointing out that
1068           this section is slightly outdated.
1069
1070 2006-08-28  Wim Taymans  <wim@fluendo.com>
1071
1072         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1073
1074         * gst/gstquery.c: (gst_query_new_segment):
1075         * tests/check/gst/gstquery.c: (GST_START_TEST):
1076         Initialize variables when creating a new segment query.
1077         Fixes #353121.
1078
1079 2006-08-28  Wim Taymans  <wim@fluendo.com>
1080
1081         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1082
1083         * gst/gstelement.c: (gst_element_get_bus):
1084         * tests/check/gst/gstelement.c: (GST_START_TEST):
1085         Check for NULL before _reffing the bus. Fixes #353122.
1086
1087 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
1088
1089         * docs/manual/basics-bus.xml:
1090           Docs update: fix wrong callback return value explanation; add
1091           some lines about the implicit relationship between main loop
1092           and main context; remove duplicate main loop variable declaration.
1093
1094 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
1095
1096         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1097           Don't leak caps in unit test; add a few more simple
1098           checks. 
1099
1100 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * docs/gst/gstreamer-sections.txt:
1103         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1104         (gst_caps_structure_is_subset), (gst_caps_merge),
1105         (gst_caps_merge_structure):
1106         * gst/gstcaps.h:
1107         * libs/gst/base/gstbasetransform.c:
1108         (gst_base_transform_transform_caps):
1109         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1110           implement caps merging (fixes #352580)
1111
1112 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
1113
1114         * tools/Makefile.am:
1115         * tools/gst-plot-timeline.py:
1116           add debug-log plotting developer tool (#340674)
1117
1118 2006-08-23  Wim Taymans  <wim@fluendo.com>
1119
1120         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1121         (gst_pad_stop_task):
1122         Improve debugging for task functions.
1123
1124         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1125         (gst_task_start), (gst_task_pause), (gst_task_join):
1126         Make sure that the task function started and finished after a 
1127         join(). 
1128         Don't try to push the task function on the threadpool multiple
1129         times.
1130         Improve the g_warning message with some useful suggestions
1131         about how to fix the problem. 
1132
1133 2006-08-23  Wim Taymans  <wim@fluendo.com>
1134
1135         * gst/gstutils.c: (gst_pad_proxy_getcaps):
1136         Handle RESYNC correctly in _proxy_getcaps.
1137
1138 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
1139
1140         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1141         (gst_xml_parse_memory), (gst_xml_get_element):
1142           Chain up to parent class in dispose function and also
1143           unref the elements in the toplevel_elements GList.
1144           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1145           Always return a reference in gst_xml_get_element() rather
1146           than only sometimes.
1147
1148         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1149           Don't leak GstXml object.
1150
1151 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
1152
1153         * docs/gst/gstreamer-sections.txt:
1154         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1155         (gst_caps_merge):
1156         * gst/gstcaps.h:
1157         * libs/gst/base/gstbasetransform.c:
1158         (gst_base_transform_transform_caps):
1159           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1160           in a better way
1161
1162 2006-08-21  Edward Hervey  <edward@fluendo.com>
1163
1164         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1165         Implement GObject::dispose virtual method in GstXML so we can free the
1166         top_elements GList.
1167
1168 2006-08-21  Wim Taymans  <wim@fluendo.com>
1169
1170         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1171         (gst_buffer_create_sub):
1172         Copy duration/offset_end/caps when creating a subbuffer of the
1173         complete parent.
1174         Make the subbuffer read-only when we make the metadata writable for
1175         now. Fixes #351768.
1176
1177         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1178         Added check for metadata copy when creating subbuffers.
1179
1180 2006-08-21  Edward Hervey  <edward@fluendo.com>
1181
1182         * libs/gst/base/gstbasetransform.c:
1183         (gst_base_transform_buffer_alloc):
1184         Only call downstream buffer_alloc if transform element is passthrough
1185         or always_in_place. Closes #350449.
1186
1187 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * ChangeLog:
1190           ChangeLog surgery to add comments to previous changes
1191
1192 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * gst/gst.c:
1195           Add comments
1196
1197         * gst/gstpad.c: (gst_pad_set_active):
1198           Be more verbose in the log
1199
1200         * libs/gst/base/gstbasetransform.c:
1201         (gst_base_transform_transform_caps):
1202           Simplify caps to get rid of duplicates, fixes #345444
1203
1204 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1205
1206         * gst/gstvalue.c:
1207         * gst/gstvalue.h:
1208           Use these optimizations only internally.
1209
1210 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1211
1212         * gst/gstvalue.c: (gst_value_compare_list),
1213         (gst_value_compare_fraction_range),
1214         (gst_value_intersect_fraction_fraction_range),
1215         (gst_value_intersect_fraction_range_fraction_range),
1216         (gst_value_subtract_fraction_fraction_range),
1217         (gst_value_subtract_fraction_range_fraction_range),
1218         (gst_value_get_compare_func), (gst_value_compare),
1219         (gst_value_compare_with_func):
1220         * gst/gstvalue.h:
1221           Saves the expensive lookup of the compare function in many cases
1222          (#345444)
1223
1224 2006-08-18  Edward Hervey  <edward@fluendo.com>
1225
1226         * tests/check/gst/gstinfo.c: (gst_info_suite):
1227         Disable test that require gstdebug if it wasn't built in core.
1228
1229 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * docs/random/ensonic/logging.txt:
1232           update ideas
1233           
1234         * gst/gstinfo.c: (gst_debug_log_default):
1235           reorder fields, save some columns, add optional color codes for log
1236           levels
1237
1238 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1239
1240         * docs/random/ensonic/logging.txt:
1241           add ideas about making the logs a bit more useful
1242
1243 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1244
1245         * docs/pwg/advanced-events.xml:
1246         * docs/pwg/titlepage.xml:
1247           Update for 0.10 API (#340627). Add myself
1248           to authors list.
1249
1250 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1251
1252         * docs/libs/gstreamer-libs-docs.sgml:
1253         * docs/libs/gstreamer-libs-sections.txt:
1254         * libs/gst/check/gstbufferstraw.c:
1255           Make gstcheck stuff show up in docs (still needs to
1256           be documented properly though).
1257
1258 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
1259
1260         * docs/gst/gstreamer-sections.txt:
1261         * gst/Makefile.am:
1262         * gst/gst.c: (init_post):
1263         * gst/gst_private.h:
1264         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1265         * gst/gstquark.h:
1266         * gst/gstquery.c: (gst_query_new_position),
1267         (gst_query_set_position), (gst_query_parse_position),
1268         (gst_query_new_duration), (gst_query_set_duration),
1269         (gst_query_parse_duration), (gst_query_new_convert),
1270         (gst_query_set_convert), (gst_query_parse_convert),
1271         (gst_query_new_segment), (gst_query_set_segment),
1272         (gst_query_parse_segment), (gst_query_new_seeking),
1273         (gst_query_set_seeking), (gst_query_parse_seeking):
1274         Add internal helpers for pre-registering quarks from static strings
1275         and using the quark values directly instead of looking them up when
1276         creating and parsing queries. Can be used for event construction too.
1277         Closes #350432.
1278
1279 2006-08-16  Wim Taymans  <wim@fluendo.com>
1280
1281         * gst/gstbin.c:
1282         Fix bogus docs.
1283
1284 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1285
1286         * gst/gstutils.c: (gst_util_set_value_from_string):
1287           Fix memleak (#351502).
1288
1289         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1290           Add unit test for most of gst_util_set_value_from_string()
1291           (not that one would want to encourage use of this function).
1292
1293 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1294
1295         * libs/gst/check/gstcheck.h:
1296           Use const gchar * variables in fail_unless_equals_string
1297           macro to avoid compiler warnings (and don't use tabs for
1298           indenting).
1299
1300 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1301
1302         * tools/gst-launch.c: (print_tag):
1303           More space on the left for the tag names, to cater
1304           for the 'extended comment' tag (not touching the
1305           string for the first line since it's translated).
1306
1307 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1308
1309         * libs/gst/check/gstcheck.h:
1310           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1311           print something when they fail.
1312
1313 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1314
1315         * docs/gst/gstreamer-sections.txt:
1316         * gst/gsttaglist.c: (_gst_tag_initialize):
1317         * gst/gsttaglist.h:
1318           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1319           Also change merge function for GST_TAG_COMMENT to
1320           use_first.
1321
1322 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1323
1324         * gst/gstinfo.c: (gst_debug_print_object):
1325           Make GST_PTR_FORMAT print messages as well.
1326
1327         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1328         (GST_START_TEST), (gst_info_suite):
1329           More tests.
1330
1331 2006-08-14  Edward Hervey  <edward@fluendo.com>
1332
1333         * gst/gstelementfactory.c: (gst_element_register):
1334         If the GstElementClass doesn't have a GstElementDetails with all fields
1335         filled up correctly (longname, description AND author), then error out
1336         nicely instead of crashing.
1337
1338 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1339
1340         * gst/gststructure.c:
1341           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1342
1343         * gst/gstvalue.h:
1344           Expand on the difference between arrays and lists as we use them.
1345           
1346 2006-08-14  Wim Taymans  <wim@fluendo.com>
1347
1348         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1349         If the parent state change function failed, don't assume we can safely
1350         stop the source, this will be done when the pads are deactivated.
1351
1352 2006-08-14  Wim Taymans  <wim@fluendo.com>
1353
1354         * gst/gstbuffer.c:
1355         * gst/gsttask.c: (gst_task_join):
1356         Small doc updates.
1357
1358         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1359         (gst_pad_stop_task):
1360         When pad (de)activation failed for some reason, restore the old
1361         activation mode and set the pad to flushing instead of assuming the
1362         pad is deactivated.
1363         If the _task_join() failed, reinstall the task on the pad so that it can
1364         be stopped later and return an error.
1365
1366 2006-08-11  Andy Wingo  <wingo@pobox.com>
1367
1368         * configure.ac:
1369         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1370         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1371         is only for users of API that don't want to see deprecated
1372         functions in the headers; people that want to compile out
1373         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1374         CFLAGS. Fixes the build of multifdsink, or will soon..
1375
1376 2006-08-11  Wim Taymans  <wim@fluendo.com>
1377
1378         * docs/gst/gstreamer-sections.txt:
1379         Add GstClockClass vmethod docs.
1380
1381         * gst/gstcaps.h:
1382         Mark #endif with comment for associated #if
1383
1384         * gst/gstclock.c: (gst_clock_id_wait):
1385         * gst/gstclock.h:
1386         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1387         most clock implementations.
1388         Document vmethods.
1389         Flesh out docs about resolution methods.
1390         API: GstClockClass::wait_jitter
1391
1392         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1393         (gst_system_clock_async_thread),
1394         (gst_system_clock_id_wait_jitter_unlocked),
1395         (gst_system_clock_id_wait_jitter):
1396         Use base class wait_jitter variant for improved performance
1397         due to less clock polling.
1398
1399 2006-08-11  Edward Hervey  <edward@fluendo.com>
1400
1401         * gst/gst.c: (gst_init_check), (init_post):
1402         Set gst as being initialized before scanning/updating the registry,
1403         since there might be my python plugin loader that calls gst_init() and
1404         we don't want to loop back in.
1405         Closes #350879
1406
1407 2006-08-11  Wim Taymans  <wim@fluendo.com>
1408
1409         * docs/design/part-qos.txt:
1410         Bring docs in line with the code. Mostly the sign of the jitter was
1411         wrong in the docs. Fixes #349943.
1412
1413         * gst/gstclock.c:
1414         Fix the docs for the jitter.
1415
1416         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1417         (gst_event_parse_tag), (gst_event_new_buffer_size),
1418         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1419         (gst_event_new_seek), (gst_event_parse_seek),
1420         (gst_event_new_navigation):
1421         Make sure the GstStructure has no parent when creating custom
1422         events.
1423         Add some more argument checking so that we avoid 0.0 rates.
1424         Flesh out the docs for the QoS event some more.
1425
1426 2006-08-11  Wim Taymans  <wim@fluendo.com>
1427
1428         * docs/gst/gstreamer-sections.txt:
1429         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1430         (ensure_current_registry_forking), (ensure_current_registry),
1431         (parse_one_option), (parse_goption_arg), (gst_deinit),
1432         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1433         * gst/gst.h:
1434         Doc updates.
1435         Added API and command line option to disable registry forking in
1436         addition to the environment variable.
1437         Constify some static arrays.
1438         Added some more debug.
1439         Don't deinit twice.
1440         API: gst_registry_fork_is_enabled()
1441         API: gst_registry_fork_set_enabled()
1442         API: --gst-disable-registry-fork command line option
1443         Fixes #348918.
1444
1445 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1446
1447         * gst/gst.c: (gst_init):
1448           Fix typo in error message.
1449
1450 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1451
1452         * libs/gst/controller/gstcontroller.h:
1453           fix ABI size-correction
1454
1455         * tests/check/libs/gdp.c: (gst_dp_suite):
1456           make tests that use deprecated API conditional
1457
1458 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1459
1460         * docs/libs/gstreamer-libs-sections.txt:
1461         * libs/gst/controller/gstcontroller.c:
1462         (_gst_controller_get_property), (_gst_controller_set_property),
1463         (_gst_controller_init), (_gst_controller_class_init):
1464         * libs/gst/controller/gstcontroller.h:
1465         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1466         (gst_object_set_control_rate):
1467           API: add gst_object_{s,g}et_control_rate(), add private data section,
1468           fix docs
1469
1470         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1471         * libs/gst/dataprotocol/dataprotocol.h:
1472           add deprecation guards to make gtk-doc happy and allow disabling cruft
1473
1474 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1475
1476         * tests/check/Makefile.am:
1477         * tests/check/gst/.cvsignore:
1478           Let's enable the new unit test as well.
1479
1480 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1481
1482         * configure.ac:
1483         * docs/gst/gstreamer-sections.txt:
1484         * gst/gstconfig.h.in:
1485         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1486         (_gst_info_printf_extension_ptr),
1487         (_gst_info_printf_extension_segment):
1488           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1489           register that lets us easily dump GstSegments into debug
1490           logs (#350419).
1491
1492         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1493         (info_segment_format_printf_extension), (gst_info_suite):
1494           Add simple unit test that logs a bunch of different segments (not
1495           valgrinded at the moment because of leaks in
1496           gst_debug_add_log_function).
1497
1498 2006-08-09  Edward Hervey  <edward@fluendo.com>
1499
1500         * libs/gst/base/gstbasetransform.c:
1501         (gst_base_transform_buffer_alloc):
1502         Even if we can't figure out the proper format to request downstream,
1503         call buffer_alloc() downstream with the input parameters without setting
1504         the caps on the srcpad. This will force negotiation in the chain
1505         function.
1506         Closes #350449
1507
1508 2006-08-08  Edward Hervey  <edward@fluendo.com>
1509
1510         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1511         Unlinking from a pad without a target is now a perfectly valid case
1512         which should NOT raise an assertion.
1513         This case would happen if a linked ghostpad its target set to NULL after
1514         it was previously linked.
1515
1516 2006-08-08  Edward Hervey  <edward@fluendo.com>
1517
1518         * tests/check/libs/gdp.c:
1519         Also comment out the test (see below).
1520
1521 2006-08-08  Edward Hervey  <edward@fluendo.com>
1522
1523         * tests/check/libs/gdp.c: (gst_dp_suite):
1524         Use the architecture information from config.h and not gcc macros
1525         in order to properly disable a test that fails on PPC64.
1526
1527 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1528
1529         * gst/gstelement.c: (gst_element_remove_pad):
1530           Don't crash printing the warning if the pad has no parent.
1531
1532 2006-08-02  Wim Taymans  <wim@fluendo.com>
1533
1534         * libs/gst/dataprotocol/dataprotocol.c:
1535         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1536         (gst_dp_crc), (gst_dp_header_payload_length),
1537         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1538         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1539         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1540         (gst_dp_event_from_packet), (gst_dp_validate_header),
1541         (gst_dp_validate_payload):
1542         Make debug category static
1543         Constify the crc table.
1544         Do some more arg checking in public functions.
1545         Fix some docs and do some small cleanups.
1546
1547         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1548         Add some more checks to see if GDP deals with bogus input.
1549
1550 2006-07-31  Wim Taymans  <wim@fluendo.com>
1551
1552         * gst/gstvalue.c: (gst_value_compare_list):
1553         Fix GstValueList comparison code. Fixes #347293.
1554
1555         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1556         Check to test GstValueList comparison.
1557
1558 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1559
1560         * gst/gstelementfactory.c: (gst_element_factory_create):
1561         Remove unnecessary ref/unref pair
1562
1563         * gst/parse/grammar.y:
1564         Make sure to free the parse buffer on all code paths.
1565         Move a g_free up to the error handler where it's easier to see.
1566
1567         * tests/check/gst/gstevent.c: (test_event):
1568         Extending timeout for downstream travelling events to 10 seconds to
1569         hopefully avoid intermittent failure on the buildbots.
1570
1571         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1572         Don't manually set the state of the src element - it will happen as a
1573         natural consequence of the pipeline changing state, and that way it
1574         will do it in the right order too.
1575
1576 2006-07-31  Wim Taymans  <wim@fluendo.com>
1577
1578         * libs/gst/base/gstbasetransform.c:
1579         (gst_base_transform_buffer_alloc):
1580         Use OBJECT_LOCK and refcounting to get the pad caps in the
1581         buffer_alloc function because the caps could change while we are
1582         busy with them. Fixes #349105
1583
1584 2006-07-31  Wim Taymans  <wim@fluendo.com>
1585
1586         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1587         Protect _PAD_CAPS with OBJECT_LOCK.
1588
1589 2006-07-31  Wim Taymans  <wim@fluendo.com>
1590
1591         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1592         (gst_pad_get_property), (gst_pad_activate_pull),
1593         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1594         (gst_pad_set_activate_function),
1595         (gst_pad_set_activatepull_function),
1596         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1597         (gst_pad_set_getrange_function),
1598         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1599         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1600         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1601         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1602         (gst_pad_set_acceptcaps_function),
1603         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1604         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1605         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1606         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1607         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1608         (gst_pad_configure_sink), (gst_pad_configure_src),
1609         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1610         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1611         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1612         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1613         (gst_pad_send_event):
1614         Use _DEBUG_OBJECT when it makes sense.
1615         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1616         Small cleanups and code reflows.
1617         Avoid caps refcounting in _accept_caps.
1618         Refactor alloc_buffer so that the code performed on the peer is in a
1619         separate function. Also if the pad does not implement a buffer alloc
1620         function, we should still check if the pad is flushing before falling
1621         back to the default allocator.
1622
1623 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1624
1625         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1626         Make all uses of identity and fakesink have silent=true to avoid
1627         serialising every passing data structure, which is breaking tests
1628         on FC4 for some unknown reason.
1629
1630 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1631
1632         * gst/parse/Makefile.am:
1633         * gst/parse/grammar.y:
1634         * gst/parse/parse.l:
1635           Reverted previous patch as it required to bump the flex dependency to
1636           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1637
1638 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1639
1640         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1641
1642         * gst/parse/Makefile.am:
1643         * gst/parse/grammar.y:
1644         * gst/parse/parse.l:
1645           push & pop the state of the lexer for reentrant use case
1646           Fixes #349180
1647
1648 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1649
1650         * libs/gst/base/gstbasesrc.h:
1651           Note in the docs that the ::newsegment vfunc is not actually used by
1652           GstBaseSrc.
1653
1654 2006-07-28  Wim Taymans  <wim@fluendo.com>
1655
1656         * libs/gst/base/gstcollectpads.c:
1657         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1658         (gst_collect_pads_clear), (gst_collect_pads_flush),
1659         (gst_collect_pads_event), (gst_collect_pads_chain):
1660         When flushing a pad, also clear the queued buffer so that we don't
1661         accidentally use it when we shouldn't.
1662         Fix leaks by inreffing incomming buffer.
1663         Flush out queued buffers in case of errors.
1664         Fixes #347452.
1665
1666 2006-07-28  Wim Taymans  <wim@fluendo.com>
1667
1668         * docs/random/phonon-gst:
1669         Random notes about a Phonon backend.
1670
1671 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1672
1673         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1674         Extra debug output
1675         * tests/check/libs/gdp.c: (gst_dp_suite):
1676         Take a whack at fixing the ppc compile using a different define to
1677         disable the broken test.
1678
1679         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1680         Remove excess g_print()
1681
1682 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1683
1684         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1685         Oops, meant to uncomment this line too to dampen the noise a bit.
1686
1687 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1688
1689         * gst/parse/grammar.y:
1690         * gst/parse/parse.l:
1691         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1692         (GST_START_TEST), (parse_suite):
1693         Fix some of the leaks exposed by extending the parse-launch testsuite,
1694         and move the 3 I can't figure out into a separate test that won't run
1695         the pipelines unless the appropriate line is uncommented.
1696
1697 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1698
1699         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1700           Requesting 0 bytes before the end of the file should result in
1701           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1702           unit test.
1703
1704 2006-07-27  Wim Taymans  <wim@fluendo.com>
1705
1706         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1707         Fix useless assert, a uint is always positive.
1708
1709         * gst/gststructure.c: (gst_structure_nth_field_name),
1710         (gst_structure_foreach), (gst_structure_map_in_place):
1711         Check input arguments for public functions to avoid obvious crashes.
1712
1713         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1714         * plugins/elements/gstfakesink.h:
1715         Do less useless typechecking.
1716
1717 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1718
1719         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1720           Do not use mmap() by default since there are a number of error
1721           conditions that we would like to handle in a non-fatal way that
1722           will result in a SIGBUS if we use mmap(). Examples: external
1723           devices (USB harddrive, portable music player) being unplugged
1724           while in use; file on mounted CD/DVD that can't be read because
1725           the medium is partly damaged. Fixes #348455 and #348475.
1726
1727 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1728
1729         * gst/gstquery.h:
1730         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1731         rates are a gdouble
1732
1733 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1734
1735         * gst/gstregistry.c:
1736           Move big documentation comment into class section header, so that it
1737           appears in the API docs.
1738
1739 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1740
1741         * docs/gst/gstreamer-sections.txt:
1742         Oops. Commit the docs additions too for new API.
1743         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1744
1745 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1746
1747         * gst/gststructure.c: (gst_structure_id_set),
1748         (gst_structure_id_set_valist):
1749         * gst/gststructure.h:
1750         Add API for setting values into structures without performing
1751         a quark lookup, if the appropriate quark is already known.
1752
1753         API: gst_structure_id_set
1754         API: gst_structure_id_set_valist
1755
1756         * gst/parse/grammar.y:
1757         * gst/parse/parse.l:
1758         Remove some dead code shown by the coverage information.
1759         Don't throw a critical g_warning when encountering a syntax error,
1760         just warn and let the normal error path handle it.
1761
1762         * plugins/elements/gstelements.c:
1763         Bump the rank of filesink up to PRIMARY so that it is preferred over
1764         gnomevfssink for file:// sink uri's
1765
1766         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1767         (GST_START_TEST), (run_delayed_test),
1768         (gst_parse_test_element_base_init),
1769         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1770         (gst_parse_test_element_change_state),
1771         (gst_register_parse_element), (parse_suite):
1772         Beef up the tests for parse syntax to check that more error cases
1773         fail as they are supposed to. Increases the test coverage a bit.
1774
1775 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1776
1777         * docs/manual/basics-elements.xml:
1778           Fix gst_element_link() example.
1779
1780         * gst/gstutils.c:
1781           Mention in API docs that one should usually gst_bin_add()
1782           elements to a bin or pipeline before doing the linking.
1783           
1784 2006-07-26  Wim Taymans  <wim@fluendo.com>
1785
1786         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1787         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1788         Avoid function call for known types by keeping the buffer and
1789         subbuffer GType global.
1790
1791         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1792         Random silly optimisations in read() path.
1793
1794 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1795
1796         * tools/gst-launch.c: (main):
1797           If the top-level of the parse is a normal bin, it doesn't do the
1798           right logic to run as a top-level element, so place it inside a
1799           pipeline.
1800
1801 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1802
1803         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1804           Remove superfluous g_object_notify() calls, GObject does
1805           that for us automatically.
1806
1807 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1808
1809         * gst/gstinfo.h:
1810           on Win32, use dllspec to export the debug category symbols
1811
1812 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1813
1814         * gst/gsttaglist.c: (_gst_tag_initialize):
1815           Allow more than one GST_TAG_IMAGE per taglist.
1816
1817 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1818
1819         * gst/gstminiobject.c:
1820           update docs
1821         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1822         (gst_fd_src_create):
1823           log recurring events at LOG level
1824           add more debug for when the fd gets set
1825
1826 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1827
1828         * gst/gstparse.c: (gst_parse_launch):
1829           Also remove reentrance checks if flex is MT safe (#348179)
1830          Fix my empty ChangeLog entry below
1831
1832 2006-07-21  Andy Wingo  <wingo@pobox.com>
1833
1834         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1835
1836         * libs/gst/check/Makefile.am
1837         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1838         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1839         * libs/gst/check/gstbufferstraw.h:
1840         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1841         functions, thus proving I am still a GStreamer haxor. OK I wrote
1842         them a long time ago, but anyways.
1843
1844 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1845
1846         * configure.ac:
1847         * gst/gstparse.c: (gst_parse_launch):
1848           Check for flex version and omit mutex if we have a MT save flex
1849           (fixes #348179)
1850
1851 2006-07-21  Wim Taymans  <wim@fluendo.com>
1852
1853         * gst/gstparse.c: (gst_parse_launch):
1854         Protect recursive calls to _parse with a recursive mutex
1855         and busy flag.
1856
1857 2006-07-21  Wim Taymans  <wim@fluendo.com>
1858
1859         * tests/check/gst/gstpad.c: (GST_START_TEST):
1860         Fix leak in test.
1861
1862 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * gst/gstparse.c: (gst_parse_launch):
1865           Do not hang on recursive usage of gst_parse_launch()
1866
1867 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1868
1869         * gst/gsttaglist.c:
1870           Add some more docs, comments and FIXME 0.11s here and there
1871           and also fix some typos.
1872
1873 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1874
1875         * gst/gstsegment.h:
1876           Convert tabs to spaces for better readability. 
1877
1878 2006-07-20  Edward Hervey  <edward@fluendo.com>
1879
1880         * tests/check/libs/gdp.c: (gst_dp_suite):
1881         the test_buffer test fails at line 140 on ppc64 at the following
1882         check:
1883         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1884                 GST_BUFFER_FLAG_IN_CAPS),
1885                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1886         See bug #348114 for more details.
1887
1888 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1889
1890         * docs/pwg/advanced-scheduling.xml:
1891         * gst/gstpad.c:
1892           Fix typos (#348000).
1893
1894 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1895
1896         * docs/pwg/intro-basics.xml:
1897           Fix wrong links (#347927).
1898
1899 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1900
1901         * gst/gstregistry.h:
1902         * gst/gstregistryxml.c: (load_feature),
1903         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1904         * win32/common/config.h:
1905           make --disable-index work (#342564)
1906
1907 2006-07-18  Wim Taymans  <wim@fluendo.com>
1908
1909         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1910
1911         * gst/Makefile.am:
1912         * gst/gsttrace.h:
1913         The attached patch adds two missing defines to gsttrace.h when tracing
1914         is disabled.  It also corrects one existing define.
1915         Fixes #347756.
1916
1917 2006-07-17  Wim Taymans  <wim@fluendo.com>
1918
1919         * docs/gst/gstreamer-sections.txt:
1920         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1921         * gst/gst.h:
1922         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1923         Add two functions to check and change the SIGSEGV behaviour
1924         when loading plugins.
1925         Don't mess with the SIGSEGV handler when we were told not to.
1926         Fixes #347794.
1927         API: gst_segtrap_is_enabled
1928         API: gst_segtrap_set_enabled
1929
1930 2006-07-14  Wim Taymans  <wim@fluendo.com>
1931
1932         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1933         * tests/check/elements/filesrc.c: (GST_START_TEST):
1934         Revert fix for regression in #347408 after release.
1935
1936 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1937
1938         Patch by: Antoine Tremblay <hexa00 at gmail com>
1939
1940         * gst/gstutils.c: (gst_element_unlink):
1941           Free iterator when done (#347311).
1942
1943         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1944           And add a test case for this.
1945
1946 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1947
1948         * configure.ac:
1949         Bump nano back to CVS
1950
1951 === release 0.10.9 ===
1952
1953 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1954
1955         * configure.ac:
1956           releasing 0.10.9, "On the road again"
1957
1958 2006-07-13  Wim Taymans  <wim@fluendo.com>
1959
1960         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1961         * tests/check/elements/filesrc.c: (GST_START_TEST):
1962         Revert pull-0 fix for release. Disable check. Fixes #347408.
1963
1964 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1965
1966         * libs/gst/dataprotocol/dataprotocol.c:
1967         (gst_dp_event_from_packet_1_0):
1968           Fixes #347337: failure to deserialize event packets with
1969           empty payload (only event type)
1970
1971 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1972
1973         * gst/Makefile.am:
1974           do not install a .c file in the header directory
1975
1976 2006-07-13  Edward Hervey  <edward@fluendo.com>
1977
1978         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1979         GhostPad no longer implicitely use the padtemplates of the targets.
1980         Fixes #347384
1981
1982 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1983
1984         * gst/gstvalue.c: (gst_value_compare_list),
1985         (gst_value_compare_array), (_gst_value_initialize):
1986         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1987         Make GstValueArray comparison be order dependent as designed.
1988         Add checks for value lists and value array comparisons.
1989         Fixes #347221
1990
1991 2006-07-11  Edward Hervey  <edward@fluendo.com>
1992
1993         * gst/gstbin.c: (activate_pads),
1994         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1995         (gst_bin_change_state_func):
1996         (de)activate src pads before calling state_change on the childs.
1997         This is to avoid the case where a src ghostpad is blocked (holding the
1998         stream lock), which would block the deactivation of the ghostpad's
1999         target pad.
2000         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2001         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2002         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2003         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2004         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2005         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2006         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2007         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2008         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2009         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2010         (gst_ghost_pad_class_init),
2011         (gst_ghost_pad_internal_do_activate_push),
2012         (gst_ghost_pad_internal_do_activate_pull),
2013         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2014         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2015         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2016         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2017         GhostPads now create their internal GstProxyPad at creation (and not
2018         when they're linked, as it was being done previously).
2019         The internal and target pads are linked straight away.
2020         The data will also travel through the other pad in order to make
2021         pad blocking and probes non-hackish (the probe/block now really happens
2022         on the GhostPad and not on the target).
2023         * gst/gstpad.c: (gst_pad_set_blocked_async),
2024         (gst_pad_link_prepare), (gst_pad_push_event):
2025         Remove previous ghostpad cruft.
2026         * gst/gstutils.c: (gst_pad_add_data_probe),
2027         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2028         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2029         (gst_pad_remove_buffer_probe):
2030         Remove previous ghost pad cruft.
2031         Added more detailed debug statements.
2032         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2033         Fix the testsuite for refcounting changes.
2034         The comments about who has references were correct, but the refcount
2035         being checked wasn't the same (!?!).
2036
2037         Fixes #341029
2038
2039 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2040
2041         * docs/gst/gstreamer-sections.txt:
2042         * gst/gstconfig.h.in:
2043         More docs for configuration options, add docs to gtk-doc.
2044
2045 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2046
2047         * gst/Makefile.am:
2048         * gst/gstconfig.h.in:
2049         * win32/common/config.h:
2050         Fix build when disabling tracing (fixes #344016). Also start to document
2051         the defines that disable the sub-systems.
2052
2053 2006-07-10  Edward Hervey  <edward@fluendo.com>
2054
2055         * gst/gst.c: (ensure_current_registry_forking):
2056         let's make valgrind happy...
2057
2058 2006-07-09  Wim Taymans  <wim@fluendo.com>
2059
2060         * gst/gstelement.c: (activate_pads),
2061         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2062         Better pad activation code: Reset the collect value too on resync.
2063         Add some comments.
2064
2065 2006-07-09  Wim Taymans  <wim@fluendo.com>
2066
2067         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2068         (gst_pad_activate_push):
2069         Use some more macros where it makes sense.
2070         Allow pad mode switching instead of asserting. When a pad
2071         is activated in one mode and we activate it in another, 
2072         deactivate it first before activating it in a different mode.
2073         Fixes #329198.
2074
2075 2006-07-08  Andy Wingo  <wingo@pobox.com>
2076
2077         * tools/gst-launch.c (main): Handle err == NULL.
2078
2079         * gst/gst.c (init_post, ensure_current_registry)
2080         (ensure_current_registry_forking)
2081         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2082         factoring out the registry scanning into separate functions. Don't
2083         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2084         Better environment var name/interface suggestions accepted.
2085
2086 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2087
2088         * gst/gstobject.c: (gst_object_set_name_default),
2089         (gst_object_set_name):
2090           Random micro-optimisation: don't use a hash table
2091           with strings as keys and the usual strdup/strcmp
2092           involved, but rather just use the GQuark of the
2093           type name as key, since it needs to be looked up
2094           anyway to get the type name string.
2095
2096         * tests/check/gst/gstobject.c: (GST_START_TEST):
2097           Fix various leaks.
2098
2099 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2100
2101         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2102         (gst_bin_iterate_all_by_interface):
2103           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2104           GTypes are gulongs and thus the top 4 bytes might be cut
2105           off on some platforms when doing GPOINTER_TO_INT, leading
2106           to invalid GTypes and bad things happening (see RH bug #179654).
2107           Also add a check to make sure the type passed in is really
2108           an interface type.
2109
2110 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2111
2112         * .cvsignore:
2113           Ignore more.
2114
2115 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2116
2117         * Makefile.am:
2118         * configure.ac:
2119         * gst-element-check.m4:
2120         * gst-element-check.m4.in:
2121           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2122           instead of the unversioned gst-inspect (#324176, #168659).
2123
2124 2006-07-06  Wim Taymans  <wim@fluendo.com>
2125
2126         * gst/gstmessage.h:
2127         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2128         warnings.
2129
2130 2006-07-06  Wim Taymans  <wim@fluendo.com>
2131
2132         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2133         (gst_base_src_wait), (gst_base_src_update_length),
2134         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2135         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2136         (gst_base_src_loop), (gst_base_src_start),
2137         (gst_base_src_activate_pull):
2138         Update docs.
2139         blocksize == 0 now means the default blocksize when working in push
2140         based mode.
2141         Remove some pointless asserts in _wait function.
2142         Fix offset/length calculations and EOS handling. We can now pull 0
2143         bytes as well, which is allowed.
2144         use _check_get_range() to decide if we can operate in _pull based
2145         mode.
2146         Fix refcounting leak when check_get_range function was not 
2147         implemented.
2148         API GstBaseSrc::blocksize range can be 0 too now (default)
2149
2150         * tests/check/elements/filesrc.c: (GST_START_TEST),
2151         (filesrc_suite):
2152         Added check to test _get_range() behaviour.
2153
2154 2006-07-06  Wim Taymans  <wim@fluendo.com>
2155
2156         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2157         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2158         (gst_pad_pull_range):
2159         * gst/gstpad.h:
2160         Lots of comments and docs added to the pad functions.
2161         Flesh out the expected behaviour of the get_range() functions.
2162
2163 2006-07-06  Wim Taymans  <wim@fluendo.com>
2164
2165         * gst/gstbus.h:
2166         * gst/gstclock.h:
2167         * gst/gstevent.h:
2168         * gst/gstiterator.h:
2169         * gst/gstpad.h:
2170         * gst/gstplugin.h:
2171         * gst/gsttask.h:
2172         Remove comma at end of enumerator list. 
2173
2174 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
2175
2176         * win32/common/libgstbase.def:
2177         * win32/common/libgstdataprotocol.def:
2178         * win32/common/libsgtreamer.def:
2179         Add new exported functions.
2180
2181 2006-07-05  Wim Taymans  <wim@fluendo.com>
2182
2183         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2184         Add some more docs here and there.
2185
2186 2006-07-05  Wim Taymans  <wim@fluendo.com>
2187
2188         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2189         (gst_base_sink_loop), (gst_base_sink_get_position):
2190         When operating in pull mode update the offset so that we
2191         read sequentially.
2192
2193 2006-07-05  Wim Taymans  <wim@fluendo.com>
2194
2195         * gst/gstregistryxml.c: (read_string):
2196         Avoid strdup. (will happen in libxml, but hey!)
2197
2198         * gst/gsturi.c:
2199         Add some more docs.
2200
2201 2006-07-05  Wim Taymans  <wim@fluendo.com>
2202
2203         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2204         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2205         (gst_buffer_suite):
2206         No point in checking if the size of the subbuffer > 0, the
2207         code handles it correclty as demonstrated by unit test.
2208         Also add a unit test for the zero sized _new_and_alloc and
2209         _copy. Fixes #346663.
2210
2211 2006-07-05  Wim Taymans  <wim@fluendo.com>
2212
2213         * libs/gst/base/gstbasetransform.c:
2214         (gst_base_transform_prepare_output_buffer),
2215         (gst_base_transform_buffer_alloc),
2216         (gst_base_transform_handle_buffer):
2217         Make sure the buffer we pass to transform_ip has a refcount of
2218         1 and thus is writable. Fixes #343196
2219
2220 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2221
2222         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2223         (gst_file_src_init), (gst_file_src_set_property),
2224         (gst_file_src_get_property), (gst_file_src_map_region):
2225         * plugins/elements/gstfilesrc.h:
2226         Add "sequential" property, off by default, to use madvise and hint
2227         to the kernel that sequential access is desired.
2228         Touch all retrieved pages by default to ensure they are pulled
2229         into memory. (Closes #345720)
2230
2231 2006-07-03  Wim Taymans  <wim@fluendo.com>
2232
2233         * docs/design/part-block.txt:
2234         * docs/design/part-dynamic.txt:
2235         Small docs updates.
2236
2237 2006-07-03  Wim Taymans  <wim@fluendo.com>
2238
2239         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2240         (gst_caps_unref), (gst_static_caps_get),
2241         (gst_caps_append_structure):
2242         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2243         Use GSlice when the glib we build against is >= 2.10
2244
2245 2006-07-03  Wim Taymans  <wim@fluendo.com>
2246
2247         * gst/gstelement.c: (gst_element_pads_activate):
2248         Small cleanup in pad activation code.
2249
2250 2006-07-03  Wim Taymans  <wim@fluendo.com>
2251
2252         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2253
2254         * gst/gst-i18n-app.h:
2255         * gst/gst-i18n-lib.h:
2256         * tools/gst-inspect.c: (print_signal_info):
2257         The attached patch will make the inclusion of gettext.h unconditional in
2258         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2259         libintl.h in tools/gst-inspect.c.
2260         This allows use of --disable-nls again and fixes #344642.
2261
2262 2006-07-03  Edward Hervey  <edward@fluendo.com>
2263
2264         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2265         Implement pad blocking on events according to part-block.txt.
2266         More comments on behaviour.
2267         * tests/check/gst/gstevent.c: (test_event):
2268         Send event to peer pad of blocked pad (else it will block).
2269
2270 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2271
2272         * libs/gst/check/gstcheck.c: (gst_check_message_error),
2273         (gst_check_run_suite):
2274           if we get the wrong message, give us the types as string
2275         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2276           Fix a translatable
2277         * tests/check/elements/filesrc.c: (GST_START_TEST):
2278           add a test for trying to open a non-existing file
2279
2280 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2281
2282         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2283           add a test for adding self
2284
2285 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2286
2287         * libs/gst/check/gstcheck.h:
2288           add some assert_ as alias for fail_unless_*
2289         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2290           increase test coverage
2291
2292 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2293
2294         * Makefile.am:
2295           include lcov.mak for lcov coverage generation
2296         * tools/Makefile.am:
2297           add to CLEANFILES
2298
2299 2006-07-02  Edward Hervey  <edward@fluendo.com>
2300
2301         * tests/check/elements/.cvsignore:
2302         moaping
2303
2304 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2305
2306         * configure.ac:
2307           don't set CFLAGS and friends for gcov, done from GST_GCOV now
2308         * tests/check/Makefile.am:
2309           clean up gcov files
2310
2311 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2312
2313         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2314           remove gst_caps_simplify; it was not declared and not used
2315           and deprecated in 0.8
2316
2317 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2318
2319         * docs/faq/gst-uninstalled:
2320           don't put empty paths on PYTHONPATH
2321         * docs/gst/gstreamer-sections.txt:
2322           remove some symbols that are not there
2323
2324 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2325
2326         * gst/gstcaps.c: (gst_caps_compare_structures):
2327           whitespace fixes
2328         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2329         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2330           add more tests
2331
2332 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2333
2334         * libs/gst/dataprotocol/Makefile.am:
2335           build dataprotocol test by linking to the lib, instead of
2336           compiling the source, so we get coverage
2337         * tests/check/Makefile.am:
2338         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2339         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2340           add a test for filesrc
2341
2342 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2343
2344         * tests/check/gst/gststructure.c: (GST_START_TEST),
2345         (gst_structure_suite):
2346           Push coverage from 59.04% to 70.00%
2347
2348 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2349
2350         * tests/check/Makefile.am:
2351           gst-inspect every element; this makes sure that we also get
2352           coverage on element's get/set functions
2353
2354 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2355
2356         * configure.ac:
2357           set CFLAGS and friends to -O0 if gcov is being used
2358           add GCOV LIBS
2359         * gst/Makefile.am:
2360         * libs/gst/base/Makefile.am:
2361         * libs/gst/check/Makefile.am:
2362         * libs/gst/controller/Makefile.am:
2363         * libs/gst/dataprotocol/Makefile.am:
2364         * libs/gst/net/Makefile.am:
2365         * plugins/elements/Makefile.am:
2366         * plugins/indexers/Makefile.am:
2367           add makefile rules to generate gcov data and clean up
2368         * tests/check/Makefile.am:
2369           add a coverage target that generates an html overview
2370           of coverage data
2371
2372 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2373
2374         * tests/check/elements/fakesink.c:
2375         * tests/check/elements/fakesrc.c:
2376         * tests/check/elements/fdsrc.c:
2377         * tests/check/elements/identity.c:
2378         * tests/check/generic/sinks.c: (gst_sinks_suite):
2379         * tests/check/generic/states.c:
2380         * tests/check/gst/gst.c:
2381         * tests/check/gst/gstabi.c:
2382         * tests/check/gst/gstbin.c:
2383         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2384         * tests/check/gst/gstbus.c: (gst_bus_suite):
2385         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2386         * tests/check/gst/gstelement.c:
2387         * tests/check/gst/gstevent.c: (gst_event_suite):
2388         * tests/check/gst/gstghostpad.c:
2389         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2390         * tests/check/gst/gstmessage.c: (gst_message_suite):
2391         * tests/check/gst/gstminiobject.c:
2392         * tests/check/gst/gstobject.c:
2393         * tests/check/gst/gstpad.c:
2394         * tests/check/gst/gstpipeline.c:
2395         * tests/check/gst/gstplugin.c:
2396         * tests/check/gst/gstquery.c: (gst_query_suite):
2397         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2398         * tests/check/gst/gststructure.c:
2399         * tests/check/gst/gstsystemclock.c:
2400         * tests/check/gst/gsttag.c:
2401         * tests/check/gst/gsttask.c: (gst_task_suite):
2402         * tests/check/gst/gstutils.c:
2403         * tests/check/gst/gstvalue.c:
2404         * tests/check/libs/adapter.c:
2405         * tests/check/libs/basesrc.c:
2406         * tests/check/libs/collectpads.c:
2407         * tests/check/libs/controller.c:
2408         * tests/check/libs/gdp.c: (gst_dp_suite):
2409         * tests/check/libs/gstnetclientclock.c:
2410         * tests/check/libs/gstnettimeprovider.c:
2411         * tests/check/libs/libsabi.c: (libsabi_suite):
2412         * tests/check/libs/typefindhelper.c:
2413         * tests/check/pipelines/cleanup.c:
2414         * tests/check/pipelines/parse-launch.c:
2415         * tests/check/pipelines/simple-launch-lines.c:
2416         * tests/check/pipelines/stress.c: (stress_suite):
2417           use the new macro
2418
2419 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2420
2421         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2422         * libs/gst/check/gstcheck.h:
2423           create a macro and function so that the simple unit test
2424           case can be just one macro to create main()
2425
2426 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2427
2428         * gst/gstbin.c: (gst_bin_restore_thyself):
2429         * gst/gstxml.c: (gst_xml_make_element):
2430           Fix deserialisation from XML. Set parent manually
2431           instead of using gst_bin_add(), since gst_bin_add()
2432           will unlink all pads of the element being added.
2433           Fixes #341667.
2434
2435 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2436
2437         Patch by: Peter Kjellerstedt <pkj at axis com>
2438
2439         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2440           Fix missing g_strdup() and double free when using the
2441           --gst-plugin-load command line option (#346097).
2442
2443 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2444
2445         * gst/gstinfo.c:
2446           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2447
2448         * libs/gst/net/gstnetclientclock.c:
2449         * libs/gst/net/gstnettimeprovider.c:
2450           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2451
2452 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2453
2454         * docs/manual/advanced-dataaccess.xml:
2455           Fix buffer probe example compilation in
2456           ADM (#345708).
2457         
2458 2006-06-22  Edward Hervey  <edward@fluendo.com>
2459
2460         * gst/gstelement.c: (gst_element_pads_activate):
2461         We need to deactivate src pads first and then sink pads.
2462         The reason is the src pads might be blocking while holding the streaming
2463         lock, so we need to deactivate them first so that deactivating the sink
2464         pads doesn't block (since it will require the streaming lock).
2465
2466 2006-06-22  Wim Taymans  <wim@fluendo.com>
2467
2468         * libs/gst/base/gstbasetransform.c:
2469         (gst_base_transform_buffer_alloc):
2470         Forgot to remove two unneeded unrefs.
2471         Simplify a check _is_equal allready checks the obvious case.
2472
2473 2006-06-22  Wim Taymans  <wim@fluendo.com>
2474
2475         * docs/design/part-block.txt:
2476         Some docs about what pad_block should do.
2477
2478 2006-06-22  Wim Taymans  <wim@fluendo.com>
2479
2480         * gst/gstcaps.c: (gst_caps_replace):
2481         Fix crasher when passed NULL. Doc clarification.
2482         Optimize for the trivial case.
2483
2484         * gst/gstpipeline.c: (gst_pipeline_change_state):
2485         Small cleanups.
2486
2487         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2488         Small documentation cleanup.
2489
2490         * libs/gst/base/gstbasetransform.c:
2491         (gst_base_transform_buffer_alloc):
2492         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2493         is what we need and it avoids a whole lot of redundant 
2494         refcount operations.
2495
2496 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2497
2498         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2499
2500         * docs/manual/advanced-dataaccess.xml:
2501           Fix 'Embedding static elements' section to use
2502           GST_PLUGIN_DEFINE_STATIC (#345607).
2503
2504 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2505
2506         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2507           Attempt to 'fix' spuriously failing test case: it seems like the
2508           timeout of half a second is simply too small when the system is under
2509           load otherwise, and the timeout doesn't really seem to serve any
2510           particular purpose here. Give the pipeline a few seconds to preroll
2511           first, and then give it another half a second to go from PAUSED to
2512           PLAYING and marshal the message into the main thread.
2513
2514 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2515
2516         * tools/gst-feedback-m.m:
2517           Don't only use unversioned tools, try versioned tools as well
2518           (#345086).
2519
2520 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2521
2522         * gst/gstbus.c: (gst_bus_class_init):
2523           Fix some typos, make docs more explicit.
2524
2525 2006-06-20  Wim Taymans  <wim@fluendo.com>
2526
2527         * tests/check/gst/gstghostpad.c: (block_callback),
2528         (GST_START_TEST), (gst_ghost_pad_suite):
2529         Added some more ghostpad tests, mainly blocking
2530         and probes.
2531
2532 2006-06-16  Wim Taymans  <wim@fluendo.com>
2533
2534         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2535         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2536         (gst_file_sink_event), (gst_file_sink_render):
2537         * plugins/elements/gstfilesink.h:
2538         Check if we can seek in the file instead of assuming
2539         we always can. Post an error when we are asked to seek in a
2540         non-seekable file (like a fifo). Fixes #343312.
2541         Some cleanups.
2542
2543 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2544
2545         * tools/gst-launch.1.in:
2546           Un-garble (fourcc) bit in filtered caps section.
2547
2548 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2549
2550         * docs/manual/advanced-autoplugging.xml:
2551         * docs/manual/basics-helloworld.xml:
2552         * docs/manual/highlevel-components.xml:
2553           Don't leak bus reference in sample code.
2554
2555 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2556
2557         * autogen.sh:
2558           Add default for new --enable-plugin-docs switch.
2559
2560         * configure.ac:
2561           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2562           Fixes #344039.
2563
2564         * docs/Makefile.am:
2565           Use new ENABLE_PLUGIN_DOCS conditional.
2566
2567 2006-06-14  Wim Taymans  <wim@fluendo.com>
2568
2569         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2570         Make it clear with a FIXME and a real define what the #if 0
2571         previously disabled.
2572
2573 2006-06-14  Wim Taymans  <wim@fluendo.com>
2574
2575         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2576         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2577         * libs/gst/base/gstbasetransform.c:
2578         (gst_base_transform_sink_eventfunc):
2579         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2580         Don't randomly and silently reset a segment when the format 
2581         changes as this is a bug somewhere upstream. Fixes #330379.
2582
2583 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2584
2585         Patch by: Wouter Paesen  <wouter at kangaroot net>
2586
2587         * libs/gst/controller/gstcontroller.c:
2588         (gst_controlled_property_new):
2589           Fix controlling of float properties (#344849).
2590
2591         * tests/check/libs/controller.c:
2592         (gst_test_mono_source_get_property),
2593         (gst_test_mono_source_set_property),
2594         (gst_test_mono_source_class_init), (GST_START_TEST):
2595           While we're at it, add some float stuff to unit test.
2596
2597 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2598
2599         * docs/README:
2600         * docs/images/gdp-header.svg:
2601           add a gdp image
2602         * docs/libs/Makefile.am:
2603         * docs/libs/gdp-header.png:
2604         * libs/gst/dataprotocol/dataprotocol.c:
2605           add it to the API docs
2606         * docs/manual/intro-motivation.xml:
2607           fix typo
2608
2609 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2610
2611         * gst/gst.c: (scan_and_update_registry), (init_post):
2612           If the fork()'ed child process can't write the updated registry cache
2613           file to disk for some reason, make it exit with a failure exit code,
2614           so that the parent can then re-scan the plugins itself and update the
2615           registry structures in memory and work with that (rather than failing
2616           when creating elements because seemingly no plugins are available).
2617           Refactor registry scanning code into separate function for this and
2618           also separate fork() and non-fork() code paths. Fixes #344748.
2619
2620 2006-06-13  Wim Taymans  <wim@fluendo.com>
2621
2622         * docs/manual/advanced-dataaccess.xml:
2623         Fix wrong PluginDesc. Fixes #344755.
2624
2625 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2626
2627         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2628           Fix silly bug that prevented us from creating
2629           ~/.gstreamer-0.10 and writing the registry in one
2630           go (the first call to g_mkstemp() would overwrite the
2631           placeholder in the template string, so the second call
2632           to g_mkstemp() after creating the missing directory
2633           would then error out with 'invalid argument').
2634
2635 2006-06-13  Edward Hervey  <edward@fluendo.com>
2636
2637         * gst/gst.c: (init_post):
2638         Free string.
2639
2640 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2641
2642         * gst/glib-compat-private.h:
2643         * gst/glib-compat.c:
2644         * gst/glib-compat.h:
2645         * gst/gstvalue.c: (gst_value_serialize_flags):
2646           remove GLib 2.6 compatibility code
2647
2648 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2649
2650         * gst/parse/Makefile.am:
2651           Fix build with 'make -j N' even more (#340016).
2652
2653 2006-06-12  Wim Taymans  <wim@fluendo.com>
2654
2655         * docs/gst/gstreamer-sections.txt:
2656         Fix docs.
2657
2658 2006-06-12  Wim Taymans  <wim@fluendo.com>
2659
2660         * gst/gstsegment.c: (gst_segment_set_duration),
2661         (gst_segment_set_last_stop), (gst_segment_set_seek),
2662         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2663         (gst_segment_to_running_time), (gst_segment_clip):
2664         Use G_UNLIKELY to help the compiler a bit.
2665
2666 2006-06-12  Wim Taymans  <wim@fluendo.com>
2667
2668         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2669
2670         * gst/gstevent.c: (gst_event_get_type):
2671         * gst/gstmessage.c:
2672         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2673         (gst_pad_push):
2674         constify quark registration strings. Fixes #344115
2675         Avoid unneeded type checking is _pad_push() by internally
2676         calling gst_pad_chain_unchecked().
2677
2678 2006-06-12  Wim Taymans  <wim@fluendo.com>
2679
2680         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2681         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2682         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2683         (gst_buffer_is_span_fast), (gst_buffer_span):
2684         Init _type for consistency.
2685         Use _FLAGS macro to avoid type check.
2686         Avoid unneeded type checks in subbufer code.
2687
2688 2006-06-12  Wim Taymans  <wim@fluendo.com>
2689
2690         * gst/gst.c: (gst_debug_help):
2691         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2692         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2693         (gst_plugin_feature_list_free):
2694         * gst/gstregistry.c: (gst_registry_add_plugin),
2695         (gst_registry_add_feature), (gst_registry_plugin_filter),
2696         (gst_registry_feature_filter), (gst_registry_find_plugin),
2697         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2698         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2699         * gst/gstregistryxml.c: (load_feature),
2700         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2701         * gst/gstminiobject.c: (gst_mini_object_unref),
2702         (gst_mini_object_replace), (gst_value_mini_object_free),
2703         (gst_value_mini_object_copy):
2704         Use _CAST macros to avoid unneeded type checking.
2705         Added some more G_UNLIKELY.
2706
2707 2006-06-12  Wim Taymans  <wim@fluendo.com>
2708
2709         * gst/gstbuffer.h:
2710         Avoid unneeded type checking.
2711         API: GST_BUFFER_IS_DISCONT
2712
2713         * gst/gstminiobject.h:
2714         Avoid type check in flag accessor.
2715
2716         * gst/gstelementfactory.h:
2717         * gst/gstplugin.h:
2718         * gst/gstpluginfeature.h:
2719         Add _CAST macros.
2720         API: GST_ELEMENT_FACTORY_CAST
2721         API: GST_PLUGIN_CAST
2722         API: GST_PLUGIN_FEATURE_CAST
2723
2724 2006-06-12  Wim Taymans  <wim@fluendo.com>
2725
2726         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2727         (gst_object_unref):
2728         Add G_UNLIKELY in type registration.
2729         Avoid type check in _ref/_unref since that is also
2730         done in glib.
2731
2732 2006-06-12  Wim Taymans  <wim@fluendo.com>
2733
2734         * gst/gsterror.c: (gst_g_error_get_type):
2735         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2736         (gst_static_pad_template_get_type):
2737         * gst/gsttaglist.c: (gst_tag_list_get_type):
2738         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2739         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2740         * gst/gsturi.c: (gst_uri_handler_get_type):
2741         * gst/gstvalue.c: (gst_date_get_type):
2742         * gst/gstxml.c: (gst_xml_get_type):
2743         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2744         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2745         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2746         Add G_UNLIKELY in type registration.
2747
2748 2006-06-12  Wim Taymans  <wim@fluendo.com>
2749
2750         * tools/gst-inspect.c: (print_signal_info):
2751         Properly print enum values.
2752
2753 2006-06-12  Wim Taymans  <wim@fluendo.com>
2754
2755         * gst/gstinfo.c: (gst_debug_set_active),
2756         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2757         * gst/gstinfo.h:
2758         Add some G_[UN]LIKELY.
2759         Maintain __gst_debug_min to avoid formatting the arguments of
2760         debug messages that will be dropped anyway to avoid a lot of 
2761         overhead from the debugging system.
2762
2763 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2764
2765         * po/POTFILES.in:
2766         * po/POTFILES.skip:
2767           add missing files containing translatable strings, tell intltool about
2768           one exception
2769
2770 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2771
2772         * tests/check/libs/.cvsignore:
2773         add test-binary to ignore list
2774
2775 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2776
2777         * docs/libs/gstreamer-libs-docs.sgml:
2778         reorder (put dp into a chapter) and indent
2779
2780 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2781
2782         * configure.ac:
2783           back to HEAD
2784
2785 === release 0.10.8 ===
2786
2787 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2788
2789         * configure.ac:
2790           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2791
2792 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2793
2794         * gst/gst.c: (init_post):
2795           move pid declaration to declaration block
2796
2797 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2798
2799         * gst/gst.c: (init_post):
2800           use _exit() instead of exit() in our forked child; this ensures
2801           that none of the registered exit handlers from whatever is using
2802           GStreamer get executed.  This fixes gnome-mixer-applet failing
2803           to load, because ORBit would shut down.
2804           Spotted by: Edward Hervey  <edward@fluendo.com>
2805           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2806           Fixes #344474
2807
2808 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2809
2810         * configure.ac:
2811           back to TRUNK
2812
2813 === release 0.10.7 ===
2814
2815 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2816
2817         * configure.ac:
2818           releasing 0.10.7, "Soepeke, ik zie ou"
2819
2820 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2821
2822         * configure.ac:
2823         * po/af.po:
2824         * po/az.po:
2825         * po/bg.po:
2826         * po/ca.po:
2827         * po/cs.po:
2828         * po/de.po:
2829         * po/en_GB.po:
2830         * po/fr.po:
2831         * po/it.po:
2832         * po/nb.po:
2833         * po/nl.po:
2834         * po/ru.po:
2835         * po/sq.po:
2836         * po/sr.po:
2837         * po/sv.po:
2838         * po/tr.po:
2839         * po/uk.po:
2840         * po/vi.po:
2841         * po/zh_CN.po:
2842         * po/zh_TW.po:
2843         * win32/common/config.h:
2844           0.10.6.2 prerelease
2845
2846 2006-06-07  Wim Taymans  <wim@fluendo.com>
2847
2848         * gst/gstindex.c: (gst_index_gtype_resolver):
2849         * tools/gst-xmlinspect.c: (print_plugin_info):
2850         Fix leak spotted by coverity checker. Fixes #343827
2851         Fix another other leak found by paolo borelli.
2852
2853 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2854
2855         * libs/gst/dataprotocol/dataprotocol.c:
2856         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2857         (gst_dp_version_get_type), (gst_dp_init),
2858         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2859         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2860         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2861         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2862         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2863         (gst_dp_packetizer_free):
2864         * libs/gst/dataprotocol/dataprotocol.h:
2865           API: add a GstDPPacketizer object, and create/free functions
2866           API: add GstDPVersion enum
2867           Add 1.0 event function that uses the string serialization
2868           Serialize more useful buffer flags
2869           Fixes #343988
2870
2871 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2872
2873         * tests/check/Makefile.am:
2874         * tests/check/gst/gstabi.c:
2875         * tests/check/gst/struct_ppc64.h:
2876         * tests/check/libs/libsabi.c:
2877         * tests/check/libs/struct_ppc64.h:
2878           add ppc64 structure sizes
2879
2880 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2881
2882         * tests/check/Makefile.am:
2883         * tests/check/gst/gstabi.c:
2884         * tests/check/gst/struct_x86_64.h:
2885         * tests/check/libs/libsabi.c:
2886         * tests/check/libs/struct_x86_64.h:
2887           generate and add structure size lists for x86_64
2888
2889 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2890
2891         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2892         * libs/gst/check/gstcheck.h:
2893           factor out the method from tests that checks size of structures,
2894           and add code to generate the header containing these sizes
2895         * tests/check/gst/gstabi.c: (GST_START_TEST):
2896         * tests/check/gst/struct_i386.h:
2897         * tests/check/libs/libsabi.c: (GST_START_TEST):
2898         * tests/check/libs/struct_i386.h:
2899           use it
2900
2901 2006-06-06  Michael Smith  <msmith@fluendo.com>
2902
2903         * gst/gstsegment.h:
2904           Don't use c++-style comments, fixes #343929
2905
2906 2006-06-05  Edward Hervey  <edward@fluendo.com>
2907
2908         * gst/gst.c:
2909         plugin_paths is not used if we build without registry support.
2910
2911         * gst/gstsegment.c: (gst_segment_copy): 
2912         _copy() was always returning NULL...
2913
2914 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2915
2916         * libs/gst/dataprotocol/dataprotocol.c:
2917         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2918         (gst_dp_packet_from_event):
2919           factor out CRC code
2920
2921 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2922
2923         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2924           make sure we unset caps
2925
2926 2006-06-02  Michael Smith  <msmith@fluendo.com>
2927
2928         * libs/gst/check/gstcheck.c: (gst_check_init),
2929         (gst_check_chain_func):
2930         * libs/gst/check/gstcheck.h:
2931           Add a cond/mutex to the check support lib, signal this whenever we
2932           add to the buffers list. This will allow tests to not busy-wait on
2933           the buffer-list.
2934
2935 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2936
2937         * libs/gst/dataprotocol/dataprotocol.c:
2938         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2939         (gst_dp_packet_from_event):
2940           factor out some common header init code
2941
2942 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2943
2944         * docs/libs/gstreamer-libs-sections.txt:
2945         * docs/libs/tmpl/gstdataprotocol.sgml:
2946         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2947         * libs/gst/dataprotocol/dataprotocol.h:
2948           API: make gst_dp_crc() public
2949
2950 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2951
2952         * plugins/indexers/gstindexers.c: (plugin_init):
2953         conditionally register fileindexer (fixes #343598)
2954
2955 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2956
2957         * gst/gsttagsetter.h:
2958         Can't cast ifaces to a class
2959
2960         * libs/gst/net/gstnetclientclock.h:
2961         * libs/gst/net/gstnettimeprovider.h:
2962         * plugins/elements/gstfakesink.h:
2963         * plugins/elements/gstfakesrc.h:
2964         * plugins/elements/gstfdsink.h:
2965         * plugins/elements/gstfdsrc.h:
2966         * plugins/elements/gstfilesink.h:
2967         * plugins/elements/gstfilesrc.h:
2968         * plugins/elements/gstidentity.h:
2969         * plugins/elements/gstqueue.h:
2970         * plugins/elements/gsttee.h:
2971         * plugins/indexers/gstfileindex.c:
2972         * plugins/indexers/gstmemindex.c:
2973         * tests/old/examples/plugins/example.h:
2974         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2975
2976 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2977
2978         * libs/gst/dataprotocol/dataprotocol.c:
2979         (gst_dp_header_from_buffer):
2980           make sure we zero the whole ABI-compatible area
2981
2982 2006-06-01  Wim Taymans  <wim@fluendo.com>
2983
2984         Patch by: Alessandro Decina <alessandro at nnva dot org>
2985
2986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2987         Make sure the EOS flag is cleared from pads after a flush
2988         or stop. Fixes #343538.
2989
2990         * tests/check/libs/collectpads.c: (GST_START_TEST),
2991         (gst_collect_pads_suite):
2992         Added test for collectpads reusage after EOS.
2993
2994 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2995
2996         * gst/gst.c:
2997          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2998         * win32/common/libgstbase.def:
2999          export gst_collect_pads_set_flushing
3000         * win32/common/libgstreamer.def:
3001          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3002          gst_value_fraction_multiply
3003         * win32/vs6/gst_inspect.dsp:
3004          add a link to intl.lib
3005
3006 2006-05-30  Wim Taymans  <wim@fluendo.com>
3007
3008         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3009         (gst_collect_pads_chain):
3010         Handle the case where a pad is removed from the collection
3011         that could cause the other pads to become collectable.
3012
3013 2006-05-30  Wim Taymans  <wim@fluendo.com>
3014
3015         * gst/gstelement.c:
3016         Clarify the use of _release_request_pad() and
3017         _get_request_pad() a bit better.
3018
3019         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3020         (gst_adapter_take_buffer):
3021         Fix some doc and comment typos.
3022
3023 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
3024
3025         * docs/gst/gstreamer-sections.txt:
3026         * docs/libs/gstreamer-libs-sections.txt:
3027           add declared symbols
3028
3029 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
3030
3031         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3032         Add debug that can be enabled using a #define at the top of the file,
3033         for dumping stats about how late/early we were when waking up from
3034         waiting on the clock.
3035
3036 2006-05-30  Wim Taymans  <wim@fluendo.com>
3037
3038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3039         When rebuilding the pad list, don't leak the previous list.
3040
3041 2006-05-30  Wim Taymans  <wim@fluendo.com>
3042
3043         Patch by: Lutz Mueller <lutz at topfrose dot de>
3044
3045         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3046         (gst_base_src_get_query_types), (gst_base_src_update_length):
3047         Publish supported query types.
3048         Update last_stop field in get_range mode so the position
3049         query works. Fixes #342321.
3050
3051 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
3052
3053         * docs/gst/gstreamer-sections.txt:
3054         * gst/gsttaglist.c: (_gst_tag_initialize):
3055         * gst/gsttaglist.h:
3056           API: add GST_TAG_PREVIEW_IMAGE (#343341).
3057
3058 2006-05-30  Wim Taymans  <wim@fluendo.com>
3059
3060         Patch by: Alessandro Decina <alessandro at nnva dot org>
3061
3062         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3063         Unlock mutex when removing an unknown pad.
3064         Fixes #343334.
3065
3066         * tests/check/Makefile.am:
3067         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3068         (push_event), (setup), (teardown), (GST_START_TEST),
3069         (gst_collect_pads_suite), (main):
3070         Added collecpads check, disabled for now as check crashes for
3071         some reason.
3072
3073 2006-05-29  Wim Taymans  <wim@fluendo.com>
3074
3075         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3076         Don't leak pads lists.
3077
3078 2006-05-29  Wim Taymans  <wim@fluendo.com>
3079
3080         * docs/libs/gstreamer-libs-sections.txt:
3081         * libs/gst/base/gstcollectpads.c:
3082         (gst_collect_pads_set_flushing_unlocked),
3083         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3084         (gst_collect_pads_stop):
3085         * libs/gst/base/gstcollectpads.h:
3086         API: gst_collect_pads_set_flushing()
3087         Added api to set the pads to flushing, useful for seeking
3088         code in elements using collectpads.
3089         Clear segment when receiving a flush.
3090
3091 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
3092
3093         * gst/gst.c: (add_path_func), (init_post):
3094           Don't scan registry paths passed via --gst-plugin-path immediately
3095           (will crash, because absolutely nothing is set up and no types are
3096           registered etc.); do this later in init_post(). Fixes #343057.
3097
3098 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3099
3100         * gst/gst.c: (init_post):
3101           if we have fork, fork while reading/rebuilding the registry
3102           so the parent doesn't take the hit of having all plugins loaded
3103           in memory.  Fixes #342777.
3104         * configure.ac:
3105           Check if we have fork()
3106         * win32/common/config.h.in:
3107           no fork() on win32
3108
3109 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3110
3111         * plugins/elements/gstelements.c:
3112         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3113         (gst_file_src_init), (gst_file_src_set_property),
3114         (gst_file_src_get_property), (gst_file_src_start):
3115         * plugins/elements/gstfilesrc.h:
3116           API: GstFileSrc::use-mmap
3117
3118         Add a use-mmap property to enable easier testing of all code paths.
3119         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3120         in the absence of gnomevfssrc. (Closes #340501)
3121
3122 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3123
3124         * tools/gst-inspect.c:
3125         Add missing include, removes warning of ngettext not being defined on
3126         some arches.
3127
3128 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3129
3130         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3131         Handle NULL input and output pointers silently as a failed conversion,
3132         rather than g_warnings.
3133
3134 2006-05-25  Wim Taymans  <wim@fluendo.com>
3135
3136         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3137         Initialize variable before using. Fixes #342820.
3138
3139 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3140
3141         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3142           Fix off-by-one bug that would only allow peeks of N-1 bytes
3143           from the start even if the buffer to typefind on contains
3144           in fact N bytes of data (makes vorbis typefinding from a
3145           vorbis identification header buffer work).
3146
3147         * tests/check/Makefile.am:
3148         * tests/check/libs/.cvsignore:
3149         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3150         (gst_typefindhelper_suite), (main), (foobar_typefind),
3151         (plugin_init):
3152           Add very basic unit test for gst_type_find_helper_for_buffer()
3153           that checks for the problem fixed above.
3154
3155 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3156
3157         * tools/gst-inspect.c: (print_interfaces),
3158         (print_element_properties_info), (print_element_list), (main):
3159           add more translatable strings
3160
3161 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
3162
3163         Patch by: Julien Moutte  <julien at moutte net>
3164
3165         * docs/gst/gstreamer-sections.txt:
3166           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3167           
3168         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3169         (gst_fake_sink_preroll):
3170         * plugins/elements/gstfakesink.h:
3171           API: Add new GstFakeSink::preroll-handoff signal (#337100).
3172
3173 2006-05-23  Wim Taymans  <wim@fluendo.com>
3174
3175         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3176         * gst/gstpad.h:
3177         Added _CUSTOM error and success GstFlowReturn that can be
3178         used be elements internally. 
3179         Added macro to check for SUCCESS flowreturns.
3180         API: GST_FLOW_CUSTOM_SUCCESS
3181         API: GST_FLOW_CUSTOM_ERROR
3182         API: GST_FLOW_IS_SUCCESS
3183
3184         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3185         Added check for GstFlowReturn sanity.
3186
3187 2006-05-23  Wim Taymans  <wim@fluendo.com>
3188
3189         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3190
3191         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3192         (gst_collect_pads_event):
3193         clear/reset segment info in FLUSH_STOP.
3194         Fixes #336929.
3195
3196 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3199         (gst_collect_pads_check_collected):
3200         Flush queued buffer on _stop(), fixes playing again (#342454)
3201
3202 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3203
3204         * tests/check/gst/gststructure.c: (GST_START_TEST),
3205         (gst_structure_suite):
3206           add a test for a complete structure
3207
3208 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3209
3210         * docs/faq/developing.xml:
3211         * docs/faq/faq.xml:
3212         * docs/faq/troubleshooting.xml:
3213         * docs/faq/using.xml:
3214           Some minor FAQ updates that won't change the fact that
3215           our FAQ is badly structured, full of information hardly
3216           anyone new to GStreamer needs to know and lacking lots
3217           of information people constantly ask for.
3218           
3219 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
3220
3221         * gst/gstpad.c: (gst_pad_set_caps):
3222           Short-circuit gst_pad_set_caps if setting the existing
3223           caps pointer again, and avoid printing debug and 
3224           reffing/unreffing the caps.
3225
3226         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3227           There's actually no need to set the caps before pushing -
3228           the acceptcaps method will handle it anyway.
3229
3230 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * docs/gst/gstreamer-sections.txt:
3233         * win32/common/libgstreamer.def:
3234         * gst/gstutils.c: (gst_element_seek_simple):
3235         * gst/gstutils.h:
3236           API: add gst_element_seek_simple() (#342238).
3237
3238 2006-05-18  Edward Hervey  <edward@fluendo.com>
3239
3240         * gst/gsttypefind.c: (gst_type_find_get_type):
3241         * gst/gsttypefind.h:
3242         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3243         registered for GstTypeFind pointers. This allows wrapping the structure
3244         in bindings (i.e. gst-python).
3245
3246 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3247
3248         * gst/gsttagsetter.c:
3249           Docs additions and fixes (see #339918).
3250
3251 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
3252
3253         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3254         The caps intersection algorithm can produce multiple copies of the
3255         caps. Until that is fixed, we need to simplify the result to be
3256         sure whether the allowed caps are fixed or not.
3257
3258         * plugins/elements/gstqueue.c: (gst_queue_init),
3259         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3260         (gst_queue_push_one):
3261         Proxied buffer alloc should not set the caps on the source pad.
3262         When pushing buffers, we always accept the caps change that triggers.
3263         This prevents negotiation errors caused by caps changing mid-stream 
3264         and then being refused on our source pad (because upstream is now
3265         refusing those caps).
3266
3267 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3268
3269         * tests/examples/helloworld/helloworld.c: (main):
3270           Must plug audioconvert and audioresample between decoder
3271           and audio sink.
3272
3273 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
3274
3275         * gst/gstregistryxml.c: (read_string), (load_pad_template),
3276         (load_feature), (load_plugin):
3277         Allow empty strings for some of the plugin fields so we don't 
3278         drop valid plugin entries that were written out correctly
3279         (Fixes #341479)
3280
3281 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
3282         
3283         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3284           Use g_remove and g_rename instead of remove and rename that don't 
3285           handle utf8 characters. rename was failing for users who had specific
3286           characters in their name then the registry was built at each 
3287           gstreamer init.
3288         * win32/vs6/gst_inspect.dsp:
3289         * win32/vs6/gst_launch.dsp:
3290         * win32/vs6/libgstbase.dsp:
3291         * win32/vs6/libgstcoreelements.dsp:
3292         * win32/vs6/libgstreamer.dsp:
3293           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
3294           build of libgstreamer and clean unused libraries in projects link 
3295           settings.
3296
3297 2006-05-17  Edward Hervey  <edward@fluendo.com>
3298
3299         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3300         The queue is not responsible for pushing an EOS when receiving a fatal
3301         flow error. It's up to the real element driving the pipeline to do that.
3302
3303 2006-05-16  Edward Hervey  <edward@fluendo.com>
3304
3305         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3306         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3307         buffer returned a fatal error. It should just send an EOS and stop
3308         its task.
3309         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3310         when pushing buffers on the queue and will be able to handle the event.
3311
3312 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3313
3314         * docs/manual/basics-bins.xml:
3315         * docs/manual/basics-init.xml:
3316           Fix typos and minor errors in sample code (#341856).
3317
3318 2006-05-16  Wim Taymans  <wim@fluendo.com>
3319
3320         * docs/design/part-qos.txt:
3321         Fix indexes in formulas to make more sense.
3322
3323 2006-05-15  Wim Taymans  <wim@fluendo.com>
3324
3325         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3326         Don't report POSITION based on clock time if sync is
3327         disabled in a sink.
3328
3329 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3330
3331         * gst/gstobject.h:
3332           Add cast to make compiler happy - refcount variable was a gint
3333           in GstObject but is a guint in GObject and g_atomic_int_get()
3334           wants a gint *.
3335
3336 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3337
3338         * gst/parse/Makefile.am:
3339           chain commands using &&, which also makes parallel make work
3340
3341 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3342
3343         * docs/gst/gstreamer-sections.txt:
3344         * gst/gstevent.c:
3345         * gst/gstevent.h:
3346         * gst/gstmessage.h:
3347           Minor docs fixes.
3348
3349 === release 0.10.6 ===
3350
3351 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3352
3353         * configure.ac:
3354           releasing 0.10.6, "Take the cannoli"
3355
3356 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3357
3358         * tools/gst-launch.c: (print_tag):
3359           Fix use of uninitialized variable in the hypothetical
3360           case that some broken plugin creates a GST_TAG_IMAGE
3361           tag containing a NULL buffer (#341667).
3362
3363 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3364
3365         * tools/gst-launch.c: (print_tag):
3366           Print something more intelligible for image tags when
3367           using the -t switch (#341556).
3368
3369 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3370
3371         * Makefile.am:
3372           updates for win32
3373         * configure.ac:
3374           define GST_MAJORMINOR so we have it available in win32/common/config.h
3375           Possibly remove it from our Makefile.am files later
3376         * win32/common/config.h:
3377         * win32/common/config.h.in:
3378           added GST_MAJORMINOR
3379         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3380         * win32/common/gstversion.h:
3381           updated
3382
3383 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3384
3385         * win32/MANIFEST:
3386           Update win32 files listing.
3387         * win32/common/gstversion.h:
3388           Add GST_MAJORMINOR definition.
3389         * win32/common/libgstreamer.def:
3390           Add new exported functions.
3391           
3392 2006-05-12  Michael Smith  <msmith@fluendo.com>
3393
3394         * gst/gstplugin.c: (gst_plugin_load_file):
3395           If an so file has no plugin entry point, unload the module.
3396
3397 2006-05-11  Wim Taymans  <wim@fluendo.com>
3398
3399         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3400         (gst_queue_set_property):
3401         Don't forget to signal the _chain or _loop function 
3402         when the queue size or thresholds change since that might
3403         cause them to make progres again.
3404
3405 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * gst/gstclock.c: (gst_clock_class_init):
3408         * gst/gstindex.c: (gst_index_class_init):
3409         * gst/gstobject.c: (gst_object_class_init):
3410         * gst/gstpad.c: (gst_pad_class_init):
3411         * gst/gstpipeline.c: (gst_pipeline_class_init):
3412         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3413         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3414         * libs/gst/base/gstbasetransform.c:
3415         (gst_base_transform_class_init):
3416         * libs/gst/net/gstnetclientclock.c:
3417         (gst_net_client_clock_class_init):
3418         * libs/gst/net/gstnettimeprovider.c:
3419         (gst_net_time_provider_class_init):
3420         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3421         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3422         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3423         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3424         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3425         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3426         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3427         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3428         * plugins/elements/gsttee.c: (gst_tee_class_init):
3429         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3430         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3431           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3432
3433 2006-05-11  Wim Taymans  <wim@fluendo.com>
3434
3435         * gst/gstbuffer.c: (_gst_buffer_initialize):
3436         Register subbufer along with the buffer type so that
3437         it does not accidentally gets registered from N
3438         different streaming threads in a non threadsafe way.
3439
3440 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3441
3442         * gst/gstbuffer.h:
3443         * gst/gstevent.h:
3444         * gst/gstmessage.h:
3445           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3446           gst_event_ref() and gst_message_ref() functions again
3447           (ugly hack, please do fix if there's a better way besides
3448           overrides.txt, which doesn't seem to work).
3449
3450 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3451
3452         * libs/gst/check/gstcheck.h:
3453           add an assert for setting state to avoid lots of repetitive code
3454           in the future
3455
3456 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3457
3458         * gst/gstvalue.c: (gst_value_serialize_flags):
3459           fix a leak if no flags are set
3460         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3461           fix leak in tests
3462
3463 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3464
3465         * docs/manual/basics-pads.xml:
3466           Expand a bit on caps and filtered links and update
3467           examples that were still using the no longer existing
3468           gst_pad_link_filtered() (#338206).
3469
3470 2006-05-10  Wim Taymans  <wim@fluendo.com>
3471
3472         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3473         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3474         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3475         (gst_collect_pads_stop):
3476         * libs/gst/base/gstcollectpads.h:
3477         No need to call _stop in _finalize.
3478         Iterate the main pad list in _finalize.
3479         Added some more debug.
3480         Free lists and data in the right order.
3481         Also free data whem doing _remove_pad when stopped for
3482         backward compatibility protect ::started with PAD_LOCK as
3483         well.
3484
3485 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3486
3487         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3488         (gst_structure_parse_value):
3489           add some comments
3490           rename a method so that it actually says what it does better
3491
3492 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3493
3494         * gst/gstevent.c: (_gst_event_initialize):
3495         * gst/gstformat.c: (_gst_format_initialize):
3496           make sure some essential types used by events are registered
3497           as part of gst_init()
3498         * gst/gstvalue.c: (gst_value_serialize_flags):
3499           if no flags are set, serialize them to a value that represents NONE
3500           so that deserializing them works
3501         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3502           add tests for serialization and deserialization of flags
3503
3504 2006-05-10  Wim Taymans  <wim@fluendo.com>
3505
3506         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3507         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3508         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3509         (gst_collect_pads_event), (gst_collect_pads_chain):
3510         Update docs.
3511         Better debug info.
3512         Catch and return errors from the collect function
3513         Refuse data on eos pads.
3514
3515 2006-05-10  Edward Hervey  <edward@fluendo.com>
3516
3517         * gst/gstinterface.h:
3518         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3519         GInterface type checking.
3520         They were previously using non-defined macros.
3521
3522 2006-05-09  Wim Taymans  <wim@fluendo.com>
3523
3524         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3525         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3526         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3527         (gst_collect_pads_start), (gst_collect_pads_stop),
3528         (gst_collect_pads_peek), (gst_collect_pads_pop),
3529         (gst_collect_pads_available), (gst_collect_pads_read),
3530         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3531         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3532         (gst_collect_pads_chain):
3533         * libs/gst/base/gstcollectpads.h:
3534         Clean up the mess that is collectpads, add comments and
3535         FIXMEs where needed.
3536         Maintain a separate pad list so we can add pads while
3537         collecting the other ones. For this we need a new separate 
3538         lock (see comics).
3539         Fix memory leak in finalize.
3540         Refactor some weird code to set/unset pad flushing flags, mark
3541         with comments.
3542         Don't crash in _available, _read, _flush when we're EOS.
3543
3544         * tests/check/libs/.cvsignore:
3545         Ignore adapter check binary.
3546
3547 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3548
3549         * gst/gstindex.c: (gst_index_resolver_get_type):
3550         * plugins/elements/gstfakesink.c:
3551         (gst_fake_sink_state_error_get_type):
3552         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3553         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3554         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3555           Const-ify GEnumValue arrays.
3556
3557 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3558
3559         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3560           Add test case for flags + gst_buffer_make_metadata_writable().
3561
3562 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3563
3564         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3565           gst_buffer_make_metadata_writable() should maintain the
3566           buffer flags (those that make sense at least) (see #340859).
3567
3568 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3569
3570         * tools/gst-inspect.c:
3571         * tools/gst-launch.c:
3572         * tools/gst-typefind.c:
3573         * tools/gst-xmlinspect.c:
3574         * tools/tools.h:
3575           Fix up includes: need to include stdlib.h in tools.h for exit().
3576
3577 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3578
3579         * gst/gsttaglist.c: (_gst_tag_initialize):
3580         * gst/gsttaglist.h:
3581           API: add GST_TAG_IMAGE tag (#340721).
3582
3583 2006-05-08  Wim Taymans  <wim@fluendo.com>
3584
3585         * gst/gstquery.c:
3586         Added some docs for the segment query.
3587
3588 2006-05-08  Wim Taymans  <wim@fluendo.com>
3589
3590         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3591         (gst_base_src_loop), (gst_base_src_change_state):
3592         Always push non-flushing serialized events in the streaming 
3593         thread.
3594
3595 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3596
3597         * gst/gsterror.c: (_gst_stream_errors_init):
3598           Add a missing error string.
3599
3600 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3601
3602         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3603         Add applied_rate to the debug
3604
3605         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3606         Copy applied_rate into the outgoing NEWSEGMENT event
3607
3608 2006-05-08  Wim Taymans  <wim@fluendo.com>
3609
3610         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3611
3612         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3613         (gst_base_sink_change_state):
3614         call ::unlock before taking the PREROLL_LOCK so we can safely
3615         handle elements that lock in ::render.
3616         Fixes #340174.
3617
3618 2006-05-08  Edward Hervey  <edward@fluendo.com>
3619
3620         * autogen.sh: (CONFIGURE_DEF_OPT): 
3621         Darwin's libtoolize is in fact called glibtoolize.
3622         Adding glibtoolize to the list of accepted names for libtoolize.
3623
3624 2006-05-08  Wim Taymans  <wim@fluendo.com>
3625
3626         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3627         Unify error handling, don't post an error message
3628         when a push() returns EOS but perform our normal EOS
3629         handling code. Fixes #340772.
3630
3631 2006-05-08  Wim Taymans  <wim@fluendo.com>
3632
3633         * docs/design/part-overview.txt:
3634         Make upsteam/downstream concepts more clear.
3635         Give an example of serialized/non-serialized events.
3636
3637         * docs/design/part-events.txt:
3638         * docs/design/part-streams.txt:
3639         Mention applied_rate.
3640
3641         * docs/design/part-trickmodes.txt:
3642         Mention applied rate, flesh out some more use cases.
3643
3644         * gst/gstevent.c: (gst_event_new_new_segment),
3645         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3646         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3647         (gst_event_parse_tag), (gst_event_new_buffer_size),
3648         (gst_event_parse_buffer_size), (gst_event_new_qos),
3649         (gst_event_parse_qos), (gst_event_parse_seek),
3650         (gst_event_new_navigation):
3651         * gst/gstevent.h:
3652         Add applied_rate field to NEWSEGMENT event.
3653         API: gst_event_new_new_segment_full()
3654         API: gst_event_parse_new_segment_full()
3655
3656         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3657         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3658         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3659         * gst/gstsegment.h:
3660         Add applied_rate to GstSegment structure.
3661         Make calculation of stream_time and running_time more correct
3662         wrt rate/applied_rate.
3663         Add some more docs.
3664         API: GstSegment::applied_rate field
3665         API: gst_segment_set_newsegment_full();
3666
3667         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3668         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3669         * libs/gst/base/gstbasetransform.c:
3670         (gst_base_transform_sink_eventfunc),
3671         (gst_base_transform_handle_buffer):
3672         Parse and use applied_rate in the GstSegment field.
3673
3674         * tests/check/gst/gstevent.c: (GST_START_TEST):
3675         Add check for applied_rate field.
3676
3677         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3678         (gstsegments_suite):
3679         Add more checks for various GstSegment operations.
3680
3681 2006-05-08  Wim Taymans  <wim@fluendo.com>
3682
3683         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3684         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3685         (gst_base_sink_get_position), (gst_base_sink_change_state):
3686         Store the sync time of the buffer end position separatly in a
3687         new variable eos_rtime so we can properly sync the EOS event.
3688         Fixes #340697.
3689         Fix the docs for gst_base_sink_set_qos_enabled().
3690         Don't set segment start to invalid value when we receive a 
3691         non TIME newsegment.
3692         get closer to handling position reporting for negative rates 
3693         correctly.
3694
3695 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3696
3697         * gst/gstcaps.c:
3698         Docs about how to print caps for debug purposes.
3699
3700         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3701         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3702
3703 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3704
3705         * gst/gstelement.c:
3706           use full enum names and preprend a '%' in docs strings to make recent 
3707           gtk-doc turn that into a link
3708
3709 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * docs/manual/basics-bins.xml:
3712         * docs/manual/basics-bus.xml:
3713         * docs/manual/basics-pads.xml:
3714           Some typo fixes, some additions, some clarifications. 
3715
3716 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3717
3718         * tools/gst-inspect.c: (main):
3719         * tools/gst-launch.c: (main):
3720         * tools/gst-run.c: (main):
3721         * tools/gst-typefind.c: (main):
3722         * tools/gst-xmlinspect.c: (main):
3723           Use the string passed to g_option_context_new() for
3724           what it's intended for - the program name is already
3725           printed elsewhere.
3726
3727 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         * tools/Makefile.am:
3730         * tools/gst-inspect.c: (main):
3731         * tools/gst-launch.c: (main):
3732         * tools/gst-xmlinspect.c: (main):
3733         * tools/tools.h:
3734           Add back --version command line option (#340460).
3735
3736         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3737           Add --version option and use GOption for argument parsing; refactor a
3738           bit; accept directories as arguments and recurse into them; lastly,
3739           print a decent error message when things go wrong.
3740
3741 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3742
3743         * docs/manual/basics-bins.xml:
3744         Don't mention GstThread (#340611)
3745         * docs/manual/basics-elements.xml:
3746         Update link to GObject tutorial (#340607)
3747         
3748 2006-05-05  Wim Taymans  <wim@fluendo.com>
3749
3750         * gst/gstbuffer.h:
3751         * gst/gstminiobject.c:
3752         Add note about refcounting and miniobject/buffer writeability
3753         to docs. Fixes #340604
3754
3755         * gst/gstelementfactory.h:
3756         Added some explanation about @klass.
3757
3758 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3759
3760         * docs/manual/intro-motivation.xml:
3761         * docs/manual/manual.xml:
3762         Avoid CORBA & Bonobo references (#340598)
3763
3764 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3765
3766         * docs/manual/basics-bus.xml:
3767         * docs/manual/basics-pads.xml:
3768         Fix up some inaccuracies and omissions (#340609)
3769         
3770 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3771
3772         * gst/gstghostpad.c:
3773           Small typo in docs (#340625)
3774
3775 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3776
3777         * gst/parse/Makefile.am:
3778           Make 'make -j' proof (see #340698).
3779
3780 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3781
3782         * configure.ac:
3783           Require GLib-2.8 here as well.
3784
3785 2006-05-05  Wim Taymans  <wim@fluendo.com>
3786
3787         * gst/glib-compat.c:
3788         * gst/gst.c: (init_pre):
3789         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3790         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3791         (gst_object_dispatch_properties_changed):
3792         * gst/gstobject.h:
3793         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3794         * gst/gststructure.c: (gst_structure_set_valist):
3795         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3796         Remove pre glib2.8 compatibility, fixes #340508
3797
3798 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3799
3800         * gst/gsttaglist.h:
3801           Mention type of tags in doc blurbs.
3802
3803 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3804
3805         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3806         (gst_pad_configure_src), (gst_pad_push):
3807         Restore acceptcaps checking behaviour now that good plugins have
3808         been released.
3809
3810 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3811
3812         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3813
3814         * gst/gst.c:
3815         * gst/gstbus.c:
3816         * gst/gstclock.c:
3817         * gst/gstevent.c:
3818         * gst/gstformat.c:
3819         * gst/gstmessage.c:
3820         * gst/gstparse.c:
3821         * gst/gstquery.c:
3822         * gst/gstutils.c:
3823         * gst/parse/Makefile.am:
3824         * libs/gst/base/gstadapter.c:
3825         * libs/gst/base/gstbasesrc.c:
3826         * libs/gst/base/gstpushsrc.c:
3827         * libs/gst/base/gsttypefindhelper.c:
3828         * plugins/elements/gstfakesrc.c:
3829         * plugins/elements/gstidentity.c:
3830           Make sure gstprivate.h and/or config.h are
3831           always included first, otherwise some of our
3832           defines (like _FILE_OFFSET_BITS) might be
3833           redefined in the system headers. Fixes build
3834           on opensolaris (#340016).
3835
3836 2006-05-04  Wim Taymans  <wim@fluendo.com>
3837
3838         * docs/libs/gstreamer-libs-sections.txt:
3839         API: addition: gst_adapter_take_buffer()
3840         
3841         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3842         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3843         (gst_adapter_available_fast):
3844         * libs/gst/base/gstadapter.h:
3845         Prepare for optimizing the hell out of this hugely inefficient
3846         piece of code. 
3847         Added gst_adapter_take_buffer() so we can at least start thinking
3848         about subbuffering and merging.
3849         Added some comments.
3850
3851         * tests/check/Makefile.am:
3852         * tests/check/libs/adapter.c: (GST_START_TEST),
3853         (gst_adapter_suite), (main):
3854         Added GstAdapter check.
3855
3856 2006-05-04  Wim Taymans  <wim@fluendo.com>
3857
3858         * docs/design/part-overview.txt:
3859         Fix some typos, add blurb about buffer flags.
3860
3861 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3862
3863         * docs/libs/gstreamer-libs-sections.txt:
3864           make sure GstBaseTransformClass shows up in the docs
3865         * libs/gst/base/gstbasetransform.c:
3866         * libs/gst/base/gstbasetransform.h:
3867           move docs so gtk-doc picks it up now
3868
3869 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3870
3871         * docs/libs/gstreamer-libs-sections.txt:
3872           add missing symbols to docs
3873
3874 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3875
3876         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3877           back out the newsegment handling change, see #340060 for ongoing
3878           discussion
3879
3880 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3881
3882         * tools/gst-run.c: (get_candidates), (main):
3883           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3884           work); fix typo in error message. Fixes #340079.
3885
3886 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3887
3888         * common/Makefile.am:
3889         * docs/Makefile.am:
3890         * docs/faq/Makefile.am:
3891         * docs/gst/Makefile.am:
3892         * docs/libs/Makefile.am:
3893         * docs/manual/Makefile.am:
3894         * docs/plugins/Makefile.am:
3895         * docs/pwg/Makefile.am:
3896         * docs/slides/Makefile.am:
3897         * docs/upload.mak:
3898         * common/upload.mak:
3899           move upload.mak to common
3900
3901 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3902
3903         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3904           add more asserts on refcounts
3905           do more cleanup at end of tests
3906           fix test leaks showing in FC5
3907
3908 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3909
3910         * plugins/elements/gsttypefindelement.c:
3911         (gst_type_find_element_handle_event):
3912         reverted wrong change and reflowed code to avoid others falling into
3913         this trap
3914
3915 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3916
3917         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3918           fix changelog entry about last collectpads change,
3919           add notes about proper fix
3920
3921 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3922
3923         * gst/gst.c:
3924         * gst/gstregistry.c: (gst_registry_scan_path_level),
3925         (gst_registry_scan_path):
3926         * gst/gstregistry.h:
3927           only write out registry if it has changed, fixes #338339
3928
3929 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3930
3931         * gst/gstbin.c:
3932         * gst/gstpipeline.c:
3933         * plugins/elements/gstcapsfilter.c:
3934         * plugins/elements/gstfakesink.c:
3935         * plugins/elements/gstfakesrc.c:
3936         * plugins/elements/gstfdsink.c:
3937         * plugins/elements/gstfdsrc.c:
3938         * plugins/elements/gstfilesink.c:
3939         * plugins/elements/gstfilesrc.c:
3940         * plugins/elements/gstidentity.c:
3941         * plugins/elements/gstqueue.c:
3942         * plugins/elements/gsttee.c:
3943         * plugins/elements/gsttypefindelement.c:
3944         (gst_type_find_element_handle_event):
3945           make GstElementDetails const
3946
3947 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3948
3949         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3950         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3951         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3952           more detailed debug and formatting cleanup,
3953           forward newsegments to src-pad (so that e.g. adder not eats them)
3954
3955 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3956
3957         * gst/gstutils.c: (gst_element_link_pads):
3958           cleanup double code
3959
3960 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3961
3962         * libs/gst/controller/gstcontroller.c:
3963         (gst_controller_sync_values):
3964           some little tuning
3965         * tests/check/libs/controller.c: (GST_START_TEST),
3966         (gst_controller_suite):
3967           a new test for live value handling
3968
3969 2006-04-28  Wim Taymans  <wim@fluendo.com>
3970
3971         * gst/gstutils.c: (push_and_ref):
3972         Added some more docs.
3973         Fix refcount issue whith gst_element_found_tags() helper 
3974         function. Fixes #338335
3975
3976         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3977         Added testsuite for gst_element_found_tags().
3978
3979 2006-04-28  Michael Smith  <msmith@fluendo.com>
3980
3981         * gst/gstvalue.c: (gst_value_serialize_flags):
3982           Avoid NULL dereference when trying to serialize flags containing
3983           invalid values.
3984
3985 2006-04-28  Michael Smith  <msmith@fluendo.com>
3986
3987         * plugins/elements/gsttypefindelement.c:
3988         (gst_type_find_element_handle_event):
3989           If we get EOS before any data is accumulated, don't use
3990           uninitialised local variables.
3991
3992 2006-04-28  Michael Smith  <msmith@fluendo.com>
3993
3994         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3995         (gst_dp_event_from_packet):
3996           Fixes in reading/writing events over GDP (not currently used?) - 
3997           dereferencing NULL events for unknown/invalid event types, memory
3998           leak, and change g_warning to GST_WARNING.
3999
4000 2006-04-28  Wim Taymans  <wim@fluendo.com>
4001
4002         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4003         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4004         (gst_base_sink_get_position), (gst_base_sink_change_state):
4005         When frame dropping is enabled, we should not ignore frames
4006         without a duration.
4007         Update some documentation.
4008
4009 2006-04-28  Wim Taymans  <wim@fluendo.com>
4010
4011         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4012         (gst_base_src_send_event), (gst_base_src_change_state):
4013         Documentation updates.
4014
4015 2006-04-28  Wim Taymans  <wim@fluendo.com>
4016
4017         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4018         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4019         handle EAGAIN, EINTR and short writes correctly. Also clean
4020         up some error cases, avoid a deadlock on bad file descriptors and
4021         use GST_DEBUG_OBJECT.
4022         Fixes #339843
4023
4024 2006-04-28  Wim Taymans  <wim@fluendo.com>
4025
4026         * gst/gstvalue.c: (gst_value_serialize_buffer),
4027         (gst_value_deserialize_buffer):
4028         Don't try to serialize a GValue with a NULL buffer. 
4029         Fixes #339821.
4030
4031         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4032         Added check for serialisation of NULL buffers.
4033
4034 2006-04-28  Wim Taymans  <wim@fluendo.com>
4035
4036         * gst/gstminiobject.c: (gst_value_take_mini_object):
4037         Taking a NULL miniobject is valid, fix the case where
4038         we try to unref the NULL miniobject.
4039
4040 2006-04-28  Wim Taymans  <wim@fluendo.com>
4041
4042         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4043
4044         * gst/gstbin.c: (gst_bin_handle_message_func):
4045         Update docs.
4046         Don't leak bin refcount when a state recalc is
4047         in progress and we delay another one #339808.
4048
4049 2006-04-28  Wim Taymans  <wim@fluendo.com>
4050
4051         * docs/design/part-TODO.txt:
4052         Mention QoS as an ongoing work item.
4053
4054         * docs/design/part-buffering.txt:
4055         New doc about buffering that needs to be fleshed out
4056         at some point.
4057
4058         * docs/design/part-qos.txt:
4059         More QoS policy for decoders/demuxers/transforms
4060
4061         * docs/design/part-trickmodes.txt:
4062         Small update.
4063
4064 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4065
4066         * configure.ac:
4067           back to HEAD
4068
4069 === release 0.10.5 ===
4070
4071 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
4072
4073         * configure.ac:
4074           releasing 0.10.5, "Fogo"
4075
4076 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4077
4078         patch by: Wim Taymans
4079
4080         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4081         (gst_pad_configure_src), (gst_pad_push):
4082         * gst/gstpipeline.c: (gst_pipeline_init):
4083           Fix internal data flow errors.  Fixes #338711.
4084
4085 2006-04-12  Wim Taymans  <wim@fluendo.com>
4086
4087         * tests/check/gst/gstelement.c: (GST_START_TEST):
4088         Don't leak the factory.
4089
4090 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4091
4092         * configure.ac:
4093         * win32/common/config.h:
4094           prerelease
4095
4096 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4097
4098         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4099         (gst_controller_unset_all):
4100           Free allocated GstTimedValues when freeing list nodes.
4101           Should fix leaks 'make check-valgrind' complains about.
4102
4103         * win32/common/libgstcontroller.def:
4104           Add gst_controller_unset_all.
4105
4106 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
4107
4108         * docs/libs/gstreamer-libs-sections.txt:
4109         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4110         (gst_controller_unset_all):
4111         * libs/gst/controller/gstcontroller.h:
4112         API: Added new method gst_controller_unset_all()
4113         fixed gst_controller_unset()
4114         * tests/check/libs/controller.c: (GST_START_TEST),
4115         (gst_controller_suite):
4116         Added two testcases for new and fixed method
4117
4118 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4121           MSG_DONTWAIT is not defined on Cygwin, so work
4122           around that (fixes #317048).
4123           
4124 2006-04-11  Wim Taymans  <wim@fluendo.com>
4125
4126         * gst/gstelementfactory.c: (gst_element_register),
4127         (gst_element_factory_create), (gst_element_factory_make):
4128         Some cleanups.
4129         Fixed a FIXME.
4130         Updated docs (Fixes #131079)
4131
4132         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4133         Small cleanups.
4134
4135         * tests/check/gst/gstelement.c: (GST_START_TEST),
4136         (gst_element_suite):
4137         Added testcase for elementfactory class field.
4138
4139 2006-04-10  Wim Taymans  <wim@fluendo.com>
4140
4141         * gst/gstsegment.c:
4142         Added some more docs.
4143
4144         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4145         (gst_base_sink_reset_qos):
4146         Calculate more accurate rate values.
4147
4148 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
4149
4150         * gst/gst_private.h:
4151           add a new #ifdef to use __declspec(dllimport) only for
4152           other modules and not for gstreamer core
4153         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4154           use gst_guint64_to_gdouble for conversion
4155         * win32/common/libgstreamer.def:
4156           add new exported functions
4157         * win32/vs6/gst_inspect.dsp:
4158         * win32/vs6/gst_launch.dsp:
4159         * win32/vs6/libgstbase.dsp:
4160         * win32/vs6/libgstcontroller.dsp:
4161         * win32/vs6/libgstcoreelements.dsp:
4162         * win32/vs6/libgstdataprotocol.dsp:
4163         * win32/vs6/libgstnet.dsp:
4164           update project files
4165
4166 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4167
4168         * gst/gstbuffer.c: (gst_subbuffer_class_init):
4169         * gst/gstclock.c: (gst_clock_class_init):
4170         * gst/gstelement.c: (gst_element_class_init):
4171         * gst/gstindex.c: (gst_index_class_init):
4172         * gst/gstindexfactory.c: (gst_index_factory_class_init):
4173         * gst/gstobject.c: (gst_object_class_init),
4174         (gst_signal_object_class_init):
4175         * gst/gstpad.c: (gst_pad_class_init):
4176         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4177         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4178         * gst/gstregistry.c: (gst_registry_class_init):
4179         * gst/gstsystemclock.c: (gst_system_clock_class_init):
4180         * gst/gsttask.c: (gst_task_class_init):
4181         * gst/gstxml.c: (gst_xml_class_init):
4182         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4183         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4184         (gst_base_src_loop):
4185         * libs/gst/controller/gstcontroller.c:/
4186         (_gst_controller_class_init):
4187         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4188         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4189         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4190         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4191         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4192         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4193
4194 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
4195
4196         * gst/gstpad.c: (gst_pad_link):
4197           Must set peer pads before calling the link function, otherwise
4198           a task started from a link function might get a flow-not-linked
4199           result when trying to push because the other thread where the
4200           linking happens hasn't had a chance to set the peers yet. This
4201           might happen for example when a queue gets linked to a downstream
4202           element, as queue starts a streaming task when its source pad
4203           gets linked. Happens in real life when playing back flac/musepack
4204           files in playbin (#332390).
4205           
4206 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4207
4208         * gst/gstindex.h:
4209         * gst/gstxml.h:
4210         * libs/gst/base/gstadapter.h:
4211         * libs/gst/base/gstbasesink.h:
4212         * libs/gst/base/gstbasesrc.h:
4213         * libs/gst/base/gstbasetransform.h:
4214         * libs/gst/base/gstcollectpads.h:
4215         * libs/gst/base/gstpushsrc.h:
4216         Fix broken GObject macros
4217
4218 2006-04-07  Wim Taymans  <wim@fluendo.com>
4219
4220         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4221         Initialize start and stop times, thanks valgrind.
4222
4223 2006-04-07  Wim Taymans  <wim@fluendo.com>
4224
4225         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4226         Be a bit nicer to badly behaving upstream elements that expect
4227         us to deal with non TIME segments and timestamps (such as fakesrc
4228         in the testsuite).
4229
4230 2006-04-07  Wim Taymans  <wim@fluendo.com>
4231
4232         * gst/gstbus.c:
4233         Small documentation clarification about the signal watch.
4234
4235         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4236         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4237         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4238         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4239         (gst_base_sink_get_position_last),
4240         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4241         Convert and store timestamps in stream time and running time, the
4242         raw timestamps are not usefull, also document this better.
4243         Use different window sizes for good and bad QoS observations so
4244         we react to badness a little quicker.
4245         Keep track of the amount of rendered and dropped buffers.
4246         Send QoS timestamps in running time.
4247
4248         * libs/gst/base/gstbasetransform.c:
4249         (gst_base_transform_sink_eventfunc),
4250         (gst_base_transform_handle_buffer):
4251         Compare QoS timestamps against running time.
4252
4253 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4254
4255         * gst/gstpad.c:
4256           Typo fixes in docs.
4257
4258 2006-04-06  Michael Smith  <msmith@fluendo.com>
4259
4260         * gst/gstpad.c: (gst_pad_set_property):
4261           Use g_value_get_object() instead of g_value_dup_gst_object(),
4262           to avoid double-reffing the pad template (which we then sink,
4263           so this worked previously if (and only if) the pad template
4264           was floating.
4265
4266         * gst/gstpadtemplate.c: (gst_pad_template_init),
4267         (gst_pad_template_pad_created):
4268           Never return floating references to pad templates, create
4269           them as initially-sunken.
4270
4271           Document an extra function (and make this stop sinking our
4272           pad template, since that is now guaranteed to do nothing,
4273           since we created it sunken).
4274
4275         * gst/gstghostpad.c:
4276           Fix docs typo.
4277
4278 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4279
4280         * gst/gstinfo.c: (__gst_in_valgrind):
4281           Add some newlines.
4282
4283         * plugins/elements/gsttypefindelement.c:
4284         (gst_type_find_element_chain):
4285           Don't leak buffer caps.
4286
4287 2006-04-06  Michael Smith  <msmith@fluendo.com>
4288
4289         * gst/parse/grammar.y:
4290           Fix a leak in parse-launch for any source-or-sink named element 
4291           references used.
4292
4293         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4294           Unref the pipeline if it exists after we've failed parsing.
4295
4296 2006-04-05  Michael Smith  <msmith@fluendo.com>
4297
4298         * gst/gstpipeline.c: (gst_pipeline_init):
4299           When we create a pipeline bus, initially create it in flushing mode.
4300           Fixes leaks in at least one test, and makes a new pipeline work the
4301           same as one that has gone to READY and then back to NULL.
4302
4303         * gst/gstelement.c:
4304           Typo fix in docs.
4305
4306 2006-04-05  Michael Smith  <msmith@fluendo.com>
4307
4308         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4309           Unref a pad we reffed.
4310         * tests/check/gst/gstutils.c: (GST_START_TEST):
4311           Unref bins
4312
4313 2006-04-05  Michael Smith  <msmith@fluendo.com>
4314
4315         * gst/gstquery.c: (gst_query_set_formats),
4316         (gst_query_set_formatsv):
4317           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4318
4319 2006-04-05  Michael Smith  <msmith@fluendo.com>
4320
4321         * tests/check/generic/sinks.c: (GST_START_TEST):
4322           Fix a variety of memleaks in sinks check, which are only sometimes 
4323           shown by running the tests under valgrind (weird?).
4324
4325 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4326
4327         * docs/version.entities.in:
4328           Fix the substituted entity name after thomas' changes on the
4329           weekend.
4330
4331 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4332
4333         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4334         VALGRIND_PRINTF
4335         
4336 2006-04-05  Andy Wingo  <wingo@pobox.com>
4337
4338         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4339
4340         * libs/gst/base/gstbasetransform.c
4341         (gst_base_transform_sink_eventfunc): When resetting our segment on
4342         FLUSH_STOP, also update the flag saying we haven't seen a
4343         newsegment.
4344
4345 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4346
4347         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4348
4349         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4350         (gst_plugin_check_license):
4351           minor clean-ups: G_DEFINE_TYPE already takes care of the
4352           parent_class stuff, no need to do it twice. Mark array of
4353           license strings as constant. (#337103)
4354           
4355 2006-04-04  Michael Smith  <msmith@fluendo.com>
4356
4357         * tools/gst-inspect.c: (print_element_list):
4358           Free the right plugin list; fixes a memory leak.
4359
4360 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4361
4362         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4363
4364         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4365           Don't error out on empty buffers (#336945).
4366           
4367 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4368
4369         * docs/libs/gstreamer-libs-sections.txt:
4370         * gst/gsttaglist.c:
4371         * libs/gst/base/gstbasesink.c:
4372         * libs/gst/base/gstbasesink.h:
4373         * libs/gst/base/gstbasesrc.c:
4374         * libs/gst/base/gstbasesrc.h:
4375           Documentation updates. Make BaseSink and BaseSrc docs contain the
4376           class structure so that people can actually see the prototypes for
4377           virtual functions they're supposed to be overriding.
4378
4379 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4380
4381         * plugins/elements/gsttypefindelement.c:
4382         (gst_type_find_element_chain):
4383           More debug info; when skipping typefinding, send cached
4384           events in all cases.
4385
4386 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4387
4388         * configure.ac:
4389           use new AS_VERSION and AS_NANO macros
4390         * gst/gst-i18n-lib.h:
4391         * gst/gst.c:
4392         * gst/gsterror.c:
4393         * gst/gstversion.h.in:
4394         * win32/common/config.h:
4395         * win32/common/config.h.in:
4396           update accordingly
4397
4398 2006-03-31  Michael Smith  <msmith@fluendo.com>
4399
4400         * plugins/elements/gsttypefindelement.c:
4401         (gst_type_find_element_chain):
4402           Do not typefind content if the buffers already have caps.
4403           Neccesary for icydemux (#333657), and the right thing to do anyway.
4404
4405 2006-03-30  Wim Taymans  <wim@fluendo.com>
4406
4407         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4408         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4409         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4410         (gst_base_sink_record_qos_observation),
4411         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4412         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4413         (gst_base_sink_change_state):
4414         More QoS measurements as described in the design doc.
4415         Get rid of ringbuffer with observations, running average is
4416         more simple and equally good.
4417         Calculates valid proportion now.
4418         Added beginning of flood measurement.
4419
4420 2006-03-29  Wim Taymans  <wim@fluendo.com>
4421
4422         * docs/design/part-qos.txt:
4423         * gst/gstclock.c:
4424         Small documentation updates and additions.
4425
4426 2006-03-29  Wim Taymans  <wim@fluendo.com>
4427
4428         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4429         (gst_base_src_send_event), (gst_base_src_loop),
4430         (gst_base_src_change_state):
4431         Perform the EOS logic when we reach the segment stop position.
4432         Fix compilation on gcc4.1
4433
4434 2006-03-29  Wim Taymans  <wim@fluendo.com>
4435
4436         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4437
4438         * plugins/elements/gstqueue.c: (gst_queue_init),
4439         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4440         (gst_queue_set_property):
4441         * plugins/elements/gstqueue.h:
4442         In queue, when EOS is received, if minimum threshold > max_size -
4443         current_level, there is chance that queue blocks forever in conditional
4444         item del wait. This is because the queue is not emptied completely due
4445         to minimum threshold.  Here is another approach. Instead of setting
4446         cur_levels to max in EOS, just zero all minimum threshold levels. This
4447         should make sure that queue gives out all data. When going to READY
4448         (stop) state, just reset the original minimum threshold levels.
4449         Fixes #336336.
4450
4451 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4454         (gst_type_find_element_handle_event),
4455         (gst_type_find_element_send_cached_events),
4456         (gst_type_find_element_change_state):
4457         * plugins/elements/gsttypefindelement.h:
4458           When typefinding is done in push mode, we should cache
4459           events we receive during typefinding instead of just
4460           dropping them (e.g. newsegment, custom events from
4461           dvdreadsrc etc.) and then send them out once we've
4462           determined the type of the stream (and decodebin
4463           has had a chance to plug in a decoder/demuxer).
4464           
4465 2006-03-27  Wim Taymans  <wim@fluendo.com>
4466
4467         * docs/design/part-qos.txt:
4468         First QoS ideas.
4469
4470 2006-03-27  Wim Taymans  <wim@fluendo.com>
4471
4472         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4473
4474         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4475         (gst_base_src_send_event), (gst_base_src_change_state):
4476         Handle element seek correctly when we are streaming.
4477         Fixes #326998.
4478
4479 2006-03-24  Michael Smith  <msmith@fluendo.com>
4480
4481         * docs/faq/gst-uninstalled:
4482           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4483           allow you to correctly run intalled applications built against old 
4484           core, using plugins that require updated core (e.g. running
4485           installed totem against a full uninstalled gstreamer stack)
4486
4487 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4488
4489         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4490         more debug details
4491
4492 2006-03-24  Wim Taymans  <wim@fluendo.com>
4493
4494         * docs/gst/gstreamer-sections.txt:
4495         Rearrange the order of the methods so that related methods
4496         are grouped together in sections.
4497
4498 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4499
4500         * gst/gstelement.c:
4501           Little clarification in the docs
4502
4503 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4504
4505         * docs/README:
4506         formatting fix
4507         * plugins/elements/gstidentity.c:
4508         * plugins/elements/gstqueue.c:
4509         * plugins/elements/gsttee.c:
4510         * plugins/elements/gsttypefindelement.c:
4511         GST_ELEMENT_DETAILS formatting
4512
4513 2006-03-24  Wim Taymans  <wim@fluendo.com>
4514
4515         * libs/gst/base/gstbasesink.h:
4516         Only add fields, not insert or we break ABI.
4517
4518 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4519
4520         * win32/common/libgstbase.def:
4521         * win32/common/libgstreamer.def:
4522           Update, add recently added functions.
4523
4524 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4525
4526         * docs/gst/gstreamer-sections.txt:
4527         * gst/gstutils.c: (gst_pad_query_peer_position),
4528         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4529         * gst/gstutils.h:
4530           API: add some new utility functions:
4531            - gst_pad_query_peer_position()
4532            - gst_pad_query_peer_duration()
4533            - gst_pad_query_peer_convert()
4534           
4535 2006-03-23  Wim Taymans  <wim@fluendo.com>
4536
4537         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4538         (gst_base_sink_init), (gst_base_sink_finalize),
4539         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4540         (gst_base_sink_set_property), (gst_base_sink_get_property),
4541         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4542         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4543         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4544         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4545         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4546         (gst_base_sink_preroll_object), (gst_base_sink_event),
4547         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4548         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4549         (gst_base_sink_query), (gst_base_sink_change_state):
4550         Decouple max-lateness and the fact that QoS messages are generated
4551         with a new property (qos).
4552         added API: GstBaseSink::async_play()
4553         Add vmethod so subclasses can be notified of ASYNC playing
4554         state changes.
4555         Collect timestamp start and stop to report better current
4556         position in EOS/PLAYING/PAUSED/READY/NULL.
4557         Refactor QoS/frame dropping and other measurements.
4558         API: GstBaseSrc::qos
4559         Fixes #326311
4560
4561         * libs/gst/base/gstbasesink.h:
4562         Added Private struct.
4563         API: gst_base_sink_set_qos_enabled()
4564         API: gst_base_sink_is_qos_enabled()
4565
4566 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4567
4568         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4569           If compiling against GLib-2.8 or newer, try to read the
4570           registry file using GMappedFile first before falling back
4571           to fopen() + fread() (#332151).
4572
4573 2006-03-22  Wim Taymans  <wim@fluendo.com>
4574
4575         * gst/gstinfo.c: (gst_debug_set_active),
4576         (gst_debug_category_set_threshold):
4577         Disable debugging unless explicitly activated.
4578         Fixes #335480.
4579
4580 2006-03-22  Wim Taymans  <wim@fluendo.com>
4581
4582         * gst/gstelement.c: (gst_element_set_locked_state),
4583         (gst_element_dispose):
4584         Cleanup the error case.
4585
4586         * gst/gstobject.c: (gst_object_dispose):
4587         print a critical when some object was disposed with
4588         a parent, also revive the object since it might
4589         crash the parent.
4590
4591 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4592
4593         * tools/gst-launch.1.in:
4594           Fix another typo.
4595
4596 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4597
4598         * configure.ac:
4599         * tests/check/Makefile.am:
4600           disable some tests when we don't have a registry
4601         * tests/check/gst/gstutils.c: (gst_utils_suite):
4602           don't build the part that needs parsing
4603
4604 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4605
4606         * gst/Makefile.am
4607         * tests/examples/Makefile.am:
4608           fix --disable-parse build
4609
4610 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4611
4612         * tools/gst-feedback.1.in:
4613           Fix typo: s/feeback/feedback/ (#133494).
4614
4615 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4616
4617         * tools/Makefile.am:
4618         * tools/gst-launch.1.in:
4619           Add FILES section and correct entry about GST_REGISTRY_PATH
4620           environment variable (#133495; #133494).
4621
4622 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4623
4624         * tools/Makefile.am:
4625         * tools/gst-md5sum.1.in:
4626         * tools/gst-md5sum.c:
4627           Remove gst-md5sum and man page (the md5sink element
4628           required was removed ages ago)
4629
4630 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * gst/gststructure.c: (gst_structure_id_set_value):
4633           Make sure that string fields in structures/taglists
4634           contain valid UTF-8 - we don't want to pass rubbish to
4635           applications because of a buggy plugin (cp. #334167).
4636
4637 2006-03-21  Edward Hervey  <edward@fluendo.com>
4638
4639         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4640         (gst_bin_handle_message_func):
4641         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4642         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4643         (gst_element_set_bus_func):
4644         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4645         * gst/gstminiobject.c: (gst_value_set_mini_object),
4646         (gst_value_take_mini_object):
4647         * gst/gstpad.c: (gst_pad_set_pad_template):
4648         * gst/gstpipeline.c: (gst_pipeline_dispose),
4649         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4650         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4651         (gst_collect_pads_chain):
4652         * libs/gst/net/gstnettimeprovider.c:
4653         (gst_net_time_provider_set_property):
4654         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4655         It's in fact all issues with gst_*object_replace().
4656
4657 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4658
4659         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4660         
4661         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4662         * pkgconfig/gstreamer-check.pc.in:
4663           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4664
4665 2006-03-21  Edward Hervey  <edward@fluendo.com>
4666
4667         * gst/gstbuffer.h:
4668         * gst/gstevent.h:
4669         * gst/gstmessage.h:
4670         gst_[buffer|event|message]_ref() macros are replaced by a static
4671         inline functions because gcc-4.1 will about if the return value
4672         isn't used.
4673         * tests/check/gst/gstevent.c: (event_probe):
4674         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4675
4676 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4677
4678         * gst/gstutils.h:
4679         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4680         the type' case. (Closes: #335195 for now). In the future, when we
4681         depend on GLib 2.10, we could also intern the type name using
4682         g_intern_static_string()
4683
4684 2006-03-20  Wim Taymans  <wim@fluendo.com>
4685
4686         * gst/gstbin.c: (gst_bin_handle_message_func),
4687         (bin_query_max_init), (bin_query_position_fold),
4688         (bin_query_position_done), (gst_bin_query):
4689         Position query should also take max of all streams.
4690
4691 2006-03-20  Wim Taymans  <wim@fluendo.com>
4692
4693         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4694         (gst_fake_src_finalize):
4695         Fix leaks in fakesrc.
4696
4697         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4698         Fix leaks in the testcase.
4699
4700 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4701
4702         * gst/gst_private.h:
4703           add win32 specific import decoration(__declspec(dllimport)) 
4704           for all extern GstDebugCategory * variables
4705         * win32/common/libgstbase.def:
4706         * win32/common/libgstcontroller.def:
4707         * win32/common/libgstreamer.def:
4708           Add some exports, remove empty lines
4709         * win32/common/libgstdataprotocol.def:
4710         * win32/common/libgstdataprotocol.dsp:
4711         * win32/common/libgstnet.def:
4712         * win32/common/libgstnet.dsp:
4713           new project files and exportation files added
4714         
4715 2006-03-19  Wim Taymans  <wim@fluendo.com>
4716
4717         * tests/check/libs/basesrc.c: (eos_event_counter):
4718         Use proper return value for probe.
4719
4720 2006-03-17  Wim Taymans  <wim@fluendo.com>
4721
4722         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4723         (gst_pad_push):
4724         Don't leak buffers, caps and pads on negotiation errors.
4725
4726 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4727
4728         * docs/faq/cvs.xml:
4729         * docs/faq/dependencies.xml:
4730         * docs/faq/developing.xml:
4731         * docs/faq/faq.xml:
4732         * docs/faq/general.xml:
4733         * docs/faq/getting.xml:
4734         * docs/faq/legal.xml:
4735         * docs/faq/troubleshooting.xml:
4736         * docs/faq/using.xml:
4737         Faq review and update.
4738
4739 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4740
4741         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4742         (gst_pad_push):
4743         Don't pound the cpu to pieces by checking get_caps when accept_caps
4744         is called with the same caps as the pad already has.
4745         Use GST_DEBUG_OBJECT when outputting caps change information.
4746
4747 2006-03-15  Wim Taymans  <wim@fluendo.com>
4748
4749         * gst/gstclock.c: (gst_clock_class_init):
4750         Fix docs.
4751
4752 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4753
4754         * gst/gstbuffer.h:
4755         Documentation fix.
4756
4757         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4758         (gst_pad_accept_caps), (gst_pad_configure_sink),
4759         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4760         Make the default acceptcaps behaviour be to check the requested 
4761         caps against the gst_pad_get_caps output. 
4762
4763         Ensure that gst_pad_accept_caps is used to check caps when a pad
4764         doesn't have a setcaps function, so that pads automatically refuse 
4765         caps that they don't allow in their pad template. (Fixes #332986)
4766
4767         When a buffer with attached caps is pushed, ensure that the source 
4768         pad receives those caps even if the element didn't call
4769         gst_pad_set_caps first.
4770
4771 2006-03-15  Wim Taymans  <wim@fluendo.com>
4772
4773         * libs/gst/base/gstadapter.c:
4774         Add some docs.
4775
4776 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * win32/common/libgstbase.def:
4779         * win32/common/libgstcontroller.def:
4780         * win32/common/libgstreamer.def:
4781           Add a whole bunch of missing functions (#334434).
4782
4783 2006-03-14  Wim Taymans  <wim@fluendo.com>
4784
4785         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4786         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4787         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4788         Better debug info when we receive a segment event.
4789         Reorganize a bit so we can pass the get_times() results around.
4790         Use the segment format when calculating the running time.
4791         Don't do QoS is sync is disabled or we have no clock or the
4792         element does not want us to sync to the clock.
4793         Don't drop buffers if QoS is disabled for now.
4794
4795 2006-03-14  Wim Taymans  <wim@fluendo.com>
4796
4797         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4798         Marked the stats property as unimplemented so people don't get
4799         wild ideas.
4800         Add debug message when regression goes wrong.
4801         Added some more docs.
4802
4803 2006-03-14  Wim Taymans  <wim@fluendo.com>
4804
4805         * gst/gstsegment.c: (gst_segment_to_stream_time):
4806         Return correct return type in case of errors.
4807
4808 2006-03-14  Wim Taymans  <wim@fluendo.com>
4809
4810         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4811           Don't segfault on invalid formats.
4812
4813 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4816           Can't use gst_segment_to_running_time() when the segment
4817           is not in GST_TIME_FORMAT (like with filesink, for example).
4818           Stops flac encoding pipelines from spewing critical warnings
4819           at EOS (#331248).
4820           
4821 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4822
4823         * gst/gstpipeline.c: (gst_pipeline_class_init):
4824           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4825
4826         * plugins/elements/gsttypefindelement.c:
4827         (gst_type_find_element_handle_event):
4828           Don't try to typefind empty streams.
4829
4830 2006-03-14  Wim Taymans  <wim@fluendo.com>
4831
4832         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4833         (gst_base_sink_do_qos):
4834         Separate QoS calculation.
4835         Only drop buffers when lateness is bigger than the 
4836         duration of the buffer.
4837
4838 2006-03-13  Wim Taymans  <wim@fluendo.com>
4839
4840         * gst/gstpipeline.c: (gst_pipeline_set_property),
4841         (gst_pipeline_get_property), (do_pipeline_seek),
4842         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4843         (gst_pipeline_get_delay):
4844         Don't deadlock when reading properties.
4845
4846 2006-03-13  Wim Taymans  <wim@fluendo.com>
4847
4848         * libs/gst/base/gstbasetransform.c:
4849         (gst_base_transform_class_init), (gst_base_transform_init),
4850         (gst_base_transform_sink_event),
4851         (gst_base_transform_sink_eventfunc),
4852         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4853         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4854         (gst_base_transform_set_property),
4855         (gst_base_transform_get_property),
4856         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4857         (gst_base_transform_set_qos_enabled),
4858         (gst_base_transform_is_qos_enabled):
4859         * libs/gst/base/gstbasetransform.h:
4860         Make basetransform virtual method for src events too.
4861         Handle QOS in basetransform.
4862         API: gst_base_transform_update_qos()
4863         API: gst_base_transform_set_qos_enabled()
4864         API: gst_base_transform_is_qos_enabled()
4865
4866 2006-03-13  Wim Taymans  <wim@fluendo.com>
4867
4868         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4869         (gst_base_sink_do_sync):
4870         Small cleanups.
4871         Use QOS debug category.
4872
4873 2006-03-13  Wim Taymans  <wim@fluendo.com>
4874
4875         * plugins/elements/gstqueue.c:
4876         Very small doc update.
4877
4878 2006-03-13  Wim Taymans  <wim@fluendo.com>
4879
4880         * gst/gst_private.h:
4881         * gst/gstinfo.c: (_gst_debug_init):
4882         Added QOS debug category
4883
4884 2006-03-13  Wim Taymans  <wim@fluendo.com>
4885
4886         * docs/gst/gstreamer-sections.txt:
4887         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4888         * gst/gstbin.h:
4889         * gst/gstbus.c: (gst_bus_class_init):
4890         * gst/gstbus.h:
4891         * gst/gstclock.c:
4892         * gst/gstelement.c: (gst_element_set_locked_state):
4893         * gst/gstsegment.c:
4894         Documentation updates.
4895
4896         * gst/gstpipeline.c: (gst_pipeline_get_type),
4897         (gst_pipeline_class_init), (gst_pipeline_init),
4898         (gst_pipeline_dispose), (gst_pipeline_set_property),
4899         (gst_pipeline_get_property), (do_pipeline_seek),
4900         (gst_pipeline_send_event), (gst_pipeline_change_state),
4901         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4902         (gst_pipeline_get_delay):
4903         * gst/gstpipeline.h:
4904         Added methods for setting the delay.
4905         API: gst_pipeline_set_delay()
4906         API: gst_pipeline_get_delay()
4907         Add pipeline debug category
4908         Various cleanups.
4909         Updated docs.
4910         Don't reset stream time when seek failed.
4911
4912 2006-03-13  Wim Taymans  <wim@fluendo.com>
4913
4914         * docs/design/draft-klass.txt:
4915         * docs/design/part-clocks.txt:
4916         * docs/design/part-events.txt:
4917         * docs/design/part-gstbin.txt:
4918         * docs/design/part-gstpipeline.txt:
4919         * docs/design/part-messages.txt:
4920         * docs/design/part-negotiation.txt:
4921         * docs/design/part-overview.txt:
4922         * docs/design/part-preroll.txt:
4923         * docs/design/part-seeking.txt:
4924         * docs/design/part-states.txt:
4925         * docs/design/part-streams.txt:
4926         Documentation updates.
4927
4928 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4929
4930         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4931         us to leak strings...
4932
4933 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4934
4935         * libs/gst/net/gstnettimeprovider.c:
4936           fix docs
4937         * win32/common/config.h:
4938           update
4939
4940 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4941
4942         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4943
4944         * configure.ac:
4945           Don't check for libgnomeui (leftover from old examples
4946           that aren't built or disted any longer) (#334303).
4947           
4948 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4949
4950         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4951         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4952           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4953           there's no space left on the device.
4954
4955 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * gst/gstclock.h:
4958           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4959           to cast the input to GstClockTime before comparing with
4960           another GstClockTime value.
4961
4962 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4963
4964         * configure.ac:
4965           back to trunk
4966
4967 === release 0.10.4 ===
4968
4969 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4970
4971         * configure.ac:
4972           releasing 0.10.4, "Light"
4973
4974 2006-03-10  Michael Smith  <msmith@fluendo.com>
4975
4976         * libs/gst/dataprotocol/dataprotocol.c:
4977           Fix docs for dataprocotol to not get the return types completely
4978           wrong for a few functions.
4979
4980 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4981
4982         * docs/gst/gstreamer-sections.txt:
4983         * gst/gstpipeline.c: (gst_pipeline_class_init),
4984         (gst_pipeline_init), (gst_pipeline_set_property),
4985         (gst_pipeline_get_property), (gst_pipeline_change_state),
4986         (gst_pipeline_set_auto_flush_bus),
4987         (gst_pipeline_get_auto_flush_bus):
4988         * gst/gstpipeline.h:
4989           Add new API: gst_pipeline_set_auto_flush_bus() and
4990           gst_pipeline_get_auto_flush_bus() to disable automatic
4991           flushing of the pipeline's GstBus when going from READY
4992           to NULL state (#332045).
4993
4994 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4995
4996         * docs/gst/gstreamer-sections.txt:
4997         * gst/gsturi.c: (gst_uri_has_protocol):
4998         * gst/gsturi.h:
4999            Add new API: gst_uri_has_protocol() (#333779).
5000
5001 2006-03-09  Wim Taymans  <wim@fluendo.com>
5002
5003         * gst/gstclock.c: (gst_clock_entry_new),
5004         (gst_clock_id_compare_func), (gst_clock_id_wait),
5005         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5006         (gst_clock_init), (gst_clock_get_internal_time),
5007         (gst_clock_set_master), (do_linear_regression),
5008         (gst_clock_add_observation), (gst_clock_set_property):
5009         * gst/gstclock.h:
5010         Review docs.
5011         Small cleanups.
5012         Fix a possible segfault when the window-size is made smaller.
5013         Calculate jitter before performing the clock wait. Ideally
5014         the clock implementation should calculate jitter but we need
5015         API breakage for that.
5016
5017         * gst/gstsystemclock.c: (gst_system_clock_init):
5018         Docs review.
5019         
5020         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5021         Remove leftover else
5022
5023         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5024         (gst_systemclock_suite):
5025         Added check to test GST_CLOCK_DIFF.
5026
5027 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5030         (gst_type_find_helper_get_range):
5031           If we are provided with the size, we should implement
5032           GstTypeFind::get_length, so that typefind functions who
5033           want to can actually peek at the middle of a file.
5034
5035 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
5036
5037         * docs/manual/advanced-dataaccess.xml:
5038           Add some very very basic error checking.
5039
5040         * docs/pwg/appendix-checklist.xml:
5041           Some updates to the list of things to check when writing an element.
5042
5043 2006-03-08  Wim Taymans  <wim@fluendo.com>
5044
5045         * docs/design/part-element-transform.txt:
5046         Added some docs about the design of tranform elements.
5047
5048         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5049         (gst_base_src_loop), (gst_base_src_change_state):
5050         Mark buffers with the DISCONT flag.
5051
5052 2006-03-08  Michael Smith  <msmith@fluendo.com>
5053
5054         * gst/gstregistry.h:
5055         * gst/gstregistryxml.c: (gst_registry_save),
5056         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5057         (gst_registry_xml_save_pad_template),
5058         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5059         (gst_registry_xml_write_cache):
5060           Rewrite registry-saving to avoid race conditions and check for
5061           failed writes.
5062
5063 2006-03-08  Wim Taymans  <wim@fluendo.com>
5064
5065         * libs/gst/base/gstbasetransform.c:
5066         (gst_base_transform_transform_caps),
5067         (gst_base_transform_transform_size),
5068         (gst_base_transform_prepare_output_buffer),
5069         (gst_base_transform_get_unit_size),
5070         (gst_base_transform_buffer_alloc),
5071         (gst_base_transform_handle_buffer),
5072         (gst_base_transform_change_state):
5073         Cleanups, separate normal flow from errors, add sensible
5074         DEBUG lines.
5075         Don't try to renegotiate when allocating an output buffer.
5076         Also copy DISCONT buffer flag when copying a buffer.
5077         Reset the transform after we finish streaming, not during.
5078
5079 2006-03-08  Wim Taymans  <wim@fluendo.com>
5080
5081         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5082         Use last buffer timestamp in qos message.
5083
5084 2006-03-07  Wim Taymans  <wim@fluendo.com>
5085
5086         Patch by: Christophe Fergeau
5087
5088         * docs/pwg/advanced-tagging.xml:
5089         * docs/pwg/building-pads.xml:
5090           fixes #333416
5091
5092 2006-03-07  Wim Taymans  <wim@fluendo.com>
5093
5094         * docs/libs/gstreamer-libs-sections.txt:
5095         Added basesink new methods.
5096
5097         * gst/gstevent.c:
5098         * gst/gstevent.h:
5099         Docs updates. Flesh out the QoS docs.
5100
5101         * libs/gst/base/gstadapter.c:
5102         Small doc clarification about ownership and flushing.
5103
5104         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5105         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5106         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5107         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5108         * libs/gst/base/gstbasesink.h:
5109         API additions: 
5110         Added new methods to allow subclass to control max-lateness 
5111         and sync.
5112         Generate very basic QoS events based on last sync observation.
5113         Updated docs, fix typo, added some QoS blurb.
5114
5115         * libs/gst/base/gstbasesrc.c:
5116         Remove obsolete _get_state() calls from docs.
5117
5118 2006-03-07  Wim Taymans  <wim@fluendo.com>
5119
5120         * docs/libs/gstreamer-libs-sections.txt:
5121         * libs/gst/base/gstbasetransform.h:
5122         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5123         Fix docs for GstBaseSrc.
5124
5125 2006-03-07  Wim Taymans  <wim@fluendo.com>
5126
5127         * docs/gst/gstreamer-sections.txt:
5128         * gst/gstbuffer.h:
5129         * gst/gstvalue.c:
5130         * libs/gst/base/gstbasetransform.h:
5131         Small documentation fixes.
5132
5133 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5134
5135         * gst/gstvalue.c:
5136           Document thread-unsafety of gst_value_register_foo_func()
5137           when used at the same time as gst_value_foo() (#322628).
5138
5139 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5140
5141         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5142         (gst_push_src_check_get_range):
5143           Push sources don't support pull mode by default.
5144
5145 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5148         (gst_base_src_init), (gst_base_src_pad_check_get_range),
5149         (gst_base_src_default_check_get_range):
5150         * libs/gst/base/gstbasesrc.h:
5151           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5152           provide default implementation, and rename
5153           gst_base_src_check_get_range() to
5154           gst_base_src_pad_check_get_range() for clarity.
5155
5156 2006-03-06  Wim Taymans  <wim@fluendo.com>
5157
5158         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5159         Make property overridable.
5160
5161 2006-03-06  Wim Taymans  <wim@fluendo.com>
5162
5163         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5164         (gst_base_sink_init), (gst_base_sink_set_property),
5165         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5166         * libs/gst/base/gstbasesink.h:
5167         API addition: Make max-lateness a property.
5168
5169 2006-03-06  Wim Taymans  <wim@fluendo.com>
5170
5171         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5172         (gst_base_sink_do_sync), (gst_base_sink_render_object):
5173         Don't ever draw a frame that is >10ms late.
5174
5175 2006-03-06  Michael Smith  <msmith@fluendo.com>
5176
5177         * gst/gstmessage.c: (_gst_message_copy):
5178           When copying a message, set the parent_refcount of the enclosed
5179           structure to point at the copy, not the original message.
5180
5181 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5182
5183         Patch by: Christophe Fergeau
5184
5185         * gst/gstutils.h:
5186           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5187           usable in c++ code (#333417)
5188
5189 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5190
5191         * gst/gstclock.h:
5192           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5193
5194 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
5195
5196         * libs/gst/base/gstbasetransform.c:
5197         (gst_base_transform_transform_caps):
5198           Make sure caps are writable before passing them to
5199           gst_caps_append().
5200
5201 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5202
5203         * gst/gsterror.h:
5204           Fix some minor docs errors.
5205
5206 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5207
5208           Patch by: Ross Burton <ross at burtonini dot com>
5209
5210         * gst/gsterror.c: (_gst_resource_errors_init):
5211         * gst/gsterror.h:
5212           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5213
5214 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5215
5216         * gst/gst.c:
5217         Add a check and output a g_warning when GStreamer is built
5218         against GLib 2.6 but running against 2.8 or higher, and vice 
5219         versa. (Closes: #323542)
5220
5221 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5222
5223         * gst/parse/parse.l:
5224           Commit patch for parse_launch syntax from #331255. Removes 
5225           support for quoted strings and mimetypes when writing filtered 
5226           caps. See the bug report for more details - I'm pretty sure this
5227           obscure feature is not in use by _anyone_ anywhere.
5228
5229           With this simple change, the size of the gstreamer.so here 
5230           drops from 2193KB to 1565KB.
5231
5232 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5233
5234         * plugins/elements/gsttypefindelement.h:
5235         * plugins/elements/gsttypefindelement.c:
5236         (gst_type_find_element_src_event), (start_typefinding),
5237         (stop_typefinding), (gst_type_find_element_handle_event),
5238         (gst_type_find_element_chain),
5239         (gst_type_find_element_chain_do_typefinding):
5240           Use gst_type_find_helper_for_buffer() for chain-based
5241           typefinding.
5242
5243 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5244
5245         * plugins/elements/gsttypefindelement.c:
5246         (gst_type_find_element_class_init),
5247         (gst_type_find_element_set_property),
5248         (gst_type_find_element_get_property):
5249           Deprecate "maximum" property (not only was it only taken into
5250           account for typefinding in push-mode anyway, it also was never
5251           actually possible to set it in the first place because the
5252           property was registered with the numeric property ID for the
5253           "minimum" property). Register "maximum" property correctly,
5254           for the sake of future copy'n'pasters. Remove some cruft
5255           from property get/set functions.
5256
5257 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5258
5259         * plugins/elements/gsttypefindelement.c:
5260         (gst_type_find_element_activate):
5261           Use gst_type_find_helper_get_range() here, so we
5262           can honour the "minimum" property and also emit
5263           the signal with the correct probability of the found caps.
5264
5265 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
5266
5267         * docs/libs/gstreamer-libs-sections.txt:
5268         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5269         (helper_find_suggest), (gst_type_find_helper_get_range),
5270         (gst_type_find_helper):
5271         * libs/gst/base/gsttypefindhelper.h:
5272           New API: gst_type_find_helper_get_range() (#333042).
5273
5274 2006-03-02  Michael Smith  <msmith@fluendo.com>
5275
5276         * gst/gstregistryxml.c: (load_feature):
5277           Asserting on a failure to read part of the registry is Not Cool.
5278           Just log a warning and return NULL (which is already handled)
5279
5280 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
5281
5282         * win32/common/libgstbase.def:
5283           added export of gst_type_find_helper_for_buffer
5284         * win32/common/libgstbase.def:
5285           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5286           gst_ghost_pad_get_target
5287
5288 2006-02-28  Wim Taymans  <wim@fluendo.com>
5289
5290         * docs/design/draft-klass.txt:
5291         We use Filter now.
5292         Added Connector to mark elements that are only used to
5293         allow pipeline connections.
5294         Moved Debug to extra feature since most of them are 
5295         functionally something else.
5296
5297 2006-02-28  Wim Taymans  <wim@fluendo.com>
5298
5299         * docs/design/draft-klass.txt:
5300         Some updates and clarifications.
5301
5302 2006-02-28  Wim Taymans  <wim@fluendo.com>
5303
5304         * docs/design/draft-klass.txt:
5305         Proposal for klass field values.
5306
5307         * docs/design/part-streams.txt:
5308         Start of a doc describing stream anatomy.
5309
5310 2006-02-28  Wim Taymans  <wim@fluendo.com>
5311
5312         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5313         Help the compiler a bit with type registration.
5314         Use existing forward cod path instead of duplicating it when 
5315         handling a message.
5316         
5317         * gst/gstbus.c: (gst_bus_get_type):
5318         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5319         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5320         * gst/gstclock.c: (gst_clock_get_type):
5321         * gst/gstelement.c: (gst_element_get_type),
5322         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5323         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5324         * gst/gstminiobject.c: (gst_mini_object_get_type):
5325         * gst/gstpad.c: (gst_pad_get_type):
5326         * gst/gstsegment.c: (gst_segment_get_type):
5327         * gst/gststructure.c: (gst_structure_get_type):
5328         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5329         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5330         * gst/gstvalue.c:
5331         Help compiler with type registration.
5332
5333         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5334         Small doc update.
5335
5336 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5337
5338         * plugins/elements/gsttypefindelement.c:
5339         (gst_type_find_element_handle_event):
5340           When we get an EOS event and have not found a type yet
5341           (most likely because we had not yet accumulated
5342           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5343           type given the data we have so far. Fixes typefinding
5344           for very short streams again, most notably quicktime
5345           redirections as used on Apple's trailer site (#331701).
5346
5347 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5348
5349         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5350         (gst_type_find_helper):
5351           Try typefinding factories with the highest rank first.
5352
5353 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5354
5355         * docs/libs/gstreamer-libs-docs.sgml:
5356         * docs/libs/gstreamer-libs-sections.txt:
5357         * libs/gst/base/gsttypefindhelper.c:
5358           Add section for typefind helper and add documentation
5359           for the old and the new function.
5360
5361 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5362
5363         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5364         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5365         (gst_type_find_helper_for_buffer):
5366         * libs/gst/base/gsttypefindhelper.h:
5367           New API: gst_type_find_helper_for_buffer() (#332723).
5368           
5369 2006-02-27  Michael Smith  <msmith@fluendo.com>
5370
5371         Patch by: Loïc Minier
5372
5373         * configure.ac:
5374         * docs/Makefile.am:
5375         * docs/slides/Makefile.am:
5376           prevent CVS directories getting disted.
5377
5378 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5379
5380         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5381           Use the REFCOUNTING category for caps refcounting.
5382           
5383 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5384
5385         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5386           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5387
5388 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5389
5390         * plugins/elements/gsttypefindelement.c:
5391         (gst_type_find_element_activate):
5392           Use gst_pad_check_pull_range() before _activate_pull()
5393           to avoid unnecessary open/close (see #331690).
5394
5395 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5396
5397         * gst/gstutils.c:
5398           Docs enhancement: make it crystal clear what the
5399           gst_pad_add_*_probe() callbacks should look like.
5400
5401 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * libs/gst/base/gstbasesrc.c:
5404           Document how applications can stop recording from
5405           live sources (see #330996).
5406
5407 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5408
5409         * tests/check/Makefile.am:
5410         * tests/check/libs/basesrc.c: (eos_event_counter),
5411         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5412         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5413         (gst_basesrc_suite), (main):
5414           ... and add some tests for the base source EOS stuff.
5415
5416 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5417
5418         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5419           Test case originally showed the problem fixed below,
5420           but was then amended. Add checks back at the place
5421           where they used to be.
5422
5423 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5424
5425         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5426         (gst_base_src_init), (gst_base_src_loop),
5427         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5428         (gst_base_src_change_state):
5429         * libs/gst/base/gstbasesrc.h:
5430           Don't unconditionally send EOS when going from PAUSED to
5431           READY state, esp. make sure we don't send two EOS events
5432           in some cases (e.g. one when reaching EOS and one when
5433           going from PAUSED to READY). Also, we don't want to send
5434           EOS events when operating in pull mode. However, we do
5435           want to send an EOS event when shutting down a live
5436           source explicitly, for example (fixes #330996).
5437           
5438 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5439
5440         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5441           Update src->read_position after a seek when not using mmap.
5442           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5443
5444 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5445
5446         * gst/Makefile.am:
5447         * gst/gstparse.h:
5448         * gst/gstutils.c:
5449         * gst/gstutils.h:
5450         Make things work with --disable-parse as they do with 
5451         --disable-load-save - the symbols involved disappear, but the
5452         header is still installed and GST_DISABLE_PARSE is included via
5453         gstconfig.h
5454
5455 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5456
5457         * libs/gst/base/gstbasetransform.c:
5458         (gst_base_transform_change_state): Fix a stupid bug. I was 
5459         sure I compiled that.
5460
5461 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5462
5463         * gst/gstpad.c: (gst_pad_set_blocked_async):
5464         * gst/gstutils.c: (gst_pad_add_data_probe),
5465         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5466         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5467         (gst_pad_remove_buffer_probe): Make those function act on the
5468         ghostpad target when it's a ghostpad. (Closes #331727)
5469
5470 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5471
5472         * libs/gst/base/gstbasetransform.c:
5473         (gst_base_transform_change_state): Make basetransform reusable.
5474         (Closes #331898)
5475
5476 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5477
5478         * docs/random/release:
5479         Move the current documentation of how to do a release to the top
5480         of the file.
5481
5482         * gst/gstbin.c: (gst_bin_class_init),
5483         (gst_bin_handle_message_func):
5484         Allow multiple state-recalculation threads. (Closes #328873)
5485
5486 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5487
5488         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5489         * gst/gstpad.c: (gst_pad_set_event_function),
5490         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5491         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5492         2 strings. You can't use the STR_NULL macro on that.
5493
5494 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5495
5496         * gst/gstpad.c: (gst_pad_set_event_function),
5497         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5498         (gst_pad_set_getcaps_function)
5499         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5500           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5501           So now, we can use --gst-debug-level=5 on Windows
5502         * win32/common/libgstcontroller.def:
5503           Added export of gst_controller_init
5504         * win32/vs6/libgstcontroller.dsp:
5505           Fixed Release post build configuration
5506
5507 2006-02-17  Wim Taymans  <wim@fluendo.com>
5508
5509         * tests/check/gst/gstquery.c: (GST_START_TEST):
5510         Added another check.
5511
5512 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5513
5514         * plugins/elements/gsttypefindelement.c: (find_peek):
5515           We can do peeks at non-zero offsets, as long as they
5516           fall within the buffer we have.
5517
5518 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5519
5520         * tests/check/Makefile.am:
5521         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5522         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5523         (parse_suite), (main):
5524           Add testsuite for parse launch syntax
5525
5526 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5527
5528         * plugins/elements/gsttypefindelement.c:
5529         (gst_type_find_element_chain):
5530           When typefinding is unsuccessful in the chain function, don't
5531           error out immediately. Only error out with NO_CAPS_FOUND if
5532           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5533           otherwise simply wait for more data so we can try typefinding
5534           again with more data later. Also, don't attempt to typefind
5535           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5536           this should improve typefinding from network sources where the
5537           size of the first buffer can be somewhat random.
5538
5539 2006-02-14  Wim Taymans  <wim@fluendo.com>
5540
5541         * docs/gst/gstreamer-sections.txt:
5542         * gst/gstpadtemplate.c:
5543         * gst/gstpadtemplate.h:
5544         Fix padtemplate docs, fixes #328805.
5545
5546 2006-02-14  Wim Taymans  <wim@fluendo.com>
5547
5548         * tools/gst-launch.c: (main):
5549         NO_PREROLL is not an ERROR so don't send confusing messages
5550         to the user.
5551
5552 2006-02-14  Wim Taymans  <wim@fluendo.com>
5553
5554         Patch by: Torsten Schoenfeld
5555
5556         * gst/gstregistry.c: (gst_registry_get_default),
5557         (_gst_registry_cleanup):
5558         Protect default registry with lock and ref/sink it.
5559         Fixes #324818
5560
5561 2006-02-14  Wim Taymans  <wim@fluendo.com>
5562
5563         * gst/gstbuffer.c:
5564         * gst/gstquery.c: (gst_query_list_add_format),
5565         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5566         (gst_query_parse_formats_nth):
5567         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5568         Docs fixes.
5569
5570 2006-02-14  Wim Taymans  <wim@fluendo.com>
5571
5572         * docs/gst/gstreamer-sections.txt:
5573         Reworked query docs.
5574
5575         * gst/gstquery.c: (gst_query_new_formats),
5576         (gst_query_list_add_format), (gst_query_set_formats),
5577         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5578         (gst_query_parse_formats_nth):
5579         * gst/gstquery.h:
5580         Flesh out formats query, added some new methods.
5581         Fix part of #324398.
5582
5583         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5584         Added query creation tests.
5585
5586 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5587
5588         * gst/gstpad.c: (fixate_value):
5589         Add a default fixation for fraction lists.
5590
5591 2006-02-13  Wim Taymans  <wim@fluendo.com>
5592
5593         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5594         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5595         (gst_task_join):
5596         * gst/gsttask.h:
5597         Detect and warn for obvious deadlocks. fixes #320340
5598         Fix error case where lock was not released.
5599
5600         * tests/check/Makefile.am:
5601         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5602         (task_func), (gst_element_suite), (main):
5603         Add task check.
5604
5605 2006-02-13  Wim Taymans  <wim@fluendo.com>
5606
5607         * docs/gst/gstreamer-sections.txt:
5608         * gst/gstbus.c:
5609         Add new functions to docs.
5610
5611 2006-02-13  Wim Taymans  <wim@fluendo.com>
5612
5613         * docs/design/part-TODO.txt:
5614         Updated TODO list, basesrc supports seeking to non-bytes
5615         formats.
5616
5617         * docs/design/part-element-sink.txt:
5618         Update docs.
5619
5620         * gst/gstbin.c: (bin_replace_message),
5621         (gst_bin_handle_message_func):
5622         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5623         * gst/gstevent.c: (gst_event_finalize):
5624         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5625         (gst_pad_send_event):
5626         Use shiny new _TYPE_NAME macros.
5627
5628         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5629         Move debug statement up.
5630
5631         * gst/gstelement.c: (gst_element_set_locked_state):
5632         Add some debugging.
5633
5634 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5635
5636         * docs/gst/gstreamer-sections.txt:
5637         * gst/gstmessage.h:
5638         * gst/gstquery.h:
5639           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5640           macros (#330906). Also, document the already existing
5641           GST_QUERY_TYPE macro.
5642
5643 2006-02-13  Wim Taymans  <wim@fluendo.com>
5644
5645         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5646         (event_probe), (GST_START_TEST):
5647         Only events up to the pipeline EOS are counted, there are
5648         some more when going to NULL currently which we don't care
5649         about for now.
5650
5651 2006-02-13  Wim Taymans  <wim@fluendo.com>
5652
5653         * gst/gstpad.c: (gst_pad_send_event):
5654         Correctly check flushing and emit probes. fixes #330125
5655
5656 2006-02-10  Andy Wingo  <wingo@pobox.com>
5657
5658         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5659         structure.
5660         (gst_bus_init): Cache the location of the private data in the
5661         instance structure.
5662         (gst_bus_enable_sync_message_emission) 
5663         (gst_bus_disable_sync_message_emission): Implement new public
5664         functions.
5665         (gst_bus_post): Emit the sync-message signal if the user asked for
5666         it. Fixes #330684.
5667
5668         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5669         location of the bus-private structure.
5670         (gst_bus_enable_sync_message_emission)
5671         (gst_bus_disable_sync_message_emission): API addition
5672
5673 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5674
5675         Patch by: Vincent Torri
5676
5677         * docs/pwg/building-boiler.xml:
5678         PWG patch from #326800
5679
5680 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5681
5682         * configure.ac:
5683         * docs/Makefile.am:
5684         * docs/design/Makefile.am:
5685           Dist design docs.
5686
5687 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5688
5689         * configure.ac:
5690           back to CVS
5691
5692 === release 0.10.3 ===
5693
5694 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5695
5696         * configure.ac:
5697           releasing 0.10.3, "Like a virgin"
5698
5699 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5700
5701         * configure.ac:
5702           2nd prerelease of 0.10.3
5703           Bump libtool versioning.
5704
5705 2006-02-07  Andy Wingo  <wingo@pobox.com>
5706
5707         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5708         update last_stop if we're in TIME format and the timestamp is
5709         valid.
5710
5711         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5712         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5713         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5714         If we get a new newsegment with a different format, adapt
5715         accordingly.
5716
5717         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5718         of 0. Not a problem, really.
5719
5720         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5721         warn if sync=true.
5722
5723 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5724
5725         * configure.ac:
5726           Prelease of 0.10.3
5727
5728 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5729
5730         * win32/vs7:
5731           project files updated to the default vs7 configuration
5732         * win32/common/libgstbase.def:
5733         * win32/common/libgstreamer.def:
5734           added new symbols,
5735           removed empty lines,
5736           sorted all exported symbols alphabetically
5737         * win32/common/dirent.c:
5738         * win32/common/dirent.h:
5739         * win32/common/gchar.h:
5740           use windows line end.
5741           
5742 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5743
5744         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5745           Send EOS event when stopping.
5746
5747 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5748
5749         * docs/README:
5750           Tell folks what to do if the plugin-foobar.xml file
5751           hasn't been generated for a newly-added plugin.
5752
5753 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5754
5755         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5756         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5757         (gst_collect_pads_start), (gst_collect_pads_stop),
5758         (gst_collect_pads_event): Collectpads now holds a reference
5759         to the GstPad that was added. Indeed we don't want to look
5760         at pads that might just go away with no warning...
5761
5762 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5763
5764         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5765         (gst_collect_pads_start), (gst_collect_pads_stop),
5766         (gst_collect_pads_event), (gst_collect_pads_chain):
5767         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5768         Mark Nauwelaerts's patch on bug #328491.
5769
5770 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5771
5772         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5773         (gst_utils_suite):
5774           Add some simple tests for gst_parse_bin_from_description() and
5775           gst_bin_find_unconnected_pad() (#329069).
5776
5777 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5778
5779         * tools/gst-launch.c: (event_loop), (main):
5780           Catch errors during preroll (#320084).
5781
5782 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * plugins/elements/gsttypefindelement.c:
5785         (gst_type_find_element_activate):
5786           Post TYPE_NOT_FOUND error message when typefinding
5787           is unsuccessful in the activate function as well.
5788
5789 2006-02-02  Wim Taymans  <wim@fluendo.com>
5790
5791         * docs/design/part-element-sink.txt:
5792         Updated doc.
5793
5794 2006-02-02  Wim Taymans  <wim@fluendo.com>
5795
5796         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5797         (gst_base_sink_render_object),
5798         (gst_base_sink_queue_object_unlocked):
5799         Only keep track of prerollable items when we are 
5800         prerolling.
5801         Before rendering after preroll, always check if we
5802         have queued items.
5803         Added some more debugging.
5804
5805 2006-02-02  Wim Taymans  <wim@fluendo.com>
5806
5807         * gst/gstelement.c: (gst_element_continue_state),
5808         (gst_element_set_state_func), (gst_element_change_state):
5809         Fixed #326576, been running this for quite some time with
5810         no regressions at all.
5811
5812 2006-02-02  Wim Taymans  <wim@fluendo.com>
5813
5814         * common/gst.supp:
5815         Added more suppressions
5816
5817 2006-02-02  Wim Taymans  <wim@fluendo.com>
5818
5819         * docs/design/part-element-sink.txt:
5820         Updated document.
5821
5822         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5823         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5824         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5825         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5826         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5827         (gst_base_sink_preroll_object),
5828         (gst_base_sink_queue_object_unlocked),
5829         (gst_base_sink_queue_object), (gst_base_sink_event),
5830         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5831         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5832         (gst_base_sink_get_position), (gst_base_sink_change_state):
5833         * libs/gst/base/gstbasesink.h:
5834         Totally refactored matching the design doc.
5835         Use two segments, one to clip incomming buffers and another to
5836         perform sync.
5837         Handle queueing correctly, bypass the queue when playing.
5838         Make EOS cancelable.
5839         Handle errors correctly when operating in pull based mode.
5840
5841         * tests/check/elements/fakesink.c: (GST_START_TEST),
5842         (fakesink_suite):
5843         Added new check for sinks.
5844
5845 2006-02-02  Wim Taymans  <wim@fluendo.com>
5846
5847         * gst/gstsegment.c: (gst_segment_clip):
5848         No reason to refuse to clip when start == -1
5849
5850 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5851
5852         * docs/README:
5853         * docs/manual/intro-basics.xml:
5854         * docs/manual/intro-preface.xml:
5855         * docs/manual/manual.xml:
5856         * docs/pwg/advanced-dparams.xml:
5857         * docs/pwg/intro-basics.xml:
5858         * docs/pwg/intro-preface.xml:
5859         * docs/pwg/pwg.xml:
5860           describe dparams (controller) for plugins
5861           unify docs a little more
5862
5863 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5864
5865         * docs/gst/gstreamer-sections.txt:
5866         * gst/gstutils.c: (element_find_unconnected_pad),
5867         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5868         * gst/gstutils.h:
5869           Add new API: gst_parse_bin_from_description() and
5870           gst_bin_find_unconnected_pad() (#329069).
5871
5872 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5873
5874         * docs/manual/README:
5875           uncover a nasty detail of the docs build
5876
5877 2006-01-31  Wim Taymans  <wim@fluendo.com>
5878
5879         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5880         Don't cache duration messages if we're not going to use or
5881         free them.
5882
5883 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5884
5885         * docs/manual/advanced-dparams.xml:
5886         * docs/pwg/advanced-dparams.xml:
5887           more dparam docs
5888         * gst/gstindex.c:
5889           fix docs
5890         * libs/gst/controller/lib.c: (gst_controller_init):
5891           init just once
5892
5893 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5894
5895         * gst/gstelement.c: (gst_element_message_full):
5896           also show file/line/func if no additional debug was given
5897
5898 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5899         
5900         * win32/vs7/grammar.vcproj:
5901           activate copy of autogenerated files for Release mode
5902
5903 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5904         
5905         * win32/common/libgstreamer.def:
5906           export gst_value_compare
5907
5908 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5909
5910         * plugins/elements/Makefile.am:
5911         * plugins/elements/gstelements.c:
5912         * plugins/elements/gstfdsink.c: (_do_init),
5913         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5914         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5915         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5916         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5917         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5918         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5919         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5920         * plugins/elements/gstfdsink.h:
5921         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5922
5923 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5924
5925         * docs/manual/advanced-dparams.xml:
5926           describe controller
5927         * docs/manual/advanced-position.xml:
5928         * docs/manual/basics-init.xml:
5929         * docs/manual/manual.xml:
5930         * docs/manual/titlepage.xml:
5931         * docs/pwg/pwg.xml:
5932         * docs/pwg/titlepage.xml:
5933           cleanup xml (more to come)
5934         * libs/gst/controller/gstcontroller.c:
5935           fix typo
5936
5937 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5938         
5939         * win32/vs6/grammar.dsp:
5940           add autogen of gstmarshal.c,h for Release mode
5941                 
5942 2006-01-30  Wim Taymans  <wim@fluendo.com>
5943
5944         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5945         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5946         (gst_base_sink_handle_object), (gst_base_sink_event),
5947         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5948         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5949         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5950         (gst_base_sink_deactivate), (gst_base_sink_activate),
5951         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5952         (gst_base_sink_query), (gst_base_sink_change_state):
5953         Basesink cleanups, remove some old code.
5954         Handle the case where a subclass can preroll in the render
5955         method (mostly audiosinks).
5956         Handle more events.
5957         Remove some locks around variables that are now protected
5958         with the PREROLL_LOCK (clock_id, flushing, ..).
5959         Optimize position query some more, do correct locking.
5960         Remove old code to push queue in state change, this is not
5961         needed anymore since preroll blocks on all prerollable items 
5962         now.
5963         Almost implemented as described in design doc.
5964
5965 2006-01-30  Wim Taymans  <wim@fluendo.com>
5966
5967         * tests/check/gst/gstbin.c: (GST_START_TEST):
5968         Wait for refcount to settle down before checking.
5969
5970 2006-01-30  Wim Taymans  <wim@fluendo.com>
5971
5972         * docs/design/part-element-sink.txt:
5973         Pseudo code overview of desired sink behaviour regarding
5974         preroll.
5975
5976 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5977         * win32/vs6/grammar.dsp:
5978           fix some bugs in Release mode for autogenerated files
5979                 
5980 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5981         * win32/common/libgstbase.def:
5982         * win32/common/libgstreamer.def:
5983           export some new symbols: gst_base_src_set_format,
5984           gst_iterator_next, gst_structure_set_valist
5985
5986 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5987
5988         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5989         Set pad functions unconditionally. Fixes #329105.
5990
5991 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5992         * win32/vs8:
5993           add vs8 project files created by Sergey Scobich
5994
5995 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5996
5997         * gst/gstutils.c: (gst_element_unlink_pads):
5998         Don't leak pad references.
5999
6000         * tests/check/elements/fakesink.c: (GST_START_TEST):
6001         * tests/check/generic/sinks.c: (GST_START_TEST):
6002         * tests/check/generic/states.c: (GST_START_TEST):
6003         * tests/check/gst/gstbin.c: (GST_START_TEST):
6004         * tests/check/gst/gstcaps.c: (GST_START_TEST):
6005         * tests/check/gst/gstelement.c: (GST_START_TEST):
6006         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6007         * tests/check/gst/gstiterator.c: (GST_START_TEST):
6008         * tests/check/gst/gstvalue.c: (GST_START_TEST):
6009         Fix a bunch of leaks. Make generic/sinks.c
6010         use a bit less cpu by slowing the buffer rate
6011         between fakesrc and fakesink.
6012         
6013 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
6014         * gst/gstcaps.c:
6015         * gst/gstelement.c: (gst_element_send_event):
6016         * gst/gstevent.c:
6017         * gst/gstinfo.c:
6018         * gst/gstiterator.c:
6019         * gst/gstiterator.h:
6020         * gst/gstpad.c: (gst_pad_send_event):
6021         * gst/gststructure.c:
6022         * gst/gsturi.c:
6023         * gst/gstutils.c:
6024         * gst/gstvalue.c:
6025         * libs/gst/base/gstadapter.c:
6026           doc fixes, to link to function, just write gst_cool_function(), don't
6027           prefix with '#'
6028
6029 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6030
6031         * plugins/elements/gsttee.c: (gst_tee_do_push),
6032         (gst_tee_handle_buffer):
6033         Always prefer an actual return value from a src
6034         pad in place of NOT_LINKED. This means we return
6035         WRONG_STATE when all src pads are WRONG_STATE
6036         instead of NOT_LINKED.
6037
6038         Lock when replacing the last message to prevent
6039         racing with the get_property method.
6040
6041         Add debug output
6042
6043 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6044
6045         * tests/check/Makefile.am:
6046         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6047         (main):
6048         Add a very simple check that should have caught the memleak I fixed
6049         last night (if not for the slice allocator hiding it)
6050
6051 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6052
6053         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6054         (gst_bin_remove_func), (gst_bin_handle_message_func),
6055         (bin_query_duration_fold), (bin_query_generic_fold):
6056         Clean up references to the clock provider when disposed or when
6057         handling a clock-lost message from it.
6058
6059         Unref sinks when performing a query via gst_iterator_fold, as the
6060         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6061
6062         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6063         (gst_clock_set_master):
6064         Drop our reference to the master clock, if any, when we are disposed.
6065
6066         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6067         Chain up in dispose. 
6068
6069 2006-01-26  Wim Taymans  <wim@fluendo.com>
6070
6071         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6072         Add some debugging.
6073
6074 2006-01-26  Julien MOUTTE  <julien@moutte.net>
6075
6076         * plugins/elements/gsttee.c: (gst_tee_do_push),
6077         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6078         handles pad being NOT_LINKED or in WRONG_STATE.
6079
6080 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6081
6082         * win32/MANIFEST:
6083           more updating
6084
6085 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6086
6087         * win32/MANIFEST:
6088           remove obsolete entry
6089
6090 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6091
6092         * docs/gst/gstreamer-sections.txt:
6093         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6094         (gst_bin_iterate_sources), (gst_bin_send_event):
6095         * gst/gstbin.h:
6096         * gst/gstelement.c: (gst_element_send_event):
6097         * gst/gstevent.c:
6098         * gst/gstpad.c: (gst_pad_send_event):
6099           added code for downstream events, reviewed docs in gstevent.c
6100
6101 2006-01-25  Julien MOUTTE  <julien@moutte.net>
6102
6103         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6104         We only query position using the clock in the playing state.
6105         Query peer in the other cases.
6106         * win32/common/config.h: Updates.
6107
6108 2006-01-24  Wim Taymans  <wim@fluendo.com>
6109
6110         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6111         A clock entry that is scheduled for the exact time of the
6112         clock is still in time.
6113
6114         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6115         (gst_base_sink_do_sync):
6116         Add some more debug info.
6117
6118 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6119
6120         * win32/vs7:
6121           Add new vs7 project files and solution.
6122
6123 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6124
6125         * win32/vs7:
6126           all files removed as they were out-dated.
6127
6128 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6129
6130         * docs/random/release:
6131           update notes
6132         * gst/gstbin.c: (gst_bin_init):
6133         * gst/gstbus.c: (gst_bus_new):
6134         * gst/gstbus.h:
6135         * gst/gstpipeline.c: (gst_pipeline_init):
6136           use gst_bus_new(), improve logging, fix docs
6137         * win32/common/config.h:
6138           update for cvs build
6139
6140 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6141
6142         * autogen.sh:
6143           up required version of automake to 1.7
6144
6145 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
6146
6147         * win32/common/libgstreamer.def:
6148           export gst_buffer_is_metadata_writable
6149
6150 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * docs/gst/gstreamer-sections.txt:
6153         * gst/gstevent.h:
6154           Add gst_event_replace() (#327001)
6155
6156 2006-01-20  Wim Taymans  <wim@fluendo.com>
6157
6158         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6159         Make it actually compile too..
6160
6161 2006-01-20  Wim Taymans  <wim@fluendo.com>
6162
6163         * gst/gstcaps.c:
6164         Clarify behaviour of _is_equal() when passing NULL parameters.
6165
6166         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6167         (gst_pad_set_caps):
6168         Cleanups. Don't unref NULL caps.
6169         When setting the same caps, protect caps of the pad with
6170         proper lock.
6171         Use full functionality of _is_equal() when comparing caps.
6172
6173 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6174
6175         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6176         Don't loop infinitely if there are no buffers to present. Partially
6177         fixes #327197, but collectpads is just broken for reusing elements
6178         to do multiple encodes atm.
6179
6180 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6181
6182         * tools/gst-inspect.c: (print_element_features):
6183         * tools/gst-xmlinspect.c: (main):
6184         URL_HANDLER is not a plugin feature we can search for in
6185         the registry.
6186
6187 2006-01-19  Edward Hervey  <edward@fluendo.com>
6188
6189         * gst/gstelement.c: (gst_element_pads_activate): 
6190         When activating, do src pads first, then sink pads.
6191         When de-activating, do sink pads first, then src pads.
6192
6193 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6194
6195         * docs/gst/gstreamer-sections.txt:
6196         Add gst_index_add_associationv to the docs
6197
6198 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6199
6200         * gst/gstevent.c:
6201           Fix docs typo
6202
6203         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6204         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6205           Do some refactoring. Doesn't actually change functionality,
6206           but makes landing the DRAIN event easier later.
6207
6208 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
6209
6210         * docs/pwg/advanced-scheduling.xml:
6211           Update from 0.9.x to 0.10 API and make example a bit
6212           clearer.
6213
6214 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6215
6216         * docs/gst/gstreamer-sections.txt:
6217         Add gst_buffer_(is|make)_metadata_writable methods.
6218
6219 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6220
6221         * docs/design/part-sparsestreams.txt:
6222         Update sparse streams doc, hopefully for greater clarity
6223
6224 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
6225
6226         * docs/design/part-events.txt:
6227         Remove mention of FILLER events.
6228         Add DRAIN event.
6229
6230         * docs/design/part-sparsestreams.txt:
6231         Write some things about using NEWSEGMENT to keep sparse streams
6232         flowing.
6233
6234 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6235
6236         * gst/gstbin.c: (gst_bin_dispose):
6237           Guard gst_object_unref call against a NULL object (dispose
6238           can theoretically be called multiple times).
6239           
6240 2006-01-18  Wim Taymans  <wim@fluendo.com>
6241
6242         * gst/gstbin.c: (gst_bin_element_set_state):
6243         * gst/gstclock.c: (gst_clock_id_wait):
6244         Added some more debug info.
6245
6246         * libs/gst/base/gstadapter.c:
6247         Added more docs.
6248
6249         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6250         (gst_base_sink_do_sync), (gst_base_sink_chain):
6251         Added some comments.
6252
6253 2006-01-18  Wim Taymans  <wim@fluendo.com>
6254
6255         * tests/check/Makefile.am:
6256         * tests/check/elements/fakesink.c: (chain_async_buffer),
6257         (chain_async), (chain_async_return), (GST_START_TEST),
6258         (fakesink_suite), (main):
6259         Added fakesink test that checks prerolling and clipping
6260         behaviour.
6261
6262         * tests/check/gst/gstutils.c: (GST_START_TEST):
6263         Make check run faster so that buildbots don't timeout.
6264
6265 2006-01-18  Wim Taymans  <wim@fluendo.com>
6266
6267         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6268         (gst_base_sink_do_sync):
6269         Some cleanups.
6270         When the sink finishes blocking on the preroll buffer, it can
6271         immediatly render it instead of rendering when the next buffer
6272         arrives.
6273
6274 2006-01-18  Wim Taymans  <wim@fluendo.com>
6275
6276         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6277         (gst_base_sink_get_property), (gst_base_sink_do_sync),
6278         (gst_base_sink_chain):
6279         Small cleanups.
6280         GST_ELEMENT_CLOCK and sync are protected with LOCK.
6281         Don't store _last_stop if the buffer is dropped.
6282
6283 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6284
6285         * plugins/elements/gsttypefindelement.c:
6286         (gst_type_find_element_class_init):
6287           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6288           object method handler that sets the caps on the pad and we want
6289           that to happen before we emit the signal (fixes e.g. feeding a
6290           plain text file to decodebin).
6291
6292 2006-01-18  Christian Schaller  <Christian@fluendo.com>
6293
6294         * gst/gstplugin.c: Add MPL and Proprietary as license options
6295
6296 2006-01-18  Andy Wingo  <wingo@pobox.com>
6297
6298         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6299         symbol was exported before, it appears this was just an oversight.
6300         Fixes #168703.
6301         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6302
6303         * gst/gstindex.c (gst_index_add_associationv): Changed int in
6304         prototype to gint. OK since this prototype was not in the header.
6305
6306 2006-01-17  Andy Wingo  <wingo@pobox.com>
6307
6308         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6309         registry while we remove plugins.
6310
6311         * tools/gst-inspect.c (print_element_info): Don't unref the
6312         factory arg, that should be the responsibility of whatever code
6313         received the ref. Fixes a double-free when called from
6314         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6315         (main): Unref the factory if we have one.
6316         (print_element_list): No change -- relies on the
6317         plugin_feature_list_free to free the list of features.
6318
6319 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6320
6321         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6322         (gst_buffer_make_metadata_writable):
6323         * gst/gstbuffer.h:
6324         * libs/gst/base/gstbasetransform.c:
6325         (gst_base_transform_prepare_output_buf):
6326         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6327         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6328           Replace gst_buffer_(make|is)_metadata_writable patch now
6329           that the release is out.
6330
6331 2006-01-17  Andy Wingo  <wingo@pobox.com>
6332
6333         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6334         in the present tense without reference to versions.
6335
6336         * gst/gstregistry.c (gst_registry_add_plugin)
6337         (gst_registry_remove_plugin, gst_registry_remove_feature)
6338         (gst_registry_find_feature, gst_registry_get_feature_list)
6339         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6340         (gst_registry_lookup, gst_registry_scan_path)
6341         (_gst_registry_remove_cache_plugins)
6342         (gst_registry_get_feature_list_by_plugin): Add argument
6343         validation.
6344
6345 === release 0.10.2 ===
6346
6347 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6348
6349         * configure.ac:
6350           releasing 0.10.2, "If man is five"
6351
6352 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6353
6354         * gst/gstbuffer.c:
6355         * gst/gstbuffer.h:
6356         * libs/gst/base/gstbasetransform.c:
6357         (gst_base_transform_prepare_output_buf):
6358         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6359         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6360           Back out patch until after the release.
6361
6362 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6363
6364         * gst/gstminiobject.c:
6365           Spelling fix in docs.
6366         * ChangeLog - remove conflict indicator
6367
6368 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6369
6370         Reviewed By: Andy Wingo
6371
6372         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6373         (gst_buffer_make_metadata_writable):
6374         * gst/gstbuffer.h:
6375           Add gst_buffer_(is|make)_metadata_writable as analogues of
6376           gst_buffer_(is|make)_writable.
6377
6378         * libs/gst/base/gstbasetransform.c:
6379         (gst_base_transform_prepare_output_buf):
6380         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6381           Use name gst_buffer_(is|make)_metadata_writable functions.
6382
6383         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6384           Test gst_buffer_(is|make)_metadata_writable
6385         
6386           (Closes: #324162)
6387
6388 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6389
6390         * docs/manual/Makefile.am:
6391           don't do parallel make
6392         * configure.ac:
6393           AC_SUBST HOST_CPU
6394         * win32/common/config.h.in:
6395           add generations for HOST_CPU and GST_MAJORMINOR
6396         * win32/common/config.h:
6397           commit generated result
6398
6399 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * docs/manual/appendix-integration.xml:
6402           Update GNOME integration section to use gst_init_get_option_group()
6403           instead of the old popt stuff (#322911). Also, GNOME applications
6404           should  now use gconf*sink and gconf*src instead of the old gconf
6405           helper lib we had.
6406
6407 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6408
6409
6410         * docs/gst/gstreamer-docs.sgml:
6411         * docs/gst/gstreamer-sections.txt:
6412         * docs/libs/gstreamer-libs-sections.txt:
6413           add new API entries to the docs
6414         * libs/gst/controller/Makefile.am:
6415         * libs/gst/controller/gstcontroller.c:
6416         * libs/gst/controller/gstcontroller.h:
6417         * libs/gst/controller/gstcontrollerprivate.h:
6418         * libs/gst/controller/gsthelper.c:
6419         * libs/gst/controller/gstinterpolation.c:
6420           move private structs to private header
6421         * po/README:
6422           gstreamer-0.7 -> gstreamer-0.10
6423         * tests/check/libs/struct_i386.h:
6424           remove private structs
6425
6426 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6427
6428         * plugins/indexers/Makefile.am:
6429           Fixes as part of #317048
6430
6431 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6432
6433         * plugins/indexers/Makefile.am:
6434           fix #316086 - compilation when mmap is missing
6435
6436 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6437
6438         * libs/gst/base/gstbasesink.c:
6439           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6440           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6441         * win32/common/config.h:
6442           added some defines GST_MAJORMINOR and HOST_CPU
6443         * win32/common/libgstbase.def:
6444         * win32/common/libgstreamer.def:
6445           added some exported functions.
6446
6447 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6448
6449         * libs/gst/controller/gstcontroller.c:
6450         (gst_controlled_property_set_interpolation_mode),
6451         (gst_controlled_property_new):
6452         * libs/gst/controller/gstcontroller.h:
6453         * libs/gst/controller/gstinterpolation.c:
6454         (interpolate_none_get_string_value_array):
6455           make G_TYPE_STRING controlable
6456
6457 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * tools/README:
6460         * tools/gst-feedback.1.in:
6461         * tools/gst-inspect.1.in:
6462         * tools/gst-launch.1.in:
6463         * tools/gst-md5sum.1.in:
6464         * tools/gst-typefind.1.in:
6465         * tools/gst-xmlinspect.1.in:
6466         * tools/gst-xmllaunch.1.in:
6467           cleanup man-pages, remove reference to gst-register, document env-vars
6468
6469 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6470
6471         * gst/gstbuffer.c: (gst_buffer_span):
6472           gst_buffer_span should copy the timestamp of the first buffer
6473           if they were both originally overlapping subbuffers of the 
6474           same parent, using the same logic as the 'slow copy' case.
6475
6476 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6477
6478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6479           Need to awaken ALL the pads when we pop a buffer, otherwise
6480           collectpads only works when there is 2 input streams.
6481
6482 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6483
6484         * docs/random/ensonic/media-device-daemon.txt:
6485           more ideas (dbus)
6486         * gst/gstbuffer.c:
6487           fix doc example, add clarification
6488         * tools/gst-launch.1.in:
6489           add initial info about GST_PLUGIN_PATH, needs more work
6490
6491 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6492
6493         * docs/manual/basics-bins.xml:
6494         * docs/manual/basics-elements.xml:
6495         * docs/manual/intro-basics.xml:
6496           Some more minor docs additions and updates.
6497
6498 2006-01-11  Wim Taymans  <wim@fluendo.com>
6499
6500         * docs/manual/basics-bins.xml:
6501         * docs/manual/basics-elements.xml:
6502         Some small fixes as pointed out by Ser-ver on IRC.
6503
6504 2006-01-10  Edward Hervey  <edward@fluendo.com>
6505
6506         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6507         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6508         the single-segment mode.
6509
6510 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6511
6512         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6515         (gst_base_src_perform_seek), (gst_base_src_send_event),
6516         (gst_base_src_set_property), (gst_base_src_get_property),
6517         (gst_base_src_loop), (gst_base_src_start),
6518         (gst_base_src_activate_push):
6519         * libs/gst/base/gstbasesrc.h:
6520           Name (private) union; makes Sun's Forte compiler happy (#324900).
6521
6522 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6523
6524         * README:
6525           gst-register is gone.
6526
6527 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6528
6529         * gst/gstvalue.c: (_gst_value_initialize):
6530           make the G_TYPE_DATE instantiation work if debug is disabled
6531
6532 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6533
6534         * gst/gstmessage.c: (gst_message_parse_tag),
6535         (gst_message_parse_error), (gst_message_parse_warning):
6536           Don't crash when return location for error/warning debug
6537           string is NULL; add fact that return locations can be
6538           NULL to docs where appropriate.
6539
6540 2006-01-05  Wim Taymans  <wim@fluendo.com>
6541
6542         * gst/gstplugin.c: (gst_plugin_load_file):
6543         Replace strdup by g_strdup.
6544
6545 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6546
6547         * docs/pwg/advanced-types.xml:
6548           fix doc borkage
6549
6550 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6551
6552         submitted by: Abel Cheung
6553
6554         * po/LINGUAS:
6555         * po/zh_TW.po:
6556           Added Chinese (traditional) translation
6557
6558 2006-01-04  Wim Taymans  <wim@fluendo.com>
6559
6560         * docs/manual/basics-pads.xml:
6561         * docs/plugins/Makefile.am:
6562         * docs/plugins/gstreamer-plugins-docs.sgml:
6563         * docs/plugins/gstreamer-plugins-sections.txt:
6564         * docs/pwg/advanced-clock.xml:
6565         * docs/pwg/advanced-scheduling.xml:
6566         * docs/pwg/advanced-types.xml:
6567         * plugins/elements/gstfdsink.c:
6568         * plugins/elements/gstfdsrc.c:
6569         * plugins/elements/gstfdsrc.h:
6570         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6571         * plugins/elements/gstidentity.h:
6572         * plugins/elements/gstqueue.h:
6573         * plugins/elements/gsttee.c:
6574         * plugins/elements/gsttee.h:
6575         * plugins/elements/gsttypefindelement.c:
6576         (gst_type_find_element_class_init):
6577         * plugins/elements/gsttypefindelement.h:
6578         Small updates to various docs.
6579         Added core plugins to docs.
6580
6581 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6582
6583         * common/gst.supp:
6584           add a suppression for liboil's uninitialized variable
6585
6586 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6587
6588         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6589
6590         * gst/gstutils.h:
6591           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6592           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6593           compiler switch is being used (#325429).
6594
6595 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6596
6597         * gst/gstbin.c: (gst_bin_query):
6598           Disable duration query caching in bins until it gets
6599           fixed (see #324807).
6600
6601 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6602
6603         * tools/gst-inspect.c: (print_element_properties_info):
6604           Handle properties of POINTER and BOXED type.
6605
6606 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6607
6608         * gst/gst.c: (init_post):
6609           Init tags stuff and some other things before loading
6610           any static plugins (there may be other static plugins
6611           than just the GStreamer ones, and they may want to
6612           register their own tags or formats or whatever, and
6613           preferably without segfaulting).
6614
6615         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6616           Print at least a warning in the debug logs if we drop a
6617           query just because we don't know how to adjust the value
6618           in the particular format.
6619
6620 2005-12-24  David Schleef  <ds@schleef.org>
6621
6622         * tools/gstreamer-completion:
6623           Replacement for gst-complete written in sh and sed.  Only
6624           completes names of features, but that's 90% of what I want
6625           it for.  Properties are not available in registry.xml.  (Maybe
6626           they should be...)
6627
6628 === release 0.10.1 ===
6629
6630 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6631
6632         * configure.ac:
6633           releasing 0.10.1, "Nollaig chridheil"
6634
6635 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6636
6637         * docs/faq/cvs.xml:
6638           Add missing quote, should be make ERROR_CFLAGS="".
6639
6640 2005-12-20  Wim Taymans  <wim@fluendo.com>
6641
6642         * docs/design/part-trickmodes.txt:
6643         More documentation on trickmodes.
6644
6645 2005-12-20  Edward Hervey  <edward@fluendo.com>
6646
6647         * gst/gstcaps.c: (gst_static_caps_get_type):
6648         * gst/gstcaps.h:
6649           API addition: GST_TYPE_STATIC_CAPS
6650         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6651         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6652         * gst/gstpadtemplate.h:
6653           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6654         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6655         bindings.
6656
6657 2005-12-18  Wim Taymans  <wim@fluendo.com>
6658
6659         * libs/gst/base/gstadapter.c:
6660         * libs/gst/base/gstadapter.h:
6661         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6662         (gst_base_sink_get_position):
6663         * libs/gst/base/gstbasesink.h:
6664         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6665         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6666         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6667         (gst_base_src_send_event), (gst_base_src_update_length),
6668         (gst_base_src_get_range), (gst_base_src_loop),
6669         (gst_base_src_start):
6670         * libs/gst/base/gstbasesrc.h:
6671         * libs/gst/base/gstbasetransform.h:
6672         * libs/gst/base/gstcollectpads.h:
6673         * libs/gst/base/gstpushsrc.c:
6674         * libs/gst/base/gstpushsrc.h:
6675         * libs/gst/dataprotocol/dataprotocol.c:
6676         * libs/gst/dataprotocol/dataprotocol.h:
6677         * libs/gst/net/gstnetclientclock.h:
6678         * libs/gst/net/gstnettimeprovider.h:
6679         Documentation updates.
6680
6681 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6682
6683         * docs/manual/basics-helloworld.xml:
6684           Remove superfluous closing bracket in helloworld example.
6685
6686 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6687
6688         * tools/gst-launch.1.in:
6689           Update gst-launch man page; add a section with useful
6690           environment variables. Fixes #323882.
6691
6692 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6693
6694         * gst/gst.c:
6695         * gst/gst_private.h:
6696           change some char* into char[]
6697
6698 2005-12-16  Wim Taymans  <wim@fluendo.com>
6699
6700         * gst/gstregistryxml.c: (load_feature):
6701         Cleanups.
6702         Don't use g_object_unref on GstObjects so that we avoid
6703         leaks on unsafe glibs.
6704
6705 2005-12-16  Wim Taymans  <wim@fluendo.com>
6706
6707         * gst/gstbin.c: (gst_bin_recalc_state):
6708         Small doc updates.
6709
6710 2005-12-16  Wim Taymans  <wim@fluendo.com>
6711
6712         * common/check.mak:
6713         Added make forever target for check.
6714
6715 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6716
6717         * gst/gst.c: (init_post):
6718           make the registry cache file HOST_CPU-dependent
6719
6720 2005-12-16  Andy Wingo  <wingo@pobox.com>
6721
6722         * plugins/elements/gstbufferstore.c
6723         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6724         return value.
6725
6726         * tests/check/gst/gstobject.c
6727         (test_fake_object_name_threaded_unique): Pay attention to
6728         g_list_sort return value.
6729
6730 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6731
6732         * tools/gst-feedback-m.m:
6733           Update for 0.9/0.10 (fixes #323870).
6734
6735 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6736
6737         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6738           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6739           
6740         * tests/check/gst/gstminiobject.c: (my_foo_init),
6741         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6742         (test_value_collection), (gst_mini_object_suite):
6743           Add test to ensure refcounts end up as expected when passing
6744           GstMiniObjects through g_object_get() and g_object_set().
6745
6746 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6747
6748         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6749         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6750         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6751         of collectpads. This version removes a lot of races without
6752         touching API/ABI. Yay !
6753
6754 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6755
6756         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6757           Don't allow activation of a srcpad in pull_range if it has no
6758           getrange function.
6759           Change some debug statements to be a little clearer
6760
6761         * plugins/elements/gsttypefindelement.c:
6762         (gst_type_find_handle_src_query):
6763           Check that we have a peer before executing queries thereupon.
6764
6765         * tests/examples/metadata/read-metadata.c: (message_loop):
6766           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6767           immediately return us any available message with 0 timeout.
6768
6769 2005-12-12  Michael Smith  <msmith@fluendo.com>
6770
6771         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6772           Don't unref factories after calling them.
6773         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6774         * plugins/elements/gsttypefindelement.c:
6775         (gst_type_find_element_chain):
6776           Free lists of factories after using them. Fixing typefinding memory
6777           leaks.
6778
6779 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6780
6781         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6782         (gst_plugin_feature_load):
6783           more meaningful debug output
6784         * configure.ac:
6785         * tests/Makefile.am:
6786         * tests/old/examples/Makefile.am:
6787           make make distcheck happy again
6788
6789 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6790
6791         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6792           Catch the special case where we are operating chain-based,
6793           but the downstream peer pad has no chain function. Emit a
6794           custom error message in this case instead of letting the
6795           core generate one implying that this is some sort of core
6796           bug. It's not, it just means that whatever got plugged
6797           into the pipeline downstream when we announced the type
6798           can only operate pull-based, while our source can only
6799           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6800           Error string has not been marked for translation yet, as
6801           it probably needs some more work first.
6802
6803         (gst_type_find_element_get_best_possibility):
6804           Add helper function to find the best of all available
6805           found possibilities that qualify given the min. threshold.
6806
6807         (gst_type_find_element_handle_event):
6808           Fix the case where we get an EOS while still in TYPEFIND
6809           mode (we want to chose the best of all possible types,
6810           not just the first type that happens to be in our unsorted
6811           list of possible types).
6812
6813         (gst_type_find_element_chain):
6814           Make sure we return GST_FLOW_ERROR when we errored out
6815           in stop_typefinding(); also, don't just find the best of
6816           all found type entries and then use the last examined
6817           type entry, but actually use the best entry.
6818
6819 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6820
6821         * tests/examples/typefind/typefind.c: (type_found):
6822         * tests/examples/xml/runxml.c: (xml_loaded):
6823           More gcc4 fixes and a mem leak fix.
6824
6825 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6826
6827         * tests/examples/xml/createxml.c: (object_saved):
6828           gcc 4 fixes
6829
6830 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6831
6832         * tests/Makefile.am:
6833           enable the examples even more
6834
6835 2005-12-12  Andy Wingo  <wingo@pobox.com>
6836
6837         * libs/gst/net/gstnettimeprovider.c
6838         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6839         (gst_net_time_provider_set_property)
6840         (gst_net_time_provider_get_property):
6841         API addition: Export "active" as a GObject property.
6842         (gst_net_time_provider_thread): Only respond to time queries if
6843         the time provider is active.
6844
6845         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6846         NetTimeProvider, preserving binary compat.
6847
6848 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6849
6850         * tests/examples/controller/audio-example.c: (main):
6851         * tests/examples/launch/Makefile.am:
6852           convert comments again
6853
6854 2005-12-12  Wim Taymans  <wim@fluendo.com>
6855
6856         * libs/gst/base/gstpushsrc.c:
6857         Fix typo.
6858
6859 2005-12-12  Wim Taymans  <wim@fluendo.com>
6860
6861         * docs/libs/gstreamer-libs-sections.txt:
6862         Added new symbol to docs.
6863
6864         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6865         (gst_base_src_init), (gst_base_src_set_format),
6866         (gst_base_src_default_query), (gst_base_src_query),
6867         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6868         (gst_base_src_perform_seek), (gst_base_src_send_event),
6869         (gst_base_src_default_event), (gst_base_src_event_handler),
6870         (gst_base_src_set_property), (gst_base_src_get_property),
6871         (gst_base_src_wait), (gst_base_src_do_sync),
6872         (gst_base_src_update_length), (gst_base_src_get_range),
6873         (gst_base_src_check_get_range), (gst_base_src_loop),
6874         (gst_base_src_default_negotiate), (gst_base_src_start),
6875         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6876         (gst_base_src_change_state):
6877         * libs/gst/base/gstbasesrc.h:
6878         Implement seeking to other formats than _BYTES.
6879         Implement more seeking methods correctly.
6880         Doc updates.
6881         Added query vmethod.
6882         Added do_seek vmethod to make life easier for subclasses
6883         when seeking.
6884         API addition: gst_base_src_set_format()
6885
6886 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6887
6888         * tests/examples/Makefile.am:
6889           added that too
6890
6891 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6892
6893         * configure.ac:
6894         * docs/random/ensonic/media-device-daemon.txt:
6895         * tests/examples/controller/.cvsignore:
6896         * tests/examples/controller/Makefile.am:
6897         * tests/examples/controller/audio-example.c: (main):
6898         * tests/examples/helloworld/.cvsignore:
6899         * tests/examples/helloworld/Makefile.am:
6900         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6901         * tests/examples/launch/.cvsignore:
6902         * tests/examples/launch/Makefile.am:
6903         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6904         * tests/examples/metadata/.cvsignore:
6905         * tests/examples/metadata/Makefile.am:
6906         * tests/examples/metadata/read-metadata.c: (message_loop),
6907         (make_pipeline), (print_tag), (main):
6908         * tests/examples/queue/.cvsignore:
6909         * tests/examples/queue/Makefile.am:
6910         * tests/examples/queue/queue.c: (event_loop), (main):
6911         * tests/examples/typefind/.cvsignore:
6912         * tests/examples/typefind/Makefile.am:
6913         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6914         (main):
6915         * tests/examples/xml/.cvsignore:
6916         * tests/examples/xml/Makefile.am:
6917         * tests/examples/xml/createxml.c: (object_saved), (main):
6918         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6919         * tests/old/examples/Makefile.am:
6920         * tests/old/examples/TODO:
6921         * tests/old/examples/controller/.cvsignore:
6922         * tests/old/examples/controller/Makefile.am:
6923         * tests/old/examples/controller/audio-example.c:
6924         * tests/old/examples/helloworld/.cvsignore:
6925         * tests/old/examples/helloworld/Makefile.am:
6926         * tests/old/examples/helloworld/helloworld.c:
6927         * tests/old/examples/launch/.cvsignore:
6928         * tests/old/examples/launch/Makefile.am:
6929         * tests/old/examples/launch/mp3parselaunch.c:
6930         * tests/old/examples/launch/mp3play:
6931         * tests/old/examples/manual/Makefile.am:
6932         * tests/old/examples/metadata/Makefile.am:
6933         * tests/old/examples/metadata/read-metadata.c:
6934         * tests/old/examples/queue/.cvsignore:
6935         * tests/old/examples/queue/Makefile.am:
6936         * tests/old/examples/queue/queue.c:
6937         * tests/old/examples/typefind/.cvsignore:
6938         * tests/old/examples/typefind/Makefile.am:
6939         * tests/old/examples/typefind/typefind.c:
6940         * tests/old/examples/xml/.cvsignore:
6941         * tests/old/examples/xml/Makefile.am:
6942         * tests/old/examples/xml/createxml.c:
6943         * tests/old/examples/xml/runxml.c:
6944           applied some simple fixing to some examples
6945           re-enabled the working examples
6946
6947 2005-12-12  Wim Taymans  <wim@fluendo.com>
6948
6949         * gst/gstsegment.c: (gst_segment_init),
6950         (gst_segment_set_last_stop), (gst_segment_set_seek),
6951         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6952         (gst_segment_to_running_time):
6953         Added more documentation.
6954         Make sure the last_pos value is updated properly.
6955         Make sure to_stream_time and to_running_time don't
6956         operate on wrong values.
6957
6958         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6959         Update check.
6960
6961 2005-12-12  Michael Smith  <msmith@fluendo.com>
6962
6963         * plugins/elements/gsttypefindelement.c: (free_entry),
6964         (gst_type_find_element_chain):
6965           Now that we're not leaking factories, make sure we keep references
6966           to them while we need them.
6967
6968 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6969
6970         * tests/check/gst/struct_i386.h:
6971           ifdef out the XML structs
6972
6973 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6974
6975         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6976           floor is not needed, F is always positive; this obviates the
6977           need for adding -lm when building without libxml
6978
6979 2005-12-12  Wim Taymans  <wim@fluendo.com>
6980
6981         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6982         Take current playback rate into account when reporting
6983         the position.
6984
6985 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6986
6987         * docs/manual/mime-world.fig:
6988           Let's try this again, this time with a file that is
6989           actually in XFig format.
6990
6991 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6992
6993         * docs/manual/mime-world.fig:
6994           Add audioconvert element to diagram so that it
6995           matches the text and the code (fixes #319526).
6996
6997 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6998
6999         * docs/pwg/building-chainfn.xml:
7000         * docs/pwg/building-pads.xml:
7001         * docs/pwg/building-state.xml:
7002         * docs/pwg/other-source.xml:
7003           Update state change stuff for 0.10 (fixes #322969).
7004
7005 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7006
7007         * docs/manual/advanced-dataaccess.xml:
7008         * docs/manual/appendix-checklist.xml:
7009         * docs/manual/appendix-programs.xml:
7010         * docs/manual/basics-pads.xml:
7011         * docs/manual/highlevel-components.xml:
7012         * docs/manual/manual.xml:
7013           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7014           add converters in front of pipelines; remove curly
7015           brackets for threads stuff, they no longer exist; use
7016           GST_TYPE_FRACTION for framerates; update some pieces of
7017           code to 0.10, but there's plenty more to do.
7018
7019         * docs/manual/appendix-porting.xml:
7020           Expand on asynchroneous state changes; s/0.9/0.10/;
7021           mention disappearance of gst_init_get_popt_table()
7022           (fixes #322916).
7023
7024 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
7025
7026         * docs/faq/using.xml:
7027           Spider no longer exists, and neither does gst-launch-ext.
7028           Update examples to use decodebin and playbin and put
7029           converters in front of sinks (fixes #323726).
7030
7031 2005-12-09  Michael Smith  <msmith@fluendo.com>
7032
7033         * plugins/elements/gsttypefindelement.c: (find_peek),
7034         (gst_type_find_element_chain):
7035           Fix leaking element factories in typefinding.
7036           Fix problem where we forgot about a probable type on non-seekable
7037           files, and thus later mis-typefound it.
7038
7039 2005-12-09  Michael Smith  <msmith@fluendo.com>
7040
7041         * common/m4/gst-makecontext.m4:
7042         * common/m4/gst-mcsc.m4:
7043         * configure.ac:
7044         * win32/common/config.h:
7045         * win32/common/config.h.in:
7046           Remove makecontext stuff; not used in 0.10 and causes problems on
7047           HPUX according to bug #322441
7048
7049 2005-12-07  Wim Taymans  <wim@fluendo.com>
7050
7051         * tests/check/Makefile.am:
7052         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7053         (main):
7054         * tests/check/libs/struct_i386.h:
7055         Added ABI check for libs
7056
7057 2005-12-07  Wim Taymans  <wim@fluendo.com>
7058
7059         * tests/check/Makefile.am:
7060         And add the struct_i386.h to dist.
7061
7062 2005-12-07  Wim Taymans  <wim@fluendo.com>
7063
7064         * tests/check/Makefile.am:
7065         * tests/check/gst/.cvsignore:
7066         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7067         (main):
7068         * tests/check/gst/struct_i386.h:
7069         Added check for ABI compatibility.
7070
7071 2005-12-07  Wim Taymans  <wim@fluendo.com>
7072
7073         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7074         (gst_fake_src_get_times), (gst_fake_src_create):
7075         Fix broken sync option, fixes #323259
7076
7077 2005-12-07  Wim Taymans  <wim@fluendo.com>
7078
7079         * gst/gstbuffer.c:
7080         Small docs update.
7081
7082         * gst/gstcaps.c: (gst_caps_is_equal):
7083         Don't assert on NULL <--> X. Fixes #323260
7084
7085         * gst/gstminiobject.c: (gst_mini_object_replace):
7086         If we're doing atomic operations, we might just as well use
7087         the proper way to get an atomic pointer.
7088
7089         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7090         Clean up debugging.
7091
7092 2005-12-07  Michael Smith  <msmith@fluendo.com>
7093
7094         * gst/parse/grammar.y:
7095           Remove handling of { } for threads.
7096
7097 2005-12-06  David Schleef  <ds@schleef.org>
7098
7099         * libs/gst/base/gstbasetransform.c: speling fix.
7100
7101 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7102
7103         * docs/libs/tmpl/gstdataprotocol.sgml:
7104         * docs/random/omega/testing/gstobject.c:
7105         * gst/gst.c:
7106         * gst/gstclock.c:
7107         * gst/gstelement.c:
7108         * gst/gstelementfactory.c:
7109         * gst/gsterror.c:
7110         * gst/gstevent.c:
7111         * gst/gstghostpad.c:
7112         * gst/gstinfo.c:
7113         * gst/gstpadtemplate.c:
7114         * gst/gstregistryxml.c:
7115         * gst/gsttaglist.c:
7116         * gst/gsttagsetter.c:
7117         * gst/gsttypefind.c:
7118         * gst/gstvalue.c:
7119         * libs/gst/base/gstbasesrc.c:
7120         * libs/gst/net/gstnetclientclock.c:
7121         * libs/gst/net/gstnettimeprovider.c:
7122         * plugins/elements/gstfakesrc.c:
7123         * plugins/elements/gstfdsrc.c:
7124         * plugins/elements/gstfilesrc.c:
7125         * plugins/elements/gstidentity.c:
7126         * plugins/elements/gstqueue.c:
7127         * plugins/elements/gsttypefindelement.c:
7128         * plugins/indexers/gstfileindex.c:
7129         * plugins/indexers/gstmemindex.c:
7130         * tests/check/gst/gsttag.c:
7131         * tests/old/examples/cutter/cutter.c:
7132         * tests/old/examples/mixer/mixer.c:
7133         * tests/old/examples/xml/runxml.c: (main):
7134         * tests/old/testsuite/caps/normalisation.c:
7135         * tests/old/testsuite/debug/global.c:
7136         * tests/old/testsuite/parse/parse1.c:
7137         * tools/gst-xmlinspect.c:
7138         * win32/common/dirent.c:
7139           expand tabs
7140
7141 === release 0.10.0 ===
7142
7143 2005-12-05   <thomas (at) apestaart (dot) org>
7144
7145         * configure.ac:
7146           releasing 0.10.0, "Maroilles"
7147
7148 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7149
7150         submitted by: Funda Wang <fundawang@linux.net.cn>
7151
7152         * po/LINGUAS:
7153         * po/zh_CN.po:
7154           added Chinese (Traditional) translation
7155
7156 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7157
7158         * docs/gst/gstreamer-sections.txt:
7159         * docs/libs/tmpl/gstdataprotocol.sgml:
7160         * docs/random/thomasvs/TODO:
7161         * gst/gstutils.c:
7162         * gst/gstutils.h:
7163           fix docs
7164
7165 2005-12-05  Andy Wingo  <wingo@pobox.com>
7166
7167         patch by: Wim Taymans <wim@fluendo.com>
7168
7169         * libs/gst/base/gstbasetransform.c
7170         (gst_base_transform_prepare_output_buf)
7171         (gst_base_transform_buffer_alloc):
7172         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7173         alloc_buffer_and_set_caps.
7174
7175         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7176         set_caps on the source pad.
7177         (gst_pad_alloc_buffer_and_set_caps): New function, does what
7178         alloc_buffer used to do. Fixes #322874.
7179
7180         * docs/gst/gstreamer-sections.txt: 
7181         * docs/design/part-negotiation.txt: 
7182         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7183         changes.
7184
7185 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7186
7187         patch by: Sebastien Moutte
7188
7189         * win32/MANIFEST:
7190         * win32/common/config.h.in:
7191         * win32/vs6/libgstcontroller.dsp:
7192           win32 build fixes
7193
7194 2005-12-05  Wim Taymans  <wim@fluendo.com>
7195
7196         * gst/gstcaps.c: (gst_caps_is_equal):
7197         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7198         (gst_fake_src_create):
7199         Back out previous code changes, leave doc updates, file bugs 
7200         instead. 
7201
7202 2005-12-05  Wim Taymans  <wim@fluendo.com>
7203
7204         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7205         (gst_fake_src_get_times), (gst_fake_src_create):
7206         * plugins/elements/gstfakesrc.h:
7207         Fix broken sync code.
7208
7209 2005-12-05  Wim Taymans  <wim@fluendo.com>
7210
7211         * gst/gstcaps.c: (gst_caps_is_equal):
7212         Comparing NULL against !NULL yields different caps, not a
7213         failure.
7214
7215 2005-12-05  Wim Taymans  <wim@fluendo.com>
7216
7217         * gst/gstpipeline.c:
7218         Fix small typo in docs.
7219
7220 2005-12-05  Andy Wingo  <wingo@pobox.com>
7221
7222         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
7223
7224         * gst/gst.c (init_post): remove hard-coded 0.9 location for
7225         registries/plugins with a MAJORMINOR one.
7226         (plugin_desc): Rename library from gstcoreleements to
7227         staticelements. Fixes #323222.
7228
7229 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
7230
7231         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7232           Change debug category to 'collectpads' from 'collect_pads'
7233           (fixes #323250).
7234
7235 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7236
7237         patch by: Sebastien Moutte
7238
7239         * libs/gst/controller/gstinterpolation.c:
7240           use convert function for uint64/double
7241         * win32/vs6/libgstcontroller.dsp:
7242           link to GLib
7243
7244 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7247         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7248         * gst/gstutils.h:
7249         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7250           add tests that seem to show that the guint64/gdouble conversions
7251           are correct.
7252
7253 2005-12-02  Wim Taymans  <wim@fluendo.com>
7254
7255         * gst/gstregistry.c: (gst_registry_add_path):
7256         * gst/gstregistry.h:
7257         * gst/gstregistryxml.c:
7258         Fix docs again.
7259
7260 2005-12-02  Wim Taymans  <wim@fluendo.com>
7261
7262         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7263         (gst_util_uint64_scale_int):
7264         Small cleanup.
7265
7266         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7267         Add debug log line.
7268
7269         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7270         Add FIXME.
7271
7272 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7273
7274         * win32/MANIFEST:
7275         * win32/common/config.h:
7276         * win32/vs6/gstreamer.dsw:
7277         * win32/vs6/libgstcoreelements.dsp:
7278         * win32/vs6/libgstelements.dsp:
7279           renamed core elements plugin
7280
7281 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7282
7283         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7284         (get_candidates):
7285           do piece-wise major/minor comparison so 0.9 < 0.10
7286           also allow .exe extensions for tools
7287
7288 2005-12-02  Michael Smith  <msmith@fluendo.com>
7289
7290         * gst/gst.c:
7291           Escape a % to make gtkdoc happier; bug 322958.
7292
7293 === release 0.9.7 ===
7294
7295 2005-12-01   <thomas (at) apestaart (dot) org>
7296
7297         * configure.ac:
7298           releasing 0.9.7, "My Dog Has No Nose"
7299
7300 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7301
7302         * common/gst-xmlinspect.py:
7303         * configure.ac:
7304         * docs/libs/tmpl/gstdataprotocol.sgml:
7305         * docs/random/release:
7306         * po/af.po:
7307         * po/az.po:
7308         * po/bg.po:
7309         * po/ca.po:
7310         * po/cs.po:
7311         * po/de.po:
7312         * po/en_GB.po:
7313         * po/fr.po:
7314         * po/it.po:
7315         * po/nb.po:
7316         * po/nl.po:
7317         * po/ru.po:
7318         * po/sq.po:
7319         * po/sr.po:
7320         * po/sv.po:
7321         * po/tr.po:
7322         * po/uk.po:
7323         * po/vi.po:
7324         * win32/common/config.h:
7325         * win32/common/config.h.in:
7326         * win32/vs6/gst_inspect.dsp:
7327         * win32/vs6/gst_launch.dsp:
7328         * win32/vs6/libgstbase.dsp:
7329         * win32/vs6/libgstelements.dsp:
7330         * win32/vs6/libgstreamer.dsp:
7331         * win32/vs7/GStreamer.vcproj:
7332         * win32/vs7/gst-inspect.vcproj:
7333         * win32/vs7/gst-launch.vcproj:
7334         * win32/vs7/libgstbase.vcproj:
7335           bump GST_MAJORMINOR to 0.10
7336           reset libtool version
7337
7338 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7339
7340         * po/LINGUAS:
7341         * po/bg.po:
7342           Added Bulgarian translation by (Alexander Shopov)
7343
7344 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7345
7346         * tests/check/gst/gstplugin.c:
7347           fix test
7348
7349 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7350
7351         * common/gst-xmlinspect.py:
7352         * common/gtk-doc-plugins.mak:
7353         * configure.ac:
7354         * docs/Makefile.am:
7355         * docs/gst/Makefile.am:
7356         * docs/gst/gstreamer-docs.sgml:
7357         * docs/gst/gstreamer-sections.txt:
7358         * docs/gst/gstreamer.types:
7359         * docs/gst/gstreamer.types.in:
7360         * docs/plugins/Makefile.am:
7361         * docs/plugins/gstreamer-plugins-docs.sgml:
7362         * docs/plugins/gstreamer-plugins-sections.txt:
7363         * docs/plugins/gstreamer-plugins.types:
7364         * docs/plugins/inspect.stamp:
7365         * docs/plugins/inspect/plugin-coreelements.xml:
7366         * docs/plugins/inspect/plugin-coreindexers.xml:
7367         * docs/plugins/scanobj-build.stamp:
7368         * gstreamer.spec.in:
7369         * plugins/elements/Makefile.am:
7370         * plugins/elements/gstelements.c:
7371         * plugins/elements/gstfakesink.c:
7372         * plugins/elements/gstfakesrc.c:
7373         * plugins/elements/gstfilesink.c:
7374         * plugins/elements/gstfilesrc.c:
7375         * plugins/elements/gstqueue.c:
7376         * plugins/indexers/Makefile.am:
7377         * plugins/indexers/gstindexers.c:
7378           document core plugins in a separate document just like all the
7379           others
7380           rename these plugins to something starting with core
7381
7382 2005-12-01  Andy Wingo  <wingo@pobox.com>
7383
7384         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7385         padding here before, but it missed the commit.
7386
7387 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7388
7389         * libs/gst/controller/gstinterpolation.c:
7390           whitespace prices have crashed, we should feel free to use some now
7391           use gst_guint64_to_gdouble
7392
7393 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * libs/gst/controller/gstcontroller.c:
7396         * libs/gst/controller/gsthelper.c:
7397         * libs/gst/controller/gstinterpolation.c:
7398         * libs/gst/controller/lib.c:
7399           wrap config.h include
7400
7401 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7402
7403         * docs/gst/gstreamer-sections.txt:
7404           update docs
7405
7406 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7407
7408         * plugins/elements/gstelements.c:
7409         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7410         (gst_fd_sink__class_init), (gst_fd_sink__init),
7411         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7412         (gst_fd_sink__get_property):
7413         * plugins/elements/gstfdsink.h:
7414         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7415         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7416         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7417         (gst_fd_src_unlock), (gst_fd_src_set_property),
7418         (gst_fd_src_get_property), (gst_fd_src_create),
7419         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7420         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7421         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7422         (gst_fd_src_uri_handler_init):
7423         * plugins/elements/gstfdsrc.h:
7424         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7425           more anal cleanup
7426
7427 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7428
7429         * docs/gst/Makefile.am:
7430         * docs/gst/gstreamer.types.in:
7431         * gst/Makefile.am:
7432           fix the docs build
7433
7434 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7435
7436         * configure.ac:
7437         * gst/Makefile.am:
7438         * gst/gst.c:
7439         * gst/gstplugin.h:
7440         * gst/gstregistry.h:
7441         * tests/benchmarks/complexity.c:
7442         * tests/benchmarks/mass-elements.c:
7443         * tests/check/Makefile.am:
7444         * tools/Makefile.am:
7445         * tools/gst-inspect.c:
7446         * tools/gst-xmlinspect.c:
7447           various fixes to make
7448           --disable-nls --disable-registry --disable-loadsave
7449           --disable-parse --disable-gst-debug
7450           work and get the core .so down to 360444 bytes after stripping
7451
7452 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7453
7454         * Makefile.am:
7455         * configure.ac:
7456           descend into tests
7457         * docs/random/thomasvs/TODO:
7458         * tests/Makefile.am:
7459         * tests/README:
7460           add a README
7461
7462 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7463
7464         * win32/GStreamer.vcproj:
7465         * win32/MANIFEST:
7466         * win32/Makefile:
7467         * win32/Makefile.inspect:
7468         * win32/Makefile.launch:
7469         * win32/Makefile.register:
7470         * win32/README.txt:
7471         * win32/gst-inspect.vcproj:
7472         * win32/gst-launch.vcproj:
7473         * win32/gst-register.vcproj:
7474         * win32/gstelements.vcproj:
7475         * win32/gstgetbits.def:
7476         * win32/gstgetbits.vcproj:
7477         * win32/gstreamer-dbg.def:
7478         * win32/gstreamer.def:
7479         * win32/libgstbase.def:
7480         * win32/libgstbase.vcproj:
7481         * win32/link_oldruntime.c:
7482         * win32/mman.c:
7483         * win32/mman.h:
7484         * win32/mman.inl:
7485         * win32/msvc71.sln:
7486           move even more stuff, win32/ is nice and clean now
7487
7488 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7489
7490         * libs/gst/control/.cvsignore:
7491         * win32/MANIFEST:
7492         * win32/config.h:
7493         * win32/dirent.c:
7494         * win32/dirent.h:
7495         * win32/gstbytestream.def:
7496         * win32/gstbytestream.vcproj:
7497         * win32/gstconfig.h:
7498         * win32/gstenumtypes.c:
7499         * win32/gstenumtypes.h:
7500         * win32/gstoptimalscheduler.vcproj:
7501         * win32/gstversion.h:
7502         * win32/gtchar.h:
7503         * win32/testsuite/bins.vcproj:
7504         * win32/testsuite/bytestream.vcproj:
7505         * win32/testsuite/caps.vcproj:
7506         * win32/testsuite/cleanup.vcproj:
7507         * win32/testsuite/clock.vcproj:
7508         * win32/testsuite/debug.vcproj:
7509         * win32/testsuite/dlopen.vcproj:
7510         * win32/testsuite/dynparams.vcproj:
7511         * win32/testsuite/elements.vcproj:
7512         * win32/testsuite/ghostpads.vcproj:
7513         * win32/testsuite/indexers.vcproj:
7514         * win32/testsuite/negotiation.vcproj:
7515         * win32/testsuite/parse.vcproj:
7516         * win32/testsuite/plugin.vcproj:
7517         * win32/testsuite/refcounting.vcproj:
7518         * win32/testsuite/schedulers.vcproj:
7519         * win32/testsuite/states.vcproj:
7520         * win32/testsuite/tags.vcproj:
7521         * win32/testsuite/threads.vcproj:
7522           remove old win32 stuff that isn't maintained and should be
7523           reorganized
7524
7525 2005-11-30  Andy Wingo  <wingo@pobox.com>
7526
7527         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7528         loading the gst.interfaces python module bork.
7529
7530         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7531         available since GLib 2.2. Fixes #318031.
7532
7533 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7534
7535         * Makefile.am:
7536         * check/.cvsignore:
7537         * check/Makefile.am:
7538         * check/elements/.cvsignore:
7539         * check/elements/fakesrc.c:
7540         * check/elements/fdsrc.c:
7541         * check/elements/identity.c:
7542         * check/generic/.cvsignore:
7543         * check/generic/states.c:
7544         * check/gst-libs/.cvsignore:
7545         * check/gst-libs/controller.c:
7546         * check/gst-libs/gdp.c:
7547         * check/gst/.cvsignore:
7548         * check/gst/capslist.h:
7549         * check/gst/gst.c:
7550         * check/gst/gstbin.c:
7551         * check/gst/gstbuffer.c:
7552         * check/gst/gstbus.c:
7553         * check/gst/gstcaps.c:
7554         * check/gst/gstelement.c:
7555         * check/gst/gstevent.c:
7556         * check/gst/gstghostpad.c:
7557         * check/gst/gstiterator.c:
7558         * check/gst/gstmessage.c:
7559         * check/gst/gstminiobject.c:
7560         * check/gst/gstobject.c:
7561         * check/gst/gstpad.c:
7562         * check/gst/gstpipeline.c:
7563         * check/gst/gstplugin.c:
7564         * check/gst/gstsegment.c:
7565         * check/gst/gststructure.c:
7566         * check/gst/gstsystemclock.c:
7567         * check/gst/gsttag.c:
7568         * check/gst/gstutils.c:
7569         * check/gst/gstvalue.c:
7570         * check/net/.cvsignore:
7571         * check/net/gstnetclientclock.c:
7572         * check/net/gstnettimeprovider.c:
7573         * check/pipelines/.cvsignore:
7574         * check/pipelines/cleanup.c:
7575         * check/pipelines/simple_launch_lines.c:
7576         * check/pipelines/stress.c:
7577         * check/states/.cvsignore:
7578         * check/states/sinks.c:
7579         * configure.ac:
7580         * examples/Makefile.am:
7581         * examples/appreader/.cvsignore:
7582         * examples/appreader/Makefile.am:
7583         * examples/appreader/appreader.c:
7584         * examples/controller/.cvsignore:
7585         * examples/controller/Makefile.am:
7586         * examples/controller/audio-example.c:
7587         * examples/cutter/.cvsignore:
7588         * examples/cutter/Makefile.am:
7589         * examples/cutter/cutter.c:
7590         * examples/cutter/cutter.h:
7591         * examples/events/Makefile.am:
7592         * examples/events/seek.c:
7593         * examples/helloworld/.cvsignore:
7594         * examples/helloworld/Makefile.am:
7595         * examples/helloworld/helloworld.c:
7596         * examples/helloworld2/.cvsignore:
7597         * examples/helloworld2/Makefile.am:
7598         * examples/helloworld2/helloworld2.c:
7599         * examples/launch/.cvsignore:
7600         * examples/launch/Makefile.am:
7601         * examples/launch/mp3parselaunch.c:
7602         * examples/launch/mp3play:
7603         * examples/manual/.cvsignore:
7604         * examples/manual/Makefile.am:
7605         * examples/manual/extract.pl:
7606         * examples/metadata/Makefile.am:
7607         * examples/metadata/read-metadata.c:
7608         * examples/mixer/.cvsignore:
7609         * examples/mixer/Makefile.am:
7610         * examples/mixer/mixer.c:
7611         * examples/mixer/mixer.h:
7612         * examples/pingpong/.cvsignore:
7613         * examples/pingpong/Makefile.am:
7614         * examples/pingpong/pingpong.c:
7615         * examples/plugins/.cvsignore:
7616         * examples/plugins/Makefile.am:
7617         * examples/plugins/example.c:
7618         * examples/plugins/example.h:
7619         * examples/pwg/.cvsignore:
7620         * examples/pwg/Makefile.am:
7621         * examples/pwg/extract.pl:
7622         * examples/queue/.cvsignore:
7623         * examples/queue/Makefile.am:
7624         * examples/queue/queue.c:
7625         * examples/queue2/.cvsignore:
7626         * examples/queue2/Makefile.am:
7627         * examples/queue2/queue2.c:
7628         * examples/queue3/.cvsignore:
7629         * examples/queue3/Makefile.am:
7630         * examples/queue3/queue3.c:
7631         * examples/queue4/.cvsignore:
7632         * examples/queue4/Makefile.am:
7633         * examples/queue4/queue4.c:
7634         * examples/retag/.cvsignore:
7635         * examples/retag/Makefile.am:
7636         * examples/retag/retag.c:
7637         * examples/retag/transcode.c:
7638         * examples/thread/.cvsignore:
7639         * examples/thread/Makefile.am:
7640         * examples/thread/thread.c:
7641         * examples/typefind/.cvsignore:
7642         * examples/typefind/Makefile.am:
7643         * examples/typefind/typefind.c:
7644         * examples/xml/.cvsignore:
7645         * examples/xml/Makefile.am:
7646         * examples/xml/createxml.c:
7647         * examples/xml/runxml.c:
7648         * tests/Makefile.am:
7649         * tests/check/Makefile.am:
7650         * testsuite/.cvsignore:
7651         * testsuite/Makefile.am:
7652         * testsuite/Rules:
7653         * testsuite/caps/.cvsignore:
7654         * testsuite/caps/Makefile.am:
7655         * testsuite/caps/app_fixate.c:
7656         * testsuite/caps/audioscale.c:
7657         * testsuite/caps/caps.c:
7658         * testsuite/caps/caps.h:
7659         * testsuite/caps/caps_strings:
7660         * testsuite/caps/compatibility.c:
7661         * testsuite/caps/deserialize.c:
7662         * testsuite/caps/enumcaps.c:
7663         * testsuite/caps/eratosthenes.c:
7664         * testsuite/caps/filtercaps.c:
7665         * testsuite/caps/fixed.c:
7666         * testsuite/caps/fraction-convert.c:
7667         * testsuite/caps/fraction-multiply-and-zero.c:
7668         * testsuite/caps/intersect2.c:
7669         * testsuite/caps/intersection.c:
7670         * testsuite/caps/normalisation.c:
7671         * testsuite/caps/random.c:
7672         * testsuite/caps/renegotiate.c:
7673         * testsuite/caps/sets.c:
7674         * testsuite/caps/simplify.c:
7675         * testsuite/caps/string-conversions.c:
7676         * testsuite/caps/structure.c:
7677         * testsuite/caps/subtract.c:
7678         * testsuite/caps/union.c:
7679         * testsuite/debug/.cvsignore:
7680         * testsuite/debug/Makefile.am:
7681         * testsuite/debug/category.c:
7682         * testsuite/debug/commandline.c:
7683         * testsuite/debug/global.c:
7684         * testsuite/debug/output.c:
7685         * testsuite/debug/printf_extension.c:
7686         * testsuite/dlopen/.cvsignore:
7687         * testsuite/dlopen/Makefile.am:
7688         * testsuite/dlopen/dlopen_gst.c:
7689         * testsuite/dlopen/loadgst.c:
7690         * testsuite/elements/.cvsignore:
7691         * testsuite/elements/Makefile.am:
7692         * testsuite/elements/gst-inspect-check.in:
7693         * testsuite/elements/struct_i386.h:
7694         * testsuite/elements/struct_size.c:
7695         * testsuite/indexers/.cvsignore:
7696         * testsuite/indexers/Makefile.am:
7697         * testsuite/indexers/cache1.c:
7698         * testsuite/indexers/indexdump.c:
7699         * testsuite/parse/.cvsignore:
7700         * testsuite/parse/Makefile.am:
7701         * testsuite/parse/parse1.c:
7702         * testsuite/parse/parse2.c:
7703         * testsuite/plugin/.cvsignore:
7704         * testsuite/plugin/Makefile.am:
7705         * testsuite/plugin/README:
7706         * testsuite/plugin/dynamic.c:
7707         * testsuite/plugin/linked.c:
7708         * testsuite/plugin/loading.c:
7709         * testsuite/plugin/registry.c:
7710         * testsuite/plugin/static.c:
7711         * testsuite/plugin/static2.c:
7712         * testsuite/plugin/testplugin.c:
7713         * testsuite/plugin/testplugin2.c:
7714         * testsuite/plugin/testplugin2_s.c:
7715         * testsuite/plugin/testplugin_s.c:
7716         * testsuite/refcounting/.cvsignore:
7717         * testsuite/refcounting/Makefile.am:
7718         * testsuite/refcounting/bin.c:
7719         * testsuite/refcounting/element.c:
7720         * testsuite/refcounting/element_pad.c:
7721         * testsuite/refcounting/mainloop.c:
7722         * testsuite/refcounting/mem.c:
7723         * testsuite/refcounting/mem.h:
7724         * testsuite/refcounting/object.c:
7725         * testsuite/refcounting/pad.c:
7726         * testsuite/refcounting/sched.c:
7727         * testsuite/refcounting/thread.c:
7728         * testsuite/states/.cvsignore:
7729         * testsuite/states/Makefile.am:
7730         * testsuite/states/bin.c:
7731         * testsuite/states/locked.c:
7732         * testsuite/states/parent.c:
7733         * testsuite/threads/.cvsignore:
7734         * testsuite/threads/159566.c:
7735         * testsuite/threads/159852.c:
7736         * testsuite/threads/Makefile.am:
7737         * testsuite/threads/queue.c:
7738         * testsuite/threads/signals.c:
7739         * testsuite/threads/staticrec.c:
7740         * testsuite/threads/thread.c:
7741         * testsuite/threads/threadb.c:
7742         * testsuite/threads/threadc.c:
7743         * testsuite/threads/threadd.c:
7744         * testsuite/threads/threade.c:
7745         * testsuite/threads/threadf.c:
7746         * testsuite/threads/threadg.c:
7747         * testsuite/threads/threadh.c:
7748         * testsuite/threads/threadi.c:
7749           move all of these under tests
7750
7751 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7752
7753         * configure.ac:
7754         * tests/Makefile.am:
7755           fix distcheck
7756
7757 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7758
7759         * docs/gst/gstreamer-sections.txt:
7760         * tests/sched/.cvsignore:
7761         * tests/sched/Makefile.am:
7762         * tests/sched/cases/(fs-fs).xml:
7763         * tests/sched/cases/(fs-i-fs).xml:
7764         * tests/sched/cases/(fs-i-i-fs).xml:
7765         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7766         * tests/sched/dynamic-pipeline.c:
7767         * tests/sched/interrupt1.c:
7768         * tests/sched/interrupt2.c:
7769         * tests/sched/interrupt3.c:
7770         * tests/sched/runtestcases:
7771         * tests/sched/runxml.c:
7772         * tests/sched/sched-stress.c:
7773         * tests/sched/sort.c:
7774         * tests/sched/testcases:
7775         * tests/sched/testcases1.tc:
7776         * tests/seeking/.cvsignore:
7777         * tests/seeking/Makefile.am:
7778         * tests/seeking/seeking1.c:
7779         * tests/threadstate/.cvsignore:
7780         * tests/threadstate/Makefile.am:
7781         * tests/threadstate/test1.c:
7782         * tests/threadstate/test2.c:
7783         * tests/threadstate/threadstate1.c:
7784         * tests/threadstate/threadstate2.c:
7785         * tests/threadstate/threadstate3.c:
7786         * tests/threadstate/threadstate4.c:
7787         * tests/threadstate/threadstate5.c:
7788           remove obsolete tests
7789         * configure.ac:
7790         * tests/bench-complexity.scm:
7791         * tests/bench-mass_elements.scm:
7792         * tests/complexity.c:
7793         * tests/complexity.gnuplot:
7794         * tests/instantiate/.cvsignore:
7795         * tests/instantiate/Makefile.am:
7796         * tests/instantiate/caps.c:
7797         * tests/mass_elements.c:
7798         * tests/network-clock-utils.scm:
7799         * tests/network-clock.scm:
7800         * tests/plot-data:
7801         First pass at cleaning up tests/ dir before moving the rest
7802         Combined with CVS surgery
7803
7804 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7805
7806         * po/POTFILES.in:
7807           queue has moved, update
7808
7809 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7810
7811         * docs/gst/gstreamer-sections.txt:
7812           remove double entries from the docs
7813         * gst/gst_private.h:
7814         * gst/gstinfo.c: (_gst_debug_init):
7815           remove the THREAD debug category
7816         * gst/Makefile.am:
7817         * gst/gstqueue.c:
7818         * gst/gstqueue.h:
7819         * docs/gst/gstreamer.types:
7820         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7821         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7822           completely move queue and fix up debugging categories
7823
7824 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7825
7826         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7827           make initialization portable, using LL is not
7828
7829 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7830
7831         * win32/common/gstconfig.h:
7832           add large padding
7833
7834 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7835
7836         * win32/common/libgstreamer.def:
7837           rename symbols; sort base section
7838
7839 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7840
7841         * gst/gstclock.c: (do_linear_regression):
7842           remove crack non-portable handrolled DEBUG macro
7843
7844 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7845
7846         * docs/random/release:
7847           update notes
7848         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7849         (gst_object_flags_get_type), (register_gst_bin_flags),
7850         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7851         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7852         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7853         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7854         (gst_caps_flags_get_type), (register_gst_clock_return),
7855         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7856         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7857         (gst_clock_flags_get_type), (register_gst_state),
7858         (gst_state_get_type), (register_gst_state_change_return),
7859         (gst_state_change_return_get_type), (register_gst_state_change),
7860         (gst_state_change_get_type), (register_gst_element_flags),
7861         (gst_element_flags_get_type), (register_gst_core_error),
7862         (gst_core_error_get_type), (register_gst_library_error),
7863         (gst_library_error_get_type), (register_gst_resource_error),
7864         (gst_resource_error_get_type), (register_gst_stream_error),
7865         (gst_stream_error_get_type), (register_gst_event_type_flags),
7866         (gst_event_type_flags_get_type), (register_gst_event_type),
7867         (gst_event_type_get_type), (register_gst_seek_type),
7868         (gst_seek_type_get_type), (register_gst_seek_flags),
7869         (gst_seek_flags_get_type), (register_gst_format),
7870         (gst_format_get_type), (register_gst_index_certainty),
7871         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7872         (gst_index_entry_type_get_type),
7873         (register_gst_index_lookup_method),
7874         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7875         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7876         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7877         (gst_index_flags_get_type), (register_gst_debug_level),
7878         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7879         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7880         (gst_iterator_result_get_type), (register_gst_iterator_item),
7881         (gst_iterator_item_get_type), (register_gst_message_type),
7882         (gst_message_type_get_type), (register_gst_mini_object_flags),
7883         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7884         (gst_pad_link_return_get_type), (register_gst_flow_return),
7885         (gst_flow_return_get_type), (register_gst_activate_mode),
7886         (gst_activate_mode_get_type), (register_gst_pad_direction),
7887         (gst_pad_direction_get_type), (register_gst_pad_flags),
7888         (gst_pad_flags_get_type), (register_gst_pad_presence),
7889         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7890         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7891         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7892         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7893         (gst_plugin_flags_get_type), (register_gst_rank),
7894         (gst_rank_get_type), (register_gst_query_type),
7895         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7896         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7897         (gst_tag_flag_get_type), (register_gst_task_state),
7898         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7899         (gst_alloc_trace_flags_get_type),
7900         (register_gst_type_find_probability),
7901         (gst_type_find_probability_get_type), (register_gst_uri_type),
7902         (gst_uri_type_get_type), (register_gst_parse_error),
7903         (gst_parse_error_get_type):
7904         * win32/common/gstenumtypes.h:
7905         * win32/common/gstversion.h:
7906           update visual studio generated files
7907
7908 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7909
7910         * win32/vs6/libgstbase.dsp:
7911         * win32/vs6/libgstelements.dsp:
7912           update project files for new locations
7913
7914 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7915
7916         * Makefile.am:
7917           remove some files
7918         * README:
7919           reinstate and update
7920         * DEVEL:
7921         * REQUIREMENTS:
7922           removed
7923         * LICENSE:
7924         * docs/random/LICENSE:
7925           moved to random
7926
7927 2005-11-30  Edward Hervey  <edward@fluendo.com>
7928
7929         * gst/gsttypefind.c: (gst_type_find_register):
7930         * gst/gsttypefind.h:
7931         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7932         (gst_type_find_factory_dispose):
7933         * gst/gsttypefindfactory.h:
7934         Fix memory leak in GstTypeFindFactory.
7935
7936 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7937
7938         * gst/gst.c:
7939         * plugins/elements/Makefile.am:
7940         * plugins/elements/gstelements.c:
7941         * plugins/elements/gstqueue.c:
7942           move queue from core to the elements plugin
7943
7944 2005-11-29  Andy Wingo  <wingo@pobox.com>
7945
7946         * libs/gst/base/gstbasetransform.h: 
7947         * libs/gst/base/gstbasesrc.h: 
7948         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7949
7950         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7951         of pointers by which to pad very extensible base classes (like the
7952         ones in libs/gst/base).
7953
7954 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7955
7956         * docs/gst/gstreamer-docs.sgml:
7957         * docs/gst/gstreamer-sections.txt:
7958         * docs/libs/gstreamer-libs-docs.sgml:
7959         * docs/libs/gstreamer-libs-sections.txt:
7960           moving documentation from core to lib
7961
7962 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7963
7964         * check/Makefile.am:
7965         * configure.ac:
7966         * docs/gst/Makefile.am:
7967         * gst/Makefile.am:
7968         * gst/base/.cvsignore:
7969         * gst/base/Makefile.am:
7970         * gst/base/README:
7971         * gst/base/gstadapter.c:
7972         * gst/base/gstadapter.h:
7973         * gst/base/gstbasesink.c:
7974         * gst/base/gstbasesink.h:
7975         * gst/base/gstbasesrc.c:
7976         * gst/base/gstbasesrc.h:
7977         * gst/base/gstbasetransform.c:
7978         * gst/base/gstbasetransform.h:
7979         * gst/base/gstcollectpads.c:
7980         * gst/base/gstcollectpads.h:
7981         * gst/base/gstpushsrc.c:
7982         * gst/base/gstpushsrc.h:
7983         * gst/base/gsttypefindhelper.c:
7984         * gst/base/gsttypefindhelper.h:
7985         * gst/check/Makefile.am:
7986         * gst/check/gstcheck.c:
7987         * gst/check/gstcheck.h:
7988         * gst/net/Makefile.am:
7989         * gst/net/gstnet.h:
7990         * gst/net/gstnetclientclock.c:
7991         * gst/net/gstnetclientclock.h:
7992         * gst/net/gstnettimepacket.c:
7993         * gst/net/gstnettimepacket.h:
7994         * gst/net/gstnettimeprovider.c:
7995         * gst/net/gstnettimeprovider.h:
7996         * libs/gst/Makefile.am:
7997         * libs/gst/base/Makefile.am:
7998         * libs/gst/base/gstbasetransform.c:
7999         * libs/gst/check/Makefile.am:
8000         * plugins/elements/Makefile.am:
8001         * po/POTFILES.in:
8002           CVS surgery + support to move base, check, and net out of gst
8003           and into libs/gst
8004
8005 2005-11-29  Andy Wingo  <wingo@pobox.com>
8006
8007         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8008
8009         * gst/gststructure.h (struct _GstStructure): Only one pointer of
8010         padding.
8011
8012         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8013
8014         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8015
8016         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8017
8018         * gst/gstobject.h: (struct _GstObject): Only one pointer of
8019         padding; reduces object size by about 30%. We don't expect
8020         anything else to go into gstobject.
8021
8022         * gst/gstminiobject.h (struct _GstMiniObject)
8023         (struct _GstMiniObjectClass): Only one pointer of padding; the
8024         payload is only a pointer and two ints anyway. For the class there
8025         are only two methods as well.
8026         
8027         * gst/gstelement.h (struct _GstElementClass): Removed
8028         the state_changed signal callback, it is not used.
8029
8030 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         * docs/gst/gstreamer.types:
8033           fix includes, though they are a little dinky
8034
8035 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8036
8037         * check/Makefile.am:
8038           look in the right place for elements, a lot more chance of
8039           success
8040         * gst/Makefile.am:
8041           remove indexers and elements subdirs
8042         * plugins/Makefile.am:
8043           make indexers conditional
8044
8045 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8046
8047         * Makefile.am:
8048         * configure.ac:
8049         * plugins/elements/Makefile.am:
8050         * plugins/elements/gstcapsfilter.c:
8051         * plugins/elements/gstfilesink.c:
8052         * plugins/elements/gstfilesrc.c:
8053         * plugins/elements/gstidentity.c:
8054         * plugins/indexers/Makefile.am:
8055           do CVS surgery and related build fixery to move elements
8056           and indexers in a new gstreamer/plugins directory, out of the
8057           gst/ directory
8058
8059 2005-11-29  Andy Wingo  <wingo@pobox.com>
8060
8061         * check/Makefile.am:
8062         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8063         * pkgconfig/gstreamer-net.pc.in:
8064         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8065         #322257.
8066
8067 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8068
8069         * tools/Makefile.am:
8070         * tools/gst-complete.1.in:
8071         * tools/gst-complete.c:
8072         * tools/gst-compprep.1.in:
8073         * tools/gst-compprep.c:
8074           removing -compprep and -complete
8075
8076 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8077
8078         * gst/gstevent.c: (gst_event_new_new_segment),
8079         (gst_event_parse_new_segment):
8080         * gst/gstevent.h:
8081           fix #320529 - clean up new_segment API and structure.
8082           Let's hope everyone was using the methods, and not the structure.
8083
8084 2005-11-29  Edward Hervey  <edward@fluendo.com>
8085
8086         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8087         (gst_base_sink_event), (gst_base_sink_do_sync),
8088         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8089         Properly handle non GST_FORMAT_TIME segment
8090         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8091         Properly handle non GST_FORMAT_TIME segment
8092         * gst/gstsegment.c:
8093         This function is valid if the accumulator is 0 and the format
8094         is different from the requested format.
8095         
8096 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8097
8098         * docs/gst/gstreamer-sections.txt:
8099         Add gst_query_new_seeking and gst_query_parse_seeking to the
8100         docs.
8101
8102 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8103
8104         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8105           Treat a pad alloc with new caps the same as if we were not
8106           negotiated, in order to allow a changing upstream output
8107           to produce a new format of data.
8108
8109 2005-11-29  Edward Hervey  <edward@fluendo.com>
8110
8111         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8112         (gst_base_transform_event), (gst_base_transform_eventfunc):
8113         The event virtual method is now properly implemented, with a default
8114         handler
8115         Sub classes should call the parent_class event method. They should
8116         return FALSE if they had a problem handling the given event, or don't
8117         want GstBaseTransform to send that even downstream
8118         * gst/elements/gstidentity.c: (gst_identity_class_init),
8119         (gst_identity_init), (gst_identity_event),
8120         (gst_identity_transform_ip), (gst_identity_set_property),
8121         (gst_identity_get_property):
8122         * gst/elements/gstidentity.h:
8123         Added the single-segment boolean property.
8124         If set to TRUE, it will output a single segment of data, starting from
8125         0, will eat up all incoming newsegment, and modify the timestamp of the
8126         buffers accordingly
8127
8128 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
8129
8130         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8131           Don't ref NULL target pad (#322751). Improve docs.
8132
8133 2005-11-29  Michael Smith  <msmith@fluendo.com>
8134
8135         * gst/gstregistryxml.c: (load_plugin):
8136           Don't crash if we failed to load a feature from a plugin. 
8137
8138 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8139
8140         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8141         (GST_START_TEST):
8142           use more check API and less GLib API
8143
8144 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8145
8146         * Makefile.am:
8147           don't run checks if we don't have check
8148         * common/check.mak:
8149           remove the registry when running make torture
8150         * docs/gst/gstreamer-sections.txt:
8151           remove second multiply
8152         * gst/gstqueue.c: (gst_queue_loop):
8153           fix a compile warning when disabling debug
8154
8155 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8156
8157         * gst/gstinfo.h:
8158         Hey! Let's print the pad name if the pointer != NULL instead
8159         of when it == NULL :-)
8160
8161 2005-11-28  Wim Taymans  <wim@fluendo.com>
8162
8163         * check/gst/gstutils.c: (GST_START_TEST):
8164         Updated check, add some scaling accuracy checking code.
8165
8166         * gst/gstutils.c: (gst_util_div128_64),
8167         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8168         (gst_util_uint64_scale_int):
8169         Fix 6 times faster division code. Optimize for common 
8170         1/1 and less common X/1 cases.
8171
8172 2005-11-28  Wim Taymans  <wim@fluendo.com>
8173
8174         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8175         More checks.
8176
8177         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8178         (do_linear_regression), (gst_clock_add_observation):
8179         Cleanups.
8180         Release lock when the clock cannot be slaved.
8181         Catch the case where the regression returned an invalid denominator.
8182
8183         * gst/gstutils.c: (gst_util_div128_64_iterate),
8184         (gst_util_div128_64), (gst_util_uint64_scale_int64),
8185         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8186         Add protentially more performant non-iterative 128/64 divide function
8187         that unfortunatly does not work yet.
8188         Shortcut the trivial 0/X = 0 case.
8189         Remove the warnings on overflow.
8190
8191 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8192
8193         * gst/gstplugin.c: (gst_plugin_register_func):
8194           everything causing a plugin not to load should be at least a WARNING
8195
8196 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
8197
8198         * docs/random/ensonic/dparams.txt:
8199           some TODOs for the next dev cycle
8200         * libs/gst/controller/gstcontroller.c:
8201         (gst_controlled_property_set_interpolation_mode),
8202         (gst_controlled_property_new):
8203         * libs/gst/controller/gstcontroller.h:
8204           use base type to assign acccessor functions
8205
8206 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8207
8208         * check/Makefile.am:
8209         Oops, that should have been top_srcdir
8210
8211 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8212
8213         * check/Makefile.am:
8214         * check/elements/fdsrc.c: (GST_START_TEST):
8215         Use a cmdline define to specify the location of a file to use for
8216         testing, to avoid breaking distcheck.
8217
8218 2005-11-28  Andy Wingo  <wingo@pobox.com>
8219
8220         * gst/gstpad.c (fixate_value): Use array functions for arrays.
8221
8222 2005-11-28  Edward Hervey  <edward@fluendo.com>
8223
8224         * tools/gst-launch.c: (main):
8225         Clarify the output strings, makes it easier to translate.
8226         Fixes #322626
8227
8228 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8229
8230         * gst/Makefile.am:
8231           don't try and build net if we don't even have <sys/socket.h>
8232
8233 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
8234
8235         * check/Makefile.am:
8236         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8237         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8238           Add tests for fdsrc seekability
8239
8240         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8241         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8242         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8243         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8244         * gst/elements/gstfdsrc.h:
8245           fdsrc should not be a 'live' source.
8246           Implement seeking on seekable fd's.
8247
8248         * gst/gstquery.c: (gst_query_new_seeking),
8249         (gst_query_parse_seeking):
8250         * gst/gstquery.h:
8251           Implement SEEKING query functions: 
8252             *_new_seeking and *_parse_seeking
8253
8254 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
8255
8256         * gst/gstelement.c: (gst_element_dispose):
8257           don't loop forever
8258
8259         * gst/gstiterator.c:
8260         * gst/gststructure.c:
8261           doc fixes
8262
8263         * libs/gst/controller/gstcontroller.c:
8264         (gst_controlled_property_set_interpolation_mode):
8265         * libs/gst/controller/gstcontroller.h:
8266         * libs/gst/controller/gstinterpolation.c:
8267         (interpolate_none_get_enum_value_array):
8268           support controlling enums
8269
8270 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8271
8272         * gst/gstvalue.c:
8273           Improve documentation for gst_value_union().
8274
8275         * gst/gstvalue.h:
8276           Change return value for union, intersect and subtract functions
8277           from gint to gboolean.
8278
8279 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8280
8281         * gst/gstvalue.c: (gst_value_serialize_any_list),
8282         (gst_value_transform_any_list_string),
8283         (gst_value_deserialize_list), (gst_value_deserialize_array),
8284         (gst_value_set_int_range), (gst_value_deserialize_int_range),
8285         (gst_value_set_double_range), (gst_value_deserialize_double_range),
8286         (gst_value_set_fraction_range_full),
8287         (gst_value_deserialize_fraction_range),
8288         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8289         (gst_value_deserialize_boolean),
8290         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8291         (gst_value_serialize_float), (gst_value_deserialize_float),
8292         (gst_string_wrap), (gst_value_deserialize_string),
8293         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8294         (gst_value_union_int_range_int_range),
8295         (gst_value_intersect_int_range_int_range),
8296         (gst_value_intersect_double_range_double_range),
8297         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8298         (gst_value_subtract_int_range_int_range),
8299         (gst_value_subtract_double_double_range),
8300         (gst_value_subtract_double_range_double_range),
8301         (gst_value_deserialize_fraction):
8302         * gst/gstvalue.h:
8303           Use gint, gdouble and gchar in our API instead of int, double and
8304           char (and make usage in gstvalue.c more consistent).
8305
8306 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8307
8308         * check/Makefile.am:
8309         * libs/gst/controller/Makefile.am:
8310         * libs/gst/dataprotocol/Makefile.am:
8311           fix up Makefile.am and remove GST_ENABLE_NEW
8312
8313 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8314
8315         * configure.ac:
8316         * gst/Makefile.am:
8317         * gst/base/Makefile.am:
8318         * gst/check/Makefile.am:
8319         * gst/elements/Makefile.am:
8320         * gst/net/Makefile.am:
8321           update LDFLAGS use some more
8322
8323 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8324
8325         * common/m4/gst-doc.m4:
8326           Fixes #312589
8327
8328 2005-11-26  Edward Hervey  <edward@fluendo.com>
8329
8330         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8331         This shouldn't issue a g_warning since it returns NULL if it
8332         couldn't find the plugin, and all functions using this behave
8333         properly on a NULL return. Switching to a GST_WARNING.
8334
8335 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8336
8337         * gst/gstbin.c: (gst_bin_handle_message_func):
8338         Don't leak clock messages.
8339
8340 2005-11-25  Wim Taymans  <wim@fluendo.com>
8341
8342         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8343         (gst_util_uint64_scale_int):
8344         Optimisations, remove unneeded vars.
8345
8346 2005-11-25  Wim Taymans  <wim@fluendo.com>
8347
8348         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8349         Added more checks for the high precision uint64 cases.
8350
8351         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8352         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8353         Implement high precision (guint64 * guint64) / guint64.
8354
8355 2005-11-24  Wim Taymans  <wim@fluendo.com>
8356
8357         * gst/base/gstbasesrc.c: (gst_base_src_query):
8358         Fix wrong percentage query.
8359
8360         * gst/gstutils.c: (gst_util_uint64_scale),
8361         (gst_util_uint64_scale_int):
8362         Add some more common cases that can be handled 
8363         efficiently to _scale.
8364
8365 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8366
8367         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8368         (gst_mini_object_suite):
8369           don't use check calls from threads; check probably isn't
8370           threadsafe and using a lock to make it threadsafe would
8371           defeat the purpose of this check
8372         * gst/check/gstcheck.c:
8373         * gst/check/gstcheck.h:
8374           use GST_DEBUG some more
8375
8376 2005-11-24  Wim Taymans  <wim@fluendo.com>
8377
8378         * gst/gstutils.c: (gst_util_uint64_scale),
8379         (gst_util_uint64_scale_int):
8380         Chain trivial case to _scale_int.
8381
8382 2005-11-24  Wim Taymans  <wim@fluendo.com>
8383
8384         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8385         Added test for scaling.
8386
8387         * gst/gstclock.h:
8388         Small doc fix.
8389
8390         * gst/gstutils.c: (gst_util_uint64_scale_int):
8391         Implemented high precision scaling code.
8392
8393 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8394
8395         * gst/gstinfo.h:
8396           do not crash on pad==NULL
8397
8398 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8399
8400         Patch by: Stefan Kost
8401
8402         * common/gtk-doc.mak:
8403         * docs/gst/Makefile.am:
8404         * docs/libs/Makefile.am:
8405           Fix distcheck issues for the libraries docs build
8406           Closes #319599.
8407
8408 2005-11-24  Michael Smith <msmith@fluendo.com>
8409
8410         * docs/manual/basics-helloworld.xml:
8411           Fix bug #315027: memory leak in example code in docs.
8412
8413 2005-11-24  Michael Smith <msmith@fluendo.com>
8414
8415         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8416           Unlock the PREROLL_LOCK in a failure case.
8417
8418 2005-11-24  Wim Taymans  <wim@fluendo.com>
8419
8420         * docs/gst/gstreamer-sections.txt:
8421         * gst/base/gstadapter.h:
8422         * gst/base/gstbasesink.h:
8423         * gst/base/gstbasesrc.h:
8424         * gst/base/gstbasetransform.h:
8425         * gst/base/gstpushsrc.h:
8426         * gst/elements/gstfakesink.h:
8427         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8428         * gst/elements/gstfakesrc.h:
8429         * gst/elements/gstfilesink.h:
8430         * gst/elements/gstfilesrc.h:
8431         * gst/gst.c:
8432         * gst/gstbin.c:
8433         * gst/gstbuffer.c: (_gst_buffer_copy):
8434         * gst/gstbus.h:
8435         * gst/gstcaps.c:
8436         * gst/gstchildproxy.c:
8437         * gst/gstclock.c:
8438         * gst/gstelement.c:
8439         * gst/gstelementfactory.c:
8440         * gst/gstelementfactory.h:
8441         * gst/gstevent.c:
8442         * gst/gstghostpad.h:
8443         * gst/gstindex.h:
8444         * gst/gstinterface.h:
8445         * gst/gstminiobject.c:
8446         * gst/gstminiobject.h:
8447         * gst/gstpad.c:
8448         * gst/gstpad.h:
8449         * gst/gstpadtemplate.h:
8450         * gst/gstpipeline.h:
8451         * gst/gstpluginfeature.h:
8452         * gst/gstquery.h:
8453         * gst/gstqueue.h:
8454         * gst/gsttaglist.c:
8455         * gst/gsttaglist.h:
8456         * gst/gsttagsetter.c:
8457         * gst/gsttagsetter.h:
8458         * gst/gsttrace.c:
8459         * gst/gsttrace.h:
8460         * gst/gsttypefind.h:
8461         * gst/gsturi.h:
8462         * gst/gstvalue.c:
8463         * gst/net/gstnetclientclock.c:
8464         * gst/net/gstnetclientclock.h:
8465         * gst/net/gstnettimepacket.c:
8466         * gst/net/gstnettimeprovider.c:
8467         * gst/net/gstnettimeprovider.h:
8468         Doc fixes.
8469
8470 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8471
8472         * configure.ac: back to HEAD
8473
8474 === release 0.9.6 ===
8475
8476 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8477
8478         * configure.ac:
8479           releasing 0.9.6, "Always On Time"
8480
8481 2005-11-23  Wim Taymans  <wim@fluendo.com>
8482
8483         * docs/gst/gstreamer-sections.txt:
8484         * gst/glib-compat.c:
8485         * gst/gsttagsetter.c:
8486         * gst/gstvalue.c:
8487         * gst/net/gstnetclientclock.c:
8488         * gst/net/gstnettimepacket.h:
8489         Doc updates.
8490
8491 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8492
8493         * docs/faq/using.xml:
8494         * docs/libs/tmpl/gstcontrol.sgml:
8495         * docs/manual/advanced-dparams.xml:
8496         * docs/manual/appendix-checklist.xml:
8497         * docs/manual/basics-elements.xml:
8498         * docs/pwg/other-source.xml:
8499         * docs/random/moving-plugins:
8500         * gst/gstpad.c:
8501         * tools/gst-launch.1.in:
8502           remove mentions of sinesrc
8503
8504 2005-11-23  Michael Smith <msmith@fluendo.com>
8505
8506         * docs/gst/gstreamer-sections.txt:
8507           Update for new API and API changes.
8508         * gst/gstobject.h:
8509           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8510         * gst/gstvalue.c:
8511           Documentation typo fix.
8512         * gst/net/gstnettimepacket.c:
8513           Documentation fixes for arguments.
8514
8515 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8516
8517         * gst/gststructure.c: (gst_structure_get_fraction),
8518         (gst_structure_parse_value),
8519         (gst_structure_fixate_field_nearest_fraction):
8520         * gst/gststructure.h:
8521         * gst/gstutils.c: (gst_util_uint64_scale_int):
8522         * gst/gstutils.h:
8523         * scripts/update-funcnames:
8524         API Changes. 
8525         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8526         Make gst_structure_fixate_field_nearest_fraction take a numerator
8527         and denominator argument instead of a GValue
8528         add gst_structure_get_fraction helper function.
8529
8530 2005-11-23  Wim Taymans  <wim@fluendo.com>
8531
8532         * docs/design/part-TODO.txt:
8533         Update TODO.
8534
8535         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8536         * gst/net/gstnetclientclock.h:
8537         Use parent fields for timeout and window_size.
8538
8539 2005-11-23  Andy Wingo  <wingo@pobox.com>
8540
8541         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8542         rate_num/rate_denom change.
8543
8544         * gst/net/gstnetclientclock.c
8545         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8546         OBJECT_LOCK. Don't call add_observation with the lock.
8547
8548         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8549         fraction.
8550         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8551         rate fraction.
8552         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8553         deal with rate as a fraction whose numerator and denominator are
8554         GstClockTime values.
8555         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8556         master; the other fields are protected by the SLAVE_LOCK.
8557         (do_linear_regression): Note that this must be called with the
8558         SLAVE_LOCK.
8559         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8560         OBJECT_LOCK. Call set_calibration instead of touching the
8561         variables directly.
8562         (gst_clock_set_property, gst_clock_get_property): Protect
8563         master/slave parameters with the SLAVE_LOCK.
8564
8565         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8566         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8567         note that all of the instance variables that add_observation and
8568         the set_master functions use are protected by that lock and not
8569         the OBJECT_LOCK.
8570         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8571
8572         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8573         the caller to take the object lock.
8574
8575 2005-11-23  Wim Taymans  <wim@fluendo.com>
8576
8577         * gst/gsterror.c: (_gst_core_errors_init):
8578         * gst/gsterror.h:
8579         Add error for clock stuff.
8580
8581         * gst/gstpipeline.c: (gst_pipeline_change_state),
8582         (gst_pipeline_set_clock):
8583         Post clock error when clock cannot be used in a pipeline.
8584
8585 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8586
8587         * docs/gst/gstreamer-sections.txt:
8588           make two symbols from gstinfo private for the docs
8589         * gst/base/gstcollectpads.h:
8590         * gst/gstutils.c:
8591           fix doc typos, update docs
8592
8593 2005-11-22  Wim Taymans  <wim@fluendo.com>
8594
8595         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8596         (gst_base_sink_wait), (gst_base_sink_do_sync),
8597         (gst_base_sink_handle_event):
8598         * gst/base/gstbasesink.h:
8599         No need to store the clock, the parent element class already
8600         has it.
8601
8602         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8603         Updates for clock_set returning a gboolean
8604
8605         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8606         (gst_clock_id_wait_async), (gst_clock_class_init),
8607         (gst_clock_init), (gst_clock_finalize),
8608         (gst_clock_get_internal_time), (gst_clock_get_time),
8609         (gst_clock_slave_callback), (gst_clock_set_master),
8610         (gst_clock_get_master), (do_linear_regression),
8611         (gst_clock_add_observation), (gst_clock_set_property),
8612         (gst_clock_get_property):
8613         * gst/gstclock.h:
8614         Implement master/slave. When setting a clock as a slave, a
8615         periodic timeout is scheduled to sample master and slave times.
8616         Then the slave clock is recalibrated to match offset and rate
8617         of the master clock.
8618         Update logging a bit.
8619         Add flag so that a clock can state that is cannot be slaved to
8620         another clock.
8621
8622         * gst/gstelement.c: (gst_element_set_clock):
8623         * gst/gstelement.h:
8624         The set clock returns a gboolean for when an element cannot
8625         deal with the selected clock in the pipeline. 
8626
8627         * gst/gstpipeline.c: (gst_pipeline_change_state),
8628         (gst_pipeline_set_clock):
8629         * gst/gstpipeline.h:
8630         Handle the case where the selected clock cannot be set on
8631         the pipeline.
8632
8633         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8634         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8635         (gst_net_client_clock_set_property),
8636         (gst_net_client_clock_get_property),
8637         (gst_net_client_clock_observe_times):
8638         * gst/net/gstnetclientclock.h:
8639         Use regression code in GstClock parent, remove duplicated
8640         functionality.
8641
8642 2005-11-22  Michael Smith <msmith@fluendo.com>
8643
8644         * gst/gstutils.c: (gst_util_clock_time_scale):
8645         * gst/gstutils.h:
8646         * docs/gst/gstreamer-sections.txt:
8647           Rename method to have extra underscore.
8648
8649 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8650
8651         * gst/elements/Makefile.am:
8652         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8653         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8654         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8655         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8656         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8657         * gst/elements/gstfakesrc.h:
8658         * gst/gstqueue.c: (queue_leaky_get_type):
8659           correctly fix GEnumValues so that nick is the short lowercase
8660           dashed tag
8661         * tools/gst-inspect.c: (print_element_properties_info):
8662           also show the nick, since it's useful to use from parse_launch
8663           syntax
8664           Fixes #322139
8665
8666 2005-11-22  Michael Smith <msmith@fluendo.com>
8667
8668         * gst/gstutils.c: (gst_util_clocktime_scale):
8669         * gst/gstutils.h:
8670         * docs/gst/gstreamer-sections.txt:
8671           Add util method for scaling a clocktime by a fraction. Useful 
8672           implementation is left as an exercise for the reader.
8673
8674 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8675
8676         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8677         If needed, allocate storage in the destination value during
8678         collection.
8679
8680 2005-11-22  Edward Hervey  <edward@fluendo.com>
8681
8682         * docs/gst/gstreamer-sections.txt:
8683         * gst/Makefile.am:
8684         * gst/gst.h:
8685         * gst/gsturitype.c:
8686         * gst/gsturitype.h:
8687         * gst/gstutils.c: (gst_util_set_object_arg):
8688         * tools/gst-compprep.c: (main):
8689         * tools/gst-inspect.c: (print_element_properties_info):
8690         Removed GstURI, closes bug #321061
8691
8692 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8693
8694         * check/gst/gststructure.c: (GST_START_TEST):
8695         * gst/gststructure.c: (gst_structure_parse_value):
8696           Oops, broke automatic string type parsing.
8697           Add a test to catch it in future.
8698
8699 2005-11-22  Andy Wingo  <wingo@pobox.com>
8700
8701         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8702         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8703         Actually rename the function implementations. Grr.
8704
8705 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8706
8707         * check/gst/capslist.h:
8708           Comment test cases
8709         * check/gst/gststructure.c: (GST_START_TEST),
8710         (gst_structure_suite):
8711           Test automatic value type detection in gst_structure_from_string.
8712         * gst/gststructure.c: (gst_structure_parse_value):
8713           Add fraction as a type we try and guess automatically in
8714           caps/structure strings.
8715
8716 2005-11-22  Andy Wingo  <wingo@pobox.com>
8717
8718         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8719
8720         * gst/gsttagsetter.h:
8721         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8722         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8723         (gst_tag_setter_add_tag_valist)
8724         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8725         _add_values, _add_valist, and _add_valist_values. Since this is an
8726         interface the function suffixes should be more explicit so
8727         language binding don't end up with element.add_valist ->
8728         gst_tag_setter_add_valist, for example. Fixes #322069.
8729
8730 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8731
8732         * check/gst/gstcaps.c: (GST_START_TEST):
8733           Extend caps string tests to check that a caps to string
8734           conversion is reversible and produces the same caps.
8735
8736         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8737           Output "fraction" as the generic type fraction range, so caps
8738           serialisation and deserialisation works.
8739         * check/gst/capslist.h:
8740         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8741           Support 'MIN' and 'MAX' for deserialising fractions.
8742
8743 2005-11-22  Andy Wingo  <wingo@pobox.com>
8744
8745         * gst/gstevent.h (gst_event_new_new_segment)
8746         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8747         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8748         Renamed from *_newsegment, *_buffersize, *_notarget.
8749
8750         * scripts/update-funcnames: New script, performs the changes
8751         listed above.
8752
8753 2005-11-22  Wim Taymans  <wim@fluendo.com>
8754
8755         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8756         Make sure the GstFlowReturn is returned.
8757
8758         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8759         (gst_bus_add_signal_watch):
8760         * gst/gstbus.h:
8761         add gst_bus_add_signal_watch_full.
8762
8763         * gst/gstplugin.c: (gst_plugin_load_file):
8764         Small style cleanup.
8765
8766 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8767
8768         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8769           Block the fakesrc srcpad when we send an event, to avoid
8770           contention on the stream_lock causing random test failures.
8771
8772 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8773
8774         * check/gst/gstvalue.c: (GST_START_TEST):
8775         * gst/gstvalue.c: (gst_value_fraction_subtract):
8776           Fix subtraction.
8777
8778 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8779
8780         * gst/gst.h:
8781           include "gstchildproxy.h"
8782         * gst/gstchildproxy.h:
8783         * libs/gst/controller/gstcontroller.h:
8784           use G_GNUC_NULL_TERMINATED
8785
8786 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8787
8788         * check/gst/capslist.h:
8789         * check/gst/gstcaps.c: (GST_START_TEST):
8790         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8791         * gst/gststructure.c: (gst_structure_parse_range),
8792         (gst_structure_fixate_field_nearest_fraction):
8793         * gst/gststructure.h:
8794         * gst/gstvalue.c: (gst_value_init_fraction_range),
8795         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8796         (gst_value_collect_fraction_range),
8797         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8798         (gst_value_set_fraction_range_full),
8799         (gst_value_get_fraction_range_min),
8800         (gst_value_get_fraction_range_max),
8801         (gst_value_serialize_fraction_range),
8802         (gst_value_transform_fraction_range_string),
8803         (gst_value_compare_fraction_range),
8804         (gst_value_deserialize_fraction_range),
8805         (gst_value_intersect_fraction_fraction_range),
8806         (gst_value_intersect_fraction_range_fraction_range),
8807         (gst_value_subtract_fraction_fraction_range),
8808         (gst_value_subtract_fraction_range_fraction),
8809         (gst_value_subtract_fraction_range_fraction_range),
8810         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8811         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8812         (gst_value_transform_string_fraction), (_gst_value_initialize):
8813         * gst/gstvalue.h:
8814           Implement fraction ranges and extend GstFraction to support
8815           arithmetic subtraction, as well as deserialization from integer
8816           strings such as "100"
8817           Add a testsuite as for int and double range set operations
8818
8819 2005-11-21  Andy Wingo  <wingo@pobox.com>
8820
8821         * gst/gsttaglist.h: 
8822         * gst/gstcaps.h: 
8823         * gst/gststructure.h: Add glib-compat.h.
8824
8825 2005-11-21  Wim Taymans  <wim@fluendo.com>
8826
8827         * gst/gstbin.c: (gst_bin_change_state_func):
8828         Fix for #321595
8829
8830 2005-11-21  Wim Taymans  <wim@fluendo.com>
8831
8832         * gst/gstsegment.h:
8833         And add a nice define too.
8834
8835 2005-11-21  Wim Taymans  <wim@fluendo.com>
8836
8837         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8838         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8839         (gst_segment_set_duration), (gst_segment_set_last_stop),
8840         (gst_segment_set_seek), (gst_segment_set_newsegment),
8841         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8842         (gst_segment_clip):
8843         * gst/gstsegment.h:
8844         Make binding friendly.
8845
8846 2005-11-21  Andy Wingo  <wingo@pobox.com>
8847
8848         * gst/gsttagsetter.h: 
8849         * gst/gsttaglist.h: 
8850         * gst/gststructure.h: 
8851         * gst/gstcaps.h: 
8852         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8853         #319940.
8854
8855         * gst/gsterror.c (_gst_core_errors_init):
8856         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8857         category.
8858
8859         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8860         (noinst_HEADERS): noinst the -private.
8861
8862 2005-11-21  Michael Smith <msmith@fluendo.com>
8863
8864         * gst/gstplugin.h:
8865         * gst/gstregistry.h:
8866           Remove unimplemented declarations for which we can see no sensible
8867           use.
8868
8869 2005-11-21  Andy Wingo  <wingo@pobox.com>
8870
8871         * gst/gst.h: Include glib-compat.h.
8872
8873         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8874
8875         * gst/glib-compat.c: Include the public and the private header.
8876
8877         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8878
8879         * gst/gstvalue.c: 
8880         * gst/gstpad.c: 
8881         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8882
8883         * check/gst/gstevent.c (create_custom_events): Check that
8884         FLUSH_STOP is serialized.
8885
8886         * check/elements/identity.c (event_func): 
8887         * check/elements/fakesrc.c (event_func): No stream lock, the core
8888         takes it.
8889
8890         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8891         stream lock taking, yay.
8892
8893         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8894         ensure that core takes the stream lock.
8895
8896         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8897         lock name change.
8898
8899         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8900         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8901         it already. For the flush start we do take it though so we get the
8902         right preroll state change messages.
8903
8904         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8905         the stream lock here, the core does it for us.
8906
8907         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8908         GST_STREAM_GET_LOCK.
8909         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8910         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8911         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8912         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8913         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8914         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8915
8916         * gst/gstpad.c: Update for stream lock name change.
8917
8918         * gst/base/gstbasesink.c: Update for preroll lock name change.
8919
8920 2005-11-21  Wim Taymans  <wim@fluendo.com>
8921
8922         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8923         (gst_clock_get_master):
8924         * gst/gstclock.h:
8925         * gst/gstsystemclock.c: (gst_system_clock_init):
8926         Convert Clock flags to object flags.
8927         Added methods to manage master/slave clocks.
8928
8929 2005-11-21  Wim Taymans  <wim@fluendo.com>
8930
8931         * check/gst/gstsegment.c: (GST_START_TEST):
8932         * docs/design/part-TODO.txt:
8933         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8934         (gst_base_sink_event), (gst_base_sink_do_sync),
8935         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8936         (gst_base_sink_query), (gst_base_sink_change_state):
8937         * gst/base/gstbasesink.h:
8938         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8939         (gst_base_src_default_newsegment),
8940         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8941         (gst_base_src_get_range), (gst_base_src_loop),
8942         (gst_base_src_change_state):
8943         * gst/base/gstbasesrc.h:
8944         * gst/base/gstbasetransform.c:
8945         (gst_base_transform_prepare_output_buf),
8946         (gst_base_transform_event), (gst_base_transform_change_state):
8947         * gst/base/gstbasetransform.h:
8948         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8949         (gst_collect_pads_event):
8950         * gst/base/gstcollectpads.h:
8951         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8952         (gst_fake_src_create):
8953         * gst/elements/gstfakesrc.h:
8954         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8955         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8956         (gst_segment_set_last_stop), (gst_segment_set_seek),
8957         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8958         (gst_segment_to_running_time), (gst_segment_clip):
8959         * gst/gstsegment.h:
8960         More segment updates, replace code in plugins with segment
8961         helper functions.
8962
8963 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8964
8965         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8966         Don't ignore sscanf results
8967
8968 2005-11-21  Andy Wingo  <wingo@pobox.com>
8969
8970         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8971
8972         * *.h:
8973         * *.c: Ran scripts/update-macros. Oh yes.
8974
8975         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8976         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8977         GST_GET_LOCK, etc.
8978
8979         * scripts/update-macros: New script. Run it on your files to
8980         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8981         well.
8982
8983 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8984
8985         * docs/gst/Makefile.am:
8986         * docs/gst/gstreamer-docs.sgml:
8987         * docs/gst/gstreamer-sections.txt:
8988         * docs/gst/gstreamer.types:
8989         * gst/gstinfo.h:
8990           more docs fixes, add new api to the docs
8991
8992 2005-11-21  Andy Wingo  <wingo@pobox.com>
8993
8994         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8995         state_broadcast call.
8996
8997         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8998
8999 2005-11-21  Julien MOUTTE  <julien@moutte.net>
9000
9001         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9002         function calls for arrays.
9003
9004 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
9005
9006         * docs/random/ensonic/media-device-daemon.txt:
9007           wild idea, can this be done?
9008         * docs/gst/gstreamer-sections.txt:
9009         * gst/gsterror.h:
9010         * gst/gstfilter.c:
9011         * gst/gstfilter.h:
9012         * gst/gstplugin.h:
9013         * gst/gstpluginfeature.c:
9014         * gst/gsttrace.c:
9015         * gst/gstvalue.c:
9016         * gst/gstvalue.h:
9017           doc fixes and additions
9018
9019 2005-11-21  Andy Wingo  <wingo@pobox.com>
9020
9021         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
9022         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
9023         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
9024         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9025         private to the basesrc implementation.
9026
9027         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9028         behalf of event function if necessary. It should no longer be
9029         necessary to take the stream lock in pad's event functions. Fixes
9030         #320299.
9031
9032 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9033         * docs/gst/gstreamer-sections.txt:
9034         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9035         (gst_structure_fixate_field_nearest_double),
9036         (gst_structure_fixate_field_boolean):
9037         * gst/gststructure.h:
9038         * win32/common/libgstreamer.def:
9039         * win32/gstreamer.def:
9040
9041         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9042         (#322027)
9043
9044 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9045
9046         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9047         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9048         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9049         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9050         (gst_fdsrc_uri_handler_init):
9051         * gst/elements/gstfdsrc.h:
9052           Port fd:// URI handler from 0.8 to fdsrc
9053
9054 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9055
9056         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9057         (gst_value_serialize_fourcc):
9058         * gst/gstvalue.h:
9059           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9060           consistent with our other format defines (#320324).
9061
9062 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9063
9064         * gst/gstvalue.c: (gst_value_is_fixed):
9065           Revert previous commit. Value lists are by definition
9066           not fixed, as they are a list of possible values.
9067
9068 2005-11-21  Andy Wingo  <wingo@pobox.com>
9069
9070         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9071         during the stable series if we need it. Fixes #319178.
9072
9073         * gst/gstevent.c (gst_event_new_filler): Removed.
9074
9075         * check/gst/gstevent.c: Update comment about filler events.
9076
9077 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9078
9079         * gst/gstvalue.c: (gst_value_is_fixed):
9080           Should handle both value arrays and value lists.
9081
9082 2005-11-21  Andy Wingo  <wingo@pobox.com>
9083
9084         patch by: Alessandro Dessina <alessandro nnva org>
9085
9086         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9087         functions to access arrays. Fixes #321962.
9088
9089 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9090
9091         * docs/gst/gstreamer.types:
9092           gst_collectpads_get_type => gst_collect_pads_get_type.
9093           
9094         * gst/base/gstbasetransform.c:
9095           Remove unused SIGNAL_HANDOFF enum.
9096
9097 2005-11-21  Andy Wingo  <wingo@pobox.com>
9098
9099         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9100         the event type (upstream, downstream, serialized). Renamed
9101         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9102         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9103         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9104
9105         * gst/gstevent.c: Update for new CUSTOM event names.
9106
9107         * check/gst/gstevent.c: Update check for new CUSTOM event names.
9108
9109         * gst/gstevent.h:
9110         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9111         bug #319392.
9112
9113 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9114
9115         * docs/gst/gstreamer-sections.txt:
9116         * win32/common/libgstbase.def:
9117         * win32/libgstbase.def:
9118         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9119         (gst_collect_pads_class_init), (gst_collect_pads_init),
9120         (gst_collect_pads_finalize), (gst_collect_pads_new),
9121         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9122         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9123         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9124         (gst_collect_pads_start), (gst_collect_pads_stop),
9125         (gst_collect_pads_peek), (gst_collect_pads_pop),
9126         (gst_collect_pads_available), (gst_collect_pads_read),
9127         (gst_collect_pads_flush), (gst_collect_pads_event),
9128         (gst_collect_pads_chain):
9129         * gst/base/gstcollectpads.h:
9130           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9131           unimplemented functions as unimplemented. Add padding to
9132           GstCollectData. (#320766, #320423)
9133
9134 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9135
9136         * gst/gstmessage.c:
9137           Improve docs for DURATION message (usage of duration parameter)
9138           (#320113)
9139
9140 2005-11-20  Wim Taymans  <wim@fluendo.com>
9141
9142         * check/Makefile.am:
9143         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9144         (main):
9145         * gst/Makefile.am:
9146         * gst/gst.h:
9147         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9148         (gst_segment_set_seek), (gst_segment_set_newsegment),
9149         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9150         (gst_segment_clip):
9151         * gst/gstsegment.h:
9152         Added segment helper structure and methods. Not fully implemented
9153         yet.
9154         Added segment check.
9155
9156 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
9157
9158         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9159           Add a deserialisation test for fractions
9160         * examples/metadata/read-metadata.c: (message_loop),
9161         (make_pipeline), (main):
9162           Fix up metadata reading sample.
9163         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9164           Debug format fix
9165         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9166           Don't try and fixate empty caps
9167         * gst/gst_private.h:
9168           Wrap in G_BEGIN_DECLS/G_END_DECLS
9169         * gst/gstvalue.c: (gst_value_collect_fraction),
9170         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9171         (gst_value_transform_string_fraction),
9172         (gst_value_compare_fraction):
9173           Add some extra guards to ensure that we don't end up 
9174           with an invalid denominator of 0 in a gstfraction and
9175           that fractions always get reduced.
9176
9177 2005-11-20  Wim Taymans  <wim@fluendo.com>
9178
9179         * docs/gst/gstreamer-sections.txt:
9180         * gst/gstbuffer.h:
9181         * gst/gstelement.c:
9182         * gst/gstformat.c:
9183         * gst/gstformat.h:
9184         * gst/gstindex.h:
9185         * gst/gstquery.c:
9186         * gst/gstquery.h:
9187         * gst/gstvalue.c:
9188         Doc fixes.
9189
9190 2005-11-20  Wim Taymans  <wim@fluendo.com>
9191
9192         * docs/design/part-TODO.txt:
9193         * gst/gstcaps.h:
9194         Make a proper enum of the flag.
9195
9196 2005-11-19  Wim Taymans  <wim@fluendo.com>
9197
9198         * docs/design/part-TODO.txt:
9199         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9200         (gst_format_to_quark), (gst_format_register):
9201         * gst/gstformat.h:
9202         * gst/gstquery.c: (_gst_query_initialize),
9203         (gst_query_type_get_name), (gst_query_type_to_quark),
9204         (gst_query_type_register):
9205         * gst/gstquery.h:
9206         Add type to quark and type to string conversions.
9207
9208 2005-11-19  Andy Wingo  <wingo@pobox.com>
9209
9210         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9211         #320097.
9212
9213 2005-11-19  Wim Taymans  <wim@fluendo.com>
9214
9215         * docs/design/part-TODO.txt:
9216         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9217         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9218         (gst_bin_handle_message_func):
9219         * gst/gstbin.h:
9220         Make message handling overridable.
9221
9222 2005-11-19  Andy Wingo  <wingo@pobox.com>
9223
9224         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9225
9226         * gst/gstclock.h:
9227         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9228         be a GstClockTime.
9229         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9230         is a GstClockTime. Fixes #321710.
9231
9232         * gst/gstclock.h (GstClock): Remove offset property. Add
9233         internal_calibration and external_calibration. Fix padding. Pad
9234         also by GstClockTime so we don't run into problems.
9235
9236         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9237         (gst_clock_get_rate_offset): Remove.
9238         (gst_clock_set_time_adjust): Remove. Fixes #321712.
9239
9240         * gst/gstutils.h:
9241         * gst/gstutils.c (g_static_rec_cond_wait)
9242         (g_static_rec_cond_timed_wait): Removed, no longer needed.
9243
9244         * gst/gstbin.c: Remove terrible continue_state prototype.
9245
9246         * gst/gstelement.h (gst_element_continue_state): Make public.
9247
9248         * gst/gstelement.h:
9249         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9250         by continue_state. Fixes #319389.
9251
9252         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9253         Really fixes #168438. However I don't see anywhere where the
9254         filter function is called... stupid GStreamer...
9255         
9256         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9257         don't have a dispose function, so it won't get called when the
9258         object is unreffed, but oh well!
9259
9260         * gst/gstindex.c (gst_index_set_filter_full): New API function,
9261         allows a destroy function to be set so user_data can be freed.
9262         Fixes #168438.
9263         (gst_index_set_filter): Call gst_index_set_filter_full.
9264
9265         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9266
9267         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9268         string should produce an error, given the lack of a way to
9269         represent NULL strings. Fixes #165650.
9270         
9271         * gst/gstvalue.h: 
9272         * gst/gstvalue.c (gst_value_array_append_value) 
9273         (gst_value_array_prepend_value, gst_value_array_get_size) 
9274         (gst_value_array_get_value): New API, copied from
9275         gst_value_list_*, only operates on arrays.
9276         (gst_value_list_append_value, gst_value_list_prepend_value) 
9277         (gst_value_list_concat, gst_value_list_get_size) 
9278         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9279
9280         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9281         init_list, because it works on both.
9282         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9283         (gst_value_copy_list_or_array): Renamed from copy_list.
9284         (gst_value_free_list_or_array): Renamed from free_list.
9285         (gst_value_collect_list_or_array): Renamed from collect_list.
9286         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9287         (gst_value_list_or_array_peek_pointer): Renamed from
9288         list_peek_pointer.
9289         (_gst_value_array_value_table, _gst_value_list_value_table):
9290         Update value table functions.
9291         (gst_value_compare_list_or_array): Renamed from compare_list.
9292
9293         * gsttaglist.h: Whoops, foreach function returns void. Also fix
9294         some constness.
9295
9296         * gst/gsttaglist.c:
9297         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9298         GstTagList*. Fixes #143472.
9299
9300         * gst/gststructure.h: Clarify what the foreach/map functions can
9301         or can't do to their arguments.
9302
9303 2005-11-18  Wim Taymans  <wim@fluendo.com>
9304
9305         * gst/gstclock.c: (gst_clock_set_calibration),
9306         (gst_clock_get_calibration):
9307         Doc and API fixes.
9308         Calibration can be set with internal time equal to current
9309         internal time too.
9310
9311 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9312
9313         * gst/gsterror.c:
9314         * gst/gsterror.h:
9315           document
9316
9317 2005-11-18  Andy Wingo  <wingo@pobox.com>
9318
9319         * configure.ac: 
9320         * pkgconfig/gstreamer-net.pc.in:
9321         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9322         * pkgconfig/Makefile.am: Add net pkgconfig files.
9323
9324 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9325
9326         * gst/gstcaps.c:
9327         * gst/gstghostpad.c:
9328         * gst/gsttrace.c:
9329         * gst/gstvalue.c:
9330         * gst/gstvalue.h:
9331           docs fixes
9332
9333 2005-11-18  Andy Wingo  <wingo@pobox.com>
9334
9335         * gst/net/gstnetclientclock.c: Turn off debugging.
9336
9337         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9338         times connverge somewhat. Can't make a real test.
9339
9340         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9341         integer arithmetic. Return the minimum of the domain, which can be
9342         set as "internal" for gst_clock_set_calibration.
9343         (gst_net_client_clock_observe_times): Call _set_calibration.
9344         (gst_net_client_clock_new): Call _set_calibration instead of
9345         rate_offset.
9346
9347         * check/net/gstnetclientclock.c (test_functioning): Use the right
9348         adjustment api.
9349
9350         * gst/gstclock.h:
9351         * gst/gstclock.c (gst_clock_get_calibration) 
9352         (gst_clock_set_calibration): New functions, obsolete the ones I
9353         added yesterday. Doh. Precision issues mean we have to extrapolate
9354         from a point in the more recent past than 1970.
9355         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9356         obsolete.
9357         (gst_clock_adjust_unlocked): Use the right calibration data.
9358
9359 2005-11-18  Edward Hervey  <edward@fluendo.com>
9360
9361         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9362         Also reset the ->current_* values in READY->PAUSED
9363
9364 2005-11-18  Andy Wingo  <wingo@pobox.com>
9365
9366         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9367         Whoops, check the right fd. Also add some debugging.
9368         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9369         (do_linear_regression): Add a crapload of debugging. Subtract off
9370         the minimum values from the input series to discard unneeded bits.
9371         Use only int arithmetic. There is still double arithmetic when
9372         calculating the intercept that needs fixing. Return boolean to
9373         indicate success; FALSE would mean the domain or range is too
9374         great. Still needs fixes.
9375
9376 2005-11-18  Wim Taymans  <wim@fluendo.com>
9377
9378         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9379         For the current position in stream time, we need to subtract
9380         accumulated time.
9381         
9382         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9383         Release lock before calling the callback function of async
9384         entries.
9385
9386 2005-11-18  Andy Wingo  <wingo@pobox.com>
9387
9388         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9389         Port goes all the way to MAXUINT16.
9390
9391         * gst/net/gstnettimeprovider.c: Make the port range the same as
9392         for the kernel: 0 assigns, otherwise ports are less than
9393         MAXUINT16.
9394
9395         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9396         port change.
9397
9398         * check/net/gstnetclientclock.c (test_functioning): Add the start
9399         of another test. 
9400
9401 2005-11-18  Wim Taymans  <wim@fluendo.com>
9402
9403         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9404         (gst_bin_remove_func), (bin_bus_handler):
9405         * gst/gstbin.h:
9406         Removing a clock provider from a bin, triggers a clock lost message
9407         so that a new clock will be selected.
9408         Adding a clock to a bin triggers a clock provider message.
9409         Make sure we reselect a clock when we received a clock lost message.
9410         Keep a reference to the element that provided the clock.
9411
9412 2005-11-18  Andy Wingo  <wingo@pobox.com>
9413
9414         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9415         the clock initially so it produces values around the base time.
9416         (gst_net_client_clock_class_init): Typo fix.
9417         (gst_net_client_clock_thread): Add note on when the socket gets
9418         closed.
9419
9420 2005-11-17  Wim Taymans  <wim@fluendo.com>
9421
9422         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9423         Free remote and local time arrays.
9424
9425 2005-11-17  Wim Taymans  <wim@fluendo.com>
9426
9427         * gst/net/gstnetclientclock.c: (do_linear_regression),
9428         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9429         Fix compilation, uninitialized vars and a forgotten continue.
9430
9431 2005-11-17  Andy Wingo  <wingo@pobox.com>
9432
9433         * check/Makefile.am (check_PROGRAMS): 
9434         * check/net/gstnetclientclock.c: Add a most minimal test for the
9435         net client clock. More to come later.
9436
9437         * gst/net/gstnet.h: 
9438         * gst/net/Makefile.am: Add netclientclock.
9439
9440         * gst/net/gstnetclientclock.h:
9441         * gst/net/gstnetclientclock.c: New files, implement an untested
9442         GstClock that takes its time from a network time provider.
9443         Implements the algorithm in network-clock.scm.
9444
9445         * tests/network-clock.scm (*window-size*): Rename from
9446         *queue-length*.
9447         * tests/network-clock.scm (network-time): 
9448         * tests/network-clock-utils.scm (q-push): Update callers.
9449
9450 2005-11-17  Wim Taymans  <wim@fluendo.com>
9451
9452         * gst/gstbin.c: (gst_bin_provide_clock_func),
9453         (gst_bin_sort_iterator_new):
9454         And unref the child too..
9455
9456 2005-11-17  Wim Taymans  <wim@fluendo.com>
9457
9458         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9459         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9460         Refactor the sort iterator so it can be used while holding the
9461         LOCK too.
9462         Make clock selection select a clock closest to the source.
9463
9464 2005-11-17  Michael Smith <msmith@fluendo.com>
9465
9466         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9467         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9468         * gst/gstclock.h:
9469           Anonymous structs are a gcc (and some other compilers) extension, so
9470           don't use them. Since this is only for ABI-compatibility, and our
9471           API/ABI freeze is over in a few days, this whole thing will only
9472           last a few days, so don't bother trying to think up a meaningful
9473           name for the struct.
9474
9475 2005-11-17  Andy Wingo  <wingo@pobox.com>
9476
9477         * gst/gstclock.h (GstClock): Add rate and offset properties,
9478         preserving ABI stability. Add rate/offset accessors. Will file bug
9479         for the freeze break.
9480
9481         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9482         and offset, trying to keep precision and avoiding
9483         underflow/overflow.
9484         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9485         functions. Make gst_clock_set_time_adjust obsolete.
9486         (gst_clock_set_time_adjust): Note that this function is obsolete.
9487         Will file bug soon.
9488
9489         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9490         greppable by using GST_PADDING-1+1.
9491
9492 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9493
9494         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9495
9496         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9497           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9498
9499         * gst/gstpadtemplate.h:
9500         * gst/gstpluginfeature.h:
9501           Don't use c++ style comments in headers (#321638).
9502
9503 2005-11-16  Andy Wingo  <wingo@pobox.com>
9504
9505         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9506         buffer.
9507
9508         * check/net/gstnettimeprovider.c: Check to see that the time
9509         provider actually provides times. Works, yo!
9510
9511 2005-11-16  Wim Taymans  <wim@fluendo.com>
9512
9513         * check/Makefile.am:
9514         Enable more tests.
9515
9516         * check/elements/fakesrc.c: (GST_START_TEST):
9517         Set element to NULL before disposing it.
9518
9519 2005-11-16  Andy Wingo  <wingo@pobox.com>
9520
9521         * gst/net/Makefile.am:
9522         * gst/net/gstnet.h:
9523         * gst/net/gstnettimeprovider.c: 
9524         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9525         provider, include it from gstnet.h, and add it to the build.
9526
9527         * gst/net/gstnettimepacket.h: 
9528         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9529         sending and receiving.
9530
9531 2005-11-16  Wim Taymans  <wim@fluendo.com>
9532
9533         * check/Makefile.am:
9534         Enable valgrind check.
9535
9536         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9537         (gst_fake_src_alloc_buffer):
9538         Fix memleak.
9539
9540 2005-11-16  Wim Taymans  <wim@fluendo.com>
9541
9542         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9543         Call parent finalize too.
9544
9545 2005-11-16  Wim Taymans  <wim@fluendo.com>
9546
9547         * check/Makefile.am:
9548         Enable valgrind check that should work fine now.
9549
9550         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9551         * gst/gstqueue.c: (gst_queue_init):
9552         Fix memleaks in pad allocation.
9553
9554 2005-11-16  Andy Wingo  <wingo@pobox.com>
9555
9556         * gst/net/Makefile.am:
9557         * gst/net/gstnet.h: New part of core to hold network elements and
9558         objects. Put in core because it exposes API that applications want
9559         to use. The library is named libgstnet-tempname right now because
9560         of the existing libgstnet in gst-plugins-base. Solution is
9561         probably to rename the one in plugins-base; will file a bug for
9562         the freeze break.
9563
9564         * gst/net/gstnettimeprovider.c: 
9565         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9566         get_time call over the network.
9567
9568         * configure.ac: 
9569         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9570
9571         * check/Makefile.am:
9572         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9573         get additions shortly.
9574
9575 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9576
9577         * gst/gstpad.c: (gst_pad_new_from_static_template):
9578         * gst/gstpad.h:
9579           add gst_pad_new_from_static_template functions
9580         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9581         (gst_check_setup_sink_pad):
9582         * gst/elements/gsttee.c: (gst_tee_init):
9583           and use them
9584
9585 2005-11-16  Wim Taymans  <wim@fluendo.com>
9586
9587         * gst/gstpad.c: (gst_pad_pause_task):
9588         Removed warning, it's not really an error either.
9589
9590 2005-11-16  Wim Taymans  <wim@fluendo.com>
9591
9592         * gst/base/gstbasetransform.c:
9593         (gst_base_transform_prepare_output_buf),
9594         (gst_base_transform_event):
9595         Check if the caps are NULL, this can happen if the element
9596         is shutting down and the pad caps are set to NULL.
9597
9598 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9599
9600         * gst/elements/gsttee.c: (gst_tee_init):
9601           fix pad template leak in tee
9602
9603 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9604
9605         * gst/glib-compat.c: (g_value_dup_gst_object):
9606         * gst/glib-compat.h:
9607         * gst/gstpad.c: (gst_pad_set_property):
9608           use gst_object_ref when setting the pad template; this will
9609           trigger the pad template leaks on GLib 2.6 and the slaves
9610
9611 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9612
9613         * gst/glib-compat.c: (gst_flags_get_first_value):
9614         * gst/glib-compat.h:
9615         * gst/gstregistryxml.c:
9616           remove functions copied from GLib 2.6
9617
9618 2005-11-16  Michael Smith <msmith@fluendo.com>
9619
9620         * gst/Makefile.am:
9621           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9622           do, but only breaks with newer valgrind versions. We're not a
9623           valgrind tool, we have no link-time dependencies on libcoregrind.
9624
9625 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9626
9627         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9628           some debug changes
9629         * gst/gstmessage.h:
9630           typo fixes
9631
9632 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9633
9634         * gst/base/gstbasesrc.c: (gst_base_src_init):
9635         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9636         * gst/gstqueue.c: (gst_queue_init):
9637         * gst/gstregistryxml.c: (load_feature):
9638           Revert all these unrefs, they don't even pass make check !
9639
9640 2005-11-15  Johan Dahlin  <johan@gnome.org>
9641
9642         * gst/base/gstbasesrc.c: (gst_base_src_init):
9643         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9644         * gst/gstqueue.c: (gst_queue_init): 
9645         Free pad templates, fixes a couple of leaks.
9646
9647 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9648
9649         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9650
9651         * gst/gstpad.c: (gst_pad_get_property):
9652           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9653           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9654           (#321452)
9655
9656 2005-11-15  Wim Taymans  <wim@fluendo.com>
9657
9658         * gst/gstevent.c:
9659         Small doc update.
9660
9661 2005-11-15  Andy Wingo  <wingo@pobox.com>
9662
9663         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9664
9665         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9666         using GST_CLOCK_TIME_NONE to disable base time management.
9667         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9668         time if it was NONE before.
9669         (gst_pipeline_change_state): Only munge the base time if
9670         stream_time != GST_CLOCK_TIME_NONE.
9671
9672         * check/gst/gstpipeline.c (test_base_time): Punt around the
9673         problem of the probe not being called, because that's not the
9674         issue I'm looking at. Add a check that setting stream_time to NONE
9675         disables base time management.
9676         
9677 2005-11-15  Wim Taymans  <wim@fluendo.com>
9678
9679         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9680         segment_stop == -1 at startup.
9681
9682         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9683         (gst_base_transform_change_state):
9684         Init segment values at start.
9685
9686 2005-11-15  Wim Taymans  <wim@fluendo.com>
9687
9688         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9689         0 segment values are 0 in any format.
9690
9691         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9692         * gst/base/gstbasetransform.h:
9693         Parse newsegment correctly in basetransform
9694
9695         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9696         Sync to clock using updated segment values.
9697
9698 2005-11-15  Andy Wingo  <wingo@pobox.com>
9699
9700         * check/gst/gstpipeline.c (test_base_time): Add check that the
9701         base time and stream time are reset correctly.
9702
9703 2005-11-15  Wim Taymans  <wim@fluendo.com>
9704
9705         * docs/design/part-TODO.txt:
9706         Some more TODO items.
9707
9708 2005-11-15  Andy Wingo  <wingo@pobox.com>
9709
9710         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9711         error if the user selected "no clock" as the clocking method.
9712
9713         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9714         timestamps with live capture.
9715
9716         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9717         is 0 but we are a live source, timestamp the buffers using the
9718         element's clock.
9719
9720 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9721
9722         * docs/gst/gstreamer-sections.txt:
9723         * gst/gsterror.c:
9724         * gst/gstghostpad.c:
9725         * gst/gstobject.h:
9726         * gst/gstxml.c:
9727           more section docs
9728
9729 2005-11-14  Wim Taymans  <wim@fluendo.com>
9730
9731         * common/gst.supp:
9732           add suppressions from Wim's Debian machine
9733
9734 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9735
9736         * common/gst.supp:
9737           add suppressions from Andy's AMD64 Ubuntu machine
9738
9739 2005-11-14  Andy Wingo  <wingo@pobox.com>
9740
9741         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9742         STATE_LOCK not necessary. Fixes #311489.
9743
9744         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9745         #305291.
9746
9747         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9748         this function is not implemented.
9749
9750 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9751
9752         * gst/base/gstbasetransform.c:
9753         (gst_base_transform_prepare_output_buf):
9754         Ref the source pad caps while we need them.
9755         Fixes (#321386)
9756
9757 2005-11-11  Wim Taymans  <wim@fluendo.com>
9758
9759         * docs/gst/gstreamer-sections.txt:
9760         Added some docs for GstCollectData.
9761
9762         * gst/base/gstadapter.c:
9763         Some small code example fix.
9764
9765         * gst/base/gstcollectpads.c:
9766         * gst/base/gstcollectpads.h:
9767         Document some more.
9768
9769 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9770
9771         * configure.ac: back to HEAD
9772
9773 === release 0.9.5 ===
9774
9775 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9776
9777         * configure.ac:
9778           releasing 0.9.5, "Bike Lunch Day"
9779
9780 2005-11-11  Wim Taymans  <wim@fluendo.com>
9781
9782         * gst/gstbuffer.c: (_gst_buffer_copy):
9783         Copy more flags.
9784
9785         * gst/gstcaps.c: (gst_caps_is_equal):
9786         Fix some docs.
9787         Make _is_equal fast in the trivial cases.
9788
9789         * gst/gstminiobject.c:
9790         * gst/gstminiobject.h:
9791         More docs. Spifify .h file.
9792
9793         * gst/gstutils.c:
9794         Small doc update.
9795
9796 2005-11-11  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/base/gstbasetransform.c:
9799         (gst_base_transform_prepare_output_buf),
9800         (gst_base_transform_handle_buffer):
9801         Small cleanups.
9802         If we're processing a buffer and need to allocate an output
9803         buffer, we cannot accept a format change. If we did get a 
9804         format change, we have to alloc a buffer ourselves of the 
9805         right size.
9806
9807 2005-11-11  Wim Taymans  <wim@fluendo.com>
9808
9809         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9810         While checking the flag for reentrancy in the gstcaps function
9811         is nice to detect recursive invocations, it also makes it 
9812         impossible to call getcaps from multiple threads, which must be
9813         possible. So, checking for recursive calls has to go.
9814
9815 2005-11-11  Michael Smith <msmith@fluendo.com>
9816
9817         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9818           Don't sync on buffers that fall partially outside our current
9819           segment. Prevents an assertion failure/abort playing some files.
9820
9821 2005-11-10  Andy Wingo  <wingo@pobox.com>
9822
9823         * check/gst/gstbin.c (test_message_state_changed_children): Style
9824         fix..
9825
9826         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9827         gst_bus_poll with the signal watch. Ensures that poll and a signal
9828         watch see the same messages.
9829
9830         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9831         a poll and a watch at the same time get the same messages.
9832
9833 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9834
9835         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9836         * gst/gstcaps.c: (gst_caps_intersect):
9837           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9838           and it's not needed.
9839
9840 2005-11-10  Wim Taymans  <wim@fluendo.com>
9841
9842         * docs/design/part-TODO.txt:
9843         Updated todo.
9844
9845 2005-11-10  Wim Taymans  <wim@fluendo.com>
9846
9847         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9848         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9849         (gst_base_src_do_sync), (gst_base_src_get_range):
9850         Implement clock sync in base class.
9851
9852 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9853
9854         patch by: Tim-Philipp Müller <tim at centricular dot net>
9855
9856         * gst/gststructure.c: (gst_structure_parse_field),
9857         (gst_structure_from_string):
9858           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9859           so that gst_parse_launch() can deal with spaces in filtered link
9860           caps (fixes #164479)
9861         * check/gst/capslist.h:
9862         * check/gst/gststructure.c: (GST_START_TEST):
9863           add unit tests for this change
9864
9865 2005-11-10  Wim Taymans  <wim@fluendo.com>
9866
9867         * docs/gst/gstreamer-sections.txt:
9868         * gst/gstelement.c:
9869         * gst/gstelement.h:
9870         Fix docs, move some STATE macros to private.
9871
9872 2005-11-10  Wim Taymans  <wim@fluendo.com>
9873
9874         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9875         Added check for bug #317341
9876
9877         * gst/gstbuffer.c:
9878         * gst/gstbuffer.h:
9879         Some more spiffifying.
9880
9881         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9882         Call peer linkfunction if we are a source pad. Totally fixes
9883         #317341
9884
9885         * gst/gstpad.c:
9886         Update docs, source pads should call the peer linkfunction
9887         so they can atomically perform the pad link.
9888
9889 2005-11-09  Wim Taymans  <wim@fluendo.com>
9890
9891         * gst/gstbuffer.c:
9892         * gst/gstbuffer.h:
9893         Uber-spiffy-spiffify some more.
9894
9895 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9896
9897         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9898         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9899         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9900         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9901         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9902         * gst/gstpad.c: (gst_pad_init):
9903           Use GST_DEBUG_FUNCPTR() more extensively.
9904
9905 2005-11-09  Wim Taymans  <wim@fluendo.com>
9906
9907         * gst/gstobject.c: (gst_object_class_init):
9908         * gst/gstobject.h:
9909         Documentation fixes.
9910
9911 2005-11-09  Edward Hervey  <edward@fluendo.com>
9912
9913         * gst/gsttypefindfactory.c:
9914         Fix docs.
9915         
9916 2005-11-09  Edward Hervey  <edward@fluendo.com>
9917
9918         * gst/base/gsttypefindhelper.c:
9919         * gst/gsttypefind.c:
9920         * gst/gsttypefind.h:
9921         Fix docs.
9922
9923 2005-11-09  Wim Taymans  <wim@fluendo.com>
9924
9925         * gst/gstiterator.c:
9926         Fix revision data.
9927
9928         * gst/gsttask.c:
9929         * gst/gsttask.h:
9930         Fix docs.
9931
9932 2005-11-09  Wim Taymans  <wim@fluendo.com>
9933
9934         * gst/gstevent.h:
9935         * gst/gsturi.h:
9936         Fix docs.
9937
9938 2005-11-09  Wim Taymans  <wim@fluendo.com>
9939
9940         * docs/gst/gstreamer-sections.txt:
9941         Moved the message async delivery private lock and cond
9942         to the private section.
9943
9944         * gst/gstmessage.c:
9945         * gst/gstmessage.h:
9946         Fixed docs.
9947
9948 2005-11-09  Edward Hervey  <edward@fluendo.com>
9949
9950         * docs/gst/gstreamer-sections.txt:
9951         * gst/gsturi.c:
9952         * gst/gsturi.h:
9953         Document GstURIHandler
9954
9955 2005-11-09  Wim Taymans  <wim@fluendo.com>
9956
9957         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9958         (gst_iterator_find_custom):
9959         * gst/gstiterator.h:
9960         Fix iterator docs.
9961
9962 2005-11-09  Wim Taymans  <wim@fluendo.com>
9963
9964         * gst/gstbin.h:
9965         Document another field.
9966
9967         * gst/gststructure.c:
9968         * gst/gststructure.h:
9969         Document.
9970
9971 2005-11-09  Wim Taymans  <wim@fluendo.com>
9972
9973         * gst/gstbin.h:
9974         Documented structs.
9975
9976 2005-11-09  Wim Taymans  <wim@fluendo.com>
9977
9978         * docs/gst/gstreamer-sections.txt:
9979         Added some new macros.
9980
9981         * gst/gstclock.c:
9982         * gst/gstclock.h:
9983         * gst/gstobject.h:
9984         Docs updates.
9985
9986 2005-11-09  Wim Taymans  <wim@fluendo.com>
9987
9988         * docs/design/part-TODO.txt:
9989         Some more items for the TODO
9990
9991         * gst/gstcaps.c:
9992         * gst/gstcaps.h:
9993         Document GstCaps.
9994
9995 2005-11-09  Andy Wingo  <wingo@pobox.com>
9996
9997         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9998         to work on something else now tho...
9999
10000         * gst/base/gstadapter.c: More adapter docs.
10001
10002         * gst/elements/gstfilesink.c (gst_file_sink_start) 
10003         (gst_file_sink_stop): New functions, replace the state change
10004         handler.
10005         (gst_file_sink_class_init): Hook up the start and stop functions.
10006         (gst_file_sink_base_init): Don't set the state change handler any
10007         more. It was a bit ugly too, being set from here...
10008         (gst_file_sink_get_property, gst_file_sink_set_property):
10009         Cleanups...
10010         (gst_file_sink_set_location): More robust check that doesn't call
10011         GST_STATE. Ugggggg.
10012
10013 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
10014
10015         * gst/base/gstbasetransform.c: (gst_base_transform_event):
10016           Hold STREAM_LOCK while pushing newsegment or tag events as well.
10017
10018 2005-11-08  Wim Taymans  <wim@fluendo.com>
10019
10020         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10021         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10022         (gst_base_sink_chain), (gst_base_sink_change_state):
10023         * gst/base/gstbasesink.h:
10024         * gst/base/gstbasesrc.h:
10025         * gst/gstelement.h:
10026         * gst/gstevent.h:
10027         Avoid excessive typechecking in macros.
10028
10029         * gst/gstminiobject.c: (gst_mini_object_get_type),
10030         (gst_mini_object_init), (gst_mini_object_new),
10031         (gst_mini_object_free):
10032         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10033         (gst_object_finalize):
10034         Remove cruft code, optimize alloc_trace.
10035
10036 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10037
10038         * docs/faq/gst-uninstalled:
10039           fix up PS1 for systems that try to reset it
10040
10041 2005-11-07  Wim Taymans  <wim@fluendo.com>
10042
10043         * gst/base/gstbasesrc.c: (gst_base_src_init),
10044         (gst_base_src_get_range):
10045         Set the segment_end to -1 initially. Fixed typefind.
10046
10047 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10048
10049         * gst/base/gstadapter.c:
10050           Debug category should be 'adapter', not 'GstAdapter'.
10051           
10052         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10053         (gst_collectpads_class_init), (gst_collectpads_init),
10054         (gst_collectpads_peek), (gst_collectpads_pop),
10055         (gst_collectpads_event), (gst_collectpads_chain):
10056           Add debug category and some debugging output. Use boilerplate
10057           macros. Remove some extraneous words from docs.
10058
10059 2005-11-05  Andy Wingo  <wingo@pobox.com>
10060
10061         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10062         macro.
10063
10064 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10065
10066         * docs/gst/gstreamer-sections.txt:
10067         * gst/gstcaps.h:
10068         * gst/gstinfo.c:
10069         * gst/gstminiobject.h:
10070         * gst/gstobject.h:
10071         * gst/gstutils.h:
10072           more docs added
10073
10074 2005-11-04  Wim Taymans  <wim@fluendo.com>
10075
10076         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10077         Small update to stop at the configured segment_end
10078         position.
10079
10080 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10081
10082         * gst/gstregistry.c:
10083         * gst/gstregistry.h:
10084           added missing docs
10085
10086 2005-11-04  Edward Hervey  <edward@fluendo.com>
10087
10088         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10089         Check if we are doing a segment seek and have arrived at the
10090         end of that segment.
10091
10092 2005-11-04  Wim Taymans  <wim@fluendo.com>
10093
10094         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10095         Don't leak a mutex unlock in case of an error.
10096
10097         * gst/gstbus.h:
10098         Doc fixes.
10099
10100 2005-11-04  Wim Taymans  <wim@fluendo.com>
10101
10102         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10103         (gst_bus_post):
10104         Get the context to wake up only once.
10105
10106 2005-11-03  Wim Taymans  <wim@fluendo.com>
10107
10108         * check/states/sinks.c: (GST_START_TEST):
10109         Uncomment fixed check.
10110
10111         * docs/design/part-TODO.txt:
10112         Updated TODO.
10113
10114         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10115         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10116         (gst_base_sink_get_position):
10117         If we are going to PLAYING, post the right pending state
10118         when we post the intermediate paused message.
10119
10120         * gst/gstelement.c: (gst_element_continue_state),
10121         (gst_element_set_state_func), (gst_element_change_state):
10122         Don't post state changes that were between the same state
10123         and were not ASYNC.
10124
10125 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10126
10127         * docs/gst/gstreamer-sections.txt:
10128         * gst/gstcaps.h:
10129         * gst/gstinfo.c:
10130         * gst/gstminiobject.h:
10131         * gst/gstobject.h:
10132         * gst/gstutils.h:
10133           more docs and doc style fixes
10134
10135 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10136
10137         * docs/gst/gstreamer-sections.txt:
10138         * gst/gstelement.c:
10139         * gst/gstminiobject.c:
10140         doc fixes
10141
10142 2005-11-03  Andy Wingo  <wingo@pobox.com>
10143
10144         * check/states/sinks.c (test_livesrc_sink): Add checks that the
10145         state-changed messages actually have the right order and the right
10146         values.
10147
10148 2005-11-03  Wim Taymans  <wim@fluendo.com>
10149
10150         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10151         Added some more checks. Specifically the case where NO_PREROLL
10152         elements are in the pipeline.
10153
10154         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10155         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10156         (gst_base_sink_get_position):
10157         Post READY->PAUSED state change messages too.
10158         Fix bug where VOID was posted as pending state...
10159
10160         * gst/gstbin.c: (gst_bin_recalc_state):
10161         use _element_continue_state() to continue the state change.
10162
10163         * gst/gstelement.c: (gst_element_continue_state),
10164         (gst_element_commit_state), (gst_element_set_state_func),
10165         (gst_element_change_state), (gst_element_change_state_func):
10166         Lots of state change cleanups, assign the STATE_RETURN in
10167         a new continue_state() function that also propagates the
10168         last return value from a state change to the app.
10169         Update some debug statements with proper category.
10170
10171 2005-11-03  Wim Taymans  <wim@fluendo.com>
10172
10173         * docs/design/part-events.txt:
10174         * docs/design/part-gstpipeline.txt:
10175         * docs/design/part-messages.txt:
10176         * docs/design/part-overview.txt:
10177         * docs/design/part-seeking.txt:
10178         * docs/design/part-states.txt:
10179         * docs/design/part-trickmodes.txt:
10180         * docs/manual/advanced-position.xml:
10181         Small docs updates.
10182
10183         * gst/gstobject.h:
10184         People think !! is ugly, this looks better.
10185
10186         * gst/gstpad.c: (gst_pad_set_blocked_async):
10187         Remove !! since it's fixed elsewhere now.
10188
10189 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10190
10191         * gst/gstminiobject.h:
10192         * gst/gstobject.h:
10193           Add !! to _FLAG_IS_SET macros to make the result boolean.
10194
10195 2005-11-03  Edward Hervey  <edward@fluendo.com>
10196
10197         * gst/gstpad.c: (gst_pad_set_blocked_async):
10198         comparing a flag and a gboolean rarely returns coherent results...
10199         Added two characters (!!) to make that work correctly.
10200         
10201 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10202
10203         * gst/gstbus.c: (gst_bus_class_init):
10204           Fix some typos.
10205           
10206         * gst/gstqueue.c: (gst_queue_loop):
10207           Don't assume a miniobject that isn't a buffer is an
10208           event (it could be that there is a refcounting
10209           problem somewhere and the pointer is stale and
10210           refers to an already destroyed miniobject).
10211
10212 2005-11-03  Julien MOUTTE  <julien@moutte.net>
10213
10214         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10215
10216 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10217
10218         * docs/manual/advanced-position.xml:
10219           Update seek example and explanations to current 0.9 API.
10220
10221         * gst/elements/gsttypefindelement.c:
10222         (gst_type_find_element_activate):
10223           Remove FIXME comment now that the found caps
10224           are unreffed.
10225
10226 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10227
10228         * gst/gstregistryxml.c: (load_feature):
10229           Add another GST_STR_NULL instance
10230
10231 2005-11-02  Edward Hervey  <edward@fluendo.com>
10232
10233         * gst/gstpad.c: (handle_pad_block):
10234         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10235         
10236 2005-11-02  Wim Taymans  <wim@fluendo.com>
10237
10238         * gst/gstbin.c:
10239         Fix typo in docs.
10240
10241         * gst/gstelement.c: (gst_element_commit_state):
10242         Remove unused value.
10243
10244         * gst/gstiterator.c:
10245         Mention that the returned element is reffed in the docs.
10246
10247 2005-11-02  Wim Taymans  <wim@fluendo.com>
10248
10249         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10250         (gst_pad_push), (gst_pad_push_event):
10251         Unlock blocked pads when they are flushed.
10252
10253 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10254
10255         * docs/README:
10256         * docs/gst/gstreamer-sections.txt:
10257         * gst/gstbin.c:
10258           doc updates
10259         * gst/gstregistry.c: (gst_registry_scan_path_level):
10260           fix for a nasty little missed situation where an installed plug-in
10261           which was in the cache did not get overridden by an uninstalled one
10262           which was earlier in the plugin path because the newly created plugin
10263           for the uninstalled one (not in the registry) didn't get its
10264           ->registered set to TRUE
10265
10266 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10267
10268         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10269         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10270         (gst_collectpads_is_active), (gst_collectpads_collect),
10271         (gst_collectpads_collect_range), (gst_collectpads_start),
10272         (gst_collectpads_stop), (gst_collectpads_peek),
10273         (gst_collectpads_pop), (gst_collectpads_available),
10274         (gst_collectpads_read), (gst_collectpads_flush):
10275           Guard public API with assertions.
10276         
10277         * gst/gstpad.c:
10278           Fix docs for gst_pad_set_link_function().
10279
10280 2005-11-02  Johan Dahlin  <johan@gnome.org>
10281
10282         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
10283         Unref found_caps after we used it.
10284
10285 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10286
10287         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10288           Don't try to ref NULL.
10289
10290 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10291
10292         * win32/common/config.h.in:
10293           provide a GST_FUNCTION that just gives a string for now
10294
10295 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10296
10297         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10298         (gst_object_flags_get_type), (register_gst_bin_flags),
10299         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10300         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10301         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10302         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10303         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10304         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10305         (gst_clock_flags_get_type), (register_gst_state),
10306         (gst_state_get_type), (register_gst_state_change_return),
10307         (gst_state_change_return_get_type), (register_gst_state_change),
10308         (gst_state_change_get_type), (register_gst_element_flags),
10309         (gst_element_flags_get_type), (register_gst_core_error),
10310         (gst_core_error_get_type), (register_gst_library_error),
10311         (gst_library_error_get_type), (register_gst_resource_error),
10312         (gst_resource_error_get_type), (register_gst_stream_error),
10313         (gst_stream_error_get_type), (register_gst_event_type),
10314         (gst_event_type_get_type), (register_gst_seek_type),
10315         (gst_seek_type_get_type), (register_gst_seek_flags),
10316         (gst_seek_flags_get_type), (register_gst_format),
10317         (gst_format_get_type), (register_gst_index_certainty),
10318         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10319         (gst_index_entry_type_get_type),
10320         (register_gst_index_lookup_method),
10321         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10322         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10323         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10324         (gst_index_flags_get_type), (register_gst_debug_level),
10325         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10326         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10327         (gst_iterator_result_get_type), (register_gst_iterator_item),
10328         (gst_iterator_item_get_type), (register_gst_message_type),
10329         (gst_message_type_get_type), (register_gst_mini_object_flags),
10330         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10331         (gst_pad_link_return_get_type), (register_gst_flow_return),
10332         (gst_flow_return_get_type), (register_gst_activate_mode),
10333         (gst_activate_mode_get_type), (register_gst_pad_direction),
10334         (gst_pad_direction_get_type), (register_gst_pad_flags),
10335         (gst_pad_flags_get_type), (register_gst_pad_presence),
10336         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10337         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10338         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10339         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10340         (gst_plugin_flags_get_type), (register_gst_rank),
10341         (gst_rank_get_type), (register_gst_query_type),
10342         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10343         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10344         (gst_tag_flag_get_type), (register_gst_task_state),
10345         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10346         (gst_alloc_trace_flags_get_type),
10347         (register_gst_type_find_probability),
10348         (gst_type_find_probability_get_type), (register_gst_uri_type),
10349         (gst_uri_type_get_type), (register_gst_parse_error),
10350         (gst_parse_error_get_type):
10351         * win32/common/gstversion.h:
10352           update win32 copies
10353
10354 2005-11-01  Luca Ognibene  <luogni@tin.it>
10355
10356         * gst/gst.c:
10357           fix docs. popt is dead, long live GOption.
10358
10359 2005-10-31  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/gstbuffer.h:
10362         Small doc fix.
10363
10364 2005-10-31  Andy Wingo  <wingo@pobox.com>
10365
10366         * Boo!
10367
10368         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10369
10370         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10371         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10372         the possibility of deadlocks here if code calling notify() or
10373         set() has a lock that can be taken in another notify handler (ABBA
10374         with class lock and e.g. python GIL state lock).
10375
10376 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10377
10378         * gst/gstbus.c: Doc updates.
10379
10380 2005-10-28  Wim Taymans  <wim@fluendo.com>
10381
10382         * docs/design/part-TODO.txt:
10383         * gst/gstiterator.c:
10384         * gst/gstsystemclock.c:
10385         * gst/gstsystemclock.h:
10386         Doc updates.
10387
10388 2005-10-28  Edward Hervey  <edward@fluendo.com>
10389
10390         * docs/gst/gstreamer-docs.sgml:
10391         * docs/gst/gstreamer-sections.txt:
10392         the GstURIType documentation page is private, it only defines GstURIType
10393         which should be defined in the GstURIHandler page
10394         
10395 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10396
10397         * gst/gstbin.c: (gst_bin_class_init):
10398         * gst/gstbin.h:
10399         * gst/gstutils.c:
10400         Documentation updates.
10401
10402 2005-10-28  Wim Taymans  <wim@fluendo.com>
10403
10404         * docs/gst/gstreamer-sections.txt:
10405         * gst/gstclock.c:
10406         * gst/gstclock.h:
10407         Documented the clocks.
10408
10409 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10410
10411         * docs/gst/gstreamer-sections.txt:
10412           move some macros to private sections
10413         * gst/gstminiobject.c:
10414         * gst/gstminiobject.h:
10415           add descriptions provided by ds and some more
10416         * gst/gstpad.h:
10417           mark macro as to be removed
10418
10419 2005-10-28  Wim Taymans  <wim@fluendo.com>
10420
10421         * docs/design/part-TODO.txt:
10422         Add an item to TODO.
10423
10424         * gst/gstiterator.c: (gst_iterator_fold),
10425         (gst_iterator_find_custom):
10426         * gst/gstiterator.h:
10427         Add iterator docs.
10428
10429 2005-10-28  Wim Taymans  <wim@fluendo.com>
10430
10431         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10432         (gst_base_transform_init):
10433         Don't leak class.
10434
10435         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10436         An EOS event marks the queue as completely filled.
10437
10438 2005-10-27  Wim Taymans  <wim@fluendo.com>
10439
10440         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10441         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10442         Some more debugging.
10443
10444         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10445         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10446         (gst_base_transform_event), (gst_base_transform_getrange),
10447         (gst_base_transform_chain):
10448         * gst/base/gstbasetransform.h:
10449         Fix debugging,
10450         Protect transform and concurrent buffer alloc with a new lock.
10451         Try not to break ABI/API.
10452
10453 2005-10-27  Wim Taymans  <wim@fluendo.com>
10454
10455         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10456         (gst_base_src_init), (gst_base_src_query),
10457         (gst_base_src_default_newsegment),
10458         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10459         (gst_base_src_send_event), (gst_base_src_event_handler),
10460         (gst_base_src_pad_get_range), (gst_base_src_loop),
10461         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10462         (gst_base_src_start), (gst_base_src_deactivate),
10463         (gst_base_src_activate_push), (gst_base_src_change_state):
10464         Move some stuff around and cleanup things.
10465
10466 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10467
10468         * gst/base/gstbasesrc.c: (gst_base_src_query):
10469           Add missing break statements.
10470
10471 2005-10-27  Wim Taymans  <wim@fluendo.com>
10472
10473         * check/gst/gstbin.c: (GST_START_TEST):
10474         An extra refcount is taken in basesrc.
10475
10476         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10477         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10478         (gst_base_src_loop):
10479         Small cleanups, check for flushing after being unlocked from the 
10480         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10481         Don't send out EOS when going to READY.
10482
10483 2005-10-27  Wim Taymans  <wim@fluendo.com>
10484
10485         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10486         (gst_base_sink_get_position):
10487         Some more debug.
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         * tools/gst-launch.c: (main):
10496         Remove old option.
10497
10498 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10499
10500         * examples/controller/audio-example.c: (main):
10501         * examples/queue/queue.c: (event_loop):
10502         * gst/base/gstbasetransform.h:
10503         * gst/gstelement.c: (gst_element_send_event):
10504         * gst/gstevent.h:
10505         * gst/gstpad.c: (gst_pad_send_event):
10506           fixing examples
10507           fixing docs typos
10508           changing log priority in error situations
10509
10510 2005-10-25  Wim Taymans  <wim@fluendo.com>
10511
10512         * gst/gstbin.c: (message_check), (bin_replace_message),
10513         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10514         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10515         (bin_query_duration_init), (bin_query_duration_fold),
10516         (bin_query_duration_done), (bin_query_generic_fold),
10517         (gst_bin_query):
10518         Some doc and debug updates.
10519         Cache previously requested query DURATION for speed. invalidate
10520         cached duration if element posts a DURATION message.
10521
10522 2005-10-25  Wim Taymans  <wim@fluendo.com>
10523
10524         * docs/design/part-TODO.txt:
10525         Update TODO.
10526
10527         * gst/gstbin.c: (message_check), (bin_replace_message),
10528         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10529         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10530         (bin_query_duration_init), (bin_query_duration_fold),
10531         (bin_query_duration_done), (bin_query_generic_fold),
10532         (gst_bin_query):
10533         Handle SEGMENT_START/DONE messages correctly.
10534         More evolved query algorithm that handles duration queries
10535         correctly.
10536
10537         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10538         (gst_element_get_state_func), (gst_element_abort_state),
10539         (gst_element_commit_state), (gst_element_lost_state):
10540         Some more debugging.
10541
10542         * gst/gstmessage.h:
10543         Added doc.
10544
10545 2005-10-25  Wim Taymans  <wim@fluendo.com>
10546
10547         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10548         Don't use invalid stream_time.
10549
10550         * gst/gstevent.c: (gst_event_new_newsegment):
10551         stream_time in newsegment cannot be undefined.
10552
10553 2005-10-24  Wim Taymans  <wim@fluendo.com>
10554
10555         * gst/gstbus.c:
10556         Doc fix.
10557
10558         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10559         (gst_queue_loop):
10560         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10561
10562 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10563
10564         * docs/libs/tmpl/gstdparam.sgml:
10565         * docs/libs/tmpl/gstdplinint.sgml:
10566         * docs/libs/tmpl/gstdpman.sgml:
10567         * docs/libs/tmpl/gstdpsmooth.sgml:
10568         * docs/libs/tmpl/gstunitconvert.sgml:
10569           these are obsolete
10570
10571 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10572
10573         * configure.ac:
10574           back to HEAD
10575
10576 === release 0.9.4 ===
10577
10578 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * configure.ac:
10581           releasing 0.9.4, "Tyrannosaurus Rex"
10582
10583 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10584
10585         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10586         (gst_file_sink_get_current_offset):
10587           Use fseeko() and ftello() if available. When falling back on
10588           lseek() to get the current offset, fflush() first to make sure
10589           everything is up-to-date and we get the right offset.
10590
10591 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10592
10593         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10594         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10595         * gst/gsterror.c: (_gst_stream_errors_init):
10596         * gst/gsterror.h:
10597         * gst/gstqueue.c: (gst_queue_loop):
10598         * po/POTFILES.in:
10599           remove prematurely added error category and clean up the instances
10600
10601 2005-10-21  Wim Taymans  <wim@fluendo.com>
10602
10603         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10604         (gst_base_sink_get_position), (gst_base_sink_query),
10605         (gst_base_sink_change_state):
10606         Simply set the right flag when going to playing, that's all
10607         we need to do instead of calling a function inside the object
10608         lock (that could take the lock as well and deadlock)
10609
10610 2005-10-21  Wim Taymans  <wim@fluendo.com>
10611
10612         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10613         (gst_base_src_loop):
10614         Don't warn, the peer element knows what to do best when
10615         the seek failed, it might try something else.
10616
10617 2005-10-21  Wim Taymans  <wim@fluendo.com>
10618
10619         * gst/base/gstbasesrc.c: (gst_base_src_init),
10620         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10621         Fix seeking.
10622
10623 2005-10-21  Wim Taymans  <wim@fluendo.com>
10624
10625         * docs/design/part-segments.txt:
10626         More docs.
10627
10628         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10629         Correctly set caps, even on the subbufer.
10630
10631 2005-10-21  Wim Taymans  <wim@fluendo.com>
10632
10633         * docs/gst/gstreamer-docs.sgml:
10634         * docs/gst/gstreamer-sections.txt:
10635         * gst/gstelement.h:
10636         * gst/gstevent.c:
10637         * gst/gstevent.h:
10638         * gst/gstmessage.h:
10639         * gst/gstpad.h:
10640         * gst/gstparse.h:
10641         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10642         * gst/gsttask.h:
10643         * gst/gstutils.c:
10644         * gst/gstutils.h:
10645         And 2% more doc coverage.
10646
10647 2005-10-21  Andy Wingo  <wingo@pobox.com>
10648
10649         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10650         position reporting.
10651
10652 2005-10-20  Wim Taymans  <wim@fluendo.com>
10653
10654         * gst/gsterror.c: (gst_error_get_message):
10655         * gst/gstparse.h:
10656         * gst/gstquery.h:
10657         * gst/gststructure.c:
10658         * gst/gsttrace.c:
10659         * gst/gstutils.c:
10660         More docs.
10661
10662 2005-10-20  Wim Taymans  <wim@fluendo.com>
10663
10664         * gst/gstbuffer.h:
10665         * gst/gstpad.c:
10666         * gst/gstparse.c:
10667         Another 1% more coverage.
10668
10669 2005-10-20  Wim Taymans  <wim@fluendo.com>
10670
10671         * docs/gst/gstreamer-sections.txt:
10672         * gst/gstelement.c: (gst_element_get_state_func),
10673         (gst_element_abort_state), (gst_element_commit_state),
10674         (gst_element_lost_state):
10675         * gst/gstevent.h:
10676         * gst/gstquery.c: (gst_query_set_position),
10677         (gst_query_parse_position), (gst_query_set_duration),
10678         (gst_query_parse_duration), (gst_query_new_convert):
10679         * gst/gstutils.c:
10680         Yay! 1% more docs coverage.
10681
10682 2005-10-20  Wim Taymans  <wim@fluendo.com>
10683
10684         * gst/gstpad.h:
10685         * gst/gstquery.c: (gst_query_set_position),
10686         (gst_query_parse_position), (gst_query_set_duration),
10687         (gst_query_parse_duration), (gst_query_new_convert):
10688         * gst/gstquery.h:
10689         * gst/gstutils.c: (gst_element_query_convert):
10690         * gst/gstutils.h:
10691         Docs and consistency fixes.
10692
10693 2005-10-20  Wim Taymans  <wim@fluendo.com>
10694
10695         * gst/gsttask.c:
10696         * gst/gsttask.h:
10697         More docs.
10698
10699 2005-10-20  Wim Taymans  <wim@fluendo.com>
10700
10701         * gst/gstbin.c: (message_check), (bin_replace_message),
10702         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10703         (update_degree), (gst_bin_sort_iterator_next),
10704         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10705         Reworked the message handling a bit, cache the messages instead of
10706         only the senders. alows us to do more in the future.
10707
10708 2005-10-20  Wim Taymans  <wim@fluendo.com>
10709
10710         * docs/design/part-TODO.txt:
10711         Update TODO
10712
10713         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10714         (gst_base_sink_query):
10715         Don't use clock time to report position when in EOS.
10716
10717 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10718
10719         * tools/gst-inspect.c: (print_interfaces),
10720         (print_element_properties_info), (print_element_info):
10721           Fix interface output with gst-inspect -a; don't print
10722           newlines after double/float properties.
10723
10724 2005-10-20  Wim Taymans  <wim@fluendo.com>
10725
10726         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10727         (gst_base_sink_query):
10728         Speed up current position calculation.
10729
10730         * gst/base/gstbasesrc.c: (gst_base_src_query),
10731         (gst_base_src_default_newsegment):
10732         Correctly set stream position in newsegment.
10733
10734         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10735         (update_degree), (gst_bin_sort_iterator_next),
10736         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10737         * gst/gstmessage.c: (gst_message_new_custom):
10738         Clean up debugging info
10739
10740         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10741         (gst_queue_loop), (gst_queue_handle_src_query):
10742         Pause task faster.
10743
10744 2005-10-19  Wim Taymans  <wim@fluendo.com>
10745
10746         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10747         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10748         Fix query handling again.
10749
10750 2005-10-19  Wim Taymans  <wim@fluendo.com>
10751
10752         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10753         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10754         * gst/base/gstbasesrc.c: (gst_base_src_query):
10755         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10756         * gst/elements/gsttypefindelement.c:
10757         (gst_type_find_handle_src_query), (find_element_get_length),
10758         (gst_type_find_element_activate):
10759         API change fix.
10760
10761         * gst/gstquery.c: (gst_query_new_position),
10762         (gst_query_set_position), (gst_query_parse_position),
10763         (gst_query_new_duration), (gst_query_set_duration),
10764         (gst_query_parse_duration), (gst_query_set_segment),
10765         (gst_query_parse_segment):
10766         * gst/gstquery.h:
10767         Bundling query position/duration is not a good idea since duration
10768         does not change much and we don't want to recalculate it for every
10769         position query, so they are separated again..
10770         Base value in segment query is not needed.
10771
10772         * gst/gstqueue.c: (gst_queue_handle_src_query):
10773         * gst/gstutils.c: (gst_element_query_position),
10774         (gst_element_query_duration), (gst_pad_query_position),
10775         (gst_pad_query_duration):
10776         * gst/gstutils.h:
10777         Updates for query API change.
10778         Added some docs here and there.
10779
10780 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10781
10782         * check/gst/gstbin.c: (GST_START_TEST):
10783         * check/gst/gstghostpad.c: (GST_START_TEST):
10784         * check/pipelines/cleanup.c: (GST_START_TEST):
10785           wait on thread to die so we can check refcount correctly
10786
10787 2005-10-18  Wim Taymans  <wim@fluendo.com>
10788
10789         * check/pipelines/stress.c: (GST_START_TEST):
10790         Make check a little more time consuming.
10791
10792 2005-10-18  Wim Taymans  <wim@fluendo.com>
10793
10794         * check/Makefile.am:
10795         * check/pipelines/stress.c: (GST_START_TEST),
10796         (simple_launch_lines_suite), (main):
10797         Small state change torture test.
10798
10799         * docs/design/part-states.txt:
10800         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10801         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10802         (gst_base_sink_change_state):
10803         Never take state lock from streaming thread, clean up ugly
10804         hacks. Unfortunatly core does not yet support nice ways to
10805         async commit state.
10806         
10807         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10808         (bin_bus_handler):
10809         Start state recalc if a STATE_DIRTY message is posted, but only
10810         on the toplevel bin.
10811
10812         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10813         (gst_element_get_state_func), (gst_element_abort_state),
10814         (gst_element_commit_state), (gst_element_lost_state),
10815         (gst_element_set_state_func), (gst_element_change_state):
10816         * gst/gstelement.h:
10817         State variables are now protected with the LOCK, the state
10818         lock is only used to serialize _set_state().
10819
10820 2005-10-18  Wim Taymans  <wim@fluendo.com>
10821
10822         * check/gst/gstbin.c: (GST_START_TEST):
10823         * check/gst/gstmessage.c: (GST_START_TEST):
10824         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10825         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10826         (bin_bus_handler):
10827         * gst/gstelement.c: (gst_element_abort_state),
10828         (gst_element_commit_state), (gst_element_lost_state):
10829         * gst/gstmessage.c: (gst_message_new_state_changed),
10830         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10831         (gst_message_new_segment_done), (gst_message_new_duration),
10832         (gst_message_parse_state_changed),
10833         (gst_message_parse_segment_start),
10834         (gst_message_parse_segment_done), (gst_message_parse_duration):
10835         * gst/gstmessage.h:
10836         * tools/gst-launch.c: (event_loop):
10837         Seriously, this is better than a previous commit as we only need
10838         to notify the fact that an element changed state in a streaming
10839         thread, marking the state of the parents dirty, hence the 
10840         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10841         message.
10842
10843 2005-10-18  Wim Taymans  <wim@fluendo.com>
10844
10845         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10846         (gst_bin_recalc_func):
10847         * gst/gstelement.c: (gst_element_set_clock),
10848         (gst_element_abort_state), (gst_element_lost_state):
10849         Cleanups, prepare for state change fixes.
10850
10851 2005-10-18  Wim Taymans  <wim@fluendo.com>
10852
10853         * gst/gstbin.h:
10854         * gst/gstelement.c: (gst_element_class_init),
10855         (gst_element_set_state), (gst_element_set_state_func):
10856         * gst/gstelement.h:
10857         Pending ABI changes.
10858         GThreadPool in GstBinClass to monitor async state changes.
10859         state_cookie in GstElement to detect concurrent gst/set state.
10860         set_state is now virtual too in case a very complicated element
10861         has to be constructed.
10862
10863 2005-10-18  Wim Taymans  <wim@fluendo.com>
10864
10865         * check/gst/gstbin.c: (GST_START_TEST):
10866         * check/gst/gstmessage.c: (GST_START_TEST):
10867         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10868         * gst/gstbin.c: (bin_bus_handler):
10869         * gst/gstelement.c: (gst_element_commit_state),
10870         (gst_element_lost_state):
10871         * gst/gstmessage.c: (gst_message_new_state_changed),
10872         (gst_message_new_segment_start), (gst_message_new_segment_done),
10873         (gst_message_new_duration), (gst_message_parse_state_changed),
10874         (gst_message_parse_segment_start),
10875         (gst_message_parse_segment_done), (gst_message_parse_duration):
10876         * gst/gstmessage.h:
10877         * tools/gst-launch.c: (event_loop):
10878         Make messages future proof.
10879         state-change gets a flag if it was a message comming from the
10880         streaming thread.
10881         segment-start/stop can also be specified in other formats.
10882         A message to notify an app that a pipeline changed playback 
10883         duration.
10884         Also fix a GstMessage leak in -launch
10885
10886 2005-10-18  Andy Wingo  <wingo@pobox.com>
10887
10888         * gst/gstelement.c (gst_element_dispose): More helpful message.
10889
10890 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10891
10892         reviewed by: <delete if not using a buddy>
10893
10894         * common/gtk-doc.mak:
10895
10896 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * gst/gstregistry.c: (gst_registry_scan_path_level):
10899           unref a plug-in we get that was already initialized
10900
10901 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10902
10903         * docs/gst/gstreamer-sections.txt:
10904         * docs/libs/gstreamer-libs-sections.txt:
10905         * gst/gstelement.h:
10906           add new api entries
10907           hide internal macro
10908
10909 2005-10-17  Andy Wingo  <wingo@pobox.com>
10910
10911         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10912         cleanup.
10913
10914         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10915
10916         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10917
10918         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10919         (gst_element_get_state_func): Better debug message.
10920         (gst_element_commit_state): s/INFO/DEBUG/.
10921         (gst_element_lost_state, gst_element_change_state): 
10922
10923         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10924         (gst_message_new_custom): s/INFO/LOG/.
10925
10926 2005-10-17  Michael Smith <msmith@fluendo.com>
10927
10928         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10929           Check if end time is valid using end time, not start time.
10930
10931 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10932
10933         * check/gst-libs/controller.c: (GST_START_TEST),
10934         (gst_controller_suite):
10935         * libs/gst/controller/gstcontroller.c:
10936         (gst_controlled_property_set_interpolation_mode):
10937         * libs/gst/controller/gstcontroller.h:
10938         * libs/gst/controller/gstinterpolation.c:
10939         * testsuite/controller/.cvsignore:
10940         * testsuite/controller/Makefile.am:
10941         * testsuite/controller/interpolator.c:
10942           merge controller testsuites
10943           fix broken tests
10944           remove mem-chunk from docs
10945
10946 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10947
10948         * gst/gstmemchunk.c:
10949         * gst/gstmemchunk.h:
10950         * gst/gsttrashstack.c:
10951         * gst/gsttrashstack.h:
10952           out.  get out.  you're fired.  to the Attic !
10953
10954 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10955
10956         * gst/gstcaps.c: (gst_caps_intersect):
10957           fix signedness issues in a (hopefully) correct way
10958         * gst/gstelement.c: (gst_element_pads_activate):
10959           some debugging
10960         * gst/gstobject.c: (gst_object_set_parent):
10961           some debugging
10962
10963 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10964
10965         * gst/gstvalue.h: Fix prototypes.
10966
10967 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10968
10969         * docs/gst/gstreamer-sections.txt:
10970         * gst/gst.c: (gst_version_string):
10971         * gst/gst.h:
10972         * gst/gstversion.h.in:
10973         * win32/common/libgstreamer.def:
10974           add gst_version_string ()
10975
10976 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10977
10978         * configure.ac:
10979           clean up further
10980         * gst/gst.c: (init_post):
10981         * win32/common/config.h.in:
10982           it's PLUGINDIR now
10983         * gst/gstcaps.c: (gst_caps_intersect):
10984           use gint64, the range could be bigger than a guint
10985
10986 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10987
10988         * gst/gstclock.h:
10989           document potential problem in 2038
10990
10991 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10992
10993         * gst/gstcaps.c: (gst_caps_intersect):
10994           Fix guint j diving under 0
10995
10996 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10997
10998         * configure.ac:
10999         * win32/common/config.h:
11000         * win32/common/config.h.in:
11001           check for process.h, declares getpid() on Windows
11002         * gst/gstinfo.c:
11003           include process.h if we have it
11004         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11005         * gst/gstmemchunk.h:
11006           fix signedness issues
11007         * win32/common/libgstreamer.def:
11008           fix get_type's
11009
11010 2005-10-16  Julien MOUTTE  <julien@moutte.net>
11011
11012         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11013         fix. Because of unsigned ints, caps intersection was going nuts and
11014         trying to access structures with G_MAXUINT index. That fixes
11015         videotestsrc ! ffmpegcolorspace ! fakesink
11016         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11017         consistency.
11018
11019 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11020
11021         * configure.ac:
11022           use the gettext macro
11023         * gst/elements/gstelements.c:
11024         * gst/gst.c:
11025         * gst/indexers/gstindexers.c:
11026           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11027         * win32/common/config.h:
11028           updated config.h
11029         * win32/common/config.h.in:
11030           add the template to generate config.h
11031         * win32/common/gstenumtypes.c:
11032         * win32/common/gstversion.h:
11033           updated copies
11034
11035 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
11036
11037         * gst/gst.c: (gst_version):
11038         * gst/gstversion.h.in:
11039           add the nano
11040
11041 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11042
11043         * gst/gstevent.h:
11044           Oops, add missing closing bracket.
11045
11046 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11047
11048         * configure.ac:
11049           use common m4's for argument checking
11050
11051 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11052
11053         * docs/gst/gstreamer-sections.txt:
11054         * gst/gstevent.h:
11055           Add GST_EVENT_TYPE_NAME() macro.
11056
11057 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11058
11059         * gst/gstinfo.c:
11060         * gst/gstpluginfeature.c:
11061         * gst/gsttask.c:
11062           privatize more symbols
11063
11064 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11065
11066         * configure.ac:
11067           add srcdir, builddir includes to GST_ALL_CFLAGS, since
11068           everything that uses GStreamer API should have the includes
11069
11070 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11071
11072         * docs/gst/gstreamer-sections.txt:
11073         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11074         * gst/gstvalue.h:
11075           give each value a _get_type, removes the DATA exports
11076
11077 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11078
11079         * gst/gst.c:
11080         * gst/gst.h:
11081           remove _gst_registry_auto_load, not used anymore
11082         * gst/gstbin.c: (gst_bin_get_type):
11083         * gst/gstbin.h:
11084         * gst/gstelement.c: (gst_element_get_type):
11085         * gst/gstelement.h:
11086         * gst/gstobject.c: (gst_object_get_type):
11087         * gst/gstobject.h:
11088         * gst/gstpad.c: (gst_pad_get_type):
11089         * gst/gstpad.h:
11090           make _get_type functions similar, fixes data export from library
11091
11092 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11093
11094         * configure.ac:
11095           correctly make conditionals
11096         * gst/elements/Makefile.am:
11097         * gst/elements/gstelements.c:
11098           fix typo causing fdsrc not to build
11099
11100 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11101
11102         * testsuite/Makefile.am:
11103         * testsuite/bytestream/.cvsignore:
11104         * testsuite/bytestream/Makefile.am:
11105         * testsuite/bytestream/filepadsink.c:
11106         * testsuite/bytestream/gstbstest.c:
11107         * testsuite/bytestream/test1.c:
11108         * testsuite/bytestream/testfile1:
11109         * testsuite/caps/normalisation.c:
11110         * testsuite/caps/random.c: (main):
11111         * testsuite/cleanup/.cvsignore:
11112         * testsuite/cleanup/Makefile.am:
11113         * testsuite/cleanup/cleanup1.c:
11114         * testsuite/cleanup/cleanup2.c:
11115         * testsuite/cleanup/cleanup3.c:
11116         * testsuite/cleanup/cleanup4.c:
11117         * testsuite/cleanup/cleanup5.c:
11118         * testsuite/controller/interpolator.c:
11119         * testsuite/debug/printf_extension.c: (main):
11120         * testsuite/elements/tee.c:
11121         * testsuite/negotiation/.cvsignore:
11122         * testsuite/negotiation/Makefile.am:
11123         * testsuite/negotiation/pad_link.c:
11124         * testsuite/pad/Makefile.am:
11125         * testsuite/pad/chainnopull.c:
11126         * testsuite/pad/getnopush.c:
11127         * testsuite/pad/link.c:
11128         * testsuite/refcounting/sched.c: (create_pipeline):
11129         * testsuite/registry/Makefile.am:
11130         * testsuite/registry/gst-print-formats.c:
11131         * testsuite/schedulers/.cvsignore:
11132         * testsuite/schedulers/142183-2.c:
11133         * testsuite/schedulers/142183.c:
11134         * testsuite/schedulers/143777-2.c:
11135         * testsuite/schedulers/143777.c:
11136         * testsuite/schedulers/147713.c:
11137         * testsuite/schedulers/147819.c:
11138         * testsuite/schedulers/147894-2.c:
11139         * testsuite/schedulers/147894.c:
11140         * testsuite/schedulers/Makefile.am:
11141         * testsuite/schedulers/group_link.c:
11142         * testsuite/schedulers/queue_link.c:
11143         * testsuite/schedulers/relink.c:
11144         * testsuite/schedulers/unlink.c:
11145         * testsuite/schedulers/unref.c:
11146         * testsuite/schedulers/useless_iteration.c:
11147         * testsuite/states/bin.c:
11148           clean out/remove some stuff from the testsuite directories
11149
11150 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11151
11152         * configure.ac:
11153           check for some headers
11154         * gst/elements/Makefile.am:
11155         * gst/elements/gstelements.c:
11156           don't compile fdsrc without sys/socket.h
11157         * gst/indexers/Makefile.am:
11158         * gst/indexers/gstindexers.c: (plugin_init):
11159           don't compile fileindex without mmap
11160
11161 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11162
11163         * configure.ac:
11164           reorganize
11165           clean up
11166           document more
11167           remove cruft
11168         * check/Makefile.am:
11169         * docs/gst/Makefile.am:
11170         * examples/helloworld/Makefile.am:
11171         * gst/Makefile.am:
11172         * gst/base/Makefile.am:
11173         * gst/check/Makefile.am:
11174         * gst/elements/Makefile.am:
11175         * gst/indexers/Makefile.am:
11176         * gst/parse/Makefile.am:
11177         * libs/gst/controller/Makefile.am:
11178         * libs/gst/dataprotocol/Makefile.am:
11179         * examples/helloworld/helloworld.c: (event_loop):
11180           compile fixes, though it's not being compiled currently
11181
11182 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11183
11184         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11185           Add some simple tests for the new taglist date API.
11186
11187 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11188
11189         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11190         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11191           Beautify 'last-message' output: print 'none' for buffer timestamps
11192           and durations if none is set; improve alignment with next messages.
11193
11194 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11195
11196         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11197         * gst/gstpluginfeature.h:
11198         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11199         * gst/gstregistry.h:
11200         * docs/gst/gstreamer-sections.txt:
11201           Add new API to check plugin feature version requirements.
11202
11203         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11204           Some basic tests for the above.         
11205
11206 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11207
11208         * gst/gststructure.c: (gst_structure_to_string):
11209           guard against NULL printf - happens when for example
11210           a message structure with GstClock gets serialized
11211
11212 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * gst/base/gstcollectpads.c: (gst_collectpads_event):
11215           Fix presumable copy'n'pasto.
11216
11217 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11218
11219         * gst/elements/gstfakesrc.h:
11220         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11221         * gst/elements/gsttypefindelement.c:
11222           fix some signedness
11223         * gst/elements/gstfilesink.c: (gst_file_sink_render):
11224           I wonder if this could actually write +2GB files before
11225
11226 2005-10-13  Andy Wingo  <wingo@pobox.com>
11227
11228         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11229         Fix Timmeke Waymans bug.
11230         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11231         string of the proper length to gst_caps_from_string. There's a
11232         potential for, before this fix, that this could cause someone
11233         connecting over the network to cause a segfault if the payload is
11234         not NUL-terminated.
11235
11236 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11237
11238         * docs/design/draft-push-pull.txt:
11239         * docs/design/part-overview.txt:
11240         * docs/random/TODO-pre-0.9:
11241         * docs/random/old/ChangeLog.gstreamer:
11242         * gst/base/gstpushsrc.c:
11243         * gst/gstclock.c:
11244           fixed typos
11245
11246 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11247
11248         * gst/glib-compat.c: (gst_flags_get_first_value):
11249         * gst/glib-compat.h:
11250         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11251         (gst_value_compare_double), (gst_value_serialize_flags):
11252           GLib 2.6 g_flags_get_first_value has a bug that triggers an
11253           infinite loop
11254
11255 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11256
11257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11258         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11259           fix up debugging
11260         * tools/gst-launch.c: (event_loop):
11261           print out clock nicely
11262
11263 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11264
11265         * docs/gst/gstreamer-sections.txt:
11266         * gst/gsttaglist.h:
11267         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11268         (gst_tag_list_get_date_index):
11269           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11270           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11271
11272 2005-10-13  Julien MOUTTE  <julien@moutte.net>
11273
11274         * gst/base/gstcollectpads.c: (gst_collectpads_event),
11275         (gst_collectpads_chain):
11276         * gst/base/gstcollectpads.h: Handle newsegment and store informations
11277         in CollectData.
11278
11279 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11280
11281         * docs/gst/gstreamer-sections.txt:
11282         * gst/gst.c:
11283         * gst/gsterror.h:
11284         * tools/gst-inspect.c: (main):
11285         * tools/gst-launch.c: (main):
11286         * tools/gst-run.c: (main):
11287         * tools/gst-xmlinspect.c: (main):
11288           fix GOption context leaks
11289           doc fixes
11290
11291 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11292
11293         * gst/gstbus.c:
11294           use HAVE_UNISTD_H
11295         * win32/common/config.h:
11296           update config
11297         * win32/vs6/grammar.dsp:
11298         * win32/vs6/libgstelements.dsp:
11299         * win32/vs6/libgstreamer.dsp:
11300           update vs6 files
11301
11302 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11303
11304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11305         * gst/base/gstbasesrc.c: (gst_base_src_query):
11306           fix more guint64<->gdouble conversions
11307
11308 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11309
11310         * Makefile.am:
11311           add win32-update target
11312         * win32/common/gstconfig.h:
11313         * win32/common/gstenumtypes.c:
11314         * win32/common/gstenumtypes.h:
11315         * win32/common/gstversion.h:
11316           add files that visual studio can't generate
11317
11318 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11319
11320         * Makefile.am:
11321           add a win32-update target
11322         * configure.ac:
11323
11324 2005-10-12  Wim Taymans  <wim@fluendo.com>
11325
11326         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11327         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11328         * gst/gstelement.c: (gst_element_commit_state),
11329         (gst_element_set_state):
11330         Protect flags with proper lock.
11331         unref provided cached clock in dispose.
11332
11333 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11334
11335         * gst/gst.c:
11336         * gst/gstminiobject.h:
11337         * gst/gstpad.h:
11338         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11339           removed unused flags from miniobject
11340           doc fixes
11341
11342 2005-10-12  Wim Taymans  <wim@fluendo.com>
11343
11344         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11345         (gst_file_sink_event), (gst_file_sink_render):
11346         Flush before seeking.
11347
11348 2005-10-12  Andy Wingo  <wingo@pobox.com>
11349
11350         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11351         always been the case.
11352
11353 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11354
11355         * check/gst/gstbin.c: (GST_START_TEST):
11356         * docs/gst/gstreamer-sections.txt:
11357         * gst/base/gstbasesink.c: (gst_base_sink_init):
11358         * gst/base/gstbasesrc.c: (gst_base_src_init),
11359         (gst_base_src_get_range), (gst_base_src_check_get_range),
11360         (gst_base_src_start), (gst_base_src_stop):
11361         * gst/base/gstbasesrc.h:
11362         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11363         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11364         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11365         (bin_bus_handler):
11366         * gst/gstbin.h:
11367         * gst/gstbuffer.h:
11368         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11369         * gst/gstbus.h:
11370         * gst/gstelement.c: (gst_element_is_locked_state),
11371         (gst_element_set_locked_state), (gst_element_commit_state),
11372         (gst_element_set_state):
11373         * gst/gstelement.h:
11374         * gst/gstindex.c: (gst_index_init):
11375         * gst/gstindex.h:
11376         * gst/gstminiobject.h:
11377         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11378         (gst_object_set_parent):
11379         * gst/gstobject.h:
11380         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11381         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11382         * gst/gstpad.h:
11383         * gst/gstpadtemplate.h:
11384         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11385         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11386         * gst/gstpipeline.h:
11387         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11388         (gst_file_index_commit):
11389         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11390         * testsuite/pad/link.c: (gst_test_src_init),
11391         (gst_test_filter_init), (gst_test_sink_init):
11392         * testsuite/states/locked.c: (main):
11393           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11394           moved bitshift from macro to enum definition
11395
11396 2005-10-12  Wim Taymans  <wim@fluendo.com>
11397
11398         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11399         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11400         (gst_file_sink_render):
11401         Some more debugging info.
11402
11403 2005-10-12  Wim Taymans  <wim@fluendo.com>
11404
11405         * docs/design/part-states.txt:
11406         * tools/gst-launch.c: (main):
11407         Some doc updates.
11408         Revert non-intentional change.
11409
11410 2005-10-12  Wim Taymans  <wim@fluendo.com>
11411
11412         * check/gst/gstbin.c: (GST_START_TEST):
11413         * check/gst/gstelement.c: (GST_START_TEST):
11414         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11415         * check/gst/gstghostpad.c: (GST_START_TEST):
11416         * check/gst/gstpipeline.c: (GST_START_TEST):
11417         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11418         * check/states/sinks.c: (GST_START_TEST):
11419         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11420         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11421         (gst_bin_remove_func), (gst_bin_get_state_func),
11422         (gst_bin_recalc_state), (gst_bin_change_state_func),
11423         (bin_bus_handler):
11424         * gst/gstelement.c: (gst_element_get_state_func),
11425         (gst_element_get_state), (gst_element_abort_state),
11426         (gst_element_commit_state), (gst_element_set_state),
11427         (gst_element_change_state), (gst_element_change_state_func):
11428         * gst/gstelement.h:
11429         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11430         (gst_pipeline_provide_clock_func):
11431         * gst/gstutils.c: (gst_element_link_pads_filtered):
11432         * tools/gst-launch.c: (main):
11433         * tools/gst-typefind.c: (main):
11434         Use GstClockTime in _get_state() instead of GTimeVal.
11435         Remove old code in gstutils.c
11436
11437 2005-10-12  Andy Wingo  <wingo@pobox.com>
11438
11439         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11440         removed.
11441
11442         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11443         there is no task. Shouldn't affect any code, as nothing in our
11444         plugins checks this return value.
11445         (gst_pad_stop_task): Also take the stream lock if the pad has no
11446         task. Docs updated.
11447
11448 2005-10-12  Wim Taymans  <wim@fluendo.com>
11449
11450         * gst/gstpad.c: (pre_activate), (post_activate),
11451         (gst_pad_activate_pull), (gst_pad_activate_push):
11452         Cleanup activation code. Reset old state if
11453         activation failed.
11454
11455 2005-10-12  Wim Taymans  <wim@fluendo.com>
11456
11457         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11458         (gst_base_sink_change_state):
11459         No need to prerol after receiving EOS.
11460
11461         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11462         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11463         * gst/elements/gstidentity.c: (gst_identity_event):
11464         Print events more verbosely.
11465
11466 2005-10-12  Wim Taymans  <wim@fluendo.com>
11467
11468         * check/Makefile.am:
11469         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11470         * check/states/sinks2.c:
11471         Moved sinks2 testcode in sinks check.
11472
11473         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11474         (gst_bin_remove_func), (gst_bin_recalc_state),
11475         (gst_bin_change_state_func), (bin_bus_handler):
11476         Fix potential race condition when _get_state() iterated over an
11477         ASYNC element right before it posted a state completion.
11478
11479         * gst/gstclock.h:
11480         Do proper cast here.
11481
11482         * gst/gstevent.c: (gst_event_new_newsegment),
11483         (gst_event_parse_newsegment):
11484         A playback rate of 0.0 is not allowed.
11485
11486 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11487
11488         * win32/common/config.h:
11489         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11490         (_trewinddir), (_ttelldir), (_tseekdir):
11491         * win32/common/dirent.h:
11492         * win32/common/gtchar.h:
11493         * win32/common/libgstbase.def:
11494         * win32/common/libgstreamer.def:
11495         * win32/vs6/grammar.dsp:
11496         * win32/vs6/gst_inspect.dsp:
11497         * win32/vs6/gst_launch.dsp:
11498         * win32/vs6/gstreamer.dsw:
11499         * win32/vs6/libgstbase.dsp:
11500         * win32/vs6/libgstelements.dsp:
11501         * win32/vs6/libgstreamer.dsp:
11502           Visual Studio 6 project files, and a new common directory.
11503           Phear.
11504
11505 2005-10-11  Wim Taymans  <wim@fluendo.com>
11506
11507         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11508         (gst_base_sink_do_sync), (gst_base_sink_query),
11509         (gst_base_sink_change_state):
11510         * gst/base/gstbasesink.h:
11511         Correctly parse newsegment info.
11512
11513 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11514
11515         * gst/gst.c: (init_post):
11516           split plugin paths correctly
11517
11518 2005-10-11  Wim Taymans  <wim@fluendo.com>
11519
11520         * check/gst/gstevent.c: (GST_START_TEST):
11521         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11522         (gst_base_sink_change_state):
11523         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11524         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11525         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11526         * gst/gstevent.c: (gst_event_new_newsegment),
11527         (gst_event_parse_newsegment):
11528         * gst/gstevent.h:
11529         Added extra flag to newsegment for future API freeze.
11530         Updated check and base elements.
11531
11532 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11533
11534         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11535         (gst_collectpads_add_pad), (gst_collectpads_pop),
11536         (gst_collectpads_event), (gst_collectpads_chain):
11537         * gst/base/gstcollectpads.h: Handle EOS correctly.
11538
11539 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11540
11541         * tools/gst-launch.c: (main):
11542           more null protecting
11543
11544 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11545
11546         * gst/gst-i18n-lib.h:
11547           check for ENABLE_NLS, not GETTEXT_PACKAGE
11548         * gst/gstregistry.c: (gst_registry_add_plugin),
11549         (gst_registry_scan_path_level),
11550         (_gst_registry_remove_cache_plugins):
11551           protect possibly NULL strings
11552         * gst/parse/types.h:
11553           config.h already included before
11554         * tools/gst-inspect.c: (main):
11555           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11556           check for ENABLE_NLS, not GETTEXT_PACKAGE
11557         * tools/gst-launch.c: (main):
11558           check for ENABLE_NLS, not GETTEXT_PACKAGE
11559
11560 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11561
11562         * configure.ac:
11563           if we don't have glib, fail before testing 2.8
11564         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11565           fix a leak, should fix plugins-base testsuite
11566
11567 2005-10-11  Andy Wingo  <wingo@pobox.com>
11568
11569         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11570         take the mode we're going to as an arg. Go head and set the mode
11571         and flushing flags now, so that if the activate function starts a
11572         thread all the flags will be in the right state.
11573         (post_activate): Renamed also. Just handle making sure streaming
11574         finishes for the deactivation case, and setting the deactivated
11575         mode.
11576         (gst_pad_set_active): Complain loudly if deactivation fails.
11577         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11578         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11579         remove the terrible hack.
11580
11581 2005-10-11  Wim Taymans  <wim@fluendo.com>
11582
11583         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11584         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11585         (gst_bin_recalc_state), (gst_bin_change_state_func),
11586         (gst_bin_dispose), (bin_bus_handler):
11587         * gst/gstbin.h:
11588         Prepare to make current EOS message queue more generic.
11589         Fix some typos.
11590
11591         * gst/gstevent.c: (gst_event_new_newsegment),
11592         (gst_event_parse_newsegment):
11593         * gst/gstevent.h:
11594         Rename base to stream_time.
11595
11596         * gst/gstmessage.h:
11597         Fix typo in docs.
11598
11599 2005-10-11  Wim Taymans  <wim@fluendo.com>
11600
11601         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11602         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11603         (gst_bin_change_state_func), (bin_bus_handler):
11604         * gst/gstbin.h:
11605         Work on proper clock selection.
11606
11607 2005-10-11  Edward Hervey  <edward@fluendo.com>
11608
11609         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11610         * libs/gst/controller/gstcontroller.h:
11611         Added GList* version of _remove_properties() in order to be able to wrap
11612         it in bindings.
11613
11614 2005-10-11  Wim Taymans  <wim@fluendo.com>
11615
11616         * docs/design/part-states.txt:
11617         Some more docs.
11618
11619         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11620         (gst_bin_change_state_func), (bin_bus_handler):
11621         Doc updates. Don't distribute the same clock over and over again.
11622
11623         * gst/gstclock.c:
11624         * gst/gstclock.h:
11625         Doc updates.
11626
11627         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11628         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11629         (gst_pad_send_event):
11630         * gst/gstpad.h:
11631         Make probe emission threadsafe again.
11632         Register quarks and move _get_name() from utils.
11633         Doc updates.
11634
11635         * gst/gstpipeline.c: (gst_pipeline_class_init),
11636         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11637         Only redistribute the clock of it changed.
11638
11639         * gst/gstsystemclock.h:
11640         Doc updates. 
11641
11642         * gst/gstutils.c:
11643         * gst/gstutils.h:
11644         Moved the _flow_get_name() to GstPad.
11645
11646 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11647
11648         * check/gst-libs/gdp.c: (GST_START_TEST):
11649         * check/gst/gstcaps.c: (GST_START_TEST):
11650         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11651         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11652         (gst_dp_packet_from_caps):
11653           fix more valgrind warnings before turning up the heat
11654
11655 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11656
11657         * gst/parse/grammar.y:
11658           some cleanup before the hacking
11659
11660 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11661
11662         * gst/base/gstbasesrc.c: (gst_base_src_query):
11663           use conversions
11664         * gst/gstutils.c: (gst_guint64_to_gdouble),
11665         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11666         * gst/gstutils.h:
11667           externalize, basesrc uses it
11668           obviously the implementation needs testing
11669
11670 2005-10-10  Wim Taymans  <wim@fluendo.com>
11671
11672         * tests/sched/Makefile.am:
11673         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11674         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11675
11676 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11677
11678         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11679           apparently converting from guint64 to double is not implemented
11680           on MSVC
11681
11682 2005-10-10  Wim Taymans  <wim@fluendo.com>
11683
11684         * check/Makefile.am:
11685         * check/generic/states.c: (GST_START_TEST):
11686         * check/gst/gstbin.c: (GST_START_TEST):
11687         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11688         * check/states/sinks.c: (GST_START_TEST):
11689         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11690         (main):
11691         Check fixes, use API as stated in design docs, remove hacks.
11692
11693         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11694         (gst_base_sink_change_state):
11695         Catch stopping our task while we're shutting down.
11696
11697         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11698         (gst_bin_remove_func), (gst_bin_get_state_func),
11699         (gst_bin_recalc_state), (gst_bin_change_state_func),
11700         (bin_bus_handler):
11701         * gst/gstbin.h:
11702         * gst/gstelement.c: (gst_element_init),
11703         (gst_element_get_state_func), (gst_element_abort_state),
11704         (gst_element_commit_state), (gst_element_lost_state),
11705         (gst_element_set_state), (gst_element_change_state),
11706         (gst_element_change_state_func):
11707         * gst/gstelement.h:
11708         New state change algorithm (see #318116)
11709
11710         * gst/gstpipeline.c: (gst_pipeline_class_init),
11711         (gst_pipeline_init), (gst_pipeline_set_property),
11712         (gst_pipeline_get_property), (do_pipeline_seek),
11713         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11714         * gst/gstpipeline.h:
11715         Remove crude state change hacks.
11716
11717         * gst/gstutils.h:
11718         Remove crude hacks.
11719
11720         * tools/gst-launch.c: (main):
11721         Fixes for state change. Needs some more work to fully use the
11722         new stuff.
11723
11724 2005-10-10  Andy Wingo  <wingo@pobox.com>
11725
11726         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11727
11728         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11729         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11730         issue.
11731
11732 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11733
11734         * gst/gstiterator.c: (gst_iterator_new):
11735           Fix my previous commit: GTypes passed to gst_iterator_new()
11736           can be fundamental types.
11737
11738 2005-10-10  Wim Taymans  <wim@fluendo.com>
11739
11740         * gst/gstelement.c: (gst_element_iterate_pad_list),
11741         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11742         (gst_element_iterate_sink_pads):
11743         Use src/sink pads lists for the respective iterators instead
11744         of filtering.
11745
11746 2005-10-10  Andy Wingo  <wingo@pobox.com>
11747
11748         Merged in popt removal + GOption addition patch from Ronald, bug
11749         #169772.
11750
11751         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11752         GstElement macros around, remove popt-related symbols, add goption
11753         stuff.
11754
11755         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11756         
11757         * docs/gst/Makefile.am:
11758         * docs/libs/Makefile.am: No POPT_CFLAGS.
11759         
11760         * examples/manual/Makefile.am:
11761         * docs/manual/basics-init.xml: Doc updates with an example.
11762         
11763         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11764         (gst_init), (parse_one_option), (parse_goption_arg):
11765         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11766         bit of hand merging and debugging to get the GOption stuff working
11767         tho.
11768         
11769         * tests/Makefile.am:
11770         * tools/Makefile.am:
11771         * tools/gst-inspect.c: (main):
11772         * tools/gst-launch.c: (main):
11773         * tools/gst-run.c: (main):
11774         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11775
11776 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11777
11778         * gst/gstiterator.c: (gst_iterator_new):
11779           Add assertions to make sure passed GType is likely to really
11780           be a GType (as the compiler won't catch it if the size and
11781           GType arguments get mixed up, see #318447).
11782
11783 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11784
11785         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11786
11787         * gst/gstbin.c: (gst_bin_iterate_sorted):
11788           Pass GType and size arguments to gst_iterator_new() in the right
11789           order (maybe we should make _new() take the GType as first argument
11790           just like _new_list()?) (#318447).
11791           
11792
11793 2005-10-10  Wim Taymans  <wim@fluendo.com>
11794
11795         * gst/gstelement.c: (gst_element_finalize):
11796         And free the GStaticRecMutex too
11797
11798 2005-10-10  Andy Wingo  <wingo@pobox.com>
11799
11800         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11801         Allocate and free the mutex properly.
11802
11803         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11804         New macros.
11805         (GstElement): The state_lock is now recursive. Rebuild your
11806         plugins, suckers. Old macros adapted.
11807
11808         * docs/gst/gstreamer-sections.txt: Doc updates.
11809
11810         * gst/gstutils.h:
11811         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11812         (g_static_rec_cond_wait): Ported from state changes patch, while
11813         we wait on bug #317802 to be solved in a well-distributed GLib.
11814
11815         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11816         gst_element_change_state, variable name changes.
11817         (gst_element_change_state): Split out of gst_element_set_state in
11818         preparation for the state change merge. Doesn't pay attention to
11819         the 'transition' argument.
11820         (gst_element_set_state): Updates, hopefully purely cosmetic.
11821         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11822         state change patch.
11823         (gst_element_get_state_func): Renamed from get_state, cosmetic
11824         changes.
11825
11826 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11827
11828         * gst/elements/gstelements.c:
11829         * win32/GStreamer.vcproj:
11830         * win32/config.h:
11831         * win32/dirent.c: (_tseekdir):
11832         * win32/gst-inspect.vcproj:
11833         * win32/gst-launch.vcproj:
11834         * win32/gstconfig.h:
11835         * win32/gstelements.vcproj:
11836         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11837         * win32/gstreamer.def:
11838         * win32/msvc71.sln:
11839           updates for the win32 build (patch from Sebastien Moutte)
11840
11841 2005-10-10  Andy Wingo  <wingo@pobox.com>
11842
11843         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11844         gst_bin_get_state, cleaned up (but no logic changes).
11845         (bin_element_is_sink): Comment updates.
11846         (sink_iterator_filter): Remove needless cast.
11847         (gst_bin_iterate_sinks): Doc update.
11848         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11849         cleaned up (but no logic changes).
11850
11851         * check/states/sinks.c (test_src_sink): Cleanups from the state
11852         change patch.
11853         (test_livesrc_sink): Sync on the state.
11854
11855         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11856         the state change patch.
11857
11858         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11859         change patch.
11860
11861         * check/gst/gstbin.c: Merge in some style fixes and additional
11862         checks from Wim's state change patch.
11863
11864 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11865
11866         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11867         (gst_type_find_helper):
11868           Check whether we have the requested data already in our list of
11869           cached buffers before pulling a new buffer; also make the buffer
11870           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11871
11872 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11873
11874         * gst/gstcaps.c:
11875         * gst/gstevent.c:
11876           doc updates
11877         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11878           don't use long long, it's not portable.  Replacing with
11879           gint64 seems to work; let's hope no skeletons fall out of the closet.
11880
11881 2005-10-10  Andy Wingo  <wingo@pobox.com>
11882
11883         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11884
11885 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11886
11887         * docs/gst/gstreamer-sections.txt:
11888         * gst/gstevent.c:
11889         * gst/gstevent.h:
11890         * gst/gstinfo.c:
11891         * gst/gstinfo.h:
11892         * gst/gstmessage.c: (gst_message_parse_state_changed):
11893         * gst/gstpad.c:
11894         * gst/gstpad.h:
11895           more docs, fix compilation
11896
11897 2005-10-09  Philippe Khalaf <burger@speedy.org>
11898         * gst/gstmessage.c:
11899           Fixed a few forgotten variables on previous commit
11900
11901 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11902
11903         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11904           Fix evil typefind crasher: getrange() might return a short
11905           buffer at the end of a file, but gst_type_find_peek() must
11906           either return the full data as requested or NULL, but
11907           never a short buffer.
11908
11909 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11910
11911         * gst/gstmessage.c: (gst_message_new_state_changed),
11912         (gst_message_parse_state_changed):
11913         * gst/gstmessage.h:
11914           don't use "new", it's a C++ keyword
11915
11916 2005-10-08  Wim Taymans  <wim@fluendo.com>
11917
11918         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11919         * gst/gstelement.c: (gst_element_post_message):
11920         * gst/gstpipeline.c: (gst_pipeline_change_state):
11921         Small docs and debug updates.
11922
11923 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11924
11925         * docs/gst/gstreamer-sections.txt:
11926         * gst/gstelementfactory.c:
11927         * gst/gstevent.c:
11928         * gst/gsttaglist.c:
11929           more docs
11930
11931 2005-10-08  Wim Taymans  <wim@fluendo.com>
11932
11933         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11934         (gst_bin_dispose), (bin_bus_handler):
11935         Fix typos, add comments.
11936         Clear EOS list when going to PAUSED from any direction and do it
11937         in a threadsafe way.
11938         Get base time in a threadsafe way too.
11939         Fix confusing debug in the change_state function.
11940         Various other small cleanups.
11941         
11942         * gst/gstelement.c: (gst_element_post_message):
11943         Fix very verbose bus posting code.
11944
11945         * gst/gstpipeline.c: (gst_pipeline_class_init),
11946         (gst_pipeline_set_property), (gst_pipeline_get_property),
11947         (gst_pipeline_change_state):
11948         Small ARG_ -> PROP_ cleanup
11949
11950 2005-10-08  Wim Taymans  <wim@fluendo.com>
11951
11952         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11953         Do a less CPU demanding EOS check because we can.
11954
11955 2005-10-08  Wim Taymans  <wim@fluendo.com>
11956
11957         * libs/gst/dataprotocol/dataprotocol.c:
11958         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11959         (gst_dp_packet_from_event):
11960         * libs/gst/dataprotocol/dataprotocol.h:
11961         * libs/gst/dataprotocol/dp-private.h:
11962         It's about time we bump the version number.
11963         Since event types don't fit in the guint8 anymore describing
11964         the payload type, make payload type 16 bits wide.
11965
11966 2005-10-08  Wim Taymans  <wim@fluendo.com>
11967
11968         * docs/design/part-TODO.txt:
11969         * docs/design/part-clocks.txt:
11970         * docs/design/part-events.txt:
11971         * docs/design/part-gstbin.txt:
11972         * docs/design/part-gstelement.txt:
11973         * docs/design/part-gstpipeline.txt:
11974         * docs/design/part-live-source.txt:
11975         * docs/design/part-messages.txt:
11976         * docs/design/part-overview.txt:
11977         * docs/design/part-states.txt:
11978         Many doc updates.
11979
11980 2005-10-08  Wim Taymans  <wim@fluendo.com>
11981
11982         * gst/gstevent.c:
11983         * gst/gstevent.h:
11984         Fix event quark registration.
11985         Add some space between events so we can insert them in the
11986         right groups.
11987
11988 2005-10-08  Wim Taymans  <wim@fluendo.com>
11989
11990         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11991         (gst_base_sink_handle_buffer):
11992         Better log message.
11993
11994         * gst/gstbus.h:
11995         * gst/gstelement.h:
11996         More docs.
11997
11998         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11999         (gst_queue_set_property), (gst_queue_get_property):
12000         * gst/gstqueue.h:
12001         Remove old unused properties.
12002
12003 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
12004         * docs/gst/gstreamer-sections.txt:
12005         * gst/gstmessage.c:
12006         * gst/gstmessage.h:
12007         * gst/gstminiobject.c:
12008         * gst/gstminiobject.h:
12009         * gst/gstobject.h:
12010         * gst/gstpad.h:
12011         * gst/gstutils.h:
12012           lots of new docs and doc fixes
12013
12014 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12015
12016         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12017         * gst/gstplugin.h:
12018         * gst/gstregistry.c: (gst_registry_lookup_locked),
12019         (gst_registry_scan_path_level):
12020         * gst/gstregistryxml.c: (load_plugin):
12021           Only ever load one plugin for a given plugin basename.
12022           This ensures correct overriding of GST_PLUGIN_PATH over
12023           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12024           system installed plugins.
12025
12026 2005-10-08  Wim Taymans  <wim@fluendo.com>
12027
12028         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12029         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12030         Prepare for doing QOS.
12031
12032 2005-10-08  Wim Taymans  <wim@fluendo.com>
12033
12034         * check/gst/gstbin.c: (GST_START_TEST):
12035         * check/pipelines/cleanup.c: (GST_START_TEST):
12036         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12037         Allow new clock message too.
12038
12039 2005-10-08  Wim Taymans  <wim@fluendo.com>
12040
12041         * gst/gstmessage.c: (gst_message_new_error),
12042         (gst_message_new_warning), (gst_message_new_tag),
12043         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12044         (gst_message_new_clock_lost), (gst_message_new_new_clock),
12045         (gst_message_new_segment_start), (gst_message_new_segment_done),
12046         (gst_message_parse_state_changed),
12047         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12048         (gst_message_parse_new_clock):
12049         * gst/gstmessage.h:
12050         Also carry the clock in question.
12051
12052 2005-10-08  Wim Taymans  <wim@fluendo.com>
12053
12054         * gst/gstmessage.c: (gst_message_new_custom),
12055         (gst_message_new_eos), (gst_message_new_error),
12056         (gst_message_new_warning), (gst_message_new_tag),
12057         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12058         (gst_message_new_new_clock), (gst_message_new_segment_start),
12059         (gst_message_new_segment_done), (gst_message_parse_state_changed),
12060         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12061         * gst/gstmessage.h:
12062         Clean up.
12063         Added clock related messages.
12064
12065         * gst/gstpipeline.c: (gst_pipeline_change_state):
12066         Post message when the clock changed.
12067
12068         * tools/gst-launch.c: (event_loop):
12069         Print new clock.
12070
12071 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12072
12073         * tools/gst-inspect.c: (print_element_properties_info):
12074           Can't pass NULL strings to g_print() on windows.
12075
12076 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12077
12078         * docs/Makefile.am:
12079         * docs/gst/Makefile.am:
12080         * docs/gst/gstreamer-docs.sgml:
12081         * docs/gst/running.xml:
12082         * docs/version.entities.in:
12083           add a chapter on running GStreamer.
12084           document GST_DEBUG and GST_PLUGIN* env vars
12085
12086 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12087
12088         * Makefile.am:
12089           remove include dir
12090         * configure.ac:
12091           remove PLUGINS_BUILDDIR stuff
12092         * gst/gst.c: (init_post):
12093           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12094         * idiottest.mak:
12095           remove, it was condescending and not needed
12096
12097 2005-10-08  Wim Taymans  <wim@fluendo.com>
12098
12099         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12100         (gst_base_sink_handle_object), (gst_base_sink_event),
12101         (gst_base_sink_wait), (gst_base_sink_handle_event),
12102         (gst_base_sink_change_state):
12103         * gst/base/gstbasesink.h:
12104         Repost EOS message while going to PLAYING if still EOS.
12105         Make sure that when receiving a FLUSH_START we don't attempt
12106         to sync on the clock anymore.
12107
12108 2005-10-08  Wim Taymans  <wim@fluendo.com>
12109
12110         * tools/gst-launch.c: (event_loop):
12111         Better message printout.
12112
12113 2005-10-08  Wim Taymans  <wim@fluendo.com>
12114
12115         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12116         (gst_bin_child_proxy_get_children_count):
12117         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12118         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12119         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12120         (gst_child_proxy_set_valist):
12121         * gst/parse/grammar.y:
12122         Make ChildProxy threadsafe and fix mem leaks.
12123
12124 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12125
12126         * gst/gst.c: (init_post):
12127           debug the GST_PLUGIN_ env vars
12128
12129 2005-10-08  Wim Taymans  <wim@fluendo.com>
12130
12131         * check/gst/gstbin.c: (GST_START_TEST):
12132         * check/gst/gstmessage.c: (GST_START_TEST):
12133         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12134         * gst/gstelement.c: (gst_element_commit_state),
12135         (gst_element_lost_state):
12136         * gst/gstmessage.c: (gst_message_new_state_changed),
12137         (gst_message_parse_state_changed):
12138         * gst/gstmessage.h:
12139         * tools/gst-launch.c: (event_loop):
12140         Added extra field to STATE_CHANGE message with the pending
12141         state, which will be different from the new state soon.
12142
12143 2005-10-08  Wim Taymans  <wim@fluendo.com>
12144
12145         * gst/gstbus.c: (gst_bus_pop):
12146         * gst/gstclock.c:
12147         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12148         Small cleanups and doc updates.
12149
12150 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12151
12152         * gst/gst.c: (init_pre):
12153         * gst/gstbin.c: (gst_bin_add_func):
12154           log distributing clocks and base time
12155         * gst/gstregistry.c: (gst_registry_add_plugin),
12156         (gst_registry_scan_path_level), (gst_registry_scan_path):
12157           clean up the debugging output a little
12158         * gst/gstutils.c: (gst_element_state_get_name):
12159           warn about a memleak (I've actually seen this be used, though
12160           it was probably a bug)
12161
12162 2005-10-07  Wim Taymans  <wim@fluendo.com>
12163
12164         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12165         (gst_base_src_init), (gst_base_src_default_newsegment),
12166         (gst_base_src_newsegment), (gst_base_src_do_seek),
12167         (gst_base_src_loop), (gst_base_src_start):
12168         * gst/base/gstbasesrc.h:
12169         Make the newsegment event customizable by subclasses.
12170
12171 2005-10-07  Wim Taymans  <wim@fluendo.com>
12172
12173         * gst/gstevent.c: (gst_event_new_buffersize),
12174         (gst_event_parse_buffersize):
12175         * gst/gstevent.h:
12176         New event for future idea.
12177
12178 2005-10-07  Andy Wingo  <wingo@pobox.com>
12179
12180         * gst/gstelement.c (gst_element_post_message): Doc update.
12181
12182         * docs/gst/gstreamer-sections.txt: Update.
12183
12184         * gst/gstmessage.c (gst_message_new_application): Made into a
12185         function like honest API calls.
12186         (gst_message_new_element): New message type.
12187
12188         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12189
12190         * check/elements/fakesrc.c (test_no_preroll): New check, checks
12191         that setting a live fakesrc to PAUSED returns NO_PREROLL both
12192         times.
12193
12194         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12195         NO_PREROLL from gst_element_change_state to fall through.
12196
12197 2005-10-07  Wim Taymans  <wim@fluendo.com>
12198
12199         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12200         (gst_ghost_pad_do_activate_push):
12201         Activating a ghostpad with no internal pad in push mode
12202         is ok.
12203
12204 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12205
12206         * gst/gstobject.h:
12207           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12208           Fixes compilation on Windows.
12209
12210 2005-10-07  Michael Smith <msmith@fluendo.com>
12211
12212         * tools/gst-inspect.c:
12213           Print out feature and plugin count at the end when printing out
12214           all features.
12215
12216 2005-10-04  Michael Smith <msmith@fluendo.com>
12217
12218         * gst/gsterror.c: (_gst_stream_errors_init):
12219           Add another error string used in a few existing plugins.
12220
12221         * gst/gstplugin.c:
12222         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12223         * tools/gst-inspect.c: (print_element_info):
12224           When a feature disappears from a plugin (and the feature exists in
12225           the cached registry file), things went horribly wrong. This isn't a
12226           complete fix, we should actually be removing the 'missing' features
12227           from the features list when we load the actual plugin. That's not
12228           yet implemented. 
12229
12230 2005-10-04  Johan Dahlin  <johan@gnome.org>
12231
12232         * check/gst/gstiterator.c: (GST_START_TEST):
12233         * gst/gstbin.c: (gst_bin_iterate_elements),
12234         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12235         * gst/gstelement.c: (gst_element_iterate_pads):
12236         * gst/gstformat.c: (gst_format_iterate_definitions):
12237         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12238         (gst_iterator_new_list), (gst_iterator_filter):
12239         * gst/gstiterator.h:
12240         * gst/gstquery.c: (gst_query_type_iterate_definitions):
12241         Add a GType to GstIterator, update callsites and tests.
12242
12243 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12244
12245         * gst/gstpad.c: (gst_pad_event_default_dispatch):
12246           give events a chance to be handled by event probes when the pad
12247           is not linked
12248
12249 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12250
12251         * gst/gstevent.c: (gst_event_type_get_name),
12252         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12253         * gst/gstevent.h:
12254           add string representations for event types
12255
12256 2005-10-06  Wim Taymans  <wim@fluendo.com>
12257
12258         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12259         Don't use NULL pointers.
12260
12261 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12262
12263         * gst/gst_private.h:
12264         * gst/gstbus.c:
12265         * gst/gstelement.c:
12266         * gst/gstinfo.c:
12267         * gst/gstpluginfeature.c:
12268           widen the debug category in output to fit the biggest one we have
12269           add a bus category and use it
12270           play with the colors
12271           fix up some categories
12272
12273 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12274
12275         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12276           add push activation of sink ghost pads.
12277           Andye, please verify
12278
12279 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12280
12281         * gst/gstutils.c: (gst_element_link_pads):
12282           fix a bug in the case where neither element has a pad
12283         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12284           add a test for that case
12285
12286 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12289           emit have-data before checking for peers.  This allows
12290           for probe handlers to connect elements.  This helps autopluggers.
12291         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12292         (gst_pad_suite):
12293           add six checks, linked/unlinked with no/true/false probe
12294
12295 2005-10-04  Wim Taymans  <wim@fluendo.com>
12296
12297         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12298         (gst_fake_sink_event), (gst_fake_sink_preroll),
12299         (gst_fake_sink_render), (gst_fake_sink_change_state):
12300         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12301         (gst_fake_src_get_property), (gst_fake_src_create),
12302         (gst_fake_src_stop):
12303         * gst/elements/gstidentity.c: (gst_identity_stop):
12304         Protect last_message with lock.
12305
12306 2005-10-04  Edward Hervey  <edward@fluendo.com>
12307
12308         * gst/gstformat.h: 
12309         Added precision in the comments for GST_FORMAT_DEFAULT
12310
12311 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12312
12313         * tools/gst-launch.c: (main):
12314           Don't try to run erroneous pipelines.
12315
12316 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12317
12318         * gst/gstbus.c: We don't need this header.
12319
12320 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12321
12322         * configure.ac:
12323           back to development
12324
12325 === release 0.9.3 ===
12326
12327 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12328
12329         * README:
12330         * configure.ac:
12331           Releasing 0.9.3, "Unregistered"
12332
12333 2005-10-03  Andy Wingo  <wingo@pobox.com>
12334
12335         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12336         whereby calling a pad's activatepush() function can start a thread
12337         that starts to push or pull before the pad gets the FLUSHING flag
12338         unset. Hack around it by holding the stream lock until the flag is
12339         set. Need to replace this with a proper solution. Together with
12340         the ghost pad fixes, this fixes mp3 playing/tagreading.
12341
12342         * docs/design/part-gstghostpad.txt: Add a note about activation of
12343         proxy pads outside of ghost pads.
12344
12345         * gst/gstghostpad.c: Implement the ghost pad activation design.
12346
12347 2005-10-02  Andy Wingo  <wingo@pobox.com>
12348
12349         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12350         It is volatile, after all.
12351
12352         * docs/design/part-gstghostpad.txt: Flesh out activation with
12353         ghost pads.
12354
12355         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12356         GST_DEBUG_FUNCPTR.
12357
12358 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12359
12360         * configure.ac:
12361           Fix (unused) AM_CONDITIONAL tests.
12362
12363 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12364
12365         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12366
12367         * gst/gstutils.c: (gst_pad_query_convert):
12368           Add assertion that makes sure src_val is >=0, just like
12369           gst_query_new_convert() has. (#315895)
12370
12371 2005-09-30  Edward Hervey  <edward@fluendo.com>
12372
12373         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12374         Let's not iterate pads we're not interested in, it avoids getting 
12375         sky-high refcounts on sinkpad.
12376
12377 2005-09-30  Wim Taymans  <wim@fluendo.com>
12378
12379         * gst/gstelement.c: (gst_element_set_state),
12380         (gst_element_change_state):
12381         Small tweak, element in ASYNC remains ASYNC.
12382
12383 2005-09-30  Wim Taymans  <wim@fluendo.com>
12384
12385         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12386         Only error is an error.
12387
12388         * gst/gstbin.c: (gst_bin_change_state):
12389         Better debugging.
12390
12391         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12392         Also call pad_block in pad alloc.
12393
12394         * gst/gstutils.c: (gst_flow_get_name):
12395         Better debugging.
12396
12397 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12398
12399         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12400         (gst_base_src_get_range):
12401           Fix documentation typos. Add some more debug info.
12402
12403 2005-09-29  David Schleef  <ds@schleef.org>
12404
12405         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12406           more end-user friendly.
12407         * tools/gst-inspect.c: (main): Check if command-line argument is
12408           a file and attempt to load that file as a plugin.
12409
12410 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12411
12412         * check/gst/gstbin.c:
12413         * check/states/sinks.c:
12414           fix tests for the new warning
12415         * check/gst/gstpipeline.c:
12416           add a test for pipeline and bus interaction
12417         * gst/gstelement.c:
12418           elements should be NULL if they get disposed; add a warning if not
12419
12420 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12421
12422         * gst/gstobject.c:
12423           for 2.6 refcounting, make debug log more correct by printing
12424           the actual refcounts at the time of swap (Wim)
12425
12426 2005-09-29  Andy Wingo  <wingo@pobox.com>
12427
12428         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12429         removes signal watches previously added via
12430         gst_bus_add_signal_watch.
12431         (gst_bus_add_signal_watch): Don't return the source id, just store
12432         it on the bus if there wasn't an id already.
12433
12434         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12435         add_signal_watch and remove_signal_watch.
12436
12437 2005-09-29  Edward Hervey  <edward@fluendo.com>
12438
12439         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12440         Better if we actually iterate the list :)
12441
12442 2005-09-29  Wim Taymans  <wim@fluendo.com>
12443
12444         * check/gst/gstbin.c: (GST_START_TEST):
12445         Change for new bus API.
12446
12447         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12448         (send_messages), (GST_START_TEST), (gstbus_suite):
12449         Change for new bus signal API.
12450
12451         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12452         (gst_bus_source_prepare), (gst_bus_source_check),
12453         (gst_bus_create_watch), (gst_bus_add_watch_full),
12454         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12455         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12456         * gst/gstbus.h:
12457         Remove support for multiple GSources operating on different
12458         message types as it is too complex and unneeded when using
12459         signals.
12460         Added support for receiving signals from the bus.
12461
12462 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12463
12464         * docs/libs/tmpl/gstdataprotocol.sgml:
12465         * docs/manual/advanced-dataaccess.xml:
12466         * gst/elements/gstcapsfilter.c:
12467         * gst/gstutils.c:
12468           rename filter-caps to caps property
12469
12470 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12471
12472         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12473           More robust fraction string parsing.
12474
12475         * docs/pwg/appendix-porting.xml:
12476           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12477
12478 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12479
12480         * gst/gstcaps.c: (gst_caps_do_simplify):
12481           Thou shalt not free a structure and then continue using it
12482           in the next loop iteration.
12483
12484         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12485         (gst_caps_suite):
12486           Add test case for caps simplification.
12487
12488 2005-09-29  Wim Taymans  <wim@fluendo.com>
12489
12490         * check/gst/gstbin.c: (GST_START_TEST):
12491         Oops.
12492
12493 2005-09-29  Wim Taymans  <wim@fluendo.com>
12494
12495         * check/gst/gstbin.c: (GST_START_TEST):
12496         Add bus to bin.
12497
12498         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12499         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12500         (find_element), (gst_bin_sort_iterator_next),
12501         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12502         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12503         (gst_bin_change_state), (gst_bin_dispose):
12504         A bin does not have a bus, it gets the bus from the parent.
12505
12506         * gst/gstelement.c: (gst_element_requires_clock),
12507         (gst_element_provides_clock), (gst_element_is_indexable),
12508         (gst_element_is_locked_state), (gst_element_change_state),
12509         (gst_element_set_bus_func):
12510         Small cleanups.
12511
12512         * gst/gstpipeline.c: (gst_pipeline_class_init),
12513         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12514         The pipeline provides a bus.
12515
12516 2005-09-28  Johan Dahlin  <johan@gnome.org>
12517
12518         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12519         gst_structure_get_enum instead of gst_structure_get_int
12520
12521         * gst/gststructure.c (gst_structure_get_enum): Impl.
12522
12523         * gst/gststructure.h (gst_structure_get_enum): Add
12524
12525         * docs/gst/gstreamer-sections.txt: Ditto
12526
12527         * gst/gstmessage.c (gst_message_new_state_changed): Use
12528         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12529         which does introspection.
12530         Reviewed by Christian Schaller
12531
12532 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12533
12534         * gst/gstinfo.c: (gst_debug_log_default):
12535           don't do dummy g_strdup()s
12536         * libs/gst/controller/gstcontroller.c:
12537         (on_object_controlled_property_changed),
12538         (gst_controlled_property_new), (gst_controller_new_valist),
12539         (gst_controller_new_list),
12540         (gst_controller_remove_properties_valist), (gst_controller_set),
12541         (gst_controller_get), (gst_controller_sync_values),
12542         (gst_controller_get_value_array), (_gst_controller_class_init),
12543         (gst_controller_get_type):
12544         * libs/gst/controller/gstcontroller.h:
12545         * libs/gst/controller/gstinterpolation.c:
12546         (gst_controlled_property_find_timed_value_node):
12547           convert // to /**/ comments
12548
12549 2005-09-28  Wim Taymans  <wim@fluendo.com>
12550
12551         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12552         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12553         (gst_bus_sync_signal_handler):
12554         * gst/gstbus.h:
12555         Added async-message and sync-message signals to the bus.
12556         Added helper BusFunc to emit signals for all posted messages.
12557
12558         * gst/gstmessage.c: (gst_message_type_get_name),
12559         (gst_message_type_to_quark), (gst_message_get_type):
12560         * gst/gstmessage.h:
12561         Register quarks for message names.
12562
12563 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12564
12565         * docs/libs/gstreamer-libs-sections.txt:
12566         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12567         (gst_controller_new_list):
12568         * libs/gst/controller/gstcontroller.h:
12569           added another constructor for language bindings
12570
12571 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12572
12573         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12574           add another check
12575         * gst/gstbus.c:
12576           add some doc
12577         * gst/gstinfo.c: (_gst_debug_init):
12578           slightly more readable color for refcount debugging
12579
12580 2005-09-28  Wim Taymans  <wim@fluendo.com>
12581
12582         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12583         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12584         (find_element), (gst_bin_sort_iterator_next),
12585         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12586         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12587         (gst_bin_change_state), (gst_bin_dispose):
12588         Small doc fixes. get_clock -> provide_clock.
12589
12590         * gst/gstelement.c: (gst_element_class_init),
12591         (gst_element_provides_clock), (gst_element_provide_clock),
12592         (gst_element_get_clock), (gst_element_commit_state),
12593         (gst_element_lost_state):
12594         * gst/gstelement.h:
12595         Make get/set_clock() symetric. Add provide_clock vmethod since
12596         that is actually what this function does.
12597
12598         * gst/gstpipeline.c: (gst_pipeline_class_init),
12599         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12600         (gst_pipeline_get_clock):
12601         get_clock -> provide_clock.
12602
12603 2005-09-28  Andy Wingo  <wingo@pobox.com>
12604
12605         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12606         lieu of real docs...
12607
12608         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12609
12610 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12611
12612         * gst/elements/gstcapsfilter.c:
12613         * gst/elements/gstfakesink.c:
12614         * gst/elements/gstfakesrc.c:
12615         * gst/elements/gstfdsink.c:
12616         * gst/elements/gstfdsrc.c:
12617         * gst/elements/gstfilesink.c:
12618         * gst/elements/gstfilesrc.c:
12619         * gst/elements/gstidentity.c:
12620         * gst/elements/gsttee.c:
12621         * gst/elements/gsttypefindelement.c:
12622           Make element details static.
12623
12624 2005-09-28  Wim Taymans  <wim@fluendo.com>
12625
12626         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12627         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12628         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12629         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12630         (gst_bin_change_state), (gst_bin_dispose):
12631         Some documentation updates.
12632         Clean up dispose handlers.
12633
12634         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12635         * gst/gstpad.c: (gst_pad_dispose):
12636         Clean up dispose handler.
12637
12638         * gst/gstpipeline.c: (gst_pipeline_change_state):
12639         Removed spurious UNLOCK.
12640
12641 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12642
12643         * docs/gst/gstreamer-sections.txt:
12644         * gst/base/gstbasesrc.h:
12645         * gst/gstelement.h:
12646         * gst/gstevent.h:
12647         * gst/gstobject.h:
12648         * gst/gstpad.h:
12649         * gst/gstpipeline.c:
12650         * gst/gstpipeline.h:
12651         * gst/gstutils.h:
12652         * gst/gstxml.h:
12653           added two new functions to the docs
12654                 documents all undocumented GstXXXFlags
12655                 completed some incomplete docs 
12656
12657 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12658
12659         * gst/gstbin.c: (gst_bin_dispose):
12660         * gst/gstelement.c: (gst_element_dispose):
12661           remove now useless and leaky resurrection code in dispose
12662         * gst/base/gstbasesrc.c: (gst_base_src_init):
12663         * gst/gstelementfactory.c: (gst_element_factory_create):
12664         * gst/gstobject.c: (gst_object_set_parent):
12665           add some debugging
12666
12667 2005-09-27  Wim Taymans  <wim@fluendo.com>
12668
12669         * docs/design/part-TODO.txt:
12670         Update TODO.
12671
12672         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12673         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12674         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12675         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12676         (gst_bin_change_state):
12677         * gst/gstelement.h:
12678         Remove element variable, we keep element info in the iterator now.
12679
12680 2005-09-27  Andy Wingo  <wingo@pobox.com>
12681
12682         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12683         values.
12684
12685 2005-09-27  Wim Taymans  <wim@fluendo.com>
12686
12687         * check/gst/gstbin.c: (GST_START_TEST):
12688         Enable check that works now.
12689
12690         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12691         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12692         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12693         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12694         (gst_bin_change_state):
12695         * gst/gstbin.h:
12696         Redid the state change algorithm using a topological sort algo.
12697         Handles all cases correctly.
12698         Exposed iterator for state change order.
12699
12700         * gst/gstelement.h:
12701         Temp storage for state changes. Need to get rid of this soon.
12702
12703 2005-09-27  Wim Taymans  <wim@fluendo.com>
12704
12705         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12706         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12707         (link_fold_func), (gst_pad_proxy_setcaps):
12708         Leak fixes, the fold functions need to unref the passed object and
12709         _get_parent_*() returns ref to parent.
12710
12711 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * check/gst/gstbuffer.c: (test_make_writable):
12714           Plug leak in test case and fix 'make check-valgrind'
12715
12716 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12717
12718         * gst/gstbuffer.c: (gst_subbuffer_init):
12719           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12720           works correctly in all circumstances (we could have just copied
12721           the parent buffer's readonly flag, but conceptually it seems
12722           cleaner to mark all subbuffers as read-only). (based on patch
12723           by Alessandro Decina, #314710).
12724         
12725         * check/gst/gstbuffer.c: (create_read_only_buffer),
12726         (test_make_writable), (test_subbuffer_make_writable),
12727         (gst_test_suite):
12728           Add some tests for gst_buffer_make_writable().
12729
12730 2005-09-27  Wim Taymans  <wim@fluendo.com>
12731
12732         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12733         use gst_object_has_ancestor().
12734
12735         * gst/gstobject.c: (gst_object_has_ancestor):
12736         * gst/gstobject.h:
12737         gst_object_has_ancestor() copied from gstbin.c as it is a
12738         usefull function.
12739
12740         * tests/instantiate/create.c: (create_all_elements):
12741         * tests/lat.c: (handoff_src), (handoff_sink):
12742         * tests/sched/runxml.c: (main):
12743         * tests/seeking/seeking1.c: (main):
12744         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12745         (main):
12746         Fix compilation of some tests.
12747
12748 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12749
12750         * gst/gsterror.h:
12751           Remove comment. GST_TYPE_G_ERROR is here to stay,
12752           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12753           (#316961, #300610).
12754
12755 2005-09-26  Wim Taymans  <wim@fluendo.com>
12756
12757         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12758         Added check that shows error in state change order.
12759
12760 2005-09-26  Wim Taymans  <wim@fluendo.com>
12761
12762         * gst/gstbin.c: (gst_bin_change_state):
12763         Make state change function use 3 queues again, we were
12764         adding elements in the wrong order.
12765
12766         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12767         Some debug info,
12768
12769         * gst/gstpad.c: (gst_pad_dispose):
12770         Added some debug info first.
12771
12772 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12773
12774         * docs/design/draft-push-pull.txt:
12775         * docs/design/part-events.txt:
12776         * docs/design/part-overview.txt:
12777         * docs/design/part-scheduling.txt:
12778           Replace all _pull_region() with _pull_range()
12779           
12780 2005-09-26  Andy Wingo  <wingo@pobox.com>
12781
12782         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12783
12784         * check/gst-libs/controller.c: Update for controller api change.
12785
12786         * configure.ac: 
12787         * tests/Makefile.am:
12788         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12789         over by GLib bug 118439.
12790         
12791         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12792         routines to a function.
12793
12794         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12795
12796         * libs/gst/controller/gsthelper.c:
12797         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12798         (gst_object_sync_values): Renamed from sink_values. Ugh.
12799
12800         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12801
12802         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12803         Renamed from controller_key, as it is exported.
12804
12805         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12806
12807 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12808
12809         * gst/Makefile.am:
12810         * gst/gst.h:
12811         * gst/gstpad.h:
12812         * gst/gstpadtemplate.h:
12813         * gst/gstquery.c:
12814         * gst/gstquery.h:
12815         * gst/gstqueryutils.c:
12816         * gst/gstqueryutils.h:
12817           remove queryutils headers after moving the two used functions
12818           to gstquery.  also fixes build problem for gstsiddec
12819
12820 2005-09-26  Michael Smith <msmith@fluendo.com>
12821
12822         * tools/gst-launch.1.in:
12823         Correct documentation in manpage of debug syntax
12824
12825 2005-09-26  Wim Taymans  <wim@fluendo.com>
12826
12827         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12828         (gst_base_src_is_seekable), (gst_base_src_change_state):
12829         Some more debugging info.
12830
12831 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12832
12833         * docs/gst/gstreamer-sections.txt:
12834         * gst/base/gstbasetransform.h:
12835         * gst/gstindex.h:
12836           added more docs
12837
12838 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12839
12840         * docs/gst/.cvsignore:
12841         * docs/gst/tmpl/.cvsignore:
12842         * docs/gst/tmpl/gstpipeline.sgml:
12843         * docs/gst/tmpl/gstplugin.sgml:
12844         * gst/gstpipeline.c:
12845         * gst/gstplugin.c:
12846         * gst/gstplugin.h:
12847           inlined the last two docs files
12848           removed the tmpl directory from cvs (no more conflicts here!)
12849
12850 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12851
12852         * docs/gst/gstreamer-sections.txt:
12853         * docs/gst/tmpl/.cvsignore:
12854         * docs/gst/tmpl/gstpad.sgml:
12855         * docs/gst/tmpl/gstpadtemplate.sgml:
12856         * gst/Makefile.am:
12857         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12858         (gst_pad_finalize), (gst_pad_set_pad_template):
12859         * gst/gstpad.h:
12860         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12861         (gst_pad_template_class_init), (gst_pad_template_init),
12862         (gst_pad_template_dispose), (name_is_valid),
12863         (gst_static_pad_template_get), (gst_pad_template_new),
12864         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12865         (gst_pad_template_pad_created):
12866         * gst/gstpadtemplate.h:
12867           inlined two more docs
12868           factored gstpadtemplate out of gstpad
12869
12870 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12871
12872         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12873         (test_children_state_change_order_semi_sink):
12874           Fix test case: we can't rely on a fixed state change order when
12875           going from READY => PAUSED because the sink might commit its 
12876           new state first when the first buffer created by the source 
12877           reaches the sink before the source has finished its change state.
12878           (Test case still fails at times, see #316856, comment 5 onwards)
12879
12880 2005-09-24  Wim Taymans  <wim@fluendo.com>
12881
12882         * docs/design/part-events.txt:
12883         * docs/design/part-gstbus.txt:
12884         * docs/design/part-gstpipeline.txt:
12885         * docs/design/part-messages.txt:
12886         * docs/design/part-overview.txt:
12887         * docs/design/part-segments.txt:
12888         * gst/gstbin.c:
12889         * gst/gstbuffer.c:
12890         * gst/gstclock.c:
12891         * gst/gstelement.c:
12892         * gst/gstevent.c:
12893         * gst/gstfilter.c:
12894         * gst/gstiterator.c:
12895         Various documentation updates.
12896
12897 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12898
12899         * gst/gstclock.h:
12900           Well, that's embarassing.  Luckily we weren't using
12901           GST_CLOCK_DIFF anywhere.
12902
12903 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12904
12905         * common/gtk-doc.mak:
12906           don't fail on building XML, FC4 slave shows a bunch of doc
12907           missing bits that I don't get
12908         * gst/gstpad.c:
12909         * gst/gstpipeline.c:
12910         * gst/gststructure.c:
12911           some doc updates
12912
12913 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12914
12915         * docs/design/part-gstbin.txt:
12916         * docs/design/part-gstbus.txt:
12917         * gst/gstbus.c:
12918           Add blurb about how the bus goes into flushing mode and
12919           drops all messages when its bin goes from READY into NULL 
12920           state.
12921
12922 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12923
12924         * docs/gst/gstreamer-sections.txt:
12925         * gst/gststructure.c: (gst_structure_get_clock_time):
12926         * gst/gststructure.h:
12927           add a method to get a GstClockTime out of a structure
12928
12929 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12930
12931         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12932         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12933           Added test to check state change order in bins (can still be made
12934           to fail here under heavy disk load; bails out with 'Push on pad
12935           fakesink:sink0, but it was not activated in push mode').
12936
12937         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12938           Fix state change order when there is only a semi sink (#316856)
12939
12940         * gst/gstbus.c: (gst_bus_class_init):
12941           Use _class_peek_parent(), not _class_ref(); fix docs to say
12942           'default main context' instead of 'mainloop' where that is
12943           what's meant.
12944
12945         * gst/gstelement.c: (gst_element_commit_state),
12946         (gst_element_set_state):
12947           Fix typos in debug messages
12948
12949 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12950
12951         * docs/README:
12952         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12953         * gst/gstpluginfeature.c:
12954         * gst/gstutils.c:
12955           various doc updates
12956         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12957           change an assert into an error until it gets fixed properly
12958
12959 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12960
12961         * docs/gst/gstreamer-sections.txt:
12962         * docs/gst/tmpl/.cvsignore:
12963         * docs/gst/tmpl/gstelement.sgml:
12964         * docs/gst/tmpl/gstinfo.sgml:
12965         * docs/gst/tmpl/gstobject.sgml:
12966         * gst/gstelement.c:
12967         * gst/gstelement.h:
12968         * gst/gstinfo.c:
12969         * gst/gstinfo.h:
12970         * gst/gstobject.c: (gst_object_class_init):
12971         * gst/gstobject.h:
12972           inlined 3 more biiiig doc files and added some missing docs on the fly
12973
12974 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12975
12976         * check/gst/.cvsignore:
12977         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12978         * gst/gstregistryxml.c: (load_plugin),
12979         (gst_registry_xml_save_plugin):
12980           put back source in registry.  add checks for find_plugin.
12981         * testsuite/states/bin.c: (assert_state), (empty_bin),
12982         (test_adding_one_element), (main):
12983         * testsuite/states/locked.c: (main):
12984           some compile/run fixes
12985
12986 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12987
12988         * check/gst/gstvalue.c: (GST_START_TEST):
12989           fix leaks in the test itself
12990
12991 2005-09-22  Wim Taymans  <wim@fluendo.com>
12992
12993         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12994         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12995         (gst_base_sink_query):
12996         Prepare for more accurate position reporting and query
12997         handling.
12998
12999         * gst/gstelement.c: (gst_element_send_event),
13000         (gst_element_set_state):
13001         Add some comment.
13002
13003 2005-09-22  Wim Taymans  <wim@fluendo.com>
13004
13005         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13006         (gst_query_parse_segment):
13007         * gst/gstquery.h:
13008         More documentation.
13009         Add segment query for future use.
13010
13011 2005-09-22  Wim Taymans  <wim@fluendo.com>
13012
13013         * gst/gstbin.c: (gst_bin_add_func):
13014         Some more debug info.
13015
13016         * gst/gstelement.c: (gst_element_send_event):
13017         Simplify send_event
13018
13019         * gst/gstelement.h:
13020         Don't know how flags got broken.
13021
13022         * gst/gstquery.h:
13023         Added new query.
13024
13025 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13026
13027         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13028           Add simplistic test suite for GST_TYPE_DATE serialisation and
13029           deserialisation.
13030
13031 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
13032
13033         * docs/gst/gstreamer-sections.txt:
13034         * gst/gststructure.c: (gst_structure_set_valist),
13035         (gst_structure_get_date):
13036         * gst/gststructure.h:
13037         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13038         (gst_date_copy), (gst_value_compare_date),
13039         (gst_value_serialize_date), (gst_value_deserialize_date),
13040         (gst_value_transform_date_string),
13041         (gst_value_transform_string_date), (_gst_value_initialize):
13042         * gst/gstvalue.h:
13043           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13044           bunch of utility functions along with a hack that checks that
13045           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13046           is required. Part of the grand scheme in #170777.
13047
13048 2005-09-22  Andy Wingo  <wingo@pobox.com>
13049
13050         * gst/gstconfig.h.in: Psych out gtk-doc.
13051
13052         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13053
13054         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13055
13056         * tools/gst-inspect.c (print_element_list): Plug some
13057         inconsequential leaks.
13058
13059         * gst/gstregistry.c (gst_registry_get_default): Doc.
13060
13061         * check/gst/gstplugin.c: 
13062         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13063         * gst/gstelementfactory.c (gst_element_factory_create): 
13064         * gst/gstindexfactory.c (gst_index_factory_create): Update for
13065         refcount changes.
13066
13067         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13068         (gst_plugin_feature_load): Doc, don't eat refs.
13069
13070         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13071         (gst_plugin_list_free): Doc.
13072         (gst_plugin_load_file): Doc updates.
13073
13074         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13075         accessors returning refcounted objects, return a ref.
13076
13077         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13078         accessor for caps. IDEMPOTENCE. Oh yes.
13079
13080 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
13081
13082         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13083
13084         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13085         (_gst_debug_register_funcptr):
13086           Add mutex to serialise access to the hash table with
13087           the function pointer => function name string mapping;
13088           make that hash table static scope (#316809).
13089
13090         * gst/registries/.cvsignore:
13091           Remove left-over file.
13092
13093 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13094
13095         * docs/pwg/appendix-porting.xml:
13096           And something about newsegment events and caps-on-buffers to
13097           the porting guide (feel free to improve).
13098
13099 2005-09-21  Andy Wingo  <wingo@pobox.com>
13100
13101         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13102         data and event probes on the same pad.
13103         (test_buffer_probe_once): Test that removing probes from within
13104         the probe functions works.
13105
13106 2005-09-21  Andy Wingo  <wingo@pobox.com>
13107
13108         * check/gst/gstutils.c: New file.
13109         (test_buffer_probe_n_times): A simple buffer probe test. More to
13110         come, foolios.
13111
13112         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13113         have-data::buffer, not have-data.
13114         (gst_pad_add_event_probe): Likewise for have-data::event.
13115         (gst_pad_add_data_probe): More docs. The part about 'resolving the
13116         peer' isn't quite right yet though.
13117         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
13118         (gst_pad_remove_data_probe): Change to take the guint handler_id
13119         as their arg, not the function+data, which is more glib-like.
13120
13121         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13122         the signal emission to indicate if the data is a buffer or an
13123         event.
13124         (gst_pad_get_type): Initialize buffer and event quarks.
13125         (gst_pad_class_init): have-data is now a detailed signal, yes it
13126         is.
13127
13128 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13129
13130         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13131         * gst/gstutils.c: (gst_util_set_value_from_string),
13132         (gst_util_set_object_arg):
13133           Don't put functional code in g_return_if_fail() or
13134           g_return_val_if_fail() statements, otherwise things will 
13135           break when G_DISABLE_CHECKS is defined during compilation.
13136
13137 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * docs/gst/tmpl/.cvsignore:
13140         * docs/gst/tmpl/gstvalue.sgml:
13141         * gst/gstvalue.c:
13142         * gst/gstvalue.h:
13143           inlied another one and added  some obvious docs
13144
13145 2005-09-21  Wim Taymans  <wim@fluendo.com>
13146
13147         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13148         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13149         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13150         (gst_fdsrc_get_property), (gst_fdsrc_create):
13151         * gst/elements/gstfdsrc.h:
13152         Properly implement fdsrc. Removed signal and timeout,
13153         better implemented somewhere else.
13154
13155 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13156
13157         * docs/gst/tmpl/.cvsignore:
13158         * docs/gst/tmpl/gstimplementsinterface.sgml:
13159         * gst/gstinterface.c:
13160           inlined more docs
13161
13162 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13163
13164         * docs/gst/gstreamer-sections.txt:
13165         * docs/gst/tmpl/.cvsignore:
13166         * docs/gst/tmpl/gstenumtypes.sgml:
13167           remove obsolete doc file
13168
13169 2005-09-21  David Schleef  <ds@schleef.org>
13170
13171         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13172         little beer, fix a little leak.
13173
13174 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13175
13176         * docs/gst/gstreamer-docs.sgml:
13177         * docs/gst/gstreamer-sections.txt:
13178         * docs/gst/tmpl/.cvsignore:
13179         * gst/Makefile.am:
13180         * gst/gst.h:
13181         * gst/gstbin.c:
13182         * gst/gstelement.h:
13183         * gst/gstindex.c: (gst_index_class_init):
13184         * gst/gstindex.h:
13185         * gst/gstindexfactory.c: (gst_index_factory_get_type),
13186         (gst_index_factory_class_init), (gst_index_factory_init),
13187         (gst_index_factory_finalize), (gst_index_factory_new),
13188         (gst_index_factory_destroy), (gst_index_factory_find),
13189         (gst_index_factory_create), (gst_index_factory_make):
13190         * gst/gstindexfactory.h:
13191         * gst/gstpluginfeature.c:
13192         * gst/gstpluginfeature.h:
13193         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13194           more docs inlined, splitted gstindex.{c,h}
13195
13196 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13197
13198         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13199           fix a leak
13200
13201 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13202
13203         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13204           Set sync to FALSE by default.
13205
13206 2005-09-20  Wim Taymans  <wim@fluendo.com>
13207
13208         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13209         (gst_base_sink_init):
13210         Make sync property settable from subclass.
13211
13212         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13213         (gst_fake_sink_change_state):
13214         Set sync to FALSE by default.
13215
13216 2005-09-20  Wim Taymans  <wim@fluendo.com>
13217
13218         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13219         * tools/gst-launch.c: (main):
13220         The timeout handler should have lower priority than the source
13221         so we don't timeout before popping a message with 0 timeout.
13222         Dump error messages after failed state change.
13223
13224 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * tools/gst-inspect.c: (print_element_properties_info):
13227           Fix two typos.
13228
13229 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13230
13231         * check/gst/gstevent.c:
13232         * gst/elements/gstfakesink.c:
13233         * gst/elements/gstfakesink.h:
13234           remove the sync property from fakesink.
13235           has the side effect of setting sync TRUE
13236           for fakesink, which is a change.  Anyone who knows how
13237           to fix this nicely in a GObject-y way, feel free.
13238
13239 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13240
13241         * docs/gst/gstreamer-docs.sgml:
13242           remove probe refsection
13243
13244 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13245
13246         * check/Makefile.am:
13247           disable valgrinding the controller test again
13248         * docs/gst/gstreamer-sections.txt:
13249           update for api-changes
13250
13251 2005-09-20  Wim Taymans  <wim@fluendo.com>
13252
13253         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13254         (gst_base_sink_set_property), (gst_base_sink_get_property),
13255         (gst_base_sink_do_sync):
13256         * gst/base/gstbasesink.h:
13257         Added sync property to basesink to disable clock sync.
13258
13259 2005-09-20  Andy Wingo  <wingo@pobox.com>
13260
13261         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13262         eating the caller's refcount.
13263
13264         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
13265         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13266         refcount.
13267
13268         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13269         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13270         of GLib 2.8 public, so we can know which refcount to check in
13271         tests.
13272
13273         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13274         (gst_object_init): Only set the gst refcount if we're going ahead
13275         with the refcount hack.
13276
13277 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13278
13279         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13280         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13281           more leaks plumbed, added more debug-logging
13282         * gst/gstmacros.h:
13283           whitespace fix
13284
13285 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13286
13287         * gst/gstmessage.c:
13288           remove include of gstmemchunk.h
13289
13290 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13291
13292         * gst/gstclock.c: (_gst_clock_id_free):
13293           Commit from the Political Party For More Atomic CVS Commits,
13294           so that people don't waste too much of their day fishing
13295           out obvious leaks out of massive commits.
13296           Oh, and fix a pretty damn obvious leak in the memchunk
13297           removal code.
13298
13299 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13300
13301         * check/Makefile.am:
13302         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13303           plug mem-leak, re-add to valgrindable tests
13304
13305 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13306
13307         * gst/gstplugin.h:
13308           unbreak the build for those who have chronic arthritis
13309           and typing "make check" is just too taxing on the hands
13310
13311 2005-09-20  Andy Wingo  <wingo@pobox.com>
13312
13313         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13314         really want it out, you should fix plugins at the same time.
13315
13316 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13317
13318         * configure.ac:
13319         * docs/gst/gstreamer-sections.txt:
13320         * gst/gstobject.c:
13321           added missing symbols to api docs
13322           disable ref-count hack if we have glib >= 2.8
13323
13324 2005-09-19  David Schleef  <ds@schleef.org>
13325
13326         * docs/gst/Makefile.am: Ignore a few more internal headers
13327         * docs/gst/gstreamer-docs.sgml: Remove old sections
13328         * docs/gst/gstreamer-sections.txt: Remove old sections
13329         * docs/gst/tmpl/gstobject.sgml: update
13330         * docs/gst/tmpl/gstplugin.sgml: update
13331         * docs/gst/tmpl/gstpluginfeature.sgml: update
13332         * docs/random/ds/0.9-suggested-changes: update.
13333         * gst/Makefile.am: remove memchunk and trashstack, since they're
13334           not used.
13335         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13336         * gst/gst.h: don't include some headers
13337         * gst/gstchildproxy.c: add gstmarshal.h
13338         * gst/gstclock.c: Don't use memchunks
13339         * gst/gstminiobject.c: Add some docs
13340         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13341         * gst/gstobject.h: same
13342         * gst/gstplugin.c: include gstmacros.h
13343         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13344         * gst/gstquery.c: don't use memchunks
13345         * gst/gstregistry.c: rename gst_registry_deinit()
13346         * gst/gstregistry.h: same
13347
13348 2005-09-19  David Schleef  <ds@schleef.org>
13349
13350         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13351         * docs/libs/gstreamer-libs-sections.txt:
13352         * docs/libs/tmpl/gstgetbits.sgml:
13353         * docs/libs/tmpl/gstputbits.sgml:
13354
13355 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13356
13357         * win32/gstenumtypes.c:
13358         * win32/gstenumtypes.h:
13359           Update.
13360
13361 2005-09-19  Wim Taymans  <wim@fluendo.com>
13362
13363         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13364         Automatically PAUSE and RESUME a pipeline when a flushing seek
13365         is performed.
13366
13367 2005-09-19  Andy Wingo  <wingo@pobox.com>
13368
13369         * gst/gstregistry.h: Spacing fixen.
13370
13371 2005-09-19  Wim Taymans  <wim@fluendo.com>
13372
13373         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13374         Handle state change failure more correctly.
13375
13376 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13377
13378         * check/Makefile.am:
13379         * check/pipelines/cleanup.c: (run_pipeline):
13380         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13381         (GST_START_TEST):
13382           enable cleanup again after fixing the leak
13383         * docs/README:
13384           some more info on docs
13385
13386 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13387
13388         * check/Makefile.am:
13389           re-enable tests now that leaks are plugged
13390         * check/gst/gst.c:
13391         * check/gst/gstbin.c:
13392         * check/gst/gstpipeline.c:
13393           add some more tests while fixing leaks
13394         * common/check.mak:
13395           make sure binaries are uptodate when valgrinding/gdbing
13396         * gst/gst.c:
13397         * gst/gstelementfactory.c:
13398           remove a ref too many, and add a FIXME for when we get
13399           round to disposing of classes
13400         * gst/gstplugin.c:
13401           fix the refcounting when loading a plugin from a file and
13402           the code pretends that the pointer is the same even though
13403           of course it can change
13404         * gst/gstpluginfeature.c:
13405           unref plugins marked cached (a bit confusing as a name)
13406           as the docs state should be done
13407           various doc additions to explain refcounting
13408         * gst/gstregistry.c:
13409         * gst/gstregistryxml.c:
13410           debugging
13411
13412 2005-09-19  Wim Taymans  <wim@fluendo.com>
13413
13414         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13415         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13416         (send_messages), (GST_START_TEST), (gstbus_suite):
13417         * check/gst/gstpipeline.c: (GST_START_TEST):
13418         * check/pipelines/cleanup.c: (run_pipeline):
13419         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13420         (GST_START_TEST):
13421         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13422         (gst_bus_source_check), (gst_bus_source_dispatch),
13423         (gst_bus_create_watch), (gst_bus_add_watch_full),
13424         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13425         * gst/gstbus.h:
13426         * tools/gst-launch.c: (event_loop):
13427         * tools/gst-md5sum.c: (event_loop):
13428         GstBusHandler -> GstBusFunc, return value has the same meaning as
13429         any other GSource (FALSE == remove source).
13430         _add_watch() and _add_watch_full() now take a MessageType mask to
13431         only handle specific types of messages.
13432         _poll() returns the GstMessage instead of the message type to avoid
13433         race conditions.
13434         _have_pending() takes a MessageType mask now too.
13435         Added testsuite for multiple bus watches.
13436         Fix testsuites and applications for new bus API.
13437
13438 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13439
13440         * check/Makefile.am:
13441           mark a bunch of the tests as to fix until we fix them
13442
13443 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13444
13445         * common/check.mak:
13446           use GST_PLUGIN settings for valgrind tests as well, so we're
13447           valgrinding the correct thing
13448         * gst/gst.c: (init_post):
13449           plug another leak
13450
13451 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13452
13453         * gst/gst.c: (init_post), (gst_deinit):
13454         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13455         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13456         * gst/gstindex.c: (gst_index_factory_class_init),
13457         (gst_index_factory_finalize):
13458         * gst/gstobject.c: (gst_object_dispose):
13459         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13460         (gst_plugin_load_file), (gst_plugin_desc_free):
13461         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13462         (gst_plugin_feature_finalize):
13463         * gst/gstregistry.c: (gst_registry_class_init),
13464         (gst_registry_init), (gst_registry_finalize),
13465         (gst_registry_get_default), (gst_registry_deinit):
13466         * gst/gstregistry.h:
13467         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13468           various cleanups and memleak plugging.  make valgrind is happy now.
13469
13470 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13471
13472         * common/check.mak:
13473           add a check-valgrind target
13474
13475 2005-09-18  David Schleef  <ds@schleef.org>
13476
13477         * tools/gst-inspect.c: Revert the GOption code.
13478
13479 2005-09-17  David Schleef  <ds@schleef.org>
13480
13481         * check/Makefile.am: Fix environment variables.
13482         * check/gst/gstplugin.c: Fix for API changes.
13483         * tools/gst-inspect.c: Fix for API changes.
13484         * tools/gst-xmlinspect.c: Fix for API changes.
13485         * gst/gstelementfactory.c:
13486         * gst/gstplugin.c:
13487         * gst/gstplugin.h:
13488         * gst/gstpluginfeature.c:
13489         * gst/gstpluginfeature.h:
13490         * gst/gstregistry.c:
13491         * gst/gstregistry.h:
13492         * gst/gstregistryxml.c:
13493         * gst/gsttypefind.c:
13494         * gst/gsttypefindfactory.c:
13495         * gst/indexers/gstfileindex.c:
13496         * gst/indexers/gstmemindex.c:
13497         * gst/schedulers/Makefile.am:
13498           Change registry to keep track of both plugins and features,
13499           removing the feature tracking from plugins themselves.
13500
13501 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13502
13503         * check/Makefile.am:
13504         * tools/gst-register.1.in:
13505           remove gst-register
13506
13507 2005-09-15  David Schleef  <ds@schleef.org>
13508
13509         * check/gst/gstplugin.c:
13510         * gst/gstelementfactory.c:
13511         * gst/gstplugin.c:
13512         * gst/gstpluginfeature.c:
13513         * gst/gstregistry.c:
13514           Getting tired of debugging.  Disabled all the unreffing of
13515           plugins and features, which fixes the segfaults, but of
13516           course leaks like crazy.  At least playbin works.
13517
13518 2005-09-15  David Schleef  <ds@schleef.org>
13519
13520         * check/gst/gstplugin.c: (register_check_elements),
13521         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13522         More testing
13523         * gst/elements/gsttypefindelement.c: Fix refcounting.
13524         * gst/gsttypefind.c:
13525         * gst/gsttypefindfactory.c:
13526         * gst/gsttypefindfactory.h:
13527
13528 2005-09-15  David Schleef  <ds@schleef.org>
13529
13530         * gst/gstindex.c: get refcounting correct.
13531         * gst/gstregistry.c: Handle the case where a feature/plugin is
13532           not found.
13533
13534 2005-09-15  David Schleef  <ds@schleef.org>
13535
13536         * check/Makefile.am:
13537         * check/gst/gstplugin.c: Add test
13538         * gst/gstplugin.c: Fix problems noticed by testsuite
13539         * gst/gstplugin.h:
13540         * gst/gstregistry.c: 
13541         * gst/gstregistry.h:
13542
13543 2005-09-15  David Schleef  <ds@schleef.org>
13544
13545         * gst/gstplugin.c: Implement semi-decent recounting and locking
13546           in plugins and plugin features.
13547         * gst/gstplugin.h:
13548         * gst/gstpluginfeature.c:
13549         * gst/gstpluginfeature.h:
13550         * gst/gstregistry.c:
13551
13552 2005-09-15  Michael Smith <msmith@fluendo.com>
13553
13554         * gst/gstregistry.c: (gst_registry_get_feature_list):
13555           Implement this. Makes oggdemux work; decodebin still broken.
13556
13557 2005-09-14  David Schleef  <ds@schleef.org>
13558
13559         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13560           #316076)
13561         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13562         * gst/check/Makefile.am:
13563         * libs/gst/controller/Makefile.am:
13564         * libs/gst/dataprotocol/Makefile.am:
13565
13566 2005-09-14  David Schleef  <ds@schleef.org>
13567
13568         * configure.ac: Remove getbits library.  Nothing uses it, and
13569           it should be in something like liboil if someone did want
13570           to use it.
13571         * libs/gst/Makefile.am:
13572         * libs/gst/getbits/Makefile.am:
13573         * libs/gst/getbits/gbtest.c:
13574         * libs/gst/getbits/getbits.c:
13575         * libs/gst/getbits/getbits.h:
13576         * libs/gst/getbits/gstgetbits_generic.c:
13577         * libs/gst/getbits/gstgetbits_i386.s:
13578         * libs/gst/getbits/gstgetbits_inl.h:
13579
13580 2005-09-14  David Schleef  <ds@schleef.org>
13581
13582         * gst/Makefile.am: Dist glib-compat.h
13583
13584 2005-09-14  David Schleef  <ds@schleef.org>
13585
13586         * configure.ac: Remove gst/registries, since it's no longer used.
13587         * gst/registries/Makefile.am:
13588         * gst/registries/gstlibxmlregistry.c:
13589         * gst/registries/gstlibxmlregistry.h:
13590         * gst/registries/gstxmlregistry.c:
13591         * gst/registries/gstxmlregistry.h:
13592         * gst/registries/registrytest.c:
13593
13594 2005-09-14  David Schleef  <ds@schleef.org>
13595
13596         * gst/glib-compat.h:
13597         * gst/gstregistryxml.c:
13598           Convergence is near.  Seriously.
13599
13600 2005-09-14  David Schleef  <ds@schleef.org>
13601
13602         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13603         * gst/glib-compat.h:
13604           Attempt #4 to appease the buildbots.
13605
13606 2005-09-14  David Schleef  <ds@schleef.org>
13607
13608         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13609           Attempt #3.
13610
13611 2005-09-14  David Schleef  <ds@schleef.org>
13612
13613         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13614         Attempt #2.
13615
13616 2005-09-14  David Schleef  <ds@schleef.org>
13617
13618         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13619           the new functions.
13620
13621 2005-09-14  David Schleef  <ds@schleef.org>
13622
13623         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13624         * gst/glib-compat.h: Add some functions that are in newer versions
13625           of glib than we care to require.
13626         * gst/gstregistryxml.c: Use them.
13627
13628 2005-09-14  David Schleef  <ds@schleef.org>
13629
13630         * po/POTFILES.in: remove gst-register.c
13631
13632 2005-09-14  David Schleef  <ds@schleef.org>
13633
13634         * docs/gst/gstreamer-docs.sgml:
13635         * docs/gst/gstreamer-sections.txt:
13636         * docs/gst/gstreamer.types:
13637         * docs/gst/tmpl/gstelement.sgml:
13638         * docs/gst/tmpl/gstplugin.sgml:
13639         * docs/gst/tmpl/gstpluginfeature.sgml:
13640           Documentation updates for registry changes.
13641
13642 2005-09-14  David Schleef  <ds@schleef.org>
13643
13644         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13645           because we don't require glib-2.8.
13646
13647 2005-09-14  David Schleef  <ds@schleef.org>
13648
13649         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13650           registries directory.
13651
13652 2005-09-14  David Schleef  <ds@schleef.org>
13653
13654         * check/Makefile.am:
13655         * check/generic/states.c:
13656         * gst/Makefile.am:
13657         * gst/gst.c:
13658         * gst/gst.h:
13659         * gst/gst_private.h:
13660         * gst/gstelementfactory.c:
13661         * gst/gstindex.c:
13662         * gst/gstinfo.c:
13663         * gst/gstplugin.c:
13664         * gst/gstplugin.h:
13665         * gst/gstpluginfeature.c:
13666         * gst/gstpluginfeature.h:
13667         * gst/gstregistry.c:
13668         * gst/gstregistry.h:
13669         * gst/gstregistrypool.c: remove
13670         * gst/gstregistrypool.h: remove
13671         * gst/gsttypefind.c:
13672         * gst/gsttypefindfactory.c:
13673         * gst/gsturi.c:
13674         * tools/Makefile.am:
13675         * tools/gst-compprep.c:
13676         * tools/gst-inspect.c:
13677         * tools/gst-register.c: remove
13678         * tools/gst-xmlinspect.c:
13679           Registry rewrite.  Changes registry from being a file created
13680           by a tool into a simple cache file created automatically by 
13681           libgstreamer.  Removed gst-register (because it's no longer
13682           needed).  Remove registry pools, because we only have one
13683           registry implementation (XML).  Fix up other subsystems as
13684           necessary.
13685
13686 2005-09-13  Michael Smith <msmith@fluendo.com>
13687
13688         * gst/gstconfig.h.in:
13689           Don't Use windows linking attributes for MinGW. Fixes #316157
13690
13691 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13692
13693         * gst/gstutils.c: (set_state_async_thread_func),
13694         (gst_element_set_state_async):
13695           Apparently people think it's better if this function doesn't
13696           try to set the state to whatever state was asked for on the first
13697           call to this function for any object.  Seriously.
13698
13699 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13700
13701         * check/gst/gstpipeline.c: (GST_START_TEST):
13702         * docs/gst/gstreamer-sections.txt:
13703         * gst/gstutils.c: (set_state_async_thread_func),
13704         (gst_element_set_state_async):
13705         * gst/gstutils.h:
13706           add a "gst_element_set_state_async" method that
13707           sets the state and starts a thread to make sure the state
13708           change completes as best as it can
13709
13710 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13711
13712         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13713           codify design+behaviour in testsuite after discussion
13714
13715 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13716
13717         * docs/gst/tmpl/gstelement.sgml:
13718         * docs/manual/appendix-quotes.xml:
13719           add a quote
13720         * gst/gstelement.c: (gst_element_set_state):
13721           add some debug
13722
13723 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13724
13725         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13726         (gst_base_transform_prepare_output_buf),
13727         (gst_base_transform_handle_buffer):
13728         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13729         (gst_capsfilter_prepare_buf):
13730           Remove the requirement for sub-classes to call the parent
13731           implementation of prepare_output_buffer with a wrapper function.
13732           
13733         * gst/gsttaglist.h:
13734         * gst/gsttagsetter.h:
13735           Fix #define wrapper
13736
13737 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13738
13739         * docs/gst/gstreamer-sections.txt:
13740           more doc cleanups
13741
13742 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13743
13744         * docs/gst/gstreamer-sections.txt:
13745         * docs/gst/tmpl/gstelement.sgml:
13746         * docs/gst/tmpl/gstplugin.sgml:
13747         * gst/gstminiobject.c:
13748         * gst/gstvalue.h:
13749           docs now stop throwing warnings
13750
13751 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13752
13753         * docs/gst/gstreamer-sections.txt:
13754         * docs/gst/gstreamer.types:
13755         * docs/gst/tmpl/gstpad.sgml:
13756         * docs/gst/tmpl/gsttypes.sgml:
13757         * gst/base/gstadapter.h:
13758         * gst/base/gstbasesink.h:
13759         * gst/base/gstbasesrc.h:
13760         * gst/gstbin.h:
13761         * gst/gstbuffer.h:
13762         * gst/gstbus.h:
13763         * gst/gstcaps.h:
13764         * gst/gstclock.h:
13765         * gst/gstelement.h:
13766         * gst/gstevent.h:
13767         * gst/gstmessage.h:
13768         * gst/gstpad.h:
13769         * gst/gststructure.c:
13770         * gst/registries/gstlibxmlregistry.h:
13771           various documentation fixes
13772
13773 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13774
13775         * docs/gst/gstreamer-sections.txt:
13776         * docs/gst/tmpl/gstvalue.sgml:
13777           rearrange gstvalue section
13778         * gst/gstutils.c: (gst_element_state_get_name):
13779           NONE -> VOID
13780         * gst/gstvalue.c: (_gst_value_initialize):
13781         * gst/gstvalue.h:
13782           doc updates
13783
13784 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13785
13786         * check/gst-libs/controller.c:
13787           Header include fix.
13788         * gst/base/gstbasetransform.c:
13789         (gst_base_transform_default_prepare_buf),
13790         (gst_base_transform_handle_buffer):
13791         * gst/base/gstbasetransform.h:
13792           Some more basetransform changes and fixes to enable sub-classes
13793           that modify buffer metadata only.
13794         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13795         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13796         (gst_capsfilter_prepare_buf):
13797           If the output pad has fixed allowed caps and input buffers 
13798           don't have any, set the fixed caps on outgoing buffers.
13799
13800 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13801         * check/elements/identity.c: (GST_START_TEST):
13802           Make the error a little clearer when the test fails because
13803           identity made a copy of the buffer.
13804         * docs/gst/gstreamer-sections.txt:
13805           New symbols in gstbasetransform.h
13806         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13807         (gst_base_transform_init), (gst_base_transform_transform_size),
13808         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13809         (gst_base_transform_default_prepare_buf),
13810         (gst_base_transform_get_unit_size),
13811         (gst_base_transform_buffer_alloc),
13812         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13813         (gst_base_transform_change_state),
13814         (gst_base_transform_set_passthrough),
13815         (gst_base_transform_set_in_place),
13816         (gst_base_transform_is_in_place):
13817         * gst/base/gstbasetransform.h:
13818           Change BaseTransform to separate in_place operate from same_caps
13819           output. in_place implies that the element can perform the transform
13820           on incoming buffers in-place, even if the caps on the output are
13821           different.
13822           Sub-class elements can now implement special buffer allocation
13823           methods for outgoing buffers if they wish to.
13824           Big documentation addition.
13825         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13826         * gst/elements/gstelements.c:
13827           Changes for basetransform modifications.
13828         * gst/elements/Makefile.am:
13829         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13830           Compile fix. Extra debug output.
13831
13832 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13833
13834         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13835         (gst_pad_suite):
13836           add tests for valid pad naming
13837         * gst/check/gstcheck.c: (gst_check_log_message_func),
13838         (gst_check_log_critical_func):
13839           add ASSERT_WARNING
13840           remove printing of code, it is fragile when the code contains
13841           % and the line number is enough info
13842         * gst/check/gstcheck.h:
13843         * gst/gstpad.c: (gst_pad_template_new):
13844           fix memleaks
13845
13846 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13847
13848         * configure.ac:
13849           say what CHECK flags we use
13850         * docs/libs/gstreamer-libs.types:
13851         * libs/gst/controller/Makefile.am:
13852         * libs/gst/controller/gst-controller.c:
13853         * libs/gst/controller/gst-controller.h:
13854         * libs/gst/controller/gst-helper.c:
13855         * libs/gst/controller/gst-interpolation.c:
13856         * libs/gst/controller/gstcontroller.c:
13857         * libs/gst/controller/gsthelper.c:
13858         * libs/gst/controller/gstinterpolation.c:
13859         * tools/gst-inspect.c: (print_plugin_info):
13860           we don't use dashes in header names
13861
13862 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13863
13864         * check/Makefile.am:
13865         * check/gst/.cvsignore:
13866         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13867         (gst_pipeline_suite), (main):
13868           adding a test for pipelines and state changes
13869         * gst/gstutils.c: (get_state_func):
13870           add some debugging
13871         * gstreamer.spec.in:
13872           fix up spec file
13873
13874 2005-09-08  Michael Smith <msmith@fluendo.com>
13875
13876         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13877         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13878         (gst_file_src_is_seekable), (gst_file_src_get_size),
13879         (gst_file_src_start):
13880         * gst/elements/gstfilesrc.h:
13881           Various fixes for unseekable, unmmapable, and non-normal files, so
13882           that fallback to read() rather than mmap() works.
13883         * gst/gstevent.c: (gst_event_new_newsegment):
13884           Allow newsegment events with segment_start == segment_end, as will
13885           correctly happen if you use filesrc on a zero-size file, for
13886           example.
13887
13888 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13889
13890         * gst/gstplugin.c: (gst_plugin_load_file):
13891           Call g_module_close when we don't load the module
13892
13893         * gst/registries/gstlibxmlregistry.c:
13894         (gst_xml_registry_get_property):
13895           Port leak fix from 0.8
13896
13897 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13898
13899         * docs/gst/gstreamer-docs.sgml:
13900         * docs/gst/tmpl/.cvsignore:
13901         * docs/gst/tmpl/gsttrace.sgml:
13902         * docs/gst/tmpl/gsttrashstack.sgml:
13903         * gst/Makefile.am:
13904         * gst/gst.h:
13905         * gst/gstelement.h:
13906         * gst/gstevent.h:
13907         * gst/gstmessage.c:
13908         * gst/gstmessage.h:
13909         * gst/gsttag.c:
13910         * gst/gsttag.h:
13911         * gst/gsttaginterface.c:
13912         * gst/gsttaginterface.h:
13913         * gst/gsttaglist.c:
13914         * gst/gsttaglist.h:
13915         * gst/gsttagsetter.c:
13916         * gst/gsttagsetter.h:
13917         * gst/gsttrace.c:
13918         * gst/gsttrace.h:
13919         * gst/gsttrashstack.c:
13920           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13921           inlined docs for gsttrace, gsttrashstack
13922
13923 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13924
13925         * gst/Makefile.am:
13926         * gst/elements/gstbufferstore.h:
13927         * gst/elements/gsttypefindelement.c:
13928         * gst/elements/gsttypefindelement.h:
13929         * gst/gst.h:
13930         * gst/gsttypefind.c:
13931         * gst/gsttypefind.h:
13932         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13933         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13934         (gst_type_find_factory_dispose),
13935         (gst_type_find_factory_unload_thyself),
13936         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13937         (gst_type_find_factory_get_caps),
13938         (gst_type_find_factory_get_extensions),
13939         (gst_type_find_factory_call_function):
13940         * gst/gsttypefindfactory.h:
13941         * gst/registries/gstlibxmlregistry.c:
13942         * gst/registries/gstxmlregistry.c:
13943           splitted gsttypefind into gsttypefind, gsttypefindfactory
13944
13945 2005-09-07  Andy Wingo  <wingo@pobox.com>
13946
13947         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13948         condition whereby the pad's task function is entered before the
13949         pad_mode variable was set.
13950
13951 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13952
13953         * gst/gstpad.c: (gst_pad_alloc_buffer):
13954           Catch misbehaving pad_alloc functions that don't
13955           set up caps and do it for them.
13956
13957 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13958
13959         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13960           test for pipe!=NULL
13961         * docs/gst/tmpl/.cvsignore:
13962         * docs/gst/tmpl/gstmemchunk.sgml:
13963         * docs/gst/tmpl/gstparse.sgml:
13964         * docs/gst/tmpl/gsttaglist.sgml:
13965         * docs/gst/tmpl/gsttagsetter.sgml:
13966         * docs/gst/tmpl/gsttypefind.sgml:
13967         * docs/gst/tmpl/gsttypefindfactory.sgml:
13968         * gst/gstmemchunk.c:
13969         * gst/gstparse.c:
13970         * gst/gsttag.c:
13971         * gst/gsttaginterface.c:
13972         * gst/gsttypefind.c:
13973         * gst/gsttypefind.h:
13974           inlined more docs
13975
13976 === release 0.9.2 ===
13977
13978 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13979
13980         * NEWS:
13981         * RELEASE:
13982         * configure.ac:
13983           releasing 0.9.2, "South"
13984
13985 2005-09-05  Andy Wingo  <wingo@pobox.com>
13986
13987         * gst/registries/gstxmlregistry.h:
13988         * gst/registries/gstxmlregistry.c: Um... resurrect...
13989         
13990         * gst/registries/gstxmlregistry.h:
13991         * gst/registries/gstxmlregistry.c: and update to newer API.
13992         Incidentally they should be a bit faster now that they don't have
13993         to parse the caps.
13994         
13995 2005-09-05  Andy Wingo  <wingo@pobox.com>
13996
13997         * gst/registries/gstxmlregistry.h:
13998         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13999         replaced by the libxml registry a while back
14000
14001 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14002
14003         * docs/gst/tmpl/gstplugin.sgml:
14004         * gst/elements/gstelements.c:
14005         * gst/gst.c:
14006         * gst/gstplugin.c: (gst_plugin_register_func),
14007         (gst_plugin_desc_copy), (gst_plugin_desc_free),
14008         (gst_plugin_get_source):
14009         * gst/gstplugin.h:
14010         * gst/registries/gstlibxmlregistry.c: (load_plugin),
14011         (gst_xml_registry_save_plugin):
14012         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14013         (gst_xml_registry_save_plugin):
14014         * tools/gst-inspect.c: (print_plugin_info):
14015           add a "source" plugin description field, to represent the source
14016           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
14017           will set it to PACKAGE, which is automake's idea of the name of
14018           the source project.
14019
14020 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
14021
14022         * Makefile.am:
14023         * autogen.sh:
14024         * configure.ac:
14025         * docs/Makefile.am:
14026         * docs/faq/Makefile.am:
14027         * docs/gst/tmpl/gstelement.sgml:
14028         * docs/gst/tmpl/gsttypes.sgml:
14029         * docs/htmlinstall.mak:
14030         * docs/manual/Makefile.am:
14031         * docs/pwg/Makefile.am:
14032           reorganize doc build a little
14033           split out docbook and gtk-doc stuff
14034           have two separate --enable's and enable them through autogen
14035           but disable by default in configure (to be similar to other
14036           projects)
14037         * gstreamer.spec.in:
14038           clean up docs install
14039         * po/af.po:
14040         * po/az.po:
14041         * po/ca.po:
14042         * po/cs.po:
14043         * po/de.po:
14044         * po/en_GB.po:
14045         * po/fr.po:
14046         * po/it.po:
14047         * po/nb.po:
14048         * po/nl.po:
14049         * po/ru.po:
14050         * po/sq.po:
14051         * po/sr.po:
14052         * po/sv.po:
14053         * po/tr.po:
14054         * po/uk.po:
14055         * po/vi.po:
14056           translation updates
14057
14058 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
14059
14060         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14061           Add comment.
14062           
14063         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14064         (gst_fake_sink_change_state):
14065           Make state change function thread-safe.
14066           
14067         * gst/gstpad.c: (gst_pad_alloc_buffer):
14068           Set offset on generic buffer allocated by fallback.
14069
14070 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
14071
14072         * docs/gst/gstreamer-sections.txt:
14073         * docs/gst/tmpl/gstelement.sgml:
14074         * gst/gstpad.c:
14075         * libs/gst/controller/gst-controller.c:
14076         (gst_controlled_property_set_interpolation_mode),
14077         (gst_controlled_property_new),
14078         (gst_controller_find_controlled_property):
14079          run the wingo-magic script against the docs
14080
14081 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14082
14083         * docs/gst/gstreamer-docs.sgml:
14084         * docs/gst/gstreamer-sections.txt:
14085         * docs/gst/tmpl/.cvsignore:
14086         * docs/gst/tmpl/gstelementdetails.sgml:
14087         * docs/gst/tmpl/gstelementfactory.sgml:
14088         * gst/gst.c:
14089         * gst/gstbus.c:
14090         * gst/gstelementfactory.c:
14091         * gst/gstelementfactory.h:
14092           merged elementdetails docs into elementfactory docs
14093           inlined both
14094
14095 2005-09-02  Andy Wingo  <wingo@pobox.com>
14096
14097         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14098         consider this enum an enum and not a flags.
14099
14100 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14101
14102         * docs/gst/gstreamer-docs.sgml:
14103         * docs/gst/tmpl/.cvsignore:
14104         * docs/gst/tmpl/gstghostpad.sgml:
14105         * docs/gst/tmpl/gstiterator.sgml:
14106         * docs/gst/tmpl/gstmacros.sgml:
14107         * docs/gst/tmpl/gstrealpad.sgml:
14108         * docs/gst/tmpl/gstregistry.sgml:
14109         * docs/gst/tmpl/gstregistrypool.sgml:
14110         * docs/gst/tmpl/gststructure.sgml:
14111         * docs/gst/tmpl/gstsystemclock.sgml:
14112         * docs/gst/tmpl/gsttrace.sgml:
14113         * gst/gstghostpad.c:
14114         * gst/gstmacros.h:
14115         * gst/gstmemchunk.c:
14116         * gst/gstmemchunk.h:
14117         * gst/gstqueue.c:
14118         * gst/gstregistry.c:
14119         * gst/gstregistrypool.c:
14120         * gst/gststructure.c:
14121         * gst/gstsystemclock.c:
14122           more docs inlined
14123
14124 2005-09-02  Andy Wingo  <wingo@pobox.com>
14125
14126         * gst/gstelement.h (GstState): Renamed from GstElementState,
14127         changed to be a normal enum instead of flags.
14128         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14129         munged to be GST_STATE_CHANGE_*.
14130         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14131         work with the new state representation.
14132         (GstStateChange): New enumeration of possible state transitions.
14133         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14134         (GstElementClass::change_state): Pass the GstStateChange along as
14135         an argument. Helps language bindings, so they don't have to use
14136         tricky lock-needing macros like GST_STATE_CHANGE ().
14137
14138         * scripts/update-states (file): New script. Run it on a file to
14139         update it for state naming and API changes. Updates files in
14140         place.
14141
14142         * All files updated for the new API.
14143
14144 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14145
14146         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14147         * gst/gstutils.c: (gst_util_set_value_from_string),
14148         (gst_util_set_object_arg):
14149           fix a bunch of unchecked return values
14150         * tools/gst-complete.c: (main):
14151         * gstreamer.spec.in:
14152           clean up a little
14153
14154 2005-09-01  Wim Taymans  <wim@fluendo.com>
14155
14156         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14157         (gst_base_sink_event), (gst_base_sink_do_sync),
14158         (gst_base_sink_handle_event):
14159         * gst/base/gstbasesink.h:
14160         Handle newsegments more correctly.
14161
14162         * gst/gstbus.c:
14163         Fix docs.
14164
14165         * gst/gstevent.c: (gst_event_new_newsegment):
14166         A newsegment cannot have a start_time of -1
14167
14168 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
14169
14170         * win32/gstenumtypes.c:
14171         * win32/gstenumtypes.h:
14172           Update
14173
14174 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14175
14176         * libs/gst/controller/gst-controller.c:
14177         (gst_controlled_property_set_interpolation_mode),
14178         (gst_controlled_property_new):
14179          fixed boolean again
14180
14181 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14182
14183         * docs/faq/gst-uninstalled:
14184           add -good
14185         * gst/gstevent.c:
14186         * gst/gstevent.h:
14187           remove wrong docs
14188         * gst/gstutils.c: (gst_element_link_filtered):
14189         * gst/gstutils.h:
14190           add gst_element_link_filtered
14191
14192 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14193
14194         * docs/gst/gstreamer-docs.sgml:
14195         * docs/gst/gstreamer-sections.txt:
14196         * docs/gst/tmpl/.cvsignore:
14197         * docs/gst/tmpl/gsterror.sgml:
14198         * docs/gst/tmpl/gstfilter.sgml:
14199         * docs/gst/tmpl/gsturihandler.sgml:
14200         * docs/gst/tmpl/gsturitype.sgml:
14201         * docs/gst/tmpl/gstutils.sgml:
14202         * docs/gst/tmpl/gstxml.sgml:
14203         * gst/gsterror.c:
14204         * gst/gsterror.h:
14205         * gst/gstfilter.c:
14206         * gst/gsturi.c:
14207         * gst/gsturitype.c:
14208         * gst/gstutils.c:
14209         * gst/gstxml.c:
14210           inlined more docs, fixed double id-ref
14211
14212 2005-08-31  Wim Taymans  <wim@fluendo.com>
14213
14214         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14215         (gst_base_transform_handle_buffer):
14216         Passthrough elements don't need the caps as they don't care.
14217
14218 2005-08-31  Wim Taymans  <wim@fluendo.com>
14219
14220         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14221         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14222         Don't leak refcounts on buffers.
14223
14224 2005-08-31  Wim Taymans  <wim@fluendo.com>
14225
14226         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14227         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14228         (gst_base_transform_chain), (gst_base_transform_change_state):
14229         * gst/base/gstbasetransform.h:
14230         Handle the case where we are not negotiated more gracefully.
14231
14232 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
14233
14234         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14235         (gst_file_src_map_region):
14236           Set READONLY flag on mmap'ed buffers, otherwise
14237           gst_buffer_make_writable() won't work properly (#314708).
14238
14239 2005-08-31  Wim Taymans  <wim@fluendo.com>
14240
14241         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14242         passthrough elements can even do inplace on non writable
14243         buffers (as they don't touch them).
14244
14245 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14246
14247         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14248         (gst_test_mono_source_set_property),
14249         (gst_test_mono_source_class_init), (GST_START_TEST),
14250         (gst_controller_suite):
14251           more tests (hehe I have the most)
14252         * gst/gstbus.c:
14253           describe popping messages whenusing mulltiple sources
14254         * libs/gst/controller/gst-controller.c:
14255         (gst_controlled_property_set_interpolation_mode),
14256         (gst_controlled_property_new):
14257         * libs/gst/controller/gst-controller.h:
14258         * libs/gst/controller/gst-interpolation.c:
14259           implement boolean properties
14260
14261 2005-08-31  Wim Taymans  <wim@fluendo.com>
14262
14263         * gst/gstminiobject.c: (gst_mini_object_ref):
14264         Cannot assert that the refcount has to be positive
14265         since a disposed object can be resurrected.
14266
14267 2005-08-31  Wim Taymans  <wim@fluendo.com>
14268
14269         * gst/gstpad.c: (gst_pad_init):
14270         Revert change, need to first fix badly behaving 
14271         apps.
14272
14273 2005-08-30  Wim Taymans  <wim@fluendo.com>
14274
14275         * check/elements/fakesrc.c: (setup_fakesrc):
14276         * check/elements/identity.c: (setup_identity):
14277         Activate pads before using them.
14278
14279 2005-08-30  Wim Taymans  <wim@fluendo.com>
14280
14281         * gst/base/gstadapter.c: (gst_adapter_flush):
14282         Flushing out 0 bytes is ok for this function.
14283
14284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14285         no newsegment gives a warning and sets the start/stop to 
14286         invalid.
14287
14288         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14289         (gst_base_transform_set_passthrough):
14290         Some debug info.
14291
14292         * gst/gstminiobject.c: (gst_mini_object_ref):
14293         Check refcount here too.
14294
14295         * gst/gstpad.c: (gst_pad_init):
14296         Pads are initially flushing and refusing data.
14297
14298         * gst/gstutils.c: (gst_element_link_pads_filtered):
14299         When adding a capsfilter element make sure it has the
14300         same state as the parent bin.
14301
14302 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14303
14304         * docs/gst/tmpl/.cvsignore:
14305         * docs/gst/tmpl/gstformat.sgml:
14306         * docs/gst/tmpl/gstversion.sgml:
14307         * gst/gstbus.h:
14308         * gst/gstformat.c:
14309         * gst/gstformat.h:
14310         * gst/gstversion.h.in:
14311           more docs and two more inlined
14312
14313 2005-08-30  Wim Taymans  <wim@fluendo.com>
14314
14315         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14316         Don't sync to clock.
14317
14318 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14319
14320         * docs/gst/gstreamer-sections.txt:
14321           ultral33t func10ns deserve to appear in the docs actually
14322         * docs/gst/tmpl/.cvsignore:
14323         * docs/gst/tmpl/gstcompat.sgml:
14324         * docs/gst/tmpl/gstconfig.sgml:
14325         * gst/check/gstcheck.c:
14326         * gst/gstcompat.h:
14327         * gst/gstconfig.h.in:
14328           inlined more docs
14329
14330 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14331
14332         * docs/gst/tmpl/.cvsignore:
14333         * docs/gst/tmpl/gstquery.sgml:
14334         * docs/gst/tmpl/gstutils.sgml:
14335         * gst/gstquery.c:
14336         * gst/gstquery.h:
14337           inlined and extended docs
14338
14339 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14340
14341         * check/gst-libs/controller.c: (GST_START_TEST),
14342         (gst_controller_suite):
14343           more tests
14344         * docs/gst/tmpl/gstutils.sgml:
14345         * docs/libs/gstreamer-libs-sections.txt:
14346         * docs/libs/tmpl/gstdataprotocol.sgml:
14347           include path fixes
14348         * examples/controller/audio-example.c: (main):
14349           controller example works now
14350         * gst/gstclock.h:
14351           doc fixes
14352         * tools/gst-inspect.c: (print_element_properties_info):
14353           show param spec flags
14354
14355 2005-08-29  Andy Wingo  <wingo@pobox.com>
14356
14357         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14358
14359 2005-08-28  Andy Wingo  <wingo@pobox.com>
14360
14361         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14362         as having two arguments instead of just one. Allows superclasses
14363         to access information on subclasses -- see the terrible for() loop
14364         in gtype.c:g_type_create_instance for the reason why. All callers
14365         changed.
14366
14367 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14368
14369         * docs/design/part-messages.txt:
14370           update info
14371         * docs/gst/tmpl/.cvsignore:
14372         * docs/gst/tmpl/gstcaps.sgml:
14373         * docs/gst/tmpl/gstclock.sgml:
14374         * gst/gstbus.c:
14375         * gst/gstcaps.c:
14376         * gst/gstcaps.h:
14377         * gst/gstclock.c:
14378         * gst/gstclock.h:
14379         * gst/gstmessage.c:
14380           added descriptions for bus and message
14381           inline caps and clock docs
14382
14383 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14384
14385         * gst/gstmessage.c:
14386         * gst/gstmessage.h:
14387           doc fixes
14388
14389 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14390
14391         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14392           fix div-by-zero
14393
14394 2005-08-26  Andy Wingo  <wingo@pobox.com>
14395
14396         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14397         element_set_state's return val.
14398         (test_2_elements): Add test that's been disabled for months.
14399
14400         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14401         can-activate-pull properties.
14402
14403         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14404         can-activate-pull properties. Implement is_seekable so fakesrc can
14405         operate in pull mode.
14406
14407         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14408         properties.
14409         (gst_base_sink_activate, gst_base_sink_activate_pull)
14410         (gst_base_sink_activate_push): Make activation mode choosing work.
14411         Cleanups.
14412         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14413         is right. Make pull mode work. Post an eos before pausing in pull
14414         mode.
14415         (gst_base_sink_change_state): Pay attention to the core's
14416         change_state() return val.
14417         
14418         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14419         has-getrange properties. Cleanups.
14420         
14421         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14422         has_getrange and replace with can_activate_pull and
14423         can_activate_push.
14424
14425         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14426         locking comments. Remove has_loop, has_chain and replace with
14427         can_activate_pull and can_activate_push.
14428
14429 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14430
14431         * configure.ac:
14432         * examples/Makefile.am:
14433         * examples/metadata/Makefile.am:
14434         * examples/metadata/read-metadata.c: (message_loop),
14435         (have_pad_handler), (make_pipeline), (print_tag), (main):
14436           Add metadata reading example that loops over a list of filenames,
14437           dumping any tags found.
14438
14439         * gst/gstbus.c: (gst_bus_dispose):
14440         * gst/gstelement.c: (gst_element_dispose):
14441           Release a few potentially-held references in dispose.
14442
14443 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14444
14445         * docs/gst/tmpl/gstminiobject.sgml:
14446           do *not* add tmpl/*.sgml files to CVS!
14447
14448 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14449
14450         * libs/gst/bytestream/.cvsignore:
14451         * libs/gst/bytestream/Makefile.am:
14452         * libs/gst/bytestream/adapter.c:
14453         * libs/gst/bytestream/adapter.h:
14454         * libs/gst/bytestream/bytestream.c:
14455         * libs/gst/bytestream/bytestream.h:
14456         * libs/gst/bytestream/filepad.c:
14457         * libs/gst/bytestream/filepad.h:
14458           removing obsolete files
14459
14460 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14461
14462         * docs/gst/gstreamer-docs.sgml:
14463         * docs/libs/gstreamer-libs-docs.sgml:
14464           disabed additional index entries again, as this makes docs-gen just
14465           slow and they aren't useful yet
14466         * docs/libs/gstreamer-libs-sections.txt:
14467           little -section.txt cleanup for libs
14468
14469 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14470
14471         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14472         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14473           fix up some debugging
14474         (gst_base_transform_get_unit_size),
14475         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14476         (gst_base_transform_handle_buffer):
14477         * gst/base/gstbasetransform.h:
14478           handle and store timed NEWSEGMENT events so that subclasses that
14479           calculate time by counting samples have a segment_start time they
14480           need to add to their timestamps - see audioresample
14481
14482 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14483
14484         * gst/gstbin.h:
14485           removed ';' from the end of macro defs
14486         * docs/gst/gstreamer-docs.sgml:
14487         * docs/gst/gstreamer-sections.txt:
14488         * docs/gst/tmpl/.cvsignore:
14489         * gst/gstbus.h:
14490         * gst/gstelement.c: (gst_element_class_init),
14491         (gst_element_set_state), (activate_pads),
14492         (gst_element_save_thyself):
14493         * gst/gstevent.c: (gst_event_new_newsegment):
14494         * gst/gstevent.h:
14495         * gst/gstiterator.c:
14496         * gst/gstiterator.h:
14497         * gst/gstpad.c:
14498         * gst/gstprobe.h:
14499         * gst/gstutils.c: (gst_pad_query_convert):
14500         * gst/gstutils.h:
14501           fixed parameter name mismatches between source, header and docs
14502           added some more docs, resolved the last batch of unused elements in
14503           docs (now someone needs to doc them)
14504
14505 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14506
14507         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14508         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14509           don't walk through the plugins backwards.  Where is all this
14510           reversed logic coming from ?
14511
14512 2005-08-25  Wim Taymans  <wim@fluendo.com>
14513
14514         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14515         (gst_base_transform_transform_size),
14516         (gst_base_transform_configure_caps),
14517         (gst_base_transform_get_unit_size),
14518         (gst_base_transform_buffer_alloc),
14519         (gst_base_transform_change_state):
14520         * gst/base/gstbasetransform.h:
14521         Cache caps unit_size.
14522         Make sure we cannot negotiate up and downstream at the
14523         same time.
14524
14525 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14526
14527         * gst/gst.c: (init_pre), (init_post):
14528           register the installed plugin path after the env var
14529         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14530         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14531           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14532           directories, so the tests can prefer uninstalled over installed
14533
14534 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14535
14536         * gst/base/gstbasetransform.h:
14537           comment
14538         * gst/gstpad.c:
14539           add to docs
14540
14541 2005-08-25  Wim Taymans  <wim@fluendo.com>
14542
14543         * gst/gstbin.c: (bin_bus_handler):
14544         Be a bit more conservative about the posted message.
14545         
14546         * gst/gstbus.c: (gst_bus_post):
14547         Some cleanups, warn wrong return values.
14548
14549 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14550
14551         * check/gst/gstbin.c: (GST_START_TEST):
14552         * gst/gstbin.c: (bin_bus_handler):
14553         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14554         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14555         (gst_message_new_warning), (gst_message_new_tag),
14556         (gst_message_new_state_changed), (gst_message_new_segment_start),
14557         (gst_message_new_segment_done), (gst_message_new_custom):
14558         * gst/gstmessage.h:
14559         * tools/gst-launch.c: (event_loop):
14560         * tools/gst-md5sum.c: (event_loop):
14561           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14562
14563 2005-08-25  Wim Taymans  <wim@fluendo.com>
14564
14565         * check/generic/states.c: (GST_START_TEST):
14566         Cleanup can be done at the end.
14567
14568         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14569         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14570         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14571         Oh boy.. Thanks for finding this, Thomas. 
14572
14573 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14574
14575         * docs/gst/gstreamer.types:
14576           added missing types
14577
14578 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14579
14580         * docs/gst/gstreamer-docs.sgml:
14581         * docs/gst/gstreamer-sections.txt:
14582         * docs/gst/tmpl/.cvsignore:
14583         * gst/gstbin.c:
14584         * gst/gstiterator.c:
14585         * gst/gstutils.c:
14586         * gst/registries/gstxmlregistry.h:
14587           added missing classes and symbols (123 more to go)
14588           removed removed symbols from section file
14589           fixed many doc-comments
14590
14591 2005-08-24  Wim Taymans  <wim@fluendo.com>
14592
14593         * check/generic/states.c: (GST_START_TEST):
14594         Make sure all tasks are stopped.
14595
14596         * check/gst/gstbin.c: (GST_START_TEST):
14597         Unref after usage for proper valgrinding.
14598
14599         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14600         Really wait for the task to stop before destroying the
14601         mutex.
14602
14603         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14604         (gst_queue_src_activate_push):
14605         Small cleanups. Don't stop the task when we did not start
14606         it.
14607
14608         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14609         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14610         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14611         (gst_task_join):
14612         * gst/gsttask.h:
14613         Protect the stream lock with the object lock.
14614         Disallow setting the stream lock when running.
14615         Add cleanup_all to wait for the threadpool to finish.
14616         Remove code to autoallocate a mutex if none was provided.
14617         Add _join() to wait for a task to stop.
14618         Protect the thread pool with a global lock.
14619
14620 2005-08-24  Wim Taymans  <wim@fluendo.com>
14621
14622         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14623         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14624         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14625         * gst/base/gstbasesink.h:
14626         Handle newsegment events correctly.
14627         Drop buffers out of the segment range.
14628
14629 2005-08-22  Andy Wingo  <wingo@pobox.com>
14630
14631         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14632         macro, implements an interface and gstimplementsinterface for a
14633         new type.
14634
14635 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14636
14637         * check/Makefile.am:
14638         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14639           add a test that does a bunch of state changes on elements
14640           needs some fixing for valgrind
14641         * check/states/sinks.c: (gst_object_suite):
14642           whitespace
14643         * gst/gstcaps.h:
14644           add prototype for gst_caps_is_equal_fixed
14645         * gst/gstplugin.c:
14646         * gst/gstregistrypool.c:
14647           doc fixes
14648
14649 2005-08-24  Andy Wingo  <wingo@pobox.com>
14650
14651         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14652         convert a negative value. Doesn't make much sense. Mostly this is
14653         here to force callers to ensure -1 maps to -1.
14654
14655 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14656
14657         * docs/pwg/advanced-types.xml:
14658           Well done to Michael for catching my deliberate introduction
14659           of this spelling mistake. 
14660         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14661         * gst/gstelement.h:
14662           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14663           unlink pads before removing the element from the bin.
14664
14665 2005-08-24  Andy Wingo  <wingo@pobox.com>
14666
14667         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14668         the same thing as GST_DEBUG=*:4.
14669         (parse_debug_level, parse_debug_category): New helper parsers.
14670
14671 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14672
14673         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14674         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14675         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14676         (gst_base_transform_buffer_alloc),
14677         (gst_base_transform_handle_buffer):
14678           use gboolean return values and pointers to size so we can use the
14679           full GST_BUFFER_SIZE range (guint) for buffer sizes
14680           use GstPadDirection for transform_caps
14681         * gst/base/gstbasetransform.h:
14682           rename get_size to get_unit_size since that's what it is
14683         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14684           use GstPadDirection for transform_caps
14685         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14686         * gst/gstutils.h:
14687           cleanup and debugging
14688
14689 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14690
14691         * gst/gstelement.c: (gst_element_class_init),
14692         (gst_element_set_state), (activate_pads),
14693         (gst_element_save_thyself):
14694         * tools/gst-compprep.c: (main):
14695         * tools/gst-inspect.c: (print_element_properties_info):
14696         * tools/gst-xmlinspect.c: (print_element_properties):
14697           Fixed long standing mem-leak
14698
14699 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14700
14701         * check/gst/gstbin.c: (GST_START_TEST):
14702         * gst/gstbin.c: (bin_bus_handler):
14703         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14704         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14705         (gst_message_new_warning), (gst_message_new_tag),
14706         (gst_message_new_state_changed), (gst_message_new_segment_start),
14707         (gst_message_new_segment_done), (gst_message_new_custom):
14708         * gst/gstmessage.h:
14709         * tools/gst-launch.c: (event_loop):
14710         * tools/gst-md5sum.c: (event_loop):
14711           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14712           that applications can sensibly post custom messages with references
14713           to their own objects.
14714
14715 2005-08-24  Andy Wingo  <wingo@pobox.com>
14716
14717         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14718         already.
14719
14720 2005-08-24  Wim Taymans  <wim@fluendo.com>
14721
14722         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14723         (gst_base_transform_transform_caps),
14724         (gst_base_transform_transform_size),
14725         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14726         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14727         (gst_base_transform_handle_buffer):
14728         * gst/base/gstbasetransform.h:
14729         Many fixes and new features added by Thomas. Can now also do
14730         transforms with variable sizes and a custom fixate_caps function.
14731
14732 2005-08-24  Wim Taymans  <wim@fluendo.com>
14733
14734         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14735         Some debugging.
14736
14737         * gst/gstclock.h:
14738         Cast to ClockTime before formatting to time.
14739
14740         * gst/gstutils.h:
14741         Cleanups.
14742
14743 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14744
14745         * check/gst-libs/controller.c: (GST_START_TEST),
14746         (gst_controller_suite):
14747         * docs/gst/tmpl/gstcaps.sgml:
14748         * docs/gst/tmpl/gstghostpad.sgml:
14749         * docs/gst/tmpl/gstquery.sgml:
14750         * docs/gst/tmpl/gstutils.sgml:
14751         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14752         (gst_object_sink_values), (gst_object_get_value_arrays),
14753         (gst_object_get_value_array):
14754           gracefully handle helper method calls to objects that are not beeing
14755           controlled, added test case for that          
14756
14757 2005-08-23  Wim Taymans  <wim@fluendo.com>
14758
14759         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14760         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14761         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14762         (gst_event_parse_qos), (gst_event_new_seek),
14763         (gst_event_parse_seek):
14764         * gst/gstevent.h:
14765         Some more debugging output and doc cleanups.
14766
14767         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14768         Fix possible deadlock.
14769
14770 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14771
14772         * docs/gst/gstreamer-docs.sgml:
14773         * docs/gst/gstreamer-sections.txt:
14774         * docs/gst/gstreamer.types:
14775         * docs/gst/tmpl/.cvsignore:
14776         * gst/gstbin.h:
14777         * gst/gstbus.c:
14778         * gst/gstelement.c:
14779         * gst/gstevent.h:
14780           added 100 symbols from gstreamer-unused.txt to the right sections
14781           fixed more broken comments
14782           added GstBus to docs
14783
14784 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14785
14786         * docs/gst/gstreamer-sections.txt:
14787         * docs/gst/tmpl/.cvsignore:
14788         * docs/gst/tmpl/gstbin.sgml:
14789         * docs/gst/tmpl/gstbuffer.sgml:
14790         * gst/base/gstbasesrc.c:
14791         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14792         * gst/gstbuffer.c:
14793         * gst/gstbuffer.h:
14794         * tools/gst-launch.1.in:
14795           inlined more doc comments, added missing comments and fixed comments
14796           fixed typos
14797
14798 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14799
14800         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14801           some debugging
14802         * gst/gstcaps.h:
14803           whitespace fixes
14804         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14805           more debugging
14806         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14807         * gst/gststructure.h:
14808           add a fixate function for booleans; add a FIXME that these func
14809           names should probably be gst_structure_fixate_*
14810
14811 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14812
14813         * docs/gst/gstreamer-docs.sgml:
14814         * docs/gst/gstreamer-sections.txt:
14815         * gst/Makefile.am:
14816         * gst/gstbin.c: (gst_bin_get_type),
14817         (gst_bin_child_proxy_get_child_by_index),
14818         (gst_bin_child_proxy_get_children_count),
14819         (gst_bin_child_proxy_init):
14820         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14821         (gst_child_proxy_get_child_by_index),
14822         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14823         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14824         (gst_child_proxy_get), (gst_child_proxy_set_property),
14825         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14826         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14827         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14828         * gst/gstchildproxy.h:
14829         * gst/parse/grammar.y:
14830         * tools/gst-inspect.c: (print_interfaces),
14831         (print_element_properties_info), (print_element_info):
14832           ported gstchildproxy over from 0.8
14833           ported gst-inspect fixes and enhancements over from 0.8
14834
14835 2005-08-22  Wim Taymans  <wim@fluendo.com>
14836
14837         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14838         (gst_base_transform_handle_buffer):
14839         Also call the transform function if we have ANY caps.
14840
14841         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14842         Fix debug info.
14843
14844 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14845
14846         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14847           Don't pretend to handle seek events if the source is not seekable
14848
14849 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14850
14851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14852           Remove extra parameter to debug output
14853
14854         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14855         (gst_base_src_do_seek), (gst_base_src_activate_push):
14856           Fix seek event handling.
14857
14858         * gst/gstpipeline.c: (gst_pipeline_change_state):
14859         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14860         (gst_queue_src_activate_push):
14861           Don't start the src pad task on FLUSH_STOP if the pad
14862           isn't linked.
14863           Debug changes.
14864
14865 2005-08-22  Wim Taymans  <wim@fluendo.com>
14866
14867         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14868         Added check for gst_static_caps_get() refcounting.
14869
14870 2005-08-22  Wim Taymans  <wim@fluendo.com>
14871
14872         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14873         Make _static_caps_get() refcounting sane.
14874         
14875         * gst/gstelement.c: (gst_element_set_state):
14876         Add g_return_val_if_fail() to protect against segfaults.
14877
14878 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14879
14880         * docs/gst/tmpl/gstevent.sgml:
14881         * gst/gstevent.c:
14882         * gst/gstevent.h:
14883           inlined remaining docs, added missing doc comments
14884
14885 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14886
14887         * check/gst/gstbin.c: (GST_START_TEST):
14888           since we don't know when preroll is done, use refcount range
14889           check for the sink
14890         * gst/check/gstcheck.h:
14891           add macro for checking refcount range
14892
14893 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14894
14895         * check/Makefile.am:
14896           clean up environment for when registry gets built versus
14897           when actual tests are run; valgrind seems to not report
14898           leaks if GST_PLUGIN_PATH is set to some specific values
14899         * check/gst/gstbin.c: (GST_START_TEST):
14900           add more refcounting checks; maybe this exposes a
14901           preroll lock bug ?
14902         * common/check.mak:
14903         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14904         * gst/check/gstcheck.h:
14905         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14906         (gst_bin_change_state):
14907         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14908           add/fix debugging/whitespace
14909
14910 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14911
14912         * check/gst/gstevent.c: (event_probe), (test_event),
14913         (GST_START_TEST):
14914          Er, don't call gst_bin_watch_for_state_change you idiot.
14915
14916 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14917
14918         * check/Makefile.am:
14919           Use CHECK_CFLAGS and CHECK_LIBS
14920         * check/gst/gstevent.c: (event_probe), (test_event),
14921         (GST_START_TEST):
14922           Don't leak events.
14923         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14924         (gst_base_src_start), (gst_base_src_stop),
14925         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14926         (gst_base_src_change_state):
14927           Sprinkle gst_base_src_stop liberally around error paths to fix
14928           problems reusing a source after failed state changes.
14929         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14930         (helper_find_suggest), (gst_type_find_helper):
14931           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14932         * gst/gstevent.h:
14933         * docs/gst/tmpl/gstevent.sgml:
14934           Migrate part of the docs from the SGML file. Wait for ensonic to
14935           tell me how I did it wrong ;)
14936         * tools/gst-typefind.c: (main):
14937           Extra robustness to state changes between files.
14938
14939 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14940
14941         * check/Makefile.am:
14942           don't valgrind the controller test - it's leaking - Stefan, HELP
14943         * gst/check/gstcheck.c: (gst_check_message_error),
14944         (gst_check_chain_func), (gst_check_setup_element),
14945         (gst_check_teardown_element), (gst_check_setup_src_pad),
14946         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14947         (gst_check_teardown_sink_pad):
14948         * gst/check/gstcheck.h:
14949           add a bunch of methods to set up elements, and src and sink pads
14950         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14951         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14952         (GST_START_TEST):
14953           use them
14954         * gst/gstmessage.c:
14955         * gst/gsttag.h:
14956           whitespace/doc fixes
14957
14958 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14959
14960         * gst/gstelement.h:
14961           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14962           be handled by the application and not always printed as well
14963
14964 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14965
14966         * check/Makefile.am:
14967           set GST_TOOLS_DIR
14968         * gst/check/gstcheck.c: (gst_check_message_error):
14969         * gst/check/gstcheck.h:
14970           add a fail_unless_equals_int
14971           add fail_unless for error messages
14972
14973 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14974
14975         * check/Makefile.am:
14976         * check/gst.supp:
14977         * common/Makefile.am:
14978         * common/check.mak:
14979         * common/gst.supp:
14980           factor out some of the common stuff so we can use it
14981
14982 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14983
14984         * check/Makefile.am:
14985         * check/gst/gstiterator.c: (GST_START_TEST):
14986         * check/gst/gstsystemclock.c: (GST_START_TEST),
14987         (gst_systemclock_suite):
14988         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14989         * gst/gstclock.c:
14990           valgrind more tests
14991
14992 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14993
14994         * check/elements/.cvsignore:
14995         * check/elements/gstfakesrc.c:
14996           rename to name of element
14997         * check/elements/identity.c: (chain_func), (event_func),
14998         (setup_identity), (cleanup_identity), (GST_START_TEST),
14999         (identity_suite), (main):
15000           add a test for identity
15001         * check/Makefile.am:
15002         * pkgconfig/Makefile.am:
15003         * pkgconfig/gstreamer-check.pc.in:
15004         * pkgconfig/gstreamer-check-uninstalled.pc.in:
15005         * gst/check:
15006         * gst/Makefile.am:
15007         * configure.ac:
15008           move the check stuff to a library that gets installed
15009         * check/gst-libs/controller.c: (GST_START_TEST):
15010         * check/gst-libs/gdp.c:
15011         * check/gst/gst.c: (GST_START_TEST):
15012         * check/gst/gstbin.c:
15013         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15014         * check/gst/gstbus.c:
15015         * check/gst/gstcaps.c: (GST_START_TEST):
15016         * check/gst/gstelement.c:
15017         * check/gst/gstghostpad.c:
15018         * check/gst/gstiterator.c:
15019         * check/gst/gstmessage.c:
15020         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15021         * check/gst/gstobject.c:
15022         * check/gst/gstpad.c: (GST_START_TEST):
15023         * check/gst/gststructure.c: (GST_START_TEST):
15024         * check/gst/gstsystemclock.c: (GST_START_TEST),
15025         (gst_systemclock_suite):
15026         * check/gst/gsttag.c: (gst_tag_suite):
15027         * check/gst/gstvalue.c:
15028         * check/pipelines/cleanup.c:
15029         * check/pipelines/simple_launch_lines.c:
15030         * check/states/sinks.c:
15031           change include statement
15032
15033         * docs/gst/gstreamer-sections.txt:
15034         * docs/gst/tmpl/gstpad.sgml:
15035           document more pad stuff
15036         * gst/gstminiobject.c: (gst_mini_object_ref),
15037         (gst_mini_object_unref):
15038           debug refcounting
15039
15040 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
15041
15042         * docs/gst/tmpl/gst.sgml:
15043         * gst/gst.c:
15044           eliminate another tmpl file, fix spelling in the long-description
15045
15046 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15047
15048         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15049         (test_event), (timediff), (gstevents_suite):
15050           Should fix build on 64-bit arch's
15051
15052 2005-08-18  Andy Wingo  <wingo@pobox.com>
15053
15054         Make sure that when a pipeline goes to PLAYING, that data has
15055         actually hit the sink.
15056
15057         * check/states/sinks.c (test_sink): A sink that doesn't get any
15058         data shouldn't return SUCCESS for going to either PLAYING or
15059         PAUSED. Test also the return values on the way back down.
15060
15061         * gst/gstelement.c (gst_element_set_state): When changing the
15062         state of an element currently changing state asynchronously, go to
15063         lost-state after commiting the pending state. Makes future calls
15064         to get_state continue to return ASYNC.
15065
15066         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15067         ASYNC when going to PLAYING if we still don't have preroll, as can
15068         happen with live sources.
15069
15070 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15071
15072         * docs/pwg/advanced-types.xml:
15073           Hack long paragraph into 2 chunks as a workaround for buggy
15074           jadetex version in sid and breezy that loops infinitely and
15075           eats all RAM.
15076
15077 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15078
15079         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15080         (test_event), (timediff), (gstevents_suite):
15081           Provide more error margin in clock measurements to allow for 
15082           g_get_current_time inaccuracies.
15083
15084 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15085
15086         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15087         (test_event), (timediff), (gstevents_suite):
15088            Fix error message output so I might be able to tell why the
15089            test works here but fails on the build farm.
15090
15091 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15092
15093         * check/Makefile.am:
15094         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15095         (test_event), (timediff), (gstevents_suite), (main):
15096           I wrote a test!
15097
15098         * docs/design/part-seeking.txt:
15099           Spelling correction
15100
15101         * docs/gst/tmpl/gstevent.sgml:
15102         * docs/gst/tmpl/gstfakesrc.sgml:
15103           Docs updates.
15104
15105         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15106           Treat a buffer-without-newsegment the same as a receiving 
15107           a newsegment not in time format, and disable syncing to the clock
15108           with a warning.
15109
15110         * gst/gstbus.c: (gst_bus_set_sync_handler):
15111           Assert if anyone tries to replace the existing sync_handler for bus, 
15112           as only the owner should be setting it.
15113
15114         * gst/gstevent.h:
15115           Have a fixed set of custom event enums with events identified by
15116           their structure name (as in 0.8), rather than a free-for-all
15117           allowing collisions between enum values from different plugins.
15118
15119         * gst/gstpad.c: (gst_pad_class_init):
15120           Docs change.
15121           
15122         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15123           Handle out-of-band downstream events from the sending thread.
15124
15125 2005-08-17  Andy Wingo  <wingo@pobox.com>
15126
15127         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15128         play-timeout==0 to mean no timeout at all. In that case, don't
15129         bother with a get_state or a warning, just return directly, even
15130         if it's ASYNC.
15131
15132         * gst/base/gstbasetransform.c: Debug changes.
15133
15134         * gst/gstutils.h:
15135         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15136         ensure bins post state change messages. A bit of a hack but I can't
15137         think of a way to avoid it.
15138
15139         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15140
15141 2005-08-16  Andy Wingo  <wingo@pobox.com>
15142
15143         * gst/base/gstadapter.h:
15144         * gst/base/gstadapter.c (gst_adapter_take): New function, like
15145         peek() but you own the data. Not terribly efficient atm.
15146
15147 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15148
15149         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15150         (gst_element_found_tags):
15151         * gst/gstutils.h:
15152           Add two utility functions for tag handling.
15153
15154 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15155
15156         * docs/manual/advanced-dataaccess.xml:
15157         * docs/manual/basics-helloworld.xml:
15158           Fix docs to use _bin_add() before _link(), which fixes the examples
15159           with recent core versions (reported by Madhan Raj M
15160           <raj_madan@rediffmail.com>, #313199).
15161
15162 2005-08-16  Wim Taymans  <wim@fluendo.com>
15163
15164         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15165         Added subtract checks.
15166
15167         * docs/design/part-events.txt:
15168         Some more docs about newsegment
15169
15170         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15171         Fix FIXME
15172
15173         * gst/gstcaps.c: (gst_caps_to_string):
15174         Add comments, cleanups.
15175         
15176         * gst/gstelement.c: (gst_element_save_thyself):
15177         cleanups
15178         
15179         * gst/gstvalue.c: (gst_value_collect_int_range),
15180         (gst_string_unwrap), (gst_value_union_int_int_range),
15181         (gst_value_union_int_range_int_range),
15182         (gst_value_intersect_int_int_range),
15183         (gst_value_intersect_int_range_int_range),
15184         (gst_value_intersect_double_double_range),
15185         (gst_value_intersect_double_range_double_range),
15186         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15187         (gst_value_subtract_int_range_int),
15188         (gst_value_subtract_double_range_double),
15189         (gst_value_subtract_double_range_double_range),
15190         (gst_value_subtract_from_list), (gst_value_subtract_list),
15191         (gst_value_can_compare), (gst_value_compare_fraction):
15192         Cleanups, add comments, remove unneeded asserts.
15193
15194 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15195
15196         * tools/gst-launch.c: (event_loop):
15197           don't convert NULL structures to strings
15198
15199 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
15200
15201         * docs/gst/gstreamer-sections.txt:
15202           made some defines private
15203         * docs/gst/tmpl/gstconfig.sgml:
15204         * docs/gst/tmpl/gstqueue.sgml:
15205         * docs/gst/tmpl/gsttaglist.sgml:
15206         * docs/gst/tmpl/gsttypes.sgml:
15207         * docs/gst/tmpl/gstutils.sgml:
15208         * docs/pwg/appendix-porting.xml:
15209         * gst/base/gstbasesink.h:
15210         * gst/base/gstbasesrc.c:
15211         * gst/base/gstbasesrc.h:
15212         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15213         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15214         * gst/gstelement.c: (gst_element_class_init):
15215         * gst/gstpad.c: (gst_pad_class_init):
15216         * gst/gstqueue.c: (gst_queue_class_init):
15217         * gst/gstxml.c: (gst_xml_class_init):
15218           documented all undocumented signal inline
15219         * libs/gst/controller/gst-controller.h:
15220           added padding
15221
15222 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15223
15224         * docs/pwg/appendix-porting.xml:
15225           Document _set_link_function -> _set_setcaps_function.
15226
15227 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15228
15229         * check/Makefile.am:
15230           add a .check target for running the check
15231         * check/gst-libs/controller.c: (GST_START_TEST):
15232           cosmetic fixups
15233         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15234           complete checks for gstbuffer; would be nice if I could get the
15235           gcov stuff to work so I can see if I actually completed gstbuffer.c
15236         * check/gstcheck.h:
15237           add ASSERT_BUFFER_REFCOUNT
15238
15239 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
15240
15241         * docs/gst/gstreamer-sections.txt:
15242         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15243         * gst/gsttag.h:
15244           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15245           spew out a warning if a tag that is already registered
15246           is re-registered, unless it is re-registered with a 
15247           different type (#308438).
15248
15249 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
15250
15251         * docs/pwg/appendix-porting.xml:
15252         * docs/pwg/building-state.xml:
15253           Add some paragraphs about state changes in 0.9 to the PWG
15254           and the porting guide, in particular about the new meaning
15255           of GST_STATE_PAUSED and how to write state change functions
15256           with concurrent access by multiple threads in mind.
15257
15258 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
15259
15260         * docs/gst/gstreamer-docs.sgml:
15261         * docs/libs/gstreamer-libs-docs.sgml:
15262           added deprecation and since indexes
15263         * libs/gst/controller/gst-controller.c:
15264         * libs/gst/controller/gst-helper.c:
15265           added since tags
15266
15267
15268 2005-08-11  Wim Taymans  <wim@fluendo.com>
15269
15270         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15271         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15272         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15273         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15274         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15275         (gst_ghost_pad_set_target):
15276         Actually implement (re)setting the target on a ghostpad
15277         as described in the docs.
15278
15279 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15280
15281         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15282           Check whether GST_DEBUG_NO_COLOR environment variable is
15283           set and disable coloured debug output if that is the case.
15284
15285 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15286
15287         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15288         (gst_type_find_helper):
15289           The memory returned by gst_type_find_peek() needs to
15290           stay valid until the end of a typefind function, and
15291           typefind functions may keep results from different 
15292           offsets around, so we can't just unref the buffer from
15293           the previous _peek(), but have to save all buffers 
15294           returned by _peek() until typefinding is done and only
15295           free them then.
15296
15297 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
15298
15299         * docs/gst/gstreamer-sections.txt:
15300         * gst/gstutils.h:
15301           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15302
15303 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15304
15305         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15306           Fix a pretty good memleak.
15307
15308 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15309
15310         * gst/gstiterator.h:
15311           Fix wrong include and 'make distcheck'.
15312
15313 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15314
15315         * gst/gstbin.c: (bin_bus_handler):
15316           Use gst_element_post_message() instead.
15317
15318 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15319
15320         * gst/base/gstadapter.h:
15321         * gst/base/gstbasesink.h:
15322         * gst/base/gstbasesrc.h:
15323         * gst/base/gstbasetransform.h:
15324         * gst/base/gstcollectpads.h:
15325         * gst/base/gstpushsrc.h:
15326         * gst/gstiterator.h:
15327           Add padding to our base elements' class and instance structs and
15328           to GstIterator (you will need to rebuild all plugins and apps!)
15329
15330 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15331
15332         * gst/gstbin.c: (bin_bus_handler):
15333           Make default message forwarding from child->bus to bin->bus
15334           threadsafe and make it not emit warnings if the parent has no bus.
15335
15336 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15337
15338         * gst/gstelement.c: (activate_pads):
15339           On paused->ready, set pad->caps to NULL, as is the documented
15340           behaviour in this state change. Fixes playback of series of
15341           media files when visualization is enabled in Totem.
15342
15343 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15344
15345         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15346           Allow NULL as filter-caps (which means "any").
15347
15348 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15349
15350         * docs/libs/gstreamer-libs-sections.txt:
15351         * libs/gst/controller/gst-controller.c:
15352         * libs/gst/controller/gst-controller.h:
15353         * libs/gst/controller/gst-helper.c:
15354           adding more entries to the docs and fix small doc-bugs
15355
15356 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15357
15358         * docs/gst/gstreamer-docs.sgml:
15359         * docs/gst/gstreamer-sections.txt:
15360         * docs/gst/gstreamer.types:
15361         * docs/gst/tmpl/gstbasesink.sgml:
15362         * docs/gst/tmpl/gstbasesrc.sgml:
15363         * docs/gst/tmpl/gstbasetransform.sgml:
15364         * docs/gst/tmpl/gstfakesrc.sgml:
15365         * gst/base/gstcollectpads.c:
15366         * gst/base/gstcollectpads.h:
15367         * libs/gst/controller/gst-controller.c:
15368         * libs/gst/controller/gst-controller.h:
15369         * libs/gst/controller/gst-helper.c:
15370         * libs/gst/controller/gst-interpolation.c:
15371         * libs/gst/controller/lib.c:
15372           added long/short desc for controller docs
15373           added collectpads base class docs
15374           added correct includes to base-class docs
15375
15376 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15377
15378         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15379         (gst_test_mono_source_set_property),
15380         (gst_test_mono_source_class_init), (GST_START_TEST),
15381         (gst_controller_suite):
15382         * docs/gst/gstreamer-docs.sgml:
15383         * docs/gst/gstreamer-sections.txt:
15384         * docs/gst/gstreamer.types:
15385         * docs/libs/gstreamer-libs-docs.sgml:
15386         * docs/libs/gstreamer-libs-sections.txt:
15387         * gst/base/gstadapter.c:
15388         * libs/gst/controller/gst-controller.c:
15389         (gst_controlled_property_new), (gst_controlled_property_free),
15390         (gst_controller_new_valist),
15391         (gst_controller_remove_properties_valist),
15392         (gst_controller_sink_values), (_gst_controller_finalize):
15393         * libs/gst/controller/gst-controller.h:
15394         * libs/gst/controller/gst-helper.c:
15395         (gst_object_control_properties), (gst_object_uncontrol_properties),
15396         (gst_object_get_controller), (gst_object_set_controller),
15397         (gst_object_sink_values), (gst_object_get_value_arrays),
15398         (gst_object_get_value_array):
15399           more tests (and fixes) for the controller
15400           more docs for the controller
15401           integrated companies docs for the adapter 
15402
15403 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15404
15405         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15406         (GST_START_TEST), (fakesrc_suite):
15407           add tests for sizetype
15408
15409 2005-08-04  Andy Wingo  <wingo@pobox.com>
15410
15411         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15412         fixes buffer_alloc proxying among other things.
15413
15414         * gst/base/gstbasetransform.c:
15415         * gst/base/gstbasetransform.h:
15416         Revert patch to gstbasetransform from 7-28 removing
15417         delay_configure.
15418
15419         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15420         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15421         Semantics changed, should return not the size of the output buffer
15422         but the byte size of a buffer with a given caps.
15423
15424         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15425         debug object.
15426         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15427         out) are not the pad caps until setcaps finishes.
15428         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15429         not-in-place case as well. Deal with changing from in-place to
15430         not-in-place within calling pad_alloc_buffer. Still a bit
15431         concerned about the overhead here...
15432
15433 2005-08-03  Andy Wingo  <wingo@pobox.com>
15434
15435         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15436         fixating is an error.
15437
15438 2005-08-04  Edward Hervey  <edward@fluendo.com>
15439
15440         * gst/base/gstadapter.h: 
15441         Added gst_adapter_get_type() to the header
15442
15443 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15444
15445         * check/Makefile.am:
15446         * check/gst-libs/controller.c:
15447         * libs/gst/controller/gst-controller.c:
15448         (gst_controller_new_valist):
15449           added check test suite for the controller
15450         * gst/base/gstpushsrc.c:
15451           fixed a doc typo
15452
15453 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15454
15455         * docs/gst/Makefile.am:
15456         * docs/gst/gstreamer-docs.sgml:
15457         * docs/gst/gstreamer-sections.txt:
15458         * docs/gst/gstreamer.types:
15459         * docs/gst/tmpl/gstfakesrc.sgml:
15460         * gst/base/README:
15461         * gst/base/gstbasesink.c:
15462         * gst/base/gstbasesink.h:
15463         * gst/base/gstbasesrc.c:
15464         * gst/base/gstbasesrc.h:
15465         * gst/base/gstbasetransform.c:
15466         * gst/base/gstpushsrc.c:
15467         * gst/base/gstpushsrc.h:
15468           add short/long description docs to base classes
15469           add pushsrc to the docs
15470           remove consolidated doc fragments
15471
15472 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15473
15474         * configure.ac:
15475         * docs/libs/Makefile.am:
15476         * docs/libs/gstreamer-libs-docs.sgml:
15477         * docs/libs/gstreamer-libs-sections.txt:
15478         * docs/libs/gstreamer-libs.types:
15479         * examples/Makefile.am:
15480         * examples/controller/.cvsignore:
15481         * examples/controller/Makefile.am:
15482         * examples/controller/audio-example.c: (main):
15483         * libs/gst/Makefile.am:
15484         * libs/gst/controller/.cvsignore:
15485         * libs/gst/controller/Makefile.am:
15486         * libs/gst/controller/gst-controller.c:
15487         (on_object_controlled_property_changed), (gst_timed_value_compare),
15488         (gst_timed_value_find),
15489         (gst_controlled_property_set_interpolation_mode),
15490         (gst_controlled_property_new), (gst_controlled_property_free),
15491         (gst_controller_find_controlled_property),
15492         (gst_controller_new_valist), (gst_controller_new),
15493         (gst_controller_remove_properties_valist),
15494         (gst_controller_remove_properties), (gst_controller_set),
15495         (gst_controller_set_from_list), (gst_controller_unset),
15496         (gst_controller_get), (gst_controller_get_all),
15497         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15498         (gst_controller_get_value_array),
15499         (gst_controller_set_interpolation_mode),
15500         (_gst_controller_finalize), (_gst_controller_init),
15501         (_gst_controller_class_init), (gst_controller_get_type):
15502         * libs/gst/controller/gst-controller.h:
15503         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15504         (g_object_uncontrol_properties), (g_object_get_controller),
15505         (g_object_set_controller), (g_object_sink_values),
15506         (g_object_get_value_arrays), (g_object_get_value_array):
15507         * libs/gst/controller/gst-interpolation.c:
15508         (gst_controlled_property_find_timed_value_node),
15509         (interpolate_none_get), (interpolate_trigger_get),
15510         (interpolate_trigger_get_value_array):
15511         * libs/gst/controller/lib.c: (gst_controller_init):
15512         * pkgconfig/Makefile.am:
15513         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15514         * pkgconfig/gstreamer-control.pc.in:
15515         * testsuite/Makefile.am:
15516         * testsuite/controller/.cvsignore:
15517         * testsuite/controller/Makefile.am:
15518         * testsuite/controller/interpolator.c: (main):
15519           added controller code
15520           removed dparam pc files
15521
15522 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15523         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15524         (gst_collectpads_stop):
15525           Broadcast the condition when shutting down, to make sure we wake all
15526           threads up. Shut down pads on finalize, for safety.
15527
15528 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15529         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15530         (gst_base_transform_handle_buffer),
15531         (gst_base_transform_change_state):
15532           Handle PAUSED->READY->PAUSED transition after negotiation
15533           occurred already.
15534         * gst/gstmessage.c: (gst_message_init):
15535           Extra piece of debug for new messages.
15536
15537 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15538
15539         * configure.ac:
15540         * docs/gst/tmpl/gstbasesrc.sgml:
15541         * docs/gst/tmpl/gstelement.sgml:
15542         * docs/gst/tmpl/gstevent.sgml:
15543         * docs/gst/tmpl/gstfakesrc.sgml:
15544         * docs/gst/tmpl/gstformat.sgml:
15545         * docs/gst/tmpl/gstghostpad.sgml:
15546         * docs/gst/tmpl/gstpad.sgml:
15547         * docs/gst/tmpl/gstquery.sgml:
15548         * docs/gst/tmpl/gststructure.sgml:
15549         * docs/gst/tmpl/gsttaglist.sgml:
15550         * docs/gst/tmpl/gstvalue.sgml:
15551         * docs/libs/gstreamer-libs-docs.sgml:
15552         * docs/libs/gstreamer-libs-sections.txt:
15553         * docs/libs/gstreamer-libs.types:
15554         * libs/gst/Makefile.am:
15555         * libs/gst/control/.cvsignore:
15556         * libs/gst/control/Makefile.am:
15557         * libs/gst/control/control.c:
15558         * libs/gst/control/control.h:
15559         * libs/gst/control/dparam.c:
15560         * libs/gst/control/dparam.h:
15561         * libs/gst/control/dparam_smooth.c:
15562         * libs/gst/control/dparam_smooth.h:
15563         * libs/gst/control/dparamcommon.h:
15564         * libs/gst/control/dparammanager.c:
15565         * libs/gst/control/dparammanager.h:
15566         * libs/gst/control/dplinearinterp.c:
15567         * libs/gst/control/dplinearinterp.h:
15568         * libs/gst/control/unitconvert.c:
15569         * libs/gst/control/unitconvert.h:
15570         * testsuite/Makefile.am:
15571         * testsuite/dynparams/.cvsignore:
15572         * testsuite/dynparams/Makefile.am:
15573         * testsuite/dynparams/dparamstest.c:
15574         * tools/Makefile.am:
15575         * tools/gst-inspect.c: (print_element_info), (main):
15576         * tools/gst-xmlinspect.c: (print_element_info), (main):
15577           deactivate and remove dparams (libgstcontrol)
15578
15579 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15580
15581         * gst/elements/gsttypefindelement.c:
15582         (gst_type_find_element_have_type), (gst_type_find_element_init),
15583         (stop_typefinding), (gst_type_find_element_handle_event),
15584         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15585         * gst/elements/gsttypefindelement.h:
15586           Set caps on all outgoing buffers, not just the first one.
15587
15588 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15589
15590         * gst/elements/gsttypefindelement.c:
15591         (gst_type_find_element_have_type),
15592         (gst_type_find_element_check_set_buffer_caps),
15593         (gst_type_find_element_init), (stop_typefinding),
15594         (gst_type_find_element_handle_event),
15595         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15596         * gst/elements/gsttypefindelement.h:
15597           Set caps on first outgoing buffer when we've found the type.
15598
15599 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15600
15601         * docs/gst/gstreamer-docs.sgml:
15602         * docs/gst/gstreamer-sections.txt:
15603         * docs/gst/tmpl/gstscheduler.sgml:
15604         * docs/gst/tmpl/gstschedulerfactory.sgml:
15605           Remove some old cruft from docs.
15606
15607 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15608
15609         * gst/gstpad.h:
15610           Fix inline docs for GstPadLinkReturn.
15611           
15612         * gst/gststructure.c: (gst_structure_has_name):
15613         * gst/gststructure.h:
15614         * docs/gst/gstreamer-sections.txt:
15615           New API: gst_structure_has_name().
15616
15617 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15618
15619         * configure.ac:
15620           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15621           and _LARGEFILE_SOURCE in config.h as required. Do not 
15622           export those flags in our .pc files any longer (#142209).
15623
15624           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15625
15626         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15627         (gst_file_sink_do_seek), (gst_file_sink_event),
15628         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15629           Redo seek/tell calls with large file support in mind; add some
15630           debugging messages; add log message that tells us when large
15631           file support is unavailable or not enabled for some reason.
15632
15633         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15634           Add log message that tells us when large file support 
15635           is unavailable or not enabled for some reason.
15636
15637 2005-07-29  Wim Taymans  <wim@fluendo.com>
15638
15639         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15640         Added test for removing an element with ghostpad from a bin.
15641         Fixed test as current implementation does the right thing.
15642
15643         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15644         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15645         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15646         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15647         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15648         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15649         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15650         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15651         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15652         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15653         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15654         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15655         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15656         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15657         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15658         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15659         * gst/gstghostpad.h:
15660         Clean up ghostpads, remove properties for internal stuff.
15661         Make threadsafe.
15662         Fix refcounting.
15663         Prepare for switching targets, not all use cases work yet.
15664
15665 2005-07-29  Wim Taymans  <wim@fluendo.com>
15666
15667         * docs/design/part-gstghostpad.txt:
15668         Small update.
15669
15670         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15671         (gst_bin_remove_func):
15672         Unlinking pads while holding the bin LOCK is not a good
15673         idea.
15674
15675         * gst/gstpad.c: (gst_pad_class_init),
15676         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15677         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15678         No prob setting template after creating the pad.
15679
15680 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15681
15682         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15683         (gst_bus_peek), (gst_bus_source_dispatch),
15684         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15685         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15686           gst_bus_poll may be called from other threads. Handle
15687           this nicely by not making poll_data disappear off the
15688           stack once gst_bus_poll returns.
15689           gst_bus_peek now increments the refcount on the returned
15690           message.
15691
15692 2005-07-29  Wim Taymans  <wim@fluendo.com>
15693
15694         * docs/design/part-gstghostpad.txt:
15695         Overview of current GhostPad datastructures and use
15696         cases for changing the target.
15697
15698 2005-07-28  Wim Taymans  <wim@fluendo.com>
15699
15700         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15701         Added checks for hierarchy consistency whan adding linked
15702         elements to bins.
15703
15704         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15705         Added check to test element scheduling without bin/pipeline.
15706
15707         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15708         First add elements to bin, then link.
15709         
15710         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15711         (gst_bin_remove_func):
15712         Unlink pads from elements added/removed from bin to maintain
15713         hierarchy consistency.
15714
15715 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15716
15717         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15718         (gst_base_transform_handle_buffer):
15719         * gst/base/gstbasetransform.h:
15720           Remove broken delay_configure (fixes renegotiation of software
15721           scaling pipelines); remove some leftover printf()s.
15722
15723 2005-07-28  Wim Taymans  <wim@fluendo.com>
15724
15725         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15726         Added some more tests for wrong hierarchy
15727
15728         * docs/design/part-overview.txt:
15729         Some updates.
15730
15731         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15732         Cleanups.
15733
15734         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15735         (gst_element_dispose):
15736         Some more cleanups.
15737
15738         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15739         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15740         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15741         (gst_pad_set_caps), (gst_pad_send_event):
15742         Check for correct hierarchy when linking pads. Moving to
15743         strict requirement for ghostpads when linking elements in
15744         different bins.
15745
15746         * gst/gstpad.h:
15747         Clean ups. Added WRONG_HIERARCHY return value.
15748
15749 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15750
15751         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15752           Better debug if no transform is possible.
15753
15754 2005-07-27  Wim Taymans  <wim@fluendo.com>
15755
15756         * docs/random/wtay/network-transp:
15757         Some old doc I had.
15758
15759 2005-07-27  Wim Taymans  <wim@fluendo.com>
15760
15761         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15762         (gst_dp_event_from_packet):
15763         Fix serialization of seek events.
15764
15765 2005-07-27  Wim Taymans  <wim@fluendo.com>
15766
15767         * check/gst-libs/gdp.c: (GST_START_TEST):
15768         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15769         Fix compilation and fix event serialization.
15770
15771 2005-07-27  Wim Taymans  <wim@fluendo.com>
15772
15773         * CHANGES-0.9:
15774         * docs/design/part-TODO.txt:
15775         * docs/design/part-events.txt:
15776         Some docs updates
15777
15778         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15779         (gst_base_sink_event), (gst_base_sink_do_sync),
15780         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15781         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15782         (gst_base_src_do_seek), (gst_base_src_event_handler),
15783         (gst_base_src_loop):
15784         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15785         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15786         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15787         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15788         (gst_base_transform_set_passthrough),
15789         (gst_base_transform_is_passthrough):
15790         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15791         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15792         Event updates.
15793
15794         * gst/gstbuffer.h:
15795         Use faster casts.
15796
15797         * gst/gstelement.c: (gst_element_seek):
15798         * gst/gstelement.h:
15799         Update gst_element_seek.
15800
15801         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15802         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15803         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15804         (gst_event_new_eos), (gst_event_new_newsegment),
15805         (gst_event_parse_newsegment), (gst_event_new_tag),
15806         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15807         (gst_event_parse_qos), (gst_event_new_seek),
15808         (gst_event_parse_seek), (gst_event_new_navigation):
15809         * gst/gstevent.h:
15810         Make GstEvent use GstStructure. Add parsing code, make sure the
15811         API is sufficiently generic.
15812         Mark possible directions of events and serialization.
15813
15814         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15815         (_gst_message_copy), (gst_message_new_segment_start),
15816         (gst_message_new_segment_done), (gst_message_new_custom),
15817         (gst_message_parse_segment_start),
15818         (gst_message_parse_segment_done):
15819         Small cleanups.
15820
15821         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15822         (gst_pad_set_caps), (gst_pad_send_event):
15823         Update for new events. 
15824         Catch events sent in wrong directions.
15825
15826         * gst/gstqueue.c: (gst_queue_link_src),
15827         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15828         (gst_queue_handle_src_query):
15829         Event updates.
15830
15831         * gst/gsttag.c:
15832         * gst/gsttag.h:
15833         Remove event code from this file.
15834
15835         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15836         (gst_dp_event_from_packet):
15837         Event updates.
15838
15839 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15840
15841         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15842         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15843         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15844           Make debugging actually useful.
15845
15846 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15847
15848         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15849         (gst_pad_fixate_caps):
15850           Implement default fixation once again, so that gst_pad_fixate()
15851           actually does anything at all. This probably needs to be some
15852           sort of a last resort, and use profile-based fixation first, but
15853           since that doesn't exist yet, this is the best we have. Fixes
15854           visualization in Totem.
15855
15856 2005-07-22  Wim Taymans  <wim@fluendo.com>
15857
15858         * docs/design/part-events.txt:
15859         Small update.
15860
15861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15862         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15863         (gst_base_sink_activate_pull):
15864         Some more comments.
15865
15866         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15867         (gst_fake_src_create):
15868         Fix handoff marshall.
15869
15870         * gst/elements/gstidentity.c: (gst_identity_class_init),
15871         (gst_identity_transform_ip):
15872         We're a real inplace element.
15873
15874         * gst/gstbus.c: (gst_bus_post):
15875         Added some comments.
15876
15877         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15878         * tests/muxing/case1.c: (main):
15879         * tests/sched/dynamic-pipeline.c: (main):
15880         * tests/sched/interrupt1.c: (main):
15881         * tests/sched/interrupt2.c: (main):
15882         * tests/sched/interrupt3.c: (main):
15883         * tests/sched/runxml.c: (main):
15884         * tests/sched/sched-stress.c: (main):
15885         * tests/seeking/seeking1.c: (event_received), (main):
15886         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15887         (main):
15888         * tests/threadstate/threadstate3.c: (main):
15889         * tests/threadstate/threadstate4.c: (main):
15890         * tests/threadstate/threadstate5.c: (main):
15891         Fix the tests.
15892
15893 2005-07-21  Wim Taymans  <wim@fluendo.com>
15894
15895         * docs/design/part-seeking.txt:
15896         Some small additions.
15897
15898         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15899         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15900         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15901         * gst/base/gstbasesink.h:
15902         discont values are gint64, handle the math correctly.
15903
15904         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15905         Make the basesrc report error if the source pad is not linked.
15906
15907         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15908         (gst_queue_loop), (gst_queue_handle_src_query),
15909         (gst_queue_src_activate_push):
15910         Make queue collect data even if the srcpad is not linked.
15911         Start pushing out data as soon as it is linked.
15912
15913         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15914         * gst/gstutils.h:
15915         Added gst_flow_get_name() to ease error reporting.
15916
15917 2005-07-20  Wim Taymans  <wim@fluendo.com>
15918
15919         * gst/gstmessage.c: (gst_message_new_segment_start),
15920         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15921         (gst_message_parse_segment_done):
15922         * gst/gstmessage.h:
15923         Added a bunch of messages for advanced seeking.
15924
15925         * gst/parse/grammar.y:
15926         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15927         (gst_dpman_state_changed):
15928         Fix some new-pad -> pad-added signals
15929
15930 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15931
15932         * docs/manual/appendix-porting.xml:
15933         * docs/pwg/appendix-porting.xml:
15934           Document new-pad/state-change signal renames and the FixedList
15935           type rename.
15936
15937 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15938
15939         * docs/manual/advanced-autoplugging.xml:
15940         * docs/manual/basics-helloworld.xml:
15941         * docs/manual/basics-pads.xml:
15942         * docs/random/ds/0.9-suggested-changes:
15943         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15944         * gst/gstelement.h:
15945         * gst/gstevent.h:
15946         * gst/gstformat.h:
15947         * gst/gstquery.h:
15948         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15949         (gst_structure_parse_array), (gst_structure_parse_value):
15950         * gst/gstvalue.c: (gst_type_is_fixed),
15951         (gst_value_list_prepend_value), (gst_value_list_append_value),
15952         (gst_value_list_get_size), (gst_value_list_get_value),
15953         (gst_value_transform_array_string), (gst_value_serialize_array),
15954         (gst_value_deserialize_array), (gst_value_intersect_array),
15955         (gst_value_is_fixed), (_gst_value_initialize):
15956         * gst/gstvalue.h:
15957           GstElement::new-pad -> pad-added, GstElement::state-change ->
15958           state-changed, GstValueFixedList -> GstValueArray, add format and
15959           flags as their own arguments in gst_element_seek() (should improve
15960           "bindeability"), remove function generators since they don't work
15961           under a whole bunch of compilers (they were deprecated already
15962           anyway).
15963
15964 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15965
15966         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15967         (_gst_debug_register_funcptr):
15968         * gst/gstinfo.h:
15969           Fix illegal cast on some platforms (#309253).
15970
15971 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15972
15973         * gst/gstmessage.c: (gst_message_new_custom):
15974         * gst/gstmessage.h:
15975           Add _new_custom, make _new_application a macro to _new_custom.
15976
15977 2005-07-20  Wim Taymans  <wim@fluendo.com>
15978
15979         * gst/base/gstbasesrc.c: (gst_base_src_init),
15980         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15981         * gst/base/gstbasesrc.h:
15982         Add a gboolean to decide when to push out a discont.
15983
15984         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15985         (gst_queue_loop), (gst_queue_handle_src_query),
15986         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15987         (gst_queue_set_property), (gst_queue_get_property):
15988         Some cleanups.
15989
15990         * tests/threadstate/threadstate1.c: (main):
15991         Make a thread test compile and run... very silly..
15992
15993
15994 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15995
15996         * docs/manual/appendix-porting.xml:
15997           Mention removal of libgstgconf-0.9.la and existence of gconf
15998           elements.
15999
16000 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16001
16002         * docs/pwg/advanced-clock.xml:
16003         * docs/pwg/appendix-porting.xml:
16004         * docs/pwg/intro-preface.xml:
16005         * docs/pwg/other-base.xml:
16006         * docs/pwg/other-manager.xml:
16007         * docs/pwg/other-nton.xml:
16008         * docs/pwg/other-ntoone.xml:
16009         * docs/pwg/other-oneton.xml:
16010         * docs/pwg/pwg.xml:
16011           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16012           demuxer), remove n-to-n (was never written), fix some code examples
16013           and links and update the porting section to include all this.
16014
16015 2005-07-19  Wim Taymans  <wim@fluendo.com>
16016
16017         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16018         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16019         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16020         (gst_queue_src_activate_push), (gst_queue_change_state),
16021         (gst_queue_get_property):
16022         * gst/gstqueue.h:
16023         Propagate GstFlowReturn more intelligently upstream and output
16024         an ERROR/EOS when streaming stopped due to fatal error.
16025
16026 2005-07-19  Wim Taymans  <wim@fluendo.com>
16027
16028         * tools/gst-launch.c: (check_intr), (event_loop), (main):
16029         Don't block forever for the state change to complete, the
16030         pipeline already did with a sensible timeout.
16031
16032 2005-07-19  Wim Taymans  <wim@fluendo.com>
16033
16034         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16035         Make sure we never call the create function is we
16036         got deactivated.
16037
16038 2005-07-19  Andy Wingo  <wingo@pobox.com>
16039
16040         * gst/parse/parse.l: Attempt to solve bug #172815.
16041
16042 2005-07-19  Wim Taymans  <wim@fluendo.com>
16043
16044         * docs/design/part-clocks.txt:
16045         * docs/design/part-events.txt:
16046         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16047         Small docs updates.
16048         Only update the seeking values when we are not
16049         busy streaming.
16050
16051 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16052
16053         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16054           Oops, ignore the result of gst_pad_push_event here.
16055
16056 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16057
16058         * gst/base/gstbasesrc.c: (gst_base_src_loop),
16059         (gst_base_src_activate_push):
16060           Send discont event from the loop function, as pads
16061           aren't activated yet in the activate_push handler.
16062
16063         * gst/gstbin.c: (bin_bus_handler):
16064           Don't leak element name.
16065
16066 2005-07-18  Andy Wingo  <wingo@pobox.com>
16067
16068         * configure.ac: Use AS_LIBTOOL_TAGS.
16069
16070 2005-07-18  Wim Taymans  <wim@fluendo.com>
16071
16072         * docs/gst/gstreamer.types:
16073         Remove deleted types.
16074
16075 2005-07-18  Wim Taymans  <wim@fluendo.com>
16076
16077         * check/elements/gstfakesrc.c: (GST_START_TEST):
16078         * configure.ac:
16079         * gst/Makefile.am:
16080         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16081         (init_popt_callback):
16082         * gst/gst.h:
16083         * gst/gst_private.h:
16084         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16085         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16086         * gst/gstbin.h:
16087         * gst/gstbus.h:
16088         * gst/gstconfig.h.in:
16089         * gst/gstelement.c: (gst_element_class_init),
16090         (gst_element_set_base_time), (gst_element_get_base_time),
16091         (iterator_fold_with_resync), (gst_element_change_state),
16092         (gst_element_dispose), (gst_element_get_bus):
16093         * gst/gstelement.h:
16094         * gst/gstelementfactory.h:
16095         * gst/gsterror.c: (_gst_core_errors_init):
16096         * gst/gsterror.h:
16097         * gst/gstevent.h:
16098         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16099         * gst/gstindex.c:
16100         * gst/gstinfo.c: (_gst_debug_init):
16101         * gst/gstmessage.c: (_gst_message_copy):
16102         * gst/gstmessage.h:
16103         * gst/gstminiobject.h:
16104         * gst/gstobject.c:
16105         * gst/gstobject.h:
16106         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16107         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16108         * gst/gstpad.h:
16109         * gst/gstparse.h:
16110         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16111         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16112         (gst_pipeline_get_last_stream_time):
16113         * gst/gstpipeline.h:
16114         * gst/gstpluginfeature.h:
16115         * gst/gstquery.h:
16116         * gst/gstscheduler.c:
16117         * gst/gstscheduler.h:
16118         * gst/gststructure.h:
16119         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16120         (gst_task_finalize), (gst_task_func), (gst_task_create),
16121         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16122         (gst_task_stop), (gst_task_pause):
16123         * gst/gsttask.h:
16124         * gst/gsttypefind.h:
16125         * gst/gsttypes.h:
16126         * gst/registries/gstlibxmlregistry.c: (load_feature),
16127         (gst_xml_registry_load), (gst_xml_registry_save_feature):
16128         * gst/registries/gstxmlregistry.c:
16129         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16130         * gst/schedulers/threadscheduler.c:
16131         * libs/gst/control/dparammanager.h:
16132         * tools/gst-inspect.c: (print_element_list),
16133         (print_plugin_features), (print_element_features):
16134         * tools/gst-xmlinspect.c: (print_element_list),
16135         (print_plugin_info), (main):
16136         Removed plugable schedulers.
16137         Removed Scheduler/Manager from elements.
16138         Removed gsttypes.h, rearranged includes.
16139         Removed dependency pad<->element, element<>pipeline, and
16140         various others,  fix includes.
16141         implement gst_pad_get_parent() with gst_object_get_parent()
16142         Make GstTask sefcontained.
16143         Fix _get_state() on GstBin, it did not return ASYNC with a 0
16144         timeout.
16145         Fix endless loop in iterator_fold_with_resync.
16146
16147
16148 2005-07-18  Wim Taymans  <wim@fluendo.com>
16149
16150         * gst/Makefile.am:
16151         * gst/gstarch.h:
16152         Remove old file.
16153
16154 2005-07-18  Wim Taymans  <wim@fluendo.com>
16155
16156         * gst/Makefile.am:
16157         No more cothreads.h
16158
16159 2005-07-18  Wim Taymans  <wim@fluendo.com>
16160
16161         * gst/cothreads.c:
16162         * gst/cothreads.h:
16163         Let's remove these.
16164
16165 2005-07-18  Wim Taymans  <wim@fluendo.com>
16166
16167         * docs/design/part-dynamic.txt:
16168         * docs/design/part-events.txt:
16169         * docs/design/part-seeking.txt:
16170         Some more docs in the works.
16171
16172         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16173         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16174         (gst_base_transform_setcaps), (gst_base_transform_get_size),
16175         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16176         (gst_base_transform_handle_buffer),
16177         (gst_base_transform_sink_activate_push),
16178         (gst_base_transform_src_activate_pull),
16179         (gst_base_transform_set_passthrough),
16180         (gst_base_transform_is_passthrough):
16181         Refcounting fixes.
16182
16183         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16184         Cleanups.
16185
16186         * gst/gstevent.c: (gst_event_finalize):
16187         Set SRC to NULL.
16188
16189         * gst/gstutils.c: (gst_element_unlink),
16190         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16191         (gst_pad_proxy_setcaps):
16192         * gst/gstutils.h:
16193         Add _get_parent_element() to get a pads parent as an element.
16194
16195 2005-07-18  Wim Taymans  <wim@fluendo.com>
16196
16197         * check/gst/gstbin.c: (GST_START_TEST):
16198         Remove bogus test.
16199
16200 2005-07-18  Wim Taymans  <wim@fluendo.com>
16201
16202         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16203         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16204         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16205         (gst_base_sink_event), (gst_base_sink_do_sync),
16206         (gst_base_sink_chain), (gst_base_sink_loop),
16207         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16208         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16209         Refcounting fixes.
16210         Fix logic for returning ASYNC when not prerolled.
16211
16212 2005-07-18  Wim Taymans  <wim@fluendo.com>
16213
16214         * gst/gstqueue.c: (gst_queue_handle_sink_event):
16215         Fix nasty refcount bug.
16216
16217 2005-07-16 Philippe Khalaf <burger@speedy.org>
16218
16219         * gst/elements/gstfdsrc.c:
16220         * gst/elements/gstfdsrc.h:
16221         * gst/elements/gstelements.c:
16222         * gst/elements/Makefile.am:
16223         Ported fdsrc to 0.9.
16224
16225 2005-07-16  Wim Taymans  <wim@fluendo.com>
16226
16227         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16228         (gst_base_sink_do_sync):
16229         Fix compile error.
16230
16231 2005-07-16  Wim Taymans  <wim@fluendo.com>
16232
16233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16234         (gst_base_sink_event), (gst_base_sink_get_times),
16235         (gst_base_sink_do_sync), (gst_base_sink_change_state):
16236         * gst/base/gstbasesink.h:
16237         Store and use discont values when syncing buffers as described
16238         in design docs.
16239         
16240         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16241         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16242         (gst_base_src_activate_push):
16243         Push discont event when starting.
16244
16245         * gst/elements/gstidentity.c: (gst_identity_transform):
16246         Small cleanups.
16247
16248         * gst/gstbin.c: (gst_bin_change_state):
16249         Small cleanups in base_time  distribution.
16250
16251         * gst/gstelement.c: (gst_element_set_base_time),
16252         (gst_element_get_base_time), (gst_element_change_state):
16253         * gst/gstelement.h:
16254         Added methods for the base_time of the element.
16255         Some MT fixes.
16256
16257         * gst/gstpipeline.c: (gst_pipeline_send_event),
16258         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16259         (gst_pipeline_get_last_stream_time):
16260         * gst/gstpipeline.h:
16261         MT fixes.
16262         Handle seeking as described in design doc, remove stream_time
16263         hack.
16264         Cleanups clock and stream_time selection code. Added accessors
16265         for the stream_time.
16266         
16267
16268 2005-07-16  Andy Wingo  <wingo@pobox.com>
16269
16270         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16271         (#305291).
16272
16273 2005-07-16  Wim Taymans  <wim@fluendo.com>
16274
16275         * check/gst/gstbin.c: (GST_START_TEST):
16276         Make elements silent as the deep_notify refs the
16277         parent, which might make the test fail.
16278
16279         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16280         Don't hold the lock for too long.
16281
16282 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
16283
16284         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16285           Don't unref the caps we passed to gst_caps_make_writable() after
16286           passing them. gst_caps_make_writable() will do that for us.
16287
16288 2005-07-15  Andy Wingo  <wingo@pobox.com>
16289
16290         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16291         (#157311).
16292
16293         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16294         own marshalling function for the handoff signal. Properly type the
16295         buffer as a buffer. Fixes some warnings. Should do a more general
16296         solution.
16297         (gst_identity_class_init): Plug into the right marshaller.
16298
16299 2005-07-15  Wim Taymans  <wim@fluendo.com>
16300
16301         * docs/design/part-TODO.txt:
16302         * docs/design/part-clocks.txt:
16303         * docs/design/part-element-sink.txt:
16304         * docs/design/part-events.txt:
16305         * docs/design/part-gstpipeline.txt:
16306         Updated docs, mostly DISCONT related.
16307
16308 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16309
16310         * docs/pwg/building-pads.xml:
16311           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16312
16313 2005-07-15  Andy Wingo  <wingo@pobox.com>
16314
16315         * tools/gst-typefind.c: Update, add copyright block.
16316
16317         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16318         Normalize and truncate caps before fixation.
16319
16320         * gst/gstcaps.h:
16321         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16322         discards all but the first structure from its argument.
16323
16324 2005-07-15  Wim Taymans  <wim@fluendo.com>
16325
16326         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16327         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16328         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16329         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16330         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16331         (gst_base_transform_chain), (gst_base_transform_change_state),
16332         (gst_base_transform_set_passthrough),
16333         (gst_base_transform_is_passthrough):
16334         * gst/base/gstbasetransform.h:
16335         Make passthrough work using the bufferpools.
16336         Changed API a bit, subclasses have to write into a buffer
16337         provided by the base class.
16338         More debug info in nego functions.
16339         
16340         * gst/elements/gstidentity.c: (gst_identity_init),
16341         (gst_identity_transform):
16342         Port to new base class.
16343
16344 2005-07-15  Wim Taymans  <wim@fluendo.com>
16345
16346         * gst/gstmessage.c: (gst_message_new_state_changed):
16347         * tools/gst-launch.c: (event_loop), (main):
16348         Totally dump messages in -launch with the -m option.
16349         Fix message name for State messages,
16350
16351 2005-07-14  Wim Taymans  <wim@fluendo.com>
16352
16353         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16354         Post error messages on errors.
16355
16356 2005-07-14  Wim Taymans  <wim@fluendo.com>
16357
16358         * gst/gstcaps.c: (gst_caps_do_simplify):
16359         Remove debug info.
16360
16361         * gst/gsterror.h:
16362         Define error for stream stopped.
16363
16364         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16365         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16366         Do proper return values.
16367
16368         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16369         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16370         (gst_pad_get_range):
16371         Better return values.
16372
16373         * gst/gstpad.h:
16374         Reorganise return values, add macro to check for fatal errors.
16375
16376         * gst/gstqueue.c: (gst_queue_chain):
16377         Return proper GstFlowReturn values,
16378
16379 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16380
16381         * docs/gst/gstreamer-sections.txt:
16382         * docs/gst/gstreamer.types:
16383         * docs/gst/tmpl/gst.sgml:
16384         * docs/gst/tmpl/gstbasesink.sgml:
16385         * docs/gst/tmpl/gstbasesrc.sgml:
16386         * docs/gst/tmpl/gstbasetransform.sgml:
16387         * docs/gst/tmpl/gstbin.sgml:
16388         * docs/gst/tmpl/gstbuffer.sgml:
16389         * docs/gst/tmpl/gstcaps.sgml:
16390         * docs/gst/tmpl/gstclock.sgml:
16391         * docs/gst/tmpl/gstcompat.sgml:
16392         * docs/gst/tmpl/gstconfig.sgml:
16393         * docs/gst/tmpl/gstelement.sgml:
16394         * docs/gst/tmpl/gstelementdetails.sgml:
16395         * docs/gst/tmpl/gstelementfactory.sgml:
16396         * docs/gst/tmpl/gstenumtypes.sgml:
16397         * docs/gst/tmpl/gsterror.sgml:
16398         * docs/gst/tmpl/gstevent.sgml:
16399         * docs/gst/tmpl/gstfakesink.sgml:
16400         * docs/gst/tmpl/gstfakesrc.sgml:
16401         * docs/gst/tmpl/gstfilesink.sgml:
16402         * docs/gst/tmpl/gstfilesrc.sgml:
16403         * docs/gst/tmpl/gstfilter.sgml:
16404         * docs/gst/tmpl/gstformat.sgml:
16405         * docs/gst/tmpl/gstghostpad.sgml:
16406         * docs/gst/tmpl/gstimplementsinterface.sgml:
16407         * docs/gst/tmpl/gstindex.sgml:
16408         * docs/gst/tmpl/gstindexfactory.sgml:
16409         * docs/gst/tmpl/gstinfo.sgml:
16410         * docs/gst/tmpl/gstiterator.sgml:
16411         * docs/gst/tmpl/gstmacros.sgml:
16412         * docs/gst/tmpl/gstmemchunk.sgml:
16413         * docs/gst/tmpl/gstminiobject.sgml:
16414         * docs/gst/tmpl/gstobject.sgml:
16415         * docs/gst/tmpl/gstpad.sgml:
16416         * docs/gst/tmpl/gstpadtemplate.sgml:
16417         * docs/gst/tmpl/gstparse.sgml:
16418         * docs/gst/tmpl/gstpipeline.sgml:
16419         * docs/gst/tmpl/gstplugin.sgml:
16420         * docs/gst/tmpl/gstpluginfeature.sgml:
16421         * docs/gst/tmpl/gstquery.sgml:
16422         * docs/gst/tmpl/gstqueue.sgml:
16423         * docs/gst/tmpl/gstregistry.sgml:
16424         * docs/gst/tmpl/gstregistrypool.sgml:
16425         * docs/gst/tmpl/gstscheduler.sgml:
16426         * docs/gst/tmpl/gstschedulerfactory.sgml:
16427         * docs/gst/tmpl/gststructure.sgml:
16428         * docs/gst/tmpl/gstsystemclock.sgml:
16429         * docs/gst/tmpl/gsttaglist.sgml:
16430         * docs/gst/tmpl/gsttagsetter.sgml:
16431         * docs/gst/tmpl/gsttrace.sgml:
16432         * docs/gst/tmpl/gsttrashstack.sgml:
16433         * docs/gst/tmpl/gsttypefind.sgml:
16434         * docs/gst/tmpl/gsttypefindfactory.sgml:
16435         * docs/gst/tmpl/gsttypes.sgml:
16436         * docs/gst/tmpl/gsturihandler.sgml:
16437         * docs/gst/tmpl/gsturitype.sgml:
16438         * docs/gst/tmpl/gstutils.sgml:
16439         * docs/gst/tmpl/gstvalue.sgml:
16440         * docs/gst/tmpl/gstversion.sgml:
16441         * docs/gst/tmpl/gstxml.sgml:
16442         * docs/libs/tmpl/gstcontrol.sgml:
16443         * docs/libs/tmpl/gstdataprotocol.sgml:
16444         * docs/libs/tmpl/gstdparam.sgml:
16445         * docs/libs/tmpl/gstdplinint.sgml:
16446         * docs/libs/tmpl/gstdpman.sgml:
16447         * docs/libs/tmpl/gstdpsmooth.sgml:
16448         * docs/libs/tmpl/gstgetbits.sgml:
16449         * docs/libs/tmpl/gstunitconvert.sgml:
16450         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16451         (gst_push_src_base_init), (gst_push_src_class_init),
16452         (gst_push_src_init), (gst_push_src_create):
16453         * gst/base/gstpushsrc.h:
16454         * gst/elements/gstelements.c:
16455         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16456         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16457         (gst_fake_sink_init), (gst_fake_sink_set_property),
16458         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16459         (gst_fake_sink_event), (gst_fake_sink_preroll),
16460         (gst_fake_sink_render), (gst_fake_sink_change_state):
16461         * gst/elements/gstfakesink.h:
16462         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16463         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16464         (gst_fake_src_base_init), (gst_fake_src_class_init),
16465         (gst_fake_src_init), (gst_fake_src_event_handler),
16466         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16467         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16468         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16469         (gst_fake_src_create_buffer), (gst_fake_src_create),
16470         (gst_fake_src_start), (gst_fake_src_stop):
16471         * gst/elements/gstfakesrc.h:
16472         * gst/elements/gstfilesink.c: (_do_init),
16473         (gst_file_sink_base_init), (gst_file_sink_class_init),
16474         (gst_file_sink_init), (gst_file_sink_dispose),
16475         (gst_file_sink_set_location), (gst_file_sink_set_property),
16476         (gst_file_sink_get_property), (gst_file_sink_open_file),
16477         (gst_file_sink_close_file), (gst_file_sink_query),
16478         (gst_file_sink_event), (gst_file_sink_render),
16479         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16480         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16481         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16482         * gst/elements/gstfilesink.h:
16483         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16484         (gst_file_src_class_init), (gst_file_src_init),
16485         (gst_file_src_finalize), (gst_file_src_set_location),
16486         (gst_file_src_set_property), (gst_file_src_get_property),
16487         (gst_file_src_map_region), (gst_file_src_map_small_region),
16488         (gst_file_src_create_mmap), (gst_file_src_create_read),
16489         (gst_file_src_create), (gst_file_src_is_seekable),
16490         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16491         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16492         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16493         (gst_file_src_uri_handler_init):
16494         * gst/elements/gstfilesrc.h:
16495           more autistic cleanliness in functions/names/defines
16496
16497 2005-07-13  Andy Wingo  <wingo@pobox.com>
16498
16499         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16500         source couldn't negotiate.
16501
16502         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16503         connections again.
16504
16505         * gst/gstutils.h:
16506         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16507         function. I am channeling Hades. Put your boots on suckers!!!
16508
16509 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16510
16511         * testsuite/caps/Makefile.am:
16512         * testsuite/caps/value_compare.c:
16513         * testsuite/caps/value_intersect.c:
16514         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16515           move two testsuite apps over to the check dir
16516
16517 2005-07-12  Wim Taymans  <wim@fluendo.com>
16518
16519         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16520         Added more debug info in the negotiate process.
16521
16522         * gst/gstmessage.h:
16523         Prepare for segment playback.
16524
16525         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16526         Better debugging.
16527
16528         * gst/gstutils.c:
16529         Some more docs.
16530
16531         * tools/gst-launch.c: (main):
16532         NULL pipeline on errors.
16533
16534 2005-07-12  Andy Wingo  <wingo@pobox.com>
16535
16536         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16537         not it comes from a malloc region. Make sure our copy gets freed.
16538
16539 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16540
16541         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16542         * check/gst/gstmessage.c: (GST_START_TEST):
16543         * check/gst/gststructure.c: (GST_START_TEST),
16544         (gst_structure_suite), (main):
16545           more testing
16546         * gst/gstelement.c: (gst_element_message_full):
16547           clean up GError and debug string now that they get copied
16548         * gst/gstmessage.c: (gst_message_new_error),
16549         (gst_message_new_warning), (gst_message_parse_error),
16550         (gst_message_parse_warning):
16551           use GST_TYPE_G_ERROR for structure_new, and take copies of
16552           arguments, so that we don't mess up refcounting
16553
16554 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16555
16556         * check/Makefile.am:
16557           add per-test valgrind targets
16558         * check/gst-libs/gdp.c: (GST_START_TEST),
16559         (gst_data_protocol_suite), (main):
16560           clean up
16561
16562 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16563
16564         * check/Makefile.am:
16565           instate more valgrindable tests
16566         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16567         (GST_START_TEST), (fakesrc_suite):
16568         * check/gst/gstpad.c: (GST_START_TEST):
16569         * check/gst/gststructure.c: (GST_START_TEST):
16570           fix test leaks
16571         * docs/gst/tmpl/gstminiobject.sgml:
16572         * gst/gstpad.c: (gst_pad_finalize):
16573           fix the static mutex leak
16574
16575 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16576
16577         * check/Makefile.am:
16578           add two more tests for valgrinding
16579         * check/gst/gstvalue.c: (GST_START_TEST):
16580           test refcount of deserialized buffer, found a leak
16581         * docs/gst/gstreamer-docs.sgml:
16582         * docs/gst/gstreamer-sections.txt:
16583         * docs/gst/gstreamer.types:
16584         * docs/gst/tmpl/gstminiobject.sgml:
16585           add miniobject to docs
16586         * gst/gstminiobject.c:
16587           add some docs
16588         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16589         (gst_string_unwrap):
16590           fix a hard-to-find invalid write for one of the tests
16591           fix a leak for deserialized buffers
16592
16593 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16594
16595         * docs/pwg/advanced-events.xml:
16596         * docs/pwg/advanced-request.xml:
16597         * docs/pwg/advanced-scheduling.xml:
16598         * docs/pwg/appendix-porting.xml:
16599         * docs/pwg/building-boiler.xml:
16600         * docs/pwg/intro-preface.xml:
16601         * docs/pwg/other-ntoone.xml:
16602           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16603           of example code and explanation for pad activation, loop() and
16604           getrange() functions and a bit more. Remove old comments pointing
16605           to loop-functions.
16606         * examples/pwg/Makefile.am:
16607           Add loop/getrange examples.
16608
16609 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16610
16611         * configure.ac:
16612           check for valgrind binary + some fixes
16613         * check/gst.supp:
16614           valgrind suppressions for the tests
16615         * check/Makefile.am:
16616           add a valgrind: target that valgrinds the unit tests
16617         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16618         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16619         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16620         * check/gst/gstghostpad.c:
16621           added some cleanup
16622         * check/gst/gstdata.c:
16623           removed
16624         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16625         (thread_unref), (gst_mini_object_suite), (main):
16626           added
16627         * gst/gst.c: (gst_deinit):
16628         * gst/gst.h:
16629           add a method to clean up.
16630         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16631         (gst_system_clock_obtain):
16632           allow for disposing the system clock.
16633         * tools/gst-launch.c: (main):
16634           deinit
16635
16636 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16637
16638         * docs/gst/tmpl/gstbasesrc.sgml:
16639         * docs/gst/tmpl/gstfakesrc.sgml:
16640         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16641         (gst_base_src_init), (gst_base_src_set_property),
16642         (gst_base_src_get_property), (gst_base_src_get_range),
16643         (gst_base_src_start):
16644         * gst/base/gstbasesrc.h:
16645           add num-buffers property
16646         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16647         (gst_fakesrc_init), (gst_fakesrc_set_property),
16648         (gst_fakesrc_get_property), (gst_fakesrc_create),
16649         (gst_fakesrc_start):
16650           remove num-buffers property
16651
16652 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16653
16654         * docs/gst/gstreamer-sections.txt:
16655         * docs/gst/tmpl/gstbasesink.sgml:
16656         * docs/gst/tmpl/gstbasesrc.sgml:
16657         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16658         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16659         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16660         (gst_base_sink_set_property), (gst_base_sink_get_property),
16661         (gst_base_sink_handle_object), (gst_base_sink_event),
16662         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16663         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16664         (gst_base_sink_loop), (gst_base_sink_deactivate),
16665         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16666         (gst_base_sink_change_state):
16667         * gst/base/gstbasesink.h:
16668         * gst/base/gstbasesrc.h:
16669         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16670         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16671         (gst_filesink_init):
16672           more macro splitting
16673
16674 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16675
16676         * gst/gstelement.c: (gst_element_get_bus):
16677           add debug
16678         * tools/gst-launch.c: (check_intr), (event_loop):
16679           fix bus leaks
16680
16681 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16682
16683         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16684           fix a caps leak
16685
16686 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16687
16688         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16689         (gst_base_src_finalize):
16690           add finalize method and clean up properly
16691         * gst/gstpipeline.c: (gst_pipeline_dispose):
16692           add debug
16693
16694 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16695
16696         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16697         (gst_bin_suite):
16698           add more things to check
16699         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16700         * gst/gstelement.c:
16701           more debug
16702
16703 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16704
16705         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16706         (GST_START_TEST), (fakesrc_suite):
16707         * check/gst-libs/gdp.c: (GST_START_TEST):
16708         * check/gst/gst.c: (GST_START_TEST):
16709         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16710         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16711         * check/gst/gstbus.c: (GST_START_TEST):
16712         * check/gst/gstcaps.c: (GST_START_TEST):
16713         * check/gst/gstdata.c: (GST_START_TEST):
16714         * check/gst/gstelement.c: (GST_START_TEST):
16715         * check/gst/gstghostpad.c: (GST_START_TEST):
16716         * check/gst/gstiterator.c: (GST_START_TEST):
16717         * check/gst/gstmessage.c: (GST_START_TEST):
16718         * check/gst/gstobject.c: (GST_START_TEST):
16719         * check/gst/gstpad.c: (GST_START_TEST):
16720         * check/gst/gststructure.c: (GST_START_TEST):
16721         * check/gst/gstsystemclock.c: (GST_START_TEST),
16722         (gst_systemclock_suite):
16723         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16724         * check/gst/gstvalue.c: (GST_START_TEST):
16725         * check/pipelines/cleanup.c: (GST_START_TEST):
16726         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16727         * check/states/sinks.c: (GST_START_TEST):
16728         * check/gstcheck.c: (gst_check_init):
16729         * check/gstcheck.h:
16730           add debugging category
16731           use GST_START_TEST now, so we add a debug line
16732
16733 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16734
16735         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16736           add test for state change message on a bin
16737         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16738           add another test
16739         * gst/gstbin.c: (gst_bin_init):
16740         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16741         * gst/gstelement.c: (gst_element_post_message),
16742         (gst_element_set_state):
16743         * gst/gstelementfactory.c: (gst_element_factory_create):
16744         * gst/gstmessage.c: (gst_message_new):
16745         * gst/gstscheduler.c:
16746           various debugging additions and cleanups
16747
16748 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16749
16750         * check/Makefile.am:
16751         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16752         (main):
16753           adding tests for elements
16754         * gst/gstelement.c: (gst_element_dispose):
16755
16756 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16757
16758         * gst/registries/gstlibxmlregistry.c: (load_feature):
16759           plug more leaks.  A simple gst_init() now is leakfree, yay.
16760
16761 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16762
16763         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16764         (gst_xml_registry_load):
16765           plug another memleak
16766
16767 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16768
16769         * configure.ac:
16770           use GST_SET_ERROR_CFLAGS
16771         * docs/faq/cvs.xml:
16772           change to ERROR_CFLAGS
16773
16774 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16775
16776         * configure.ac:
16777           make GST_ERROR_CFLAGS overridable and re-enable Werror
16778         * docs/faq/cvs.xml:
16779           add a note about error CFLAGS
16780         * docs/gst/tmpl/gstfakesrc.sgml:
16781         * gst/elements/gstfakesrc.c:
16782           comment out some unused code
16783         * gst/gst.c: (split_and_iterate):
16784         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16785         (load_feature):
16786           plug some memleaks
16787
16788 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16789
16790         * common/Makefile.am:
16791         * common/gtk-doc.mak:
16792         * docs/gst/Makefile.am:
16793           factor out gtk-doc.mak
16794
16795 2005-07-07  Wim Taymans  <wim@fluendo.com>
16796
16797         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16798         (gst_thread_scheduler_dispose):
16799         Unlock the STREAM_LOCK completely.
16800
16801 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16802
16803         * check/Makefile.am:
16804         * check/elements/.cvsignore:
16805         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16806         (START_TEST), (fakesrc_suite), (main):
16807         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16808         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16809         (gst_fakesrc_create), (gst_fakesrc_start):
16810         * gst/elements/gstfakesrc.h:
16811           adding a first element test
16812
16813 2005-07-07  Andy Wingo  <wingo@pobox.com>
16814
16815         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16816         debug message.
16817
16818 2005-07-07  Wim Taymans  <wim@fluendo.com>
16819
16820         * gst/gstquery.c:
16821         * gst/gstquery.h:
16822         Remove old types
16823
16824 2005-07-07  Wim Taymans  <wim@fluendo.com>
16825
16826         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16827         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16828         Allow subclasses to implement their own negotiation.
16829
16830 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16831
16832         * docs/design/part-gstbin.txt:
16833         * docs/design/part-gstpipeline.txt:
16834           Update design notes to reflect the movement of
16835           responsibility for bus handling from GstPipeline to
16836           GstBin
16837
16838 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16839
16840         * configure.ac:
16841           Remove unnecessary queue2/3/4 examples.
16842
16843 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16844
16845         * examples/Makefile.am:
16846         * examples/helloworld/helloworld.c: (event_loop), (main):
16847         * examples/queue/queue.c: (event_loop), (main):
16848         * examples/queue2/queue2.c: (main):
16849           Update a couple of the examples to work again.
16850
16851         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16852         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16853          Spelling corrections and extra debug.
16854         
16855         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16856         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16857         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16858         * gst/gstbin.h:
16859         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16860         (gst_pipeline_change_state):
16861         * gst/gstpipeline.h:
16862           Move the bus handler for children to the GstBin, and create a
16863           separate bus for receiving messages from children to the one the
16864           bus sends 'upwards' on.
16865
16866 2005-07-06  Wim Taymans  <wim@fluendo.com>
16867
16868         * gst/base/README:
16869         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16870         (gst_base_sink_handle_object), (gst_base_sink_loop),
16871         (gst_base_sink_change_state):
16872         * gst/base/gstbasesink.h:
16873         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16874         (gst_base_src_init), (gst_base_src_setcaps),
16875         (gst_base_src_getcaps), (gst_base_src_loop),
16876         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16877         (gst_base_src_start), (gst_base_src_change_state):
16878         * gst/base/gstbasesrc.h:
16879         Make basesrc negotiate.
16880         Handle the case where preroll fails in basesink.
16881         Update README.
16882
16883 2005-07-06  Wim Taymans  <wim@fluendo.com>
16884
16885         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16886         Implement the fixate function.
16887         Clean up acceptcaps.
16888
16889 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16890
16891         * docs/pwg/building-filterfactory.xml:
16892         * docs/pwg/pwg.xml:
16893           Remove never-written filter-factory chapter; I'll add the various
16894           base classes to part 4 ("other element types") later on.
16895
16896 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16897
16898         * docs/pwg/advanced-negotiation.xml:
16899         * docs/pwg/building-boiler.xml:
16900         * docs/pwg/building-pads.xml:
16901         * docs/pwg/pwg.xml:
16902         * examples/pwg/Makefile.am:
16903           Add a chapter on caps negotiation, simplify the original code
16904           samples a bit w.r.t. caps negotiation, add link to the advanced
16905           section. Add a bunch of examples showing different use cases of
16906           different types of caps negotiation. Upstream renegotiation isn't
16907           fully documented yet since nobody knows how that works.
16908
16909 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * check/gst/gstpad.c:
16912         * check/gstcheck.c:
16913         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16914           if pad has no parent, return NULL as list of internal links
16915
16916 2005-07-05  Andy Wingo  <wingo@pobox.com>
16917
16918         * gst/elements/gstfilesrc.c:
16919         * gst/elements/gstfakesrc.c: 
16920         * gst/base/gstpushsrc.c:
16921         * gst/base/gstbasesrc.h: 
16922         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16923         
16924 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16925
16926         * Makefile.am:
16927           better report generation target (lcov needs a patch)
16928
16929 2005-07-05  Andy Wingo  <wingo@pobox.com>
16930
16931         * gst/elements, testsuite: Null if we got it...
16932
16933 2005-07-05  Wim Taymans  <wim@fluendo.com>
16934
16935         * configure.ac:
16936         * libs/gst/dataprotocol/Makefile.am:
16937         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16938         * libs/gst/dataprotocol/dataprotocol.h:
16939         * pkgconfig/Makefile.am:
16940         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16941         * pkgconfig/gstreamer-dataprotocol.pc.in:
16942         Ported dataprotol to 0.9. 
16943         Added pkgconfig files.
16944
16945 2005-07-05  Andy Wingo  <wingo@pobox.com>
16946
16947         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16948         Default to returning TRUE for the case when tranform_caps returns
16949         a fixed caps, like for identity or volume.
16950
16951         * check/gst/gstbus.c (pound_bus_with_messages): 
16952         * check/gst/gstmessage.c (START_TEST): 
16953         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16954         message API change.
16955
16956         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16957         logic weaks here: always run transform_caps, trying passthrough
16958         operation only if the original caps intersects with the transform.
16959
16960         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16961         source and sink caps.
16962
16963         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16964         Intersect the peer caps with the pad template before going into
16965         transform_caps.
16966         (gst_base_transform_transform_caps): More debugging.
16967
16968         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16969         src argument.
16970
16971 2005-07-04  Edward Hervey  <edward@fluendo.com>
16972
16973         * gst/gstutils.c:
16974         * gst/gstutils.h:
16975         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16976         in bindings.
16977
16978 2005-07-04  Andy Wingo  <wingo@pobox.com>
16979
16980         * check/gst/gstpad.c: Only set explicit caps on pads.
16981
16982 2005-07-01  Andy Wingo  <wingo@pobox.com>
16983
16984         * tests/network-clock.scm: Commentary update.
16985
16986         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16987         Didn't really make sense, not implementable with basetransform,
16988         etc.
16989         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16990         attempt at implementing the sync property, needs an unlock method.
16991
16992         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16993         New func, by default returns the same caps (the identity
16994         transformation).
16995         (gst_base_transform_getcaps): Uses transform_caps to return
16996         something sensible.
16997         (gst_base_transform_setcaps): Complicated logic to get caps on
16998         both pads, even if they are different, and to call set_caps once
16999         for every time both pads get their caps set.
17000         (gst_base_transform_handle_buffer): Give the ref to the transform
17001         function. Allows in-place modification of the buffer.
17002
17003         * gst/base/gstbasetransform.h (transform_caps): New class method.
17004         Given caps on one side, what can I do on the other.
17005         (set_caps): Take two caps, one for each side of the element.
17006
17007         * gst/gstpad.h:
17008         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17009         caps in place. This is safe because we can check the mutability of
17010         the caps, and a good idea because fixate functions are just called
17011         as a matter of last resort. (Not actually implemented.)
17012         (gst_pad_set_caps): If the caps we're setting is actually the same
17013         as the existing pad caps, just update the pointer without calling
17014         setcaps. Assert that caps is either NULL or fixed, as per the
17015         docs.
17016
17017         * gst/gstghostpad.c: Update for fixate changes.
17018
17019 2005-07-02  Andy Wingo  <wingo@pobox.com>
17020
17021         * gst/gstcaps.c:
17022         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17023         two refcounts makes it immutable, which is enough. Doc more.
17024
17025 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
17026
17027         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17028           Put the mini_object into GValue as a mini_object,
17029           not a gpointer, since that's how we declared
17030           the signal.
17031
17032 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17033
17034         * examples/pwg/Makefile.am:
17035           Fix buildbot again.
17036
17037 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17038
17039         * docs/pwg/building-testapp.xml:
17040           Add extra check.
17041         * examples/pwg/Makefile.am:
17042           Fix buildbot.
17043
17044 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17045
17046         * configure.ac:
17047         * examples/Makefile.am:
17048         * examples/pwg/Makefile.am:
17049         * examples/pwg/extract.pl:
17050           Enable building the PWG examples.
17051         * docs/pwg/advanced-interfaces.xml:
17052           Add URI interface stub.
17053         * docs/pwg/advanced-types.xml:
17054         * docs/pwg/other-autoplugger.xml:
17055         * docs/pwg/appendix-porting.xml:
17056         * docs/pwg/pwg.xml:
17057           Add porting guide (mostly stubs), remove autoplugging (see ADM).
17058         * docs/pwg/building-boiler.xml:
17059         * docs/pwg/building-chainfn.xml:
17060         * docs/pwg/building-pads.xml:
17061         * docs/pwg/building-props.xml:
17062         * docs/pwg/building-state.xml:
17063         * docs/pwg/building-testapp.xml:
17064           Update the building-*.xml parts for 0.9 changes. All examples
17065           code blocks compile in examples/pwg/*.
17066
17067 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17068
17069         * docs/manual/advanced-autoplugging.xml:
17070         * docs/manual/appendix-checklist.xml:
17071         * docs/manual/appendix-integration.xml:
17072         * docs/manual/highlevel-components.xml:
17073           Fix playbin/decodebin examples, update docs a bit, mention bus
17074           instead of signals in various places, mention kmplayer and
17075           kaffeine since they have a working GStreamer backend in the KDE
17076           section.
17077
17078 2005-06-30  Wim Taymans  <wim@fluendo.com>
17079
17080         * CHANGES-0.9:
17081         * docs/design/draft-ghostpads.txt:
17082         * docs/design/draft-push-pull.txt:
17083         * docs/design/draft-query.txt:
17084         * docs/design/part-TODO.txt:
17085         * docs/design/part-query.txt:
17086         Added CHANGES-0.9 doc, updated status of other docs.
17087         
17088         * gst/gstquery.h:
17089         Remove "hmm" macro
17090
17091 2005-06-30  Wim Taymans  <wim@fluendo.com>
17092
17093         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17094         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17095         (gst_base_sink_change_state):
17096         * gst/base/gstbasesink.h:
17097         Some tweaks, only EOS and a buffer complete a preroll.
17098
17099 2005-06-30  Andy Wingo  <wingo@pobox.com>
17100
17101         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17102         activate_push down to the internal pad as well.
17103
17104 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
17105
17106         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17107
17108         * gst/gsttaginterface.c:
17109           Some documentation fixes (#307394 and #307397).
17110
17111 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
17112
17113         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17114
17115         * gst/gstvalue.c: (gst_value_intersect_list):
17116           Fix memleak (#309125).
17117
17118 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17119
17120         * docs/manual/advanced-dataaccess.xml:
17121           Fix fakesrc example to compile; doesn't work, bug somewhere...?
17122         * docs/manual/basics-pads.xml:
17123           Add reference for filtered caps to above chapter.
17124
17125 2005-06-30  Wim Taymans  <wim@fluendo.com>
17126
17127         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17128         (gst_bin_change_state):
17129         Probes are gone.
17130         Lame attempt at making the state change function a bit
17131         more readable.
17132
17133 2005-06-30  Wim Taymans  <wim@fluendo.com>
17134
17135         * docs/design/part-clocks.txt:
17136         * docs/design/part-element-sink.txt:
17137         * docs/design/part-events.txt:
17138         * docs/design/part-preroll.txt:
17139         * docs/design/part-states.txt:
17140         Some more tweeks and additions to the docs.
17141
17142 2005-06-30  Wim Taymans  <wim@fluendo.com>
17143
17144         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17145         (default_have_data), (gst_pad_class_init), (gst_pad_init),
17146         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17147         (gst_pad_check_pull_range), (gst_pad_get_range),
17148         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17149         * gst/gstpad.h:
17150         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17151         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17152         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17153         (gst_pad_remove_buffer_probe):
17154         Removed atomic operations, use existing LOCK.
17155         Move exception handling out of main code path.
17156
17157 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17158
17159         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17160         (silly_return_true_function), (gst_pad_class_init),
17161         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17162         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17163         (gst_pad_send_event):
17164           Fix accumulator, add default value by using _emitv() instead
17165           of _emit() for signal emission.
17166
17167 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17168
17169         * docs/manual/advanced-dataaccess.xml:
17170         * examples/manual/Makefile.am:
17171           Add probe example.
17172         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17173           Make work (??).
17174
17175 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
17176
17177         * gst/elements/gstfilesink.c: (gst_filesink_render):
17178           Simplify code so that we don't have to handle short
17179           writes and return GST_FLOW_ERROR if an error occured.
17180
17181 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17182
17183         * docs/gst/gstreamer-docs.sgml:
17184           Remove probes more.
17185
17186 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17187
17188         * docs/gst/gstreamer-sections.txt:
17189         * docs/gst/tmpl/gstpad.sgml:
17190         * docs/gst/tmpl/gstprobe.sgml:
17191         * gst/Makefile.am:
17192         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17193         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17194         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17195         (gst_pad_push_event), (gst_pad_send_event):
17196         * gst/gstpad.h:
17197         * gst/gstutils.c: (gst_pad_add_data_probe),
17198         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17199         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17200         (gst_pad_remove_buffer_probe):
17201         * gst/gstutils.h:
17202           Remove old probes, add new g-signal-based probes and some utility
17203           functions.
17204
17205 2005-06-29  Edward Hervey  <edward@fluendo.com>
17206
17207         * gst/gstelementfactory.c:
17208         * gst/gstutils.h:
17209         * gst/gstutils.c:
17210         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17211         the definition to the header file.
17212
17213 2005-06-29  Andy Wingo  <wingo@pobox.com>
17214
17215         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17216         plugins from the source directory.
17217
17218 2005-06-29  Wim Taymans  <wim@fluendo.com>
17219
17220         * docs/gst/tmpl/gstbuffer.sgml:
17221         * docs/gst/tmpl/gstclock.sgml:
17222         Some fixings for blantently wrong text.
17223
17224 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17225
17226         * check/Makefile.am:
17227         * gst/gst.c: (add_path_func), (init_pre):
17228         * gst/gstregistry.c: (gst_registry_add_path):
17229           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17230           only scan the GST_PLUGIN_PATH locations, and not add
17231           system locations
17232
17233 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17234
17235         * docs/gst/gstreamer-sections.txt:
17236         * docs/gst/tmpl/gstbasesrc.sgml:
17237         * gst/gstelement.c:
17238         * gst/gstelement.h:
17239         * gst/gstevent.c:
17240         * gst/gstutils.c:
17241           doc fixes
17242
17243 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17244
17245         * docs/manual/advanced-autoplugging.xml:
17246           Fix autoplugging example.
17247
17248 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17249
17250         * docs/manual/advanced-autoplugging.xml:
17251         * docs/manual/mime-world.fig:
17252           Try to get autoplugging working, fix type detection. Fix text
17253           in hello-world image.
17254
17255 2005-06-29  Wim Taymans  <wim@fluendo.com>
17256
17257         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17258         (gst_base_sink_change_state):
17259         Small debug line.
17260
17261         * gst/gstclock.h:
17262         map SIGNAL and BROADCAST to the right function.
17263
17264         * gst/gstobject.h:
17265         Remove redundant braces.
17266
17267         * gst/gstpad.c: (gst_pad_set_caps):
17268         Don't call setcaps function when reseting caps to NULL.
17269
17270         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17271         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17272         (gst_system_clock_id_unschedule):
17273         Use BROADCAST as this is what we do.
17274
17275 2005-06-29  Wim Taymans  <wim@fluendo.com>
17276
17277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17278         We are actually prerolling before commiting the state
17279         change. 
17280
17281 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17282
17283         * docs/manual/advanced-clocks.xml:
17284         * docs/manual/advanced-interfaces.xml:
17285         * docs/manual/advanced-metadata.xml:
17286         * docs/manual/advanced-position.xml:
17287         * docs/manual/advanced-schedulers.xml:
17288         * docs/manual/advanced-threads.xml:
17289         * docs/manual/appendix-porting.xml:
17290         * docs/manual/basics-bins.xml:
17291         * docs/manual/basics-bus.xml:
17292         * docs/manual/basics-elements.xml:
17293         * docs/manual/basics-helloworld.xml:
17294         * docs/manual/basics-pads.xml:
17295         * docs/manual/highlevel-components.xml:
17296         * docs/manual/manual.xml:
17297         * docs/manual/thread.fig:
17298           Update (until threads/scheduling) Application Development Manual;
17299           remove GstThread, add GstBus, add simple porting checklist, add
17300           documentation for tag writing, clocks, make all examples until this
17301           part compile and run.
17302         * examples/manual/Makefile.am:
17303           Update from changes to Application Development Manual; add bus
17304           example, remove thread example.
17305
17306 2005-06-28  Wim Taymans  <wim@fluendo.com>
17307
17308         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17309         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17310         (gst_bus_source_dispatch):
17311         Add debugging messages.
17312         Make internal methods static.
17313         Handle the case where the bus is flushed in the handler.
17314         
17315         * gst/gstelement.c: (gst_element_get_bus):
17316         Fix refcount in _get_bus();
17317
17318         * gst/gstpipeline.c: (gst_pipeline_change_state),
17319         (gst_pipeline_get_clock_func):
17320         Clock refcounting fixes.
17321         Handle the case where preroll timed out more gracefully.
17322         
17323         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17324         Clean up the internal thread in dispose. This is needed
17325         for subclasses that actually get disposed.
17326         
17327         * gst/schedulers/threadscheduler.c:
17328         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17329         (gst_thread_scheduler_dispose):
17330         Free thread pool in dispose.
17331
17332 2005-06-28  Andy Wingo  <wingo@pobox.com>
17333
17334         * tests/network-clock-utils.scm (debug, print-event): New utils.
17335
17336         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17337         (*packet-loss*): Unified loss probability.
17338         (network-time): Report out-of-band events.
17339
17340         * tests/plot-data: Add support for out-of-band events. Hack it
17341         into this script instead of passing it down the pipe; should fix
17342         this later.
17343
17344 2005-06-28  Wim Taymans  <wim@fluendo.com>
17345
17346         * docs/gst/gstreamer.types:
17347         * docs/gst/tmpl/gstbasesrc.sgml:
17348         * docs/gst/tmpl/gstpad.sgml:
17349         Docs fixes.
17350
17351 2005-06-28  Wim Taymans  <wim@fluendo.com>
17352
17353         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17354         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17355         (gst_proxy_pad_do_fixatecaps):
17356         Correctly proxy the check_pull_range function.
17357
17358 2005-06-28  Andy Wingo  <wingo@pobox.com>
17359
17360         * tests/network-clock.scm: Removed need for slib.
17361         
17362 2005-06-28  Wim Taymans  <wim@fluendo.com>
17363
17364         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17365         (gst_basesink_preroll_queue_flush):
17366         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17367         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17368         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17369         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17370         (gst_proxy_pad_set_property):
17371         * gst/gstpad.c:
17372         * gst/gstpad.h:
17373         * gst/gstqueue.c: (gst_queue_init):
17374         The deprecated pad loop function is removed now.
17375
17376 2005-06-28  Andy Wingo  <wingo@pobox.com>
17377
17378         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17379         New parameters, simulate network packet loss.
17380
17381         * tests/network-clock-utils.scm: Initialize the RNG.
17382
17383 2005-06-28  Wim Taymans  <wim@fluendo.com>
17384
17385         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17386         (gst_basesink_event), (gst_basesink_deactivate):
17387         Flushing the preroll queue always needs to unlock the waiters.
17388
17389 2005-06-28  Edward Hervey  <edward@fluendo.com>
17390
17391         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17392         Wheen a seek was successful on a pipeline, set the stream_time to the
17393         seek offset in order to have a synchronized stream_time.
17394
17395 2005-06-28  Wim Taymans  <wim@fluendo.com>
17396
17397         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17398         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17399         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17400         (gst_proxy_pad_do_fixatecaps):
17401         Call wrapper function instead of just calling the function
17402         pointers. This takes care of any locking and whatmore.
17403
17404 2005-06-28  Wim Taymans  <wim@fluendo.com>
17405
17406         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17407         (gst_pad_pull_range):
17408         * gst/gstpad.h:
17409         CONNECTED -> LINKED.
17410
17411 2005-06-28  Andy Wingo  <wingo@pobox.com>
17412
17413         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17414         source-munging commit!!!
17415
17416         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17417         (gst_object_sink): Take gpointer arguments, not GstObject --
17418         avoids casts. Like GLib.
17419
17420         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17421         activate.
17422
17423 2005-06-27  Andy Wingo  <wingo@pobox.com>
17424
17425         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17426         remaining buffer.
17427
17428         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17429         returns a sorted copy of the trace list.
17430         (gst_alloc_trace_print_live): New API, only prints traces with
17431         live objects. Sort the list.
17432         (gst_alloc_trace_print_all): Sort the list.
17433         (gst_alloc_trace_print): Align columns.
17434
17435         * gst/elements/gstttypefindelement.c:
17436         * gst/elements/gsttee.c:
17437         * gst/base/gstbasesrc.c:
17438         * gst/base/gstbasesink.c:
17439         * gst/base/gstbasetransform.c:
17440         * gst/gstqueue.c: Adapt for pad activation changes.
17441
17442         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17443         sched.
17444         (gst_pipeline_dispose): Drop ref on sched.
17445
17446         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17447         (gst_pad_activate_default): Push mode by default.
17448         (pre_activate_switch, post_activate_switch): New stubs, things to
17449         do before and after switching activation modes on pads.
17450         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17451         the pad's activate function to choose which mode to activate.
17452         Shortcut on deactivation and call the right function directly.
17453         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17454         mode.
17455         (gst_pad_activate_push): New API, same for push mode.
17456         (gst_pad_set_activate_function) 
17457         (gst_pad_set_activatepull_function) 
17458         (gst_pad_set_activatepush_function): Setters for new API.
17459
17460         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17461         Trace all miniobjects.
17462         (gst_mini_object_make_writable): Unref the arg if we copy, like
17463         gst_caps_make_writable.
17464
17465         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17466
17467         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17468         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17469         Adapt for new pad API.
17470
17471         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17472
17473         * gst/gstelement.h:
17474         * gst/gstelement.c (gst_element_iterate_src_pads) 
17475         (gst_element_iterate_sink_pads): New API functions.
17476         
17477         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17478         should fold into gstiterator.c in some form.
17479         (gst_element_pads_activate): Simplified via use of fold and
17480         delegation of decisions to gstpad->activate.
17481
17482         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17483         help in debugging.
17484
17485         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17486         class once in init, like gstmessage. Didn't run into this issue
17487         but it seems correct. Don't initialize a trace, gstminiobject does
17488         that.
17489
17490         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17491         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17492         to the bus.
17493         (assert_live_count): New util function, uses alloc traces to check
17494         cleanup.
17495
17496         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17497         To be modified when unlink drops the internal pad.
17498
17499 2005-06-27  Wim Taymans  <wim@fluendo.com>
17500
17501         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17502         (gst_bin_change_state):
17503         Cleanup the get_state() function a little, make sure it
17504         iterates the same set of elements.
17505         Added stub iterate_state_order().
17506
17507 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17508
17509         * docs/gst/gstreamer-docs.sgml:
17510         * docs/gst/gstreamer-sections.txt:
17511         * docs/gst/gstreamer.types:
17512         * docs/gst/tmpl/gstbasesink.sgml:
17513         * docs/gst/tmpl/gstbasesrc.sgml:
17514         * docs/gst/tmpl/gstbasetransform.sgml:
17515         * docs/gst/tmpl/gstelement.sgml:
17516         * docs/gst/tmpl/gstiterator.sgml:
17517         * gst/base/gstbasesrc.c:
17518         * gst/base/gstbasesrc.h:
17519         * gst/base/gstbasetransform.h:
17520         * gst/gstelement.c:
17521         * gst/gstiterator.h:
17522           adding basetransform and iterator docs
17523
17524 2005-06-27  Andy Wingo  <wingo@pobox.com>
17525
17526         * docs/design/part-activation.txt: Notes on how activation should
17527         work -- not quite implemented yet.
17528
17529 2005-06-25  Wim Taymans  <wim@fluendo.com>
17530
17531         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17532         At least get the chain function correct, needs more
17533         fixing.
17534
17535 2005-06-25  Wim Taymans  <wim@fluendo.com>
17536
17537         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17538         (gst_basesink_handle_object), (gst_basesink_event),
17539         (gst_basesink_do_sync), (gst_basesink_handle_event),
17540         (gst_basesink_change_state):
17541         * gst/gsttask.h:
17542         Right, two problems here: ghostpads don't take locks and
17543         glib _rec_mutex_lock_full() with depth==0 still locks.
17544         Catch illegal locking and g_warn them.
17545
17546 2005-06-25  Wim Taymans  <wim@fluendo.com>
17547
17548         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17549         Have to check for completion now...
17550
17551 2005-06-25  Wim Taymans  <wim@fluendo.com>
17552
17553         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17554         (gst_basesink_handle_object), (gst_basesink_event),
17555         (gst_basesink_do_sync), (gst_basesink_handle_event),
17556         (gst_basesink_change_state):
17557         * gst/gstpad.h:
17558         Unlock STREAM_LOCK whatever the recursion was.
17559
17560 2005-06-25  Wim Taymans  <wim@fluendo.com>
17561
17562         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17563         (gst_basesink_preroll_queue_empty),
17564         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17565         (gst_basesink_event), (gst_basesink_do_sync),
17566         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17567         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17568         (gst_basesink_change_state):
17569         Reworked the base sink, handle event and buffer serialisation
17570         correctly and removed possible deadlock.
17571         Handle EOS correctly.
17572
17573 2005-06-25  Wim Taymans  <wim@fluendo.com>
17574
17575         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17576         (gst_pipeline_change_state):
17577         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17578         Allow elements to post EOS in the state change function.
17579         Fix up -launch, make it exit the poll loop when the
17580         pipeline actually changed state.
17581         Fix up warning parsing in -launch.
17582
17583 2005-06-25  Wim Taymans  <wim@fluendo.com>
17584
17585         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17586         (gst_tee_sink_activate):
17587         Core takes STREAM_LOCK for us now.
17588
17589 2005-06-25  Wim Taymans  <wim@fluendo.com>
17590
17591         * gst/gstelement.c: (gst_element_get_state_func),
17592         (gst_element_set_state):
17593         * gst/gstelement.h:
17594         * gst/gstmessage.c: (gst_message_parse_error),
17595         (gst_message_parse_warning):
17596         Keep track of current target state while performing a state
17597         change so that subclasses can do something interesting.
17598         Fix parsing of warning/error messages when GError is NULL.
17599
17600 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17601
17602         * docs/gst/Makefile.am:
17603         * docs/gst/gstreamer-docs.sgml:
17604         * docs/gst/gstreamer-sections.txt:
17605         * docs/gst/gstreamer.types:
17606         * docs/gst/tmpl/gstbasesink.sgml:
17607         * docs/gst/tmpl/gstbasesrc.sgml:
17608         * docs/gst/tmpl/gstbin.sgml:
17609         * docs/gst/tmpl/gstcompat.sgml:
17610         * docs/gst/tmpl/gstfakesink.sgml:
17611         * docs/gst/tmpl/gstfakesrc.sgml:
17612         * docs/gst/tmpl/gstfilesink.sgml:
17613         * docs/gst/tmpl/gstfilesrc.sgml:
17614         * docs/gst/tmpl/gstindex.sgml:
17615         * docs/manual/appendix-quotes.xml:
17616         * gst/base/gstbasesrc.h:
17617         * gst/elements/gstfakesrc.h:
17618         * gst/gstmessage.h:
17619           start pulling in base classes and elements in our docs
17620
17621 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17622
17623         * docs/gst/Makefile.am:
17624         * docs/libs/Makefile.am:
17625           fixed make distcheck with gtk-doc 1.3
17626
17627 2005-06-23  Wim Taymans  <wim@fluendo.com>
17628
17629         * gst/gstelement.c: (gst_element_get_state_func),
17630         (gst_element_set_state), (gst_element_change_state):
17631         When the state did not change, also report NO_PREROLL
17632         when it matters.
17633
17634 2005-06-23  Wim Taymans  <wim@fluendo.com>
17635
17636         * gst/gstpad.c: (gst_pad_event_default):
17637         * gst/gstqueue.c: (gst_queue_loop):
17638         No unsafe task pausing please.
17639
17640 2005-06-23  Wim Taymans  <wim@fluendo.com>
17641
17642         * gst/schedulers/threadscheduler.c:
17643         (gst_thread_scheduler_task_start),
17644         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17645         Ref the task before pushing it on the threadpool. This
17646         makes sure that we have a ref when the threadfunction is
17647         actually called.
17648
17649 2005-06-23  Andy Wingo  <wingo@pobox.com>
17650
17651         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17652         offset is greater than the file's size.
17653
17654         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17655         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17656         * gst/gstobject.c (gst_object_class_init): Make the class lock
17657         recursive. Wim won't let me drop deep_notify. Decodebin works
17658         again, whoopdy doo.
17659
17660         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17661         internal pad, and hacks accordingly. Doesn't do it on the target
17662         pad because we change its caps. Probably catches all cases of
17663         interest tho.
17664         (gst_ghost_pad_set_property): Connect to notify::caps as
17665         appropritate.
17666
17667         * tests/network-clock.scm (plot-simulation): Pipe data to the
17668         elite python skript.
17669
17670         * tests/network-clock-utils.scm (define-parameter): New macro,
17671         defines a parameter that can be set via the command line.
17672         (set-parameter!, parse-parameter-arguments): Command line args
17673         parser.
17674
17675         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17676         stdin.
17677
17678 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17679
17680         * gst/elements/gsttypefindelement.c:
17681         (gst_type_find_element_handle_event):
17682           Don't restart typefinding on a discont.
17683         * gst/gstelement.c: (gst_element_set_state):
17684           Debug spelling fix.
17685         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17686           Allow changing mode of an active pad.
17687           Debug output fixes.
17688         * gst/registries/gstlibxmlregistry.c: (load_feature):
17689           Don't cast a static pad template to a normal pad template.
17690
17691 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17692
17693         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17694         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17695           remove gst_strtoll completely, since it didn't actually do
17696           anything more than what g_ascii_strtoull already does.
17697           check for range errors when deserializing
17698           do a cast for the unsigned cases; but further fixing needs
17699           a decision on what the interpretation of "(int)" and
17700           deserialization should be for values that fall outside the
17701           type's boundaries (ie, refuse, or interpret as casting)
17702
17703 2005-06-23  Wim Taymans  <wim@fluendo.com>
17704
17705         * check/Makefile.am:
17706         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17707         * docs/design/part-live-source.txt:
17708         * docs/design/part-states.txt:
17709         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17710         (gst_basesrc_set_live), (gst_basesrc_is_live),
17711         (gst_basesrc_get_range), (gst_basesrc_activate),
17712         (gst_basesrc_change_state):
17713         * gst/base/gstbasesrc.h:
17714         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17715         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17716         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17717         * gst/gstelement.c: (gst_element_get_state_func),
17718         (gst_element_set_state):
17719         * gst/gstelement.h:
17720         * gst/gsttypes.h:
17721         * tools/gst-launch.c: (event_loop), (main):
17722         Added support for live sources and other elements that
17723         cannot do preroll.
17724         Updated design docs, added live-source design doc.
17725         Implemented live source functionality in basesrc
17726         Fix error condition in _bin_get_state()
17727         Implement live source handling in -launch.
17728         Added check for live sources.
17729         Fixed case in GstBin where elements were changed state
17730         multiple times.
17731
17732
17733 2005-06-23  Andy Wingo  <wingo@pobox.com>
17734
17735         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17736         borken refcounting.
17737
17738         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17739         gst_caps_replace takes care of this for us.
17740
17741         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17742         gst_pad_set_caps on the target, not just its setcaps() function.
17743
17744         * tests/network-clock.scm: 
17745         * tests/network-clock-utils.scm: A network clock simulator.
17746         Something of an algorithmic testbed before doing something in C.
17747
17748 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17749
17750         * check/Makefile.am:
17751         * check/gst/capslist.h:
17752           copy over from 0.8, and add two with bitmasks specified with
17753           (int) 0xFF...
17754         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17755           add test to parse everything from capslist.h
17756         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17757         (main):
17758           add test for structure deserialization
17759         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17760           add tests for deserialization of strings to int types
17761         * gst/gststructure.c: (gst_structure_nth_field_name):
17762         * gst/gststructure.h:
17763           add a way to get the name of a field referenced by index
17764         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17765           instead of checking if the resulting long long lies between
17766           min and max, we check if the long long would fit into
17767           a number of bytes for the final type.
17768           This fixes cases where a string represents 2^32 - 1, which
17769           when cast to int would be the (valid) -1, but is bigger than
17770           G_MAXINT
17771
17772 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17773
17774         * gst/parse/grammar.y:
17775           add a log line for type deserialization
17776
17777 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17778
17779         * check/gst/gstvalue.c: (START_TEST):
17780         * gst/gstvalue.c: (gst_value_deserialize):
17781           return long long, not int, so gint64 deserialization actually
17782           works.  Is there any flag that makes the compiler check this ?
17783           Fixes #308559
17784
17785 2005-06-22  Wim Taymans  <wim@fluendo.com>
17786
17787         * gst/gstbuffer.h:
17788         Added convenience macros for setting buffers in GValue.
17789
17790 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17791
17792         * check/gst/.cvsignore:
17793         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17794           add a test deserializing int64, and comment part out because
17795           it fails, yay !
17796
17797 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17798
17799         * check/Makefile.am:
17800         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17801         * testsuite/Makefile.am:
17802         * testsuite/caps/Makefile.am:
17803         * testsuite/caps/value_serialize.c:
17804         * testsuite/test_gst_init.c:
17805           move a value_serialize test over
17806
17807 2005-06-20  Wim Taymans  <wim@fluendo.com>
17808
17809         * gst/gstpad.c:
17810         Small doc updates.
17811         
17812         * gst/gstvalue.c: (gst_value_compare_buffer),
17813         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17814         (gst_value_compare_flags), (gst_value_serialize_flags),
17815         (gst_value_deserialize_flags), (_gst_value_initialize):
17816         Fix serialisation of buffers, they are not boxed types anymore
17817
17818 2005-06-20  Wim Taymans  <wim@fluendo.com>
17819
17820         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17821         Testcase to show error in buffer-on-caps serialisation.
17822
17823 2005-06-20  Andy Wingo  <wingo@pobox.com>
17824
17825         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17826         will be adding to later.
17827
17828         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17829         if its socks fill with rocks.
17830         (gst_system_clock_obtain): Set the name on object construction.
17831         Avoid double-checked locking.
17832
17833 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17834
17835         * gst/gsturi.c: (gst_element_make_from_uri):
17836           Fix potential endless loop.
17837
17838 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17839
17840         * check/Makefile.am:
17841           add gsttag
17842         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17843         (main):
17844           move over from testsuite dir and clean up
17845         * configure.ac:
17846         * gst/gsttag.c:
17847         * testsuite/Makefile.am:
17848         * testsuite/tags/.cvsignore:
17849         * testsuite/tags/Makefile.am:
17850         * testsuite/tags/merge.c:
17851           remove testsuite/tags
17852
17853 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17854
17855         * docs/gst/gstreamer-sections.txt:
17856         * docs/gst/tmpl/gstenumtypes.sgml:
17857         * win32/gstenumtypes.c:
17858           clean up documentation build a little
17859
17860 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17861
17862         * check/gstcheck.h:
17863           add macros for checking refcounts on objects and caps
17864         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17865           add some more unit tests
17866         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17867         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17868           fix leaked refcounts (I hope :)) so unittest works
17869         * gst/gstpad.h:
17870           whitespace removal
17871
17872 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17873
17874         * configure.ac: back to HEAD
17875
17876 === release 0.9.1 ===
17877
17878 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17879
17880         * NEWS:
17881         * RELEASE:
17882           updated
17883
17884 2005-06-17  Andy Wingo  <wingo@pobox.com>
17885
17886         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17887         assert; it's always possible that the pad gets deactivated in
17888         between the checks in gstpad.c and the implementation. Rely on
17889         finish_preroll() to return a FLUSHING or similar instead of on the
17890         assert.
17891         
17892         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17893         clock and post an EOS message if we come out of finish_preroll in
17894         the playing state.
17895
17896 2005-06-16  David Schleef  <ds@schleef.org>
17897
17898         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17899         (gst_capsfilter_set_property): Allow NULL as possible value
17900         for filter_caps property, indicating GST_CAPS_ANY.
17901
17902 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17903
17904         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17905           fix debug output
17906         * gst/schedulers/Makefile.am:
17907           use libgst prefix
17908         * gstreamer.spec.in:
17909           fix spec for it
17910
17911 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17912
17913         * gstreamer.spec.in:
17914           clean up
17915
17916 2005-06-08  Andy Wingo  <wingo@pobox.com>
17917
17918         * gst/gstutils.c: RPAD fixes all around.
17919         (gst_element_link_pads): Refcounting fixes.
17920
17921         * tools/gst-inspect.c:
17922         * tools/gst-xmlinspect.c:
17923         * parse/grammar.y:
17924         * gst/base/gsttypefindhelper.c:
17925         * gst/base/gstbasesink.c:
17926         * gst/gstqueue.c: RPAD fixes.
17927
17928         * gst/gstghostpad.h:
17929         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17930         pads. The tricky thing is they provide both source and sink
17931         interfaces, since they proxy the internal pad for the external
17932         pad, and vice versa. Implement with lower-level ProxyPad objects,
17933         with the interior proxy pad as a child of the exterior ghost pad.
17934         Should write a doc on this.
17935         
17936         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17937         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17938         gst_object API.
17939         
17940         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17941         pads are real pads. No ghost pads in this file. Not documenting
17942         the myriad s/RPAD/PAD/ and REALIZE fixes.
17943         (gst_pad_class_init): Add properties for "direction" and
17944         "template". Both are construct-only, so they can't change during
17945         the life of the pad. Fixes properly deriving from GstPad.
17946         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17947         derived objects, just set properties when creating the objects via
17948         g_object_new.
17949         (gst_pad_get_parent): Implement as a function, return NULL if the
17950         parent is not an element.
17951         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17952         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17953         
17954         * gst/gstobject.c (gst_object_class_init): Make name a construct
17955         property. Don't set it in the object init.
17956
17957         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17958         with UNKNOWN direction.
17959         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17960         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17961         (gst_element_remove_pad): Remove ghost-pad special cases.
17962         (gst_element_pads_activate): Remove rpad cruft.
17963
17964         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17965         catch the pad's-parent-not-an-element case.
17966
17967         * gst/gst.h: Include gstghostpad.h.
17968
17969         * gst/gst.c (init_post): No more real, ghost pads.
17970
17971         * gst/Makefile.am: Add gstghostpad.[ch].
17972
17973         * check/Makefile.am:
17974         * check/gst/gstbin.c:
17975         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17976         into a bin creates ghost pads, and that the refcounts are right.
17977         Partly moved from gstbin.c.
17978
17979 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17980
17981         * check/gst-libs/.cvsignore:
17982         * check/gst/.cvsignore:
17983         * check/pipelines/.cvsignore:
17984           ignore more
17985         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17986         (START_TEST), (cleanup_suite), (main):
17987           add some tests related to cleanup after running pipelines
17988
17989 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17990
17991         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17992           add a testsuite for GstBuffer
17993
17994 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17995
17996         * gst/gstminiobject.h:
17997           add defines for accessing the refcount
17998
17999 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
18000
18001         * Makefile.am: added support for html unit test coverage reports
18002
18003 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
18004
18005         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18006           Free existing caps if the capsfilter changes. Add a FIXME about
18007           setting those caps on the pads.
18008
18009         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18010           Before adding a ghost pad to a parent bin, check that there isn't
18011           already one for the element on the bin. Prevents infinite recursion
18012           when using decodebin in parse pipelines. Andy says he'll rewrite the
18013           way this works anyway, so ignore the hack.
18014
18015 2005-06-02  Andy Wingo  <wingo@pobox.com>
18016
18017         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18018         file size, pass it on to the type find helper.
18019
18020         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18021         segment_start and segment_end properly according to the seek
18022         method. Segment_end is still a bit flaky because offset can be
18023         negative for CUR and END cases, but it takes -1 as an "unset"
18024         value.
18025
18026 2005-06-02  Wim Taymans  <wim@fluendo.com>
18027
18028         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18029         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18030         (gst_basesink_activate):
18031         * gst/base/gstbasesink.h:
18032         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18033         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18034         (gst_pad_query), (gst_pad_start_task):
18035         * gst/gstpad.h:
18036         * gst/gstqueue.c: (gst_queue_bufferalloc),
18037         (gst_queue_handle_sink_event), (gst_queue_chain):
18038         Bufferalloc: return GstFlowReturn to more accuratly report
18039         why allocation failed.
18040
18041 2005-06-02  Wim Taymans  <wim@fluendo.com>
18042
18043         * gst/gstpipeline.c: (gst_pipeline_send_event):
18044         Take snapshot of state without blocking.
18045
18046 2005-06-02  Wim Taymans  <wim@fluendo.com>
18047
18048         * docs/design/part-TODO.txt:
18049         * docs/design/part-caps.txt:
18050         * docs/design/part-clocks.txt:
18051         * docs/design/part-negotiation.txt:
18052         * docs/design/part-preroll.txt:
18053         Small doc updates 
18054
18055 2005-05-30  Wim Taymans  <wim@fluendo.com>
18056
18057         * gst/elements/gstidentity.c: (gst_identity_event),
18058         (gst_identity_transform), (gst_identity_get_property):
18059         Protect last_message property as it is accessed from
18060         multiple threads.
18061
18062 2005-05-30  Wim Taymans  <wim@fluendo.com>
18063
18064         * gst/gstelement.c: (gst_element_init),
18065         (gst_element_pads_activate), (gst_element_change_state):
18066         Slicker pad activation code.
18067
18068 2005-05-30  Wim Taymans  <wim@fluendo.com>
18069
18070         * gst/Makefile.am:
18071         * gst/gstelement.h:
18072         * gst/gstelementfactory.h:
18073         * gst/gsttypes.h:
18074         Move elementfactory methods to separate .h file.
18075
18076 2005-05-30  Wim Taymans  <wim@fluendo.com>
18077
18078         * docs/design/part-overview.txt:
18079         * gst/gstsystemclock.h:
18080         Small typo fixes, doc updates.
18081
18082 2005-05-30  Wim Taymans  <wim@fluendo.com>
18083
18084         * gst/gst.c: (gst_init_get_popt_table), (init_post),
18085         (init_popt_callback):
18086         Remove cpu-opt flag.
18087
18088 2005-05-30  Wim Taymans  <wim@fluendo.com>
18089
18090         * gst/gstbuffer.c: (gst_subbuffer_finalize),
18091         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18092         * gst/gstbuffer.h:
18093         Avoid typechecking in places where not needed.
18094         Added accessor for malloc_data.
18095
18096 2005-05-30  Wim Taymans  <wim@fluendo.com>
18097
18098         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18099         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18100         (gst_pad_configure_sink), (gst_pad_configure_src),
18101         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18102         (gst_pad_start_task):
18103         Propagate errors from _set_caps() in configure_src/sink
18104         functions instead of returning TRUE.
18105         FLUSH events can travel up and downstream
18106
18107
18108 2005-05-30  Wim Taymans  <wim@fluendo.com>
18109
18110         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18111         (gst_basesink_activate):
18112         Handle EOS in preroll.
18113
18114 2005-05-30  Wim Taymans  <wim@fluendo.com>
18115
18116         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18117         (gst_queue_loop), (gst_queue_handle_src_event):
18118         Remove old pieces of code
18119         Flushing the queue in an upstream event is a very bad idea.
18120
18121 2005-05-26  Andy Wingo  <wingo@pobox.com>
18122
18123         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18124         gst_value_set_mini_object so as to add a ref on the object (which
18125         will be removed when the value is unset).
18126
18127         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18128         arg type in ::handoff.
18129
18130         * gst/gstelement.c (gst_element_change_state): Also deactivate
18131         pads in READY->NULL, just in case the element didn't make it to
18132         PAUSED. Wingo tested, Wim approved.
18133
18134 2005-05-26  Wim Taymans  <wim@fluendo.com>
18135
18136         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18137         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18138         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18139         A flushing pad cannot be used to alloc_buffer from.
18140
18141 2005-05-26  Wim Taymans  <wim@fluendo.com>
18142
18143         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18144         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18145         (gst_bus_source_dispatch), (gst_bus_source_finalize),
18146         (gst_bus_create_watch), (gst_bus_add_watch_full):
18147         * gst/gstbus.h:
18148         Implement a real GSource and use g_main_context_wakeup() to
18149         signal new messages instead of the socketpair.
18150
18151 2005-05-25  Wim Taymans  <wim@fluendo.com>
18152
18153         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18154         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18155         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18156         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18157         (gst_pad_send_event), (gst_pad_start_task):
18158         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18159         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18160         (gst_queue_sink_activate), (gst_queue_src_activate),
18161         (gst_queue_change_state):
18162         * gst/gstqueue.h:
18163         Fix state changes for non sinks. We now change sinks, then elements
18164         with unconnected srcpads, then the rest.
18165         More efficient queue unlocking in flush and state changes.
18166         Set the pad activate mode even if it does not have an activate
18167         function.
18168
18169 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18170
18171         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18172           Don't go in pull mode for non-seekable sources.
18173         * gst/elements/gsttypefindelement.h:
18174         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18175         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18176         (free_entry), (stop_typefinding),
18177         (gst_type_find_element_handle_event), (find_peek),
18178         (gst_type_find_element_chain), (do_pull_typefind),
18179         (gst_type_find_element_change_state):
18180           Allow typefinding (w/o seeking) in push-mode, simplified version
18181           of what was in 0.8.
18182         * gst/gstutils.c: (gst_buffer_join):
18183         * gst/gstutils.h:
18184           gst_buffer_join() from 0.8.
18185
18186 2005-05-25  Wim Taymans  <wim@fluendo.com>
18187
18188         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18189         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18190         (gst_pad_send_event), (gst_pad_start_task):
18191         Disable attempt at mode switching until it is figured out.
18192
18193 2005-05-25  Wim Taymans  <wim@fluendo.com>
18194
18195         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18196         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18197         (gst_basesink_finish_preroll), (gst_basesink_chain),
18198         (gst_basesink_loop), (gst_basesink_activate),
18199         (gst_basesink_change_state):
18200         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18201         (gst_basesrc_get_range), (gst_basesrc_loop),
18202         (gst_basesrc_activate):
18203         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18204         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18205         (gst_real_pad_init), (gst_real_pad_set_property),
18206         (gst_real_pad_get_property), (gst_pad_set_active),
18207         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18208         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18209         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18210         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18211         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18212         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18213         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18214         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18215         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18216         (gst_pad_stop_task):
18217         * gst/gstpad.h:
18218         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18219         (gst_queue_loop), (gst_queue_src_activate):
18220         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18221         (gst_task_get_state):
18222         * gst/gsttask.h:
18223         * gst/schedulers/threadscheduler.c:
18224         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18225         Implement gst_pad_pause/start/stop_task(), take STREAM lock
18226         in task function.
18227         Remove ACTIVE pad flag, use FLUSHING everywhere
18228         Added _pad_chain(), _pad_get_range() to call chain/getrange 
18229         functions.
18230         Add locks around IS_FLUSHING when reading.
18231         Take STREAM lock in chain(), get_range() functions so plugins
18232         don't need to take it anymore.
18233         
18234
18235
18236 2005-05-25  Wim Taymans  <wim@fluendo.com>
18237
18238         * tools/gst-launch.c: (event_loop):
18239         Unref message after using its contents instead of
18240         before.
18241
18242 2005-05-24  Wim Taymans  <wim@fluendo.com>
18243
18244         * docs/design/draft-ghostpads.txt:
18245         * docs/design/draft-push-pull.txt:
18246         * docs/design/draft-query.txt:
18247         * docs/design/part-overview.txt:
18248         Docs updates, added general overview doc.
18249
18250 2005-05-21  David Schleef  <ds@schleef.org>
18251
18252         * docs/gst/tmpl/old/GstBin.sgml:
18253         * docs/gst/tmpl/old/GstBuffer.sgml:
18254         * docs/gst/tmpl/old/GstCaps.sgml:
18255         * docs/gst/tmpl/old/GstClock.sgml:
18256         * docs/gst/tmpl/old/GstCompat.sgml:
18257         * docs/gst/tmpl/old/GstData.sgml:
18258         * docs/gst/tmpl/old/GstElement.sgml:
18259         * docs/gst/tmpl/old/GstEvent.sgml:
18260         * docs/gst/tmpl/old/GstIndex.sgml:
18261         * docs/gst/tmpl/old/GstStructure.sgml:
18262         * docs/gst/tmpl/old/GstTag.sgml:
18263         * docs/gst/tmpl/old/cothreads.sgml:
18264         * docs/gst/tmpl/old/cothreads_compat.sgml:
18265         * docs/gst/tmpl/old/gettext.sgml:
18266         * docs/gst/tmpl/old/gobject2gtk.sgml:
18267         * docs/gst/tmpl/old/grammar.tab.sgml:
18268         * docs/gst/tmpl/old/gst-i18n-app.sgml:
18269         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18270         * docs/gst/tmpl/old/gst_private.sgml:
18271         * docs/gst/tmpl/old/gstaggregator.sgml:
18272         * docs/gst/tmpl/old/gstarch.sgml:
18273         * docs/gst/tmpl/old/gstatomic_impl.sgml:
18274         * docs/gst/tmpl/old/gstbufferstore.sgml:
18275         * docs/gst/tmpl/old/gstdata_private.sgml:
18276         * docs/gst/tmpl/old/gstdisksink.sgml:
18277         * docs/gst/tmpl/old/gstdisksrc.sgml:
18278         * docs/gst/tmpl/old/gstelementfactory.sgml:
18279         * docs/gst/tmpl/old/gstextratypes.sgml:
18280         * docs/gst/tmpl/old/gstfakesink.sgml:
18281         * docs/gst/tmpl/old/gstfakesrc.sgml:
18282         * docs/gst/tmpl/old/gstfdsink.sgml:
18283         * docs/gst/tmpl/old/gstfdsrc.sgml:
18284         * docs/gst/tmpl/old/gstfilesink.sgml:
18285         * docs/gst/tmpl/old/gstfilesrc.sgml:
18286         * docs/gst/tmpl/old/gsthttpsrc.sgml:
18287         * docs/gst/tmpl/old/gstidentity.sgml:
18288         * docs/gst/tmpl/old/gstindexfactory.sgml:
18289         * docs/gst/tmpl/old/gstmarshal.sgml:
18290         * docs/gst/tmpl/old/gstmd5sink.sgml:
18291         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18292         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18293         * docs/gst/tmpl/old/gstpadtemplate.sgml:
18294         * docs/gst/tmpl/old/gstpipefilter.sgml:
18295         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18296         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18297         * docs/gst/tmpl/old/gstshaper.sgml:
18298         * docs/gst/tmpl/old/gstspider.sgml:
18299         * docs/gst/tmpl/old/gstspideridentity.sgml:
18300         * docs/gst/tmpl/old/gststatistics.sgml:
18301         * docs/gst/tmpl/old/gsttee.sgml:
18302         * docs/gst/tmpl/old/gsttimecache.sgml:
18303         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18304         * docs/gst/tmpl/old/gstxmlregistry.sgml:
18305         * docs/gst/tmpl/old/gthread-cothreads.sgml:
18306         * docs/gst/tmpl/old/types.sgml:
18307           I didn't intend to add these or check them in.
18308
18309 2005-05-19  David Schleef  <ds@schleef.org>
18310
18311         * configure.ac: Use -no-common everywhere.  In a sane world, it
18312           would be the default in libtool, because without it, you can't
18313           build DLLs on Windows.
18314         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18315         * docs/gst/gstreamer-sections.txt:
18316         * docs/gst/tmpl/gstcpu.sgml:
18317         * docs/gst/tmpl/gstdata.sgml:
18318         * docs/gst/tmpl/gstthread.sgml:
18319
18320 2005-05-19  David Schleef  <ds@schleef.org>
18321
18322         * gst/gstminiobject.c: (gst_value_set_mini_object),
18323         (gst_value_take_mini_object), (gst_value_get_mini_object):
18324         * gst/gstminiobject.h: Add GValue set/get functions.
18325
18326 2005-05-19  Wim Taymans  <wim@fluendo.com>
18327
18328         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18329         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18330         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18331         * gst/gstbuffer.h:
18332         * gst/gstbus.c: (gst_bus_post):
18333         * gst/gstelement.c: (gst_element_get_random_pad):
18334         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18335         Make subbufer unref the parent in finalize.
18336         some more debugging info.
18337
18338
18339 2005-05-19  Wim Taymans  <wim@fluendo.com>
18340
18341         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18342         (gst_basesink_init), (gst_basesink_finalize),
18343         (gst_basesink_activate), (gst_basesink_change_state):
18344         Don't free preroll queue too early.
18345
18346 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18347
18348         * gst/Makefile.am:
18349         * gst/ROADMAP:
18350           Hi, I'm outdated. Please shoot me.
18351
18352 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18353
18354         * gst/gstpipeline.c: (gst_pipeline_send_event):
18355           Do not access variables after they have been deleted.
18356
18357 2005-05-19  Wim Taymans  <wim@fluendo.com>
18358
18359         * tools/gst-inspect.c: (print_plugin_features):
18360         A plugin feature does unfortunatly not use the
18361         object name yet...
18362
18363 2005-05-18  Wim Taymans  <wim@fluendo.com>
18364
18365         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18366         Port _span() functions to new subbuffers.
18367
18368 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18369
18370         * gst/gstbin.c: (gst_bin_add_func):
18371           Fix clock settery in bins when adding kids after the clock has
18372           been selected.
18373
18374 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18375
18376         * gst/elements/gstidentity.c: (gst_identity_class_init):
18377           Workaround until signals support GstMiniObject.
18378
18379 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18380
18381         * gst/gstbuffer.c:
18382         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18383
18384 2005-05-18  Wim Taymans  <wim@fluendo.com>
18385
18386         * gst/base/Makefile.am:
18387         * gst/base/gstadapter.c: (gst_adapter_base_init),
18388         (gst_adapter_class_init), (gst_adapter_init),
18389         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18390         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18391         (gst_adapter_flush), (gst_adapter_available),
18392         (gst_adapter_available_fast):
18393         * gst/base/gstadapter.h:
18394         Ported and added adapter to the base classes.
18395
18396 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18397
18398         * gst/gst.c:
18399         * gst/gstmessage.c:
18400           Make sure the class is reffed/unreffed once before threads can be
18401           used.  Fixes #304551.
18402
18403 2005-05-17  Wim Taymans  <wim@fluendo.com>
18404
18405         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18406         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18407         * gst/gstminiobject.c: (gst_mini_object_get_type),
18408         (gst_mini_object_free):
18409         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18410         (gst_pad_push), (gst_pad_push_event):
18411         * gst/gstqueue.c: (gst_queue_change_state):
18412         Don't queue buffers in basesink when we are flushing.
18413         Unref buffer when flushing in basesink.
18414         Flush queue when going to READY
18415         Unref buffer when _push() returns an error.
18416         Don't free MiniObject instance when refcount is incremented
18417         in _finalize() so that we can recover objects.
18418
18419 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18420
18421         * docs/manual/advanced-schedulers.xml:
18422         * docs/manual/appendix-checklist.xml:
18423         * docs/pwg/advanced-clock.xml:
18424         * docs/pwg/advanced-interfaces.xml:
18425         * docs/pwg/advanced-request.xml:
18426         * docs/pwg/advanced-types.xml:
18427         * docs/pwg/intro-preface.xml:
18428         * examples/plugins/example.c: (gst_example_get_type),
18429         (gst_example_class_init), (gst_example_chain),
18430         (gst_example_set_property), (gst_example_get_property),
18431         (gst_example_change_state), (plugin_init):
18432         * examples/plugins/example.h:
18433           small doc fixes
18434
18435 2005-05-17  Wim Taymans  <wim@fluendo.com>
18436
18437         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18438         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18439         * gst/gstqueue.c: (gst_queue_change_state):
18440         Clear queue when going to READY.
18441         Remove IN_SETCAPS flag too.
18442
18443 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18444
18445         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18446           Remove implicit cast from gboolean to GstElementStateReturn;
18447           make sure we still return failure in paused => ready case if
18448           the parent class fails to change state and our own stop 
18449           vfunc succeeds.
18450
18451 2005-05-17  Wim Taymans  <wim@fluendo.com>
18452
18453         * tools/gst-launch.c: (event_loop):
18454         Message was unreffed too soon.
18455
18456 2005-05-16  Andy Wingo  <wingo@pobox.com>
18457
18458         * gst/gstbin.c (sink_iterator_filter): Err... um...
18459
18460         * check/gst/gstbin.c (test_ghost_pads): New test for the
18461         ghosting-if-elements-not-in-same-bin behavior.
18462
18463 2005-05-16  David Schleef  <ds@schleef.org>
18464
18465         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18466         accessing refcount directly.
18467
18468 2005-05-15  David Schleef  <ds@schleef.org>
18469
18470         * check/Makefile.am: remove GstData checks
18471         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18472         * gst/Makefile.am: add miniobject, remove data
18473         * gst/gst.h: add miniobject, remove data
18474         * gst/gstdata.c: remove
18475         * gst/gstdata.h: remove
18476         * gst/gstdata_private.h: remove
18477         * gst/gsttypes.h: remove GstEvent and GstMessage
18478         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18479         * gst/gstmarshal.list: change BOXED -> OBJECT
18480
18481         Implement GstMiniObject.
18482         * gst/gstminiobject.c:
18483         * gst/gstminiobject.h:
18484
18485         Modify to be subclasses of GstMiniObject.
18486         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18487         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18488         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18489         (gst_subbuffer_get_type), (gst_subbuffer_init),
18490         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18491         (gst_buffer_span):
18492         * gst/gstbuffer.h:
18493         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18494         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18495         (_gst_event_copy), (gst_event_new):
18496         * gst/gstevent.h:
18497         * gst/gstmessage.c: (_gst_message_initialize),
18498         (gst_message_get_type), (gst_message_class_init),
18499         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18500         (gst_message_new), (gst_message_new_error),
18501         (gst_message_new_warning), (gst_message_new_tag),
18502         (gst_message_new_state_changed), (gst_message_new_application):
18503         * gst/gstmessage.h:
18504         * gst/gstprobe.c: (gst_probe_perform),
18505         (gst_probe_dispatcher_dispatch):
18506         * gst/gstprobe.h:
18507         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18508         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18509         (_gst_query_copy), (gst_query_new):
18510
18511         Update elements for GstData -> GstMiniObject changes
18512         * gst/gstquery.h:
18513         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18514         (gst_queue_chain), (gst_queue_loop):
18515         * gst/elements/gstbufferstore.c:
18516         (gst_buffer_store_add_buffer_func),
18517         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18518         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18519         (gst_fakesink_render):
18520         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18521         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18522         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18523         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18524         (gst_filesrc_create_read):
18525         * gst/elements/gstidentity.c: (gst_identity_class_init):
18526         * gst/elements/gsttypefindelement.c:
18527         (gst_type_find_element_src_event), (free_entry_buffers),
18528         (gst_type_find_element_handle_event):
18529         * libs/gst/dataprotocol/dataprotocol.c:
18530         (gst_dp_header_from_buffer):
18531         * libs/gst/dataprotocol/dataprotocol.h:
18532         * libs/gst/dataprotocol/dp-private.h:
18533
18534 2005-05-15  David Schleef  <ds@schleef.org>
18535
18536         * gst/elements/gstelements.c: Don't include headers that were
18537         just removed.
18538
18539 2005-05-15  David Schleef  <ds@schleef.org>
18540
18541         * gst/elements/Makefile.am: Remove some elements that don't
18542         need to be in the core (or even exist at all).
18543         * gst/elements/gstaggregator.c:
18544         * gst/elements/gstaggregator.h:
18545         * gst/elements/gstmd5sink.c:
18546         * gst/elements/gstmd5sink.h:
18547         * gst/elements/gstmultifilesrc.c:
18548         * gst/elements/gstmultifilesrc.h:
18549         * gst/elements/gstpipefilter.c:
18550         * gst/elements/gstpipefilter.h:
18551         * gst/elements/gstshaper.c:
18552         * gst/elements/gstshaper.h:
18553         * gst/elements/gststatistics.c:
18554         * gst/elements/gststatistics.h:
18555         * po/POTFILES.in: Remove above files.
18556
18557 2005-05-14  Andy Wingo  <wingo@pobox.com>
18558
18559         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18560         so as to get the refs right.
18561         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18562         unreffing objects that don't pass the filter.
18563
18564         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18565         gst_element_set_bus.
18566         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18567         normal cases, this will destroy the bus.
18568
18569         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18570         object.
18571
18572         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18573         has no sinks.
18574
18575 2005-05-13  Andy Wingo  <wingo@pobox.com>
18576
18577         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18578         gst_pad_link, call pad_link_maybe_ghosting,
18579         (pad_link_maybe_ghosting): Links pads, making sure that the
18580         elements being linked are in the same bin.
18581         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18582         Helpers for pad_link_maybe_ghosting.
18583
18584 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18585
18586         * configure.ac:
18587           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18588
18589 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18590
18591         * docs/design/part-element-source.txt:
18592           Mention GstPushSrc
18593
18594 2005-05-12  Wim Taymans  <wim@fluendo.com>
18595
18596         * gst/base/gstbasesink.c: (gst_basesink_init),
18597         (gst_basesink_activate):
18598         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18599         (gst_basesrc_is_seekable):
18600         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18601         (bin_element_is_sink), (gst_bin_change_state):
18602         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18603         * gst/gstelement.h:
18604         Identify sinks by their flag to avoid overly complicated
18605         checks (fow now).
18606         Do state changes even for elements not reachable from the
18607         sinks.
18608         BaseSink is a sink now :)
18609         Some more debugging info in the basesrc.
18610
18611
18612 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18613
18614         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18615           Implement _query on a bin, similar to _send_event.
18616
18617 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18618
18619         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18620           Discont event offset format should be GST_FORMAT_BYTES,
18621           not GST_FORMAT_TIME.
18622
18623 2005-05-12  Wim Taymans  <wim@fluendo.com>
18624
18625         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18626         Same fix as Ronald's but without the signal. 
18627
18628 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18629
18630         * gst/gstutils.c: (gst_element_query_position):
18631           No, an element is not a pad.
18632
18633 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18634
18635         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18636         (gst_bin_get_state):
18637           If a child is removed from a bin while we remove the child from
18638           the bin and while we're retrieving its state, signal this to the
18639           get_state function so we abort the wait (instead of waiting for
18640           a timeout) and can immediately re-iterate over all other elements.
18641
18642 2005-05-12  Wim Taymans  <wim@fluendo.com>
18643
18644         * gst/base/Makefile.am:
18645         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18646         (gst_basesrc_start):
18647         * gst/base/gstbasesrc.h:
18648         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18649         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18650         (gst_pushsrc_init), (gst_pushsrc_create):
18651         * gst/base/gstpushsrc.h:
18652         Added is_seekable to BaseSrc
18653         Added simple PushSrc.
18654
18655 2005-05-11  Wim Taymans  <wim@fluendo.com>
18656
18657         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18658         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18659         (gst_element_link_pads), (gst_element_query_position),
18660         (gst_element_query_convert), (intersect_caps_func),
18661         (gst_pad_query_position), (gst_pad_query_convert):
18662         Fix refcounting in utils function.
18663         No point in trying to activate a pad when it's added, it could
18664         be added from the state change function and then we deadlock, the
18665         element has to decide what to do.
18666
18667 2005-05-10  Andy Wingo  <wingo@pobox.com>
18668
18669         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18670         *all* the arguments.
18671
18672         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18673         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18674         lock (according to the docs -- if this is wrong change the docs).
18675
18676         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18677         flush messages in the NULL state.
18678
18679         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18680         message immediately and return.
18681         (gst_bus_set_flushing): New function. If a bus is flushing, it
18682         flushes out any queued messages and immediately unrefs new
18683         messages. This is so when an element goes to NULL, all of the
18684         unhandled messages coming from it can be freed, and their
18685         references to the element dropped. In other words: message source
18686         ref considered harmful :P
18687
18688         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18689         we're finished with it.
18690
18691         * gst/gstmessage.c (gst_message_new_state_changed): 
18692
18693 2005-05-10  Wim Taymans  <wim@fluendo.com>
18694
18695         * gst/gstvalue.c: (gst_value_compare_flags),
18696         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18697         (_gst_value_initialize):
18698         Added flags serialize/deserialize/compare code.
18699
18700 2005-05-09  Andy Wingo  <wingo@pobox.com>
18701
18702         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18703         Intersect the peer's caps with our caps.
18704
18705 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18706
18707         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18708         * gst/elements/gsttypefindelement.c: (find_peek):
18709           Handle negative offsets better. Fixes decodebin.
18710
18711 2005-05-09  Wim Taymans  <wim@fluendo.com>
18712
18713         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18714         (gst_base_transform_event):
18715         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18716         Implement accept_caps.
18717         Fix silly lock/unlock mismatch in base class.
18718
18719 2005-05-09  Wim Taymans  <wim@fluendo.com>
18720
18721         * docs/design/draft-push-pull.txt:
18722         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18723         * gst/elements/gstfilesink.c: (gst_filesink_init),
18724         (gst_filesink_query):
18725         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18726         (gst_type_find_handle_src_query), (find_element_get_length):
18727         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18728         * gst/gstelement.h:
18729         * gst/gstmessage.c:
18730         * gst/gstmessage.h:
18731         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18732         (gst_real_pad_get_caps_unlocked),
18733         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18734         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18735         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18736         (gst_real_pad_dispose), (gst_real_pad_finalize),
18737         (gst_pad_load_and_link), (gst_pad_save_thyself),
18738         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18739         (gst_pad_check_pull_range), (gst_pad_pull_range),
18740         (gst_pad_template_get_type), (gst_pad_template_class_init),
18741         (gst_pad_template_init), (gst_pad_template_dispose),
18742         (name_is_valid), (gst_static_pad_template_get),
18743         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18744         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18745         (gst_pad_get_element_private), (gst_pad_start_task),
18746         (gst_pad_pause_task), (gst_pad_stop_task),
18747         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18748         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18749         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18750         (gst_ghost_pad_new):
18751         * gst/gstpad.h:
18752         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18753         (gst_query_new_position), (gst_query_set_position),
18754         (gst_query_parse_position), (gst_query_new_convert),
18755         (gst_query_set_convert), (gst_query_parse_convert):
18756         * gst/gstquery.h:
18757         * gst/gstqueryutils.c:
18758         * gst/gstqueryutils.h:
18759         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18760         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18761         (gst_queue_handle_src_query):
18762         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18763         (gst_element_query_position), (gst_element_query_convert),
18764         (intersect_caps_func), (gst_pad_query_position),
18765         (gst_pad_query_convert):
18766         * gst/gstutils.h:
18767         * tools/gst-inspect.c: (print_pad_info):
18768         * tools/gst-xmlinspect.c: (print_element_info):
18769         Remove old query functions. Ported old code.
18770         Added position/convert helper functions to gstutils.
18771         Reordered gstpad.c code, grouping relevant things.
18772         Remove gst_message_new(), always need to speficy a specific
18773         message.
18774
18775
18776 2005-05-09  Andy Wingo  <wingo@pobox.com>
18777
18778         * gst/gstiterator.h: Add some includes.
18779
18780         * gst/gstqueryutils.h: Include more headers.
18781
18782         * gst/gstpad.h:
18783         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18784         some uses of gst_pad_query.
18785
18786         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18787         NULL out parameters.
18788         (gst_query_new_position): New proc, allocates a new position
18789         query.
18790
18791         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18792         gstqueryutils.c to the build.
18793
18794         * gst/gststructure.c (gst_structure_set_valist): Implement with
18795         the generic G_VALUE_COLLECT.
18796         
18797 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18798
18799         * gst/Makefile.am: (gst_headers):
18800         Added gstqueryutils.h to the list of headers to install, that was
18801         a 'nachty' move wingo :)
18802
18803 2005-05-06  Andy Wingo  <wingo@pobox.com>
18804
18805         * gst/gstquery.h
18806         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18807         GstData, init a memchunk.
18808         (standard_definitions): Add a few query types, deprecate a few.
18809         (gst_query_get_type): New proc.
18810         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18811         implementation.
18812         (gst_query_new_application, gst_query_get_structure): New public
18813         procs.
18814
18815         * docs/design/draft-query.txt: Removed LINKS from the query types,
18816         because all the rest can be dispatched to other pads -- seemed
18817         ugly to have a query that couldn't be dispatched. internal_links
18818         is fine as a pad method.
18819
18820         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18821         in gstpad.c, but maintain binary compatibility for the moment.
18822         Will fix before 0.9 is out.
18823
18824         * gst/gstqueryutils.c: 
18825         * gst/gstqueryutils.h: New files, implement 3 methods for each
18826         query type: parse_query, parse_response, and set. Probably need an
18827         allocator as well.
18828
18829         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18830
18831         * gst/elements/gstfilesink.c (gst_filesink_query2):
18832         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18833         query_types, and formats methods.
18834
18835         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18836         (gst_pad_set_query2_function): New functions.
18837         (gst_real_pad_init): Set query2_default as the default query2
18838         function. Basically just dispatches to internally linked pads.
18839
18840         Needs review!
18841         
18842         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18843         without using the atomic operations. Only one thread can possibly
18844         be accessing the data at this point. Changed so as to avoid
18845         gst_atomic operations.
18846
18847 2005-05-06  Wim Taymans  <wim@fluendo.com>
18848
18849         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18850         Also set caps if we use the fallback buffer alloc.
18851
18852 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18853
18854         * docs/gst/Makefile.am:
18855         * docs/gst/gstreamer-docs.sgml:
18856         * docs/gst/gstreamer-sections.txt:
18857         * docs/gst/tmpl/gstatomic.sgml:
18858         * docs/gst/tmpl/gstmemchunk.sgml:
18859         * testsuite/elements/struct_i386.h:
18860         * win32/GStreamer.vcproj:
18861         * win32/Makefile:
18862           Purge GstAtomic stuff from docs and win32 makefiles as well
18863
18864 2005-05-06  Wim Taymans  <wim@fluendo.com>
18865
18866         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18867         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18868         * gst/gstpad.c: (gst_pad_peer_get_caps):
18869         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18870         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18871         (gst_queue_src_activate), (gst_queue_change_state):
18872         * gst/gstqueue.h:
18873         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18874         (intersect_caps_func):
18875         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18876         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18877         Some fixes for the peer_get_caps() change.
18878
18879 2005-05-06  Wim Taymans  <wim@fluendo.com>
18880
18881         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18882         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18883         (gst_basesink_activate):
18884         Actually do something with error codes returned from the push
18885         functions.
18886
18887 2005-05-06  Wim Taymans  <wim@fluendo.com>
18888
18889         * docs/design/part-element-sink.txt:
18890         * docs/design/part-element-source.txt:
18891         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18892         (gst_basesink_event), (gst_basesink_activate):
18893         * gst/base/gstbasesink.h:
18894         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18895         (gst_basesrc_activate):
18896         * gst/base/gstbasesrc.h:
18897         * gst/gstelement.c: (gst_element_pads_activate):
18898         Some more documentation.
18899         Fixed scheduling decision in _pads_activate().
18900
18901 2005-05-05  Andy Wingo  <wingo@pobox.com>
18902
18903         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18904         the test suite.
18905
18906 2005-05-05  Wim Taymans  <wim@fluendo.com>
18907
18908         * gst/base/Makefile.am:
18909         * gst/base/gstbasesink.h:
18910         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18911         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18912         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18913         (gst_collectpads_class_init), (gst_collectpads_init),
18914         (gst_collectpads_finalize), (gst_collectpads_new),
18915         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18916         (find_pad), (gst_collectpads_remove_pad),
18917         (gst_collectpads_is_active), (gst_collectpads_collect),
18918         (gst_collectpads_collect_range), (gst_collectpads_start),
18919         (gst_collectpads_stop), (gst_collectpads_peek),
18920         (gst_collectpads_pop), (gst_collectpads_available),
18921         (gst_collectpads_read), (gst_collectpads_flush),
18922         (gst_collectpads_chain):
18923         * gst/base/gstcollectpads.h:
18924         * gst/elements/Makefile.am:
18925         * gst/elements/gstelements.c:
18926         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18927         (gst_fakesink_get_times), (gst_fakesink_event),
18928         (gst_fakesink_preroll), (gst_fakesink_render):
18929         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18930         (gst_filesink_init), (gst_filesink_set_location),
18931         (gst_filesink_open_file), (gst_filesink_close_file),
18932         (gst_filesink_pad_query), (gst_filesink_event),
18933         (gst_filesink_render), (gst_filesink_change_state):
18934         * gst/elements/gstfilesink.h:
18935         Added object to help in making collect pad based elements.
18936         Ported filesink.
18937         Make event function in sink baseclass return gboolean.
18938
18939 2005-05-05  Wim Taymans  <wim@fluendo.com>
18940
18941         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18942         (gst_bin_get_by_name):
18943         * gst/gstbuffer.h:
18944         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18945         (gst_clock_finalize):
18946         * gst/gstdata.c: (gst_data_replace):
18947         * gst/gstdata.h:
18948         * gst/gstelement.c: (gst_element_request_pad),
18949         (gst_element_pads_activate):
18950         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18951         (gst_object_unref):
18952         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18953         (gst_pad_set_checkgetrange_function),
18954         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18955         (gst_pad_check_pull_range), (gst_pad_pull_range),
18956         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18957         (gst_pad_pause_task), (gst_pad_stop_task):
18958         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18959         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18960         Fix name lookup in GstBin.
18961         Added _data_replace() function and _buffer_replace()
18962         Use finalize method to clean up clock.
18963         Fix refcounting on request pads.
18964         Fix pad schedule mode error.
18965         Some more object refcounting debug info,
18966
18967
18968 2005-05-04  Andy Wingo <wingo@pobox.com>
18969
18970         * check/Makefile.am:
18971         * docs/gst/tmpl/gstatomic.sgml:
18972         * docs/gst/tmpl/gstplugin.sgml:
18973         * gst/base/gstbasesink.c: (gst_basesink_activate):
18974         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18975         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18976         (gst_basesrc_query), (gst_basesrc_set_property),
18977         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18978         (gst_basesrc_activate):
18979         * gst/base/gstbasesrc.h:
18980         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18981         (gst_base_transform_src_activate):
18982         * gst/elements/gstelements.c:
18983         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18984         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18985         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18986         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18987         (gst_type_find_element_checkgetrange),
18988         (gst_type_find_element_activate):
18989         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18990         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18991         (gst_caps_load_thyself):
18992         * gst/gstelement.c: (gst_element_pads_activate),
18993         (gst_element_save_thyself), (gst_element_restore_thyself):
18994         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18995         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18996         * gst/gstpad.h:
18997         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18998         (gst_xml_parse_file), (gst_xml_parse_memory),
18999         (gst_xml_get_element), (gst_xml_make_element):
19000         * gst/indexers/gstfileindex.c: (gst_file_index_load),
19001         (_file_index_id_save_xml), (gst_file_index_commit):
19002         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19003         (read_enum), (load_pad_template), (load_feature), (load_plugin),
19004         (load_paths):
19005         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19006         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19007         * tools/gst-complete.c: (main):
19008         * tools/gst-compprep.c: (main):
19009         * tools/gst-inspect.c: (print_element_properties_info):
19010         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19011         * tools/gst-xmlinspect.c: (print_element_properties):
19012         GCC 4 fixen.
19013         
19014 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * gst/gstplugin.c: (gst_plugin_check_module),
19017         (gst_plugin_check_file), (gst_plugin_load_file):
19018             apply patch from #172526 to make register work on MacOSX
19019
19020 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19021
19022         * docs/gst/tmpl/gstconfig.sgml:
19023         * gst/gstconfig.h.in:
19024           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
19025         * testsuite/debug/printf_extension.c: (main):
19026           Do not use GST_PTR_FORMAT on pointers to types with
19027           sizeof < sizeof(gpointer).  Fixes test on 64-bit
19028         * testsuite/elements/property.h:
19029           use correct printf format
19030
19031 2005-05-02  Wim Taymans  <wim@fluendo.com>
19032
19033         * docs/design/draft-push-pull.txt:
19034         * docs/design/draft-query.txt:
19035         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19036         (gst_basesrc_start):
19037         Added draft for new query API.
19038         Added draft for better selecting scheduling methods.
19039         Make basesrc ignore length if the subclass does not support
19040         it.
19041
19042 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19043
19044         * gst/Makefile.am:
19045           possible fixes for automake-1.5 - _LIBADD is reserved
19046
19047 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19048
19049         * docs/faq/Makefile.am:
19050         * docs/manual/Makefile.am:
19051         * docs/manuals.mak:
19052         * docs/pwg/Makefile.am:
19053         * gst/Makefile.am:
19054           possible fixes for automake-1.5
19055
19056 2005-04-28  Wim Taymans  <wim@fluendo.com>
19057
19058         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19059         (gst_basesink_pad_getcaps), (gst_basesink_init),
19060         (gst_basesink_do_sync):
19061         * gst/gstclock.c: (gst_clock_entry_new):
19062         * gst/gstevent.c: (gst_event_discont_get_value):
19063         * gst/gstpipeline.c: (pipeline_bus_handler),
19064         (gst_pipeline_change_state):
19065         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19066         Better debugging of clocking info.
19067         Allow NULL values when getting discont values.
19068
19069 2005-04-27  Wim Taymans  <wim@fluendo.com>
19070
19071         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19072         * check/gst/gstpad.c: (gst_pad_suite):
19073         Increase timeout for checks.
19074
19075 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19076
19077         * check/Makefile.am:
19078           fix the broken rule for cleanup.  Apparently this rule is
19079           only needed on FC2, so maybe this warrants further autotool
19080           inspection.
19081
19082 2005-04-26  Wim Taymans  <wim@fluendo.com>
19083
19084         * gst/gsttrashstack.h:
19085         Ooohh. a nasty one! After having a failed pop() from the stack,
19086         it's possible that the stack is empty. In that case, don't
19087         follow the NULL pointer.
19088
19089 2005-04-25  Wim Taymans  <wim@fluendo.com>
19090
19091         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19092         (gst_pad_set_checkgetrange_function),
19093         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19094         (gst_pad_check_pull_range), (gst_pad_pull_range),
19095         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19096         (gst_pad_pause_task), (gst_pad_stop_task):
19097         * gst/gstplugin.c: (gst_plugin_load):
19098         * gst/gstplugin.h:
19099         Remove gst_library_load as it does more harm than good with
19100         the new g_module flags.
19101         Revert bogus caps template check in pad linking, pad caps
19102         are important when linking not the template, which is more
19103         general than the current caps.
19104
19105 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19106
19107         * gst/autoplug/.cvsignore:
19108         * gst/autoplug/Makefile.am:
19109         * gst/autoplug/gstsearchfuncs.c:
19110         * gst/autoplug/gstsearchfuncs.h:
19111         * gst/autoplug/gstspider.c:
19112         * gst/autoplug/gstspider.h:
19113         * gst/autoplug/gstspideridentity.c:
19114         * gst/autoplug/gstspideridentity.h:
19115         * gst/autoplug/spidertest.c:
19116           Die, spider, die.
19117
19118 2005-04-25  Wim Taymans  <wim@fluendo.com>
19119
19120         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19121         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19122         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19123         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19124         * gst/gstpad.h:
19125         Added stubs for unimplemented functions. 
19126
19127 2005-04-24  David Schleef  <ds@schleef.org>
19128
19129         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
19130         please fix.
19131
19132 2005-04-24  David Schleef  <ds@schleef.org>
19133
19134         Convert everything from GstAtomicInt to g_atomic_int_*, and
19135         remove gstatomic.
19136         * gst/Makefile.am:
19137         * gst/gstatomic.c:
19138         * gst/gstatomic.h:
19139         * gst/gstatomic_impl.h:
19140         * gst/gstbuffer.c:
19141         * gst/gstcaps.c:
19142         * gst/gstcaps.h:
19143         * gst/gstclock.c:
19144         * gst/gstclock.h:
19145         * gst/gstdata.c:
19146         * gst/gstdata.h:
19147         * gst/gstdata_private.h:
19148         * gst/gstevent.c:
19149         * gst/gstinfo.c:
19150         * gst/gstinfo.h:
19151         * gst/gstmessage.c:
19152         * gst/gstobject.c:
19153         * gst/gstobject.h:
19154         * gst/gststructure.c:
19155         * gst/gststructure.h:
19156         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19157         * gst/gstutils.h:
19158
19159 2005-04-24  David Schleef  <ds@schleef.org>
19160
19161         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19162         make the regressions tests work.  Remove some code that is no
19163         longer true.
19164         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19165         Disable warning for pads without templates.
19166
19167 2005-04-24  David Schleef  <ds@schleef.org>
19168
19169         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
19170         functions that handle filtered links.
19171         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19172         removed functions.
19173         * gst/gstutils.c: Fix/remove utility functions that handle
19174         filtered caps.
19175         * gst/gstutils.h:
19176         * gst/gstvalue.c: Add serialization/deserialization of caps
19177         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
19178         requires fixing so that the filter caps notation creates
19179         a capsfilter element and sets the filter_caps property.  I
19180         think everyone probably wants to keep the shorthand notation.
19181         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19182         * docs/gst/tmpl/gstpad.sgml:
19183
19184         * gst/elements/gstelements.c: Register capsfilter element.
19185         * gst/Makefile.am: fix spacing
19186         * docs/random/ds/0.9-suggested-changes: random
19187
19188 2005-04-23  David Schleef  <ds@schleef.org>
19189
19190         * gst/elements/Makefile.am:
19191         * gst/elements/gstcapsfilter.c: New element that acts like an
19192         identity, but filters caps.  Will eventually replace filtered
19193         caps in pad linking.
19194         * gst/gstutils.c: (gst_element_create_all_pads): New function
19195         to create all the ALWAYS pads that are registered with an
19196         element class.  This functionality should eventually be
19197         merged in with GstElement initialization.
19198         * gst/gstutils.h:
19199         * testsuite/trigger/README: part of trigger test code that should
19200         have been checked in a long time ago.
19201
19202 2005-04-23  David Schleef  <ds@schleef.org>
19203
19204         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
19205         needed with new versions of libtool (nobody will confirm this),
19206         and hard to carry around.
19207         * gst/autoplug/Makefile.am:
19208         * gst/base/Makefile.am:
19209         * gst/elements/Makefile.am:
19210         * gst/indexers/Makefile.am:
19211         * gst/schedulers/Makefile.am:
19212         * libs/gst/bytestream/Makefile.am:
19213         * libs/gst/control/Makefile.am:
19214         * libs/gst/dataprotocol/Makefile.am:
19215         * libs/gst/getbits/Makefile.am:
19216
19217 2005-04-21  Wim Taymans  <wim@fluendo.com>
19218
19219         * docs/design/draft-push-pull.txt:
19220         * docs/design/part-MT-refcounting.txt:
19221         * docs/design/part-TODO.txt:
19222         * docs/design/part-caps.txt:
19223         * docs/design/part-events.txt:
19224         * docs/design/part-gstbus.txt:
19225         * docs/design/part-gstpipeline.txt:
19226         * docs/design/part-messages.txt:
19227         * docs/design/part-push-pull.txt:
19228         * docs/design/part-query.txt:
19229         Some more docs.
19230
19231 2005-04-21  Wim Taymans  <wim@fluendo.com>
19232
19233         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19234         (gst_message_new), (gst_message_new_error),
19235         (gst_message_new_warning), (gst_message_new_tag),
19236         (gst_message_new_state_changed), (gst_message_new_application),
19237         (gst_message_get_structure):
19238         * gst/gstmessage.h:
19239         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19240         (gst_structure_copy_conditional):
19241         Use parent refcount in GstMessage to ensure GstStructure
19242         consistency.
19243         Cleaned up headers a bit.
19244         
19245
19246 2005-04-20  Wim Taymans  <wim@fluendo.com>
19247
19248         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19249         (gst_basesink_pad_getcaps), (gst_basesink_init),
19250         (gst_basesink_chain_unlocked):
19251         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19252         (gst_type_find_helper):
19253         * gst/elements/gsttypefindelement.c:
19254         (gst_type_find_element_have_type), (gst_type_find_element_init),
19255         (stop_typefinding), (gst_type_find_element_handle_event),
19256         (find_suggest), (gst_type_find_element_chain),
19257         (gst_type_find_element_checkgetrange),
19258         (gst_type_find_element_getrange), (do_typefind),
19259         (gst_type_find_element_activate):
19260         * gst/gstbuffer.c: (_gst_buffer_sub_free),
19261         (gst_buffer_default_free), (gst_buffer_default_copy),
19262         (gst_buffer_set_caps):
19263         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19264         (gst_caps_replace):
19265         * gst/gstmessage.c: (gst_message_new),
19266         (gst_message_new_state_changed):
19267         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19268         (gst_pad_set_checkgetrange_function),
19269         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19270         (gst_pad_set_caps), (gst_pad_check_pull_range),
19271         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19272         * gst/gstpad.h:
19273         * gst/gsttypefind.c: (gst_type_find_register):
19274         Make gst_caps_replace() work like other _replace() functions.
19275         Use _caps_replace() where possible.
19276         Make sure _message_new() initialises its field.
19277         Add gst_static_pad_template_get_caps()
19278
19279
19280 2005-04-18  Andy Wingo  <wingo@pobox.com>
19281
19282         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19283         on the peer, not the pad. I think that was a typo. Pass an extra
19284         arg to see if random access is possible. Activate the pads as
19285         PULL_RANGE if possible.
19286
19287         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19288
19289         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
19290         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19291         to PROP_....
19292
19293 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19294
19295         * docs/faq/using.xml:
19296           Add note on gstreamer-properties (#154996).
19297
19298 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19299
19300         * docs/random/bbb/optional-properties:
19301           Some analysis on optional properties.
19302
19303 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19304
19305         * docs/gst/tmpl/gstelementfactory.sgml:
19306         * gst/gstelement.h:
19307         * gst/gstelementfactory.c: (gst_element_factory_init),
19308         (gst_element_factory_cleanup), (gst_element_register),
19309         (__gst_element_factory_add_static_pad_template),
19310         (gst_element_factory_get_static_pad_templates),
19311         (gst_element_factory_can_src_caps),
19312         (gst_element_factory_can_sink_caps):
19313         * gst/registries/Makefile.am:
19314         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19315         (gst_xml_registry_class_init), (gst_xml_registry_init),
19316         (gst_xml_registry_new), (gst_xml_registry_set_property),
19317         (gst_xml_registry_get_property), (get_time), (make_dir),
19318         (gst_xml_registry_get_perms_func),
19319         (plugin_times_older_than_recurse), (plugin_times_older_than),
19320         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19321         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19322         (add_to_char_array), (read_string), (read_uint), (read_enum),
19323         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19324         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19325         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19326         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19327         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19328         (gst_xml_registry_rebuild):
19329         * gst/registries/gstlibxmlregistry.h:
19330         * tools/gst-compprep.c: (main):
19331         * tools/gst-inspect.c: (print_pad_templates_info):
19332         * tools/gst-xmlinspect.c: (print_element_info):
19333           Use libxml2 for registry parsing, use staticpadtemplates in
19334           elementfactories. Makes gst_init() +/- 10x faster.
19335
19336 2005-04-12  Wim Taymans  <wim@fluendo.com>
19337
19338         * gst/base/Makefile.am:
19339         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19340         (gst_basesink_pad_getcaps), (gst_basesink_init),
19341         (gst_basesink_event), (gst_basesink_change_state):
19342         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19343         (gst_basesrc_init), (gst_basesrc_query),
19344         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19345         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19346         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19347         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19348         (gst_basesrc_stop), (gst_basesrc_activate),
19349         (gst_basesrc_change_state):
19350         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19351         (helper_find_suggest), (gst_type_find_helper):
19352         * gst/base/gsttypefindhelper.h:
19353         * gst/elements/Makefile.am:
19354         * gst/elements/gstelements.c:
19355         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19356         (gst_fakesink_get_times), (gst_fakesink_event),
19357         (gst_fakesink_preroll), (gst_fakesink_render):
19358         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19359         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19360         (gst_fakesrc_get_property), (gst_fakesrc_create),
19361         (gst_fakesrc_start), (gst_fakesrc_stop):
19362         * gst/elements/gstfakesrc.h:
19363         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19364         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19365         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19366         (gst_filesrc_create_read), (gst_filesrc_create),
19367         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19368         (gst_filesrc_start):
19369         * gst/elements/gsttypefindelement.c:
19370         (gst_type_find_element_have_type), (gst_type_find_element_init),
19371         (start_typefinding), (stop_typefinding), (push_buffer_store),
19372         (gst_type_find_element_handle_event),
19373         (gst_type_find_element_chain),
19374         (gst_type_find_element_checkgetrange),
19375         (gst_type_find_element_getrange), (do_typefind),
19376         (gst_type_find_element_activate),
19377         (gst_type_find_element_change_state):
19378         * gst/elements/gsttypefindelement.h:
19379         * gst/gstpipeline.c: (pipeline_bus_handler):
19380         Added typefind helper.
19381         Small preroll fix in the base sink.
19382         Disable typefind code in basesrc.
19383         Crude port of typefindelement.
19384         Fakesrc cleanups.
19385
19386
19387 2005-04-11  Wim Taymans  <wim@fluendo.com>
19388
19389         * check/gst/gstbus.c: (gstbus_suite):
19390         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19391         * check/gstcheck.h:
19392           Fix up the timeout so that the test does not fail.
19393
19394 2005-04-06  Wim Taymans  <wim@fluendo.com>
19395
19396         * gst/base/README:
19397         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19398         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19399         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19400         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19401         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19402         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19403         (gst_basesrc_stop), (gst_basesrc_activate),
19404         (gst_basesrc_change_state), (basesrc_find_peek),
19405         (basesrc_find_suggest), (gst_basesrc_type_find):
19406         * gst/base/gstbasesrc.h:
19407         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19408         (gst_filesrc_class_init), (gst_filesrc_init),
19409         (gst_filesrc_finalize), (gst_filesrc_set_location),
19410         (gst_filesrc_set_property), (gst_filesrc_get_property),
19411         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19412         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19413         (gst_filesrc_create_read), (gst_filesrc_create),
19414         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19415         * gst/elements/gstfilesrc.h:
19416         * gst/gstelement.c: (gst_element_get_state_func),
19417         (gst_element_lost_state), (gst_element_pads_activate):
19418         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19419         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19420         (gst_pad_pull_range):
19421         * gst/gstpad.h:
19422         More work on the generic source base class, implement seeking,
19423         query.
19424         Make filesrc extend the base source class.
19425         Added gst_pad_set_checkgetrange_function to GstPad.
19426
19427 2005-04-06  Andy Wingo  <wingo@pobox.com>
19428
19429         * pkgconfig/gstreamer-base.pc.in:
19430         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19431
19432         * pkgconfig/Makefile.am:
19433         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19434
19435 2005-04-04  Wim Taymans  <wim@fluendo.com>
19436
19437         * gst/base/Makefile.am:
19438         * gst/base/README:
19439         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19440         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19441         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19442         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19443         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19444         (gst_basesrc_base_init), (gst_basesrc_class_init),
19445         (gst_basesrc_init), (gst_basesrc_get_formats),
19446         (gst_basesrc_get_query_types), (gst_basesrc_query),
19447         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19448         (gst_basesrc_set_property), (gst_basesrc_get_property),
19449         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19450         (gst_basesrc_loop), (gst_basesrc_activate),
19451         (gst_basesrc_change_state):
19452         * gst/base/gstbasesrc.h:
19453         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19454         (gst_fakesrc_class_init), (gst_fakesrc_init),
19455         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19456         (gst_fakesrc_get_property), (gst_fakesrc_create):
19457         * gst/elements/gstfakesrc.h:
19458         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19459         (gst_filesrc_open_file), (gst_filesrc_loop),
19460         (gst_filesrc_activate), (filesrc_find_peek),
19461         (gst_filesrc_type_find):
19462         Made base source class, make fakesrc extend it.
19463         Add comments to basesink class.
19464         Some filesrc cleanup.
19465
19466 2005-03-31  David Schleef  <ds@schleef.org>
19467
19468         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19469         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19470         expected to link against libgstreamer.
19471         * gst/base/Makefile.am: link against libgstreamer
19472         * gst/elements/Makefile.am: same
19473
19474 2005-03-31  Andy Wingo  <wingo@pobox.com>
19475
19476         * tests/instantiate/Makefile.am:
19477         * tests/instantiate/caps.c: Add test to test speed of caps copy
19478         and free.
19479
19480         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19481         GMemChunk to be fair.
19482
19483         * gst/gsttrashstack.h: Remove warning about using the fallback
19484         trash stack implementation, it's still faster than malloc.
19485
19486 2005-03-30  Andy Wingo  <wingo@pobox.com>
19487
19488         * tests/complexity.c: Add a copyright.
19489
19490 2005-03-31  Wim Taymans  <wim@fluendo.com>
19491
19492         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19493         (gst_base_transform_class_init), (gst_base_transform_init),
19494         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19495         (gst_base_transform_get_property),
19496         (gst_base_transform_sink_activate),
19497         (gst_base_transform_src_activate),
19498         (gst_base_transform_change_state):
19499         * gst/base/gstbasetransform.h:
19500         * gst/elements/gstidentity.c: (gst_identity_class_init),
19501         (gst_identity_event), (gst_identity_check_perfect),
19502         (gst_identity_transform), (gst_identity_start),
19503         (gst_identity_stop):
19504         Added start/stop methods to transform base class so subclasses 
19505         don't need to deal with state changes even.
19506
19507 2005-03-31  Wim Taymans  <wim@fluendo.com>
19508
19509         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19510         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19511         * gst/gstevent.h:
19512         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19513         (gst_pad_pull_range):
19514         Added rate to the discont event to prepare for variable speed
19515         and reverse playback.
19516
19517 2005-03-29  David Schleef  <ds@schleef.org>
19518
19519         * configure.ac:
19520         * testsuite/trigger/Makefile.am:
19521         * testsuite/trigger/trigger.c: A little example program to show
19522         how trigger-based elements can work.
19523
19524 2005-03-29  Wim Taymans  <wim@fluendo.com>
19525
19526         * gst/base/Makefile.am:
19527         * gst/base/README:
19528         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19529         (gst_basesink_base_init), (gst_basesink_class_init),
19530         (gst_basesink_pad_getcaps), (gst_basesink_init),
19531         (gst_basesink_activate), (gst_basesink_change_state):
19532         * gst/base/gstbasesink.h:
19533         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19534         (gst_base_transform_base_init), (gst_base_transform_finalize),
19535         (gst_base_transform_class_init), (gst_base_transform_init),
19536         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19537         (gst_base_transform_event), (gst_base_transform_getrange),
19538         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19539         (gst_base_transform_set_property),
19540         (gst_base_transform_get_property),
19541         (gst_base_transform_sink_activate),
19542         (gst_base_transform_src_activate),
19543         (gst_base_transform_change_state):
19544         * gst/base/gstbasetransform.h:
19545         * gst/elements/gstidentity.c: (gst_identity_finalize),
19546         (gst_identity_class_init), (gst_identity_init),
19547         (gst_identity_event), (gst_identity_check_perfect),
19548         (gst_identity_transform), (gst_identity_set_property),
19549         (gst_identity_get_property), (gst_identity_change_state):
19550         * gst/elements/gstidentity.h:
19551         * gst/gstelement.c: (gst_element_get_state_func),
19552         (gst_element_lost_state), (gst_element_pads_activate):
19553         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19554         (gst_pad_check_pull_range), (gst_pad_pull_range):
19555         * gst/gstpad.h:
19556         Simplify pad activation.
19557         Added function to check if pull_range can be performed.
19558         Error out when pulling inactive or flushing pads.
19559         Removed const from refcounted types as it does not make sense.
19560         Simplify pad templates in basesink
19561         Added base class for simple 1-to-1 transforms.
19562         Make identity subclass the base transform.
19563
19564 2005-03-29  Andy Wingo  <wingo@pobox.com>
19565
19566         * docs/libs/gstreamer-libs-overrides.txt: 
19567         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19568         really don't understand what's going on, but like whatever. I want
19569         green buildbot!
19570
19571         * docs/gst/Makefile.am:
19572         * docs/libs/Makefile.am: Dist the overrides files.
19573
19574         * check/Makefile.am (clean-local): Remove .libs directories.
19575
19576         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19577         elements to EXTRA_DIST, so po/ files are happy.
19578
19579         * po/POTFILES.in: Er, remove it here.
19580
19581         * po/POTFILES: Remove gstspider.c.
19582
19583         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19584
19585         * docs/libs/gstreamer-libs-docs.sgml: 
19586         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19587         bytestream.
19588
19589         * tests/complexity.c (main): Set the length of the preroll queue
19590         on the sinks to prevent a lockup.
19591
19592         * libs/gst/dataprotocol/Makefile.am: 
19593         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19594         the same as the one in check/gst-libs/gdp.c.
19595
19596         * po/, docs/gst/: Commit automatic changes to docs and po files.
19597
19598         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19599         the versioned libgstbase.
19600
19601         * check/Makefile.am: Depend on an unversioned gst-register, seems
19602         to make autoconf happier.
19603
19604         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19605
19606 2005-03-28  Wim Taymans  <wim@fluendo.com>
19607
19608         * configure.ac:
19609         * docs/design/part-gstelement.txt:
19610         * docs/design/part-negotiation.txt:
19611         * docs/design/part-preroll.txt:
19612         * docs/design/part-scheduling.txt:
19613         * docs/design/part-states.txt:
19614         * gst/Makefile.am:
19615         * gst/base/Makefile.am:
19616         * gst/base/README:
19617         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19618         (gst_basesink_base_init), (gst_basesink_class_init),
19619         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19620         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19621         (gst_basesink_set_pad_functions),
19622         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19623         (gst_basesink_set_property), (gst_basesink_get_property),
19624         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19625         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19626         (gst_basesink_preroll_queue_push),
19627         (gst_basesink_preroll_queue_empty),
19628         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19629         (gst_basesink_event), (gst_basesink_get_times),
19630         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19631         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19632         (gst_basesink_loop), (gst_basesink_activate),
19633         (gst_basesink_change_state):
19634         * gst/base/gstbasesink.h:
19635         * gst/elements/Makefile.am:
19636         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19637         (gst_fakesink_class_init), (gst_fakesink_init),
19638         (gst_fakesink_set_property), (gst_fakesink_get_property),
19639         (gst_fakesink_get_times), (gst_fakesink_event),
19640         (gst_fakesink_preroll), (gst_fakesink_render),
19641         (gst_fakesink_change_state):
19642         * gst/elements/gstfakesink.h:
19643         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19644         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19645         * gst/gstelement.c: (gst_element_add_pad),
19646         (gst_element_get_state_func), (gst_element_abort_state),
19647         (gst_element_commit_state), (gst_element_lost_state),
19648         (gst_element_set_state), (gst_element_pads_activate):
19649         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19650         * gst/gstpipeline.c: (gst_pipeline_send_event),
19651         (gst_pipeline_change_state):
19652         Added state change code.
19653         Added/updated docs.
19654         Added sink base class, make fakesink extend the base class.
19655         Small cleanups in GstPipeline.
19656
19657 2005-03-26  David Schleef  <ds@schleef.org>
19658
19659         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19660         is broken and should be implemented in a different library.
19661         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19662         * gst/gst.h: remove gstcpu.h
19663         * gst/gstcpu.c: remove
19664         * gst/gstcpu.h: remove
19665         * gst/Makefile.am.future: Remove this file.  It's ancient.
19666
19667 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19668
19669         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19670         (gst_bin_send_event):
19671           Add default event/set_manager handlers. The set_manager handler
19672           takes care that the manager is distributed over kids that were
19673           already in the bin before the manager was set. The event handler
19674           is a utility virtual function that sends the event over all sinks,
19675           so that gst_element_send_event (bin, event); has the expected
19676           behaviour.
19677         * gst/gstpad.c: (gst_pad_event_default):
19678           Re-install default event handling for discontinuities, so that
19679           seeking works without requiring hacks in applications or extra
19680           code in sinks.
19681         * gst/gstpipeline.c: (gst_pipeline_class_init),
19682         (gst_pipeline_send_event):
19683           Half hack, half utility: set a pipeline to PAUSED for seek events,
19684           since that is the only way we can guarantee a/v sync. Means that
19685           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19686           and it "just works".
19687
19688 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19689
19690         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19691           Lock/unlock mismatch.
19692
19693 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19694
19695         * docs/faq/gst-uninstalled:
19696           add gst-plugins-base
19697         * docs/gst/Makefile.am:
19698           don't error out until docs are fixed
19699         * docs/gst/gstreamer.types:
19700           remove thread
19701
19702 2005-03-22  Wim Taymans  <wim@fluendo.com>
19703
19704         * check/Makefile.am:
19705         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19706         * gst/gststructure.c: (gst_structure_set_valist),
19707         (gst_structure_copy_conditional):
19708         Activated more tests.
19709         Added message test.
19710         Added G_TYPE_POINTER to GstStructure.
19711         
19712
19713 2005-03-22  Wim Taymans  <wim@fluendo.com>
19714
19715         * docs/design/part-TODO.txt:
19716         * docs/design/part-events.txt:
19717         * docs/design/part-gstbin.txt:
19718         * docs/design/part-gstbus.txt:
19719         * docs/design/part-gstpipeline.txt:
19720         * docs/design/part-messages.txt:
19721         * gst/gstbus.c:
19722         * gst/gstmessage.c:
19723         Docs updates
19724
19725 2005-03-21  Wim Taymans  <wim@fluendo.com>
19726
19727         * gst/gstbus.c: (gst_bus_post):
19728         Fix copy-and-paste error.
19729
19730 2005-03-21  Wim Taymans  <wim@fluendo.com>
19731
19732         * check/Makefile.am:
19733         * gst/Makefile.am:
19734         * gst/elements/Makefile.am:
19735         * gst/elements/gstelements.c:
19736         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19737         (gst_fakesink_event), (gst_fakesink_chain):
19738         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19739         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19740         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19741         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19742         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19743         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19744         (gst_fakesrc_loop), (gst_fakesrc_activate),
19745         (gst_fakesrc_change_state):
19746         * gst/elements/gstfakesrc.h:
19747         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19748         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19749         (gst_filesrc_open_file), (gst_filesrc_loop),
19750         (gst_filesrc_activate), (gst_filesrc_change_state),
19751         (filesrc_find_peek), (filesrc_find_suggest),
19752         (gst_filesrc_type_find):
19753         * gst/elements/gstidentity.c: (gst_identity_finalize),
19754         (gst_identity_class_init), (gst_identity_init),
19755         (gst_identity_proxy_getcaps), (identity_queue_push),
19756         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19757         (gst_identity_getrange), (gst_identity_chain),
19758         (gst_identity_sink_loop), (gst_identity_src_loop),
19759         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19760         (gst_identity_set_property), (gst_identity_get_property),
19761         (gst_identity_change_state):
19762         * gst/elements/gstidentity.h:
19763         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19764         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19765         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19766         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19767         (gst_tee_sink_activate):
19768         * gst/elements/gsttee.h:
19769         * gst/gst.c: (gst_register_core_elements), (init_post):
19770         * gst/gst.h:
19771         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19772         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19773         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19774         (gst_bin_change_state):
19775         * gst/gstbin.h:
19776         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19777         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19778         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19779         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19780         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19781         (bus_watch_callback), (bus_watch_destroy),
19782         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19783         (poll_timeout), (gst_bus_poll):
19784         * gst/gstbus.h:
19785         * gst/gstcaps.h:
19786         * gst/gstdata.h:
19787         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19788         (gst_element_post_message), (gst_element_message_full),
19789         (gst_element_get_state_func), (gst_element_get_state),
19790         (gst_element_abort_state), (gst_element_commit_state),
19791         (gst_element_lost_state), (gst_element_set_state),
19792         (gst_element_pads_activate), (gst_element_change_state),
19793         (gst_element_dispose), (gst_element_set_manager_func),
19794         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19795         (gst_element_set_manager), (gst_element_get_manager),
19796         (gst_element_set_bus), (gst_element_get_bus),
19797         (gst_element_set_scheduler), (gst_element_get_scheduler):
19798         * gst/gstelement.h:
19799         * gst/gstevent.c: (gst_event_new_segment_seek),
19800         (gst_event_new_flush):
19801         * gst/gstevent.h:
19802         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19803         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19804         (gst_message_new_eos), (gst_message_new_error),
19805         (gst_message_new_warning), (gst_message_new_tag),
19806         (gst_message_new_state_changed), (gst_message_new_application),
19807         (gst_message_get_structure), (gst_message_parse_tag),
19808         (gst_message_parse_state_changed), (gst_message_parse_error),
19809         (gst_message_parse_warning):
19810         * gst/gstmessage.h:
19811         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19812         (gst_real_pad_set_property), (gst_pad_set_active),
19813         (gst_pad_is_active), (gst_pad_set_blocked_async),
19814         (gst_pad_set_blocked), (gst_pad_is_blocked),
19815         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19816         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19817         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19818         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19819         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19820         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19821         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19822         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19823         (gst_pad_set_caps), (gst_pad_configure_sink),
19824         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19825         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19826         (gst_real_pad_dispose), (gst_real_pad_finalize),
19827         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19828         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19829         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19830         * gst/gstpad.h:
19831         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19832         (pipeline_bus_handler), (gst_pipeline_change_state),
19833         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19834         * gst/gstpipeline.h:
19835         * gst/gstprobe.h:
19836         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19837         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19838         (gst_queue_link_src), (gst_queue_bufferalloc),
19839         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19840         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19841         (gst_queue_loop), (gst_queue_handle_src_event),
19842         (gst_queue_handle_src_query), (gst_queue_src_activate),
19843         (gst_queue_change_state):
19844         * gst/gstqueue.h:
19845         * gst/gstscheduler.c: (gst_scheduler_init),
19846         (gst_scheduler_dispose), (gst_scheduler_create_task),
19847         (gst_scheduler_factory_create):
19848         * gst/gstscheduler.h:
19849         * gst/gststructure.c: (gst_structure_get_type),
19850         (gst_structure_copy_conditional):
19851         * gst/gststructure.h:
19852         * gst/gsttaginterface.h:
19853         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19854         (gst_task_init), (gst_task_dispose), (gst_task_create),
19855         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19856         (gst_task_pause):
19857         * gst/gsttask.h:
19858         * gst/gstthread.c:
19859         * gst/gstthread.h:
19860         * gst/gsttypes.h:
19861         * gst/schedulers/Makefile.am:
19862         * gst/schedulers/cothreads_compat.h:
19863         * gst/schedulers/entryscheduler.c:
19864         * gst/schedulers/faircothreads.c:
19865         * gst/schedulers/faircothreads.h:
19866         * gst/schedulers/fairscheduler.c:
19867         * gst/schedulers/gstbasicscheduler.c:
19868         * gst/schedulers/gstoptimalscheduler.c:
19869         * gst/schedulers/gthread-cothreads.h:
19870         * gst/schedulers/threadscheduler.c:
19871         (gst_thread_scheduler_task_get_type),
19872         (gst_thread_scheduler_task_class_init),
19873         (gst_thread_scheduler_task_init),
19874         (gst_thread_scheduler_task_start),
19875         (gst_thread_scheduler_task_stop),
19876         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19877         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19878         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19879         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19880         (plugin_init):
19881         * libs/gst/Makefile.am:
19882         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19883         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19884         (gst_file_pad_parent_set):
19885         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19886         (gst_dp_event_from_packet):
19887         * tests/complexity.c: (main):
19888         * tests/mass_elements.c: (main):
19889         * testsuite/states/locked.c: (message_received), (main):
19890         * testsuite/states/parent.c: (main):
19891         * tools/gst-inspect.c: (print_element_flag_info),
19892         (print_implementation_info), (print_pad_info):
19893         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19894         (main):
19895         * tools/gst-md5sum.c: (event_loop), (main):
19896         * tools/gst-typefind.c: (main):
19897         * tools/gst-xmlinspect.c: (print_element_info):
19898         Next big merge.
19899         Added GstBus for mainloop integration.
19900         Added GstMessage for sending notifications on the bus.
19901         Added GstTask as an abstraction for pipeline entry points.
19902         Removed GstThread.
19903         Removed Schedulers.
19904         Simplified GstQueue for multithreaded core.
19905         Made _link threadsafe, removed old capsnego.
19906         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19907         Added pad blocking functions.
19908         Reworked scheduling functions in GstPad to prepare for
19909         scheduling updates soon.
19910         Moved events out of data stream.
19911         Simplified GstEvent types.
19912         Added return values to push/pull.
19913         Removed clocking from GstElement.
19914         Added prototypes for state change function for next merge.
19915         Removed iterate from bins and state change management.
19916         Fixed some elements, disabled others for now.
19917         Fixed -inspect and -launch.
19918         Added check for GstBus.
19919
19920 2005-03-10  Wim Taymans  <wim@fluendo.com>
19921
19922         * docs/design/part-MT-refcounting.txt:
19923         * docs/design/part-clocks.txt:
19924         * docs/design/part-gstelement.txt:
19925         * docs/design/part-gstobject.txt:
19926         * docs/design/part-standards.txt:
19927         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19928         (gst_bin_remove_func), (gst_bin_remove):
19929         * gst/gstbin.h:
19930         * gst/gstbuffer.c:
19931         * gst/gstcaps.h:
19932         * testsuite/clock/clock1.c: (main):
19933         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19934         (main):
19935         * testsuite/dlopen/loadgst.c: (do_test):
19936         * testsuite/refcounting/bin.c: (add_remove_test1),
19937         (add_remove_test2), (main):
19938         * testsuite/refcounting/element.c: (main):
19939         * testsuite/refcounting/element_pad.c: (main):
19940         * testsuite/refcounting/pad.c: (main):
19941         * tools/gst-launch.c: (sigint_handler_sighandler):
19942         * tools/gst-typefind.c: (main):
19943         Doc updates.
19944         Added doc about clock.
19945         removed gst_bin_iterate_recurse_up(), marked methods
19946         for removal.
19947         Fix more testsuites.
19948
19949 2005-03-09  Wim Taymans  <wim@fluendo.com>
19950
19951         * gst/gstpad.c: (gst_pad_get_direction),
19952         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19953         (gst_pad_collect_valist):
19954         * testsuite/bins/interface.c: (main):
19955         * testsuite/caps/audioscale.c: (test_caps):
19956         * testsuite/caps/caps.c: (test1), (test2), (test3):
19957         * testsuite/caps/deserialize.c: (main):
19958         * testsuite/caps/enumcaps.c: (main):
19959         * testsuite/caps/filtercaps.c: (main):
19960         * testsuite/caps/intersect2.c: (main):
19961         * testsuite/caps/random.c: (main):
19962         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19963         * testsuite/caps/sets.c: (check_caps):
19964         * testsuite/caps/simplify.c: (check_caps), (main):
19965         * testsuite/caps/subtract.c: (check_caps):
19966         Fix _pad_get_direction wrt ghostpads.
19967         Fix caps testsuite.
19968
19969 2005-03-09  Wim Taymans  <wim@fluendo.com>
19970
19971         * check/Makefile.am:
19972         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19973         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19974         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19975         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19976         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19977         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19978         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19979         (bin_element_is_sink), (gst_bin_iterate_sinks),
19980         (gst_bin_iterate_all_by_interface):
19981         * gst/gstbin.h:
19982         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19983         (gst_element_change_state), (gst_element_dispose),
19984         (gst_element_finalize), (gst_element_set_loop_function):
19985         * gst/gstelement.h:
19986         * gst/gstiterator.c: (find_custom_fold_func):
19987         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19988         (gst_pad_collectv), (gst_pad_collect_valist),
19989         (gst_pad_template_new):
19990         * gst/gstpipeline.c: (gst_pipeline_class_init),
19991         (gst_pipeline_dispose), (gst_pipeline_set_property),
19992         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19993         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19994         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19995         * gst/gstutils.h:
19996         * gst/schedulers/entryscheduler.c:
19997         * gst/schedulers/gstbasicscheduler.c:
19998         (gst_basic_scheduler_cothreaded_chain),
19999         (gst_basic_scheduler_chain_add_element):
20000         * testsuite/bins/interface.c: (main):
20001         Added GstBin test.
20002         Added GstSystemClock test.
20003         Implemented clock distribution code in GstBin.
20004         Implemented iterate sinks method for future use.
20005         Rearranged gstelement.h
20006         Fix GstIterator comparison bug.
20007         Moved some code to GstPipeline, mostly clocking related.
20008
20009 2005-03-09  Wim Taymans  <wim@fluendo.com>
20010
20011         * configure.ac:
20012         * gst/gst_private.h:
20013         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20014         (gst_bin_remove_func), (gst_bin_remove),
20015         (gst_bin_get_by_name_recurse_up):
20016         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20017         (gst_clock_id_compare_func), (gst_clock_id_wait),
20018         (gst_clock_id_wait_async), (gst_clock_init),
20019         (gst_clock_adjust_unlocked), (gst_clock_get_time):
20020         * gst/gstelement.h:
20021         * gst/gstinfo.c: (_gst_debug_init):
20022         * gst/gstobject.h:
20023         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20024         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20025         * gst/gstpad.h:
20026         Bump version number, we're now 0.9.0
20027         Add future debugging category.
20028         Fix NULL _unref() in _get_by_name_recurse_up
20029         Rearrange gstpad.h.
20030         Update some docs.
20031
20032 2005-03-08  Wim Taymans  <wim@fluendo.com>
20033
20034         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20035         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20036         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20037         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20038         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20039         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20040         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20041         * gst/elements/gstidentity.c: (gst_identity_class_init):
20042         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20043         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20044         * gst/elements/gstshaper.c: (gst_shaper_class_init):
20045         * gst/elements/gststatistics.c: (gst_statistics_class_init):
20046         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20047         (gst_tee_link):
20048         * gst/gstelement.c: (gst_element_class_init),
20049         (gst_element_base_class_init), (gst_element_init),
20050         (gst_element_get_random_pad), (gst_element_wait_state_change),
20051         (gst_element_change_state), (gst_element_dispose),
20052         (gst_element_finalize), (gst_element_set_loop_function):
20053         * gst/gstelement.h:
20054         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20055         * gst/gstthread.c: (gst_thread_class_init),
20056         (gst_thread_release_children_locks), (gst_thread_change_state):
20057         * gst/schedulers/gstbasicscheduler.c:
20058         (gst_basic_scheduler_loopfunc_wrapper),
20059         (gst_basic_scheduler_chain_wrapper),
20060         (gst_basic_scheduler_src_wrapper),
20061         (gst_basic_scheduler_remove_element):
20062         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20063         Remove threadsafe properties. Fix elements because GObject
20064         complains when installing a property before declaring a
20065         set/get_property handler.
20066         Rearrange gstelement.h file, use STATE macros for state locks.
20067         Free mutexes in the finalize method instead of dispose.
20068
20069 2005-03-08  Wim Taymans  <wim@fluendo.com>
20070
20071         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20072         * gst/gstthread.c: (gst_thread_release_children_locks):
20073         Added parentage check.
20074         Fix build og GstThread again.
20075
20076 2005-03-08  Wim Taymans  <wim@fluendo.com>
20077
20078         * docs/design/part-MT-refcounting.txt:
20079         * docs/design/part-conventions.txt:
20080         * docs/design/part-gstobject.txt:
20081         * docs/design/part-relations.txt:
20082         * docs/design/part-standards.txt:
20083         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20084         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20085         (gst_bin_get_by_name), (gst_bin_get_by_interface),
20086         (gst_bin_iterate_all_by_interface):
20087         * gst/gstbuffer.h:
20088         * gst/gstclock.h:
20089         * gst/gstelement.c: (gst_element_class_init),
20090         (gst_element_change_state), (gst_element_set_loop_function):
20091         * gst/gstelement.h:
20092         * gst/gstiterator.c:
20093         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20094         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20095         (gst_object_dispatch_properties_changed), (gst_object_set_name),
20096         (gst_object_set_parent), (gst_object_unparent),
20097         (gst_object_check_uniqueness):
20098         * gst/gstobject.h:
20099         Docs updates, clean up some headers.
20100
20101 2005-03-07  Wim Taymans  <wim@fluendo.com>
20102
20103         * check/.cvsignore:
20104         * check/Makefile.am:
20105         * check/gst-libs/.cvsignore:
20106         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20107         * check/gst/.cvsignore:
20108         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20109         (START_TEST), (gstbus_suite), (main):
20110         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20111         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20112         (gst_data_suite), (main):
20113         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20114         (add_fold_func), (gstiterator_suite), (main):
20115         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20116         (thread_name_object), (thread_name_object_default),
20117         (gst_object_name_compare), (gst_object_suite), (main):
20118         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20119         (gst_pad_suite), (main):
20120         * check/gstcheck.c: (gst_check_log_message_func),
20121         (gst_check_log_critical_func), (gst_check_init):
20122         * check/gstcheck.h:
20123         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20124         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20125         Added checks.
20126
20127 2005-03-07  Wim Taymans  <wim@fluendo.com>
20128
20129         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20130         (gst_list_iterator_next), (gst_list_iterator_resync),
20131         (gst_list_iterator_free), (gst_iterator_new_list),
20132         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20133         (gst_iterator_free), (gst_iterator_push), (filter_next),
20134         (filter_resync), (filter_uninit), (filter_free),
20135         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20136         (gst_iterator_foreach), (find_custom_fold_func),
20137         (gst_iterator_find_custom):
20138         * gst/gstiterator.h:
20139         Added missing files.
20140
20141 2005-03-07  Wim Taymans  <wim@fluendo.com>
20142
20143         * Makefile.am:
20144         * configure.ac:
20145         * docs/design/part-MT-refcounting.txt:
20146         * docs/design/part-conventions.txt:
20147         * docs/design/part-gstobject.txt:
20148         * docs/design/part-relations.txt:
20149         * examples/mixer/mixer.c: (main):
20150         * examples/thread/thread.c: (eos), (main):
20151         * gst/Makefile.am:
20152         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20153         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20154         (gst_spider_plug_from_srcpad):
20155         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20156         (gst_spider_identity_change_state),
20157         (gst_spider_identity_sink_loop_type_finding):
20158         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20159         * gst/elements/gstidentity.c: (gst_identity_init):
20160         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20161         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20162         * gst/elements/gsttypefindelement.c: (free_entry):
20163         * gst/gst.c:
20164         * gst/gst.h:
20165         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20166         (gst_bin_set_clock_func), (gst_bin_auto_clock),
20167         (gst_bin_set_index), (gst_bin_set_element_sched),
20168         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20169         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20170         (gst_bin_iterate_elements), (iterate_child_recurse),
20171         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20172         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20173         (compare_interface), (gst_bin_get_by_interface),
20174         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20175         * gst/gstbin.h:
20176         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20177         (gst_buffer_default_free), (gst_buffer_default_copy),
20178         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20179         (gst_buffer_create_sub):
20180         * gst/gstbuffer.h:
20181         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20182         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20183         (gst_caps_unref), (gst_static_caps_get),
20184         (gst_caps_remove_and_get_structure), (gst_caps_append),
20185         (gst_caps_append_structure), (gst_caps_remove_structure),
20186         (gst_caps_copy_nth), (gst_caps_set_simple),
20187         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20188         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20189         (gst_caps_structure_intersect_field), (gst_caps_intersect),
20190         (gst_caps_structure_subtract_field), (gst_caps_subtract),
20191         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20192         (gst_caps_structure_figure_out_union),
20193         (gst_caps_switch_structures), (gst_caps_do_simplify),
20194         (gst_caps_replace), (gst_caps_from_string),
20195         (gst_caps_copy_conditional):
20196         * gst/gstcaps.h:
20197         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20198         (_gst_clock_id_free), (gst_clock_id_unref),
20199         (gst_clock_id_compare_func), (gst_clock_id_wait),
20200         (gst_clock_id_wait_async), (gst_clock_class_init),
20201         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20202         (gst_clock_get_time), (gst_clock_set_time_adjust),
20203         (gst_clock_set_property), (gst_clock_get_property):
20204         * gst/gstclock.h:
20205         * gst/gstcompat.h:
20206         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20207         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20208         * gst/gstdata.h:
20209         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20210         (gst_element_requires_clock), (gst_element_provides_clock),
20211         (gst_element_set_clock), (gst_element_clock_wait),
20212         (gst_element_wait), (gst_element_set_time_delay),
20213         (gst_element_is_indexable), (gst_element_add_pad),
20214         (gst_element_add_ghost_pad), (gst_element_remove_pad),
20215         (pad_compare_name), (gst_element_get_static_pad),
20216         (gst_element_request_pad), (gst_element_get_request_pad),
20217         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20218         (gst_element_class_get_pad_template_list),
20219         (gst_element_class_get_pad_template), (gst_element_error_func),
20220         (gst_element_get_random_pad), (gst_element_get_event_masks),
20221         (gst_element_send_event), (gst_element_seek),
20222         (gst_element_get_query_types), (gst_element_query),
20223         (gst_element_get_formats), (gst_element_convert),
20224         (gst_element_is_locked_state), (gst_element_set_locked_state),
20225         (gst_element_sync_state_with_parent), (gst_element_change_state),
20226         (gst_element_finalize), (gst_element_yield),
20227         (gst_element_interrupt), (gst_element_set_scheduler),
20228         (gst_element_get_scheduler), (gst_element_set_loop_function):
20229         * gst/gstelement.h:
20230         * gst/gstevent.h:
20231         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20232         (gst_format_get_by_nick), (gst_format_get_details),
20233         (gst_format_iterate_definitions):
20234         * gst/gstformat.h:
20235         * gst/gstindex.c: (gst_index_gtype_resolver):
20236         * gst/gstinfo.c:
20237         * gst/gstinfo.h:
20238         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20239         (gst_mem_chunk_free):
20240         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20241         (gst_object_ref), (gst_object_unref), (gst_object_sink),
20242         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20243         (gst_object_dispatch_properties_changed),
20244         (gst_object_set_name_default), (gst_object_set_name),
20245         (gst_object_get_name), (gst_object_set_name_prefix),
20246         (gst_object_get_name_prefix), (gst_object_set_parent),
20247         (gst_object_get_parent), (gst_object_unparent),
20248         (gst_object_check_uniqueness), (gst_object_save_thyself),
20249         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20250         (gst_object_set_property), (gst_object_get_property),
20251         (gst_object_get_path_string):
20252         * gst/gstobject.h:
20253         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20254         (gst_real_pad_init), (gst_real_pad_get_property),
20255         (gst_pad_custom_new), (gst_pad_get_direction),
20256         (gst_pad_set_active), (gst_pad_is_active),
20257         (gst_pad_set_event_function), (gst_pad_is_linked),
20258         (gst_pad_link_free), (gst_pad_link_intersect),
20259         (gst_pad_link_fixate), (gst_pad_set_caps),
20260         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20261         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20262         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20263         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20264         (gst_pad_get_caps), (gst_pad_peer_get_caps),
20265         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20266         (gst_pad_realize), (gst_pad_get_allowed_caps),
20267         (gst_real_pad_dispose), (gst_real_pad_finalize),
20268         (gst_pad_collectv), (gst_pad_collect_valist),
20269         (gst_pad_template_dispose), (gst_pad_template_new),
20270         (gst_pad_get_internal_links):
20271         * gst/gstpad.h:
20272         * gst/gstpipeline.c: (gst_pipeline_dispose),
20273         (gst_pipeline_change_state):
20274         * gst/gstpipeline.h:
20275         * gst/gstplugin.c:
20276         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20277         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20278         * gst/gstpluginfeature.h:
20279         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20280         * gst/gstquery.c: (_gst_query_type_initialize),
20281         (gst_query_type_register), (gst_query_type_get_by_nick),
20282         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20283         * gst/gstquery.h:
20284         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20285         * gst/gstscheduler.c: (gst_scheduler_add_element),
20286         (gst_scheduler_factory_create):
20287         * gst/gststructure.c: (gst_structure_set_parent_refcount),
20288         (gst_structure_free), (gst_structure_set_name),
20289         (gst_structure_id_set_value), (gst_structure_set_value),
20290         (gst_structure_set_valist), (gst_structure_remove_field),
20291         (gst_structure_remove_fields),
20292         (gst_structure_remove_fields_valist),
20293         (gst_structure_remove_all_fields), (gst_structure_foreach),
20294         (gst_structure_map_in_place),
20295         (gst_caps_structure_fixate_field_nearest_int),
20296         (gst_caps_structure_fixate_field_nearest_double):
20297         * gst/gststructure.h:
20298         * gst/gstsystemclock.c: (gst_system_clock_class_init),
20299         (gst_system_clock_init), (gst_system_clock_dispose),
20300         (gst_system_clock_async_thread),
20301         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20302         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20303         * gst/gstsystemclock.h:
20304         * gst/gsttag.c: (gst_tag_list_add_value_internal),
20305         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20306         * gst/gsttaginterface.c:
20307         * gst/gstthread.c: (gst_thread_dispose),
20308         (gst_thread_release_children_locks), (gst_thread_change_state),
20309         (gst_thread_main_loop):
20310         * gst/gsttrashstack.h:
20311         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20312         * gst/gsttypes.h:
20313         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20314         (gst_element_request_pad), (gst_element_get_pad_from_template),
20315         (gst_element_request_compatible_pad),
20316         (gst_element_get_compatible_pad_filtered),
20317         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20318         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20319         (gst_element_link_many), (gst_element_link),
20320         (gst_element_link_pads), (gst_element_unlink_pads),
20321         (gst_element_unlink_many), (gst_element_unlink),
20322         (gst_pad_can_link_filtered), (gst_pad_can_link),
20323         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20324         (gst_object_default_error), (gst_bin_add_many),
20325         (gst_bin_remove_many), (gst_element_populate_std_props),
20326         (gst_element_class_install_std_props), (gst_buffer_merge),
20327         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20328         (link_fold_func), (gst_pad_proxy_setcaps):
20329         * gst/gstutils.h:
20330         * gst/gstvalue.c: (gst_value_deserialize_string):
20331         * gst/parse/grammar.y:
20332         * gst/schedulers/gstbasicscheduler.c:
20333         (gst_basic_scheduler_cothreaded_chain),
20334         (gst_basic_scheduler_chain_recursive_add),
20335         (gst_basic_scheduler_pad_link):
20336         * gst/schedulers/gstoptimalscheduler.c:
20337         (get_group_schedule_function),
20338         (gst_opt_scheduler_state_transition),
20339         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20340         * libs/gst/bytestream/bytestream.c:
20341         * libs/gst/dataprotocol/dataprotocol.c:
20342         (gst_dp_header_from_buffer):
20343         * po/nb.po:
20344         * po/ru.po:
20345         * tests/threadstate/threadstate2.c: (eos):
20346         * tools/gst-compprep.c: (main):
20347         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20348         (print_pad_info), (print_children_info):
20349         * tools/gst-launch.c: (idle_func), (main):
20350         * tools/gst-md5sum.c: (idle_func), (main):
20351         * tools/gst-xmlinspect.c: (print_element_info):
20352         First THREADED backport attempt, focusing on adding locks and
20353         making sure the API is threadsafe. Needs more work. More docs
20354         follow this week.
20355
20356 2005-02-24  Andy Wingo  <wingo@pobox.com>
20357
20358         * tests/bench-complexity.scm:
20359         * tests/complexity.gnuplot: New files, good for running complexity
20360         benchmarks.
20361
20362         * tests/Makefile.am:
20363         * tests/complexity.c: New test, sets up N elements, at each level
20364         teeing into M streams per element. Eeeenteresting.
20365
20366         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20367         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20368         running bench-mass_elements.scm.
20369
20370         * tests/bench-mass_elements.scm: New script, runs mass_elements
20371         for various numbers of identities, outputting the results to a
20372         file. Requires guile 1.6. Just for testing.
20373
20374 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20375
20376         * gst/schedulers/fairscheduler.c:
20377           compile with debug disabled
20378
20379 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20380
20381         * configure.ac:
20382           hunting season on 0.9 is now OPEN