gst/gstelement.h: Clarify _NO_PREROLL a bit more.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-13  Wim Taymans  <wim@fluendo.com>
2
3         * gst/gstelement.h:
4         Clarify _NO_PREROLL a bit more.
5
6         * gst/gstevent.c:
7         Fix docs.
8
9         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
10         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
11         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
12         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
13         due to wrong locking order. Fixes #361769.
14         Remove some redundant/misplaced checks in pad_block.
15
16         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
17         For negative rates, count backwards from the duration.
18
19 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20
21         * gst/gsterror.c: (_gst_library_errors_init):
22           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
23           up with something better).
24
25 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
26
27         * win32/vs6/libgstreamer.dsp:
28         * win32/vs7/libgstreamer.vcproj:
29         * win32/vs8/libgstreamer.vcproj:
30           Don't reference glib-compat.c which is currently not used and not
31           disted; add gstquark.c which was recently added. Fixes #361730.
32
33 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
34
35         * win32/common/libgstbase.def:
36         * win32/common/libgstcontroller.def:
37         * win32/common/libgstreamer.def:
38           Add gst_caps_merge() and a bunch of other recently-added functions.
39           Fixes #361732.
40
41 2006-10-11  Wim Taymans  <wim@fluendo.com>
42
43         * docs/plugins/gstreamer-plugins.args:
44         * docs/plugins/inspect/plugin-coreelements.xml:
45         * docs/plugins/inspect/plugin-coreindexers.xml:
46         Update element args.
47
48         * gst/gstsystemclock.c:
49         Small comment update.
50
51         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
52         (gst_tee_request_new_pad), (gst_tee_release_pad),
53         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
54         (gst_tee_sink_activate_pull):
55         * plugins/elements/gsttee.h:
56         Some tee loving:
57         Add default property defines.
58         Implement release pad function.
59         Give properties better blubs etc.
60         Activate pads before adding them to a running tee.
61         Do simple buffer_alloc on the first requested pad.
62         Post error when activation fails.
63
64 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
65
66         * gst/gst.c: (ensure_current_registry_forking):
67           Check return value of write() to make compiler happy.
68
69 2006-10-11  Wim Taymans  <wim@fluendo.com>
70
71         Patch by: Sjoerd Simons <sjoerd at luon dot net>
72
73         * plugins/elements/gstqueue.c: (gst_queue_chain):
74         Recheck queue filledness after signalling the overrun when we're about
75         to leak downstream because we released the lock when emitting the signal
76         and the queue could be empty again. Fixes #352345.
77
78 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
79
80         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
81           Fix refcounting here too, just like we did for _new_valist() a few
82           days ago (#357180) (thanks to René Stadler). Also remove all those
83           'Since: 0.9' from the gtk-doc blobs.
84
85         * tests/check/libs/controller.c: (controller_refcount_new_list),
86         (gst_controller_suite):
87           Unit test for the above.
88
89 2006-10-10  Wim Taymans  <wim@fluendo.com>
90
91         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
92
93         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
94         (gst_pad_save_thyself):
95         Update some docs.
96         Write pad direction in XML output. Fixes #345496.
97
98 2006-10-10  Wim Taymans  <wim@fluendo.com>
99
100         Patch by: René Stadler <mail at renestadler dot de>
101
102         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
103         (gst_controller_new_list), (_gst_controller_dispose),
104         (_gst_controller_finalize), (_gst_controller_class_init):
105         Take ref to controlled object so that it cannot disappear. 
106         Fixes #357432.
107
108 2006-10-10  Wim Taymans  <wim@fluendo.com>
109
110         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
111         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
112         (gst_check_teardown_sink_pad):
113         Activate/deactivate pads in setup/teardown respectively.
114
115 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
116
117         Patch by: Josep Torre Valles <josep@fluendo.com>
118
119         * gst/Makefile.am:
120         Cast values when making gstenumtypes.h.  This pacifies Forte
121         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
122         in the enumeration.
123
124 2006-10-09  Wim Taymans  <wim@fluendo.com>
125
126         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
127         Rename some more @cur to @start to fix docs. 
128
129         * gst/gstsegment.c: (gst_segment_set_seek):
130         Fix typo.
131         time and start must always stay in sync as defined in design doc.
132
133         * gst/gsttaglist.c: (gst_tag_list_is_empty):
134         Rename param to fix docs.
135
136         * tests/check/gst/gstsegment.c: (GST_START_TEST):
137         Check that start and time are in sync.
138
139         * tests/check/pipelines/parse-launch.c:
140         (gst_parse_test_element_change_state):
141         Activate pad before adding to the element.
142
143 2006-10-09  Wim Taymans  <wim@fluendo.com>
144
145         * docs/design/part-qos.txt:
146         Fix typo.
147
148         * gst/gstevent.c:
149         * gst/gstevent.h:
150         Update seek event docs regarding negative rates.
151         Rename @cur to @start. 
152
153         * gst/gstsegment.c: (gst_segment_set_seek):
154         * gst/gstsegment.h:
155         Update set_seek docs regarding negative rates.
156         Correctly update last_stop to @stop when dealing with negative
157         rates.
158         Rename @cur to @start. 
159
160         * tests/check/gst/gstpad.c: (GST_START_TEST):
161         Activate pads before trying to use them.
162
163         * tests/check/gst/gstsegment.c: (GST_START_TEST),
164         (gst_segment_suite):
165         Add simple check for segments and negative rates.
166
167 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
168
169         * gst/gsttaglist.c: (gst_tag_list_is_empty):
170         * gst/gsttaglist.h:
171         * docs/gst/gstreamer-sections.txt:
172           API: add gst_tag_list_is_empty() (#360467).
173
174         * tests/check/gst/gsttag.c: (GST_START_TEST):
175           And a test case.
176
177 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
178
179         * gst/gstmessage.h:
180         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
181         a value that doesn't fit on enumeration.
182
183 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
184
185         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
186         Remove local debugging system and use Gstreamer's instead.
187
188 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
189
190         Patch by: Josep Torre Valles <josep@fluendo.com>
191
192         * common/m4/gst-error.m4:
193         Disable warning of statement not reached on Forte.
194         * gst/gstmessage.h:
195         Fix warning on Forte (value doesn't fit on enumeration).
196         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
197         Fix warning on Forte (value doesn't fit on enumeration).
198         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
199         DEBUG macro says it takes minimum of 2 args and so Forte
200         complains about the use with just 1 arg.
201         * plugins/elements/gstfdsink.c:
202         * plugins/elements/gstfdsrc.c:
203         * plugins/elements/gstfilesink.c:
204         * plugins/elements/gstfilesrc.c:
205         Use correct return type for the uri handler implementations.
206
207         All these fix warnings in Forte.  Fixes bug #360860.
208
209 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
210
211         * gst/gstelement.h:
212           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
213           format string, so don't use G_GNUC_PRINTF for those versions.
214
215 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
216
217         * gst/gsttaglist.c: (gst_is_tag_list):
218         * gst/gsttaglist.h:
219           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
220
221         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
222           Small test for the above.
223
224 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
225
226         * gst/gsttaglist.h:
227           Less tabs, more spaces.
228
229 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
230
231         * gst/gstinfo.h:
232           Those two function declarations do actually belong there, revert
233           commit from yesterday that turned them intro macros.
234
235 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
236
237         Patch by: Josep Torre Valles <josep@fluendo.com>
238
239         * gst/gst.c: (gst_init_get_option_group):
240         Fix empty declaration and type mismatch.
241         * gst/gstbin.c: (gst_bin_change_state_func):
242         Fix type mismatch.
243         * gst/gstelement.c: (gst_element_continue_state),
244         (gst_element_set_state_func), (gst_element_change_state),
245         (gst_element_change_state_func):
246         Fix type mismatches.
247         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
248         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
249         Cast as appropriate.
250         * gst/gstobject.c: (gst_class_signal_connect):
251         Cast as appropriate.  The function pointer parameter really
252         has the wrong type but would break API if we change it.
253         * gst/gstquery.c:
254         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
255         order of including string.h.
256         * gst/gstutils.c: (gst_element_state_get_name):
257         Remove unreachable line.
258         * gst/gstxml.c: (gst_xml_parse_doc):
259         Fix type mismatch.
260         All these caught by Forte.
261
262 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
263
264         Patch by: Josep Torre Valles <josep@fluendo.com>
265
266         * common/m4/gst-error.m4:
267         Fixed bug #360151.
268         We need to disable warnings on Forte for empty declarations
269         due to gst-indent adding ;s to lines that just use macros
270         where the macro actually doesn't need a ; at end to end
271         statement.
272
273 2006-10-06  Wim Taymans  <wim@fluendo.com>
274
275         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
276         (gst_file_sink_close_file), (gst_file_sink_event),
277         (gst_file_sink_render):
278         Add some FIXME for the NEWSEGMENT handling.
279
280 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
281
282         * gst/parse/grammar.y:
283         Remove static function gst_parse_element_lock as all it does
284         is return.  Looks like cruft from 0.8.
285
286 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
287
288         Patch by: Josep Torre Valles <josep@fluendo.com>
289
290         * common/m4/gst-error.m4:
291         * configure.ac:
292         * libs/gst/net/Makefile.am:
293         Fix a compilation issue with Forte on Solaris.  inet_aton is in
294         libresolv.
295
296 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
297
298         * gst/gstpad.c: (pre_activate):
299         * gst/gstregistry.c: (gst_registry_scan_path_level):
300         * gst/gstregistryxml.c: (load_plugin):
301         * libs/gst/controller/gstcontroller.c:
302         (gst_controlled_property_set_interpolation_mode):
303         * libs/gst/dataprotocol/dataprotocol.c:
304         (gst_dp_packet_from_event_1_0):
305         * libs/gst/net/gstnetclientclock.c:
306         (gst_net_client_clock_observe_times):
307         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
308           Printf fixes.
309
310 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
311
312         * configure.ac:
313         * docs/gst/gstreamer-sections.txt:
314         * gst/gstconfig.h.in:
315         * gst/gstelement.h:
316         * gst/gstinfo.h:
317           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
318           whether we can use G_GNUC_PRINTF in other header files and at
319           least check the printf format/arguments of debug messages and
320           GST_ELEMENT_ERROR messages when the printf extension is not
321           being used.
322           Replace more tabs with spaces in gstinfo.h and remove two spurious
323           function declarations in GST_DISABLE_DEBUG part with macros.
324
325 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
326
327         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
328           More docs for the sync-message signal (mention that it is not
329           emitted by default); log message structures of messages posted on
330           the bus as well.
331
332 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
333
334         * gst/gst.c: (ensure_current_registry_forking):
335         Use a pipe pair to receive status results from the forked child, and
336         ignore the result from waitpid. Fixes #355499
337
338 2006-10-02  Wim Taymans  <wim@fluendo.com>
339
340         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
341         (gst_ghost_pad_suite):
342         Fix leak in check.
343
344 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
345
346         * gst/gstpad.c:
347           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
348
349 2006-10-02  Edward Hervey  <edward@fluendo.com>
350
351         * docs/design/part-block.txt:
352         Further explain the use of flushing on blocked pads.
353         * docs/gst/gstreamer-sections.txt:
354         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
355         (gst_pad_push_event):
356         * gst/gstpad.h:
357         Added new GstPadFlag : GST_PAD_BLOCKING.
358         Adds the notion of pads really blocking, which enables to properly
359         handle FLUSH_START/FLUSH_STOP events on blocked pads.
360         Fixes #358999
361         API: gst_pad_is_blocking()
362         API: GST_PAD_IS_BLOCKING() macro
363         API: GST_PAD_BLOCKING GstPadFlag
364         
365 2006-10-02  Wim Taymans  <wim@fluendo.com>
366
367         Patch by: mrcgran <mrc.gran at gmail dot com>
368
369         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
370         Filter the proxied caps against the padtemplate if we have one.
371
372         * gst/gstquery.c: (gst_query_new_segment):
373         Add include for gstinfo.h so that compilation with
374         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
375
376 2006-10-02  Wim Taymans  <wim@fluendo.com>
377
378         Patch by: Alessandro Decina  <alessandro at nnva org>
379
380         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
381         (gst_file_sink_set_location), (gst_file_sink_open_file),
382         (gst_file_sink_close_file), (gst_file_sink_event),
383         (gst_file_sink_render):
384         Set file to NULL when closing filesink so that we can set a new filename
385         in READY. Fixes #358613.
386
387 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
388
389         Patch by: Alessandro Decina  <alessandro at nnva org>
390
391         * gst/gstevent.c: (_gst_event_copy):
392           Fix gst_mini_object_make_writable() and gst_event_copy() for events
393           with event structures by setting the parent refcount address of the
394           copied structure to the address of the refcount member of the newly
395           copied event rather than the address of the refcount member of the
396           original event. Fixes #358737.
397
398         * tests/check/gst/gstevent.c: (GST_START_TEST):
399           Unit test for the above.
400
401 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
402
403         * docs/design/Makefile.am:
404           Dist some more files.
405
406 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
407
408         * tests/check/libs/controller.c: (GST_START_TEST),
409         (gst_controller_suite):
410           Add test for the previous fix; add some more tests
411           for correct refcounting behaviour; fix a few leaks
412           in test cases; call gst_controller_init() at start
413           of all tests.
414
415 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
416
417         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
418         (gst_controller_set_from_list):
419           Don't g_return_val_if_fail() on timed values with invalid timestamps
420           inside a critical section without unlocking the mutex. Spotted by
421           René Stadler. (#357617)
422           Also, fix up refcounting properly: when returning an existing
423           controller, we should increase the reference only once and not
424           once per property and when trying to control a property again
425           we should also increase the refcount.
426
427 2006-09-29  Wim Taymans  <wim@fluendo.com>
428
429         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
430         * libs/gst/net/gstnettimeprovider.c:
431         (gst_net_time_provider_thread):
432         Stop reading commands when EOF as well.
433
434         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
435         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
436         * plugins/elements/gstidentity.c: (gst_identity_class_init):
437         Unify description of the dump property.
438
439 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
440
441         * tests/examples/manual/.cvsignore:
442         OK, so it's actually cvsignore that needs changing. Stop laughing.
443
444 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
445
446         * tests/examples/manual/Makefile.am:
447         Gah, declare vars *before* using them
448
449 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
450
451         * gst/gst.c: (init_pre), (scan_and_update_registry),
452         (ensure_current_registry_nonforking),
453         (ensure_current_registry_forking), (ensure_current_registry),
454         (init_post), (gst_debug_help), (gst_deinit):
455         * gst/gst_private.h:
456         * gst/gstregistry.c: (gst_registry_finalize),
457         (gst_registry_remove_features_for_plugin_unlocked),
458         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
459         (gst_registry_scan_path),
460         (_priv_gst_registry_remove_cache_plugins),
461         (_priv_gst_registry_cleanup):
462         * gst/gstregistry.h:
463         Re-commit the registry changes, along with an extra fix:
464           When a cached plugin is encountered at a different file path,
465           update the stored path in the registry cache so that the parent
466           process knows where it actually is now when it re-reads the registry
467           cache. Fixes the thing that broke distcheck with the previous commit.
468
469         * tests/check/Makefile.am:
470         Clean up files named 'core' too when running make clean.
471
472         * tests/examples/manual/Makefile.am:
473         Set up a registry path for running these tests, and clean it properly
474         for distcheck.
475
476 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
477
478         * configure.ac:
479         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
480         want gmodule-no-export-2.0.pc instead so that we don't drag in
481         --export-dynamic on every project that links to GStreamer.
482
483         Also, make our export regex only match the start of symbols, rather 
484         than any symbol that contains '_gst' somewhere.
485
486         * libs/gst/check/Makefile.am:
487         The libgstcheck we build does however need export-dynamic, as it
488         produces some symbols that don't match our _gst... style regex.
489         Fixes: #318031
490
491 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
492
493         * gst/gst.c: (init_pre), (scan_and_update_registry),
494         (ensure_current_registry_nonforking),
495         (ensure_current_registry_forking), (ensure_current_registry),
496         (init_post), (gst_debug_help), (gst_deinit):
497         * gst/gst_private.h:
498         * gst/gstregistry.c: (gst_registry_finalize),
499         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
500         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
501         (_gst_registry_cleanup):
502         * gst/gstregistry.h:
503           Revert previous change until I figure out why it breaks distcheck.
504
505 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
506
507         * gst/gst.c: (init_pre), (scan_and_update_registry),
508         (ensure_current_registry_nonforking),
509         (ensure_current_registry_forking), (ensure_current_registry),
510         (init_post), (gst_debug_help), (gst_deinit):
511
512           Make init_pre and init_post take the full complement of GOptionFunc
513           args so they can return useful GErrors. Make the registry updating
514           functions do so.
515
516           Call _priv_gst_registry_remove_cache_plugins after scanning files to
517           ensure that the registry we're about to write out doesn't contain
518           stale information about old-deleted plugin files.
519
520           Make _priv_gst_registry_remove_cache_plugins return a boolean so
521           that deletion of plugin files is considered a registry change.
522
523         * gst/gst_private.h:
524         * gst/gstregistry.c: (gst_registry_finalize),
525         (gst_registry_remove_features_for_plugin_unlocked),
526         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
527         (gst_registry_scan_path),
528         (_priv_gst_registry_remove_cache_plugins),
529         (_priv_gst_registry_cleanup):
530         * gst/gstregistry.h:
531         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
532         by adding _priv prefix, so that they won't appear in the global
533         symbol table. They still do atm though because of #318031. Move the
534         prototypes to gst_private.h
535
536         When removing a plugin, remove all features for that plugin too. 
537         Fixes #340878.
538
539 2006-09-27  Wim Taymans  <wim@fluendo.com>
540
541         * docs/random/moving-plugins:
542         Make it clear that the "compiled-in descriptions" really mean
543         the element details.
544
545         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
546         (gst_base_sink_wait_preroll):
547         Update docs.
548
549         * docs/libs/gstreamer-libs-sections.txt:
550         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
551         (gst_base_src_get_range), (gst_base_src_activate_push):
552         * libs/gst/base/gstbasesrc.h:
553         Added function to block while waiting for PLAYING, this function
554         is used by live sources that block on the clock.
555         API: gst_base_src_wait_playing()
556
557 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
558
559         Patch by: Peter Kjellerstedt <pkj at axis com>
560
561         * Makefile.am:
562           gst-element-check.m4 is generated and should therefore be
563           copied from the build dir rather than the source dir (#357593).
564           'make distcheck' hasn't noticed this because we were disting
565           the file as well, so stop doing that.
566
567 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
568
569         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
570           Add some tests for gst_caps_intersect().
571
572         * tools/gst-launch.c: (event_loop):
573           Print all buffering percentages we get, even the 100% one.
574
575 2006-09-26  Wim Taymans  <wim@fluendo.com>
576
577         * tools/gst-inspect.c: (print_element_properties_info),
578         (print_signal_info):
579         Fix printing of flags to match the look of enums.
580
581 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
582
583         * gst/gstelementfactory.c:
584           Fix typo in docs blurb.
585
586 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
587
588         * gst/gsturi.c: (search_by_entry):
589           Don't assert/crash here if a uri handler doesn't return any
590           supported protocols. The list of protocols could be generated
591           dynamically at runtime or at plugin registration, and an error
592           in the underlying library shouldn't be fatal (#353301).
593
594 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
595
596         * gst/gstinfo.c:
597           Fix warning if HAVE_PRINTF_EXTENSION is undefined
598           (spotted by Peter Kjellerstedt).
599
600 2006-09-23  Wim Taymans  <wim@fluendo.com>
601
602         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
603
604         * libs/gst/base/gstbasesrc.c:
605         (gst_base_src_default_check_get_range), (gst_base_src_start),
606         (gst_base_src_activate_push), (gst_base_src_activate_pull),
607         (gst_base_src_change_state):
608         Match _start/_stop calls in the activate functions. Remove redundant
609         _stop call from the state change function. Fixes #356910.
610         Turn failure DEBUG into ERROR. 
611
612 2006-09-22  Wim Taymans  <wim@fluendo.com>
613
614         * docs/design/part-buffering.txt:
615         * gst/gstmessage.c: (gst_message_new_buffering),
616         (gst_message_parse_buffering):
617         Update docs about buffering.
618
619         * docs/design/part-trickmodes.txt:
620         Fix typo.
621
622 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
623
624         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
625         (gst_controller_new_list):
626           Ref instances when returning them again (fixes #357180)
627
628 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
629
630         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
631           Don't forget to release proxy lock when there's an error.
632
633 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
634
635         * gst/gstcaps.h:
636           Add extra initialisers for Caps things, to fix some plugin warnings
637           when using -Wextra
638
639 2006-09-18  Wim Taymans  <wim@fluendo.com>
640
641         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
642           Also set template on the internal pad so that a getcaps from the 
643           target pad returns the template caps.
644
645 2006-09-18  Wim Taymans  <wim@fluendo.com>
646
647         * gst/gstelement.c: (gst_element_post_message),
648         (gst_element_dispose):
649         Use _DEBUG_OBJECT some more.
650
651         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
652         Avoid typechecks.
653
654         * tools/gst-launch.c: (main):
655         If the toplevel element is not a GstPipeline, it must be put in a
656         pipeline so that a bus and clock is selected.
657
658 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
659
660         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
661           JITTER, RATE, and LATENCY query should be handled by the
662           default case and not by the CONVERT query code.
663
664 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
665
666         * gst/gstformat.c: (gst_format_register):
667           Fix locking order (must take lock before using n_values).
668
669         * gst/gstvalue.c: (gst_value_serialize_enum),
670         (gst_value_deserialize_enum_iter_cmp),
671         (gst_value_deserialize_enum):
672           Fix serialisation/deserialisation of custom registered GstFormats.
673
674         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
675           Unit test for custom format serialisation/deserialisation.
676
677 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
678
679         * docs/pwg/building-boiler.xml:
680         * plugins/elements/gstcapsfilter.c:
681         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
682         section.
683
684 2006-09-16  Edward Hervey  <edward@fluendo.com>
685
686         * libs/gst/base/gstbasetransform.c:
687         (gst_base_transform_buffer_alloc):
688         Check if requested caps are the same as the sinks caps IF
689         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
690         is FALSE.
691         This fixes the renegotiation issues stated in #352827.
692
693 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
694
695         * configure.ac:
696         * docs/manual/advanced-autoplugging.xml:
697         * tests/examples/Makefile.am:
698         * tests/examples/manual/.cvsignore:
699         * tests/examples/manual/Makefile.am:
700         * tests/examples/manual/extract.pl:
701           Extract the manual examples again like we used to do.
702           Fix one of them.
703
704 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
705
706         * win32/common/config.h:
707           update for version
708
709 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
710
711         * gst/gsterror.c:
712           Documents how to receive errors.
713
714 2006-09-15  Wim Taymans  <wim@fluendo.com>
715
716         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
717         (event_loop), (main):
718         Added some comments here and there.
719         Post an application message when an interrupt is caught instead of doing
720         an uncontrolled state change.
721         Clean up the event loop.
722         Handle buffering messages, pause/resume the pipeline.
723         Make shutdown because of an interrupt more reliable.
724
725 2006-09-15  Wim Taymans  <wim@fluendo.com>
726
727         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
728         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
729         (gst_base_sink_preroll_object):
730         Make sure that our internal state is correct when we commit our state
731         asynchronously. This solves a race where a state change to PLAYING
732         could cause the sink to remain blocked in preroll in some situations.
733
734 2006-09-15  Wim Taymans  <wim@fluendo.com>
735
736         * tools/gst-inspect.c: (print_element_properties_info),
737         (print_signal_info):
738         List flags as hex so it's easier to deal with.
739
740 2006-09-15  Wim Taymans  <wim@fluendo.com>
741
742         * docs/libs/gstreamer-libs-sections.txt:
743         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
744         (gst_base_sink_do_sync):
745         * libs/gst/base/gstbasesink.h:
746         Expose logic to wait for preroll so that subclasses such as audiosink
747         can also use this method.
748         API: gst_base_sink_wait_preroll()
749
750 2006-09-15  Wim Taymans  <wim@fluendo.com>
751
752         * gst/gstobject.c: (gst_object_set_parent):
753         * gst/gstpipeline.c: (do_pipeline_seek):
754         Small cleanups in docs and code.
755
756         * gst/gstsegment.c: (gst_segment_clip):
757         * tests/check/gst/gstsegment.c: (GST_START_TEST):
758         if stop == start and start is in the segment, no clipping should be
759         done. Also add a test for this.
760
761 2006-09-15  Wim Taymans  <wim@fluendo.com>
762
763         * docs/design/part-buffering.txt:
764         * docs/gst/gstreamer-sections.txt:
765         * gst/gstmessage.c: (gst_message_new_buffering),
766         (gst_message_parse_buffering):
767         * gst/gstmessage.h:
768         Added methods to create and parse BUFFERING messages.
769         Added preliminary docs about buffering.
770         API: gst_message_new_buffering
771         API: gst_message_parse_buffering
772
773 2006-09-06  Wim Taymans  <wim@fluendo.com>
774
775         * gst/gstbin.c:
776         Update documentation.
777
778         * gst/gstelement.c: (gst_element_class_init),
779         (gst_element_release_request_pad), (gst_element_set_clock),
780         (gst_element_get_index), (gst_element_add_pad),
781         (gst_element_remove_pad), (gst_element_get_random_pad),
782         (gst_element_send_event), (gst_element_get_query_types),
783         (gst_element_query), (gst_element_post_message),
784         (gst_element_message_full), (gst_element_continue_state),
785         (gst_element_lost_state), (gst_element_save_thyself),
786         (gst_element_restore_thyself):
787         Documentation updates.
788         Rename last bit of the new-pad -> pad-added signal rename.
789         Fix the case where an element query would only work if the source
790         pad was linked.
791         Avoid some useless type checking in message handling.
792
793         * gst/gstevent.c:
794         * gst/gstevent.h:
795         * gst/gstutils.c:
796         Documentation updates.
797
798 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
799
800         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
801           add an INFO line for when we actually update the fd
802
803 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
804
805         * configure.ac:
806           back to TRUNK
807
808 === release 0.10.10 ===
809
810 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
811
812         * configure.ac:
813           releasing 0.10.10, "Pais"
814
815 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
816
817         * docs/manual/advanced-position.xml:
818           Fix typo in sample code.
819
820 2006-09-05  Wim Taymans  <wim@fluendo.com>
821
822         * libs/gst/net/gstnetclientclock.c: (inet_aton),
823         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
824         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
825         * libs/gst/net/gstnetclientclock.h:
826         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
827         * libs/gst/net/gstnettimepacket.h:
828         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
829         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
830         (gst_net_time_provider_thread), (gst_net_time_provider_new):
831         * libs/gst/net/gstnettimeprovider.h:
832         Make stuff compile on windows. Fixes #345295.
833
834 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * gst/gst.c: (ensure_current_registry_forking):
837           Print better details when child was terminated by signal.
838
839 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
840
841         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
842           Print a warning rather than g_assert() if a plugin feature
843           is a URI handler but returns no protocols (#353976).
844
845 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
846
847         * docs/random/moving-plugins:
848         Fix two typos.         
849
850 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
851
852         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
853           Fix locking order, handle NULL function values properly.
854
855         * gst/gstinfo.h:
856           Fix docs.
857
858         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
859           Initialise variable before using it and fix debug statement to
860           print the address of the function rather than the address of the
861           variable on the stack holding the address of the function.
862
863 2006-09-01  Wim Taymans  <wim@fluendo.com>
864
865         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
866         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
867         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
868         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
869         (gst_ghost_pad_parent_unset),
870         (gst_ghost_pad_internal_do_activate_push),
871         (gst_ghost_pad_internal_do_activate_pull),
872         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
873         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
874         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
875         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
876         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
877         (gst_ghost_pad_new_no_target_from_template),
878         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
879         More cleanups.
880         Avoid needless typechecking in macros.
881         Since the internal pad is always present and never changes, there is
882         no need to locking or ref when retrieving it.
883         Improve debugging a bit.
884         Handle link errors when setting the target. Fixes #341029.
885
886 2006-09-01  Wim Taymans  <wim@fluendo.com>
887
888         * docs/libs/gstreamer-libs-sections.txt:
889         * docs/plugins/gstreamer-plugins-sections.txt:
890         Fix docs some more.
891
892         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
893         (gst_collect_pads_event):
894         * libs/gst/base/gstcollectpads.h:
895         Documentation updates.
896         Free queued buffer when removing a pad.
897
898 2006-08-31  Michael Smith  <msmith@fluendo.com>
899
900         * gst/gstutils.c: (gst_element_link_pads),
901         (gst_element_link_pads_filtered):
902           Ensure that we set a capsfilter to NULL if we failed to link it
903           when doing filtered linking, to avoid criticals.
904
905           No need to check for unreffing srcpad, which is explicly NULLed
906           above (a trivial code cleanup).
907
908 2006-08-31  Wim Taymans  <wim@fluendo.com>
909
910         * docs/design/part-gstghostpad.txt:
911         Update ascii art in documentation.
912
913         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
914         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
915         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
916         (gst_ghost_pad_internal_do_activate_push),
917         (gst_ghost_pad_internal_do_activate_pull),
918         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
919         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
920         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
921         (gst_ghost_pad_set_target):
922         Small cleanups and leak fixes.
923         Remove some checks now that the internal pad is never NULL.
924         Fix the case where linking pads without a target would create nasty
925         criticals. Fixes #341029.
926         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
927         value of _set_target().
928
929         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
930         (gst_ghost_pad_suite):
931         Some more tests for creating and linking untargeted ghostpads.
932
933 2006-08-31  Edward Hervey  <edward@fluendo.com>
934
935         * docs/gst/gstreamer-sections.txt:
936         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
937         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
938         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
939         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
940         (gst_ghost_pad_new_from_template),
941         (gst_ghost_pad_new_no_target_from_template):
942         * gst/gstghostpad.h:
943         Refactored *_new() functions.
944         Templates are now used as a g_object_new() parameter.
945         Use template in _do_getcaps() if we don't have a target.
946         Small documentation cleanups.
947         Added two new constructors:
948         gst_ghost_pad_new_from_template()
949         gst_ghost_pad_new_no_target_from_template()
950         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
951         (gst_ghost_pad_suite):
952         Added tests for new ghostpad instanciation functions.
953
954         API additions: gst_ghost_pad_new_from_template,
955         gst_ghost_pad_new_no_target_from_template
956
957 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
958
959         * docs/random/ensonic/profiling.txt:
960           Ideas about qos profiling.
961
962 2006-08-29  Wim Taymans  <wim@fluendo.com>
963
964         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
965         Code cleanups.
966         Fix memleak.
967
968 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
969
970         * gst/gstxml.c:
971           Improve and detypofy docs.
972
973         * tests/check/Makefile.am:
974         * tests/check/gst/.cvsignore:
975         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
976           Add a basic test suite for GstXML.
977
978 2006-08-29  Wim Taymans  <wim@fluendo.com>
979
980         * gst/gstelement.c: (activate_pads), (clear_caps),
981         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
982         Clear the pad caps when the element shut down all of the pads and
983         is not streaming data that could modify the caps. 
984         Fixes #352958.
985
986 2006-08-28  Michael Smith  <msmith@fluendo.com>
987
988         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
989           Revert previous change; I misunderstood single-segment mode.
990
991 2006-08-28  Michael Smith  <msmith@fluendo.com>
992
993         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
994           Unset DISCONT on buffers when using single-segment mode.
995
996 2006-08-28  Wim Taymans  <wim@fluendo.com>
997
998         * gst/gstcaps.c: (gst_caps_merge_structure):
999         * gst/gstcaps.h:
1000         Fix docs and indentation again.
1001
1002         * tests/check/gst/gstquery.c: (GST_START_TEST):
1003         Fix leak in tests and add some more tests.
1004
1005 2006-08-28  Edward Hervey  <edward@fluendo.com>
1006
1007         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1008         Inform GstSegment of the last stop position in order for the current
1009         segment to have a proper duration if it doesn't have a specific stop
1010         position from which a duration could be calculated.
1011         This bug was noticeable when a non-flushing, non-update new segment was
1012         followed by another segment (all buffers from the new segment were being
1013         dropped).
1014
1015 2006-08-28  Wim Taymans  <wim@fluendo.com>
1016
1017         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1018         Small comment update.
1019
1020         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1021         (gst_identity_transform_ip):
1022         Drop-probability is broken, mention this in the code with a 
1023         FIXME and also in the property description.
1024         Make silent also be silent about the drop messages.
1025
1026 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
1027
1028         * docs/manual/appendix-win32.xml:
1029           Remove mention of popt, we don't depend on that any
1030           longer (#353136). Add some comments pointing out that
1031           this section is slightly outdated.
1032
1033 2006-08-28  Wim Taymans  <wim@fluendo.com>
1034
1035         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1036
1037         * gst/gstquery.c: (gst_query_new_segment):
1038         * tests/check/gst/gstquery.c: (GST_START_TEST):
1039         Initialize variables when creating a new segment query.
1040         Fixes #353121.
1041
1042 2006-08-28  Wim Taymans  <wim@fluendo.com>
1043
1044         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1045
1046         * gst/gstelement.c: (gst_element_get_bus):
1047         * tests/check/gst/gstelement.c: (GST_START_TEST):
1048         Check for NULL before _reffing the bus. Fixes #353122.
1049
1050 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
1051
1052         * docs/manual/basics-bus.xml:
1053           Docs update: fix wrong callback return value explanation; add
1054           some lines about the implicit relationship between main loop
1055           and main context; remove duplicate main loop variable declaration.
1056
1057 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
1058
1059         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1060           Don't leak caps in unit test; add a few more simple
1061           checks. 
1062
1063 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
1064
1065         * docs/gst/gstreamer-sections.txt:
1066         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1067         (gst_caps_structure_is_subset), (gst_caps_merge),
1068         (gst_caps_merge_structure):
1069         * gst/gstcaps.h:
1070         * libs/gst/base/gstbasetransform.c:
1071         (gst_base_transform_transform_caps):
1072         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1073           implement caps merging (fixes #352580)
1074
1075 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
1076
1077         * tools/Makefile.am:
1078         * tools/gst-plot-timeline.py:
1079           add debug-log plotting developer tool (#340674)
1080
1081 2006-08-23  Wim Taymans  <wim@fluendo.com>
1082
1083         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1084         (gst_pad_stop_task):
1085         Improve debugging for task functions.
1086
1087         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1088         (gst_task_start), (gst_task_pause), (gst_task_join):
1089         Make sure that the task function started and finished after a 
1090         join(). 
1091         Don't try to push the task function on the threadpool multiple
1092         times.
1093         Improve the g_warning message with some useful suggestions
1094         about how to fix the problem. 
1095
1096 2006-08-23  Wim Taymans  <wim@fluendo.com>
1097
1098         * gst/gstutils.c: (gst_pad_proxy_getcaps):
1099         Handle RESYNC correctly in _proxy_getcaps.
1100
1101 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
1102
1103         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1104         (gst_xml_parse_memory), (gst_xml_get_element):
1105           Chain up to parent class in dispose function and also
1106           unref the elements in the toplevel_elements GList.
1107           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1108           Always return a reference in gst_xml_get_element() rather
1109           than only sometimes.
1110
1111         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1112           Don't leak GstXml object.
1113
1114 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
1115
1116         * docs/gst/gstreamer-sections.txt:
1117         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1118         (gst_caps_merge):
1119         * gst/gstcaps.h:
1120         * libs/gst/base/gstbasetransform.c:
1121         (gst_base_transform_transform_caps):
1122           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1123           in a better way
1124
1125 2006-08-21  Edward Hervey  <edward@fluendo.com>
1126
1127         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1128         Implement GObject::dispose virtual method in GstXML so we can free the
1129         top_elements GList.
1130
1131 2006-08-21  Wim Taymans  <wim@fluendo.com>
1132
1133         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1134         (gst_buffer_create_sub):
1135         Copy duration/offset_end/caps when creating a subbuffer of the
1136         complete parent.
1137         Make the subbuffer read-only when we make the metadata writable for
1138         now. Fixes #351768.
1139
1140         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1141         Added check for metadata copy when creating subbuffers.
1142
1143 2006-08-21  Edward Hervey  <edward@fluendo.com>
1144
1145         * libs/gst/base/gstbasetransform.c:
1146         (gst_base_transform_buffer_alloc):
1147         Only call downstream buffer_alloc if transform element is passthrough
1148         or always_in_place. Closes #350449.
1149
1150 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1151
1152         * ChangeLog:
1153           ChangeLog surgery to add comments to previous changes
1154
1155 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1156
1157         * gst/gst.c:
1158           Add comments
1159
1160         * gst/gstpad.c: (gst_pad_set_active):
1161           Be more verbose in the log
1162
1163         * libs/gst/base/gstbasetransform.c:
1164         (gst_base_transform_transform_caps):
1165           Simplify caps to get rid of duplicates, fixes #345444
1166
1167 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1168
1169         * gst/gstvalue.c:
1170         * gst/gstvalue.h:
1171           Use these optimizations only internally.
1172
1173 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
1174
1175         * gst/gstvalue.c: (gst_value_compare_list),
1176         (gst_value_compare_fraction_range),
1177         (gst_value_intersect_fraction_fraction_range),
1178         (gst_value_intersect_fraction_range_fraction_range),
1179         (gst_value_subtract_fraction_fraction_range),
1180         (gst_value_subtract_fraction_range_fraction_range),
1181         (gst_value_get_compare_func), (gst_value_compare),
1182         (gst_value_compare_with_func):
1183         * gst/gstvalue.h:
1184           Saves the expensive lookup of the compare function in many cases
1185          (#345444)
1186
1187 2006-08-18  Edward Hervey  <edward@fluendo.com>
1188
1189         * tests/check/gst/gstinfo.c: (gst_info_suite):
1190         Disable test that require gstdebug if it wasn't built in core.
1191
1192 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1193
1194         * docs/random/ensonic/logging.txt:
1195           update ideas
1196           
1197         * gst/gstinfo.c: (gst_debug_log_default):
1198           reorder fields, save some columns, add optional color codes for log
1199           levels
1200
1201 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
1202
1203         * docs/random/ensonic/logging.txt:
1204           add ideas about making the logs a bit more useful
1205
1206 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1207
1208         * docs/pwg/advanced-events.xml:
1209         * docs/pwg/titlepage.xml:
1210           Update for 0.10 API (#340627). Add myself
1211           to authors list.
1212
1213 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
1214
1215         * docs/libs/gstreamer-libs-docs.sgml:
1216         * docs/libs/gstreamer-libs-sections.txt:
1217         * libs/gst/check/gstbufferstraw.c:
1218           Make gstcheck stuff show up in docs (still needs to
1219           be documented properly though).
1220
1221 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
1222
1223         * docs/gst/gstreamer-sections.txt:
1224         * gst/Makefile.am:
1225         * gst/gst.c: (init_post):
1226         * gst/gst_private.h:
1227         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1228         * gst/gstquark.h:
1229         * gst/gstquery.c: (gst_query_new_position),
1230         (gst_query_set_position), (gst_query_parse_position),
1231         (gst_query_new_duration), (gst_query_set_duration),
1232         (gst_query_parse_duration), (gst_query_new_convert),
1233         (gst_query_set_convert), (gst_query_parse_convert),
1234         (gst_query_new_segment), (gst_query_set_segment),
1235         (gst_query_parse_segment), (gst_query_new_seeking),
1236         (gst_query_set_seeking), (gst_query_parse_seeking):
1237         Add internal helpers for pre-registering quarks from static strings
1238         and using the quark values directly instead of looking them up when
1239         creating and parsing queries. Can be used for event construction too.
1240         Closes #350432.
1241
1242 2006-08-16  Wim Taymans  <wim@fluendo.com>
1243
1244         * gst/gstbin.c:
1245         Fix bogus docs.
1246
1247 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * gst/gstutils.c: (gst_util_set_value_from_string):
1250           Fix memleak (#351502).
1251
1252         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1253           Add unit test for most of gst_util_set_value_from_string()
1254           (not that one would want to encourage use of this function).
1255
1256 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1257
1258         * libs/gst/check/gstcheck.h:
1259           Use const gchar * variables in fail_unless_equals_string
1260           macro to avoid compiler warnings (and don't use tabs for
1261           indenting).
1262
1263 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1264
1265         * tools/gst-launch.c: (print_tag):
1266           More space on the left for the tag names, to cater
1267           for the 'extended comment' tag (not touching the
1268           string for the first line since it's translated).
1269
1270 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
1271
1272         * libs/gst/check/gstcheck.h:
1273           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1274           print something when they fail.
1275
1276 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1277
1278         * docs/gst/gstreamer-sections.txt:
1279         * gst/gsttaglist.c: (_gst_tag_initialize):
1280         * gst/gsttaglist.h:
1281           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1282           Also change merge function for GST_TAG_COMMENT to
1283           use_first.
1284
1285 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1286
1287         * gst/gstinfo.c: (gst_debug_print_object):
1288           Make GST_PTR_FORMAT print messages as well.
1289
1290         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1291         (GST_START_TEST), (gst_info_suite):
1292           More tests.
1293
1294 2006-08-14  Edward Hervey  <edward@fluendo.com>
1295
1296         * gst/gstelementfactory.c: (gst_element_register):
1297         If the GstElementClass doesn't have a GstElementDetails with all fields
1298         filled up correctly (longname, description AND author), then error out
1299         nicely instead of crashing.
1300
1301 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1302
1303         * gst/gststructure.c:
1304           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1305
1306         * gst/gstvalue.h:
1307           Expand on the difference between arrays and lists as we use them.
1308           
1309 2006-08-14  Wim Taymans  <wim@fluendo.com>
1310
1311         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1312         If the parent state change function failed, don't assume we can safely
1313         stop the source, this will be done when the pads are deactivated.
1314
1315 2006-08-14  Wim Taymans  <wim@fluendo.com>
1316
1317         * gst/gstbuffer.c:
1318         * gst/gsttask.c: (gst_task_join):
1319         Small doc updates.
1320
1321         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1322         (gst_pad_stop_task):
1323         When pad (de)activation failed for some reason, restore the old
1324         activation mode and set the pad to flushing instead of assuming the
1325         pad is deactivated.
1326         If the _task_join() failed, reinstall the task on the pad so that it can
1327         be stopped later and return an error.
1328
1329 2006-08-11  Andy Wingo  <wingo@pobox.com>
1330
1331         * configure.ac:
1332         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1333         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1334         is only for users of API that don't want to see deprecated
1335         functions in the headers; people that want to compile out
1336         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1337         CFLAGS. Fixes the build of multifdsink, or will soon..
1338
1339 2006-08-11  Wim Taymans  <wim@fluendo.com>
1340
1341         * docs/gst/gstreamer-sections.txt:
1342         Add GstClockClass vmethod docs.
1343
1344         * gst/gstcaps.h:
1345         Mark #endif with comment for associated #if
1346
1347         * gst/gstclock.c: (gst_clock_id_wait):
1348         * gst/gstclock.h:
1349         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1350         most clock implementations.
1351         Document vmethods.
1352         Flesh out docs about resolution methods.
1353         API: GstClockClass::wait_jitter
1354
1355         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1356         (gst_system_clock_async_thread),
1357         (gst_system_clock_id_wait_jitter_unlocked),
1358         (gst_system_clock_id_wait_jitter):
1359         Use base class wait_jitter variant for improved performance
1360         due to less clock polling.
1361
1362 2006-08-11  Edward Hervey  <edward@fluendo.com>
1363
1364         * gst/gst.c: (gst_init_check), (init_post):
1365         Set gst as being initialized before scanning/updating the registry,
1366         since there might be my python plugin loader that calls gst_init() and
1367         we don't want to loop back in.
1368         Closes #350879
1369
1370 2006-08-11  Wim Taymans  <wim@fluendo.com>
1371
1372         * docs/design/part-qos.txt:
1373         Bring docs in line with the code. Mostly the sign of the jitter was
1374         wrong in the docs. Fixes #349943.
1375
1376         * gst/gstclock.c:
1377         Fix the docs for the jitter.
1378
1379         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1380         (gst_event_parse_tag), (gst_event_new_buffer_size),
1381         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1382         (gst_event_new_seek), (gst_event_parse_seek),
1383         (gst_event_new_navigation):
1384         Make sure the GstStructure has no parent when creating custom
1385         events.
1386         Add some more argument checking so that we avoid 0.0 rates.
1387         Flesh out the docs for the QoS event some more.
1388
1389 2006-08-11  Wim Taymans  <wim@fluendo.com>
1390
1391         * docs/gst/gstreamer-sections.txt:
1392         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1393         (ensure_current_registry_forking), (ensure_current_registry),
1394         (parse_one_option), (parse_goption_arg), (gst_deinit),
1395         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1396         * gst/gst.h:
1397         Doc updates.
1398         Added API and command line option to disable registry forking in
1399         addition to the environment variable.
1400         Constify some static arrays.
1401         Added some more debug.
1402         Don't deinit twice.
1403         API: gst_registry_fork_is_enabled()
1404         API: gst_registry_fork_set_enabled()
1405         API: --gst-disable-registry-fork command line option
1406         Fixes #348918.
1407
1408 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1409
1410         * gst/gst.c: (gst_init):
1411           Fix typo in error message.
1412
1413 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * libs/gst/controller/gstcontroller.h:
1416           fix ABI size-correction
1417
1418         * tests/check/libs/gdp.c: (gst_dp_suite):
1419           make tests that use deprecated API conditional
1420
1421 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1422
1423         * docs/libs/gstreamer-libs-sections.txt:
1424         * libs/gst/controller/gstcontroller.c:
1425         (_gst_controller_get_property), (_gst_controller_set_property),
1426         (_gst_controller_init), (_gst_controller_class_init):
1427         * libs/gst/controller/gstcontroller.h:
1428         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1429         (gst_object_set_control_rate):
1430           API: add gst_object_{s,g}et_control_rate(), add private data section,
1431           fix docs
1432
1433         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1434         * libs/gst/dataprotocol/dataprotocol.h:
1435           add deprecation guards to make gtk-doc happy and allow disabling cruft
1436
1437 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1438
1439         * tests/check/Makefile.am:
1440         * tests/check/gst/.cvsignore:
1441           Let's enable the new unit test as well.
1442
1443 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1444
1445         * configure.ac:
1446         * docs/gst/gstreamer-sections.txt:
1447         * gst/gstconfig.h.in:
1448         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1449         (_gst_info_printf_extension_ptr),
1450         (_gst_info_printf_extension_segment):
1451           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1452           register that lets us easily dump GstSegments into debug
1453           logs (#350419).
1454
1455         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1456         (info_segment_format_printf_extension), (gst_info_suite):
1457           Add simple unit test that logs a bunch of different segments (not
1458           valgrinded at the moment because of leaks in
1459           gst_debug_add_log_function).
1460
1461 2006-08-09  Edward Hervey  <edward@fluendo.com>
1462
1463         * libs/gst/base/gstbasetransform.c:
1464         (gst_base_transform_buffer_alloc):
1465         Even if we can't figure out the proper format to request downstream,
1466         call buffer_alloc() downstream with the input parameters without setting
1467         the caps on the srcpad. This will force negotiation in the chain
1468         function.
1469         Closes #350449
1470
1471 2006-08-08  Edward Hervey  <edward@fluendo.com>
1472
1473         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1474         Unlinking from a pad without a target is now a perfectly valid case
1475         which should NOT raise an assertion.
1476         This case would happen if a linked ghostpad its target set to NULL after
1477         it was previously linked.
1478
1479 2006-08-08  Edward Hervey  <edward@fluendo.com>
1480
1481         * tests/check/libs/gdp.c:
1482         Also comment out the test (see below).
1483
1484 2006-08-08  Edward Hervey  <edward@fluendo.com>
1485
1486         * tests/check/libs/gdp.c: (gst_dp_suite):
1487         Use the architecture information from config.h and not gcc macros
1488         in order to properly disable a test that fails on PPC64.
1489
1490 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1491
1492         * gst/gstelement.c: (gst_element_remove_pad):
1493           Don't crash printing the warning if the pad has no parent.
1494
1495 2006-08-02  Wim Taymans  <wim@fluendo.com>
1496
1497         * libs/gst/dataprotocol/dataprotocol.c:
1498         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1499         (gst_dp_crc), (gst_dp_header_payload_length),
1500         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1501         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1502         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1503         (gst_dp_event_from_packet), (gst_dp_validate_header),
1504         (gst_dp_validate_payload):
1505         Make debug category static
1506         Constify the crc table.
1507         Do some more arg checking in public functions.
1508         Fix some docs and do some small cleanups.
1509
1510         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1511         Add some more checks to see if GDP deals with bogus input.
1512
1513 2006-07-31  Wim Taymans  <wim@fluendo.com>
1514
1515         * gst/gstvalue.c: (gst_value_compare_list):
1516         Fix GstValueList comparison code. Fixes #347293.
1517
1518         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1519         Check to test GstValueList comparison.
1520
1521 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1522
1523         * gst/gstelementfactory.c: (gst_element_factory_create):
1524         Remove unnecessary ref/unref pair
1525
1526         * gst/parse/grammar.y:
1527         Make sure to free the parse buffer on all code paths.
1528         Move a g_free up to the error handler where it's easier to see.
1529
1530         * tests/check/gst/gstevent.c: (test_event):
1531         Extending timeout for downstream travelling events to 10 seconds to
1532         hopefully avoid intermittent failure on the buildbots.
1533
1534         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1535         Don't manually set the state of the src element - it will happen as a
1536         natural consequence of the pipeline changing state, and that way it
1537         will do it in the right order too.
1538
1539 2006-07-31  Wim Taymans  <wim@fluendo.com>
1540
1541         * libs/gst/base/gstbasetransform.c:
1542         (gst_base_transform_buffer_alloc):
1543         Use OBJECT_LOCK and refcounting to get the pad caps in the
1544         buffer_alloc function because the caps could change while we are
1545         busy with them. Fixes #349105
1546
1547 2006-07-31  Wim Taymans  <wim@fluendo.com>
1548
1549         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1550         Protect _PAD_CAPS with OBJECT_LOCK.
1551
1552 2006-07-31  Wim Taymans  <wim@fluendo.com>
1553
1554         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1555         (gst_pad_get_property), (gst_pad_activate_pull),
1556         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1557         (gst_pad_set_activate_function),
1558         (gst_pad_set_activatepull_function),
1559         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1560         (gst_pad_set_getrange_function),
1561         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1562         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1563         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1564         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1565         (gst_pad_set_acceptcaps_function),
1566         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1567         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1568         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1569         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1570         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1571         (gst_pad_configure_sink), (gst_pad_configure_src),
1572         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1573         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1574         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1575         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1576         (gst_pad_send_event):
1577         Use _DEBUG_OBJECT when it makes sense.
1578         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1579         Small cleanups and code reflows.
1580         Avoid caps refcounting in _accept_caps.
1581         Refactor alloc_buffer so that the code performed on the peer is in a
1582         separate function. Also if the pad does not implement a buffer alloc
1583         function, we should still check if the pad is flushing before falling
1584         back to the default allocator.
1585
1586 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1587
1588         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1589         Make all uses of identity and fakesink have silent=true to avoid
1590         serialising every passing data structure, which is breaking tests
1591         on FC4 for some unknown reason.
1592
1593 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1594
1595         * gst/parse/Makefile.am:
1596         * gst/parse/grammar.y:
1597         * gst/parse/parse.l:
1598           Reverted previous patch as it required to bump the flex dependency to
1599           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1600
1601 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1602
1603         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1604
1605         * gst/parse/Makefile.am:
1606         * gst/parse/grammar.y:
1607         * gst/parse/parse.l:
1608           push & pop the state of the lexer for reentrant use case
1609           Fixes #349180
1610
1611 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1612
1613         * libs/gst/base/gstbasesrc.h:
1614           Note in the docs that the ::newsegment vfunc is not actually used by
1615           GstBaseSrc.
1616
1617 2006-07-28  Wim Taymans  <wim@fluendo.com>
1618
1619         * libs/gst/base/gstcollectpads.c:
1620         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1621         (gst_collect_pads_clear), (gst_collect_pads_flush),
1622         (gst_collect_pads_event), (gst_collect_pads_chain):
1623         When flushing a pad, also clear the queued buffer so that we don't
1624         accidentally use it when we shouldn't.
1625         Fix leaks by inreffing incomming buffer.
1626         Flush out queued buffers in case of errors.
1627         Fixes #347452.
1628
1629 2006-07-28  Wim Taymans  <wim@fluendo.com>
1630
1631         * docs/random/phonon-gst:
1632         Random notes about a Phonon backend.
1633
1634 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1635
1636         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1637         Extra debug output
1638         * tests/check/libs/gdp.c: (gst_dp_suite):
1639         Take a whack at fixing the ppc compile using a different define to
1640         disable the broken test.
1641
1642         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1643         Remove excess g_print()
1644
1645 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1646
1647         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1648         Oops, meant to uncomment this line too to dampen the noise a bit.
1649
1650 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1651
1652         * gst/parse/grammar.y:
1653         * gst/parse/parse.l:
1654         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1655         (GST_START_TEST), (parse_suite):
1656         Fix some of the leaks exposed by extending the parse-launch testsuite,
1657         and move the 3 I can't figure out into a separate test that won't run
1658         the pipelines unless the appropriate line is uncommented.
1659
1660 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1661
1662         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1663           Requesting 0 bytes before the end of the file should result in
1664           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1665           unit test.
1666
1667 2006-07-27  Wim Taymans  <wim@fluendo.com>
1668
1669         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1670         Fix useless assert, a uint is always positive.
1671
1672         * gst/gststructure.c: (gst_structure_nth_field_name),
1673         (gst_structure_foreach), (gst_structure_map_in_place):
1674         Check input arguments for public functions to avoid obvious crashes.
1675
1676         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1677         * plugins/elements/gstfakesink.h:
1678         Do less useless typechecking.
1679
1680 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1681
1682         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1683           Do not use mmap() by default since there are a number of error
1684           conditions that we would like to handle in a non-fatal way that
1685           will result in a SIGBUS if we use mmap(). Examples: external
1686           devices (USB harddrive, portable music player) being unplugged
1687           while in use; file on mounted CD/DVD that can't be read because
1688           the medium is partly damaged. Fixes #348455 and #348475.
1689
1690 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1691
1692         * gst/gstquery.h:
1693         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1694         rates are a gdouble
1695
1696 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1697
1698         * gst/gstregistry.c:
1699           Move big documentation comment into class section header, so that it
1700           appears in the API docs.
1701
1702 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1703
1704         * docs/gst/gstreamer-sections.txt:
1705         Oops. Commit the docs additions too for new API.
1706         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1707
1708 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1709
1710         * gst/gststructure.c: (gst_structure_id_set),
1711         (gst_structure_id_set_valist):
1712         * gst/gststructure.h:
1713         Add API for setting values into structures without performing
1714         a quark lookup, if the appropriate quark is already known.
1715
1716         API: gst_structure_id_set
1717         API: gst_structure_id_set_valist
1718
1719         * gst/parse/grammar.y:
1720         * gst/parse/parse.l:
1721         Remove some dead code shown by the coverage information.
1722         Don't throw a critical g_warning when encountering a syntax error,
1723         just warn and let the normal error path handle it.
1724
1725         * plugins/elements/gstelements.c:
1726         Bump the rank of filesink up to PRIMARY so that it is preferred over
1727         gnomevfssink for file:// sink uri's
1728
1729         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1730         (GST_START_TEST), (run_delayed_test),
1731         (gst_parse_test_element_base_init),
1732         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1733         (gst_parse_test_element_change_state),
1734         (gst_register_parse_element), (parse_suite):
1735         Beef up the tests for parse syntax to check that more error cases
1736         fail as they are supposed to. Increases the test coverage a bit.
1737
1738 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * docs/manual/basics-elements.xml:
1741           Fix gst_element_link() example.
1742
1743         * gst/gstutils.c:
1744           Mention in API docs that one should usually gst_bin_add()
1745           elements to a bin or pipeline before doing the linking.
1746           
1747 2006-07-26  Wim Taymans  <wim@fluendo.com>
1748
1749         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1750         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1751         Avoid function call for known types by keeping the buffer and
1752         subbuffer GType global.
1753
1754         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1755         Random silly optimisations in read() path.
1756
1757 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1758
1759         * tools/gst-launch.c: (main):
1760           If the top-level of the parse is a normal bin, it doesn't do the
1761           right logic to run as a top-level element, so place it inside a
1762           pipeline.
1763
1764 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1765
1766         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1767           Remove superfluous g_object_notify() calls, GObject does
1768           that for us automatically.
1769
1770 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1771
1772         * gst/gstinfo.h:
1773           on Win32, use dllspec to export the debug category symbols
1774
1775 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1776
1777         * gst/gsttaglist.c: (_gst_tag_initialize):
1778           Allow more than one GST_TAG_IMAGE per taglist.
1779
1780 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1781
1782         * gst/gstminiobject.c:
1783           update docs
1784         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1785         (gst_fd_src_create):
1786           log recurring events at LOG level
1787           add more debug for when the fd gets set
1788
1789 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1790
1791         * gst/gstparse.c: (gst_parse_launch):
1792           Also remove reentrance checks if flex is MT safe (#348179)
1793          Fix my empty ChangeLog entry below
1794
1795 2006-07-21  Andy Wingo  <wingo@pobox.com>
1796
1797         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1798
1799         * libs/gst/check/Makefile.am
1800         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1801         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1802         * libs/gst/check/gstbufferstraw.h:
1803         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1804         functions, thus proving I am still a GStreamer haxor. OK I wrote
1805         them a long time ago, but anyways.
1806
1807 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1808
1809         * configure.ac:
1810         * gst/gstparse.c: (gst_parse_launch):
1811           Check for flex version and omit mutex if we have a MT save flex
1812           (fixes #348179)
1813
1814 2006-07-21  Wim Taymans  <wim@fluendo.com>
1815
1816         * gst/gstparse.c: (gst_parse_launch):
1817         Protect recursive calls to _parse with a recursive mutex
1818         and busy flag.
1819
1820 2006-07-21  Wim Taymans  <wim@fluendo.com>
1821
1822         * tests/check/gst/gstpad.c: (GST_START_TEST):
1823         Fix leak in test.
1824
1825 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1826
1827         * gst/gstparse.c: (gst_parse_launch):
1828           Do not hang on recursive usage of gst_parse_launch()
1829
1830 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1831
1832         * gst/gsttaglist.c:
1833           Add some more docs, comments and FIXME 0.11s here and there
1834           and also fix some typos.
1835
1836 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1837
1838         * gst/gstsegment.h:
1839           Convert tabs to spaces for better readability. 
1840
1841 2006-07-20  Edward Hervey  <edward@fluendo.com>
1842
1843         * tests/check/libs/gdp.c: (gst_dp_suite):
1844         the test_buffer test fails at line 140 on ppc64 at the following
1845         check:
1846         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1847                 GST_BUFFER_FLAG_IN_CAPS),
1848                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1849         See bug #348114 for more details.
1850
1851 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1852
1853         * docs/pwg/advanced-scheduling.xml:
1854         * gst/gstpad.c:
1855           Fix typos (#348000).
1856
1857 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * docs/pwg/intro-basics.xml:
1860           Fix wrong links (#347927).
1861
1862 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1863
1864         * gst/gstregistry.h:
1865         * gst/gstregistryxml.c: (load_feature),
1866         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1867         * win32/common/config.h:
1868           make --disable-index work (#342564)
1869
1870 2006-07-18  Wim Taymans  <wim@fluendo.com>
1871
1872         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1873
1874         * gst/Makefile.am:
1875         * gst/gsttrace.h:
1876         The attached patch adds two missing defines to gsttrace.h when tracing
1877         is disabled.  It also corrects one existing define.
1878         Fixes #347756.
1879
1880 2006-07-17  Wim Taymans  <wim@fluendo.com>
1881
1882         * docs/gst/gstreamer-sections.txt:
1883         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1884         * gst/gst.h:
1885         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1886         Add two functions to check and change the SIGSEGV behaviour
1887         when loading plugins.
1888         Don't mess with the SIGSEGV handler when we were told not to.
1889         Fixes #347794.
1890         API: gst_segtrap_is_enabled
1891         API: gst_segtrap_set_enabled
1892
1893 2006-07-14  Wim Taymans  <wim@fluendo.com>
1894
1895         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1896         * tests/check/elements/filesrc.c: (GST_START_TEST):
1897         Revert fix for regression in #347408 after release.
1898
1899 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1900
1901         Patch by: Antoine Tremblay <hexa00 at gmail com>
1902
1903         * gst/gstutils.c: (gst_element_unlink):
1904           Free iterator when done (#347311).
1905
1906         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1907           And add a test case for this.
1908
1909 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1910
1911         * configure.ac:
1912         Bump nano back to CVS
1913
1914 === release 0.10.9 ===
1915
1916 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1917
1918         * configure.ac:
1919           releasing 0.10.9, "On the road again"
1920
1921 2006-07-13  Wim Taymans  <wim@fluendo.com>
1922
1923         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1924         * tests/check/elements/filesrc.c: (GST_START_TEST):
1925         Revert pull-0 fix for release. Disable check. Fixes #347408.
1926
1927 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1928
1929         * libs/gst/dataprotocol/dataprotocol.c:
1930         (gst_dp_event_from_packet_1_0):
1931           Fixes #347337: failure to deserialize event packets with
1932           empty payload (only event type)
1933
1934 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1935
1936         * gst/Makefile.am:
1937           do not install a .c file in the header directory
1938
1939 2006-07-13  Edward Hervey  <edward@fluendo.com>
1940
1941         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1942         GhostPad no longer implicitely use the padtemplates of the targets.
1943         Fixes #347384
1944
1945 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1946
1947         * gst/gstvalue.c: (gst_value_compare_list),
1948         (gst_value_compare_array), (_gst_value_initialize):
1949         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1950         Make GstValueArray comparison be order dependent as designed.
1951         Add checks for value lists and value array comparisons.
1952         Fixes #347221
1953
1954 2006-07-11  Edward Hervey  <edward@fluendo.com>
1955
1956         * gst/gstbin.c: (activate_pads),
1957         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1958         (gst_bin_change_state_func):
1959         (de)activate src pads before calling state_change on the childs.
1960         This is to avoid the case where a src ghostpad is blocked (holding the
1961         stream lock), which would block the deactivation of the ghostpad's
1962         target pad.
1963         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1964         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1965         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1966         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1967         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1968         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1969         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1970         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1971         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1972         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1973         (gst_ghost_pad_class_init),
1974         (gst_ghost_pad_internal_do_activate_push),
1975         (gst_ghost_pad_internal_do_activate_pull),
1976         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1977         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1978         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1979         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1980         GhostPads now create their internal GstProxyPad at creation (and not
1981         when they're linked, as it was being done previously).
1982         The internal and target pads are linked straight away.
1983         The data will also travel through the other pad in order to make
1984         pad blocking and probes non-hackish (the probe/block now really happens
1985         on the GhostPad and not on the target).
1986         * gst/gstpad.c: (gst_pad_set_blocked_async),
1987         (gst_pad_link_prepare), (gst_pad_push_event):
1988         Remove previous ghostpad cruft.
1989         * gst/gstutils.c: (gst_pad_add_data_probe),
1990         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1991         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1992         (gst_pad_remove_buffer_probe):
1993         Remove previous ghost pad cruft.
1994         Added more detailed debug statements.
1995         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1996         Fix the testsuite for refcounting changes.
1997         The comments about who has references were correct, but the refcount
1998         being checked wasn't the same (!?!).
1999
2000         Fixes #341029
2001
2002 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2003
2004         * docs/gst/gstreamer-sections.txt:
2005         * gst/gstconfig.h.in:
2006         More docs for configuration options, add docs to gtk-doc.
2007
2008 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
2009
2010         * gst/Makefile.am:
2011         * gst/gstconfig.h.in:
2012         * win32/common/config.h:
2013         Fix build when disabling tracing (fixes #344016). Also start to document
2014         the defines that disable the sub-systems.
2015
2016 2006-07-10  Edward Hervey  <edward@fluendo.com>
2017
2018         * gst/gst.c: (ensure_current_registry_forking):
2019         let's make valgrind happy...
2020
2021 2006-07-09  Wim Taymans  <wim@fluendo.com>
2022
2023         * gst/gstelement.c: (activate_pads),
2024         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2025         Better pad activation code: Reset the collect value too on resync.
2026         Add some comments.
2027
2028 2006-07-09  Wim Taymans  <wim@fluendo.com>
2029
2030         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2031         (gst_pad_activate_push):
2032         Use some more macros where it makes sense.
2033         Allow pad mode switching instead of asserting. When a pad
2034         is activated in one mode and we activate it in another, 
2035         deactivate it first before activating it in a different mode.
2036         Fixes #329198.
2037
2038 2006-07-08  Andy Wingo  <wingo@pobox.com>
2039
2040         * tools/gst-launch.c (main): Handle err == NULL.
2041
2042         * gst/gst.c (init_post, ensure_current_registry)
2043         (ensure_current_registry_forking)
2044         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2045         factoring out the registry scanning into separate functions. Don't
2046         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2047         Better environment var name/interface suggestions accepted.
2048
2049 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2050
2051         * gst/gstobject.c: (gst_object_set_name_default),
2052         (gst_object_set_name):
2053           Random micro-optimisation: don't use a hash table
2054           with strings as keys and the usual strdup/strcmp
2055           involved, but rather just use the GQuark of the
2056           type name as key, since it needs to be looked up
2057           anyway to get the type name string.
2058
2059         * tests/check/gst/gstobject.c: (GST_START_TEST):
2060           Fix various leaks.
2061
2062 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2063
2064         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2065         (gst_bin_iterate_all_by_interface):
2066           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2067           GTypes are gulongs and thus the top 4 bytes might be cut
2068           off on some platforms when doing GPOINTER_TO_INT, leading
2069           to invalid GTypes and bad things happening (see RH bug #179654).
2070           Also add a check to make sure the type passed in is really
2071           an interface type.
2072
2073 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2074
2075         * .cvsignore:
2076           Ignore more.
2077
2078 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
2079
2080         * Makefile.am:
2081         * configure.ac:
2082         * gst-element-check.m4:
2083         * gst-element-check.m4.in:
2084           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2085           instead of the unversioned gst-inspect (#324176, #168659).
2086
2087 2006-07-06  Wim Taymans  <wim@fluendo.com>
2088
2089         * gst/gstmessage.h:
2090         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2091         warnings.
2092
2093 2006-07-06  Wim Taymans  <wim@fluendo.com>
2094
2095         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2096         (gst_base_src_wait), (gst_base_src_update_length),
2097         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2098         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2099         (gst_base_src_loop), (gst_base_src_start),
2100         (gst_base_src_activate_pull):
2101         Update docs.
2102         blocksize == 0 now means the default blocksize when working in push
2103         based mode.
2104         Remove some pointless asserts in _wait function.
2105         Fix offset/length calculations and EOS handling. We can now pull 0
2106         bytes as well, which is allowed.
2107         use _check_get_range() to decide if we can operate in _pull based
2108         mode.
2109         Fix refcounting leak when check_get_range function was not 
2110         implemented.
2111         API GstBaseSrc::blocksize range can be 0 too now (default)
2112
2113         * tests/check/elements/filesrc.c: (GST_START_TEST),
2114         (filesrc_suite):
2115         Added check to test _get_range() behaviour.
2116
2117 2006-07-06  Wim Taymans  <wim@fluendo.com>
2118
2119         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2120         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2121         (gst_pad_pull_range):
2122         * gst/gstpad.h:
2123         Lots of comments and docs added to the pad functions.
2124         Flesh out the expected behaviour of the get_range() functions.
2125
2126 2006-07-06  Wim Taymans  <wim@fluendo.com>
2127
2128         * gst/gstbus.h:
2129         * gst/gstclock.h:
2130         * gst/gstevent.h:
2131         * gst/gstiterator.h:
2132         * gst/gstpad.h:
2133         * gst/gstplugin.h:
2134         * gst/gsttask.h:
2135         Remove comma at end of enumerator list. 
2136
2137 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
2138
2139         * win32/common/libgstbase.def:
2140         * win32/common/libgstdataprotocol.def:
2141         * win32/common/libsgtreamer.def:
2142         Add new exported functions.
2143
2144 2006-07-05  Wim Taymans  <wim@fluendo.com>
2145
2146         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2147         Add some more docs here and there.
2148
2149 2006-07-05  Wim Taymans  <wim@fluendo.com>
2150
2151         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2152         (gst_base_sink_loop), (gst_base_sink_get_position):
2153         When operating in pull mode update the offset so that we
2154         read sequentially.
2155
2156 2006-07-05  Wim Taymans  <wim@fluendo.com>
2157
2158         * gst/gstregistryxml.c: (read_string):
2159         Avoid strdup. (will happen in libxml, but hey!)
2160
2161         * gst/gsturi.c:
2162         Add some more docs.
2163
2164 2006-07-05  Wim Taymans  <wim@fluendo.com>
2165
2166         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2167         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2168         (gst_buffer_suite):
2169         No point in checking if the size of the subbuffer > 0, the
2170         code handles it correclty as demonstrated by unit test.
2171         Also add a unit test for the zero sized _new_and_alloc and
2172         _copy. Fixes #346663.
2173
2174 2006-07-05  Wim Taymans  <wim@fluendo.com>
2175
2176         * libs/gst/base/gstbasetransform.c:
2177         (gst_base_transform_prepare_output_buffer),
2178         (gst_base_transform_buffer_alloc),
2179         (gst_base_transform_handle_buffer):
2180         Make sure the buffer we pass to transform_ip has a refcount of
2181         1 and thus is writable. Fixes #343196
2182
2183 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
2184
2185         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2186         (gst_file_src_init), (gst_file_src_set_property),
2187         (gst_file_src_get_property), (gst_file_src_map_region):
2188         * plugins/elements/gstfilesrc.h:
2189         Add "sequential" property, off by default, to use madvise and hint
2190         to the kernel that sequential access is desired.
2191         Touch all retrieved pages by default to ensure they are pulled
2192         into memory. (Closes #345720)
2193
2194 2006-07-03  Wim Taymans  <wim@fluendo.com>
2195
2196         * docs/design/part-block.txt:
2197         * docs/design/part-dynamic.txt:
2198         Small docs updates.
2199
2200 2006-07-03  Wim Taymans  <wim@fluendo.com>
2201
2202         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2203         (gst_caps_unref), (gst_static_caps_get),
2204         (gst_caps_append_structure):
2205         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2206         Use GSlice when the glib we build against is >= 2.10
2207
2208 2006-07-03  Wim Taymans  <wim@fluendo.com>
2209
2210         * gst/gstelement.c: (gst_element_pads_activate):
2211         Small cleanup in pad activation code.
2212
2213 2006-07-03  Wim Taymans  <wim@fluendo.com>
2214
2215         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2216
2217         * gst/gst-i18n-app.h:
2218         * gst/gst-i18n-lib.h:
2219         * tools/gst-inspect.c: (print_signal_info):
2220         The attached patch will make the inclusion of gettext.h unconditional in
2221         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2222         libintl.h in tools/gst-inspect.c.
2223         This allows use of --disable-nls again and fixes #344642.
2224
2225 2006-07-03  Edward Hervey  <edward@fluendo.com>
2226
2227         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2228         Implement pad blocking on events according to part-block.txt.
2229         More comments on behaviour.
2230         * tests/check/gst/gstevent.c: (test_event):
2231         Send event to peer pad of blocked pad (else it will block).
2232
2233 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2234
2235         * libs/gst/check/gstcheck.c: (gst_check_message_error),
2236         (gst_check_run_suite):
2237           if we get the wrong message, give us the types as string
2238         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2239           Fix a translatable
2240         * tests/check/elements/filesrc.c: (GST_START_TEST):
2241           add a test for trying to open a non-existing file
2242
2243 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2244
2245         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2246           add a test for adding self
2247
2248 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
2249
2250         * libs/gst/check/gstcheck.h:
2251           add some assert_ as alias for fail_unless_*
2252         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2253           increase test coverage
2254
2255 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2256
2257         * Makefile.am:
2258           include lcov.mak for lcov coverage generation
2259         * tools/Makefile.am:
2260           add to CLEANFILES
2261
2262 2006-07-02  Edward Hervey  <edward@fluendo.com>
2263
2264         * tests/check/elements/.cvsignore:
2265         moaping
2266
2267 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2268
2269         * configure.ac:
2270           don't set CFLAGS and friends for gcov, done from GST_GCOV now
2271         * tests/check/Makefile.am:
2272           clean up gcov files
2273
2274 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2275
2276         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2277           remove gst_caps_simplify; it was not declared and not used
2278           and deprecated in 0.8
2279
2280 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2281
2282         * docs/faq/gst-uninstalled:
2283           don't put empty paths on PYTHONPATH
2284         * docs/gst/gstreamer-sections.txt:
2285           remove some symbols that are not there
2286
2287 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2288
2289         * gst/gstcaps.c: (gst_caps_compare_structures):
2290           whitespace fixes
2291         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2292         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2293           add more tests
2294
2295 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2296
2297         * libs/gst/dataprotocol/Makefile.am:
2298           build dataprotocol test by linking to the lib, instead of
2299           compiling the source, so we get coverage
2300         * tests/check/Makefile.am:
2301         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2302         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2303           add a test for filesrc
2304
2305 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2306
2307         * tests/check/gst/gststructure.c: (GST_START_TEST),
2308         (gst_structure_suite):
2309           Push coverage from 59.04% to 70.00%
2310
2311 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2312
2313         * tests/check/Makefile.am:
2314           gst-inspect every element; this makes sure that we also get
2315           coverage on element's get/set functions
2316
2317 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2318
2319         * configure.ac:
2320           set CFLAGS and friends to -O0 if gcov is being used
2321           add GCOV LIBS
2322         * gst/Makefile.am:
2323         * libs/gst/base/Makefile.am:
2324         * libs/gst/check/Makefile.am:
2325         * libs/gst/controller/Makefile.am:
2326         * libs/gst/dataprotocol/Makefile.am:
2327         * libs/gst/net/Makefile.am:
2328         * plugins/elements/Makefile.am:
2329         * plugins/indexers/Makefile.am:
2330           add makefile rules to generate gcov data and clean up
2331         * tests/check/Makefile.am:
2332           add a coverage target that generates an html overview
2333           of coverage data
2334
2335 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2336
2337         * tests/check/elements/fakesink.c:
2338         * tests/check/elements/fakesrc.c:
2339         * tests/check/elements/fdsrc.c:
2340         * tests/check/elements/identity.c:
2341         * tests/check/generic/sinks.c: (gst_sinks_suite):
2342         * tests/check/generic/states.c:
2343         * tests/check/gst/gst.c:
2344         * tests/check/gst/gstabi.c:
2345         * tests/check/gst/gstbin.c:
2346         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2347         * tests/check/gst/gstbus.c: (gst_bus_suite):
2348         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2349         * tests/check/gst/gstelement.c:
2350         * tests/check/gst/gstevent.c: (gst_event_suite):
2351         * tests/check/gst/gstghostpad.c:
2352         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2353         * tests/check/gst/gstmessage.c: (gst_message_suite):
2354         * tests/check/gst/gstminiobject.c:
2355         * tests/check/gst/gstobject.c:
2356         * tests/check/gst/gstpad.c:
2357         * tests/check/gst/gstpipeline.c:
2358         * tests/check/gst/gstplugin.c:
2359         * tests/check/gst/gstquery.c: (gst_query_suite):
2360         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2361         * tests/check/gst/gststructure.c:
2362         * tests/check/gst/gstsystemclock.c:
2363         * tests/check/gst/gsttag.c:
2364         * tests/check/gst/gsttask.c: (gst_task_suite):
2365         * tests/check/gst/gstutils.c:
2366         * tests/check/gst/gstvalue.c:
2367         * tests/check/libs/adapter.c:
2368         * tests/check/libs/basesrc.c:
2369         * tests/check/libs/collectpads.c:
2370         * tests/check/libs/controller.c:
2371         * tests/check/libs/gdp.c: (gst_dp_suite):
2372         * tests/check/libs/gstnetclientclock.c:
2373         * tests/check/libs/gstnettimeprovider.c:
2374         * tests/check/libs/libsabi.c: (libsabi_suite):
2375         * tests/check/libs/typefindhelper.c:
2376         * tests/check/pipelines/cleanup.c:
2377         * tests/check/pipelines/parse-launch.c:
2378         * tests/check/pipelines/simple-launch-lines.c:
2379         * tests/check/pipelines/stress.c: (stress_suite):
2380           use the new macro
2381
2382 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2383
2384         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2385         * libs/gst/check/gstcheck.h:
2386           create a macro and function so that the simple unit test
2387           case can be just one macro to create main()
2388
2389 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2390
2391         * gst/gstbin.c: (gst_bin_restore_thyself):
2392         * gst/gstxml.c: (gst_xml_make_element):
2393           Fix deserialisation from XML. Set parent manually
2394           instead of using gst_bin_add(), since gst_bin_add()
2395           will unlink all pads of the element being added.
2396           Fixes #341667.
2397
2398 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2399
2400         Patch by: Peter Kjellerstedt <pkj at axis com>
2401
2402         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2403           Fix missing g_strdup() and double free when using the
2404           --gst-plugin-load command line option (#346097).
2405
2406 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2407
2408         * gst/gstinfo.c:
2409           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2410
2411         * libs/gst/net/gstnetclientclock.c:
2412         * libs/gst/net/gstnettimeprovider.c:
2413           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2414
2415 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2416
2417         * docs/manual/advanced-dataaccess.xml:
2418           Fix buffer probe example compilation in
2419           ADM (#345708).
2420         
2421 2006-06-22  Edward Hervey  <edward@fluendo.com>
2422
2423         * gst/gstelement.c: (gst_element_pads_activate):
2424         We need to deactivate src pads first and then sink pads.
2425         The reason is the src pads might be blocking while holding the streaming
2426         lock, so we need to deactivate them first so that deactivating the sink
2427         pads doesn't block (since it will require the streaming lock).
2428
2429 2006-06-22  Wim Taymans  <wim@fluendo.com>
2430
2431         * libs/gst/base/gstbasetransform.c:
2432         (gst_base_transform_buffer_alloc):
2433         Forgot to remove two unneeded unrefs.
2434         Simplify a check _is_equal allready checks the obvious case.
2435
2436 2006-06-22  Wim Taymans  <wim@fluendo.com>
2437
2438         * docs/design/part-block.txt:
2439         Some docs about what pad_block should do.
2440
2441 2006-06-22  Wim Taymans  <wim@fluendo.com>
2442
2443         * gst/gstcaps.c: (gst_caps_replace):
2444         Fix crasher when passed NULL. Doc clarification.
2445         Optimize for the trivial case.
2446
2447         * gst/gstpipeline.c: (gst_pipeline_change_state):
2448         Small cleanups.
2449
2450         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2451         Small documentation cleanup.
2452
2453         * libs/gst/base/gstbasetransform.c:
2454         (gst_base_transform_buffer_alloc):
2455         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2456         is what we need and it avoids a whole lot of redundant 
2457         refcount operations.
2458
2459 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2460
2461         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2462
2463         * docs/manual/advanced-dataaccess.xml:
2464           Fix 'Embedding static elements' section to use
2465           GST_PLUGIN_DEFINE_STATIC (#345607).
2466
2467 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2468
2469         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2470           Attempt to 'fix' spuriously failing test case: it seems like the
2471           timeout of half a second is simply too small when the system is under
2472           load otherwise, and the timeout doesn't really seem to serve any
2473           particular purpose here. Give the pipeline a few seconds to preroll
2474           first, and then give it another half a second to go from PAUSED to
2475           PLAYING and marshal the message into the main thread.
2476
2477 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2478
2479         * tools/gst-feedback-m.m:
2480           Don't only use unversioned tools, try versioned tools as well
2481           (#345086).
2482
2483 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2484
2485         * gst/gstbus.c: (gst_bus_class_init):
2486           Fix some typos, make docs more explicit.
2487
2488 2006-06-20  Wim Taymans  <wim@fluendo.com>
2489
2490         * tests/check/gst/gstghostpad.c: (block_callback),
2491         (GST_START_TEST), (gst_ghost_pad_suite):
2492         Added some more ghostpad tests, mainly blocking
2493         and probes.
2494
2495 2006-06-16  Wim Taymans  <wim@fluendo.com>
2496
2497         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2498         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2499         (gst_file_sink_event), (gst_file_sink_render):
2500         * plugins/elements/gstfilesink.h:
2501         Check if we can seek in the file instead of assuming
2502         we always can. Post an error when we are asked to seek in a
2503         non-seekable file (like a fifo). Fixes #343312.
2504         Some cleanups.
2505
2506 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2507
2508         * tools/gst-launch.1.in:
2509           Un-garble (fourcc) bit in filtered caps section.
2510
2511 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2512
2513         * docs/manual/advanced-autoplugging.xml:
2514         * docs/manual/basics-helloworld.xml:
2515         * docs/manual/highlevel-components.xml:
2516           Don't leak bus reference in sample code.
2517
2518 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2519
2520         * autogen.sh:
2521           Add default for new --enable-plugin-docs switch.
2522
2523         * configure.ac:
2524           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2525           Fixes #344039.
2526
2527         * docs/Makefile.am:
2528           Use new ENABLE_PLUGIN_DOCS conditional.
2529
2530 2006-06-14  Wim Taymans  <wim@fluendo.com>
2531
2532         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2533         Make it clear with a FIXME and a real define what the #if 0
2534         previously disabled.
2535
2536 2006-06-14  Wim Taymans  <wim@fluendo.com>
2537
2538         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2539         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2540         * libs/gst/base/gstbasetransform.c:
2541         (gst_base_transform_sink_eventfunc):
2542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2543         Don't randomly and silently reset a segment when the format 
2544         changes as this is a bug somewhere upstream. Fixes #330379.
2545
2546 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2547
2548         Patch by: Wouter Paesen  <wouter at kangaroot net>
2549
2550         * libs/gst/controller/gstcontroller.c:
2551         (gst_controlled_property_new):
2552           Fix controlling of float properties (#344849).
2553
2554         * tests/check/libs/controller.c:
2555         (gst_test_mono_source_get_property),
2556         (gst_test_mono_source_set_property),
2557         (gst_test_mono_source_class_init), (GST_START_TEST):
2558           While we're at it, add some float stuff to unit test.
2559
2560 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2561
2562         * docs/README:
2563         * docs/images/gdp-header.svg:
2564           add a gdp image
2565         * docs/libs/Makefile.am:
2566         * docs/libs/gdp-header.png:
2567         * libs/gst/dataprotocol/dataprotocol.c:
2568           add it to the API docs
2569         * docs/manual/intro-motivation.xml:
2570           fix typo
2571
2572 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2573
2574         * gst/gst.c: (scan_and_update_registry), (init_post):
2575           If the fork()'ed child process can't write the updated registry cache
2576           file to disk for some reason, make it exit with a failure exit code,
2577           so that the parent can then re-scan the plugins itself and update the
2578           registry structures in memory and work with that (rather than failing
2579           when creating elements because seemingly no plugins are available).
2580           Refactor registry scanning code into separate function for this and
2581           also separate fork() and non-fork() code paths. Fixes #344748.
2582
2583 2006-06-13  Wim Taymans  <wim@fluendo.com>
2584
2585         * docs/manual/advanced-dataaccess.xml:
2586         Fix wrong PluginDesc. Fixes #344755.
2587
2588 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2589
2590         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2591           Fix silly bug that prevented us from creating
2592           ~/.gstreamer-0.10 and writing the registry in one
2593           go (the first call to g_mkstemp() would overwrite the
2594           placeholder in the template string, so the second call
2595           to g_mkstemp() after creating the missing directory
2596           would then error out with 'invalid argument').
2597
2598 2006-06-13  Edward Hervey  <edward@fluendo.com>
2599
2600         * gst/gst.c: (init_post):
2601         Free string.
2602
2603 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2604
2605         * gst/glib-compat-private.h:
2606         * gst/glib-compat.c:
2607         * gst/glib-compat.h:
2608         * gst/gstvalue.c: (gst_value_serialize_flags):
2609           remove GLib 2.6 compatibility code
2610
2611 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2612
2613         * gst/parse/Makefile.am:
2614           Fix build with 'make -j N' even more (#340016).
2615
2616 2006-06-12  Wim Taymans  <wim@fluendo.com>
2617
2618         * docs/gst/gstreamer-sections.txt:
2619         Fix docs.
2620
2621 2006-06-12  Wim Taymans  <wim@fluendo.com>
2622
2623         * gst/gstsegment.c: (gst_segment_set_duration),
2624         (gst_segment_set_last_stop), (gst_segment_set_seek),
2625         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2626         (gst_segment_to_running_time), (gst_segment_clip):
2627         Use G_UNLIKELY to help the compiler a bit.
2628
2629 2006-06-12  Wim Taymans  <wim@fluendo.com>
2630
2631         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2632
2633         * gst/gstevent.c: (gst_event_get_type):
2634         * gst/gstmessage.c:
2635         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2636         (gst_pad_push):
2637         constify quark registration strings. Fixes #344115
2638         Avoid unneeded type checking is _pad_push() by internally
2639         calling gst_pad_chain_unchecked().
2640
2641 2006-06-12  Wim Taymans  <wim@fluendo.com>
2642
2643         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2644         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2645         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2646         (gst_buffer_is_span_fast), (gst_buffer_span):
2647         Init _type for consistency.
2648         Use _FLAGS macro to avoid type check.
2649         Avoid unneeded type checks in subbufer code.
2650
2651 2006-06-12  Wim Taymans  <wim@fluendo.com>
2652
2653         * gst/gst.c: (gst_debug_help):
2654         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2655         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2656         (gst_plugin_feature_list_free):
2657         * gst/gstregistry.c: (gst_registry_add_plugin),
2658         (gst_registry_add_feature), (gst_registry_plugin_filter),
2659         (gst_registry_feature_filter), (gst_registry_find_plugin),
2660         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2661         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2662         * gst/gstregistryxml.c: (load_feature),
2663         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2664         * gst/gstminiobject.c: (gst_mini_object_unref),
2665         (gst_mini_object_replace), (gst_value_mini_object_free),
2666         (gst_value_mini_object_copy):
2667         Use _CAST macros to avoid unneeded type checking.
2668         Added some more G_UNLIKELY.
2669
2670 2006-06-12  Wim Taymans  <wim@fluendo.com>
2671
2672         * gst/gstbuffer.h:
2673         Avoid unneeded type checking.
2674         API: GST_BUFFER_IS_DISCONT
2675
2676         * gst/gstminiobject.h:
2677         Avoid type check in flag accessor.
2678
2679         * gst/gstelementfactory.h:
2680         * gst/gstplugin.h:
2681         * gst/gstpluginfeature.h:
2682         Add _CAST macros.
2683         API: GST_ELEMENT_FACTORY_CAST
2684         API: GST_PLUGIN_CAST
2685         API: GST_PLUGIN_FEATURE_CAST
2686
2687 2006-06-12  Wim Taymans  <wim@fluendo.com>
2688
2689         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2690         (gst_object_unref):
2691         Add G_UNLIKELY in type registration.
2692         Avoid type check in _ref/_unref since that is also
2693         done in glib.
2694
2695 2006-06-12  Wim Taymans  <wim@fluendo.com>
2696
2697         * gst/gsterror.c: (gst_g_error_get_type):
2698         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2699         (gst_static_pad_template_get_type):
2700         * gst/gsttaglist.c: (gst_tag_list_get_type):
2701         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2702         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2703         * gst/gsturi.c: (gst_uri_handler_get_type):
2704         * gst/gstvalue.c: (gst_date_get_type):
2705         * gst/gstxml.c: (gst_xml_get_type):
2706         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2707         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2708         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2709         Add G_UNLIKELY in type registration.
2710
2711 2006-06-12  Wim Taymans  <wim@fluendo.com>
2712
2713         * tools/gst-inspect.c: (print_signal_info):
2714         Properly print enum values.
2715
2716 2006-06-12  Wim Taymans  <wim@fluendo.com>
2717
2718         * gst/gstinfo.c: (gst_debug_set_active),
2719         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2720         * gst/gstinfo.h:
2721         Add some G_[UN]LIKELY.
2722         Maintain __gst_debug_min to avoid formatting the arguments of
2723         debug messages that will be dropped anyway to avoid a lot of 
2724         overhead from the debugging system.
2725
2726 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2727
2728         * po/POTFILES.in:
2729         * po/POTFILES.skip:
2730           add missing files containing translatable strings, tell intltool about
2731           one exception
2732
2733 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2734
2735         * tests/check/libs/.cvsignore:
2736         add test-binary to ignore list
2737
2738 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2739
2740         * docs/libs/gstreamer-libs-docs.sgml:
2741         reorder (put dp into a chapter) and indent
2742
2743 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2744
2745         * configure.ac:
2746           back to HEAD
2747
2748 === release 0.10.8 ===
2749
2750 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2751
2752         * configure.ac:
2753           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2754
2755 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2756
2757         * gst/gst.c: (init_post):
2758           move pid declaration to declaration block
2759
2760 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2761
2762         * gst/gst.c: (init_post):
2763           use _exit() instead of exit() in our forked child; this ensures
2764           that none of the registered exit handlers from whatever is using
2765           GStreamer get executed.  This fixes gnome-mixer-applet failing
2766           to load, because ORBit would shut down.
2767           Spotted by: Edward Hervey  <edward@fluendo.com>
2768           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2769           Fixes #344474
2770
2771 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2772
2773         * configure.ac:
2774           back to TRUNK
2775
2776 === release 0.10.7 ===
2777
2778 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2779
2780         * configure.ac:
2781           releasing 0.10.7, "Soepeke, ik zie ou"
2782
2783 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2784
2785         * configure.ac:
2786         * po/af.po:
2787         * po/az.po:
2788         * po/bg.po:
2789         * po/ca.po:
2790         * po/cs.po:
2791         * po/de.po:
2792         * po/en_GB.po:
2793         * po/fr.po:
2794         * po/it.po:
2795         * po/nb.po:
2796         * po/nl.po:
2797         * po/ru.po:
2798         * po/sq.po:
2799         * po/sr.po:
2800         * po/sv.po:
2801         * po/tr.po:
2802         * po/uk.po:
2803         * po/vi.po:
2804         * po/zh_CN.po:
2805         * po/zh_TW.po:
2806         * win32/common/config.h:
2807           0.10.6.2 prerelease
2808
2809 2006-06-07  Wim Taymans  <wim@fluendo.com>
2810
2811         * gst/gstindex.c: (gst_index_gtype_resolver):
2812         * tools/gst-xmlinspect.c: (print_plugin_info):
2813         Fix leak spotted by coverity checker. Fixes #343827
2814         Fix another other leak found by paolo borelli.
2815
2816 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2817
2818         * libs/gst/dataprotocol/dataprotocol.c:
2819         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2820         (gst_dp_version_get_type), (gst_dp_init),
2821         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2822         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2823         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2824         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2825         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2826         (gst_dp_packetizer_free):
2827         * libs/gst/dataprotocol/dataprotocol.h:
2828           API: add a GstDPPacketizer object, and create/free functions
2829           API: add GstDPVersion enum
2830           Add 1.0 event function that uses the string serialization
2831           Serialize more useful buffer flags
2832           Fixes #343988
2833
2834 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2835
2836         * tests/check/Makefile.am:
2837         * tests/check/gst/gstabi.c:
2838         * tests/check/gst/struct_ppc64.h:
2839         * tests/check/libs/libsabi.c:
2840         * tests/check/libs/struct_ppc64.h:
2841           add ppc64 structure sizes
2842
2843 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2844
2845         * tests/check/Makefile.am:
2846         * tests/check/gst/gstabi.c:
2847         * tests/check/gst/struct_x86_64.h:
2848         * tests/check/libs/libsabi.c:
2849         * tests/check/libs/struct_x86_64.h:
2850           generate and add structure size lists for x86_64
2851
2852 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2853
2854         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2855         * libs/gst/check/gstcheck.h:
2856           factor out the method from tests that checks size of structures,
2857           and add code to generate the header containing these sizes
2858         * tests/check/gst/gstabi.c: (GST_START_TEST):
2859         * tests/check/gst/struct_i386.h:
2860         * tests/check/libs/libsabi.c: (GST_START_TEST):
2861         * tests/check/libs/struct_i386.h:
2862           use it
2863
2864 2006-06-06  Michael Smith  <msmith@fluendo.com>
2865
2866         * gst/gstsegment.h:
2867           Don't use c++-style comments, fixes #343929
2868
2869 2006-06-05  Edward Hervey  <edward@fluendo.com>
2870
2871         * gst/gst.c:
2872         plugin_paths is not used if we build without registry support.
2873
2874         * gst/gstsegment.c: (gst_segment_copy): 
2875         _copy() was always returning NULL...
2876
2877 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2878
2879         * libs/gst/dataprotocol/dataprotocol.c:
2880         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2881         (gst_dp_packet_from_event):
2882           factor out CRC code
2883
2884 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2885
2886         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2887           make sure we unset caps
2888
2889 2006-06-02  Michael Smith  <msmith@fluendo.com>
2890
2891         * libs/gst/check/gstcheck.c: (gst_check_init),
2892         (gst_check_chain_func):
2893         * libs/gst/check/gstcheck.h:
2894           Add a cond/mutex to the check support lib, signal this whenever we
2895           add to the buffers list. This will allow tests to not busy-wait on
2896           the buffer-list.
2897
2898 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2899
2900         * libs/gst/dataprotocol/dataprotocol.c:
2901         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2902         (gst_dp_packet_from_event):
2903           factor out some common header init code
2904
2905 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2906
2907         * docs/libs/gstreamer-libs-sections.txt:
2908         * docs/libs/tmpl/gstdataprotocol.sgml:
2909         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2910         * libs/gst/dataprotocol/dataprotocol.h:
2911           API: make gst_dp_crc() public
2912
2913 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2914
2915         * plugins/indexers/gstindexers.c: (plugin_init):
2916         conditionally register fileindexer (fixes #343598)
2917
2918 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2919
2920         * gst/gsttagsetter.h:
2921         Can't cast ifaces to a class
2922
2923         * libs/gst/net/gstnetclientclock.h:
2924         * libs/gst/net/gstnettimeprovider.h:
2925         * plugins/elements/gstfakesink.h:
2926         * plugins/elements/gstfakesrc.h:
2927         * plugins/elements/gstfdsink.h:
2928         * plugins/elements/gstfdsrc.h:
2929         * plugins/elements/gstfilesink.h:
2930         * plugins/elements/gstfilesrc.h:
2931         * plugins/elements/gstidentity.h:
2932         * plugins/elements/gstqueue.h:
2933         * plugins/elements/gsttee.h:
2934         * plugins/indexers/gstfileindex.c:
2935         * plugins/indexers/gstmemindex.c:
2936         * tests/old/examples/plugins/example.h:
2937         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2938
2939 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2940
2941         * libs/gst/dataprotocol/dataprotocol.c:
2942         (gst_dp_header_from_buffer):
2943           make sure we zero the whole ABI-compatible area
2944
2945 2006-06-01  Wim Taymans  <wim@fluendo.com>
2946
2947         Patch by: Alessandro Decina <alessandro at nnva dot org>
2948
2949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2950         Make sure the EOS flag is cleared from pads after a flush
2951         or stop. Fixes #343538.
2952
2953         * tests/check/libs/collectpads.c: (GST_START_TEST),
2954         (gst_collect_pads_suite):
2955         Added test for collectpads reusage after EOS.
2956
2957 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2958
2959         * gst/gst.c:
2960          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2961         * win32/common/libgstbase.def:
2962          export gst_collect_pads_set_flushing
2963         * win32/common/libgstreamer.def:
2964          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2965          gst_value_fraction_multiply
2966         * win32/vs6/gst_inspect.dsp:
2967          add a link to intl.lib
2968
2969 2006-05-30  Wim Taymans  <wim@fluendo.com>
2970
2971         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2972         (gst_collect_pads_chain):
2973         Handle the case where a pad is removed from the collection
2974         that could cause the other pads to become collectable.
2975
2976 2006-05-30  Wim Taymans  <wim@fluendo.com>
2977
2978         * gst/gstelement.c:
2979         Clarify the use of _release_request_pad() and
2980         _get_request_pad() a bit better.
2981
2982         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2983         (gst_adapter_take_buffer):
2984         Fix some doc and comment typos.
2985
2986 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2987
2988         * docs/gst/gstreamer-sections.txt:
2989         * docs/libs/gstreamer-libs-sections.txt:
2990           add declared symbols
2991
2992 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2993
2994         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2995         Add debug that can be enabled using a #define at the top of the file,
2996         for dumping stats about how late/early we were when waking up from
2997         waiting on the clock.
2998
2999 2006-05-30  Wim Taymans  <wim@fluendo.com>
3000
3001         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3002         When rebuilding the pad list, don't leak the previous list.
3003
3004 2006-05-30  Wim Taymans  <wim@fluendo.com>
3005
3006         Patch by: Lutz Mueller <lutz at topfrose dot de>
3007
3008         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3009         (gst_base_src_get_query_types), (gst_base_src_update_length):
3010         Publish supported query types.
3011         Update last_stop field in get_range mode so the position
3012         query works. Fixes #342321.
3013
3014 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
3015
3016         * docs/gst/gstreamer-sections.txt:
3017         * gst/gsttaglist.c: (_gst_tag_initialize):
3018         * gst/gsttaglist.h:
3019           API: add GST_TAG_PREVIEW_IMAGE (#343341).
3020
3021 2006-05-30  Wim Taymans  <wim@fluendo.com>
3022
3023         Patch by: Alessandro Decina <alessandro at nnva dot org>
3024
3025         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3026         Unlock mutex when removing an unknown pad.
3027         Fixes #343334.
3028
3029         * tests/check/Makefile.am:
3030         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3031         (push_event), (setup), (teardown), (GST_START_TEST),
3032         (gst_collect_pads_suite), (main):
3033         Added collecpads check, disabled for now as check crashes for
3034         some reason.
3035
3036 2006-05-29  Wim Taymans  <wim@fluendo.com>
3037
3038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3039         Don't leak pads lists.
3040
3041 2006-05-29  Wim Taymans  <wim@fluendo.com>
3042
3043         * docs/libs/gstreamer-libs-sections.txt:
3044         * libs/gst/base/gstcollectpads.c:
3045         (gst_collect_pads_set_flushing_unlocked),
3046         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3047         (gst_collect_pads_stop):
3048         * libs/gst/base/gstcollectpads.h:
3049         API: gst_collect_pads_set_flushing()
3050         Added api to set the pads to flushing, useful for seeking
3051         code in elements using collectpads.
3052         Clear segment when receiving a flush.
3053
3054 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
3055
3056         * gst/gst.c: (add_path_func), (init_post):
3057           Don't scan registry paths passed via --gst-plugin-path immediately
3058           (will crash, because absolutely nothing is set up and no types are
3059           registered etc.); do this later in init_post(). Fixes #343057.
3060
3061 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3062
3063         * gst/gst.c: (init_post):
3064           if we have fork, fork while reading/rebuilding the registry
3065           so the parent doesn't take the hit of having all plugins loaded
3066           in memory.  Fixes #342777.
3067         * configure.ac:
3068           Check if we have fork()
3069         * win32/common/config.h.in:
3070           no fork() on win32
3071
3072 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3073
3074         * plugins/elements/gstelements.c:
3075         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3076         (gst_file_src_init), (gst_file_src_set_property),
3077         (gst_file_src_get_property), (gst_file_src_start):
3078         * plugins/elements/gstfilesrc.h:
3079           API: GstFileSrc::use-mmap
3080
3081         Add a use-mmap property to enable easier testing of all code paths.
3082         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3083         in the absence of gnomevfssrc. (Closes #340501)
3084
3085 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3086
3087         * tools/gst-inspect.c:
3088         Add missing include, removes warning of ngettext not being defined on
3089         some arches.
3090
3091 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
3092
3093         * gst/gstvalue.c: (gst_value_deserialize_fraction):
3094         Handle NULL input and output pointers silently as a failed conversion,
3095         rather than g_warnings.
3096
3097 2006-05-25  Wim Taymans  <wim@fluendo.com>
3098
3099         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3100         Initialize variable before using. Fixes #342820.
3101
3102 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3103
3104         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3105           Fix off-by-one bug that would only allow peeks of N-1 bytes
3106           from the start even if the buffer to typefind on contains
3107           in fact N bytes of data (makes vorbis typefinding from a
3108           vorbis identification header buffer work).
3109
3110         * tests/check/Makefile.am:
3111         * tests/check/libs/.cvsignore:
3112         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3113         (gst_typefindhelper_suite), (main), (foobar_typefind),
3114         (plugin_init):
3115           Add very basic unit test for gst_type_find_helper_for_buffer()
3116           that checks for the problem fixed above.
3117
3118 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
3119
3120         * tools/gst-inspect.c: (print_interfaces),
3121         (print_element_properties_info), (print_element_list), (main):
3122           add more translatable strings
3123
3124 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
3125
3126         Patch by: Julien Moutte  <julien at moutte net>
3127
3128         * docs/gst/gstreamer-sections.txt:
3129           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3130           
3131         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3132         (gst_fake_sink_preroll):
3133         * plugins/elements/gstfakesink.h:
3134           API: Add new GstFakeSink::preroll-handoff signal (#337100).
3135
3136 2006-05-23  Wim Taymans  <wim@fluendo.com>
3137
3138         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3139         * gst/gstpad.h:
3140         Added _CUSTOM error and success GstFlowReturn that can be
3141         used be elements internally. 
3142         Added macro to check for SUCCESS flowreturns.
3143         API: GST_FLOW_CUSTOM_SUCCESS
3144         API: GST_FLOW_CUSTOM_ERROR
3145         API: GST_FLOW_IS_SUCCESS
3146
3147         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3148         Added check for GstFlowReturn sanity.
3149
3150 2006-05-23  Wim Taymans  <wim@fluendo.com>
3151
3152         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3153
3154         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3155         (gst_collect_pads_event):
3156         clear/reset segment info in FLUSH_STOP.
3157         Fixes #336929.
3158
3159 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3162         (gst_collect_pads_check_collected):
3163         Flush queued buffer on _stop(), fixes playing again (#342454)
3164
3165 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3166
3167         * tests/check/gst/gststructure.c: (GST_START_TEST),
3168         (gst_structure_suite):
3169           add a test for a complete structure
3170
3171 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3172
3173         * docs/faq/developing.xml:
3174         * docs/faq/faq.xml:
3175         * docs/faq/troubleshooting.xml:
3176         * docs/faq/using.xml:
3177           Some minor FAQ updates that won't change the fact that
3178           our FAQ is badly structured, full of information hardly
3179           anyone new to GStreamer needs to know and lacking lots
3180           of information people constantly ask for.
3181           
3182 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
3183
3184         * gst/gstpad.c: (gst_pad_set_caps):
3185           Short-circuit gst_pad_set_caps if setting the existing
3186           caps pointer again, and avoid printing debug and 
3187           reffing/unreffing the caps.
3188
3189         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3190           There's actually no need to set the caps before pushing -
3191           the acceptcaps method will handle it anyway.
3192
3193 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3194
3195         * docs/gst/gstreamer-sections.txt:
3196         * win32/common/libgstreamer.def:
3197         * gst/gstutils.c: (gst_element_seek_simple):
3198         * gst/gstutils.h:
3199           API: add gst_element_seek_simple() (#342238).
3200
3201 2006-05-18  Edward Hervey  <edward@fluendo.com>
3202
3203         * gst/gsttypefind.c: (gst_type_find_get_type):
3204         * gst/gsttypefind.h:
3205         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3206         registered for GstTypeFind pointers. This allows wrapping the structure
3207         in bindings (i.e. gst-python).
3208
3209 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         * gst/gsttagsetter.c:
3212           Docs additions and fixes (see #339918).
3213
3214 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
3215
3216         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3217         The caps intersection algorithm can produce multiple copies of the
3218         caps. Until that is fixed, we need to simplify the result to be
3219         sure whether the allowed caps are fixed or not.
3220
3221         * plugins/elements/gstqueue.c: (gst_queue_init),
3222         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3223         (gst_queue_push_one):
3224         Proxied buffer alloc should not set the caps on the source pad.
3225         When pushing buffers, we always accept the caps change that triggers.
3226         This prevents negotiation errors caused by caps changing mid-stream 
3227         and then being refused on our source pad (because upstream is now
3228         refusing those caps).
3229
3230 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * tests/examples/helloworld/helloworld.c: (main):
3233           Must plug audioconvert and audioresample between decoder
3234           and audio sink.
3235
3236 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
3237
3238         * gst/gstregistryxml.c: (read_string), (load_pad_template),
3239         (load_feature), (load_plugin):
3240         Allow empty strings for some of the plugin fields so we don't 
3241         drop valid plugin entries that were written out correctly
3242         (Fixes #341479)
3243
3244 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
3245         
3246         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3247           Use g_remove and g_rename instead of remove and rename that don't 
3248           handle utf8 characters. rename was failing for users who had specific
3249           characters in their name then the registry was built at each 
3250           gstreamer init.
3251         * win32/vs6/gst_inspect.dsp:
3252         * win32/vs6/gst_launch.dsp:
3253         * win32/vs6/libgstbase.dsp:
3254         * win32/vs6/libgstcoreelements.dsp:
3255         * win32/vs6/libgstreamer.dsp:
3256           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
3257           build of libgstreamer and clean unused libraries in projects link 
3258           settings.
3259
3260 2006-05-17  Edward Hervey  <edward@fluendo.com>
3261
3262         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3263         The queue is not responsible for pushing an EOS when receiving a fatal
3264         flow error. It's up to the real element driving the pipeline to do that.
3265
3266 2006-05-16  Edward Hervey  <edward@fluendo.com>
3267
3268         * plugins/elements/gstqueue.c: (gst_queue_push_one):
3269         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3270         buffer returned a fatal error. It should just send an EOS and stop
3271         its task.
3272         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3273         when pushing buffers on the queue and will be able to handle the event.
3274
3275 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3276
3277         * docs/manual/basics-bins.xml:
3278         * docs/manual/basics-init.xml:
3279           Fix typos and minor errors in sample code (#341856).
3280
3281 2006-05-16  Wim Taymans  <wim@fluendo.com>
3282
3283         * docs/design/part-qos.txt:
3284         Fix indexes in formulas to make more sense.
3285
3286 2006-05-15  Wim Taymans  <wim@fluendo.com>
3287
3288         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3289         Don't report POSITION based on clock time if sync is
3290         disabled in a sink.
3291
3292 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3293
3294         * gst/gstobject.h:
3295           Add cast to make compiler happy - refcount variable was a gint
3296           in GstObject but is a guint in GObject and g_atomic_int_get()
3297           wants a gint *.
3298
3299 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3300
3301         * gst/parse/Makefile.am:
3302           chain commands using &&, which also makes parallel make work
3303
3304 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         * docs/gst/gstreamer-sections.txt:
3307         * gst/gstevent.c:
3308         * gst/gstevent.h:
3309         * gst/gstmessage.h:
3310           Minor docs fixes.
3311
3312 === release 0.10.6 ===
3313
3314 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3315
3316         * configure.ac:
3317           releasing 0.10.6, "Take the cannoli"
3318
3319 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3320
3321         * tools/gst-launch.c: (print_tag):
3322           Fix use of uninitialized variable in the hypothetical
3323           case that some broken plugin creates a GST_TAG_IMAGE
3324           tag containing a NULL buffer (#341667).
3325
3326 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3327
3328         * tools/gst-launch.c: (print_tag):
3329           Print something more intelligible for image tags when
3330           using the -t switch (#341556).
3331
3332 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3333
3334         * Makefile.am:
3335           updates for win32
3336         * configure.ac:
3337           define GST_MAJORMINOR so we have it available in win32/common/config.h
3338           Possibly remove it from our Makefile.am files later
3339         * win32/common/config.h:
3340         * win32/common/config.h.in:
3341           added GST_MAJORMINOR
3342         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3343         * win32/common/gstversion.h:
3344           updated
3345
3346 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3347
3348         * win32/MANIFEST:
3349           Update win32 files listing.
3350         * win32/common/gstversion.h:
3351           Add GST_MAJORMINOR definition.
3352         * win32/common/libgstreamer.def:
3353           Add new exported functions.
3354           
3355 2006-05-12  Michael Smith  <msmith@fluendo.com>
3356
3357         * gst/gstplugin.c: (gst_plugin_load_file):
3358           If an so file has no plugin entry point, unload the module.
3359
3360 2006-05-11  Wim Taymans  <wim@fluendo.com>
3361
3362         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3363         (gst_queue_set_property):
3364         Don't forget to signal the _chain or _loop function 
3365         when the queue size or thresholds change since that might
3366         cause them to make progres again.
3367
3368 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3369
3370         * gst/gstclock.c: (gst_clock_class_init):
3371         * gst/gstindex.c: (gst_index_class_init):
3372         * gst/gstobject.c: (gst_object_class_init):
3373         * gst/gstpad.c: (gst_pad_class_init):
3374         * gst/gstpipeline.c: (gst_pipeline_class_init):
3375         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3376         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3377         * libs/gst/base/gstbasetransform.c:
3378         (gst_base_transform_class_init):
3379         * libs/gst/net/gstnetclientclock.c:
3380         (gst_net_client_clock_class_init):
3381         * libs/gst/net/gstnettimeprovider.c:
3382         (gst_net_time_provider_class_init):
3383         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3384         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3385         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3386         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3387         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3388         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3389         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3390         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3391         * plugins/elements/gsttee.c: (gst_tee_class_init):
3392         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3393         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3394           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3395
3396 2006-05-11  Wim Taymans  <wim@fluendo.com>
3397
3398         * gst/gstbuffer.c: (_gst_buffer_initialize):
3399         Register subbufer along with the buffer type so that
3400         it does not accidentally gets registered from N
3401         different streaming threads in a non threadsafe way.
3402
3403 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3404
3405         * gst/gstbuffer.h:
3406         * gst/gstevent.h:
3407         * gst/gstmessage.h:
3408           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3409           gst_event_ref() and gst_message_ref() functions again
3410           (ugly hack, please do fix if there's a better way besides
3411           overrides.txt, which doesn't seem to work).
3412
3413 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3414
3415         * libs/gst/check/gstcheck.h:
3416           add an assert for setting state to avoid lots of repetitive code
3417           in the future
3418
3419 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3420
3421         * gst/gstvalue.c: (gst_value_serialize_flags):
3422           fix a leak if no flags are set
3423         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3424           fix leak in tests
3425
3426 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3427
3428         * docs/manual/basics-pads.xml:
3429           Expand a bit on caps and filtered links and update
3430           examples that were still using the no longer existing
3431           gst_pad_link_filtered() (#338206).
3432
3433 2006-05-10  Wim Taymans  <wim@fluendo.com>
3434
3435         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3436         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3437         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3438         (gst_collect_pads_stop):
3439         * libs/gst/base/gstcollectpads.h:
3440         No need to call _stop in _finalize.
3441         Iterate the main pad list in _finalize.
3442         Added some more debug.
3443         Free lists and data in the right order.
3444         Also free data whem doing _remove_pad when stopped for
3445         backward compatibility protect ::started with PAD_LOCK as
3446         well.
3447
3448 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3449
3450         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3451         (gst_structure_parse_value):
3452           add some comments
3453           rename a method so that it actually says what it does better
3454
3455 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3456
3457         * gst/gstevent.c: (_gst_event_initialize):
3458         * gst/gstformat.c: (_gst_format_initialize):
3459           make sure some essential types used by events are registered
3460           as part of gst_init()
3461         * gst/gstvalue.c: (gst_value_serialize_flags):
3462           if no flags are set, serialize them to a value that represents NONE
3463           so that deserializing them works
3464         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3465           add tests for serialization and deserialization of flags
3466
3467 2006-05-10  Wim Taymans  <wim@fluendo.com>
3468
3469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3470         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3471         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3472         (gst_collect_pads_event), (gst_collect_pads_chain):
3473         Update docs.
3474         Better debug info.
3475         Catch and return errors from the collect function
3476         Refuse data on eos pads.
3477
3478 2006-05-10  Edward Hervey  <edward@fluendo.com>
3479
3480         * gst/gstinterface.h:
3481         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3482         GInterface type checking.
3483         They were previously using non-defined macros.
3484
3485 2006-05-09  Wim Taymans  <wim@fluendo.com>
3486
3487         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3488         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3489         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3490         (gst_collect_pads_start), (gst_collect_pads_stop),
3491         (gst_collect_pads_peek), (gst_collect_pads_pop),
3492         (gst_collect_pads_available), (gst_collect_pads_read),
3493         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3494         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3495         (gst_collect_pads_chain):
3496         * libs/gst/base/gstcollectpads.h:
3497         Clean up the mess that is collectpads, add comments and
3498         FIXMEs where needed.
3499         Maintain a separate pad list so we can add pads while
3500         collecting the other ones. For this we need a new separate 
3501         lock (see comics).
3502         Fix memory leak in finalize.
3503         Refactor some weird code to set/unset pad flushing flags, mark
3504         with comments.
3505         Don't crash in _available, _read, _flush when we're EOS.
3506
3507         * tests/check/libs/.cvsignore:
3508         Ignore adapter check binary.
3509
3510 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3511
3512         * gst/gstindex.c: (gst_index_resolver_get_type):
3513         * plugins/elements/gstfakesink.c:
3514         (gst_fake_sink_state_error_get_type):
3515         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3516         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3517         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3518           Const-ify GEnumValue arrays.
3519
3520 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3521
3522         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3523           Add test case for flags + gst_buffer_make_metadata_writable().
3524
3525 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3528           gst_buffer_make_metadata_writable() should maintain the
3529           buffer flags (those that make sense at least) (see #340859).
3530
3531 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3532
3533         * tools/gst-inspect.c:
3534         * tools/gst-launch.c:
3535         * tools/gst-typefind.c:
3536         * tools/gst-xmlinspect.c:
3537         * tools/tools.h:
3538           Fix up includes: need to include stdlib.h in tools.h for exit().
3539
3540 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3541
3542         * gst/gsttaglist.c: (_gst_tag_initialize):
3543         * gst/gsttaglist.h:
3544           API: add GST_TAG_IMAGE tag (#340721).
3545
3546 2006-05-08  Wim Taymans  <wim@fluendo.com>
3547
3548         * gst/gstquery.c:
3549         Added some docs for the segment query.
3550
3551 2006-05-08  Wim Taymans  <wim@fluendo.com>
3552
3553         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3554         (gst_base_src_loop), (gst_base_src_change_state):
3555         Always push non-flushing serialized events in the streaming 
3556         thread.
3557
3558 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3559
3560         * gst/gsterror.c: (_gst_stream_errors_init):
3561           Add a missing error string.
3562
3563 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3564
3565         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3566         Add applied_rate to the debug
3567
3568         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3569         Copy applied_rate into the outgoing NEWSEGMENT event
3570
3571 2006-05-08  Wim Taymans  <wim@fluendo.com>
3572
3573         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3574
3575         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3576         (gst_base_sink_change_state):
3577         call ::unlock before taking the PREROLL_LOCK so we can safely
3578         handle elements that lock in ::render.
3579         Fixes #340174.
3580
3581 2006-05-08  Edward Hervey  <edward@fluendo.com>
3582
3583         * autogen.sh: (CONFIGURE_DEF_OPT): 
3584         Darwin's libtoolize is in fact called glibtoolize.
3585         Adding glibtoolize to the list of accepted names for libtoolize.
3586
3587 2006-05-08  Wim Taymans  <wim@fluendo.com>
3588
3589         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3590         Unify error handling, don't post an error message
3591         when a push() returns EOS but perform our normal EOS
3592         handling code. Fixes #340772.
3593
3594 2006-05-08  Wim Taymans  <wim@fluendo.com>
3595
3596         * docs/design/part-overview.txt:
3597         Make upsteam/downstream concepts more clear.
3598         Give an example of serialized/non-serialized events.
3599
3600         * docs/design/part-events.txt:
3601         * docs/design/part-streams.txt:
3602         Mention applied_rate.
3603
3604         * docs/design/part-trickmodes.txt:
3605         Mention applied rate, flesh out some more use cases.
3606
3607         * gst/gstevent.c: (gst_event_new_new_segment),
3608         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3609         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3610         (gst_event_parse_tag), (gst_event_new_buffer_size),
3611         (gst_event_parse_buffer_size), (gst_event_new_qos),
3612         (gst_event_parse_qos), (gst_event_parse_seek),
3613         (gst_event_new_navigation):
3614         * gst/gstevent.h:
3615         Add applied_rate field to NEWSEGMENT event.
3616         API: gst_event_new_new_segment_full()
3617         API: gst_event_parse_new_segment_full()
3618
3619         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3620         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3621         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3622         * gst/gstsegment.h:
3623         Add applied_rate to GstSegment structure.
3624         Make calculation of stream_time and running_time more correct
3625         wrt rate/applied_rate.
3626         Add some more docs.
3627         API: GstSegment::applied_rate field
3628         API: gst_segment_set_newsegment_full();
3629
3630         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3631         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3632         * libs/gst/base/gstbasetransform.c:
3633         (gst_base_transform_sink_eventfunc),
3634         (gst_base_transform_handle_buffer):
3635         Parse and use applied_rate in the GstSegment field.
3636
3637         * tests/check/gst/gstevent.c: (GST_START_TEST):
3638         Add check for applied_rate field.
3639
3640         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3641         (gstsegments_suite):
3642         Add more checks for various GstSegment operations.
3643
3644 2006-05-08  Wim Taymans  <wim@fluendo.com>
3645
3646         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3647         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3648         (gst_base_sink_get_position), (gst_base_sink_change_state):
3649         Store the sync time of the buffer end position separatly in a
3650         new variable eos_rtime so we can properly sync the EOS event.
3651         Fixes #340697.
3652         Fix the docs for gst_base_sink_set_qos_enabled().
3653         Don't set segment start to invalid value when we receive a 
3654         non TIME newsegment.
3655         get closer to handling position reporting for negative rates 
3656         correctly.
3657
3658 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3659
3660         * gst/gstcaps.c:
3661         Docs about how to print caps for debug purposes.
3662
3663         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3664         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3665
3666 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3667
3668         * gst/gstelement.c:
3669           use full enum names and preprend a '%' in docs strings to make recent 
3670           gtk-doc turn that into a link
3671
3672 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3673
3674         * docs/manual/basics-bins.xml:
3675         * docs/manual/basics-bus.xml:
3676         * docs/manual/basics-pads.xml:
3677           Some typo fixes, some additions, some clarifications. 
3678
3679 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3680
3681         * tools/gst-inspect.c: (main):
3682         * tools/gst-launch.c: (main):
3683         * tools/gst-run.c: (main):
3684         * tools/gst-typefind.c: (main):
3685         * tools/gst-xmlinspect.c: (main):
3686           Use the string passed to g_option_context_new() for
3687           what it's intended for - the program name is already
3688           printed elsewhere.
3689
3690 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         * tools/Makefile.am:
3693         * tools/gst-inspect.c: (main):
3694         * tools/gst-launch.c: (main):
3695         * tools/gst-xmlinspect.c: (main):
3696         * tools/tools.h:
3697           Add back --version command line option (#340460).
3698
3699         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3700           Add --version option and use GOption for argument parsing; refactor a
3701           bit; accept directories as arguments and recurse into them; lastly,
3702           print a decent error message when things go wrong.
3703
3704 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3705
3706         * docs/manual/basics-bins.xml:
3707         Don't mention GstThread (#340611)
3708         * docs/manual/basics-elements.xml:
3709         Update link to GObject tutorial (#340607)
3710         
3711 2006-05-05  Wim Taymans  <wim@fluendo.com>
3712
3713         * gst/gstbuffer.h:
3714         * gst/gstminiobject.c:
3715         Add note about refcounting and miniobject/buffer writeability
3716         to docs. Fixes #340604
3717
3718         * gst/gstelementfactory.h:
3719         Added some explanation about @klass.
3720
3721 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3722
3723         * docs/manual/intro-motivation.xml:
3724         * docs/manual/manual.xml:
3725         Avoid CORBA & Bonobo references (#340598)
3726
3727 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3728
3729         * docs/manual/basics-bus.xml:
3730         * docs/manual/basics-pads.xml:
3731         Fix up some inaccuracies and omissions (#340609)
3732         
3733 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3734
3735         * gst/gstghostpad.c:
3736           Small typo in docs (#340625)
3737
3738 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3739
3740         * gst/parse/Makefile.am:
3741           Make 'make -j' proof (see #340698).
3742
3743 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3744
3745         * configure.ac:
3746           Require GLib-2.8 here as well.
3747
3748 2006-05-05  Wim Taymans  <wim@fluendo.com>
3749
3750         * gst/glib-compat.c:
3751         * gst/gst.c: (init_pre):
3752         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3753         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3754         (gst_object_dispatch_properties_changed):
3755         * gst/gstobject.h:
3756         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3757         * gst/gststructure.c: (gst_structure_set_valist):
3758         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3759         Remove pre glib2.8 compatibility, fixes #340508
3760
3761 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3762
3763         * gst/gsttaglist.h:
3764           Mention type of tags in doc blurbs.
3765
3766 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3767
3768         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3769         (gst_pad_configure_src), (gst_pad_push):
3770         Restore acceptcaps checking behaviour now that good plugins have
3771         been released.
3772
3773 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3776
3777         * gst/gst.c:
3778         * gst/gstbus.c:
3779         * gst/gstclock.c:
3780         * gst/gstevent.c:
3781         * gst/gstformat.c:
3782         * gst/gstmessage.c:
3783         * gst/gstparse.c:
3784         * gst/gstquery.c:
3785         * gst/gstutils.c:
3786         * gst/parse/Makefile.am:
3787         * libs/gst/base/gstadapter.c:
3788         * libs/gst/base/gstbasesrc.c:
3789         * libs/gst/base/gstpushsrc.c:
3790         * libs/gst/base/gsttypefindhelper.c:
3791         * plugins/elements/gstfakesrc.c:
3792         * plugins/elements/gstidentity.c:
3793           Make sure gstprivate.h and/or config.h are
3794           always included first, otherwise some of our
3795           defines (like _FILE_OFFSET_BITS) might be
3796           redefined in the system headers. Fixes build
3797           on opensolaris (#340016).
3798
3799 2006-05-04  Wim Taymans  <wim@fluendo.com>
3800
3801         * docs/libs/gstreamer-libs-sections.txt:
3802         API: addition: gst_adapter_take_buffer()
3803         
3804         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3805         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3806         (gst_adapter_available_fast):
3807         * libs/gst/base/gstadapter.h:
3808         Prepare for optimizing the hell out of this hugely inefficient
3809         piece of code. 
3810         Added gst_adapter_take_buffer() so we can at least start thinking
3811         about subbuffering and merging.
3812         Added some comments.
3813
3814         * tests/check/Makefile.am:
3815         * tests/check/libs/adapter.c: (GST_START_TEST),
3816         (gst_adapter_suite), (main):
3817         Added GstAdapter check.
3818
3819 2006-05-04  Wim Taymans  <wim@fluendo.com>
3820
3821         * docs/design/part-overview.txt:
3822         Fix some typos, add blurb about buffer flags.
3823
3824 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3825
3826         * docs/libs/gstreamer-libs-sections.txt:
3827           make sure GstBaseTransformClass shows up in the docs
3828         * libs/gst/base/gstbasetransform.c:
3829         * libs/gst/base/gstbasetransform.h:
3830           move docs so gtk-doc picks it up now
3831
3832 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3833
3834         * docs/libs/gstreamer-libs-sections.txt:
3835           add missing symbols to docs
3836
3837 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3838
3839         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3840           back out the newsegment handling change, see #340060 for ongoing
3841           discussion
3842
3843 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3844
3845         * tools/gst-run.c: (get_candidates), (main):
3846           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3847           work); fix typo in error message. Fixes #340079.
3848
3849 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3850
3851         * common/Makefile.am:
3852         * docs/Makefile.am:
3853         * docs/faq/Makefile.am:
3854         * docs/gst/Makefile.am:
3855         * docs/libs/Makefile.am:
3856         * docs/manual/Makefile.am:
3857         * docs/plugins/Makefile.am:
3858         * docs/pwg/Makefile.am:
3859         * docs/slides/Makefile.am:
3860         * docs/upload.mak:
3861         * common/upload.mak:
3862           move upload.mak to common
3863
3864 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3865
3866         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3867           add more asserts on refcounts
3868           do more cleanup at end of tests
3869           fix test leaks showing in FC5
3870
3871 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3872
3873         * plugins/elements/gsttypefindelement.c:
3874         (gst_type_find_element_handle_event):
3875         reverted wrong change and reflowed code to avoid others falling into
3876         this trap
3877
3878 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3879
3880         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3881           fix changelog entry about last collectpads change,
3882           add notes about proper fix
3883
3884 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3885
3886         * gst/gst.c:
3887         * gst/gstregistry.c: (gst_registry_scan_path_level),
3888         (gst_registry_scan_path):
3889         * gst/gstregistry.h:
3890           only write out registry if it has changed, fixes #338339
3891
3892 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3893
3894         * gst/gstbin.c:
3895         * gst/gstpipeline.c:
3896         * plugins/elements/gstcapsfilter.c:
3897         * plugins/elements/gstfakesink.c:
3898         * plugins/elements/gstfakesrc.c:
3899         * plugins/elements/gstfdsink.c:
3900         * plugins/elements/gstfdsrc.c:
3901         * plugins/elements/gstfilesink.c:
3902         * plugins/elements/gstfilesrc.c:
3903         * plugins/elements/gstidentity.c:
3904         * plugins/elements/gstqueue.c:
3905         * plugins/elements/gsttee.c:
3906         * plugins/elements/gsttypefindelement.c:
3907         (gst_type_find_element_handle_event):
3908           make GstElementDetails const
3909
3910 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3913         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3914         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3915           more detailed debug and formatting cleanup,
3916           forward newsegments to src-pad (so that e.g. adder not eats them)
3917
3918 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3919
3920         * gst/gstutils.c: (gst_element_link_pads):
3921           cleanup double code
3922
3923 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3924
3925         * libs/gst/controller/gstcontroller.c:
3926         (gst_controller_sync_values):
3927           some little tuning
3928         * tests/check/libs/controller.c: (GST_START_TEST),
3929         (gst_controller_suite):
3930           a new test for live value handling
3931
3932 2006-04-28  Wim Taymans  <wim@fluendo.com>
3933
3934         * gst/gstutils.c: (push_and_ref):
3935         Added some more docs.
3936         Fix refcount issue whith gst_element_found_tags() helper 
3937         function. Fixes #338335
3938
3939         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3940         Added testsuite for gst_element_found_tags().
3941
3942 2006-04-28  Michael Smith  <msmith@fluendo.com>
3943
3944         * gst/gstvalue.c: (gst_value_serialize_flags):
3945           Avoid NULL dereference when trying to serialize flags containing
3946           invalid values.
3947
3948 2006-04-28  Michael Smith  <msmith@fluendo.com>
3949
3950         * plugins/elements/gsttypefindelement.c:
3951         (gst_type_find_element_handle_event):
3952           If we get EOS before any data is accumulated, don't use
3953           uninitialised local variables.
3954
3955 2006-04-28  Michael Smith  <msmith@fluendo.com>
3956
3957         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3958         (gst_dp_event_from_packet):
3959           Fixes in reading/writing events over GDP (not currently used?) - 
3960           dereferencing NULL events for unknown/invalid event types, memory
3961           leak, and change g_warning to GST_WARNING.
3962
3963 2006-04-28  Wim Taymans  <wim@fluendo.com>
3964
3965         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3966         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3967         (gst_base_sink_get_position), (gst_base_sink_change_state):
3968         When frame dropping is enabled, we should not ignore frames
3969         without a duration.
3970         Update some documentation.
3971
3972 2006-04-28  Wim Taymans  <wim@fluendo.com>
3973
3974         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3975         (gst_base_src_send_event), (gst_base_src_change_state):
3976         Documentation updates.
3977
3978 2006-04-28  Wim Taymans  <wim@fluendo.com>
3979
3980         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3981         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3982         handle EAGAIN, EINTR and short writes correctly. Also clean
3983         up some error cases, avoid a deadlock on bad file descriptors and
3984         use GST_DEBUG_OBJECT.
3985         Fixes #339843
3986
3987 2006-04-28  Wim Taymans  <wim@fluendo.com>
3988
3989         * gst/gstvalue.c: (gst_value_serialize_buffer),
3990         (gst_value_deserialize_buffer):
3991         Don't try to serialize a GValue with a NULL buffer. 
3992         Fixes #339821.
3993
3994         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3995         Added check for serialisation of NULL buffers.
3996
3997 2006-04-28  Wim Taymans  <wim@fluendo.com>
3998
3999         * gst/gstminiobject.c: (gst_value_take_mini_object):
4000         Taking a NULL miniobject is valid, fix the case where
4001         we try to unref the NULL miniobject.
4002
4003 2006-04-28  Wim Taymans  <wim@fluendo.com>
4004
4005         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4006
4007         * gst/gstbin.c: (gst_bin_handle_message_func):
4008         Update docs.
4009         Don't leak bin refcount when a state recalc is
4010         in progress and we delay another one #339808.
4011
4012 2006-04-28  Wim Taymans  <wim@fluendo.com>
4013
4014         * docs/design/part-TODO.txt:
4015         Mention QoS as an ongoing work item.
4016
4017         * docs/design/part-buffering.txt:
4018         New doc about buffering that needs to be fleshed out
4019         at some point.
4020
4021         * docs/design/part-qos.txt:
4022         More QoS policy for decoders/demuxers/transforms
4023
4024         * docs/design/part-trickmodes.txt:
4025         Small update.
4026
4027 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4028
4029         * configure.ac:
4030           back to HEAD
4031
4032 === release 0.10.5 ===
4033
4034 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
4035
4036         * configure.ac:
4037           releasing 0.10.5, "Fogo"
4038
4039 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4040
4041         patch by: Wim Taymans
4042
4043         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4044         (gst_pad_configure_src), (gst_pad_push):
4045         * gst/gstpipeline.c: (gst_pipeline_init):
4046           Fix internal data flow errors.  Fixes #338711.
4047
4048 2006-04-12  Wim Taymans  <wim@fluendo.com>
4049
4050         * tests/check/gst/gstelement.c: (GST_START_TEST):
4051         Don't leak the factory.
4052
4053 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4054
4055         * configure.ac:
4056         * win32/common/config.h:
4057           prerelease
4058
4059 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4060
4061         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4062         (gst_controller_unset_all):
4063           Free allocated GstTimedValues when freeing list nodes.
4064           Should fix leaks 'make check-valgrind' complains about.
4065
4066         * win32/common/libgstcontroller.def:
4067           Add gst_controller_unset_all.
4068
4069 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
4070
4071         * docs/libs/gstreamer-libs-sections.txt:
4072         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4073         (gst_controller_unset_all):
4074         * libs/gst/controller/gstcontroller.h:
4075         API: Added new method gst_controller_unset_all()
4076         fixed gst_controller_unset()
4077         * tests/check/libs/controller.c: (GST_START_TEST),
4078         (gst_controller_suite):
4079         Added two testcases for new and fixed method
4080
4081 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
4082
4083         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4084           MSG_DONTWAIT is not defined on Cygwin, so work
4085           around that (fixes #317048).
4086           
4087 2006-04-11  Wim Taymans  <wim@fluendo.com>
4088
4089         * gst/gstelementfactory.c: (gst_element_register),
4090         (gst_element_factory_create), (gst_element_factory_make):
4091         Some cleanups.
4092         Fixed a FIXME.
4093         Updated docs (Fixes #131079)
4094
4095         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4096         Small cleanups.
4097
4098         * tests/check/gst/gstelement.c: (GST_START_TEST),
4099         (gst_element_suite):
4100         Added testcase for elementfactory class field.
4101
4102 2006-04-10  Wim Taymans  <wim@fluendo.com>
4103
4104         * gst/gstsegment.c:
4105         Added some more docs.
4106
4107         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4108         (gst_base_sink_reset_qos):
4109         Calculate more accurate rate values.
4110
4111 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
4112
4113         * gst/gst_private.h:
4114           add a new #ifdef to use __declspec(dllimport) only for
4115           other modules and not for gstreamer core
4116         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4117           use gst_guint64_to_gdouble for conversion
4118         * win32/common/libgstreamer.def:
4119           add new exported functions
4120         * win32/vs6/gst_inspect.dsp:
4121         * win32/vs6/gst_launch.dsp:
4122         * win32/vs6/libgstbase.dsp:
4123         * win32/vs6/libgstcontroller.dsp:
4124         * win32/vs6/libgstcoreelements.dsp:
4125         * win32/vs6/libgstdataprotocol.dsp:
4126         * win32/vs6/libgstnet.dsp:
4127           update project files
4128
4129 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4130
4131         * gst/gstbuffer.c: (gst_subbuffer_class_init):
4132         * gst/gstclock.c: (gst_clock_class_init):
4133         * gst/gstelement.c: (gst_element_class_init):
4134         * gst/gstindex.c: (gst_index_class_init):
4135         * gst/gstindexfactory.c: (gst_index_factory_class_init):
4136         * gst/gstobject.c: (gst_object_class_init),
4137         (gst_signal_object_class_init):
4138         * gst/gstpad.c: (gst_pad_class_init):
4139         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4140         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4141         * gst/gstregistry.c: (gst_registry_class_init):
4142         * gst/gstsystemclock.c: (gst_system_clock_class_init):
4143         * gst/gsttask.c: (gst_task_class_init):
4144         * gst/gstxml.c: (gst_xml_class_init):
4145         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4146         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4147         (gst_base_src_loop):
4148         * libs/gst/controller/gstcontroller.c:/
4149         (_gst_controller_class_init):
4150         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4151         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4152         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4153         * tests/old/examples/plugins/example.c: (gst_example_class_init):
4154         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4155         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4156
4157 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
4158
4159         * gst/gstpad.c: (gst_pad_link):
4160           Must set peer pads before calling the link function, otherwise
4161           a task started from a link function might get a flow-not-linked
4162           result when trying to push because the other thread where the
4163           linking happens hasn't had a chance to set the peers yet. This
4164           might happen for example when a queue gets linked to a downstream
4165           element, as queue starts a streaming task when its source pad
4166           gets linked. Happens in real life when playing back flac/musepack
4167           files in playbin (#332390).
4168           
4169 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
4170
4171         * gst/gstindex.h:
4172         * gst/gstxml.h:
4173         * libs/gst/base/gstadapter.h:
4174         * libs/gst/base/gstbasesink.h:
4175         * libs/gst/base/gstbasesrc.h:
4176         * libs/gst/base/gstbasetransform.h:
4177         * libs/gst/base/gstcollectpads.h:
4178         * libs/gst/base/gstpushsrc.h:
4179         Fix broken GObject macros
4180
4181 2006-04-07  Wim Taymans  <wim@fluendo.com>
4182
4183         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4184         Initialize start and stop times, thanks valgrind.
4185
4186 2006-04-07  Wim Taymans  <wim@fluendo.com>
4187
4188         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4189         Be a bit nicer to badly behaving upstream elements that expect
4190         us to deal with non TIME segments and timestamps (such as fakesrc
4191         in the testsuite).
4192
4193 2006-04-07  Wim Taymans  <wim@fluendo.com>
4194
4195         * gst/gstbus.c:
4196         Small documentation clarification about the signal watch.
4197
4198         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4199         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4200         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4201         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4202         (gst_base_sink_get_position_last),
4203         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4204         Convert and store timestamps in stream time and running time, the
4205         raw timestamps are not usefull, also document this better.
4206         Use different window sizes for good and bad QoS observations so
4207         we react to badness a little quicker.
4208         Keep track of the amount of rendered and dropped buffers.
4209         Send QoS timestamps in running time.
4210
4211         * libs/gst/base/gstbasetransform.c:
4212         (gst_base_transform_sink_eventfunc),
4213         (gst_base_transform_handle_buffer):
4214         Compare QoS timestamps against running time.
4215
4216 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4217
4218         * gst/gstpad.c:
4219           Typo fixes in docs.
4220
4221 2006-04-06  Michael Smith  <msmith@fluendo.com>
4222
4223         * gst/gstpad.c: (gst_pad_set_property):
4224           Use g_value_get_object() instead of g_value_dup_gst_object(),
4225           to avoid double-reffing the pad template (which we then sink,
4226           so this worked previously if (and only if) the pad template
4227           was floating.
4228
4229         * gst/gstpadtemplate.c: (gst_pad_template_init),
4230         (gst_pad_template_pad_created):
4231           Never return floating references to pad templates, create
4232           them as initially-sunken.
4233
4234           Document an extra function (and make this stop sinking our
4235           pad template, since that is now guaranteed to do nothing,
4236           since we created it sunken).
4237
4238         * gst/gstghostpad.c:
4239           Fix docs typo.
4240
4241 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
4242
4243         * gst/gstinfo.c: (__gst_in_valgrind):
4244           Add some newlines.
4245
4246         * plugins/elements/gsttypefindelement.c:
4247         (gst_type_find_element_chain):
4248           Don't leak buffer caps.
4249
4250 2006-04-06  Michael Smith  <msmith@fluendo.com>
4251
4252         * gst/parse/grammar.y:
4253           Fix a leak in parse-launch for any source-or-sink named element 
4254           references used.
4255
4256         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4257           Unref the pipeline if it exists after we've failed parsing.
4258
4259 2006-04-05  Michael Smith  <msmith@fluendo.com>
4260
4261         * gst/gstpipeline.c: (gst_pipeline_init):
4262           When we create a pipeline bus, initially create it in flushing mode.
4263           Fixes leaks in at least one test, and makes a new pipeline work the
4264           same as one that has gone to READY and then back to NULL.
4265
4266         * gst/gstelement.c:
4267           Typo fix in docs.
4268
4269 2006-04-05  Michael Smith  <msmith@fluendo.com>
4270
4271         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4272           Unref a pad we reffed.
4273         * tests/check/gst/gstutils.c: (GST_START_TEST):
4274           Unref bins
4275
4276 2006-04-05  Michael Smith  <msmith@fluendo.com>
4277
4278         * gst/gstquery.c: (gst_query_set_formats),
4279         (gst_query_set_formatsv):
4280           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4281
4282 2006-04-05  Michael Smith  <msmith@fluendo.com>
4283
4284         * tests/check/generic/sinks.c: (GST_START_TEST):
4285           Fix a variety of memleaks in sinks check, which are only sometimes 
4286           shown by running the tests under valgrind (weird?).
4287
4288 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4289
4290         * docs/version.entities.in:
4291           Fix the substituted entity name after thomas' changes on the
4292           weekend.
4293
4294 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4295
4296         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4297         VALGRIND_PRINTF
4298         
4299 2006-04-05  Andy Wingo  <wingo@pobox.com>
4300
4301         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4302
4303         * libs/gst/base/gstbasetransform.c
4304         (gst_base_transform_sink_eventfunc): When resetting our segment on
4305         FLUSH_STOP, also update the flag saying we haven't seen a
4306         newsegment.
4307
4308 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4309
4310         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4311
4312         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4313         (gst_plugin_check_license):
4314           minor clean-ups: G_DEFINE_TYPE already takes care of the
4315           parent_class stuff, no need to do it twice. Mark array of
4316           license strings as constant. (#337103)
4317           
4318 2006-04-04  Michael Smith  <msmith@fluendo.com>
4319
4320         * tools/gst-inspect.c: (print_element_list):
4321           Free the right plugin list; fixes a memory leak.
4322
4323 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4324
4325         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4326
4327         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4328           Don't error out on empty buffers (#336945).
4329           
4330 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4331
4332         * docs/libs/gstreamer-libs-sections.txt:
4333         * gst/gsttaglist.c:
4334         * libs/gst/base/gstbasesink.c:
4335         * libs/gst/base/gstbasesink.h:
4336         * libs/gst/base/gstbasesrc.c:
4337         * libs/gst/base/gstbasesrc.h:
4338           Documentation updates. Make BaseSink and BaseSrc docs contain the
4339           class structure so that people can actually see the prototypes for
4340           virtual functions they're supposed to be overriding.
4341
4342 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4343
4344         * plugins/elements/gsttypefindelement.c:
4345         (gst_type_find_element_chain):
4346           More debug info; when skipping typefinding, send cached
4347           events in all cases.
4348
4349 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4350
4351         * configure.ac:
4352           use new AS_VERSION and AS_NANO macros
4353         * gst/gst-i18n-lib.h:
4354         * gst/gst.c:
4355         * gst/gsterror.c:
4356         * gst/gstversion.h.in:
4357         * win32/common/config.h:
4358         * win32/common/config.h.in:
4359           update accordingly
4360
4361 2006-03-31  Michael Smith  <msmith@fluendo.com>
4362
4363         * plugins/elements/gsttypefindelement.c:
4364         (gst_type_find_element_chain):
4365           Do not typefind content if the buffers already have caps.
4366           Neccesary for icydemux (#333657), and the right thing to do anyway.
4367
4368 2006-03-30  Wim Taymans  <wim@fluendo.com>
4369
4370         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4371         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4372         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4373         (gst_base_sink_record_qos_observation),
4374         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4375         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4376         (gst_base_sink_change_state):
4377         More QoS measurements as described in the design doc.
4378         Get rid of ringbuffer with observations, running average is
4379         more simple and equally good.
4380         Calculates valid proportion now.
4381         Added beginning of flood measurement.
4382
4383 2006-03-29  Wim Taymans  <wim@fluendo.com>
4384
4385         * docs/design/part-qos.txt:
4386         * gst/gstclock.c:
4387         Small documentation updates and additions.
4388
4389 2006-03-29  Wim Taymans  <wim@fluendo.com>
4390
4391         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4392         (gst_base_src_send_event), (gst_base_src_loop),
4393         (gst_base_src_change_state):
4394         Perform the EOS logic when we reach the segment stop position.
4395         Fix compilation on gcc4.1
4396
4397 2006-03-29  Wim Taymans  <wim@fluendo.com>
4398
4399         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4400
4401         * plugins/elements/gstqueue.c: (gst_queue_init),
4402         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4403         (gst_queue_set_property):
4404         * plugins/elements/gstqueue.h:
4405         In queue, when EOS is received, if minimum threshold > max_size -
4406         current_level, there is chance that queue blocks forever in conditional
4407         item del wait. This is because the queue is not emptied completely due
4408         to minimum threshold.  Here is another approach. Instead of setting
4409         cur_levels to max in EOS, just zero all minimum threshold levels. This
4410         should make sure that queue gives out all data. When going to READY
4411         (stop) state, just reset the original minimum threshold levels.
4412         Fixes #336336.
4413
4414 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4415
4416         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4417         (gst_type_find_element_handle_event),
4418         (gst_type_find_element_send_cached_events),
4419         (gst_type_find_element_change_state):
4420         * plugins/elements/gsttypefindelement.h:
4421           When typefinding is done in push mode, we should cache
4422           events we receive during typefinding instead of just
4423           dropping them (e.g. newsegment, custom events from
4424           dvdreadsrc etc.) and then send them out once we've
4425           determined the type of the stream (and decodebin
4426           has had a chance to plug in a decoder/demuxer).
4427           
4428 2006-03-27  Wim Taymans  <wim@fluendo.com>
4429
4430         * docs/design/part-qos.txt:
4431         First QoS ideas.
4432
4433 2006-03-27  Wim Taymans  <wim@fluendo.com>
4434
4435         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4436
4437         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4438         (gst_base_src_send_event), (gst_base_src_change_state):
4439         Handle element seek correctly when we are streaming.
4440         Fixes #326998.
4441
4442 2006-03-24  Michael Smith  <msmith@fluendo.com>
4443
4444         * docs/faq/gst-uninstalled:
4445           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4446           allow you to correctly run intalled applications built against old 
4447           core, using plugins that require updated core (e.g. running
4448           installed totem against a full uninstalled gstreamer stack)
4449
4450 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4451
4452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4453         more debug details
4454
4455 2006-03-24  Wim Taymans  <wim@fluendo.com>
4456
4457         * docs/gst/gstreamer-sections.txt:
4458         Rearrange the order of the methods so that related methods
4459         are grouped together in sections.
4460
4461 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4462
4463         * gst/gstelement.c:
4464           Little clarification in the docs
4465
4466 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4467
4468         * docs/README:
4469         formatting fix
4470         * plugins/elements/gstidentity.c:
4471         * plugins/elements/gstqueue.c:
4472         * plugins/elements/gsttee.c:
4473         * plugins/elements/gsttypefindelement.c:
4474         GST_ELEMENT_DETAILS formatting
4475
4476 2006-03-24  Wim Taymans  <wim@fluendo.com>
4477
4478         * libs/gst/base/gstbasesink.h:
4479         Only add fields, not insert or we break ABI.
4480
4481 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4482
4483         * win32/common/libgstbase.def:
4484         * win32/common/libgstreamer.def:
4485           Update, add recently added functions.
4486
4487 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4488
4489         * docs/gst/gstreamer-sections.txt:
4490         * gst/gstutils.c: (gst_pad_query_peer_position),
4491         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4492         * gst/gstutils.h:
4493           API: add some new utility functions:
4494            - gst_pad_query_peer_position()
4495            - gst_pad_query_peer_duration()
4496            - gst_pad_query_peer_convert()
4497           
4498 2006-03-23  Wim Taymans  <wim@fluendo.com>
4499
4500         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4501         (gst_base_sink_init), (gst_base_sink_finalize),
4502         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4503         (gst_base_sink_set_property), (gst_base_sink_get_property),
4504         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4505         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4506         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4507         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4508         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4509         (gst_base_sink_preroll_object), (gst_base_sink_event),
4510         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4511         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4512         (gst_base_sink_query), (gst_base_sink_change_state):
4513         Decouple max-lateness and the fact that QoS messages are generated
4514         with a new property (qos).
4515         added API: GstBaseSink::async_play()
4516         Add vmethod so subclasses can be notified of ASYNC playing
4517         state changes.
4518         Collect timestamp start and stop to report better current
4519         position in EOS/PLAYING/PAUSED/READY/NULL.
4520         Refactor QoS/frame dropping and other measurements.
4521         API: GstBaseSrc::qos
4522         Fixes #326311
4523
4524         * libs/gst/base/gstbasesink.h:
4525         Added Private struct.
4526         API: gst_base_sink_set_qos_enabled()
4527         API: gst_base_sink_is_qos_enabled()
4528
4529 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4532           If compiling against GLib-2.8 or newer, try to read the
4533           registry file using GMappedFile first before falling back
4534           to fopen() + fread() (#332151).
4535
4536 2006-03-22  Wim Taymans  <wim@fluendo.com>
4537
4538         * gst/gstinfo.c: (gst_debug_set_active),
4539         (gst_debug_category_set_threshold):
4540         Disable debugging unless explicitly activated.
4541         Fixes #335480.
4542
4543 2006-03-22  Wim Taymans  <wim@fluendo.com>
4544
4545         * gst/gstelement.c: (gst_element_set_locked_state),
4546         (gst_element_dispose):
4547         Cleanup the error case.
4548
4549         * gst/gstobject.c: (gst_object_dispose):
4550         print a critical when some object was disposed with
4551         a parent, also revive the object since it might
4552         crash the parent.
4553
4554 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4555
4556         * tools/gst-launch.1.in:
4557           Fix another typo.
4558
4559 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4560
4561         * configure.ac:
4562         * tests/check/Makefile.am:
4563           disable some tests when we don't have a registry
4564         * tests/check/gst/gstutils.c: (gst_utils_suite):
4565           don't build the part that needs parsing
4566
4567 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4568
4569         * gst/Makefile.am
4570         * tests/examples/Makefile.am:
4571           fix --disable-parse build
4572
4573 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4574
4575         * tools/gst-feedback.1.in:
4576           Fix typo: s/feeback/feedback/ (#133494).
4577
4578 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4579
4580         * tools/Makefile.am:
4581         * tools/gst-launch.1.in:
4582           Add FILES section and correct entry about GST_REGISTRY_PATH
4583           environment variable (#133495; #133494).
4584
4585 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4586
4587         * tools/Makefile.am:
4588         * tools/gst-md5sum.1.in:
4589         * tools/gst-md5sum.c:
4590           Remove gst-md5sum and man page (the md5sink element
4591           required was removed ages ago)
4592
4593 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4594
4595         * gst/gststructure.c: (gst_structure_id_set_value):
4596           Make sure that string fields in structures/taglists
4597           contain valid UTF-8 - we don't want to pass rubbish to
4598           applications because of a buggy plugin (cp. #334167).
4599
4600 2006-03-21  Edward Hervey  <edward@fluendo.com>
4601
4602         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4603         (gst_bin_handle_message_func):
4604         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4605         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4606         (gst_element_set_bus_func):
4607         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4608         * gst/gstminiobject.c: (gst_value_set_mini_object),
4609         (gst_value_take_mini_object):
4610         * gst/gstpad.c: (gst_pad_set_pad_template):
4611         * gst/gstpipeline.c: (gst_pipeline_dispose),
4612         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4613         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4614         (gst_collect_pads_chain):
4615         * libs/gst/net/gstnettimeprovider.c:
4616         (gst_net_time_provider_set_property):
4617         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4618         It's in fact all issues with gst_*object_replace().
4619
4620 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4621
4622         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4623         
4624         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4625         * pkgconfig/gstreamer-check.pc.in:
4626           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4627
4628 2006-03-21  Edward Hervey  <edward@fluendo.com>
4629
4630         * gst/gstbuffer.h:
4631         * gst/gstevent.h:
4632         * gst/gstmessage.h:
4633         gst_[buffer|event|message]_ref() macros are replaced by a static
4634         inline functions because gcc-4.1 will about if the return value
4635         isn't used.
4636         * tests/check/gst/gstevent.c: (event_probe):
4637         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4638
4639 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4640
4641         * gst/gstutils.h:
4642         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4643         the type' case. (Closes: #335195 for now). In the future, when we
4644         depend on GLib 2.10, we could also intern the type name using
4645         g_intern_static_string()
4646
4647 2006-03-20  Wim Taymans  <wim@fluendo.com>
4648
4649         * gst/gstbin.c: (gst_bin_handle_message_func),
4650         (bin_query_max_init), (bin_query_position_fold),
4651         (bin_query_position_done), (gst_bin_query):
4652         Position query should also take max of all streams.
4653
4654 2006-03-20  Wim Taymans  <wim@fluendo.com>
4655
4656         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4657         (gst_fake_src_finalize):
4658         Fix leaks in fakesrc.
4659
4660         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4661         Fix leaks in the testcase.
4662
4663 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4664
4665         * gst/gst_private.h:
4666           add win32 specific import decoration(__declspec(dllimport)) 
4667           for all extern GstDebugCategory * variables
4668         * win32/common/libgstbase.def:
4669         * win32/common/libgstcontroller.def:
4670         * win32/common/libgstreamer.def:
4671           Add some exports, remove empty lines
4672         * win32/common/libgstdataprotocol.def:
4673         * win32/common/libgstdataprotocol.dsp:
4674         * win32/common/libgstnet.def:
4675         * win32/common/libgstnet.dsp:
4676           new project files and exportation files added
4677         
4678 2006-03-19  Wim Taymans  <wim@fluendo.com>
4679
4680         * tests/check/libs/basesrc.c: (eos_event_counter):
4681         Use proper return value for probe.
4682
4683 2006-03-17  Wim Taymans  <wim@fluendo.com>
4684
4685         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4686         (gst_pad_push):
4687         Don't leak buffers, caps and pads on negotiation errors.
4688
4689 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4690
4691         * docs/faq/cvs.xml:
4692         * docs/faq/dependencies.xml:
4693         * docs/faq/developing.xml:
4694         * docs/faq/faq.xml:
4695         * docs/faq/general.xml:
4696         * docs/faq/getting.xml:
4697         * docs/faq/legal.xml:
4698         * docs/faq/troubleshooting.xml:
4699         * docs/faq/using.xml:
4700         Faq review and update.
4701
4702 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4703
4704         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4705         (gst_pad_push):
4706         Don't pound the cpu to pieces by checking get_caps when accept_caps
4707         is called with the same caps as the pad already has.
4708         Use GST_DEBUG_OBJECT when outputting caps change information.
4709
4710 2006-03-15  Wim Taymans  <wim@fluendo.com>
4711
4712         * gst/gstclock.c: (gst_clock_class_init):
4713         Fix docs.
4714
4715 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4716
4717         * gst/gstbuffer.h:
4718         Documentation fix.
4719
4720         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4721         (gst_pad_accept_caps), (gst_pad_configure_sink),
4722         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4723         Make the default acceptcaps behaviour be to check the requested 
4724         caps against the gst_pad_get_caps output. 
4725
4726         Ensure that gst_pad_accept_caps is used to check caps when a pad
4727         doesn't have a setcaps function, so that pads automatically refuse 
4728         caps that they don't allow in their pad template. (Fixes #332986)
4729
4730         When a buffer with attached caps is pushed, ensure that the source 
4731         pad receives those caps even if the element didn't call
4732         gst_pad_set_caps first.
4733
4734 2006-03-15  Wim Taymans  <wim@fluendo.com>
4735
4736         * libs/gst/base/gstadapter.c:
4737         Add some docs.
4738
4739 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4740
4741         * win32/common/libgstbase.def:
4742         * win32/common/libgstcontroller.def:
4743         * win32/common/libgstreamer.def:
4744           Add a whole bunch of missing functions (#334434).
4745
4746 2006-03-14  Wim Taymans  <wim@fluendo.com>
4747
4748         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4749         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4750         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4751         Better debug info when we receive a segment event.
4752         Reorganize a bit so we can pass the get_times() results around.
4753         Use the segment format when calculating the running time.
4754         Don't do QoS is sync is disabled or we have no clock or the
4755         element does not want us to sync to the clock.
4756         Don't drop buffers if QoS is disabled for now.
4757
4758 2006-03-14  Wim Taymans  <wim@fluendo.com>
4759
4760         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4761         Marked the stats property as unimplemented so people don't get
4762         wild ideas.
4763         Add debug message when regression goes wrong.
4764         Added some more docs.
4765
4766 2006-03-14  Wim Taymans  <wim@fluendo.com>
4767
4768         * gst/gstsegment.c: (gst_segment_to_stream_time):
4769         Return correct return type in case of errors.
4770
4771 2006-03-14  Wim Taymans  <wim@fluendo.com>
4772
4773         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4774           Don't segfault on invalid formats.
4775
4776 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4777
4778         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4779           Can't use gst_segment_to_running_time() when the segment
4780           is not in GST_TIME_FORMAT (like with filesink, for example).
4781           Stops flac encoding pipelines from spewing critical warnings
4782           at EOS (#331248).
4783           
4784 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4785
4786         * gst/gstpipeline.c: (gst_pipeline_class_init):
4787           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4788
4789         * plugins/elements/gsttypefindelement.c:
4790         (gst_type_find_element_handle_event):
4791           Don't try to typefind empty streams.
4792
4793 2006-03-14  Wim Taymans  <wim@fluendo.com>
4794
4795         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4796         (gst_base_sink_do_qos):
4797         Separate QoS calculation.
4798         Only drop buffers when lateness is bigger than the 
4799         duration of the buffer.
4800
4801 2006-03-13  Wim Taymans  <wim@fluendo.com>
4802
4803         * gst/gstpipeline.c: (gst_pipeline_set_property),
4804         (gst_pipeline_get_property), (do_pipeline_seek),
4805         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4806         (gst_pipeline_get_delay):
4807         Don't deadlock when reading properties.
4808
4809 2006-03-13  Wim Taymans  <wim@fluendo.com>
4810
4811         * libs/gst/base/gstbasetransform.c:
4812         (gst_base_transform_class_init), (gst_base_transform_init),
4813         (gst_base_transform_sink_event),
4814         (gst_base_transform_sink_eventfunc),
4815         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4816         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4817         (gst_base_transform_set_property),
4818         (gst_base_transform_get_property),
4819         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4820         (gst_base_transform_set_qos_enabled),
4821         (gst_base_transform_is_qos_enabled):
4822         * libs/gst/base/gstbasetransform.h:
4823         Make basetransform virtual method for src events too.
4824         Handle QOS in basetransform.
4825         API: gst_base_transform_update_qos()
4826         API: gst_base_transform_set_qos_enabled()
4827         API: gst_base_transform_is_qos_enabled()
4828
4829 2006-03-13  Wim Taymans  <wim@fluendo.com>
4830
4831         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4832         (gst_base_sink_do_sync):
4833         Small cleanups.
4834         Use QOS debug category.
4835
4836 2006-03-13  Wim Taymans  <wim@fluendo.com>
4837
4838         * plugins/elements/gstqueue.c:
4839         Very small doc update.
4840
4841 2006-03-13  Wim Taymans  <wim@fluendo.com>
4842
4843         * gst/gst_private.h:
4844         * gst/gstinfo.c: (_gst_debug_init):
4845         Added QOS debug category
4846
4847 2006-03-13  Wim Taymans  <wim@fluendo.com>
4848
4849         * docs/gst/gstreamer-sections.txt:
4850         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4851         * gst/gstbin.h:
4852         * gst/gstbus.c: (gst_bus_class_init):
4853         * gst/gstbus.h:
4854         * gst/gstclock.c:
4855         * gst/gstelement.c: (gst_element_set_locked_state):
4856         * gst/gstsegment.c:
4857         Documentation updates.
4858
4859         * gst/gstpipeline.c: (gst_pipeline_get_type),
4860         (gst_pipeline_class_init), (gst_pipeline_init),
4861         (gst_pipeline_dispose), (gst_pipeline_set_property),
4862         (gst_pipeline_get_property), (do_pipeline_seek),
4863         (gst_pipeline_send_event), (gst_pipeline_change_state),
4864         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4865         (gst_pipeline_get_delay):
4866         * gst/gstpipeline.h:
4867         Added methods for setting the delay.
4868         API: gst_pipeline_set_delay()
4869         API: gst_pipeline_get_delay()
4870         Add pipeline debug category
4871         Various cleanups.
4872         Updated docs.
4873         Don't reset stream time when seek failed.
4874
4875 2006-03-13  Wim Taymans  <wim@fluendo.com>
4876
4877         * docs/design/draft-klass.txt:
4878         * docs/design/part-clocks.txt:
4879         * docs/design/part-events.txt:
4880         * docs/design/part-gstbin.txt:
4881         * docs/design/part-gstpipeline.txt:
4882         * docs/design/part-messages.txt:
4883         * docs/design/part-negotiation.txt:
4884         * docs/design/part-overview.txt:
4885         * docs/design/part-preroll.txt:
4886         * docs/design/part-seeking.txt:
4887         * docs/design/part-states.txt:
4888         * docs/design/part-streams.txt:
4889         Documentation updates.
4890
4891 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4892
4893         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4894         us to leak strings...
4895
4896 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4897
4898         * libs/gst/net/gstnettimeprovider.c:
4899           fix docs
4900         * win32/common/config.h:
4901           update
4902
4903 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4904
4905         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4906
4907         * configure.ac:
4908           Don't check for libgnomeui (leftover from old examples
4909           that aren't built or disted any longer) (#334303).
4910           
4911 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4912
4913         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4914         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4915           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4916           there's no space left on the device.
4917
4918 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4919
4920         * gst/gstclock.h:
4921           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4922           to cast the input to GstClockTime before comparing with
4923           another GstClockTime value.
4924
4925 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4926
4927         * configure.ac:
4928           back to trunk
4929
4930 === release 0.10.4 ===
4931
4932 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4933
4934         * configure.ac:
4935           releasing 0.10.4, "Light"
4936
4937 2006-03-10  Michael Smith  <msmith@fluendo.com>
4938
4939         * libs/gst/dataprotocol/dataprotocol.c:
4940           Fix docs for dataprocotol to not get the return types completely
4941           wrong for a few functions.
4942
4943 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4944
4945         * docs/gst/gstreamer-sections.txt:
4946         * gst/gstpipeline.c: (gst_pipeline_class_init),
4947         (gst_pipeline_init), (gst_pipeline_set_property),
4948         (gst_pipeline_get_property), (gst_pipeline_change_state),
4949         (gst_pipeline_set_auto_flush_bus),
4950         (gst_pipeline_get_auto_flush_bus):
4951         * gst/gstpipeline.h:
4952           Add new API: gst_pipeline_set_auto_flush_bus() and
4953           gst_pipeline_get_auto_flush_bus() to disable automatic
4954           flushing of the pipeline's GstBus when going from READY
4955           to NULL state (#332045).
4956
4957 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4958
4959         * docs/gst/gstreamer-sections.txt:
4960         * gst/gsturi.c: (gst_uri_has_protocol):
4961         * gst/gsturi.h:
4962            Add new API: gst_uri_has_protocol() (#333779).
4963
4964 2006-03-09  Wim Taymans  <wim@fluendo.com>
4965
4966         * gst/gstclock.c: (gst_clock_entry_new),
4967         (gst_clock_id_compare_func), (gst_clock_id_wait),
4968         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4969         (gst_clock_init), (gst_clock_get_internal_time),
4970         (gst_clock_set_master), (do_linear_regression),
4971         (gst_clock_add_observation), (gst_clock_set_property):
4972         * gst/gstclock.h:
4973         Review docs.
4974         Small cleanups.
4975         Fix a possible segfault when the window-size is made smaller.
4976         Calculate jitter before performing the clock wait. Ideally
4977         the clock implementation should calculate jitter but we need
4978         API breakage for that.
4979
4980         * gst/gstsystemclock.c: (gst_system_clock_init):
4981         Docs review.
4982         
4983         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4984         Remove leftover else
4985
4986         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4987         (gst_systemclock_suite):
4988         Added check to test GST_CLOCK_DIFF.
4989
4990 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4991
4992         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4993         (gst_type_find_helper_get_range):
4994           If we are provided with the size, we should implement
4995           GstTypeFind::get_length, so that typefind functions who
4996           want to can actually peek at the middle of a file.
4997
4998 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4999
5000         * docs/manual/advanced-dataaccess.xml:
5001           Add some very very basic error checking.
5002
5003         * docs/pwg/appendix-checklist.xml:
5004           Some updates to the list of things to check when writing an element.
5005
5006 2006-03-08  Wim Taymans  <wim@fluendo.com>
5007
5008         * docs/design/part-element-transform.txt:
5009         Added some docs about the design of tranform elements.
5010
5011         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5012         (gst_base_src_loop), (gst_base_src_change_state):
5013         Mark buffers with the DISCONT flag.
5014
5015 2006-03-08  Michael Smith  <msmith@fluendo.com>
5016
5017         * gst/gstregistry.h:
5018         * gst/gstregistryxml.c: (gst_registry_save),
5019         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5020         (gst_registry_xml_save_pad_template),
5021         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5022         (gst_registry_xml_write_cache):
5023           Rewrite registry-saving to avoid race conditions and check for
5024           failed writes.
5025
5026 2006-03-08  Wim Taymans  <wim@fluendo.com>
5027
5028         * libs/gst/base/gstbasetransform.c:
5029         (gst_base_transform_transform_caps),
5030         (gst_base_transform_transform_size),
5031         (gst_base_transform_prepare_output_buffer),
5032         (gst_base_transform_get_unit_size),
5033         (gst_base_transform_buffer_alloc),
5034         (gst_base_transform_handle_buffer),
5035         (gst_base_transform_change_state):
5036         Cleanups, separate normal flow from errors, add sensible
5037         DEBUG lines.
5038         Don't try to renegotiate when allocating an output buffer.
5039         Also copy DISCONT buffer flag when copying a buffer.
5040         Reset the transform after we finish streaming, not during.
5041
5042 2006-03-08  Wim Taymans  <wim@fluendo.com>
5043
5044         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5045         Use last buffer timestamp in qos message.
5046
5047 2006-03-07  Wim Taymans  <wim@fluendo.com>
5048
5049         Patch by: Christophe Fergeau
5050
5051         * docs/pwg/advanced-tagging.xml:
5052         * docs/pwg/building-pads.xml:
5053           fixes #333416
5054
5055 2006-03-07  Wim Taymans  <wim@fluendo.com>
5056
5057         * docs/libs/gstreamer-libs-sections.txt:
5058         Added basesink new methods.
5059
5060         * gst/gstevent.c:
5061         * gst/gstevent.h:
5062         Docs updates. Flesh out the QoS docs.
5063
5064         * libs/gst/base/gstadapter.c:
5065         Small doc clarification about ownership and flushing.
5066
5067         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5068         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5069         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5070         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5071         * libs/gst/base/gstbasesink.h:
5072         API additions: 
5073         Added new methods to allow subclass to control max-lateness 
5074         and sync.
5075         Generate very basic QoS events based on last sync observation.
5076         Updated docs, fix typo, added some QoS blurb.
5077
5078         * libs/gst/base/gstbasesrc.c:
5079         Remove obsolete _get_state() calls from docs.
5080
5081 2006-03-07  Wim Taymans  <wim@fluendo.com>
5082
5083         * docs/libs/gstreamer-libs-sections.txt:
5084         * libs/gst/base/gstbasetransform.h:
5085         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5086         Fix docs for GstBaseSrc.
5087
5088 2006-03-07  Wim Taymans  <wim@fluendo.com>
5089
5090         * docs/gst/gstreamer-sections.txt:
5091         * gst/gstbuffer.h:
5092         * gst/gstvalue.c:
5093         * libs/gst/base/gstbasetransform.h:
5094         Small documentation fixes.
5095
5096 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5097
5098         * gst/gstvalue.c:
5099           Document thread-unsafety of gst_value_register_foo_func()
5100           when used at the same time as gst_value_foo() (#322628).
5101
5102 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
5103
5104         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5105         (gst_push_src_check_get_range):
5106           Push sources don't support pull mode by default.
5107
5108 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5109
5110         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5111         (gst_base_src_init), (gst_base_src_pad_check_get_range),
5112         (gst_base_src_default_check_get_range):
5113         * libs/gst/base/gstbasesrc.h:
5114           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5115           provide default implementation, and rename
5116           gst_base_src_check_get_range() to
5117           gst_base_src_pad_check_get_range() for clarity.
5118
5119 2006-03-06  Wim Taymans  <wim@fluendo.com>
5120
5121         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5122         Make property overridable.
5123
5124 2006-03-06  Wim Taymans  <wim@fluendo.com>
5125
5126         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5127         (gst_base_sink_init), (gst_base_sink_set_property),
5128         (gst_base_sink_get_property), (gst_base_sink_do_sync):
5129         * libs/gst/base/gstbasesink.h:
5130         API addition: Make max-lateness a property.
5131
5132 2006-03-06  Wim Taymans  <wim@fluendo.com>
5133
5134         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5135         (gst_base_sink_do_sync), (gst_base_sink_render_object):
5136         Don't ever draw a frame that is >10ms late.
5137
5138 2006-03-06  Michael Smith  <msmith@fluendo.com>
5139
5140         * gst/gstmessage.c: (_gst_message_copy):
5141           When copying a message, set the parent_refcount of the enclosed
5142           structure to point at the copy, not the original message.
5143
5144 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
5145
5146         Patch by: Christophe Fergeau
5147
5148         * gst/gstutils.h:
5149           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5150           usable in c++ code (#333417)
5151
5152 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
5153
5154         * gst/gstclock.h:
5155           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5156
5157 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
5158
5159         * libs/gst/base/gstbasetransform.c:
5160         (gst_base_transform_transform_caps):
5161           Make sure caps are writable before passing them to
5162           gst_caps_append().
5163
5164 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5165
5166         * gst/gsterror.h:
5167           Fix some minor docs errors.
5168
5169 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
5170
5171           Patch by: Ross Burton <ross at burtonini dot com>
5172
5173         * gst/gsterror.c: (_gst_resource_errors_init):
5174         * gst/gsterror.h:
5175           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5176
5177 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5178
5179         * gst/gst.c:
5180         Add a check and output a g_warning when GStreamer is built
5181         against GLib 2.6 but running against 2.8 or higher, and vice 
5182         versa. (Closes: #323542)
5183
5184 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
5185
5186         * gst/parse/parse.l:
5187           Commit patch for parse_launch syntax from #331255. Removes 
5188           support for quoted strings and mimetypes when writing filtered 
5189           caps. See the bug report for more details - I'm pretty sure this
5190           obscure feature is not in use by _anyone_ anywhere.
5191
5192           With this simple change, the size of the gstreamer.so here 
5193           drops from 2193KB to 1565KB.
5194
5195 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5196
5197         * plugins/elements/gsttypefindelement.h:
5198         * plugins/elements/gsttypefindelement.c:
5199         (gst_type_find_element_src_event), (start_typefinding),
5200         (stop_typefinding), (gst_type_find_element_handle_event),
5201         (gst_type_find_element_chain),
5202         (gst_type_find_element_chain_do_typefinding):
5203           Use gst_type_find_helper_for_buffer() for chain-based
5204           typefinding.
5205
5206 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5207
5208         * plugins/elements/gsttypefindelement.c:
5209         (gst_type_find_element_class_init),
5210         (gst_type_find_element_set_property),
5211         (gst_type_find_element_get_property):
5212           Deprecate "maximum" property (not only was it only taken into
5213           account for typefinding in push-mode anyway, it also was never
5214           actually possible to set it in the first place because the
5215           property was registered with the numeric property ID for the
5216           "minimum" property). Register "maximum" property correctly,
5217           for the sake of future copy'n'pasters. Remove some cruft
5218           from property get/set functions.
5219
5220 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
5221
5222         * plugins/elements/gsttypefindelement.c:
5223         (gst_type_find_element_activate):
5224           Use gst_type_find_helper_get_range() here, so we
5225           can honour the "minimum" property and also emit
5226           the signal with the correct probability of the found caps.
5227
5228 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
5229
5230         * docs/libs/gstreamer-libs-sections.txt:
5231         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5232         (helper_find_suggest), (gst_type_find_helper_get_range),
5233         (gst_type_find_helper):
5234         * libs/gst/base/gsttypefindhelper.h:
5235           New API: gst_type_find_helper_get_range() (#333042).
5236
5237 2006-03-02  Michael Smith  <msmith@fluendo.com>
5238
5239         * gst/gstregistryxml.c: (load_feature):
5240           Asserting on a failure to read part of the registry is Not Cool.
5241           Just log a warning and return NULL (which is already handled)
5242
5243 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
5244
5245         * win32/common/libgstbase.def:
5246           added export of gst_type_find_helper_for_buffer
5247         * win32/common/libgstbase.def:
5248           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5249           gst_ghost_pad_get_target
5250
5251 2006-02-28  Wim Taymans  <wim@fluendo.com>
5252
5253         * docs/design/draft-klass.txt:
5254         We use Filter now.
5255         Added Connector to mark elements that are only used to
5256         allow pipeline connections.
5257         Moved Debug to extra feature since most of them are 
5258         functionally something else.
5259
5260 2006-02-28  Wim Taymans  <wim@fluendo.com>
5261
5262         * docs/design/draft-klass.txt:
5263         Some updates and clarifications.
5264
5265 2006-02-28  Wim Taymans  <wim@fluendo.com>
5266
5267         * docs/design/draft-klass.txt:
5268         Proposal for klass field values.
5269
5270         * docs/design/part-streams.txt:
5271         Start of a doc describing stream anatomy.
5272
5273 2006-02-28  Wim Taymans  <wim@fluendo.com>
5274
5275         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5276         Help the compiler a bit with type registration.
5277         Use existing forward cod path instead of duplicating it when 
5278         handling a message.
5279         
5280         * gst/gstbus.c: (gst_bus_get_type):
5281         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5282         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5283         * gst/gstclock.c: (gst_clock_get_type):
5284         * gst/gstelement.c: (gst_element_get_type),
5285         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5286         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5287         * gst/gstminiobject.c: (gst_mini_object_get_type):
5288         * gst/gstpad.c: (gst_pad_get_type):
5289         * gst/gstsegment.c: (gst_segment_get_type):
5290         * gst/gststructure.c: (gst_structure_get_type):
5291         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5292         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5293         * gst/gstvalue.c:
5294         Help compiler with type registration.
5295
5296         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5297         Small doc update.
5298
5299 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5300
5301         * plugins/elements/gsttypefindelement.c:
5302         (gst_type_find_element_handle_event):
5303           When we get an EOS event and have not found a type yet
5304           (most likely because we had not yet accumulated
5305           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5306           type given the data we have so far. Fixes typefinding
5307           for very short streams again, most notably quicktime
5308           redirections as used on Apple's trailer site (#331701).
5309
5310 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5311
5312         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5313         (gst_type_find_helper):
5314           Try typefinding factories with the highest rank first.
5315
5316 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5317
5318         * docs/libs/gstreamer-libs-docs.sgml:
5319         * docs/libs/gstreamer-libs-sections.txt:
5320         * libs/gst/base/gsttypefindhelper.c:
5321           Add section for typefind helper and add documentation
5322           for the old and the new function.
5323
5324 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5327         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5328         (gst_type_find_helper_for_buffer):
5329         * libs/gst/base/gsttypefindhelper.h:
5330           New API: gst_type_find_helper_for_buffer() (#332723).
5331           
5332 2006-02-27  Michael Smith  <msmith@fluendo.com>
5333
5334         Patch by: Loïc Minier
5335
5336         * configure.ac:
5337         * docs/Makefile.am:
5338         * docs/slides/Makefile.am:
5339           prevent CVS directories getting disted.
5340
5341 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5342
5343         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5344           Use the REFCOUNTING category for caps refcounting.
5345           
5346 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5347
5348         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5349           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5350
5351 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5352
5353         * plugins/elements/gsttypefindelement.c:
5354         (gst_type_find_element_activate):
5355           Use gst_pad_check_pull_range() before _activate_pull()
5356           to avoid unnecessary open/close (see #331690).
5357
5358 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5359
5360         * gst/gstutils.c:
5361           Docs enhancement: make it crystal clear what the
5362           gst_pad_add_*_probe() callbacks should look like.
5363
5364 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5365
5366         * libs/gst/base/gstbasesrc.c:
5367           Document how applications can stop recording from
5368           live sources (see #330996).
5369
5370 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5371
5372         * tests/check/Makefile.am:
5373         * tests/check/libs/basesrc.c: (eos_event_counter),
5374         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5375         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5376         (gst_basesrc_suite), (main):
5377           ... and add some tests for the base source EOS stuff.
5378
5379 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5382           Test case originally showed the problem fixed below,
5383           but was then amended. Add checks back at the place
5384           where they used to be.
5385
5386 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5387
5388         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5389         (gst_base_src_init), (gst_base_src_loop),
5390         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5391         (gst_base_src_change_state):
5392         * libs/gst/base/gstbasesrc.h:
5393           Don't unconditionally send EOS when going from PAUSED to
5394           READY state, esp. make sure we don't send two EOS events
5395           in some cases (e.g. one when reaching EOS and one when
5396           going from PAUSED to READY). Also, we don't want to send
5397           EOS events when operating in pull mode. However, we do
5398           want to send an EOS event when shutting down a live
5399           source explicitly, for example (fixes #330996).
5400           
5401 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5402
5403         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5404           Update src->read_position after a seek when not using mmap.
5405           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5406
5407 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5408
5409         * gst/Makefile.am:
5410         * gst/gstparse.h:
5411         * gst/gstutils.c:
5412         * gst/gstutils.h:
5413         Make things work with --disable-parse as they do with 
5414         --disable-load-save - the symbols involved disappear, but the
5415         header is still installed and GST_DISABLE_PARSE is included via
5416         gstconfig.h
5417
5418 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5419
5420         * libs/gst/base/gstbasetransform.c:
5421         (gst_base_transform_change_state): Fix a stupid bug. I was 
5422         sure I compiled that.
5423
5424 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5425
5426         * gst/gstpad.c: (gst_pad_set_blocked_async):
5427         * gst/gstutils.c: (gst_pad_add_data_probe),
5428         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5429         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5430         (gst_pad_remove_buffer_probe): Make those function act on the
5431         ghostpad target when it's a ghostpad. (Closes #331727)
5432
5433 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5434
5435         * libs/gst/base/gstbasetransform.c:
5436         (gst_base_transform_change_state): Make basetransform reusable.
5437         (Closes #331898)
5438
5439 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5440
5441         * docs/random/release:
5442         Move the current documentation of how to do a release to the top
5443         of the file.
5444
5445         * gst/gstbin.c: (gst_bin_class_init),
5446         (gst_bin_handle_message_func):
5447         Allow multiple state-recalculation threads. (Closes #328873)
5448
5449 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5450
5451         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5452         * gst/gstpad.c: (gst_pad_set_event_function),
5453         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5454         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5455         2 strings. You can't use the STR_NULL macro on that.
5456
5457 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5458
5459         * gst/gstpad.c: (gst_pad_set_event_function),
5460         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5461         (gst_pad_set_getcaps_function)
5462         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5463           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5464           So now, we can use --gst-debug-level=5 on Windows
5465         * win32/common/libgstcontroller.def:
5466           Added export of gst_controller_init
5467         * win32/vs6/libgstcontroller.dsp:
5468           Fixed Release post build configuration
5469
5470 2006-02-17  Wim Taymans  <wim@fluendo.com>
5471
5472         * tests/check/gst/gstquery.c: (GST_START_TEST):
5473         Added another check.
5474
5475 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5476
5477         * plugins/elements/gsttypefindelement.c: (find_peek):
5478           We can do peeks at non-zero offsets, as long as they
5479           fall within the buffer we have.
5480
5481 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5482
5483         * tests/check/Makefile.am:
5484         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5485         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5486         (parse_suite), (main):
5487           Add testsuite for parse launch syntax
5488
5489 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5490
5491         * plugins/elements/gsttypefindelement.c:
5492         (gst_type_find_element_chain):
5493           When typefinding is unsuccessful in the chain function, don't
5494           error out immediately. Only error out with NO_CAPS_FOUND if
5495           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5496           otherwise simply wait for more data so we can try typefinding
5497           again with more data later. Also, don't attempt to typefind
5498           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5499           this should improve typefinding from network sources where the
5500           size of the first buffer can be somewhat random.
5501
5502 2006-02-14  Wim Taymans  <wim@fluendo.com>
5503
5504         * docs/gst/gstreamer-sections.txt:
5505         * gst/gstpadtemplate.c:
5506         * gst/gstpadtemplate.h:
5507         Fix padtemplate docs, fixes #328805.
5508
5509 2006-02-14  Wim Taymans  <wim@fluendo.com>
5510
5511         * tools/gst-launch.c: (main):
5512         NO_PREROLL is not an ERROR so don't send confusing messages
5513         to the user.
5514
5515 2006-02-14  Wim Taymans  <wim@fluendo.com>
5516
5517         Patch by: Torsten Schoenfeld
5518
5519         * gst/gstregistry.c: (gst_registry_get_default),
5520         (_gst_registry_cleanup):
5521         Protect default registry with lock and ref/sink it.
5522         Fixes #324818
5523
5524 2006-02-14  Wim Taymans  <wim@fluendo.com>
5525
5526         * gst/gstbuffer.c:
5527         * gst/gstquery.c: (gst_query_list_add_format),
5528         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5529         (gst_query_parse_formats_nth):
5530         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5531         Docs fixes.
5532
5533 2006-02-14  Wim Taymans  <wim@fluendo.com>
5534
5535         * docs/gst/gstreamer-sections.txt:
5536         Reworked query docs.
5537
5538         * gst/gstquery.c: (gst_query_new_formats),
5539         (gst_query_list_add_format), (gst_query_set_formats),
5540         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5541         (gst_query_parse_formats_nth):
5542         * gst/gstquery.h:
5543         Flesh out formats query, added some new methods.
5544         Fix part of #324398.
5545
5546         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5547         Added query creation tests.
5548
5549 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5550
5551         * gst/gstpad.c: (fixate_value):
5552         Add a default fixation for fraction lists.
5553
5554 2006-02-13  Wim Taymans  <wim@fluendo.com>
5555
5556         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5557         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5558         (gst_task_join):
5559         * gst/gsttask.h:
5560         Detect and warn for obvious deadlocks. fixes #320340
5561         Fix error case where lock was not released.
5562
5563         * tests/check/Makefile.am:
5564         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5565         (task_func), (gst_element_suite), (main):
5566         Add task check.
5567
5568 2006-02-13  Wim Taymans  <wim@fluendo.com>
5569
5570         * docs/gst/gstreamer-sections.txt:
5571         * gst/gstbus.c:
5572         Add new functions to docs.
5573
5574 2006-02-13  Wim Taymans  <wim@fluendo.com>
5575
5576         * docs/design/part-TODO.txt:
5577         Updated TODO list, basesrc supports seeking to non-bytes
5578         formats.
5579
5580         * docs/design/part-element-sink.txt:
5581         Update docs.
5582
5583         * gst/gstbin.c: (bin_replace_message),
5584         (gst_bin_handle_message_func):
5585         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5586         * gst/gstevent.c: (gst_event_finalize):
5587         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5588         (gst_pad_send_event):
5589         Use shiny new _TYPE_NAME macros.
5590
5591         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5592         Move debug statement up.
5593
5594         * gst/gstelement.c: (gst_element_set_locked_state):
5595         Add some debugging.
5596
5597 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * docs/gst/gstreamer-sections.txt:
5600         * gst/gstmessage.h:
5601         * gst/gstquery.h:
5602           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5603           macros (#330906). Also, document the already existing
5604           GST_QUERY_TYPE macro.
5605
5606 2006-02-13  Wim Taymans  <wim@fluendo.com>
5607
5608         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5609         (event_probe), (GST_START_TEST):
5610         Only events up to the pipeline EOS are counted, there are
5611         some more when going to NULL currently which we don't care
5612         about for now.
5613
5614 2006-02-13  Wim Taymans  <wim@fluendo.com>
5615
5616         * gst/gstpad.c: (gst_pad_send_event):
5617         Correctly check flushing and emit probes. fixes #330125
5618
5619 2006-02-10  Andy Wingo  <wingo@pobox.com>
5620
5621         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5622         structure.
5623         (gst_bus_init): Cache the location of the private data in the
5624         instance structure.
5625         (gst_bus_enable_sync_message_emission) 
5626         (gst_bus_disable_sync_message_emission): Implement new public
5627         functions.
5628         (gst_bus_post): Emit the sync-message signal if the user asked for
5629         it. Fixes #330684.
5630
5631         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5632         location of the bus-private structure.
5633         (gst_bus_enable_sync_message_emission)
5634         (gst_bus_disable_sync_message_emission): API addition
5635
5636 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5637
5638         Patch by: Vincent Torri
5639
5640         * docs/pwg/building-boiler.xml:
5641         PWG patch from #326800
5642
5643 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5644
5645         * configure.ac:
5646         * docs/Makefile.am:
5647         * docs/design/Makefile.am:
5648           Dist design docs.
5649
5650 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5651
5652         * configure.ac:
5653           back to CVS
5654
5655 === release 0.10.3 ===
5656
5657 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5658
5659         * configure.ac:
5660           releasing 0.10.3, "Like a virgin"
5661
5662 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5663
5664         * configure.ac:
5665           2nd prerelease of 0.10.3
5666           Bump libtool versioning.
5667
5668 2006-02-07  Andy Wingo  <wingo@pobox.com>
5669
5670         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5671         update last_stop if we're in TIME format and the timestamp is
5672         valid.
5673
5674         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5675         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5676         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5677         If we get a new newsegment with a different format, adapt
5678         accordingly.
5679
5680         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5681         of 0. Not a problem, really.
5682
5683         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5684         warn if sync=true.
5685
5686 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5687
5688         * configure.ac:
5689           Prelease of 0.10.3
5690
5691 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5692
5693         * win32/vs7:
5694           project files updated to the default vs7 configuration
5695         * win32/common/libgstbase.def:
5696         * win32/common/libgstreamer.def:
5697           added new symbols,
5698           removed empty lines,
5699           sorted all exported symbols alphabetically
5700         * win32/common/dirent.c:
5701         * win32/common/dirent.h:
5702         * win32/common/gchar.h:
5703           use windows line end.
5704           
5705 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5706
5707         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5708           Send EOS event when stopping.
5709
5710 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5711
5712         * docs/README:
5713           Tell folks what to do if the plugin-foobar.xml file
5714           hasn't been generated for a newly-added plugin.
5715
5716 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5717
5718         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5719         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5720         (gst_collect_pads_start), (gst_collect_pads_stop),
5721         (gst_collect_pads_event): Collectpads now holds a reference
5722         to the GstPad that was added. Indeed we don't want to look
5723         at pads that might just go away with no warning...
5724
5725 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5726
5727         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5728         (gst_collect_pads_start), (gst_collect_pads_stop),
5729         (gst_collect_pads_event), (gst_collect_pads_chain):
5730         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5731         Mark Nauwelaerts's patch on bug #328491.
5732
5733 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5734
5735         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5736         (gst_utils_suite):
5737           Add some simple tests for gst_parse_bin_from_description() and
5738           gst_bin_find_unconnected_pad() (#329069).
5739
5740 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5741
5742         * tools/gst-launch.c: (event_loop), (main):
5743           Catch errors during preroll (#320084).
5744
5745 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5746
5747         * plugins/elements/gsttypefindelement.c:
5748         (gst_type_find_element_activate):
5749           Post TYPE_NOT_FOUND error message when typefinding
5750           is unsuccessful in the activate function as well.
5751
5752 2006-02-02  Wim Taymans  <wim@fluendo.com>
5753
5754         * docs/design/part-element-sink.txt:
5755         Updated doc.
5756
5757 2006-02-02  Wim Taymans  <wim@fluendo.com>
5758
5759         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5760         (gst_base_sink_render_object),
5761         (gst_base_sink_queue_object_unlocked):
5762         Only keep track of prerollable items when we are 
5763         prerolling.
5764         Before rendering after preroll, always check if we
5765         have queued items.
5766         Added some more debugging.
5767
5768 2006-02-02  Wim Taymans  <wim@fluendo.com>
5769
5770         * gst/gstelement.c: (gst_element_continue_state),
5771         (gst_element_set_state_func), (gst_element_change_state):
5772         Fixed #326576, been running this for quite some time with
5773         no regressions at all.
5774
5775 2006-02-02  Wim Taymans  <wim@fluendo.com>
5776
5777         * common/gst.supp:
5778         Added more suppressions
5779
5780 2006-02-02  Wim Taymans  <wim@fluendo.com>
5781
5782         * docs/design/part-element-sink.txt:
5783         Updated document.
5784
5785         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5786         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5787         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5788         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5789         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5790         (gst_base_sink_preroll_object),
5791         (gst_base_sink_queue_object_unlocked),
5792         (gst_base_sink_queue_object), (gst_base_sink_event),
5793         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5794         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5795         (gst_base_sink_get_position), (gst_base_sink_change_state):
5796         * libs/gst/base/gstbasesink.h:
5797         Totally refactored matching the design doc.
5798         Use two segments, one to clip incomming buffers and another to
5799         perform sync.
5800         Handle queueing correctly, bypass the queue when playing.
5801         Make EOS cancelable.
5802         Handle errors correctly when operating in pull based mode.
5803
5804         * tests/check/elements/fakesink.c: (GST_START_TEST),
5805         (fakesink_suite):
5806         Added new check for sinks.
5807
5808 2006-02-02  Wim Taymans  <wim@fluendo.com>
5809
5810         * gst/gstsegment.c: (gst_segment_clip):
5811         No reason to refuse to clip when start == -1
5812
5813 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5814
5815         * docs/README:
5816         * docs/manual/intro-basics.xml:
5817         * docs/manual/intro-preface.xml:
5818         * docs/manual/manual.xml:
5819         * docs/pwg/advanced-dparams.xml:
5820         * docs/pwg/intro-basics.xml:
5821         * docs/pwg/intro-preface.xml:
5822         * docs/pwg/pwg.xml:
5823           describe dparams (controller) for plugins
5824           unify docs a little more
5825
5826 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5827
5828         * docs/gst/gstreamer-sections.txt:
5829         * gst/gstutils.c: (element_find_unconnected_pad),
5830         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5831         * gst/gstutils.h:
5832           Add new API: gst_parse_bin_from_description() and
5833           gst_bin_find_unconnected_pad() (#329069).
5834
5835 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * docs/manual/README:
5838           uncover a nasty detail of the docs build
5839
5840 2006-01-31  Wim Taymans  <wim@fluendo.com>
5841
5842         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5843         Don't cache duration messages if we're not going to use or
5844         free them.
5845
5846 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5847
5848         * docs/manual/advanced-dparams.xml:
5849         * docs/pwg/advanced-dparams.xml:
5850           more dparam docs
5851         * gst/gstindex.c:
5852           fix docs
5853         * libs/gst/controller/lib.c: (gst_controller_init):
5854           init just once
5855
5856 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5857
5858         * gst/gstelement.c: (gst_element_message_full):
5859           also show file/line/func if no additional debug was given
5860
5861 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5862         
5863         * win32/vs7/grammar.vcproj:
5864           activate copy of autogenerated files for Release mode
5865
5866 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5867         
5868         * win32/common/libgstreamer.def:
5869           export gst_value_compare
5870
5871 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5872
5873         * plugins/elements/Makefile.am:
5874         * plugins/elements/gstelements.c:
5875         * plugins/elements/gstfdsink.c: (_do_init),
5876         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5877         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5878         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5879         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5880         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5881         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5882         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5883         * plugins/elements/gstfdsink.h:
5884         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5885
5886 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5887
5888         * docs/manual/advanced-dparams.xml:
5889           describe controller
5890         * docs/manual/advanced-position.xml:
5891         * docs/manual/basics-init.xml:
5892         * docs/manual/manual.xml:
5893         * docs/manual/titlepage.xml:
5894         * docs/pwg/pwg.xml:
5895         * docs/pwg/titlepage.xml:
5896           cleanup xml (more to come)
5897         * libs/gst/controller/gstcontroller.c:
5898           fix typo
5899
5900 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5901         
5902         * win32/vs6/grammar.dsp:
5903           add autogen of gstmarshal.c,h for Release mode
5904                 
5905 2006-01-30  Wim Taymans  <wim@fluendo.com>
5906
5907         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5908         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5909         (gst_base_sink_handle_object), (gst_base_sink_event),
5910         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5911         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5912         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5913         (gst_base_sink_deactivate), (gst_base_sink_activate),
5914         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5915         (gst_base_sink_query), (gst_base_sink_change_state):
5916         Basesink cleanups, remove some old code.
5917         Handle the case where a subclass can preroll in the render
5918         method (mostly audiosinks).
5919         Handle more events.
5920         Remove some locks around variables that are now protected
5921         with the PREROLL_LOCK (clock_id, flushing, ..).
5922         Optimize position query some more, do correct locking.
5923         Remove old code to push queue in state change, this is not
5924         needed anymore since preroll blocks on all prerollable items 
5925         now.
5926         Almost implemented as described in design doc.
5927
5928 2006-01-30  Wim Taymans  <wim@fluendo.com>
5929
5930         * tests/check/gst/gstbin.c: (GST_START_TEST):
5931         Wait for refcount to settle down before checking.
5932
5933 2006-01-30  Wim Taymans  <wim@fluendo.com>
5934
5935         * docs/design/part-element-sink.txt:
5936         Pseudo code overview of desired sink behaviour regarding
5937         preroll.
5938
5939 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5940         * win32/vs6/grammar.dsp:
5941           fix some bugs in Release mode for autogenerated files
5942                 
5943 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5944         * win32/common/libgstbase.def:
5945         * win32/common/libgstreamer.def:
5946           export some new symbols: gst_base_src_set_format,
5947           gst_iterator_next, gst_structure_set_valist
5948
5949 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5950
5951         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5952         Set pad functions unconditionally. Fixes #329105.
5953
5954 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5955         * win32/vs8:
5956           add vs8 project files created by Sergey Scobich
5957
5958 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5959
5960         * gst/gstutils.c: (gst_element_unlink_pads):
5961         Don't leak pad references.
5962
5963         * tests/check/elements/fakesink.c: (GST_START_TEST):
5964         * tests/check/generic/sinks.c: (GST_START_TEST):
5965         * tests/check/generic/states.c: (GST_START_TEST):
5966         * tests/check/gst/gstbin.c: (GST_START_TEST):
5967         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5968         * tests/check/gst/gstelement.c: (GST_START_TEST):
5969         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5970         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5971         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5972         Fix a bunch of leaks. Make generic/sinks.c
5973         use a bit less cpu by slowing the buffer rate
5974         between fakesrc and fakesink.
5975         
5976 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5977         * gst/gstcaps.c:
5978         * gst/gstelement.c: (gst_element_send_event):
5979         * gst/gstevent.c:
5980         * gst/gstinfo.c:
5981         * gst/gstiterator.c:
5982         * gst/gstiterator.h:
5983         * gst/gstpad.c: (gst_pad_send_event):
5984         * gst/gststructure.c:
5985         * gst/gsturi.c:
5986         * gst/gstutils.c:
5987         * gst/gstvalue.c:
5988         * libs/gst/base/gstadapter.c:
5989           doc fixes, to link to function, just write gst_cool_function(), don't
5990           prefix with '#'
5991
5992 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5993
5994         * plugins/elements/gsttee.c: (gst_tee_do_push),
5995         (gst_tee_handle_buffer):
5996         Always prefer an actual return value from a src
5997         pad in place of NOT_LINKED. This means we return
5998         WRONG_STATE when all src pads are WRONG_STATE
5999         instead of NOT_LINKED.
6000
6001         Lock when replacing the last message to prevent
6002         racing with the get_property method.
6003
6004         Add debug output
6005
6006 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6007
6008         * tests/check/Makefile.am:
6009         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6010         (main):
6011         Add a very simple check that should have caught the memleak I fixed
6012         last night (if not for the slice allocator hiding it)
6013
6014 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
6015
6016         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6017         (gst_bin_remove_func), (gst_bin_handle_message_func),
6018         (bin_query_duration_fold), (bin_query_generic_fold):
6019         Clean up references to the clock provider when disposed or when
6020         handling a clock-lost message from it.
6021
6022         Unref sinks when performing a query via gst_iterator_fold, as the
6023         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6024
6025         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6026         (gst_clock_set_master):
6027         Drop our reference to the master clock, if any, when we are disposed.
6028
6029         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6030         Chain up in dispose. 
6031
6032 2006-01-26  Wim Taymans  <wim@fluendo.com>
6033
6034         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6035         Add some debugging.
6036
6037 2006-01-26  Julien MOUTTE  <julien@moutte.net>
6038
6039         * plugins/elements/gsttee.c: (gst_tee_do_push),
6040         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6041         handles pad being NOT_LINKED or in WRONG_STATE.
6042
6043 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6044
6045         * win32/MANIFEST:
6046           more updating
6047
6048 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6049
6050         * win32/MANIFEST:
6051           remove obsolete entry
6052
6053 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
6054
6055         * docs/gst/gstreamer-sections.txt:
6056         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6057         (gst_bin_iterate_sources), (gst_bin_send_event):
6058         * gst/gstbin.h:
6059         * gst/gstelement.c: (gst_element_send_event):
6060         * gst/gstevent.c:
6061         * gst/gstpad.c: (gst_pad_send_event):
6062           added code for downstream events, reviewed docs in gstevent.c
6063
6064 2006-01-25  Julien MOUTTE  <julien@moutte.net>
6065
6066         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6067         We only query position using the clock in the playing state.
6068         Query peer in the other cases.
6069         * win32/common/config.h: Updates.
6070
6071 2006-01-24  Wim Taymans  <wim@fluendo.com>
6072
6073         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6074         A clock entry that is scheduled for the exact time of the
6075         clock is still in time.
6076
6077         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6078         (gst_base_sink_do_sync):
6079         Add some more debug info.
6080
6081 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6082
6083         * win32/vs7:
6084           Add new vs7 project files and solution.
6085
6086 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
6087
6088         * win32/vs7:
6089           all files removed as they were out-dated.
6090
6091 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6092
6093         * docs/random/release:
6094           update notes
6095         * gst/gstbin.c: (gst_bin_init):
6096         * gst/gstbus.c: (gst_bus_new):
6097         * gst/gstbus.h:
6098         * gst/gstpipeline.c: (gst_pipeline_init):
6099           use gst_bus_new(), improve logging, fix docs
6100         * win32/common/config.h:
6101           update for cvs build
6102
6103 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
6104
6105         * autogen.sh:
6106           up required version of automake to 1.7
6107
6108 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
6109
6110         * win32/common/libgstreamer.def:
6111           export gst_buffer_is_metadata_writable
6112
6113 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
6114
6115         * docs/gst/gstreamer-sections.txt:
6116         * gst/gstevent.h:
6117           Add gst_event_replace() (#327001)
6118
6119 2006-01-20  Wim Taymans  <wim@fluendo.com>
6120
6121         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6122         Make it actually compile too..
6123
6124 2006-01-20  Wim Taymans  <wim@fluendo.com>
6125
6126         * gst/gstcaps.c:
6127         Clarify behaviour of _is_equal() when passing NULL parameters.
6128
6129         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6130         (gst_pad_set_caps):
6131         Cleanups. Don't unref NULL caps.
6132         When setting the same caps, protect caps of the pad with
6133         proper lock.
6134         Use full functionality of _is_equal() when comparing caps.
6135
6136 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6137
6138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6139         Don't loop infinitely if there are no buffers to present. Partially
6140         fixes #327197, but collectpads is just broken for reusing elements
6141         to do multiple encodes atm.
6142
6143 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
6144
6145         * tools/gst-inspect.c: (print_element_features):
6146         * tools/gst-xmlinspect.c: (main):
6147         URL_HANDLER is not a plugin feature we can search for in
6148         the registry.
6149
6150 2006-01-19  Edward Hervey  <edward@fluendo.com>
6151
6152         * gst/gstelement.c: (gst_element_pads_activate): 
6153         When activating, do src pads first, then sink pads.
6154         When de-activating, do sink pads first, then src pads.
6155
6156 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6157
6158         * docs/gst/gstreamer-sections.txt:
6159         Add gst_index_add_associationv to the docs
6160
6161 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6162
6163         * gst/gstevent.c:
6164           Fix docs typo
6165
6166         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6167         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6168           Do some refactoring. Doesn't actually change functionality,
6169           but makes landing the DRAIN event easier later.
6170
6171 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
6172
6173         * docs/pwg/advanced-scheduling.xml:
6174           Update from 0.9.x to 0.10 API and make example a bit
6175           clearer.
6176
6177 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6178
6179         * docs/gst/gstreamer-sections.txt:
6180         Add gst_buffer_(is|make)_metadata_writable methods.
6181
6182 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
6183
6184         * docs/design/part-sparsestreams.txt:
6185         Update sparse streams doc, hopefully for greater clarity
6186
6187 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
6188
6189         * docs/design/part-events.txt:
6190         Remove mention of FILLER events.
6191         Add DRAIN event.
6192
6193         * docs/design/part-sparsestreams.txt:
6194         Write some things about using NEWSEGMENT to keep sparse streams
6195         flowing.
6196
6197 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6198
6199         * gst/gstbin.c: (gst_bin_dispose):
6200           Guard gst_object_unref call against a NULL object (dispose
6201           can theoretically be called multiple times).
6202           
6203 2006-01-18  Wim Taymans  <wim@fluendo.com>
6204
6205         * gst/gstbin.c: (gst_bin_element_set_state):
6206         * gst/gstclock.c: (gst_clock_id_wait):
6207         Added some more debug info.
6208
6209         * libs/gst/base/gstadapter.c:
6210         Added more docs.
6211
6212         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6213         (gst_base_sink_do_sync), (gst_base_sink_chain):
6214         Added some comments.
6215
6216 2006-01-18  Wim Taymans  <wim@fluendo.com>
6217
6218         * tests/check/Makefile.am:
6219         * tests/check/elements/fakesink.c: (chain_async_buffer),
6220         (chain_async), (chain_async_return), (GST_START_TEST),
6221         (fakesink_suite), (main):
6222         Added fakesink test that checks prerolling and clipping
6223         behaviour.
6224
6225         * tests/check/gst/gstutils.c: (GST_START_TEST):
6226         Make check run faster so that buildbots don't timeout.
6227
6228 2006-01-18  Wim Taymans  <wim@fluendo.com>
6229
6230         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6231         (gst_base_sink_do_sync):
6232         Some cleanups.
6233         When the sink finishes blocking on the preroll buffer, it can
6234         immediatly render it instead of rendering when the next buffer
6235         arrives.
6236
6237 2006-01-18  Wim Taymans  <wim@fluendo.com>
6238
6239         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6240         (gst_base_sink_get_property), (gst_base_sink_do_sync),
6241         (gst_base_sink_chain):
6242         Small cleanups.
6243         GST_ELEMENT_CLOCK and sync are protected with LOCK.
6244         Don't store _last_stop if the buffer is dropped.
6245
6246 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
6247
6248         * plugins/elements/gsttypefindelement.c:
6249         (gst_type_find_element_class_init):
6250           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6251           object method handler that sets the caps on the pad and we want
6252           that to happen before we emit the signal (fixes e.g. feeding a
6253           plain text file to decodebin).
6254
6255 2006-01-18  Christian Schaller  <Christian@fluendo.com>
6256
6257         * gst/gstplugin.c: Add MPL and Proprietary as license options
6258
6259 2006-01-18  Andy Wingo  <wingo@pobox.com>
6260
6261         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6262         symbol was exported before, it appears this was just an oversight.
6263         Fixes #168703.
6264         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6265
6266         * gst/gstindex.c (gst_index_add_associationv): Changed int in
6267         prototype to gint. OK since this prototype was not in the header.
6268
6269 2006-01-17  Andy Wingo  <wingo@pobox.com>
6270
6271         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6272         registry while we remove plugins.
6273
6274         * tools/gst-inspect.c (print_element_info): Don't unref the
6275         factory arg, that should be the responsibility of whatever code
6276         received the ref. Fixes a double-free when called from
6277         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6278         (main): Unref the factory if we have one.
6279         (print_element_list): No change -- relies on the
6280         plugin_feature_list_free to free the list of features.
6281
6282 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6283
6284         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6285         (gst_buffer_make_metadata_writable):
6286         * gst/gstbuffer.h:
6287         * libs/gst/base/gstbasetransform.c:
6288         (gst_base_transform_prepare_output_buf):
6289         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6290         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6291           Replace gst_buffer_(make|is)_metadata_writable patch now
6292           that the release is out.
6293
6294 2006-01-17  Andy Wingo  <wingo@pobox.com>
6295
6296         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6297         in the present tense without reference to versions.
6298
6299         * gst/gstregistry.c (gst_registry_add_plugin)
6300         (gst_registry_remove_plugin, gst_registry_remove_feature)
6301         (gst_registry_find_feature, gst_registry_get_feature_list)
6302         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6303         (gst_registry_lookup, gst_registry_scan_path)
6304         (_gst_registry_remove_cache_plugins)
6305         (gst_registry_get_feature_list_by_plugin): Add argument
6306         validation.
6307
6308 === release 0.10.2 ===
6309
6310 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6311
6312         * configure.ac:
6313           releasing 0.10.2, "If man is five"
6314
6315 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6316
6317         * gst/gstbuffer.c:
6318         * gst/gstbuffer.h:
6319         * libs/gst/base/gstbasetransform.c:
6320         (gst_base_transform_prepare_output_buf):
6321         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6322         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6323           Back out patch until after the release.
6324
6325 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6326
6327         * gst/gstminiobject.c:
6328           Spelling fix in docs.
6329         * ChangeLog - remove conflict indicator
6330
6331 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6332
6333         Reviewed By: Andy Wingo
6334
6335         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6336         (gst_buffer_make_metadata_writable):
6337         * gst/gstbuffer.h:
6338           Add gst_buffer_(is|make)_metadata_writable as analogues of
6339           gst_buffer_(is|make)_writable.
6340
6341         * libs/gst/base/gstbasetransform.c:
6342         (gst_base_transform_prepare_output_buf):
6343         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6344           Use name gst_buffer_(is|make)_metadata_writable functions.
6345
6346         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6347           Test gst_buffer_(is|make)_metadata_writable
6348         
6349           (Closes: #324162)
6350
6351 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6352
6353         * docs/manual/Makefile.am:
6354           don't do parallel make
6355         * configure.ac:
6356           AC_SUBST HOST_CPU
6357         * win32/common/config.h.in:
6358           add generations for HOST_CPU and GST_MAJORMINOR
6359         * win32/common/config.h:
6360           commit generated result
6361
6362 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * docs/manual/appendix-integration.xml:
6365           Update GNOME integration section to use gst_init_get_option_group()
6366           instead of the old popt stuff (#322911). Also, GNOME applications
6367           should  now use gconf*sink and gconf*src instead of the old gconf
6368           helper lib we had.
6369
6370 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6371
6372
6373         * docs/gst/gstreamer-docs.sgml:
6374         * docs/gst/gstreamer-sections.txt:
6375         * docs/libs/gstreamer-libs-sections.txt:
6376           add new API entries to the docs
6377         * libs/gst/controller/Makefile.am:
6378         * libs/gst/controller/gstcontroller.c:
6379         * libs/gst/controller/gstcontroller.h:
6380         * libs/gst/controller/gstcontrollerprivate.h:
6381         * libs/gst/controller/gsthelper.c:
6382         * libs/gst/controller/gstinterpolation.c:
6383           move private structs to private header
6384         * po/README:
6385           gstreamer-0.7 -> gstreamer-0.10
6386         * tests/check/libs/struct_i386.h:
6387           remove private structs
6388
6389 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6390
6391         * plugins/indexers/Makefile.am:
6392           Fixes as part of #317048
6393
6394 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6395
6396         * plugins/indexers/Makefile.am:
6397           fix #316086 - compilation when mmap is missing
6398
6399 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6400
6401         * libs/gst/base/gstbasesink.c:
6402           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6403           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6404         * win32/common/config.h:
6405           added some defines GST_MAJORMINOR and HOST_CPU
6406         * win32/common/libgstbase.def:
6407         * win32/common/libgstreamer.def:
6408           added some exported functions.
6409
6410 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6411
6412         * libs/gst/controller/gstcontroller.c:
6413         (gst_controlled_property_set_interpolation_mode),
6414         (gst_controlled_property_new):
6415         * libs/gst/controller/gstcontroller.h:
6416         * libs/gst/controller/gstinterpolation.c:
6417         (interpolate_none_get_string_value_array):
6418           make G_TYPE_STRING controlable
6419
6420 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6421
6422         * tools/README:
6423         * tools/gst-feedback.1.in:
6424         * tools/gst-inspect.1.in:
6425         * tools/gst-launch.1.in:
6426         * tools/gst-md5sum.1.in:
6427         * tools/gst-typefind.1.in:
6428         * tools/gst-xmlinspect.1.in:
6429         * tools/gst-xmllaunch.1.in:
6430           cleanup man-pages, remove reference to gst-register, document env-vars
6431
6432 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6433
6434         * gst/gstbuffer.c: (gst_buffer_span):
6435           gst_buffer_span should copy the timestamp of the first buffer
6436           if they were both originally overlapping subbuffers of the 
6437           same parent, using the same logic as the 'slow copy' case.
6438
6439 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6440
6441         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6442           Need to awaken ALL the pads when we pop a buffer, otherwise
6443           collectpads only works when there is 2 input streams.
6444
6445 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6446
6447         * docs/random/ensonic/media-device-daemon.txt:
6448           more ideas (dbus)
6449         * gst/gstbuffer.c:
6450           fix doc example, add clarification
6451         * tools/gst-launch.1.in:
6452           add initial info about GST_PLUGIN_PATH, needs more work
6453
6454 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6455
6456         * docs/manual/basics-bins.xml:
6457         * docs/manual/basics-elements.xml:
6458         * docs/manual/intro-basics.xml:
6459           Some more minor docs additions and updates.
6460
6461 2006-01-11  Wim Taymans  <wim@fluendo.com>
6462
6463         * docs/manual/basics-bins.xml:
6464         * docs/manual/basics-elements.xml:
6465         Some small fixes as pointed out by Ser-ver on IRC.
6466
6467 2006-01-10  Edward Hervey  <edward@fluendo.com>
6468
6469         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6470         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6471         the single-segment mode.
6472
6473 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6474
6475         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6476
6477         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6478         (gst_base_src_perform_seek), (gst_base_src_send_event),
6479         (gst_base_src_set_property), (gst_base_src_get_property),
6480         (gst_base_src_loop), (gst_base_src_start),
6481         (gst_base_src_activate_push):
6482         * libs/gst/base/gstbasesrc.h:
6483           Name (private) union; makes Sun's Forte compiler happy (#324900).
6484
6485 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6486
6487         * README:
6488           gst-register is gone.
6489
6490 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6491
6492         * gst/gstvalue.c: (_gst_value_initialize):
6493           make the G_TYPE_DATE instantiation work if debug is disabled
6494
6495 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6496
6497         * gst/gstmessage.c: (gst_message_parse_tag),
6498         (gst_message_parse_error), (gst_message_parse_warning):
6499           Don't crash when return location for error/warning debug
6500           string is NULL; add fact that return locations can be
6501           NULL to docs where appropriate.
6502
6503 2006-01-05  Wim Taymans  <wim@fluendo.com>
6504
6505         * gst/gstplugin.c: (gst_plugin_load_file):
6506         Replace strdup by g_strdup.
6507
6508 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6509
6510         * docs/pwg/advanced-types.xml:
6511           fix doc borkage
6512
6513 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6514
6515         submitted by: Abel Cheung
6516
6517         * po/LINGUAS:
6518         * po/zh_TW.po:
6519           Added Chinese (traditional) translation
6520
6521 2006-01-04  Wim Taymans  <wim@fluendo.com>
6522
6523         * docs/manual/basics-pads.xml:
6524         * docs/plugins/Makefile.am:
6525         * docs/plugins/gstreamer-plugins-docs.sgml:
6526         * docs/plugins/gstreamer-plugins-sections.txt:
6527         * docs/pwg/advanced-clock.xml:
6528         * docs/pwg/advanced-scheduling.xml:
6529         * docs/pwg/advanced-types.xml:
6530         * plugins/elements/gstfdsink.c:
6531         * plugins/elements/gstfdsrc.c:
6532         * plugins/elements/gstfdsrc.h:
6533         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6534         * plugins/elements/gstidentity.h:
6535         * plugins/elements/gstqueue.h:
6536         * plugins/elements/gsttee.c:
6537         * plugins/elements/gsttee.h:
6538         * plugins/elements/gsttypefindelement.c:
6539         (gst_type_find_element_class_init):
6540         * plugins/elements/gsttypefindelement.h:
6541         Small updates to various docs.
6542         Added core plugins to docs.
6543
6544 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6545
6546         * common/gst.supp:
6547           add a suppression for liboil's uninitialized variable
6548
6549 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6550
6551         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6552
6553         * gst/gstutils.h:
6554           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6555           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6556           compiler switch is being used (#325429).
6557
6558 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6559
6560         * gst/gstbin.c: (gst_bin_query):
6561           Disable duration query caching in bins until it gets
6562           fixed (see #324807).
6563
6564 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6565
6566         * tools/gst-inspect.c: (print_element_properties_info):
6567           Handle properties of POINTER and BOXED type.
6568
6569 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6570
6571         * gst/gst.c: (init_post):
6572           Init tags stuff and some other things before loading
6573           any static plugins (there may be other static plugins
6574           than just the GStreamer ones, and they may want to
6575           register their own tags or formats or whatever, and
6576           preferably without segfaulting).
6577
6578         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6579           Print at least a warning in the debug logs if we drop a
6580           query just because we don't know how to adjust the value
6581           in the particular format.
6582
6583 2005-12-24  David Schleef  <ds@schleef.org>
6584
6585         * tools/gstreamer-completion:
6586           Replacement for gst-complete written in sh and sed.  Only
6587           completes names of features, but that's 90% of what I want
6588           it for.  Properties are not available in registry.xml.  (Maybe
6589           they should be...)
6590
6591 === release 0.10.1 ===
6592
6593 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6594
6595         * configure.ac:
6596           releasing 0.10.1, "Nollaig chridheil"
6597
6598 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6599
6600         * docs/faq/cvs.xml:
6601           Add missing quote, should be make ERROR_CFLAGS="".
6602
6603 2005-12-20  Wim Taymans  <wim@fluendo.com>
6604
6605         * docs/design/part-trickmodes.txt:
6606         More documentation on trickmodes.
6607
6608 2005-12-20  Edward Hervey  <edward@fluendo.com>
6609
6610         * gst/gstcaps.c: (gst_static_caps_get_type):
6611         * gst/gstcaps.h:
6612           API addition: GST_TYPE_STATIC_CAPS
6613         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6614         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6615         * gst/gstpadtemplate.h:
6616           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6617         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6618         bindings.
6619
6620 2005-12-18  Wim Taymans  <wim@fluendo.com>
6621
6622         * libs/gst/base/gstadapter.c:
6623         * libs/gst/base/gstadapter.h:
6624         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6625         (gst_base_sink_get_position):
6626         * libs/gst/base/gstbasesink.h:
6627         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6628         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6629         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6630         (gst_base_src_send_event), (gst_base_src_update_length),
6631         (gst_base_src_get_range), (gst_base_src_loop),
6632         (gst_base_src_start):
6633         * libs/gst/base/gstbasesrc.h:
6634         * libs/gst/base/gstbasetransform.h:
6635         * libs/gst/base/gstcollectpads.h:
6636         * libs/gst/base/gstpushsrc.c:
6637         * libs/gst/base/gstpushsrc.h:
6638         * libs/gst/dataprotocol/dataprotocol.c:
6639         * libs/gst/dataprotocol/dataprotocol.h:
6640         * libs/gst/net/gstnetclientclock.h:
6641         * libs/gst/net/gstnettimeprovider.h:
6642         Documentation updates.
6643
6644 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6645
6646         * docs/manual/basics-helloworld.xml:
6647           Remove superfluous closing bracket in helloworld example.
6648
6649 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6650
6651         * tools/gst-launch.1.in:
6652           Update gst-launch man page; add a section with useful
6653           environment variables. Fixes #323882.
6654
6655 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6656
6657         * gst/gst.c:
6658         * gst/gst_private.h:
6659           change some char* into char[]
6660
6661 2005-12-16  Wim Taymans  <wim@fluendo.com>
6662
6663         * gst/gstregistryxml.c: (load_feature):
6664         Cleanups.
6665         Don't use g_object_unref on GstObjects so that we avoid
6666         leaks on unsafe glibs.
6667
6668 2005-12-16  Wim Taymans  <wim@fluendo.com>
6669
6670         * gst/gstbin.c: (gst_bin_recalc_state):
6671         Small doc updates.
6672
6673 2005-12-16  Wim Taymans  <wim@fluendo.com>
6674
6675         * common/check.mak:
6676         Added make forever target for check.
6677
6678 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6679
6680         * gst/gst.c: (init_post):
6681           make the registry cache file HOST_CPU-dependent
6682
6683 2005-12-16  Andy Wingo  <wingo@pobox.com>
6684
6685         * plugins/elements/gstbufferstore.c
6686         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6687         return value.
6688
6689         * tests/check/gst/gstobject.c
6690         (test_fake_object_name_threaded_unique): Pay attention to
6691         g_list_sort return value.
6692
6693 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6694
6695         * tools/gst-feedback-m.m:
6696           Update for 0.9/0.10 (fixes #323870).
6697
6698 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6699
6700         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6701           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6702           
6703         * tests/check/gst/gstminiobject.c: (my_foo_init),
6704         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6705         (test_value_collection), (gst_mini_object_suite):
6706           Add test to ensure refcounts end up as expected when passing
6707           GstMiniObjects through g_object_get() and g_object_set().
6708
6709 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6710
6711         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6712         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6713         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6714         of collectpads. This version removes a lot of races without
6715         touching API/ABI. Yay !
6716
6717 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6718
6719         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6720           Don't allow activation of a srcpad in pull_range if it has no
6721           getrange function.
6722           Change some debug statements to be a little clearer
6723
6724         * plugins/elements/gsttypefindelement.c:
6725         (gst_type_find_handle_src_query):
6726           Check that we have a peer before executing queries thereupon.
6727
6728         * tests/examples/metadata/read-metadata.c: (message_loop):
6729           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6730           immediately return us any available message with 0 timeout.
6731
6732 2005-12-12  Michael Smith  <msmith@fluendo.com>
6733
6734         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6735           Don't unref factories after calling them.
6736         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6737         * plugins/elements/gsttypefindelement.c:
6738         (gst_type_find_element_chain):
6739           Free lists of factories after using them. Fixing typefinding memory
6740           leaks.
6741
6742 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6745         (gst_plugin_feature_load):
6746           more meaningful debug output
6747         * configure.ac:
6748         * tests/Makefile.am:
6749         * tests/old/examples/Makefile.am:
6750           make make distcheck happy again
6751
6752 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6753
6754         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6755           Catch the special case where we are operating chain-based,
6756           but the downstream peer pad has no chain function. Emit a
6757           custom error message in this case instead of letting the
6758           core generate one implying that this is some sort of core
6759           bug. It's not, it just means that whatever got plugged
6760           into the pipeline downstream when we announced the type
6761           can only operate pull-based, while our source can only
6762           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6763           Error string has not been marked for translation yet, as
6764           it probably needs some more work first.
6765
6766         (gst_type_find_element_get_best_possibility):
6767           Add helper function to find the best of all available
6768           found possibilities that qualify given the min. threshold.
6769
6770         (gst_type_find_element_handle_event):
6771           Fix the case where we get an EOS while still in TYPEFIND
6772           mode (we want to chose the best of all possible types,
6773           not just the first type that happens to be in our unsorted
6774           list of possible types).
6775
6776         (gst_type_find_element_chain):
6777           Make sure we return GST_FLOW_ERROR when we errored out
6778           in stop_typefinding(); also, don't just find the best of
6779           all found type entries and then use the last examined
6780           type entry, but actually use the best entry.
6781
6782 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6783
6784         * tests/examples/typefind/typefind.c: (type_found):
6785         * tests/examples/xml/runxml.c: (xml_loaded):
6786           More gcc4 fixes and a mem leak fix.
6787
6788 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6789
6790         * tests/examples/xml/createxml.c: (object_saved):
6791           gcc 4 fixes
6792
6793 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6794
6795         * tests/Makefile.am:
6796           enable the examples even more
6797
6798 2005-12-12  Andy Wingo  <wingo@pobox.com>
6799
6800         * libs/gst/net/gstnettimeprovider.c
6801         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6802         (gst_net_time_provider_set_property)
6803         (gst_net_time_provider_get_property):
6804         API addition: Export "active" as a GObject property.
6805         (gst_net_time_provider_thread): Only respond to time queries if
6806         the time provider is active.
6807
6808         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6809         NetTimeProvider, preserving binary compat.
6810
6811 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6812
6813         * tests/examples/controller/audio-example.c: (main):
6814         * tests/examples/launch/Makefile.am:
6815           convert comments again
6816
6817 2005-12-12  Wim Taymans  <wim@fluendo.com>
6818
6819         * libs/gst/base/gstpushsrc.c:
6820         Fix typo.
6821
6822 2005-12-12  Wim Taymans  <wim@fluendo.com>
6823
6824         * docs/libs/gstreamer-libs-sections.txt:
6825         Added new symbol to docs.
6826
6827         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6828         (gst_base_src_init), (gst_base_src_set_format),
6829         (gst_base_src_default_query), (gst_base_src_query),
6830         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6831         (gst_base_src_perform_seek), (gst_base_src_send_event),
6832         (gst_base_src_default_event), (gst_base_src_event_handler),
6833         (gst_base_src_set_property), (gst_base_src_get_property),
6834         (gst_base_src_wait), (gst_base_src_do_sync),
6835         (gst_base_src_update_length), (gst_base_src_get_range),
6836         (gst_base_src_check_get_range), (gst_base_src_loop),
6837         (gst_base_src_default_negotiate), (gst_base_src_start),
6838         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6839         (gst_base_src_change_state):
6840         * libs/gst/base/gstbasesrc.h:
6841         Implement seeking to other formats than _BYTES.
6842         Implement more seeking methods correctly.
6843         Doc updates.
6844         Added query vmethod.
6845         Added do_seek vmethod to make life easier for subclasses
6846         when seeking.
6847         API addition: gst_base_src_set_format()
6848
6849 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * tests/examples/Makefile.am:
6852           added that too
6853
6854 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6855
6856         * configure.ac:
6857         * docs/random/ensonic/media-device-daemon.txt:
6858         * tests/examples/controller/.cvsignore:
6859         * tests/examples/controller/Makefile.am:
6860         * tests/examples/controller/audio-example.c: (main):
6861         * tests/examples/helloworld/.cvsignore:
6862         * tests/examples/helloworld/Makefile.am:
6863         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6864         * tests/examples/launch/.cvsignore:
6865         * tests/examples/launch/Makefile.am:
6866         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6867         * tests/examples/metadata/.cvsignore:
6868         * tests/examples/metadata/Makefile.am:
6869         * tests/examples/metadata/read-metadata.c: (message_loop),
6870         (make_pipeline), (print_tag), (main):
6871         * tests/examples/queue/.cvsignore:
6872         * tests/examples/queue/Makefile.am:
6873         * tests/examples/queue/queue.c: (event_loop), (main):
6874         * tests/examples/typefind/.cvsignore:
6875         * tests/examples/typefind/Makefile.am:
6876         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6877         (main):
6878         * tests/examples/xml/.cvsignore:
6879         * tests/examples/xml/Makefile.am:
6880         * tests/examples/xml/createxml.c: (object_saved), (main):
6881         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6882         * tests/old/examples/Makefile.am:
6883         * tests/old/examples/TODO:
6884         * tests/old/examples/controller/.cvsignore:
6885         * tests/old/examples/controller/Makefile.am:
6886         * tests/old/examples/controller/audio-example.c:
6887         * tests/old/examples/helloworld/.cvsignore:
6888         * tests/old/examples/helloworld/Makefile.am:
6889         * tests/old/examples/helloworld/helloworld.c:
6890         * tests/old/examples/launch/.cvsignore:
6891         * tests/old/examples/launch/Makefile.am:
6892         * tests/old/examples/launch/mp3parselaunch.c:
6893         * tests/old/examples/launch/mp3play:
6894         * tests/old/examples/manual/Makefile.am:
6895         * tests/old/examples/metadata/Makefile.am:
6896         * tests/old/examples/metadata/read-metadata.c:
6897         * tests/old/examples/queue/.cvsignore:
6898         * tests/old/examples/queue/Makefile.am:
6899         * tests/old/examples/queue/queue.c:
6900         * tests/old/examples/typefind/.cvsignore:
6901         * tests/old/examples/typefind/Makefile.am:
6902         * tests/old/examples/typefind/typefind.c:
6903         * tests/old/examples/xml/.cvsignore:
6904         * tests/old/examples/xml/Makefile.am:
6905         * tests/old/examples/xml/createxml.c:
6906         * tests/old/examples/xml/runxml.c:
6907           applied some simple fixing to some examples
6908           re-enabled the working examples
6909
6910 2005-12-12  Wim Taymans  <wim@fluendo.com>
6911
6912         * gst/gstsegment.c: (gst_segment_init),
6913         (gst_segment_set_last_stop), (gst_segment_set_seek),
6914         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6915         (gst_segment_to_running_time):
6916         Added more documentation.
6917         Make sure the last_pos value is updated properly.
6918         Make sure to_stream_time and to_running_time don't
6919         operate on wrong values.
6920
6921         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6922         Update check.
6923
6924 2005-12-12  Michael Smith  <msmith@fluendo.com>
6925
6926         * plugins/elements/gsttypefindelement.c: (free_entry),
6927         (gst_type_find_element_chain):
6928           Now that we're not leaking factories, make sure we keep references
6929           to them while we need them.
6930
6931 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6932
6933         * tests/check/gst/struct_i386.h:
6934           ifdef out the XML structs
6935
6936 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6937
6938         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6939           floor is not needed, F is always positive; this obviates the
6940           need for adding -lm when building without libxml
6941
6942 2005-12-12  Wim Taymans  <wim@fluendo.com>
6943
6944         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6945         Take current playback rate into account when reporting
6946         the position.
6947
6948 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6949
6950         * docs/manual/mime-world.fig:
6951           Let's try this again, this time with a file that is
6952           actually in XFig format.
6953
6954 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6955
6956         * docs/manual/mime-world.fig:
6957           Add audioconvert element to diagram so that it
6958           matches the text and the code (fixes #319526).
6959
6960 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6961
6962         * docs/pwg/building-chainfn.xml:
6963         * docs/pwg/building-pads.xml:
6964         * docs/pwg/building-state.xml:
6965         * docs/pwg/other-source.xml:
6966           Update state change stuff for 0.10 (fixes #322969).
6967
6968 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6969
6970         * docs/manual/advanced-dataaccess.xml:
6971         * docs/manual/appendix-checklist.xml:
6972         * docs/manual/appendix-programs.xml:
6973         * docs/manual/basics-pads.xml:
6974         * docs/manual/highlevel-components.xml:
6975         * docs/manual/manual.xml:
6976           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6977           add converters in front of pipelines; remove curly
6978           brackets for threads stuff, they no longer exist; use
6979           GST_TYPE_FRACTION for framerates; update some pieces of
6980           code to 0.10, but there's plenty more to do.
6981
6982         * docs/manual/appendix-porting.xml:
6983           Expand on asynchroneous state changes; s/0.9/0.10/;
6984           mention disappearance of gst_init_get_popt_table()
6985           (fixes #322916).
6986
6987 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6988
6989         * docs/faq/using.xml:
6990           Spider no longer exists, and neither does gst-launch-ext.
6991           Update examples to use decodebin and playbin and put
6992           converters in front of sinks (fixes #323726).
6993
6994 2005-12-09  Michael Smith  <msmith@fluendo.com>
6995
6996         * plugins/elements/gsttypefindelement.c: (find_peek),
6997         (gst_type_find_element_chain):
6998           Fix leaking element factories in typefinding.
6999           Fix problem where we forgot about a probable type on non-seekable
7000           files, and thus later mis-typefound it.
7001
7002 2005-12-09  Michael Smith  <msmith@fluendo.com>
7003
7004         * common/m4/gst-makecontext.m4:
7005         * common/m4/gst-mcsc.m4:
7006         * configure.ac:
7007         * win32/common/config.h:
7008         * win32/common/config.h.in:
7009           Remove makecontext stuff; not used in 0.10 and causes problems on
7010           HPUX according to bug #322441
7011
7012 2005-12-07  Wim Taymans  <wim@fluendo.com>
7013
7014         * tests/check/Makefile.am:
7015         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7016         (main):
7017         * tests/check/libs/struct_i386.h:
7018         Added ABI check for libs
7019
7020 2005-12-07  Wim Taymans  <wim@fluendo.com>
7021
7022         * tests/check/Makefile.am:
7023         And add the struct_i386.h to dist.
7024
7025 2005-12-07  Wim Taymans  <wim@fluendo.com>
7026
7027         * tests/check/Makefile.am:
7028         * tests/check/gst/.cvsignore:
7029         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7030         (main):
7031         * tests/check/gst/struct_i386.h:
7032         Added check for ABI compatibility.
7033
7034 2005-12-07  Wim Taymans  <wim@fluendo.com>
7035
7036         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7037         (gst_fake_src_get_times), (gst_fake_src_create):
7038         Fix broken sync option, fixes #323259
7039
7040 2005-12-07  Wim Taymans  <wim@fluendo.com>
7041
7042         * gst/gstbuffer.c:
7043         Small docs update.
7044
7045         * gst/gstcaps.c: (gst_caps_is_equal):
7046         Don't assert on NULL <--> X. Fixes #323260
7047
7048         * gst/gstminiobject.c: (gst_mini_object_replace):
7049         If we're doing atomic operations, we might just as well use
7050         the proper way to get an atomic pointer.
7051
7052         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7053         Clean up debugging.
7054
7055 2005-12-07  Michael Smith  <msmith@fluendo.com>
7056
7057         * gst/parse/grammar.y:
7058           Remove handling of { } for threads.
7059
7060 2005-12-06  David Schleef  <ds@schleef.org>
7061
7062         * libs/gst/base/gstbasetransform.c: speling fix.
7063
7064 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * docs/libs/tmpl/gstdataprotocol.sgml:
7067         * docs/random/omega/testing/gstobject.c:
7068         * gst/gst.c:
7069         * gst/gstclock.c:
7070         * gst/gstelement.c:
7071         * gst/gstelementfactory.c:
7072         * gst/gsterror.c:
7073         * gst/gstevent.c:
7074         * gst/gstghostpad.c:
7075         * gst/gstinfo.c:
7076         * gst/gstpadtemplate.c:
7077         * gst/gstregistryxml.c:
7078         * gst/gsttaglist.c:
7079         * gst/gsttagsetter.c:
7080         * gst/gsttypefind.c:
7081         * gst/gstvalue.c:
7082         * libs/gst/base/gstbasesrc.c:
7083         * libs/gst/net/gstnetclientclock.c:
7084         * libs/gst/net/gstnettimeprovider.c:
7085         * plugins/elements/gstfakesrc.c:
7086         * plugins/elements/gstfdsrc.c:
7087         * plugins/elements/gstfilesrc.c:
7088         * plugins/elements/gstidentity.c:
7089         * plugins/elements/gstqueue.c:
7090         * plugins/elements/gsttypefindelement.c:
7091         * plugins/indexers/gstfileindex.c:
7092         * plugins/indexers/gstmemindex.c:
7093         * tests/check/gst/gsttag.c:
7094         * tests/old/examples/cutter/cutter.c:
7095         * tests/old/examples/mixer/mixer.c:
7096         * tests/old/examples/xml/runxml.c: (main):
7097         * tests/old/testsuite/caps/normalisation.c:
7098         * tests/old/testsuite/debug/global.c:
7099         * tests/old/testsuite/parse/parse1.c:
7100         * tools/gst-xmlinspect.c:
7101         * win32/common/dirent.c:
7102           expand tabs
7103
7104 === release 0.10.0 ===
7105
7106 2005-12-05   <thomas (at) apestaart (dot) org>
7107
7108         * configure.ac:
7109           releasing 0.10.0, "Maroilles"
7110
7111 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7112
7113         submitted by: Funda Wang <fundawang@linux.net.cn>
7114
7115         * po/LINGUAS:
7116         * po/zh_CN.po:
7117           added Chinese (Traditional) translation
7118
7119 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7120
7121         * docs/gst/gstreamer-sections.txt:
7122         * docs/libs/tmpl/gstdataprotocol.sgml:
7123         * docs/random/thomasvs/TODO:
7124         * gst/gstutils.c:
7125         * gst/gstutils.h:
7126           fix docs
7127
7128 2005-12-05  Andy Wingo  <wingo@pobox.com>
7129
7130         patch by: Wim Taymans <wim@fluendo.com>
7131
7132         * libs/gst/base/gstbasetransform.c
7133         (gst_base_transform_prepare_output_buf)
7134         (gst_base_transform_buffer_alloc):
7135         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7136         alloc_buffer_and_set_caps.
7137
7138         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7139         set_caps on the source pad.
7140         (gst_pad_alloc_buffer_and_set_caps): New function, does what
7141         alloc_buffer used to do. Fixes #322874.
7142
7143         * docs/gst/gstreamer-sections.txt: 
7144         * docs/design/part-negotiation.txt: 
7145         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7146         changes.
7147
7148 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
7149
7150         patch by: Sebastien Moutte
7151
7152         * win32/MANIFEST:
7153         * win32/common/config.h.in:
7154         * win32/vs6/libgstcontroller.dsp:
7155           win32 build fixes
7156
7157 2005-12-05  Wim Taymans  <wim@fluendo.com>
7158
7159         * gst/gstcaps.c: (gst_caps_is_equal):
7160         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7161         (gst_fake_src_create):
7162         Back out previous code changes, leave doc updates, file bugs 
7163         instead. 
7164
7165 2005-12-05  Wim Taymans  <wim@fluendo.com>
7166
7167         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7168         (gst_fake_src_get_times), (gst_fake_src_create):
7169         * plugins/elements/gstfakesrc.h:
7170         Fix broken sync code.
7171
7172 2005-12-05  Wim Taymans  <wim@fluendo.com>
7173
7174         * gst/gstcaps.c: (gst_caps_is_equal):
7175         Comparing NULL against !NULL yields different caps, not a
7176         failure.
7177
7178 2005-12-05  Wim Taymans  <wim@fluendo.com>
7179
7180         * gst/gstpipeline.c:
7181         Fix small typo in docs.
7182
7183 2005-12-05  Andy Wingo  <wingo@pobox.com>
7184
7185         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
7186
7187         * gst/gst.c (init_post): remove hard-coded 0.9 location for
7188         registries/plugins with a MAJORMINOR one.
7189         (plugin_desc): Rename library from gstcoreleements to
7190         staticelements. Fixes #323222.
7191
7192 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
7193
7194         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7195           Change debug category to 'collectpads' from 'collect_pads'
7196           (fixes #323250).
7197
7198 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7199
7200         patch by: Sebastien Moutte
7201
7202         * libs/gst/controller/gstinterpolation.c:
7203           use convert function for uint64/double
7204         * win32/vs6/libgstcontroller.dsp:
7205           link to GLib
7206
7207 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
7208
7209         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7210         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7211         * gst/gstutils.h:
7212         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7213           add tests that seem to show that the guint64/gdouble conversions
7214           are correct.
7215
7216 2005-12-02  Wim Taymans  <wim@fluendo.com>
7217
7218         * gst/gstregistry.c: (gst_registry_add_path):
7219         * gst/gstregistry.h:
7220         * gst/gstregistryxml.c:
7221         Fix docs again.
7222
7223 2005-12-02  Wim Taymans  <wim@fluendo.com>
7224
7225         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7226         (gst_util_uint64_scale_int):
7227         Small cleanup.
7228
7229         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7230         Add debug log line.
7231
7232         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7233         Add FIXME.
7234
7235 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7236
7237         * win32/MANIFEST:
7238         * win32/common/config.h:
7239         * win32/vs6/gstreamer.dsw:
7240         * win32/vs6/libgstcoreelements.dsp:
7241         * win32/vs6/libgstelements.dsp:
7242           renamed core elements plugin
7243
7244 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7247         (get_candidates):
7248           do piece-wise major/minor comparison so 0.9 < 0.10
7249           also allow .exe extensions for tools
7250
7251 2005-12-02  Michael Smith  <msmith@fluendo.com>
7252
7253         * gst/gst.c:
7254           Escape a % to make gtkdoc happier; bug 322958.
7255
7256 === release 0.9.7 ===
7257
7258 2005-12-01   <thomas (at) apestaart (dot) org>
7259
7260         * configure.ac:
7261           releasing 0.9.7, "My Dog Has No Nose"
7262
7263 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7264
7265         * common/gst-xmlinspect.py:
7266         * configure.ac:
7267         * docs/libs/tmpl/gstdataprotocol.sgml:
7268         * docs/random/release:
7269         * po/af.po:
7270         * po/az.po:
7271         * po/bg.po:
7272         * po/ca.po:
7273         * po/cs.po:
7274         * po/de.po:
7275         * po/en_GB.po:
7276         * po/fr.po:
7277         * po/it.po:
7278         * po/nb.po:
7279         * po/nl.po:
7280         * po/ru.po:
7281         * po/sq.po:
7282         * po/sr.po:
7283         * po/sv.po:
7284         * po/tr.po:
7285         * po/uk.po:
7286         * po/vi.po:
7287         * win32/common/config.h:
7288         * win32/common/config.h.in:
7289         * win32/vs6/gst_inspect.dsp:
7290         * win32/vs6/gst_launch.dsp:
7291         * win32/vs6/libgstbase.dsp:
7292         * win32/vs6/libgstelements.dsp:
7293         * win32/vs6/libgstreamer.dsp:
7294         * win32/vs7/GStreamer.vcproj:
7295         * win32/vs7/gst-inspect.vcproj:
7296         * win32/vs7/gst-launch.vcproj:
7297         * win32/vs7/libgstbase.vcproj:
7298           bump GST_MAJORMINOR to 0.10
7299           reset libtool version
7300
7301 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7302
7303         * po/LINGUAS:
7304         * po/bg.po:
7305           Added Bulgarian translation by (Alexander Shopov)
7306
7307 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7308
7309         * tests/check/gst/gstplugin.c:
7310           fix test
7311
7312 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7313
7314         * common/gst-xmlinspect.py:
7315         * common/gtk-doc-plugins.mak:
7316         * configure.ac:
7317         * docs/Makefile.am:
7318         * docs/gst/Makefile.am:
7319         * docs/gst/gstreamer-docs.sgml:
7320         * docs/gst/gstreamer-sections.txt:
7321         * docs/gst/gstreamer.types:
7322         * docs/gst/gstreamer.types.in:
7323         * docs/plugins/Makefile.am:
7324         * docs/plugins/gstreamer-plugins-docs.sgml:
7325         * docs/plugins/gstreamer-plugins-sections.txt:
7326         * docs/plugins/gstreamer-plugins.types:
7327         * docs/plugins/inspect.stamp:
7328         * docs/plugins/inspect/plugin-coreelements.xml:
7329         * docs/plugins/inspect/plugin-coreindexers.xml:
7330         * docs/plugins/scanobj-build.stamp:
7331         * gstreamer.spec.in:
7332         * plugins/elements/Makefile.am:
7333         * plugins/elements/gstelements.c:
7334         * plugins/elements/gstfakesink.c:
7335         * plugins/elements/gstfakesrc.c:
7336         * plugins/elements/gstfilesink.c:
7337         * plugins/elements/gstfilesrc.c:
7338         * plugins/elements/gstqueue.c:
7339         * plugins/indexers/Makefile.am:
7340         * plugins/indexers/gstindexers.c:
7341           document core plugins in a separate document just like all the
7342           others
7343           rename these plugins to something starting with core
7344
7345 2005-12-01  Andy Wingo  <wingo@pobox.com>
7346
7347         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7348         padding here before, but it missed the commit.
7349
7350 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7351
7352         * libs/gst/controller/gstinterpolation.c:
7353           whitespace prices have crashed, we should feel free to use some now
7354           use gst_guint64_to_gdouble
7355
7356 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7357
7358         * libs/gst/controller/gstcontroller.c:
7359         * libs/gst/controller/gsthelper.c:
7360         * libs/gst/controller/gstinterpolation.c:
7361         * libs/gst/controller/lib.c:
7362           wrap config.h include
7363
7364 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7365
7366         * docs/gst/gstreamer-sections.txt:
7367           update docs
7368
7369 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7370
7371         * plugins/elements/gstelements.c:
7372         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7373         (gst_fd_sink__class_init), (gst_fd_sink__init),
7374         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7375         (gst_fd_sink__get_property):
7376         * plugins/elements/gstfdsink.h:
7377         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7378         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7379         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7380         (gst_fd_src_unlock), (gst_fd_src_set_property),
7381         (gst_fd_src_get_property), (gst_fd_src_create),
7382         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7383         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7384         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7385         (gst_fd_src_uri_handler_init):
7386         * plugins/elements/gstfdsrc.h:
7387         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7388           more anal cleanup
7389
7390 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7391
7392         * docs/gst/Makefile.am:
7393         * docs/gst/gstreamer.types.in:
7394         * gst/Makefile.am:
7395           fix the docs build
7396
7397 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7398
7399         * configure.ac:
7400         * gst/Makefile.am:
7401         * gst/gst.c:
7402         * gst/gstplugin.h:
7403         * gst/gstregistry.h:
7404         * tests/benchmarks/complexity.c:
7405         * tests/benchmarks/mass-elements.c:
7406         * tests/check/Makefile.am:
7407         * tools/Makefile.am:
7408         * tools/gst-inspect.c:
7409         * tools/gst-xmlinspect.c:
7410           various fixes to make
7411           --disable-nls --disable-registry --disable-loadsave
7412           --disable-parse --disable-gst-debug
7413           work and get the core .so down to 360444 bytes after stripping
7414
7415 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7416
7417         * Makefile.am:
7418         * configure.ac:
7419           descend into tests
7420         * docs/random/thomasvs/TODO:
7421         * tests/Makefile.am:
7422         * tests/README:
7423           add a README
7424
7425 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7426
7427         * win32/GStreamer.vcproj:
7428         * win32/MANIFEST:
7429         * win32/Makefile:
7430         * win32/Makefile.inspect:
7431         * win32/Makefile.launch:
7432         * win32/Makefile.register:
7433         * win32/README.txt:
7434         * win32/gst-inspect.vcproj:
7435         * win32/gst-launch.vcproj:
7436         * win32/gst-register.vcproj:
7437         * win32/gstelements.vcproj:
7438         * win32/gstgetbits.def:
7439         * win32/gstgetbits.vcproj:
7440         * win32/gstreamer-dbg.def:
7441         * win32/gstreamer.def:
7442         * win32/libgstbase.def:
7443         * win32/libgstbase.vcproj:
7444         * win32/link_oldruntime.c:
7445         * win32/mman.c:
7446         * win32/mman.h:
7447         * win32/mman.inl:
7448         * win32/msvc71.sln:
7449           move even more stuff, win32/ is nice and clean now
7450
7451 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7452
7453         * libs/gst/control/.cvsignore:
7454         * win32/MANIFEST:
7455         * win32/config.h:
7456         * win32/dirent.c:
7457         * win32/dirent.h:
7458         * win32/gstbytestream.def:
7459         * win32/gstbytestream.vcproj:
7460         * win32/gstconfig.h:
7461         * win32/gstenumtypes.c:
7462         * win32/gstenumtypes.h:
7463         * win32/gstoptimalscheduler.vcproj:
7464         * win32/gstversion.h:
7465         * win32/gtchar.h:
7466         * win32/testsuite/bins.vcproj:
7467         * win32/testsuite/bytestream.vcproj:
7468         * win32/testsuite/caps.vcproj:
7469         * win32/testsuite/cleanup.vcproj:
7470         * win32/testsuite/clock.vcproj:
7471         * win32/testsuite/debug.vcproj:
7472         * win32/testsuite/dlopen.vcproj:
7473         * win32/testsuite/dynparams.vcproj:
7474         * win32/testsuite/elements.vcproj:
7475         * win32/testsuite/ghostpads.vcproj:
7476         * win32/testsuite/indexers.vcproj:
7477         * win32/testsuite/negotiation.vcproj:
7478         * win32/testsuite/parse.vcproj:
7479         * win32/testsuite/plugin.vcproj:
7480         * win32/testsuite/refcounting.vcproj:
7481         * win32/testsuite/schedulers.vcproj:
7482         * win32/testsuite/states.vcproj:
7483         * win32/testsuite/tags.vcproj:
7484         * win32/testsuite/threads.vcproj:
7485           remove old win32 stuff that isn't maintained and should be
7486           reorganized
7487
7488 2005-11-30  Andy Wingo  <wingo@pobox.com>
7489
7490         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7491         loading the gst.interfaces python module bork.
7492
7493         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7494         available since GLib 2.2. Fixes #318031.
7495
7496 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7497
7498         * Makefile.am:
7499         * check/.cvsignore:
7500         * check/Makefile.am:
7501         * check/elements/.cvsignore:
7502         * check/elements/fakesrc.c:
7503         * check/elements/fdsrc.c:
7504         * check/elements/identity.c:
7505         * check/generic/.cvsignore:
7506         * check/generic/states.c:
7507         * check/gst-libs/.cvsignore:
7508         * check/gst-libs/controller.c:
7509         * check/gst-libs/gdp.c:
7510         * check/gst/.cvsignore:
7511         * check/gst/capslist.h:
7512         * check/gst/gst.c:
7513         * check/gst/gstbin.c:
7514         * check/gst/gstbuffer.c:
7515         * check/gst/gstbus.c:
7516         * check/gst/gstcaps.c:
7517         * check/gst/gstelement.c:
7518         * check/gst/gstevent.c:
7519         * check/gst/gstghostpad.c:
7520         * check/gst/gstiterator.c:
7521         * check/gst/gstmessage.c:
7522         * check/gst/gstminiobject.c:
7523         * check/gst/gstobject.c:
7524         * check/gst/gstpad.c:
7525         * check/gst/gstpipeline.c:
7526         * check/gst/gstplugin.c:
7527         * check/gst/gstsegment.c:
7528         * check/gst/gststructure.c:
7529         * check/gst/gstsystemclock.c:
7530         * check/gst/gsttag.c:
7531         * check/gst/gstutils.c:
7532         * check/gst/gstvalue.c:
7533         * check/net/.cvsignore:
7534         * check/net/gstnetclientclock.c:
7535         * check/net/gstnettimeprovider.c:
7536         * check/pipelines/.cvsignore:
7537         * check/pipelines/cleanup.c:
7538         * check/pipelines/simple_launch_lines.c:
7539         * check/pipelines/stress.c:
7540         * check/states/.cvsignore:
7541         * check/states/sinks.c:
7542         * configure.ac:
7543         * examples/Makefile.am:
7544         * examples/appreader/.cvsignore:
7545         * examples/appreader/Makefile.am:
7546         * examples/appreader/appreader.c:
7547         * examples/controller/.cvsignore:
7548         * examples/controller/Makefile.am:
7549         * examples/controller/audio-example.c:
7550         * examples/cutter/.cvsignore:
7551         * examples/cutter/Makefile.am:
7552         * examples/cutter/cutter.c:
7553         * examples/cutter/cutter.h:
7554         * examples/events/Makefile.am:
7555         * examples/events/seek.c:
7556         * examples/helloworld/.cvsignore:
7557         * examples/helloworld/Makefile.am:
7558         * examples/helloworld/helloworld.c:
7559         * examples/helloworld2/.cvsignore:
7560         * examples/helloworld2/Makefile.am:
7561         * examples/helloworld2/helloworld2.c:
7562         * examples/launch/.cvsignore:
7563         * examples/launch/Makefile.am:
7564         * examples/launch/mp3parselaunch.c:
7565         * examples/launch/mp3play:
7566         * examples/manual/.cvsignore:
7567         * examples/manual/Makefile.am:
7568         * examples/manual/extract.pl:
7569         * examples/metadata/Makefile.am:
7570         * examples/metadata/read-metadata.c:
7571         * examples/mixer/.cvsignore:
7572         * examples/mixer/Makefile.am:
7573         * examples/mixer/mixer.c:
7574         * examples/mixer/mixer.h:
7575         * examples/pingpong/.cvsignore:
7576         * examples/pingpong/Makefile.am:
7577         * examples/pingpong/pingpong.c:
7578         * examples/plugins/.cvsignore:
7579         * examples/plugins/Makefile.am:
7580         * examples/plugins/example.c:
7581         * examples/plugins/example.h:
7582         * examples/pwg/.cvsignore:
7583         * examples/pwg/Makefile.am:
7584         * examples/pwg/extract.pl:
7585         * examples/queue/.cvsignore:
7586         * examples/queue/Makefile.am:
7587         * examples/queue/queue.c:
7588         * examples/queue2/.cvsignore:
7589         * examples/queue2/Makefile.am:
7590         * examples/queue2/queue2.c:
7591         * examples/queue3/.cvsignore:
7592         * examples/queue3/Makefile.am:
7593         * examples/queue3/queue3.c:
7594         * examples/queue4/.cvsignore:
7595         * examples/queue4/Makefile.am:
7596         * examples/queue4/queue4.c:
7597         * examples/retag/.cvsignore:
7598         * examples/retag/Makefile.am:
7599         * examples/retag/retag.c:
7600         * examples/retag/transcode.c:
7601         * examples/thread/.cvsignore:
7602         * examples/thread/Makefile.am:
7603         * examples/thread/thread.c:
7604         * examples/typefind/.cvsignore:
7605         * examples/typefind/Makefile.am:
7606         * examples/typefind/typefind.c:
7607         * examples/xml/.cvsignore:
7608         * examples/xml/Makefile.am:
7609         * examples/xml/createxml.c:
7610         * examples/xml/runxml.c:
7611         * tests/Makefile.am:
7612         * tests/check/Makefile.am:
7613         * testsuite/.cvsignore:
7614         * testsuite/Makefile.am:
7615         * testsuite/Rules:
7616         * testsuite/caps/.cvsignore:
7617         * testsuite/caps/Makefile.am:
7618         * testsuite/caps/app_fixate.c:
7619         * testsuite/caps/audioscale.c:
7620         * testsuite/caps/caps.c:
7621         * testsuite/caps/caps.h:
7622         * testsuite/caps/caps_strings:
7623         * testsuite/caps/compatibility.c:
7624         * testsuite/caps/deserialize.c:
7625         * testsuite/caps/enumcaps.c:
7626         * testsuite/caps/eratosthenes.c:
7627         * testsuite/caps/filtercaps.c:
7628         * testsuite/caps/fixed.c:
7629         * testsuite/caps/fraction-convert.c:
7630         * testsuite/caps/fraction-multiply-and-zero.c:
7631         * testsuite/caps/intersect2.c:
7632         * testsuite/caps/intersection.c:
7633         * testsuite/caps/normalisation.c:
7634         * testsuite/caps/random.c:
7635         * testsuite/caps/renegotiate.c:
7636         * testsuite/caps/sets.c:
7637         * testsuite/caps/simplify.c:
7638         * testsuite/caps/string-conversions.c:
7639         * testsuite/caps/structure.c:
7640         * testsuite/caps/subtract.c:
7641         * testsuite/caps/union.c:
7642         * testsuite/debug/.cvsignore:
7643         * testsuite/debug/Makefile.am:
7644         * testsuite/debug/category.c:
7645         * testsuite/debug/commandline.c:
7646         * testsuite/debug/global.c:
7647         * testsuite/debug/output.c:
7648         * testsuite/debug/printf_extension.c:
7649         * testsuite/dlopen/.cvsignore:
7650         * testsuite/dlopen/Makefile.am:
7651         * testsuite/dlopen/dlopen_gst.c:
7652         * testsuite/dlopen/loadgst.c:
7653         * testsuite/elements/.cvsignore:
7654         * testsuite/elements/Makefile.am:
7655         * testsuite/elements/gst-inspect-check.in:
7656         * testsuite/elements/struct_i386.h:
7657         * testsuite/elements/struct_size.c:
7658         * testsuite/indexers/.cvsignore:
7659         * testsuite/indexers/Makefile.am:
7660         * testsuite/indexers/cache1.c:
7661         * testsuite/indexers/indexdump.c:
7662         * testsuite/parse/.cvsignore:
7663         * testsuite/parse/Makefile.am:
7664         * testsuite/parse/parse1.c:
7665         * testsuite/parse/parse2.c:
7666         * testsuite/plugin/.cvsignore:
7667         * testsuite/plugin/Makefile.am:
7668         * testsuite/plugin/README:
7669         * testsuite/plugin/dynamic.c:
7670         * testsuite/plugin/linked.c:
7671         * testsuite/plugin/loading.c:
7672         * testsuite/plugin/registry.c:
7673         * testsuite/plugin/static.c:
7674         * testsuite/plugin/static2.c:
7675         * testsuite/plugin/testplugin.c:
7676         * testsuite/plugin/testplugin2.c:
7677         * testsuite/plugin/testplugin2_s.c:
7678         * testsuite/plugin/testplugin_s.c:
7679         * testsuite/refcounting/.cvsignore:
7680         * testsuite/refcounting/Makefile.am:
7681         * testsuite/refcounting/bin.c:
7682         * testsuite/refcounting/element.c:
7683         * testsuite/refcounting/element_pad.c:
7684         * testsuite/refcounting/mainloop.c:
7685         * testsuite/refcounting/mem.c:
7686         * testsuite/refcounting/mem.h:
7687         * testsuite/refcounting/object.c:
7688         * testsuite/refcounting/pad.c:
7689         * testsuite/refcounting/sched.c:
7690         * testsuite/refcounting/thread.c:
7691         * testsuite/states/.cvsignore:
7692         * testsuite/states/Makefile.am:
7693         * testsuite/states/bin.c:
7694         * testsuite/states/locked.c:
7695         * testsuite/states/parent.c:
7696         * testsuite/threads/.cvsignore:
7697         * testsuite/threads/159566.c:
7698         * testsuite/threads/159852.c:
7699         * testsuite/threads/Makefile.am:
7700         * testsuite/threads/queue.c:
7701         * testsuite/threads/signals.c:
7702         * testsuite/threads/staticrec.c:
7703         * testsuite/threads/thread.c:
7704         * testsuite/threads/threadb.c:
7705         * testsuite/threads/threadc.c:
7706         * testsuite/threads/threadd.c:
7707         * testsuite/threads/threade.c:
7708         * testsuite/threads/threadf.c:
7709         * testsuite/threads/threadg.c:
7710         * testsuite/threads/threadh.c:
7711         * testsuite/threads/threadi.c:
7712           move all of these under tests
7713
7714 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7715
7716         * configure.ac:
7717         * tests/Makefile.am:
7718           fix distcheck
7719
7720 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7721
7722         * docs/gst/gstreamer-sections.txt:
7723         * tests/sched/.cvsignore:
7724         * tests/sched/Makefile.am:
7725         * tests/sched/cases/(fs-fs).xml:
7726         * tests/sched/cases/(fs-i-fs).xml:
7727         * tests/sched/cases/(fs-i-i-fs).xml:
7728         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7729         * tests/sched/dynamic-pipeline.c:
7730         * tests/sched/interrupt1.c:
7731         * tests/sched/interrupt2.c:
7732         * tests/sched/interrupt3.c:
7733         * tests/sched/runtestcases:
7734         * tests/sched/runxml.c:
7735         * tests/sched/sched-stress.c:
7736         * tests/sched/sort.c:
7737         * tests/sched/testcases:
7738         * tests/sched/testcases1.tc:
7739         * tests/seeking/.cvsignore:
7740         * tests/seeking/Makefile.am:
7741         * tests/seeking/seeking1.c:
7742         * tests/threadstate/.cvsignore:
7743         * tests/threadstate/Makefile.am:
7744         * tests/threadstate/test1.c:
7745         * tests/threadstate/test2.c:
7746         * tests/threadstate/threadstate1.c:
7747         * tests/threadstate/threadstate2.c:
7748         * tests/threadstate/threadstate3.c:
7749         * tests/threadstate/threadstate4.c:
7750         * tests/threadstate/threadstate5.c:
7751           remove obsolete tests
7752         * configure.ac:
7753         * tests/bench-complexity.scm:
7754         * tests/bench-mass_elements.scm:
7755         * tests/complexity.c:
7756         * tests/complexity.gnuplot:
7757         * tests/instantiate/.cvsignore:
7758         * tests/instantiate/Makefile.am:
7759         * tests/instantiate/caps.c:
7760         * tests/mass_elements.c:
7761         * tests/network-clock-utils.scm:
7762         * tests/network-clock.scm:
7763         * tests/plot-data:
7764         First pass at cleaning up tests/ dir before moving the rest
7765         Combined with CVS surgery
7766
7767 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7768
7769         * po/POTFILES.in:
7770           queue has moved, update
7771
7772 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7773
7774         * docs/gst/gstreamer-sections.txt:
7775           remove double entries from the docs
7776         * gst/gst_private.h:
7777         * gst/gstinfo.c: (_gst_debug_init):
7778           remove the THREAD debug category
7779         * gst/Makefile.am:
7780         * gst/gstqueue.c:
7781         * gst/gstqueue.h:
7782         * docs/gst/gstreamer.types:
7783         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7784         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7785           completely move queue and fix up debugging categories
7786
7787 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7788
7789         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7790           make initialization portable, using LL is not
7791
7792 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7793
7794         * win32/common/gstconfig.h:
7795           add large padding
7796
7797 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7798
7799         * win32/common/libgstreamer.def:
7800           rename symbols; sort base section
7801
7802 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7803
7804         * gst/gstclock.c: (do_linear_regression):
7805           remove crack non-portable handrolled DEBUG macro
7806
7807 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7808
7809         * docs/random/release:
7810           update notes
7811         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7812         (gst_object_flags_get_type), (register_gst_bin_flags),
7813         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7814         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7815         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7816         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7817         (gst_caps_flags_get_type), (register_gst_clock_return),
7818         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7819         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7820         (gst_clock_flags_get_type), (register_gst_state),
7821         (gst_state_get_type), (register_gst_state_change_return),
7822         (gst_state_change_return_get_type), (register_gst_state_change),
7823         (gst_state_change_get_type), (register_gst_element_flags),
7824         (gst_element_flags_get_type), (register_gst_core_error),
7825         (gst_core_error_get_type), (register_gst_library_error),
7826         (gst_library_error_get_type), (register_gst_resource_error),
7827         (gst_resource_error_get_type), (register_gst_stream_error),
7828         (gst_stream_error_get_type), (register_gst_event_type_flags),
7829         (gst_event_type_flags_get_type), (register_gst_event_type),
7830         (gst_event_type_get_type), (register_gst_seek_type),
7831         (gst_seek_type_get_type), (register_gst_seek_flags),
7832         (gst_seek_flags_get_type), (register_gst_format),
7833         (gst_format_get_type), (register_gst_index_certainty),
7834         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7835         (gst_index_entry_type_get_type),
7836         (register_gst_index_lookup_method),
7837         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7838         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7839         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7840         (gst_index_flags_get_type), (register_gst_debug_level),
7841         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7842         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7843         (gst_iterator_result_get_type), (register_gst_iterator_item),
7844         (gst_iterator_item_get_type), (register_gst_message_type),
7845         (gst_message_type_get_type), (register_gst_mini_object_flags),
7846         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7847         (gst_pad_link_return_get_type), (register_gst_flow_return),
7848         (gst_flow_return_get_type), (register_gst_activate_mode),
7849         (gst_activate_mode_get_type), (register_gst_pad_direction),
7850         (gst_pad_direction_get_type), (register_gst_pad_flags),
7851         (gst_pad_flags_get_type), (register_gst_pad_presence),
7852         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7853         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7854         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7855         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7856         (gst_plugin_flags_get_type), (register_gst_rank),
7857         (gst_rank_get_type), (register_gst_query_type),
7858         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7859         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7860         (gst_tag_flag_get_type), (register_gst_task_state),
7861         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7862         (gst_alloc_trace_flags_get_type),
7863         (register_gst_type_find_probability),
7864         (gst_type_find_probability_get_type), (register_gst_uri_type),
7865         (gst_uri_type_get_type), (register_gst_parse_error),
7866         (gst_parse_error_get_type):
7867         * win32/common/gstenumtypes.h:
7868         * win32/common/gstversion.h:
7869           update visual studio generated files
7870
7871 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7872
7873         * win32/vs6/libgstbase.dsp:
7874         * win32/vs6/libgstelements.dsp:
7875           update project files for new locations
7876
7877 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7878
7879         * Makefile.am:
7880           remove some files
7881         * README:
7882           reinstate and update
7883         * DEVEL:
7884         * REQUIREMENTS:
7885           removed
7886         * LICENSE:
7887         * docs/random/LICENSE:
7888           moved to random
7889
7890 2005-11-30  Edward Hervey  <edward@fluendo.com>
7891
7892         * gst/gsttypefind.c: (gst_type_find_register):
7893         * gst/gsttypefind.h:
7894         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7895         (gst_type_find_factory_dispose):
7896         * gst/gsttypefindfactory.h:
7897         Fix memory leak in GstTypeFindFactory.
7898
7899 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7900
7901         * gst/gst.c:
7902         * plugins/elements/Makefile.am:
7903         * plugins/elements/gstelements.c:
7904         * plugins/elements/gstqueue.c:
7905           move queue from core to the elements plugin
7906
7907 2005-11-29  Andy Wingo  <wingo@pobox.com>
7908
7909         * libs/gst/base/gstbasetransform.h: 
7910         * libs/gst/base/gstbasesrc.h: 
7911         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7912
7913         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7914         of pointers by which to pad very extensible base classes (like the
7915         ones in libs/gst/base).
7916
7917 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7918
7919         * docs/gst/gstreamer-docs.sgml:
7920         * docs/gst/gstreamer-sections.txt:
7921         * docs/libs/gstreamer-libs-docs.sgml:
7922         * docs/libs/gstreamer-libs-sections.txt:
7923           moving documentation from core to lib
7924
7925 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7926
7927         * check/Makefile.am:
7928         * configure.ac:
7929         * docs/gst/Makefile.am:
7930         * gst/Makefile.am:
7931         * gst/base/.cvsignore:
7932         * gst/base/Makefile.am:
7933         * gst/base/README:
7934         * gst/base/gstadapter.c:
7935         * gst/base/gstadapter.h:
7936         * gst/base/gstbasesink.c:
7937         * gst/base/gstbasesink.h:
7938         * gst/base/gstbasesrc.c:
7939         * gst/base/gstbasesrc.h:
7940         * gst/base/gstbasetransform.c:
7941         * gst/base/gstbasetransform.h:
7942         * gst/base/gstcollectpads.c:
7943         * gst/base/gstcollectpads.h:
7944         * gst/base/gstpushsrc.c:
7945         * gst/base/gstpushsrc.h:
7946         * gst/base/gsttypefindhelper.c:
7947         * gst/base/gsttypefindhelper.h:
7948         * gst/check/Makefile.am:
7949         * gst/check/gstcheck.c:
7950         * gst/check/gstcheck.h:
7951         * gst/net/Makefile.am:
7952         * gst/net/gstnet.h:
7953         * gst/net/gstnetclientclock.c:
7954         * gst/net/gstnetclientclock.h:
7955         * gst/net/gstnettimepacket.c:
7956         * gst/net/gstnettimepacket.h:
7957         * gst/net/gstnettimeprovider.c:
7958         * gst/net/gstnettimeprovider.h:
7959         * libs/gst/Makefile.am:
7960         * libs/gst/base/Makefile.am:
7961         * libs/gst/base/gstbasetransform.c:
7962         * libs/gst/check/Makefile.am:
7963         * plugins/elements/Makefile.am:
7964         * po/POTFILES.in:
7965           CVS surgery + support to move base, check, and net out of gst
7966           and into libs/gst
7967
7968 2005-11-29  Andy Wingo  <wingo@pobox.com>
7969
7970         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7971
7972         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7973         padding.
7974
7975         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7976
7977         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7978
7979         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7980
7981         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7982         padding; reduces object size by about 30%. We don't expect
7983         anything else to go into gstobject.
7984
7985         * gst/gstminiobject.h (struct _GstMiniObject)
7986         (struct _GstMiniObjectClass): Only one pointer of padding; the
7987         payload is only a pointer and two ints anyway. For the class there
7988         are only two methods as well.
7989         
7990         * gst/gstelement.h (struct _GstElementClass): Removed
7991         the state_changed signal callback, it is not used.
7992
7993 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7994
7995         * docs/gst/gstreamer.types:
7996           fix includes, though they are a little dinky
7997
7998 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7999
8000         * check/Makefile.am:
8001           look in the right place for elements, a lot more chance of
8002           success
8003         * gst/Makefile.am:
8004           remove indexers and elements subdirs
8005         * plugins/Makefile.am:
8006           make indexers conditional
8007
8008 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
8009
8010         * Makefile.am:
8011         * configure.ac:
8012         * plugins/elements/Makefile.am:
8013         * plugins/elements/gstcapsfilter.c:
8014         * plugins/elements/gstfilesink.c:
8015         * plugins/elements/gstfilesrc.c:
8016         * plugins/elements/gstidentity.c:
8017         * plugins/indexers/Makefile.am:
8018           do CVS surgery and related build fixery to move elements
8019           and indexers in a new gstreamer/plugins directory, out of the
8020           gst/ directory
8021
8022 2005-11-29  Andy Wingo  <wingo@pobox.com>
8023
8024         * check/Makefile.am:
8025         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8026         * pkgconfig/gstreamer-net.pc.in:
8027         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8028         #322257.
8029
8030 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         * tools/Makefile.am:
8033         * tools/gst-complete.1.in:
8034         * tools/gst-complete.c:
8035         * tools/gst-compprep.1.in:
8036         * tools/gst-compprep.c:
8037           removing -compprep and -complete
8038
8039 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
8040
8041         * gst/gstevent.c: (gst_event_new_new_segment),
8042         (gst_event_parse_new_segment):
8043         * gst/gstevent.h:
8044           fix #320529 - clean up new_segment API and structure.
8045           Let's hope everyone was using the methods, and not the structure.
8046
8047 2005-11-29  Edward Hervey  <edward@fluendo.com>
8048
8049         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8050         (gst_base_sink_event), (gst_base_sink_do_sync),
8051         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8052         Properly handle non GST_FORMAT_TIME segment
8053         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8054         Properly handle non GST_FORMAT_TIME segment
8055         * gst/gstsegment.c:
8056         This function is valid if the accumulator is 0 and the format
8057         is different from the requested format.
8058         
8059 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8060
8061         * docs/gst/gstreamer-sections.txt:
8062         Add gst_query_new_seeking and gst_query_parse_seeking to the
8063         docs.
8064
8065 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8066
8067         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8068           Treat a pad alloc with new caps the same as if we were not
8069           negotiated, in order to allow a changing upstream output
8070           to produce a new format of data.
8071
8072 2005-11-29  Edward Hervey  <edward@fluendo.com>
8073
8074         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8075         (gst_base_transform_event), (gst_base_transform_eventfunc):
8076         The event virtual method is now properly implemented, with a default
8077         handler
8078         Sub classes should call the parent_class event method. They should
8079         return FALSE if they had a problem handling the given event, or don't
8080         want GstBaseTransform to send that even downstream
8081         * gst/elements/gstidentity.c: (gst_identity_class_init),
8082         (gst_identity_init), (gst_identity_event),
8083         (gst_identity_transform_ip), (gst_identity_set_property),
8084         (gst_identity_get_property):
8085         * gst/elements/gstidentity.h:
8086         Added the single-segment boolean property.
8087         If set to TRUE, it will output a single segment of data, starting from
8088         0, will eat up all incoming newsegment, and modify the timestamp of the
8089         buffers accordingly
8090
8091 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
8092
8093         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8094           Don't ref NULL target pad (#322751). Improve docs.
8095
8096 2005-11-29  Michael Smith  <msmith@fluendo.com>
8097
8098         * gst/gstregistryxml.c: (load_plugin):
8099           Don't crash if we failed to load a feature from a plugin. 
8100
8101 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8102
8103         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8104         (GST_START_TEST):
8105           use more check API and less GLib API
8106
8107 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8108
8109         * Makefile.am:
8110           don't run checks if we don't have check
8111         * common/check.mak:
8112           remove the registry when running make torture
8113         * docs/gst/gstreamer-sections.txt:
8114           remove second multiply
8115         * gst/gstqueue.c: (gst_queue_loop):
8116           fix a compile warning when disabling debug
8117
8118 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8119
8120         * gst/gstinfo.h:
8121         Hey! Let's print the pad name if the pointer != NULL instead
8122         of when it == NULL :-)
8123
8124 2005-11-28  Wim Taymans  <wim@fluendo.com>
8125
8126         * check/gst/gstutils.c: (GST_START_TEST):
8127         Updated check, add some scaling accuracy checking code.
8128
8129         * gst/gstutils.c: (gst_util_div128_64),
8130         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8131         (gst_util_uint64_scale_int):
8132         Fix 6 times faster division code. Optimize for common 
8133         1/1 and less common X/1 cases.
8134
8135 2005-11-28  Wim Taymans  <wim@fluendo.com>
8136
8137         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8138         More checks.
8139
8140         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8141         (do_linear_regression), (gst_clock_add_observation):
8142         Cleanups.
8143         Release lock when the clock cannot be slaved.
8144         Catch the case where the regression returned an invalid denominator.
8145
8146         * gst/gstutils.c: (gst_util_div128_64_iterate),
8147         (gst_util_div128_64), (gst_util_uint64_scale_int64),
8148         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8149         Add protentially more performant non-iterative 128/64 divide function
8150         that unfortunatly does not work yet.
8151         Shortcut the trivial 0/X = 0 case.
8152         Remove the warnings on overflow.
8153
8154 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8155
8156         * gst/gstplugin.c: (gst_plugin_register_func):
8157           everything causing a plugin not to load should be at least a WARNING
8158
8159 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
8160
8161         * docs/random/ensonic/dparams.txt:
8162           some TODOs for the next dev cycle
8163         * libs/gst/controller/gstcontroller.c:
8164         (gst_controlled_property_set_interpolation_mode),
8165         (gst_controlled_property_new):
8166         * libs/gst/controller/gstcontroller.h:
8167           use base type to assign acccessor functions
8168
8169 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8170
8171         * check/Makefile.am:
8172         Oops, that should have been top_srcdir
8173
8174 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
8175
8176         * check/Makefile.am:
8177         * check/elements/fdsrc.c: (GST_START_TEST):
8178         Use a cmdline define to specify the location of a file to use for
8179         testing, to avoid breaking distcheck.
8180
8181 2005-11-28  Andy Wingo  <wingo@pobox.com>
8182
8183         * gst/gstpad.c (fixate_value): Use array functions for arrays.
8184
8185 2005-11-28  Edward Hervey  <edward@fluendo.com>
8186
8187         * tools/gst-launch.c: (main):
8188         Clarify the output strings, makes it easier to translate.
8189         Fixes #322626
8190
8191 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
8192
8193         * gst/Makefile.am:
8194           don't try and build net if we don't even have <sys/socket.h>
8195
8196 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
8197
8198         * check/Makefile.am:
8199         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8200         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8201           Add tests for fdsrc seekability
8202
8203         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8204         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8205         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8206         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8207         * gst/elements/gstfdsrc.h:
8208           fdsrc should not be a 'live' source.
8209           Implement seeking on seekable fd's.
8210
8211         * gst/gstquery.c: (gst_query_new_seeking),
8212         (gst_query_parse_seeking):
8213         * gst/gstquery.h:
8214           Implement SEEKING query functions: 
8215             *_new_seeking and *_parse_seeking
8216
8217 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
8218
8219         * gst/gstelement.c: (gst_element_dispose):
8220           don't loop forever
8221
8222         * gst/gstiterator.c:
8223         * gst/gststructure.c:
8224           doc fixes
8225
8226         * libs/gst/controller/gstcontroller.c:
8227         (gst_controlled_property_set_interpolation_mode):
8228         * libs/gst/controller/gstcontroller.h:
8229         * libs/gst/controller/gstinterpolation.c:
8230         (interpolate_none_get_enum_value_array):
8231           support controlling enums
8232
8233 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8234
8235         * gst/gstvalue.c:
8236           Improve documentation for gst_value_union().
8237
8238         * gst/gstvalue.h:
8239           Change return value for union, intersect and subtract functions
8240           from gint to gboolean.
8241
8242 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
8243
8244         * gst/gstvalue.c: (gst_value_serialize_any_list),
8245         (gst_value_transform_any_list_string),
8246         (gst_value_deserialize_list), (gst_value_deserialize_array),
8247         (gst_value_set_int_range), (gst_value_deserialize_int_range),
8248         (gst_value_set_double_range), (gst_value_deserialize_double_range),
8249         (gst_value_set_fraction_range_full),
8250         (gst_value_deserialize_fraction_range),
8251         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8252         (gst_value_deserialize_boolean),
8253         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8254         (gst_value_serialize_float), (gst_value_deserialize_float),
8255         (gst_string_wrap), (gst_value_deserialize_string),
8256         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8257         (gst_value_union_int_range_int_range),
8258         (gst_value_intersect_int_range_int_range),
8259         (gst_value_intersect_double_range_double_range),
8260         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8261         (gst_value_subtract_int_range_int_range),
8262         (gst_value_subtract_double_double_range),
8263         (gst_value_subtract_double_range_double_range),
8264         (gst_value_deserialize_fraction):
8265         * gst/gstvalue.h:
8266           Use gint, gdouble and gchar in our API instead of int, double and
8267           char (and make usage in gstvalue.c more consistent).
8268
8269 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8270
8271         * check/Makefile.am:
8272         * libs/gst/controller/Makefile.am:
8273         * libs/gst/dataprotocol/Makefile.am:
8274           fix up Makefile.am and remove GST_ENABLE_NEW
8275
8276 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8277
8278         * configure.ac:
8279         * gst/Makefile.am:
8280         * gst/base/Makefile.am:
8281         * gst/check/Makefile.am:
8282         * gst/elements/Makefile.am:
8283         * gst/net/Makefile.am:
8284           update LDFLAGS use some more
8285
8286 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8287
8288         * common/m4/gst-doc.m4:
8289           Fixes #312589
8290
8291 2005-11-26  Edward Hervey  <edward@fluendo.com>
8292
8293         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8294         This shouldn't issue a g_warning since it returns NULL if it
8295         couldn't find the plugin, and all functions using this behave
8296         properly on a NULL return. Switching to a GST_WARNING.
8297
8298 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8299
8300         * gst/gstbin.c: (gst_bin_handle_message_func):
8301         Don't leak clock messages.
8302
8303 2005-11-25  Wim Taymans  <wim@fluendo.com>
8304
8305         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8306         (gst_util_uint64_scale_int):
8307         Optimisations, remove unneeded vars.
8308
8309 2005-11-25  Wim Taymans  <wim@fluendo.com>
8310
8311         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8312         Added more checks for the high precision uint64 cases.
8313
8314         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8315         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8316         Implement high precision (guint64 * guint64) / guint64.
8317
8318 2005-11-24  Wim Taymans  <wim@fluendo.com>
8319
8320         * gst/base/gstbasesrc.c: (gst_base_src_query):
8321         Fix wrong percentage query.
8322
8323         * gst/gstutils.c: (gst_util_uint64_scale),
8324         (gst_util_uint64_scale_int):
8325         Add some more common cases that can be handled 
8326         efficiently to _scale.
8327
8328 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8329
8330         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8331         (gst_mini_object_suite):
8332           don't use check calls from threads; check probably isn't
8333           threadsafe and using a lock to make it threadsafe would
8334           defeat the purpose of this check
8335         * gst/check/gstcheck.c:
8336         * gst/check/gstcheck.h:
8337           use GST_DEBUG some more
8338
8339 2005-11-24  Wim Taymans  <wim@fluendo.com>
8340
8341         * gst/gstutils.c: (gst_util_uint64_scale),
8342         (gst_util_uint64_scale_int):
8343         Chain trivial case to _scale_int.
8344
8345 2005-11-24  Wim Taymans  <wim@fluendo.com>
8346
8347         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8348         Added test for scaling.
8349
8350         * gst/gstclock.h:
8351         Small doc fix.
8352
8353         * gst/gstutils.c: (gst_util_uint64_scale_int):
8354         Implemented high precision scaling code.
8355
8356 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8357
8358         * gst/gstinfo.h:
8359           do not crash on pad==NULL
8360
8361 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8362
8363         Patch by: Stefan Kost
8364
8365         * common/gtk-doc.mak:
8366         * docs/gst/Makefile.am:
8367         * docs/libs/Makefile.am:
8368           Fix distcheck issues for the libraries docs build
8369           Closes #319599.
8370
8371 2005-11-24  Michael Smith <msmith@fluendo.com>
8372
8373         * docs/manual/basics-helloworld.xml:
8374           Fix bug #315027: memory leak in example code in docs.
8375
8376 2005-11-24  Michael Smith <msmith@fluendo.com>
8377
8378         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8379           Unlock the PREROLL_LOCK in a failure case.
8380
8381 2005-11-24  Wim Taymans  <wim@fluendo.com>
8382
8383         * docs/gst/gstreamer-sections.txt:
8384         * gst/base/gstadapter.h:
8385         * gst/base/gstbasesink.h:
8386         * gst/base/gstbasesrc.h:
8387         * gst/base/gstbasetransform.h:
8388         * gst/base/gstpushsrc.h:
8389         * gst/elements/gstfakesink.h:
8390         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8391         * gst/elements/gstfakesrc.h:
8392         * gst/elements/gstfilesink.h:
8393         * gst/elements/gstfilesrc.h:
8394         * gst/gst.c:
8395         * gst/gstbin.c:
8396         * gst/gstbuffer.c: (_gst_buffer_copy):
8397         * gst/gstbus.h:
8398         * gst/gstcaps.c:
8399         * gst/gstchildproxy.c:
8400         * gst/gstclock.c:
8401         * gst/gstelement.c:
8402         * gst/gstelementfactory.c:
8403         * gst/gstelementfactory.h:
8404         * gst/gstevent.c:
8405         * gst/gstghostpad.h:
8406         * gst/gstindex.h:
8407         * gst/gstinterface.h:
8408         * gst/gstminiobject.c:
8409         * gst/gstminiobject.h:
8410         * gst/gstpad.c:
8411         * gst/gstpad.h:
8412         * gst/gstpadtemplate.h:
8413         * gst/gstpipeline.h:
8414         * gst/gstpluginfeature.h:
8415         * gst/gstquery.h:
8416         * gst/gstqueue.h:
8417         * gst/gsttaglist.c:
8418         * gst/gsttaglist.h:
8419         * gst/gsttagsetter.c:
8420         * gst/gsttagsetter.h:
8421         * gst/gsttrace.c:
8422         * gst/gsttrace.h:
8423         * gst/gsttypefind.h:
8424         * gst/gsturi.h:
8425         * gst/gstvalue.c:
8426         * gst/net/gstnetclientclock.c:
8427         * gst/net/gstnetclientclock.h:
8428         * gst/net/gstnettimepacket.c:
8429         * gst/net/gstnettimeprovider.c:
8430         * gst/net/gstnettimeprovider.h:
8431         Doc fixes.
8432
8433 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8434
8435         * configure.ac: back to HEAD
8436
8437 === release 0.9.6 ===
8438
8439 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8440
8441         * configure.ac:
8442           releasing 0.9.6, "Always On Time"
8443
8444 2005-11-23  Wim Taymans  <wim@fluendo.com>
8445
8446         * docs/gst/gstreamer-sections.txt:
8447         * gst/glib-compat.c:
8448         * gst/gsttagsetter.c:
8449         * gst/gstvalue.c:
8450         * gst/net/gstnetclientclock.c:
8451         * gst/net/gstnettimepacket.h:
8452         Doc updates.
8453
8454 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8455
8456         * docs/faq/using.xml:
8457         * docs/libs/tmpl/gstcontrol.sgml:
8458         * docs/manual/advanced-dparams.xml:
8459         * docs/manual/appendix-checklist.xml:
8460         * docs/manual/basics-elements.xml:
8461         * docs/pwg/other-source.xml:
8462         * docs/random/moving-plugins:
8463         * gst/gstpad.c:
8464         * tools/gst-launch.1.in:
8465           remove mentions of sinesrc
8466
8467 2005-11-23  Michael Smith <msmith@fluendo.com>
8468
8469         * docs/gst/gstreamer-sections.txt:
8470           Update for new API and API changes.
8471         * gst/gstobject.h:
8472           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8473         * gst/gstvalue.c:
8474           Documentation typo fix.
8475         * gst/net/gstnettimepacket.c:
8476           Documentation fixes for arguments.
8477
8478 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8479
8480         * gst/gststructure.c: (gst_structure_get_fraction),
8481         (gst_structure_parse_value),
8482         (gst_structure_fixate_field_nearest_fraction):
8483         * gst/gststructure.h:
8484         * gst/gstutils.c: (gst_util_uint64_scale_int):
8485         * gst/gstutils.h:
8486         * scripts/update-funcnames:
8487         API Changes. 
8488         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8489         Make gst_structure_fixate_field_nearest_fraction take a numerator
8490         and denominator argument instead of a GValue
8491         add gst_structure_get_fraction helper function.
8492
8493 2005-11-23  Wim Taymans  <wim@fluendo.com>
8494
8495         * docs/design/part-TODO.txt:
8496         Update TODO.
8497
8498         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8499         * gst/net/gstnetclientclock.h:
8500         Use parent fields for timeout and window_size.
8501
8502 2005-11-23  Andy Wingo  <wingo@pobox.com>
8503
8504         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8505         rate_num/rate_denom change.
8506
8507         * gst/net/gstnetclientclock.c
8508         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8509         OBJECT_LOCK. Don't call add_observation with the lock.
8510
8511         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8512         fraction.
8513         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8514         rate fraction.
8515         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8516         deal with rate as a fraction whose numerator and denominator are
8517         GstClockTime values.
8518         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8519         master; the other fields are protected by the SLAVE_LOCK.
8520         (do_linear_regression): Note that this must be called with the
8521         SLAVE_LOCK.
8522         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8523         OBJECT_LOCK. Call set_calibration instead of touching the
8524         variables directly.
8525         (gst_clock_set_property, gst_clock_get_property): Protect
8526         master/slave parameters with the SLAVE_LOCK.
8527
8528         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8529         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8530         note that all of the instance variables that add_observation and
8531         the set_master functions use are protected by that lock and not
8532         the OBJECT_LOCK.
8533         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8534
8535         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8536         the caller to take the object lock.
8537
8538 2005-11-23  Wim Taymans  <wim@fluendo.com>
8539
8540         * gst/gsterror.c: (_gst_core_errors_init):
8541         * gst/gsterror.h:
8542         Add error for clock stuff.
8543
8544         * gst/gstpipeline.c: (gst_pipeline_change_state),
8545         (gst_pipeline_set_clock):
8546         Post clock error when clock cannot be used in a pipeline.
8547
8548 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8549
8550         * docs/gst/gstreamer-sections.txt:
8551           make two symbols from gstinfo private for the docs
8552         * gst/base/gstcollectpads.h:
8553         * gst/gstutils.c:
8554           fix doc typos, update docs
8555
8556 2005-11-22  Wim Taymans  <wim@fluendo.com>
8557
8558         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8559         (gst_base_sink_wait), (gst_base_sink_do_sync),
8560         (gst_base_sink_handle_event):
8561         * gst/base/gstbasesink.h:
8562         No need to store the clock, the parent element class already
8563         has it.
8564
8565         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8566         Updates for clock_set returning a gboolean
8567
8568         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8569         (gst_clock_id_wait_async), (gst_clock_class_init),
8570         (gst_clock_init), (gst_clock_finalize),
8571         (gst_clock_get_internal_time), (gst_clock_get_time),
8572         (gst_clock_slave_callback), (gst_clock_set_master),
8573         (gst_clock_get_master), (do_linear_regression),
8574         (gst_clock_add_observation), (gst_clock_set_property),
8575         (gst_clock_get_property):
8576         * gst/gstclock.h:
8577         Implement master/slave. When setting a clock as a slave, a
8578         periodic timeout is scheduled to sample master and slave times.
8579         Then the slave clock is recalibrated to match offset and rate
8580         of the master clock.
8581         Update logging a bit.
8582         Add flag so that a clock can state that is cannot be slaved to
8583         another clock.
8584
8585         * gst/gstelement.c: (gst_element_set_clock):
8586         * gst/gstelement.h:
8587         The set clock returns a gboolean for when an element cannot
8588         deal with the selected clock in the pipeline. 
8589
8590         * gst/gstpipeline.c: (gst_pipeline_change_state),
8591         (gst_pipeline_set_clock):
8592         * gst/gstpipeline.h:
8593         Handle the case where the selected clock cannot be set on
8594         the pipeline.
8595
8596         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8597         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8598         (gst_net_client_clock_set_property),
8599         (gst_net_client_clock_get_property),
8600         (gst_net_client_clock_observe_times):
8601         * gst/net/gstnetclientclock.h:
8602         Use regression code in GstClock parent, remove duplicated
8603         functionality.
8604
8605 2005-11-22  Michael Smith <msmith@fluendo.com>
8606
8607         * gst/gstutils.c: (gst_util_clock_time_scale):
8608         * gst/gstutils.h:
8609         * docs/gst/gstreamer-sections.txt:
8610           Rename method to have extra underscore.
8611
8612 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8613
8614         * gst/elements/Makefile.am:
8615         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8616         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8617         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8618         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8619         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8620         * gst/elements/gstfakesrc.h:
8621         * gst/gstqueue.c: (queue_leaky_get_type):
8622           correctly fix GEnumValues so that nick is the short lowercase
8623           dashed tag
8624         * tools/gst-inspect.c: (print_element_properties_info):
8625           also show the nick, since it's useful to use from parse_launch
8626           syntax
8627           Fixes #322139
8628
8629 2005-11-22  Michael Smith <msmith@fluendo.com>
8630
8631         * gst/gstutils.c: (gst_util_clocktime_scale):
8632         * gst/gstutils.h:
8633         * docs/gst/gstreamer-sections.txt:
8634           Add util method for scaling a clocktime by a fraction. Useful 
8635           implementation is left as an exercise for the reader.
8636
8637 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8638
8639         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8640         If needed, allocate storage in the destination value during
8641         collection.
8642
8643 2005-11-22  Edward Hervey  <edward@fluendo.com>
8644
8645         * docs/gst/gstreamer-sections.txt:
8646         * gst/Makefile.am:
8647         * gst/gst.h:
8648         * gst/gsturitype.c:
8649         * gst/gsturitype.h:
8650         * gst/gstutils.c: (gst_util_set_object_arg):
8651         * tools/gst-compprep.c: (main):
8652         * tools/gst-inspect.c: (print_element_properties_info):
8653         Removed GstURI, closes bug #321061
8654
8655 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8656
8657         * check/gst/gststructure.c: (GST_START_TEST):
8658         * gst/gststructure.c: (gst_structure_parse_value):
8659           Oops, broke automatic string type parsing.
8660           Add a test to catch it in future.
8661
8662 2005-11-22  Andy Wingo  <wingo@pobox.com>
8663
8664         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8665         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8666         Actually rename the function implementations. Grr.
8667
8668 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8669
8670         * check/gst/capslist.h:
8671           Comment test cases
8672         * check/gst/gststructure.c: (GST_START_TEST),
8673         (gst_structure_suite):
8674           Test automatic value type detection in gst_structure_from_string.
8675         * gst/gststructure.c: (gst_structure_parse_value):
8676           Add fraction as a type we try and guess automatically in
8677           caps/structure strings.
8678
8679 2005-11-22  Andy Wingo  <wingo@pobox.com>
8680
8681         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8682
8683         * gst/gsttagsetter.h:
8684         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8685         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8686         (gst_tag_setter_add_tag_valist)
8687         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8688         _add_values, _add_valist, and _add_valist_values. Since this is an
8689         interface the function suffixes should be more explicit so
8690         language binding don't end up with element.add_valist ->
8691         gst_tag_setter_add_valist, for example. Fixes #322069.
8692
8693 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8694
8695         * check/gst/gstcaps.c: (GST_START_TEST):
8696           Extend caps string tests to check that a caps to string
8697           conversion is reversible and produces the same caps.
8698
8699         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8700           Output "fraction" as the generic type fraction range, so caps
8701           serialisation and deserialisation works.
8702         * check/gst/capslist.h:
8703         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8704           Support 'MIN' and 'MAX' for deserialising fractions.
8705
8706 2005-11-22  Andy Wingo  <wingo@pobox.com>
8707
8708         * gst/gstevent.h (gst_event_new_new_segment)
8709         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8710         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8711         Renamed from *_newsegment, *_buffersize, *_notarget.
8712
8713         * scripts/update-funcnames: New script, performs the changes
8714         listed above.
8715
8716 2005-11-22  Wim Taymans  <wim@fluendo.com>
8717
8718         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8719         Make sure the GstFlowReturn is returned.
8720
8721         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8722         (gst_bus_add_signal_watch):
8723         * gst/gstbus.h:
8724         add gst_bus_add_signal_watch_full.
8725
8726         * gst/gstplugin.c: (gst_plugin_load_file):
8727         Small style cleanup.
8728
8729 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8730
8731         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8732           Block the fakesrc srcpad when we send an event, to avoid
8733           contention on the stream_lock causing random test failures.
8734
8735 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8736
8737         * check/gst/gstvalue.c: (GST_START_TEST):
8738         * gst/gstvalue.c: (gst_value_fraction_subtract):
8739           Fix subtraction.
8740
8741 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8742
8743         * gst/gst.h:
8744           include "gstchildproxy.h"
8745         * gst/gstchildproxy.h:
8746         * libs/gst/controller/gstcontroller.h:
8747           use G_GNUC_NULL_TERMINATED
8748
8749 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8750
8751         * check/gst/capslist.h:
8752         * check/gst/gstcaps.c: (GST_START_TEST):
8753         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8754         * gst/gststructure.c: (gst_structure_parse_range),
8755         (gst_structure_fixate_field_nearest_fraction):
8756         * gst/gststructure.h:
8757         * gst/gstvalue.c: (gst_value_init_fraction_range),
8758         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8759         (gst_value_collect_fraction_range),
8760         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8761         (gst_value_set_fraction_range_full),
8762         (gst_value_get_fraction_range_min),
8763         (gst_value_get_fraction_range_max),
8764         (gst_value_serialize_fraction_range),
8765         (gst_value_transform_fraction_range_string),
8766         (gst_value_compare_fraction_range),
8767         (gst_value_deserialize_fraction_range),
8768         (gst_value_intersect_fraction_fraction_range),
8769         (gst_value_intersect_fraction_range_fraction_range),
8770         (gst_value_subtract_fraction_fraction_range),
8771         (gst_value_subtract_fraction_range_fraction),
8772         (gst_value_subtract_fraction_range_fraction_range),
8773         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8774         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8775         (gst_value_transform_string_fraction), (_gst_value_initialize):
8776         * gst/gstvalue.h:
8777           Implement fraction ranges and extend GstFraction to support
8778           arithmetic subtraction, as well as deserialization from integer
8779           strings such as "100"
8780           Add a testsuite as for int and double range set operations
8781
8782 2005-11-21  Andy Wingo  <wingo@pobox.com>
8783
8784         * gst/gsttaglist.h: 
8785         * gst/gstcaps.h: 
8786         * gst/gststructure.h: Add glib-compat.h.
8787
8788 2005-11-21  Wim Taymans  <wim@fluendo.com>
8789
8790         * gst/gstbin.c: (gst_bin_change_state_func):
8791         Fix for #321595
8792
8793 2005-11-21  Wim Taymans  <wim@fluendo.com>
8794
8795         * gst/gstsegment.h:
8796         And add a nice define too.
8797
8798 2005-11-21  Wim Taymans  <wim@fluendo.com>
8799
8800         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8801         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8802         (gst_segment_set_duration), (gst_segment_set_last_stop),
8803         (gst_segment_set_seek), (gst_segment_set_newsegment),
8804         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8805         (gst_segment_clip):
8806         * gst/gstsegment.h:
8807         Make binding friendly.
8808
8809 2005-11-21  Andy Wingo  <wingo@pobox.com>
8810
8811         * gst/gsttagsetter.h: 
8812         * gst/gsttaglist.h: 
8813         * gst/gststructure.h: 
8814         * gst/gstcaps.h: 
8815         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8816         #319940.
8817
8818         * gst/gsterror.c (_gst_core_errors_init):
8819         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8820         category.
8821
8822         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8823         (noinst_HEADERS): noinst the -private.
8824
8825 2005-11-21  Michael Smith <msmith@fluendo.com>
8826
8827         * gst/gstplugin.h:
8828         * gst/gstregistry.h:
8829           Remove unimplemented declarations for which we can see no sensible
8830           use.
8831
8832 2005-11-21  Andy Wingo  <wingo@pobox.com>
8833
8834         * gst/gst.h: Include glib-compat.h.
8835
8836         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8837
8838         * gst/glib-compat.c: Include the public and the private header.
8839
8840         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8841
8842         * gst/gstvalue.c: 
8843         * gst/gstpad.c: 
8844         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8845
8846         * check/gst/gstevent.c (create_custom_events): Check that
8847         FLUSH_STOP is serialized.
8848
8849         * check/elements/identity.c (event_func): 
8850         * check/elements/fakesrc.c (event_func): No stream lock, the core
8851         takes it.
8852
8853         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8854         stream lock taking, yay.
8855
8856         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8857         ensure that core takes the stream lock.
8858
8859         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8860         lock name change.
8861
8862         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8863         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8864         it already. For the flush start we do take it though so we get the
8865         right preroll state change messages.
8866
8867         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8868         the stream lock here, the core does it for us.
8869
8870         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8871         GST_STREAM_GET_LOCK.
8872         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8873         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8874         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8875         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8876         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8877         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8878
8879         * gst/gstpad.c: Update for stream lock name change.
8880
8881         * gst/base/gstbasesink.c: Update for preroll lock name change.
8882
8883 2005-11-21  Wim Taymans  <wim@fluendo.com>
8884
8885         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8886         (gst_clock_get_master):
8887         * gst/gstclock.h:
8888         * gst/gstsystemclock.c: (gst_system_clock_init):
8889         Convert Clock flags to object flags.
8890         Added methods to manage master/slave clocks.
8891
8892 2005-11-21  Wim Taymans  <wim@fluendo.com>
8893
8894         * check/gst/gstsegment.c: (GST_START_TEST):
8895         * docs/design/part-TODO.txt:
8896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8897         (gst_base_sink_event), (gst_base_sink_do_sync),
8898         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8899         (gst_base_sink_query), (gst_base_sink_change_state):
8900         * gst/base/gstbasesink.h:
8901         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8902         (gst_base_src_default_newsegment),
8903         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8904         (gst_base_src_get_range), (gst_base_src_loop),
8905         (gst_base_src_change_state):
8906         * gst/base/gstbasesrc.h:
8907         * gst/base/gstbasetransform.c:
8908         (gst_base_transform_prepare_output_buf),
8909         (gst_base_transform_event), (gst_base_transform_change_state):
8910         * gst/base/gstbasetransform.h:
8911         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8912         (gst_collect_pads_event):
8913         * gst/base/gstcollectpads.h:
8914         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8915         (gst_fake_src_create):
8916         * gst/elements/gstfakesrc.h:
8917         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8918         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8919         (gst_segment_set_last_stop), (gst_segment_set_seek),
8920         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8921         (gst_segment_to_running_time), (gst_segment_clip):
8922         * gst/gstsegment.h:
8923         More segment updates, replace code in plugins with segment
8924         helper functions.
8925
8926 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8927
8928         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8929         Don't ignore sscanf results
8930
8931 2005-11-21  Andy Wingo  <wingo@pobox.com>
8932
8933         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8934
8935         * *.h:
8936         * *.c: Ran scripts/update-macros. Oh yes.
8937
8938         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8939         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8940         GST_GET_LOCK, etc.
8941
8942         * scripts/update-macros: New script. Run it on your files to
8943         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8944         well.
8945
8946 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8947
8948         * docs/gst/Makefile.am:
8949         * docs/gst/gstreamer-docs.sgml:
8950         * docs/gst/gstreamer-sections.txt:
8951         * docs/gst/gstreamer.types:
8952         * gst/gstinfo.h:
8953           more docs fixes, add new api to the docs
8954
8955 2005-11-21  Andy Wingo  <wingo@pobox.com>
8956
8957         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8958         state_broadcast call.
8959
8960         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8961
8962 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8963
8964         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8965         function calls for arrays.
8966
8967 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8968
8969         * docs/random/ensonic/media-device-daemon.txt:
8970           wild idea, can this be done?
8971         * docs/gst/gstreamer-sections.txt:
8972         * gst/gsterror.h:
8973         * gst/gstfilter.c:
8974         * gst/gstfilter.h:
8975         * gst/gstplugin.h:
8976         * gst/gstpluginfeature.c:
8977         * gst/gsttrace.c:
8978         * gst/gstvalue.c:
8979         * gst/gstvalue.h:
8980           doc fixes and additions
8981
8982 2005-11-21  Andy Wingo  <wingo@pobox.com>
8983
8984         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8985         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8986         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8987         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8988         private to the basesrc implementation.
8989
8990         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8991         behalf of event function if necessary. It should no longer be
8992         necessary to take the stream lock in pad's event functions. Fixes
8993         #320299.
8994
8995 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8996         * docs/gst/gstreamer-sections.txt:
8997         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8998         (gst_structure_fixate_field_nearest_double),
8999         (gst_structure_fixate_field_boolean):
9000         * gst/gststructure.h:
9001         * win32/common/libgstreamer.def:
9002         * win32/gstreamer.def:
9003
9004         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9005         (#322027)
9006
9007 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
9008
9009         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9010         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9011         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9012         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9013         (gst_fdsrc_uri_handler_init):
9014         * gst/elements/gstfdsrc.h:
9015           Port fd:// URI handler from 0.8 to fdsrc
9016
9017 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9018
9019         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9020         (gst_value_serialize_fourcc):
9021         * gst/gstvalue.h:
9022           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9023           consistent with our other format defines (#320324).
9024
9025 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9026
9027         * gst/gstvalue.c: (gst_value_is_fixed):
9028           Revert previous commit. Value lists are by definition
9029           not fixed, as they are a list of possible values.
9030
9031 2005-11-21  Andy Wingo  <wingo@pobox.com>
9032
9033         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9034         during the stable series if we need it. Fixes #319178.
9035
9036         * gst/gstevent.c (gst_event_new_filler): Removed.
9037
9038         * check/gst/gstevent.c: Update comment about filler events.
9039
9040 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9041
9042         * gst/gstvalue.c: (gst_value_is_fixed):
9043           Should handle both value arrays and value lists.
9044
9045 2005-11-21  Andy Wingo  <wingo@pobox.com>
9046
9047         patch by: Alessandro Dessina <alessandro nnva org>
9048
9049         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9050         functions to access arrays. Fixes #321962.
9051
9052 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9053
9054         * docs/gst/gstreamer.types:
9055           gst_collectpads_get_type => gst_collect_pads_get_type.
9056           
9057         * gst/base/gstbasetransform.c:
9058           Remove unused SIGNAL_HANDOFF enum.
9059
9060 2005-11-21  Andy Wingo  <wingo@pobox.com>
9061
9062         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9063         the event type (upstream, downstream, serialized). Renamed
9064         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9065         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9066         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9067
9068         * gst/gstevent.c: Update for new CUSTOM event names.
9069
9070         * check/gst/gstevent.c: Update check for new CUSTOM event names.
9071
9072         * gst/gstevent.h:
9073         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9074         bug #319392.
9075
9076 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9077
9078         * docs/gst/gstreamer-sections.txt:
9079         * win32/common/libgstbase.def:
9080         * win32/libgstbase.def:
9081         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9082         (gst_collect_pads_class_init), (gst_collect_pads_init),
9083         (gst_collect_pads_finalize), (gst_collect_pads_new),
9084         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9085         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9086         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9087         (gst_collect_pads_start), (gst_collect_pads_stop),
9088         (gst_collect_pads_peek), (gst_collect_pads_pop),
9089         (gst_collect_pads_available), (gst_collect_pads_read),
9090         (gst_collect_pads_flush), (gst_collect_pads_event),
9091         (gst_collect_pads_chain):
9092         * gst/base/gstcollectpads.h:
9093           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9094           unimplemented functions as unimplemented. Add padding to
9095           GstCollectData. (#320766, #320423)
9096
9097 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
9098
9099         * gst/gstmessage.c:
9100           Improve docs for DURATION message (usage of duration parameter)
9101           (#320113)
9102
9103 2005-11-20  Wim Taymans  <wim@fluendo.com>
9104
9105         * check/Makefile.am:
9106         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9107         (main):
9108         * gst/Makefile.am:
9109         * gst/gst.h:
9110         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9111         (gst_segment_set_seek), (gst_segment_set_newsegment),
9112         (gst_segment_to_stream_time), (gst_segment_to_running_time),
9113         (gst_segment_clip):
9114         * gst/gstsegment.h:
9115         Added segment helper structure and methods. Not fully implemented
9116         yet.
9117         Added segment check.
9118
9119 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
9120
9121         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9122           Add a deserialisation test for fractions
9123         * examples/metadata/read-metadata.c: (message_loop),
9124         (make_pipeline), (main):
9125           Fix up metadata reading sample.
9126         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9127           Debug format fix
9128         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9129           Don't try and fixate empty caps
9130         * gst/gst_private.h:
9131           Wrap in G_BEGIN_DECLS/G_END_DECLS
9132         * gst/gstvalue.c: (gst_value_collect_fraction),
9133         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9134         (gst_value_transform_string_fraction),
9135         (gst_value_compare_fraction):
9136           Add some extra guards to ensure that we don't end up 
9137           with an invalid denominator of 0 in a gstfraction and
9138           that fractions always get reduced.
9139
9140 2005-11-20  Wim Taymans  <wim@fluendo.com>
9141
9142         * docs/gst/gstreamer-sections.txt:
9143         * gst/gstbuffer.h:
9144         * gst/gstelement.c:
9145         * gst/gstformat.c:
9146         * gst/gstformat.h:
9147         * gst/gstindex.h:
9148         * gst/gstquery.c:
9149         * gst/gstquery.h:
9150         * gst/gstvalue.c:
9151         Doc fixes.
9152
9153 2005-11-20  Wim Taymans  <wim@fluendo.com>
9154
9155         * docs/design/part-TODO.txt:
9156         * gst/gstcaps.h:
9157         Make a proper enum of the flag.
9158
9159 2005-11-19  Wim Taymans  <wim@fluendo.com>
9160
9161         * docs/design/part-TODO.txt:
9162         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9163         (gst_format_to_quark), (gst_format_register):
9164         * gst/gstformat.h:
9165         * gst/gstquery.c: (_gst_query_initialize),
9166         (gst_query_type_get_name), (gst_query_type_to_quark),
9167         (gst_query_type_register):
9168         * gst/gstquery.h:
9169         Add type to quark and type to string conversions.
9170
9171 2005-11-19  Andy Wingo  <wingo@pobox.com>
9172
9173         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9174         #320097.
9175
9176 2005-11-19  Wim Taymans  <wim@fluendo.com>
9177
9178         * docs/design/part-TODO.txt:
9179         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9180         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9181         (gst_bin_handle_message_func):
9182         * gst/gstbin.h:
9183         Make message handling overridable.
9184
9185 2005-11-19  Andy Wingo  <wingo@pobox.com>
9186
9187         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9188
9189         * gst/gstclock.h:
9190         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9191         be a GstClockTime.
9192         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9193         is a GstClockTime. Fixes #321710.
9194
9195         * gst/gstclock.h (GstClock): Remove offset property. Add
9196         internal_calibration and external_calibration. Fix padding. Pad
9197         also by GstClockTime so we don't run into problems.
9198
9199         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9200         (gst_clock_get_rate_offset): Remove.
9201         (gst_clock_set_time_adjust): Remove. Fixes #321712.
9202
9203         * gst/gstutils.h:
9204         * gst/gstutils.c (g_static_rec_cond_wait)
9205         (g_static_rec_cond_timed_wait): Removed, no longer needed.
9206
9207         * gst/gstbin.c: Remove terrible continue_state prototype.
9208
9209         * gst/gstelement.h (gst_element_continue_state): Make public.
9210
9211         * gst/gstelement.h:
9212         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9213         by continue_state. Fixes #319389.
9214
9215         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9216         Really fixes #168438. However I don't see anywhere where the
9217         filter function is called... stupid GStreamer...
9218         
9219         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9220         don't have a dispose function, so it won't get called when the
9221         object is unreffed, but oh well!
9222
9223         * gst/gstindex.c (gst_index_set_filter_full): New API function,
9224         allows a destroy function to be set so user_data can be freed.
9225         Fixes #168438.
9226         (gst_index_set_filter): Call gst_index_set_filter_full.
9227
9228         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9229
9230         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9231         string should produce an error, given the lack of a way to
9232         represent NULL strings. Fixes #165650.
9233         
9234         * gst/gstvalue.h: 
9235         * gst/gstvalue.c (gst_value_array_append_value) 
9236         (gst_value_array_prepend_value, gst_value_array_get_size) 
9237         (gst_value_array_get_value): New API, copied from
9238         gst_value_list_*, only operates on arrays.
9239         (gst_value_list_append_value, gst_value_list_prepend_value) 
9240         (gst_value_list_concat, gst_value_list_get_size) 
9241         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9242
9243         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9244         init_list, because it works on both.
9245         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9246         (gst_value_copy_list_or_array): Renamed from copy_list.
9247         (gst_value_free_list_or_array): Renamed from free_list.
9248         (gst_value_collect_list_or_array): Renamed from collect_list.
9249         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9250         (gst_value_list_or_array_peek_pointer): Renamed from
9251         list_peek_pointer.
9252         (_gst_value_array_value_table, _gst_value_list_value_table):
9253         Update value table functions.
9254         (gst_value_compare_list_or_array): Renamed from compare_list.
9255
9256         * gsttaglist.h: Whoops, foreach function returns void. Also fix
9257         some constness.
9258
9259         * gst/gsttaglist.c:
9260         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9261         GstTagList*. Fixes #143472.
9262
9263         * gst/gststructure.h: Clarify what the foreach/map functions can
9264         or can't do to their arguments.
9265
9266 2005-11-18  Wim Taymans  <wim@fluendo.com>
9267
9268         * gst/gstclock.c: (gst_clock_set_calibration),
9269         (gst_clock_get_calibration):
9270         Doc and API fixes.
9271         Calibration can be set with internal time equal to current
9272         internal time too.
9273
9274 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9275
9276         * gst/gsterror.c:
9277         * gst/gsterror.h:
9278           document
9279
9280 2005-11-18  Andy Wingo  <wingo@pobox.com>
9281
9282         * configure.ac: 
9283         * pkgconfig/gstreamer-net.pc.in:
9284         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9285         * pkgconfig/Makefile.am: Add net pkgconfig files.
9286
9287 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9288
9289         * gst/gstcaps.c:
9290         * gst/gstghostpad.c:
9291         * gst/gsttrace.c:
9292         * gst/gstvalue.c:
9293         * gst/gstvalue.h:
9294           docs fixes
9295
9296 2005-11-18  Andy Wingo  <wingo@pobox.com>
9297
9298         * gst/net/gstnetclientclock.c: Turn off debugging.
9299
9300         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9301         times connverge somewhat. Can't make a real test.
9302
9303         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9304         integer arithmetic. Return the minimum of the domain, which can be
9305         set as "internal" for gst_clock_set_calibration.
9306         (gst_net_client_clock_observe_times): Call _set_calibration.
9307         (gst_net_client_clock_new): Call _set_calibration instead of
9308         rate_offset.
9309
9310         * check/net/gstnetclientclock.c (test_functioning): Use the right
9311         adjustment api.
9312
9313         * gst/gstclock.h:
9314         * gst/gstclock.c (gst_clock_get_calibration) 
9315         (gst_clock_set_calibration): New functions, obsolete the ones I
9316         added yesterday. Doh. Precision issues mean we have to extrapolate
9317         from a point in the more recent past than 1970.
9318         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9319         obsolete.
9320         (gst_clock_adjust_unlocked): Use the right calibration data.
9321
9322 2005-11-18  Edward Hervey  <edward@fluendo.com>
9323
9324         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9325         Also reset the ->current_* values in READY->PAUSED
9326
9327 2005-11-18  Andy Wingo  <wingo@pobox.com>
9328
9329         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9330         Whoops, check the right fd. Also add some debugging.
9331         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9332         (do_linear_regression): Add a crapload of debugging. Subtract off
9333         the minimum values from the input series to discard unneeded bits.
9334         Use only int arithmetic. There is still double arithmetic when
9335         calculating the intercept that needs fixing. Return boolean to
9336         indicate success; FALSE would mean the domain or range is too
9337         great. Still needs fixes.
9338
9339 2005-11-18  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9342         For the current position in stream time, we need to subtract
9343         accumulated time.
9344         
9345         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9346         Release lock before calling the callback function of async
9347         entries.
9348
9349 2005-11-18  Andy Wingo  <wingo@pobox.com>
9350
9351         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9352         Port goes all the way to MAXUINT16.
9353
9354         * gst/net/gstnettimeprovider.c: Make the port range the same as
9355         for the kernel: 0 assigns, otherwise ports are less than
9356         MAXUINT16.
9357
9358         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9359         port change.
9360
9361         * check/net/gstnetclientclock.c (test_functioning): Add the start
9362         of another test. 
9363
9364 2005-11-18  Wim Taymans  <wim@fluendo.com>
9365
9366         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9367         (gst_bin_remove_func), (bin_bus_handler):
9368         * gst/gstbin.h:
9369         Removing a clock provider from a bin, triggers a clock lost message
9370         so that a new clock will be selected.
9371         Adding a clock to a bin triggers a clock provider message.
9372         Make sure we reselect a clock when we received a clock lost message.
9373         Keep a reference to the element that provided the clock.
9374
9375 2005-11-18  Andy Wingo  <wingo@pobox.com>
9376
9377         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9378         the clock initially so it produces values around the base time.
9379         (gst_net_client_clock_class_init): Typo fix.
9380         (gst_net_client_clock_thread): Add note on when the socket gets
9381         closed.
9382
9383 2005-11-17  Wim Taymans  <wim@fluendo.com>
9384
9385         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9386         Free remote and local time arrays.
9387
9388 2005-11-17  Wim Taymans  <wim@fluendo.com>
9389
9390         * gst/net/gstnetclientclock.c: (do_linear_regression),
9391         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9392         Fix compilation, uninitialized vars and a forgotten continue.
9393
9394 2005-11-17  Andy Wingo  <wingo@pobox.com>
9395
9396         * check/Makefile.am (check_PROGRAMS): 
9397         * check/net/gstnetclientclock.c: Add a most minimal test for the
9398         net client clock. More to come later.
9399
9400         * gst/net/gstnet.h: 
9401         * gst/net/Makefile.am: Add netclientclock.
9402
9403         * gst/net/gstnetclientclock.h:
9404         * gst/net/gstnetclientclock.c: New files, implement an untested
9405         GstClock that takes its time from a network time provider.
9406         Implements the algorithm in network-clock.scm.
9407
9408         * tests/network-clock.scm (*window-size*): Rename from
9409         *queue-length*.
9410         * tests/network-clock.scm (network-time): 
9411         * tests/network-clock-utils.scm (q-push): Update callers.
9412
9413 2005-11-17  Wim Taymans  <wim@fluendo.com>
9414
9415         * gst/gstbin.c: (gst_bin_provide_clock_func),
9416         (gst_bin_sort_iterator_new):
9417         And unref the child too..
9418
9419 2005-11-17  Wim Taymans  <wim@fluendo.com>
9420
9421         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9422         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9423         Refactor the sort iterator so it can be used while holding the
9424         LOCK too.
9425         Make clock selection select a clock closest to the source.
9426
9427 2005-11-17  Michael Smith <msmith@fluendo.com>
9428
9429         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9430         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9431         * gst/gstclock.h:
9432           Anonymous structs are a gcc (and some other compilers) extension, so
9433           don't use them. Since this is only for ABI-compatibility, and our
9434           API/ABI freeze is over in a few days, this whole thing will only
9435           last a few days, so don't bother trying to think up a meaningful
9436           name for the struct.
9437
9438 2005-11-17  Andy Wingo  <wingo@pobox.com>
9439
9440         * gst/gstclock.h (GstClock): Add rate and offset properties,
9441         preserving ABI stability. Add rate/offset accessors. Will file bug
9442         for the freeze break.
9443
9444         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9445         and offset, trying to keep precision and avoiding
9446         underflow/overflow.
9447         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9448         functions. Make gst_clock_set_time_adjust obsolete.
9449         (gst_clock_set_time_adjust): Note that this function is obsolete.
9450         Will file bug soon.
9451
9452         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9453         greppable by using GST_PADDING-1+1.
9454
9455 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9456
9457         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9458
9459         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9460           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9461
9462         * gst/gstpadtemplate.h:
9463         * gst/gstpluginfeature.h:
9464           Don't use c++ style comments in headers (#321638).
9465
9466 2005-11-16  Andy Wingo  <wingo@pobox.com>
9467
9468         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9469         buffer.
9470
9471         * check/net/gstnettimeprovider.c: Check to see that the time
9472         provider actually provides times. Works, yo!
9473
9474 2005-11-16  Wim Taymans  <wim@fluendo.com>
9475
9476         * check/Makefile.am:
9477         Enable more tests.
9478
9479         * check/elements/fakesrc.c: (GST_START_TEST):
9480         Set element to NULL before disposing it.
9481
9482 2005-11-16  Andy Wingo  <wingo@pobox.com>
9483
9484         * gst/net/Makefile.am:
9485         * gst/net/gstnet.h:
9486         * gst/net/gstnettimeprovider.c: 
9487         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9488         provider, include it from gstnet.h, and add it to the build.
9489
9490         * gst/net/gstnettimepacket.h: 
9491         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9492         sending and receiving.
9493
9494 2005-11-16  Wim Taymans  <wim@fluendo.com>
9495
9496         * check/Makefile.am:
9497         Enable valgrind check.
9498
9499         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9500         (gst_fake_src_alloc_buffer):
9501         Fix memleak.
9502
9503 2005-11-16  Wim Taymans  <wim@fluendo.com>
9504
9505         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9506         Call parent finalize too.
9507
9508 2005-11-16  Wim Taymans  <wim@fluendo.com>
9509
9510         * check/Makefile.am:
9511         Enable valgrind check that should work fine now.
9512
9513         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9514         * gst/gstqueue.c: (gst_queue_init):
9515         Fix memleaks in pad allocation.
9516
9517 2005-11-16  Andy Wingo  <wingo@pobox.com>
9518
9519         * gst/net/Makefile.am:
9520         * gst/net/gstnet.h: New part of core to hold network elements and
9521         objects. Put in core because it exposes API that applications want
9522         to use. The library is named libgstnet-tempname right now because
9523         of the existing libgstnet in gst-plugins-base. Solution is
9524         probably to rename the one in plugins-base; will file a bug for
9525         the freeze break.
9526
9527         * gst/net/gstnettimeprovider.c: 
9528         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9529         get_time call over the network.
9530
9531         * configure.ac: 
9532         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9533
9534         * check/Makefile.am:
9535         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9536         get additions shortly.
9537
9538 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9539
9540         * gst/gstpad.c: (gst_pad_new_from_static_template):
9541         * gst/gstpad.h:
9542           add gst_pad_new_from_static_template functions
9543         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9544         (gst_check_setup_sink_pad):
9545         * gst/elements/gsttee.c: (gst_tee_init):
9546           and use them
9547
9548 2005-11-16  Wim Taymans  <wim@fluendo.com>
9549
9550         * gst/gstpad.c: (gst_pad_pause_task):
9551         Removed warning, it's not really an error either.
9552
9553 2005-11-16  Wim Taymans  <wim@fluendo.com>
9554
9555         * gst/base/gstbasetransform.c:
9556         (gst_base_transform_prepare_output_buf),
9557         (gst_base_transform_event):
9558         Check if the caps are NULL, this can happen if the element
9559         is shutting down and the pad caps are set to NULL.
9560
9561 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9562
9563         * gst/elements/gsttee.c: (gst_tee_init):
9564           fix pad template leak in tee
9565
9566 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9567
9568         * gst/glib-compat.c: (g_value_dup_gst_object):
9569         * gst/glib-compat.h:
9570         * gst/gstpad.c: (gst_pad_set_property):
9571           use gst_object_ref when setting the pad template; this will
9572           trigger the pad template leaks on GLib 2.6 and the slaves
9573
9574 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9575
9576         * gst/glib-compat.c: (gst_flags_get_first_value):
9577         * gst/glib-compat.h:
9578         * gst/gstregistryxml.c:
9579           remove functions copied from GLib 2.6
9580
9581 2005-11-16  Michael Smith <msmith@fluendo.com>
9582
9583         * gst/Makefile.am:
9584           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9585           do, but only breaks with newer valgrind versions. We're not a
9586           valgrind tool, we have no link-time dependencies on libcoregrind.
9587
9588 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9589
9590         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9591           some debug changes
9592         * gst/gstmessage.h:
9593           typo fixes
9594
9595 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9596
9597         * gst/base/gstbasesrc.c: (gst_base_src_init):
9598         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9599         * gst/gstqueue.c: (gst_queue_init):
9600         * gst/gstregistryxml.c: (load_feature):
9601           Revert all these unrefs, they don't even pass make check !
9602
9603 2005-11-15  Johan Dahlin  <johan@gnome.org>
9604
9605         * gst/base/gstbasesrc.c: (gst_base_src_init):
9606         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9607         * gst/gstqueue.c: (gst_queue_init): 
9608         Free pad templates, fixes a couple of leaks.
9609
9610 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9611
9612         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9613
9614         * gst/gstpad.c: (gst_pad_get_property):
9615           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9616           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9617           (#321452)
9618
9619 2005-11-15  Wim Taymans  <wim@fluendo.com>
9620
9621         * gst/gstevent.c:
9622         Small doc update.
9623
9624 2005-11-15  Andy Wingo  <wingo@pobox.com>
9625
9626         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9627
9628         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9629         using GST_CLOCK_TIME_NONE to disable base time management.
9630         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9631         time if it was NONE before.
9632         (gst_pipeline_change_state): Only munge the base time if
9633         stream_time != GST_CLOCK_TIME_NONE.
9634
9635         * check/gst/gstpipeline.c (test_base_time): Punt around the
9636         problem of the probe not being called, because that's not the
9637         issue I'm looking at. Add a check that setting stream_time to NONE
9638         disables base time management.
9639         
9640 2005-11-15  Wim Taymans  <wim@fluendo.com>
9641
9642         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9643         segment_stop == -1 at startup.
9644
9645         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9646         (gst_base_transform_change_state):
9647         Init segment values at start.
9648
9649 2005-11-15  Wim Taymans  <wim@fluendo.com>
9650
9651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9652         0 segment values are 0 in any format.
9653
9654         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9655         * gst/base/gstbasetransform.h:
9656         Parse newsegment correctly in basetransform
9657
9658         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9659         Sync to clock using updated segment values.
9660
9661 2005-11-15  Andy Wingo  <wingo@pobox.com>
9662
9663         * check/gst/gstpipeline.c (test_base_time): Add check that the
9664         base time and stream time are reset correctly.
9665
9666 2005-11-15  Wim Taymans  <wim@fluendo.com>
9667
9668         * docs/design/part-TODO.txt:
9669         Some more TODO items.
9670
9671 2005-11-15  Andy Wingo  <wingo@pobox.com>
9672
9673         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9674         error if the user selected "no clock" as the clocking method.
9675
9676         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9677         timestamps with live capture.
9678
9679         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9680         is 0 but we are a live source, timestamp the buffers using the
9681         element's clock.
9682
9683 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9684
9685         * docs/gst/gstreamer-sections.txt:
9686         * gst/gsterror.c:
9687         * gst/gstghostpad.c:
9688         * gst/gstobject.h:
9689         * gst/gstxml.c:
9690           more section docs
9691
9692 2005-11-14  Wim Taymans  <wim@fluendo.com>
9693
9694         * common/gst.supp:
9695           add suppressions from Wim's Debian machine
9696
9697 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9698
9699         * common/gst.supp:
9700           add suppressions from Andy's AMD64 Ubuntu machine
9701
9702 2005-11-14  Andy Wingo  <wingo@pobox.com>
9703
9704         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9705         STATE_LOCK not necessary. Fixes #311489.
9706
9707         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9708         #305291.
9709
9710         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9711         this function is not implemented.
9712
9713 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9714
9715         * gst/base/gstbasetransform.c:
9716         (gst_base_transform_prepare_output_buf):
9717         Ref the source pad caps while we need them.
9718         Fixes (#321386)
9719
9720 2005-11-11  Wim Taymans  <wim@fluendo.com>
9721
9722         * docs/gst/gstreamer-sections.txt:
9723         Added some docs for GstCollectData.
9724
9725         * gst/base/gstadapter.c:
9726         Some small code example fix.
9727
9728         * gst/base/gstcollectpads.c:
9729         * gst/base/gstcollectpads.h:
9730         Document some more.
9731
9732 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9733
9734         * configure.ac: back to HEAD
9735
9736 === release 0.9.5 ===
9737
9738 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9739
9740         * configure.ac:
9741           releasing 0.9.5, "Bike Lunch Day"
9742
9743 2005-11-11  Wim Taymans  <wim@fluendo.com>
9744
9745         * gst/gstbuffer.c: (_gst_buffer_copy):
9746         Copy more flags.
9747
9748         * gst/gstcaps.c: (gst_caps_is_equal):
9749         Fix some docs.
9750         Make _is_equal fast in the trivial cases.
9751
9752         * gst/gstminiobject.c:
9753         * gst/gstminiobject.h:
9754         More docs. Spifify .h file.
9755
9756         * gst/gstutils.c:
9757         Small doc update.
9758
9759 2005-11-11  Wim Taymans  <wim@fluendo.com>
9760
9761         * gst/base/gstbasetransform.c:
9762         (gst_base_transform_prepare_output_buf),
9763         (gst_base_transform_handle_buffer):
9764         Small cleanups.
9765         If we're processing a buffer and need to allocate an output
9766         buffer, we cannot accept a format change. If we did get a 
9767         format change, we have to alloc a buffer ourselves of the 
9768         right size.
9769
9770 2005-11-11  Wim Taymans  <wim@fluendo.com>
9771
9772         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9773         While checking the flag for reentrancy in the gstcaps function
9774         is nice to detect recursive invocations, it also makes it 
9775         impossible to call getcaps from multiple threads, which must be
9776         possible. So, checking for recursive calls has to go.
9777
9778 2005-11-11  Michael Smith <msmith@fluendo.com>
9779
9780         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9781           Don't sync on buffers that fall partially outside our current
9782           segment. Prevents an assertion failure/abort playing some files.
9783
9784 2005-11-10  Andy Wingo  <wingo@pobox.com>
9785
9786         * check/gst/gstbin.c (test_message_state_changed_children): Style
9787         fix..
9788
9789         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9790         gst_bus_poll with the signal watch. Ensures that poll and a signal
9791         watch see the same messages.
9792
9793         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9794         a poll and a watch at the same time get the same messages.
9795
9796 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9797
9798         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9799         * gst/gstcaps.c: (gst_caps_intersect):
9800           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9801           and it's not needed.
9802
9803 2005-11-10  Wim Taymans  <wim@fluendo.com>
9804
9805         * docs/design/part-TODO.txt:
9806         Updated todo.
9807
9808 2005-11-10  Wim Taymans  <wim@fluendo.com>
9809
9810         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9811         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9812         (gst_base_src_do_sync), (gst_base_src_get_range):
9813         Implement clock sync in base class.
9814
9815 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9816
9817         patch by: Tim-Philipp Müller <tim at centricular dot net>
9818
9819         * gst/gststructure.c: (gst_structure_parse_field),
9820         (gst_structure_from_string):
9821           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9822           so that gst_parse_launch() can deal with spaces in filtered link
9823           caps (fixes #164479)
9824         * check/gst/capslist.h:
9825         * check/gst/gststructure.c: (GST_START_TEST):
9826           add unit tests for this change
9827
9828 2005-11-10  Wim Taymans  <wim@fluendo.com>
9829
9830         * docs/gst/gstreamer-sections.txt:
9831         * gst/gstelement.c:
9832         * gst/gstelement.h:
9833         Fix docs, move some STATE macros to private.
9834
9835 2005-11-10  Wim Taymans  <wim@fluendo.com>
9836
9837         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9838         Added check for bug #317341
9839
9840         * gst/gstbuffer.c:
9841         * gst/gstbuffer.h:
9842         Some more spiffifying.
9843
9844         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9845         Call peer linkfunction if we are a source pad. Totally fixes
9846         #317341
9847
9848         * gst/gstpad.c:
9849         Update docs, source pads should call the peer linkfunction
9850         so they can atomically perform the pad link.
9851
9852 2005-11-09  Wim Taymans  <wim@fluendo.com>
9853
9854         * gst/gstbuffer.c:
9855         * gst/gstbuffer.h:
9856         Uber-spiffy-spiffify some more.
9857
9858 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9859
9860         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9861         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9862         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9863         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9864         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9865         * gst/gstpad.c: (gst_pad_init):
9866           Use GST_DEBUG_FUNCPTR() more extensively.
9867
9868 2005-11-09  Wim Taymans  <wim@fluendo.com>
9869
9870         * gst/gstobject.c: (gst_object_class_init):
9871         * gst/gstobject.h:
9872         Documentation fixes.
9873
9874 2005-11-09  Edward Hervey  <edward@fluendo.com>
9875
9876         * gst/gsttypefindfactory.c:
9877         Fix docs.
9878         
9879 2005-11-09  Edward Hervey  <edward@fluendo.com>
9880
9881         * gst/base/gsttypefindhelper.c:
9882         * gst/gsttypefind.c:
9883         * gst/gsttypefind.h:
9884         Fix docs.
9885
9886 2005-11-09  Wim Taymans  <wim@fluendo.com>
9887
9888         * gst/gstiterator.c:
9889         Fix revision data.
9890
9891         * gst/gsttask.c:
9892         * gst/gsttask.h:
9893         Fix docs.
9894
9895 2005-11-09  Wim Taymans  <wim@fluendo.com>
9896
9897         * gst/gstevent.h:
9898         * gst/gsturi.h:
9899         Fix docs.
9900
9901 2005-11-09  Wim Taymans  <wim@fluendo.com>
9902
9903         * docs/gst/gstreamer-sections.txt:
9904         Moved the message async delivery private lock and cond
9905         to the private section.
9906
9907         * gst/gstmessage.c:
9908         * gst/gstmessage.h:
9909         Fixed docs.
9910
9911 2005-11-09  Edward Hervey  <edward@fluendo.com>
9912
9913         * docs/gst/gstreamer-sections.txt:
9914         * gst/gsturi.c:
9915         * gst/gsturi.h:
9916         Document GstURIHandler
9917
9918 2005-11-09  Wim Taymans  <wim@fluendo.com>
9919
9920         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9921         (gst_iterator_find_custom):
9922         * gst/gstiterator.h:
9923         Fix iterator docs.
9924
9925 2005-11-09  Wim Taymans  <wim@fluendo.com>
9926
9927         * gst/gstbin.h:
9928         Document another field.
9929
9930         * gst/gststructure.c:
9931         * gst/gststructure.h:
9932         Document.
9933
9934 2005-11-09  Wim Taymans  <wim@fluendo.com>
9935
9936         * gst/gstbin.h:
9937         Documented structs.
9938
9939 2005-11-09  Wim Taymans  <wim@fluendo.com>
9940
9941         * docs/gst/gstreamer-sections.txt:
9942         Added some new macros.
9943
9944         * gst/gstclock.c:
9945         * gst/gstclock.h:
9946         * gst/gstobject.h:
9947         Docs updates.
9948
9949 2005-11-09  Wim Taymans  <wim@fluendo.com>
9950
9951         * docs/design/part-TODO.txt:
9952         Some more items for the TODO
9953
9954         * gst/gstcaps.c:
9955         * gst/gstcaps.h:
9956         Document GstCaps.
9957
9958 2005-11-09  Andy Wingo  <wingo@pobox.com>
9959
9960         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9961         to work on something else now tho...
9962
9963         * gst/base/gstadapter.c: More adapter docs.
9964
9965         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9966         (gst_file_sink_stop): New functions, replace the state change
9967         handler.
9968         (gst_file_sink_class_init): Hook up the start and stop functions.
9969         (gst_file_sink_base_init): Don't set the state change handler any
9970         more. It was a bit ugly too, being set from here...
9971         (gst_file_sink_get_property, gst_file_sink_set_property):
9972         Cleanups...
9973         (gst_file_sink_set_location): More robust check that doesn't call
9974         GST_STATE. Ugggggg.
9975
9976 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9977
9978         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9979           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9980
9981 2005-11-08  Wim Taymans  <wim@fluendo.com>
9982
9983         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9984         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9985         (gst_base_sink_chain), (gst_base_sink_change_state):
9986         * gst/base/gstbasesink.h:
9987         * gst/base/gstbasesrc.h:
9988         * gst/gstelement.h:
9989         * gst/gstevent.h:
9990         Avoid excessive typechecking in macros.
9991
9992         * gst/gstminiobject.c: (gst_mini_object_get_type),
9993         (gst_mini_object_init), (gst_mini_object_new),
9994         (gst_mini_object_free):
9995         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9996         (gst_object_finalize):
9997         Remove cruft code, optimize alloc_trace.
9998
9999 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
10000
10001         * docs/faq/gst-uninstalled:
10002           fix up PS1 for systems that try to reset it
10003
10004 2005-11-07  Wim Taymans  <wim@fluendo.com>
10005
10006         * gst/base/gstbasesrc.c: (gst_base_src_init),
10007         (gst_base_src_get_range):
10008         Set the segment_end to -1 initially. Fixed typefind.
10009
10010 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
10011
10012         * gst/base/gstadapter.c:
10013           Debug category should be 'adapter', not 'GstAdapter'.
10014           
10015         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10016         (gst_collectpads_class_init), (gst_collectpads_init),
10017         (gst_collectpads_peek), (gst_collectpads_pop),
10018         (gst_collectpads_event), (gst_collectpads_chain):
10019           Add debug category and some debugging output. Use boilerplate
10020           macros. Remove some extraneous words from docs.
10021
10022 2005-11-05  Andy Wingo  <wingo@pobox.com>
10023
10024         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10025         macro.
10026
10027 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10028
10029         * docs/gst/gstreamer-sections.txt:
10030         * gst/gstcaps.h:
10031         * gst/gstinfo.c:
10032         * gst/gstminiobject.h:
10033         * gst/gstobject.h:
10034         * gst/gstutils.h:
10035           more docs added
10036
10037 2005-11-04  Wim Taymans  <wim@fluendo.com>
10038
10039         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10040         Small update to stop at the configured segment_end
10041         position.
10042
10043 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
10044
10045         * gst/gstregistry.c:
10046         * gst/gstregistry.h:
10047           added missing docs
10048
10049 2005-11-04  Edward Hervey  <edward@fluendo.com>
10050
10051         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10052         Check if we are doing a segment seek and have arrived at the
10053         end of that segment.
10054
10055 2005-11-04  Wim Taymans  <wim@fluendo.com>
10056
10057         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10058         Don't leak a mutex unlock in case of an error.
10059
10060         * gst/gstbus.h:
10061         Doc fixes.
10062
10063 2005-11-04  Wim Taymans  <wim@fluendo.com>
10064
10065         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10066         (gst_bus_post):
10067         Get the context to wake up only once.
10068
10069 2005-11-03  Wim Taymans  <wim@fluendo.com>
10070
10071         * check/states/sinks.c: (GST_START_TEST):
10072         Uncomment fixed check.
10073
10074         * docs/design/part-TODO.txt:
10075         Updated TODO.
10076
10077         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10078         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10079         (gst_base_sink_get_position):
10080         If we are going to PLAYING, post the right pending state
10081         when we post the intermediate paused message.
10082
10083         * gst/gstelement.c: (gst_element_continue_state),
10084         (gst_element_set_state_func), (gst_element_change_state):
10085         Don't post state changes that were between the same state
10086         and were not ASYNC.
10087
10088 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10089
10090         * docs/gst/gstreamer-sections.txt:
10091         * gst/gstcaps.h:
10092         * gst/gstinfo.c:
10093         * gst/gstminiobject.h:
10094         * gst/gstobject.h:
10095         * gst/gstutils.h:
10096           more docs and doc style fixes
10097
10098 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
10099
10100         * docs/gst/gstreamer-sections.txt:
10101         * gst/gstelement.c:
10102         * gst/gstminiobject.c:
10103         doc fixes
10104
10105 2005-11-03  Andy Wingo  <wingo@pobox.com>
10106
10107         * check/states/sinks.c (test_livesrc_sink): Add checks that the
10108         state-changed messages actually have the right order and the right
10109         values.
10110
10111 2005-11-03  Wim Taymans  <wim@fluendo.com>
10112
10113         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10114         Added some more checks. Specifically the case where NO_PREROLL
10115         elements are in the pipeline.
10116
10117         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10118         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10119         (gst_base_sink_get_position):
10120         Post READY->PAUSED state change messages too.
10121         Fix bug where VOID was posted as pending state...
10122
10123         * gst/gstbin.c: (gst_bin_recalc_state):
10124         use _element_continue_state() to continue the state change.
10125
10126         * gst/gstelement.c: (gst_element_continue_state),
10127         (gst_element_commit_state), (gst_element_set_state_func),
10128         (gst_element_change_state), (gst_element_change_state_func):
10129         Lots of state change cleanups, assign the STATE_RETURN in
10130         a new continue_state() function that also propagates the
10131         last return value from a state change to the app.
10132         Update some debug statements with proper category.
10133
10134 2005-11-03  Wim Taymans  <wim@fluendo.com>
10135
10136         * docs/design/part-events.txt:
10137         * docs/design/part-gstpipeline.txt:
10138         * docs/design/part-messages.txt:
10139         * docs/design/part-overview.txt:
10140         * docs/design/part-seeking.txt:
10141         * docs/design/part-states.txt:
10142         * docs/design/part-trickmodes.txt:
10143         * docs/manual/advanced-position.xml:
10144         Small docs updates.
10145
10146         * gst/gstobject.h:
10147         People think !! is ugly, this looks better.
10148
10149         * gst/gstpad.c: (gst_pad_set_blocked_async):
10150         Remove !! since it's fixed elsewhere now.
10151
10152 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10153
10154         * gst/gstminiobject.h:
10155         * gst/gstobject.h:
10156           Add !! to _FLAG_IS_SET macros to make the result boolean.
10157
10158 2005-11-03  Edward Hervey  <edward@fluendo.com>
10159
10160         * gst/gstpad.c: (gst_pad_set_blocked_async):
10161         comparing a flag and a gboolean rarely returns coherent results...
10162         Added two characters (!!) to make that work correctly.
10163         
10164 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * gst/gstbus.c: (gst_bus_class_init):
10167           Fix some typos.
10168           
10169         * gst/gstqueue.c: (gst_queue_loop):
10170           Don't assume a miniobject that isn't a buffer is an
10171           event (it could be that there is a refcounting
10172           problem somewhere and the pointer is stale and
10173           refers to an already destroyed miniobject).
10174
10175 2005-11-03  Julien MOUTTE  <julien@moutte.net>
10176
10177         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10178
10179 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
10180
10181         * docs/manual/advanced-position.xml:
10182           Update seek example and explanations to current 0.9 API.
10183
10184         * gst/elements/gsttypefindelement.c:
10185         (gst_type_find_element_activate):
10186           Remove FIXME comment now that the found caps
10187           are unreffed.
10188
10189 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10190
10191         * gst/gstregistryxml.c: (load_feature):
10192           Add another GST_STR_NULL instance
10193
10194 2005-11-02  Edward Hervey  <edward@fluendo.com>
10195
10196         * gst/gstpad.c: (handle_pad_block):
10197         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10198         
10199 2005-11-02  Wim Taymans  <wim@fluendo.com>
10200
10201         * gst/gstbin.c:
10202         Fix typo in docs.
10203
10204         * gst/gstelement.c: (gst_element_commit_state):
10205         Remove unused value.
10206
10207         * gst/gstiterator.c:
10208         Mention that the returned element is reffed in the docs.
10209
10210 2005-11-02  Wim Taymans  <wim@fluendo.com>
10211
10212         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10213         (gst_pad_push), (gst_pad_push_event):
10214         Unlock blocked pads when they are flushed.
10215
10216 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10217
10218         * docs/README:
10219         * docs/gst/gstreamer-sections.txt:
10220         * gst/gstbin.c:
10221           doc updates
10222         * gst/gstregistry.c: (gst_registry_scan_path_level):
10223           fix for a nasty little missed situation where an installed plug-in
10224           which was in the cache did not get overridden by an uninstalled one
10225           which was earlier in the plugin path because the newly created plugin
10226           for the uninstalled one (not in the registry) didn't get its
10227           ->registered set to TRUE
10228
10229 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10230
10231         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10232         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10233         (gst_collectpads_is_active), (gst_collectpads_collect),
10234         (gst_collectpads_collect_range), (gst_collectpads_start),
10235         (gst_collectpads_stop), (gst_collectpads_peek),
10236         (gst_collectpads_pop), (gst_collectpads_available),
10237         (gst_collectpads_read), (gst_collectpads_flush):
10238           Guard public API with assertions.
10239         
10240         * gst/gstpad.c:
10241           Fix docs for gst_pad_set_link_function().
10242
10243 2005-11-02  Johan Dahlin  <johan@gnome.org>
10244
10245         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
10246         Unref found_caps after we used it.
10247
10248 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
10249
10250         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10251           Don't try to ref NULL.
10252
10253 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10254
10255         * win32/common/config.h.in:
10256           provide a GST_FUNCTION that just gives a string for now
10257
10258 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
10259
10260         * win32/common/gstenumtypes.c: (register_gst_object_flags),
10261         (gst_object_flags_get_type), (register_gst_bin_flags),
10262         (gst_bin_flags_get_type), (register_gst_buffer_flag),
10263         (gst_buffer_flag_get_type), (register_gst_bus_flags),
10264         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10265         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10266         (gst_clock_return_get_type), (register_gst_clock_entry_type),
10267         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10268         (gst_clock_flags_get_type), (register_gst_state),
10269         (gst_state_get_type), (register_gst_state_change_return),
10270         (gst_state_change_return_get_type), (register_gst_state_change),
10271         (gst_state_change_get_type), (register_gst_element_flags),
10272         (gst_element_flags_get_type), (register_gst_core_error),
10273         (gst_core_error_get_type), (register_gst_library_error),
10274         (gst_library_error_get_type), (register_gst_resource_error),
10275         (gst_resource_error_get_type), (register_gst_stream_error),
10276         (gst_stream_error_get_type), (register_gst_event_type),
10277         (gst_event_type_get_type), (register_gst_seek_type),
10278         (gst_seek_type_get_type), (register_gst_seek_flags),
10279         (gst_seek_flags_get_type), (register_gst_format),
10280         (gst_format_get_type), (register_gst_index_certainty),
10281         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10282         (gst_index_entry_type_get_type),
10283         (register_gst_index_lookup_method),
10284         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10285         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10286         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10287         (gst_index_flags_get_type), (register_gst_debug_level),
10288         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10289         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10290         (gst_iterator_result_get_type), (register_gst_iterator_item),
10291         (gst_iterator_item_get_type), (register_gst_message_type),
10292         (gst_message_type_get_type), (register_gst_mini_object_flags),
10293         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10294         (gst_pad_link_return_get_type), (register_gst_flow_return),
10295         (gst_flow_return_get_type), (register_gst_activate_mode),
10296         (gst_activate_mode_get_type), (register_gst_pad_direction),
10297         (gst_pad_direction_get_type), (register_gst_pad_flags),
10298         (gst_pad_flags_get_type), (register_gst_pad_presence),
10299         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10300         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10301         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10302         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10303         (gst_plugin_flags_get_type), (register_gst_rank),
10304         (gst_rank_get_type), (register_gst_query_type),
10305         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10306         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10307         (gst_tag_flag_get_type), (register_gst_task_state),
10308         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10309         (gst_alloc_trace_flags_get_type),
10310         (register_gst_type_find_probability),
10311         (gst_type_find_probability_get_type), (register_gst_uri_type),
10312         (gst_uri_type_get_type), (register_gst_parse_error),
10313         (gst_parse_error_get_type):
10314         * win32/common/gstversion.h:
10315           update win32 copies
10316
10317 2005-11-01  Luca Ognibene  <luogni@tin.it>
10318
10319         * gst/gst.c:
10320           fix docs. popt is dead, long live GOption.
10321
10322 2005-10-31  Wim Taymans  <wim@fluendo.com>
10323
10324         * gst/gstbuffer.h:
10325         Small doc fix.
10326
10327 2005-10-31  Andy Wingo  <wingo@pobox.com>
10328
10329         * Boo!
10330
10331         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10332
10333         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10334         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10335         the possibility of deadlocks here if code calling notify() or
10336         set() has a lock that can be taken in another notify handler (ABBA
10337         with class lock and e.g. python GIL state lock).
10338
10339 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10340
10341         * gst/gstbus.c: Doc updates.
10342
10343 2005-10-28  Wim Taymans  <wim@fluendo.com>
10344
10345         * docs/design/part-TODO.txt:
10346         * gst/gstiterator.c:
10347         * gst/gstsystemclock.c:
10348         * gst/gstsystemclock.h:
10349         Doc updates.
10350
10351 2005-10-28  Edward Hervey  <edward@fluendo.com>
10352
10353         * docs/gst/gstreamer-docs.sgml:
10354         * docs/gst/gstreamer-sections.txt:
10355         the GstURIType documentation page is private, it only defines GstURIType
10356         which should be defined in the GstURIHandler page
10357         
10358 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10359
10360         * gst/gstbin.c: (gst_bin_class_init):
10361         * gst/gstbin.h:
10362         * gst/gstutils.c:
10363         Documentation updates.
10364
10365 2005-10-28  Wim Taymans  <wim@fluendo.com>
10366
10367         * docs/gst/gstreamer-sections.txt:
10368         * gst/gstclock.c:
10369         * gst/gstclock.h:
10370         Documented the clocks.
10371
10372 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10373
10374         * docs/gst/gstreamer-sections.txt:
10375           move some macros to private sections
10376         * gst/gstminiobject.c:
10377         * gst/gstminiobject.h:
10378           add descriptions provided by ds and some more
10379         * gst/gstpad.h:
10380           mark macro as to be removed
10381
10382 2005-10-28  Wim Taymans  <wim@fluendo.com>
10383
10384         * docs/design/part-TODO.txt:
10385         Add an item to TODO.
10386
10387         * gst/gstiterator.c: (gst_iterator_fold),
10388         (gst_iterator_find_custom):
10389         * gst/gstiterator.h:
10390         Add iterator docs.
10391
10392 2005-10-28  Wim Taymans  <wim@fluendo.com>
10393
10394         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10395         (gst_base_transform_init):
10396         Don't leak class.
10397
10398         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10399         An EOS event marks the queue as completely filled.
10400
10401 2005-10-27  Wim Taymans  <wim@fluendo.com>
10402
10403         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10404         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10405         Some more debugging.
10406
10407         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10408         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10409         (gst_base_transform_event), (gst_base_transform_getrange),
10410         (gst_base_transform_chain):
10411         * gst/base/gstbasetransform.h:
10412         Fix debugging,
10413         Protect transform and concurrent buffer alloc with a new lock.
10414         Try not to break ABI/API.
10415
10416 2005-10-27  Wim Taymans  <wim@fluendo.com>
10417
10418         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10419         (gst_base_src_init), (gst_base_src_query),
10420         (gst_base_src_default_newsegment),
10421         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10422         (gst_base_src_send_event), (gst_base_src_event_handler),
10423         (gst_base_src_pad_get_range), (gst_base_src_loop),
10424         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10425         (gst_base_src_start), (gst_base_src_deactivate),
10426         (gst_base_src_activate_push), (gst_base_src_change_state):
10427         Move some stuff around and cleanup things.
10428
10429 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10430
10431         * gst/base/gstbasesrc.c: (gst_base_src_query):
10432           Add missing break statements.
10433
10434 2005-10-27  Wim Taymans  <wim@fluendo.com>
10435
10436         * check/gst/gstbin.c: (GST_START_TEST):
10437         An extra refcount is taken in basesrc.
10438
10439         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10440         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10441         (gst_base_src_loop):
10442         Small cleanups, check for flushing after being unlocked from the 
10443         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10444         Don't send out EOS when going to READY.
10445
10446 2005-10-27  Wim Taymans  <wim@fluendo.com>
10447
10448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10449         (gst_base_sink_get_position):
10450         Some more debug.
10451
10452         * gst/gstbin.c: (message_check), (bin_replace_message),
10453         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10454         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10455         (bin_query_duration_init), (bin_query_duration_fold),
10456         (bin_query_duration_done), (bin_query_generic_fold),
10457         (gst_bin_query):
10458         * tools/gst-launch.c: (main):
10459         Remove old option.
10460
10461 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10462
10463         * examples/controller/audio-example.c: (main):
10464         * examples/queue/queue.c: (event_loop):
10465         * gst/base/gstbasetransform.h:
10466         * gst/gstelement.c: (gst_element_send_event):
10467         * gst/gstevent.h:
10468         * gst/gstpad.c: (gst_pad_send_event):
10469           fixing examples
10470           fixing docs typos
10471           changing log priority in error situations
10472
10473 2005-10-25  Wim Taymans  <wim@fluendo.com>
10474
10475         * gst/gstbin.c: (message_check), (bin_replace_message),
10476         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10477         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10478         (bin_query_duration_init), (bin_query_duration_fold),
10479         (bin_query_duration_done), (bin_query_generic_fold),
10480         (gst_bin_query):
10481         Some doc and debug updates.
10482         Cache previously requested query DURATION for speed. invalidate
10483         cached duration if element posts a DURATION message.
10484
10485 2005-10-25  Wim Taymans  <wim@fluendo.com>
10486
10487         * docs/design/part-TODO.txt:
10488         Update TODO.
10489
10490         * gst/gstbin.c: (message_check), (bin_replace_message),
10491         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10492         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10493         (bin_query_duration_init), (bin_query_duration_fold),
10494         (bin_query_duration_done), (bin_query_generic_fold),
10495         (gst_bin_query):
10496         Handle SEGMENT_START/DONE messages correctly.
10497         More evolved query algorithm that handles duration queries
10498         correctly.
10499
10500         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10501         (gst_element_get_state_func), (gst_element_abort_state),
10502         (gst_element_commit_state), (gst_element_lost_state):
10503         Some more debugging.
10504
10505         * gst/gstmessage.h:
10506         Added doc.
10507
10508 2005-10-25  Wim Taymans  <wim@fluendo.com>
10509
10510         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10511         Don't use invalid stream_time.
10512
10513         * gst/gstevent.c: (gst_event_new_newsegment):
10514         stream_time in newsegment cannot be undefined.
10515
10516 2005-10-24  Wim Taymans  <wim@fluendo.com>
10517
10518         * gst/gstbus.c:
10519         Doc fix.
10520
10521         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10522         (gst_queue_loop):
10523         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10524
10525 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10526
10527         * docs/libs/tmpl/gstdparam.sgml:
10528         * docs/libs/tmpl/gstdplinint.sgml:
10529         * docs/libs/tmpl/gstdpman.sgml:
10530         * docs/libs/tmpl/gstdpsmooth.sgml:
10531         * docs/libs/tmpl/gstunitconvert.sgml:
10532           these are obsolete
10533
10534 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10535
10536         * configure.ac:
10537           back to HEAD
10538
10539 === release 0.9.4 ===
10540
10541 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10542
10543         * configure.ac:
10544           releasing 0.9.4, "Tyrannosaurus Rex"
10545
10546 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10549         (gst_file_sink_get_current_offset):
10550           Use fseeko() and ftello() if available. When falling back on
10551           lseek() to get the current offset, fflush() first to make sure
10552           everything is up-to-date and we get the right offset.
10553
10554 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10555
10556         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10557         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10558         * gst/gsterror.c: (_gst_stream_errors_init):
10559         * gst/gsterror.h:
10560         * gst/gstqueue.c: (gst_queue_loop):
10561         * po/POTFILES.in:
10562           remove prematurely added error category and clean up the instances
10563
10564 2005-10-21  Wim Taymans  <wim@fluendo.com>
10565
10566         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10567         (gst_base_sink_get_position), (gst_base_sink_query),
10568         (gst_base_sink_change_state):
10569         Simply set the right flag when going to playing, that's all
10570         we need to do instead of calling a function inside the object
10571         lock (that could take the lock as well and deadlock)
10572
10573 2005-10-21  Wim Taymans  <wim@fluendo.com>
10574
10575         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10576         (gst_base_src_loop):
10577         Don't warn, the peer element knows what to do best when
10578         the seek failed, it might try something else.
10579
10580 2005-10-21  Wim Taymans  <wim@fluendo.com>
10581
10582         * gst/base/gstbasesrc.c: (gst_base_src_init),
10583         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10584         Fix seeking.
10585
10586 2005-10-21  Wim Taymans  <wim@fluendo.com>
10587
10588         * docs/design/part-segments.txt:
10589         More docs.
10590
10591         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10592         Correctly set caps, even on the subbufer.
10593
10594 2005-10-21  Wim Taymans  <wim@fluendo.com>
10595
10596         * docs/gst/gstreamer-docs.sgml:
10597         * docs/gst/gstreamer-sections.txt:
10598         * gst/gstelement.h:
10599         * gst/gstevent.c:
10600         * gst/gstevent.h:
10601         * gst/gstmessage.h:
10602         * gst/gstpad.h:
10603         * gst/gstparse.h:
10604         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10605         * gst/gsttask.h:
10606         * gst/gstutils.c:
10607         * gst/gstutils.h:
10608         And 2% more doc coverage.
10609
10610 2005-10-21  Andy Wingo  <wingo@pobox.com>
10611
10612         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10613         position reporting.
10614
10615 2005-10-20  Wim Taymans  <wim@fluendo.com>
10616
10617         * gst/gsterror.c: (gst_error_get_message):
10618         * gst/gstparse.h:
10619         * gst/gstquery.h:
10620         * gst/gststructure.c:
10621         * gst/gsttrace.c:
10622         * gst/gstutils.c:
10623         More docs.
10624
10625 2005-10-20  Wim Taymans  <wim@fluendo.com>
10626
10627         * gst/gstbuffer.h:
10628         * gst/gstpad.c:
10629         * gst/gstparse.c:
10630         Another 1% more coverage.
10631
10632 2005-10-20  Wim Taymans  <wim@fluendo.com>
10633
10634         * docs/gst/gstreamer-sections.txt:
10635         * gst/gstelement.c: (gst_element_get_state_func),
10636         (gst_element_abort_state), (gst_element_commit_state),
10637         (gst_element_lost_state):
10638         * gst/gstevent.h:
10639         * gst/gstquery.c: (gst_query_set_position),
10640         (gst_query_parse_position), (gst_query_set_duration),
10641         (gst_query_parse_duration), (gst_query_new_convert):
10642         * gst/gstutils.c:
10643         Yay! 1% more docs coverage.
10644
10645 2005-10-20  Wim Taymans  <wim@fluendo.com>
10646
10647         * gst/gstpad.h:
10648         * gst/gstquery.c: (gst_query_set_position),
10649         (gst_query_parse_position), (gst_query_set_duration),
10650         (gst_query_parse_duration), (gst_query_new_convert):
10651         * gst/gstquery.h:
10652         * gst/gstutils.c: (gst_element_query_convert):
10653         * gst/gstutils.h:
10654         Docs and consistency fixes.
10655
10656 2005-10-20  Wim Taymans  <wim@fluendo.com>
10657
10658         * gst/gsttask.c:
10659         * gst/gsttask.h:
10660         More docs.
10661
10662 2005-10-20  Wim Taymans  <wim@fluendo.com>
10663
10664         * gst/gstbin.c: (message_check), (bin_replace_message),
10665         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10666         (update_degree), (gst_bin_sort_iterator_next),
10667         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10668         Reworked the message handling a bit, cache the messages instead of
10669         only the senders. alows us to do more in the future.
10670
10671 2005-10-20  Wim Taymans  <wim@fluendo.com>
10672
10673         * docs/design/part-TODO.txt:
10674         Update TODO
10675
10676         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10677         (gst_base_sink_query):
10678         Don't use clock time to report position when in EOS.
10679
10680 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10681
10682         * tools/gst-inspect.c: (print_interfaces),
10683         (print_element_properties_info), (print_element_info):
10684           Fix interface output with gst-inspect -a; don't print
10685           newlines after double/float properties.
10686
10687 2005-10-20  Wim Taymans  <wim@fluendo.com>
10688
10689         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10690         (gst_base_sink_query):
10691         Speed up current position calculation.
10692
10693         * gst/base/gstbasesrc.c: (gst_base_src_query),
10694         (gst_base_src_default_newsegment):
10695         Correctly set stream position in newsegment.
10696
10697         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10698         (update_degree), (gst_bin_sort_iterator_next),
10699         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10700         * gst/gstmessage.c: (gst_message_new_custom):
10701         Clean up debugging info
10702
10703         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10704         (gst_queue_loop), (gst_queue_handle_src_query):
10705         Pause task faster.
10706
10707 2005-10-19  Wim Taymans  <wim@fluendo.com>
10708
10709         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10710         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10711         Fix query handling again.
10712
10713 2005-10-19  Wim Taymans  <wim@fluendo.com>
10714
10715         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10716         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10717         * gst/base/gstbasesrc.c: (gst_base_src_query):
10718         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10719         * gst/elements/gsttypefindelement.c:
10720         (gst_type_find_handle_src_query), (find_element_get_length),
10721         (gst_type_find_element_activate):
10722         API change fix.
10723
10724         * gst/gstquery.c: (gst_query_new_position),
10725         (gst_query_set_position), (gst_query_parse_position),
10726         (gst_query_new_duration), (gst_query_set_duration),
10727         (gst_query_parse_duration), (gst_query_set_segment),
10728         (gst_query_parse_segment):
10729         * gst/gstquery.h:
10730         Bundling query position/duration is not a good idea since duration
10731         does not change much and we don't want to recalculate it for every
10732         position query, so they are separated again..
10733         Base value in segment query is not needed.
10734
10735         * gst/gstqueue.c: (gst_queue_handle_src_query):
10736         * gst/gstutils.c: (gst_element_query_position),
10737         (gst_element_query_duration), (gst_pad_query_position),
10738         (gst_pad_query_duration):
10739         * gst/gstutils.h:
10740         Updates for query API change.
10741         Added some docs here and there.
10742
10743 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10744
10745         * check/gst/gstbin.c: (GST_START_TEST):
10746         * check/gst/gstghostpad.c: (GST_START_TEST):
10747         * check/pipelines/cleanup.c: (GST_START_TEST):
10748           wait on thread to die so we can check refcount correctly
10749
10750 2005-10-18  Wim Taymans  <wim@fluendo.com>
10751
10752         * check/pipelines/stress.c: (GST_START_TEST):
10753         Make check a little more time consuming.
10754
10755 2005-10-18  Wim Taymans  <wim@fluendo.com>
10756
10757         * check/Makefile.am:
10758         * check/pipelines/stress.c: (GST_START_TEST),
10759         (simple_launch_lines_suite), (main):
10760         Small state change torture test.
10761
10762         * docs/design/part-states.txt:
10763         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10764         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10765         (gst_base_sink_change_state):
10766         Never take state lock from streaming thread, clean up ugly
10767         hacks. Unfortunatly core does not yet support nice ways to
10768         async commit state.
10769         
10770         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10771         (bin_bus_handler):
10772         Start state recalc if a STATE_DIRTY message is posted, but only
10773         on the toplevel bin.
10774
10775         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10776         (gst_element_get_state_func), (gst_element_abort_state),
10777         (gst_element_commit_state), (gst_element_lost_state),
10778         (gst_element_set_state_func), (gst_element_change_state):
10779         * gst/gstelement.h:
10780         State variables are now protected with the LOCK, the state
10781         lock is only used to serialize _set_state().
10782
10783 2005-10-18  Wim Taymans  <wim@fluendo.com>
10784
10785         * check/gst/gstbin.c: (GST_START_TEST):
10786         * check/gst/gstmessage.c: (GST_START_TEST):
10787         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10788         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10789         (bin_bus_handler):
10790         * gst/gstelement.c: (gst_element_abort_state),
10791         (gst_element_commit_state), (gst_element_lost_state):
10792         * gst/gstmessage.c: (gst_message_new_state_changed),
10793         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10794         (gst_message_new_segment_done), (gst_message_new_duration),
10795         (gst_message_parse_state_changed),
10796         (gst_message_parse_segment_start),
10797         (gst_message_parse_segment_done), (gst_message_parse_duration):
10798         * gst/gstmessage.h:
10799         * tools/gst-launch.c: (event_loop):
10800         Seriously, this is better than a previous commit as we only need
10801         to notify the fact that an element changed state in a streaming
10802         thread, marking the state of the parents dirty, hence the 
10803         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10804         message.
10805
10806 2005-10-18  Wim Taymans  <wim@fluendo.com>
10807
10808         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10809         (gst_bin_recalc_func):
10810         * gst/gstelement.c: (gst_element_set_clock),
10811         (gst_element_abort_state), (gst_element_lost_state):
10812         Cleanups, prepare for state change fixes.
10813
10814 2005-10-18  Wim Taymans  <wim@fluendo.com>
10815
10816         * gst/gstbin.h:
10817         * gst/gstelement.c: (gst_element_class_init),
10818         (gst_element_set_state), (gst_element_set_state_func):
10819         * gst/gstelement.h:
10820         Pending ABI changes.
10821         GThreadPool in GstBinClass to monitor async state changes.
10822         state_cookie in GstElement to detect concurrent gst/set state.
10823         set_state is now virtual too in case a very complicated element
10824         has to be constructed.
10825
10826 2005-10-18  Wim Taymans  <wim@fluendo.com>
10827
10828         * check/gst/gstbin.c: (GST_START_TEST):
10829         * check/gst/gstmessage.c: (GST_START_TEST):
10830         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10831         * gst/gstbin.c: (bin_bus_handler):
10832         * gst/gstelement.c: (gst_element_commit_state),
10833         (gst_element_lost_state):
10834         * gst/gstmessage.c: (gst_message_new_state_changed),
10835         (gst_message_new_segment_start), (gst_message_new_segment_done),
10836         (gst_message_new_duration), (gst_message_parse_state_changed),
10837         (gst_message_parse_segment_start),
10838         (gst_message_parse_segment_done), (gst_message_parse_duration):
10839         * gst/gstmessage.h:
10840         * tools/gst-launch.c: (event_loop):
10841         Make messages future proof.
10842         state-change gets a flag if it was a message comming from the
10843         streaming thread.
10844         segment-start/stop can also be specified in other formats.
10845         A message to notify an app that a pipeline changed playback 
10846         duration.
10847         Also fix a GstMessage leak in -launch
10848
10849 2005-10-18  Andy Wingo  <wingo@pobox.com>
10850
10851         * gst/gstelement.c (gst_element_dispose): More helpful message.
10852
10853 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10854
10855         reviewed by: <delete if not using a buddy>
10856
10857         * common/gtk-doc.mak:
10858
10859 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10860
10861         * gst/gstregistry.c: (gst_registry_scan_path_level):
10862           unref a plug-in we get that was already initialized
10863
10864 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10865
10866         * docs/gst/gstreamer-sections.txt:
10867         * docs/libs/gstreamer-libs-sections.txt:
10868         * gst/gstelement.h:
10869           add new api entries
10870           hide internal macro
10871
10872 2005-10-17  Andy Wingo  <wingo@pobox.com>
10873
10874         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10875         cleanup.
10876
10877         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10878
10879         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10880
10881         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10882         (gst_element_get_state_func): Better debug message.
10883         (gst_element_commit_state): s/INFO/DEBUG/.
10884         (gst_element_lost_state, gst_element_change_state): 
10885
10886         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10887         (gst_message_new_custom): s/INFO/LOG/.
10888
10889 2005-10-17  Michael Smith <msmith@fluendo.com>
10890
10891         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10892           Check if end time is valid using end time, not start time.
10893
10894 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10895
10896         * check/gst-libs/controller.c: (GST_START_TEST),
10897         (gst_controller_suite):
10898         * libs/gst/controller/gstcontroller.c:
10899         (gst_controlled_property_set_interpolation_mode):
10900         * libs/gst/controller/gstcontroller.h:
10901         * libs/gst/controller/gstinterpolation.c:
10902         * testsuite/controller/.cvsignore:
10903         * testsuite/controller/Makefile.am:
10904         * testsuite/controller/interpolator.c:
10905           merge controller testsuites
10906           fix broken tests
10907           remove mem-chunk from docs
10908
10909 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10910
10911         * gst/gstmemchunk.c:
10912         * gst/gstmemchunk.h:
10913         * gst/gsttrashstack.c:
10914         * gst/gsttrashstack.h:
10915           out.  get out.  you're fired.  to the Attic !
10916
10917 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10918
10919         * gst/gstcaps.c: (gst_caps_intersect):
10920           fix signedness issues in a (hopefully) correct way
10921         * gst/gstelement.c: (gst_element_pads_activate):
10922           some debugging
10923         * gst/gstobject.c: (gst_object_set_parent):
10924           some debugging
10925
10926 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10927
10928         * gst/gstvalue.h: Fix prototypes.
10929
10930 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10931
10932         * docs/gst/gstreamer-sections.txt:
10933         * gst/gst.c: (gst_version_string):
10934         * gst/gst.h:
10935         * gst/gstversion.h.in:
10936         * win32/common/libgstreamer.def:
10937           add gst_version_string ()
10938
10939 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10940
10941         * configure.ac:
10942           clean up further
10943         * gst/gst.c: (init_post):
10944         * win32/common/config.h.in:
10945           it's PLUGINDIR now
10946         * gst/gstcaps.c: (gst_caps_intersect):
10947           use gint64, the range could be bigger than a guint
10948
10949 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10950
10951         * gst/gstclock.h:
10952           document potential problem in 2038
10953
10954 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10955
10956         * gst/gstcaps.c: (gst_caps_intersect):
10957           Fix guint j diving under 0
10958
10959 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10960
10961         * configure.ac:
10962         * win32/common/config.h:
10963         * win32/common/config.h.in:
10964           check for process.h, declares getpid() on Windows
10965         * gst/gstinfo.c:
10966           include process.h if we have it
10967         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10968         * gst/gstmemchunk.h:
10969           fix signedness issues
10970         * win32/common/libgstreamer.def:
10971           fix get_type's
10972
10973 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10974
10975         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10976         fix. Because of unsigned ints, caps intersection was going nuts and
10977         trying to access structures with G_MAXUINT index. That fixes
10978         videotestsrc ! ffmpegcolorspace ! fakesink
10979         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10980         consistency.
10981
10982 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10983
10984         * configure.ac:
10985           use the gettext macro
10986         * gst/elements/gstelements.c:
10987         * gst/gst.c:
10988         * gst/indexers/gstindexers.c:
10989           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10990         * win32/common/config.h:
10991           updated config.h
10992         * win32/common/config.h.in:
10993           add the template to generate config.h
10994         * win32/common/gstenumtypes.c:
10995         * win32/common/gstversion.h:
10996           updated copies
10997
10998 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10999
11000         * gst/gst.c: (gst_version):
11001         * gst/gstversion.h.in:
11002           add the nano
11003
11004 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11005
11006         * gst/gstevent.h:
11007           Oops, add missing closing bracket.
11008
11009 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11010
11011         * configure.ac:
11012           use common m4's for argument checking
11013
11014 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
11015
11016         * docs/gst/gstreamer-sections.txt:
11017         * gst/gstevent.h:
11018           Add GST_EVENT_TYPE_NAME() macro.
11019
11020 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11021
11022         * gst/gstinfo.c:
11023         * gst/gstpluginfeature.c:
11024         * gst/gsttask.c:
11025           privatize more symbols
11026
11027 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11028
11029         * configure.ac:
11030           add srcdir, builddir includes to GST_ALL_CFLAGS, since
11031           everything that uses GStreamer API should have the includes
11032
11033 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11034
11035         * docs/gst/gstreamer-sections.txt:
11036         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11037         * gst/gstvalue.h:
11038           give each value a _get_type, removes the DATA exports
11039
11040 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11041
11042         * gst/gst.c:
11043         * gst/gst.h:
11044           remove _gst_registry_auto_load, not used anymore
11045         * gst/gstbin.c: (gst_bin_get_type):
11046         * gst/gstbin.h:
11047         * gst/gstelement.c: (gst_element_get_type):
11048         * gst/gstelement.h:
11049         * gst/gstobject.c: (gst_object_get_type):
11050         * gst/gstobject.h:
11051         * gst/gstpad.c: (gst_pad_get_type):
11052         * gst/gstpad.h:
11053           make _get_type functions similar, fixes data export from library
11054
11055 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11056
11057         * configure.ac:
11058           correctly make conditionals
11059         * gst/elements/Makefile.am:
11060         * gst/elements/gstelements.c:
11061           fix typo causing fdsrc not to build
11062
11063 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11064
11065         * testsuite/Makefile.am:
11066         * testsuite/bytestream/.cvsignore:
11067         * testsuite/bytestream/Makefile.am:
11068         * testsuite/bytestream/filepadsink.c:
11069         * testsuite/bytestream/gstbstest.c:
11070         * testsuite/bytestream/test1.c:
11071         * testsuite/bytestream/testfile1:
11072         * testsuite/caps/normalisation.c:
11073         * testsuite/caps/random.c: (main):
11074         * testsuite/cleanup/.cvsignore:
11075         * testsuite/cleanup/Makefile.am:
11076         * testsuite/cleanup/cleanup1.c:
11077         * testsuite/cleanup/cleanup2.c:
11078         * testsuite/cleanup/cleanup3.c:
11079         * testsuite/cleanup/cleanup4.c:
11080         * testsuite/cleanup/cleanup5.c:
11081         * testsuite/controller/interpolator.c:
11082         * testsuite/debug/printf_extension.c: (main):
11083         * testsuite/elements/tee.c:
11084         * testsuite/negotiation/.cvsignore:
11085         * testsuite/negotiation/Makefile.am:
11086         * testsuite/negotiation/pad_link.c:
11087         * testsuite/pad/Makefile.am:
11088         * testsuite/pad/chainnopull.c:
11089         * testsuite/pad/getnopush.c:
11090         * testsuite/pad/link.c:
11091         * testsuite/refcounting/sched.c: (create_pipeline):
11092         * testsuite/registry/Makefile.am:
11093         * testsuite/registry/gst-print-formats.c:
11094         * testsuite/schedulers/.cvsignore:
11095         * testsuite/schedulers/142183-2.c:
11096         * testsuite/schedulers/142183.c:
11097         * testsuite/schedulers/143777-2.c:
11098         * testsuite/schedulers/143777.c:
11099         * testsuite/schedulers/147713.c:
11100         * testsuite/schedulers/147819.c:
11101         * testsuite/schedulers/147894-2.c:
11102         * testsuite/schedulers/147894.c:
11103         * testsuite/schedulers/Makefile.am:
11104         * testsuite/schedulers/group_link.c:
11105         * testsuite/schedulers/queue_link.c:
11106         * testsuite/schedulers/relink.c:
11107         * testsuite/schedulers/unlink.c:
11108         * testsuite/schedulers/unref.c:
11109         * testsuite/schedulers/useless_iteration.c:
11110         * testsuite/states/bin.c:
11111           clean out/remove some stuff from the testsuite directories
11112
11113 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11114
11115         * configure.ac:
11116           check for some headers
11117         * gst/elements/Makefile.am:
11118         * gst/elements/gstelements.c:
11119           don't compile fdsrc without sys/socket.h
11120         * gst/indexers/Makefile.am:
11121         * gst/indexers/gstindexers.c: (plugin_init):
11122           don't compile fileindex without mmap
11123
11124 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
11125
11126         * configure.ac:
11127           reorganize
11128           clean up
11129           document more
11130           remove cruft
11131         * check/Makefile.am:
11132         * docs/gst/Makefile.am:
11133         * examples/helloworld/Makefile.am:
11134         * gst/Makefile.am:
11135         * gst/base/Makefile.am:
11136         * gst/check/Makefile.am:
11137         * gst/elements/Makefile.am:
11138         * gst/indexers/Makefile.am:
11139         * gst/parse/Makefile.am:
11140         * libs/gst/controller/Makefile.am:
11141         * libs/gst/dataprotocol/Makefile.am:
11142         * examples/helloworld/helloworld.c: (event_loop):
11143           compile fixes, though it's not being compiled currently
11144
11145 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11148           Add some simple tests for the new taglist date API.
11149
11150 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11151
11152         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11153         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11154           Beautify 'last-message' output: print 'none' for buffer timestamps
11155           and durations if none is set; improve alignment with next messages.
11156
11157 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
11158
11159         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11160         * gst/gstpluginfeature.h:
11161         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11162         * gst/gstregistry.h:
11163         * docs/gst/gstreamer-sections.txt:
11164           Add new API to check plugin feature version requirements.
11165
11166         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11167           Some basic tests for the above.         
11168
11169 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11170
11171         * gst/gststructure.c: (gst_structure_to_string):
11172           guard against NULL printf - happens when for example
11173           a message structure with GstClock gets serialized
11174
11175 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11176
11177         * gst/base/gstcollectpads.c: (gst_collectpads_event):
11178           Fix presumable copy'n'pasto.
11179
11180 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11181
11182         * gst/elements/gstfakesrc.h:
11183         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11184         * gst/elements/gsttypefindelement.c:
11185           fix some signedness
11186         * gst/elements/gstfilesink.c: (gst_file_sink_render):
11187           I wonder if this could actually write +2GB files before
11188
11189 2005-10-13  Andy Wingo  <wingo@pobox.com>
11190
11191         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11192         Fix Timmeke Waymans bug.
11193         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11194         string of the proper length to gst_caps_from_string. There's a
11195         potential for, before this fix, that this could cause someone
11196         connecting over the network to cause a segfault if the payload is
11197         not NUL-terminated.
11198
11199 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11200
11201         * docs/design/draft-push-pull.txt:
11202         * docs/design/part-overview.txt:
11203         * docs/random/TODO-pre-0.9:
11204         * docs/random/old/ChangeLog.gstreamer:
11205         * gst/base/gstpushsrc.c:
11206         * gst/gstclock.c:
11207           fixed typos
11208
11209 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11210
11211         * gst/glib-compat.c: (gst_flags_get_first_value):
11212         * gst/glib-compat.h:
11213         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11214         (gst_value_compare_double), (gst_value_serialize_flags):
11215           GLib 2.6 g_flags_get_first_value has a bug that triggers an
11216           infinite loop
11217
11218 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11219
11220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11221         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11222           fix up debugging
11223         * tools/gst-launch.c: (event_loop):
11224           print out clock nicely
11225
11226 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
11227
11228         * docs/gst/gstreamer-sections.txt:
11229         * gst/gsttaglist.h:
11230         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11231         (gst_tag_list_get_date_index):
11232           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11233           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11234
11235 2005-10-13  Julien MOUTTE  <julien@moutte.net>
11236
11237         * gst/base/gstcollectpads.c: (gst_collectpads_event),
11238         (gst_collectpads_chain):
11239         * gst/base/gstcollectpads.h: Handle newsegment and store informations
11240         in CollectData.
11241
11242 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
11243
11244         * docs/gst/gstreamer-sections.txt:
11245         * gst/gst.c:
11246         * gst/gsterror.h:
11247         * tools/gst-inspect.c: (main):
11248         * tools/gst-launch.c: (main):
11249         * tools/gst-run.c: (main):
11250         * tools/gst-xmlinspect.c: (main):
11251           fix GOption context leaks
11252           doc fixes
11253
11254 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11255
11256         * gst/gstbus.c:
11257           use HAVE_UNISTD_H
11258         * win32/common/config.h:
11259           update config
11260         * win32/vs6/grammar.dsp:
11261         * win32/vs6/libgstelements.dsp:
11262         * win32/vs6/libgstreamer.dsp:
11263           update vs6 files
11264
11265 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11266
11267         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11268         * gst/base/gstbasesrc.c: (gst_base_src_query):
11269           fix more guint64<->gdouble conversions
11270
11271 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11272
11273         * Makefile.am:
11274           add win32-update target
11275         * win32/common/gstconfig.h:
11276         * win32/common/gstenumtypes.c:
11277         * win32/common/gstenumtypes.h:
11278         * win32/common/gstversion.h:
11279           add files that visual studio can't generate
11280
11281 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11282
11283         * Makefile.am:
11284           add a win32-update target
11285         * configure.ac:
11286
11287 2005-10-12  Wim Taymans  <wim@fluendo.com>
11288
11289         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11290         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11291         * gst/gstelement.c: (gst_element_commit_state),
11292         (gst_element_set_state):
11293         Protect flags with proper lock.
11294         unref provided cached clock in dispose.
11295
11296 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11297
11298         * gst/gst.c:
11299         * gst/gstminiobject.h:
11300         * gst/gstpad.h:
11301         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11302           removed unused flags from miniobject
11303           doc fixes
11304
11305 2005-10-12  Wim Taymans  <wim@fluendo.com>
11306
11307         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11308         (gst_file_sink_event), (gst_file_sink_render):
11309         Flush before seeking.
11310
11311 2005-10-12  Andy Wingo  <wingo@pobox.com>
11312
11313         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11314         always been the case.
11315
11316 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11317
11318         * check/gst/gstbin.c: (GST_START_TEST):
11319         * docs/gst/gstreamer-sections.txt:
11320         * gst/base/gstbasesink.c: (gst_base_sink_init):
11321         * gst/base/gstbasesrc.c: (gst_base_src_init),
11322         (gst_base_src_get_range), (gst_base_src_check_get_range),
11323         (gst_base_src_start), (gst_base_src_stop):
11324         * gst/base/gstbasesrc.h:
11325         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11326         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11327         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11328         (bin_bus_handler):
11329         * gst/gstbin.h:
11330         * gst/gstbuffer.h:
11331         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11332         * gst/gstbus.h:
11333         * gst/gstelement.c: (gst_element_is_locked_state),
11334         (gst_element_set_locked_state), (gst_element_commit_state),
11335         (gst_element_set_state):
11336         * gst/gstelement.h:
11337         * gst/gstindex.c: (gst_index_init):
11338         * gst/gstindex.h:
11339         * gst/gstminiobject.h:
11340         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11341         (gst_object_set_parent):
11342         * gst/gstobject.h:
11343         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11344         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11345         * gst/gstpad.h:
11346         * gst/gstpadtemplate.h:
11347         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11348         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11349         * gst/gstpipeline.h:
11350         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11351         (gst_file_index_commit):
11352         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11353         * testsuite/pad/link.c: (gst_test_src_init),
11354         (gst_test_filter_init), (gst_test_sink_init):
11355         * testsuite/states/locked.c: (main):
11356           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11357           moved bitshift from macro to enum definition
11358
11359 2005-10-12  Wim Taymans  <wim@fluendo.com>
11360
11361         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11362         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11363         (gst_file_sink_render):
11364         Some more debugging info.
11365
11366 2005-10-12  Wim Taymans  <wim@fluendo.com>
11367
11368         * docs/design/part-states.txt:
11369         * tools/gst-launch.c: (main):
11370         Some doc updates.
11371         Revert non-intentional change.
11372
11373 2005-10-12  Wim Taymans  <wim@fluendo.com>
11374
11375         * check/gst/gstbin.c: (GST_START_TEST):
11376         * check/gst/gstelement.c: (GST_START_TEST):
11377         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11378         * check/gst/gstghostpad.c: (GST_START_TEST):
11379         * check/gst/gstpipeline.c: (GST_START_TEST):
11380         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11381         * check/states/sinks.c: (GST_START_TEST):
11382         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11383         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11384         (gst_bin_remove_func), (gst_bin_get_state_func),
11385         (gst_bin_recalc_state), (gst_bin_change_state_func),
11386         (bin_bus_handler):
11387         * gst/gstelement.c: (gst_element_get_state_func),
11388         (gst_element_get_state), (gst_element_abort_state),
11389         (gst_element_commit_state), (gst_element_set_state),
11390         (gst_element_change_state), (gst_element_change_state_func):
11391         * gst/gstelement.h:
11392         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11393         (gst_pipeline_provide_clock_func):
11394         * gst/gstutils.c: (gst_element_link_pads_filtered):
11395         * tools/gst-launch.c: (main):
11396         * tools/gst-typefind.c: (main):
11397         Use GstClockTime in _get_state() instead of GTimeVal.
11398         Remove old code in gstutils.c
11399
11400 2005-10-12  Andy Wingo  <wingo@pobox.com>
11401
11402         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11403         removed.
11404
11405         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11406         there is no task. Shouldn't affect any code, as nothing in our
11407         plugins checks this return value.
11408         (gst_pad_stop_task): Also take the stream lock if the pad has no
11409         task. Docs updated.
11410
11411 2005-10-12  Wim Taymans  <wim@fluendo.com>
11412
11413         * gst/gstpad.c: (pre_activate), (post_activate),
11414         (gst_pad_activate_pull), (gst_pad_activate_push):
11415         Cleanup activation code. Reset old state if
11416         activation failed.
11417
11418 2005-10-12  Wim Taymans  <wim@fluendo.com>
11419
11420         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11421         (gst_base_sink_change_state):
11422         No need to prerol after receiving EOS.
11423
11424         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11425         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11426         * gst/elements/gstidentity.c: (gst_identity_event):
11427         Print events more verbosely.
11428
11429 2005-10-12  Wim Taymans  <wim@fluendo.com>
11430
11431         * check/Makefile.am:
11432         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11433         * check/states/sinks2.c:
11434         Moved sinks2 testcode in sinks check.
11435
11436         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11437         (gst_bin_remove_func), (gst_bin_recalc_state),
11438         (gst_bin_change_state_func), (bin_bus_handler):
11439         Fix potential race condition when _get_state() iterated over an
11440         ASYNC element right before it posted a state completion.
11441
11442         * gst/gstclock.h:
11443         Do proper cast here.
11444
11445         * gst/gstevent.c: (gst_event_new_newsegment),
11446         (gst_event_parse_newsegment):
11447         A playback rate of 0.0 is not allowed.
11448
11449 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11450
11451         * win32/common/config.h:
11452         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11453         (_trewinddir), (_ttelldir), (_tseekdir):
11454         * win32/common/dirent.h:
11455         * win32/common/gtchar.h:
11456         * win32/common/libgstbase.def:
11457         * win32/common/libgstreamer.def:
11458         * win32/vs6/grammar.dsp:
11459         * win32/vs6/gst_inspect.dsp:
11460         * win32/vs6/gst_launch.dsp:
11461         * win32/vs6/gstreamer.dsw:
11462         * win32/vs6/libgstbase.dsp:
11463         * win32/vs6/libgstelements.dsp:
11464         * win32/vs6/libgstreamer.dsp:
11465           Visual Studio 6 project files, and a new common directory.
11466           Phear.
11467
11468 2005-10-11  Wim Taymans  <wim@fluendo.com>
11469
11470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11471         (gst_base_sink_do_sync), (gst_base_sink_query),
11472         (gst_base_sink_change_state):
11473         * gst/base/gstbasesink.h:
11474         Correctly parse newsegment info.
11475
11476 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11477
11478         * gst/gst.c: (init_post):
11479           split plugin paths correctly
11480
11481 2005-10-11  Wim Taymans  <wim@fluendo.com>
11482
11483         * check/gst/gstevent.c: (GST_START_TEST):
11484         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11485         (gst_base_sink_change_state):
11486         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11487         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11488         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11489         * gst/gstevent.c: (gst_event_new_newsegment),
11490         (gst_event_parse_newsegment):
11491         * gst/gstevent.h:
11492         Added extra flag to newsegment for future API freeze.
11493         Updated check and base elements.
11494
11495 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11496
11497         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11498         (gst_collectpads_add_pad), (gst_collectpads_pop),
11499         (gst_collectpads_event), (gst_collectpads_chain):
11500         * gst/base/gstcollectpads.h: Handle EOS correctly.
11501
11502 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11503
11504         * tools/gst-launch.c: (main):
11505           more null protecting
11506
11507 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11508
11509         * gst/gst-i18n-lib.h:
11510           check for ENABLE_NLS, not GETTEXT_PACKAGE
11511         * gst/gstregistry.c: (gst_registry_add_plugin),
11512         (gst_registry_scan_path_level),
11513         (_gst_registry_remove_cache_plugins):
11514           protect possibly NULL strings
11515         * gst/parse/types.h:
11516           config.h already included before
11517         * tools/gst-inspect.c: (main):
11518           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11519           check for ENABLE_NLS, not GETTEXT_PACKAGE
11520         * tools/gst-launch.c: (main):
11521           check for ENABLE_NLS, not GETTEXT_PACKAGE
11522
11523 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11524
11525         * configure.ac:
11526           if we don't have glib, fail before testing 2.8
11527         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11528           fix a leak, should fix plugins-base testsuite
11529
11530 2005-10-11  Andy Wingo  <wingo@pobox.com>
11531
11532         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11533         take the mode we're going to as an arg. Go head and set the mode
11534         and flushing flags now, so that if the activate function starts a
11535         thread all the flags will be in the right state.
11536         (post_activate): Renamed also. Just handle making sure streaming
11537         finishes for the deactivation case, and setting the deactivated
11538         mode.
11539         (gst_pad_set_active): Complain loudly if deactivation fails.
11540         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11541         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11542         remove the terrible hack.
11543
11544 2005-10-11  Wim Taymans  <wim@fluendo.com>
11545
11546         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11547         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11548         (gst_bin_recalc_state), (gst_bin_change_state_func),
11549         (gst_bin_dispose), (bin_bus_handler):
11550         * gst/gstbin.h:
11551         Prepare to make current EOS message queue more generic.
11552         Fix some typos.
11553
11554         * gst/gstevent.c: (gst_event_new_newsegment),
11555         (gst_event_parse_newsegment):
11556         * gst/gstevent.h:
11557         Rename base to stream_time.
11558
11559         * gst/gstmessage.h:
11560         Fix typo in docs.
11561
11562 2005-10-11  Wim Taymans  <wim@fluendo.com>
11563
11564         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11565         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11566         (gst_bin_change_state_func), (bin_bus_handler):
11567         * gst/gstbin.h:
11568         Work on proper clock selection.
11569
11570 2005-10-11  Edward Hervey  <edward@fluendo.com>
11571
11572         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11573         * libs/gst/controller/gstcontroller.h:
11574         Added GList* version of _remove_properties() in order to be able to wrap
11575         it in bindings.
11576
11577 2005-10-11  Wim Taymans  <wim@fluendo.com>
11578
11579         * docs/design/part-states.txt:
11580         Some more docs.
11581
11582         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11583         (gst_bin_change_state_func), (bin_bus_handler):
11584         Doc updates. Don't distribute the same clock over and over again.
11585
11586         * gst/gstclock.c:
11587         * gst/gstclock.h:
11588         Doc updates.
11589
11590         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11591         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11592         (gst_pad_send_event):
11593         * gst/gstpad.h:
11594         Make probe emission threadsafe again.
11595         Register quarks and move _get_name() from utils.
11596         Doc updates.
11597
11598         * gst/gstpipeline.c: (gst_pipeline_class_init),
11599         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11600         Only redistribute the clock of it changed.
11601
11602         * gst/gstsystemclock.h:
11603         Doc updates. 
11604
11605         * gst/gstutils.c:
11606         * gst/gstutils.h:
11607         Moved the _flow_get_name() to GstPad.
11608
11609 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11610
11611         * check/gst-libs/gdp.c: (GST_START_TEST):
11612         * check/gst/gstcaps.c: (GST_START_TEST):
11613         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11614         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11615         (gst_dp_packet_from_caps):
11616           fix more valgrind warnings before turning up the heat
11617
11618 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11619
11620         * gst/parse/grammar.y:
11621           some cleanup before the hacking
11622
11623 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11624
11625         * gst/base/gstbasesrc.c: (gst_base_src_query):
11626           use conversions
11627         * gst/gstutils.c: (gst_guint64_to_gdouble),
11628         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11629         * gst/gstutils.h:
11630           externalize, basesrc uses it
11631           obviously the implementation needs testing
11632
11633 2005-10-10  Wim Taymans  <wim@fluendo.com>
11634
11635         * tests/sched/Makefile.am:
11636         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11637         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11638
11639 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11640
11641         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11642           apparently converting from guint64 to double is not implemented
11643           on MSVC
11644
11645 2005-10-10  Wim Taymans  <wim@fluendo.com>
11646
11647         * check/Makefile.am:
11648         * check/generic/states.c: (GST_START_TEST):
11649         * check/gst/gstbin.c: (GST_START_TEST):
11650         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11651         * check/states/sinks.c: (GST_START_TEST):
11652         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11653         (main):
11654         Check fixes, use API as stated in design docs, remove hacks.
11655
11656         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11657         (gst_base_sink_change_state):
11658         Catch stopping our task while we're shutting down.
11659
11660         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11661         (gst_bin_remove_func), (gst_bin_get_state_func),
11662         (gst_bin_recalc_state), (gst_bin_change_state_func),
11663         (bin_bus_handler):
11664         * gst/gstbin.h:
11665         * gst/gstelement.c: (gst_element_init),
11666         (gst_element_get_state_func), (gst_element_abort_state),
11667         (gst_element_commit_state), (gst_element_lost_state),
11668         (gst_element_set_state), (gst_element_change_state),
11669         (gst_element_change_state_func):
11670         * gst/gstelement.h:
11671         New state change algorithm (see #318116)
11672
11673         * gst/gstpipeline.c: (gst_pipeline_class_init),
11674         (gst_pipeline_init), (gst_pipeline_set_property),
11675         (gst_pipeline_get_property), (do_pipeline_seek),
11676         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11677         * gst/gstpipeline.h:
11678         Remove crude state change hacks.
11679
11680         * gst/gstutils.h:
11681         Remove crude hacks.
11682
11683         * tools/gst-launch.c: (main):
11684         Fixes for state change. Needs some more work to fully use the
11685         new stuff.
11686
11687 2005-10-10  Andy Wingo  <wingo@pobox.com>
11688
11689         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11690
11691         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11692         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11693         issue.
11694
11695 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         * gst/gstiterator.c: (gst_iterator_new):
11698           Fix my previous commit: GTypes passed to gst_iterator_new()
11699           can be fundamental types.
11700
11701 2005-10-10  Wim Taymans  <wim@fluendo.com>
11702
11703         * gst/gstelement.c: (gst_element_iterate_pad_list),
11704         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11705         (gst_element_iterate_sink_pads):
11706         Use src/sink pads lists for the respective iterators instead
11707         of filtering.
11708
11709 2005-10-10  Andy Wingo  <wingo@pobox.com>
11710
11711         Merged in popt removal + GOption addition patch from Ronald, bug
11712         #169772.
11713
11714         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11715         GstElement macros around, remove popt-related symbols, add goption
11716         stuff.
11717
11718         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11719         
11720         * docs/gst/Makefile.am:
11721         * docs/libs/Makefile.am: No POPT_CFLAGS.
11722         
11723         * examples/manual/Makefile.am:
11724         * docs/manual/basics-init.xml: Doc updates with an example.
11725         
11726         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11727         (gst_init), (parse_one_option), (parse_goption_arg):
11728         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11729         bit of hand merging and debugging to get the GOption stuff working
11730         tho.
11731         
11732         * tests/Makefile.am:
11733         * tools/Makefile.am:
11734         * tools/gst-inspect.c: (main):
11735         * tools/gst-launch.c: (main):
11736         * tools/gst-run.c: (main):
11737         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11738
11739 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11740
11741         * gst/gstiterator.c: (gst_iterator_new):
11742           Add assertions to make sure passed GType is likely to really
11743           be a GType (as the compiler won't catch it if the size and
11744           GType arguments get mixed up, see #318447).
11745
11746 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11747
11748         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11749
11750         * gst/gstbin.c: (gst_bin_iterate_sorted):
11751           Pass GType and size arguments to gst_iterator_new() in the right
11752           order (maybe we should make _new() take the GType as first argument
11753           just like _new_list()?) (#318447).
11754           
11755
11756 2005-10-10  Wim Taymans  <wim@fluendo.com>
11757
11758         * gst/gstelement.c: (gst_element_finalize):
11759         And free the GStaticRecMutex too
11760
11761 2005-10-10  Andy Wingo  <wingo@pobox.com>
11762
11763         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11764         Allocate and free the mutex properly.
11765
11766         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11767         New macros.
11768         (GstElement): The state_lock is now recursive. Rebuild your
11769         plugins, suckers. Old macros adapted.
11770
11771         * docs/gst/gstreamer-sections.txt: Doc updates.
11772
11773         * gst/gstutils.h:
11774         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11775         (g_static_rec_cond_wait): Ported from state changes patch, while
11776         we wait on bug #317802 to be solved in a well-distributed GLib.
11777
11778         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11779         gst_element_change_state, variable name changes.
11780         (gst_element_change_state): Split out of gst_element_set_state in
11781         preparation for the state change merge. Doesn't pay attention to
11782         the 'transition' argument.
11783         (gst_element_set_state): Updates, hopefully purely cosmetic.
11784         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11785         state change patch.
11786         (gst_element_get_state_func): Renamed from get_state, cosmetic
11787         changes.
11788
11789 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11790
11791         * gst/elements/gstelements.c:
11792         * win32/GStreamer.vcproj:
11793         * win32/config.h:
11794         * win32/dirent.c: (_tseekdir):
11795         * win32/gst-inspect.vcproj:
11796         * win32/gst-launch.vcproj:
11797         * win32/gstconfig.h:
11798         * win32/gstelements.vcproj:
11799         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11800         * win32/gstreamer.def:
11801         * win32/msvc71.sln:
11802           updates for the win32 build (patch from Sebastien Moutte)
11803
11804 2005-10-10  Andy Wingo  <wingo@pobox.com>
11805
11806         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11807         gst_bin_get_state, cleaned up (but no logic changes).
11808         (bin_element_is_sink): Comment updates.
11809         (sink_iterator_filter): Remove needless cast.
11810         (gst_bin_iterate_sinks): Doc update.
11811         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11812         cleaned up (but no logic changes).
11813
11814         * check/states/sinks.c (test_src_sink): Cleanups from the state
11815         change patch.
11816         (test_livesrc_sink): Sync on the state.
11817
11818         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11819         the state change patch.
11820
11821         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11822         change patch.
11823
11824         * check/gst/gstbin.c: Merge in some style fixes and additional
11825         checks from Wim's state change patch.
11826
11827 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11828
11829         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11830         (gst_type_find_helper):
11831           Check whether we have the requested data already in our list of
11832           cached buffers before pulling a new buffer; also make the buffer
11833           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11834
11835 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11836
11837         * gst/gstcaps.c:
11838         * gst/gstevent.c:
11839           doc updates
11840         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11841           don't use long long, it's not portable.  Replacing with
11842           gint64 seems to work; let's hope no skeletons fall out of the closet.
11843
11844 2005-10-10  Andy Wingo  <wingo@pobox.com>
11845
11846         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11847
11848 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11849
11850         * docs/gst/gstreamer-sections.txt:
11851         * gst/gstevent.c:
11852         * gst/gstevent.h:
11853         * gst/gstinfo.c:
11854         * gst/gstinfo.h:
11855         * gst/gstmessage.c: (gst_message_parse_state_changed):
11856         * gst/gstpad.c:
11857         * gst/gstpad.h:
11858           more docs, fix compilation
11859
11860 2005-10-09  Philippe Khalaf <burger@speedy.org>
11861         * gst/gstmessage.c:
11862           Fixed a few forgotten variables on previous commit
11863
11864 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11865
11866         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11867           Fix evil typefind crasher: getrange() might return a short
11868           buffer at the end of a file, but gst_type_find_peek() must
11869           either return the full data as requested or NULL, but
11870           never a short buffer.
11871
11872 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11873
11874         * gst/gstmessage.c: (gst_message_new_state_changed),
11875         (gst_message_parse_state_changed):
11876         * gst/gstmessage.h:
11877           don't use "new", it's a C++ keyword
11878
11879 2005-10-08  Wim Taymans  <wim@fluendo.com>
11880
11881         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11882         * gst/gstelement.c: (gst_element_post_message):
11883         * gst/gstpipeline.c: (gst_pipeline_change_state):
11884         Small docs and debug updates.
11885
11886 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11887
11888         * docs/gst/gstreamer-sections.txt:
11889         * gst/gstelementfactory.c:
11890         * gst/gstevent.c:
11891         * gst/gsttaglist.c:
11892           more docs
11893
11894 2005-10-08  Wim Taymans  <wim@fluendo.com>
11895
11896         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11897         (gst_bin_dispose), (bin_bus_handler):
11898         Fix typos, add comments.
11899         Clear EOS list when going to PAUSED from any direction and do it
11900         in a threadsafe way.
11901         Get base time in a threadsafe way too.
11902         Fix confusing debug in the change_state function.
11903         Various other small cleanups.
11904         
11905         * gst/gstelement.c: (gst_element_post_message):
11906         Fix very verbose bus posting code.
11907
11908         * gst/gstpipeline.c: (gst_pipeline_class_init),
11909         (gst_pipeline_set_property), (gst_pipeline_get_property),
11910         (gst_pipeline_change_state):
11911         Small ARG_ -> PROP_ cleanup
11912
11913 2005-10-08  Wim Taymans  <wim@fluendo.com>
11914
11915         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11916         Do a less CPU demanding EOS check because we can.
11917
11918 2005-10-08  Wim Taymans  <wim@fluendo.com>
11919
11920         * libs/gst/dataprotocol/dataprotocol.c:
11921         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11922         (gst_dp_packet_from_event):
11923         * libs/gst/dataprotocol/dataprotocol.h:
11924         * libs/gst/dataprotocol/dp-private.h:
11925         It's about time we bump the version number.
11926         Since event types don't fit in the guint8 anymore describing
11927         the payload type, make payload type 16 bits wide.
11928
11929 2005-10-08  Wim Taymans  <wim@fluendo.com>
11930
11931         * docs/design/part-TODO.txt:
11932         * docs/design/part-clocks.txt:
11933         * docs/design/part-events.txt:
11934         * docs/design/part-gstbin.txt:
11935         * docs/design/part-gstelement.txt:
11936         * docs/design/part-gstpipeline.txt:
11937         * docs/design/part-live-source.txt:
11938         * docs/design/part-messages.txt:
11939         * docs/design/part-overview.txt:
11940         * docs/design/part-states.txt:
11941         Many doc updates.
11942
11943 2005-10-08  Wim Taymans  <wim@fluendo.com>
11944
11945         * gst/gstevent.c:
11946         * gst/gstevent.h:
11947         Fix event quark registration.
11948         Add some space between events so we can insert them in the
11949         right groups.
11950
11951 2005-10-08  Wim Taymans  <wim@fluendo.com>
11952
11953         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11954         (gst_base_sink_handle_buffer):
11955         Better log message.
11956
11957         * gst/gstbus.h:
11958         * gst/gstelement.h:
11959         More docs.
11960
11961         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11962         (gst_queue_set_property), (gst_queue_get_property):
11963         * gst/gstqueue.h:
11964         Remove old unused properties.
11965
11966 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11967         * docs/gst/gstreamer-sections.txt:
11968         * gst/gstmessage.c:
11969         * gst/gstmessage.h:
11970         * gst/gstminiobject.c:
11971         * gst/gstminiobject.h:
11972         * gst/gstobject.h:
11973         * gst/gstpad.h:
11974         * gst/gstutils.h:
11975           lots of new docs and doc fixes
11976
11977 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11978
11979         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11980         * gst/gstplugin.h:
11981         * gst/gstregistry.c: (gst_registry_lookup_locked),
11982         (gst_registry_scan_path_level):
11983         * gst/gstregistryxml.c: (load_plugin):
11984           Only ever load one plugin for a given plugin basename.
11985           This ensures correct overriding of GST_PLUGIN_PATH over
11986           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11987           system installed plugins.
11988
11989 2005-10-08  Wim Taymans  <wim@fluendo.com>
11990
11991         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11992         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11993         Prepare for doing QOS.
11994
11995 2005-10-08  Wim Taymans  <wim@fluendo.com>
11996
11997         * check/gst/gstbin.c: (GST_START_TEST):
11998         * check/pipelines/cleanup.c: (GST_START_TEST):
11999         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12000         Allow new clock message too.
12001
12002 2005-10-08  Wim Taymans  <wim@fluendo.com>
12003
12004         * gst/gstmessage.c: (gst_message_new_error),
12005         (gst_message_new_warning), (gst_message_new_tag),
12006         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12007         (gst_message_new_clock_lost), (gst_message_new_new_clock),
12008         (gst_message_new_segment_start), (gst_message_new_segment_done),
12009         (gst_message_parse_state_changed),
12010         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12011         (gst_message_parse_new_clock):
12012         * gst/gstmessage.h:
12013         Also carry the clock in question.
12014
12015 2005-10-08  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/gstmessage.c: (gst_message_new_custom),
12018         (gst_message_new_eos), (gst_message_new_error),
12019         (gst_message_new_warning), (gst_message_new_tag),
12020         (gst_message_new_state_changed), (gst_message_new_clock_provide),
12021         (gst_message_new_new_clock), (gst_message_new_segment_start),
12022         (gst_message_new_segment_done), (gst_message_parse_state_changed),
12023         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12024         * gst/gstmessage.h:
12025         Clean up.
12026         Added clock related messages.
12027
12028         * gst/gstpipeline.c: (gst_pipeline_change_state):
12029         Post message when the clock changed.
12030
12031         * tools/gst-launch.c: (event_loop):
12032         Print new clock.
12033
12034 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
12035
12036         * tools/gst-inspect.c: (print_element_properties_info):
12037           Can't pass NULL strings to g_print() on windows.
12038
12039 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12040
12041         * docs/Makefile.am:
12042         * docs/gst/Makefile.am:
12043         * docs/gst/gstreamer-docs.sgml:
12044         * docs/gst/running.xml:
12045         * docs/version.entities.in:
12046           add a chapter on running GStreamer.
12047           document GST_DEBUG and GST_PLUGIN* env vars
12048
12049 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12050
12051         * Makefile.am:
12052           remove include dir
12053         * configure.ac:
12054           remove PLUGINS_BUILDDIR stuff
12055         * gst/gst.c: (init_post):
12056           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12057         * idiottest.mak:
12058           remove, it was condescending and not needed
12059
12060 2005-10-08  Wim Taymans  <wim@fluendo.com>
12061
12062         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12063         (gst_base_sink_handle_object), (gst_base_sink_event),
12064         (gst_base_sink_wait), (gst_base_sink_handle_event),
12065         (gst_base_sink_change_state):
12066         * gst/base/gstbasesink.h:
12067         Repost EOS message while going to PLAYING if still EOS.
12068         Make sure that when receiving a FLUSH_START we don't attempt
12069         to sync on the clock anymore.
12070
12071 2005-10-08  Wim Taymans  <wim@fluendo.com>
12072
12073         * tools/gst-launch.c: (event_loop):
12074         Better message printout.
12075
12076 2005-10-08  Wim Taymans  <wim@fluendo.com>
12077
12078         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12079         (gst_bin_child_proxy_get_children_count):
12080         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12081         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12082         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12083         (gst_child_proxy_set_valist):
12084         * gst/parse/grammar.y:
12085         Make ChildProxy threadsafe and fix mem leaks.
12086
12087 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12088
12089         * gst/gst.c: (init_post):
12090           debug the GST_PLUGIN_ env vars
12091
12092 2005-10-08  Wim Taymans  <wim@fluendo.com>
12093
12094         * check/gst/gstbin.c: (GST_START_TEST):
12095         * check/gst/gstmessage.c: (GST_START_TEST):
12096         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12097         * gst/gstelement.c: (gst_element_commit_state),
12098         (gst_element_lost_state):
12099         * gst/gstmessage.c: (gst_message_new_state_changed),
12100         (gst_message_parse_state_changed):
12101         * gst/gstmessage.h:
12102         * tools/gst-launch.c: (event_loop):
12103         Added extra field to STATE_CHANGE message with the pending
12104         state, which will be different from the new state soon.
12105
12106 2005-10-08  Wim Taymans  <wim@fluendo.com>
12107
12108         * gst/gstbus.c: (gst_bus_pop):
12109         * gst/gstclock.c:
12110         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12111         Small cleanups and doc updates.
12112
12113 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12114
12115         * gst/gst.c: (init_pre):
12116         * gst/gstbin.c: (gst_bin_add_func):
12117           log distributing clocks and base time
12118         * gst/gstregistry.c: (gst_registry_add_plugin),
12119         (gst_registry_scan_path_level), (gst_registry_scan_path):
12120           clean up the debugging output a little
12121         * gst/gstutils.c: (gst_element_state_get_name):
12122           warn about a memleak (I've actually seen this be used, though
12123           it was probably a bug)
12124
12125 2005-10-07  Wim Taymans  <wim@fluendo.com>
12126
12127         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12128         (gst_base_src_init), (gst_base_src_default_newsegment),
12129         (gst_base_src_newsegment), (gst_base_src_do_seek),
12130         (gst_base_src_loop), (gst_base_src_start):
12131         * gst/base/gstbasesrc.h:
12132         Make the newsegment event customizable by subclasses.
12133
12134 2005-10-07  Wim Taymans  <wim@fluendo.com>
12135
12136         * gst/gstevent.c: (gst_event_new_buffersize),
12137         (gst_event_parse_buffersize):
12138         * gst/gstevent.h:
12139         New event for future idea.
12140
12141 2005-10-07  Andy Wingo  <wingo@pobox.com>
12142
12143         * gst/gstelement.c (gst_element_post_message): Doc update.
12144
12145         * docs/gst/gstreamer-sections.txt: Update.
12146
12147         * gst/gstmessage.c (gst_message_new_application): Made into a
12148         function like honest API calls.
12149         (gst_message_new_element): New message type.
12150
12151         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12152
12153         * check/elements/fakesrc.c (test_no_preroll): New check, checks
12154         that setting a live fakesrc to PAUSED returns NO_PREROLL both
12155         times.
12156
12157         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12158         NO_PREROLL from gst_element_change_state to fall through.
12159
12160 2005-10-07  Wim Taymans  <wim@fluendo.com>
12161
12162         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12163         (gst_ghost_pad_do_activate_push):
12164         Activating a ghostpad with no internal pad in push mode
12165         is ok.
12166
12167 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12168
12169         * gst/gstobject.h:
12170           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12171           Fixes compilation on Windows.
12172
12173 2005-10-07  Michael Smith <msmith@fluendo.com>
12174
12175         * tools/gst-inspect.c:
12176           Print out feature and plugin count at the end when printing out
12177           all features.
12178
12179 2005-10-04  Michael Smith <msmith@fluendo.com>
12180
12181         * gst/gsterror.c: (_gst_stream_errors_init):
12182           Add another error string used in a few existing plugins.
12183
12184         * gst/gstplugin.c:
12185         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12186         * tools/gst-inspect.c: (print_element_info):
12187           When a feature disappears from a plugin (and the feature exists in
12188           the cached registry file), things went horribly wrong. This isn't a
12189           complete fix, we should actually be removing the 'missing' features
12190           from the features list when we load the actual plugin. That's not
12191           yet implemented. 
12192
12193 2005-10-04  Johan Dahlin  <johan@gnome.org>
12194
12195         * check/gst/gstiterator.c: (GST_START_TEST):
12196         * gst/gstbin.c: (gst_bin_iterate_elements),
12197         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12198         * gst/gstelement.c: (gst_element_iterate_pads):
12199         * gst/gstformat.c: (gst_format_iterate_definitions):
12200         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12201         (gst_iterator_new_list), (gst_iterator_filter):
12202         * gst/gstiterator.h:
12203         * gst/gstquery.c: (gst_query_type_iterate_definitions):
12204         Add a GType to GstIterator, update callsites and tests.
12205
12206 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12207
12208         * gst/gstpad.c: (gst_pad_event_default_dispatch):
12209           give events a chance to be handled by event probes when the pad
12210           is not linked
12211
12212 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12213
12214         * gst/gstevent.c: (gst_event_type_get_name),
12215         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12216         * gst/gstevent.h:
12217           add string representations for event types
12218
12219 2005-10-06  Wim Taymans  <wim@fluendo.com>
12220
12221         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12222         Don't use NULL pointers.
12223
12224 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12225
12226         * gst/gst_private.h:
12227         * gst/gstbus.c:
12228         * gst/gstelement.c:
12229         * gst/gstinfo.c:
12230         * gst/gstpluginfeature.c:
12231           widen the debug category in output to fit the biggest one we have
12232           add a bus category and use it
12233           play with the colors
12234           fix up some categories
12235
12236 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12237
12238         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12239           add push activation of sink ghost pads.
12240           Andye, please verify
12241
12242 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12243
12244         * gst/gstutils.c: (gst_element_link_pads):
12245           fix a bug in the case where neither element has a pad
12246         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12247           add a test for that case
12248
12249 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12250
12251         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12252           emit have-data before checking for peers.  This allows
12253           for probe handlers to connect elements.  This helps autopluggers.
12254         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12255         (gst_pad_suite):
12256           add six checks, linked/unlinked with no/true/false probe
12257
12258 2005-10-04  Wim Taymans  <wim@fluendo.com>
12259
12260         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12261         (gst_fake_sink_event), (gst_fake_sink_preroll),
12262         (gst_fake_sink_render), (gst_fake_sink_change_state):
12263         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12264         (gst_fake_src_get_property), (gst_fake_src_create),
12265         (gst_fake_src_stop):
12266         * gst/elements/gstidentity.c: (gst_identity_stop):
12267         Protect last_message with lock.
12268
12269 2005-10-04  Edward Hervey  <edward@fluendo.com>
12270
12271         * gst/gstformat.h: 
12272         Added precision in the comments for GST_FORMAT_DEFAULT
12273
12274 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12275
12276         * tools/gst-launch.c: (main):
12277           Don't try to run erroneous pipelines.
12278
12279 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12280
12281         * gst/gstbus.c: We don't need this header.
12282
12283 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * configure.ac:
12286           back to development
12287
12288 === release 0.9.3 ===
12289
12290 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12291
12292         * README:
12293         * configure.ac:
12294           Releasing 0.9.3, "Unregistered"
12295
12296 2005-10-03  Andy Wingo  <wingo@pobox.com>
12297
12298         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12299         whereby calling a pad's activatepush() function can start a thread
12300         that starts to push or pull before the pad gets the FLUSHING flag
12301         unset. Hack around it by holding the stream lock until the flag is
12302         set. Need to replace this with a proper solution. Together with
12303         the ghost pad fixes, this fixes mp3 playing/tagreading.
12304
12305         * docs/design/part-gstghostpad.txt: Add a note about activation of
12306         proxy pads outside of ghost pads.
12307
12308         * gst/gstghostpad.c: Implement the ghost pad activation design.
12309
12310 2005-10-02  Andy Wingo  <wingo@pobox.com>
12311
12312         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12313         It is volatile, after all.
12314
12315         * docs/design/part-gstghostpad.txt: Flesh out activation with
12316         ghost pads.
12317
12318         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12319         GST_DEBUG_FUNCPTR.
12320
12321 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12322
12323         * configure.ac:
12324           Fix (unused) AM_CONDITIONAL tests.
12325
12326 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12327
12328         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12329
12330         * gst/gstutils.c: (gst_pad_query_convert):
12331           Add assertion that makes sure src_val is >=0, just like
12332           gst_query_new_convert() has. (#315895)
12333
12334 2005-09-30  Edward Hervey  <edward@fluendo.com>
12335
12336         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12337         Let's not iterate pads we're not interested in, it avoids getting 
12338         sky-high refcounts on sinkpad.
12339
12340 2005-09-30  Wim Taymans  <wim@fluendo.com>
12341
12342         * gst/gstelement.c: (gst_element_set_state),
12343         (gst_element_change_state):
12344         Small tweak, element in ASYNC remains ASYNC.
12345
12346 2005-09-30  Wim Taymans  <wim@fluendo.com>
12347
12348         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12349         Only error is an error.
12350
12351         * gst/gstbin.c: (gst_bin_change_state):
12352         Better debugging.
12353
12354         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12355         Also call pad_block in pad alloc.
12356
12357         * gst/gstutils.c: (gst_flow_get_name):
12358         Better debugging.
12359
12360 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12361
12362         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12363         (gst_base_src_get_range):
12364           Fix documentation typos. Add some more debug info.
12365
12366 2005-09-29  David Schleef  <ds@schleef.org>
12367
12368         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12369           more end-user friendly.
12370         * tools/gst-inspect.c: (main): Check if command-line argument is
12371           a file and attempt to load that file as a plugin.
12372
12373 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12374
12375         * check/gst/gstbin.c:
12376         * check/states/sinks.c:
12377           fix tests for the new warning
12378         * check/gst/gstpipeline.c:
12379           add a test for pipeline and bus interaction
12380         * gst/gstelement.c:
12381           elements should be NULL if they get disposed; add a warning if not
12382
12383 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12384
12385         * gst/gstobject.c:
12386           for 2.6 refcounting, make debug log more correct by printing
12387           the actual refcounts at the time of swap (Wim)
12388
12389 2005-09-29  Andy Wingo  <wingo@pobox.com>
12390
12391         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12392         removes signal watches previously added via
12393         gst_bus_add_signal_watch.
12394         (gst_bus_add_signal_watch): Don't return the source id, just store
12395         it on the bus if there wasn't an id already.
12396
12397         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12398         add_signal_watch and remove_signal_watch.
12399
12400 2005-09-29  Edward Hervey  <edward@fluendo.com>
12401
12402         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12403         Better if we actually iterate the list :)
12404
12405 2005-09-29  Wim Taymans  <wim@fluendo.com>
12406
12407         * check/gst/gstbin.c: (GST_START_TEST):
12408         Change for new bus API.
12409
12410         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12411         (send_messages), (GST_START_TEST), (gstbus_suite):
12412         Change for new bus signal API.
12413
12414         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12415         (gst_bus_source_prepare), (gst_bus_source_check),
12416         (gst_bus_create_watch), (gst_bus_add_watch_full),
12417         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12418         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12419         * gst/gstbus.h:
12420         Remove support for multiple GSources operating on different
12421         message types as it is too complex and unneeded when using
12422         signals.
12423         Added support for receiving signals from the bus.
12424
12425 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12426
12427         * docs/libs/tmpl/gstdataprotocol.sgml:
12428         * docs/manual/advanced-dataaccess.xml:
12429         * gst/elements/gstcapsfilter.c:
12430         * gst/gstutils.c:
12431           rename filter-caps to caps property
12432
12433 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12434
12435         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12436           More robust fraction string parsing.
12437
12438         * docs/pwg/appendix-porting.xml:
12439           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12440
12441 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12442
12443         * gst/gstcaps.c: (gst_caps_do_simplify):
12444           Thou shalt not free a structure and then continue using it
12445           in the next loop iteration.
12446
12447         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12448         (gst_caps_suite):
12449           Add test case for caps simplification.
12450
12451 2005-09-29  Wim Taymans  <wim@fluendo.com>
12452
12453         * check/gst/gstbin.c: (GST_START_TEST):
12454         Oops.
12455
12456 2005-09-29  Wim Taymans  <wim@fluendo.com>
12457
12458         * check/gst/gstbin.c: (GST_START_TEST):
12459         Add bus to bin.
12460
12461         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12462         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12463         (find_element), (gst_bin_sort_iterator_next),
12464         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12465         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12466         (gst_bin_change_state), (gst_bin_dispose):
12467         A bin does not have a bus, it gets the bus from the parent.
12468
12469         * gst/gstelement.c: (gst_element_requires_clock),
12470         (gst_element_provides_clock), (gst_element_is_indexable),
12471         (gst_element_is_locked_state), (gst_element_change_state),
12472         (gst_element_set_bus_func):
12473         Small cleanups.
12474
12475         * gst/gstpipeline.c: (gst_pipeline_class_init),
12476         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12477         The pipeline provides a bus.
12478
12479 2005-09-28  Johan Dahlin  <johan@gnome.org>
12480
12481         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12482         gst_structure_get_enum instead of gst_structure_get_int
12483
12484         * gst/gststructure.c (gst_structure_get_enum): Impl.
12485
12486         * gst/gststructure.h (gst_structure_get_enum): Add
12487
12488         * docs/gst/gstreamer-sections.txt: Ditto
12489
12490         * gst/gstmessage.c (gst_message_new_state_changed): Use
12491         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12492         which does introspection.
12493         Reviewed by Christian Schaller
12494
12495 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12496
12497         * gst/gstinfo.c: (gst_debug_log_default):
12498           don't do dummy g_strdup()s
12499         * libs/gst/controller/gstcontroller.c:
12500         (on_object_controlled_property_changed),
12501         (gst_controlled_property_new), (gst_controller_new_valist),
12502         (gst_controller_new_list),
12503         (gst_controller_remove_properties_valist), (gst_controller_set),
12504         (gst_controller_get), (gst_controller_sync_values),
12505         (gst_controller_get_value_array), (_gst_controller_class_init),
12506         (gst_controller_get_type):
12507         * libs/gst/controller/gstcontroller.h:
12508         * libs/gst/controller/gstinterpolation.c:
12509         (gst_controlled_property_find_timed_value_node):
12510           convert // to /**/ comments
12511
12512 2005-09-28  Wim Taymans  <wim@fluendo.com>
12513
12514         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12515         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12516         (gst_bus_sync_signal_handler):
12517         * gst/gstbus.h:
12518         Added async-message and sync-message signals to the bus.
12519         Added helper BusFunc to emit signals for all posted messages.
12520
12521         * gst/gstmessage.c: (gst_message_type_get_name),
12522         (gst_message_type_to_quark), (gst_message_get_type):
12523         * gst/gstmessage.h:
12524         Register quarks for message names.
12525
12526 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12527
12528         * docs/libs/gstreamer-libs-sections.txt:
12529         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12530         (gst_controller_new_list):
12531         * libs/gst/controller/gstcontroller.h:
12532           added another constructor for language bindings
12533
12534 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12535
12536         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12537           add another check
12538         * gst/gstbus.c:
12539           add some doc
12540         * gst/gstinfo.c: (_gst_debug_init):
12541           slightly more readable color for refcount debugging
12542
12543 2005-09-28  Wim Taymans  <wim@fluendo.com>
12544
12545         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12546         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12547         (find_element), (gst_bin_sort_iterator_next),
12548         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12549         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12550         (gst_bin_change_state), (gst_bin_dispose):
12551         Small doc fixes. get_clock -> provide_clock.
12552
12553         * gst/gstelement.c: (gst_element_class_init),
12554         (gst_element_provides_clock), (gst_element_provide_clock),
12555         (gst_element_get_clock), (gst_element_commit_state),
12556         (gst_element_lost_state):
12557         * gst/gstelement.h:
12558         Make get/set_clock() symetric. Add provide_clock vmethod since
12559         that is actually what this function does.
12560
12561         * gst/gstpipeline.c: (gst_pipeline_class_init),
12562         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12563         (gst_pipeline_get_clock):
12564         get_clock -> provide_clock.
12565
12566 2005-09-28  Andy Wingo  <wingo@pobox.com>
12567
12568         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12569         lieu of real docs...
12570
12571         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12572
12573 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12574
12575         * gst/elements/gstcapsfilter.c:
12576         * gst/elements/gstfakesink.c:
12577         * gst/elements/gstfakesrc.c:
12578         * gst/elements/gstfdsink.c:
12579         * gst/elements/gstfdsrc.c:
12580         * gst/elements/gstfilesink.c:
12581         * gst/elements/gstfilesrc.c:
12582         * gst/elements/gstidentity.c:
12583         * gst/elements/gsttee.c:
12584         * gst/elements/gsttypefindelement.c:
12585           Make element details static.
12586
12587 2005-09-28  Wim Taymans  <wim@fluendo.com>
12588
12589         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12590         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12591         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12592         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12593         (gst_bin_change_state), (gst_bin_dispose):
12594         Some documentation updates.
12595         Clean up dispose handlers.
12596
12597         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12598         * gst/gstpad.c: (gst_pad_dispose):
12599         Clean up dispose handler.
12600
12601         * gst/gstpipeline.c: (gst_pipeline_change_state):
12602         Removed spurious UNLOCK.
12603
12604 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12605
12606         * docs/gst/gstreamer-sections.txt:
12607         * gst/base/gstbasesrc.h:
12608         * gst/gstelement.h:
12609         * gst/gstevent.h:
12610         * gst/gstobject.h:
12611         * gst/gstpad.h:
12612         * gst/gstpipeline.c:
12613         * gst/gstpipeline.h:
12614         * gst/gstutils.h:
12615         * gst/gstxml.h:
12616           added two new functions to the docs
12617                 documents all undocumented GstXXXFlags
12618                 completed some incomplete docs 
12619
12620 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12621
12622         * gst/gstbin.c: (gst_bin_dispose):
12623         * gst/gstelement.c: (gst_element_dispose):
12624           remove now useless and leaky resurrection code in dispose
12625         * gst/base/gstbasesrc.c: (gst_base_src_init):
12626         * gst/gstelementfactory.c: (gst_element_factory_create):
12627         * gst/gstobject.c: (gst_object_set_parent):
12628           add some debugging
12629
12630 2005-09-27  Wim Taymans  <wim@fluendo.com>
12631
12632         * docs/design/part-TODO.txt:
12633         Update TODO.
12634
12635         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12636         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12637         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12638         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12639         (gst_bin_change_state):
12640         * gst/gstelement.h:
12641         Remove element variable, we keep element info in the iterator now.
12642
12643 2005-09-27  Andy Wingo  <wingo@pobox.com>
12644
12645         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12646         values.
12647
12648 2005-09-27  Wim Taymans  <wim@fluendo.com>
12649
12650         * check/gst/gstbin.c: (GST_START_TEST):
12651         Enable check that works now.
12652
12653         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12654         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12655         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12656         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12657         (gst_bin_change_state):
12658         * gst/gstbin.h:
12659         Redid the state change algorithm using a topological sort algo.
12660         Handles all cases correctly.
12661         Exposed iterator for state change order.
12662
12663         * gst/gstelement.h:
12664         Temp storage for state changes. Need to get rid of this soon.
12665
12666 2005-09-27  Wim Taymans  <wim@fluendo.com>
12667
12668         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12669         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12670         (link_fold_func), (gst_pad_proxy_setcaps):
12671         Leak fixes, the fold functions need to unref the passed object and
12672         _get_parent_*() returns ref to parent.
12673
12674 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12675
12676         * check/gst/gstbuffer.c: (test_make_writable):
12677           Plug leak in test case and fix 'make check-valgrind'
12678
12679 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12680
12681         * gst/gstbuffer.c: (gst_subbuffer_init):
12682           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12683           works correctly in all circumstances (we could have just copied
12684           the parent buffer's readonly flag, but conceptually it seems
12685           cleaner to mark all subbuffers as read-only). (based on patch
12686           by Alessandro Decina, #314710).
12687         
12688         * check/gst/gstbuffer.c: (create_read_only_buffer),
12689         (test_make_writable), (test_subbuffer_make_writable),
12690         (gst_test_suite):
12691           Add some tests for gst_buffer_make_writable().
12692
12693 2005-09-27  Wim Taymans  <wim@fluendo.com>
12694
12695         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12696         use gst_object_has_ancestor().
12697
12698         * gst/gstobject.c: (gst_object_has_ancestor):
12699         * gst/gstobject.h:
12700         gst_object_has_ancestor() copied from gstbin.c as it is a
12701         usefull function.
12702
12703         * tests/instantiate/create.c: (create_all_elements):
12704         * tests/lat.c: (handoff_src), (handoff_sink):
12705         * tests/sched/runxml.c: (main):
12706         * tests/seeking/seeking1.c: (main):
12707         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12708         (main):
12709         Fix compilation of some tests.
12710
12711 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12712
12713         * gst/gsterror.h:
12714           Remove comment. GST_TYPE_G_ERROR is here to stay,
12715           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12716           (#316961, #300610).
12717
12718 2005-09-26  Wim Taymans  <wim@fluendo.com>
12719
12720         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12721         Added check that shows error in state change order.
12722
12723 2005-09-26  Wim Taymans  <wim@fluendo.com>
12724
12725         * gst/gstbin.c: (gst_bin_change_state):
12726         Make state change function use 3 queues again, we were
12727         adding elements in the wrong order.
12728
12729         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12730         Some debug info,
12731
12732         * gst/gstpad.c: (gst_pad_dispose):
12733         Added some debug info first.
12734
12735 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * docs/design/draft-push-pull.txt:
12738         * docs/design/part-events.txt:
12739         * docs/design/part-overview.txt:
12740         * docs/design/part-scheduling.txt:
12741           Replace all _pull_region() with _pull_range()
12742           
12743 2005-09-26  Andy Wingo  <wingo@pobox.com>
12744
12745         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12746
12747         * check/gst-libs/controller.c: Update for controller api change.
12748
12749         * configure.ac: 
12750         * tests/Makefile.am:
12751         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12752         over by GLib bug 118439.
12753         
12754         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12755         routines to a function.
12756
12757         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12758
12759         * libs/gst/controller/gsthelper.c:
12760         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12761         (gst_object_sync_values): Renamed from sink_values. Ugh.
12762
12763         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12764
12765         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12766         Renamed from controller_key, as it is exported.
12767
12768         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12769
12770 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12771
12772         * gst/Makefile.am:
12773         * gst/gst.h:
12774         * gst/gstpad.h:
12775         * gst/gstpadtemplate.h:
12776         * gst/gstquery.c:
12777         * gst/gstquery.h:
12778         * gst/gstqueryutils.c:
12779         * gst/gstqueryutils.h:
12780           remove queryutils headers after moving the two used functions
12781           to gstquery.  also fixes build problem for gstsiddec
12782
12783 2005-09-26  Michael Smith <msmith@fluendo.com>
12784
12785         * tools/gst-launch.1.in:
12786         Correct documentation in manpage of debug syntax
12787
12788 2005-09-26  Wim Taymans  <wim@fluendo.com>
12789
12790         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12791         (gst_base_src_is_seekable), (gst_base_src_change_state):
12792         Some more debugging info.
12793
12794 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12795
12796         * docs/gst/gstreamer-sections.txt:
12797         * gst/base/gstbasetransform.h:
12798         * gst/gstindex.h:
12799           added more docs
12800
12801 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12802
12803         * docs/gst/.cvsignore:
12804         * docs/gst/tmpl/.cvsignore:
12805         * docs/gst/tmpl/gstpipeline.sgml:
12806         * docs/gst/tmpl/gstplugin.sgml:
12807         * gst/gstpipeline.c:
12808         * gst/gstplugin.c:
12809         * gst/gstplugin.h:
12810           inlined the last two docs files
12811           removed the tmpl directory from cvs (no more conflicts here!)
12812
12813 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12814
12815         * docs/gst/gstreamer-sections.txt:
12816         * docs/gst/tmpl/.cvsignore:
12817         * docs/gst/tmpl/gstpad.sgml:
12818         * docs/gst/tmpl/gstpadtemplate.sgml:
12819         * gst/Makefile.am:
12820         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12821         (gst_pad_finalize), (gst_pad_set_pad_template):
12822         * gst/gstpad.h:
12823         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12824         (gst_pad_template_class_init), (gst_pad_template_init),
12825         (gst_pad_template_dispose), (name_is_valid),
12826         (gst_static_pad_template_get), (gst_pad_template_new),
12827         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12828         (gst_pad_template_pad_created):
12829         * gst/gstpadtemplate.h:
12830           inlined two more docs
12831           factored gstpadtemplate out of gstpad
12832
12833 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12834
12835         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12836         (test_children_state_change_order_semi_sink):
12837           Fix test case: we can't rely on a fixed state change order when
12838           going from READY => PAUSED because the sink might commit its 
12839           new state first when the first buffer created by the source 
12840           reaches the sink before the source has finished its change state.
12841           (Test case still fails at times, see #316856, comment 5 onwards)
12842
12843 2005-09-24  Wim Taymans  <wim@fluendo.com>
12844
12845         * docs/design/part-events.txt:
12846         * docs/design/part-gstbus.txt:
12847         * docs/design/part-gstpipeline.txt:
12848         * docs/design/part-messages.txt:
12849         * docs/design/part-overview.txt:
12850         * docs/design/part-segments.txt:
12851         * gst/gstbin.c:
12852         * gst/gstbuffer.c:
12853         * gst/gstclock.c:
12854         * gst/gstelement.c:
12855         * gst/gstevent.c:
12856         * gst/gstfilter.c:
12857         * gst/gstiterator.c:
12858         Various documentation updates.
12859
12860 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12861
12862         * gst/gstclock.h:
12863           Well, that's embarassing.  Luckily we weren't using
12864           GST_CLOCK_DIFF anywhere.
12865
12866 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12867
12868         * common/gtk-doc.mak:
12869           don't fail on building XML, FC4 slave shows a bunch of doc
12870           missing bits that I don't get
12871         * gst/gstpad.c:
12872         * gst/gstpipeline.c:
12873         * gst/gststructure.c:
12874           some doc updates
12875
12876 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12877
12878         * docs/design/part-gstbin.txt:
12879         * docs/design/part-gstbus.txt:
12880         * gst/gstbus.c:
12881           Add blurb about how the bus goes into flushing mode and
12882           drops all messages when its bin goes from READY into NULL 
12883           state.
12884
12885 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12886
12887         * docs/gst/gstreamer-sections.txt:
12888         * gst/gststructure.c: (gst_structure_get_clock_time):
12889         * gst/gststructure.h:
12890           add a method to get a GstClockTime out of a structure
12891
12892 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12895         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12896           Added test to check state change order in bins (can still be made
12897           to fail here under heavy disk load; bails out with 'Push on pad
12898           fakesink:sink0, but it was not activated in push mode').
12899
12900         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12901           Fix state change order when there is only a semi sink (#316856)
12902
12903         * gst/gstbus.c: (gst_bus_class_init):
12904           Use _class_peek_parent(), not _class_ref(); fix docs to say
12905           'default main context' instead of 'mainloop' where that is
12906           what's meant.
12907
12908         * gst/gstelement.c: (gst_element_commit_state),
12909         (gst_element_set_state):
12910           Fix typos in debug messages
12911
12912 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12913
12914         * docs/README:
12915         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12916         * gst/gstpluginfeature.c:
12917         * gst/gstutils.c:
12918           various doc updates
12919         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12920           change an assert into an error until it gets fixed properly
12921
12922 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12923
12924         * docs/gst/gstreamer-sections.txt:
12925         * docs/gst/tmpl/.cvsignore:
12926         * docs/gst/tmpl/gstelement.sgml:
12927         * docs/gst/tmpl/gstinfo.sgml:
12928         * docs/gst/tmpl/gstobject.sgml:
12929         * gst/gstelement.c:
12930         * gst/gstelement.h:
12931         * gst/gstinfo.c:
12932         * gst/gstinfo.h:
12933         * gst/gstobject.c: (gst_object_class_init):
12934         * gst/gstobject.h:
12935           inlined 3 more biiiig doc files and added some missing docs on the fly
12936
12937 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12938
12939         * check/gst/.cvsignore:
12940         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12941         * gst/gstregistryxml.c: (load_plugin),
12942         (gst_registry_xml_save_plugin):
12943           put back source in registry.  add checks for find_plugin.
12944         * testsuite/states/bin.c: (assert_state), (empty_bin),
12945         (test_adding_one_element), (main):
12946         * testsuite/states/locked.c: (main):
12947           some compile/run fixes
12948
12949 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12950
12951         * check/gst/gstvalue.c: (GST_START_TEST):
12952           fix leaks in the test itself
12953
12954 2005-09-22  Wim Taymans  <wim@fluendo.com>
12955
12956         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12957         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12958         (gst_base_sink_query):
12959         Prepare for more accurate position reporting and query
12960         handling.
12961
12962         * gst/gstelement.c: (gst_element_send_event),
12963         (gst_element_set_state):
12964         Add some comment.
12965
12966 2005-09-22  Wim Taymans  <wim@fluendo.com>
12967
12968         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12969         (gst_query_parse_segment):
12970         * gst/gstquery.h:
12971         More documentation.
12972         Add segment query for future use.
12973
12974 2005-09-22  Wim Taymans  <wim@fluendo.com>
12975
12976         * gst/gstbin.c: (gst_bin_add_func):
12977         Some more debug info.
12978
12979         * gst/gstelement.c: (gst_element_send_event):
12980         Simplify send_event
12981
12982         * gst/gstelement.h:
12983         Don't know how flags got broken.
12984
12985         * gst/gstquery.h:
12986         Added new query.
12987
12988 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12989
12990         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12991           Add simplistic test suite for GST_TYPE_DATE serialisation and
12992           deserialisation.
12993
12994 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12995
12996         * docs/gst/gstreamer-sections.txt:
12997         * gst/gststructure.c: (gst_structure_set_valist),
12998         (gst_structure_get_date):
12999         * gst/gststructure.h:
13000         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13001         (gst_date_copy), (gst_value_compare_date),
13002         (gst_value_serialize_date), (gst_value_deserialize_date),
13003         (gst_value_transform_date_string),
13004         (gst_value_transform_string_date), (_gst_value_initialize):
13005         * gst/gstvalue.h:
13006           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13007           bunch of utility functions along with a hack that checks that
13008           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13009           is required. Part of the grand scheme in #170777.
13010
13011 2005-09-22  Andy Wingo  <wingo@pobox.com>
13012
13013         * gst/gstconfig.h.in: Psych out gtk-doc.
13014
13015         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13016
13017         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13018
13019         * tools/gst-inspect.c (print_element_list): Plug some
13020         inconsequential leaks.
13021
13022         * gst/gstregistry.c (gst_registry_get_default): Doc.
13023
13024         * check/gst/gstplugin.c: 
13025         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13026         * gst/gstelementfactory.c (gst_element_factory_create): 
13027         * gst/gstindexfactory.c (gst_index_factory_create): Update for
13028         refcount changes.
13029
13030         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13031         (gst_plugin_feature_load): Doc, don't eat refs.
13032
13033         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13034         (gst_plugin_list_free): Doc.
13035         (gst_plugin_load_file): Doc updates.
13036
13037         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13038         accessors returning refcounted objects, return a ref.
13039
13040         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13041         accessor for caps. IDEMPOTENCE. Oh yes.
13042
13043 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
13044
13045         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13046
13047         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13048         (_gst_debug_register_funcptr):
13049           Add mutex to serialise access to the hash table with
13050           the function pointer => function name string mapping;
13051           make that hash table static scope (#316809).
13052
13053         * gst/registries/.cvsignore:
13054           Remove left-over file.
13055
13056 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13057
13058         * docs/pwg/appendix-porting.xml:
13059           And something about newsegment events and caps-on-buffers to
13060           the porting guide (feel free to improve).
13061
13062 2005-09-21  Andy Wingo  <wingo@pobox.com>
13063
13064         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13065         data and event probes on the same pad.
13066         (test_buffer_probe_once): Test that removing probes from within
13067         the probe functions works.
13068
13069 2005-09-21  Andy Wingo  <wingo@pobox.com>
13070
13071         * check/gst/gstutils.c: New file.
13072         (test_buffer_probe_n_times): A simple buffer probe test. More to
13073         come, foolios.
13074
13075         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13076         have-data::buffer, not have-data.
13077         (gst_pad_add_event_probe): Likewise for have-data::event.
13078         (gst_pad_add_data_probe): More docs. The part about 'resolving the
13079         peer' isn't quite right yet though.
13080         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
13081         (gst_pad_remove_data_probe): Change to take the guint handler_id
13082         as their arg, not the function+data, which is more glib-like.
13083
13084         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13085         the signal emission to indicate if the data is a buffer or an
13086         event.
13087         (gst_pad_get_type): Initialize buffer and event quarks.
13088         (gst_pad_class_init): have-data is now a detailed signal, yes it
13089         is.
13090
13091 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
13092
13093         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13094         * gst/gstutils.c: (gst_util_set_value_from_string),
13095         (gst_util_set_object_arg):
13096           Don't put functional code in g_return_if_fail() or
13097           g_return_val_if_fail() statements, otherwise things will 
13098           break when G_DISABLE_CHECKS is defined during compilation.
13099
13100 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13101
13102         * docs/gst/tmpl/.cvsignore:
13103         * docs/gst/tmpl/gstvalue.sgml:
13104         * gst/gstvalue.c:
13105         * gst/gstvalue.h:
13106           inlied another one and added  some obvious docs
13107
13108 2005-09-21  Wim Taymans  <wim@fluendo.com>
13109
13110         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13111         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13112         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13113         (gst_fdsrc_get_property), (gst_fdsrc_create):
13114         * gst/elements/gstfdsrc.h:
13115         Properly implement fdsrc. Removed signal and timeout,
13116         better implemented somewhere else.
13117
13118 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13119
13120         * docs/gst/tmpl/.cvsignore:
13121         * docs/gst/tmpl/gstimplementsinterface.sgml:
13122         * gst/gstinterface.c:
13123           inlined more docs
13124
13125 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13126
13127         * docs/gst/gstreamer-sections.txt:
13128         * docs/gst/tmpl/.cvsignore:
13129         * docs/gst/tmpl/gstenumtypes.sgml:
13130           remove obsolete doc file
13131
13132 2005-09-21  David Schleef  <ds@schleef.org>
13133
13134         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13135         little beer, fix a little leak.
13136
13137 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
13138
13139         * docs/gst/gstreamer-docs.sgml:
13140         * docs/gst/gstreamer-sections.txt:
13141         * docs/gst/tmpl/.cvsignore:
13142         * gst/Makefile.am:
13143         * gst/gst.h:
13144         * gst/gstbin.c:
13145         * gst/gstelement.h:
13146         * gst/gstindex.c: (gst_index_class_init):
13147         * gst/gstindex.h:
13148         * gst/gstindexfactory.c: (gst_index_factory_get_type),
13149         (gst_index_factory_class_init), (gst_index_factory_init),
13150         (gst_index_factory_finalize), (gst_index_factory_new),
13151         (gst_index_factory_destroy), (gst_index_factory_find),
13152         (gst_index_factory_create), (gst_index_factory_make):
13153         * gst/gstindexfactory.h:
13154         * gst/gstpluginfeature.c:
13155         * gst/gstpluginfeature.h:
13156         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13157           more docs inlined, splitted gstindex.{c,h}
13158
13159 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13160
13161         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13162           fix a leak
13163
13164 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13165
13166         * gst/elements/gstfilesink.c: (gst_file_sink_init):
13167           Set sync to FALSE by default.
13168
13169 2005-09-20  Wim Taymans  <wim@fluendo.com>
13170
13171         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13172         (gst_base_sink_init):
13173         Make sync property settable from subclass.
13174
13175         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13176         (gst_fake_sink_change_state):
13177         Set sync to FALSE by default.
13178
13179 2005-09-20  Wim Taymans  <wim@fluendo.com>
13180
13181         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13182         * tools/gst-launch.c: (main):
13183         The timeout handler should have lower priority than the source
13184         so we don't timeout before popping a message with 0 timeout.
13185         Dump error messages after failed state change.
13186
13187 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
13188
13189         * tools/gst-inspect.c: (print_element_properties_info):
13190           Fix two typos.
13191
13192 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13193
13194         * check/gst/gstevent.c:
13195         * gst/elements/gstfakesink.c:
13196         * gst/elements/gstfakesink.h:
13197           remove the sync property from fakesink.
13198           has the side effect of setting sync TRUE
13199           for fakesink, which is a change.  Anyone who knows how
13200           to fix this nicely in a GObject-y way, feel free.
13201
13202 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13203
13204         * docs/gst/gstreamer-docs.sgml:
13205           remove probe refsection
13206
13207 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13208
13209         * check/Makefile.am:
13210           disable valgrinding the controller test again
13211         * docs/gst/gstreamer-sections.txt:
13212           update for api-changes
13213
13214 2005-09-20  Wim Taymans  <wim@fluendo.com>
13215
13216         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13217         (gst_base_sink_set_property), (gst_base_sink_get_property),
13218         (gst_base_sink_do_sync):
13219         * gst/base/gstbasesink.h:
13220         Added sync property to basesink to disable clock sync.
13221
13222 2005-09-20  Andy Wingo  <wingo@pobox.com>
13223
13224         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13225         eating the caller's refcount.
13226
13227         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
13228         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13229         refcount.
13230
13231         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13232         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13233         of GLib 2.8 public, so we can know which refcount to check in
13234         tests.
13235
13236         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13237         (gst_object_init): Only set the gst refcount if we're going ahead
13238         with the refcount hack.
13239
13240 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13241
13242         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13243         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13244           more leaks plumbed, added more debug-logging
13245         * gst/gstmacros.h:
13246           whitespace fix
13247
13248 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13249
13250         * gst/gstmessage.c:
13251           remove include of gstmemchunk.h
13252
13253 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13254
13255         * gst/gstclock.c: (_gst_clock_id_free):
13256           Commit from the Political Party For More Atomic CVS Commits,
13257           so that people don't waste too much of their day fishing
13258           out obvious leaks out of massive commits.
13259           Oh, and fix a pretty damn obvious leak in the memchunk
13260           removal code.
13261
13262 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
13263
13264         * check/Makefile.am:
13265         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13266           plug mem-leak, re-add to valgrindable tests
13267
13268 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
13269
13270         * gst/gstplugin.h:
13271           unbreak the build for those who have chronic arthritis
13272           and typing "make check" is just too taxing on the hands
13273
13274 2005-09-20  Andy Wingo  <wingo@pobox.com>
13275
13276         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13277         really want it out, you should fix plugins at the same time.
13278
13279 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13280
13281         * configure.ac:
13282         * docs/gst/gstreamer-sections.txt:
13283         * gst/gstobject.c:
13284           added missing symbols to api docs
13285           disable ref-count hack if we have glib >= 2.8
13286
13287 2005-09-19  David Schleef  <ds@schleef.org>
13288
13289         * docs/gst/Makefile.am: Ignore a few more internal headers
13290         * docs/gst/gstreamer-docs.sgml: Remove old sections
13291         * docs/gst/gstreamer-sections.txt: Remove old sections
13292         * docs/gst/tmpl/gstobject.sgml: update
13293         * docs/gst/tmpl/gstplugin.sgml: update
13294         * docs/gst/tmpl/gstpluginfeature.sgml: update
13295         * docs/random/ds/0.9-suggested-changes: update.
13296         * gst/Makefile.am: remove memchunk and trashstack, since they're
13297           not used.
13298         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13299         * gst/gst.h: don't include some headers
13300         * gst/gstchildproxy.c: add gstmarshal.h
13301         * gst/gstclock.c: Don't use memchunks
13302         * gst/gstminiobject.c: Add some docs
13303         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13304         * gst/gstobject.h: same
13305         * gst/gstplugin.c: include gstmacros.h
13306         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13307         * gst/gstquery.c: don't use memchunks
13308         * gst/gstregistry.c: rename gst_registry_deinit()
13309         * gst/gstregistry.h: same
13310
13311 2005-09-19  David Schleef  <ds@schleef.org>
13312
13313         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13314         * docs/libs/gstreamer-libs-sections.txt:
13315         * docs/libs/tmpl/gstgetbits.sgml:
13316         * docs/libs/tmpl/gstputbits.sgml:
13317
13318 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13319
13320         * win32/gstenumtypes.c:
13321         * win32/gstenumtypes.h:
13322           Update.
13323
13324 2005-09-19  Wim Taymans  <wim@fluendo.com>
13325
13326         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13327         Automatically PAUSE and RESUME a pipeline when a flushing seek
13328         is performed.
13329
13330 2005-09-19  Andy Wingo  <wingo@pobox.com>
13331
13332         * gst/gstregistry.h: Spacing fixen.
13333
13334 2005-09-19  Wim Taymans  <wim@fluendo.com>
13335
13336         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13337         Handle state change failure more correctly.
13338
13339 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13340
13341         * check/Makefile.am:
13342         * check/pipelines/cleanup.c: (run_pipeline):
13343         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13344         (GST_START_TEST):
13345           enable cleanup again after fixing the leak
13346         * docs/README:
13347           some more info on docs
13348
13349 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13350
13351         * check/Makefile.am:
13352           re-enable tests now that leaks are plugged
13353         * check/gst/gst.c:
13354         * check/gst/gstbin.c:
13355         * check/gst/gstpipeline.c:
13356           add some more tests while fixing leaks
13357         * common/check.mak:
13358           make sure binaries are uptodate when valgrinding/gdbing
13359         * gst/gst.c:
13360         * gst/gstelementfactory.c:
13361           remove a ref too many, and add a FIXME for when we get
13362           round to disposing of classes
13363         * gst/gstplugin.c:
13364           fix the refcounting when loading a plugin from a file and
13365           the code pretends that the pointer is the same even though
13366           of course it can change
13367         * gst/gstpluginfeature.c:
13368           unref plugins marked cached (a bit confusing as a name)
13369           as the docs state should be done
13370           various doc additions to explain refcounting
13371         * gst/gstregistry.c:
13372         * gst/gstregistryxml.c:
13373           debugging
13374
13375 2005-09-19  Wim Taymans  <wim@fluendo.com>
13376
13377         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13378         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13379         (send_messages), (GST_START_TEST), (gstbus_suite):
13380         * check/gst/gstpipeline.c: (GST_START_TEST):
13381         * check/pipelines/cleanup.c: (run_pipeline):
13382         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13383         (GST_START_TEST):
13384         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13385         (gst_bus_source_check), (gst_bus_source_dispatch),
13386         (gst_bus_create_watch), (gst_bus_add_watch_full),
13387         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13388         * gst/gstbus.h:
13389         * tools/gst-launch.c: (event_loop):
13390         * tools/gst-md5sum.c: (event_loop):
13391         GstBusHandler -> GstBusFunc, return value has the same meaning as
13392         any other GSource (FALSE == remove source).
13393         _add_watch() and _add_watch_full() now take a MessageType mask to
13394         only handle specific types of messages.
13395         _poll() returns the GstMessage instead of the message type to avoid
13396         race conditions.
13397         _have_pending() takes a MessageType mask now too.
13398         Added testsuite for multiple bus watches.
13399         Fix testsuites and applications for new bus API.
13400
13401 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13402
13403         * check/Makefile.am:
13404           mark a bunch of the tests as to fix until we fix them
13405
13406 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13407
13408         * common/check.mak:
13409           use GST_PLUGIN settings for valgrind tests as well, so we're
13410           valgrinding the correct thing
13411         * gst/gst.c: (init_post):
13412           plug another leak
13413
13414 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13415
13416         * gst/gst.c: (init_post), (gst_deinit):
13417         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13418         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13419         * gst/gstindex.c: (gst_index_factory_class_init),
13420         (gst_index_factory_finalize):
13421         * gst/gstobject.c: (gst_object_dispose):
13422         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13423         (gst_plugin_load_file), (gst_plugin_desc_free):
13424         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13425         (gst_plugin_feature_finalize):
13426         * gst/gstregistry.c: (gst_registry_class_init),
13427         (gst_registry_init), (gst_registry_finalize),
13428         (gst_registry_get_default), (gst_registry_deinit):
13429         * gst/gstregistry.h:
13430         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13431           various cleanups and memleak plugging.  make valgrind is happy now.
13432
13433 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * common/check.mak:
13436           add a check-valgrind target
13437
13438 2005-09-18  David Schleef  <ds@schleef.org>
13439
13440         * tools/gst-inspect.c: Revert the GOption code.
13441
13442 2005-09-17  David Schleef  <ds@schleef.org>
13443
13444         * check/Makefile.am: Fix environment variables.
13445         * check/gst/gstplugin.c: Fix for API changes.
13446         * tools/gst-inspect.c: Fix for API changes.
13447         * tools/gst-xmlinspect.c: Fix for API changes.
13448         * gst/gstelementfactory.c:
13449         * gst/gstplugin.c:
13450         * gst/gstplugin.h:
13451         * gst/gstpluginfeature.c:
13452         * gst/gstpluginfeature.h:
13453         * gst/gstregistry.c:
13454         * gst/gstregistry.h:
13455         * gst/gstregistryxml.c:
13456         * gst/gsttypefind.c:
13457         * gst/gsttypefindfactory.c:
13458         * gst/indexers/gstfileindex.c:
13459         * gst/indexers/gstmemindex.c:
13460         * gst/schedulers/Makefile.am:
13461           Change registry to keep track of both plugins and features,
13462           removing the feature tracking from plugins themselves.
13463
13464 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13465
13466         * check/Makefile.am:
13467         * tools/gst-register.1.in:
13468           remove gst-register
13469
13470 2005-09-15  David Schleef  <ds@schleef.org>
13471
13472         * check/gst/gstplugin.c:
13473         * gst/gstelementfactory.c:
13474         * gst/gstplugin.c:
13475         * gst/gstpluginfeature.c:
13476         * gst/gstregistry.c:
13477           Getting tired of debugging.  Disabled all the unreffing of
13478           plugins and features, which fixes the segfaults, but of
13479           course leaks like crazy.  At least playbin works.
13480
13481 2005-09-15  David Schleef  <ds@schleef.org>
13482
13483         * check/gst/gstplugin.c: (register_check_elements),
13484         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13485         More testing
13486         * gst/elements/gsttypefindelement.c: Fix refcounting.
13487         * gst/gsttypefind.c:
13488         * gst/gsttypefindfactory.c:
13489         * gst/gsttypefindfactory.h:
13490
13491 2005-09-15  David Schleef  <ds@schleef.org>
13492
13493         * gst/gstindex.c: get refcounting correct.
13494         * gst/gstregistry.c: Handle the case where a feature/plugin is
13495           not found.
13496
13497 2005-09-15  David Schleef  <ds@schleef.org>
13498
13499         * check/Makefile.am:
13500         * check/gst/gstplugin.c: Add test
13501         * gst/gstplugin.c: Fix problems noticed by testsuite
13502         * gst/gstplugin.h:
13503         * gst/gstregistry.c: 
13504         * gst/gstregistry.h:
13505
13506 2005-09-15  David Schleef  <ds@schleef.org>
13507
13508         * gst/gstplugin.c: Implement semi-decent recounting and locking
13509           in plugins and plugin features.
13510         * gst/gstplugin.h:
13511         * gst/gstpluginfeature.c:
13512         * gst/gstpluginfeature.h:
13513         * gst/gstregistry.c:
13514
13515 2005-09-15  Michael Smith <msmith@fluendo.com>
13516
13517         * gst/gstregistry.c: (gst_registry_get_feature_list):
13518           Implement this. Makes oggdemux work; decodebin still broken.
13519
13520 2005-09-14  David Schleef  <ds@schleef.org>
13521
13522         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13523           #316076)
13524         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13525         * gst/check/Makefile.am:
13526         * libs/gst/controller/Makefile.am:
13527         * libs/gst/dataprotocol/Makefile.am:
13528
13529 2005-09-14  David Schleef  <ds@schleef.org>
13530
13531         * configure.ac: Remove getbits library.  Nothing uses it, and
13532           it should be in something like liboil if someone did want
13533           to use it.
13534         * libs/gst/Makefile.am:
13535         * libs/gst/getbits/Makefile.am:
13536         * libs/gst/getbits/gbtest.c:
13537         * libs/gst/getbits/getbits.c:
13538         * libs/gst/getbits/getbits.h:
13539         * libs/gst/getbits/gstgetbits_generic.c:
13540         * libs/gst/getbits/gstgetbits_i386.s:
13541         * libs/gst/getbits/gstgetbits_inl.h:
13542
13543 2005-09-14  David Schleef  <ds@schleef.org>
13544
13545         * gst/Makefile.am: Dist glib-compat.h
13546
13547 2005-09-14  David Schleef  <ds@schleef.org>
13548
13549         * configure.ac: Remove gst/registries, since it's no longer used.
13550         * gst/registries/Makefile.am:
13551         * gst/registries/gstlibxmlregistry.c:
13552         * gst/registries/gstlibxmlregistry.h:
13553         * gst/registries/gstxmlregistry.c:
13554         * gst/registries/gstxmlregistry.h:
13555         * gst/registries/registrytest.c:
13556
13557 2005-09-14  David Schleef  <ds@schleef.org>
13558
13559         * gst/glib-compat.h:
13560         * gst/gstregistryxml.c:
13561           Convergence is near.  Seriously.
13562
13563 2005-09-14  David Schleef  <ds@schleef.org>
13564
13565         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13566         * gst/glib-compat.h:
13567           Attempt #4 to appease the buildbots.
13568
13569 2005-09-14  David Schleef  <ds@schleef.org>
13570
13571         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13572           Attempt #3.
13573
13574 2005-09-14  David Schleef  <ds@schleef.org>
13575
13576         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13577         Attempt #2.
13578
13579 2005-09-14  David Schleef  <ds@schleef.org>
13580
13581         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13582           the new functions.
13583
13584 2005-09-14  David Schleef  <ds@schleef.org>
13585
13586         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13587         * gst/glib-compat.h: Add some functions that are in newer versions
13588           of glib than we care to require.
13589         * gst/gstregistryxml.c: Use them.
13590
13591 2005-09-14  David Schleef  <ds@schleef.org>
13592
13593         * po/POTFILES.in: remove gst-register.c
13594
13595 2005-09-14  David Schleef  <ds@schleef.org>
13596
13597         * docs/gst/gstreamer-docs.sgml:
13598         * docs/gst/gstreamer-sections.txt:
13599         * docs/gst/gstreamer.types:
13600         * docs/gst/tmpl/gstelement.sgml:
13601         * docs/gst/tmpl/gstplugin.sgml:
13602         * docs/gst/tmpl/gstpluginfeature.sgml:
13603           Documentation updates for registry changes.
13604
13605 2005-09-14  David Schleef  <ds@schleef.org>
13606
13607         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13608           because we don't require glib-2.8.
13609
13610 2005-09-14  David Schleef  <ds@schleef.org>
13611
13612         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13613           registries directory.
13614
13615 2005-09-14  David Schleef  <ds@schleef.org>
13616
13617         * check/Makefile.am:
13618         * check/generic/states.c:
13619         * gst/Makefile.am:
13620         * gst/gst.c:
13621         * gst/gst.h:
13622         * gst/gst_private.h:
13623         * gst/gstelementfactory.c:
13624         * gst/gstindex.c:
13625         * gst/gstinfo.c:
13626         * gst/gstplugin.c:
13627         * gst/gstplugin.h:
13628         * gst/gstpluginfeature.c:
13629         * gst/gstpluginfeature.h:
13630         * gst/gstregistry.c:
13631         * gst/gstregistry.h:
13632         * gst/gstregistrypool.c: remove
13633         * gst/gstregistrypool.h: remove
13634         * gst/gsttypefind.c:
13635         * gst/gsttypefindfactory.c:
13636         * gst/gsturi.c:
13637         * tools/Makefile.am:
13638         * tools/gst-compprep.c:
13639         * tools/gst-inspect.c:
13640         * tools/gst-register.c: remove
13641         * tools/gst-xmlinspect.c:
13642           Registry rewrite.  Changes registry from being a file created
13643           by a tool into a simple cache file created automatically by 
13644           libgstreamer.  Removed gst-register (because it's no longer
13645           needed).  Remove registry pools, because we only have one
13646           registry implementation (XML).  Fix up other subsystems as
13647           necessary.
13648
13649 2005-09-13  Michael Smith <msmith@fluendo.com>
13650
13651         * gst/gstconfig.h.in:
13652           Don't Use windows linking attributes for MinGW. Fixes #316157
13653
13654 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13655
13656         * gst/gstutils.c: (set_state_async_thread_func),
13657         (gst_element_set_state_async):
13658           Apparently people think it's better if this function doesn't
13659           try to set the state to whatever state was asked for on the first
13660           call to this function for any object.  Seriously.
13661
13662 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         * check/gst/gstpipeline.c: (GST_START_TEST):
13665         * docs/gst/gstreamer-sections.txt:
13666         * gst/gstutils.c: (set_state_async_thread_func),
13667         (gst_element_set_state_async):
13668         * gst/gstutils.h:
13669           add a "gst_element_set_state_async" method that
13670           sets the state and starts a thread to make sure the state
13671           change completes as best as it can
13672
13673 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13674
13675         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13676           codify design+behaviour in testsuite after discussion
13677
13678 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13679
13680         * docs/gst/tmpl/gstelement.sgml:
13681         * docs/manual/appendix-quotes.xml:
13682           add a quote
13683         * gst/gstelement.c: (gst_element_set_state):
13684           add some debug
13685
13686 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13687
13688         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13689         (gst_base_transform_prepare_output_buf),
13690         (gst_base_transform_handle_buffer):
13691         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13692         (gst_capsfilter_prepare_buf):
13693           Remove the requirement for sub-classes to call the parent
13694           implementation of prepare_output_buffer with a wrapper function.
13695           
13696         * gst/gsttaglist.h:
13697         * gst/gsttagsetter.h:
13698           Fix #define wrapper
13699
13700 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13701
13702         * docs/gst/gstreamer-sections.txt:
13703           more doc cleanups
13704
13705 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13706
13707         * docs/gst/gstreamer-sections.txt:
13708         * docs/gst/tmpl/gstelement.sgml:
13709         * docs/gst/tmpl/gstplugin.sgml:
13710         * gst/gstminiobject.c:
13711         * gst/gstvalue.h:
13712           docs now stop throwing warnings
13713
13714 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13715
13716         * docs/gst/gstreamer-sections.txt:
13717         * docs/gst/gstreamer.types:
13718         * docs/gst/tmpl/gstpad.sgml:
13719         * docs/gst/tmpl/gsttypes.sgml:
13720         * gst/base/gstadapter.h:
13721         * gst/base/gstbasesink.h:
13722         * gst/base/gstbasesrc.h:
13723         * gst/gstbin.h:
13724         * gst/gstbuffer.h:
13725         * gst/gstbus.h:
13726         * gst/gstcaps.h:
13727         * gst/gstclock.h:
13728         * gst/gstelement.h:
13729         * gst/gstevent.h:
13730         * gst/gstmessage.h:
13731         * gst/gstpad.h:
13732         * gst/gststructure.c:
13733         * gst/registries/gstlibxmlregistry.h:
13734           various documentation fixes
13735
13736 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * docs/gst/gstreamer-sections.txt:
13739         * docs/gst/tmpl/gstvalue.sgml:
13740           rearrange gstvalue section
13741         * gst/gstutils.c: (gst_element_state_get_name):
13742           NONE -> VOID
13743         * gst/gstvalue.c: (_gst_value_initialize):
13744         * gst/gstvalue.h:
13745           doc updates
13746
13747 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13748
13749         * check/gst-libs/controller.c:
13750           Header include fix.
13751         * gst/base/gstbasetransform.c:
13752         (gst_base_transform_default_prepare_buf),
13753         (gst_base_transform_handle_buffer):
13754         * gst/base/gstbasetransform.h:
13755           Some more basetransform changes and fixes to enable sub-classes
13756           that modify buffer metadata only.
13757         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13758         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13759         (gst_capsfilter_prepare_buf):
13760           If the output pad has fixed allowed caps and input buffers 
13761           don't have any, set the fixed caps on outgoing buffers.
13762
13763 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13764         * check/elements/identity.c: (GST_START_TEST):
13765           Make the error a little clearer when the test fails because
13766           identity made a copy of the buffer.
13767         * docs/gst/gstreamer-sections.txt:
13768           New symbols in gstbasetransform.h
13769         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13770         (gst_base_transform_init), (gst_base_transform_transform_size),
13771         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13772         (gst_base_transform_default_prepare_buf),
13773         (gst_base_transform_get_unit_size),
13774         (gst_base_transform_buffer_alloc),
13775         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13776         (gst_base_transform_change_state),
13777         (gst_base_transform_set_passthrough),
13778         (gst_base_transform_set_in_place),
13779         (gst_base_transform_is_in_place):
13780         * gst/base/gstbasetransform.h:
13781           Change BaseTransform to separate in_place operate from same_caps
13782           output. in_place implies that the element can perform the transform
13783           on incoming buffers in-place, even if the caps on the output are
13784           different.
13785           Sub-class elements can now implement special buffer allocation
13786           methods for outgoing buffers if they wish to.
13787           Big documentation addition.
13788         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13789         * gst/elements/gstelements.c:
13790           Changes for basetransform modifications.
13791         * gst/elements/Makefile.am:
13792         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13793           Compile fix. Extra debug output.
13794
13795 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13796
13797         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13798         (gst_pad_suite):
13799           add tests for valid pad naming
13800         * gst/check/gstcheck.c: (gst_check_log_message_func),
13801         (gst_check_log_critical_func):
13802           add ASSERT_WARNING
13803           remove printing of code, it is fragile when the code contains
13804           % and the line number is enough info
13805         * gst/check/gstcheck.h:
13806         * gst/gstpad.c: (gst_pad_template_new):
13807           fix memleaks
13808
13809 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13810
13811         * configure.ac:
13812           say what CHECK flags we use
13813         * docs/libs/gstreamer-libs.types:
13814         * libs/gst/controller/Makefile.am:
13815         * libs/gst/controller/gst-controller.c:
13816         * libs/gst/controller/gst-controller.h:
13817         * libs/gst/controller/gst-helper.c:
13818         * libs/gst/controller/gst-interpolation.c:
13819         * libs/gst/controller/gstcontroller.c:
13820         * libs/gst/controller/gsthelper.c:
13821         * libs/gst/controller/gstinterpolation.c:
13822         * tools/gst-inspect.c: (print_plugin_info):
13823           we don't use dashes in header names
13824
13825 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13826
13827         * check/Makefile.am:
13828         * check/gst/.cvsignore:
13829         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13830         (gst_pipeline_suite), (main):
13831           adding a test for pipelines and state changes
13832         * gst/gstutils.c: (get_state_func):
13833           add some debugging
13834         * gstreamer.spec.in:
13835           fix up spec file
13836
13837 2005-09-08  Michael Smith <msmith@fluendo.com>
13838
13839         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13840         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13841         (gst_file_src_is_seekable), (gst_file_src_get_size),
13842         (gst_file_src_start):
13843         * gst/elements/gstfilesrc.h:
13844           Various fixes for unseekable, unmmapable, and non-normal files, so
13845           that fallback to read() rather than mmap() works.
13846         * gst/gstevent.c: (gst_event_new_newsegment):
13847           Allow newsegment events with segment_start == segment_end, as will
13848           correctly happen if you use filesrc on a zero-size file, for
13849           example.
13850
13851 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13852
13853         * gst/gstplugin.c: (gst_plugin_load_file):
13854           Call g_module_close when we don't load the module
13855
13856         * gst/registries/gstlibxmlregistry.c:
13857         (gst_xml_registry_get_property):
13858           Port leak fix from 0.8
13859
13860 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13861
13862         * docs/gst/gstreamer-docs.sgml:
13863         * docs/gst/tmpl/.cvsignore:
13864         * docs/gst/tmpl/gsttrace.sgml:
13865         * docs/gst/tmpl/gsttrashstack.sgml:
13866         * gst/Makefile.am:
13867         * gst/gst.h:
13868         * gst/gstelement.h:
13869         * gst/gstevent.h:
13870         * gst/gstmessage.c:
13871         * gst/gstmessage.h:
13872         * gst/gsttag.c:
13873         * gst/gsttag.h:
13874         * gst/gsttaginterface.c:
13875         * gst/gsttaginterface.h:
13876         * gst/gsttaglist.c:
13877         * gst/gsttaglist.h:
13878         * gst/gsttagsetter.c:
13879         * gst/gsttagsetter.h:
13880         * gst/gsttrace.c:
13881         * gst/gsttrace.h:
13882         * gst/gsttrashstack.c:
13883           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13884           inlined docs for gsttrace, gsttrashstack
13885
13886 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13887
13888         * gst/Makefile.am:
13889         * gst/elements/gstbufferstore.h:
13890         * gst/elements/gsttypefindelement.c:
13891         * gst/elements/gsttypefindelement.h:
13892         * gst/gst.h:
13893         * gst/gsttypefind.c:
13894         * gst/gsttypefind.h:
13895         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13896         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13897         (gst_type_find_factory_dispose),
13898         (gst_type_find_factory_unload_thyself),
13899         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13900         (gst_type_find_factory_get_caps),
13901         (gst_type_find_factory_get_extensions),
13902         (gst_type_find_factory_call_function):
13903         * gst/gsttypefindfactory.h:
13904         * gst/registries/gstlibxmlregistry.c:
13905         * gst/registries/gstxmlregistry.c:
13906           splitted gsttypefind into gsttypefind, gsttypefindfactory
13907
13908 2005-09-07  Andy Wingo  <wingo@pobox.com>
13909
13910         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13911         condition whereby the pad's task function is entered before the
13912         pad_mode variable was set.
13913
13914 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13915
13916         * gst/gstpad.c: (gst_pad_alloc_buffer):
13917           Catch misbehaving pad_alloc functions that don't
13918           set up caps and do it for them.
13919
13920 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13921
13922         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13923           test for pipe!=NULL
13924         * docs/gst/tmpl/.cvsignore:
13925         * docs/gst/tmpl/gstmemchunk.sgml:
13926         * docs/gst/tmpl/gstparse.sgml:
13927         * docs/gst/tmpl/gsttaglist.sgml:
13928         * docs/gst/tmpl/gsttagsetter.sgml:
13929         * docs/gst/tmpl/gsttypefind.sgml:
13930         * docs/gst/tmpl/gsttypefindfactory.sgml:
13931         * gst/gstmemchunk.c:
13932         * gst/gstparse.c:
13933         * gst/gsttag.c:
13934         * gst/gsttaginterface.c:
13935         * gst/gsttypefind.c:
13936         * gst/gsttypefind.h:
13937           inlined more docs
13938
13939 === release 0.9.2 ===
13940
13941 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13942
13943         * NEWS:
13944         * RELEASE:
13945         * configure.ac:
13946           releasing 0.9.2, "South"
13947
13948 2005-09-05  Andy Wingo  <wingo@pobox.com>
13949
13950         * gst/registries/gstxmlregistry.h:
13951         * gst/registries/gstxmlregistry.c: Um... resurrect...
13952         
13953         * gst/registries/gstxmlregistry.h:
13954         * gst/registries/gstxmlregistry.c: and update to newer API.
13955         Incidentally they should be a bit faster now that they don't have
13956         to parse the caps.
13957         
13958 2005-09-05  Andy Wingo  <wingo@pobox.com>
13959
13960         * gst/registries/gstxmlregistry.h:
13961         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13962         replaced by the libxml registry a while back
13963
13964 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13965
13966         * docs/gst/tmpl/gstplugin.sgml:
13967         * gst/elements/gstelements.c:
13968         * gst/gst.c:
13969         * gst/gstplugin.c: (gst_plugin_register_func),
13970         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13971         (gst_plugin_get_source):
13972         * gst/gstplugin.h:
13973         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13974         (gst_xml_registry_save_plugin):
13975         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13976         (gst_xml_registry_save_plugin):
13977         * tools/gst-inspect.c: (print_plugin_info):
13978           add a "source" plugin description field, to represent the source
13979           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13980           will set it to PACKAGE, which is automake's idea of the name of
13981           the source project.
13982
13983 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13984
13985         * Makefile.am:
13986         * autogen.sh:
13987         * configure.ac:
13988         * docs/Makefile.am:
13989         * docs/faq/Makefile.am:
13990         * docs/gst/tmpl/gstelement.sgml:
13991         * docs/gst/tmpl/gsttypes.sgml:
13992         * docs/htmlinstall.mak:
13993         * docs/manual/Makefile.am:
13994         * docs/pwg/Makefile.am:
13995           reorganize doc build a little
13996           split out docbook and gtk-doc stuff
13997           have two separate --enable's and enable them through autogen
13998           but disable by default in configure (to be similar to other
13999           projects)
14000         * gstreamer.spec.in:
14001           clean up docs install
14002         * po/af.po:
14003         * po/az.po:
14004         * po/ca.po:
14005         * po/cs.po:
14006         * po/de.po:
14007         * po/en_GB.po:
14008         * po/fr.po:
14009         * po/it.po:
14010         * po/nb.po:
14011         * po/nl.po:
14012         * po/ru.po:
14013         * po/sq.po:
14014         * po/sr.po:
14015         * po/sv.po:
14016         * po/tr.po:
14017         * po/uk.po:
14018         * po/vi.po:
14019           translation updates
14020
14021 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
14022
14023         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14024           Add comment.
14025           
14026         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14027         (gst_fake_sink_change_state):
14028           Make state change function thread-safe.
14029           
14030         * gst/gstpad.c: (gst_pad_alloc_buffer):
14031           Set offset on generic buffer allocated by fallback.
14032
14033 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
14034
14035         * docs/gst/gstreamer-sections.txt:
14036         * docs/gst/tmpl/gstelement.sgml:
14037         * gst/gstpad.c:
14038         * libs/gst/controller/gst-controller.c:
14039         (gst_controlled_property_set_interpolation_mode),
14040         (gst_controlled_property_new),
14041         (gst_controller_find_controlled_property):
14042          run the wingo-magic script against the docs
14043
14044 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14045
14046         * docs/gst/gstreamer-docs.sgml:
14047         * docs/gst/gstreamer-sections.txt:
14048         * docs/gst/tmpl/.cvsignore:
14049         * docs/gst/tmpl/gstelementdetails.sgml:
14050         * docs/gst/tmpl/gstelementfactory.sgml:
14051         * gst/gst.c:
14052         * gst/gstbus.c:
14053         * gst/gstelementfactory.c:
14054         * gst/gstelementfactory.h:
14055           merged elementdetails docs into elementfactory docs
14056           inlined both
14057
14058 2005-09-02  Andy Wingo  <wingo@pobox.com>
14059
14060         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14061         consider this enum an enum and not a flags.
14062
14063 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
14064
14065         * docs/gst/gstreamer-docs.sgml:
14066         * docs/gst/tmpl/.cvsignore:
14067         * docs/gst/tmpl/gstghostpad.sgml:
14068         * docs/gst/tmpl/gstiterator.sgml:
14069         * docs/gst/tmpl/gstmacros.sgml:
14070         * docs/gst/tmpl/gstrealpad.sgml:
14071         * docs/gst/tmpl/gstregistry.sgml:
14072         * docs/gst/tmpl/gstregistrypool.sgml:
14073         * docs/gst/tmpl/gststructure.sgml:
14074         * docs/gst/tmpl/gstsystemclock.sgml:
14075         * docs/gst/tmpl/gsttrace.sgml:
14076         * gst/gstghostpad.c:
14077         * gst/gstmacros.h:
14078         * gst/gstmemchunk.c:
14079         * gst/gstmemchunk.h:
14080         * gst/gstqueue.c:
14081         * gst/gstregistry.c:
14082         * gst/gstregistrypool.c:
14083         * gst/gststructure.c:
14084         * gst/gstsystemclock.c:
14085           more docs inlined
14086
14087 2005-09-02  Andy Wingo  <wingo@pobox.com>
14088
14089         * gst/gstelement.h (GstState): Renamed from GstElementState,
14090         changed to be a normal enum instead of flags.
14091         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14092         munged to be GST_STATE_CHANGE_*.
14093         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14094         work with the new state representation.
14095         (GstStateChange): New enumeration of possible state transitions.
14096         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14097         (GstElementClass::change_state): Pass the GstStateChange along as
14098         an argument. Helps language bindings, so they don't have to use
14099         tricky lock-needing macros like GST_STATE_CHANGE ().
14100
14101         * scripts/update-states (file): New script. Run it on a file to
14102         update it for state naming and API changes. Updates files in
14103         place.
14104
14105         * All files updated for the new API.
14106
14107 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
14108
14109         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14110         * gst/gstutils.c: (gst_util_set_value_from_string),
14111         (gst_util_set_object_arg):
14112           fix a bunch of unchecked return values
14113         * tools/gst-complete.c: (main):
14114         * gstreamer.spec.in:
14115           clean up a little
14116
14117 2005-09-01  Wim Taymans  <wim@fluendo.com>
14118
14119         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14120         (gst_base_sink_event), (gst_base_sink_do_sync),
14121         (gst_base_sink_handle_event):
14122         * gst/base/gstbasesink.h:
14123         Handle newsegments more correctly.
14124
14125         * gst/gstbus.c:
14126         Fix docs.
14127
14128         * gst/gstevent.c: (gst_event_new_newsegment):
14129         A newsegment cannot have a start_time of -1
14130
14131 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
14132
14133         * win32/gstenumtypes.c:
14134         * win32/gstenumtypes.h:
14135           Update
14136
14137 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14138
14139         * libs/gst/controller/gst-controller.c:
14140         (gst_controlled_property_set_interpolation_mode),
14141         (gst_controlled_property_new):
14142          fixed boolean again
14143
14144 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
14145
14146         * docs/faq/gst-uninstalled:
14147           add -good
14148         * gst/gstevent.c:
14149         * gst/gstevent.h:
14150           remove wrong docs
14151         * gst/gstutils.c: (gst_element_link_filtered):
14152         * gst/gstutils.h:
14153           add gst_element_link_filtered
14154
14155 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14156
14157         * docs/gst/gstreamer-docs.sgml:
14158         * docs/gst/gstreamer-sections.txt:
14159         * docs/gst/tmpl/.cvsignore:
14160         * docs/gst/tmpl/gsterror.sgml:
14161         * docs/gst/tmpl/gstfilter.sgml:
14162         * docs/gst/tmpl/gsturihandler.sgml:
14163         * docs/gst/tmpl/gsturitype.sgml:
14164         * docs/gst/tmpl/gstutils.sgml:
14165         * docs/gst/tmpl/gstxml.sgml:
14166         * gst/gsterror.c:
14167         * gst/gsterror.h:
14168         * gst/gstfilter.c:
14169         * gst/gsturi.c:
14170         * gst/gsturitype.c:
14171         * gst/gstutils.c:
14172         * gst/gstxml.c:
14173           inlined more docs, fixed double id-ref
14174
14175 2005-08-31  Wim Taymans  <wim@fluendo.com>
14176
14177         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14178         (gst_base_transform_handle_buffer):
14179         Passthrough elements don't need the caps as they don't care.
14180
14181 2005-08-31  Wim Taymans  <wim@fluendo.com>
14182
14183         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14184         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14185         Don't leak refcounts on buffers.
14186
14187 2005-08-31  Wim Taymans  <wim@fluendo.com>
14188
14189         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14190         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14191         (gst_base_transform_chain), (gst_base_transform_change_state):
14192         * gst/base/gstbasetransform.h:
14193         Handle the case where we are not negotiated more gracefully.
14194
14195 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
14196
14197         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14198         (gst_file_src_map_region):
14199           Set READONLY flag on mmap'ed buffers, otherwise
14200           gst_buffer_make_writable() won't work properly (#314708).
14201
14202 2005-08-31  Wim Taymans  <wim@fluendo.com>
14203
14204         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14205         passthrough elements can even do inplace on non writable
14206         buffers (as they don't touch them).
14207
14208 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
14209
14210         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14211         (gst_test_mono_source_set_property),
14212         (gst_test_mono_source_class_init), (GST_START_TEST),
14213         (gst_controller_suite):
14214           more tests (hehe I have the most)
14215         * gst/gstbus.c:
14216           describe popping messages whenusing mulltiple sources
14217         * libs/gst/controller/gst-controller.c:
14218         (gst_controlled_property_set_interpolation_mode),
14219         (gst_controlled_property_new):
14220         * libs/gst/controller/gst-controller.h:
14221         * libs/gst/controller/gst-interpolation.c:
14222           implement boolean properties
14223
14224 2005-08-31  Wim Taymans  <wim@fluendo.com>
14225
14226         * gst/gstminiobject.c: (gst_mini_object_ref):
14227         Cannot assert that the refcount has to be positive
14228         since a disposed object can be resurrected.
14229
14230 2005-08-31  Wim Taymans  <wim@fluendo.com>
14231
14232         * gst/gstpad.c: (gst_pad_init):
14233         Revert change, need to first fix badly behaving 
14234         apps.
14235
14236 2005-08-30  Wim Taymans  <wim@fluendo.com>
14237
14238         * check/elements/fakesrc.c: (setup_fakesrc):
14239         * check/elements/identity.c: (setup_identity):
14240         Activate pads before using them.
14241
14242 2005-08-30  Wim Taymans  <wim@fluendo.com>
14243
14244         * gst/base/gstadapter.c: (gst_adapter_flush):
14245         Flushing out 0 bytes is ok for this function.
14246
14247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14248         no newsegment gives a warning and sets the start/stop to 
14249         invalid.
14250
14251         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14252         (gst_base_transform_set_passthrough):
14253         Some debug info.
14254
14255         * gst/gstminiobject.c: (gst_mini_object_ref):
14256         Check refcount here too.
14257
14258         * gst/gstpad.c: (gst_pad_init):
14259         Pads are initially flushing and refusing data.
14260
14261         * gst/gstutils.c: (gst_element_link_pads_filtered):
14262         When adding a capsfilter element make sure it has the
14263         same state as the parent bin.
14264
14265 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14266
14267         * docs/gst/tmpl/.cvsignore:
14268         * docs/gst/tmpl/gstformat.sgml:
14269         * docs/gst/tmpl/gstversion.sgml:
14270         * gst/gstbus.h:
14271         * gst/gstformat.c:
14272         * gst/gstformat.h:
14273         * gst/gstversion.h.in:
14274           more docs and two more inlined
14275
14276 2005-08-30  Wim Taymans  <wim@fluendo.com>
14277
14278         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14279         Don't sync to clock.
14280
14281 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14282
14283         * docs/gst/gstreamer-sections.txt:
14284           ultral33t func10ns deserve to appear in the docs actually
14285         * docs/gst/tmpl/.cvsignore:
14286         * docs/gst/tmpl/gstcompat.sgml:
14287         * docs/gst/tmpl/gstconfig.sgml:
14288         * gst/check/gstcheck.c:
14289         * gst/gstcompat.h:
14290         * gst/gstconfig.h.in:
14291           inlined more docs
14292
14293 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14294
14295         * docs/gst/tmpl/.cvsignore:
14296         * docs/gst/tmpl/gstquery.sgml:
14297         * docs/gst/tmpl/gstutils.sgml:
14298         * gst/gstquery.c:
14299         * gst/gstquery.h:
14300           inlined and extended docs
14301
14302 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14303
14304         * check/gst-libs/controller.c: (GST_START_TEST),
14305         (gst_controller_suite):
14306           more tests
14307         * docs/gst/tmpl/gstutils.sgml:
14308         * docs/libs/gstreamer-libs-sections.txt:
14309         * docs/libs/tmpl/gstdataprotocol.sgml:
14310           include path fixes
14311         * examples/controller/audio-example.c: (main):
14312           controller example works now
14313         * gst/gstclock.h:
14314           doc fixes
14315         * tools/gst-inspect.c: (print_element_properties_info):
14316           show param spec flags
14317
14318 2005-08-29  Andy Wingo  <wingo@pobox.com>
14319
14320         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14321
14322 2005-08-28  Andy Wingo  <wingo@pobox.com>
14323
14324         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14325         as having two arguments instead of just one. Allows superclasses
14326         to access information on subclasses -- see the terrible for() loop
14327         in gtype.c:g_type_create_instance for the reason why. All callers
14328         changed.
14329
14330 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14331
14332         * docs/design/part-messages.txt:
14333           update info
14334         * docs/gst/tmpl/.cvsignore:
14335         * docs/gst/tmpl/gstcaps.sgml:
14336         * docs/gst/tmpl/gstclock.sgml:
14337         * gst/gstbus.c:
14338         * gst/gstcaps.c:
14339         * gst/gstcaps.h:
14340         * gst/gstclock.c:
14341         * gst/gstclock.h:
14342         * gst/gstmessage.c:
14343           added descriptions for bus and message
14344           inline caps and clock docs
14345
14346 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14347
14348         * gst/gstmessage.c:
14349         * gst/gstmessage.h:
14350           doc fixes
14351
14352 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14353
14354         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14355           fix div-by-zero
14356
14357 2005-08-26  Andy Wingo  <wingo@pobox.com>
14358
14359         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14360         element_set_state's return val.
14361         (test_2_elements): Add test that's been disabled for months.
14362
14363         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14364         can-activate-pull properties.
14365
14366         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14367         can-activate-pull properties. Implement is_seekable so fakesrc can
14368         operate in pull mode.
14369
14370         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14371         properties.
14372         (gst_base_sink_activate, gst_base_sink_activate_pull)
14373         (gst_base_sink_activate_push): Make activation mode choosing work.
14374         Cleanups.
14375         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14376         is right. Make pull mode work. Post an eos before pausing in pull
14377         mode.
14378         (gst_base_sink_change_state): Pay attention to the core's
14379         change_state() return val.
14380         
14381         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14382         has-getrange properties. Cleanups.
14383         
14384         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14385         has_getrange and replace with can_activate_pull and
14386         can_activate_push.
14387
14388         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14389         locking comments. Remove has_loop, has_chain and replace with
14390         can_activate_pull and can_activate_push.
14391
14392 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14393
14394         * configure.ac:
14395         * examples/Makefile.am:
14396         * examples/metadata/Makefile.am:
14397         * examples/metadata/read-metadata.c: (message_loop),
14398         (have_pad_handler), (make_pipeline), (print_tag), (main):
14399           Add metadata reading example that loops over a list of filenames,
14400           dumping any tags found.
14401
14402         * gst/gstbus.c: (gst_bus_dispose):
14403         * gst/gstelement.c: (gst_element_dispose):
14404           Release a few potentially-held references in dispose.
14405
14406 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14407
14408         * docs/gst/tmpl/gstminiobject.sgml:
14409           do *not* add tmpl/*.sgml files to CVS!
14410
14411 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14412
14413         * libs/gst/bytestream/.cvsignore:
14414         * libs/gst/bytestream/Makefile.am:
14415         * libs/gst/bytestream/adapter.c:
14416         * libs/gst/bytestream/adapter.h:
14417         * libs/gst/bytestream/bytestream.c:
14418         * libs/gst/bytestream/bytestream.h:
14419         * libs/gst/bytestream/filepad.c:
14420         * libs/gst/bytestream/filepad.h:
14421           removing obsolete files
14422
14423 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14424
14425         * docs/gst/gstreamer-docs.sgml:
14426         * docs/libs/gstreamer-libs-docs.sgml:
14427           disabed additional index entries again, as this makes docs-gen just
14428           slow and they aren't useful yet
14429         * docs/libs/gstreamer-libs-sections.txt:
14430           little -section.txt cleanup for libs
14431
14432 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14433
14434         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14435         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14436           fix up some debugging
14437         (gst_base_transform_get_unit_size),
14438         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14439         (gst_base_transform_handle_buffer):
14440         * gst/base/gstbasetransform.h:
14441           handle and store timed NEWSEGMENT events so that subclasses that
14442           calculate time by counting samples have a segment_start time they
14443           need to add to their timestamps - see audioresample
14444
14445 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14446
14447         * gst/gstbin.h:
14448           removed ';' from the end of macro defs
14449         * docs/gst/gstreamer-docs.sgml:
14450         * docs/gst/gstreamer-sections.txt:
14451         * docs/gst/tmpl/.cvsignore:
14452         * gst/gstbus.h:
14453         * gst/gstelement.c: (gst_element_class_init),
14454         (gst_element_set_state), (activate_pads),
14455         (gst_element_save_thyself):
14456         * gst/gstevent.c: (gst_event_new_newsegment):
14457         * gst/gstevent.h:
14458         * gst/gstiterator.c:
14459         * gst/gstiterator.h:
14460         * gst/gstpad.c:
14461         * gst/gstprobe.h:
14462         * gst/gstutils.c: (gst_pad_query_convert):
14463         * gst/gstutils.h:
14464           fixed parameter name mismatches between source, header and docs
14465           added some more docs, resolved the last batch of unused elements in
14466           docs (now someone needs to doc them)
14467
14468 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14469
14470         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14471         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14472           don't walk through the plugins backwards.  Where is all this
14473           reversed logic coming from ?
14474
14475 2005-08-25  Wim Taymans  <wim@fluendo.com>
14476
14477         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14478         (gst_base_transform_transform_size),
14479         (gst_base_transform_configure_caps),
14480         (gst_base_transform_get_unit_size),
14481         (gst_base_transform_buffer_alloc),
14482         (gst_base_transform_change_state):
14483         * gst/base/gstbasetransform.h:
14484         Cache caps unit_size.
14485         Make sure we cannot negotiate up and downstream at the
14486         same time.
14487
14488 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14489
14490         * gst/gst.c: (init_pre), (init_post):
14491           register the installed plugin path after the env var
14492         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14493         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14494           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14495           directories, so the tests can prefer uninstalled over installed
14496
14497 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14498
14499         * gst/base/gstbasetransform.h:
14500           comment
14501         * gst/gstpad.c:
14502           add to docs
14503
14504 2005-08-25  Wim Taymans  <wim@fluendo.com>
14505
14506         * gst/gstbin.c: (bin_bus_handler):
14507         Be a bit more conservative about the posted message.
14508         
14509         * gst/gstbus.c: (gst_bus_post):
14510         Some cleanups, warn wrong return values.
14511
14512 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14513
14514         * check/gst/gstbin.c: (GST_START_TEST):
14515         * gst/gstbin.c: (bin_bus_handler):
14516         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14517         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14518         (gst_message_new_warning), (gst_message_new_tag),
14519         (gst_message_new_state_changed), (gst_message_new_segment_start),
14520         (gst_message_new_segment_done), (gst_message_new_custom):
14521         * gst/gstmessage.h:
14522         * tools/gst-launch.c: (event_loop):
14523         * tools/gst-md5sum.c: (event_loop):
14524           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14525
14526 2005-08-25  Wim Taymans  <wim@fluendo.com>
14527
14528         * check/generic/states.c: (GST_START_TEST):
14529         Cleanup can be done at the end.
14530
14531         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14532         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14533         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14534         Oh boy.. Thanks for finding this, Thomas. 
14535
14536 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14537
14538         * docs/gst/gstreamer.types:
14539           added missing types
14540
14541 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14542
14543         * docs/gst/gstreamer-docs.sgml:
14544         * docs/gst/gstreamer-sections.txt:
14545         * docs/gst/tmpl/.cvsignore:
14546         * gst/gstbin.c:
14547         * gst/gstiterator.c:
14548         * gst/gstutils.c:
14549         * gst/registries/gstxmlregistry.h:
14550           added missing classes and symbols (123 more to go)
14551           removed removed symbols from section file
14552           fixed many doc-comments
14553
14554 2005-08-24  Wim Taymans  <wim@fluendo.com>
14555
14556         * check/generic/states.c: (GST_START_TEST):
14557         Make sure all tasks are stopped.
14558
14559         * check/gst/gstbin.c: (GST_START_TEST):
14560         Unref after usage for proper valgrinding.
14561
14562         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14563         Really wait for the task to stop before destroying the
14564         mutex.
14565
14566         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14567         (gst_queue_src_activate_push):
14568         Small cleanups. Don't stop the task when we did not start
14569         it.
14570
14571         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14572         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14573         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14574         (gst_task_join):
14575         * gst/gsttask.h:
14576         Protect the stream lock with the object lock.
14577         Disallow setting the stream lock when running.
14578         Add cleanup_all to wait for the threadpool to finish.
14579         Remove code to autoallocate a mutex if none was provided.
14580         Add _join() to wait for a task to stop.
14581         Protect the thread pool with a global lock.
14582
14583 2005-08-24  Wim Taymans  <wim@fluendo.com>
14584
14585         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14586         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14587         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14588         * gst/base/gstbasesink.h:
14589         Handle newsegment events correctly.
14590         Drop buffers out of the segment range.
14591
14592 2005-08-22  Andy Wingo  <wingo@pobox.com>
14593
14594         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14595         macro, implements an interface and gstimplementsinterface for a
14596         new type.
14597
14598 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14599
14600         * check/Makefile.am:
14601         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14602           add a test that does a bunch of state changes on elements
14603           needs some fixing for valgrind
14604         * check/states/sinks.c: (gst_object_suite):
14605           whitespace
14606         * gst/gstcaps.h:
14607           add prototype for gst_caps_is_equal_fixed
14608         * gst/gstplugin.c:
14609         * gst/gstregistrypool.c:
14610           doc fixes
14611
14612 2005-08-24  Andy Wingo  <wingo@pobox.com>
14613
14614         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14615         convert a negative value. Doesn't make much sense. Mostly this is
14616         here to force callers to ensure -1 maps to -1.
14617
14618 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14619
14620         * docs/pwg/advanced-types.xml:
14621           Well done to Michael for catching my deliberate introduction
14622           of this spelling mistake. 
14623         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14624         * gst/gstelement.h:
14625           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14626           unlink pads before removing the element from the bin.
14627
14628 2005-08-24  Andy Wingo  <wingo@pobox.com>
14629
14630         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14631         the same thing as GST_DEBUG=*:4.
14632         (parse_debug_level, parse_debug_category): New helper parsers.
14633
14634 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14635
14636         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14637         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14638         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14639         (gst_base_transform_buffer_alloc),
14640         (gst_base_transform_handle_buffer):
14641           use gboolean return values and pointers to size so we can use the
14642           full GST_BUFFER_SIZE range (guint) for buffer sizes
14643           use GstPadDirection for transform_caps
14644         * gst/base/gstbasetransform.h:
14645           rename get_size to get_unit_size since that's what it is
14646         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14647           use GstPadDirection for transform_caps
14648         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14649         * gst/gstutils.h:
14650           cleanup and debugging
14651
14652 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14653
14654         * gst/gstelement.c: (gst_element_class_init),
14655         (gst_element_set_state), (activate_pads),
14656         (gst_element_save_thyself):
14657         * tools/gst-compprep.c: (main):
14658         * tools/gst-inspect.c: (print_element_properties_info):
14659         * tools/gst-xmlinspect.c: (print_element_properties):
14660           Fixed long standing mem-leak
14661
14662 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14663
14664         * check/gst/gstbin.c: (GST_START_TEST):
14665         * gst/gstbin.c: (bin_bus_handler):
14666         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14667         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14668         (gst_message_new_warning), (gst_message_new_tag),
14669         (gst_message_new_state_changed), (gst_message_new_segment_start),
14670         (gst_message_new_segment_done), (gst_message_new_custom):
14671         * gst/gstmessage.h:
14672         * tools/gst-launch.c: (event_loop):
14673         * tools/gst-md5sum.c: (event_loop):
14674           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14675           that applications can sensibly post custom messages with references
14676           to their own objects.
14677
14678 2005-08-24  Andy Wingo  <wingo@pobox.com>
14679
14680         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14681         already.
14682
14683 2005-08-24  Wim Taymans  <wim@fluendo.com>
14684
14685         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14686         (gst_base_transform_transform_caps),
14687         (gst_base_transform_transform_size),
14688         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14689         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14690         (gst_base_transform_handle_buffer):
14691         * gst/base/gstbasetransform.h:
14692         Many fixes and new features added by Thomas. Can now also do
14693         transforms with variable sizes and a custom fixate_caps function.
14694
14695 2005-08-24  Wim Taymans  <wim@fluendo.com>
14696
14697         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14698         Some debugging.
14699
14700         * gst/gstclock.h:
14701         Cast to ClockTime before formatting to time.
14702
14703         * gst/gstutils.h:
14704         Cleanups.
14705
14706 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14707
14708         * check/gst-libs/controller.c: (GST_START_TEST),
14709         (gst_controller_suite):
14710         * docs/gst/tmpl/gstcaps.sgml:
14711         * docs/gst/tmpl/gstghostpad.sgml:
14712         * docs/gst/tmpl/gstquery.sgml:
14713         * docs/gst/tmpl/gstutils.sgml:
14714         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14715         (gst_object_sink_values), (gst_object_get_value_arrays),
14716         (gst_object_get_value_array):
14717           gracefully handle helper method calls to objects that are not beeing
14718           controlled, added test case for that          
14719
14720 2005-08-23  Wim Taymans  <wim@fluendo.com>
14721
14722         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14723         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14724         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14725         (gst_event_parse_qos), (gst_event_new_seek),
14726         (gst_event_parse_seek):
14727         * gst/gstevent.h:
14728         Some more debugging output and doc cleanups.
14729
14730         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14731         Fix possible deadlock.
14732
14733 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14734
14735         * docs/gst/gstreamer-docs.sgml:
14736         * docs/gst/gstreamer-sections.txt:
14737         * docs/gst/gstreamer.types:
14738         * docs/gst/tmpl/.cvsignore:
14739         * gst/gstbin.h:
14740         * gst/gstbus.c:
14741         * gst/gstelement.c:
14742         * gst/gstevent.h:
14743           added 100 symbols from gstreamer-unused.txt to the right sections
14744           fixed more broken comments
14745           added GstBus to docs
14746
14747 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14748
14749         * docs/gst/gstreamer-sections.txt:
14750         * docs/gst/tmpl/.cvsignore:
14751         * docs/gst/tmpl/gstbin.sgml:
14752         * docs/gst/tmpl/gstbuffer.sgml:
14753         * gst/base/gstbasesrc.c:
14754         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14755         * gst/gstbuffer.c:
14756         * gst/gstbuffer.h:
14757         * tools/gst-launch.1.in:
14758           inlined more doc comments, added missing comments and fixed comments
14759           fixed typos
14760
14761 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14762
14763         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14764           some debugging
14765         * gst/gstcaps.h:
14766           whitespace fixes
14767         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14768           more debugging
14769         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14770         * gst/gststructure.h:
14771           add a fixate function for booleans; add a FIXME that these func
14772           names should probably be gst_structure_fixate_*
14773
14774 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14775
14776         * docs/gst/gstreamer-docs.sgml:
14777         * docs/gst/gstreamer-sections.txt:
14778         * gst/Makefile.am:
14779         * gst/gstbin.c: (gst_bin_get_type),
14780         (gst_bin_child_proxy_get_child_by_index),
14781         (gst_bin_child_proxy_get_children_count),
14782         (gst_bin_child_proxy_init):
14783         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14784         (gst_child_proxy_get_child_by_index),
14785         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14786         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14787         (gst_child_proxy_get), (gst_child_proxy_set_property),
14788         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14789         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14790         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14791         * gst/gstchildproxy.h:
14792         * gst/parse/grammar.y:
14793         * tools/gst-inspect.c: (print_interfaces),
14794         (print_element_properties_info), (print_element_info):
14795           ported gstchildproxy over from 0.8
14796           ported gst-inspect fixes and enhancements over from 0.8
14797
14798 2005-08-22  Wim Taymans  <wim@fluendo.com>
14799
14800         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14801         (gst_base_transform_handle_buffer):
14802         Also call the transform function if we have ANY caps.
14803
14804         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14805         Fix debug info.
14806
14807 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14808
14809         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14810           Don't pretend to handle seek events if the source is not seekable
14811
14812 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14813
14814         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14815           Remove extra parameter to debug output
14816
14817         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14818         (gst_base_src_do_seek), (gst_base_src_activate_push):
14819           Fix seek event handling.
14820
14821         * gst/gstpipeline.c: (gst_pipeline_change_state):
14822         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14823         (gst_queue_src_activate_push):
14824           Don't start the src pad task on FLUSH_STOP if the pad
14825           isn't linked.
14826           Debug changes.
14827
14828 2005-08-22  Wim Taymans  <wim@fluendo.com>
14829
14830         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14831         Added check for gst_static_caps_get() refcounting.
14832
14833 2005-08-22  Wim Taymans  <wim@fluendo.com>
14834
14835         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14836         Make _static_caps_get() refcounting sane.
14837         
14838         * gst/gstelement.c: (gst_element_set_state):
14839         Add g_return_val_if_fail() to protect against segfaults.
14840
14841 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14842
14843         * docs/gst/tmpl/gstevent.sgml:
14844         * gst/gstevent.c:
14845         * gst/gstevent.h:
14846           inlined remaining docs, added missing doc comments
14847
14848 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14849
14850         * check/gst/gstbin.c: (GST_START_TEST):
14851           since we don't know when preroll is done, use refcount range
14852           check for the sink
14853         * gst/check/gstcheck.h:
14854           add macro for checking refcount range
14855
14856 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14857
14858         * check/Makefile.am:
14859           clean up environment for when registry gets built versus
14860           when actual tests are run; valgrind seems to not report
14861           leaks if GST_PLUGIN_PATH is set to some specific values
14862         * check/gst/gstbin.c: (GST_START_TEST):
14863           add more refcounting checks; maybe this exposes a
14864           preroll lock bug ?
14865         * common/check.mak:
14866         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14867         * gst/check/gstcheck.h:
14868         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14869         (gst_bin_change_state):
14870         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14871           add/fix debugging/whitespace
14872
14873 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14874
14875         * check/gst/gstevent.c: (event_probe), (test_event),
14876         (GST_START_TEST):
14877          Er, don't call gst_bin_watch_for_state_change you idiot.
14878
14879 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14880
14881         * check/Makefile.am:
14882           Use CHECK_CFLAGS and CHECK_LIBS
14883         * check/gst/gstevent.c: (event_probe), (test_event),
14884         (GST_START_TEST):
14885           Don't leak events.
14886         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14887         (gst_base_src_start), (gst_base_src_stop),
14888         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14889         (gst_base_src_change_state):
14890           Sprinkle gst_base_src_stop liberally around error paths to fix
14891           problems reusing a source after failed state changes.
14892         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14893         (helper_find_suggest), (gst_type_find_helper):
14894           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14895         * gst/gstevent.h:
14896         * docs/gst/tmpl/gstevent.sgml:
14897           Migrate part of the docs from the SGML file. Wait for ensonic to
14898           tell me how I did it wrong ;)
14899         * tools/gst-typefind.c: (main):
14900           Extra robustness to state changes between files.
14901
14902 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14903
14904         * check/Makefile.am:
14905           don't valgrind the controller test - it's leaking - Stefan, HELP
14906         * gst/check/gstcheck.c: (gst_check_message_error),
14907         (gst_check_chain_func), (gst_check_setup_element),
14908         (gst_check_teardown_element), (gst_check_setup_src_pad),
14909         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14910         (gst_check_teardown_sink_pad):
14911         * gst/check/gstcheck.h:
14912           add a bunch of methods to set up elements, and src and sink pads
14913         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14914         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14915         (GST_START_TEST):
14916           use them
14917         * gst/gstmessage.c:
14918         * gst/gsttag.h:
14919           whitespace/doc fixes
14920
14921 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14922
14923         * gst/gstelement.h:
14924           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14925           be handled by the application and not always printed as well
14926
14927 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14928
14929         * check/Makefile.am:
14930           set GST_TOOLS_DIR
14931         * gst/check/gstcheck.c: (gst_check_message_error):
14932         * gst/check/gstcheck.h:
14933           add a fail_unless_equals_int
14934           add fail_unless for error messages
14935
14936 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14937
14938         * check/Makefile.am:
14939         * check/gst.supp:
14940         * common/Makefile.am:
14941         * common/check.mak:
14942         * common/gst.supp:
14943           factor out some of the common stuff so we can use it
14944
14945 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14946
14947         * check/Makefile.am:
14948         * check/gst/gstiterator.c: (GST_START_TEST):
14949         * check/gst/gstsystemclock.c: (GST_START_TEST),
14950         (gst_systemclock_suite):
14951         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14952         * gst/gstclock.c:
14953           valgrind more tests
14954
14955 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14956
14957         * check/elements/.cvsignore:
14958         * check/elements/gstfakesrc.c:
14959           rename to name of element
14960         * check/elements/identity.c: (chain_func), (event_func),
14961         (setup_identity), (cleanup_identity), (GST_START_TEST),
14962         (identity_suite), (main):
14963           add a test for identity
14964         * check/Makefile.am:
14965         * pkgconfig/Makefile.am:
14966         * pkgconfig/gstreamer-check.pc.in:
14967         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14968         * gst/check:
14969         * gst/Makefile.am:
14970         * configure.ac:
14971           move the check stuff to a library that gets installed
14972         * check/gst-libs/controller.c: (GST_START_TEST):
14973         * check/gst-libs/gdp.c:
14974         * check/gst/gst.c: (GST_START_TEST):
14975         * check/gst/gstbin.c:
14976         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14977         * check/gst/gstbus.c:
14978         * check/gst/gstcaps.c: (GST_START_TEST):
14979         * check/gst/gstelement.c:
14980         * check/gst/gstghostpad.c:
14981         * check/gst/gstiterator.c:
14982         * check/gst/gstmessage.c:
14983         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14984         * check/gst/gstobject.c:
14985         * check/gst/gstpad.c: (GST_START_TEST):
14986         * check/gst/gststructure.c: (GST_START_TEST):
14987         * check/gst/gstsystemclock.c: (GST_START_TEST),
14988         (gst_systemclock_suite):
14989         * check/gst/gsttag.c: (gst_tag_suite):
14990         * check/gst/gstvalue.c:
14991         * check/pipelines/cleanup.c:
14992         * check/pipelines/simple_launch_lines.c:
14993         * check/states/sinks.c:
14994           change include statement
14995
14996         * docs/gst/gstreamer-sections.txt:
14997         * docs/gst/tmpl/gstpad.sgml:
14998           document more pad stuff
14999         * gst/gstminiobject.c: (gst_mini_object_ref),
15000         (gst_mini_object_unref):
15001           debug refcounting
15002
15003 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
15004
15005         * docs/gst/tmpl/gst.sgml:
15006         * gst/gst.c:
15007           eliminate another tmpl file, fix spelling in the long-description
15008
15009 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15010
15011         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15012         (test_event), (timediff), (gstevents_suite):
15013           Should fix build on 64-bit arch's
15014
15015 2005-08-18  Andy Wingo  <wingo@pobox.com>
15016
15017         Make sure that when a pipeline goes to PLAYING, that data has
15018         actually hit the sink.
15019
15020         * check/states/sinks.c (test_sink): A sink that doesn't get any
15021         data shouldn't return SUCCESS for going to either PLAYING or
15022         PAUSED. Test also the return values on the way back down.
15023
15024         * gst/gstelement.c (gst_element_set_state): When changing the
15025         state of an element currently changing state asynchronously, go to
15026         lost-state after commiting the pending state. Makes future calls
15027         to get_state continue to return ASYNC.
15028
15029         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15030         ASYNC when going to PLAYING if we still don't have preroll, as can
15031         happen with live sources.
15032
15033 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15034
15035         * docs/pwg/advanced-types.xml:
15036           Hack long paragraph into 2 chunks as a workaround for buggy
15037           jadetex version in sid and breezy that loops infinitely and
15038           eats all RAM.
15039
15040 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15041
15042         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15043         (test_event), (timediff), (gstevents_suite):
15044           Provide more error margin in clock measurements to allow for 
15045           g_get_current_time inaccuracies.
15046
15047 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15048
15049         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15050         (test_event), (timediff), (gstevents_suite):
15051            Fix error message output so I might be able to tell why the
15052            test works here but fails on the build farm.
15053
15054 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
15055
15056         * check/Makefile.am:
15057         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15058         (test_event), (timediff), (gstevents_suite), (main):
15059           I wrote a test!
15060
15061         * docs/design/part-seeking.txt:
15062           Spelling correction
15063
15064         * docs/gst/tmpl/gstevent.sgml:
15065         * docs/gst/tmpl/gstfakesrc.sgml:
15066           Docs updates.
15067
15068         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15069           Treat a buffer-without-newsegment the same as a receiving 
15070           a newsegment not in time format, and disable syncing to the clock
15071           with a warning.
15072
15073         * gst/gstbus.c: (gst_bus_set_sync_handler):
15074           Assert if anyone tries to replace the existing sync_handler for bus, 
15075           as only the owner should be setting it.
15076
15077         * gst/gstevent.h:
15078           Have a fixed set of custom event enums with events identified by
15079           their structure name (as in 0.8), rather than a free-for-all
15080           allowing collisions between enum values from different plugins.
15081
15082         * gst/gstpad.c: (gst_pad_class_init):
15083           Docs change.
15084           
15085         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15086           Handle out-of-band downstream events from the sending thread.
15087
15088 2005-08-17  Andy Wingo  <wingo@pobox.com>
15089
15090         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15091         play-timeout==0 to mean no timeout at all. In that case, don't
15092         bother with a get_state or a warning, just return directly, even
15093         if it's ASYNC.
15094
15095         * gst/base/gstbasetransform.c: Debug changes.
15096
15097         * gst/gstutils.h:
15098         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15099         ensure bins post state change messages. A bit of a hack but I can't
15100         think of a way to avoid it.
15101
15102         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15103
15104 2005-08-16  Andy Wingo  <wingo@pobox.com>
15105
15106         * gst/base/gstadapter.h:
15107         * gst/base/gstadapter.c (gst_adapter_take): New function, like
15108         peek() but you own the data. Not terribly efficient atm.
15109
15110 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15111
15112         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15113         (gst_element_found_tags):
15114         * gst/gstutils.h:
15115           Add two utility functions for tag handling.
15116
15117 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15118
15119         * docs/manual/advanced-dataaccess.xml:
15120         * docs/manual/basics-helloworld.xml:
15121           Fix docs to use _bin_add() before _link(), which fixes the examples
15122           with recent core versions (reported by Madhan Raj M
15123           <raj_madan@rediffmail.com>, #313199).
15124
15125 2005-08-16  Wim Taymans  <wim@fluendo.com>
15126
15127         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15128         Added subtract checks.
15129
15130         * docs/design/part-events.txt:
15131         Some more docs about newsegment
15132
15133         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15134         Fix FIXME
15135
15136         * gst/gstcaps.c: (gst_caps_to_string):
15137         Add comments, cleanups.
15138         
15139         * gst/gstelement.c: (gst_element_save_thyself):
15140         cleanups
15141         
15142         * gst/gstvalue.c: (gst_value_collect_int_range),
15143         (gst_string_unwrap), (gst_value_union_int_int_range),
15144         (gst_value_union_int_range_int_range),
15145         (gst_value_intersect_int_int_range),
15146         (gst_value_intersect_int_range_int_range),
15147         (gst_value_intersect_double_double_range),
15148         (gst_value_intersect_double_range_double_range),
15149         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15150         (gst_value_subtract_int_range_int),
15151         (gst_value_subtract_double_range_double),
15152         (gst_value_subtract_double_range_double_range),
15153         (gst_value_subtract_from_list), (gst_value_subtract_list),
15154         (gst_value_can_compare), (gst_value_compare_fraction):
15155         Cleanups, add comments, remove unneeded asserts.
15156
15157 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15158
15159         * tools/gst-launch.c: (event_loop):
15160           don't convert NULL structures to strings
15161
15162 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
15163
15164         * docs/gst/gstreamer-sections.txt:
15165           made some defines private
15166         * docs/gst/tmpl/gstconfig.sgml:
15167         * docs/gst/tmpl/gstqueue.sgml:
15168         * docs/gst/tmpl/gsttaglist.sgml:
15169         * docs/gst/tmpl/gsttypes.sgml:
15170         * docs/gst/tmpl/gstutils.sgml:
15171         * docs/pwg/appendix-porting.xml:
15172         * gst/base/gstbasesink.h:
15173         * gst/base/gstbasesrc.c:
15174         * gst/base/gstbasesrc.h:
15175         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15176         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15177         * gst/gstelement.c: (gst_element_class_init):
15178         * gst/gstpad.c: (gst_pad_class_init):
15179         * gst/gstqueue.c: (gst_queue_class_init):
15180         * gst/gstxml.c: (gst_xml_class_init):
15181           documented all undocumented signal inline
15182         * libs/gst/controller/gst-controller.h:
15183           added padding
15184
15185 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15186
15187         * docs/pwg/appendix-porting.xml:
15188           Document _set_link_function -> _set_setcaps_function.
15189
15190 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
15191
15192         * check/Makefile.am:
15193           add a .check target for running the check
15194         * check/gst-libs/controller.c: (GST_START_TEST):
15195           cosmetic fixups
15196         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15197           complete checks for gstbuffer; would be nice if I could get the
15198           gcov stuff to work so I can see if I actually completed gstbuffer.c
15199         * check/gstcheck.h:
15200           add ASSERT_BUFFER_REFCOUNT
15201
15202 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
15203
15204         * docs/gst/gstreamer-sections.txt:
15205         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15206         * gst/gsttag.h:
15207           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15208           spew out a warning if a tag that is already registered
15209           is re-registered, unless it is re-registered with a 
15210           different type (#308438).
15211
15212 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
15213
15214         * docs/pwg/appendix-porting.xml:
15215         * docs/pwg/building-state.xml:
15216           Add some paragraphs about state changes in 0.9 to the PWG
15217           and the porting guide, in particular about the new meaning
15218           of GST_STATE_PAUSED and how to write state change functions
15219           with concurrent access by multiple threads in mind.
15220
15221 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
15222
15223         * docs/gst/gstreamer-docs.sgml:
15224         * docs/libs/gstreamer-libs-docs.sgml:
15225           added deprecation and since indexes
15226         * libs/gst/controller/gst-controller.c:
15227         * libs/gst/controller/gst-helper.c:
15228           added since tags
15229
15230
15231 2005-08-11  Wim Taymans  <wim@fluendo.com>
15232
15233         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15234         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15235         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15236         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15237         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15238         (gst_ghost_pad_set_target):
15239         Actually implement (re)setting the target on a ghostpad
15240         as described in the docs.
15241
15242 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15243
15244         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15245           Check whether GST_DEBUG_NO_COLOR environment variable is
15246           set and disable coloured debug output if that is the case.
15247
15248 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
15249
15250         * gst/base/gsttypefindhelper.c: (helper_find_peek),
15251         (gst_type_find_helper):
15252           The memory returned by gst_type_find_peek() needs to
15253           stay valid until the end of a typefind function, and
15254           typefind functions may keep results from different 
15255           offsets around, so we can't just unref the buffer from
15256           the previous _peek(), but have to save all buffers 
15257           returned by _peek() until typefinding is done and only
15258           free them then.
15259
15260 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
15261
15262         * docs/gst/gstreamer-sections.txt:
15263         * gst/gstutils.h:
15264           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15265
15266 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15267
15268         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15269           Fix a pretty good memleak.
15270
15271 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15272
15273         * gst/gstiterator.h:
15274           Fix wrong include and 'make distcheck'.
15275
15276 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15277
15278         * gst/gstbin.c: (bin_bus_handler):
15279           Use gst_element_post_message() instead.
15280
15281 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15282
15283         * gst/base/gstadapter.h:
15284         * gst/base/gstbasesink.h:
15285         * gst/base/gstbasesrc.h:
15286         * gst/base/gstbasetransform.h:
15287         * gst/base/gstcollectpads.h:
15288         * gst/base/gstpushsrc.h:
15289         * gst/gstiterator.h:
15290           Add padding to our base elements' class and instance structs and
15291           to GstIterator (you will need to rebuild all plugins and apps!)
15292
15293 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15294
15295         * gst/gstbin.c: (bin_bus_handler):
15296           Make default message forwarding from child->bus to bin->bus
15297           threadsafe and make it not emit warnings if the parent has no bus.
15298
15299 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15300
15301         * gst/gstelement.c: (activate_pads):
15302           On paused->ready, set pad->caps to NULL, as is the documented
15303           behaviour in this state change. Fixes playback of series of
15304           media files when visualization is enabled in Totem.
15305
15306 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15307
15308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15309           Allow NULL as filter-caps (which means "any").
15310
15311 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15312
15313         * docs/libs/gstreamer-libs-sections.txt:
15314         * libs/gst/controller/gst-controller.c:
15315         * libs/gst/controller/gst-controller.h:
15316         * libs/gst/controller/gst-helper.c:
15317           adding more entries to the docs and fix small doc-bugs
15318
15319 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15320
15321         * docs/gst/gstreamer-docs.sgml:
15322         * docs/gst/gstreamer-sections.txt:
15323         * docs/gst/gstreamer.types:
15324         * docs/gst/tmpl/gstbasesink.sgml:
15325         * docs/gst/tmpl/gstbasesrc.sgml:
15326         * docs/gst/tmpl/gstbasetransform.sgml:
15327         * docs/gst/tmpl/gstfakesrc.sgml:
15328         * gst/base/gstcollectpads.c:
15329         * gst/base/gstcollectpads.h:
15330         * libs/gst/controller/gst-controller.c:
15331         * libs/gst/controller/gst-controller.h:
15332         * libs/gst/controller/gst-helper.c:
15333         * libs/gst/controller/gst-interpolation.c:
15334         * libs/gst/controller/lib.c:
15335           added long/short desc for controller docs
15336           added collectpads base class docs
15337           added correct includes to base-class docs
15338
15339 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15340
15341         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15342         (gst_test_mono_source_set_property),
15343         (gst_test_mono_source_class_init), (GST_START_TEST),
15344         (gst_controller_suite):
15345         * docs/gst/gstreamer-docs.sgml:
15346         * docs/gst/gstreamer-sections.txt:
15347         * docs/gst/gstreamer.types:
15348         * docs/libs/gstreamer-libs-docs.sgml:
15349         * docs/libs/gstreamer-libs-sections.txt:
15350         * gst/base/gstadapter.c:
15351         * libs/gst/controller/gst-controller.c:
15352         (gst_controlled_property_new), (gst_controlled_property_free),
15353         (gst_controller_new_valist),
15354         (gst_controller_remove_properties_valist),
15355         (gst_controller_sink_values), (_gst_controller_finalize):
15356         * libs/gst/controller/gst-controller.h:
15357         * libs/gst/controller/gst-helper.c:
15358         (gst_object_control_properties), (gst_object_uncontrol_properties),
15359         (gst_object_get_controller), (gst_object_set_controller),
15360         (gst_object_sink_values), (gst_object_get_value_arrays),
15361         (gst_object_get_value_array):
15362           more tests (and fixes) for the controller
15363           more docs for the controller
15364           integrated companies docs for the adapter 
15365
15366 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15367
15368         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15369         (GST_START_TEST), (fakesrc_suite):
15370           add tests for sizetype
15371
15372 2005-08-04  Andy Wingo  <wingo@pobox.com>
15373
15374         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15375         fixes buffer_alloc proxying among other things.
15376
15377         * gst/base/gstbasetransform.c:
15378         * gst/base/gstbasetransform.h:
15379         Revert patch to gstbasetransform from 7-28 removing
15380         delay_configure.
15381
15382         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15383         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15384         Semantics changed, should return not the size of the output buffer
15385         but the byte size of a buffer with a given caps.
15386
15387         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15388         debug object.
15389         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15390         out) are not the pad caps until setcaps finishes.
15391         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15392         not-in-place case as well. Deal with changing from in-place to
15393         not-in-place within calling pad_alloc_buffer. Still a bit
15394         concerned about the overhead here...
15395
15396 2005-08-03  Andy Wingo  <wingo@pobox.com>
15397
15398         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15399         fixating is an error.
15400
15401 2005-08-04  Edward Hervey  <edward@fluendo.com>
15402
15403         * gst/base/gstadapter.h: 
15404         Added gst_adapter_get_type() to the header
15405
15406 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15407
15408         * check/Makefile.am:
15409         * check/gst-libs/controller.c:
15410         * libs/gst/controller/gst-controller.c:
15411         (gst_controller_new_valist):
15412           added check test suite for the controller
15413         * gst/base/gstpushsrc.c:
15414           fixed a doc typo
15415
15416 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15417
15418         * docs/gst/Makefile.am:
15419         * docs/gst/gstreamer-docs.sgml:
15420         * docs/gst/gstreamer-sections.txt:
15421         * docs/gst/gstreamer.types:
15422         * docs/gst/tmpl/gstfakesrc.sgml:
15423         * gst/base/README:
15424         * gst/base/gstbasesink.c:
15425         * gst/base/gstbasesink.h:
15426         * gst/base/gstbasesrc.c:
15427         * gst/base/gstbasesrc.h:
15428         * gst/base/gstbasetransform.c:
15429         * gst/base/gstpushsrc.c:
15430         * gst/base/gstpushsrc.h:
15431           add short/long description docs to base classes
15432           add pushsrc to the docs
15433           remove consolidated doc fragments
15434
15435 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15436
15437         * configure.ac:
15438         * docs/libs/Makefile.am:
15439         * docs/libs/gstreamer-libs-docs.sgml:
15440         * docs/libs/gstreamer-libs-sections.txt:
15441         * docs/libs/gstreamer-libs.types:
15442         * examples/Makefile.am:
15443         * examples/controller/.cvsignore:
15444         * examples/controller/Makefile.am:
15445         * examples/controller/audio-example.c: (main):
15446         * libs/gst/Makefile.am:
15447         * libs/gst/controller/.cvsignore:
15448         * libs/gst/controller/Makefile.am:
15449         * libs/gst/controller/gst-controller.c:
15450         (on_object_controlled_property_changed), (gst_timed_value_compare),
15451         (gst_timed_value_find),
15452         (gst_controlled_property_set_interpolation_mode),
15453         (gst_controlled_property_new), (gst_controlled_property_free),
15454         (gst_controller_find_controlled_property),
15455         (gst_controller_new_valist), (gst_controller_new),
15456         (gst_controller_remove_properties_valist),
15457         (gst_controller_remove_properties), (gst_controller_set),
15458         (gst_controller_set_from_list), (gst_controller_unset),
15459         (gst_controller_get), (gst_controller_get_all),
15460         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15461         (gst_controller_get_value_array),
15462         (gst_controller_set_interpolation_mode),
15463         (_gst_controller_finalize), (_gst_controller_init),
15464         (_gst_controller_class_init), (gst_controller_get_type):
15465         * libs/gst/controller/gst-controller.h:
15466         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15467         (g_object_uncontrol_properties), (g_object_get_controller),
15468         (g_object_set_controller), (g_object_sink_values),
15469         (g_object_get_value_arrays), (g_object_get_value_array):
15470         * libs/gst/controller/gst-interpolation.c:
15471         (gst_controlled_property_find_timed_value_node),
15472         (interpolate_none_get), (interpolate_trigger_get),
15473         (interpolate_trigger_get_value_array):
15474         * libs/gst/controller/lib.c: (gst_controller_init):
15475         * pkgconfig/Makefile.am:
15476         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15477         * pkgconfig/gstreamer-control.pc.in:
15478         * testsuite/Makefile.am:
15479         * testsuite/controller/.cvsignore:
15480         * testsuite/controller/Makefile.am:
15481         * testsuite/controller/interpolator.c: (main):
15482           added controller code
15483           removed dparam pc files
15484
15485 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15486         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15487         (gst_collectpads_stop):
15488           Broadcast the condition when shutting down, to make sure we wake all
15489           threads up. Shut down pads on finalize, for safety.
15490
15491 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15492         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15493         (gst_base_transform_handle_buffer),
15494         (gst_base_transform_change_state):
15495           Handle PAUSED->READY->PAUSED transition after negotiation
15496           occurred already.
15497         * gst/gstmessage.c: (gst_message_init):
15498           Extra piece of debug for new messages.
15499
15500 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15501
15502         * configure.ac:
15503         * docs/gst/tmpl/gstbasesrc.sgml:
15504         * docs/gst/tmpl/gstelement.sgml:
15505         * docs/gst/tmpl/gstevent.sgml:
15506         * docs/gst/tmpl/gstfakesrc.sgml:
15507         * docs/gst/tmpl/gstformat.sgml:
15508         * docs/gst/tmpl/gstghostpad.sgml:
15509         * docs/gst/tmpl/gstpad.sgml:
15510         * docs/gst/tmpl/gstquery.sgml:
15511         * docs/gst/tmpl/gststructure.sgml:
15512         * docs/gst/tmpl/gsttaglist.sgml:
15513         * docs/gst/tmpl/gstvalue.sgml:
15514         * docs/libs/gstreamer-libs-docs.sgml:
15515         * docs/libs/gstreamer-libs-sections.txt:
15516         * docs/libs/gstreamer-libs.types:
15517         * libs/gst/Makefile.am:
15518         * libs/gst/control/.cvsignore:
15519         * libs/gst/control/Makefile.am:
15520         * libs/gst/control/control.c:
15521         * libs/gst/control/control.h:
15522         * libs/gst/control/dparam.c:
15523         * libs/gst/control/dparam.h:
15524         * libs/gst/control/dparam_smooth.c:
15525         * libs/gst/control/dparam_smooth.h:
15526         * libs/gst/control/dparamcommon.h:
15527         * libs/gst/control/dparammanager.c:
15528         * libs/gst/control/dparammanager.h:
15529         * libs/gst/control/dplinearinterp.c:
15530         * libs/gst/control/dplinearinterp.h:
15531         * libs/gst/control/unitconvert.c:
15532         * libs/gst/control/unitconvert.h:
15533         * testsuite/Makefile.am:
15534         * testsuite/dynparams/.cvsignore:
15535         * testsuite/dynparams/Makefile.am:
15536         * testsuite/dynparams/dparamstest.c:
15537         * tools/Makefile.am:
15538         * tools/gst-inspect.c: (print_element_info), (main):
15539         * tools/gst-xmlinspect.c: (print_element_info), (main):
15540           deactivate and remove dparams (libgstcontrol)
15541
15542 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15543
15544         * gst/elements/gsttypefindelement.c:
15545         (gst_type_find_element_have_type), (gst_type_find_element_init),
15546         (stop_typefinding), (gst_type_find_element_handle_event),
15547         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15548         * gst/elements/gsttypefindelement.h:
15549           Set caps on all outgoing buffers, not just the first one.
15550
15551 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15552
15553         * gst/elements/gsttypefindelement.c:
15554         (gst_type_find_element_have_type),
15555         (gst_type_find_element_check_set_buffer_caps),
15556         (gst_type_find_element_init), (stop_typefinding),
15557         (gst_type_find_element_handle_event),
15558         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15559         * gst/elements/gsttypefindelement.h:
15560           Set caps on first outgoing buffer when we've found the type.
15561
15562 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15563
15564         * docs/gst/gstreamer-docs.sgml:
15565         * docs/gst/gstreamer-sections.txt:
15566         * docs/gst/tmpl/gstscheduler.sgml:
15567         * docs/gst/tmpl/gstschedulerfactory.sgml:
15568           Remove some old cruft from docs.
15569
15570 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15571
15572         * gst/gstpad.h:
15573           Fix inline docs for GstPadLinkReturn.
15574           
15575         * gst/gststructure.c: (gst_structure_has_name):
15576         * gst/gststructure.h:
15577         * docs/gst/gstreamer-sections.txt:
15578           New API: gst_structure_has_name().
15579
15580 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15581
15582         * configure.ac:
15583           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15584           and _LARGEFILE_SOURCE in config.h as required. Do not 
15585           export those flags in our .pc files any longer (#142209).
15586
15587           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15588
15589         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15590         (gst_file_sink_do_seek), (gst_file_sink_event),
15591         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15592           Redo seek/tell calls with large file support in mind; add some
15593           debugging messages; add log message that tells us when large
15594           file support is unavailable or not enabled for some reason.
15595
15596         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15597           Add log message that tells us when large file support 
15598           is unavailable or not enabled for some reason.
15599
15600 2005-07-29  Wim Taymans  <wim@fluendo.com>
15601
15602         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15603         Added test for removing an element with ghostpad from a bin.
15604         Fixed test as current implementation does the right thing.
15605
15606         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15607         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15608         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15609         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15610         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15611         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15612         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15613         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15614         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15615         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15616         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15617         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15618         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15619         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15620         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15621         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15622         * gst/gstghostpad.h:
15623         Clean up ghostpads, remove properties for internal stuff.
15624         Make threadsafe.
15625         Fix refcounting.
15626         Prepare for switching targets, not all use cases work yet.
15627
15628 2005-07-29  Wim Taymans  <wim@fluendo.com>
15629
15630         * docs/design/part-gstghostpad.txt:
15631         Small update.
15632
15633         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15634         (gst_bin_remove_func):
15635         Unlinking pads while holding the bin LOCK is not a good
15636         idea.
15637
15638         * gst/gstpad.c: (gst_pad_class_init),
15639         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15640         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15641         No prob setting template after creating the pad.
15642
15643 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15644
15645         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15646         (gst_bus_peek), (gst_bus_source_dispatch),
15647         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15648         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15649           gst_bus_poll may be called from other threads. Handle
15650           this nicely by not making poll_data disappear off the
15651           stack once gst_bus_poll returns.
15652           gst_bus_peek now increments the refcount on the returned
15653           message.
15654
15655 2005-07-29  Wim Taymans  <wim@fluendo.com>
15656
15657         * docs/design/part-gstghostpad.txt:
15658         Overview of current GhostPad datastructures and use
15659         cases for changing the target.
15660
15661 2005-07-28  Wim Taymans  <wim@fluendo.com>
15662
15663         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15664         Added checks for hierarchy consistency whan adding linked
15665         elements to bins.
15666
15667         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15668         Added check to test element scheduling without bin/pipeline.
15669
15670         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15671         First add elements to bin, then link.
15672         
15673         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15674         (gst_bin_remove_func):
15675         Unlink pads from elements added/removed from bin to maintain
15676         hierarchy consistency.
15677
15678 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15679
15680         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15681         (gst_base_transform_handle_buffer):
15682         * gst/base/gstbasetransform.h:
15683           Remove broken delay_configure (fixes renegotiation of software
15684           scaling pipelines); remove some leftover printf()s.
15685
15686 2005-07-28  Wim Taymans  <wim@fluendo.com>
15687
15688         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15689         Added some more tests for wrong hierarchy
15690
15691         * docs/design/part-overview.txt:
15692         Some updates.
15693
15694         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15695         Cleanups.
15696
15697         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15698         (gst_element_dispose):
15699         Some more cleanups.
15700
15701         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15702         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15703         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15704         (gst_pad_set_caps), (gst_pad_send_event):
15705         Check for correct hierarchy when linking pads. Moving to
15706         strict requirement for ghostpads when linking elements in
15707         different bins.
15708
15709         * gst/gstpad.h:
15710         Clean ups. Added WRONG_HIERARCHY return value.
15711
15712 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15713
15714         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15715           Better debug if no transform is possible.
15716
15717 2005-07-27  Wim Taymans  <wim@fluendo.com>
15718
15719         * docs/random/wtay/network-transp:
15720         Some old doc I had.
15721
15722 2005-07-27  Wim Taymans  <wim@fluendo.com>
15723
15724         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15725         (gst_dp_event_from_packet):
15726         Fix serialization of seek events.
15727
15728 2005-07-27  Wim Taymans  <wim@fluendo.com>
15729
15730         * check/gst-libs/gdp.c: (GST_START_TEST):
15731         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15732         Fix compilation and fix event serialization.
15733
15734 2005-07-27  Wim Taymans  <wim@fluendo.com>
15735
15736         * CHANGES-0.9:
15737         * docs/design/part-TODO.txt:
15738         * docs/design/part-events.txt:
15739         Some docs updates
15740
15741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15742         (gst_base_sink_event), (gst_base_sink_do_sync),
15743         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15744         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15745         (gst_base_src_do_seek), (gst_base_src_event_handler),
15746         (gst_base_src_loop):
15747         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15748         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15749         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15750         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15751         (gst_base_transform_set_passthrough),
15752         (gst_base_transform_is_passthrough):
15753         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15754         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15755         Event updates.
15756
15757         * gst/gstbuffer.h:
15758         Use faster casts.
15759
15760         * gst/gstelement.c: (gst_element_seek):
15761         * gst/gstelement.h:
15762         Update gst_element_seek.
15763
15764         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15765         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15766         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15767         (gst_event_new_eos), (gst_event_new_newsegment),
15768         (gst_event_parse_newsegment), (gst_event_new_tag),
15769         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15770         (gst_event_parse_qos), (gst_event_new_seek),
15771         (gst_event_parse_seek), (gst_event_new_navigation):
15772         * gst/gstevent.h:
15773         Make GstEvent use GstStructure. Add parsing code, make sure the
15774         API is sufficiently generic.
15775         Mark possible directions of events and serialization.
15776
15777         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15778         (_gst_message_copy), (gst_message_new_segment_start),
15779         (gst_message_new_segment_done), (gst_message_new_custom),
15780         (gst_message_parse_segment_start),
15781         (gst_message_parse_segment_done):
15782         Small cleanups.
15783
15784         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15785         (gst_pad_set_caps), (gst_pad_send_event):
15786         Update for new events. 
15787         Catch events sent in wrong directions.
15788
15789         * gst/gstqueue.c: (gst_queue_link_src),
15790         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15791         (gst_queue_handle_src_query):
15792         Event updates.
15793
15794         * gst/gsttag.c:
15795         * gst/gsttag.h:
15796         Remove event code from this file.
15797
15798         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15799         (gst_dp_event_from_packet):
15800         Event updates.
15801
15802 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15803
15804         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15805         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15806         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15807           Make debugging actually useful.
15808
15809 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15810
15811         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15812         (gst_pad_fixate_caps):
15813           Implement default fixation once again, so that gst_pad_fixate()
15814           actually does anything at all. This probably needs to be some
15815           sort of a last resort, and use profile-based fixation first, but
15816           since that doesn't exist yet, this is the best we have. Fixes
15817           visualization in Totem.
15818
15819 2005-07-22  Wim Taymans  <wim@fluendo.com>
15820
15821         * docs/design/part-events.txt:
15822         Small update.
15823
15824         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15825         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15826         (gst_base_sink_activate_pull):
15827         Some more comments.
15828
15829         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15830         (gst_fake_src_create):
15831         Fix handoff marshall.
15832
15833         * gst/elements/gstidentity.c: (gst_identity_class_init),
15834         (gst_identity_transform_ip):
15835         We're a real inplace element.
15836
15837         * gst/gstbus.c: (gst_bus_post):
15838         Added some comments.
15839
15840         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15841         * tests/muxing/case1.c: (main):
15842         * tests/sched/dynamic-pipeline.c: (main):
15843         * tests/sched/interrupt1.c: (main):
15844         * tests/sched/interrupt2.c: (main):
15845         * tests/sched/interrupt3.c: (main):
15846         * tests/sched/runxml.c: (main):
15847         * tests/sched/sched-stress.c: (main):
15848         * tests/seeking/seeking1.c: (event_received), (main):
15849         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15850         (main):
15851         * tests/threadstate/threadstate3.c: (main):
15852         * tests/threadstate/threadstate4.c: (main):
15853         * tests/threadstate/threadstate5.c: (main):
15854         Fix the tests.
15855
15856 2005-07-21  Wim Taymans  <wim@fluendo.com>
15857
15858         * docs/design/part-seeking.txt:
15859         Some small additions.
15860
15861         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15862         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15863         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15864         * gst/base/gstbasesink.h:
15865         discont values are gint64, handle the math correctly.
15866
15867         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15868         Make the basesrc report error if the source pad is not linked.
15869
15870         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15871         (gst_queue_loop), (gst_queue_handle_src_query),
15872         (gst_queue_src_activate_push):
15873         Make queue collect data even if the srcpad is not linked.
15874         Start pushing out data as soon as it is linked.
15875
15876         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15877         * gst/gstutils.h:
15878         Added gst_flow_get_name() to ease error reporting.
15879
15880 2005-07-20  Wim Taymans  <wim@fluendo.com>
15881
15882         * gst/gstmessage.c: (gst_message_new_segment_start),
15883         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15884         (gst_message_parse_segment_done):
15885         * gst/gstmessage.h:
15886         Added a bunch of messages for advanced seeking.
15887
15888         * gst/parse/grammar.y:
15889         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15890         (gst_dpman_state_changed):
15891         Fix some new-pad -> pad-added signals
15892
15893 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15894
15895         * docs/manual/appendix-porting.xml:
15896         * docs/pwg/appendix-porting.xml:
15897           Document new-pad/state-change signal renames and the FixedList
15898           type rename.
15899
15900 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15901
15902         * docs/manual/advanced-autoplugging.xml:
15903         * docs/manual/basics-helloworld.xml:
15904         * docs/manual/basics-pads.xml:
15905         * docs/random/ds/0.9-suggested-changes:
15906         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15907         * gst/gstelement.h:
15908         * gst/gstevent.h:
15909         * gst/gstformat.h:
15910         * gst/gstquery.h:
15911         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15912         (gst_structure_parse_array), (gst_structure_parse_value):
15913         * gst/gstvalue.c: (gst_type_is_fixed),
15914         (gst_value_list_prepend_value), (gst_value_list_append_value),
15915         (gst_value_list_get_size), (gst_value_list_get_value),
15916         (gst_value_transform_array_string), (gst_value_serialize_array),
15917         (gst_value_deserialize_array), (gst_value_intersect_array),
15918         (gst_value_is_fixed), (_gst_value_initialize):
15919         * gst/gstvalue.h:
15920           GstElement::new-pad -> pad-added, GstElement::state-change ->
15921           state-changed, GstValueFixedList -> GstValueArray, add format and
15922           flags as their own arguments in gst_element_seek() (should improve
15923           "bindeability"), remove function generators since they don't work
15924           under a whole bunch of compilers (they were deprecated already
15925           anyway).
15926
15927 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15928
15929         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15930         (_gst_debug_register_funcptr):
15931         * gst/gstinfo.h:
15932           Fix illegal cast on some platforms (#309253).
15933
15934 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15935
15936         * gst/gstmessage.c: (gst_message_new_custom):
15937         * gst/gstmessage.h:
15938           Add _new_custom, make _new_application a macro to _new_custom.
15939
15940 2005-07-20  Wim Taymans  <wim@fluendo.com>
15941
15942         * gst/base/gstbasesrc.c: (gst_base_src_init),
15943         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15944         * gst/base/gstbasesrc.h:
15945         Add a gboolean to decide when to push out a discont.
15946
15947         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15948         (gst_queue_loop), (gst_queue_handle_src_query),
15949         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15950         (gst_queue_set_property), (gst_queue_get_property):
15951         Some cleanups.
15952
15953         * tests/threadstate/threadstate1.c: (main):
15954         Make a thread test compile and run... very silly..
15955
15956
15957 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15958
15959         * docs/manual/appendix-porting.xml:
15960           Mention removal of libgstgconf-0.9.la and existence of gconf
15961           elements.
15962
15963 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15964
15965         * docs/pwg/advanced-clock.xml:
15966         * docs/pwg/appendix-porting.xml:
15967         * docs/pwg/intro-preface.xml:
15968         * docs/pwg/other-base.xml:
15969         * docs/pwg/other-manager.xml:
15970         * docs/pwg/other-nton.xml:
15971         * docs/pwg/other-ntoone.xml:
15972         * docs/pwg/other-oneton.xml:
15973         * docs/pwg/pwg.xml:
15974           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15975           demuxer), remove n-to-n (was never written), fix some code examples
15976           and links and update the porting section to include all this.
15977
15978 2005-07-19  Wim Taymans  <wim@fluendo.com>
15979
15980         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15981         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15982         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15983         (gst_queue_src_activate_push), (gst_queue_change_state),
15984         (gst_queue_get_property):
15985         * gst/gstqueue.h:
15986         Propagate GstFlowReturn more intelligently upstream and output
15987         an ERROR/EOS when streaming stopped due to fatal error.
15988
15989 2005-07-19  Wim Taymans  <wim@fluendo.com>
15990
15991         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15992         Don't block forever for the state change to complete, the
15993         pipeline already did with a sensible timeout.
15994
15995 2005-07-19  Wim Taymans  <wim@fluendo.com>
15996
15997         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15998         Make sure we never call the create function is we
15999         got deactivated.
16000
16001 2005-07-19  Andy Wingo  <wingo@pobox.com>
16002
16003         * gst/parse/parse.l: Attempt to solve bug #172815.
16004
16005 2005-07-19  Wim Taymans  <wim@fluendo.com>
16006
16007         * docs/design/part-clocks.txt:
16008         * docs/design/part-events.txt:
16009         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16010         Small docs updates.
16011         Only update the seeking values when we are not
16012         busy streaming.
16013
16014 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16015
16016         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16017           Oops, ignore the result of gst_pad_push_event here.
16018
16019 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
16020
16021         * gst/base/gstbasesrc.c: (gst_base_src_loop),
16022         (gst_base_src_activate_push):
16023           Send discont event from the loop function, as pads
16024           aren't activated yet in the activate_push handler.
16025
16026         * gst/gstbin.c: (bin_bus_handler):
16027           Don't leak element name.
16028
16029 2005-07-18  Andy Wingo  <wingo@pobox.com>
16030
16031         * configure.ac: Use AS_LIBTOOL_TAGS.
16032
16033 2005-07-18  Wim Taymans  <wim@fluendo.com>
16034
16035         * docs/gst/gstreamer.types:
16036         Remove deleted types.
16037
16038 2005-07-18  Wim Taymans  <wim@fluendo.com>
16039
16040         * check/elements/gstfakesrc.c: (GST_START_TEST):
16041         * configure.ac:
16042         * gst/Makefile.am:
16043         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16044         (init_popt_callback):
16045         * gst/gst.h:
16046         * gst/gst_private.h:
16047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16048         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16049         * gst/gstbin.h:
16050         * gst/gstbus.h:
16051         * gst/gstconfig.h.in:
16052         * gst/gstelement.c: (gst_element_class_init),
16053         (gst_element_set_base_time), (gst_element_get_base_time),
16054         (iterator_fold_with_resync), (gst_element_change_state),
16055         (gst_element_dispose), (gst_element_get_bus):
16056         * gst/gstelement.h:
16057         * gst/gstelementfactory.h:
16058         * gst/gsterror.c: (_gst_core_errors_init):
16059         * gst/gsterror.h:
16060         * gst/gstevent.h:
16061         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16062         * gst/gstindex.c:
16063         * gst/gstinfo.c: (_gst_debug_init):
16064         * gst/gstmessage.c: (_gst_message_copy):
16065         * gst/gstmessage.h:
16066         * gst/gstminiobject.h:
16067         * gst/gstobject.c:
16068         * gst/gstobject.h:
16069         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16070         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16071         * gst/gstpad.h:
16072         * gst/gstparse.h:
16073         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16074         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16075         (gst_pipeline_get_last_stream_time):
16076         * gst/gstpipeline.h:
16077         * gst/gstpluginfeature.h:
16078         * gst/gstquery.h:
16079         * gst/gstscheduler.c:
16080         * gst/gstscheduler.h:
16081         * gst/gststructure.h:
16082         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16083         (gst_task_finalize), (gst_task_func), (gst_task_create),
16084         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16085         (gst_task_stop), (gst_task_pause):
16086         * gst/gsttask.h:
16087         * gst/gsttypefind.h:
16088         * gst/gsttypes.h:
16089         * gst/registries/gstlibxmlregistry.c: (load_feature),
16090         (gst_xml_registry_load), (gst_xml_registry_save_feature):
16091         * gst/registries/gstxmlregistry.c:
16092         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16093         * gst/schedulers/threadscheduler.c:
16094         * libs/gst/control/dparammanager.h:
16095         * tools/gst-inspect.c: (print_element_list),
16096         (print_plugin_features), (print_element_features):
16097         * tools/gst-xmlinspect.c: (print_element_list),
16098         (print_plugin_info), (main):
16099         Removed plugable schedulers.
16100         Removed Scheduler/Manager from elements.
16101         Removed gsttypes.h, rearranged includes.
16102         Removed dependency pad<->element, element<>pipeline, and
16103         various others,  fix includes.
16104         implement gst_pad_get_parent() with gst_object_get_parent()
16105         Make GstTask sefcontained.
16106         Fix _get_state() on GstBin, it did not return ASYNC with a 0
16107         timeout.
16108         Fix endless loop in iterator_fold_with_resync.
16109
16110
16111 2005-07-18  Wim Taymans  <wim@fluendo.com>
16112
16113         * gst/Makefile.am:
16114         * gst/gstarch.h:
16115         Remove old file.
16116
16117 2005-07-18  Wim Taymans  <wim@fluendo.com>
16118
16119         * gst/Makefile.am:
16120         No more cothreads.h
16121
16122 2005-07-18  Wim Taymans  <wim@fluendo.com>
16123
16124         * gst/cothreads.c:
16125         * gst/cothreads.h:
16126         Let's remove these.
16127
16128 2005-07-18  Wim Taymans  <wim@fluendo.com>
16129
16130         * docs/design/part-dynamic.txt:
16131         * docs/design/part-events.txt:
16132         * docs/design/part-seeking.txt:
16133         Some more docs in the works.
16134
16135         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16136         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16137         (gst_base_transform_setcaps), (gst_base_transform_get_size),
16138         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16139         (gst_base_transform_handle_buffer),
16140         (gst_base_transform_sink_activate_push),
16141         (gst_base_transform_src_activate_pull),
16142         (gst_base_transform_set_passthrough),
16143         (gst_base_transform_is_passthrough):
16144         Refcounting fixes.
16145
16146         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16147         Cleanups.
16148
16149         * gst/gstevent.c: (gst_event_finalize):
16150         Set SRC to NULL.
16151
16152         * gst/gstutils.c: (gst_element_unlink),
16153         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16154         (gst_pad_proxy_setcaps):
16155         * gst/gstutils.h:
16156         Add _get_parent_element() to get a pads parent as an element.
16157
16158 2005-07-18  Wim Taymans  <wim@fluendo.com>
16159
16160         * check/gst/gstbin.c: (GST_START_TEST):
16161         Remove bogus test.
16162
16163 2005-07-18  Wim Taymans  <wim@fluendo.com>
16164
16165         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16166         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16167         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16168         (gst_base_sink_event), (gst_base_sink_do_sync),
16169         (gst_base_sink_chain), (gst_base_sink_loop),
16170         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16171         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16172         Refcounting fixes.
16173         Fix logic for returning ASYNC when not prerolled.
16174
16175 2005-07-18  Wim Taymans  <wim@fluendo.com>
16176
16177         * gst/gstqueue.c: (gst_queue_handle_sink_event):
16178         Fix nasty refcount bug.
16179
16180 2005-07-16 Philippe Khalaf <burger@speedy.org>
16181
16182         * gst/elements/gstfdsrc.c:
16183         * gst/elements/gstfdsrc.h:
16184         * gst/elements/gstelements.c:
16185         * gst/elements/Makefile.am:
16186         Ported fdsrc to 0.9.
16187
16188 2005-07-16  Wim Taymans  <wim@fluendo.com>
16189
16190         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16191         (gst_base_sink_do_sync):
16192         Fix compile error.
16193
16194 2005-07-16  Wim Taymans  <wim@fluendo.com>
16195
16196         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16197         (gst_base_sink_event), (gst_base_sink_get_times),
16198         (gst_base_sink_do_sync), (gst_base_sink_change_state):
16199         * gst/base/gstbasesink.h:
16200         Store and use discont values when syncing buffers as described
16201         in design docs.
16202         
16203         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16204         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16205         (gst_base_src_activate_push):
16206         Push discont event when starting.
16207
16208         * gst/elements/gstidentity.c: (gst_identity_transform):
16209         Small cleanups.
16210
16211         * gst/gstbin.c: (gst_bin_change_state):
16212         Small cleanups in base_time  distribution.
16213
16214         * gst/gstelement.c: (gst_element_set_base_time),
16215         (gst_element_get_base_time), (gst_element_change_state):
16216         * gst/gstelement.h:
16217         Added methods for the base_time of the element.
16218         Some MT fixes.
16219
16220         * gst/gstpipeline.c: (gst_pipeline_send_event),
16221         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16222         (gst_pipeline_get_last_stream_time):
16223         * gst/gstpipeline.h:
16224         MT fixes.
16225         Handle seeking as described in design doc, remove stream_time
16226         hack.
16227         Cleanups clock and stream_time selection code. Added accessors
16228         for the stream_time.
16229         
16230
16231 2005-07-16  Andy Wingo  <wingo@pobox.com>
16232
16233         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16234         (#305291).
16235
16236 2005-07-16  Wim Taymans  <wim@fluendo.com>
16237
16238         * check/gst/gstbin.c: (GST_START_TEST):
16239         Make elements silent as the deep_notify refs the
16240         parent, which might make the test fail.
16241
16242         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16243         Don't hold the lock for too long.
16244
16245 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
16246
16247         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16248           Don't unref the caps we passed to gst_caps_make_writable() after
16249           passing them. gst_caps_make_writable() will do that for us.
16250
16251 2005-07-15  Andy Wingo  <wingo@pobox.com>
16252
16253         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16254         (#157311).
16255
16256         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16257         own marshalling function for the handoff signal. Properly type the
16258         buffer as a buffer. Fixes some warnings. Should do a more general
16259         solution.
16260         (gst_identity_class_init): Plug into the right marshaller.
16261
16262 2005-07-15  Wim Taymans  <wim@fluendo.com>
16263
16264         * docs/design/part-TODO.txt:
16265         * docs/design/part-clocks.txt:
16266         * docs/design/part-element-sink.txt:
16267         * docs/design/part-events.txt:
16268         * docs/design/part-gstpipeline.txt:
16269         Updated docs, mostly DISCONT related.
16270
16271 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16272
16273         * docs/pwg/building-pads.xml:
16274           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16275
16276 2005-07-15  Andy Wingo  <wingo@pobox.com>
16277
16278         * tools/gst-typefind.c: Update, add copyright block.
16279
16280         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16281         Normalize and truncate caps before fixation.
16282
16283         * gst/gstcaps.h:
16284         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16285         discards all but the first structure from its argument.
16286
16287 2005-07-15  Wim Taymans  <wim@fluendo.com>
16288
16289         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16290         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16291         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16292         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16293         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16294         (gst_base_transform_chain), (gst_base_transform_change_state),
16295         (gst_base_transform_set_passthrough),
16296         (gst_base_transform_is_passthrough):
16297         * gst/base/gstbasetransform.h:
16298         Make passthrough work using the bufferpools.
16299         Changed API a bit, subclasses have to write into a buffer
16300         provided by the base class.
16301         More debug info in nego functions.
16302         
16303         * gst/elements/gstidentity.c: (gst_identity_init),
16304         (gst_identity_transform):
16305         Port to new base class.
16306
16307 2005-07-15  Wim Taymans  <wim@fluendo.com>
16308
16309         * gst/gstmessage.c: (gst_message_new_state_changed):
16310         * tools/gst-launch.c: (event_loop), (main):
16311         Totally dump messages in -launch with the -m option.
16312         Fix message name for State messages,
16313
16314 2005-07-14  Wim Taymans  <wim@fluendo.com>
16315
16316         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16317         Post error messages on errors.
16318
16319 2005-07-14  Wim Taymans  <wim@fluendo.com>
16320
16321         * gst/gstcaps.c: (gst_caps_do_simplify):
16322         Remove debug info.
16323
16324         * gst/gsterror.h:
16325         Define error for stream stopped.
16326
16327         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16328         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16329         Do proper return values.
16330
16331         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16332         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16333         (gst_pad_get_range):
16334         Better return values.
16335
16336         * gst/gstpad.h:
16337         Reorganise return values, add macro to check for fatal errors.
16338
16339         * gst/gstqueue.c: (gst_queue_chain):
16340         Return proper GstFlowReturn values,
16341
16342 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16343
16344         * docs/gst/gstreamer-sections.txt:
16345         * docs/gst/gstreamer.types:
16346         * docs/gst/tmpl/gst.sgml:
16347         * docs/gst/tmpl/gstbasesink.sgml:
16348         * docs/gst/tmpl/gstbasesrc.sgml:
16349         * docs/gst/tmpl/gstbasetransform.sgml:
16350         * docs/gst/tmpl/gstbin.sgml:
16351         * docs/gst/tmpl/gstbuffer.sgml:
16352         * docs/gst/tmpl/gstcaps.sgml:
16353         * docs/gst/tmpl/gstclock.sgml:
16354         * docs/gst/tmpl/gstcompat.sgml:
16355         * docs/gst/tmpl/gstconfig.sgml:
16356         * docs/gst/tmpl/gstelement.sgml:
16357         * docs/gst/tmpl/gstelementdetails.sgml:
16358         * docs/gst/tmpl/gstelementfactory.sgml:
16359         * docs/gst/tmpl/gstenumtypes.sgml:
16360         * docs/gst/tmpl/gsterror.sgml:
16361         * docs/gst/tmpl/gstevent.sgml:
16362         * docs/gst/tmpl/gstfakesink.sgml:
16363         * docs/gst/tmpl/gstfakesrc.sgml:
16364         * docs/gst/tmpl/gstfilesink.sgml:
16365         * docs/gst/tmpl/gstfilesrc.sgml:
16366         * docs/gst/tmpl/gstfilter.sgml:
16367         * docs/gst/tmpl/gstformat.sgml:
16368         * docs/gst/tmpl/gstghostpad.sgml:
16369         * docs/gst/tmpl/gstimplementsinterface.sgml:
16370         * docs/gst/tmpl/gstindex.sgml:
16371         * docs/gst/tmpl/gstindexfactory.sgml:
16372         * docs/gst/tmpl/gstinfo.sgml:
16373         * docs/gst/tmpl/gstiterator.sgml:
16374         * docs/gst/tmpl/gstmacros.sgml:
16375         * docs/gst/tmpl/gstmemchunk.sgml:
16376         * docs/gst/tmpl/gstminiobject.sgml:
16377         * docs/gst/tmpl/gstobject.sgml:
16378         * docs/gst/tmpl/gstpad.sgml:
16379         * docs/gst/tmpl/gstpadtemplate.sgml:
16380         * docs/gst/tmpl/gstparse.sgml:
16381         * docs/gst/tmpl/gstpipeline.sgml:
16382         * docs/gst/tmpl/gstplugin.sgml:
16383         * docs/gst/tmpl/gstpluginfeature.sgml:
16384         * docs/gst/tmpl/gstquery.sgml:
16385         * docs/gst/tmpl/gstqueue.sgml:
16386         * docs/gst/tmpl/gstregistry.sgml:
16387         * docs/gst/tmpl/gstregistrypool.sgml:
16388         * docs/gst/tmpl/gstscheduler.sgml:
16389         * docs/gst/tmpl/gstschedulerfactory.sgml:
16390         * docs/gst/tmpl/gststructure.sgml:
16391         * docs/gst/tmpl/gstsystemclock.sgml:
16392         * docs/gst/tmpl/gsttaglist.sgml:
16393         * docs/gst/tmpl/gsttagsetter.sgml:
16394         * docs/gst/tmpl/gsttrace.sgml:
16395         * docs/gst/tmpl/gsttrashstack.sgml:
16396         * docs/gst/tmpl/gsttypefind.sgml:
16397         * docs/gst/tmpl/gsttypefindfactory.sgml:
16398         * docs/gst/tmpl/gsttypes.sgml:
16399         * docs/gst/tmpl/gsturihandler.sgml:
16400         * docs/gst/tmpl/gsturitype.sgml:
16401         * docs/gst/tmpl/gstutils.sgml:
16402         * docs/gst/tmpl/gstvalue.sgml:
16403         * docs/gst/tmpl/gstversion.sgml:
16404         * docs/gst/tmpl/gstxml.sgml:
16405         * docs/libs/tmpl/gstcontrol.sgml:
16406         * docs/libs/tmpl/gstdataprotocol.sgml:
16407         * docs/libs/tmpl/gstdparam.sgml:
16408         * docs/libs/tmpl/gstdplinint.sgml:
16409         * docs/libs/tmpl/gstdpman.sgml:
16410         * docs/libs/tmpl/gstdpsmooth.sgml:
16411         * docs/libs/tmpl/gstgetbits.sgml:
16412         * docs/libs/tmpl/gstunitconvert.sgml:
16413         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16414         (gst_push_src_base_init), (gst_push_src_class_init),
16415         (gst_push_src_init), (gst_push_src_create):
16416         * gst/base/gstpushsrc.h:
16417         * gst/elements/gstelements.c:
16418         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16419         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16420         (gst_fake_sink_init), (gst_fake_sink_set_property),
16421         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16422         (gst_fake_sink_event), (gst_fake_sink_preroll),
16423         (gst_fake_sink_render), (gst_fake_sink_change_state):
16424         * gst/elements/gstfakesink.h:
16425         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16426         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16427         (gst_fake_src_base_init), (gst_fake_src_class_init),
16428         (gst_fake_src_init), (gst_fake_src_event_handler),
16429         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16430         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16431         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16432         (gst_fake_src_create_buffer), (gst_fake_src_create),
16433         (gst_fake_src_start), (gst_fake_src_stop):
16434         * gst/elements/gstfakesrc.h:
16435         * gst/elements/gstfilesink.c: (_do_init),
16436         (gst_file_sink_base_init), (gst_file_sink_class_init),
16437         (gst_file_sink_init), (gst_file_sink_dispose),
16438         (gst_file_sink_set_location), (gst_file_sink_set_property),
16439         (gst_file_sink_get_property), (gst_file_sink_open_file),
16440         (gst_file_sink_close_file), (gst_file_sink_query),
16441         (gst_file_sink_event), (gst_file_sink_render),
16442         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16443         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16444         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16445         * gst/elements/gstfilesink.h:
16446         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16447         (gst_file_src_class_init), (gst_file_src_init),
16448         (gst_file_src_finalize), (gst_file_src_set_location),
16449         (gst_file_src_set_property), (gst_file_src_get_property),
16450         (gst_file_src_map_region), (gst_file_src_map_small_region),
16451         (gst_file_src_create_mmap), (gst_file_src_create_read),
16452         (gst_file_src_create), (gst_file_src_is_seekable),
16453         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16454         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16455         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16456         (gst_file_src_uri_handler_init):
16457         * gst/elements/gstfilesrc.h:
16458           more autistic cleanliness in functions/names/defines
16459
16460 2005-07-13  Andy Wingo  <wingo@pobox.com>
16461
16462         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16463         source couldn't negotiate.
16464
16465         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16466         connections again.
16467
16468         * gst/gstutils.h:
16469         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16470         function. I am channeling Hades. Put your boots on suckers!!!
16471
16472 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16473
16474         * testsuite/caps/Makefile.am:
16475         * testsuite/caps/value_compare.c:
16476         * testsuite/caps/value_intersect.c:
16477         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16478           move two testsuite apps over to the check dir
16479
16480 2005-07-12  Wim Taymans  <wim@fluendo.com>
16481
16482         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16483         Added more debug info in the negotiate process.
16484
16485         * gst/gstmessage.h:
16486         Prepare for segment playback.
16487
16488         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16489         Better debugging.
16490
16491         * gst/gstutils.c:
16492         Some more docs.
16493
16494         * tools/gst-launch.c: (main):
16495         NULL pipeline on errors.
16496
16497 2005-07-12  Andy Wingo  <wingo@pobox.com>
16498
16499         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16500         not it comes from a malloc region. Make sure our copy gets freed.
16501
16502 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16503
16504         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16505         * check/gst/gstmessage.c: (GST_START_TEST):
16506         * check/gst/gststructure.c: (GST_START_TEST),
16507         (gst_structure_suite), (main):
16508           more testing
16509         * gst/gstelement.c: (gst_element_message_full):
16510           clean up GError and debug string now that they get copied
16511         * gst/gstmessage.c: (gst_message_new_error),
16512         (gst_message_new_warning), (gst_message_parse_error),
16513         (gst_message_parse_warning):
16514           use GST_TYPE_G_ERROR for structure_new, and take copies of
16515           arguments, so that we don't mess up refcounting
16516
16517 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16518
16519         * check/Makefile.am:
16520           add per-test valgrind targets
16521         * check/gst-libs/gdp.c: (GST_START_TEST),
16522         (gst_data_protocol_suite), (main):
16523           clean up
16524
16525 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16526
16527         * check/Makefile.am:
16528           instate more valgrindable tests
16529         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16530         (GST_START_TEST), (fakesrc_suite):
16531         * check/gst/gstpad.c: (GST_START_TEST):
16532         * check/gst/gststructure.c: (GST_START_TEST):
16533           fix test leaks
16534         * docs/gst/tmpl/gstminiobject.sgml:
16535         * gst/gstpad.c: (gst_pad_finalize):
16536           fix the static mutex leak
16537
16538 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16539
16540         * check/Makefile.am:
16541           add two more tests for valgrinding
16542         * check/gst/gstvalue.c: (GST_START_TEST):
16543           test refcount of deserialized buffer, found a leak
16544         * docs/gst/gstreamer-docs.sgml:
16545         * docs/gst/gstreamer-sections.txt:
16546         * docs/gst/gstreamer.types:
16547         * docs/gst/tmpl/gstminiobject.sgml:
16548           add miniobject to docs
16549         * gst/gstminiobject.c:
16550           add some docs
16551         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16552         (gst_string_unwrap):
16553           fix a hard-to-find invalid write for one of the tests
16554           fix a leak for deserialized buffers
16555
16556 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16557
16558         * docs/pwg/advanced-events.xml:
16559         * docs/pwg/advanced-request.xml:
16560         * docs/pwg/advanced-scheduling.xml:
16561         * docs/pwg/appendix-porting.xml:
16562         * docs/pwg/building-boiler.xml:
16563         * docs/pwg/intro-preface.xml:
16564         * docs/pwg/other-ntoone.xml:
16565           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16566           of example code and explanation for pad activation, loop() and
16567           getrange() functions and a bit more. Remove old comments pointing
16568           to loop-functions.
16569         * examples/pwg/Makefile.am:
16570           Add loop/getrange examples.
16571
16572 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16573
16574         * configure.ac:
16575           check for valgrind binary + some fixes
16576         * check/gst.supp:
16577           valgrind suppressions for the tests
16578         * check/Makefile.am:
16579           add a valgrind: target that valgrinds the unit tests
16580         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16581         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16582         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16583         * check/gst/gstghostpad.c:
16584           added some cleanup
16585         * check/gst/gstdata.c:
16586           removed
16587         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16588         (thread_unref), (gst_mini_object_suite), (main):
16589           added
16590         * gst/gst.c: (gst_deinit):
16591         * gst/gst.h:
16592           add a method to clean up.
16593         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16594         (gst_system_clock_obtain):
16595           allow for disposing the system clock.
16596         * tools/gst-launch.c: (main):
16597           deinit
16598
16599 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16600
16601         * docs/gst/tmpl/gstbasesrc.sgml:
16602         * docs/gst/tmpl/gstfakesrc.sgml:
16603         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16604         (gst_base_src_init), (gst_base_src_set_property),
16605         (gst_base_src_get_property), (gst_base_src_get_range),
16606         (gst_base_src_start):
16607         * gst/base/gstbasesrc.h:
16608           add num-buffers property
16609         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16610         (gst_fakesrc_init), (gst_fakesrc_set_property),
16611         (gst_fakesrc_get_property), (gst_fakesrc_create),
16612         (gst_fakesrc_start):
16613           remove num-buffers property
16614
16615 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16616
16617         * docs/gst/gstreamer-sections.txt:
16618         * docs/gst/tmpl/gstbasesink.sgml:
16619         * docs/gst/tmpl/gstbasesrc.sgml:
16620         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16621         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16622         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16623         (gst_base_sink_set_property), (gst_base_sink_get_property),
16624         (gst_base_sink_handle_object), (gst_base_sink_event),
16625         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16626         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16627         (gst_base_sink_loop), (gst_base_sink_deactivate),
16628         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16629         (gst_base_sink_change_state):
16630         * gst/base/gstbasesink.h:
16631         * gst/base/gstbasesrc.h:
16632         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16633         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16634         (gst_filesink_init):
16635           more macro splitting
16636
16637 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16638
16639         * gst/gstelement.c: (gst_element_get_bus):
16640           add debug
16641         * tools/gst-launch.c: (check_intr), (event_loop):
16642           fix bus leaks
16643
16644 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16645
16646         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16647           fix a caps leak
16648
16649 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16650
16651         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16652         (gst_base_src_finalize):
16653           add finalize method and clean up properly
16654         * gst/gstpipeline.c: (gst_pipeline_dispose):
16655           add debug
16656
16657 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16658
16659         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16660         (gst_bin_suite):
16661           add more things to check
16662         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16663         * gst/gstelement.c:
16664           more debug
16665
16666 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16667
16668         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16669         (GST_START_TEST), (fakesrc_suite):
16670         * check/gst-libs/gdp.c: (GST_START_TEST):
16671         * check/gst/gst.c: (GST_START_TEST):
16672         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16673         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16674         * check/gst/gstbus.c: (GST_START_TEST):
16675         * check/gst/gstcaps.c: (GST_START_TEST):
16676         * check/gst/gstdata.c: (GST_START_TEST):
16677         * check/gst/gstelement.c: (GST_START_TEST):
16678         * check/gst/gstghostpad.c: (GST_START_TEST):
16679         * check/gst/gstiterator.c: (GST_START_TEST):
16680         * check/gst/gstmessage.c: (GST_START_TEST):
16681         * check/gst/gstobject.c: (GST_START_TEST):
16682         * check/gst/gstpad.c: (GST_START_TEST):
16683         * check/gst/gststructure.c: (GST_START_TEST):
16684         * check/gst/gstsystemclock.c: (GST_START_TEST),
16685         (gst_systemclock_suite):
16686         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16687         * check/gst/gstvalue.c: (GST_START_TEST):
16688         * check/pipelines/cleanup.c: (GST_START_TEST):
16689         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16690         * check/states/sinks.c: (GST_START_TEST):
16691         * check/gstcheck.c: (gst_check_init):
16692         * check/gstcheck.h:
16693           add debugging category
16694           use GST_START_TEST now, so we add a debug line
16695
16696 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16697
16698         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16699           add test for state change message on a bin
16700         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16701           add another test
16702         * gst/gstbin.c: (gst_bin_init):
16703         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16704         * gst/gstelement.c: (gst_element_post_message),
16705         (gst_element_set_state):
16706         * gst/gstelementfactory.c: (gst_element_factory_create):
16707         * gst/gstmessage.c: (gst_message_new):
16708         * gst/gstscheduler.c:
16709           various debugging additions and cleanups
16710
16711 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16712
16713         * check/Makefile.am:
16714         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16715         (main):
16716           adding tests for elements
16717         * gst/gstelement.c: (gst_element_dispose):
16718
16719 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16720
16721         * gst/registries/gstlibxmlregistry.c: (load_feature):
16722           plug more leaks.  A simple gst_init() now is leakfree, yay.
16723
16724 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16725
16726         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16727         (gst_xml_registry_load):
16728           plug another memleak
16729
16730 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16731
16732         * configure.ac:
16733           use GST_SET_ERROR_CFLAGS
16734         * docs/faq/cvs.xml:
16735           change to ERROR_CFLAGS
16736
16737 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16738
16739         * configure.ac:
16740           make GST_ERROR_CFLAGS overridable and re-enable Werror
16741         * docs/faq/cvs.xml:
16742           add a note about error CFLAGS
16743         * docs/gst/tmpl/gstfakesrc.sgml:
16744         * gst/elements/gstfakesrc.c:
16745           comment out some unused code
16746         * gst/gst.c: (split_and_iterate):
16747         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16748         (load_feature):
16749           plug some memleaks
16750
16751 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16752
16753         * common/Makefile.am:
16754         * common/gtk-doc.mak:
16755         * docs/gst/Makefile.am:
16756           factor out gtk-doc.mak
16757
16758 2005-07-07  Wim Taymans  <wim@fluendo.com>
16759
16760         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16761         (gst_thread_scheduler_dispose):
16762         Unlock the STREAM_LOCK completely.
16763
16764 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16765
16766         * check/Makefile.am:
16767         * check/elements/.cvsignore:
16768         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16769         (START_TEST), (fakesrc_suite), (main):
16770         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16771         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16772         (gst_fakesrc_create), (gst_fakesrc_start):
16773         * gst/elements/gstfakesrc.h:
16774           adding a first element test
16775
16776 2005-07-07  Andy Wingo  <wingo@pobox.com>
16777
16778         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16779         debug message.
16780
16781 2005-07-07  Wim Taymans  <wim@fluendo.com>
16782
16783         * gst/gstquery.c:
16784         * gst/gstquery.h:
16785         Remove old types
16786
16787 2005-07-07  Wim Taymans  <wim@fluendo.com>
16788
16789         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16790         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16791         Allow subclasses to implement their own negotiation.
16792
16793 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16794
16795         * docs/design/part-gstbin.txt:
16796         * docs/design/part-gstpipeline.txt:
16797           Update design notes to reflect the movement of
16798           responsibility for bus handling from GstPipeline to
16799           GstBin
16800
16801 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16802
16803         * configure.ac:
16804           Remove unnecessary queue2/3/4 examples.
16805
16806 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16807
16808         * examples/Makefile.am:
16809         * examples/helloworld/helloworld.c: (event_loop), (main):
16810         * examples/queue/queue.c: (event_loop), (main):
16811         * examples/queue2/queue2.c: (main):
16812           Update a couple of the examples to work again.
16813
16814         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16815         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16816          Spelling corrections and extra debug.
16817         
16818         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16819         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16820         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16821         * gst/gstbin.h:
16822         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16823         (gst_pipeline_change_state):
16824         * gst/gstpipeline.h:
16825           Move the bus handler for children to the GstBin, and create a
16826           separate bus for receiving messages from children to the one the
16827           bus sends 'upwards' on.
16828
16829 2005-07-06  Wim Taymans  <wim@fluendo.com>
16830
16831         * gst/base/README:
16832         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16833         (gst_base_sink_handle_object), (gst_base_sink_loop),
16834         (gst_base_sink_change_state):
16835         * gst/base/gstbasesink.h:
16836         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16837         (gst_base_src_init), (gst_base_src_setcaps),
16838         (gst_base_src_getcaps), (gst_base_src_loop),
16839         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16840         (gst_base_src_start), (gst_base_src_change_state):
16841         * gst/base/gstbasesrc.h:
16842         Make basesrc negotiate.
16843         Handle the case where preroll fails in basesink.
16844         Update README.
16845
16846 2005-07-06  Wim Taymans  <wim@fluendo.com>
16847
16848         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16849         Implement the fixate function.
16850         Clean up acceptcaps.
16851
16852 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16853
16854         * docs/pwg/building-filterfactory.xml:
16855         * docs/pwg/pwg.xml:
16856           Remove never-written filter-factory chapter; I'll add the various
16857           base classes to part 4 ("other element types") later on.
16858
16859 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16860
16861         * docs/pwg/advanced-negotiation.xml:
16862         * docs/pwg/building-boiler.xml:
16863         * docs/pwg/building-pads.xml:
16864         * docs/pwg/pwg.xml:
16865         * examples/pwg/Makefile.am:
16866           Add a chapter on caps negotiation, simplify the original code
16867           samples a bit w.r.t. caps negotiation, add link to the advanced
16868           section. Add a bunch of examples showing different use cases of
16869           different types of caps negotiation. Upstream renegotiation isn't
16870           fully documented yet since nobody knows how that works.
16871
16872 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16873
16874         * check/gst/gstpad.c:
16875         * check/gstcheck.c:
16876         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16877           if pad has no parent, return NULL as list of internal links
16878
16879 2005-07-05  Andy Wingo  <wingo@pobox.com>
16880
16881         * gst/elements/gstfilesrc.c:
16882         * gst/elements/gstfakesrc.c: 
16883         * gst/base/gstpushsrc.c:
16884         * gst/base/gstbasesrc.h: 
16885         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16886         
16887 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16888
16889         * Makefile.am:
16890           better report generation target (lcov needs a patch)
16891
16892 2005-07-05  Andy Wingo  <wingo@pobox.com>
16893
16894         * gst/elements, testsuite: Null if we got it...
16895
16896 2005-07-05  Wim Taymans  <wim@fluendo.com>
16897
16898         * configure.ac:
16899         * libs/gst/dataprotocol/Makefile.am:
16900         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16901         * libs/gst/dataprotocol/dataprotocol.h:
16902         * pkgconfig/Makefile.am:
16903         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16904         * pkgconfig/gstreamer-dataprotocol.pc.in:
16905         Ported dataprotol to 0.9. 
16906         Added pkgconfig files.
16907
16908 2005-07-05  Andy Wingo  <wingo@pobox.com>
16909
16910         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16911         Default to returning TRUE for the case when tranform_caps returns
16912         a fixed caps, like for identity or volume.
16913
16914         * check/gst/gstbus.c (pound_bus_with_messages): 
16915         * check/gst/gstmessage.c (START_TEST): 
16916         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16917         message API change.
16918
16919         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16920         logic weaks here: always run transform_caps, trying passthrough
16921         operation only if the original caps intersects with the transform.
16922
16923         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16924         source and sink caps.
16925
16926         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16927         Intersect the peer caps with the pad template before going into
16928         transform_caps.
16929         (gst_base_transform_transform_caps): More debugging.
16930
16931         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16932         src argument.
16933
16934 2005-07-04  Edward Hervey  <edward@fluendo.com>
16935
16936         * gst/gstutils.c:
16937         * gst/gstutils.h:
16938         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16939         in bindings.
16940
16941 2005-07-04  Andy Wingo  <wingo@pobox.com>
16942
16943         * check/gst/gstpad.c: Only set explicit caps on pads.
16944
16945 2005-07-01  Andy Wingo  <wingo@pobox.com>
16946
16947         * tests/network-clock.scm: Commentary update.
16948
16949         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16950         Didn't really make sense, not implementable with basetransform,
16951         etc.
16952         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16953         attempt at implementing the sync property, needs an unlock method.
16954
16955         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16956         New func, by default returns the same caps (the identity
16957         transformation).
16958         (gst_base_transform_getcaps): Uses transform_caps to return
16959         something sensible.
16960         (gst_base_transform_setcaps): Complicated logic to get caps on
16961         both pads, even if they are different, and to call set_caps once
16962         for every time both pads get their caps set.
16963         (gst_base_transform_handle_buffer): Give the ref to the transform
16964         function. Allows in-place modification of the buffer.
16965
16966         * gst/base/gstbasetransform.h (transform_caps): New class method.
16967         Given caps on one side, what can I do on the other.
16968         (set_caps): Take two caps, one for each side of the element.
16969
16970         * gst/gstpad.h:
16971         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16972         caps in place. This is safe because we can check the mutability of
16973         the caps, and a good idea because fixate functions are just called
16974         as a matter of last resort. (Not actually implemented.)
16975         (gst_pad_set_caps): If the caps we're setting is actually the same
16976         as the existing pad caps, just update the pointer without calling
16977         setcaps. Assert that caps is either NULL or fixed, as per the
16978         docs.
16979
16980         * gst/gstghostpad.c: Update for fixate changes.
16981
16982 2005-07-02  Andy Wingo  <wingo@pobox.com>
16983
16984         * gst/gstcaps.c:
16985         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16986         two refcounts makes it immutable, which is enough. Doc more.
16987
16988 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16989
16990         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16991           Put the mini_object into GValue as a mini_object,
16992           not a gpointer, since that's how we declared
16993           the signal.
16994
16995 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16996
16997         * examples/pwg/Makefile.am:
16998           Fix buildbot again.
16999
17000 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17001
17002         * docs/pwg/building-testapp.xml:
17003           Add extra check.
17004         * examples/pwg/Makefile.am:
17005           Fix buildbot.
17006
17007 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17008
17009         * configure.ac:
17010         * examples/Makefile.am:
17011         * examples/pwg/Makefile.am:
17012         * examples/pwg/extract.pl:
17013           Enable building the PWG examples.
17014         * docs/pwg/advanced-interfaces.xml:
17015           Add URI interface stub.
17016         * docs/pwg/advanced-types.xml:
17017         * docs/pwg/other-autoplugger.xml:
17018         * docs/pwg/appendix-porting.xml:
17019         * docs/pwg/pwg.xml:
17020           Add porting guide (mostly stubs), remove autoplugging (see ADM).
17021         * docs/pwg/building-boiler.xml:
17022         * docs/pwg/building-chainfn.xml:
17023         * docs/pwg/building-pads.xml:
17024         * docs/pwg/building-props.xml:
17025         * docs/pwg/building-state.xml:
17026         * docs/pwg/building-testapp.xml:
17027           Update the building-*.xml parts for 0.9 changes. All examples
17028           code blocks compile in examples/pwg/*.
17029
17030 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17031
17032         * docs/manual/advanced-autoplugging.xml:
17033         * docs/manual/appendix-checklist.xml:
17034         * docs/manual/appendix-integration.xml:
17035         * docs/manual/highlevel-components.xml:
17036           Fix playbin/decodebin examples, update docs a bit, mention bus
17037           instead of signals in various places, mention kmplayer and
17038           kaffeine since they have a working GStreamer backend in the KDE
17039           section.
17040
17041 2005-06-30  Wim Taymans  <wim@fluendo.com>
17042
17043         * CHANGES-0.9:
17044         * docs/design/draft-ghostpads.txt:
17045         * docs/design/draft-push-pull.txt:
17046         * docs/design/draft-query.txt:
17047         * docs/design/part-TODO.txt:
17048         * docs/design/part-query.txt:
17049         Added CHANGES-0.9 doc, updated status of other docs.
17050         
17051         * gst/gstquery.h:
17052         Remove "hmm" macro
17053
17054 2005-06-30  Wim Taymans  <wim@fluendo.com>
17055
17056         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17057         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17058         (gst_base_sink_change_state):
17059         * gst/base/gstbasesink.h:
17060         Some tweaks, only EOS and a buffer complete a preroll.
17061
17062 2005-06-30  Andy Wingo  <wingo@pobox.com>
17063
17064         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17065         activate_push down to the internal pad as well.
17066
17067 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
17068
17069         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17070
17071         * gst/gsttaginterface.c:
17072           Some documentation fixes (#307394 and #307397).
17073
17074 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
17075
17076         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17077
17078         * gst/gstvalue.c: (gst_value_intersect_list):
17079           Fix memleak (#309125).
17080
17081 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17082
17083         * docs/manual/advanced-dataaccess.xml:
17084           Fix fakesrc example to compile; doesn't work, bug somewhere...?
17085         * docs/manual/basics-pads.xml:
17086           Add reference for filtered caps to above chapter.
17087
17088 2005-06-30  Wim Taymans  <wim@fluendo.com>
17089
17090         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17091         (gst_bin_change_state):
17092         Probes are gone.
17093         Lame attempt at making the state change function a bit
17094         more readable.
17095
17096 2005-06-30  Wim Taymans  <wim@fluendo.com>
17097
17098         * docs/design/part-clocks.txt:
17099         * docs/design/part-element-sink.txt:
17100         * docs/design/part-events.txt:
17101         * docs/design/part-preroll.txt:
17102         * docs/design/part-states.txt:
17103         Some more tweeks and additions to the docs.
17104
17105 2005-06-30  Wim Taymans  <wim@fluendo.com>
17106
17107         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17108         (default_have_data), (gst_pad_class_init), (gst_pad_init),
17109         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17110         (gst_pad_check_pull_range), (gst_pad_get_range),
17111         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17112         * gst/gstpad.h:
17113         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17114         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17115         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17116         (gst_pad_remove_buffer_probe):
17117         Removed atomic operations, use existing LOCK.
17118         Move exception handling out of main code path.
17119
17120 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17121
17122         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17123         (silly_return_true_function), (gst_pad_class_init),
17124         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17125         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17126         (gst_pad_send_event):
17127           Fix accumulator, add default value by using _emitv() instead
17128           of _emit() for signal emission.
17129
17130 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17131
17132         * docs/manual/advanced-dataaccess.xml:
17133         * examples/manual/Makefile.am:
17134           Add probe example.
17135         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17136           Make work (??).
17137
17138 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
17139
17140         * gst/elements/gstfilesink.c: (gst_filesink_render):
17141           Simplify code so that we don't have to handle short
17142           writes and return GST_FLOW_ERROR if an error occured.
17143
17144 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17145
17146         * docs/gst/gstreamer-docs.sgml:
17147           Remove probes more.
17148
17149 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17150
17151         * docs/gst/gstreamer-sections.txt:
17152         * docs/gst/tmpl/gstpad.sgml:
17153         * docs/gst/tmpl/gstprobe.sgml:
17154         * gst/Makefile.am:
17155         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17156         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17157         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17158         (gst_pad_push_event), (gst_pad_send_event):
17159         * gst/gstpad.h:
17160         * gst/gstutils.c: (gst_pad_add_data_probe),
17161         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17162         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17163         (gst_pad_remove_buffer_probe):
17164         * gst/gstutils.h:
17165           Remove old probes, add new g-signal-based probes and some utility
17166           functions.
17167
17168 2005-06-29  Edward Hervey  <edward@fluendo.com>
17169
17170         * gst/gstelementfactory.c:
17171         * gst/gstutils.h:
17172         * gst/gstutils.c:
17173         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17174         the definition to the header file.
17175
17176 2005-06-29  Andy Wingo  <wingo@pobox.com>
17177
17178         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17179         plugins from the source directory.
17180
17181 2005-06-29  Wim Taymans  <wim@fluendo.com>
17182
17183         * docs/gst/tmpl/gstbuffer.sgml:
17184         * docs/gst/tmpl/gstclock.sgml:
17185         Some fixings for blantently wrong text.
17186
17187 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17188
17189         * check/Makefile.am:
17190         * gst/gst.c: (add_path_func), (init_pre):
17191         * gst/gstregistry.c: (gst_registry_add_path):
17192           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17193           only scan the GST_PLUGIN_PATH locations, and not add
17194           system locations
17195
17196 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17197
17198         * docs/gst/gstreamer-sections.txt:
17199         * docs/gst/tmpl/gstbasesrc.sgml:
17200         * gst/gstelement.c:
17201         * gst/gstelement.h:
17202         * gst/gstevent.c:
17203         * gst/gstutils.c:
17204           doc fixes
17205
17206 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17207
17208         * docs/manual/advanced-autoplugging.xml:
17209           Fix autoplugging example.
17210
17211 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17212
17213         * docs/manual/advanced-autoplugging.xml:
17214         * docs/manual/mime-world.fig:
17215           Try to get autoplugging working, fix type detection. Fix text
17216           in hello-world image.
17217
17218 2005-06-29  Wim Taymans  <wim@fluendo.com>
17219
17220         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17221         (gst_base_sink_change_state):
17222         Small debug line.
17223
17224         * gst/gstclock.h:
17225         map SIGNAL and BROADCAST to the right function.
17226
17227         * gst/gstobject.h:
17228         Remove redundant braces.
17229
17230         * gst/gstpad.c: (gst_pad_set_caps):
17231         Don't call setcaps function when reseting caps to NULL.
17232
17233         * gst/gstsystemclock.c: (gst_system_clock_dispose),
17234         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17235         (gst_system_clock_id_unschedule):
17236         Use BROADCAST as this is what we do.
17237
17238 2005-06-29  Wim Taymans  <wim@fluendo.com>
17239
17240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17241         We are actually prerolling before commiting the state
17242         change. 
17243
17244 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17245
17246         * docs/manual/advanced-clocks.xml:
17247         * docs/manual/advanced-interfaces.xml:
17248         * docs/manual/advanced-metadata.xml:
17249         * docs/manual/advanced-position.xml:
17250         * docs/manual/advanced-schedulers.xml:
17251         * docs/manual/advanced-threads.xml:
17252         * docs/manual/appendix-porting.xml:
17253         * docs/manual/basics-bins.xml:
17254         * docs/manual/basics-bus.xml:
17255         * docs/manual/basics-elements.xml:
17256         * docs/manual/basics-helloworld.xml:
17257         * docs/manual/basics-pads.xml:
17258         * docs/manual/highlevel-components.xml:
17259         * docs/manual/manual.xml:
17260         * docs/manual/thread.fig:
17261           Update (until threads/scheduling) Application Development Manual;
17262           remove GstThread, add GstBus, add simple porting checklist, add
17263           documentation for tag writing, clocks, make all examples until this
17264           part compile and run.
17265         * examples/manual/Makefile.am:
17266           Update from changes to Application Development Manual; add bus
17267           example, remove thread example.
17268
17269 2005-06-28  Wim Taymans  <wim@fluendo.com>
17270
17271         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17272         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17273         (gst_bus_source_dispatch):
17274         Add debugging messages.
17275         Make internal methods static.
17276         Handle the case where the bus is flushed in the handler.
17277         
17278         * gst/gstelement.c: (gst_element_get_bus):
17279         Fix refcount in _get_bus();
17280
17281         * gst/gstpipeline.c: (gst_pipeline_change_state),
17282         (gst_pipeline_get_clock_func):
17283         Clock refcounting fixes.
17284         Handle the case where preroll timed out more gracefully.
17285         
17286         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17287         Clean up the internal thread in dispose. This is needed
17288         for subclasses that actually get disposed.
17289         
17290         * gst/schedulers/threadscheduler.c:
17291         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17292         (gst_thread_scheduler_dispose):
17293         Free thread pool in dispose.
17294
17295 2005-06-28  Andy Wingo  <wingo@pobox.com>
17296
17297         * tests/network-clock-utils.scm (debug, print-event): New utils.
17298
17299         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17300         (*packet-loss*): Unified loss probability.
17301         (network-time): Report out-of-band events.
17302
17303         * tests/plot-data: Add support for out-of-band events. Hack it
17304         into this script instead of passing it down the pipe; should fix
17305         this later.
17306
17307 2005-06-28  Wim Taymans  <wim@fluendo.com>
17308
17309         * docs/gst/gstreamer.types:
17310         * docs/gst/tmpl/gstbasesrc.sgml:
17311         * docs/gst/tmpl/gstpad.sgml:
17312         Docs fixes.
17313
17314 2005-06-28  Wim Taymans  <wim@fluendo.com>
17315
17316         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17317         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17318         (gst_proxy_pad_do_fixatecaps):
17319         Correctly proxy the check_pull_range function.
17320
17321 2005-06-28  Andy Wingo  <wingo@pobox.com>
17322
17323         * tests/network-clock.scm: Removed need for slib.
17324         
17325 2005-06-28  Wim Taymans  <wim@fluendo.com>
17326
17327         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17328         (gst_basesink_preroll_queue_flush):
17329         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17330         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17331         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17332         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17333         (gst_proxy_pad_set_property):
17334         * gst/gstpad.c:
17335         * gst/gstpad.h:
17336         * gst/gstqueue.c: (gst_queue_init):
17337         The deprecated pad loop function is removed now.
17338
17339 2005-06-28  Andy Wingo  <wingo@pobox.com>
17340
17341         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17342         New parameters, simulate network packet loss.
17343
17344         * tests/network-clock-utils.scm: Initialize the RNG.
17345
17346 2005-06-28  Wim Taymans  <wim@fluendo.com>
17347
17348         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17349         (gst_basesink_event), (gst_basesink_deactivate):
17350         Flushing the preroll queue always needs to unlock the waiters.
17351
17352 2005-06-28  Edward Hervey  <edward@fluendo.com>
17353
17354         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17355         Wheen a seek was successful on a pipeline, set the stream_time to the
17356         seek offset in order to have a synchronized stream_time.
17357
17358 2005-06-28  Wim Taymans  <wim@fluendo.com>
17359
17360         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17361         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17362         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17363         (gst_proxy_pad_do_fixatecaps):
17364         Call wrapper function instead of just calling the function
17365         pointers. This takes care of any locking and whatmore.
17366
17367 2005-06-28  Wim Taymans  <wim@fluendo.com>
17368
17369         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17370         (gst_pad_pull_range):
17371         * gst/gstpad.h:
17372         CONNECTED -> LINKED.
17373
17374 2005-06-28  Andy Wingo  <wingo@pobox.com>
17375
17376         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17377         source-munging commit!!!
17378
17379         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17380         (gst_object_sink): Take gpointer arguments, not GstObject --
17381         avoids casts. Like GLib.
17382
17383         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17384         activate.
17385
17386 2005-06-27  Andy Wingo  <wingo@pobox.com>
17387
17388         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17389         remaining buffer.
17390
17391         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17392         returns a sorted copy of the trace list.
17393         (gst_alloc_trace_print_live): New API, only prints traces with
17394         live objects. Sort the list.
17395         (gst_alloc_trace_print_all): Sort the list.
17396         (gst_alloc_trace_print): Align columns.
17397
17398         * gst/elements/gstttypefindelement.c:
17399         * gst/elements/gsttee.c:
17400         * gst/base/gstbasesrc.c:
17401         * gst/base/gstbasesink.c:
17402         * gst/base/gstbasetransform.c:
17403         * gst/gstqueue.c: Adapt for pad activation changes.
17404
17405         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17406         sched.
17407         (gst_pipeline_dispose): Drop ref on sched.
17408
17409         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17410         (gst_pad_activate_default): Push mode by default.
17411         (pre_activate_switch, post_activate_switch): New stubs, things to
17412         do before and after switching activation modes on pads.
17413         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17414         the pad's activate function to choose which mode to activate.
17415         Shortcut on deactivation and call the right function directly.
17416         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17417         mode.
17418         (gst_pad_activate_push): New API, same for push mode.
17419         (gst_pad_set_activate_function) 
17420         (gst_pad_set_activatepull_function) 
17421         (gst_pad_set_activatepush_function): Setters for new API.
17422
17423         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17424         Trace all miniobjects.
17425         (gst_mini_object_make_writable): Unref the arg if we copy, like
17426         gst_caps_make_writable.
17427
17428         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17429
17430         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17431         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17432         Adapt for new pad API.
17433
17434         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17435
17436         * gst/gstelement.h:
17437         * gst/gstelement.c (gst_element_iterate_src_pads) 
17438         (gst_element_iterate_sink_pads): New API functions.
17439         
17440         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17441         should fold into gstiterator.c in some form.
17442         (gst_element_pads_activate): Simplified via use of fold and
17443         delegation of decisions to gstpad->activate.
17444
17445         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17446         help in debugging.
17447
17448         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17449         class once in init, like gstmessage. Didn't run into this issue
17450         but it seems correct. Don't initialize a trace, gstminiobject does
17451         that.
17452
17453         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17454         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17455         to the bus.
17456         (assert_live_count): New util function, uses alloc traces to check
17457         cleanup.
17458
17459         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17460         To be modified when unlink drops the internal pad.
17461
17462 2005-06-27  Wim Taymans  <wim@fluendo.com>
17463
17464         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17465         (gst_bin_change_state):
17466         Cleanup the get_state() function a little, make sure it
17467         iterates the same set of elements.
17468         Added stub iterate_state_order().
17469
17470 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17471
17472         * docs/gst/gstreamer-docs.sgml:
17473         * docs/gst/gstreamer-sections.txt:
17474         * docs/gst/gstreamer.types:
17475         * docs/gst/tmpl/gstbasesink.sgml:
17476         * docs/gst/tmpl/gstbasesrc.sgml:
17477         * docs/gst/tmpl/gstbasetransform.sgml:
17478         * docs/gst/tmpl/gstelement.sgml:
17479         * docs/gst/tmpl/gstiterator.sgml:
17480         * gst/base/gstbasesrc.c:
17481         * gst/base/gstbasesrc.h:
17482         * gst/base/gstbasetransform.h:
17483         * gst/gstelement.c:
17484         * gst/gstiterator.h:
17485           adding basetransform and iterator docs
17486
17487 2005-06-27  Andy Wingo  <wingo@pobox.com>
17488
17489         * docs/design/part-activation.txt: Notes on how activation should
17490         work -- not quite implemented yet.
17491
17492 2005-06-25  Wim Taymans  <wim@fluendo.com>
17493
17494         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17495         At least get the chain function correct, needs more
17496         fixing.
17497
17498 2005-06-25  Wim Taymans  <wim@fluendo.com>
17499
17500         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17501         (gst_basesink_handle_object), (gst_basesink_event),
17502         (gst_basesink_do_sync), (gst_basesink_handle_event),
17503         (gst_basesink_change_state):
17504         * gst/gsttask.h:
17505         Right, two problems here: ghostpads don't take locks and
17506         glib _rec_mutex_lock_full() with depth==0 still locks.
17507         Catch illegal locking and g_warn them.
17508
17509 2005-06-25  Wim Taymans  <wim@fluendo.com>
17510
17511         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17512         Have to check for completion now...
17513
17514 2005-06-25  Wim Taymans  <wim@fluendo.com>
17515
17516         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17517         (gst_basesink_handle_object), (gst_basesink_event),
17518         (gst_basesink_do_sync), (gst_basesink_handle_event),
17519         (gst_basesink_change_state):
17520         * gst/gstpad.h:
17521         Unlock STREAM_LOCK whatever the recursion was.
17522
17523 2005-06-25  Wim Taymans  <wim@fluendo.com>
17524
17525         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17526         (gst_basesink_preroll_queue_empty),
17527         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17528         (gst_basesink_event), (gst_basesink_do_sync),
17529         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17530         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17531         (gst_basesink_change_state):
17532         Reworked the base sink, handle event and buffer serialisation
17533         correctly and removed possible deadlock.
17534         Handle EOS correctly.
17535
17536 2005-06-25  Wim Taymans  <wim@fluendo.com>
17537
17538         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17539         (gst_pipeline_change_state):
17540         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17541         Allow elements to post EOS in the state change function.
17542         Fix up -launch, make it exit the poll loop when the
17543         pipeline actually changed state.
17544         Fix up warning parsing in -launch.
17545
17546 2005-06-25  Wim Taymans  <wim@fluendo.com>
17547
17548         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17549         (gst_tee_sink_activate):
17550         Core takes STREAM_LOCK for us now.
17551
17552 2005-06-25  Wim Taymans  <wim@fluendo.com>
17553
17554         * gst/gstelement.c: (gst_element_get_state_func),
17555         (gst_element_set_state):
17556         * gst/gstelement.h:
17557         * gst/gstmessage.c: (gst_message_parse_error),
17558         (gst_message_parse_warning):
17559         Keep track of current target state while performing a state
17560         change so that subclasses can do something interesting.
17561         Fix parsing of warning/error messages when GError is NULL.
17562
17563 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17564
17565         * docs/gst/Makefile.am:
17566         * docs/gst/gstreamer-docs.sgml:
17567         * docs/gst/gstreamer-sections.txt:
17568         * docs/gst/gstreamer.types:
17569         * docs/gst/tmpl/gstbasesink.sgml:
17570         * docs/gst/tmpl/gstbasesrc.sgml:
17571         * docs/gst/tmpl/gstbin.sgml:
17572         * docs/gst/tmpl/gstcompat.sgml:
17573         * docs/gst/tmpl/gstfakesink.sgml:
17574         * docs/gst/tmpl/gstfakesrc.sgml:
17575         * docs/gst/tmpl/gstfilesink.sgml:
17576         * docs/gst/tmpl/gstfilesrc.sgml:
17577         * docs/gst/tmpl/gstindex.sgml:
17578         * docs/manual/appendix-quotes.xml:
17579         * gst/base/gstbasesrc.h:
17580         * gst/elements/gstfakesrc.h:
17581         * gst/gstmessage.h:
17582           start pulling in base classes and elements in our docs
17583
17584 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17585
17586         * docs/gst/Makefile.am:
17587         * docs/libs/Makefile.am:
17588           fixed make distcheck with gtk-doc 1.3
17589
17590 2005-06-23  Wim Taymans  <wim@fluendo.com>
17591
17592         * gst/gstelement.c: (gst_element_get_state_func),
17593         (gst_element_set_state), (gst_element_change_state):
17594         When the state did not change, also report NO_PREROLL
17595         when it matters.
17596
17597 2005-06-23  Wim Taymans  <wim@fluendo.com>
17598
17599         * gst/gstpad.c: (gst_pad_event_default):
17600         * gst/gstqueue.c: (gst_queue_loop):
17601         No unsafe task pausing please.
17602
17603 2005-06-23  Wim Taymans  <wim@fluendo.com>
17604
17605         * gst/schedulers/threadscheduler.c:
17606         (gst_thread_scheduler_task_start),
17607         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17608         Ref the task before pushing it on the threadpool. This
17609         makes sure that we have a ref when the threadfunction is
17610         actually called.
17611
17612 2005-06-23  Andy Wingo  <wingo@pobox.com>
17613
17614         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17615         offset is greater than the file's size.
17616
17617         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17618         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17619         * gst/gstobject.c (gst_object_class_init): Make the class lock
17620         recursive. Wim won't let me drop deep_notify. Decodebin works
17621         again, whoopdy doo.
17622
17623         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17624         internal pad, and hacks accordingly. Doesn't do it on the target
17625         pad because we change its caps. Probably catches all cases of
17626         interest tho.
17627         (gst_ghost_pad_set_property): Connect to notify::caps as
17628         appropritate.
17629
17630         * tests/network-clock.scm (plot-simulation): Pipe data to the
17631         elite python skript.
17632
17633         * tests/network-clock-utils.scm (define-parameter): New macro,
17634         defines a parameter that can be set via the command line.
17635         (set-parameter!, parse-parameter-arguments): Command line args
17636         parser.
17637
17638         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17639         stdin.
17640
17641 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17642
17643         * gst/elements/gsttypefindelement.c:
17644         (gst_type_find_element_handle_event):
17645           Don't restart typefinding on a discont.
17646         * gst/gstelement.c: (gst_element_set_state):
17647           Debug spelling fix.
17648         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17649           Allow changing mode of an active pad.
17650           Debug output fixes.
17651         * gst/registries/gstlibxmlregistry.c: (load_feature):
17652           Don't cast a static pad template to a normal pad template.
17653
17654 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17655
17656         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17657         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17658           remove gst_strtoll completely, since it didn't actually do
17659           anything more than what g_ascii_strtoull already does.
17660           check for range errors when deserializing
17661           do a cast for the unsigned cases; but further fixing needs
17662           a decision on what the interpretation of "(int)" and
17663           deserialization should be for values that fall outside the
17664           type's boundaries (ie, refuse, or interpret as casting)
17665
17666 2005-06-23  Wim Taymans  <wim@fluendo.com>
17667
17668         * check/Makefile.am:
17669         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17670         * docs/design/part-live-source.txt:
17671         * docs/design/part-states.txt:
17672         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17673         (gst_basesrc_set_live), (gst_basesrc_is_live),
17674         (gst_basesrc_get_range), (gst_basesrc_activate),
17675         (gst_basesrc_change_state):
17676         * gst/base/gstbasesrc.h:
17677         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17678         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17679         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17680         * gst/gstelement.c: (gst_element_get_state_func),
17681         (gst_element_set_state):
17682         * gst/gstelement.h:
17683         * gst/gsttypes.h:
17684         * tools/gst-launch.c: (event_loop), (main):
17685         Added support for live sources and other elements that
17686         cannot do preroll.
17687         Updated design docs, added live-source design doc.
17688         Implemented live source functionality in basesrc
17689         Fix error condition in _bin_get_state()
17690         Implement live source handling in -launch.
17691         Added check for live sources.
17692         Fixed case in GstBin where elements were changed state
17693         multiple times.
17694
17695
17696 2005-06-23  Andy Wingo  <wingo@pobox.com>
17697
17698         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17699         borken refcounting.
17700
17701         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17702         gst_caps_replace takes care of this for us.
17703
17704         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17705         gst_pad_set_caps on the target, not just its setcaps() function.
17706
17707         * tests/network-clock.scm: 
17708         * tests/network-clock-utils.scm: A network clock simulator.
17709         Something of an algorithmic testbed before doing something in C.
17710
17711 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17712
17713         * check/Makefile.am:
17714         * check/gst/capslist.h:
17715           copy over from 0.8, and add two with bitmasks specified with
17716           (int) 0xFF...
17717         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17718           add test to parse everything from capslist.h
17719         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17720         (main):
17721           add test for structure deserialization
17722         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17723           add tests for deserialization of strings to int types
17724         * gst/gststructure.c: (gst_structure_nth_field_name):
17725         * gst/gststructure.h:
17726           add a way to get the name of a field referenced by index
17727         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17728           instead of checking if the resulting long long lies between
17729           min and max, we check if the long long would fit into
17730           a number of bytes for the final type.
17731           This fixes cases where a string represents 2^32 - 1, which
17732           when cast to int would be the (valid) -1, but is bigger than
17733           G_MAXINT
17734
17735 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17736
17737         * gst/parse/grammar.y:
17738           add a log line for type deserialization
17739
17740 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17741
17742         * check/gst/gstvalue.c: (START_TEST):
17743         * gst/gstvalue.c: (gst_value_deserialize):
17744           return long long, not int, so gint64 deserialization actually
17745           works.  Is there any flag that makes the compiler check this ?
17746           Fixes #308559
17747
17748 2005-06-22  Wim Taymans  <wim@fluendo.com>
17749
17750         * gst/gstbuffer.h:
17751         Added convenience macros for setting buffers in GValue.
17752
17753 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17754
17755         * check/gst/.cvsignore:
17756         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17757           add a test deserializing int64, and comment part out because
17758           it fails, yay !
17759
17760 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17761
17762         * check/Makefile.am:
17763         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17764         * testsuite/Makefile.am:
17765         * testsuite/caps/Makefile.am:
17766         * testsuite/caps/value_serialize.c:
17767         * testsuite/test_gst_init.c:
17768           move a value_serialize test over
17769
17770 2005-06-20  Wim Taymans  <wim@fluendo.com>
17771
17772         * gst/gstpad.c:
17773         Small doc updates.
17774         
17775         * gst/gstvalue.c: (gst_value_compare_buffer),
17776         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17777         (gst_value_compare_flags), (gst_value_serialize_flags),
17778         (gst_value_deserialize_flags), (_gst_value_initialize):
17779         Fix serialisation of buffers, they are not boxed types anymore
17780
17781 2005-06-20  Wim Taymans  <wim@fluendo.com>
17782
17783         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17784         Testcase to show error in buffer-on-caps serialisation.
17785
17786 2005-06-20  Andy Wingo  <wingo@pobox.com>
17787
17788         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17789         will be adding to later.
17790
17791         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17792         if its socks fill with rocks.
17793         (gst_system_clock_obtain): Set the name on object construction.
17794         Avoid double-checked locking.
17795
17796 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17797
17798         * gst/gsturi.c: (gst_element_make_from_uri):
17799           Fix potential endless loop.
17800
17801 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17802
17803         * check/Makefile.am:
17804           add gsttag
17805         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17806         (main):
17807           move over from testsuite dir and clean up
17808         * configure.ac:
17809         * gst/gsttag.c:
17810         * testsuite/Makefile.am:
17811         * testsuite/tags/.cvsignore:
17812         * testsuite/tags/Makefile.am:
17813         * testsuite/tags/merge.c:
17814           remove testsuite/tags
17815
17816 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * docs/gst/gstreamer-sections.txt:
17819         * docs/gst/tmpl/gstenumtypes.sgml:
17820         * win32/gstenumtypes.c:
17821           clean up documentation build a little
17822
17823 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17824
17825         * check/gstcheck.h:
17826           add macros for checking refcounts on objects and caps
17827         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17828           add some more unit tests
17829         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17830         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17831           fix leaked refcounts (I hope :)) so unittest works
17832         * gst/gstpad.h:
17833           whitespace removal
17834
17835 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17836
17837         * configure.ac: back to HEAD
17838
17839 === release 0.9.1 ===
17840
17841 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17842
17843         * NEWS:
17844         * RELEASE:
17845           updated
17846
17847 2005-06-17  Andy Wingo  <wingo@pobox.com>
17848
17849         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17850         assert; it's always possible that the pad gets deactivated in
17851         between the checks in gstpad.c and the implementation. Rely on
17852         finish_preroll() to return a FLUSHING or similar instead of on the
17853         assert.
17854         
17855         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17856         clock and post an EOS message if we come out of finish_preroll in
17857         the playing state.
17858
17859 2005-06-16  David Schleef  <ds@schleef.org>
17860
17861         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17862         (gst_capsfilter_set_property): Allow NULL as possible value
17863         for filter_caps property, indicating GST_CAPS_ANY.
17864
17865 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17866
17867         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17868           fix debug output
17869         * gst/schedulers/Makefile.am:
17870           use libgst prefix
17871         * gstreamer.spec.in:
17872           fix spec for it
17873
17874 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17875
17876         * gstreamer.spec.in:
17877           clean up
17878
17879 2005-06-08  Andy Wingo  <wingo@pobox.com>
17880
17881         * gst/gstutils.c: RPAD fixes all around.
17882         (gst_element_link_pads): Refcounting fixes.
17883
17884         * tools/gst-inspect.c:
17885         * tools/gst-xmlinspect.c:
17886         * parse/grammar.y:
17887         * gst/base/gsttypefindhelper.c:
17888         * gst/base/gstbasesink.c:
17889         * gst/gstqueue.c: RPAD fixes.
17890
17891         * gst/gstghostpad.h:
17892         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17893         pads. The tricky thing is they provide both source and sink
17894         interfaces, since they proxy the internal pad for the external
17895         pad, and vice versa. Implement with lower-level ProxyPad objects,
17896         with the interior proxy pad as a child of the exterior ghost pad.
17897         Should write a doc on this.
17898         
17899         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17900         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17901         gst_object API.
17902         
17903         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17904         pads are real pads. No ghost pads in this file. Not documenting
17905         the myriad s/RPAD/PAD/ and REALIZE fixes.
17906         (gst_pad_class_init): Add properties for "direction" and
17907         "template". Both are construct-only, so they can't change during
17908         the life of the pad. Fixes properly deriving from GstPad.
17909         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17910         derived objects, just set properties when creating the objects via
17911         g_object_new.
17912         (gst_pad_get_parent): Implement as a function, return NULL if the
17913         parent is not an element.
17914         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17915         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17916         
17917         * gst/gstobject.c (gst_object_class_init): Make name a construct
17918         property. Don't set it in the object init.
17919
17920         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17921         with UNKNOWN direction.
17922         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17923         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17924         (gst_element_remove_pad): Remove ghost-pad special cases.
17925         (gst_element_pads_activate): Remove rpad cruft.
17926
17927         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17928         catch the pad's-parent-not-an-element case.
17929
17930         * gst/gst.h: Include gstghostpad.h.
17931
17932         * gst/gst.c (init_post): No more real, ghost pads.
17933
17934         * gst/Makefile.am: Add gstghostpad.[ch].
17935
17936         * check/Makefile.am:
17937         * check/gst/gstbin.c:
17938         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17939         into a bin creates ghost pads, and that the refcounts are right.
17940         Partly moved from gstbin.c.
17941
17942 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17943
17944         * check/gst-libs/.cvsignore:
17945         * check/gst/.cvsignore:
17946         * check/pipelines/.cvsignore:
17947           ignore more
17948         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17949         (START_TEST), (cleanup_suite), (main):
17950           add some tests related to cleanup after running pipelines
17951
17952 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17953
17954         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17955           add a testsuite for GstBuffer
17956
17957 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17958
17959         * gst/gstminiobject.h:
17960           add defines for accessing the refcount
17961
17962 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17963
17964         * Makefile.am: added support for html unit test coverage reports
17965
17966 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17967
17968         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17969           Free existing caps if the capsfilter changes. Add a FIXME about
17970           setting those caps on the pads.
17971
17972         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17973           Before adding a ghost pad to a parent bin, check that there isn't
17974           already one for the element on the bin. Prevents infinite recursion
17975           when using decodebin in parse pipelines. Andy says he'll rewrite the
17976           way this works anyway, so ignore the hack.
17977
17978 2005-06-02  Andy Wingo  <wingo@pobox.com>
17979
17980         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17981         file size, pass it on to the type find helper.
17982
17983         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17984         segment_start and segment_end properly according to the seek
17985         method. Segment_end is still a bit flaky because offset can be
17986         negative for CUR and END cases, but it takes -1 as an "unset"
17987         value.
17988
17989 2005-06-02  Wim Taymans  <wim@fluendo.com>
17990
17991         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17992         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17993         (gst_basesink_activate):
17994         * gst/base/gstbasesink.h:
17995         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17996         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17997         (gst_pad_query), (gst_pad_start_task):
17998         * gst/gstpad.h:
17999         * gst/gstqueue.c: (gst_queue_bufferalloc),
18000         (gst_queue_handle_sink_event), (gst_queue_chain):
18001         Bufferalloc: return GstFlowReturn to more accuratly report
18002         why allocation failed.
18003
18004 2005-06-02  Wim Taymans  <wim@fluendo.com>
18005
18006         * gst/gstpipeline.c: (gst_pipeline_send_event):
18007         Take snapshot of state without blocking.
18008
18009 2005-06-02  Wim Taymans  <wim@fluendo.com>
18010
18011         * docs/design/part-TODO.txt:
18012         * docs/design/part-caps.txt:
18013         * docs/design/part-clocks.txt:
18014         * docs/design/part-negotiation.txt:
18015         * docs/design/part-preroll.txt:
18016         Small doc updates 
18017
18018 2005-05-30  Wim Taymans  <wim@fluendo.com>
18019
18020         * gst/elements/gstidentity.c: (gst_identity_event),
18021         (gst_identity_transform), (gst_identity_get_property):
18022         Protect last_message property as it is accessed from
18023         multiple threads.
18024
18025 2005-05-30  Wim Taymans  <wim@fluendo.com>
18026
18027         * gst/gstelement.c: (gst_element_init),
18028         (gst_element_pads_activate), (gst_element_change_state):
18029         Slicker pad activation code.
18030
18031 2005-05-30  Wim Taymans  <wim@fluendo.com>
18032
18033         * gst/Makefile.am:
18034         * gst/gstelement.h:
18035         * gst/gstelementfactory.h:
18036         * gst/gsttypes.h:
18037         Move elementfactory methods to separate .h file.
18038
18039 2005-05-30  Wim Taymans  <wim@fluendo.com>
18040
18041         * docs/design/part-overview.txt:
18042         * gst/gstsystemclock.h:
18043         Small typo fixes, doc updates.
18044
18045 2005-05-30  Wim Taymans  <wim@fluendo.com>
18046
18047         * gst/gst.c: (gst_init_get_popt_table), (init_post),
18048         (init_popt_callback):
18049         Remove cpu-opt flag.
18050
18051 2005-05-30  Wim Taymans  <wim@fluendo.com>
18052
18053         * gst/gstbuffer.c: (gst_subbuffer_finalize),
18054         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18055         * gst/gstbuffer.h:
18056         Avoid typechecking in places where not needed.
18057         Added accessor for malloc_data.
18058
18059 2005-05-30  Wim Taymans  <wim@fluendo.com>
18060
18061         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18062         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18063         (gst_pad_configure_sink), (gst_pad_configure_src),
18064         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18065         (gst_pad_start_task):
18066         Propagate errors from _set_caps() in configure_src/sink
18067         functions instead of returning TRUE.
18068         FLUSH events can travel up and downstream
18069
18070
18071 2005-05-30  Wim Taymans  <wim@fluendo.com>
18072
18073         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18074         (gst_basesink_activate):
18075         Handle EOS in preroll.
18076
18077 2005-05-30  Wim Taymans  <wim@fluendo.com>
18078
18079         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18080         (gst_queue_loop), (gst_queue_handle_src_event):
18081         Remove old pieces of code
18082         Flushing the queue in an upstream event is a very bad idea.
18083
18084 2005-05-26  Andy Wingo  <wingo@pobox.com>
18085
18086         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18087         gst_value_set_mini_object so as to add a ref on the object (which
18088         will be removed when the value is unset).
18089
18090         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18091         arg type in ::handoff.
18092
18093         * gst/gstelement.c (gst_element_change_state): Also deactivate
18094         pads in READY->NULL, just in case the element didn't make it to
18095         PAUSED. Wingo tested, Wim approved.
18096
18097 2005-05-26  Wim Taymans  <wim@fluendo.com>
18098
18099         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18100         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18101         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18102         A flushing pad cannot be used to alloc_buffer from.
18103
18104 2005-05-26  Wim Taymans  <wim@fluendo.com>
18105
18106         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18107         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18108         (gst_bus_source_dispatch), (gst_bus_source_finalize),
18109         (gst_bus_create_watch), (gst_bus_add_watch_full):
18110         * gst/gstbus.h:
18111         Implement a real GSource and use g_main_context_wakeup() to
18112         signal new messages instead of the socketpair.
18113
18114 2005-05-25  Wim Taymans  <wim@fluendo.com>
18115
18116         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18117         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18118         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18119         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18120         (gst_pad_send_event), (gst_pad_start_task):
18121         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18122         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18123         (gst_queue_sink_activate), (gst_queue_src_activate),
18124         (gst_queue_change_state):
18125         * gst/gstqueue.h:
18126         Fix state changes for non sinks. We now change sinks, then elements
18127         with unconnected srcpads, then the rest.
18128         More efficient queue unlocking in flush and state changes.
18129         Set the pad activate mode even if it does not have an activate
18130         function.
18131
18132 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18133
18134         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18135           Don't go in pull mode for non-seekable sources.
18136         * gst/elements/gsttypefindelement.h:
18137         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18138         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18139         (free_entry), (stop_typefinding),
18140         (gst_type_find_element_handle_event), (find_peek),
18141         (gst_type_find_element_chain), (do_pull_typefind),
18142         (gst_type_find_element_change_state):
18143           Allow typefinding (w/o seeking) in push-mode, simplified version
18144           of what was in 0.8.
18145         * gst/gstutils.c: (gst_buffer_join):
18146         * gst/gstutils.h:
18147           gst_buffer_join() from 0.8.
18148
18149 2005-05-25  Wim Taymans  <wim@fluendo.com>
18150
18151         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18152         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18153         (gst_pad_send_event), (gst_pad_start_task):
18154         Disable attempt at mode switching until it is figured out.
18155
18156 2005-05-25  Wim Taymans  <wim@fluendo.com>
18157
18158         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18159         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18160         (gst_basesink_finish_preroll), (gst_basesink_chain),
18161         (gst_basesink_loop), (gst_basesink_activate),
18162         (gst_basesink_change_state):
18163         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18164         (gst_basesrc_get_range), (gst_basesrc_loop),
18165         (gst_basesrc_activate):
18166         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18167         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18168         (gst_real_pad_init), (gst_real_pad_set_property),
18169         (gst_real_pad_get_property), (gst_pad_set_active),
18170         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18171         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18172         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18173         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18174         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18175         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18176         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18177         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18178         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18179         (gst_pad_stop_task):
18180         * gst/gstpad.h:
18181         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18182         (gst_queue_loop), (gst_queue_src_activate):
18183         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18184         (gst_task_get_state):
18185         * gst/gsttask.h:
18186         * gst/schedulers/threadscheduler.c:
18187         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18188         Implement gst_pad_pause/start/stop_task(), take STREAM lock
18189         in task function.
18190         Remove ACTIVE pad flag, use FLUSHING everywhere
18191         Added _pad_chain(), _pad_get_range() to call chain/getrange 
18192         functions.
18193         Add locks around IS_FLUSHING when reading.
18194         Take STREAM lock in chain(), get_range() functions so plugins
18195         don't need to take it anymore.
18196         
18197
18198
18199 2005-05-25  Wim Taymans  <wim@fluendo.com>
18200
18201         * tools/gst-launch.c: (event_loop):
18202         Unref message after using its contents instead of
18203         before.
18204
18205 2005-05-24  Wim Taymans  <wim@fluendo.com>
18206
18207         * docs/design/draft-ghostpads.txt:
18208         * docs/design/draft-push-pull.txt:
18209         * docs/design/draft-query.txt:
18210         * docs/design/part-overview.txt:
18211         Docs updates, added general overview doc.
18212
18213 2005-05-21  David Schleef  <ds@schleef.org>
18214
18215         * docs/gst/tmpl/old/GstBin.sgml:
18216         * docs/gst/tmpl/old/GstBuffer.sgml:
18217         * docs/gst/tmpl/old/GstCaps.sgml:
18218         * docs/gst/tmpl/old/GstClock.sgml:
18219         * docs/gst/tmpl/old/GstCompat.sgml:
18220         * docs/gst/tmpl/old/GstData.sgml:
18221         * docs/gst/tmpl/old/GstElement.sgml:
18222         * docs/gst/tmpl/old/GstEvent.sgml:
18223         * docs/gst/tmpl/old/GstIndex.sgml:
18224         * docs/gst/tmpl/old/GstStructure.sgml:
18225         * docs/gst/tmpl/old/GstTag.sgml:
18226         * docs/gst/tmpl/old/cothreads.sgml:
18227         * docs/gst/tmpl/old/cothreads_compat.sgml:
18228         * docs/gst/tmpl/old/gettext.sgml:
18229         * docs/gst/tmpl/old/gobject2gtk.sgml:
18230         * docs/gst/tmpl/old/grammar.tab.sgml:
18231         * docs/gst/tmpl/old/gst-i18n-app.sgml:
18232         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18233         * docs/gst/tmpl/old/gst_private.sgml:
18234         * docs/gst/tmpl/old/gstaggregator.sgml:
18235         * docs/gst/tmpl/old/gstarch.sgml:
18236         * docs/gst/tmpl/old/gstatomic_impl.sgml:
18237         * docs/gst/tmpl/old/gstbufferstore.sgml:
18238         * docs/gst/tmpl/old/gstdata_private.sgml:
18239         * docs/gst/tmpl/old/gstdisksink.sgml:
18240         * docs/gst/tmpl/old/gstdisksrc.sgml:
18241         * docs/gst/tmpl/old/gstelementfactory.sgml:
18242         * docs/gst/tmpl/old/gstextratypes.sgml:
18243         * docs/gst/tmpl/old/gstfakesink.sgml:
18244         * docs/gst/tmpl/old/gstfakesrc.sgml:
18245         * docs/gst/tmpl/old/gstfdsink.sgml:
18246         * docs/gst/tmpl/old/gstfdsrc.sgml:
18247         * docs/gst/tmpl/old/gstfilesink.sgml:
18248         * docs/gst/tmpl/old/gstfilesrc.sgml:
18249         * docs/gst/tmpl/old/gsthttpsrc.sgml:
18250         * docs/gst/tmpl/old/gstidentity.sgml:
18251         * docs/gst/tmpl/old/gstindexfactory.sgml:
18252         * docs/gst/tmpl/old/gstmarshal.sgml:
18253         * docs/gst/tmpl/old/gstmd5sink.sgml:
18254         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18255         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18256         * docs/gst/tmpl/old/gstpadtemplate.sgml:
18257         * docs/gst/tmpl/old/gstpipefilter.sgml:
18258         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18259         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18260         * docs/gst/tmpl/old/gstshaper.sgml:
18261         * docs/gst/tmpl/old/gstspider.sgml:
18262         * docs/gst/tmpl/old/gstspideridentity.sgml:
18263         * docs/gst/tmpl/old/gststatistics.sgml:
18264         * docs/gst/tmpl/old/gsttee.sgml:
18265         * docs/gst/tmpl/old/gsttimecache.sgml:
18266         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18267         * docs/gst/tmpl/old/gstxmlregistry.sgml:
18268         * docs/gst/tmpl/old/gthread-cothreads.sgml:
18269         * docs/gst/tmpl/old/types.sgml:
18270           I didn't intend to add these or check them in.
18271
18272 2005-05-19  David Schleef  <ds@schleef.org>
18273
18274         * configure.ac: Use -no-common everywhere.  In a sane world, it
18275           would be the default in libtool, because without it, you can't
18276           build DLLs on Windows.
18277         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18278         * docs/gst/gstreamer-sections.txt:
18279         * docs/gst/tmpl/gstcpu.sgml:
18280         * docs/gst/tmpl/gstdata.sgml:
18281         * docs/gst/tmpl/gstthread.sgml:
18282
18283 2005-05-19  David Schleef  <ds@schleef.org>
18284
18285         * gst/gstminiobject.c: (gst_value_set_mini_object),
18286         (gst_value_take_mini_object), (gst_value_get_mini_object):
18287         * gst/gstminiobject.h: Add GValue set/get functions.
18288
18289 2005-05-19  Wim Taymans  <wim@fluendo.com>
18290
18291         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18292         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18293         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18294         * gst/gstbuffer.h:
18295         * gst/gstbus.c: (gst_bus_post):
18296         * gst/gstelement.c: (gst_element_get_random_pad):
18297         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18298         Make subbufer unref the parent in finalize.
18299         some more debugging info.
18300
18301
18302 2005-05-19  Wim Taymans  <wim@fluendo.com>
18303
18304         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18305         (gst_basesink_init), (gst_basesink_finalize),
18306         (gst_basesink_activate), (gst_basesink_change_state):
18307         Don't free preroll queue too early.
18308
18309 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18310
18311         * gst/Makefile.am:
18312         * gst/ROADMAP:
18313           Hi, I'm outdated. Please shoot me.
18314
18315 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18316
18317         * gst/gstpipeline.c: (gst_pipeline_send_event):
18318           Do not access variables after they have been deleted.
18319
18320 2005-05-19  Wim Taymans  <wim@fluendo.com>
18321
18322         * tools/gst-inspect.c: (print_plugin_features):
18323         A plugin feature does unfortunatly not use the
18324         object name yet...
18325
18326 2005-05-18  Wim Taymans  <wim@fluendo.com>
18327
18328         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18329         Port _span() functions to new subbuffers.
18330
18331 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18332
18333         * gst/gstbin.c: (gst_bin_add_func):
18334           Fix clock settery in bins when adding kids after the clock has
18335           been selected.
18336
18337 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18338
18339         * gst/elements/gstidentity.c: (gst_identity_class_init):
18340           Workaround until signals support GstMiniObject.
18341
18342 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18343
18344         * gst/gstbuffer.c:
18345         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18346
18347 2005-05-18  Wim Taymans  <wim@fluendo.com>
18348
18349         * gst/base/Makefile.am:
18350         * gst/base/gstadapter.c: (gst_adapter_base_init),
18351         (gst_adapter_class_init), (gst_adapter_init),
18352         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18353         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18354         (gst_adapter_flush), (gst_adapter_available),
18355         (gst_adapter_available_fast):
18356         * gst/base/gstadapter.h:
18357         Ported and added adapter to the base classes.
18358
18359 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18360
18361         * gst/gst.c:
18362         * gst/gstmessage.c:
18363           Make sure the class is reffed/unreffed once before threads can be
18364           used.  Fixes #304551.
18365
18366 2005-05-17  Wim Taymans  <wim@fluendo.com>
18367
18368         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18369         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18370         * gst/gstminiobject.c: (gst_mini_object_get_type),
18371         (gst_mini_object_free):
18372         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18373         (gst_pad_push), (gst_pad_push_event):
18374         * gst/gstqueue.c: (gst_queue_change_state):
18375         Don't queue buffers in basesink when we are flushing.
18376         Unref buffer when flushing in basesink.
18377         Flush queue when going to READY
18378         Unref buffer when _push() returns an error.
18379         Don't free MiniObject instance when refcount is incremented
18380         in _finalize() so that we can recover objects.
18381
18382 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18383
18384         * docs/manual/advanced-schedulers.xml:
18385         * docs/manual/appendix-checklist.xml:
18386         * docs/pwg/advanced-clock.xml:
18387         * docs/pwg/advanced-interfaces.xml:
18388         * docs/pwg/advanced-request.xml:
18389         * docs/pwg/advanced-types.xml:
18390         * docs/pwg/intro-preface.xml:
18391         * examples/plugins/example.c: (gst_example_get_type),
18392         (gst_example_class_init), (gst_example_chain),
18393         (gst_example_set_property), (gst_example_get_property),
18394         (gst_example_change_state), (plugin_init):
18395         * examples/plugins/example.h:
18396           small doc fixes
18397
18398 2005-05-17  Wim Taymans  <wim@fluendo.com>
18399
18400         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18401         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18402         * gst/gstqueue.c: (gst_queue_change_state):
18403         Clear queue when going to READY.
18404         Remove IN_SETCAPS flag too.
18405
18406 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18407
18408         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18409           Remove implicit cast from gboolean to GstElementStateReturn;
18410           make sure we still return failure in paused => ready case if
18411           the parent class fails to change state and our own stop 
18412           vfunc succeeds.
18413
18414 2005-05-17  Wim Taymans  <wim@fluendo.com>
18415
18416         * tools/gst-launch.c: (event_loop):
18417         Message was unreffed too soon.
18418
18419 2005-05-16  Andy Wingo  <wingo@pobox.com>
18420
18421         * gst/gstbin.c (sink_iterator_filter): Err... um...
18422
18423         * check/gst/gstbin.c (test_ghost_pads): New test for the
18424         ghosting-if-elements-not-in-same-bin behavior.
18425
18426 2005-05-16  David Schleef  <ds@schleef.org>
18427
18428         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18429         accessing refcount directly.
18430
18431 2005-05-15  David Schleef  <ds@schleef.org>
18432
18433         * check/Makefile.am: remove GstData checks
18434         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18435         * gst/Makefile.am: add miniobject, remove data
18436         * gst/gst.h: add miniobject, remove data
18437         * gst/gstdata.c: remove
18438         * gst/gstdata.h: remove
18439         * gst/gstdata_private.h: remove
18440         * gst/gsttypes.h: remove GstEvent and GstMessage
18441         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18442         * gst/gstmarshal.list: change BOXED -> OBJECT
18443
18444         Implement GstMiniObject.
18445         * gst/gstminiobject.c:
18446         * gst/gstminiobject.h:
18447
18448         Modify to be subclasses of GstMiniObject.
18449         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18450         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18451         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18452         (gst_subbuffer_get_type), (gst_subbuffer_init),
18453         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18454         (gst_buffer_span):
18455         * gst/gstbuffer.h:
18456         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18457         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18458         (_gst_event_copy), (gst_event_new):
18459         * gst/gstevent.h:
18460         * gst/gstmessage.c: (_gst_message_initialize),
18461         (gst_message_get_type), (gst_message_class_init),
18462         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18463         (gst_message_new), (gst_message_new_error),
18464         (gst_message_new_warning), (gst_message_new_tag),
18465         (gst_message_new_state_changed), (gst_message_new_application):
18466         * gst/gstmessage.h:
18467         * gst/gstprobe.c: (gst_probe_perform),
18468         (gst_probe_dispatcher_dispatch):
18469         * gst/gstprobe.h:
18470         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18471         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18472         (_gst_query_copy), (gst_query_new):
18473
18474         Update elements for GstData -> GstMiniObject changes
18475         * gst/gstquery.h:
18476         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18477         (gst_queue_chain), (gst_queue_loop):
18478         * gst/elements/gstbufferstore.c:
18479         (gst_buffer_store_add_buffer_func),
18480         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18481         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18482         (gst_fakesink_render):
18483         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18484         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18485         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18486         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18487         (gst_filesrc_create_read):
18488         * gst/elements/gstidentity.c: (gst_identity_class_init):
18489         * gst/elements/gsttypefindelement.c:
18490         (gst_type_find_element_src_event), (free_entry_buffers),
18491         (gst_type_find_element_handle_event):
18492         * libs/gst/dataprotocol/dataprotocol.c:
18493         (gst_dp_header_from_buffer):
18494         * libs/gst/dataprotocol/dataprotocol.h:
18495         * libs/gst/dataprotocol/dp-private.h:
18496
18497 2005-05-15  David Schleef  <ds@schleef.org>
18498
18499         * gst/elements/gstelements.c: Don't include headers that were
18500         just removed.
18501
18502 2005-05-15  David Schleef  <ds@schleef.org>
18503
18504         * gst/elements/Makefile.am: Remove some elements that don't
18505         need to be in the core (or even exist at all).
18506         * gst/elements/gstaggregator.c:
18507         * gst/elements/gstaggregator.h:
18508         * gst/elements/gstmd5sink.c:
18509         * gst/elements/gstmd5sink.h:
18510         * gst/elements/gstmultifilesrc.c:
18511         * gst/elements/gstmultifilesrc.h:
18512         * gst/elements/gstpipefilter.c:
18513         * gst/elements/gstpipefilter.h:
18514         * gst/elements/gstshaper.c:
18515         * gst/elements/gstshaper.h:
18516         * gst/elements/gststatistics.c:
18517         * gst/elements/gststatistics.h:
18518         * po/POTFILES.in: Remove above files.
18519
18520 2005-05-14  Andy Wingo  <wingo@pobox.com>
18521
18522         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18523         so as to get the refs right.
18524         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18525         unreffing objects that don't pass the filter.
18526
18527         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18528         gst_element_set_bus.
18529         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18530         normal cases, this will destroy the bus.
18531
18532         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18533         object.
18534
18535         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18536         has no sinks.
18537
18538 2005-05-13  Andy Wingo  <wingo@pobox.com>
18539
18540         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18541         gst_pad_link, call pad_link_maybe_ghosting,
18542         (pad_link_maybe_ghosting): Links pads, making sure that the
18543         elements being linked are in the same bin.
18544         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18545         Helpers for pad_link_maybe_ghosting.
18546
18547 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18548
18549         * configure.ac:
18550           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18551
18552 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18553
18554         * docs/design/part-element-source.txt:
18555           Mention GstPushSrc
18556
18557 2005-05-12  Wim Taymans  <wim@fluendo.com>
18558
18559         * gst/base/gstbasesink.c: (gst_basesink_init),
18560         (gst_basesink_activate):
18561         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18562         (gst_basesrc_is_seekable):
18563         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18564         (bin_element_is_sink), (gst_bin_change_state):
18565         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18566         * gst/gstelement.h:
18567         Identify sinks by their flag to avoid overly complicated
18568         checks (fow now).
18569         Do state changes even for elements not reachable from the
18570         sinks.
18571         BaseSink is a sink now :)
18572         Some more debugging info in the basesrc.
18573
18574
18575 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18576
18577         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18578           Implement _query on a bin, similar to _send_event.
18579
18580 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18581
18582         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18583           Discont event offset format should be GST_FORMAT_BYTES,
18584           not GST_FORMAT_TIME.
18585
18586 2005-05-12  Wim Taymans  <wim@fluendo.com>
18587
18588         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18589         Same fix as Ronald's but without the signal. 
18590
18591 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18592
18593         * gst/gstutils.c: (gst_element_query_position):
18594           No, an element is not a pad.
18595
18596 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18597
18598         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18599         (gst_bin_get_state):
18600           If a child is removed from a bin while we remove the child from
18601           the bin and while we're retrieving its state, signal this to the
18602           get_state function so we abort the wait (instead of waiting for
18603           a timeout) and can immediately re-iterate over all other elements.
18604
18605 2005-05-12  Wim Taymans  <wim@fluendo.com>
18606
18607         * gst/base/Makefile.am:
18608         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18609         (gst_basesrc_start):
18610         * gst/base/gstbasesrc.h:
18611         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18612         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18613         (gst_pushsrc_init), (gst_pushsrc_create):
18614         * gst/base/gstpushsrc.h:
18615         Added is_seekable to BaseSrc
18616         Added simple PushSrc.
18617
18618 2005-05-11  Wim Taymans  <wim@fluendo.com>
18619
18620         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18621         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18622         (gst_element_link_pads), (gst_element_query_position),
18623         (gst_element_query_convert), (intersect_caps_func),
18624         (gst_pad_query_position), (gst_pad_query_convert):
18625         Fix refcounting in utils function.
18626         No point in trying to activate a pad when it's added, it could
18627         be added from the state change function and then we deadlock, the
18628         element has to decide what to do.
18629
18630 2005-05-10  Andy Wingo  <wingo@pobox.com>
18631
18632         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18633         *all* the arguments.
18634
18635         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18636         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18637         lock (according to the docs -- if this is wrong change the docs).
18638
18639         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18640         flush messages in the NULL state.
18641
18642         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18643         message immediately and return.
18644         (gst_bus_set_flushing): New function. If a bus is flushing, it
18645         flushes out any queued messages and immediately unrefs new
18646         messages. This is so when an element goes to NULL, all of the
18647         unhandled messages coming from it can be freed, and their
18648         references to the element dropped. In other words: message source
18649         ref considered harmful :P
18650
18651         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18652         we're finished with it.
18653
18654         * gst/gstmessage.c (gst_message_new_state_changed): 
18655
18656 2005-05-10  Wim Taymans  <wim@fluendo.com>
18657
18658         * gst/gstvalue.c: (gst_value_compare_flags),
18659         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18660         (_gst_value_initialize):
18661         Added flags serialize/deserialize/compare code.
18662
18663 2005-05-09  Andy Wingo  <wingo@pobox.com>
18664
18665         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18666         Intersect the peer's caps with our caps.
18667
18668 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18669
18670         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18671         * gst/elements/gsttypefindelement.c: (find_peek):
18672           Handle negative offsets better. Fixes decodebin.
18673
18674 2005-05-09  Wim Taymans  <wim@fluendo.com>
18675
18676         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18677         (gst_base_transform_event):
18678         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18679         Implement accept_caps.
18680         Fix silly lock/unlock mismatch in base class.
18681
18682 2005-05-09  Wim Taymans  <wim@fluendo.com>
18683
18684         * docs/design/draft-push-pull.txt:
18685         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18686         * gst/elements/gstfilesink.c: (gst_filesink_init),
18687         (gst_filesink_query):
18688         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18689         (gst_type_find_handle_src_query), (find_element_get_length):
18690         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18691         * gst/gstelement.h:
18692         * gst/gstmessage.c:
18693         * gst/gstmessage.h:
18694         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18695         (gst_real_pad_get_caps_unlocked),
18696         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18697         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18698         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18699         (gst_real_pad_dispose), (gst_real_pad_finalize),
18700         (gst_pad_load_and_link), (gst_pad_save_thyself),
18701         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18702         (gst_pad_check_pull_range), (gst_pad_pull_range),
18703         (gst_pad_template_get_type), (gst_pad_template_class_init),
18704         (gst_pad_template_init), (gst_pad_template_dispose),
18705         (name_is_valid), (gst_static_pad_template_get),
18706         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18707         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18708         (gst_pad_get_element_private), (gst_pad_start_task),
18709         (gst_pad_pause_task), (gst_pad_stop_task),
18710         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18711         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18712         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18713         (gst_ghost_pad_new):
18714         * gst/gstpad.h:
18715         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18716         (gst_query_new_position), (gst_query_set_position),
18717         (gst_query_parse_position), (gst_query_new_convert),
18718         (gst_query_set_convert), (gst_query_parse_convert):
18719         * gst/gstquery.h:
18720         * gst/gstqueryutils.c:
18721         * gst/gstqueryutils.h:
18722         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18723         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18724         (gst_queue_handle_src_query):
18725         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18726         (gst_element_query_position), (gst_element_query_convert),
18727         (intersect_caps_func), (gst_pad_query_position),
18728         (gst_pad_query_convert):
18729         * gst/gstutils.h:
18730         * tools/gst-inspect.c: (print_pad_info):
18731         * tools/gst-xmlinspect.c: (print_element_info):
18732         Remove old query functions. Ported old code.
18733         Added position/convert helper functions to gstutils.
18734         Reordered gstpad.c code, grouping relevant things.
18735         Remove gst_message_new(), always need to speficy a specific
18736         message.
18737
18738
18739 2005-05-09  Andy Wingo  <wingo@pobox.com>
18740
18741         * gst/gstiterator.h: Add some includes.
18742
18743         * gst/gstqueryutils.h: Include more headers.
18744
18745         * gst/gstpad.h:
18746         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18747         some uses of gst_pad_query.
18748
18749         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18750         NULL out parameters.
18751         (gst_query_new_position): New proc, allocates a new position
18752         query.
18753
18754         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18755         gstqueryutils.c to the build.
18756
18757         * gst/gststructure.c (gst_structure_set_valist): Implement with
18758         the generic G_VALUE_COLLECT.
18759         
18760 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18761
18762         * gst/Makefile.am: (gst_headers):
18763         Added gstqueryutils.h to the list of headers to install, that was
18764         a 'nachty' move wingo :)
18765
18766 2005-05-06  Andy Wingo  <wingo@pobox.com>
18767
18768         * gst/gstquery.h
18769         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18770         GstData, init a memchunk.
18771         (standard_definitions): Add a few query types, deprecate a few.
18772         (gst_query_get_type): New proc.
18773         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18774         implementation.
18775         (gst_query_new_application, gst_query_get_structure): New public
18776         procs.
18777
18778         * docs/design/draft-query.txt: Removed LINKS from the query types,
18779         because all the rest can be dispatched to other pads -- seemed
18780         ugly to have a query that couldn't be dispatched. internal_links
18781         is fine as a pad method.
18782
18783         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18784         in gstpad.c, but maintain binary compatibility for the moment.
18785         Will fix before 0.9 is out.
18786
18787         * gst/gstqueryutils.c: 
18788         * gst/gstqueryutils.h: New files, implement 3 methods for each
18789         query type: parse_query, parse_response, and set. Probably need an
18790         allocator as well.
18791
18792         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18793
18794         * gst/elements/gstfilesink.c (gst_filesink_query2):
18795         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18796         query_types, and formats methods.
18797
18798         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18799         (gst_pad_set_query2_function): New functions.
18800         (gst_real_pad_init): Set query2_default as the default query2
18801         function. Basically just dispatches to internally linked pads.
18802
18803         Needs review!
18804         
18805         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18806         without using the atomic operations. Only one thread can possibly
18807         be accessing the data at this point. Changed so as to avoid
18808         gst_atomic operations.
18809
18810 2005-05-06  Wim Taymans  <wim@fluendo.com>
18811
18812         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18813         Also set caps if we use the fallback buffer alloc.
18814
18815 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18816
18817         * docs/gst/Makefile.am:
18818         * docs/gst/gstreamer-docs.sgml:
18819         * docs/gst/gstreamer-sections.txt:
18820         * docs/gst/tmpl/gstatomic.sgml:
18821         * docs/gst/tmpl/gstmemchunk.sgml:
18822         * testsuite/elements/struct_i386.h:
18823         * win32/GStreamer.vcproj:
18824         * win32/Makefile:
18825           Purge GstAtomic stuff from docs and win32 makefiles as well
18826
18827 2005-05-06  Wim Taymans  <wim@fluendo.com>
18828
18829         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18830         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18831         * gst/gstpad.c: (gst_pad_peer_get_caps):
18832         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18833         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18834         (gst_queue_src_activate), (gst_queue_change_state):
18835         * gst/gstqueue.h:
18836         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18837         (intersect_caps_func):
18838         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18839         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18840         Some fixes for the peer_get_caps() change.
18841
18842 2005-05-06  Wim Taymans  <wim@fluendo.com>
18843
18844         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18845         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18846         (gst_basesink_activate):
18847         Actually do something with error codes returned from the push
18848         functions.
18849
18850 2005-05-06  Wim Taymans  <wim@fluendo.com>
18851
18852         * docs/design/part-element-sink.txt:
18853         * docs/design/part-element-source.txt:
18854         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18855         (gst_basesink_event), (gst_basesink_activate):
18856         * gst/base/gstbasesink.h:
18857         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18858         (gst_basesrc_activate):
18859         * gst/base/gstbasesrc.h:
18860         * gst/gstelement.c: (gst_element_pads_activate):
18861         Some more documentation.
18862         Fixed scheduling decision in _pads_activate().
18863
18864 2005-05-05  Andy Wingo  <wingo@pobox.com>
18865
18866         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18867         the test suite.
18868
18869 2005-05-05  Wim Taymans  <wim@fluendo.com>
18870
18871         * gst/base/Makefile.am:
18872         * gst/base/gstbasesink.h:
18873         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18874         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18875         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18876         (gst_collectpads_class_init), (gst_collectpads_init),
18877         (gst_collectpads_finalize), (gst_collectpads_new),
18878         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18879         (find_pad), (gst_collectpads_remove_pad),
18880         (gst_collectpads_is_active), (gst_collectpads_collect),
18881         (gst_collectpads_collect_range), (gst_collectpads_start),
18882         (gst_collectpads_stop), (gst_collectpads_peek),
18883         (gst_collectpads_pop), (gst_collectpads_available),
18884         (gst_collectpads_read), (gst_collectpads_flush),
18885         (gst_collectpads_chain):
18886         * gst/base/gstcollectpads.h:
18887         * gst/elements/Makefile.am:
18888         * gst/elements/gstelements.c:
18889         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18890         (gst_fakesink_get_times), (gst_fakesink_event),
18891         (gst_fakesink_preroll), (gst_fakesink_render):
18892         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18893         (gst_filesink_init), (gst_filesink_set_location),
18894         (gst_filesink_open_file), (gst_filesink_close_file),
18895         (gst_filesink_pad_query), (gst_filesink_event),
18896         (gst_filesink_render), (gst_filesink_change_state):
18897         * gst/elements/gstfilesink.h:
18898         Added object to help in making collect pad based elements.
18899         Ported filesink.
18900         Make event function in sink baseclass return gboolean.
18901
18902 2005-05-05  Wim Taymans  <wim@fluendo.com>
18903
18904         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18905         (gst_bin_get_by_name):
18906         * gst/gstbuffer.h:
18907         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18908         (gst_clock_finalize):
18909         * gst/gstdata.c: (gst_data_replace):
18910         * gst/gstdata.h:
18911         * gst/gstelement.c: (gst_element_request_pad),
18912         (gst_element_pads_activate):
18913         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18914         (gst_object_unref):
18915         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18916         (gst_pad_set_checkgetrange_function),
18917         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18918         (gst_pad_check_pull_range), (gst_pad_pull_range),
18919         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18920         (gst_pad_pause_task), (gst_pad_stop_task):
18921         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18922         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18923         Fix name lookup in GstBin.
18924         Added _data_replace() function and _buffer_replace()
18925         Use finalize method to clean up clock.
18926         Fix refcounting on request pads.
18927         Fix pad schedule mode error.
18928         Some more object refcounting debug info,
18929
18930
18931 2005-05-04  Andy Wingo <wingo@pobox.com>
18932
18933         * check/Makefile.am:
18934         * docs/gst/tmpl/gstatomic.sgml:
18935         * docs/gst/tmpl/gstplugin.sgml:
18936         * gst/base/gstbasesink.c: (gst_basesink_activate):
18937         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18938         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18939         (gst_basesrc_query), (gst_basesrc_set_property),
18940         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18941         (gst_basesrc_activate):
18942         * gst/base/gstbasesrc.h:
18943         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18944         (gst_base_transform_src_activate):
18945         * gst/elements/gstelements.c:
18946         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18947         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18948         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18949         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18950         (gst_type_find_element_checkgetrange),
18951         (gst_type_find_element_activate):
18952         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18953         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18954         (gst_caps_load_thyself):
18955         * gst/gstelement.c: (gst_element_pads_activate),
18956         (gst_element_save_thyself), (gst_element_restore_thyself):
18957         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18958         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18959         * gst/gstpad.h:
18960         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18961         (gst_xml_parse_file), (gst_xml_parse_memory),
18962         (gst_xml_get_element), (gst_xml_make_element):
18963         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18964         (_file_index_id_save_xml), (gst_file_index_commit):
18965         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18966         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18967         (load_paths):
18968         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18969         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18970         * tools/gst-complete.c: (main):
18971         * tools/gst-compprep.c: (main):
18972         * tools/gst-inspect.c: (print_element_properties_info):
18973         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18974         * tools/gst-xmlinspect.c: (print_element_properties):
18975         GCC 4 fixen.
18976         
18977 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18978
18979         * gst/gstplugin.c: (gst_plugin_check_module),
18980         (gst_plugin_check_file), (gst_plugin_load_file):
18981             apply patch from #172526 to make register work on MacOSX
18982
18983 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18984
18985         * docs/gst/tmpl/gstconfig.sgml:
18986         * gst/gstconfig.h.in:
18987           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18988         * testsuite/debug/printf_extension.c: (main):
18989           Do not use GST_PTR_FORMAT on pointers to types with
18990           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18991         * testsuite/elements/property.h:
18992           use correct printf format
18993
18994 2005-05-02  Wim Taymans  <wim@fluendo.com>
18995
18996         * docs/design/draft-push-pull.txt:
18997         * docs/design/draft-query.txt:
18998         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18999         (gst_basesrc_start):
19000         Added draft for new query API.
19001         Added draft for better selecting scheduling methods.
19002         Make basesrc ignore length if the subclass does not support
19003         it.
19004
19005 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * gst/Makefile.am:
19008           possible fixes for automake-1.5 - _LIBADD is reserved
19009
19010 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19011
19012         * docs/faq/Makefile.am:
19013         * docs/manual/Makefile.am:
19014         * docs/manuals.mak:
19015         * docs/pwg/Makefile.am:
19016         * gst/Makefile.am:
19017           possible fixes for automake-1.5
19018
19019 2005-04-28  Wim Taymans  <wim@fluendo.com>
19020
19021         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19022         (gst_basesink_pad_getcaps), (gst_basesink_init),
19023         (gst_basesink_do_sync):
19024         * gst/gstclock.c: (gst_clock_entry_new):
19025         * gst/gstevent.c: (gst_event_discont_get_value):
19026         * gst/gstpipeline.c: (pipeline_bus_handler),
19027         (gst_pipeline_change_state):
19028         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19029         Better debugging of clocking info.
19030         Allow NULL values when getting discont values.
19031
19032 2005-04-27  Wim Taymans  <wim@fluendo.com>
19033
19034         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19035         * check/gst/gstpad.c: (gst_pad_suite):
19036         Increase timeout for checks.
19037
19038 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
19039
19040         * check/Makefile.am:
19041           fix the broken rule for cleanup.  Apparently this rule is
19042           only needed on FC2, so maybe this warrants further autotool
19043           inspection.
19044
19045 2005-04-26  Wim Taymans  <wim@fluendo.com>
19046
19047         * gst/gsttrashstack.h:
19048         Ooohh. a nasty one! After having a failed pop() from the stack,
19049         it's possible that the stack is empty. In that case, don't
19050         follow the NULL pointer.
19051
19052 2005-04-25  Wim Taymans  <wim@fluendo.com>
19053
19054         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19055         (gst_pad_set_checkgetrange_function),
19056         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19057         (gst_pad_check_pull_range), (gst_pad_pull_range),
19058         (gst_static_pad_template_get_caps), (gst_pad_start_task),
19059         (gst_pad_pause_task), (gst_pad_stop_task):
19060         * gst/gstplugin.c: (gst_plugin_load):
19061         * gst/gstplugin.h:
19062         Remove gst_library_load as it does more harm than good with
19063         the new g_module flags.
19064         Revert bogus caps template check in pad linking, pad caps
19065         are important when linking not the template, which is more
19066         general than the current caps.
19067
19068 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19069
19070         * gst/autoplug/.cvsignore:
19071         * gst/autoplug/Makefile.am:
19072         * gst/autoplug/gstsearchfuncs.c:
19073         * gst/autoplug/gstsearchfuncs.h:
19074         * gst/autoplug/gstspider.c:
19075         * gst/autoplug/gstspider.h:
19076         * gst/autoplug/gstspideridentity.c:
19077         * gst/autoplug/gstspideridentity.h:
19078         * gst/autoplug/spidertest.c:
19079           Die, spider, die.
19080
19081 2005-04-25  Wim Taymans  <wim@fluendo.com>
19082
19083         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19084         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19085         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19086         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19087         * gst/gstpad.h:
19088         Added stubs for unimplemented functions. 
19089
19090 2005-04-24  David Schleef  <ds@schleef.org>
19091
19092         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
19093         please fix.
19094
19095 2005-04-24  David Schleef  <ds@schleef.org>
19096
19097         Convert everything from GstAtomicInt to g_atomic_int_*, and
19098         remove gstatomic.
19099         * gst/Makefile.am:
19100         * gst/gstatomic.c:
19101         * gst/gstatomic.h:
19102         * gst/gstatomic_impl.h:
19103         * gst/gstbuffer.c:
19104         * gst/gstcaps.c:
19105         * gst/gstcaps.h:
19106         * gst/gstclock.c:
19107         * gst/gstclock.h:
19108         * gst/gstdata.c:
19109         * gst/gstdata.h:
19110         * gst/gstdata_private.h:
19111         * gst/gstevent.c:
19112         * gst/gstinfo.c:
19113         * gst/gstinfo.h:
19114         * gst/gstmessage.c:
19115         * gst/gstobject.c:
19116         * gst/gstobject.h:
19117         * gst/gststructure.c:
19118         * gst/gststructure.h:
19119         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19120         * gst/gstutils.h:
19121
19122 2005-04-24  David Schleef  <ds@schleef.org>
19123
19124         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19125         make the regressions tests work.  Remove some code that is no
19126         longer true.
19127         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19128         Disable warning for pads without templates.
19129
19130 2005-04-24  David Schleef  <ds@schleef.org>
19131
19132         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
19133         functions that handle filtered links.
19134         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19135         removed functions.
19136         * gst/gstutils.c: Fix/remove utility functions that handle
19137         filtered caps.
19138         * gst/gstutils.h:
19139         * gst/gstvalue.c: Add serialization/deserialization of caps
19140         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
19141         requires fixing so that the filter caps notation creates
19142         a capsfilter element and sets the filter_caps property.  I
19143         think everyone probably wants to keep the shorthand notation.
19144         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19145         * docs/gst/tmpl/gstpad.sgml:
19146
19147         * gst/elements/gstelements.c: Register capsfilter element.
19148         * gst/Makefile.am: fix spacing
19149         * docs/random/ds/0.9-suggested-changes: random
19150
19151 2005-04-23  David Schleef  <ds@schleef.org>
19152
19153         * gst/elements/Makefile.am:
19154         * gst/elements/gstcapsfilter.c: New element that acts like an
19155         identity, but filters caps.  Will eventually replace filtered
19156         caps in pad linking.
19157         * gst/gstutils.c: (gst_element_create_all_pads): New function
19158         to create all the ALWAYS pads that are registered with an
19159         element class.  This functionality should eventually be
19160         merged in with GstElement initialization.
19161         * gst/gstutils.h:
19162         * testsuite/trigger/README: part of trigger test code that should
19163         have been checked in a long time ago.
19164
19165 2005-04-23  David Schleef  <ds@schleef.org>
19166
19167         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
19168         needed with new versions of libtool (nobody will confirm this),
19169         and hard to carry around.
19170         * gst/autoplug/Makefile.am:
19171         * gst/base/Makefile.am:
19172         * gst/elements/Makefile.am:
19173         * gst/indexers/Makefile.am:
19174         * gst/schedulers/Makefile.am:
19175         * libs/gst/bytestream/Makefile.am:
19176         * libs/gst/control/Makefile.am:
19177         * libs/gst/dataprotocol/Makefile.am:
19178         * libs/gst/getbits/Makefile.am:
19179
19180 2005-04-21  Wim Taymans  <wim@fluendo.com>
19181
19182         * docs/design/draft-push-pull.txt:
19183         * docs/design/part-MT-refcounting.txt:
19184         * docs/design/part-TODO.txt:
19185         * docs/design/part-caps.txt:
19186         * docs/design/part-events.txt:
19187         * docs/design/part-gstbus.txt:
19188         * docs/design/part-gstpipeline.txt:
19189         * docs/design/part-messages.txt:
19190         * docs/design/part-push-pull.txt:
19191         * docs/design/part-query.txt:
19192         Some more docs.
19193
19194 2005-04-21  Wim Taymans  <wim@fluendo.com>
19195
19196         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19197         (gst_message_new), (gst_message_new_error),
19198         (gst_message_new_warning), (gst_message_new_tag),
19199         (gst_message_new_state_changed), (gst_message_new_application),
19200         (gst_message_get_structure):
19201         * gst/gstmessage.h:
19202         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19203         (gst_structure_copy_conditional):
19204         Use parent refcount in GstMessage to ensure GstStructure
19205         consistency.
19206         Cleaned up headers a bit.
19207         
19208
19209 2005-04-20  Wim Taymans  <wim@fluendo.com>
19210
19211         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19212         (gst_basesink_pad_getcaps), (gst_basesink_init),
19213         (gst_basesink_chain_unlocked):
19214         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19215         (gst_type_find_helper):
19216         * gst/elements/gsttypefindelement.c:
19217         (gst_type_find_element_have_type), (gst_type_find_element_init),
19218         (stop_typefinding), (gst_type_find_element_handle_event),
19219         (find_suggest), (gst_type_find_element_chain),
19220         (gst_type_find_element_checkgetrange),
19221         (gst_type_find_element_getrange), (do_typefind),
19222         (gst_type_find_element_activate):
19223         * gst/gstbuffer.c: (_gst_buffer_sub_free),
19224         (gst_buffer_default_free), (gst_buffer_default_copy),
19225         (gst_buffer_set_caps):
19226         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19227         (gst_caps_replace):
19228         * gst/gstmessage.c: (gst_message_new),
19229         (gst_message_new_state_changed):
19230         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19231         (gst_pad_set_checkgetrange_function),
19232         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19233         (gst_pad_set_caps), (gst_pad_check_pull_range),
19234         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19235         * gst/gstpad.h:
19236         * gst/gsttypefind.c: (gst_type_find_register):
19237         Make gst_caps_replace() work like other _replace() functions.
19238         Use _caps_replace() where possible.
19239         Make sure _message_new() initialises its field.
19240         Add gst_static_pad_template_get_caps()
19241
19242
19243 2005-04-18  Andy Wingo  <wingo@pobox.com>
19244
19245         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19246         on the peer, not the pad. I think that was a typo. Pass an extra
19247         arg to see if random access is possible. Activate the pads as
19248         PULL_RANGE if possible.
19249
19250         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19251
19252         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
19253         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19254         to PROP_....
19255
19256 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19257
19258         * docs/faq/using.xml:
19259           Add note on gstreamer-properties (#154996).
19260
19261 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19262
19263         * docs/random/bbb/optional-properties:
19264           Some analysis on optional properties.
19265
19266 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19267
19268         * docs/gst/tmpl/gstelementfactory.sgml:
19269         * gst/gstelement.h:
19270         * gst/gstelementfactory.c: (gst_element_factory_init),
19271         (gst_element_factory_cleanup), (gst_element_register),
19272         (__gst_element_factory_add_static_pad_template),
19273         (gst_element_factory_get_static_pad_templates),
19274         (gst_element_factory_can_src_caps),
19275         (gst_element_factory_can_sink_caps):
19276         * gst/registries/Makefile.am:
19277         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19278         (gst_xml_registry_class_init), (gst_xml_registry_init),
19279         (gst_xml_registry_new), (gst_xml_registry_set_property),
19280         (gst_xml_registry_get_property), (get_time), (make_dir),
19281         (gst_xml_registry_get_perms_func),
19282         (plugin_times_older_than_recurse), (plugin_times_older_than),
19283         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19284         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19285         (add_to_char_array), (read_string), (read_uint), (read_enum),
19286         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19287         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19288         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19289         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19290         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19291         (gst_xml_registry_rebuild):
19292         * gst/registries/gstlibxmlregistry.h:
19293         * tools/gst-compprep.c: (main):
19294         * tools/gst-inspect.c: (print_pad_templates_info):
19295         * tools/gst-xmlinspect.c: (print_element_info):
19296           Use libxml2 for registry parsing, use staticpadtemplates in
19297           elementfactories. Makes gst_init() +/- 10x faster.
19298
19299 2005-04-12  Wim Taymans  <wim@fluendo.com>
19300
19301         * gst/base/Makefile.am:
19302         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19303         (gst_basesink_pad_getcaps), (gst_basesink_init),
19304         (gst_basesink_event), (gst_basesink_change_state):
19305         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19306         (gst_basesrc_init), (gst_basesrc_query),
19307         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19308         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19309         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19310         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19311         (gst_basesrc_stop), (gst_basesrc_activate),
19312         (gst_basesrc_change_state):
19313         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19314         (helper_find_suggest), (gst_type_find_helper):
19315         * gst/base/gsttypefindhelper.h:
19316         * gst/elements/Makefile.am:
19317         * gst/elements/gstelements.c:
19318         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19319         (gst_fakesink_get_times), (gst_fakesink_event),
19320         (gst_fakesink_preroll), (gst_fakesink_render):
19321         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19322         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19323         (gst_fakesrc_get_property), (gst_fakesrc_create),
19324         (gst_fakesrc_start), (gst_fakesrc_stop):
19325         * gst/elements/gstfakesrc.h:
19326         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19327         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19328         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19329         (gst_filesrc_create_read), (gst_filesrc_create),
19330         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19331         (gst_filesrc_start):
19332         * gst/elements/gsttypefindelement.c:
19333         (gst_type_find_element_have_type), (gst_type_find_element_init),
19334         (start_typefinding), (stop_typefinding), (push_buffer_store),
19335         (gst_type_find_element_handle_event),
19336         (gst_type_find_element_chain),
19337         (gst_type_find_element_checkgetrange),
19338         (gst_type_find_element_getrange), (do_typefind),
19339         (gst_type_find_element_activate),
19340         (gst_type_find_element_change_state):
19341         * gst/elements/gsttypefindelement.h:
19342         * gst/gstpipeline.c: (pipeline_bus_handler):
19343         Added typefind helper.
19344         Small preroll fix in the base sink.
19345         Disable typefind code in basesrc.
19346         Crude port of typefindelement.
19347         Fakesrc cleanups.
19348
19349
19350 2005-04-11  Wim Taymans  <wim@fluendo.com>
19351
19352         * check/gst/gstbus.c: (gstbus_suite):
19353         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19354         * check/gstcheck.h:
19355           Fix up the timeout so that the test does not fail.
19356
19357 2005-04-06  Wim Taymans  <wim@fluendo.com>
19358
19359         * gst/base/README:
19360         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19361         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19362         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19363         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19364         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19365         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19366         (gst_basesrc_stop), (gst_basesrc_activate),
19367         (gst_basesrc_change_state), (basesrc_find_peek),
19368         (basesrc_find_suggest), (gst_basesrc_type_find):
19369         * gst/base/gstbasesrc.h:
19370         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19371         (gst_filesrc_class_init), (gst_filesrc_init),
19372         (gst_filesrc_finalize), (gst_filesrc_set_location),
19373         (gst_filesrc_set_property), (gst_filesrc_get_property),
19374         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19375         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19376         (gst_filesrc_create_read), (gst_filesrc_create),
19377         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19378         * gst/elements/gstfilesrc.h:
19379         * gst/gstelement.c: (gst_element_get_state_func),
19380         (gst_element_lost_state), (gst_element_pads_activate):
19381         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19382         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19383         (gst_pad_pull_range):
19384         * gst/gstpad.h:
19385         More work on the generic source base class, implement seeking,
19386         query.
19387         Make filesrc extend the base source class.
19388         Added gst_pad_set_checkgetrange_function to GstPad.
19389
19390 2005-04-06  Andy Wingo  <wingo@pobox.com>
19391
19392         * pkgconfig/gstreamer-base.pc.in:
19393         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19394
19395         * pkgconfig/Makefile.am:
19396         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19397
19398 2005-04-04  Wim Taymans  <wim@fluendo.com>
19399
19400         * gst/base/Makefile.am:
19401         * gst/base/README:
19402         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19403         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19404         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19405         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19406         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19407         (gst_basesrc_base_init), (gst_basesrc_class_init),
19408         (gst_basesrc_init), (gst_basesrc_get_formats),
19409         (gst_basesrc_get_query_types), (gst_basesrc_query),
19410         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19411         (gst_basesrc_set_property), (gst_basesrc_get_property),
19412         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19413         (gst_basesrc_loop), (gst_basesrc_activate),
19414         (gst_basesrc_change_state):
19415         * gst/base/gstbasesrc.h:
19416         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19417         (gst_fakesrc_class_init), (gst_fakesrc_init),
19418         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19419         (gst_fakesrc_get_property), (gst_fakesrc_create):
19420         * gst/elements/gstfakesrc.h:
19421         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19422         (gst_filesrc_open_file), (gst_filesrc_loop),
19423         (gst_filesrc_activate), (filesrc_find_peek),
19424         (gst_filesrc_type_find):
19425         Made base source class, make fakesrc extend it.
19426         Add comments to basesink class.
19427         Some filesrc cleanup.
19428
19429 2005-03-31  David Schleef  <ds@schleef.org>
19430
19431         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19432         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19433         expected to link against libgstreamer.
19434         * gst/base/Makefile.am: link against libgstreamer
19435         * gst/elements/Makefile.am: same
19436
19437 2005-03-31  Andy Wingo  <wingo@pobox.com>
19438
19439         * tests/instantiate/Makefile.am:
19440         * tests/instantiate/caps.c: Add test to test speed of caps copy
19441         and free.
19442
19443         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19444         GMemChunk to be fair.
19445
19446         * gst/gsttrashstack.h: Remove warning about using the fallback
19447         trash stack implementation, it's still faster than malloc.
19448
19449 2005-03-30  Andy Wingo  <wingo@pobox.com>
19450
19451         * tests/complexity.c: Add a copyright.
19452
19453 2005-03-31  Wim Taymans  <wim@fluendo.com>
19454
19455         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19456         (gst_base_transform_class_init), (gst_base_transform_init),
19457         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19458         (gst_base_transform_get_property),
19459         (gst_base_transform_sink_activate),
19460         (gst_base_transform_src_activate),
19461         (gst_base_transform_change_state):
19462         * gst/base/gstbasetransform.h:
19463         * gst/elements/gstidentity.c: (gst_identity_class_init),
19464         (gst_identity_event), (gst_identity_check_perfect),
19465         (gst_identity_transform), (gst_identity_start),
19466         (gst_identity_stop):
19467         Added start/stop methods to transform base class so subclasses 
19468         don't need to deal with state changes even.
19469
19470 2005-03-31  Wim Taymans  <wim@fluendo.com>
19471
19472         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19473         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19474         * gst/gstevent.h:
19475         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19476         (gst_pad_pull_range):
19477         Added rate to the discont event to prepare for variable speed
19478         and reverse playback.
19479
19480 2005-03-29  David Schleef  <ds@schleef.org>
19481
19482         * configure.ac:
19483         * testsuite/trigger/Makefile.am:
19484         * testsuite/trigger/trigger.c: A little example program to show
19485         how trigger-based elements can work.
19486
19487 2005-03-29  Wim Taymans  <wim@fluendo.com>
19488
19489         * gst/base/Makefile.am:
19490         * gst/base/README:
19491         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19492         (gst_basesink_base_init), (gst_basesink_class_init),
19493         (gst_basesink_pad_getcaps), (gst_basesink_init),
19494         (gst_basesink_activate), (gst_basesink_change_state):
19495         * gst/base/gstbasesink.h:
19496         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19497         (gst_base_transform_base_init), (gst_base_transform_finalize),
19498         (gst_base_transform_class_init), (gst_base_transform_init),
19499         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19500         (gst_base_transform_event), (gst_base_transform_getrange),
19501         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19502         (gst_base_transform_set_property),
19503         (gst_base_transform_get_property),
19504         (gst_base_transform_sink_activate),
19505         (gst_base_transform_src_activate),
19506         (gst_base_transform_change_state):
19507         * gst/base/gstbasetransform.h:
19508         * gst/elements/gstidentity.c: (gst_identity_finalize),
19509         (gst_identity_class_init), (gst_identity_init),
19510         (gst_identity_event), (gst_identity_check_perfect),
19511         (gst_identity_transform), (gst_identity_set_property),
19512         (gst_identity_get_property), (gst_identity_change_state):
19513         * gst/elements/gstidentity.h:
19514         * gst/gstelement.c: (gst_element_get_state_func),
19515         (gst_element_lost_state), (gst_element_pads_activate):
19516         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19517         (gst_pad_check_pull_range), (gst_pad_pull_range):
19518         * gst/gstpad.h:
19519         Simplify pad activation.
19520         Added function to check if pull_range can be performed.
19521         Error out when pulling inactive or flushing pads.
19522         Removed const from refcounted types as it does not make sense.
19523         Simplify pad templates in basesink
19524         Added base class for simple 1-to-1 transforms.
19525         Make identity subclass the base transform.
19526
19527 2005-03-29  Andy Wingo  <wingo@pobox.com>
19528
19529         * docs/libs/gstreamer-libs-overrides.txt: 
19530         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19531         really don't understand what's going on, but like whatever. I want
19532         green buildbot!
19533
19534         * docs/gst/Makefile.am:
19535         * docs/libs/Makefile.am: Dist the overrides files.
19536
19537         * check/Makefile.am (clean-local): Remove .libs directories.
19538
19539         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19540         elements to EXTRA_DIST, so po/ files are happy.
19541
19542         * po/POTFILES.in: Er, remove it here.
19543
19544         * po/POTFILES: Remove gstspider.c.
19545
19546         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19547
19548         * docs/libs/gstreamer-libs-docs.sgml: 
19549         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19550         bytestream.
19551
19552         * tests/complexity.c (main): Set the length of the preroll queue
19553         on the sinks to prevent a lockup.
19554
19555         * libs/gst/dataprotocol/Makefile.am: 
19556         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19557         the same as the one in check/gst-libs/gdp.c.
19558
19559         * po/, docs/gst/: Commit automatic changes to docs and po files.
19560
19561         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19562         the versioned libgstbase.
19563
19564         * check/Makefile.am: Depend on an unversioned gst-register, seems
19565         to make autoconf happier.
19566
19567         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19568
19569 2005-03-28  Wim Taymans  <wim@fluendo.com>
19570
19571         * configure.ac:
19572         * docs/design/part-gstelement.txt:
19573         * docs/design/part-negotiation.txt:
19574         * docs/design/part-preroll.txt:
19575         * docs/design/part-scheduling.txt:
19576         * docs/design/part-states.txt:
19577         * gst/Makefile.am:
19578         * gst/base/Makefile.am:
19579         * gst/base/README:
19580         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19581         (gst_basesink_base_init), (gst_basesink_class_init),
19582         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19583         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19584         (gst_basesink_set_pad_functions),
19585         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19586         (gst_basesink_set_property), (gst_basesink_get_property),
19587         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19588         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19589         (gst_basesink_preroll_queue_push),
19590         (gst_basesink_preroll_queue_empty),
19591         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19592         (gst_basesink_event), (gst_basesink_get_times),
19593         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19594         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19595         (gst_basesink_loop), (gst_basesink_activate),
19596         (gst_basesink_change_state):
19597         * gst/base/gstbasesink.h:
19598         * gst/elements/Makefile.am:
19599         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19600         (gst_fakesink_class_init), (gst_fakesink_init),
19601         (gst_fakesink_set_property), (gst_fakesink_get_property),
19602         (gst_fakesink_get_times), (gst_fakesink_event),
19603         (gst_fakesink_preroll), (gst_fakesink_render),
19604         (gst_fakesink_change_state):
19605         * gst/elements/gstfakesink.h:
19606         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19607         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19608         * gst/gstelement.c: (gst_element_add_pad),
19609         (gst_element_get_state_func), (gst_element_abort_state),
19610         (gst_element_commit_state), (gst_element_lost_state),
19611         (gst_element_set_state), (gst_element_pads_activate):
19612         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19613         * gst/gstpipeline.c: (gst_pipeline_send_event),
19614         (gst_pipeline_change_state):
19615         Added state change code.
19616         Added/updated docs.
19617         Added sink base class, make fakesink extend the base class.
19618         Small cleanups in GstPipeline.
19619
19620 2005-03-26  David Schleef  <ds@schleef.org>
19621
19622         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19623         is broken and should be implemented in a different library.
19624         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19625         * gst/gst.h: remove gstcpu.h
19626         * gst/gstcpu.c: remove
19627         * gst/gstcpu.h: remove
19628         * gst/Makefile.am.future: Remove this file.  It's ancient.
19629
19630 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19631
19632         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19633         (gst_bin_send_event):
19634           Add default event/set_manager handlers. The set_manager handler
19635           takes care that the manager is distributed over kids that were
19636           already in the bin before the manager was set. The event handler
19637           is a utility virtual function that sends the event over all sinks,
19638           so that gst_element_send_event (bin, event); has the expected
19639           behaviour.
19640         * gst/gstpad.c: (gst_pad_event_default):
19641           Re-install default event handling for discontinuities, so that
19642           seeking works without requiring hacks in applications or extra
19643           code in sinks.
19644         * gst/gstpipeline.c: (gst_pipeline_class_init),
19645         (gst_pipeline_send_event):
19646           Half hack, half utility: set a pipeline to PAUSED for seek events,
19647           since that is the only way we can guarantee a/v sync. Means that
19648           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19649           and it "just works".
19650
19651 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19652
19653         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19654           Lock/unlock mismatch.
19655
19656 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19657
19658         * docs/faq/gst-uninstalled:
19659           add gst-plugins-base
19660         * docs/gst/Makefile.am:
19661           don't error out until docs are fixed
19662         * docs/gst/gstreamer.types:
19663           remove thread
19664
19665 2005-03-22  Wim Taymans  <wim@fluendo.com>
19666
19667         * check/Makefile.am:
19668         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19669         * gst/gststructure.c: (gst_structure_set_valist),
19670         (gst_structure_copy_conditional):
19671         Activated more tests.
19672         Added message test.
19673         Added G_TYPE_POINTER to GstStructure.
19674         
19675
19676 2005-03-22  Wim Taymans  <wim@fluendo.com>
19677
19678         * docs/design/part-TODO.txt:
19679         * docs/design/part-events.txt:
19680         * docs/design/part-gstbin.txt:
19681         * docs/design/part-gstbus.txt:
19682         * docs/design/part-gstpipeline.txt:
19683         * docs/design/part-messages.txt:
19684         * gst/gstbus.c:
19685         * gst/gstmessage.c:
19686         Docs updates
19687
19688 2005-03-21  Wim Taymans  <wim@fluendo.com>
19689
19690         * gst/gstbus.c: (gst_bus_post):
19691         Fix copy-and-paste error.
19692
19693 2005-03-21  Wim Taymans  <wim@fluendo.com>
19694
19695         * check/Makefile.am:
19696         * gst/Makefile.am:
19697         * gst/elements/Makefile.am:
19698         * gst/elements/gstelements.c:
19699         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19700         (gst_fakesink_event), (gst_fakesink_chain):
19701         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19702         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19703         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19704         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19705         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19706         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19707         (gst_fakesrc_loop), (gst_fakesrc_activate),
19708         (gst_fakesrc_change_state):
19709         * gst/elements/gstfakesrc.h:
19710         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19711         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19712         (gst_filesrc_open_file), (gst_filesrc_loop),
19713         (gst_filesrc_activate), (gst_filesrc_change_state),
19714         (filesrc_find_peek), (filesrc_find_suggest),
19715         (gst_filesrc_type_find):
19716         * gst/elements/gstidentity.c: (gst_identity_finalize),
19717         (gst_identity_class_init), (gst_identity_init),
19718         (gst_identity_proxy_getcaps), (identity_queue_push),
19719         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19720         (gst_identity_getrange), (gst_identity_chain),
19721         (gst_identity_sink_loop), (gst_identity_src_loop),
19722         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19723         (gst_identity_set_property), (gst_identity_get_property),
19724         (gst_identity_change_state):
19725         * gst/elements/gstidentity.h:
19726         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19727         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19728         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19729         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19730         (gst_tee_sink_activate):
19731         * gst/elements/gsttee.h:
19732         * gst/gst.c: (gst_register_core_elements), (init_post):
19733         * gst/gst.h:
19734         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19735         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19736         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19737         (gst_bin_change_state):
19738         * gst/gstbin.h:
19739         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19740         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19741         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19742         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19743         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19744         (bus_watch_callback), (bus_watch_destroy),
19745         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19746         (poll_timeout), (gst_bus_poll):
19747         * gst/gstbus.h:
19748         * gst/gstcaps.h:
19749         * gst/gstdata.h:
19750         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19751         (gst_element_post_message), (gst_element_message_full),
19752         (gst_element_get_state_func), (gst_element_get_state),
19753         (gst_element_abort_state), (gst_element_commit_state),
19754         (gst_element_lost_state), (gst_element_set_state),
19755         (gst_element_pads_activate), (gst_element_change_state),
19756         (gst_element_dispose), (gst_element_set_manager_func),
19757         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19758         (gst_element_set_manager), (gst_element_get_manager),
19759         (gst_element_set_bus), (gst_element_get_bus),
19760         (gst_element_set_scheduler), (gst_element_get_scheduler):
19761         * gst/gstelement.h:
19762         * gst/gstevent.c: (gst_event_new_segment_seek),
19763         (gst_event_new_flush):
19764         * gst/gstevent.h:
19765         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19766         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19767         (gst_message_new_eos), (gst_message_new_error),
19768         (gst_message_new_warning), (gst_message_new_tag),
19769         (gst_message_new_state_changed), (gst_message_new_application),
19770         (gst_message_get_structure), (gst_message_parse_tag),
19771         (gst_message_parse_state_changed), (gst_message_parse_error),
19772         (gst_message_parse_warning):
19773         * gst/gstmessage.h:
19774         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19775         (gst_real_pad_set_property), (gst_pad_set_active),
19776         (gst_pad_is_active), (gst_pad_set_blocked_async),
19777         (gst_pad_set_blocked), (gst_pad_is_blocked),
19778         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19779         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19780         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19781         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19782         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19783         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19784         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19785         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19786         (gst_pad_set_caps), (gst_pad_configure_sink),
19787         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19788         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19789         (gst_real_pad_dispose), (gst_real_pad_finalize),
19790         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19791         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19792         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19793         * gst/gstpad.h:
19794         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19795         (pipeline_bus_handler), (gst_pipeline_change_state),
19796         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19797         * gst/gstpipeline.h:
19798         * gst/gstprobe.h:
19799         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19800         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19801         (gst_queue_link_src), (gst_queue_bufferalloc),
19802         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19803         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19804         (gst_queue_loop), (gst_queue_handle_src_event),
19805         (gst_queue_handle_src_query), (gst_queue_src_activate),
19806         (gst_queue_change_state):
19807         * gst/gstqueue.h:
19808         * gst/gstscheduler.c: (gst_scheduler_init),
19809         (gst_scheduler_dispose), (gst_scheduler_create_task),
19810         (gst_scheduler_factory_create):
19811         * gst/gstscheduler.h:
19812         * gst/gststructure.c: (gst_structure_get_type),
19813         (gst_structure_copy_conditional):
19814         * gst/gststructure.h:
19815         * gst/gsttaginterface.h:
19816         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19817         (gst_task_init), (gst_task_dispose), (gst_task_create),
19818         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19819         (gst_task_pause):
19820         * gst/gsttask.h:
19821         * gst/gstthread.c:
19822         * gst/gstthread.h:
19823         * gst/gsttypes.h:
19824         * gst/schedulers/Makefile.am:
19825         * gst/schedulers/cothreads_compat.h:
19826         * gst/schedulers/entryscheduler.c:
19827         * gst/schedulers/faircothreads.c:
19828         * gst/schedulers/faircothreads.h:
19829         * gst/schedulers/fairscheduler.c:
19830         * gst/schedulers/gstbasicscheduler.c:
19831         * gst/schedulers/gstoptimalscheduler.c:
19832         * gst/schedulers/gthread-cothreads.h:
19833         * gst/schedulers/threadscheduler.c:
19834         (gst_thread_scheduler_task_get_type),
19835         (gst_thread_scheduler_task_class_init),
19836         (gst_thread_scheduler_task_init),
19837         (gst_thread_scheduler_task_start),
19838         (gst_thread_scheduler_task_stop),
19839         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19840         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19841         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19842         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19843         (plugin_init):
19844         * libs/gst/Makefile.am:
19845         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19846         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19847         (gst_file_pad_parent_set):
19848         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19849         (gst_dp_event_from_packet):
19850         * tests/complexity.c: (main):
19851         * tests/mass_elements.c: (main):
19852         * testsuite/states/locked.c: (message_received), (main):
19853         * testsuite/states/parent.c: (main):
19854         * tools/gst-inspect.c: (print_element_flag_info),
19855         (print_implementation_info), (print_pad_info):
19856         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19857         (main):
19858         * tools/gst-md5sum.c: (event_loop), (main):
19859         * tools/gst-typefind.c: (main):
19860         * tools/gst-xmlinspect.c: (print_element_info):
19861         Next big merge.
19862         Added GstBus for mainloop integration.
19863         Added GstMessage for sending notifications on the bus.
19864         Added GstTask as an abstraction for pipeline entry points.
19865         Removed GstThread.
19866         Removed Schedulers.
19867         Simplified GstQueue for multithreaded core.
19868         Made _link threadsafe, removed old capsnego.
19869         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19870         Added pad blocking functions.
19871         Reworked scheduling functions in GstPad to prepare for
19872         scheduling updates soon.
19873         Moved events out of data stream.
19874         Simplified GstEvent types.
19875         Added return values to push/pull.
19876         Removed clocking from GstElement.
19877         Added prototypes for state change function for next merge.
19878         Removed iterate from bins and state change management.
19879         Fixed some elements, disabled others for now.
19880         Fixed -inspect and -launch.
19881         Added check for GstBus.
19882
19883 2005-03-10  Wim Taymans  <wim@fluendo.com>
19884
19885         * docs/design/part-MT-refcounting.txt:
19886         * docs/design/part-clocks.txt:
19887         * docs/design/part-gstelement.txt:
19888         * docs/design/part-gstobject.txt:
19889         * docs/design/part-standards.txt:
19890         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19891         (gst_bin_remove_func), (gst_bin_remove):
19892         * gst/gstbin.h:
19893         * gst/gstbuffer.c:
19894         * gst/gstcaps.h:
19895         * testsuite/clock/clock1.c: (main):
19896         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19897         (main):
19898         * testsuite/dlopen/loadgst.c: (do_test):
19899         * testsuite/refcounting/bin.c: (add_remove_test1),
19900         (add_remove_test2), (main):
19901         * testsuite/refcounting/element.c: (main):
19902         * testsuite/refcounting/element_pad.c: (main):
19903         * testsuite/refcounting/pad.c: (main):
19904         * tools/gst-launch.c: (sigint_handler_sighandler):
19905         * tools/gst-typefind.c: (main):
19906         Doc updates.
19907         Added doc about clock.
19908         removed gst_bin_iterate_recurse_up(), marked methods
19909         for removal.
19910         Fix more testsuites.
19911
19912 2005-03-09  Wim Taymans  <wim@fluendo.com>
19913
19914         * gst/gstpad.c: (gst_pad_get_direction),
19915         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19916         (gst_pad_collect_valist):
19917         * testsuite/bins/interface.c: (main):
19918         * testsuite/caps/audioscale.c: (test_caps):
19919         * testsuite/caps/caps.c: (test1), (test2), (test3):
19920         * testsuite/caps/deserialize.c: (main):
19921         * testsuite/caps/enumcaps.c: (main):
19922         * testsuite/caps/filtercaps.c: (main):
19923         * testsuite/caps/intersect2.c: (main):
19924         * testsuite/caps/random.c: (main):
19925         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19926         * testsuite/caps/sets.c: (check_caps):
19927         * testsuite/caps/simplify.c: (check_caps), (main):
19928         * testsuite/caps/subtract.c: (check_caps):
19929         Fix _pad_get_direction wrt ghostpads.
19930         Fix caps testsuite.
19931
19932 2005-03-09  Wim Taymans  <wim@fluendo.com>
19933
19934         * check/Makefile.am:
19935         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19936         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19937         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19938         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19939         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19940         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19941         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19942         (bin_element_is_sink), (gst_bin_iterate_sinks),
19943         (gst_bin_iterate_all_by_interface):
19944         * gst/gstbin.h:
19945         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19946         (gst_element_change_state), (gst_element_dispose),
19947         (gst_element_finalize), (gst_element_set_loop_function):
19948         * gst/gstelement.h:
19949         * gst/gstiterator.c: (find_custom_fold_func):
19950         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19951         (gst_pad_collectv), (gst_pad_collect_valist),
19952         (gst_pad_template_new):
19953         * gst/gstpipeline.c: (gst_pipeline_class_init),
19954         (gst_pipeline_dispose), (gst_pipeline_set_property),
19955         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19956         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19957         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19958         * gst/gstutils.h:
19959         * gst/schedulers/entryscheduler.c:
19960         * gst/schedulers/gstbasicscheduler.c:
19961         (gst_basic_scheduler_cothreaded_chain),
19962         (gst_basic_scheduler_chain_add_element):
19963         * testsuite/bins/interface.c: (main):
19964         Added GstBin test.
19965         Added GstSystemClock test.
19966         Implemented clock distribution code in GstBin.
19967         Implemented iterate sinks method for future use.
19968         Rearranged gstelement.h
19969         Fix GstIterator comparison bug.
19970         Moved some code to GstPipeline, mostly clocking related.
19971
19972 2005-03-09  Wim Taymans  <wim@fluendo.com>
19973
19974         * configure.ac:
19975         * gst/gst_private.h:
19976         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19977         (gst_bin_remove_func), (gst_bin_remove),
19978         (gst_bin_get_by_name_recurse_up):
19979         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19980         (gst_clock_id_compare_func), (gst_clock_id_wait),
19981         (gst_clock_id_wait_async), (gst_clock_init),
19982         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19983         * gst/gstelement.h:
19984         * gst/gstinfo.c: (_gst_debug_init):
19985         * gst/gstobject.h:
19986         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19987         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19988         * gst/gstpad.h:
19989         Bump version number, we're now 0.9.0
19990         Add future debugging category.
19991         Fix NULL _unref() in _get_by_name_recurse_up
19992         Rearrange gstpad.h.
19993         Update some docs.
19994
19995 2005-03-08  Wim Taymans  <wim@fluendo.com>
19996
19997         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19998         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19999         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20000         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20001         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20002         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20003         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20004         * gst/elements/gstidentity.c: (gst_identity_class_init):
20005         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20006         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20007         * gst/elements/gstshaper.c: (gst_shaper_class_init):
20008         * gst/elements/gststatistics.c: (gst_statistics_class_init):
20009         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20010         (gst_tee_link):
20011         * gst/gstelement.c: (gst_element_class_init),
20012         (gst_element_base_class_init), (gst_element_init),
20013         (gst_element_get_random_pad), (gst_element_wait_state_change),
20014         (gst_element_change_state), (gst_element_dispose),
20015         (gst_element_finalize), (gst_element_set_loop_function):
20016         * gst/gstelement.h:
20017         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20018         * gst/gstthread.c: (gst_thread_class_init),
20019         (gst_thread_release_children_locks), (gst_thread_change_state):
20020         * gst/schedulers/gstbasicscheduler.c:
20021         (gst_basic_scheduler_loopfunc_wrapper),
20022         (gst_basic_scheduler_chain_wrapper),
20023         (gst_basic_scheduler_src_wrapper),
20024         (gst_basic_scheduler_remove_element):
20025         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20026         Remove threadsafe properties. Fix elements because GObject
20027         complains when installing a property before declaring a
20028         set/get_property handler.
20029         Rearrange gstelement.h file, use STATE macros for state locks.
20030         Free mutexes in the finalize method instead of dispose.
20031
20032 2005-03-08  Wim Taymans  <wim@fluendo.com>
20033
20034         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20035         * gst/gstthread.c: (gst_thread_release_children_locks):
20036         Added parentage check.
20037         Fix build og GstThread again.
20038
20039 2005-03-08  Wim Taymans  <wim@fluendo.com>
20040
20041         * docs/design/part-MT-refcounting.txt:
20042         * docs/design/part-conventions.txt:
20043         * docs/design/part-gstobject.txt:
20044         * docs/design/part-relations.txt:
20045         * docs/design/part-standards.txt:
20046         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20047         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20048         (gst_bin_get_by_name), (gst_bin_get_by_interface),
20049         (gst_bin_iterate_all_by_interface):
20050         * gst/gstbuffer.h:
20051         * gst/gstclock.h:
20052         * gst/gstelement.c: (gst_element_class_init),
20053         (gst_element_change_state), (gst_element_set_loop_function):
20054         * gst/gstelement.h:
20055         * gst/gstiterator.c:
20056         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20057         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20058         (gst_object_dispatch_properties_changed), (gst_object_set_name),
20059         (gst_object_set_parent), (gst_object_unparent),
20060         (gst_object_check_uniqueness):
20061         * gst/gstobject.h:
20062         Docs updates, clean up some headers.
20063
20064 2005-03-07  Wim Taymans  <wim@fluendo.com>
20065
20066         * check/.cvsignore:
20067         * check/Makefile.am:
20068         * check/gst-libs/.cvsignore:
20069         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20070         * check/gst/.cvsignore:
20071         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20072         (START_TEST), (gstbus_suite), (main):
20073         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20074         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20075         (gst_data_suite), (main):
20076         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20077         (add_fold_func), (gstiterator_suite), (main):
20078         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20079         (thread_name_object), (thread_name_object_default),
20080         (gst_object_name_compare), (gst_object_suite), (main):
20081         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20082         (gst_pad_suite), (main):
20083         * check/gstcheck.c: (gst_check_log_message_func),
20084         (gst_check_log_critical_func), (gst_check_init):
20085         * check/gstcheck.h:
20086         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20087         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20088         Added checks.
20089
20090 2005-03-07  Wim Taymans  <wim@fluendo.com>
20091
20092         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20093         (gst_list_iterator_next), (gst_list_iterator_resync),
20094         (gst_list_iterator_free), (gst_iterator_new_list),
20095         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20096         (gst_iterator_free), (gst_iterator_push), (filter_next),
20097         (filter_resync), (filter_uninit), (filter_free),
20098         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20099         (gst_iterator_foreach), (find_custom_fold_func),
20100         (gst_iterator_find_custom):
20101         * gst/gstiterator.h:
20102         Added missing files.
20103
20104 2005-03-07  Wim Taymans  <wim@fluendo.com>
20105
20106         * Makefile.am:
20107         * configure.ac:
20108         * docs/design/part-MT-refcounting.txt:
20109         * docs/design/part-conventions.txt:
20110         * docs/design/part-gstobject.txt:
20111         * docs/design/part-relations.txt:
20112         * examples/mixer/mixer.c: (main):
20113         * examples/thread/thread.c: (eos), (main):
20114         * gst/Makefile.am:
20115         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20116         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20117         (gst_spider_plug_from_srcpad):
20118         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20119         (gst_spider_identity_change_state),
20120         (gst_spider_identity_sink_loop_type_finding):
20121         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20122         * gst/elements/gstidentity.c: (gst_identity_init):
20123         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20124         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20125         * gst/elements/gsttypefindelement.c: (free_entry):
20126         * gst/gst.c:
20127         * gst/gst.h:
20128         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20129         (gst_bin_set_clock_func), (gst_bin_auto_clock),
20130         (gst_bin_set_index), (gst_bin_set_element_sched),
20131         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20132         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20133         (gst_bin_iterate_elements), (iterate_child_recurse),
20134         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20135         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20136         (compare_interface), (gst_bin_get_by_interface),
20137         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20138         * gst/gstbin.h:
20139         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20140         (gst_buffer_default_free), (gst_buffer_default_copy),
20141         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20142         (gst_buffer_create_sub):
20143         * gst/gstbuffer.h:
20144         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20145         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20146         (gst_caps_unref), (gst_static_caps_get),
20147         (gst_caps_remove_and_get_structure), (gst_caps_append),
20148         (gst_caps_append_structure), (gst_caps_remove_structure),
20149         (gst_caps_copy_nth), (gst_caps_set_simple),
20150         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20151         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20152         (gst_caps_structure_intersect_field), (gst_caps_intersect),
20153         (gst_caps_structure_subtract_field), (gst_caps_subtract),
20154         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20155         (gst_caps_structure_figure_out_union),
20156         (gst_caps_switch_structures), (gst_caps_do_simplify),
20157         (gst_caps_replace), (gst_caps_from_string),
20158         (gst_caps_copy_conditional):
20159         * gst/gstcaps.h:
20160         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20161         (_gst_clock_id_free), (gst_clock_id_unref),
20162         (gst_clock_id_compare_func), (gst_clock_id_wait),
20163         (gst_clock_id_wait_async), (gst_clock_class_init),
20164         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20165         (gst_clock_get_time), (gst_clock_set_time_adjust),
20166         (gst_clock_set_property), (gst_clock_get_property):
20167         * gst/gstclock.h:
20168         * gst/gstcompat.h:
20169         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20170         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20171         * gst/gstdata.h:
20172         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20173         (gst_element_requires_clock), (gst_element_provides_clock),
20174         (gst_element_set_clock), (gst_element_clock_wait),
20175         (gst_element_wait), (gst_element_set_time_delay),
20176         (gst_element_is_indexable), (gst_element_add_pad),
20177         (gst_element_add_ghost_pad), (gst_element_remove_pad),
20178         (pad_compare_name), (gst_element_get_static_pad),
20179         (gst_element_request_pad), (gst_element_get_request_pad),
20180         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20181         (gst_element_class_get_pad_template_list),
20182         (gst_element_class_get_pad_template), (gst_element_error_func),
20183         (gst_element_get_random_pad), (gst_element_get_event_masks),
20184         (gst_element_send_event), (gst_element_seek),
20185         (gst_element_get_query_types), (gst_element_query),
20186         (gst_element_get_formats), (gst_element_convert),
20187         (gst_element_is_locked_state), (gst_element_set_locked_state),
20188         (gst_element_sync_state_with_parent), (gst_element_change_state),
20189         (gst_element_finalize), (gst_element_yield),
20190         (gst_element_interrupt), (gst_element_set_scheduler),
20191         (gst_element_get_scheduler), (gst_element_set_loop_function):
20192         * gst/gstelement.h:
20193         * gst/gstevent.h:
20194         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20195         (gst_format_get_by_nick), (gst_format_get_details),
20196         (gst_format_iterate_definitions):
20197         * gst/gstformat.h:
20198         * gst/gstindex.c: (gst_index_gtype_resolver):
20199         * gst/gstinfo.c:
20200         * gst/gstinfo.h:
20201         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20202         (gst_mem_chunk_free):
20203         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20204         (gst_object_ref), (gst_object_unref), (gst_object_sink),
20205         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20206         (gst_object_dispatch_properties_changed),
20207         (gst_object_set_name_default), (gst_object_set_name),
20208         (gst_object_get_name), (gst_object_set_name_prefix),
20209         (gst_object_get_name_prefix), (gst_object_set_parent),
20210         (gst_object_get_parent), (gst_object_unparent),
20211         (gst_object_check_uniqueness), (gst_object_save_thyself),
20212         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20213         (gst_object_set_property), (gst_object_get_property),
20214         (gst_object_get_path_string):
20215         * gst/gstobject.h:
20216         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20217         (gst_real_pad_init), (gst_real_pad_get_property),
20218         (gst_pad_custom_new), (gst_pad_get_direction),
20219         (gst_pad_set_active), (gst_pad_is_active),
20220         (gst_pad_set_event_function), (gst_pad_is_linked),
20221         (gst_pad_link_free), (gst_pad_link_intersect),
20222         (gst_pad_link_fixate), (gst_pad_set_caps),
20223         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20224         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20225         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20226         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20227         (gst_pad_get_caps), (gst_pad_peer_get_caps),
20228         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20229         (gst_pad_realize), (gst_pad_get_allowed_caps),
20230         (gst_real_pad_dispose), (gst_real_pad_finalize),
20231         (gst_pad_collectv), (gst_pad_collect_valist),
20232         (gst_pad_template_dispose), (gst_pad_template_new),
20233         (gst_pad_get_internal_links):
20234         * gst/gstpad.h:
20235         * gst/gstpipeline.c: (gst_pipeline_dispose),
20236         (gst_pipeline_change_state):
20237         * gst/gstpipeline.h:
20238         * gst/gstplugin.c:
20239         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20240         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20241         * gst/gstpluginfeature.h:
20242         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20243         * gst/gstquery.c: (_gst_query_type_initialize),
20244         (gst_query_type_register), (gst_query_type_get_by_nick),
20245         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20246         * gst/gstquery.h:
20247         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20248         * gst/gstscheduler.c: (gst_scheduler_add_element),
20249         (gst_scheduler_factory_create):
20250         * gst/gststructure.c: (gst_structure_set_parent_refcount),
20251         (gst_structure_free), (gst_structure_set_name),
20252         (gst_structure_id_set_value), (gst_structure_set_value),
20253         (gst_structure_set_valist), (gst_structure_remove_field),
20254         (gst_structure_remove_fields),
20255         (gst_structure_remove_fields_valist),
20256         (gst_structure_remove_all_fields), (gst_structure_foreach),
20257         (gst_structure_map_in_place),
20258         (gst_caps_structure_fixate_field_nearest_int),
20259         (gst_caps_structure_fixate_field_nearest_double):
20260         * gst/gststructure.h:
20261         * gst/gstsystemclock.c: (gst_system_clock_class_init),
20262         (gst_system_clock_init), (gst_system_clock_dispose),
20263         (gst_system_clock_async_thread),
20264         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20265         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20266         * gst/gstsystemclock.h:
20267         * gst/gsttag.c: (gst_tag_list_add_value_internal),
20268         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20269         * gst/gsttaginterface.c:
20270         * gst/gstthread.c: (gst_thread_dispose),
20271         (gst_thread_release_children_locks), (gst_thread_change_state),
20272         (gst_thread_main_loop):
20273         * gst/gsttrashstack.h:
20274         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20275         * gst/gsttypes.h:
20276         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20277         (gst_element_request_pad), (gst_element_get_pad_from_template),
20278         (gst_element_request_compatible_pad),
20279         (gst_element_get_compatible_pad_filtered),
20280         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20281         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20282         (gst_element_link_many), (gst_element_link),
20283         (gst_element_link_pads), (gst_element_unlink_pads),
20284         (gst_element_unlink_many), (gst_element_unlink),
20285         (gst_pad_can_link_filtered), (gst_pad_can_link),
20286         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20287         (gst_object_default_error), (gst_bin_add_many),
20288         (gst_bin_remove_many), (gst_element_populate_std_props),
20289         (gst_element_class_install_std_props), (gst_buffer_merge),
20290         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20291         (link_fold_func), (gst_pad_proxy_setcaps):
20292         * gst/gstutils.h:
20293         * gst/gstvalue.c: (gst_value_deserialize_string):
20294         * gst/parse/grammar.y:
20295         * gst/schedulers/gstbasicscheduler.c:
20296         (gst_basic_scheduler_cothreaded_chain),
20297         (gst_basic_scheduler_chain_recursive_add),
20298         (gst_basic_scheduler_pad_link):
20299         * gst/schedulers/gstoptimalscheduler.c:
20300         (get_group_schedule_function),
20301         (gst_opt_scheduler_state_transition),
20302         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20303         * libs/gst/bytestream/bytestream.c:
20304         * libs/gst/dataprotocol/dataprotocol.c:
20305         (gst_dp_header_from_buffer):
20306         * po/nb.po:
20307         * po/ru.po:
20308         * tests/threadstate/threadstate2.c: (eos):
20309         * tools/gst-compprep.c: (main):
20310         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20311         (print_pad_info), (print_children_info):
20312         * tools/gst-launch.c: (idle_func), (main):
20313         * tools/gst-md5sum.c: (idle_func), (main):
20314         * tools/gst-xmlinspect.c: (print_element_info):
20315         First THREADED backport attempt, focusing on adding locks and
20316         making sure the API is threadsafe. Needs more work. More docs
20317         follow this week.
20318
20319 2005-02-24  Andy Wingo  <wingo@pobox.com>
20320
20321         * tests/bench-complexity.scm:
20322         * tests/complexity.gnuplot: New files, good for running complexity
20323         benchmarks.
20324
20325         * tests/Makefile.am:
20326         * tests/complexity.c: New test, sets up N elements, at each level
20327         teeing into M streams per element. Eeeenteresting.
20328
20329         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20330         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20331         running bench-mass_elements.scm.
20332
20333         * tests/bench-mass_elements.scm: New script, runs mass_elements
20334         for various numbers of identities, outputting the results to a
20335         file. Requires guile 1.6. Just for testing.
20336
20337 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20338
20339         * gst/schedulers/fairscheduler.c:
20340           compile with debug disabled
20341
20342 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20343
20344         * configure.ac:
20345           hunting season on 0.9 is now OPEN