plugins/elements/gstfilesink.c: Add some FIXME for the NEWSEGMENT handling.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-06  Wim Taymans  <wim@fluendo.com>
2
3         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
4         (gst_file_sink_close_file), (gst_file_sink_event),
5         (gst_file_sink_render):
6         Add some FIXME for the NEWSEGMENT handling.
7
8 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9
10         * gst/parse/grammar.y:
11         Remove static function gst_parse_element_lock as all it does
12         is return.  Looks like cruft from 0.8.
13
14 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
15
16         Patch by: Josep Torre Valles <josep@fluendo.com>
17
18         * common/m4/gst-error.m4:
19         * configure.ac:
20         * libs/gst/net/Makefile.am:
21         Fix a compilation issue with Forte on Solaris.  inet_aton is in
22         libresolv.
23
24 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
25
26         * gst/gstpad.c: (pre_activate):
27         * gst/gstregistry.c: (gst_registry_scan_path_level):
28         * gst/gstregistryxml.c: (load_plugin):
29         * libs/gst/controller/gstcontroller.c:
30         (gst_controlled_property_set_interpolation_mode):
31         * libs/gst/dataprotocol/dataprotocol.c:
32         (gst_dp_packet_from_event_1_0):
33         * libs/gst/net/gstnetclientclock.c:
34         (gst_net_client_clock_observe_times):
35         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
36           Printf fixes.
37
38 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
39
40         * configure.ac:
41         * docs/gst/gstreamer-sections.txt:
42         * gst/gstconfig.h.in:
43         * gst/gstelement.h:
44         * gst/gstinfo.h:
45           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
46           whether we can use G_GNUC_PRINTF in other header files and at
47           least check the printf format/arguments of debug messages and
48           GST_ELEMENT_ERROR messages when the printf extension is not
49           being used.
50           Replace more tabs with spaces in gstinfo.h and remove two spurious
51           function declarations in GST_DISABLE_DEBUG part with macros.
52
53 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
54
55         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
56           More docs for the sync-message signal (mention that it is not
57           emitted by default); log message structures of messages posted on
58           the bus as well.
59
60 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
61
62         * gst/gst.c: (ensure_current_registry_forking):
63         Use a pipe pair to receive status results from the forked child, and
64         ignore the result from waitpid. Fixes #355499
65
66 2006-10-02  Wim Taymans  <wim@fluendo.com>
67
68         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
69         (gst_ghost_pad_suite):
70         Fix leak in check.
71
72 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
73
74         * gst/gstpad.c:
75           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
76
77 2006-10-02  Edward Hervey  <edward@fluendo.com>
78
79         * docs/design/part-block.txt:
80         Further explain the use of flushing on blocked pads.
81         * docs/gst/gstreamer-sections.txt:
82         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
83         (gst_pad_push_event):
84         * gst/gstpad.h:
85         Added new GstPadFlag : GST_PAD_BLOCKING.
86         Adds the notion of pads really blocking, which enables to properly
87         handle FLUSH_START/FLUSH_STOP events on blocked pads.
88         Fixes #358999
89         API: gst_pad_is_blocking()
90         API: GST_PAD_IS_BLOCKING() macro
91         API: GST_PAD_BLOCKING GstPadFlag
92         
93 2006-10-02  Wim Taymans  <wim@fluendo.com>
94
95         Patch by: mrcgran <mrc.gran at gmail dot com>
96
97         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
98         Filter the proxied caps against the padtemplate if we have one.
99
100         * gst/gstquery.c: (gst_query_new_segment):
101         Add include for gstinfo.h so that compilation with
102         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
103
104 2006-10-02  Wim Taymans  <wim@fluendo.com>
105
106         Patch by: Alessandro Decina  <alessandro at nnva org>
107
108         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
109         (gst_file_sink_set_location), (gst_file_sink_open_file),
110         (gst_file_sink_close_file), (gst_file_sink_event),
111         (gst_file_sink_render):
112         Set file to NULL when closing filesink so that we can set a new filename
113         in READY. Fixes #358613.
114
115 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
116
117         Patch by: Alessandro Decina  <alessandro at nnva org>
118
119         * gst/gstevent.c: (_gst_event_copy):
120           Fix gst_mini_object_make_writable() and gst_event_copy() for events
121           with event structures by setting the parent refcount address of the
122           copied structure to the address of the refcount member of the newly
123           copied event rather than the address of the refcount member of the
124           original event. Fixes #358737.
125
126         * tests/check/gst/gstevent.c: (GST_START_TEST):
127           Unit test for the above.
128
129 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
130
131         * docs/design/Makefile.am:
132           Dist some more files.
133
134 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
135
136         * tests/check/libs/controller.c: (GST_START_TEST),
137         (gst_controller_suite):
138           Add test for the previous fix; add some more tests
139           for correct refcounting behaviour; fix a few leaks
140           in test cases; call gst_controller_init() at start
141           of all tests.
142
143 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
144
145         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
146         (gst_controller_set_from_list):
147           Don't g_return_val_if_fail() on timed values with invalid timestamps
148           inside a critical section without unlocking the mutex. Spotted by
149           René Stadler. (#357617)
150           Also, fix up refcounting properly: when returning an existing
151           controller, we should increase the reference only once and not
152           once per property and when trying to control a property again
153           we should also increase the refcount.
154
155 2006-09-29  Wim Taymans  <wim@fluendo.com>
156
157         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
158         * libs/gst/net/gstnettimeprovider.c:
159         (gst_net_time_provider_thread):
160         Stop reading commands when EOF as well.
161
162         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
163         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
164         * plugins/elements/gstidentity.c: (gst_identity_class_init):
165         Unify description of the dump property.
166
167 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
168
169         * tests/examples/manual/.cvsignore:
170         OK, so it's actually cvsignore that needs changing. Stop laughing.
171
172 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
173
174         * tests/examples/manual/Makefile.am:
175         Gah, declare vars *before* using them
176
177 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
178
179         * gst/gst.c: (init_pre), (scan_and_update_registry),
180         (ensure_current_registry_nonforking),
181         (ensure_current_registry_forking), (ensure_current_registry),
182         (init_post), (gst_debug_help), (gst_deinit):
183         * gst/gst_private.h:
184         * gst/gstregistry.c: (gst_registry_finalize),
185         (gst_registry_remove_features_for_plugin_unlocked),
186         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
187         (gst_registry_scan_path),
188         (_priv_gst_registry_remove_cache_plugins),
189         (_priv_gst_registry_cleanup):
190         * gst/gstregistry.h:
191         Re-commit the registry changes, along with an extra fix:
192           When a cached plugin is encountered at a different file path,
193           update the stored path in the registry cache so that the parent
194           process knows where it actually is now when it re-reads the registry
195           cache. Fixes the thing that broke distcheck with the previous commit.
196
197         * tests/check/Makefile.am:
198         Clean up files named 'core' too when running make clean.
199
200         * tests/examples/manual/Makefile.am:
201         Set up a registry path for running these tests, and clean it properly
202         for distcheck.
203
204 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
205
206         * configure.ac:
207         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
208         want gmodule-no-export-2.0.pc instead so that we don't drag in
209         --export-dynamic on every project that links to GStreamer.
210
211         Also, make our export regex only match the start of symbols, rather 
212         than any symbol that contains '_gst' somewhere.
213
214         * libs/gst/check/Makefile.am:
215         The libgstcheck we build does however need export-dynamic, as it
216         produces some symbols that don't match our _gst... style regex.
217         Fixes: #318031
218
219 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
220
221         * gst/gst.c: (init_pre), (scan_and_update_registry),
222         (ensure_current_registry_nonforking),
223         (ensure_current_registry_forking), (ensure_current_registry),
224         (init_post), (gst_debug_help), (gst_deinit):
225         * gst/gst_private.h:
226         * gst/gstregistry.c: (gst_registry_finalize),
227         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
228         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
229         (_gst_registry_cleanup):
230         * gst/gstregistry.h:
231           Revert previous change until I figure out why it breaks distcheck.
232
233 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
234
235         * gst/gst.c: (init_pre), (scan_and_update_registry),
236         (ensure_current_registry_nonforking),
237         (ensure_current_registry_forking), (ensure_current_registry),
238         (init_post), (gst_debug_help), (gst_deinit):
239
240           Make init_pre and init_post take the full complement of GOptionFunc
241           args so they can return useful GErrors. Make the registry updating
242           functions do so.
243
244           Call _priv_gst_registry_remove_cache_plugins after scanning files to
245           ensure that the registry we're about to write out doesn't contain
246           stale information about old-deleted plugin files.
247
248           Make _priv_gst_registry_remove_cache_plugins return a boolean so
249           that deletion of plugin files is considered a registry change.
250
251         * gst/gst_private.h:
252         * gst/gstregistry.c: (gst_registry_finalize),
253         (gst_registry_remove_features_for_plugin_unlocked),
254         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
255         (gst_registry_scan_path),
256         (_priv_gst_registry_remove_cache_plugins),
257         (_priv_gst_registry_cleanup):
258         * gst/gstregistry.h:
259         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
260         by adding _priv prefix, so that they won't appear in the global
261         symbol table. They still do atm though because of #318031. Move the
262         prototypes to gst_private.h
263
264         When removing a plugin, remove all features for that plugin too. 
265         Fixes #340878.
266
267 2006-09-27  Wim Taymans  <wim@fluendo.com>
268
269         * docs/random/moving-plugins:
270         Make it clear that the "compiled-in descriptions" really mean
271         the element details.
272
273         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
274         (gst_base_sink_wait_preroll):
275         Update docs.
276
277         * docs/libs/gstreamer-libs-sections.txt:
278         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
279         (gst_base_src_get_range), (gst_base_src_activate_push):
280         * libs/gst/base/gstbasesrc.h:
281         Added function to block while waiting for PLAYING, this function
282         is used by live sources that block on the clock.
283         API: gst_base_src_wait_playing()
284
285 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
286
287         Patch by: Peter Kjellerstedt <pkj at axis com>
288
289         * Makefile.am:
290           gst-element-check.m4 is generated and should therefore be
291           copied from the build dir rather than the source dir (#357593).
292           'make distcheck' hasn't noticed this because we were disting
293           the file as well, so stop doing that.
294
295 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
296
297         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
298           Add some tests for gst_caps_intersect().
299
300         * tools/gst-launch.c: (event_loop):
301           Print all buffering percentages we get, even the 100% one.
302
303 2006-09-26  Wim Taymans  <wim@fluendo.com>
304
305         * tools/gst-inspect.c: (print_element_properties_info),
306         (print_signal_info):
307         Fix printing of flags to match the look of enums.
308
309 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
310
311         * gst/gstelementfactory.c:
312           Fix typo in docs blurb.
313
314 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
315
316         * gst/gsturi.c: (search_by_entry):
317           Don't assert/crash here if a uri handler doesn't return any
318           supported protocols. The list of protocols could be generated
319           dynamically at runtime or at plugin registration, and an error
320           in the underlying library shouldn't be fatal (#353301).
321
322 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
323
324         * gst/gstinfo.c:
325           Fix warning if HAVE_PRINTF_EXTENSION is undefined
326           (spotted by Peter Kjellerstedt).
327
328 2006-09-23  Wim Taymans  <wim@fluendo.com>
329
330         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
331
332         * libs/gst/base/gstbasesrc.c:
333         (gst_base_src_default_check_get_range), (gst_base_src_start),
334         (gst_base_src_activate_push), (gst_base_src_activate_pull),
335         (gst_base_src_change_state):
336         Match _start/_stop calls in the activate functions. Remove redundant
337         _stop call from the state change function. Fixes #356910.
338         Turn failure DEBUG into ERROR. 
339
340 2006-09-22  Wim Taymans  <wim@fluendo.com>
341
342         * docs/design/part-buffering.txt:
343         * gst/gstmessage.c: (gst_message_new_buffering),
344         (gst_message_parse_buffering):
345         Update docs about buffering.
346
347         * docs/design/part-trickmodes.txt:
348         Fix typo.
349
350 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
351
352         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
353         (gst_controller_new_list):
354           Ref instances when returning them again (fixes #357180)
355
356 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
357
358         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
359           Don't forget to release proxy lock when there's an error.
360
361 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
362
363         * gst/gstcaps.h:
364           Add extra initialisers for Caps things, to fix some plugin warnings
365           when using -Wextra
366
367 2006-09-18  Wim Taymans  <wim@fluendo.com>
368
369         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
370           Also set template on the internal pad so that a getcaps from the 
371           target pad returns the template caps.
372
373 2006-09-18  Wim Taymans  <wim@fluendo.com>
374
375         * gst/gstelement.c: (gst_element_post_message),
376         (gst_element_dispose):
377         Use _DEBUG_OBJECT some more.
378
379         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
380         Avoid typechecks.
381
382         * tools/gst-launch.c: (main):
383         If the toplevel element is not a GstPipeline, it must be put in a
384         pipeline so that a bus and clock is selected.
385
386 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
387
388         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
389           JITTER, RATE, and LATENCY query should be handled by the
390           default case and not by the CONVERT query code.
391
392 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
393
394         * gst/gstformat.c: (gst_format_register):
395           Fix locking order (must take lock before using n_values).
396
397         * gst/gstvalue.c: (gst_value_serialize_enum),
398         (gst_value_deserialize_enum_iter_cmp),
399         (gst_value_deserialize_enum):
400           Fix serialisation/deserialisation of custom registered GstFormats.
401
402         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
403           Unit test for custom format serialisation/deserialisation.
404
405 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
406
407         * docs/pwg/building-boiler.xml:
408         * plugins/elements/gstcapsfilter.c:
409         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
410         section.
411
412 2006-09-16  Edward Hervey  <edward@fluendo.com>
413
414         * libs/gst/base/gstbasetransform.c:
415         (gst_base_transform_buffer_alloc):
416         Check if requested caps are the same as the sinks caps IF
417         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
418         is FALSE.
419         This fixes the renegotiation issues stated in #352827.
420
421 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
422
423         * configure.ac:
424         * docs/manual/advanced-autoplugging.xml:
425         * tests/examples/Makefile.am:
426         * tests/examples/manual/.cvsignore:
427         * tests/examples/manual/Makefile.am:
428         * tests/examples/manual/extract.pl:
429           Extract the manual examples again like we used to do.
430           Fix one of them.
431
432 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
433
434         * win32/common/config.h:
435           update for version
436
437 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
438
439         * gst/gsterror.c:
440           Documents how to receive errors.
441
442 2006-09-15  Wim Taymans  <wim@fluendo.com>
443
444         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
445         (event_loop), (main):
446         Added some comments here and there.
447         Post an application message when an interrupt is caught instead of doing
448         an uncontrolled state change.
449         Clean up the event loop.
450         Handle buffering messages, pause/resume the pipeline.
451         Make shutdown because of an interrupt more reliable.
452
453 2006-09-15  Wim Taymans  <wim@fluendo.com>
454
455         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
456         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
457         (gst_base_sink_preroll_object):
458         Make sure that our internal state is correct when we commit our state
459         asynchronously. This solves a race where a state change to PLAYING
460         could cause the sink to remain blocked in preroll in some situations.
461
462 2006-09-15  Wim Taymans  <wim@fluendo.com>
463
464         * tools/gst-inspect.c: (print_element_properties_info),
465         (print_signal_info):
466         List flags as hex so it's easier to deal with.
467
468 2006-09-15  Wim Taymans  <wim@fluendo.com>
469
470         * docs/libs/gstreamer-libs-sections.txt:
471         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
472         (gst_base_sink_do_sync):
473         * libs/gst/base/gstbasesink.h:
474         Expose logic to wait for preroll so that subclasses such as audiosink
475         can also use this method.
476         API: gst_base_sink_wait_preroll()
477
478 2006-09-15  Wim Taymans  <wim@fluendo.com>
479
480         * gst/gstobject.c: (gst_object_set_parent):
481         * gst/gstpipeline.c: (do_pipeline_seek):
482         Small cleanups in docs and code.
483
484         * gst/gstsegment.c: (gst_segment_clip):
485         * tests/check/gst/gstsegment.c: (GST_START_TEST):
486         if stop == start and start is in the segment, no clipping should be
487         done. Also add a test for this.
488
489 2006-09-15  Wim Taymans  <wim@fluendo.com>
490
491         * docs/design/part-buffering.txt:
492         * docs/gst/gstreamer-sections.txt:
493         * gst/gstmessage.c: (gst_message_new_buffering),
494         (gst_message_parse_buffering):
495         * gst/gstmessage.h:
496         Added methods to create and parse BUFFERING messages.
497         Added preliminary docs about buffering.
498         API: gst_message_new_buffering
499         API: gst_message_parse_buffering
500
501 2006-09-06  Wim Taymans  <wim@fluendo.com>
502
503         * gst/gstbin.c:
504         Update documentation.
505
506         * gst/gstelement.c: (gst_element_class_init),
507         (gst_element_release_request_pad), (gst_element_set_clock),
508         (gst_element_get_index), (gst_element_add_pad),
509         (gst_element_remove_pad), (gst_element_get_random_pad),
510         (gst_element_send_event), (gst_element_get_query_types),
511         (gst_element_query), (gst_element_post_message),
512         (gst_element_message_full), (gst_element_continue_state),
513         (gst_element_lost_state), (gst_element_save_thyself),
514         (gst_element_restore_thyself):
515         Documentation updates.
516         Rename last bit of the new-pad -> pad-added signal rename.
517         Fix the case where an element query would only work if the source
518         pad was linked.
519         Avoid some useless type checking in message handling.
520
521         * gst/gstevent.c:
522         * gst/gstevent.h:
523         * gst/gstutils.c:
524         Documentation updates.
525
526 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
527
528         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
529           add an INFO line for when we actually update the fd
530
531 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
532
533         * configure.ac:
534           back to TRUNK
535
536 === release 0.10.10 ===
537
538 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
539
540         * configure.ac:
541           releasing 0.10.10, "Pais"
542
543 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
544
545         * docs/manual/advanced-position.xml:
546           Fix typo in sample code.
547
548 2006-09-05  Wim Taymans  <wim@fluendo.com>
549
550         * libs/gst/net/gstnetclientclock.c: (inet_aton),
551         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
552         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
553         * libs/gst/net/gstnetclientclock.h:
554         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
555         * libs/gst/net/gstnettimepacket.h:
556         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
557         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
558         (gst_net_time_provider_thread), (gst_net_time_provider_new):
559         * libs/gst/net/gstnettimeprovider.h:
560         Make stuff compile on windows. Fixes #345295.
561
562 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
563
564         * gst/gst.c: (ensure_current_registry_forking):
565           Print better details when child was terminated by signal.
566
567 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
568
569         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
570           Print a warning rather than g_assert() if a plugin feature
571           is a URI handler but returns no protocols (#353976).
572
573 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
574
575         * docs/random/moving-plugins:
576         Fix two typos.         
577
578 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
579
580         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
581           Fix locking order, handle NULL function values properly.
582
583         * gst/gstinfo.h:
584           Fix docs.
585
586         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
587           Initialise variable before using it and fix debug statement to
588           print the address of the function rather than the address of the
589           variable on the stack holding the address of the function.
590
591 2006-09-01  Wim Taymans  <wim@fluendo.com>
592
593         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
594         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
595         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
596         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
597         (gst_ghost_pad_parent_unset),
598         (gst_ghost_pad_internal_do_activate_push),
599         (gst_ghost_pad_internal_do_activate_pull),
600         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
601         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
602         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
603         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
604         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
605         (gst_ghost_pad_new_no_target_from_template),
606         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
607         More cleanups.
608         Avoid needless typechecking in macros.
609         Since the internal pad is always present and never changes, there is
610         no need to locking or ref when retrieving it.
611         Improve debugging a bit.
612         Handle link errors when setting the target. Fixes #341029.
613
614 2006-09-01  Wim Taymans  <wim@fluendo.com>
615
616         * docs/libs/gstreamer-libs-sections.txt:
617         * docs/plugins/gstreamer-plugins-sections.txt:
618         Fix docs some more.
619
620         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
621         (gst_collect_pads_event):
622         * libs/gst/base/gstcollectpads.h:
623         Documentation updates.
624         Free queued buffer when removing a pad.
625
626 2006-08-31  Michael Smith  <msmith@fluendo.com>
627
628         * gst/gstutils.c: (gst_element_link_pads),
629         (gst_element_link_pads_filtered):
630           Ensure that we set a capsfilter to NULL if we failed to link it
631           when doing filtered linking, to avoid criticals.
632
633           No need to check for unreffing srcpad, which is explicly NULLed
634           above (a trivial code cleanup).
635
636 2006-08-31  Wim Taymans  <wim@fluendo.com>
637
638         * docs/design/part-gstghostpad.txt:
639         Update ascii art in documentation.
640
641         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
642         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
643         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
644         (gst_ghost_pad_internal_do_activate_push),
645         (gst_ghost_pad_internal_do_activate_pull),
646         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
647         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
648         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
649         (gst_ghost_pad_set_target):
650         Small cleanups and leak fixes.
651         Remove some checks now that the internal pad is never NULL.
652         Fix the case where linking pads without a target would create nasty
653         criticals. Fixes #341029.
654         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
655         value of _set_target().
656
657         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
658         (gst_ghost_pad_suite):
659         Some more tests for creating and linking untargeted ghostpads.
660
661 2006-08-31  Edward Hervey  <edward@fluendo.com>
662
663         * docs/gst/gstreamer-sections.txt:
664         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
665         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
666         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
667         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
668         (gst_ghost_pad_new_from_template),
669         (gst_ghost_pad_new_no_target_from_template):
670         * gst/gstghostpad.h:
671         Refactored *_new() functions.
672         Templates are now used as a g_object_new() parameter.
673         Use template in _do_getcaps() if we don't have a target.
674         Small documentation cleanups.
675         Added two new constructors:
676         gst_ghost_pad_new_from_template()
677         gst_ghost_pad_new_no_target_from_template()
678         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
679         (gst_ghost_pad_suite):
680         Added tests for new ghostpad instanciation functions.
681
682         API additions: gst_ghost_pad_new_from_template,
683         gst_ghost_pad_new_no_target_from_template
684
685 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
686
687         * docs/random/ensonic/profiling.txt:
688           Ideas about qos profiling.
689
690 2006-08-29  Wim Taymans  <wim@fluendo.com>
691
692         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
693         Code cleanups.
694         Fix memleak.
695
696 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
697
698         * gst/gstxml.c:
699           Improve and detypofy docs.
700
701         * tests/check/Makefile.am:
702         * tests/check/gst/.cvsignore:
703         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
704           Add a basic test suite for GstXML.
705
706 2006-08-29  Wim Taymans  <wim@fluendo.com>
707
708         * gst/gstelement.c: (activate_pads), (clear_caps),
709         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
710         Clear the pad caps when the element shut down all of the pads and
711         is not streaming data that could modify the caps. 
712         Fixes #352958.
713
714 2006-08-28  Michael Smith  <msmith@fluendo.com>
715
716         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
717           Revert previous change; I misunderstood single-segment mode.
718
719 2006-08-28  Michael Smith  <msmith@fluendo.com>
720
721         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
722           Unset DISCONT on buffers when using single-segment mode.
723
724 2006-08-28  Wim Taymans  <wim@fluendo.com>
725
726         * gst/gstcaps.c: (gst_caps_merge_structure):
727         * gst/gstcaps.h:
728         Fix docs and indentation again.
729
730         * tests/check/gst/gstquery.c: (GST_START_TEST):
731         Fix leak in tests and add some more tests.
732
733 2006-08-28  Edward Hervey  <edward@fluendo.com>
734
735         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
736         Inform GstSegment of the last stop position in order for the current
737         segment to have a proper duration if it doesn't have a specific stop
738         position from which a duration could be calculated.
739         This bug was noticeable when a non-flushing, non-update new segment was
740         followed by another segment (all buffers from the new segment were being
741         dropped).
742
743 2006-08-28  Wim Taymans  <wim@fluendo.com>
744
745         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
746         Small comment update.
747
748         * plugins/elements/gstidentity.c: (gst_identity_class_init),
749         (gst_identity_transform_ip):
750         Drop-probability is broken, mention this in the code with a 
751         FIXME and also in the property description.
752         Make silent also be silent about the drop messages.
753
754 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
755
756         * docs/manual/appendix-win32.xml:
757           Remove mention of popt, we don't depend on that any
758           longer (#353136). Add some comments pointing out that
759           this section is slightly outdated.
760
761 2006-08-28  Wim Taymans  <wim@fluendo.com>
762
763         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
764
765         * gst/gstquery.c: (gst_query_new_segment):
766         * tests/check/gst/gstquery.c: (GST_START_TEST):
767         Initialize variables when creating a new segment query.
768         Fixes #353121.
769
770 2006-08-28  Wim Taymans  <wim@fluendo.com>
771
772         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
773
774         * gst/gstelement.c: (gst_element_get_bus):
775         * tests/check/gst/gstelement.c: (GST_START_TEST):
776         Check for NULL before _reffing the bus. Fixes #353122.
777
778 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
779
780         * docs/manual/basics-bus.xml:
781           Docs update: fix wrong callback return value explanation; add
782           some lines about the implicit relationship between main loop
783           and main context; remove duplicate main loop variable declaration.
784
785 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
786
787         * tests/check/gst/gstcaps.c: (GST_START_TEST):
788           Don't leak caps in unit test; add a few more simple
789           checks. 
790
791 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
792
793         * docs/gst/gstreamer-sections.txt:
794         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
795         (gst_caps_structure_is_subset), (gst_caps_merge),
796         (gst_caps_merge_structure):
797         * gst/gstcaps.h:
798         * libs/gst/base/gstbasetransform.c:
799         (gst_base_transform_transform_caps):
800         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
801           implement caps merging (fixes #352580)
802
803 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
804
805         * tools/Makefile.am:
806         * tools/gst-plot-timeline.py:
807           add debug-log plotting developer tool (#340674)
808
809 2006-08-23  Wim Taymans  <wim@fluendo.com>
810
811         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
812         (gst_pad_stop_task):
813         Improve debugging for task functions.
814
815         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
816         (gst_task_start), (gst_task_pause), (gst_task_join):
817         Make sure that the task function started and finished after a 
818         join(). 
819         Don't try to push the task function on the threadpool multiple
820         times.
821         Improve the g_warning message with some useful suggestions
822         about how to fix the problem. 
823
824 2006-08-23  Wim Taymans  <wim@fluendo.com>
825
826         * gst/gstutils.c: (gst_pad_proxy_getcaps):
827         Handle RESYNC correctly in _proxy_getcaps.
828
829 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
830
831         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
832         (gst_xml_parse_memory), (gst_xml_get_element):
833           Chain up to parent class in dispose function and also
834           unref the elements in the toplevel_elements GList.
835           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
836           Always return a reference in gst_xml_get_element() rather
837           than only sometimes.
838
839         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
840           Don't leak GstXml object.
841
842 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
843
844         * docs/gst/gstreamer-sections.txt:
845         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
846         (gst_caps_merge):
847         * gst/gstcaps.h:
848         * libs/gst/base/gstbasetransform.c:
849         (gst_base_transform_transform_caps):
850           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
851           in a better way
852
853 2006-08-21  Edward Hervey  <edward@fluendo.com>
854
855         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
856         Implement GObject::dispose virtual method in GstXML so we can free the
857         top_elements GList.
858
859 2006-08-21  Wim Taymans  <wim@fluendo.com>
860
861         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
862         (gst_buffer_create_sub):
863         Copy duration/offset_end/caps when creating a subbuffer of the
864         complete parent.
865         Make the subbuffer read-only when we make the metadata writable for
866         now. Fixes #351768.
867
868         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
869         Added check for metadata copy when creating subbuffers.
870
871 2006-08-21  Edward Hervey  <edward@fluendo.com>
872
873         * libs/gst/base/gstbasetransform.c:
874         (gst_base_transform_buffer_alloc):
875         Only call downstream buffer_alloc if transform element is passthrough
876         or always_in_place. Closes #350449.
877
878 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
879
880         * ChangeLog:
881           ChangeLog surgery to add comments to previous changes
882
883 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
884
885         * gst/gst.c:
886           Add comments
887
888         * gst/gstpad.c: (gst_pad_set_active):
889           Be more verbose in the log
890
891         * libs/gst/base/gstbasetransform.c:
892         (gst_base_transform_transform_caps):
893           Simplify caps to get rid of duplicates, fixes #345444
894
895 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
896
897         * gst/gstvalue.c:
898         * gst/gstvalue.h:
899           Use these optimizations only internally.
900
901 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
902
903         * gst/gstvalue.c: (gst_value_compare_list),
904         (gst_value_compare_fraction_range),
905         (gst_value_intersect_fraction_fraction_range),
906         (gst_value_intersect_fraction_range_fraction_range),
907         (gst_value_subtract_fraction_fraction_range),
908         (gst_value_subtract_fraction_range_fraction_range),
909         (gst_value_get_compare_func), (gst_value_compare),
910         (gst_value_compare_with_func):
911         * gst/gstvalue.h:
912           Saves the expensive lookup of the compare function in many cases
913          (#345444)
914
915 2006-08-18  Edward Hervey  <edward@fluendo.com>
916
917         * tests/check/gst/gstinfo.c: (gst_info_suite):
918         Disable test that require gstdebug if it wasn't built in core.
919
920 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
921
922         * docs/random/ensonic/logging.txt:
923           update ideas
924           
925         * gst/gstinfo.c: (gst_debug_log_default):
926           reorder fields, save some columns, add optional color codes for log
927           levels
928
929 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
930
931         * docs/random/ensonic/logging.txt:
932           add ideas about making the logs a bit more useful
933
934 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
935
936         * docs/pwg/advanced-events.xml:
937         * docs/pwg/titlepage.xml:
938           Update for 0.10 API (#340627). Add myself
939           to authors list.
940
941 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * docs/libs/gstreamer-libs-docs.sgml:
944         * docs/libs/gstreamer-libs-sections.txt:
945         * libs/gst/check/gstbufferstraw.c:
946           Make gstcheck stuff show up in docs (still needs to
947           be documented properly though).
948
949 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
950
951         * docs/gst/gstreamer-sections.txt:
952         * gst/Makefile.am:
953         * gst/gst.c: (init_post):
954         * gst/gst_private.h:
955         * gst/gstquark.c: (_priv_gst_quarks_initialize):
956         * gst/gstquark.h:
957         * gst/gstquery.c: (gst_query_new_position),
958         (gst_query_set_position), (gst_query_parse_position),
959         (gst_query_new_duration), (gst_query_set_duration),
960         (gst_query_parse_duration), (gst_query_new_convert),
961         (gst_query_set_convert), (gst_query_parse_convert),
962         (gst_query_new_segment), (gst_query_set_segment),
963         (gst_query_parse_segment), (gst_query_new_seeking),
964         (gst_query_set_seeking), (gst_query_parse_seeking):
965         Add internal helpers for pre-registering quarks from static strings
966         and using the quark values directly instead of looking them up when
967         creating and parsing queries. Can be used for event construction too.
968         Closes #350432.
969
970 2006-08-16  Wim Taymans  <wim@fluendo.com>
971
972         * gst/gstbin.c:
973         Fix bogus docs.
974
975 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
976
977         * gst/gstutils.c: (gst_util_set_value_from_string):
978           Fix memleak (#351502).
979
980         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
981           Add unit test for most of gst_util_set_value_from_string()
982           (not that one would want to encourage use of this function).
983
984 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
985
986         * libs/gst/check/gstcheck.h:
987           Use const gchar * variables in fail_unless_equals_string
988           macro to avoid compiler warnings (and don't use tabs for
989           indenting).
990
991 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
992
993         * tools/gst-launch.c: (print_tag):
994           More space on the left for the tag names, to cater
995           for the 'extended comment' tag (not touching the
996           string for the first line since it's translated).
997
998 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
999
1000         * libs/gst/check/gstcheck.h:
1001           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1002           print something when they fail.
1003
1004 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1005
1006         * docs/gst/gstreamer-sections.txt:
1007         * gst/gsttaglist.c: (_gst_tag_initialize):
1008         * gst/gsttaglist.h:
1009           API: add GST_TAG_EXTENDED_COMMENT (#350935).
1010           Also change merge function for GST_TAG_COMMENT to
1011           use_first.
1012
1013 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1014
1015         * gst/gstinfo.c: (gst_debug_print_object):
1016           Make GST_PTR_FORMAT print messages as well.
1017
1018         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1019         (GST_START_TEST), (gst_info_suite):
1020           More tests.
1021
1022 2006-08-14  Edward Hervey  <edward@fluendo.com>
1023
1024         * gst/gstelementfactory.c: (gst_element_register):
1025         If the GstElementClass doesn't have a GstElementDetails with all fields
1026         filled up correctly (longname, description AND author), then error out
1027         nicely instead of crashing.
1028
1029 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
1030
1031         * gst/gststructure.c:
1032           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1033
1034         * gst/gstvalue.h:
1035           Expand on the difference between arrays and lists as we use them.
1036           
1037 2006-08-14  Wim Taymans  <wim@fluendo.com>
1038
1039         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1040         If the parent state change function failed, don't assume we can safely
1041         stop the source, this will be done when the pads are deactivated.
1042
1043 2006-08-14  Wim Taymans  <wim@fluendo.com>
1044
1045         * gst/gstbuffer.c:
1046         * gst/gsttask.c: (gst_task_join):
1047         Small doc updates.
1048
1049         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1050         (gst_pad_stop_task):
1051         When pad (de)activation failed for some reason, restore the old
1052         activation mode and set the pad to flushing instead of assuming the
1053         pad is deactivated.
1054         If the _task_join() failed, reinstall the task on the pad so that it can
1055         be stopped later and return an error.
1056
1057 2006-08-11  Andy Wingo  <wingo@pobox.com>
1058
1059         * configure.ac:
1060         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1061         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1062         is only for users of API that don't want to see deprecated
1063         functions in the headers; people that want to compile out
1064         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1065         CFLAGS. Fixes the build of multifdsink, or will soon..
1066
1067 2006-08-11  Wim Taymans  <wim@fluendo.com>
1068
1069         * docs/gst/gstreamer-sections.txt:
1070         Add GstClockClass vmethod docs.
1071
1072         * gst/gstcaps.h:
1073         Mark #endif with comment for associated #if
1074
1075         * gst/gstclock.c: (gst_clock_id_wait):
1076         * gst/gstclock.h:
1077         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1078         most clock implementations.
1079         Document vmethods.
1080         Flesh out docs about resolution methods.
1081         API: GstClockClass::wait_jitter
1082
1083         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1084         (gst_system_clock_async_thread),
1085         (gst_system_clock_id_wait_jitter_unlocked),
1086         (gst_system_clock_id_wait_jitter):
1087         Use base class wait_jitter variant for improved performance
1088         due to less clock polling.
1089
1090 2006-08-11  Edward Hervey  <edward@fluendo.com>
1091
1092         * gst/gst.c: (gst_init_check), (init_post):
1093         Set gst as being initialized before scanning/updating the registry,
1094         since there might be my python plugin loader that calls gst_init() and
1095         we don't want to loop back in.
1096         Closes #350879
1097
1098 2006-08-11  Wim Taymans  <wim@fluendo.com>
1099
1100         * docs/design/part-qos.txt:
1101         Bring docs in line with the code. Mostly the sign of the jitter was
1102         wrong in the docs. Fixes #349943.
1103
1104         * gst/gstclock.c:
1105         Fix the docs for the jitter.
1106
1107         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1108         (gst_event_parse_tag), (gst_event_new_buffer_size),
1109         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1110         (gst_event_new_seek), (gst_event_parse_seek),
1111         (gst_event_new_navigation):
1112         Make sure the GstStructure has no parent when creating custom
1113         events.
1114         Add some more argument checking so that we avoid 0.0 rates.
1115         Flesh out the docs for the QoS event some more.
1116
1117 2006-08-11  Wim Taymans  <wim@fluendo.com>
1118
1119         * docs/gst/gstreamer-sections.txt:
1120         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1121         (ensure_current_registry_forking), (ensure_current_registry),
1122         (parse_one_option), (parse_goption_arg), (gst_deinit),
1123         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1124         * gst/gst.h:
1125         Doc updates.
1126         Added API and command line option to disable registry forking in
1127         addition to the environment variable.
1128         Constify some static arrays.
1129         Added some more debug.
1130         Don't deinit twice.
1131         API: gst_registry_fork_is_enabled()
1132         API: gst_registry_fork_set_enabled()
1133         API: --gst-disable-registry-fork command line option
1134         Fixes #348918.
1135
1136 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         * gst/gst.c: (gst_init):
1139           Fix typo in error message.
1140
1141 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1142
1143         * libs/gst/controller/gstcontroller.h:
1144           fix ABI size-correction
1145
1146         * tests/check/libs/gdp.c: (gst_dp_suite):
1147           make tests that use deprecated API conditional
1148
1149 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1150
1151         * docs/libs/gstreamer-libs-sections.txt:
1152         * libs/gst/controller/gstcontroller.c:
1153         (_gst_controller_get_property), (_gst_controller_set_property),
1154         (_gst_controller_init), (_gst_controller_class_init):
1155         * libs/gst/controller/gstcontroller.h:
1156         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1157         (gst_object_set_control_rate):
1158           API: add gst_object_{s,g}et_control_rate(), add private data section,
1159           fix docs
1160
1161         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1162         * libs/gst/dataprotocol/dataprotocol.h:
1163           add deprecation guards to make gtk-doc happy and allow disabling cruft
1164
1165 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1166
1167         * tests/check/Makefile.am:
1168         * tests/check/gst/.cvsignore:
1169           Let's enable the new unit test as well.
1170
1171 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1172
1173         * configure.ac:
1174         * docs/gst/gstreamer-sections.txt:
1175         * gst/gstconfig.h.in:
1176         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1177         (_gst_info_printf_extension_ptr),
1178         (_gst_info_printf_extension_segment):
1179           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1180           register that lets us easily dump GstSegments into debug
1181           logs (#350419).
1182
1183         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1184         (info_segment_format_printf_extension), (gst_info_suite):
1185           Add simple unit test that logs a bunch of different segments (not
1186           valgrinded at the moment because of leaks in
1187           gst_debug_add_log_function).
1188
1189 2006-08-09  Edward Hervey  <edward@fluendo.com>
1190
1191         * libs/gst/base/gstbasetransform.c:
1192         (gst_base_transform_buffer_alloc):
1193         Even if we can't figure out the proper format to request downstream,
1194         call buffer_alloc() downstream with the input parameters without setting
1195         the caps on the srcpad. This will force negotiation in the chain
1196         function.
1197         Closes #350449
1198
1199 2006-08-08  Edward Hervey  <edward@fluendo.com>
1200
1201         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1202         Unlinking from a pad without a target is now a perfectly valid case
1203         which should NOT raise an assertion.
1204         This case would happen if a linked ghostpad its target set to NULL after
1205         it was previously linked.
1206
1207 2006-08-08  Edward Hervey  <edward@fluendo.com>
1208
1209         * tests/check/libs/gdp.c:
1210         Also comment out the test (see below).
1211
1212 2006-08-08  Edward Hervey  <edward@fluendo.com>
1213
1214         * tests/check/libs/gdp.c: (gst_dp_suite):
1215         Use the architecture information from config.h and not gcc macros
1216         in order to properly disable a test that fails on PPC64.
1217
1218 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1219
1220         * gst/gstelement.c: (gst_element_remove_pad):
1221           Don't crash printing the warning if the pad has no parent.
1222
1223 2006-08-02  Wim Taymans  <wim@fluendo.com>
1224
1225         * libs/gst/dataprotocol/dataprotocol.c:
1226         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1227         (gst_dp_crc), (gst_dp_header_payload_length),
1228         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1229         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1230         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1231         (gst_dp_event_from_packet), (gst_dp_validate_header),
1232         (gst_dp_validate_payload):
1233         Make debug category static
1234         Constify the crc table.
1235         Do some more arg checking in public functions.
1236         Fix some docs and do some small cleanups.
1237
1238         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1239         Add some more checks to see if GDP deals with bogus input.
1240
1241 2006-07-31  Wim Taymans  <wim@fluendo.com>
1242
1243         * gst/gstvalue.c: (gst_value_compare_list):
1244         Fix GstValueList comparison code. Fixes #347293.
1245
1246         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1247         Check to test GstValueList comparison.
1248
1249 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1250
1251         * gst/gstelementfactory.c: (gst_element_factory_create):
1252         Remove unnecessary ref/unref pair
1253
1254         * gst/parse/grammar.y:
1255         Make sure to free the parse buffer on all code paths.
1256         Move a g_free up to the error handler where it's easier to see.
1257
1258         * tests/check/gst/gstevent.c: (test_event):
1259         Extending timeout for downstream travelling events to 10 seconds to
1260         hopefully avoid intermittent failure on the buildbots.
1261
1262         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1263         Don't manually set the state of the src element - it will happen as a
1264         natural consequence of the pipeline changing state, and that way it
1265         will do it in the right order too.
1266
1267 2006-07-31  Wim Taymans  <wim@fluendo.com>
1268
1269         * libs/gst/base/gstbasetransform.c:
1270         (gst_base_transform_buffer_alloc):
1271         Use OBJECT_LOCK and refcounting to get the pad caps in the
1272         buffer_alloc function because the caps could change while we are
1273         busy with them. Fixes #349105
1274
1275 2006-07-31  Wim Taymans  <wim@fluendo.com>
1276
1277         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1278         Protect _PAD_CAPS with OBJECT_LOCK.
1279
1280 2006-07-31  Wim Taymans  <wim@fluendo.com>
1281
1282         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1283         (gst_pad_get_property), (gst_pad_activate_pull),
1284         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1285         (gst_pad_set_activate_function),
1286         (gst_pad_set_activatepull_function),
1287         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1288         (gst_pad_set_getrange_function),
1289         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1290         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1291         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1292         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1293         (gst_pad_set_acceptcaps_function),
1294         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1295         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1296         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1297         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1298         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1299         (gst_pad_configure_sink), (gst_pad_configure_src),
1300         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1301         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1302         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1303         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1304         (gst_pad_send_event):
1305         Use _DEBUG_OBJECT when it makes sense.
1306         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1307         Small cleanups and code reflows.
1308         Avoid caps refcounting in _accept_caps.
1309         Refactor alloc_buffer so that the code performed on the peer is in a
1310         separate function. Also if the pad does not implement a buffer alloc
1311         function, we should still check if the pad is flushing before falling
1312         back to the default allocator.
1313
1314 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1315
1316         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1317         Make all uses of identity and fakesink have silent=true to avoid
1318         serialising every passing data structure, which is breaking tests
1319         on FC4 for some unknown reason.
1320
1321 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1322
1323         * gst/parse/Makefile.am:
1324         * gst/parse/grammar.y:
1325         * gst/parse/parse.l:
1326           Reverted previous patch as it required to bump the flex dependency to
1327           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1328
1329 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1330
1331         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1332
1333         * gst/parse/Makefile.am:
1334         * gst/parse/grammar.y:
1335         * gst/parse/parse.l:
1336           push & pop the state of the lexer for reentrant use case
1337           Fixes #349180
1338
1339 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1340
1341         * libs/gst/base/gstbasesrc.h:
1342           Note in the docs that the ::newsegment vfunc is not actually used by
1343           GstBaseSrc.
1344
1345 2006-07-28  Wim Taymans  <wim@fluendo.com>
1346
1347         * libs/gst/base/gstcollectpads.c:
1348         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1349         (gst_collect_pads_clear), (gst_collect_pads_flush),
1350         (gst_collect_pads_event), (gst_collect_pads_chain):
1351         When flushing a pad, also clear the queued buffer so that we don't
1352         accidentally use it when we shouldn't.
1353         Fix leaks by inreffing incomming buffer.
1354         Flush out queued buffers in case of errors.
1355         Fixes #347452.
1356
1357 2006-07-28  Wim Taymans  <wim@fluendo.com>
1358
1359         * docs/random/phonon-gst:
1360         Random notes about a Phonon backend.
1361
1362 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1363
1364         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1365         Extra debug output
1366         * tests/check/libs/gdp.c: (gst_dp_suite):
1367         Take a whack at fixing the ppc compile using a different define to
1368         disable the broken test.
1369
1370         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1371         Remove excess g_print()
1372
1373 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1374
1375         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1376         Oops, meant to uncomment this line too to dampen the noise a bit.
1377
1378 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1379
1380         * gst/parse/grammar.y:
1381         * gst/parse/parse.l:
1382         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1383         (GST_START_TEST), (parse_suite):
1384         Fix some of the leaks exposed by extending the parse-launch testsuite,
1385         and move the 3 I can't figure out into a separate test that won't run
1386         the pipelines unless the appropriate line is uncommented.
1387
1388 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1389
1390         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1391           Requesting 0 bytes before the end of the file should result in
1392           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1393           unit test.
1394
1395 2006-07-27  Wim Taymans  <wim@fluendo.com>
1396
1397         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1398         Fix useless assert, a uint is always positive.
1399
1400         * gst/gststructure.c: (gst_structure_nth_field_name),
1401         (gst_structure_foreach), (gst_structure_map_in_place):
1402         Check input arguments for public functions to avoid obvious crashes.
1403
1404         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1405         * plugins/elements/gstfakesink.h:
1406         Do less useless typechecking.
1407
1408 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1409
1410         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1411           Do not use mmap() by default since there are a number of error
1412           conditions that we would like to handle in a non-fatal way that
1413           will result in a SIGBUS if we use mmap(). Examples: external
1414           devices (USB harddrive, portable music player) being unplugged
1415           while in use; file on mounted CD/DVD that can't be read because
1416           the medium is partly damaged. Fixes #348455 and #348475.
1417
1418 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1419
1420         * gst/gstquery.h:
1421         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1422         rates are a gdouble
1423
1424 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1425
1426         * gst/gstregistry.c:
1427           Move big documentation comment into class section header, so that it
1428           appears in the API docs.
1429
1430 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1431
1432         * docs/gst/gstreamer-sections.txt:
1433         Oops. Commit the docs additions too for new API.
1434         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1435
1436 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1437
1438         * gst/gststructure.c: (gst_structure_id_set),
1439         (gst_structure_id_set_valist):
1440         * gst/gststructure.h:
1441         Add API for setting values into structures without performing
1442         a quark lookup, if the appropriate quark is already known.
1443
1444         API: gst_structure_id_set
1445         API: gst_structure_id_set_valist
1446
1447         * gst/parse/grammar.y:
1448         * gst/parse/parse.l:
1449         Remove some dead code shown by the coverage information.
1450         Don't throw a critical g_warning when encountering a syntax error,
1451         just warn and let the normal error path handle it.
1452
1453         * plugins/elements/gstelements.c:
1454         Bump the rank of filesink up to PRIMARY so that it is preferred over
1455         gnomevfssink for file:// sink uri's
1456
1457         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1458         (GST_START_TEST), (run_delayed_test),
1459         (gst_parse_test_element_base_init),
1460         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1461         (gst_parse_test_element_change_state),
1462         (gst_register_parse_element), (parse_suite):
1463         Beef up the tests for parse syntax to check that more error cases
1464         fail as they are supposed to. Increases the test coverage a bit.
1465
1466 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1467
1468         * docs/manual/basics-elements.xml:
1469           Fix gst_element_link() example.
1470
1471         * gst/gstutils.c:
1472           Mention in API docs that one should usually gst_bin_add()
1473           elements to a bin or pipeline before doing the linking.
1474           
1475 2006-07-26  Wim Taymans  <wim@fluendo.com>
1476
1477         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1478         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1479         Avoid function call for known types by keeping the buffer and
1480         subbuffer GType global.
1481
1482         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1483         Random silly optimisations in read() path.
1484
1485 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1486
1487         * tools/gst-launch.c: (main):
1488           If the top-level of the parse is a normal bin, it doesn't do the
1489           right logic to run as a top-level element, so place it inside a
1490           pipeline.
1491
1492 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1493
1494         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1495           Remove superfluous g_object_notify() calls, GObject does
1496           that for us automatically.
1497
1498 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1499
1500         * gst/gstinfo.h:
1501           on Win32, use dllspec to export the debug category symbols
1502
1503 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1504
1505         * gst/gsttaglist.c: (_gst_tag_initialize):
1506           Allow more than one GST_TAG_IMAGE per taglist.
1507
1508 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1509
1510         * gst/gstminiobject.c:
1511           update docs
1512         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1513         (gst_fd_src_create):
1514           log recurring events at LOG level
1515           add more debug for when the fd gets set
1516
1517 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1518
1519         * gst/gstparse.c: (gst_parse_launch):
1520           Also remove reentrance checks if flex is MT safe (#348179)
1521          Fix my empty ChangeLog entry below
1522
1523 2006-07-21  Andy Wingo  <wingo@pobox.com>
1524
1525         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1526
1527         * libs/gst/check/Makefile.am
1528         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1529         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1530         * libs/gst/check/gstbufferstraw.h:
1531         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1532         functions, thus proving I am still a GStreamer haxor. OK I wrote
1533         them a long time ago, but anyways.
1534
1535 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * configure.ac:
1538         * gst/gstparse.c: (gst_parse_launch):
1539           Check for flex version and omit mutex if we have a MT save flex
1540           (fixes #348179)
1541
1542 2006-07-21  Wim Taymans  <wim@fluendo.com>
1543
1544         * gst/gstparse.c: (gst_parse_launch):
1545         Protect recursive calls to _parse with a recursive mutex
1546         and busy flag.
1547
1548 2006-07-21  Wim Taymans  <wim@fluendo.com>
1549
1550         * tests/check/gst/gstpad.c: (GST_START_TEST):
1551         Fix leak in test.
1552
1553 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1554
1555         * gst/gstparse.c: (gst_parse_launch):
1556           Do not hang on recursive usage of gst_parse_launch()
1557
1558 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1559
1560         * gst/gsttaglist.c:
1561           Add some more docs, comments and FIXME 0.11s here and there
1562           and also fix some typos.
1563
1564 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1565
1566         * gst/gstsegment.h:
1567           Convert tabs to spaces for better readability. 
1568
1569 2006-07-20  Edward Hervey  <edward@fluendo.com>
1570
1571         * tests/check/libs/gdp.c: (gst_dp_suite):
1572         the test_buffer test fails at line 140 on ppc64 at the following
1573         check:
1574         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1575                 GST_BUFFER_FLAG_IN_CAPS),
1576                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1577         See bug #348114 for more details.
1578
1579 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1580
1581         * docs/pwg/advanced-scheduling.xml:
1582         * gst/gstpad.c:
1583           Fix typos (#348000).
1584
1585 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1586
1587         * docs/pwg/intro-basics.xml:
1588           Fix wrong links (#347927).
1589
1590 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1591
1592         * gst/gstregistry.h:
1593         * gst/gstregistryxml.c: (load_feature),
1594         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1595         * win32/common/config.h:
1596           make --disable-index work (#342564)
1597
1598 2006-07-18  Wim Taymans  <wim@fluendo.com>
1599
1600         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1601
1602         * gst/Makefile.am:
1603         * gst/gsttrace.h:
1604         The attached patch adds two missing defines to gsttrace.h when tracing
1605         is disabled.  It also corrects one existing define.
1606         Fixes #347756.
1607
1608 2006-07-17  Wim Taymans  <wim@fluendo.com>
1609
1610         * docs/gst/gstreamer-sections.txt:
1611         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1612         * gst/gst.h:
1613         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1614         Add two functions to check and change the SIGSEGV behaviour
1615         when loading plugins.
1616         Don't mess with the SIGSEGV handler when we were told not to.
1617         Fixes #347794.
1618         API: gst_segtrap_is_enabled
1619         API: gst_segtrap_set_enabled
1620
1621 2006-07-14  Wim Taymans  <wim@fluendo.com>
1622
1623         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1624         * tests/check/elements/filesrc.c: (GST_START_TEST):
1625         Revert fix for regression in #347408 after release.
1626
1627 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1628
1629         Patch by: Antoine Tremblay <hexa00 at gmail com>
1630
1631         * gst/gstutils.c: (gst_element_unlink):
1632           Free iterator when done (#347311).
1633
1634         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1635           And add a test case for this.
1636
1637 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1638
1639         * configure.ac:
1640         Bump nano back to CVS
1641
1642 === release 0.10.9 ===
1643
1644 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1645
1646         * configure.ac:
1647           releasing 0.10.9, "On the road again"
1648
1649 2006-07-13  Wim Taymans  <wim@fluendo.com>
1650
1651         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1652         * tests/check/elements/filesrc.c: (GST_START_TEST):
1653         Revert pull-0 fix for release. Disable check. Fixes #347408.
1654
1655 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1656
1657         * libs/gst/dataprotocol/dataprotocol.c:
1658         (gst_dp_event_from_packet_1_0):
1659           Fixes #347337: failure to deserialize event packets with
1660           empty payload (only event type)
1661
1662 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1663
1664         * gst/Makefile.am:
1665           do not install a .c file in the header directory
1666
1667 2006-07-13  Edward Hervey  <edward@fluendo.com>
1668
1669         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1670         GhostPad no longer implicitely use the padtemplates of the targets.
1671         Fixes #347384
1672
1673 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1674
1675         * gst/gstvalue.c: (gst_value_compare_list),
1676         (gst_value_compare_array), (_gst_value_initialize):
1677         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1678         Make GstValueArray comparison be order dependent as designed.
1679         Add checks for value lists and value array comparisons.
1680         Fixes #347221
1681
1682 2006-07-11  Edward Hervey  <edward@fluendo.com>
1683
1684         * gst/gstbin.c: (activate_pads),
1685         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1686         (gst_bin_change_state_func):
1687         (de)activate src pads before calling state_change on the childs.
1688         This is to avoid the case where a src ghostpad is blocked (holding the
1689         stream lock), which would block the deactivation of the ghostpad's
1690         target pad.
1691         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1692         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1693         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1694         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1695         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1696         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1697         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1698         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1699         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1700         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1701         (gst_ghost_pad_class_init),
1702         (gst_ghost_pad_internal_do_activate_push),
1703         (gst_ghost_pad_internal_do_activate_pull),
1704         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1705         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1706         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1707         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1708         GhostPads now create their internal GstProxyPad at creation (and not
1709         when they're linked, as it was being done previously).
1710         The internal and target pads are linked straight away.
1711         The data will also travel through the other pad in order to make
1712         pad blocking and probes non-hackish (the probe/block now really happens
1713         on the GhostPad and not on the target).
1714         * gst/gstpad.c: (gst_pad_set_blocked_async),
1715         (gst_pad_link_prepare), (gst_pad_push_event):
1716         Remove previous ghostpad cruft.
1717         * gst/gstutils.c: (gst_pad_add_data_probe),
1718         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1719         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1720         (gst_pad_remove_buffer_probe):
1721         Remove previous ghost pad cruft.
1722         Added more detailed debug statements.
1723         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1724         Fix the testsuite for refcounting changes.
1725         The comments about who has references were correct, but the refcount
1726         being checked wasn't the same (!?!).
1727
1728         Fixes #341029
1729
1730 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1731
1732         * docs/gst/gstreamer-sections.txt:
1733         * gst/gstconfig.h.in:
1734         More docs for configuration options, add docs to gtk-doc.
1735
1736 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1737
1738         * gst/Makefile.am:
1739         * gst/gstconfig.h.in:
1740         * win32/common/config.h:
1741         Fix build when disabling tracing (fixes #344016). Also start to document
1742         the defines that disable the sub-systems.
1743
1744 2006-07-10  Edward Hervey  <edward@fluendo.com>
1745
1746         * gst/gst.c: (ensure_current_registry_forking):
1747         let's make valgrind happy...
1748
1749 2006-07-09  Wim Taymans  <wim@fluendo.com>
1750
1751         * gst/gstelement.c: (activate_pads),
1752         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1753         Better pad activation code: Reset the collect value too on resync.
1754         Add some comments.
1755
1756 2006-07-09  Wim Taymans  <wim@fluendo.com>
1757
1758         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1759         (gst_pad_activate_push):
1760         Use some more macros where it makes sense.
1761         Allow pad mode switching instead of asserting. When a pad
1762         is activated in one mode and we activate it in another, 
1763         deactivate it first before activating it in a different mode.
1764         Fixes #329198.
1765
1766 2006-07-08  Andy Wingo  <wingo@pobox.com>
1767
1768         * tools/gst-launch.c (main): Handle err == NULL.
1769
1770         * gst/gst.c (init_post, ensure_current_registry)
1771         (ensure_current_registry_forking)
1772         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1773         factoring out the registry scanning into separate functions. Don't
1774         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1775         Better environment var name/interface suggestions accepted.
1776
1777 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1778
1779         * gst/gstobject.c: (gst_object_set_name_default),
1780         (gst_object_set_name):
1781           Random micro-optimisation: don't use a hash table
1782           with strings as keys and the usual strdup/strcmp
1783           involved, but rather just use the GQuark of the
1784           type name as key, since it needs to be looked up
1785           anyway to get the type name string.
1786
1787         * tests/check/gst/gstobject.c: (GST_START_TEST):
1788           Fix various leaks.
1789
1790 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1791
1792         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1793         (gst_bin_iterate_all_by_interface):
1794           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1795           GTypes are gulongs and thus the top 4 bytes might be cut
1796           off on some platforms when doing GPOINTER_TO_INT, leading
1797           to invalid GTypes and bad things happening (see RH bug #179654).
1798           Also add a check to make sure the type passed in is really
1799           an interface type.
1800
1801 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1802
1803         * .cvsignore:
1804           Ignore more.
1805
1806 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1807
1808         * Makefile.am:
1809         * configure.ac:
1810         * gst-element-check.m4:
1811         * gst-element-check.m4.in:
1812           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1813           instead of the unversioned gst-inspect (#324176, #168659).
1814
1815 2006-07-06  Wim Taymans  <wim@fluendo.com>
1816
1817         * gst/gstmessage.h:
1818         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1819         warnings.
1820
1821 2006-07-06  Wim Taymans  <wim@fluendo.com>
1822
1823         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1824         (gst_base_src_wait), (gst_base_src_update_length),
1825         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1826         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1827         (gst_base_src_loop), (gst_base_src_start),
1828         (gst_base_src_activate_pull):
1829         Update docs.
1830         blocksize == 0 now means the default blocksize when working in push
1831         based mode.
1832         Remove some pointless asserts in _wait function.
1833         Fix offset/length calculations and EOS handling. We can now pull 0
1834         bytes as well, which is allowed.
1835         use _check_get_range() to decide if we can operate in _pull based
1836         mode.
1837         Fix refcounting leak when check_get_range function was not 
1838         implemented.
1839         API GstBaseSrc::blocksize range can be 0 too now (default)
1840
1841         * tests/check/elements/filesrc.c: (GST_START_TEST),
1842         (filesrc_suite):
1843         Added check to test _get_range() behaviour.
1844
1845 2006-07-06  Wim Taymans  <wim@fluendo.com>
1846
1847         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1848         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1849         (gst_pad_pull_range):
1850         * gst/gstpad.h:
1851         Lots of comments and docs added to the pad functions.
1852         Flesh out the expected behaviour of the get_range() functions.
1853
1854 2006-07-06  Wim Taymans  <wim@fluendo.com>
1855
1856         * gst/gstbus.h:
1857         * gst/gstclock.h:
1858         * gst/gstevent.h:
1859         * gst/gstiterator.h:
1860         * gst/gstpad.h:
1861         * gst/gstplugin.h:
1862         * gst/gsttask.h:
1863         Remove comma at end of enumerator list. 
1864
1865 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1866
1867         * win32/common/libgstbase.def:
1868         * win32/common/libgstdataprotocol.def:
1869         * win32/common/libsgtreamer.def:
1870         Add new exported functions.
1871
1872 2006-07-05  Wim Taymans  <wim@fluendo.com>
1873
1874         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1875         Add some more docs here and there.
1876
1877 2006-07-05  Wim Taymans  <wim@fluendo.com>
1878
1879         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1880         (gst_base_sink_loop), (gst_base_sink_get_position):
1881         When operating in pull mode update the offset so that we
1882         read sequentially.
1883
1884 2006-07-05  Wim Taymans  <wim@fluendo.com>
1885
1886         * gst/gstregistryxml.c: (read_string):
1887         Avoid strdup. (will happen in libxml, but hey!)
1888
1889         * gst/gsturi.c:
1890         Add some more docs.
1891
1892 2006-07-05  Wim Taymans  <wim@fluendo.com>
1893
1894         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1895         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1896         (gst_buffer_suite):
1897         No point in checking if the size of the subbuffer > 0, the
1898         code handles it correclty as demonstrated by unit test.
1899         Also add a unit test for the zero sized _new_and_alloc and
1900         _copy. Fixes #346663.
1901
1902 2006-07-05  Wim Taymans  <wim@fluendo.com>
1903
1904         * libs/gst/base/gstbasetransform.c:
1905         (gst_base_transform_prepare_output_buffer),
1906         (gst_base_transform_buffer_alloc),
1907         (gst_base_transform_handle_buffer):
1908         Make sure the buffer we pass to transform_ip has a refcount of
1909         1 and thus is writable. Fixes #343196
1910
1911 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1912
1913         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1914         (gst_file_src_init), (gst_file_src_set_property),
1915         (gst_file_src_get_property), (gst_file_src_map_region):
1916         * plugins/elements/gstfilesrc.h:
1917         Add "sequential" property, off by default, to use madvise and hint
1918         to the kernel that sequential access is desired.
1919         Touch all retrieved pages by default to ensure they are pulled
1920         into memory. (Closes #345720)
1921
1922 2006-07-03  Wim Taymans  <wim@fluendo.com>
1923
1924         * docs/design/part-block.txt:
1925         * docs/design/part-dynamic.txt:
1926         Small docs updates.
1927
1928 2006-07-03  Wim Taymans  <wim@fluendo.com>
1929
1930         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1931         (gst_caps_unref), (gst_static_caps_get),
1932         (gst_caps_append_structure):
1933         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1934         Use GSlice when the glib we build against is >= 2.10
1935
1936 2006-07-03  Wim Taymans  <wim@fluendo.com>
1937
1938         * gst/gstelement.c: (gst_element_pads_activate):
1939         Small cleanup in pad activation code.
1940
1941 2006-07-03  Wim Taymans  <wim@fluendo.com>
1942
1943         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1944
1945         * gst/gst-i18n-app.h:
1946         * gst/gst-i18n-lib.h:
1947         * tools/gst-inspect.c: (print_signal_info):
1948         The attached patch will make the inclusion of gettext.h unconditional in
1949         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1950         libintl.h in tools/gst-inspect.c.
1951         This allows use of --disable-nls again and fixes #344642.
1952
1953 2006-07-03  Edward Hervey  <edward@fluendo.com>
1954
1955         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1956         Implement pad blocking on events according to part-block.txt.
1957         More comments on behaviour.
1958         * tests/check/gst/gstevent.c: (test_event):
1959         Send event to peer pad of blocked pad (else it will block).
1960
1961 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1962
1963         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1964         (gst_check_run_suite):
1965           if we get the wrong message, give us the types as string
1966         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1967           Fix a translatable
1968         * tests/check/elements/filesrc.c: (GST_START_TEST):
1969           add a test for trying to open a non-existing file
1970
1971 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1972
1973         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1974           add a test for adding self
1975
1976 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1977
1978         * libs/gst/check/gstcheck.h:
1979           add some assert_ as alias for fail_unless_*
1980         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1981           increase test coverage
1982
1983 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1984
1985         * Makefile.am:
1986           include lcov.mak for lcov coverage generation
1987         * tools/Makefile.am:
1988           add to CLEANFILES
1989
1990 2006-07-02  Edward Hervey  <edward@fluendo.com>
1991
1992         * tests/check/elements/.cvsignore:
1993         moaping
1994
1995 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1996
1997         * configure.ac:
1998           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1999         * tests/check/Makefile.am:
2000           clean up gcov files
2001
2002 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2003
2004         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2005           remove gst_caps_simplify; it was not declared and not used
2006           and deprecated in 0.8
2007
2008 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2009
2010         * docs/faq/gst-uninstalled:
2011           don't put empty paths on PYTHONPATH
2012         * docs/gst/gstreamer-sections.txt:
2013           remove some symbols that are not there
2014
2015 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2016
2017         * gst/gstcaps.c: (gst_caps_compare_structures):
2018           whitespace fixes
2019         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2020         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2021           add more tests
2022
2023 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2024
2025         * libs/gst/dataprotocol/Makefile.am:
2026           build dataprotocol test by linking to the lib, instead of
2027           compiling the source, so we get coverage
2028         * tests/check/Makefile.am:
2029         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2030         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2031           add a test for filesrc
2032
2033 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2034
2035         * tests/check/gst/gststructure.c: (GST_START_TEST),
2036         (gst_structure_suite):
2037           Push coverage from 59.04% to 70.00%
2038
2039 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2040
2041         * tests/check/Makefile.am:
2042           gst-inspect every element; this makes sure that we also get
2043           coverage on element's get/set functions
2044
2045 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2046
2047         * configure.ac:
2048           set CFLAGS and friends to -O0 if gcov is being used
2049           add GCOV LIBS
2050         * gst/Makefile.am:
2051         * libs/gst/base/Makefile.am:
2052         * libs/gst/check/Makefile.am:
2053         * libs/gst/controller/Makefile.am:
2054         * libs/gst/dataprotocol/Makefile.am:
2055         * libs/gst/net/Makefile.am:
2056         * plugins/elements/Makefile.am:
2057         * plugins/indexers/Makefile.am:
2058           add makefile rules to generate gcov data and clean up
2059         * tests/check/Makefile.am:
2060           add a coverage target that generates an html overview
2061           of coverage data
2062
2063 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2064
2065         * tests/check/elements/fakesink.c:
2066         * tests/check/elements/fakesrc.c:
2067         * tests/check/elements/fdsrc.c:
2068         * tests/check/elements/identity.c:
2069         * tests/check/generic/sinks.c: (gst_sinks_suite):
2070         * tests/check/generic/states.c:
2071         * tests/check/gst/gst.c:
2072         * tests/check/gst/gstabi.c:
2073         * tests/check/gst/gstbin.c:
2074         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2075         * tests/check/gst/gstbus.c: (gst_bus_suite):
2076         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2077         * tests/check/gst/gstelement.c:
2078         * tests/check/gst/gstevent.c: (gst_event_suite):
2079         * tests/check/gst/gstghostpad.c:
2080         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2081         * tests/check/gst/gstmessage.c: (gst_message_suite):
2082         * tests/check/gst/gstminiobject.c:
2083         * tests/check/gst/gstobject.c:
2084         * tests/check/gst/gstpad.c:
2085         * tests/check/gst/gstpipeline.c:
2086         * tests/check/gst/gstplugin.c:
2087         * tests/check/gst/gstquery.c: (gst_query_suite):
2088         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2089         * tests/check/gst/gststructure.c:
2090         * tests/check/gst/gstsystemclock.c:
2091         * tests/check/gst/gsttag.c:
2092         * tests/check/gst/gsttask.c: (gst_task_suite):
2093         * tests/check/gst/gstutils.c:
2094         * tests/check/gst/gstvalue.c:
2095         * tests/check/libs/adapter.c:
2096         * tests/check/libs/basesrc.c:
2097         * tests/check/libs/collectpads.c:
2098         * tests/check/libs/controller.c:
2099         * tests/check/libs/gdp.c: (gst_dp_suite):
2100         * tests/check/libs/gstnetclientclock.c:
2101         * tests/check/libs/gstnettimeprovider.c:
2102         * tests/check/libs/libsabi.c: (libsabi_suite):
2103         * tests/check/libs/typefindhelper.c:
2104         * tests/check/pipelines/cleanup.c:
2105         * tests/check/pipelines/parse-launch.c:
2106         * tests/check/pipelines/simple-launch-lines.c:
2107         * tests/check/pipelines/stress.c: (stress_suite):
2108           use the new macro
2109
2110 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2111
2112         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2113         * libs/gst/check/gstcheck.h:
2114           create a macro and function so that the simple unit test
2115           case can be just one macro to create main()
2116
2117 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2118
2119         * gst/gstbin.c: (gst_bin_restore_thyself):
2120         * gst/gstxml.c: (gst_xml_make_element):
2121           Fix deserialisation from XML. Set parent manually
2122           instead of using gst_bin_add(), since gst_bin_add()
2123           will unlink all pads of the element being added.
2124           Fixes #341667.
2125
2126 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2127
2128         Patch by: Peter Kjellerstedt <pkj at axis com>
2129
2130         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2131           Fix missing g_strdup() and double free when using the
2132           --gst-plugin-load command line option (#346097).
2133
2134 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2135
2136         * gst/gstinfo.c:
2137           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2138
2139         * libs/gst/net/gstnetclientclock.c:
2140         * libs/gst/net/gstnettimeprovider.c:
2141           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2142
2143 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * docs/manual/advanced-dataaccess.xml:
2146           Fix buffer probe example compilation in
2147           ADM (#345708).
2148         
2149 2006-06-22  Edward Hervey  <edward@fluendo.com>
2150
2151         * gst/gstelement.c: (gst_element_pads_activate):
2152         We need to deactivate src pads first and then sink pads.
2153         The reason is the src pads might be blocking while holding the streaming
2154         lock, so we need to deactivate them first so that deactivating the sink
2155         pads doesn't block (since it will require the streaming lock).
2156
2157 2006-06-22  Wim Taymans  <wim@fluendo.com>
2158
2159         * libs/gst/base/gstbasetransform.c:
2160         (gst_base_transform_buffer_alloc):
2161         Forgot to remove two unneeded unrefs.
2162         Simplify a check _is_equal allready checks the obvious case.
2163
2164 2006-06-22  Wim Taymans  <wim@fluendo.com>
2165
2166         * docs/design/part-block.txt:
2167         Some docs about what pad_block should do.
2168
2169 2006-06-22  Wim Taymans  <wim@fluendo.com>
2170
2171         * gst/gstcaps.c: (gst_caps_replace):
2172         Fix crasher when passed NULL. Doc clarification.
2173         Optimize for the trivial case.
2174
2175         * gst/gstpipeline.c: (gst_pipeline_change_state):
2176         Small cleanups.
2177
2178         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2179         Small documentation cleanup.
2180
2181         * libs/gst/base/gstbasetransform.c:
2182         (gst_base_transform_buffer_alloc):
2183         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2184         is what we need and it avoids a whole lot of redundant 
2185         refcount operations.
2186
2187 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2188
2189         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2190
2191         * docs/manual/advanced-dataaccess.xml:
2192           Fix 'Embedding static elements' section to use
2193           GST_PLUGIN_DEFINE_STATIC (#345607).
2194
2195 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2196
2197         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2198           Attempt to 'fix' spuriously failing test case: it seems like the
2199           timeout of half a second is simply too small when the system is under
2200           load otherwise, and the timeout doesn't really seem to serve any
2201           particular purpose here. Give the pipeline a few seconds to preroll
2202           first, and then give it another half a second to go from PAUSED to
2203           PLAYING and marshal the message into the main thread.
2204
2205 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2206
2207         * tools/gst-feedback-m.m:
2208           Don't only use unversioned tools, try versioned tools as well
2209           (#345086).
2210
2211 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2212
2213         * gst/gstbus.c: (gst_bus_class_init):
2214           Fix some typos, make docs more explicit.
2215
2216 2006-06-20  Wim Taymans  <wim@fluendo.com>
2217
2218         * tests/check/gst/gstghostpad.c: (block_callback),
2219         (GST_START_TEST), (gst_ghost_pad_suite):
2220         Added some more ghostpad tests, mainly blocking
2221         and probes.
2222
2223 2006-06-16  Wim Taymans  <wim@fluendo.com>
2224
2225         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2226         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2227         (gst_file_sink_event), (gst_file_sink_render):
2228         * plugins/elements/gstfilesink.h:
2229         Check if we can seek in the file instead of assuming
2230         we always can. Post an error when we are asked to seek in a
2231         non-seekable file (like a fifo). Fixes #343312.
2232         Some cleanups.
2233
2234 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2235
2236         * tools/gst-launch.1.in:
2237           Un-garble (fourcc) bit in filtered caps section.
2238
2239 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2240
2241         * docs/manual/advanced-autoplugging.xml:
2242         * docs/manual/basics-helloworld.xml:
2243         * docs/manual/highlevel-components.xml:
2244           Don't leak bus reference in sample code.
2245
2246 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2247
2248         * autogen.sh:
2249           Add default for new --enable-plugin-docs switch.
2250
2251         * configure.ac:
2252           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2253           Fixes #344039.
2254
2255         * docs/Makefile.am:
2256           Use new ENABLE_PLUGIN_DOCS conditional.
2257
2258 2006-06-14  Wim Taymans  <wim@fluendo.com>
2259
2260         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2261         Make it clear with a FIXME and a real define what the #if 0
2262         previously disabled.
2263
2264 2006-06-14  Wim Taymans  <wim@fluendo.com>
2265
2266         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2267         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2268         * libs/gst/base/gstbasetransform.c:
2269         (gst_base_transform_sink_eventfunc):
2270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2271         Don't randomly and silently reset a segment when the format 
2272         changes as this is a bug somewhere upstream. Fixes #330379.
2273
2274 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         Patch by: Wouter Paesen  <wouter at kangaroot net>
2277
2278         * libs/gst/controller/gstcontroller.c:
2279         (gst_controlled_property_new):
2280           Fix controlling of float properties (#344849).
2281
2282         * tests/check/libs/controller.c:
2283         (gst_test_mono_source_get_property),
2284         (gst_test_mono_source_set_property),
2285         (gst_test_mono_source_class_init), (GST_START_TEST):
2286           While we're at it, add some float stuff to unit test.
2287
2288 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2289
2290         * docs/README:
2291         * docs/images/gdp-header.svg:
2292           add a gdp image
2293         * docs/libs/Makefile.am:
2294         * docs/libs/gdp-header.png:
2295         * libs/gst/dataprotocol/dataprotocol.c:
2296           add it to the API docs
2297         * docs/manual/intro-motivation.xml:
2298           fix typo
2299
2300 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2301
2302         * gst/gst.c: (scan_and_update_registry), (init_post):
2303           If the fork()'ed child process can't write the updated registry cache
2304           file to disk for some reason, make it exit with a failure exit code,
2305           so that the parent can then re-scan the plugins itself and update the
2306           registry structures in memory and work with that (rather than failing
2307           when creating elements because seemingly no plugins are available).
2308           Refactor registry scanning code into separate function for this and
2309           also separate fork() and non-fork() code paths. Fixes #344748.
2310
2311 2006-06-13  Wim Taymans  <wim@fluendo.com>
2312
2313         * docs/manual/advanced-dataaccess.xml:
2314         Fix wrong PluginDesc. Fixes #344755.
2315
2316 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2317
2318         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2319           Fix silly bug that prevented us from creating
2320           ~/.gstreamer-0.10 and writing the registry in one
2321           go (the first call to g_mkstemp() would overwrite the
2322           placeholder in the template string, so the second call
2323           to g_mkstemp() after creating the missing directory
2324           would then error out with 'invalid argument').
2325
2326 2006-06-13  Edward Hervey  <edward@fluendo.com>
2327
2328         * gst/gst.c: (init_post):
2329         Free string.
2330
2331 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2332
2333         * gst/glib-compat-private.h:
2334         * gst/glib-compat.c:
2335         * gst/glib-compat.h:
2336         * gst/gstvalue.c: (gst_value_serialize_flags):
2337           remove GLib 2.6 compatibility code
2338
2339 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2340
2341         * gst/parse/Makefile.am:
2342           Fix build with 'make -j N' even more (#340016).
2343
2344 2006-06-12  Wim Taymans  <wim@fluendo.com>
2345
2346         * docs/gst/gstreamer-sections.txt:
2347         Fix docs.
2348
2349 2006-06-12  Wim Taymans  <wim@fluendo.com>
2350
2351         * gst/gstsegment.c: (gst_segment_set_duration),
2352         (gst_segment_set_last_stop), (gst_segment_set_seek),
2353         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2354         (gst_segment_to_running_time), (gst_segment_clip):
2355         Use G_UNLIKELY to help the compiler a bit.
2356
2357 2006-06-12  Wim Taymans  <wim@fluendo.com>
2358
2359         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2360
2361         * gst/gstevent.c: (gst_event_get_type):
2362         * gst/gstmessage.c:
2363         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2364         (gst_pad_push):
2365         constify quark registration strings. Fixes #344115
2366         Avoid unneeded type checking is _pad_push() by internally
2367         calling gst_pad_chain_unchecked().
2368
2369 2006-06-12  Wim Taymans  <wim@fluendo.com>
2370
2371         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2372         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2373         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2374         (gst_buffer_is_span_fast), (gst_buffer_span):
2375         Init _type for consistency.
2376         Use _FLAGS macro to avoid type check.
2377         Avoid unneeded type checks in subbufer code.
2378
2379 2006-06-12  Wim Taymans  <wim@fluendo.com>
2380
2381         * gst/gst.c: (gst_debug_help):
2382         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2383         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2384         (gst_plugin_feature_list_free):
2385         * gst/gstregistry.c: (gst_registry_add_plugin),
2386         (gst_registry_add_feature), (gst_registry_plugin_filter),
2387         (gst_registry_feature_filter), (gst_registry_find_plugin),
2388         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2389         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2390         * gst/gstregistryxml.c: (load_feature),
2391         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2392         * gst/gstminiobject.c: (gst_mini_object_unref),
2393         (gst_mini_object_replace), (gst_value_mini_object_free),
2394         (gst_value_mini_object_copy):
2395         Use _CAST macros to avoid unneeded type checking.
2396         Added some more G_UNLIKELY.
2397
2398 2006-06-12  Wim Taymans  <wim@fluendo.com>
2399
2400         * gst/gstbuffer.h:
2401         Avoid unneeded type checking.
2402         API: GST_BUFFER_IS_DISCONT
2403
2404         * gst/gstminiobject.h:
2405         Avoid type check in flag accessor.
2406
2407         * gst/gstelementfactory.h:
2408         * gst/gstplugin.h:
2409         * gst/gstpluginfeature.h:
2410         Add _CAST macros.
2411         API: GST_ELEMENT_FACTORY_CAST
2412         API: GST_PLUGIN_CAST
2413         API: GST_PLUGIN_FEATURE_CAST
2414
2415 2006-06-12  Wim Taymans  <wim@fluendo.com>
2416
2417         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2418         (gst_object_unref):
2419         Add G_UNLIKELY in type registration.
2420         Avoid type check in _ref/_unref since that is also
2421         done in glib.
2422
2423 2006-06-12  Wim Taymans  <wim@fluendo.com>
2424
2425         * gst/gsterror.c: (gst_g_error_get_type):
2426         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2427         (gst_static_pad_template_get_type):
2428         * gst/gsttaglist.c: (gst_tag_list_get_type):
2429         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2430         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2431         * gst/gsturi.c: (gst_uri_handler_get_type):
2432         * gst/gstvalue.c: (gst_date_get_type):
2433         * gst/gstxml.c: (gst_xml_get_type):
2434         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2435         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2436         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2437         Add G_UNLIKELY in type registration.
2438
2439 2006-06-12  Wim Taymans  <wim@fluendo.com>
2440
2441         * tools/gst-inspect.c: (print_signal_info):
2442         Properly print enum values.
2443
2444 2006-06-12  Wim Taymans  <wim@fluendo.com>
2445
2446         * gst/gstinfo.c: (gst_debug_set_active),
2447         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2448         * gst/gstinfo.h:
2449         Add some G_[UN]LIKELY.
2450         Maintain __gst_debug_min to avoid formatting the arguments of
2451         debug messages that will be dropped anyway to avoid a lot of 
2452         overhead from the debugging system.
2453
2454 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2455
2456         * po/POTFILES.in:
2457         * po/POTFILES.skip:
2458           add missing files containing translatable strings, tell intltool about
2459           one exception
2460
2461 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2462
2463         * tests/check/libs/.cvsignore:
2464         add test-binary to ignore list
2465
2466 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2467
2468         * docs/libs/gstreamer-libs-docs.sgml:
2469         reorder (put dp into a chapter) and indent
2470
2471 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2472
2473         * configure.ac:
2474           back to HEAD
2475
2476 === release 0.10.8 ===
2477
2478 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2479
2480         * configure.ac:
2481           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2482
2483 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2484
2485         * gst/gst.c: (init_post):
2486           move pid declaration to declaration block
2487
2488 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2489
2490         * gst/gst.c: (init_post):
2491           use _exit() instead of exit() in our forked child; this ensures
2492           that none of the registered exit handlers from whatever is using
2493           GStreamer get executed.  This fixes gnome-mixer-applet failing
2494           to load, because ORBit would shut down.
2495           Spotted by: Edward Hervey  <edward@fluendo.com>
2496           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2497           Fixes #344474
2498
2499 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2500
2501         * configure.ac:
2502           back to TRUNK
2503
2504 === release 0.10.7 ===
2505
2506 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2507
2508         * configure.ac:
2509           releasing 0.10.7, "Soepeke, ik zie ou"
2510
2511 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2512
2513         * configure.ac:
2514         * po/af.po:
2515         * po/az.po:
2516         * po/bg.po:
2517         * po/ca.po:
2518         * po/cs.po:
2519         * po/de.po:
2520         * po/en_GB.po:
2521         * po/fr.po:
2522         * po/it.po:
2523         * po/nb.po:
2524         * po/nl.po:
2525         * po/ru.po:
2526         * po/sq.po:
2527         * po/sr.po:
2528         * po/sv.po:
2529         * po/tr.po:
2530         * po/uk.po:
2531         * po/vi.po:
2532         * po/zh_CN.po:
2533         * po/zh_TW.po:
2534         * win32/common/config.h:
2535           0.10.6.2 prerelease
2536
2537 2006-06-07  Wim Taymans  <wim@fluendo.com>
2538
2539         * gst/gstindex.c: (gst_index_gtype_resolver):
2540         * tools/gst-xmlinspect.c: (print_plugin_info):
2541         Fix leak spotted by coverity checker. Fixes #343827
2542         Fix another other leak found by paolo borelli.
2543
2544 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2545
2546         * libs/gst/dataprotocol/dataprotocol.c:
2547         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2548         (gst_dp_version_get_type), (gst_dp_init),
2549         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2550         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2551         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2552         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2553         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2554         (gst_dp_packetizer_free):
2555         * libs/gst/dataprotocol/dataprotocol.h:
2556           API: add a GstDPPacketizer object, and create/free functions
2557           API: add GstDPVersion enum
2558           Add 1.0 event function that uses the string serialization
2559           Serialize more useful buffer flags
2560           Fixes #343988
2561
2562 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2563
2564         * tests/check/Makefile.am:
2565         * tests/check/gst/gstabi.c:
2566         * tests/check/gst/struct_ppc64.h:
2567         * tests/check/libs/libsabi.c:
2568         * tests/check/libs/struct_ppc64.h:
2569           add ppc64 structure sizes
2570
2571 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2572
2573         * tests/check/Makefile.am:
2574         * tests/check/gst/gstabi.c:
2575         * tests/check/gst/struct_x86_64.h:
2576         * tests/check/libs/libsabi.c:
2577         * tests/check/libs/struct_x86_64.h:
2578           generate and add structure size lists for x86_64
2579
2580 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2581
2582         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2583         * libs/gst/check/gstcheck.h:
2584           factor out the method from tests that checks size of structures,
2585           and add code to generate the header containing these sizes
2586         * tests/check/gst/gstabi.c: (GST_START_TEST):
2587         * tests/check/gst/struct_i386.h:
2588         * tests/check/libs/libsabi.c: (GST_START_TEST):
2589         * tests/check/libs/struct_i386.h:
2590           use it
2591
2592 2006-06-06  Michael Smith  <msmith@fluendo.com>
2593
2594         * gst/gstsegment.h:
2595           Don't use c++-style comments, fixes #343929
2596
2597 2006-06-05  Edward Hervey  <edward@fluendo.com>
2598
2599         * gst/gst.c:
2600         plugin_paths is not used if we build without registry support.
2601
2602         * gst/gstsegment.c: (gst_segment_copy): 
2603         _copy() was always returning NULL...
2604
2605 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2606
2607         * libs/gst/dataprotocol/dataprotocol.c:
2608         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2609         (gst_dp_packet_from_event):
2610           factor out CRC code
2611
2612 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2613
2614         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2615           make sure we unset caps
2616
2617 2006-06-02  Michael Smith  <msmith@fluendo.com>
2618
2619         * libs/gst/check/gstcheck.c: (gst_check_init),
2620         (gst_check_chain_func):
2621         * libs/gst/check/gstcheck.h:
2622           Add a cond/mutex to the check support lib, signal this whenever we
2623           add to the buffers list. This will allow tests to not busy-wait on
2624           the buffer-list.
2625
2626 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2627
2628         * libs/gst/dataprotocol/dataprotocol.c:
2629         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2630         (gst_dp_packet_from_event):
2631           factor out some common header init code
2632
2633 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2634
2635         * docs/libs/gstreamer-libs-sections.txt:
2636         * docs/libs/tmpl/gstdataprotocol.sgml:
2637         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2638         * libs/gst/dataprotocol/dataprotocol.h:
2639           API: make gst_dp_crc() public
2640
2641 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2642
2643         * plugins/indexers/gstindexers.c: (plugin_init):
2644         conditionally register fileindexer (fixes #343598)
2645
2646 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2647
2648         * gst/gsttagsetter.h:
2649         Can't cast ifaces to a class
2650
2651         * libs/gst/net/gstnetclientclock.h:
2652         * libs/gst/net/gstnettimeprovider.h:
2653         * plugins/elements/gstfakesink.h:
2654         * plugins/elements/gstfakesrc.h:
2655         * plugins/elements/gstfdsink.h:
2656         * plugins/elements/gstfdsrc.h:
2657         * plugins/elements/gstfilesink.h:
2658         * plugins/elements/gstfilesrc.h:
2659         * plugins/elements/gstidentity.h:
2660         * plugins/elements/gstqueue.h:
2661         * plugins/elements/gsttee.h:
2662         * plugins/indexers/gstfileindex.c:
2663         * plugins/indexers/gstmemindex.c:
2664         * tests/old/examples/plugins/example.h:
2665         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2666
2667 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2668
2669         * libs/gst/dataprotocol/dataprotocol.c:
2670         (gst_dp_header_from_buffer):
2671           make sure we zero the whole ABI-compatible area
2672
2673 2006-06-01  Wim Taymans  <wim@fluendo.com>
2674
2675         Patch by: Alessandro Decina <alessandro at nnva dot org>
2676
2677         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2678         Make sure the EOS flag is cleared from pads after a flush
2679         or stop. Fixes #343538.
2680
2681         * tests/check/libs/collectpads.c: (GST_START_TEST),
2682         (gst_collect_pads_suite):
2683         Added test for collectpads reusage after EOS.
2684
2685 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2686
2687         * gst/gst.c:
2688          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2689         * win32/common/libgstbase.def:
2690          export gst_collect_pads_set_flushing
2691         * win32/common/libgstreamer.def:
2692          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2693          gst_value_fraction_multiply
2694         * win32/vs6/gst_inspect.dsp:
2695          add a link to intl.lib
2696
2697 2006-05-30  Wim Taymans  <wim@fluendo.com>
2698
2699         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2700         (gst_collect_pads_chain):
2701         Handle the case where a pad is removed from the collection
2702         that could cause the other pads to become collectable.
2703
2704 2006-05-30  Wim Taymans  <wim@fluendo.com>
2705
2706         * gst/gstelement.c:
2707         Clarify the use of _release_request_pad() and
2708         _get_request_pad() a bit better.
2709
2710         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2711         (gst_adapter_take_buffer):
2712         Fix some doc and comment typos.
2713
2714 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2715
2716         * docs/gst/gstreamer-sections.txt:
2717         * docs/libs/gstreamer-libs-sections.txt:
2718           add declared symbols
2719
2720 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2721
2722         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2723         Add debug that can be enabled using a #define at the top of the file,
2724         for dumping stats about how late/early we were when waking up from
2725         waiting on the clock.
2726
2727 2006-05-30  Wim Taymans  <wim@fluendo.com>
2728
2729         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2730         When rebuilding the pad list, don't leak the previous list.
2731
2732 2006-05-30  Wim Taymans  <wim@fluendo.com>
2733
2734         Patch by: Lutz Mueller <lutz at topfrose dot de>
2735
2736         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2737         (gst_base_src_get_query_types), (gst_base_src_update_length):
2738         Publish supported query types.
2739         Update last_stop field in get_range mode so the position
2740         query works. Fixes #342321.
2741
2742 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2743
2744         * docs/gst/gstreamer-sections.txt:
2745         * gst/gsttaglist.c: (_gst_tag_initialize):
2746         * gst/gsttaglist.h:
2747           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2748
2749 2006-05-30  Wim Taymans  <wim@fluendo.com>
2750
2751         Patch by: Alessandro Decina <alessandro at nnva dot org>
2752
2753         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2754         Unlock mutex when removing an unknown pad.
2755         Fixes #343334.
2756
2757         * tests/check/Makefile.am:
2758         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2759         (push_event), (setup), (teardown), (GST_START_TEST),
2760         (gst_collect_pads_suite), (main):
2761         Added collecpads check, disabled for now as check crashes for
2762         some reason.
2763
2764 2006-05-29  Wim Taymans  <wim@fluendo.com>
2765
2766         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2767         Don't leak pads lists.
2768
2769 2006-05-29  Wim Taymans  <wim@fluendo.com>
2770
2771         * docs/libs/gstreamer-libs-sections.txt:
2772         * libs/gst/base/gstcollectpads.c:
2773         (gst_collect_pads_set_flushing_unlocked),
2774         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2775         (gst_collect_pads_stop):
2776         * libs/gst/base/gstcollectpads.h:
2777         API: gst_collect_pads_set_flushing()
2778         Added api to set the pads to flushing, useful for seeking
2779         code in elements using collectpads.
2780         Clear segment when receiving a flush.
2781
2782 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2783
2784         * gst/gst.c: (add_path_func), (init_post):
2785           Don't scan registry paths passed via --gst-plugin-path immediately
2786           (will crash, because absolutely nothing is set up and no types are
2787           registered etc.); do this later in init_post(). Fixes #343057.
2788
2789 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2790
2791         * gst/gst.c: (init_post):
2792           if we have fork, fork while reading/rebuilding the registry
2793           so the parent doesn't take the hit of having all plugins loaded
2794           in memory.  Fixes #342777.
2795         * configure.ac:
2796           Check if we have fork()
2797         * win32/common/config.h.in:
2798           no fork() on win32
2799
2800 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2801
2802         * plugins/elements/gstelements.c:
2803         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2804         (gst_file_src_init), (gst_file_src_set_property),
2805         (gst_file_src_get_property), (gst_file_src_start):
2806         * plugins/elements/gstfilesrc.h:
2807           API: GstFileSrc::use-mmap
2808
2809         Add a use-mmap property to enable easier testing of all code paths.
2810         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2811         in the absence of gnomevfssrc. (Closes #340501)
2812
2813 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2814
2815         * tools/gst-inspect.c:
2816         Add missing include, removes warning of ngettext not being defined on
2817         some arches.
2818
2819 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2820
2821         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2822         Handle NULL input and output pointers silently as a failed conversion,
2823         rather than g_warnings.
2824
2825 2006-05-25  Wim Taymans  <wim@fluendo.com>
2826
2827         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2828         Initialize variable before using. Fixes #342820.
2829
2830 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2831
2832         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2833           Fix off-by-one bug that would only allow peeks of N-1 bytes
2834           from the start even if the buffer to typefind on contains
2835           in fact N bytes of data (makes vorbis typefinding from a
2836           vorbis identification header buffer work).
2837
2838         * tests/check/Makefile.am:
2839         * tests/check/libs/.cvsignore:
2840         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2841         (gst_typefindhelper_suite), (main), (foobar_typefind),
2842         (plugin_init):
2843           Add very basic unit test for gst_type_find_helper_for_buffer()
2844           that checks for the problem fixed above.
2845
2846 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2847
2848         * tools/gst-inspect.c: (print_interfaces),
2849         (print_element_properties_info), (print_element_list), (main):
2850           add more translatable strings
2851
2852 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2853
2854         Patch by: Julien Moutte  <julien at moutte net>
2855
2856         * docs/gst/gstreamer-sections.txt:
2857           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2858           
2859         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2860         (gst_fake_sink_preroll):
2861         * plugins/elements/gstfakesink.h:
2862           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2863
2864 2006-05-23  Wim Taymans  <wim@fluendo.com>
2865
2866         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2867         * gst/gstpad.h:
2868         Added _CUSTOM error and success GstFlowReturn that can be
2869         used be elements internally. 
2870         Added macro to check for SUCCESS flowreturns.
2871         API: GST_FLOW_CUSTOM_SUCCESS
2872         API: GST_FLOW_CUSTOM_ERROR
2873         API: GST_FLOW_IS_SUCCESS
2874
2875         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2876         Added check for GstFlowReturn sanity.
2877
2878 2006-05-23  Wim Taymans  <wim@fluendo.com>
2879
2880         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2881
2882         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2883         (gst_collect_pads_event):
2884         clear/reset segment info in FLUSH_STOP.
2885         Fixes #336929.
2886
2887 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2888
2889         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2890         (gst_collect_pads_check_collected):
2891         Flush queued buffer on _stop(), fixes playing again (#342454)
2892
2893 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2894
2895         * tests/check/gst/gststructure.c: (GST_START_TEST),
2896         (gst_structure_suite):
2897           add a test for a complete structure
2898
2899 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2900
2901         * docs/faq/developing.xml:
2902         * docs/faq/faq.xml:
2903         * docs/faq/troubleshooting.xml:
2904         * docs/faq/using.xml:
2905           Some minor FAQ updates that won't change the fact that
2906           our FAQ is badly structured, full of information hardly
2907           anyone new to GStreamer needs to know and lacking lots
2908           of information people constantly ask for.
2909           
2910 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2911
2912         * gst/gstpad.c: (gst_pad_set_caps):
2913           Short-circuit gst_pad_set_caps if setting the existing
2914           caps pointer again, and avoid printing debug and 
2915           reffing/unreffing the caps.
2916
2917         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2918           There's actually no need to set the caps before pushing -
2919           the acceptcaps method will handle it anyway.
2920
2921 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2922
2923         * docs/gst/gstreamer-sections.txt:
2924         * win32/common/libgstreamer.def:
2925         * gst/gstutils.c: (gst_element_seek_simple):
2926         * gst/gstutils.h:
2927           API: add gst_element_seek_simple() (#342238).
2928
2929 2006-05-18  Edward Hervey  <edward@fluendo.com>
2930
2931         * gst/gsttypefind.c: (gst_type_find_get_type):
2932         * gst/gsttypefind.h:
2933         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2934         registered for GstTypeFind pointers. This allows wrapping the structure
2935         in bindings (i.e. gst-python).
2936
2937 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2938
2939         * gst/gsttagsetter.c:
2940           Docs additions and fixes (see #339918).
2941
2942 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2943
2944         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2945         The caps intersection algorithm can produce multiple copies of the
2946         caps. Until that is fixed, we need to simplify the result to be
2947         sure whether the allowed caps are fixed or not.
2948
2949         * plugins/elements/gstqueue.c: (gst_queue_init),
2950         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2951         (gst_queue_push_one):
2952         Proxied buffer alloc should not set the caps on the source pad.
2953         When pushing buffers, we always accept the caps change that triggers.
2954         This prevents negotiation errors caused by caps changing mid-stream 
2955         and then being refused on our source pad (because upstream is now
2956         refusing those caps).
2957
2958 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2959
2960         * tests/examples/helloworld/helloworld.c: (main):
2961           Must plug audioconvert and audioresample between decoder
2962           and audio sink.
2963
2964 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2965
2966         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2967         (load_feature), (load_plugin):
2968         Allow empty strings for some of the plugin fields so we don't 
2969         drop valid plugin entries that were written out correctly
2970         (Fixes #341479)
2971
2972 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2973         
2974         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2975           Use g_remove and g_rename instead of remove and rename that don't 
2976           handle utf8 characters. rename was failing for users who had specific
2977           characters in their name then the registry was built at each 
2978           gstreamer init.
2979         * win32/vs6/gst_inspect.dsp:
2980         * win32/vs6/gst_launch.dsp:
2981         * win32/vs6/libgstbase.dsp:
2982         * win32/vs6/libgstcoreelements.dsp:
2983         * win32/vs6/libgstreamer.dsp:
2984           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2985           build of libgstreamer and clean unused libraries in projects link 
2986           settings.
2987
2988 2006-05-17  Edward Hervey  <edward@fluendo.com>
2989
2990         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2991         The queue is not responsible for pushing an EOS when receiving a fatal
2992         flow error. It's up to the real element driving the pipeline to do that.
2993
2994 2006-05-16  Edward Hervey  <edward@fluendo.com>
2995
2996         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2997         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2998         buffer returned a fatal error. It should just send an EOS and stop
2999         its task.
3000         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3001         when pushing buffers on the queue and will be able to handle the event.
3002
3003 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3004
3005         * docs/manual/basics-bins.xml:
3006         * docs/manual/basics-init.xml:
3007           Fix typos and minor errors in sample code (#341856).
3008
3009 2006-05-16  Wim Taymans  <wim@fluendo.com>
3010
3011         * docs/design/part-qos.txt:
3012         Fix indexes in formulas to make more sense.
3013
3014 2006-05-15  Wim Taymans  <wim@fluendo.com>
3015
3016         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3017         Don't report POSITION based on clock time if sync is
3018         disabled in a sink.
3019
3020 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
3021
3022         * gst/gstobject.h:
3023           Add cast to make compiler happy - refcount variable was a gint
3024           in GstObject but is a guint in GObject and g_atomic_int_get()
3025           wants a gint *.
3026
3027 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
3028
3029         * gst/parse/Makefile.am:
3030           chain commands using &&, which also makes parallel make work
3031
3032 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
3033
3034         * docs/gst/gstreamer-sections.txt:
3035         * gst/gstevent.c:
3036         * gst/gstevent.h:
3037         * gst/gstmessage.h:
3038           Minor docs fixes.
3039
3040 === release 0.10.6 ===
3041
3042 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
3043
3044         * configure.ac:
3045           releasing 0.10.6, "Take the cannoli"
3046
3047 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
3048
3049         * tools/gst-launch.c: (print_tag):
3050           Fix use of uninitialized variable in the hypothetical
3051           case that some broken plugin creates a GST_TAG_IMAGE
3052           tag containing a NULL buffer (#341667).
3053
3054 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
3055
3056         * tools/gst-launch.c: (print_tag):
3057           Print something more intelligible for image tags when
3058           using the -t switch (#341556).
3059
3060 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3061
3062         * Makefile.am:
3063           updates for win32
3064         * configure.ac:
3065           define GST_MAJORMINOR so we have it available in win32/common/config.h
3066           Possibly remove it from our Makefile.am files later
3067         * win32/common/config.h:
3068         * win32/common/config.h.in:
3069           added GST_MAJORMINOR
3070         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3071         * win32/common/gstversion.h:
3072           updated
3073
3074 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3075
3076         * win32/MANIFEST:
3077           Update win32 files listing.
3078         * win32/common/gstversion.h:
3079           Add GST_MAJORMINOR definition.
3080         * win32/common/libgstreamer.def:
3081           Add new exported functions.
3082           
3083 2006-05-12  Michael Smith  <msmith@fluendo.com>
3084
3085         * gst/gstplugin.c: (gst_plugin_load_file):
3086           If an so file has no plugin entry point, unload the module.
3087
3088 2006-05-11  Wim Taymans  <wim@fluendo.com>
3089
3090         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3091         (gst_queue_set_property):
3092         Don't forget to signal the _chain or _loop function 
3093         when the queue size or thresholds change since that might
3094         cause them to make progres again.
3095
3096 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3097
3098         * gst/gstclock.c: (gst_clock_class_init):
3099         * gst/gstindex.c: (gst_index_class_init):
3100         * gst/gstobject.c: (gst_object_class_init):
3101         * gst/gstpad.c: (gst_pad_class_init):
3102         * gst/gstpipeline.c: (gst_pipeline_class_init):
3103         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3104         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3105         * libs/gst/base/gstbasetransform.c:
3106         (gst_base_transform_class_init):
3107         * libs/gst/net/gstnetclientclock.c:
3108         (gst_net_client_clock_class_init):
3109         * libs/gst/net/gstnettimeprovider.c:
3110         (gst_net_time_provider_class_init):
3111         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3112         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3113         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3114         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3115         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3116         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3117         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3118         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3119         * plugins/elements/gsttee.c: (gst_tee_class_init):
3120         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3121         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3122           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3123
3124 2006-05-11  Wim Taymans  <wim@fluendo.com>
3125
3126         * gst/gstbuffer.c: (_gst_buffer_initialize):
3127         Register subbufer along with the buffer type so that
3128         it does not accidentally gets registered from N
3129         different streaming threads in a non threadsafe way.
3130
3131 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3132
3133         * gst/gstbuffer.h:
3134         * gst/gstevent.h:
3135         * gst/gstmessage.h:
3136           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3137           gst_event_ref() and gst_message_ref() functions again
3138           (ugly hack, please do fix if there's a better way besides
3139           overrides.txt, which doesn't seem to work).
3140
3141 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3142
3143         * libs/gst/check/gstcheck.h:
3144           add an assert for setting state to avoid lots of repetitive code
3145           in the future
3146
3147 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3148
3149         * gst/gstvalue.c: (gst_value_serialize_flags):
3150           fix a leak if no flags are set
3151         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3152           fix leak in tests
3153
3154 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3155
3156         * docs/manual/basics-pads.xml:
3157           Expand a bit on caps and filtered links and update
3158           examples that were still using the no longer existing
3159           gst_pad_link_filtered() (#338206).
3160
3161 2006-05-10  Wim Taymans  <wim@fluendo.com>
3162
3163         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3164         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3165         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3166         (gst_collect_pads_stop):
3167         * libs/gst/base/gstcollectpads.h:
3168         No need to call _stop in _finalize.
3169         Iterate the main pad list in _finalize.
3170         Added some more debug.
3171         Free lists and data in the right order.
3172         Also free data whem doing _remove_pad when stopped for
3173         backward compatibility protect ::started with PAD_LOCK as
3174         well.
3175
3176 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3177
3178         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3179         (gst_structure_parse_value):
3180           add some comments
3181           rename a method so that it actually says what it does better
3182
3183 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3184
3185         * gst/gstevent.c: (_gst_event_initialize):
3186         * gst/gstformat.c: (_gst_format_initialize):
3187           make sure some essential types used by events are registered
3188           as part of gst_init()
3189         * gst/gstvalue.c: (gst_value_serialize_flags):
3190           if no flags are set, serialize them to a value that represents NONE
3191           so that deserializing them works
3192         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3193           add tests for serialization and deserialization of flags
3194
3195 2006-05-10  Wim Taymans  <wim@fluendo.com>
3196
3197         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3198         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3199         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3200         (gst_collect_pads_event), (gst_collect_pads_chain):
3201         Update docs.
3202         Better debug info.
3203         Catch and return errors from the collect function
3204         Refuse data on eos pads.
3205
3206 2006-05-10  Edward Hervey  <edward@fluendo.com>
3207
3208         * gst/gstinterface.h:
3209         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3210         GInterface type checking.
3211         They were previously using non-defined macros.
3212
3213 2006-05-09  Wim Taymans  <wim@fluendo.com>
3214
3215         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3216         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3217         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3218         (gst_collect_pads_start), (gst_collect_pads_stop),
3219         (gst_collect_pads_peek), (gst_collect_pads_pop),
3220         (gst_collect_pads_available), (gst_collect_pads_read),
3221         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3222         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3223         (gst_collect_pads_chain):
3224         * libs/gst/base/gstcollectpads.h:
3225         Clean up the mess that is collectpads, add comments and
3226         FIXMEs where needed.
3227         Maintain a separate pad list so we can add pads while
3228         collecting the other ones. For this we need a new separate 
3229         lock (see comics).
3230         Fix memory leak in finalize.
3231         Refactor some weird code to set/unset pad flushing flags, mark
3232         with comments.
3233         Don't crash in _available, _read, _flush when we're EOS.
3234
3235         * tests/check/libs/.cvsignore:
3236         Ignore adapter check binary.
3237
3238 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3239
3240         * gst/gstindex.c: (gst_index_resolver_get_type):
3241         * plugins/elements/gstfakesink.c:
3242         (gst_fake_sink_state_error_get_type):
3243         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3244         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3245         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3246           Const-ify GEnumValue arrays.
3247
3248 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3249
3250         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3251           Add test case for flags + gst_buffer_make_metadata_writable().
3252
3253 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3254
3255         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3256           gst_buffer_make_metadata_writable() should maintain the
3257           buffer flags (those that make sense at least) (see #340859).
3258
3259 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3260
3261         * tools/gst-inspect.c:
3262         * tools/gst-launch.c:
3263         * tools/gst-typefind.c:
3264         * tools/gst-xmlinspect.c:
3265         * tools/tools.h:
3266           Fix up includes: need to include stdlib.h in tools.h for exit().
3267
3268 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3269
3270         * gst/gsttaglist.c: (_gst_tag_initialize):
3271         * gst/gsttaglist.h:
3272           API: add GST_TAG_IMAGE tag (#340721).
3273
3274 2006-05-08  Wim Taymans  <wim@fluendo.com>
3275
3276         * gst/gstquery.c:
3277         Added some docs for the segment query.
3278
3279 2006-05-08  Wim Taymans  <wim@fluendo.com>
3280
3281         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3282         (gst_base_src_loop), (gst_base_src_change_state):
3283         Always push non-flushing serialized events in the streaming 
3284         thread.
3285
3286 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3287
3288         * gst/gsterror.c: (_gst_stream_errors_init):
3289           Add a missing error string.
3290
3291 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3292
3293         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3294         Add applied_rate to the debug
3295
3296         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3297         Copy applied_rate into the outgoing NEWSEGMENT event
3298
3299 2006-05-08  Wim Taymans  <wim@fluendo.com>
3300
3301         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3302
3303         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3304         (gst_base_sink_change_state):
3305         call ::unlock before taking the PREROLL_LOCK so we can safely
3306         handle elements that lock in ::render.
3307         Fixes #340174.
3308
3309 2006-05-08  Edward Hervey  <edward@fluendo.com>
3310
3311         * autogen.sh: (CONFIGURE_DEF_OPT): 
3312         Darwin's libtoolize is in fact called glibtoolize.
3313         Adding glibtoolize to the list of accepted names for libtoolize.
3314
3315 2006-05-08  Wim Taymans  <wim@fluendo.com>
3316
3317         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3318         Unify error handling, don't post an error message
3319         when a push() returns EOS but perform our normal EOS
3320         handling code. Fixes #340772.
3321
3322 2006-05-08  Wim Taymans  <wim@fluendo.com>
3323
3324         * docs/design/part-overview.txt:
3325         Make upsteam/downstream concepts more clear.
3326         Give an example of serialized/non-serialized events.
3327
3328         * docs/design/part-events.txt:
3329         * docs/design/part-streams.txt:
3330         Mention applied_rate.
3331
3332         * docs/design/part-trickmodes.txt:
3333         Mention applied rate, flesh out some more use cases.
3334
3335         * gst/gstevent.c: (gst_event_new_new_segment),
3336         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3337         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3338         (gst_event_parse_tag), (gst_event_new_buffer_size),
3339         (gst_event_parse_buffer_size), (gst_event_new_qos),
3340         (gst_event_parse_qos), (gst_event_parse_seek),
3341         (gst_event_new_navigation):
3342         * gst/gstevent.h:
3343         Add applied_rate field to NEWSEGMENT event.
3344         API: gst_event_new_new_segment_full()
3345         API: gst_event_parse_new_segment_full()
3346
3347         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3348         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3349         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3350         * gst/gstsegment.h:
3351         Add applied_rate to GstSegment structure.
3352         Make calculation of stream_time and running_time more correct
3353         wrt rate/applied_rate.
3354         Add some more docs.
3355         API: GstSegment::applied_rate field
3356         API: gst_segment_set_newsegment_full();
3357
3358         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3359         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3360         * libs/gst/base/gstbasetransform.c:
3361         (gst_base_transform_sink_eventfunc),
3362         (gst_base_transform_handle_buffer):
3363         Parse and use applied_rate in the GstSegment field.
3364
3365         * tests/check/gst/gstevent.c: (GST_START_TEST):
3366         Add check for applied_rate field.
3367
3368         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3369         (gstsegments_suite):
3370         Add more checks for various GstSegment operations.
3371
3372 2006-05-08  Wim Taymans  <wim@fluendo.com>
3373
3374         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3375         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3376         (gst_base_sink_get_position), (gst_base_sink_change_state):
3377         Store the sync time of the buffer end position separatly in a
3378         new variable eos_rtime so we can properly sync the EOS event.
3379         Fixes #340697.
3380         Fix the docs for gst_base_sink_set_qos_enabled().
3381         Don't set segment start to invalid value when we receive a 
3382         non TIME newsegment.
3383         get closer to handling position reporting for negative rates 
3384         correctly.
3385
3386 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3387
3388         * gst/gstcaps.c:
3389         Docs about how to print caps for debug purposes.
3390
3391         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3392         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3393
3394 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3395
3396         * gst/gstelement.c:
3397           use full enum names and preprend a '%' in docs strings to make recent 
3398           gtk-doc turn that into a link
3399
3400 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3401
3402         * docs/manual/basics-bins.xml:
3403         * docs/manual/basics-bus.xml:
3404         * docs/manual/basics-pads.xml:
3405           Some typo fixes, some additions, some clarifications. 
3406
3407 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * tools/gst-inspect.c: (main):
3410         * tools/gst-launch.c: (main):
3411         * tools/gst-run.c: (main):
3412         * tools/gst-typefind.c: (main):
3413         * tools/gst-xmlinspect.c: (main):
3414           Use the string passed to g_option_context_new() for
3415           what it's intended for - the program name is already
3416           printed elsewhere.
3417
3418 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3419
3420         * tools/Makefile.am:
3421         * tools/gst-inspect.c: (main):
3422         * tools/gst-launch.c: (main):
3423         * tools/gst-xmlinspect.c: (main):
3424         * tools/tools.h:
3425           Add back --version command line option (#340460).
3426
3427         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3428           Add --version option and use GOption for argument parsing; refactor a
3429           bit; accept directories as arguments and recurse into them; lastly,
3430           print a decent error message when things go wrong.
3431
3432 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3433
3434         * docs/manual/basics-bins.xml:
3435         Don't mention GstThread (#340611)
3436         * docs/manual/basics-elements.xml:
3437         Update link to GObject tutorial (#340607)
3438         
3439 2006-05-05  Wim Taymans  <wim@fluendo.com>
3440
3441         * gst/gstbuffer.h:
3442         * gst/gstminiobject.c:
3443         Add note about refcounting and miniobject/buffer writeability
3444         to docs. Fixes #340604
3445
3446         * gst/gstelementfactory.h:
3447         Added some explanation about @klass.
3448
3449 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3450
3451         * docs/manual/intro-motivation.xml:
3452         * docs/manual/manual.xml:
3453         Avoid CORBA & Bonobo references (#340598)
3454
3455 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3456
3457         * docs/manual/basics-bus.xml:
3458         * docs/manual/basics-pads.xml:
3459         Fix up some inaccuracies and omissions (#340609)
3460         
3461 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3462
3463         * gst/gstghostpad.c:
3464           Small typo in docs (#340625)
3465
3466 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3467
3468         * gst/parse/Makefile.am:
3469           Make 'make -j' proof (see #340698).
3470
3471 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3472
3473         * configure.ac:
3474           Require GLib-2.8 here as well.
3475
3476 2006-05-05  Wim Taymans  <wim@fluendo.com>
3477
3478         * gst/glib-compat.c:
3479         * gst/gst.c: (init_pre):
3480         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3481         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3482         (gst_object_dispatch_properties_changed):
3483         * gst/gstobject.h:
3484         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3485         * gst/gststructure.c: (gst_structure_set_valist):
3486         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3487         Remove pre glib2.8 compatibility, fixes #340508
3488
3489 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3490
3491         * gst/gsttaglist.h:
3492           Mention type of tags in doc blurbs.
3493
3494 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3495
3496         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3497         (gst_pad_configure_src), (gst_pad_push):
3498         Restore acceptcaps checking behaviour now that good plugins have
3499         been released.
3500
3501 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3502
3503         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3504
3505         * gst/gst.c:
3506         * gst/gstbus.c:
3507         * gst/gstclock.c:
3508         * gst/gstevent.c:
3509         * gst/gstformat.c:
3510         * gst/gstmessage.c:
3511         * gst/gstparse.c:
3512         * gst/gstquery.c:
3513         * gst/gstutils.c:
3514         * gst/parse/Makefile.am:
3515         * libs/gst/base/gstadapter.c:
3516         * libs/gst/base/gstbasesrc.c:
3517         * libs/gst/base/gstpushsrc.c:
3518         * libs/gst/base/gsttypefindhelper.c:
3519         * plugins/elements/gstfakesrc.c:
3520         * plugins/elements/gstidentity.c:
3521           Make sure gstprivate.h and/or config.h are
3522           always included first, otherwise some of our
3523           defines (like _FILE_OFFSET_BITS) might be
3524           redefined in the system headers. Fixes build
3525           on opensolaris (#340016).
3526
3527 2006-05-04  Wim Taymans  <wim@fluendo.com>
3528
3529         * docs/libs/gstreamer-libs-sections.txt:
3530         API: addition: gst_adapter_take_buffer()
3531         
3532         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3533         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3534         (gst_adapter_available_fast):
3535         * libs/gst/base/gstadapter.h:
3536         Prepare for optimizing the hell out of this hugely inefficient
3537         piece of code. 
3538         Added gst_adapter_take_buffer() so we can at least start thinking
3539         about subbuffering and merging.
3540         Added some comments.
3541
3542         * tests/check/Makefile.am:
3543         * tests/check/libs/adapter.c: (GST_START_TEST),
3544         (gst_adapter_suite), (main):
3545         Added GstAdapter check.
3546
3547 2006-05-04  Wim Taymans  <wim@fluendo.com>
3548
3549         * docs/design/part-overview.txt:
3550         Fix some typos, add blurb about buffer flags.
3551
3552 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3553
3554         * docs/libs/gstreamer-libs-sections.txt:
3555           make sure GstBaseTransformClass shows up in the docs
3556         * libs/gst/base/gstbasetransform.c:
3557         * libs/gst/base/gstbasetransform.h:
3558           move docs so gtk-doc picks it up now
3559
3560 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3561
3562         * docs/libs/gstreamer-libs-sections.txt:
3563           add missing symbols to docs
3564
3565 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3566
3567         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3568           back out the newsegment handling change, see #340060 for ongoing
3569           discussion
3570
3571 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3572
3573         * tools/gst-run.c: (get_candidates), (main):
3574           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3575           work); fix typo in error message. Fixes #340079.
3576
3577 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3578
3579         * common/Makefile.am:
3580         * docs/Makefile.am:
3581         * docs/faq/Makefile.am:
3582         * docs/gst/Makefile.am:
3583         * docs/libs/Makefile.am:
3584         * docs/manual/Makefile.am:
3585         * docs/plugins/Makefile.am:
3586         * docs/pwg/Makefile.am:
3587         * docs/slides/Makefile.am:
3588         * docs/upload.mak:
3589         * common/upload.mak:
3590           move upload.mak to common
3591
3592 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3593
3594         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3595           add more asserts on refcounts
3596           do more cleanup at end of tests
3597           fix test leaks showing in FC5
3598
3599 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3600
3601         * plugins/elements/gsttypefindelement.c:
3602         (gst_type_find_element_handle_event):
3603         reverted wrong change and reflowed code to avoid others falling into
3604         this trap
3605
3606 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3607
3608         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3609           fix changelog entry about last collectpads change,
3610           add notes about proper fix
3611
3612 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3613
3614         * gst/gst.c:
3615         * gst/gstregistry.c: (gst_registry_scan_path_level),
3616         (gst_registry_scan_path):
3617         * gst/gstregistry.h:
3618           only write out registry if it has changed, fixes #338339
3619
3620 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3621
3622         * gst/gstbin.c:
3623         * gst/gstpipeline.c:
3624         * plugins/elements/gstcapsfilter.c:
3625         * plugins/elements/gstfakesink.c:
3626         * plugins/elements/gstfakesrc.c:
3627         * plugins/elements/gstfdsink.c:
3628         * plugins/elements/gstfdsrc.c:
3629         * plugins/elements/gstfilesink.c:
3630         * plugins/elements/gstfilesrc.c:
3631         * plugins/elements/gstidentity.c:
3632         * plugins/elements/gstqueue.c:
3633         * plugins/elements/gsttee.c:
3634         * plugins/elements/gsttypefindelement.c:
3635         (gst_type_find_element_handle_event):
3636           make GstElementDetails const
3637
3638 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3639
3640         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3641         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3642         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3643           more detailed debug and formatting cleanup,
3644           forward newsegments to src-pad (so that e.g. adder not eats them)
3645
3646 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3647
3648         * gst/gstutils.c: (gst_element_link_pads):
3649           cleanup double code
3650
3651 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3652
3653         * libs/gst/controller/gstcontroller.c:
3654         (gst_controller_sync_values):
3655           some little tuning
3656         * tests/check/libs/controller.c: (GST_START_TEST),
3657         (gst_controller_suite):
3658           a new test for live value handling
3659
3660 2006-04-28  Wim Taymans  <wim@fluendo.com>
3661
3662         * gst/gstutils.c: (push_and_ref):
3663         Added some more docs.
3664         Fix refcount issue whith gst_element_found_tags() helper 
3665         function. Fixes #338335
3666
3667         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3668         Added testsuite for gst_element_found_tags().
3669
3670 2006-04-28  Michael Smith  <msmith@fluendo.com>
3671
3672         * gst/gstvalue.c: (gst_value_serialize_flags):
3673           Avoid NULL dereference when trying to serialize flags containing
3674           invalid values.
3675
3676 2006-04-28  Michael Smith  <msmith@fluendo.com>
3677
3678         * plugins/elements/gsttypefindelement.c:
3679         (gst_type_find_element_handle_event):
3680           If we get EOS before any data is accumulated, don't use
3681           uninitialised local variables.
3682
3683 2006-04-28  Michael Smith  <msmith@fluendo.com>
3684
3685         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3686         (gst_dp_event_from_packet):
3687           Fixes in reading/writing events over GDP (not currently used?) - 
3688           dereferencing NULL events for unknown/invalid event types, memory
3689           leak, and change g_warning to GST_WARNING.
3690
3691 2006-04-28  Wim Taymans  <wim@fluendo.com>
3692
3693         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3694         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3695         (gst_base_sink_get_position), (gst_base_sink_change_state):
3696         When frame dropping is enabled, we should not ignore frames
3697         without a duration.
3698         Update some documentation.
3699
3700 2006-04-28  Wim Taymans  <wim@fluendo.com>
3701
3702         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3703         (gst_base_src_send_event), (gst_base_src_change_state):
3704         Documentation updates.
3705
3706 2006-04-28  Wim Taymans  <wim@fluendo.com>
3707
3708         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3709         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3710         handle EAGAIN, EINTR and short writes correctly. Also clean
3711         up some error cases, avoid a deadlock on bad file descriptors and
3712         use GST_DEBUG_OBJECT.
3713         Fixes #339843
3714
3715 2006-04-28  Wim Taymans  <wim@fluendo.com>
3716
3717         * gst/gstvalue.c: (gst_value_serialize_buffer),
3718         (gst_value_deserialize_buffer):
3719         Don't try to serialize a GValue with a NULL buffer. 
3720         Fixes #339821.
3721
3722         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3723         Added check for serialisation of NULL buffers.
3724
3725 2006-04-28  Wim Taymans  <wim@fluendo.com>
3726
3727         * gst/gstminiobject.c: (gst_value_take_mini_object):
3728         Taking a NULL miniobject is valid, fix the case where
3729         we try to unref the NULL miniobject.
3730
3731 2006-04-28  Wim Taymans  <wim@fluendo.com>
3732
3733         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3734
3735         * gst/gstbin.c: (gst_bin_handle_message_func):
3736         Update docs.
3737         Don't leak bin refcount when a state recalc is
3738         in progress and we delay another one #339808.
3739
3740 2006-04-28  Wim Taymans  <wim@fluendo.com>
3741
3742         * docs/design/part-TODO.txt:
3743         Mention QoS as an ongoing work item.
3744
3745         * docs/design/part-buffering.txt:
3746         New doc about buffering that needs to be fleshed out
3747         at some point.
3748
3749         * docs/design/part-qos.txt:
3750         More QoS policy for decoders/demuxers/transforms
3751
3752         * docs/design/part-trickmodes.txt:
3753         Small update.
3754
3755 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3756
3757         * configure.ac:
3758           back to HEAD
3759
3760 === release 0.10.5 ===
3761
3762 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3763
3764         * configure.ac:
3765           releasing 0.10.5, "Fogo"
3766
3767 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3768
3769         patch by: Wim Taymans
3770
3771         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3772         (gst_pad_configure_src), (gst_pad_push):
3773         * gst/gstpipeline.c: (gst_pipeline_init):
3774           Fix internal data flow errors.  Fixes #338711.
3775
3776 2006-04-12  Wim Taymans  <wim@fluendo.com>
3777
3778         * tests/check/gst/gstelement.c: (GST_START_TEST):
3779         Don't leak the factory.
3780
3781 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3782
3783         * configure.ac:
3784         * win32/common/config.h:
3785           prerelease
3786
3787 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3788
3789         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3790         (gst_controller_unset_all):
3791           Free allocated GstTimedValues when freeing list nodes.
3792           Should fix leaks 'make check-valgrind' complains about.
3793
3794         * win32/common/libgstcontroller.def:
3795           Add gst_controller_unset_all.
3796
3797 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3798
3799         * docs/libs/gstreamer-libs-sections.txt:
3800         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3801         (gst_controller_unset_all):
3802         * libs/gst/controller/gstcontroller.h:
3803         API: Added new method gst_controller_unset_all()
3804         fixed gst_controller_unset()
3805         * tests/check/libs/controller.c: (GST_START_TEST),
3806         (gst_controller_suite):
3807         Added two testcases for new and fixed method
3808
3809 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3810
3811         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3812           MSG_DONTWAIT is not defined on Cygwin, so work
3813           around that (fixes #317048).
3814           
3815 2006-04-11  Wim Taymans  <wim@fluendo.com>
3816
3817         * gst/gstelementfactory.c: (gst_element_register),
3818         (gst_element_factory_create), (gst_element_factory_make):
3819         Some cleanups.
3820         Fixed a FIXME.
3821         Updated docs (Fixes #131079)
3822
3823         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3824         Small cleanups.
3825
3826         * tests/check/gst/gstelement.c: (GST_START_TEST),
3827         (gst_element_suite):
3828         Added testcase for elementfactory class field.
3829
3830 2006-04-10  Wim Taymans  <wim@fluendo.com>
3831
3832         * gst/gstsegment.c:
3833         Added some more docs.
3834
3835         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3836         (gst_base_sink_reset_qos):
3837         Calculate more accurate rate values.
3838
3839 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3840
3841         * gst/gst_private.h:
3842           add a new #ifdef to use __declspec(dllimport) only for
3843           other modules and not for gstreamer core
3844         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3845           use gst_guint64_to_gdouble for conversion
3846         * win32/common/libgstreamer.def:
3847           add new exported functions
3848         * win32/vs6/gst_inspect.dsp:
3849         * win32/vs6/gst_launch.dsp:
3850         * win32/vs6/libgstbase.dsp:
3851         * win32/vs6/libgstcontroller.dsp:
3852         * win32/vs6/libgstcoreelements.dsp:
3853         * win32/vs6/libgstdataprotocol.dsp:
3854         * win32/vs6/libgstnet.dsp:
3855           update project files
3856
3857 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3858
3859         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3860         * gst/gstclock.c: (gst_clock_class_init):
3861         * gst/gstelement.c: (gst_element_class_init):
3862         * gst/gstindex.c: (gst_index_class_init):
3863         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3864         * gst/gstobject.c: (gst_object_class_init),
3865         (gst_signal_object_class_init):
3866         * gst/gstpad.c: (gst_pad_class_init):
3867         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3868         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3869         * gst/gstregistry.c: (gst_registry_class_init):
3870         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3871         * gst/gsttask.c: (gst_task_class_init):
3872         * gst/gstxml.c: (gst_xml_class_init):
3873         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3874         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3875         (gst_base_src_loop):
3876         * libs/gst/controller/gstcontroller.c:/
3877         (_gst_controller_class_init):
3878         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3879         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3880         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3881         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3882         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3883         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3884
3885 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3886
3887         * gst/gstpad.c: (gst_pad_link):
3888           Must set peer pads before calling the link function, otherwise
3889           a task started from a link function might get a flow-not-linked
3890           result when trying to push because the other thread where the
3891           linking happens hasn't had a chance to set the peers yet. This
3892           might happen for example when a queue gets linked to a downstream
3893           element, as queue starts a streaming task when its source pad
3894           gets linked. Happens in real life when playing back flac/musepack
3895           files in playbin (#332390).
3896           
3897 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3898
3899         * gst/gstindex.h:
3900         * gst/gstxml.h:
3901         * libs/gst/base/gstadapter.h:
3902         * libs/gst/base/gstbasesink.h:
3903         * libs/gst/base/gstbasesrc.h:
3904         * libs/gst/base/gstbasetransform.h:
3905         * libs/gst/base/gstcollectpads.h:
3906         * libs/gst/base/gstpushsrc.h:
3907         Fix broken GObject macros
3908
3909 2006-04-07  Wim Taymans  <wim@fluendo.com>
3910
3911         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3912         Initialize start and stop times, thanks valgrind.
3913
3914 2006-04-07  Wim Taymans  <wim@fluendo.com>
3915
3916         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3917         Be a bit nicer to badly behaving upstream elements that expect
3918         us to deal with non TIME segments and timestamps (such as fakesrc
3919         in the testsuite).
3920
3921 2006-04-07  Wim Taymans  <wim@fluendo.com>
3922
3923         * gst/gstbus.c:
3924         Small documentation clarification about the signal watch.
3925
3926         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3927         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3928         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3929         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3930         (gst_base_sink_get_position_last),
3931         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3932         Convert and store timestamps in stream time and running time, the
3933         raw timestamps are not usefull, also document this better.
3934         Use different window sizes for good and bad QoS observations so
3935         we react to badness a little quicker.
3936         Keep track of the amount of rendered and dropped buffers.
3937         Send QoS timestamps in running time.
3938
3939         * libs/gst/base/gstbasetransform.c:
3940         (gst_base_transform_sink_eventfunc),
3941         (gst_base_transform_handle_buffer):
3942         Compare QoS timestamps against running time.
3943
3944 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3945
3946         * gst/gstpad.c:
3947           Typo fixes in docs.
3948
3949 2006-04-06  Michael Smith  <msmith@fluendo.com>
3950
3951         * gst/gstpad.c: (gst_pad_set_property):
3952           Use g_value_get_object() instead of g_value_dup_gst_object(),
3953           to avoid double-reffing the pad template (which we then sink,
3954           so this worked previously if (and only if) the pad template
3955           was floating.
3956
3957         * gst/gstpadtemplate.c: (gst_pad_template_init),
3958         (gst_pad_template_pad_created):
3959           Never return floating references to pad templates, create
3960           them as initially-sunken.
3961
3962           Document an extra function (and make this stop sinking our
3963           pad template, since that is now guaranteed to do nothing,
3964           since we created it sunken).
3965
3966         * gst/gstghostpad.c:
3967           Fix docs typo.
3968
3969 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3970
3971         * gst/gstinfo.c: (__gst_in_valgrind):
3972           Add some newlines.
3973
3974         * plugins/elements/gsttypefindelement.c:
3975         (gst_type_find_element_chain):
3976           Don't leak buffer caps.
3977
3978 2006-04-06  Michael Smith  <msmith@fluendo.com>
3979
3980         * gst/parse/grammar.y:
3981           Fix a leak in parse-launch for any source-or-sink named element 
3982           references used.
3983
3984         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3985           Unref the pipeline if it exists after we've failed parsing.
3986
3987 2006-04-05  Michael Smith  <msmith@fluendo.com>
3988
3989         * gst/gstpipeline.c: (gst_pipeline_init):
3990           When we create a pipeline bus, initially create it in flushing mode.
3991           Fixes leaks in at least one test, and makes a new pipeline work the
3992           same as one that has gone to READY and then back to NULL.
3993
3994         * gst/gstelement.c:
3995           Typo fix in docs.
3996
3997 2006-04-05  Michael Smith  <msmith@fluendo.com>
3998
3999         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4000           Unref a pad we reffed.
4001         * tests/check/gst/gstutils.c: (GST_START_TEST):
4002           Unref bins
4003
4004 2006-04-05  Michael Smith  <msmith@fluendo.com>
4005
4006         * gst/gstquery.c: (gst_query_set_formats),
4007         (gst_query_set_formatsv):
4008           Fix leaking GValues in queries, as shown by valgrind/testsuite.
4009
4010 2006-04-05  Michael Smith  <msmith@fluendo.com>
4011
4012         * tests/check/generic/sinks.c: (GST_START_TEST):
4013           Fix a variety of memleaks in sinks check, which are only sometimes 
4014           shown by running the tests under valgrind (weird?).
4015
4016 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
4017
4018         * docs/version.entities.in:
4019           Fix the substituted entity name after thomas' changes on the
4020           weekend.
4021
4022 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4023
4024         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4025         VALGRIND_PRINTF
4026         
4027 2006-04-05  Andy Wingo  <wingo@pobox.com>
4028
4029         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4030
4031         * libs/gst/base/gstbasetransform.c
4032         (gst_base_transform_sink_eventfunc): When resetting our segment on
4033         FLUSH_STOP, also update the flag saying we haven't seen a
4034         newsegment.
4035
4036 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4037
4038         Patch by: Paolo Borelli  <pborelli at katamail dot com>
4039
4040         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4041         (gst_plugin_check_license):
4042           minor clean-ups: G_DEFINE_TYPE already takes care of the
4043           parent_class stuff, no need to do it twice. Mark array of
4044           license strings as constant. (#337103)
4045           
4046 2006-04-04  Michael Smith  <msmith@fluendo.com>
4047
4048         * tools/gst-inspect.c: (print_element_list):
4049           Free the right plugin list; fixes a memory leak.
4050
4051 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4052
4053         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
4054
4055         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4056           Don't error out on empty buffers (#336945).
4057           
4058 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4059
4060         * docs/libs/gstreamer-libs-sections.txt:
4061         * gst/gsttaglist.c:
4062         * libs/gst/base/gstbasesink.c:
4063         * libs/gst/base/gstbasesink.h:
4064         * libs/gst/base/gstbasesrc.c:
4065         * libs/gst/base/gstbasesrc.h:
4066           Documentation updates. Make BaseSink and BaseSrc docs contain the
4067           class structure so that people can actually see the prototypes for
4068           virtual functions they're supposed to be overriding.
4069
4070 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4071
4072         * plugins/elements/gsttypefindelement.c:
4073         (gst_type_find_element_chain):
4074           More debug info; when skipping typefinding, send cached
4075           events in all cases.
4076
4077 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4078
4079         * configure.ac:
4080           use new AS_VERSION and AS_NANO macros
4081         * gst/gst-i18n-lib.h:
4082         * gst/gst.c:
4083         * gst/gsterror.c:
4084         * gst/gstversion.h.in:
4085         * win32/common/config.h:
4086         * win32/common/config.h.in:
4087           update accordingly
4088
4089 2006-03-31  Michael Smith  <msmith@fluendo.com>
4090
4091         * plugins/elements/gsttypefindelement.c:
4092         (gst_type_find_element_chain):
4093           Do not typefind content if the buffers already have caps.
4094           Neccesary for icydemux (#333657), and the right thing to do anyway.
4095
4096 2006-03-30  Wim Taymans  <wim@fluendo.com>
4097
4098         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4099         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4100         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4101         (gst_base_sink_record_qos_observation),
4102         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4103         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4104         (gst_base_sink_change_state):
4105         More QoS measurements as described in the design doc.
4106         Get rid of ringbuffer with observations, running average is
4107         more simple and equally good.
4108         Calculates valid proportion now.
4109         Added beginning of flood measurement.
4110
4111 2006-03-29  Wim Taymans  <wim@fluendo.com>
4112
4113         * docs/design/part-qos.txt:
4114         * gst/gstclock.c:
4115         Small documentation updates and additions.
4116
4117 2006-03-29  Wim Taymans  <wim@fluendo.com>
4118
4119         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4120         (gst_base_src_send_event), (gst_base_src_loop),
4121         (gst_base_src_change_state):
4122         Perform the EOS logic when we reach the segment stop position.
4123         Fix compilation on gcc4.1
4124
4125 2006-03-29  Wim Taymans  <wim@fluendo.com>
4126
4127         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4128
4129         * plugins/elements/gstqueue.c: (gst_queue_init),
4130         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4131         (gst_queue_set_property):
4132         * plugins/elements/gstqueue.h:
4133         In queue, when EOS is received, if minimum threshold > max_size -
4134         current_level, there is chance that queue blocks forever in conditional
4135         item del wait. This is because the queue is not emptied completely due
4136         to minimum threshold.  Here is another approach. Instead of setting
4137         cur_levels to max in EOS, just zero all minimum threshold levels. This
4138         should make sure that queue gives out all data. When going to READY
4139         (stop) state, just reset the original minimum threshold levels.
4140         Fixes #336336.
4141
4142 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4143
4144         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4145         (gst_type_find_element_handle_event),
4146         (gst_type_find_element_send_cached_events),
4147         (gst_type_find_element_change_state):
4148         * plugins/elements/gsttypefindelement.h:
4149           When typefinding is done in push mode, we should cache
4150           events we receive during typefinding instead of just
4151           dropping them (e.g. newsegment, custom events from
4152           dvdreadsrc etc.) and then send them out once we've
4153           determined the type of the stream (and decodebin
4154           has had a chance to plug in a decoder/demuxer).
4155           
4156 2006-03-27  Wim Taymans  <wim@fluendo.com>
4157
4158         * docs/design/part-qos.txt:
4159         First QoS ideas.
4160
4161 2006-03-27  Wim Taymans  <wim@fluendo.com>
4162
4163         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4164
4165         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4166         (gst_base_src_send_event), (gst_base_src_change_state):
4167         Handle element seek correctly when we are streaming.
4168         Fixes #326998.
4169
4170 2006-03-24  Michael Smith  <msmith@fluendo.com>
4171
4172         * docs/faq/gst-uninstalled:
4173           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4174           allow you to correctly run intalled applications built against old 
4175           core, using plugins that require updated core (e.g. running
4176           installed totem against a full uninstalled gstreamer stack)
4177
4178 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4179
4180         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4181         more debug details
4182
4183 2006-03-24  Wim Taymans  <wim@fluendo.com>
4184
4185         * docs/gst/gstreamer-sections.txt:
4186         Rearrange the order of the methods so that related methods
4187         are grouped together in sections.
4188
4189 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4190
4191         * gst/gstelement.c:
4192           Little clarification in the docs
4193
4194 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4195
4196         * docs/README:
4197         formatting fix
4198         * plugins/elements/gstidentity.c:
4199         * plugins/elements/gstqueue.c:
4200         * plugins/elements/gsttee.c:
4201         * plugins/elements/gsttypefindelement.c:
4202         GST_ELEMENT_DETAILS formatting
4203
4204 2006-03-24  Wim Taymans  <wim@fluendo.com>
4205
4206         * libs/gst/base/gstbasesink.h:
4207         Only add fields, not insert or we break ABI.
4208
4209 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         * win32/common/libgstbase.def:
4212         * win32/common/libgstreamer.def:
4213           Update, add recently added functions.
4214
4215 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4216
4217         * docs/gst/gstreamer-sections.txt:
4218         * gst/gstutils.c: (gst_pad_query_peer_position),
4219         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4220         * gst/gstutils.h:
4221           API: add some new utility functions:
4222            - gst_pad_query_peer_position()
4223            - gst_pad_query_peer_duration()
4224            - gst_pad_query_peer_convert()
4225           
4226 2006-03-23  Wim Taymans  <wim@fluendo.com>
4227
4228         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4229         (gst_base_sink_init), (gst_base_sink_finalize),
4230         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4231         (gst_base_sink_set_property), (gst_base_sink_get_property),
4232         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4233         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4234         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4235         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4236         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4237         (gst_base_sink_preroll_object), (gst_base_sink_event),
4238         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4239         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4240         (gst_base_sink_query), (gst_base_sink_change_state):
4241         Decouple max-lateness and the fact that QoS messages are generated
4242         with a new property (qos).
4243         added API: GstBaseSink::async_play()
4244         Add vmethod so subclasses can be notified of ASYNC playing
4245         state changes.
4246         Collect timestamp start and stop to report better current
4247         position in EOS/PLAYING/PAUSED/READY/NULL.
4248         Refactor QoS/frame dropping and other measurements.
4249         API: GstBaseSrc::qos
4250         Fixes #326311
4251
4252         * libs/gst/base/gstbasesink.h:
4253         Added Private struct.
4254         API: gst_base_sink_set_qos_enabled()
4255         API: gst_base_sink_is_qos_enabled()
4256
4257 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4258
4259         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4260           If compiling against GLib-2.8 or newer, try to read the
4261           registry file using GMappedFile first before falling back
4262           to fopen() + fread() (#332151).
4263
4264 2006-03-22  Wim Taymans  <wim@fluendo.com>
4265
4266         * gst/gstinfo.c: (gst_debug_set_active),
4267         (gst_debug_category_set_threshold):
4268         Disable debugging unless explicitly activated.
4269         Fixes #335480.
4270
4271 2006-03-22  Wim Taymans  <wim@fluendo.com>
4272
4273         * gst/gstelement.c: (gst_element_set_locked_state),
4274         (gst_element_dispose):
4275         Cleanup the error case.
4276
4277         * gst/gstobject.c: (gst_object_dispose):
4278         print a critical when some object was disposed with
4279         a parent, also revive the object since it might
4280         crash the parent.
4281
4282 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4283
4284         * tools/gst-launch.1.in:
4285           Fix another typo.
4286
4287 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4288
4289         * configure.ac:
4290         * tests/check/Makefile.am:
4291           disable some tests when we don't have a registry
4292         * tests/check/gst/gstutils.c: (gst_utils_suite):
4293           don't build the part that needs parsing
4294
4295 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4296
4297         * gst/Makefile.am
4298         * tests/examples/Makefile.am:
4299           fix --disable-parse build
4300
4301 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4302
4303         * tools/gst-feedback.1.in:
4304           Fix typo: s/feeback/feedback/ (#133494).
4305
4306 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4307
4308         * tools/Makefile.am:
4309         * tools/gst-launch.1.in:
4310           Add FILES section and correct entry about GST_REGISTRY_PATH
4311           environment variable (#133495; #133494).
4312
4313 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4314
4315         * tools/Makefile.am:
4316         * tools/gst-md5sum.1.in:
4317         * tools/gst-md5sum.c:
4318           Remove gst-md5sum and man page (the md5sink element
4319           required was removed ages ago)
4320
4321 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4322
4323         * gst/gststructure.c: (gst_structure_id_set_value):
4324           Make sure that string fields in structures/taglists
4325           contain valid UTF-8 - we don't want to pass rubbish to
4326           applications because of a buggy plugin (cp. #334167).
4327
4328 2006-03-21  Edward Hervey  <edward@fluendo.com>
4329
4330         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4331         (gst_bin_handle_message_func):
4332         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4333         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4334         (gst_element_set_bus_func):
4335         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4336         * gst/gstminiobject.c: (gst_value_set_mini_object),
4337         (gst_value_take_mini_object):
4338         * gst/gstpad.c: (gst_pad_set_pad_template):
4339         * gst/gstpipeline.c: (gst_pipeline_dispose),
4340         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4341         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4342         (gst_collect_pads_chain):
4343         * libs/gst/net/gstnettimeprovider.c:
4344         (gst_net_time_provider_set_property):
4345         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4346         It's in fact all issues with gst_*object_replace().
4347
4348 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4349
4350         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4351         
4352         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4353         * pkgconfig/gstreamer-check.pc.in:
4354           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4355
4356 2006-03-21  Edward Hervey  <edward@fluendo.com>
4357
4358         * gst/gstbuffer.h:
4359         * gst/gstevent.h:
4360         * gst/gstmessage.h:
4361         gst_[buffer|event|message]_ref() macros are replaced by a static
4362         inline functions because gcc-4.1 will about if the return value
4363         isn't used.
4364         * tests/check/gst/gstevent.c: (event_probe):
4365         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4366
4367 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4368
4369         * gst/gstutils.h:
4370         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4371         the type' case. (Closes: #335195 for now). In the future, when we
4372         depend on GLib 2.10, we could also intern the type name using
4373         g_intern_static_string()
4374
4375 2006-03-20  Wim Taymans  <wim@fluendo.com>
4376
4377         * gst/gstbin.c: (gst_bin_handle_message_func),
4378         (bin_query_max_init), (bin_query_position_fold),
4379         (bin_query_position_done), (gst_bin_query):
4380         Position query should also take max of all streams.
4381
4382 2006-03-20  Wim Taymans  <wim@fluendo.com>
4383
4384         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4385         (gst_fake_src_finalize):
4386         Fix leaks in fakesrc.
4387
4388         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4389         Fix leaks in the testcase.
4390
4391 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4392
4393         * gst/gst_private.h:
4394           add win32 specific import decoration(__declspec(dllimport)) 
4395           for all extern GstDebugCategory * variables
4396         * win32/common/libgstbase.def:
4397         * win32/common/libgstcontroller.def:
4398         * win32/common/libgstreamer.def:
4399           Add some exports, remove empty lines
4400         * win32/common/libgstdataprotocol.def:
4401         * win32/common/libgstdataprotocol.dsp:
4402         * win32/common/libgstnet.def:
4403         * win32/common/libgstnet.dsp:
4404           new project files and exportation files added
4405         
4406 2006-03-19  Wim Taymans  <wim@fluendo.com>
4407
4408         * tests/check/libs/basesrc.c: (eos_event_counter):
4409         Use proper return value for probe.
4410
4411 2006-03-17  Wim Taymans  <wim@fluendo.com>
4412
4413         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4414         (gst_pad_push):
4415         Don't leak buffers, caps and pads on negotiation errors.
4416
4417 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4418
4419         * docs/faq/cvs.xml:
4420         * docs/faq/dependencies.xml:
4421         * docs/faq/developing.xml:
4422         * docs/faq/faq.xml:
4423         * docs/faq/general.xml:
4424         * docs/faq/getting.xml:
4425         * docs/faq/legal.xml:
4426         * docs/faq/troubleshooting.xml:
4427         * docs/faq/using.xml:
4428         Faq review and update.
4429
4430 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4431
4432         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4433         (gst_pad_push):
4434         Don't pound the cpu to pieces by checking get_caps when accept_caps
4435         is called with the same caps as the pad already has.
4436         Use GST_DEBUG_OBJECT when outputting caps change information.
4437
4438 2006-03-15  Wim Taymans  <wim@fluendo.com>
4439
4440         * gst/gstclock.c: (gst_clock_class_init):
4441         Fix docs.
4442
4443 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4444
4445         * gst/gstbuffer.h:
4446         Documentation fix.
4447
4448         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4449         (gst_pad_accept_caps), (gst_pad_configure_sink),
4450         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4451         Make the default acceptcaps behaviour be to check the requested 
4452         caps against the gst_pad_get_caps output. 
4453
4454         Ensure that gst_pad_accept_caps is used to check caps when a pad
4455         doesn't have a setcaps function, so that pads automatically refuse 
4456         caps that they don't allow in their pad template. (Fixes #332986)
4457
4458         When a buffer with attached caps is pushed, ensure that the source 
4459         pad receives those caps even if the element didn't call
4460         gst_pad_set_caps first.
4461
4462 2006-03-15  Wim Taymans  <wim@fluendo.com>
4463
4464         * libs/gst/base/gstadapter.c:
4465         Add some docs.
4466
4467 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4468
4469         * win32/common/libgstbase.def:
4470         * win32/common/libgstcontroller.def:
4471         * win32/common/libgstreamer.def:
4472           Add a whole bunch of missing functions (#334434).
4473
4474 2006-03-14  Wim Taymans  <wim@fluendo.com>
4475
4476         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4477         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4478         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4479         Better debug info when we receive a segment event.
4480         Reorganize a bit so we can pass the get_times() results around.
4481         Use the segment format when calculating the running time.
4482         Don't do QoS is sync is disabled or we have no clock or the
4483         element does not want us to sync to the clock.
4484         Don't drop buffers if QoS is disabled for now.
4485
4486 2006-03-14  Wim Taymans  <wim@fluendo.com>
4487
4488         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4489         Marked the stats property as unimplemented so people don't get
4490         wild ideas.
4491         Add debug message when regression goes wrong.
4492         Added some more docs.
4493
4494 2006-03-14  Wim Taymans  <wim@fluendo.com>
4495
4496         * gst/gstsegment.c: (gst_segment_to_stream_time):
4497         Return correct return type in case of errors.
4498
4499 2006-03-14  Wim Taymans  <wim@fluendo.com>
4500
4501         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4502           Don't segfault on invalid formats.
4503
4504 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4505
4506         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4507           Can't use gst_segment_to_running_time() when the segment
4508           is not in GST_TIME_FORMAT (like with filesink, for example).
4509           Stops flac encoding pipelines from spewing critical warnings
4510           at EOS (#331248).
4511           
4512 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4513
4514         * gst/gstpipeline.c: (gst_pipeline_class_init):
4515           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4516
4517         * plugins/elements/gsttypefindelement.c:
4518         (gst_type_find_element_handle_event):
4519           Don't try to typefind empty streams.
4520
4521 2006-03-14  Wim Taymans  <wim@fluendo.com>
4522
4523         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4524         (gst_base_sink_do_qos):
4525         Separate QoS calculation.
4526         Only drop buffers when lateness is bigger than the 
4527         duration of the buffer.
4528
4529 2006-03-13  Wim Taymans  <wim@fluendo.com>
4530
4531         * gst/gstpipeline.c: (gst_pipeline_set_property),
4532         (gst_pipeline_get_property), (do_pipeline_seek),
4533         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4534         (gst_pipeline_get_delay):
4535         Don't deadlock when reading properties.
4536
4537 2006-03-13  Wim Taymans  <wim@fluendo.com>
4538
4539         * libs/gst/base/gstbasetransform.c:
4540         (gst_base_transform_class_init), (gst_base_transform_init),
4541         (gst_base_transform_sink_event),
4542         (gst_base_transform_sink_eventfunc),
4543         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4544         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4545         (gst_base_transform_set_property),
4546         (gst_base_transform_get_property),
4547         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4548         (gst_base_transform_set_qos_enabled),
4549         (gst_base_transform_is_qos_enabled):
4550         * libs/gst/base/gstbasetransform.h:
4551         Make basetransform virtual method for src events too.
4552         Handle QOS in basetransform.
4553         API: gst_base_transform_update_qos()
4554         API: gst_base_transform_set_qos_enabled()
4555         API: gst_base_transform_is_qos_enabled()
4556
4557 2006-03-13  Wim Taymans  <wim@fluendo.com>
4558
4559         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4560         (gst_base_sink_do_sync):
4561         Small cleanups.
4562         Use QOS debug category.
4563
4564 2006-03-13  Wim Taymans  <wim@fluendo.com>
4565
4566         * plugins/elements/gstqueue.c:
4567         Very small doc update.
4568
4569 2006-03-13  Wim Taymans  <wim@fluendo.com>
4570
4571         * gst/gst_private.h:
4572         * gst/gstinfo.c: (_gst_debug_init):
4573         Added QOS debug category
4574
4575 2006-03-13  Wim Taymans  <wim@fluendo.com>
4576
4577         * docs/gst/gstreamer-sections.txt:
4578         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4579         * gst/gstbin.h:
4580         * gst/gstbus.c: (gst_bus_class_init):
4581         * gst/gstbus.h:
4582         * gst/gstclock.c:
4583         * gst/gstelement.c: (gst_element_set_locked_state):
4584         * gst/gstsegment.c:
4585         Documentation updates.
4586
4587         * gst/gstpipeline.c: (gst_pipeline_get_type),
4588         (gst_pipeline_class_init), (gst_pipeline_init),
4589         (gst_pipeline_dispose), (gst_pipeline_set_property),
4590         (gst_pipeline_get_property), (do_pipeline_seek),
4591         (gst_pipeline_send_event), (gst_pipeline_change_state),
4592         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4593         (gst_pipeline_get_delay):
4594         * gst/gstpipeline.h:
4595         Added methods for setting the delay.
4596         API: gst_pipeline_set_delay()
4597         API: gst_pipeline_get_delay()
4598         Add pipeline debug category
4599         Various cleanups.
4600         Updated docs.
4601         Don't reset stream time when seek failed.
4602
4603 2006-03-13  Wim Taymans  <wim@fluendo.com>
4604
4605         * docs/design/draft-klass.txt:
4606         * docs/design/part-clocks.txt:
4607         * docs/design/part-events.txt:
4608         * docs/design/part-gstbin.txt:
4609         * docs/design/part-gstpipeline.txt:
4610         * docs/design/part-messages.txt:
4611         * docs/design/part-negotiation.txt:
4612         * docs/design/part-overview.txt:
4613         * docs/design/part-preroll.txt:
4614         * docs/design/part-seeking.txt:
4615         * docs/design/part-states.txt:
4616         * docs/design/part-streams.txt:
4617         Documentation updates.
4618
4619 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4620
4621         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4622         us to leak strings...
4623
4624 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4625
4626         * libs/gst/net/gstnettimeprovider.c:
4627           fix docs
4628         * win32/common/config.h:
4629           update
4630
4631 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4632
4633         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4634
4635         * configure.ac:
4636           Don't check for libgnomeui (leftover from old examples
4637           that aren't built or disted any longer) (#334303).
4638           
4639 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4640
4641         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4642         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4643           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4644           there's no space left on the device.
4645
4646 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4647
4648         * gst/gstclock.h:
4649           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4650           to cast the input to GstClockTime before comparing with
4651           another GstClockTime value.
4652
4653 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4654
4655         * configure.ac:
4656           back to trunk
4657
4658 === release 0.10.4 ===
4659
4660 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4661
4662         * configure.ac:
4663           releasing 0.10.4, "Light"
4664
4665 2006-03-10  Michael Smith  <msmith@fluendo.com>
4666
4667         * libs/gst/dataprotocol/dataprotocol.c:
4668           Fix docs for dataprocotol to not get the return types completely
4669           wrong for a few functions.
4670
4671 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4672
4673         * docs/gst/gstreamer-sections.txt:
4674         * gst/gstpipeline.c: (gst_pipeline_class_init),
4675         (gst_pipeline_init), (gst_pipeline_set_property),
4676         (gst_pipeline_get_property), (gst_pipeline_change_state),
4677         (gst_pipeline_set_auto_flush_bus),
4678         (gst_pipeline_get_auto_flush_bus):
4679         * gst/gstpipeline.h:
4680           Add new API: gst_pipeline_set_auto_flush_bus() and
4681           gst_pipeline_get_auto_flush_bus() to disable automatic
4682           flushing of the pipeline's GstBus when going from READY
4683           to NULL state (#332045).
4684
4685 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4686
4687         * docs/gst/gstreamer-sections.txt:
4688         * gst/gsturi.c: (gst_uri_has_protocol):
4689         * gst/gsturi.h:
4690            Add new API: gst_uri_has_protocol() (#333779).
4691
4692 2006-03-09  Wim Taymans  <wim@fluendo.com>
4693
4694         * gst/gstclock.c: (gst_clock_entry_new),
4695         (gst_clock_id_compare_func), (gst_clock_id_wait),
4696         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4697         (gst_clock_init), (gst_clock_get_internal_time),
4698         (gst_clock_set_master), (do_linear_regression),
4699         (gst_clock_add_observation), (gst_clock_set_property):
4700         * gst/gstclock.h:
4701         Review docs.
4702         Small cleanups.
4703         Fix a possible segfault when the window-size is made smaller.
4704         Calculate jitter before performing the clock wait. Ideally
4705         the clock implementation should calculate jitter but we need
4706         API breakage for that.
4707
4708         * gst/gstsystemclock.c: (gst_system_clock_init):
4709         Docs review.
4710         
4711         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4712         Remove leftover else
4713
4714         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4715         (gst_systemclock_suite):
4716         Added check to test GST_CLOCK_DIFF.
4717
4718 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4719
4720         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4721         (gst_type_find_helper_get_range):
4722           If we are provided with the size, we should implement
4723           GstTypeFind::get_length, so that typefind functions who
4724           want to can actually peek at the middle of a file.
4725
4726 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4727
4728         * docs/manual/advanced-dataaccess.xml:
4729           Add some very very basic error checking.
4730
4731         * docs/pwg/appendix-checklist.xml:
4732           Some updates to the list of things to check when writing an element.
4733
4734 2006-03-08  Wim Taymans  <wim@fluendo.com>
4735
4736         * docs/design/part-element-transform.txt:
4737         Added some docs about the design of tranform elements.
4738
4739         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4740         (gst_base_src_loop), (gst_base_src_change_state):
4741         Mark buffers with the DISCONT flag.
4742
4743 2006-03-08  Michael Smith  <msmith@fluendo.com>
4744
4745         * gst/gstregistry.h:
4746         * gst/gstregistryxml.c: (gst_registry_save),
4747         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4748         (gst_registry_xml_save_pad_template),
4749         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4750         (gst_registry_xml_write_cache):
4751           Rewrite registry-saving to avoid race conditions and check for
4752           failed writes.
4753
4754 2006-03-08  Wim Taymans  <wim@fluendo.com>
4755
4756         * libs/gst/base/gstbasetransform.c:
4757         (gst_base_transform_transform_caps),
4758         (gst_base_transform_transform_size),
4759         (gst_base_transform_prepare_output_buffer),
4760         (gst_base_transform_get_unit_size),
4761         (gst_base_transform_buffer_alloc),
4762         (gst_base_transform_handle_buffer),
4763         (gst_base_transform_change_state):
4764         Cleanups, separate normal flow from errors, add sensible
4765         DEBUG lines.
4766         Don't try to renegotiate when allocating an output buffer.
4767         Also copy DISCONT buffer flag when copying a buffer.
4768         Reset the transform after we finish streaming, not during.
4769
4770 2006-03-08  Wim Taymans  <wim@fluendo.com>
4771
4772         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4773         Use last buffer timestamp in qos message.
4774
4775 2006-03-07  Wim Taymans  <wim@fluendo.com>
4776
4777         Patch by: Christophe Fergeau
4778
4779         * docs/pwg/advanced-tagging.xml:
4780         * docs/pwg/building-pads.xml:
4781           fixes #333416
4782
4783 2006-03-07  Wim Taymans  <wim@fluendo.com>
4784
4785         * docs/libs/gstreamer-libs-sections.txt:
4786         Added basesink new methods.
4787
4788         * gst/gstevent.c:
4789         * gst/gstevent.h:
4790         Docs updates. Flesh out the QoS docs.
4791
4792         * libs/gst/base/gstadapter.c:
4793         Small doc clarification about ownership and flushing.
4794
4795         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4796         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4797         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4798         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4799         * libs/gst/base/gstbasesink.h:
4800         API additions: 
4801         Added new methods to allow subclass to control max-lateness 
4802         and sync.
4803         Generate very basic QoS events based on last sync observation.
4804         Updated docs, fix typo, added some QoS blurb.
4805
4806         * libs/gst/base/gstbasesrc.c:
4807         Remove obsolete _get_state() calls from docs.
4808
4809 2006-03-07  Wim Taymans  <wim@fluendo.com>
4810
4811         * docs/libs/gstreamer-libs-sections.txt:
4812         * libs/gst/base/gstbasetransform.h:
4813         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4814         Fix docs for GstBaseSrc.
4815
4816 2006-03-07  Wim Taymans  <wim@fluendo.com>
4817
4818         * docs/gst/gstreamer-sections.txt:
4819         * gst/gstbuffer.h:
4820         * gst/gstvalue.c:
4821         * libs/gst/base/gstbasetransform.h:
4822         Small documentation fixes.
4823
4824 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4825
4826         * gst/gstvalue.c:
4827           Document thread-unsafety of gst_value_register_foo_func()
4828           when used at the same time as gst_value_foo() (#322628).
4829
4830 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4831
4832         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4833         (gst_push_src_check_get_range):
4834           Push sources don't support pull mode by default.
4835
4836 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4837
4838         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4839         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4840         (gst_base_src_default_check_get_range):
4841         * libs/gst/base/gstbasesrc.h:
4842           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4843           provide default implementation, and rename
4844           gst_base_src_check_get_range() to
4845           gst_base_src_pad_check_get_range() for clarity.
4846
4847 2006-03-06  Wim Taymans  <wim@fluendo.com>
4848
4849         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4850         Make property overridable.
4851
4852 2006-03-06  Wim Taymans  <wim@fluendo.com>
4853
4854         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4855         (gst_base_sink_init), (gst_base_sink_set_property),
4856         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4857         * libs/gst/base/gstbasesink.h:
4858         API addition: Make max-lateness a property.
4859
4860 2006-03-06  Wim Taymans  <wim@fluendo.com>
4861
4862         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4863         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4864         Don't ever draw a frame that is >10ms late.
4865
4866 2006-03-06  Michael Smith  <msmith@fluendo.com>
4867
4868         * gst/gstmessage.c: (_gst_message_copy):
4869           When copying a message, set the parent_refcount of the enclosed
4870           structure to point at the copy, not the original message.
4871
4872 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4873
4874         Patch by: Christophe Fergeau
4875
4876         * gst/gstutils.h:
4877           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4878           usable in c++ code (#333417)
4879
4880 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4881
4882         * gst/gstclock.h:
4883           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4884
4885 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * libs/gst/base/gstbasetransform.c:
4888         (gst_base_transform_transform_caps):
4889           Make sure caps are writable before passing them to
4890           gst_caps_append().
4891
4892 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4893
4894         * gst/gsterror.h:
4895           Fix some minor docs errors.
4896
4897 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899           Patch by: Ross Burton <ross at burtonini dot com>
4900
4901         * gst/gsterror.c: (_gst_resource_errors_init):
4902         * gst/gsterror.h:
4903           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4904
4905 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4906
4907         * gst/gst.c:
4908         Add a check and output a g_warning when GStreamer is built
4909         against GLib 2.6 but running against 2.8 or higher, and vice 
4910         versa. (Closes: #323542)
4911
4912 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4913
4914         * gst/parse/parse.l:
4915           Commit patch for parse_launch syntax from #331255. Removes 
4916           support for quoted strings and mimetypes when writing filtered 
4917           caps. See the bug report for more details - I'm pretty sure this
4918           obscure feature is not in use by _anyone_ anywhere.
4919
4920           With this simple change, the size of the gstreamer.so here 
4921           drops from 2193KB to 1565KB.
4922
4923 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4924
4925         * plugins/elements/gsttypefindelement.h:
4926         * plugins/elements/gsttypefindelement.c:
4927         (gst_type_find_element_src_event), (start_typefinding),
4928         (stop_typefinding), (gst_type_find_element_handle_event),
4929         (gst_type_find_element_chain),
4930         (gst_type_find_element_chain_do_typefinding):
4931           Use gst_type_find_helper_for_buffer() for chain-based
4932           typefinding.
4933
4934 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4935
4936         * plugins/elements/gsttypefindelement.c:
4937         (gst_type_find_element_class_init),
4938         (gst_type_find_element_set_property),
4939         (gst_type_find_element_get_property):
4940           Deprecate "maximum" property (not only was it only taken into
4941           account for typefinding in push-mode anyway, it also was never
4942           actually possible to set it in the first place because the
4943           property was registered with the numeric property ID for the
4944           "minimum" property). Register "maximum" property correctly,
4945           for the sake of future copy'n'pasters. Remove some cruft
4946           from property get/set functions.
4947
4948 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4949
4950         * plugins/elements/gsttypefindelement.c:
4951         (gst_type_find_element_activate):
4952           Use gst_type_find_helper_get_range() here, so we
4953           can honour the "minimum" property and also emit
4954           the signal with the correct probability of the found caps.
4955
4956 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * docs/libs/gstreamer-libs-sections.txt:
4959         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4960         (helper_find_suggest), (gst_type_find_helper_get_range),
4961         (gst_type_find_helper):
4962         * libs/gst/base/gsttypefindhelper.h:
4963           New API: gst_type_find_helper_get_range() (#333042).
4964
4965 2006-03-02  Michael Smith  <msmith@fluendo.com>
4966
4967         * gst/gstregistryxml.c: (load_feature):
4968           Asserting on a failure to read part of the registry is Not Cool.
4969           Just log a warning and return NULL (which is already handled)
4970
4971 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4972
4973         * win32/common/libgstbase.def:
4974           added export of gst_type_find_helper_for_buffer
4975         * win32/common/libgstbase.def:
4976           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4977           gst_ghost_pad_get_target
4978
4979 2006-02-28  Wim Taymans  <wim@fluendo.com>
4980
4981         * docs/design/draft-klass.txt:
4982         We use Filter now.
4983         Added Connector to mark elements that are only used to
4984         allow pipeline connections.
4985         Moved Debug to extra feature since most of them are 
4986         functionally something else.
4987
4988 2006-02-28  Wim Taymans  <wim@fluendo.com>
4989
4990         * docs/design/draft-klass.txt:
4991         Some updates and clarifications.
4992
4993 2006-02-28  Wim Taymans  <wim@fluendo.com>
4994
4995         * docs/design/draft-klass.txt:
4996         Proposal for klass field values.
4997
4998         * docs/design/part-streams.txt:
4999         Start of a doc describing stream anatomy.
5000
5001 2006-02-28  Wim Taymans  <wim@fluendo.com>
5002
5003         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5004         Help the compiler a bit with type registration.
5005         Use existing forward cod path instead of duplicating it when 
5006         handling a message.
5007         
5008         * gst/gstbus.c: (gst_bus_get_type):
5009         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5010         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5011         * gst/gstclock.c: (gst_clock_get_type):
5012         * gst/gstelement.c: (gst_element_get_type),
5013         * gst/gstelementfactory.c: (gst_element_factory_get_type):
5014         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5015         * gst/gstminiobject.c: (gst_mini_object_get_type):
5016         * gst/gstpad.c: (gst_pad_get_type):
5017         * gst/gstsegment.c: (gst_segment_get_type):
5018         * gst/gststructure.c: (gst_structure_get_type):
5019         * gst/gstsystemclock.c: (gst_system_clock_get_type):
5020         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5021         * gst/gstvalue.c:
5022         Help compiler with type registration.
5023
5024         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5025         Small doc update.
5026
5027 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * plugins/elements/gsttypefindelement.c:
5030         (gst_type_find_element_handle_event):
5031           When we get an EOS event and have not found a type yet
5032           (most likely because we had not yet accumulated
5033           TYPE_FIND_MIN_SIZE of data yet), try to determine the
5034           type given the data we have so far. Fixes typefinding
5035           for very short streams again, most notably quicktime
5036           redirections as used on Apple's trailer site (#331701).
5037
5038 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5039
5040         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5041         (gst_type_find_helper):
5042           Try typefinding factories with the highest rank first.
5043
5044 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5045
5046         * docs/libs/gstreamer-libs-docs.sgml:
5047         * docs/libs/gstreamer-libs-sections.txt:
5048         * libs/gst/base/gsttypefindhelper.c:
5049           Add section for typefind helper and add documentation
5050           for the old and the new function.
5051
5052 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5053
5054         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5055         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5056         (gst_type_find_helper_for_buffer):
5057         * libs/gst/base/gsttypefindhelper.h:
5058           New API: gst_type_find_helper_for_buffer() (#332723).
5059           
5060 2006-02-27  Michael Smith  <msmith@fluendo.com>
5061
5062         Patch by: Loïc Minier
5063
5064         * configure.ac:
5065         * docs/Makefile.am:
5066         * docs/slides/Makefile.am:
5067           prevent CVS directories getting disted.
5068
5069 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5072           Use the REFCOUNTING category for caps refcounting.
5073           
5074 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5075
5076         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5077           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5078
5079 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5080
5081         * plugins/elements/gsttypefindelement.c:
5082         (gst_type_find_element_activate):
5083           Use gst_pad_check_pull_range() before _activate_pull()
5084           to avoid unnecessary open/close (see #331690).
5085
5086 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5087
5088         * gst/gstutils.c:
5089           Docs enhancement: make it crystal clear what the
5090           gst_pad_add_*_probe() callbacks should look like.
5091
5092 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5093
5094         * libs/gst/base/gstbasesrc.c:
5095           Document how applications can stop recording from
5096           live sources (see #330996).
5097
5098 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5099
5100         * tests/check/Makefile.am:
5101         * tests/check/libs/basesrc.c: (eos_event_counter),
5102         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5103         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5104         (gst_basesrc_suite), (main):
5105           ... and add some tests for the base source EOS stuff.
5106
5107 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5108
5109         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5110           Test case originally showed the problem fixed below,
5111           but was then amended. Add checks back at the place
5112           where they used to be.
5113
5114 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5115
5116         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5117         (gst_base_src_init), (gst_base_src_loop),
5118         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5119         (gst_base_src_change_state):
5120         * libs/gst/base/gstbasesrc.h:
5121           Don't unconditionally send EOS when going from PAUSED to
5122           READY state, esp. make sure we don't send two EOS events
5123           in some cases (e.g. one when reaching EOS and one when
5124           going from PAUSED to READY). Also, we don't want to send
5125           EOS events when operating in pull mode. However, we do
5126           want to send an EOS event when shutting down a live
5127           source explicitly, for example (fixes #330996).
5128           
5129 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5130
5131         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5132           Update src->read_position after a seek when not using mmap.
5133           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5134
5135 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5136
5137         * gst/Makefile.am:
5138         * gst/gstparse.h:
5139         * gst/gstutils.c:
5140         * gst/gstutils.h:
5141         Make things work with --disable-parse as they do with 
5142         --disable-load-save - the symbols involved disappear, but the
5143         header is still installed and GST_DISABLE_PARSE is included via
5144         gstconfig.h
5145
5146 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5147
5148         * libs/gst/base/gstbasetransform.c:
5149         (gst_base_transform_change_state): Fix a stupid bug. I was 
5150         sure I compiled that.
5151
5152 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5153
5154         * gst/gstpad.c: (gst_pad_set_blocked_async):
5155         * gst/gstutils.c: (gst_pad_add_data_probe),
5156         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5157         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5158         (gst_pad_remove_buffer_probe): Make those function act on the
5159         ghostpad target when it's a ghostpad. (Closes #331727)
5160
5161 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5162
5163         * libs/gst/base/gstbasetransform.c:
5164         (gst_base_transform_change_state): Make basetransform reusable.
5165         (Closes #331898)
5166
5167 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5168
5169         * docs/random/release:
5170         Move the current documentation of how to do a release to the top
5171         of the file.
5172
5173         * gst/gstbin.c: (gst_bin_class_init),
5174         (gst_bin_handle_message_func):
5175         Allow multiple state-recalculation threads. (Closes #328873)
5176
5177 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5178
5179         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5180         * gst/gstpad.c: (gst_pad_set_event_function),
5181         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5182         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5183         2 strings. You can't use the STR_NULL macro on that.
5184
5185 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5186
5187         * gst/gstpad.c: (gst_pad_set_event_function),
5188         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5189         (gst_pad_set_getcaps_function)
5190         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5191           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5192           So now, we can use --gst-debug-level=5 on Windows
5193         * win32/common/libgstcontroller.def:
5194           Added export of gst_controller_init
5195         * win32/vs6/libgstcontroller.dsp:
5196           Fixed Release post build configuration
5197
5198 2006-02-17  Wim Taymans  <wim@fluendo.com>
5199
5200         * tests/check/gst/gstquery.c: (GST_START_TEST):
5201         Added another check.
5202
5203 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5204
5205         * plugins/elements/gsttypefindelement.c: (find_peek):
5206           We can do peeks at non-zero offsets, as long as they
5207           fall within the buffer we have.
5208
5209 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5210
5211         * tests/check/Makefile.am:
5212         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5213         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5214         (parse_suite), (main):
5215           Add testsuite for parse launch syntax
5216
5217 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5218
5219         * plugins/elements/gsttypefindelement.c:
5220         (gst_type_find_element_chain):
5221           When typefinding is unsuccessful in the chain function, don't
5222           error out immediately. Only error out with NO_CAPS_FOUND if
5223           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5224           otherwise simply wait for more data so we can try typefinding
5225           again with more data later. Also, don't attempt to typefind
5226           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5227           this should improve typefinding from network sources where the
5228           size of the first buffer can be somewhat random.
5229
5230 2006-02-14  Wim Taymans  <wim@fluendo.com>
5231
5232         * docs/gst/gstreamer-sections.txt:
5233         * gst/gstpadtemplate.c:
5234         * gst/gstpadtemplate.h:
5235         Fix padtemplate docs, fixes #328805.
5236
5237 2006-02-14  Wim Taymans  <wim@fluendo.com>
5238
5239         * tools/gst-launch.c: (main):
5240         NO_PREROLL is not an ERROR so don't send confusing messages
5241         to the user.
5242
5243 2006-02-14  Wim Taymans  <wim@fluendo.com>
5244
5245         Patch by: Torsten Schoenfeld
5246
5247         * gst/gstregistry.c: (gst_registry_get_default),
5248         (_gst_registry_cleanup):
5249         Protect default registry with lock and ref/sink it.
5250         Fixes #324818
5251
5252 2006-02-14  Wim Taymans  <wim@fluendo.com>
5253
5254         * gst/gstbuffer.c:
5255         * gst/gstquery.c: (gst_query_list_add_format),
5256         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5257         (gst_query_parse_formats_nth):
5258         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5259         Docs fixes.
5260
5261 2006-02-14  Wim Taymans  <wim@fluendo.com>
5262
5263         * docs/gst/gstreamer-sections.txt:
5264         Reworked query docs.
5265
5266         * gst/gstquery.c: (gst_query_new_formats),
5267         (gst_query_list_add_format), (gst_query_set_formats),
5268         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5269         (gst_query_parse_formats_nth):
5270         * gst/gstquery.h:
5271         Flesh out formats query, added some new methods.
5272         Fix part of #324398.
5273
5274         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5275         Added query creation tests.
5276
5277 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5278
5279         * gst/gstpad.c: (fixate_value):
5280         Add a default fixation for fraction lists.
5281
5282 2006-02-13  Wim Taymans  <wim@fluendo.com>
5283
5284         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5285         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5286         (gst_task_join):
5287         * gst/gsttask.h:
5288         Detect and warn for obvious deadlocks. fixes #320340
5289         Fix error case where lock was not released.
5290
5291         * tests/check/Makefile.am:
5292         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5293         (task_func), (gst_element_suite), (main):
5294         Add task check.
5295
5296 2006-02-13  Wim Taymans  <wim@fluendo.com>
5297
5298         * docs/gst/gstreamer-sections.txt:
5299         * gst/gstbus.c:
5300         Add new functions to docs.
5301
5302 2006-02-13  Wim Taymans  <wim@fluendo.com>
5303
5304         * docs/design/part-TODO.txt:
5305         Updated TODO list, basesrc supports seeking to non-bytes
5306         formats.
5307
5308         * docs/design/part-element-sink.txt:
5309         Update docs.
5310
5311         * gst/gstbin.c: (bin_replace_message),
5312         (gst_bin_handle_message_func):
5313         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5314         * gst/gstevent.c: (gst_event_finalize):
5315         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5316         (gst_pad_send_event):
5317         Use shiny new _TYPE_NAME macros.
5318
5319         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5320         Move debug statement up.
5321
5322         * gst/gstelement.c: (gst_element_set_locked_state):
5323         Add some debugging.
5324
5325 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5326
5327         * docs/gst/gstreamer-sections.txt:
5328         * gst/gstmessage.h:
5329         * gst/gstquery.h:
5330           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5331           macros (#330906). Also, document the already existing
5332           GST_QUERY_TYPE macro.
5333
5334 2006-02-13  Wim Taymans  <wim@fluendo.com>
5335
5336         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5337         (event_probe), (GST_START_TEST):
5338         Only events up to the pipeline EOS are counted, there are
5339         some more when going to NULL currently which we don't care
5340         about for now.
5341
5342 2006-02-13  Wim Taymans  <wim@fluendo.com>
5343
5344         * gst/gstpad.c: (gst_pad_send_event):
5345         Correctly check flushing and emit probes. fixes #330125
5346
5347 2006-02-10  Andy Wingo  <wingo@pobox.com>
5348
5349         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5350         structure.
5351         (gst_bus_init): Cache the location of the private data in the
5352         instance structure.
5353         (gst_bus_enable_sync_message_emission) 
5354         (gst_bus_disable_sync_message_emission): Implement new public
5355         functions.
5356         (gst_bus_post): Emit the sync-message signal if the user asked for
5357         it. Fixes #330684.
5358
5359         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5360         location of the bus-private structure.
5361         (gst_bus_enable_sync_message_emission)
5362         (gst_bus_disable_sync_message_emission): API addition
5363
5364 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5365
5366         Patch by: Vincent Torri
5367
5368         * docs/pwg/building-boiler.xml:
5369         PWG patch from #326800
5370
5371 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5372
5373         * configure.ac:
5374         * docs/Makefile.am:
5375         * docs/design/Makefile.am:
5376           Dist design docs.
5377
5378 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5379
5380         * configure.ac:
5381           back to CVS
5382
5383 === release 0.10.3 ===
5384
5385 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5386
5387         * configure.ac:
5388           releasing 0.10.3, "Like a virgin"
5389
5390 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5391
5392         * configure.ac:
5393           2nd prerelease of 0.10.3
5394           Bump libtool versioning.
5395
5396 2006-02-07  Andy Wingo  <wingo@pobox.com>
5397
5398         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5399         update last_stop if we're in TIME format and the timestamp is
5400         valid.
5401
5402         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5403         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5404         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5405         If we get a new newsegment with a different format, adapt
5406         accordingly.
5407
5408         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5409         of 0. Not a problem, really.
5410
5411         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5412         warn if sync=true.
5413
5414 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5415
5416         * configure.ac:
5417           Prelease of 0.10.3
5418
5419 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5420
5421         * win32/vs7:
5422           project files updated to the default vs7 configuration
5423         * win32/common/libgstbase.def:
5424         * win32/common/libgstreamer.def:
5425           added new symbols,
5426           removed empty lines,
5427           sorted all exported symbols alphabetically
5428         * win32/common/dirent.c:
5429         * win32/common/dirent.h:
5430         * win32/common/gchar.h:
5431           use windows line end.
5432           
5433 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5434
5435         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5436           Send EOS event when stopping.
5437
5438 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5439
5440         * docs/README:
5441           Tell folks what to do if the plugin-foobar.xml file
5442           hasn't been generated for a newly-added plugin.
5443
5444 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5445
5446         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5447         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5448         (gst_collect_pads_start), (gst_collect_pads_stop),
5449         (gst_collect_pads_event): Collectpads now holds a reference
5450         to the GstPad that was added. Indeed we don't want to look
5451         at pads that might just go away with no warning...
5452
5453 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5454
5455         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5456         (gst_collect_pads_start), (gst_collect_pads_stop),
5457         (gst_collect_pads_event), (gst_collect_pads_chain):
5458         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5459         Mark Nauwelaerts's patch on bug #328491.
5460
5461 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5462
5463         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5464         (gst_utils_suite):
5465           Add some simple tests for gst_parse_bin_from_description() and
5466           gst_bin_find_unconnected_pad() (#329069).
5467
5468 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5469
5470         * tools/gst-launch.c: (event_loop), (main):
5471           Catch errors during preroll (#320084).
5472
5473 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5474
5475         * plugins/elements/gsttypefindelement.c:
5476         (gst_type_find_element_activate):
5477           Post TYPE_NOT_FOUND error message when typefinding
5478           is unsuccessful in the activate function as well.
5479
5480 2006-02-02  Wim Taymans  <wim@fluendo.com>
5481
5482         * docs/design/part-element-sink.txt:
5483         Updated doc.
5484
5485 2006-02-02  Wim Taymans  <wim@fluendo.com>
5486
5487         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5488         (gst_base_sink_render_object),
5489         (gst_base_sink_queue_object_unlocked):
5490         Only keep track of prerollable items when we are 
5491         prerolling.
5492         Before rendering after preroll, always check if we
5493         have queued items.
5494         Added some more debugging.
5495
5496 2006-02-02  Wim Taymans  <wim@fluendo.com>
5497
5498         * gst/gstelement.c: (gst_element_continue_state),
5499         (gst_element_set_state_func), (gst_element_change_state):
5500         Fixed #326576, been running this for quite some time with
5501         no regressions at all.
5502
5503 2006-02-02  Wim Taymans  <wim@fluendo.com>
5504
5505         * common/gst.supp:
5506         Added more suppressions
5507
5508 2006-02-02  Wim Taymans  <wim@fluendo.com>
5509
5510         * docs/design/part-element-sink.txt:
5511         Updated document.
5512
5513         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5514         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5515         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5516         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5517         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5518         (gst_base_sink_preroll_object),
5519         (gst_base_sink_queue_object_unlocked),
5520         (gst_base_sink_queue_object), (gst_base_sink_event),
5521         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5522         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5523         (gst_base_sink_get_position), (gst_base_sink_change_state):
5524         * libs/gst/base/gstbasesink.h:
5525         Totally refactored matching the design doc.
5526         Use two segments, one to clip incomming buffers and another to
5527         perform sync.
5528         Handle queueing correctly, bypass the queue when playing.
5529         Make EOS cancelable.
5530         Handle errors correctly when operating in pull based mode.
5531
5532         * tests/check/elements/fakesink.c: (GST_START_TEST),
5533         (fakesink_suite):
5534         Added new check for sinks.
5535
5536 2006-02-02  Wim Taymans  <wim@fluendo.com>
5537
5538         * gst/gstsegment.c: (gst_segment_clip):
5539         No reason to refuse to clip when start == -1
5540
5541 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5542
5543         * docs/README:
5544         * docs/manual/intro-basics.xml:
5545         * docs/manual/intro-preface.xml:
5546         * docs/manual/manual.xml:
5547         * docs/pwg/advanced-dparams.xml:
5548         * docs/pwg/intro-basics.xml:
5549         * docs/pwg/intro-preface.xml:
5550         * docs/pwg/pwg.xml:
5551           describe dparams (controller) for plugins
5552           unify docs a little more
5553
5554 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5555
5556         * docs/gst/gstreamer-sections.txt:
5557         * gst/gstutils.c: (element_find_unconnected_pad),
5558         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5559         * gst/gstutils.h:
5560           Add new API: gst_parse_bin_from_description() and
5561           gst_bin_find_unconnected_pad() (#329069).
5562
5563 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5564
5565         * docs/manual/README:
5566           uncover a nasty detail of the docs build
5567
5568 2006-01-31  Wim Taymans  <wim@fluendo.com>
5569
5570         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5571         Don't cache duration messages if we're not going to use or
5572         free them.
5573
5574 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5575
5576         * docs/manual/advanced-dparams.xml:
5577         * docs/pwg/advanced-dparams.xml:
5578           more dparam docs
5579         * gst/gstindex.c:
5580           fix docs
5581         * libs/gst/controller/lib.c: (gst_controller_init):
5582           init just once
5583
5584 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5585
5586         * gst/gstelement.c: (gst_element_message_full):
5587           also show file/line/func if no additional debug was given
5588
5589 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5590         
5591         * win32/vs7/grammar.vcproj:
5592           activate copy of autogenerated files for Release mode
5593
5594 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5595         
5596         * win32/common/libgstreamer.def:
5597           export gst_value_compare
5598
5599 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5600
5601         * plugins/elements/Makefile.am:
5602         * plugins/elements/gstelements.c:
5603         * plugins/elements/gstfdsink.c: (_do_init),
5604         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5605         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5606         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5607         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5608         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5609         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5610         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5611         * plugins/elements/gstfdsink.h:
5612         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5613
5614 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5615
5616         * docs/manual/advanced-dparams.xml:
5617           describe controller
5618         * docs/manual/advanced-position.xml:
5619         * docs/manual/basics-init.xml:
5620         * docs/manual/manual.xml:
5621         * docs/manual/titlepage.xml:
5622         * docs/pwg/pwg.xml:
5623         * docs/pwg/titlepage.xml:
5624           cleanup xml (more to come)
5625         * libs/gst/controller/gstcontroller.c:
5626           fix typo
5627
5628 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5629         
5630         * win32/vs6/grammar.dsp:
5631           add autogen of gstmarshal.c,h for Release mode
5632                 
5633 2006-01-30  Wim Taymans  <wim@fluendo.com>
5634
5635         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5636         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5637         (gst_base_sink_handle_object), (gst_base_sink_event),
5638         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5639         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5640         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5641         (gst_base_sink_deactivate), (gst_base_sink_activate),
5642         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5643         (gst_base_sink_query), (gst_base_sink_change_state):
5644         Basesink cleanups, remove some old code.
5645         Handle the case where a subclass can preroll in the render
5646         method (mostly audiosinks).
5647         Handle more events.
5648         Remove some locks around variables that are now protected
5649         with the PREROLL_LOCK (clock_id, flushing, ..).
5650         Optimize position query some more, do correct locking.
5651         Remove old code to push queue in state change, this is not
5652         needed anymore since preroll blocks on all prerollable items 
5653         now.
5654         Almost implemented as described in design doc.
5655
5656 2006-01-30  Wim Taymans  <wim@fluendo.com>
5657
5658         * tests/check/gst/gstbin.c: (GST_START_TEST):
5659         Wait for refcount to settle down before checking.
5660
5661 2006-01-30  Wim Taymans  <wim@fluendo.com>
5662
5663         * docs/design/part-element-sink.txt:
5664         Pseudo code overview of desired sink behaviour regarding
5665         preroll.
5666
5667 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5668         * win32/vs6/grammar.dsp:
5669           fix some bugs in Release mode for autogenerated files
5670                 
5671 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5672         * win32/common/libgstbase.def:
5673         * win32/common/libgstreamer.def:
5674           export some new symbols: gst_base_src_set_format,
5675           gst_iterator_next, gst_structure_set_valist
5676
5677 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5678
5679         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5680         Set pad functions unconditionally. Fixes #329105.
5681
5682 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5683         * win32/vs8:
5684           add vs8 project files created by Sergey Scobich
5685
5686 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5687
5688         * gst/gstutils.c: (gst_element_unlink_pads):
5689         Don't leak pad references.
5690
5691         * tests/check/elements/fakesink.c: (GST_START_TEST):
5692         * tests/check/generic/sinks.c: (GST_START_TEST):
5693         * tests/check/generic/states.c: (GST_START_TEST):
5694         * tests/check/gst/gstbin.c: (GST_START_TEST):
5695         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5696         * tests/check/gst/gstelement.c: (GST_START_TEST):
5697         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5698         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5699         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5700         Fix a bunch of leaks. Make generic/sinks.c
5701         use a bit less cpu by slowing the buffer rate
5702         between fakesrc and fakesink.
5703         
5704 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5705         * gst/gstcaps.c:
5706         * gst/gstelement.c: (gst_element_send_event):
5707         * gst/gstevent.c:
5708         * gst/gstinfo.c:
5709         * gst/gstiterator.c:
5710         * gst/gstiterator.h:
5711         * gst/gstpad.c: (gst_pad_send_event):
5712         * gst/gststructure.c:
5713         * gst/gsturi.c:
5714         * gst/gstutils.c:
5715         * gst/gstvalue.c:
5716         * libs/gst/base/gstadapter.c:
5717           doc fixes, to link to function, just write gst_cool_function(), don't
5718           prefix with '#'
5719
5720 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5721
5722         * plugins/elements/gsttee.c: (gst_tee_do_push),
5723         (gst_tee_handle_buffer):
5724         Always prefer an actual return value from a src
5725         pad in place of NOT_LINKED. This means we return
5726         WRONG_STATE when all src pads are WRONG_STATE
5727         instead of NOT_LINKED.
5728
5729         Lock when replacing the last message to prevent
5730         racing with the get_property method.
5731
5732         Add debug output
5733
5734 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5735
5736         * tests/check/Makefile.am:
5737         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5738         (main):
5739         Add a very simple check that should have caught the memleak I fixed
5740         last night (if not for the slice allocator hiding it)
5741
5742 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5743
5744         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5745         (gst_bin_remove_func), (gst_bin_handle_message_func),
5746         (bin_query_duration_fold), (bin_query_generic_fold):
5747         Clean up references to the clock provider when disposed or when
5748         handling a clock-lost message from it.
5749
5750         Unref sinks when performing a query via gst_iterator_fold, as the
5751         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5752
5753         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5754         (gst_clock_set_master):
5755         Drop our reference to the master clock, if any, when we are disposed.
5756
5757         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5758         Chain up in dispose. 
5759
5760 2006-01-26  Wim Taymans  <wim@fluendo.com>
5761
5762         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5763         Add some debugging.
5764
5765 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5766
5767         * plugins/elements/gsttee.c: (gst_tee_do_push),
5768         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5769         handles pad being NOT_LINKED or in WRONG_STATE.
5770
5771 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5772
5773         * win32/MANIFEST:
5774           more updating
5775
5776 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * win32/MANIFEST:
5779           remove obsolete entry
5780
5781 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * docs/gst/gstreamer-sections.txt:
5784         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5785         (gst_bin_iterate_sources), (gst_bin_send_event):
5786         * gst/gstbin.h:
5787         * gst/gstelement.c: (gst_element_send_event):
5788         * gst/gstevent.c:
5789         * gst/gstpad.c: (gst_pad_send_event):
5790           added code for downstream events, reviewed docs in gstevent.c
5791
5792 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5793
5794         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5795         We only query position using the clock in the playing state.
5796         Query peer in the other cases.
5797         * win32/common/config.h: Updates.
5798
5799 2006-01-24  Wim Taymans  <wim@fluendo.com>
5800
5801         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5802         A clock entry that is scheduled for the exact time of the
5803         clock is still in time.
5804
5805         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5806         (gst_base_sink_do_sync):
5807         Add some more debug info.
5808
5809 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5810
5811         * win32/vs7:
5812           Add new vs7 project files and solution.
5813
5814 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5815
5816         * win32/vs7:
5817           all files removed as they were out-dated.
5818
5819 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5820
5821         * docs/random/release:
5822           update notes
5823         * gst/gstbin.c: (gst_bin_init):
5824         * gst/gstbus.c: (gst_bus_new):
5825         * gst/gstbus.h:
5826         * gst/gstpipeline.c: (gst_pipeline_init):
5827           use gst_bus_new(), improve logging, fix docs
5828         * win32/common/config.h:
5829           update for cvs build
5830
5831 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5832
5833         * autogen.sh:
5834           up required version of automake to 1.7
5835
5836 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5837
5838         * win32/common/libgstreamer.def:
5839           export gst_buffer_is_metadata_writable
5840
5841 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * docs/gst/gstreamer-sections.txt:
5844         * gst/gstevent.h:
5845           Add gst_event_replace() (#327001)
5846
5847 2006-01-20  Wim Taymans  <wim@fluendo.com>
5848
5849         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5850         Make it actually compile too..
5851
5852 2006-01-20  Wim Taymans  <wim@fluendo.com>
5853
5854         * gst/gstcaps.c:
5855         Clarify behaviour of _is_equal() when passing NULL parameters.
5856
5857         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5858         (gst_pad_set_caps):
5859         Cleanups. Don't unref NULL caps.
5860         When setting the same caps, protect caps of the pad with
5861         proper lock.
5862         Use full functionality of _is_equal() when comparing caps.
5863
5864 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5865
5866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5867         Don't loop infinitely if there are no buffers to present. Partially
5868         fixes #327197, but collectpads is just broken for reusing elements
5869         to do multiple encodes atm.
5870
5871 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5872
5873         * tools/gst-inspect.c: (print_element_features):
5874         * tools/gst-xmlinspect.c: (main):
5875         URL_HANDLER is not a plugin feature we can search for in
5876         the registry.
5877
5878 2006-01-19  Edward Hervey  <edward@fluendo.com>
5879
5880         * gst/gstelement.c: (gst_element_pads_activate): 
5881         When activating, do src pads first, then sink pads.
5882         When de-activating, do sink pads first, then src pads.
5883
5884 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5885
5886         * docs/gst/gstreamer-sections.txt:
5887         Add gst_index_add_associationv to the docs
5888
5889 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5890
5891         * gst/gstevent.c:
5892           Fix docs typo
5893
5894         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5895         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5896           Do some refactoring. Doesn't actually change functionality,
5897           but makes landing the DRAIN event easier later.
5898
5899 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5900
5901         * docs/pwg/advanced-scheduling.xml:
5902           Update from 0.9.x to 0.10 API and make example a bit
5903           clearer.
5904
5905 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5906
5907         * docs/gst/gstreamer-sections.txt:
5908         Add gst_buffer_(is|make)_metadata_writable methods.
5909
5910 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5911
5912         * docs/design/part-sparsestreams.txt:
5913         Update sparse streams doc, hopefully for greater clarity
5914
5915 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5916
5917         * docs/design/part-events.txt:
5918         Remove mention of FILLER events.
5919         Add DRAIN event.
5920
5921         * docs/design/part-sparsestreams.txt:
5922         Write some things about using NEWSEGMENT to keep sparse streams
5923         flowing.
5924
5925 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5926
5927         * gst/gstbin.c: (gst_bin_dispose):
5928           Guard gst_object_unref call against a NULL object (dispose
5929           can theoretically be called multiple times).
5930           
5931 2006-01-18  Wim Taymans  <wim@fluendo.com>
5932
5933         * gst/gstbin.c: (gst_bin_element_set_state):
5934         * gst/gstclock.c: (gst_clock_id_wait):
5935         Added some more debug info.
5936
5937         * libs/gst/base/gstadapter.c:
5938         Added more docs.
5939
5940         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5941         (gst_base_sink_do_sync), (gst_base_sink_chain):
5942         Added some comments.
5943
5944 2006-01-18  Wim Taymans  <wim@fluendo.com>
5945
5946         * tests/check/Makefile.am:
5947         * tests/check/elements/fakesink.c: (chain_async_buffer),
5948         (chain_async), (chain_async_return), (GST_START_TEST),
5949         (fakesink_suite), (main):
5950         Added fakesink test that checks prerolling and clipping
5951         behaviour.
5952
5953         * tests/check/gst/gstutils.c: (GST_START_TEST):
5954         Make check run faster so that buildbots don't timeout.
5955
5956 2006-01-18  Wim Taymans  <wim@fluendo.com>
5957
5958         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5959         (gst_base_sink_do_sync):
5960         Some cleanups.
5961         When the sink finishes blocking on the preroll buffer, it can
5962         immediatly render it instead of rendering when the next buffer
5963         arrives.
5964
5965 2006-01-18  Wim Taymans  <wim@fluendo.com>
5966
5967         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5968         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5969         (gst_base_sink_chain):
5970         Small cleanups.
5971         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5972         Don't store _last_stop if the buffer is dropped.
5973
5974 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5975
5976         * plugins/elements/gsttypefindelement.c:
5977         (gst_type_find_element_class_init):
5978           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5979           object method handler that sets the caps on the pad and we want
5980           that to happen before we emit the signal (fixes e.g. feeding a
5981           plain text file to decodebin).
5982
5983 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5984
5985         * gst/gstplugin.c: Add MPL and Proprietary as license options
5986
5987 2006-01-18  Andy Wingo  <wingo@pobox.com>
5988
5989         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5990         symbol was exported before, it appears this was just an oversight.
5991         Fixes #168703.
5992         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5993
5994         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5995         prototype to gint. OK since this prototype was not in the header.
5996
5997 2006-01-17  Andy Wingo  <wingo@pobox.com>
5998
5999         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6000         registry while we remove plugins.
6001
6002         * tools/gst-inspect.c (print_element_info): Don't unref the
6003         factory arg, that should be the responsibility of whatever code
6004         received the ref. Fixes a double-free when called from
6005         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6006         (main): Unref the factory if we have one.
6007         (print_element_list): No change -- relies on the
6008         plugin_feature_list_free to free the list of features.
6009
6010 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
6011
6012         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6013         (gst_buffer_make_metadata_writable):
6014         * gst/gstbuffer.h:
6015         * libs/gst/base/gstbasetransform.c:
6016         (gst_base_transform_prepare_output_buf):
6017         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6018         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6019           Replace gst_buffer_(make|is)_metadata_writable patch now
6020           that the release is out.
6021
6022 2006-01-17  Andy Wingo  <wingo@pobox.com>
6023
6024         * gst/gstregistry.c: Reflow design comment. Update so as to speak
6025         in the present tense without reference to versions.
6026
6027         * gst/gstregistry.c (gst_registry_add_plugin)
6028         (gst_registry_remove_plugin, gst_registry_remove_feature)
6029         (gst_registry_find_feature, gst_registry_get_feature_list)
6030         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6031         (gst_registry_lookup, gst_registry_scan_path)
6032         (_gst_registry_remove_cache_plugins)
6033         (gst_registry_get_feature_list_by_plugin): Add argument
6034         validation.
6035
6036 === release 0.10.2 ===
6037
6038 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
6039
6040         * configure.ac:
6041           releasing 0.10.2, "If man is five"
6042
6043 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6044
6045         * gst/gstbuffer.c:
6046         * gst/gstbuffer.h:
6047         * libs/gst/base/gstbasetransform.c:
6048         (gst_base_transform_prepare_output_buf):
6049         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6050         * tests/check/gst/gstbuffer.c: (gst_test_suite):
6051           Back out patch until after the release.
6052
6053 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6054
6055         * gst/gstminiobject.c:
6056           Spelling fix in docs.
6057         * ChangeLog - remove conflict indicator
6058
6059 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6060
6061         Reviewed By: Andy Wingo
6062
6063         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6064         (gst_buffer_make_metadata_writable):
6065         * gst/gstbuffer.h:
6066           Add gst_buffer_(is|make)_metadata_writable as analogues of
6067           gst_buffer_(is|make)_writable.
6068
6069         * libs/gst/base/gstbasetransform.c:
6070         (gst_base_transform_prepare_output_buf):
6071         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6072           Use name gst_buffer_(is|make)_metadata_writable functions.
6073
6074         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6075           Test gst_buffer_(is|make)_metadata_writable
6076         
6077           (Closes: #324162)
6078
6079 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6080
6081         * docs/manual/Makefile.am:
6082           don't do parallel make
6083         * configure.ac:
6084           AC_SUBST HOST_CPU
6085         * win32/common/config.h.in:
6086           add generations for HOST_CPU and GST_MAJORMINOR
6087         * win32/common/config.h:
6088           commit generated result
6089
6090 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6091
6092         * docs/manual/appendix-integration.xml:
6093           Update GNOME integration section to use gst_init_get_option_group()
6094           instead of the old popt stuff (#322911). Also, GNOME applications
6095           should  now use gconf*sink and gconf*src instead of the old gconf
6096           helper lib we had.
6097
6098 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6099
6100
6101         * docs/gst/gstreamer-docs.sgml:
6102         * docs/gst/gstreamer-sections.txt:
6103         * docs/libs/gstreamer-libs-sections.txt:
6104           add new API entries to the docs
6105         * libs/gst/controller/Makefile.am:
6106         * libs/gst/controller/gstcontroller.c:
6107         * libs/gst/controller/gstcontroller.h:
6108         * libs/gst/controller/gstcontrollerprivate.h:
6109         * libs/gst/controller/gsthelper.c:
6110         * libs/gst/controller/gstinterpolation.c:
6111           move private structs to private header
6112         * po/README:
6113           gstreamer-0.7 -> gstreamer-0.10
6114         * tests/check/libs/struct_i386.h:
6115           remove private structs
6116
6117 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6118
6119         * plugins/indexers/Makefile.am:
6120           Fixes as part of #317048
6121
6122 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6123
6124         * plugins/indexers/Makefile.am:
6125           fix #316086 - compilation when mmap is missing
6126
6127 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6128
6129         * libs/gst/base/gstbasesink.c:
6130           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6131           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6132         * win32/common/config.h:
6133           added some defines GST_MAJORMINOR and HOST_CPU
6134         * win32/common/libgstbase.def:
6135         * win32/common/libgstreamer.def:
6136           added some exported functions.
6137
6138 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6139
6140         * libs/gst/controller/gstcontroller.c:
6141         (gst_controlled_property_set_interpolation_mode),
6142         (gst_controlled_property_new):
6143         * libs/gst/controller/gstcontroller.h:
6144         * libs/gst/controller/gstinterpolation.c:
6145         (interpolate_none_get_string_value_array):
6146           make G_TYPE_STRING controlable
6147
6148 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6149
6150         * tools/README:
6151         * tools/gst-feedback.1.in:
6152         * tools/gst-inspect.1.in:
6153         * tools/gst-launch.1.in:
6154         * tools/gst-md5sum.1.in:
6155         * tools/gst-typefind.1.in:
6156         * tools/gst-xmlinspect.1.in:
6157         * tools/gst-xmllaunch.1.in:
6158           cleanup man-pages, remove reference to gst-register, document env-vars
6159
6160 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6161
6162         * gst/gstbuffer.c: (gst_buffer_span):
6163           gst_buffer_span should copy the timestamp of the first buffer
6164           if they were both originally overlapping subbuffers of the 
6165           same parent, using the same logic as the 'slow copy' case.
6166
6167 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6168
6169         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6170           Need to awaken ALL the pads when we pop a buffer, otherwise
6171           collectpads only works when there is 2 input streams.
6172
6173 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6174
6175         * docs/random/ensonic/media-device-daemon.txt:
6176           more ideas (dbus)
6177         * gst/gstbuffer.c:
6178           fix doc example, add clarification
6179         * tools/gst-launch.1.in:
6180           add initial info about GST_PLUGIN_PATH, needs more work
6181
6182 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6183
6184         * docs/manual/basics-bins.xml:
6185         * docs/manual/basics-elements.xml:
6186         * docs/manual/intro-basics.xml:
6187           Some more minor docs additions and updates.
6188
6189 2006-01-11  Wim Taymans  <wim@fluendo.com>
6190
6191         * docs/manual/basics-bins.xml:
6192         * docs/manual/basics-elements.xml:
6193         Some small fixes as pointed out by Ser-ver on IRC.
6194
6195 2006-01-10  Edward Hervey  <edward@fluendo.com>
6196
6197         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6198         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6199         the single-segment mode.
6200
6201 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6202
6203         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6204
6205         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6206         (gst_base_src_perform_seek), (gst_base_src_send_event),
6207         (gst_base_src_set_property), (gst_base_src_get_property),
6208         (gst_base_src_loop), (gst_base_src_start),
6209         (gst_base_src_activate_push):
6210         * libs/gst/base/gstbasesrc.h:
6211           Name (private) union; makes Sun's Forte compiler happy (#324900).
6212
6213 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6214
6215         * README:
6216           gst-register is gone.
6217
6218 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6219
6220         * gst/gstvalue.c: (_gst_value_initialize):
6221           make the G_TYPE_DATE instantiation work if debug is disabled
6222
6223 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6224
6225         * gst/gstmessage.c: (gst_message_parse_tag),
6226         (gst_message_parse_error), (gst_message_parse_warning):
6227           Don't crash when return location for error/warning debug
6228           string is NULL; add fact that return locations can be
6229           NULL to docs where appropriate.
6230
6231 2006-01-05  Wim Taymans  <wim@fluendo.com>
6232
6233         * gst/gstplugin.c: (gst_plugin_load_file):
6234         Replace strdup by g_strdup.
6235
6236 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6237
6238         * docs/pwg/advanced-types.xml:
6239           fix doc borkage
6240
6241 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6242
6243         submitted by: Abel Cheung
6244
6245         * po/LINGUAS:
6246         * po/zh_TW.po:
6247           Added Chinese (traditional) translation
6248
6249 2006-01-04  Wim Taymans  <wim@fluendo.com>
6250
6251         * docs/manual/basics-pads.xml:
6252         * docs/plugins/Makefile.am:
6253         * docs/plugins/gstreamer-plugins-docs.sgml:
6254         * docs/plugins/gstreamer-plugins-sections.txt:
6255         * docs/pwg/advanced-clock.xml:
6256         * docs/pwg/advanced-scheduling.xml:
6257         * docs/pwg/advanced-types.xml:
6258         * plugins/elements/gstfdsink.c:
6259         * plugins/elements/gstfdsrc.c:
6260         * plugins/elements/gstfdsrc.h:
6261         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6262         * plugins/elements/gstidentity.h:
6263         * plugins/elements/gstqueue.h:
6264         * plugins/elements/gsttee.c:
6265         * plugins/elements/gsttee.h:
6266         * plugins/elements/gsttypefindelement.c:
6267         (gst_type_find_element_class_init):
6268         * plugins/elements/gsttypefindelement.h:
6269         Small updates to various docs.
6270         Added core plugins to docs.
6271
6272 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6273
6274         * common/gst.supp:
6275           add a suppression for liboil's uninitialized variable
6276
6277 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6278
6279         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * gst/gstutils.h:
6282           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6283           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6284           compiler switch is being used (#325429).
6285
6286 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6287
6288         * gst/gstbin.c: (gst_bin_query):
6289           Disable duration query caching in bins until it gets
6290           fixed (see #324807).
6291
6292 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6293
6294         * tools/gst-inspect.c: (print_element_properties_info):
6295           Handle properties of POINTER and BOXED type.
6296
6297 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6298
6299         * gst/gst.c: (init_post):
6300           Init tags stuff and some other things before loading
6301           any static plugins (there may be other static plugins
6302           than just the GStreamer ones, and they may want to
6303           register their own tags or formats or whatever, and
6304           preferably without segfaulting).
6305
6306         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6307           Print at least a warning in the debug logs if we drop a
6308           query just because we don't know how to adjust the value
6309           in the particular format.
6310
6311 2005-12-24  David Schleef  <ds@schleef.org>
6312
6313         * tools/gstreamer-completion:
6314           Replacement for gst-complete written in sh and sed.  Only
6315           completes names of features, but that's 90% of what I want
6316           it for.  Properties are not available in registry.xml.  (Maybe
6317           they should be...)
6318
6319 === release 0.10.1 ===
6320
6321 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6322
6323         * configure.ac:
6324           releasing 0.10.1, "Nollaig chridheil"
6325
6326 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6327
6328         * docs/faq/cvs.xml:
6329           Add missing quote, should be make ERROR_CFLAGS="".
6330
6331 2005-12-20  Wim Taymans  <wim@fluendo.com>
6332
6333         * docs/design/part-trickmodes.txt:
6334         More documentation on trickmodes.
6335
6336 2005-12-20  Edward Hervey  <edward@fluendo.com>
6337
6338         * gst/gstcaps.c: (gst_static_caps_get_type):
6339         * gst/gstcaps.h:
6340           API addition: GST_TYPE_STATIC_CAPS
6341         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6342         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6343         * gst/gstpadtemplate.h:
6344           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6345         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6346         bindings.
6347
6348 2005-12-18  Wim Taymans  <wim@fluendo.com>
6349
6350         * libs/gst/base/gstadapter.c:
6351         * libs/gst/base/gstadapter.h:
6352         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6353         (gst_base_sink_get_position):
6354         * libs/gst/base/gstbasesink.h:
6355         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6356         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6357         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6358         (gst_base_src_send_event), (gst_base_src_update_length),
6359         (gst_base_src_get_range), (gst_base_src_loop),
6360         (gst_base_src_start):
6361         * libs/gst/base/gstbasesrc.h:
6362         * libs/gst/base/gstbasetransform.h:
6363         * libs/gst/base/gstcollectpads.h:
6364         * libs/gst/base/gstpushsrc.c:
6365         * libs/gst/base/gstpushsrc.h:
6366         * libs/gst/dataprotocol/dataprotocol.c:
6367         * libs/gst/dataprotocol/dataprotocol.h:
6368         * libs/gst/net/gstnetclientclock.h:
6369         * libs/gst/net/gstnettimeprovider.h:
6370         Documentation updates.
6371
6372 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6373
6374         * docs/manual/basics-helloworld.xml:
6375           Remove superfluous closing bracket in helloworld example.
6376
6377 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6378
6379         * tools/gst-launch.1.in:
6380           Update gst-launch man page; add a section with useful
6381           environment variables. Fixes #323882.
6382
6383 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6384
6385         * gst/gst.c:
6386         * gst/gst_private.h:
6387           change some char* into char[]
6388
6389 2005-12-16  Wim Taymans  <wim@fluendo.com>
6390
6391         * gst/gstregistryxml.c: (load_feature):
6392         Cleanups.
6393         Don't use g_object_unref on GstObjects so that we avoid
6394         leaks on unsafe glibs.
6395
6396 2005-12-16  Wim Taymans  <wim@fluendo.com>
6397
6398         * gst/gstbin.c: (gst_bin_recalc_state):
6399         Small doc updates.
6400
6401 2005-12-16  Wim Taymans  <wim@fluendo.com>
6402
6403         * common/check.mak:
6404         Added make forever target for check.
6405
6406 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6407
6408         * gst/gst.c: (init_post):
6409           make the registry cache file HOST_CPU-dependent
6410
6411 2005-12-16  Andy Wingo  <wingo@pobox.com>
6412
6413         * plugins/elements/gstbufferstore.c
6414         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6415         return value.
6416
6417         * tests/check/gst/gstobject.c
6418         (test_fake_object_name_threaded_unique): Pay attention to
6419         g_list_sort return value.
6420
6421 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * tools/gst-feedback-m.m:
6424           Update for 0.9/0.10 (fixes #323870).
6425
6426 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6427
6428         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6429           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6430           
6431         * tests/check/gst/gstminiobject.c: (my_foo_init),
6432         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6433         (test_value_collection), (gst_mini_object_suite):
6434           Add test to ensure refcounts end up as expected when passing
6435           GstMiniObjects through g_object_get() and g_object_set().
6436
6437 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6438
6439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6440         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6441         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6442         of collectpads. This version removes a lot of races without
6443         touching API/ABI. Yay !
6444
6445 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6446
6447         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6448           Don't allow activation of a srcpad in pull_range if it has no
6449           getrange function.
6450           Change some debug statements to be a little clearer
6451
6452         * plugins/elements/gsttypefindelement.c:
6453         (gst_type_find_handle_src_query):
6454           Check that we have a peer before executing queries thereupon.
6455
6456         * tests/examples/metadata/read-metadata.c: (message_loop):
6457           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6458           immediately return us any available message with 0 timeout.
6459
6460 2005-12-12  Michael Smith  <msmith@fluendo.com>
6461
6462         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6463           Don't unref factories after calling them.
6464         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6465         * plugins/elements/gsttypefindelement.c:
6466         (gst_type_find_element_chain):
6467           Free lists of factories after using them. Fixing typefinding memory
6468           leaks.
6469
6470 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6471
6472         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6473         (gst_plugin_feature_load):
6474           more meaningful debug output
6475         * configure.ac:
6476         * tests/Makefile.am:
6477         * tests/old/examples/Makefile.am:
6478           make make distcheck happy again
6479
6480 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6483           Catch the special case where we are operating chain-based,
6484           but the downstream peer pad has no chain function. Emit a
6485           custom error message in this case instead of letting the
6486           core generate one implying that this is some sort of core
6487           bug. It's not, it just means that whatever got plugged
6488           into the pipeline downstream when we announced the type
6489           can only operate pull-based, while our source can only
6490           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6491           Error string has not been marked for translation yet, as
6492           it probably needs some more work first.
6493
6494         (gst_type_find_element_get_best_possibility):
6495           Add helper function to find the best of all available
6496           found possibilities that qualify given the min. threshold.
6497
6498         (gst_type_find_element_handle_event):
6499           Fix the case where we get an EOS while still in TYPEFIND
6500           mode (we want to chose the best of all possible types,
6501           not just the first type that happens to be in our unsorted
6502           list of possible types).
6503
6504         (gst_type_find_element_chain):
6505           Make sure we return GST_FLOW_ERROR when we errored out
6506           in stop_typefinding(); also, don't just find the best of
6507           all found type entries and then use the last examined
6508           type entry, but actually use the best entry.
6509
6510 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6511
6512         * tests/examples/typefind/typefind.c: (type_found):
6513         * tests/examples/xml/runxml.c: (xml_loaded):
6514           More gcc4 fixes and a mem leak fix.
6515
6516 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6517
6518         * tests/examples/xml/createxml.c: (object_saved):
6519           gcc 4 fixes
6520
6521 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6522
6523         * tests/Makefile.am:
6524           enable the examples even more
6525
6526 2005-12-12  Andy Wingo  <wingo@pobox.com>
6527
6528         * libs/gst/net/gstnettimeprovider.c
6529         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6530         (gst_net_time_provider_set_property)
6531         (gst_net_time_provider_get_property):
6532         API addition: Export "active" as a GObject property.
6533         (gst_net_time_provider_thread): Only respond to time queries if
6534         the time provider is active.
6535
6536         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6537         NetTimeProvider, preserving binary compat.
6538
6539 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6540
6541         * tests/examples/controller/audio-example.c: (main):
6542         * tests/examples/launch/Makefile.am:
6543           convert comments again
6544
6545 2005-12-12  Wim Taymans  <wim@fluendo.com>
6546
6547         * libs/gst/base/gstpushsrc.c:
6548         Fix typo.
6549
6550 2005-12-12  Wim Taymans  <wim@fluendo.com>
6551
6552         * docs/libs/gstreamer-libs-sections.txt:
6553         Added new symbol to docs.
6554
6555         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6556         (gst_base_src_init), (gst_base_src_set_format),
6557         (gst_base_src_default_query), (gst_base_src_query),
6558         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6559         (gst_base_src_perform_seek), (gst_base_src_send_event),
6560         (gst_base_src_default_event), (gst_base_src_event_handler),
6561         (gst_base_src_set_property), (gst_base_src_get_property),
6562         (gst_base_src_wait), (gst_base_src_do_sync),
6563         (gst_base_src_update_length), (gst_base_src_get_range),
6564         (gst_base_src_check_get_range), (gst_base_src_loop),
6565         (gst_base_src_default_negotiate), (gst_base_src_start),
6566         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6567         (gst_base_src_change_state):
6568         * libs/gst/base/gstbasesrc.h:
6569         Implement seeking to other formats than _BYTES.
6570         Implement more seeking methods correctly.
6571         Doc updates.
6572         Added query vmethod.
6573         Added do_seek vmethod to make life easier for subclasses
6574         when seeking.
6575         API addition: gst_base_src_set_format()
6576
6577 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6578
6579         * tests/examples/Makefile.am:
6580           added that too
6581
6582 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6583
6584         * configure.ac:
6585         * docs/random/ensonic/media-device-daemon.txt:
6586         * tests/examples/controller/.cvsignore:
6587         * tests/examples/controller/Makefile.am:
6588         * tests/examples/controller/audio-example.c: (main):
6589         * tests/examples/helloworld/.cvsignore:
6590         * tests/examples/helloworld/Makefile.am:
6591         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6592         * tests/examples/launch/.cvsignore:
6593         * tests/examples/launch/Makefile.am:
6594         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6595         * tests/examples/metadata/.cvsignore:
6596         * tests/examples/metadata/Makefile.am:
6597         * tests/examples/metadata/read-metadata.c: (message_loop),
6598         (make_pipeline), (print_tag), (main):
6599         * tests/examples/queue/.cvsignore:
6600         * tests/examples/queue/Makefile.am:
6601         * tests/examples/queue/queue.c: (event_loop), (main):
6602         * tests/examples/typefind/.cvsignore:
6603         * tests/examples/typefind/Makefile.am:
6604         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6605         (main):
6606         * tests/examples/xml/.cvsignore:
6607         * tests/examples/xml/Makefile.am:
6608         * tests/examples/xml/createxml.c: (object_saved), (main):
6609         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6610         * tests/old/examples/Makefile.am:
6611         * tests/old/examples/TODO:
6612         * tests/old/examples/controller/.cvsignore:
6613         * tests/old/examples/controller/Makefile.am:
6614         * tests/old/examples/controller/audio-example.c:
6615         * tests/old/examples/helloworld/.cvsignore:
6616         * tests/old/examples/helloworld/Makefile.am:
6617         * tests/old/examples/helloworld/helloworld.c:
6618         * tests/old/examples/launch/.cvsignore:
6619         * tests/old/examples/launch/Makefile.am:
6620         * tests/old/examples/launch/mp3parselaunch.c:
6621         * tests/old/examples/launch/mp3play:
6622         * tests/old/examples/manual/Makefile.am:
6623         * tests/old/examples/metadata/Makefile.am:
6624         * tests/old/examples/metadata/read-metadata.c:
6625         * tests/old/examples/queue/.cvsignore:
6626         * tests/old/examples/queue/Makefile.am:
6627         * tests/old/examples/queue/queue.c:
6628         * tests/old/examples/typefind/.cvsignore:
6629         * tests/old/examples/typefind/Makefile.am:
6630         * tests/old/examples/typefind/typefind.c:
6631         * tests/old/examples/xml/.cvsignore:
6632         * tests/old/examples/xml/Makefile.am:
6633         * tests/old/examples/xml/createxml.c:
6634         * tests/old/examples/xml/runxml.c:
6635           applied some simple fixing to some examples
6636           re-enabled the working examples
6637
6638 2005-12-12  Wim Taymans  <wim@fluendo.com>
6639
6640         * gst/gstsegment.c: (gst_segment_init),
6641         (gst_segment_set_last_stop), (gst_segment_set_seek),
6642         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6643         (gst_segment_to_running_time):
6644         Added more documentation.
6645         Make sure the last_pos value is updated properly.
6646         Make sure to_stream_time and to_running_time don't
6647         operate on wrong values.
6648
6649         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6650         Update check.
6651
6652 2005-12-12  Michael Smith  <msmith@fluendo.com>
6653
6654         * plugins/elements/gsttypefindelement.c: (free_entry),
6655         (gst_type_find_element_chain):
6656           Now that we're not leaking factories, make sure we keep references
6657           to them while we need them.
6658
6659 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6660
6661         * tests/check/gst/struct_i386.h:
6662           ifdef out the XML structs
6663
6664 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6665
6666         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6667           floor is not needed, F is always positive; this obviates the
6668           need for adding -lm when building without libxml
6669
6670 2005-12-12  Wim Taymans  <wim@fluendo.com>
6671
6672         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6673         Take current playback rate into account when reporting
6674         the position.
6675
6676 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6677
6678         * docs/manual/mime-world.fig:
6679           Let's try this again, this time with a file that is
6680           actually in XFig format.
6681
6682 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6683
6684         * docs/manual/mime-world.fig:
6685           Add audioconvert element to diagram so that it
6686           matches the text and the code (fixes #319526).
6687
6688 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6689
6690         * docs/pwg/building-chainfn.xml:
6691         * docs/pwg/building-pads.xml:
6692         * docs/pwg/building-state.xml:
6693         * docs/pwg/other-source.xml:
6694           Update state change stuff for 0.10 (fixes #322969).
6695
6696 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6697
6698         * docs/manual/advanced-dataaccess.xml:
6699         * docs/manual/appendix-checklist.xml:
6700         * docs/manual/appendix-programs.xml:
6701         * docs/manual/basics-pads.xml:
6702         * docs/manual/highlevel-components.xml:
6703         * docs/manual/manual.xml:
6704           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6705           add converters in front of pipelines; remove curly
6706           brackets for threads stuff, they no longer exist; use
6707           GST_TYPE_FRACTION for framerates; update some pieces of
6708           code to 0.10, but there's plenty more to do.
6709
6710         * docs/manual/appendix-porting.xml:
6711           Expand on asynchroneous state changes; s/0.9/0.10/;
6712           mention disappearance of gst_init_get_popt_table()
6713           (fixes #322916).
6714
6715 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6716
6717         * docs/faq/using.xml:
6718           Spider no longer exists, and neither does gst-launch-ext.
6719           Update examples to use decodebin and playbin and put
6720           converters in front of sinks (fixes #323726).
6721
6722 2005-12-09  Michael Smith  <msmith@fluendo.com>
6723
6724         * plugins/elements/gsttypefindelement.c: (find_peek),
6725         (gst_type_find_element_chain):
6726           Fix leaking element factories in typefinding.
6727           Fix problem where we forgot about a probable type on non-seekable
6728           files, and thus later mis-typefound it.
6729
6730 2005-12-09  Michael Smith  <msmith@fluendo.com>
6731
6732         * common/m4/gst-makecontext.m4:
6733         * common/m4/gst-mcsc.m4:
6734         * configure.ac:
6735         * win32/common/config.h:
6736         * win32/common/config.h.in:
6737           Remove makecontext stuff; not used in 0.10 and causes problems on
6738           HPUX according to bug #322441
6739
6740 2005-12-07  Wim Taymans  <wim@fluendo.com>
6741
6742         * tests/check/Makefile.am:
6743         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6744         (main):
6745         * tests/check/libs/struct_i386.h:
6746         Added ABI check for libs
6747
6748 2005-12-07  Wim Taymans  <wim@fluendo.com>
6749
6750         * tests/check/Makefile.am:
6751         And add the struct_i386.h to dist.
6752
6753 2005-12-07  Wim Taymans  <wim@fluendo.com>
6754
6755         * tests/check/Makefile.am:
6756         * tests/check/gst/.cvsignore:
6757         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6758         (main):
6759         * tests/check/gst/struct_i386.h:
6760         Added check for ABI compatibility.
6761
6762 2005-12-07  Wim Taymans  <wim@fluendo.com>
6763
6764         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6765         (gst_fake_src_get_times), (gst_fake_src_create):
6766         Fix broken sync option, fixes #323259
6767
6768 2005-12-07  Wim Taymans  <wim@fluendo.com>
6769
6770         * gst/gstbuffer.c:
6771         Small docs update.
6772
6773         * gst/gstcaps.c: (gst_caps_is_equal):
6774         Don't assert on NULL <--> X. Fixes #323260
6775
6776         * gst/gstminiobject.c: (gst_mini_object_replace):
6777         If we're doing atomic operations, we might just as well use
6778         the proper way to get an atomic pointer.
6779
6780         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6781         Clean up debugging.
6782
6783 2005-12-07  Michael Smith  <msmith@fluendo.com>
6784
6785         * gst/parse/grammar.y:
6786           Remove handling of { } for threads.
6787
6788 2005-12-06  David Schleef  <ds@schleef.org>
6789
6790         * libs/gst/base/gstbasetransform.c: speling fix.
6791
6792 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6793
6794         * docs/libs/tmpl/gstdataprotocol.sgml:
6795         * docs/random/omega/testing/gstobject.c:
6796         * gst/gst.c:
6797         * gst/gstclock.c:
6798         * gst/gstelement.c:
6799         * gst/gstelementfactory.c:
6800         * gst/gsterror.c:
6801         * gst/gstevent.c:
6802         * gst/gstghostpad.c:
6803         * gst/gstinfo.c:
6804         * gst/gstpadtemplate.c:
6805         * gst/gstregistryxml.c:
6806         * gst/gsttaglist.c:
6807         * gst/gsttagsetter.c:
6808         * gst/gsttypefind.c:
6809         * gst/gstvalue.c:
6810         * libs/gst/base/gstbasesrc.c:
6811         * libs/gst/net/gstnetclientclock.c:
6812         * libs/gst/net/gstnettimeprovider.c:
6813         * plugins/elements/gstfakesrc.c:
6814         * plugins/elements/gstfdsrc.c:
6815         * plugins/elements/gstfilesrc.c:
6816         * plugins/elements/gstidentity.c:
6817         * plugins/elements/gstqueue.c:
6818         * plugins/elements/gsttypefindelement.c:
6819         * plugins/indexers/gstfileindex.c:
6820         * plugins/indexers/gstmemindex.c:
6821         * tests/check/gst/gsttag.c:
6822         * tests/old/examples/cutter/cutter.c:
6823         * tests/old/examples/mixer/mixer.c:
6824         * tests/old/examples/xml/runxml.c: (main):
6825         * tests/old/testsuite/caps/normalisation.c:
6826         * tests/old/testsuite/debug/global.c:
6827         * tests/old/testsuite/parse/parse1.c:
6828         * tools/gst-xmlinspect.c:
6829         * win32/common/dirent.c:
6830           expand tabs
6831
6832 === release 0.10.0 ===
6833
6834 2005-12-05   <thomas (at) apestaart (dot) org>
6835
6836         * configure.ac:
6837           releasing 0.10.0, "Maroilles"
6838
6839 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6840
6841         submitted by: Funda Wang <fundawang@linux.net.cn>
6842
6843         * po/LINGUAS:
6844         * po/zh_CN.po:
6845           added Chinese (Traditional) translation
6846
6847 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6848
6849         * docs/gst/gstreamer-sections.txt:
6850         * docs/libs/tmpl/gstdataprotocol.sgml:
6851         * docs/random/thomasvs/TODO:
6852         * gst/gstutils.c:
6853         * gst/gstutils.h:
6854           fix docs
6855
6856 2005-12-05  Andy Wingo  <wingo@pobox.com>
6857
6858         patch by: Wim Taymans <wim@fluendo.com>
6859
6860         * libs/gst/base/gstbasetransform.c
6861         (gst_base_transform_prepare_output_buf)
6862         (gst_base_transform_buffer_alloc):
6863         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6864         alloc_buffer_and_set_caps.
6865
6866         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6867         set_caps on the source pad.
6868         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6869         alloc_buffer used to do. Fixes #322874.
6870
6871         * docs/gst/gstreamer-sections.txt: 
6872         * docs/design/part-negotiation.txt: 
6873         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6874         changes.
6875
6876 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6877
6878         patch by: Sebastien Moutte
6879
6880         * win32/MANIFEST:
6881         * win32/common/config.h.in:
6882         * win32/vs6/libgstcontroller.dsp:
6883           win32 build fixes
6884
6885 2005-12-05  Wim Taymans  <wim@fluendo.com>
6886
6887         * gst/gstcaps.c: (gst_caps_is_equal):
6888         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6889         (gst_fake_src_create):
6890         Back out previous code changes, leave doc updates, file bugs 
6891         instead. 
6892
6893 2005-12-05  Wim Taymans  <wim@fluendo.com>
6894
6895         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6896         (gst_fake_src_get_times), (gst_fake_src_create):
6897         * plugins/elements/gstfakesrc.h:
6898         Fix broken sync code.
6899
6900 2005-12-05  Wim Taymans  <wim@fluendo.com>
6901
6902         * gst/gstcaps.c: (gst_caps_is_equal):
6903         Comparing NULL against !NULL yields different caps, not a
6904         failure.
6905
6906 2005-12-05  Wim Taymans  <wim@fluendo.com>
6907
6908         * gst/gstpipeline.c:
6909         Fix small typo in docs.
6910
6911 2005-12-05  Andy Wingo  <wingo@pobox.com>
6912
6913         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6914
6915         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6916         registries/plugins with a MAJORMINOR one.
6917         (plugin_desc): Rename library from gstcoreleements to
6918         staticelements. Fixes #323222.
6919
6920 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6921
6922         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6923           Change debug category to 'collectpads' from 'collect_pads'
6924           (fixes #323250).
6925
6926 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6927
6928         patch by: Sebastien Moutte
6929
6930         * libs/gst/controller/gstinterpolation.c:
6931           use convert function for uint64/double
6932         * win32/vs6/libgstcontroller.dsp:
6933           link to GLib
6934
6935 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6936
6937         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6938         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6939         * gst/gstutils.h:
6940         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6941           add tests that seem to show that the guint64/gdouble conversions
6942           are correct.
6943
6944 2005-12-02  Wim Taymans  <wim@fluendo.com>
6945
6946         * gst/gstregistry.c: (gst_registry_add_path):
6947         * gst/gstregistry.h:
6948         * gst/gstregistryxml.c:
6949         Fix docs again.
6950
6951 2005-12-02  Wim Taymans  <wim@fluendo.com>
6952
6953         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6954         (gst_util_uint64_scale_int):
6955         Small cleanup.
6956
6957         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6958         Add debug log line.
6959
6960         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6961         Add FIXME.
6962
6963 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6964
6965         * win32/MANIFEST:
6966         * win32/common/config.h:
6967         * win32/vs6/gstreamer.dsw:
6968         * win32/vs6/libgstcoreelements.dsp:
6969         * win32/vs6/libgstelements.dsp:
6970           renamed core elements plugin
6971
6972 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6973
6974         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6975         (get_candidates):
6976           do piece-wise major/minor comparison so 0.9 < 0.10
6977           also allow .exe extensions for tools
6978
6979 2005-12-02  Michael Smith  <msmith@fluendo.com>
6980
6981         * gst/gst.c:
6982           Escape a % to make gtkdoc happier; bug 322958.
6983
6984 === release 0.9.7 ===
6985
6986 2005-12-01   <thomas (at) apestaart (dot) org>
6987
6988         * configure.ac:
6989           releasing 0.9.7, "My Dog Has No Nose"
6990
6991 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6992
6993         * common/gst-xmlinspect.py:
6994         * configure.ac:
6995         * docs/libs/tmpl/gstdataprotocol.sgml:
6996         * docs/random/release:
6997         * po/af.po:
6998         * po/az.po:
6999         * po/bg.po:
7000         * po/ca.po:
7001         * po/cs.po:
7002         * po/de.po:
7003         * po/en_GB.po:
7004         * po/fr.po:
7005         * po/it.po:
7006         * po/nb.po:
7007         * po/nl.po:
7008         * po/ru.po:
7009         * po/sq.po:
7010         * po/sr.po:
7011         * po/sv.po:
7012         * po/tr.po:
7013         * po/uk.po:
7014         * po/vi.po:
7015         * win32/common/config.h:
7016         * win32/common/config.h.in:
7017         * win32/vs6/gst_inspect.dsp:
7018         * win32/vs6/gst_launch.dsp:
7019         * win32/vs6/libgstbase.dsp:
7020         * win32/vs6/libgstelements.dsp:
7021         * win32/vs6/libgstreamer.dsp:
7022         * win32/vs7/GStreamer.vcproj:
7023         * win32/vs7/gst-inspect.vcproj:
7024         * win32/vs7/gst-launch.vcproj:
7025         * win32/vs7/libgstbase.vcproj:
7026           bump GST_MAJORMINOR to 0.10
7027           reset libtool version
7028
7029 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7030
7031         * po/LINGUAS:
7032         * po/bg.po:
7033           Added Bulgarian translation by (Alexander Shopov)
7034
7035 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7036
7037         * tests/check/gst/gstplugin.c:
7038           fix test
7039
7040 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7041
7042         * common/gst-xmlinspect.py:
7043         * common/gtk-doc-plugins.mak:
7044         * configure.ac:
7045         * docs/Makefile.am:
7046         * docs/gst/Makefile.am:
7047         * docs/gst/gstreamer-docs.sgml:
7048         * docs/gst/gstreamer-sections.txt:
7049         * docs/gst/gstreamer.types:
7050         * docs/gst/gstreamer.types.in:
7051         * docs/plugins/Makefile.am:
7052         * docs/plugins/gstreamer-plugins-docs.sgml:
7053         * docs/plugins/gstreamer-plugins-sections.txt:
7054         * docs/plugins/gstreamer-plugins.types:
7055         * docs/plugins/inspect.stamp:
7056         * docs/plugins/inspect/plugin-coreelements.xml:
7057         * docs/plugins/inspect/plugin-coreindexers.xml:
7058         * docs/plugins/scanobj-build.stamp:
7059         * gstreamer.spec.in:
7060         * plugins/elements/Makefile.am:
7061         * plugins/elements/gstelements.c:
7062         * plugins/elements/gstfakesink.c:
7063         * plugins/elements/gstfakesrc.c:
7064         * plugins/elements/gstfilesink.c:
7065         * plugins/elements/gstfilesrc.c:
7066         * plugins/elements/gstqueue.c:
7067         * plugins/indexers/Makefile.am:
7068         * plugins/indexers/gstindexers.c:
7069           document core plugins in a separate document just like all the
7070           others
7071           rename these plugins to something starting with core
7072
7073 2005-12-01  Andy Wingo  <wingo@pobox.com>
7074
7075         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7076         padding here before, but it missed the commit.
7077
7078 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7079
7080         * libs/gst/controller/gstinterpolation.c:
7081           whitespace prices have crashed, we should feel free to use some now
7082           use gst_guint64_to_gdouble
7083
7084 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7085
7086         * libs/gst/controller/gstcontroller.c:
7087         * libs/gst/controller/gsthelper.c:
7088         * libs/gst/controller/gstinterpolation.c:
7089         * libs/gst/controller/lib.c:
7090           wrap config.h include
7091
7092 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7093
7094         * docs/gst/gstreamer-sections.txt:
7095           update docs
7096
7097 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7098
7099         * plugins/elements/gstelements.c:
7100         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7101         (gst_fd_sink__class_init), (gst_fd_sink__init),
7102         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7103         (gst_fd_sink__get_property):
7104         * plugins/elements/gstfdsink.h:
7105         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7106         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7107         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7108         (gst_fd_src_unlock), (gst_fd_src_set_property),
7109         (gst_fd_src_get_property), (gst_fd_src_create),
7110         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7111         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7112         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7113         (gst_fd_src_uri_handler_init):
7114         * plugins/elements/gstfdsrc.h:
7115         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7116           more anal cleanup
7117
7118 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7119
7120         * docs/gst/Makefile.am:
7121         * docs/gst/gstreamer.types.in:
7122         * gst/Makefile.am:
7123           fix the docs build
7124
7125 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7126
7127         * configure.ac:
7128         * gst/Makefile.am:
7129         * gst/gst.c:
7130         * gst/gstplugin.h:
7131         * gst/gstregistry.h:
7132         * tests/benchmarks/complexity.c:
7133         * tests/benchmarks/mass-elements.c:
7134         * tests/check/Makefile.am:
7135         * tools/Makefile.am:
7136         * tools/gst-inspect.c:
7137         * tools/gst-xmlinspect.c:
7138           various fixes to make
7139           --disable-nls --disable-registry --disable-loadsave
7140           --disable-parse --disable-gst-debug
7141           work and get the core .so down to 360444 bytes after stripping
7142
7143 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7144
7145         * Makefile.am:
7146         * configure.ac:
7147           descend into tests
7148         * docs/random/thomasvs/TODO:
7149         * tests/Makefile.am:
7150         * tests/README:
7151           add a README
7152
7153 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7154
7155         * win32/GStreamer.vcproj:
7156         * win32/MANIFEST:
7157         * win32/Makefile:
7158         * win32/Makefile.inspect:
7159         * win32/Makefile.launch:
7160         * win32/Makefile.register:
7161         * win32/README.txt:
7162         * win32/gst-inspect.vcproj:
7163         * win32/gst-launch.vcproj:
7164         * win32/gst-register.vcproj:
7165         * win32/gstelements.vcproj:
7166         * win32/gstgetbits.def:
7167         * win32/gstgetbits.vcproj:
7168         * win32/gstreamer-dbg.def:
7169         * win32/gstreamer.def:
7170         * win32/libgstbase.def:
7171         * win32/libgstbase.vcproj:
7172         * win32/link_oldruntime.c:
7173         * win32/mman.c:
7174         * win32/mman.h:
7175         * win32/mman.inl:
7176         * win32/msvc71.sln:
7177           move even more stuff, win32/ is nice and clean now
7178
7179 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7180
7181         * libs/gst/control/.cvsignore:
7182         * win32/MANIFEST:
7183         * win32/config.h:
7184         * win32/dirent.c:
7185         * win32/dirent.h:
7186         * win32/gstbytestream.def:
7187         * win32/gstbytestream.vcproj:
7188         * win32/gstconfig.h:
7189         * win32/gstenumtypes.c:
7190         * win32/gstenumtypes.h:
7191         * win32/gstoptimalscheduler.vcproj:
7192         * win32/gstversion.h:
7193         * win32/gtchar.h:
7194         * win32/testsuite/bins.vcproj:
7195         * win32/testsuite/bytestream.vcproj:
7196         * win32/testsuite/caps.vcproj:
7197         * win32/testsuite/cleanup.vcproj:
7198         * win32/testsuite/clock.vcproj:
7199         * win32/testsuite/debug.vcproj:
7200         * win32/testsuite/dlopen.vcproj:
7201         * win32/testsuite/dynparams.vcproj:
7202         * win32/testsuite/elements.vcproj:
7203         * win32/testsuite/ghostpads.vcproj:
7204         * win32/testsuite/indexers.vcproj:
7205         * win32/testsuite/negotiation.vcproj:
7206         * win32/testsuite/parse.vcproj:
7207         * win32/testsuite/plugin.vcproj:
7208         * win32/testsuite/refcounting.vcproj:
7209         * win32/testsuite/schedulers.vcproj:
7210         * win32/testsuite/states.vcproj:
7211         * win32/testsuite/tags.vcproj:
7212         * win32/testsuite/threads.vcproj:
7213           remove old win32 stuff that isn't maintained and should be
7214           reorganized
7215
7216 2005-11-30  Andy Wingo  <wingo@pobox.com>
7217
7218         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7219         loading the gst.interfaces python module bork.
7220
7221         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7222         available since GLib 2.2. Fixes #318031.
7223
7224 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7225
7226         * Makefile.am:
7227         * check/.cvsignore:
7228         * check/Makefile.am:
7229         * check/elements/.cvsignore:
7230         * check/elements/fakesrc.c:
7231         * check/elements/fdsrc.c:
7232         * check/elements/identity.c:
7233         * check/generic/.cvsignore:
7234         * check/generic/states.c:
7235         * check/gst-libs/.cvsignore:
7236         * check/gst-libs/controller.c:
7237         * check/gst-libs/gdp.c:
7238         * check/gst/.cvsignore:
7239         * check/gst/capslist.h:
7240         * check/gst/gst.c:
7241         * check/gst/gstbin.c:
7242         * check/gst/gstbuffer.c:
7243         * check/gst/gstbus.c:
7244         * check/gst/gstcaps.c:
7245         * check/gst/gstelement.c:
7246         * check/gst/gstevent.c:
7247         * check/gst/gstghostpad.c:
7248         * check/gst/gstiterator.c:
7249         * check/gst/gstmessage.c:
7250         * check/gst/gstminiobject.c:
7251         * check/gst/gstobject.c:
7252         * check/gst/gstpad.c:
7253         * check/gst/gstpipeline.c:
7254         * check/gst/gstplugin.c:
7255         * check/gst/gstsegment.c:
7256         * check/gst/gststructure.c:
7257         * check/gst/gstsystemclock.c:
7258         * check/gst/gsttag.c:
7259         * check/gst/gstutils.c:
7260         * check/gst/gstvalue.c:
7261         * check/net/.cvsignore:
7262         * check/net/gstnetclientclock.c:
7263         * check/net/gstnettimeprovider.c:
7264         * check/pipelines/.cvsignore:
7265         * check/pipelines/cleanup.c:
7266         * check/pipelines/simple_launch_lines.c:
7267         * check/pipelines/stress.c:
7268         * check/states/.cvsignore:
7269         * check/states/sinks.c:
7270         * configure.ac:
7271         * examples/Makefile.am:
7272         * examples/appreader/.cvsignore:
7273         * examples/appreader/Makefile.am:
7274         * examples/appreader/appreader.c:
7275         * examples/controller/.cvsignore:
7276         * examples/controller/Makefile.am:
7277         * examples/controller/audio-example.c:
7278         * examples/cutter/.cvsignore:
7279         * examples/cutter/Makefile.am:
7280         * examples/cutter/cutter.c:
7281         * examples/cutter/cutter.h:
7282         * examples/events/Makefile.am:
7283         * examples/events/seek.c:
7284         * examples/helloworld/.cvsignore:
7285         * examples/helloworld/Makefile.am:
7286         * examples/helloworld/helloworld.c:
7287         * examples/helloworld2/.cvsignore:
7288         * examples/helloworld2/Makefile.am:
7289         * examples/helloworld2/helloworld2.c:
7290         * examples/launch/.cvsignore:
7291         * examples/launch/Makefile.am:
7292         * examples/launch/mp3parselaunch.c:
7293         * examples/launch/mp3play:
7294         * examples/manual/.cvsignore:
7295         * examples/manual/Makefile.am:
7296         * examples/manual/extract.pl:
7297         * examples/metadata/Makefile.am:
7298         * examples/metadata/read-metadata.c:
7299         * examples/mixer/.cvsignore:
7300         * examples/mixer/Makefile.am:
7301         * examples/mixer/mixer.c:
7302         * examples/mixer/mixer.h:
7303         * examples/pingpong/.cvsignore:
7304         * examples/pingpong/Makefile.am:
7305         * examples/pingpong/pingpong.c:
7306         * examples/plugins/.cvsignore:
7307         * examples/plugins/Makefile.am:
7308         * examples/plugins/example.c:
7309         * examples/plugins/example.h:
7310         * examples/pwg/.cvsignore:
7311         * examples/pwg/Makefile.am:
7312         * examples/pwg/extract.pl:
7313         * examples/queue/.cvsignore:
7314         * examples/queue/Makefile.am:
7315         * examples/queue/queue.c:
7316         * examples/queue2/.cvsignore:
7317         * examples/queue2/Makefile.am:
7318         * examples/queue2/queue2.c:
7319         * examples/queue3/.cvsignore:
7320         * examples/queue3/Makefile.am:
7321         * examples/queue3/queue3.c:
7322         * examples/queue4/.cvsignore:
7323         * examples/queue4/Makefile.am:
7324         * examples/queue4/queue4.c:
7325         * examples/retag/.cvsignore:
7326         * examples/retag/Makefile.am:
7327         * examples/retag/retag.c:
7328         * examples/retag/transcode.c:
7329         * examples/thread/.cvsignore:
7330         * examples/thread/Makefile.am:
7331         * examples/thread/thread.c:
7332         * examples/typefind/.cvsignore:
7333         * examples/typefind/Makefile.am:
7334         * examples/typefind/typefind.c:
7335         * examples/xml/.cvsignore:
7336         * examples/xml/Makefile.am:
7337         * examples/xml/createxml.c:
7338         * examples/xml/runxml.c:
7339         * tests/Makefile.am:
7340         * tests/check/Makefile.am:
7341         * testsuite/.cvsignore:
7342         * testsuite/Makefile.am:
7343         * testsuite/Rules:
7344         * testsuite/caps/.cvsignore:
7345         * testsuite/caps/Makefile.am:
7346         * testsuite/caps/app_fixate.c:
7347         * testsuite/caps/audioscale.c:
7348         * testsuite/caps/caps.c:
7349         * testsuite/caps/caps.h:
7350         * testsuite/caps/caps_strings:
7351         * testsuite/caps/compatibility.c:
7352         * testsuite/caps/deserialize.c:
7353         * testsuite/caps/enumcaps.c:
7354         * testsuite/caps/eratosthenes.c:
7355         * testsuite/caps/filtercaps.c:
7356         * testsuite/caps/fixed.c:
7357         * testsuite/caps/fraction-convert.c:
7358         * testsuite/caps/fraction-multiply-and-zero.c:
7359         * testsuite/caps/intersect2.c:
7360         * testsuite/caps/intersection.c:
7361         * testsuite/caps/normalisation.c:
7362         * testsuite/caps/random.c:
7363         * testsuite/caps/renegotiate.c:
7364         * testsuite/caps/sets.c:
7365         * testsuite/caps/simplify.c:
7366         * testsuite/caps/string-conversions.c:
7367         * testsuite/caps/structure.c:
7368         * testsuite/caps/subtract.c:
7369         * testsuite/caps/union.c:
7370         * testsuite/debug/.cvsignore:
7371         * testsuite/debug/Makefile.am:
7372         * testsuite/debug/category.c:
7373         * testsuite/debug/commandline.c:
7374         * testsuite/debug/global.c:
7375         * testsuite/debug/output.c:
7376         * testsuite/debug/printf_extension.c:
7377         * testsuite/dlopen/.cvsignore:
7378         * testsuite/dlopen/Makefile.am:
7379         * testsuite/dlopen/dlopen_gst.c:
7380         * testsuite/dlopen/loadgst.c:
7381         * testsuite/elements/.cvsignore:
7382         * testsuite/elements/Makefile.am:
7383         * testsuite/elements/gst-inspect-check.in:
7384         * testsuite/elements/struct_i386.h:
7385         * testsuite/elements/struct_size.c:
7386         * testsuite/indexers/.cvsignore:
7387         * testsuite/indexers/Makefile.am:
7388         * testsuite/indexers/cache1.c:
7389         * testsuite/indexers/indexdump.c:
7390         * testsuite/parse/.cvsignore:
7391         * testsuite/parse/Makefile.am:
7392         * testsuite/parse/parse1.c:
7393         * testsuite/parse/parse2.c:
7394         * testsuite/plugin/.cvsignore:
7395         * testsuite/plugin/Makefile.am:
7396         * testsuite/plugin/README:
7397         * testsuite/plugin/dynamic.c:
7398         * testsuite/plugin/linked.c:
7399         * testsuite/plugin/loading.c:
7400         * testsuite/plugin/registry.c:
7401         * testsuite/plugin/static.c:
7402         * testsuite/plugin/static2.c:
7403         * testsuite/plugin/testplugin.c:
7404         * testsuite/plugin/testplugin2.c:
7405         * testsuite/plugin/testplugin2_s.c:
7406         * testsuite/plugin/testplugin_s.c:
7407         * testsuite/refcounting/.cvsignore:
7408         * testsuite/refcounting/Makefile.am:
7409         * testsuite/refcounting/bin.c:
7410         * testsuite/refcounting/element.c:
7411         * testsuite/refcounting/element_pad.c:
7412         * testsuite/refcounting/mainloop.c:
7413         * testsuite/refcounting/mem.c:
7414         * testsuite/refcounting/mem.h:
7415         * testsuite/refcounting/object.c:
7416         * testsuite/refcounting/pad.c:
7417         * testsuite/refcounting/sched.c:
7418         * testsuite/refcounting/thread.c:
7419         * testsuite/states/.cvsignore:
7420         * testsuite/states/Makefile.am:
7421         * testsuite/states/bin.c:
7422         * testsuite/states/locked.c:
7423         * testsuite/states/parent.c:
7424         * testsuite/threads/.cvsignore:
7425         * testsuite/threads/159566.c:
7426         * testsuite/threads/159852.c:
7427         * testsuite/threads/Makefile.am:
7428         * testsuite/threads/queue.c:
7429         * testsuite/threads/signals.c:
7430         * testsuite/threads/staticrec.c:
7431         * testsuite/threads/thread.c:
7432         * testsuite/threads/threadb.c:
7433         * testsuite/threads/threadc.c:
7434         * testsuite/threads/threadd.c:
7435         * testsuite/threads/threade.c:
7436         * testsuite/threads/threadf.c:
7437         * testsuite/threads/threadg.c:
7438         * testsuite/threads/threadh.c:
7439         * testsuite/threads/threadi.c:
7440           move all of these under tests
7441
7442 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7443
7444         * configure.ac:
7445         * tests/Makefile.am:
7446           fix distcheck
7447
7448 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7449
7450         * docs/gst/gstreamer-sections.txt:
7451         * tests/sched/.cvsignore:
7452         * tests/sched/Makefile.am:
7453         * tests/sched/cases/(fs-fs).xml:
7454         * tests/sched/cases/(fs-i-fs).xml:
7455         * tests/sched/cases/(fs-i-i-fs).xml:
7456         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7457         * tests/sched/dynamic-pipeline.c:
7458         * tests/sched/interrupt1.c:
7459         * tests/sched/interrupt2.c:
7460         * tests/sched/interrupt3.c:
7461         * tests/sched/runtestcases:
7462         * tests/sched/runxml.c:
7463         * tests/sched/sched-stress.c:
7464         * tests/sched/sort.c:
7465         * tests/sched/testcases:
7466         * tests/sched/testcases1.tc:
7467         * tests/seeking/.cvsignore:
7468         * tests/seeking/Makefile.am:
7469         * tests/seeking/seeking1.c:
7470         * tests/threadstate/.cvsignore:
7471         * tests/threadstate/Makefile.am:
7472         * tests/threadstate/test1.c:
7473         * tests/threadstate/test2.c:
7474         * tests/threadstate/threadstate1.c:
7475         * tests/threadstate/threadstate2.c:
7476         * tests/threadstate/threadstate3.c:
7477         * tests/threadstate/threadstate4.c:
7478         * tests/threadstate/threadstate5.c:
7479           remove obsolete tests
7480         * configure.ac:
7481         * tests/bench-complexity.scm:
7482         * tests/bench-mass_elements.scm:
7483         * tests/complexity.c:
7484         * tests/complexity.gnuplot:
7485         * tests/instantiate/.cvsignore:
7486         * tests/instantiate/Makefile.am:
7487         * tests/instantiate/caps.c:
7488         * tests/mass_elements.c:
7489         * tests/network-clock-utils.scm:
7490         * tests/network-clock.scm:
7491         * tests/plot-data:
7492         First pass at cleaning up tests/ dir before moving the rest
7493         Combined with CVS surgery
7494
7495 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7496
7497         * po/POTFILES.in:
7498           queue has moved, update
7499
7500 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7501
7502         * docs/gst/gstreamer-sections.txt:
7503           remove double entries from the docs
7504         * gst/gst_private.h:
7505         * gst/gstinfo.c: (_gst_debug_init):
7506           remove the THREAD debug category
7507         * gst/Makefile.am:
7508         * gst/gstqueue.c:
7509         * gst/gstqueue.h:
7510         * docs/gst/gstreamer.types:
7511         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7512         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7513           completely move queue and fix up debugging categories
7514
7515 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7516
7517         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7518           make initialization portable, using LL is not
7519
7520 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7521
7522         * win32/common/gstconfig.h:
7523           add large padding
7524
7525 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7526
7527         * win32/common/libgstreamer.def:
7528           rename symbols; sort base section
7529
7530 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7531
7532         * gst/gstclock.c: (do_linear_regression):
7533           remove crack non-portable handrolled DEBUG macro
7534
7535 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7536
7537         * docs/random/release:
7538           update notes
7539         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7540         (gst_object_flags_get_type), (register_gst_bin_flags),
7541         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7542         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7543         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7544         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7545         (gst_caps_flags_get_type), (register_gst_clock_return),
7546         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7547         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7548         (gst_clock_flags_get_type), (register_gst_state),
7549         (gst_state_get_type), (register_gst_state_change_return),
7550         (gst_state_change_return_get_type), (register_gst_state_change),
7551         (gst_state_change_get_type), (register_gst_element_flags),
7552         (gst_element_flags_get_type), (register_gst_core_error),
7553         (gst_core_error_get_type), (register_gst_library_error),
7554         (gst_library_error_get_type), (register_gst_resource_error),
7555         (gst_resource_error_get_type), (register_gst_stream_error),
7556         (gst_stream_error_get_type), (register_gst_event_type_flags),
7557         (gst_event_type_flags_get_type), (register_gst_event_type),
7558         (gst_event_type_get_type), (register_gst_seek_type),
7559         (gst_seek_type_get_type), (register_gst_seek_flags),
7560         (gst_seek_flags_get_type), (register_gst_format),
7561         (gst_format_get_type), (register_gst_index_certainty),
7562         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7563         (gst_index_entry_type_get_type),
7564         (register_gst_index_lookup_method),
7565         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7566         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7567         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7568         (gst_index_flags_get_type), (register_gst_debug_level),
7569         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7570         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7571         (gst_iterator_result_get_type), (register_gst_iterator_item),
7572         (gst_iterator_item_get_type), (register_gst_message_type),
7573         (gst_message_type_get_type), (register_gst_mini_object_flags),
7574         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7575         (gst_pad_link_return_get_type), (register_gst_flow_return),
7576         (gst_flow_return_get_type), (register_gst_activate_mode),
7577         (gst_activate_mode_get_type), (register_gst_pad_direction),
7578         (gst_pad_direction_get_type), (register_gst_pad_flags),
7579         (gst_pad_flags_get_type), (register_gst_pad_presence),
7580         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7581         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7582         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7583         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7584         (gst_plugin_flags_get_type), (register_gst_rank),
7585         (gst_rank_get_type), (register_gst_query_type),
7586         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7587         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7588         (gst_tag_flag_get_type), (register_gst_task_state),
7589         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7590         (gst_alloc_trace_flags_get_type),
7591         (register_gst_type_find_probability),
7592         (gst_type_find_probability_get_type), (register_gst_uri_type),
7593         (gst_uri_type_get_type), (register_gst_parse_error),
7594         (gst_parse_error_get_type):
7595         * win32/common/gstenumtypes.h:
7596         * win32/common/gstversion.h:
7597           update visual studio generated files
7598
7599 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7600
7601         * win32/vs6/libgstbase.dsp:
7602         * win32/vs6/libgstelements.dsp:
7603           update project files for new locations
7604
7605 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7606
7607         * Makefile.am:
7608           remove some files
7609         * README:
7610           reinstate and update
7611         * DEVEL:
7612         * REQUIREMENTS:
7613           removed
7614         * LICENSE:
7615         * docs/random/LICENSE:
7616           moved to random
7617
7618 2005-11-30  Edward Hervey  <edward@fluendo.com>
7619
7620         * gst/gsttypefind.c: (gst_type_find_register):
7621         * gst/gsttypefind.h:
7622         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7623         (gst_type_find_factory_dispose):
7624         * gst/gsttypefindfactory.h:
7625         Fix memory leak in GstTypeFindFactory.
7626
7627 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7628
7629         * gst/gst.c:
7630         * plugins/elements/Makefile.am:
7631         * plugins/elements/gstelements.c:
7632         * plugins/elements/gstqueue.c:
7633           move queue from core to the elements plugin
7634
7635 2005-11-29  Andy Wingo  <wingo@pobox.com>
7636
7637         * libs/gst/base/gstbasetransform.h: 
7638         * libs/gst/base/gstbasesrc.h: 
7639         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7640
7641         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7642         of pointers by which to pad very extensible base classes (like the
7643         ones in libs/gst/base).
7644
7645 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7646
7647         * docs/gst/gstreamer-docs.sgml:
7648         * docs/gst/gstreamer-sections.txt:
7649         * docs/libs/gstreamer-libs-docs.sgml:
7650         * docs/libs/gstreamer-libs-sections.txt:
7651           moving documentation from core to lib
7652
7653 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7654
7655         * check/Makefile.am:
7656         * configure.ac:
7657         * docs/gst/Makefile.am:
7658         * gst/Makefile.am:
7659         * gst/base/.cvsignore:
7660         * gst/base/Makefile.am:
7661         * gst/base/README:
7662         * gst/base/gstadapter.c:
7663         * gst/base/gstadapter.h:
7664         * gst/base/gstbasesink.c:
7665         * gst/base/gstbasesink.h:
7666         * gst/base/gstbasesrc.c:
7667         * gst/base/gstbasesrc.h:
7668         * gst/base/gstbasetransform.c:
7669         * gst/base/gstbasetransform.h:
7670         * gst/base/gstcollectpads.c:
7671         * gst/base/gstcollectpads.h:
7672         * gst/base/gstpushsrc.c:
7673         * gst/base/gstpushsrc.h:
7674         * gst/base/gsttypefindhelper.c:
7675         * gst/base/gsttypefindhelper.h:
7676         * gst/check/Makefile.am:
7677         * gst/check/gstcheck.c:
7678         * gst/check/gstcheck.h:
7679         * gst/net/Makefile.am:
7680         * gst/net/gstnet.h:
7681         * gst/net/gstnetclientclock.c:
7682         * gst/net/gstnetclientclock.h:
7683         * gst/net/gstnettimepacket.c:
7684         * gst/net/gstnettimepacket.h:
7685         * gst/net/gstnettimeprovider.c:
7686         * gst/net/gstnettimeprovider.h:
7687         * libs/gst/Makefile.am:
7688         * libs/gst/base/Makefile.am:
7689         * libs/gst/base/gstbasetransform.c:
7690         * libs/gst/check/Makefile.am:
7691         * plugins/elements/Makefile.am:
7692         * po/POTFILES.in:
7693           CVS surgery + support to move base, check, and net out of gst
7694           and into libs/gst
7695
7696 2005-11-29  Andy Wingo  <wingo@pobox.com>
7697
7698         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7699
7700         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7701         padding.
7702
7703         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7704
7705         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7706
7707         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7708
7709         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7710         padding; reduces object size by about 30%. We don't expect
7711         anything else to go into gstobject.
7712
7713         * gst/gstminiobject.h (struct _GstMiniObject)
7714         (struct _GstMiniObjectClass): Only one pointer of padding; the
7715         payload is only a pointer and two ints anyway. For the class there
7716         are only two methods as well.
7717         
7718         * gst/gstelement.h (struct _GstElementClass): Removed
7719         the state_changed signal callback, it is not used.
7720
7721 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7722
7723         * docs/gst/gstreamer.types:
7724           fix includes, though they are a little dinky
7725
7726 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7727
7728         * check/Makefile.am:
7729           look in the right place for elements, a lot more chance of
7730           success
7731         * gst/Makefile.am:
7732           remove indexers and elements subdirs
7733         * plugins/Makefile.am:
7734           make indexers conditional
7735
7736 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7737
7738         * Makefile.am:
7739         * configure.ac:
7740         * plugins/elements/Makefile.am:
7741         * plugins/elements/gstcapsfilter.c:
7742         * plugins/elements/gstfilesink.c:
7743         * plugins/elements/gstfilesrc.c:
7744         * plugins/elements/gstidentity.c:
7745         * plugins/indexers/Makefile.am:
7746           do CVS surgery and related build fixery to move elements
7747           and indexers in a new gstreamer/plugins directory, out of the
7748           gst/ directory
7749
7750 2005-11-29  Andy Wingo  <wingo@pobox.com>
7751
7752         * check/Makefile.am:
7753         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7754         * pkgconfig/gstreamer-net.pc.in:
7755         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7756         #322257.
7757
7758 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7759
7760         * tools/Makefile.am:
7761         * tools/gst-complete.1.in:
7762         * tools/gst-complete.c:
7763         * tools/gst-compprep.1.in:
7764         * tools/gst-compprep.c:
7765           removing -compprep and -complete
7766
7767 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7768
7769         * gst/gstevent.c: (gst_event_new_new_segment),
7770         (gst_event_parse_new_segment):
7771         * gst/gstevent.h:
7772           fix #320529 - clean up new_segment API and structure.
7773           Let's hope everyone was using the methods, and not the structure.
7774
7775 2005-11-29  Edward Hervey  <edward@fluendo.com>
7776
7777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7778         (gst_base_sink_event), (gst_base_sink_do_sync),
7779         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7780         Properly handle non GST_FORMAT_TIME segment
7781         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7782         Properly handle non GST_FORMAT_TIME segment
7783         * gst/gstsegment.c:
7784         This function is valid if the accumulator is 0 and the format
7785         is different from the requested format.
7786         
7787 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7788
7789         * docs/gst/gstreamer-sections.txt:
7790         Add gst_query_new_seeking and gst_query_parse_seeking to the
7791         docs.
7792
7793 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7794
7795         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7796           Treat a pad alloc with new caps the same as if we were not
7797           negotiated, in order to allow a changing upstream output
7798           to produce a new format of data.
7799
7800 2005-11-29  Edward Hervey  <edward@fluendo.com>
7801
7802         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7803         (gst_base_transform_event), (gst_base_transform_eventfunc):
7804         The event virtual method is now properly implemented, with a default
7805         handler
7806         Sub classes should call the parent_class event method. They should
7807         return FALSE if they had a problem handling the given event, or don't
7808         want GstBaseTransform to send that even downstream
7809         * gst/elements/gstidentity.c: (gst_identity_class_init),
7810         (gst_identity_init), (gst_identity_event),
7811         (gst_identity_transform_ip), (gst_identity_set_property),
7812         (gst_identity_get_property):
7813         * gst/elements/gstidentity.h:
7814         Added the single-segment boolean property.
7815         If set to TRUE, it will output a single segment of data, starting from
7816         0, will eat up all incoming newsegment, and modify the timestamp of the
7817         buffers accordingly
7818
7819 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7820
7821         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7822           Don't ref NULL target pad (#322751). Improve docs.
7823
7824 2005-11-29  Michael Smith  <msmith@fluendo.com>
7825
7826         * gst/gstregistryxml.c: (load_plugin):
7827           Don't crash if we failed to load a feature from a plugin. 
7828
7829 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7830
7831         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7832         (GST_START_TEST):
7833           use more check API and less GLib API
7834
7835 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7836
7837         * Makefile.am:
7838           don't run checks if we don't have check
7839         * common/check.mak:
7840           remove the registry when running make torture
7841         * docs/gst/gstreamer-sections.txt:
7842           remove second multiply
7843         * gst/gstqueue.c: (gst_queue_loop):
7844           fix a compile warning when disabling debug
7845
7846 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7847
7848         * gst/gstinfo.h:
7849         Hey! Let's print the pad name if the pointer != NULL instead
7850         of when it == NULL :-)
7851
7852 2005-11-28  Wim Taymans  <wim@fluendo.com>
7853
7854         * check/gst/gstutils.c: (GST_START_TEST):
7855         Updated check, add some scaling accuracy checking code.
7856
7857         * gst/gstutils.c: (gst_util_div128_64),
7858         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7859         (gst_util_uint64_scale_int):
7860         Fix 6 times faster division code. Optimize for common 
7861         1/1 and less common X/1 cases.
7862
7863 2005-11-28  Wim Taymans  <wim@fluendo.com>
7864
7865         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7866         More checks.
7867
7868         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7869         (do_linear_regression), (gst_clock_add_observation):
7870         Cleanups.
7871         Release lock when the clock cannot be slaved.
7872         Catch the case where the regression returned an invalid denominator.
7873
7874         * gst/gstutils.c: (gst_util_div128_64_iterate),
7875         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7876         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7877         Add protentially more performant non-iterative 128/64 divide function
7878         that unfortunatly does not work yet.
7879         Shortcut the trivial 0/X = 0 case.
7880         Remove the warnings on overflow.
7881
7882 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7883
7884         * gst/gstplugin.c: (gst_plugin_register_func):
7885           everything causing a plugin not to load should be at least a WARNING
7886
7887 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7888
7889         * docs/random/ensonic/dparams.txt:
7890           some TODOs for the next dev cycle
7891         * libs/gst/controller/gstcontroller.c:
7892         (gst_controlled_property_set_interpolation_mode),
7893         (gst_controlled_property_new):
7894         * libs/gst/controller/gstcontroller.h:
7895           use base type to assign acccessor functions
7896
7897 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7898
7899         * check/Makefile.am:
7900         Oops, that should have been top_srcdir
7901
7902 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7903
7904         * check/Makefile.am:
7905         * check/elements/fdsrc.c: (GST_START_TEST):
7906         Use a cmdline define to specify the location of a file to use for
7907         testing, to avoid breaking distcheck.
7908
7909 2005-11-28  Andy Wingo  <wingo@pobox.com>
7910
7911         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7912
7913 2005-11-28  Edward Hervey  <edward@fluendo.com>
7914
7915         * tools/gst-launch.c: (main):
7916         Clarify the output strings, makes it easier to translate.
7917         Fixes #322626
7918
7919 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7920
7921         * gst/Makefile.am:
7922           don't try and build net if we don't even have <sys/socket.h>
7923
7924 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7925
7926         * check/Makefile.am:
7927         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7928         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7929           Add tests for fdsrc seekability
7930
7931         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7932         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7933         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7934         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7935         * gst/elements/gstfdsrc.h:
7936           fdsrc should not be a 'live' source.
7937           Implement seeking on seekable fd's.
7938
7939         * gst/gstquery.c: (gst_query_new_seeking),
7940         (gst_query_parse_seeking):
7941         * gst/gstquery.h:
7942           Implement SEEKING query functions: 
7943             *_new_seeking and *_parse_seeking
7944
7945 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7946
7947         * gst/gstelement.c: (gst_element_dispose):
7948           don't loop forever
7949
7950         * gst/gstiterator.c:
7951         * gst/gststructure.c:
7952           doc fixes
7953
7954         * libs/gst/controller/gstcontroller.c:
7955         (gst_controlled_property_set_interpolation_mode):
7956         * libs/gst/controller/gstcontroller.h:
7957         * libs/gst/controller/gstinterpolation.c:
7958         (interpolate_none_get_enum_value_array):
7959           support controlling enums
7960
7961 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7962
7963         * gst/gstvalue.c:
7964           Improve documentation for gst_value_union().
7965
7966         * gst/gstvalue.h:
7967           Change return value for union, intersect and subtract functions
7968           from gint to gboolean.
7969
7970 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7971
7972         * gst/gstvalue.c: (gst_value_serialize_any_list),
7973         (gst_value_transform_any_list_string),
7974         (gst_value_deserialize_list), (gst_value_deserialize_array),
7975         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7976         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7977         (gst_value_set_fraction_range_full),
7978         (gst_value_deserialize_fraction_range),
7979         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7980         (gst_value_deserialize_boolean),
7981         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7982         (gst_value_serialize_float), (gst_value_deserialize_float),
7983         (gst_string_wrap), (gst_value_deserialize_string),
7984         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7985         (gst_value_union_int_range_int_range),
7986         (gst_value_intersect_int_range_int_range),
7987         (gst_value_intersect_double_range_double_range),
7988         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7989         (gst_value_subtract_int_range_int_range),
7990         (gst_value_subtract_double_double_range),
7991         (gst_value_subtract_double_range_double_range),
7992         (gst_value_deserialize_fraction):
7993         * gst/gstvalue.h:
7994           Use gint, gdouble and gchar in our API instead of int, double and
7995           char (and make usage in gstvalue.c more consistent).
7996
7997 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7998
7999         * check/Makefile.am:
8000         * libs/gst/controller/Makefile.am:
8001         * libs/gst/dataprotocol/Makefile.am:
8002           fix up Makefile.am and remove GST_ENABLE_NEW
8003
8004 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8005
8006         * configure.ac:
8007         * gst/Makefile.am:
8008         * gst/base/Makefile.am:
8009         * gst/check/Makefile.am:
8010         * gst/elements/Makefile.am:
8011         * gst/net/Makefile.am:
8012           update LDFLAGS use some more
8013
8014 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
8015
8016         * common/m4/gst-doc.m4:
8017           Fixes #312589
8018
8019 2005-11-26  Edward Hervey  <edward@fluendo.com>
8020
8021         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8022         This shouldn't issue a g_warning since it returns NULL if it
8023         couldn't find the plugin, and all functions using this behave
8024         properly on a NULL return. Switching to a GST_WARNING.
8025
8026 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
8027
8028         * gst/gstbin.c: (gst_bin_handle_message_func):
8029         Don't leak clock messages.
8030
8031 2005-11-25  Wim Taymans  <wim@fluendo.com>
8032
8033         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8034         (gst_util_uint64_scale_int):
8035         Optimisations, remove unneeded vars.
8036
8037 2005-11-25  Wim Taymans  <wim@fluendo.com>
8038
8039         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8040         Added more checks for the high precision uint64 cases.
8041
8042         * gst/gstutils.c: (gst_util_uint64_scale_int64),
8043         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8044         Implement high precision (guint64 * guint64) / guint64.
8045
8046 2005-11-24  Wim Taymans  <wim@fluendo.com>
8047
8048         * gst/base/gstbasesrc.c: (gst_base_src_query):
8049         Fix wrong percentage query.
8050
8051         * gst/gstutils.c: (gst_util_uint64_scale),
8052         (gst_util_uint64_scale_int):
8053         Add some more common cases that can be handled 
8054         efficiently to _scale.
8055
8056 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8057
8058         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8059         (gst_mini_object_suite):
8060           don't use check calls from threads; check probably isn't
8061           threadsafe and using a lock to make it threadsafe would
8062           defeat the purpose of this check
8063         * gst/check/gstcheck.c:
8064         * gst/check/gstcheck.h:
8065           use GST_DEBUG some more
8066
8067 2005-11-24  Wim Taymans  <wim@fluendo.com>
8068
8069         * gst/gstutils.c: (gst_util_uint64_scale),
8070         (gst_util_uint64_scale_int):
8071         Chain trivial case to _scale_int.
8072
8073 2005-11-24  Wim Taymans  <wim@fluendo.com>
8074
8075         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8076         Added test for scaling.
8077
8078         * gst/gstclock.h:
8079         Small doc fix.
8080
8081         * gst/gstutils.c: (gst_util_uint64_scale_int):
8082         Implemented high precision scaling code.
8083
8084 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8085
8086         * gst/gstinfo.h:
8087           do not crash on pad==NULL
8088
8089 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8090
8091         Patch by: Stefan Kost
8092
8093         * common/gtk-doc.mak:
8094         * docs/gst/Makefile.am:
8095         * docs/libs/Makefile.am:
8096           Fix distcheck issues for the libraries docs build
8097           Closes #319599.
8098
8099 2005-11-24  Michael Smith <msmith@fluendo.com>
8100
8101         * docs/manual/basics-helloworld.xml:
8102           Fix bug #315027: memory leak in example code in docs.
8103
8104 2005-11-24  Michael Smith <msmith@fluendo.com>
8105
8106         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8107           Unlock the PREROLL_LOCK in a failure case.
8108
8109 2005-11-24  Wim Taymans  <wim@fluendo.com>
8110
8111         * docs/gst/gstreamer-sections.txt:
8112         * gst/base/gstadapter.h:
8113         * gst/base/gstbasesink.h:
8114         * gst/base/gstbasesrc.h:
8115         * gst/base/gstbasetransform.h:
8116         * gst/base/gstpushsrc.h:
8117         * gst/elements/gstfakesink.h:
8118         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8119         * gst/elements/gstfakesrc.h:
8120         * gst/elements/gstfilesink.h:
8121         * gst/elements/gstfilesrc.h:
8122         * gst/gst.c:
8123         * gst/gstbin.c:
8124         * gst/gstbuffer.c: (_gst_buffer_copy):
8125         * gst/gstbus.h:
8126         * gst/gstcaps.c:
8127         * gst/gstchildproxy.c:
8128         * gst/gstclock.c:
8129         * gst/gstelement.c:
8130         * gst/gstelementfactory.c:
8131         * gst/gstelementfactory.h:
8132         * gst/gstevent.c:
8133         * gst/gstghostpad.h:
8134         * gst/gstindex.h:
8135         * gst/gstinterface.h:
8136         * gst/gstminiobject.c:
8137         * gst/gstminiobject.h:
8138         * gst/gstpad.c:
8139         * gst/gstpad.h:
8140         * gst/gstpadtemplate.h:
8141         * gst/gstpipeline.h:
8142         * gst/gstpluginfeature.h:
8143         * gst/gstquery.h:
8144         * gst/gstqueue.h:
8145         * gst/gsttaglist.c:
8146         * gst/gsttaglist.h:
8147         * gst/gsttagsetter.c:
8148         * gst/gsttagsetter.h:
8149         * gst/gsttrace.c:
8150         * gst/gsttrace.h:
8151         * gst/gsttypefind.h:
8152         * gst/gsturi.h:
8153         * gst/gstvalue.c:
8154         * gst/net/gstnetclientclock.c:
8155         * gst/net/gstnetclientclock.h:
8156         * gst/net/gstnettimepacket.c:
8157         * gst/net/gstnettimeprovider.c:
8158         * gst/net/gstnettimeprovider.h:
8159         Doc fixes.
8160
8161 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8162
8163         * configure.ac: back to HEAD
8164
8165 === release 0.9.6 ===
8166
8167 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8168
8169         * configure.ac:
8170           releasing 0.9.6, "Always On Time"
8171
8172 2005-11-23  Wim Taymans  <wim@fluendo.com>
8173
8174         * docs/gst/gstreamer-sections.txt:
8175         * gst/glib-compat.c:
8176         * gst/gsttagsetter.c:
8177         * gst/gstvalue.c:
8178         * gst/net/gstnetclientclock.c:
8179         * gst/net/gstnettimepacket.h:
8180         Doc updates.
8181
8182 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8183
8184         * docs/faq/using.xml:
8185         * docs/libs/tmpl/gstcontrol.sgml:
8186         * docs/manual/advanced-dparams.xml:
8187         * docs/manual/appendix-checklist.xml:
8188         * docs/manual/basics-elements.xml:
8189         * docs/pwg/other-source.xml:
8190         * docs/random/moving-plugins:
8191         * gst/gstpad.c:
8192         * tools/gst-launch.1.in:
8193           remove mentions of sinesrc
8194
8195 2005-11-23  Michael Smith <msmith@fluendo.com>
8196
8197         * docs/gst/gstreamer-sections.txt:
8198           Update for new API and API changes.
8199         * gst/gstobject.h:
8200           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8201         * gst/gstvalue.c:
8202           Documentation typo fix.
8203         * gst/net/gstnettimepacket.c:
8204           Documentation fixes for arguments.
8205
8206 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8207
8208         * gst/gststructure.c: (gst_structure_get_fraction),
8209         (gst_structure_parse_value),
8210         (gst_structure_fixate_field_nearest_fraction):
8211         * gst/gststructure.h:
8212         * gst/gstutils.c: (gst_util_uint64_scale_int):
8213         * gst/gstutils.h:
8214         * scripts/update-funcnames:
8215         API Changes. 
8216         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8217         Make gst_structure_fixate_field_nearest_fraction take a numerator
8218         and denominator argument instead of a GValue
8219         add gst_structure_get_fraction helper function.
8220
8221 2005-11-23  Wim Taymans  <wim@fluendo.com>
8222
8223         * docs/design/part-TODO.txt:
8224         Update TODO.
8225
8226         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8227         * gst/net/gstnetclientclock.h:
8228         Use parent fields for timeout and window_size.
8229
8230 2005-11-23  Andy Wingo  <wingo@pobox.com>
8231
8232         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8233         rate_num/rate_denom change.
8234
8235         * gst/net/gstnetclientclock.c
8236         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8237         OBJECT_LOCK. Don't call add_observation with the lock.
8238
8239         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8240         fraction.
8241         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8242         rate fraction.
8243         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8244         deal with rate as a fraction whose numerator and denominator are
8245         GstClockTime values.
8246         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8247         master; the other fields are protected by the SLAVE_LOCK.
8248         (do_linear_regression): Note that this must be called with the
8249         SLAVE_LOCK.
8250         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8251         OBJECT_LOCK. Call set_calibration instead of touching the
8252         variables directly.
8253         (gst_clock_set_property, gst_clock_get_property): Protect
8254         master/slave parameters with the SLAVE_LOCK.
8255
8256         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8257         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8258         note that all of the instance variables that add_observation and
8259         the set_master functions use are protected by that lock and not
8260         the OBJECT_LOCK.
8261         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8262
8263         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8264         the caller to take the object lock.
8265
8266 2005-11-23  Wim Taymans  <wim@fluendo.com>
8267
8268         * gst/gsterror.c: (_gst_core_errors_init):
8269         * gst/gsterror.h:
8270         Add error for clock stuff.
8271
8272         * gst/gstpipeline.c: (gst_pipeline_change_state),
8273         (gst_pipeline_set_clock):
8274         Post clock error when clock cannot be used in a pipeline.
8275
8276 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8277
8278         * docs/gst/gstreamer-sections.txt:
8279           make two symbols from gstinfo private for the docs
8280         * gst/base/gstcollectpads.h:
8281         * gst/gstutils.c:
8282           fix doc typos, update docs
8283
8284 2005-11-22  Wim Taymans  <wim@fluendo.com>
8285
8286         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8287         (gst_base_sink_wait), (gst_base_sink_do_sync),
8288         (gst_base_sink_handle_event):
8289         * gst/base/gstbasesink.h:
8290         No need to store the clock, the parent element class already
8291         has it.
8292
8293         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8294         Updates for clock_set returning a gboolean
8295
8296         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8297         (gst_clock_id_wait_async), (gst_clock_class_init),
8298         (gst_clock_init), (gst_clock_finalize),
8299         (gst_clock_get_internal_time), (gst_clock_get_time),
8300         (gst_clock_slave_callback), (gst_clock_set_master),
8301         (gst_clock_get_master), (do_linear_regression),
8302         (gst_clock_add_observation), (gst_clock_set_property),
8303         (gst_clock_get_property):
8304         * gst/gstclock.h:
8305         Implement master/slave. When setting a clock as a slave, a
8306         periodic timeout is scheduled to sample master and slave times.
8307         Then the slave clock is recalibrated to match offset and rate
8308         of the master clock.
8309         Update logging a bit.
8310         Add flag so that a clock can state that is cannot be slaved to
8311         another clock.
8312
8313         * gst/gstelement.c: (gst_element_set_clock):
8314         * gst/gstelement.h:
8315         The set clock returns a gboolean for when an element cannot
8316         deal with the selected clock in the pipeline. 
8317
8318         * gst/gstpipeline.c: (gst_pipeline_change_state),
8319         (gst_pipeline_set_clock):
8320         * gst/gstpipeline.h:
8321         Handle the case where the selected clock cannot be set on
8322         the pipeline.
8323
8324         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8325         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8326         (gst_net_client_clock_set_property),
8327         (gst_net_client_clock_get_property),
8328         (gst_net_client_clock_observe_times):
8329         * gst/net/gstnetclientclock.h:
8330         Use regression code in GstClock parent, remove duplicated
8331         functionality.
8332
8333 2005-11-22  Michael Smith <msmith@fluendo.com>
8334
8335         * gst/gstutils.c: (gst_util_clock_time_scale):
8336         * gst/gstutils.h:
8337         * docs/gst/gstreamer-sections.txt:
8338           Rename method to have extra underscore.
8339
8340 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8341
8342         * gst/elements/Makefile.am:
8343         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8344         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8345         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8346         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8347         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8348         * gst/elements/gstfakesrc.h:
8349         * gst/gstqueue.c: (queue_leaky_get_type):
8350           correctly fix GEnumValues so that nick is the short lowercase
8351           dashed tag
8352         * tools/gst-inspect.c: (print_element_properties_info):
8353           also show the nick, since it's useful to use from parse_launch
8354           syntax
8355           Fixes #322139
8356
8357 2005-11-22  Michael Smith <msmith@fluendo.com>
8358
8359         * gst/gstutils.c: (gst_util_clocktime_scale):
8360         * gst/gstutils.h:
8361         * docs/gst/gstreamer-sections.txt:
8362           Add util method for scaling a clocktime by a fraction. Useful 
8363           implementation is left as an exercise for the reader.
8364
8365 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8366
8367         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8368         If needed, allocate storage in the destination value during
8369         collection.
8370
8371 2005-11-22  Edward Hervey  <edward@fluendo.com>
8372
8373         * docs/gst/gstreamer-sections.txt:
8374         * gst/Makefile.am:
8375         * gst/gst.h:
8376         * gst/gsturitype.c:
8377         * gst/gsturitype.h:
8378         * gst/gstutils.c: (gst_util_set_object_arg):
8379         * tools/gst-compprep.c: (main):
8380         * tools/gst-inspect.c: (print_element_properties_info):
8381         Removed GstURI, closes bug #321061
8382
8383 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8384
8385         * check/gst/gststructure.c: (GST_START_TEST):
8386         * gst/gststructure.c: (gst_structure_parse_value):
8387           Oops, broke automatic string type parsing.
8388           Add a test to catch it in future.
8389
8390 2005-11-22  Andy Wingo  <wingo@pobox.com>
8391
8392         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8393         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8394         Actually rename the function implementations. Grr.
8395
8396 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8397
8398         * check/gst/capslist.h:
8399           Comment test cases
8400         * check/gst/gststructure.c: (GST_START_TEST),
8401         (gst_structure_suite):
8402           Test automatic value type detection in gst_structure_from_string.
8403         * gst/gststructure.c: (gst_structure_parse_value):
8404           Add fraction as a type we try and guess automatically in
8405           caps/structure strings.
8406
8407 2005-11-22  Andy Wingo  <wingo@pobox.com>
8408
8409         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8410
8411         * gst/gsttagsetter.h:
8412         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8413         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8414         (gst_tag_setter_add_tag_valist)
8415         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8416         _add_values, _add_valist, and _add_valist_values. Since this is an
8417         interface the function suffixes should be more explicit so
8418         language binding don't end up with element.add_valist ->
8419         gst_tag_setter_add_valist, for example. Fixes #322069.
8420
8421 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8422
8423         * check/gst/gstcaps.c: (GST_START_TEST):
8424           Extend caps string tests to check that a caps to string
8425           conversion is reversible and produces the same caps.
8426
8427         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8428           Output "fraction" as the generic type fraction range, so caps
8429           serialisation and deserialisation works.
8430         * check/gst/capslist.h:
8431         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8432           Support 'MIN' and 'MAX' for deserialising fractions.
8433
8434 2005-11-22  Andy Wingo  <wingo@pobox.com>
8435
8436         * gst/gstevent.h (gst_event_new_new_segment)
8437         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8438         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8439         Renamed from *_newsegment, *_buffersize, *_notarget.
8440
8441         * scripts/update-funcnames: New script, performs the changes
8442         listed above.
8443
8444 2005-11-22  Wim Taymans  <wim@fluendo.com>
8445
8446         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8447         Make sure the GstFlowReturn is returned.
8448
8449         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8450         (gst_bus_add_signal_watch):
8451         * gst/gstbus.h:
8452         add gst_bus_add_signal_watch_full.
8453
8454         * gst/gstplugin.c: (gst_plugin_load_file):
8455         Small style cleanup.
8456
8457 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8458
8459         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8460           Block the fakesrc srcpad when we send an event, to avoid
8461           contention on the stream_lock causing random test failures.
8462
8463 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8464
8465         * check/gst/gstvalue.c: (GST_START_TEST):
8466         * gst/gstvalue.c: (gst_value_fraction_subtract):
8467           Fix subtraction.
8468
8469 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8470
8471         * gst/gst.h:
8472           include "gstchildproxy.h"
8473         * gst/gstchildproxy.h:
8474         * libs/gst/controller/gstcontroller.h:
8475           use G_GNUC_NULL_TERMINATED
8476
8477 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8478
8479         * check/gst/capslist.h:
8480         * check/gst/gstcaps.c: (GST_START_TEST):
8481         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8482         * gst/gststructure.c: (gst_structure_parse_range),
8483         (gst_structure_fixate_field_nearest_fraction):
8484         * gst/gststructure.h:
8485         * gst/gstvalue.c: (gst_value_init_fraction_range),
8486         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8487         (gst_value_collect_fraction_range),
8488         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8489         (gst_value_set_fraction_range_full),
8490         (gst_value_get_fraction_range_min),
8491         (gst_value_get_fraction_range_max),
8492         (gst_value_serialize_fraction_range),
8493         (gst_value_transform_fraction_range_string),
8494         (gst_value_compare_fraction_range),
8495         (gst_value_deserialize_fraction_range),
8496         (gst_value_intersect_fraction_fraction_range),
8497         (gst_value_intersect_fraction_range_fraction_range),
8498         (gst_value_subtract_fraction_fraction_range),
8499         (gst_value_subtract_fraction_range_fraction),
8500         (gst_value_subtract_fraction_range_fraction_range),
8501         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8502         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8503         (gst_value_transform_string_fraction), (_gst_value_initialize):
8504         * gst/gstvalue.h:
8505           Implement fraction ranges and extend GstFraction to support
8506           arithmetic subtraction, as well as deserialization from integer
8507           strings such as "100"
8508           Add a testsuite as for int and double range set operations
8509
8510 2005-11-21  Andy Wingo  <wingo@pobox.com>
8511
8512         * gst/gsttaglist.h: 
8513         * gst/gstcaps.h: 
8514         * gst/gststructure.h: Add glib-compat.h.
8515
8516 2005-11-21  Wim Taymans  <wim@fluendo.com>
8517
8518         * gst/gstbin.c: (gst_bin_change_state_func):
8519         Fix for #321595
8520
8521 2005-11-21  Wim Taymans  <wim@fluendo.com>
8522
8523         * gst/gstsegment.h:
8524         And add a nice define too.
8525
8526 2005-11-21  Wim Taymans  <wim@fluendo.com>
8527
8528         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8529         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8530         (gst_segment_set_duration), (gst_segment_set_last_stop),
8531         (gst_segment_set_seek), (gst_segment_set_newsegment),
8532         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8533         (gst_segment_clip):
8534         * gst/gstsegment.h:
8535         Make binding friendly.
8536
8537 2005-11-21  Andy Wingo  <wingo@pobox.com>
8538
8539         * gst/gsttagsetter.h: 
8540         * gst/gsttaglist.h: 
8541         * gst/gststructure.h: 
8542         * gst/gstcaps.h: 
8543         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8544         #319940.
8545
8546         * gst/gsterror.c (_gst_core_errors_init):
8547         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8548         category.
8549
8550         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8551         (noinst_HEADERS): noinst the -private.
8552
8553 2005-11-21  Michael Smith <msmith@fluendo.com>
8554
8555         * gst/gstplugin.h:
8556         * gst/gstregistry.h:
8557           Remove unimplemented declarations for which we can see no sensible
8558           use.
8559
8560 2005-11-21  Andy Wingo  <wingo@pobox.com>
8561
8562         * gst/gst.h: Include glib-compat.h.
8563
8564         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8565
8566         * gst/glib-compat.c: Include the public and the private header.
8567
8568         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8569
8570         * gst/gstvalue.c: 
8571         * gst/gstpad.c: 
8572         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8573
8574         * check/gst/gstevent.c (create_custom_events): Check that
8575         FLUSH_STOP is serialized.
8576
8577         * check/elements/identity.c (event_func): 
8578         * check/elements/fakesrc.c (event_func): No stream lock, the core
8579         takes it.
8580
8581         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8582         stream lock taking, yay.
8583
8584         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8585         ensure that core takes the stream lock.
8586
8587         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8588         lock name change.
8589
8590         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8591         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8592         it already. For the flush start we do take it though so we get the
8593         right preroll state change messages.
8594
8595         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8596         the stream lock here, the core does it for us.
8597
8598         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8599         GST_STREAM_GET_LOCK.
8600         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8601         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8602         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8603         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8604         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8605         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8606
8607         * gst/gstpad.c: Update for stream lock name change.
8608
8609         * gst/base/gstbasesink.c: Update for preroll lock name change.
8610
8611 2005-11-21  Wim Taymans  <wim@fluendo.com>
8612
8613         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8614         (gst_clock_get_master):
8615         * gst/gstclock.h:
8616         * gst/gstsystemclock.c: (gst_system_clock_init):
8617         Convert Clock flags to object flags.
8618         Added methods to manage master/slave clocks.
8619
8620 2005-11-21  Wim Taymans  <wim@fluendo.com>
8621
8622         * check/gst/gstsegment.c: (GST_START_TEST):
8623         * docs/design/part-TODO.txt:
8624         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8625         (gst_base_sink_event), (gst_base_sink_do_sync),
8626         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8627         (gst_base_sink_query), (gst_base_sink_change_state):
8628         * gst/base/gstbasesink.h:
8629         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8630         (gst_base_src_default_newsegment),
8631         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8632         (gst_base_src_get_range), (gst_base_src_loop),
8633         (gst_base_src_change_state):
8634         * gst/base/gstbasesrc.h:
8635         * gst/base/gstbasetransform.c:
8636         (gst_base_transform_prepare_output_buf),
8637         (gst_base_transform_event), (gst_base_transform_change_state):
8638         * gst/base/gstbasetransform.h:
8639         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8640         (gst_collect_pads_event):
8641         * gst/base/gstcollectpads.h:
8642         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8643         (gst_fake_src_create):
8644         * gst/elements/gstfakesrc.h:
8645         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8646         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8647         (gst_segment_set_last_stop), (gst_segment_set_seek),
8648         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8649         (gst_segment_to_running_time), (gst_segment_clip):
8650         * gst/gstsegment.h:
8651         More segment updates, replace code in plugins with segment
8652         helper functions.
8653
8654 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8655
8656         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8657         Don't ignore sscanf results
8658
8659 2005-11-21  Andy Wingo  <wingo@pobox.com>
8660
8661         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8662
8663         * *.h:
8664         * *.c: Ran scripts/update-macros. Oh yes.
8665
8666         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8667         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8668         GST_GET_LOCK, etc.
8669
8670         * scripts/update-macros: New script. Run it on your files to
8671         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8672         well.
8673
8674 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8675
8676         * docs/gst/Makefile.am:
8677         * docs/gst/gstreamer-docs.sgml:
8678         * docs/gst/gstreamer-sections.txt:
8679         * docs/gst/gstreamer.types:
8680         * gst/gstinfo.h:
8681           more docs fixes, add new api to the docs
8682
8683 2005-11-21  Andy Wingo  <wingo@pobox.com>
8684
8685         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8686         state_broadcast call.
8687
8688         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8689
8690 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8691
8692         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8693         function calls for arrays.
8694
8695 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8696
8697         * docs/random/ensonic/media-device-daemon.txt:
8698           wild idea, can this be done?
8699         * docs/gst/gstreamer-sections.txt:
8700         * gst/gsterror.h:
8701         * gst/gstfilter.c:
8702         * gst/gstfilter.h:
8703         * gst/gstplugin.h:
8704         * gst/gstpluginfeature.c:
8705         * gst/gsttrace.c:
8706         * gst/gstvalue.c:
8707         * gst/gstvalue.h:
8708           doc fixes and additions
8709
8710 2005-11-21  Andy Wingo  <wingo@pobox.com>
8711
8712         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8713         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8714         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8715         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8716         private to the basesrc implementation.
8717
8718         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8719         behalf of event function if necessary. It should no longer be
8720         necessary to take the stream lock in pad's event functions. Fixes
8721         #320299.
8722
8723 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8724         * docs/gst/gstreamer-sections.txt:
8725         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8726         (gst_structure_fixate_field_nearest_double),
8727         (gst_structure_fixate_field_boolean):
8728         * gst/gststructure.h:
8729         * win32/common/libgstreamer.def:
8730         * win32/gstreamer.def:
8731
8732         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8733         (#322027)
8734
8735 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8736
8737         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8738         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8739         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8740         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8741         (gst_fdsrc_uri_handler_init):
8742         * gst/elements/gstfdsrc.h:
8743           Port fd:// URI handler from 0.8 to fdsrc
8744
8745 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8748         (gst_value_serialize_fourcc):
8749         * gst/gstvalue.h:
8750           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8751           consistent with our other format defines (#320324).
8752
8753 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * gst/gstvalue.c: (gst_value_is_fixed):
8756           Revert previous commit. Value lists are by definition
8757           not fixed, as they are a list of possible values.
8758
8759 2005-11-21  Andy Wingo  <wingo@pobox.com>
8760
8761         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8762         during the stable series if we need it. Fixes #319178.
8763
8764         * gst/gstevent.c (gst_event_new_filler): Removed.
8765
8766         * check/gst/gstevent.c: Update comment about filler events.
8767
8768 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8769
8770         * gst/gstvalue.c: (gst_value_is_fixed):
8771           Should handle both value arrays and value lists.
8772
8773 2005-11-21  Andy Wingo  <wingo@pobox.com>
8774
8775         patch by: Alessandro Dessina <alessandro nnva org>
8776
8777         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8778         functions to access arrays. Fixes #321962.
8779
8780 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8781
8782         * docs/gst/gstreamer.types:
8783           gst_collectpads_get_type => gst_collect_pads_get_type.
8784           
8785         * gst/base/gstbasetransform.c:
8786           Remove unused SIGNAL_HANDOFF enum.
8787
8788 2005-11-21  Andy Wingo  <wingo@pobox.com>
8789
8790         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8791         the event type (upstream, downstream, serialized). Renamed
8792         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8793         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8794         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8795
8796         * gst/gstevent.c: Update for new CUSTOM event names.
8797
8798         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8799
8800         * gst/gstevent.h:
8801         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8802         bug #319392.
8803
8804 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8805
8806         * docs/gst/gstreamer-sections.txt:
8807         * win32/common/libgstbase.def:
8808         * win32/libgstbase.def:
8809         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8810         (gst_collect_pads_class_init), (gst_collect_pads_init),
8811         (gst_collect_pads_finalize), (gst_collect_pads_new),
8812         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8813         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8814         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8815         (gst_collect_pads_start), (gst_collect_pads_stop),
8816         (gst_collect_pads_peek), (gst_collect_pads_pop),
8817         (gst_collect_pads_available), (gst_collect_pads_read),
8818         (gst_collect_pads_flush), (gst_collect_pads_event),
8819         (gst_collect_pads_chain):
8820         * gst/base/gstcollectpads.h:
8821           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8822           unimplemented functions as unimplemented. Add padding to
8823           GstCollectData. (#320766, #320423)
8824
8825 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8826
8827         * gst/gstmessage.c:
8828           Improve docs for DURATION message (usage of duration parameter)
8829           (#320113)
8830
8831 2005-11-20  Wim Taymans  <wim@fluendo.com>
8832
8833         * check/Makefile.am:
8834         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8835         (main):
8836         * gst/Makefile.am:
8837         * gst/gst.h:
8838         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8839         (gst_segment_set_seek), (gst_segment_set_newsegment),
8840         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8841         (gst_segment_clip):
8842         * gst/gstsegment.h:
8843         Added segment helper structure and methods. Not fully implemented
8844         yet.
8845         Added segment check.
8846
8847 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8848
8849         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8850           Add a deserialisation test for fractions
8851         * examples/metadata/read-metadata.c: (message_loop),
8852         (make_pipeline), (main):
8853           Fix up metadata reading sample.
8854         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8855           Debug format fix
8856         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8857           Don't try and fixate empty caps
8858         * gst/gst_private.h:
8859           Wrap in G_BEGIN_DECLS/G_END_DECLS
8860         * gst/gstvalue.c: (gst_value_collect_fraction),
8861         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8862         (gst_value_transform_string_fraction),
8863         (gst_value_compare_fraction):
8864           Add some extra guards to ensure that we don't end up 
8865           with an invalid denominator of 0 in a gstfraction and
8866           that fractions always get reduced.
8867
8868 2005-11-20  Wim Taymans  <wim@fluendo.com>
8869
8870         * docs/gst/gstreamer-sections.txt:
8871         * gst/gstbuffer.h:
8872         * gst/gstelement.c:
8873         * gst/gstformat.c:
8874         * gst/gstformat.h:
8875         * gst/gstindex.h:
8876         * gst/gstquery.c:
8877         * gst/gstquery.h:
8878         * gst/gstvalue.c:
8879         Doc fixes.
8880
8881 2005-11-20  Wim Taymans  <wim@fluendo.com>
8882
8883         * docs/design/part-TODO.txt:
8884         * gst/gstcaps.h:
8885         Make a proper enum of the flag.
8886
8887 2005-11-19  Wim Taymans  <wim@fluendo.com>
8888
8889         * docs/design/part-TODO.txt:
8890         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8891         (gst_format_to_quark), (gst_format_register):
8892         * gst/gstformat.h:
8893         * gst/gstquery.c: (_gst_query_initialize),
8894         (gst_query_type_get_name), (gst_query_type_to_quark),
8895         (gst_query_type_register):
8896         * gst/gstquery.h:
8897         Add type to quark and type to string conversions.
8898
8899 2005-11-19  Andy Wingo  <wingo@pobox.com>
8900
8901         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8902         #320097.
8903
8904 2005-11-19  Wim Taymans  <wim@fluendo.com>
8905
8906         * docs/design/part-TODO.txt:
8907         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8908         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8909         (gst_bin_handle_message_func):
8910         * gst/gstbin.h:
8911         Make message handling overridable.
8912
8913 2005-11-19  Andy Wingo  <wingo@pobox.com>
8914
8915         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8916
8917         * gst/gstclock.h:
8918         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8919         be a GstClockTime.
8920         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8921         is a GstClockTime. Fixes #321710.
8922
8923         * gst/gstclock.h (GstClock): Remove offset property. Add
8924         internal_calibration and external_calibration. Fix padding. Pad
8925         also by GstClockTime so we don't run into problems.
8926
8927         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8928         (gst_clock_get_rate_offset): Remove.
8929         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8930
8931         * gst/gstutils.h:
8932         * gst/gstutils.c (g_static_rec_cond_wait)
8933         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8934
8935         * gst/gstbin.c: Remove terrible continue_state prototype.
8936
8937         * gst/gstelement.h (gst_element_continue_state): Make public.
8938
8939         * gst/gstelement.h:
8940         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8941         by continue_state. Fixes #319389.
8942
8943         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8944         Really fixes #168438. However I don't see anywhere where the
8945         filter function is called... stupid GStreamer...
8946         
8947         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8948         don't have a dispose function, so it won't get called when the
8949         object is unreffed, but oh well!
8950
8951         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8952         allows a destroy function to be set so user_data can be freed.
8953         Fixes #168438.
8954         (gst_index_set_filter): Call gst_index_set_filter_full.
8955
8956         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8957
8958         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8959         string should produce an error, given the lack of a way to
8960         represent NULL strings. Fixes #165650.
8961         
8962         * gst/gstvalue.h: 
8963         * gst/gstvalue.c (gst_value_array_append_value) 
8964         (gst_value_array_prepend_value, gst_value_array_get_size) 
8965         (gst_value_array_get_value): New API, copied from
8966         gst_value_list_*, only operates on arrays.
8967         (gst_value_list_append_value, gst_value_list_prepend_value) 
8968         (gst_value_list_concat, gst_value_list_get_size) 
8969         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8970
8971         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8972         init_list, because it works on both.
8973         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8974         (gst_value_copy_list_or_array): Renamed from copy_list.
8975         (gst_value_free_list_or_array): Renamed from free_list.
8976         (gst_value_collect_list_or_array): Renamed from collect_list.
8977         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8978         (gst_value_list_or_array_peek_pointer): Renamed from
8979         list_peek_pointer.
8980         (_gst_value_array_value_table, _gst_value_list_value_table):
8981         Update value table functions.
8982         (gst_value_compare_list_or_array): Renamed from compare_list.
8983
8984         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8985         some constness.
8986
8987         * gst/gsttaglist.c:
8988         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8989         GstTagList*. Fixes #143472.
8990
8991         * gst/gststructure.h: Clarify what the foreach/map functions can
8992         or can't do to their arguments.
8993
8994 2005-11-18  Wim Taymans  <wim@fluendo.com>
8995
8996         * gst/gstclock.c: (gst_clock_set_calibration),
8997         (gst_clock_get_calibration):
8998         Doc and API fixes.
8999         Calibration can be set with internal time equal to current
9000         internal time too.
9001
9002 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
9003
9004         * gst/gsterror.c:
9005         * gst/gsterror.h:
9006           document
9007
9008 2005-11-18  Andy Wingo  <wingo@pobox.com>
9009
9010         * configure.ac: 
9011         * pkgconfig/gstreamer-net.pc.in:
9012         * pkgconfig/gstreamer-net-uninstalled.pc.in:
9013         * pkgconfig/Makefile.am: Add net pkgconfig files.
9014
9015 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
9016
9017         * gst/gstcaps.c:
9018         * gst/gstghostpad.c:
9019         * gst/gsttrace.c:
9020         * gst/gstvalue.c:
9021         * gst/gstvalue.h:
9022           docs fixes
9023
9024 2005-11-18  Andy Wingo  <wingo@pobox.com>
9025
9026         * gst/net/gstnetclientclock.c: Turn off debugging.
9027
9028         * check/net/gstnetclientclock.c (test_functioning): Assert that the
9029         times connverge somewhat. Can't make a real test.
9030
9031         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9032         integer arithmetic. Return the minimum of the domain, which can be
9033         set as "internal" for gst_clock_set_calibration.
9034         (gst_net_client_clock_observe_times): Call _set_calibration.
9035         (gst_net_client_clock_new): Call _set_calibration instead of
9036         rate_offset.
9037
9038         * check/net/gstnetclientclock.c (test_functioning): Use the right
9039         adjustment api.
9040
9041         * gst/gstclock.h:
9042         * gst/gstclock.c (gst_clock_get_calibration) 
9043         (gst_clock_set_calibration): New functions, obsolete the ones I
9044         added yesterday. Doh. Precision issues mean we have to extrapolate
9045         from a point in the more recent past than 1970.
9046         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9047         obsolete.
9048         (gst_clock_adjust_unlocked): Use the right calibration data.
9049
9050 2005-11-18  Edward Hervey  <edward@fluendo.com>
9051
9052         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
9053         Also reset the ->current_* values in READY->PAUSED
9054
9055 2005-11-18  Andy Wingo  <wingo@pobox.com>
9056
9057         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9058         Whoops, check the right fd. Also add some debugging.
9059         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9060         (do_linear_regression): Add a crapload of debugging. Subtract off
9061         the minimum values from the input series to discard unneeded bits.
9062         Use only int arithmetic. There is still double arithmetic when
9063         calculating the intercept that needs fixing. Return boolean to
9064         indicate success; FALSE would mean the domain or range is too
9065         great. Still needs fixes.
9066
9067 2005-11-18  Wim Taymans  <wim@fluendo.com>
9068
9069         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9070         For the current position in stream time, we need to subtract
9071         accumulated time.
9072         
9073         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9074         Release lock before calling the callback function of async
9075         entries.
9076
9077 2005-11-18  Andy Wingo  <wingo@pobox.com>
9078
9079         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9080         Port goes all the way to MAXUINT16.
9081
9082         * gst/net/gstnettimeprovider.c: Make the port range the same as
9083         for the kernel: 0 assigns, otherwise ports are less than
9084         MAXUINT16.
9085
9086         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9087         port change.
9088
9089         * check/net/gstnetclientclock.c (test_functioning): Add the start
9090         of another test. 
9091
9092 2005-11-18  Wim Taymans  <wim@fluendo.com>
9093
9094         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9095         (gst_bin_remove_func), (bin_bus_handler):
9096         * gst/gstbin.h:
9097         Removing a clock provider from a bin, triggers a clock lost message
9098         so that a new clock will be selected.
9099         Adding a clock to a bin triggers a clock provider message.
9100         Make sure we reselect a clock when we received a clock lost message.
9101         Keep a reference to the element that provided the clock.
9102
9103 2005-11-18  Andy Wingo  <wingo@pobox.com>
9104
9105         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9106         the clock initially so it produces values around the base time.
9107         (gst_net_client_clock_class_init): Typo fix.
9108         (gst_net_client_clock_thread): Add note on when the socket gets
9109         closed.
9110
9111 2005-11-17  Wim Taymans  <wim@fluendo.com>
9112
9113         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9114         Free remote and local time arrays.
9115
9116 2005-11-17  Wim Taymans  <wim@fluendo.com>
9117
9118         * gst/net/gstnetclientclock.c: (do_linear_regression),
9119         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9120         Fix compilation, uninitialized vars and a forgotten continue.
9121
9122 2005-11-17  Andy Wingo  <wingo@pobox.com>
9123
9124         * check/Makefile.am (check_PROGRAMS): 
9125         * check/net/gstnetclientclock.c: Add a most minimal test for the
9126         net client clock. More to come later.
9127
9128         * gst/net/gstnet.h: 
9129         * gst/net/Makefile.am: Add netclientclock.
9130
9131         * gst/net/gstnetclientclock.h:
9132         * gst/net/gstnetclientclock.c: New files, implement an untested
9133         GstClock that takes its time from a network time provider.
9134         Implements the algorithm in network-clock.scm.
9135
9136         * tests/network-clock.scm (*window-size*): Rename from
9137         *queue-length*.
9138         * tests/network-clock.scm (network-time): 
9139         * tests/network-clock-utils.scm (q-push): Update callers.
9140
9141 2005-11-17  Wim Taymans  <wim@fluendo.com>
9142
9143         * gst/gstbin.c: (gst_bin_provide_clock_func),
9144         (gst_bin_sort_iterator_new):
9145         And unref the child too..
9146
9147 2005-11-17  Wim Taymans  <wim@fluendo.com>
9148
9149         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9150         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9151         Refactor the sort iterator so it can be used while holding the
9152         LOCK too.
9153         Make clock selection select a clock closest to the source.
9154
9155 2005-11-17  Michael Smith <msmith@fluendo.com>
9156
9157         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9158         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9159         * gst/gstclock.h:
9160           Anonymous structs are a gcc (and some other compilers) extension, so
9161           don't use them. Since this is only for ABI-compatibility, and our
9162           API/ABI freeze is over in a few days, this whole thing will only
9163           last a few days, so don't bother trying to think up a meaningful
9164           name for the struct.
9165
9166 2005-11-17  Andy Wingo  <wingo@pobox.com>
9167
9168         * gst/gstclock.h (GstClock): Add rate and offset properties,
9169         preserving ABI stability. Add rate/offset accessors. Will file bug
9170         for the freeze break.
9171
9172         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9173         and offset, trying to keep precision and avoiding
9174         underflow/overflow.
9175         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9176         functions. Make gst_clock_set_time_adjust obsolete.
9177         (gst_clock_set_time_adjust): Note that this function is obsolete.
9178         Will file bug soon.
9179
9180         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9181         greppable by using GST_PADDING-1+1.
9182
9183 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9184
9185         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9188           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9189
9190         * gst/gstpadtemplate.h:
9191         * gst/gstpluginfeature.h:
9192           Don't use c++ style comments in headers (#321638).
9193
9194 2005-11-16  Andy Wingo  <wingo@pobox.com>
9195
9196         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9197         buffer.
9198
9199         * check/net/gstnettimeprovider.c: Check to see that the time
9200         provider actually provides times. Works, yo!
9201
9202 2005-11-16  Wim Taymans  <wim@fluendo.com>
9203
9204         * check/Makefile.am:
9205         Enable more tests.
9206
9207         * check/elements/fakesrc.c: (GST_START_TEST):
9208         Set element to NULL before disposing it.
9209
9210 2005-11-16  Andy Wingo  <wingo@pobox.com>
9211
9212         * gst/net/Makefile.am:
9213         * gst/net/gstnet.h:
9214         * gst/net/gstnettimeprovider.c: 
9215         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9216         provider, include it from gstnet.h, and add it to the build.
9217
9218         * gst/net/gstnettimepacket.h: 
9219         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9220         sending and receiving.
9221
9222 2005-11-16  Wim Taymans  <wim@fluendo.com>
9223
9224         * check/Makefile.am:
9225         Enable valgrind check.
9226
9227         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9228         (gst_fake_src_alloc_buffer):
9229         Fix memleak.
9230
9231 2005-11-16  Wim Taymans  <wim@fluendo.com>
9232
9233         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9234         Call parent finalize too.
9235
9236 2005-11-16  Wim Taymans  <wim@fluendo.com>
9237
9238         * check/Makefile.am:
9239         Enable valgrind check that should work fine now.
9240
9241         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9242         * gst/gstqueue.c: (gst_queue_init):
9243         Fix memleaks in pad allocation.
9244
9245 2005-11-16  Andy Wingo  <wingo@pobox.com>
9246
9247         * gst/net/Makefile.am:
9248         * gst/net/gstnet.h: New part of core to hold network elements and
9249         objects. Put in core because it exposes API that applications want
9250         to use. The library is named libgstnet-tempname right now because
9251         of the existing libgstnet in gst-plugins-base. Solution is
9252         probably to rename the one in plugins-base; will file a bug for
9253         the freeze break.
9254
9255         * gst/net/gstnettimeprovider.c: 
9256         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9257         get_time call over the network.
9258
9259         * configure.ac: 
9260         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9261
9262         * check/Makefile.am:
9263         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9264         get additions shortly.
9265
9266 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9267
9268         * gst/gstpad.c: (gst_pad_new_from_static_template):
9269         * gst/gstpad.h:
9270           add gst_pad_new_from_static_template functions
9271         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9272         (gst_check_setup_sink_pad):
9273         * gst/elements/gsttee.c: (gst_tee_init):
9274           and use them
9275
9276 2005-11-16  Wim Taymans  <wim@fluendo.com>
9277
9278         * gst/gstpad.c: (gst_pad_pause_task):
9279         Removed warning, it's not really an error either.
9280
9281 2005-11-16  Wim Taymans  <wim@fluendo.com>
9282
9283         * gst/base/gstbasetransform.c:
9284         (gst_base_transform_prepare_output_buf),
9285         (gst_base_transform_event):
9286         Check if the caps are NULL, this can happen if the element
9287         is shutting down and the pad caps are set to NULL.
9288
9289 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9290
9291         * gst/elements/gsttee.c: (gst_tee_init):
9292           fix pad template leak in tee
9293
9294 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9295
9296         * gst/glib-compat.c: (g_value_dup_gst_object):
9297         * gst/glib-compat.h:
9298         * gst/gstpad.c: (gst_pad_set_property):
9299           use gst_object_ref when setting the pad template; this will
9300           trigger the pad template leaks on GLib 2.6 and the slaves
9301
9302 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9303
9304         * gst/glib-compat.c: (gst_flags_get_first_value):
9305         * gst/glib-compat.h:
9306         * gst/gstregistryxml.c:
9307           remove functions copied from GLib 2.6
9308
9309 2005-11-16  Michael Smith <msmith@fluendo.com>
9310
9311         * gst/Makefile.am:
9312           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9313           do, but only breaks with newer valgrind versions. We're not a
9314           valgrind tool, we have no link-time dependencies on libcoregrind.
9315
9316 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9317
9318         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9319           some debug changes
9320         * gst/gstmessage.h:
9321           typo fixes
9322
9323 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9324
9325         * gst/base/gstbasesrc.c: (gst_base_src_init):
9326         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9327         * gst/gstqueue.c: (gst_queue_init):
9328         * gst/gstregistryxml.c: (load_feature):
9329           Revert all these unrefs, they don't even pass make check !
9330
9331 2005-11-15  Johan Dahlin  <johan@gnome.org>
9332
9333         * gst/base/gstbasesrc.c: (gst_base_src_init):
9334         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9335         * gst/gstqueue.c: (gst_queue_init): 
9336         Free pad templates, fixes a couple of leaks.
9337
9338 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9339
9340         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9341
9342         * gst/gstpad.c: (gst_pad_get_property):
9343           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9344           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9345           (#321452)
9346
9347 2005-11-15  Wim Taymans  <wim@fluendo.com>
9348
9349         * gst/gstevent.c:
9350         Small doc update.
9351
9352 2005-11-15  Andy Wingo  <wingo@pobox.com>
9353
9354         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9355
9356         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9357         using GST_CLOCK_TIME_NONE to disable base time management.
9358         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9359         time if it was NONE before.
9360         (gst_pipeline_change_state): Only munge the base time if
9361         stream_time != GST_CLOCK_TIME_NONE.
9362
9363         * check/gst/gstpipeline.c (test_base_time): Punt around the
9364         problem of the probe not being called, because that's not the
9365         issue I'm looking at. Add a check that setting stream_time to NONE
9366         disables base time management.
9367         
9368 2005-11-15  Wim Taymans  <wim@fluendo.com>
9369
9370         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9371         segment_stop == -1 at startup.
9372
9373         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9374         (gst_base_transform_change_state):
9375         Init segment values at start.
9376
9377 2005-11-15  Wim Taymans  <wim@fluendo.com>
9378
9379         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9380         0 segment values are 0 in any format.
9381
9382         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9383         * gst/base/gstbasetransform.h:
9384         Parse newsegment correctly in basetransform
9385
9386         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9387         Sync to clock using updated segment values.
9388
9389 2005-11-15  Andy Wingo  <wingo@pobox.com>
9390
9391         * check/gst/gstpipeline.c (test_base_time): Add check that the
9392         base time and stream time are reset correctly.
9393
9394 2005-11-15  Wim Taymans  <wim@fluendo.com>
9395
9396         * docs/design/part-TODO.txt:
9397         Some more TODO items.
9398
9399 2005-11-15  Andy Wingo  <wingo@pobox.com>
9400
9401         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9402         error if the user selected "no clock" as the clocking method.
9403
9404         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9405         timestamps with live capture.
9406
9407         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9408         is 0 but we are a live source, timestamp the buffers using the
9409         element's clock.
9410
9411 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9412
9413         * docs/gst/gstreamer-sections.txt:
9414         * gst/gsterror.c:
9415         * gst/gstghostpad.c:
9416         * gst/gstobject.h:
9417         * gst/gstxml.c:
9418           more section docs
9419
9420 2005-11-14  Wim Taymans  <wim@fluendo.com>
9421
9422         * common/gst.supp:
9423           add suppressions from Wim's Debian machine
9424
9425 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9426
9427         * common/gst.supp:
9428           add suppressions from Andy's AMD64 Ubuntu machine
9429
9430 2005-11-14  Andy Wingo  <wingo@pobox.com>
9431
9432         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9433         STATE_LOCK not necessary. Fixes #311489.
9434
9435         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9436         #305291.
9437
9438         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9439         this function is not implemented.
9440
9441 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9442
9443         * gst/base/gstbasetransform.c:
9444         (gst_base_transform_prepare_output_buf):
9445         Ref the source pad caps while we need them.
9446         Fixes (#321386)
9447
9448 2005-11-11  Wim Taymans  <wim@fluendo.com>
9449
9450         * docs/gst/gstreamer-sections.txt:
9451         Added some docs for GstCollectData.
9452
9453         * gst/base/gstadapter.c:
9454         Some small code example fix.
9455
9456         * gst/base/gstcollectpads.c:
9457         * gst/base/gstcollectpads.h:
9458         Document some more.
9459
9460 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9461
9462         * configure.ac: back to HEAD
9463
9464 === release 0.9.5 ===
9465
9466 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9467
9468         * configure.ac:
9469           releasing 0.9.5, "Bike Lunch Day"
9470
9471 2005-11-11  Wim Taymans  <wim@fluendo.com>
9472
9473         * gst/gstbuffer.c: (_gst_buffer_copy):
9474         Copy more flags.
9475
9476         * gst/gstcaps.c: (gst_caps_is_equal):
9477         Fix some docs.
9478         Make _is_equal fast in the trivial cases.
9479
9480         * gst/gstminiobject.c:
9481         * gst/gstminiobject.h:
9482         More docs. Spifify .h file.
9483
9484         * gst/gstutils.c:
9485         Small doc update.
9486
9487 2005-11-11  Wim Taymans  <wim@fluendo.com>
9488
9489         * gst/base/gstbasetransform.c:
9490         (gst_base_transform_prepare_output_buf),
9491         (gst_base_transform_handle_buffer):
9492         Small cleanups.
9493         If we're processing a buffer and need to allocate an output
9494         buffer, we cannot accept a format change. If we did get a 
9495         format change, we have to alloc a buffer ourselves of the 
9496         right size.
9497
9498 2005-11-11  Wim Taymans  <wim@fluendo.com>
9499
9500         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9501         While checking the flag for reentrancy in the gstcaps function
9502         is nice to detect recursive invocations, it also makes it 
9503         impossible to call getcaps from multiple threads, which must be
9504         possible. So, checking for recursive calls has to go.
9505
9506 2005-11-11  Michael Smith <msmith@fluendo.com>
9507
9508         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9509           Don't sync on buffers that fall partially outside our current
9510           segment. Prevents an assertion failure/abort playing some files.
9511
9512 2005-11-10  Andy Wingo  <wingo@pobox.com>
9513
9514         * check/gst/gstbin.c (test_message_state_changed_children): Style
9515         fix..
9516
9517         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9518         gst_bus_poll with the signal watch. Ensures that poll and a signal
9519         watch see the same messages.
9520
9521         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9522         a poll and a watch at the same time get the same messages.
9523
9524 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9525
9526         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9527         * gst/gstcaps.c: (gst_caps_intersect):
9528           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9529           and it's not needed.
9530
9531 2005-11-10  Wim Taymans  <wim@fluendo.com>
9532
9533         * docs/design/part-TODO.txt:
9534         Updated todo.
9535
9536 2005-11-10  Wim Taymans  <wim@fluendo.com>
9537
9538         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9539         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9540         (gst_base_src_do_sync), (gst_base_src_get_range):
9541         Implement clock sync in base class.
9542
9543 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9544
9545         patch by: Tim-Philipp Müller <tim at centricular dot net>
9546
9547         * gst/gststructure.c: (gst_structure_parse_field),
9548         (gst_structure_from_string):
9549           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9550           so that gst_parse_launch() can deal with spaces in filtered link
9551           caps (fixes #164479)
9552         * check/gst/capslist.h:
9553         * check/gst/gststructure.c: (GST_START_TEST):
9554           add unit tests for this change
9555
9556 2005-11-10  Wim Taymans  <wim@fluendo.com>
9557
9558         * docs/gst/gstreamer-sections.txt:
9559         * gst/gstelement.c:
9560         * gst/gstelement.h:
9561         Fix docs, move some STATE macros to private.
9562
9563 2005-11-10  Wim Taymans  <wim@fluendo.com>
9564
9565         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9566         Added check for bug #317341
9567
9568         * gst/gstbuffer.c:
9569         * gst/gstbuffer.h:
9570         Some more spiffifying.
9571
9572         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9573         Call peer linkfunction if we are a source pad. Totally fixes
9574         #317341
9575
9576         * gst/gstpad.c:
9577         Update docs, source pads should call the peer linkfunction
9578         so they can atomically perform the pad link.
9579
9580 2005-11-09  Wim Taymans  <wim@fluendo.com>
9581
9582         * gst/gstbuffer.c:
9583         * gst/gstbuffer.h:
9584         Uber-spiffy-spiffify some more.
9585
9586 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9587
9588         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9589         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9590         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9591         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9592         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9593         * gst/gstpad.c: (gst_pad_init):
9594           Use GST_DEBUG_FUNCPTR() more extensively.
9595
9596 2005-11-09  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/gstobject.c: (gst_object_class_init):
9599         * gst/gstobject.h:
9600         Documentation fixes.
9601
9602 2005-11-09  Edward Hervey  <edward@fluendo.com>
9603
9604         * gst/gsttypefindfactory.c:
9605         Fix docs.
9606         
9607 2005-11-09  Edward Hervey  <edward@fluendo.com>
9608
9609         * gst/base/gsttypefindhelper.c:
9610         * gst/gsttypefind.c:
9611         * gst/gsttypefind.h:
9612         Fix docs.
9613
9614 2005-11-09  Wim Taymans  <wim@fluendo.com>
9615
9616         * gst/gstiterator.c:
9617         Fix revision data.
9618
9619         * gst/gsttask.c:
9620         * gst/gsttask.h:
9621         Fix docs.
9622
9623 2005-11-09  Wim Taymans  <wim@fluendo.com>
9624
9625         * gst/gstevent.h:
9626         * gst/gsturi.h:
9627         Fix docs.
9628
9629 2005-11-09  Wim Taymans  <wim@fluendo.com>
9630
9631         * docs/gst/gstreamer-sections.txt:
9632         Moved the message async delivery private lock and cond
9633         to the private section.
9634
9635         * gst/gstmessage.c:
9636         * gst/gstmessage.h:
9637         Fixed docs.
9638
9639 2005-11-09  Edward Hervey  <edward@fluendo.com>
9640
9641         * docs/gst/gstreamer-sections.txt:
9642         * gst/gsturi.c:
9643         * gst/gsturi.h:
9644         Document GstURIHandler
9645
9646 2005-11-09  Wim Taymans  <wim@fluendo.com>
9647
9648         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9649         (gst_iterator_find_custom):
9650         * gst/gstiterator.h:
9651         Fix iterator docs.
9652
9653 2005-11-09  Wim Taymans  <wim@fluendo.com>
9654
9655         * gst/gstbin.h:
9656         Document another field.
9657
9658         * gst/gststructure.c:
9659         * gst/gststructure.h:
9660         Document.
9661
9662 2005-11-09  Wim Taymans  <wim@fluendo.com>
9663
9664         * gst/gstbin.h:
9665         Documented structs.
9666
9667 2005-11-09  Wim Taymans  <wim@fluendo.com>
9668
9669         * docs/gst/gstreamer-sections.txt:
9670         Added some new macros.
9671
9672         * gst/gstclock.c:
9673         * gst/gstclock.h:
9674         * gst/gstobject.h:
9675         Docs updates.
9676
9677 2005-11-09  Wim Taymans  <wim@fluendo.com>
9678
9679         * docs/design/part-TODO.txt:
9680         Some more items for the TODO
9681
9682         * gst/gstcaps.c:
9683         * gst/gstcaps.h:
9684         Document GstCaps.
9685
9686 2005-11-09  Andy Wingo  <wingo@pobox.com>
9687
9688         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9689         to work on something else now tho...
9690
9691         * gst/base/gstadapter.c: More adapter docs.
9692
9693         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9694         (gst_file_sink_stop): New functions, replace the state change
9695         handler.
9696         (gst_file_sink_class_init): Hook up the start and stop functions.
9697         (gst_file_sink_base_init): Don't set the state change handler any
9698         more. It was a bit ugly too, being set from here...
9699         (gst_file_sink_get_property, gst_file_sink_set_property):
9700         Cleanups...
9701         (gst_file_sink_set_location): More robust check that doesn't call
9702         GST_STATE. Ugggggg.
9703
9704 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9705
9706         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9707           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9708
9709 2005-11-08  Wim Taymans  <wim@fluendo.com>
9710
9711         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9712         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9713         (gst_base_sink_chain), (gst_base_sink_change_state):
9714         * gst/base/gstbasesink.h:
9715         * gst/base/gstbasesrc.h:
9716         * gst/gstelement.h:
9717         * gst/gstevent.h:
9718         Avoid excessive typechecking in macros.
9719
9720         * gst/gstminiobject.c: (gst_mini_object_get_type),
9721         (gst_mini_object_init), (gst_mini_object_new),
9722         (gst_mini_object_free):
9723         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9724         (gst_object_finalize):
9725         Remove cruft code, optimize alloc_trace.
9726
9727 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9728
9729         * docs/faq/gst-uninstalled:
9730           fix up PS1 for systems that try to reset it
9731
9732 2005-11-07  Wim Taymans  <wim@fluendo.com>
9733
9734         * gst/base/gstbasesrc.c: (gst_base_src_init),
9735         (gst_base_src_get_range):
9736         Set the segment_end to -1 initially. Fixed typefind.
9737
9738 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * gst/base/gstadapter.c:
9741           Debug category should be 'adapter', not 'GstAdapter'.
9742           
9743         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9744         (gst_collectpads_class_init), (gst_collectpads_init),
9745         (gst_collectpads_peek), (gst_collectpads_pop),
9746         (gst_collectpads_event), (gst_collectpads_chain):
9747           Add debug category and some debugging output. Use boilerplate
9748           macros. Remove some extraneous words from docs.
9749
9750 2005-11-05  Andy Wingo  <wingo@pobox.com>
9751
9752         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9753         macro.
9754
9755 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9756
9757         * docs/gst/gstreamer-sections.txt:
9758         * gst/gstcaps.h:
9759         * gst/gstinfo.c:
9760         * gst/gstminiobject.h:
9761         * gst/gstobject.h:
9762         * gst/gstutils.h:
9763           more docs added
9764
9765 2005-11-04  Wim Taymans  <wim@fluendo.com>
9766
9767         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9768         Small update to stop at the configured segment_end
9769         position.
9770
9771 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9772
9773         * gst/gstregistry.c:
9774         * gst/gstregistry.h:
9775           added missing docs
9776
9777 2005-11-04  Edward Hervey  <edward@fluendo.com>
9778
9779         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9780         Check if we are doing a segment seek and have arrived at the
9781         end of that segment.
9782
9783 2005-11-04  Wim Taymans  <wim@fluendo.com>
9784
9785         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9786         Don't leak a mutex unlock in case of an error.
9787
9788         * gst/gstbus.h:
9789         Doc fixes.
9790
9791 2005-11-04  Wim Taymans  <wim@fluendo.com>
9792
9793         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9794         (gst_bus_post):
9795         Get the context to wake up only once.
9796
9797 2005-11-03  Wim Taymans  <wim@fluendo.com>
9798
9799         * check/states/sinks.c: (GST_START_TEST):
9800         Uncomment fixed check.
9801
9802         * docs/design/part-TODO.txt:
9803         Updated TODO.
9804
9805         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9806         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9807         (gst_base_sink_get_position):
9808         If we are going to PLAYING, post the right pending state
9809         when we post the intermediate paused message.
9810
9811         * gst/gstelement.c: (gst_element_continue_state),
9812         (gst_element_set_state_func), (gst_element_change_state):
9813         Don't post state changes that were between the same state
9814         and were not ASYNC.
9815
9816 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9817
9818         * docs/gst/gstreamer-sections.txt:
9819         * gst/gstcaps.h:
9820         * gst/gstinfo.c:
9821         * gst/gstminiobject.h:
9822         * gst/gstobject.h:
9823         * gst/gstutils.h:
9824           more docs and doc style fixes
9825
9826 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9827
9828         * docs/gst/gstreamer-sections.txt:
9829         * gst/gstelement.c:
9830         * gst/gstminiobject.c:
9831         doc fixes
9832
9833 2005-11-03  Andy Wingo  <wingo@pobox.com>
9834
9835         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9836         state-changed messages actually have the right order and the right
9837         values.
9838
9839 2005-11-03  Wim Taymans  <wim@fluendo.com>
9840
9841         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9842         Added some more checks. Specifically the case where NO_PREROLL
9843         elements are in the pipeline.
9844
9845         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9846         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9847         (gst_base_sink_get_position):
9848         Post READY->PAUSED state change messages too.
9849         Fix bug where VOID was posted as pending state...
9850
9851         * gst/gstbin.c: (gst_bin_recalc_state):
9852         use _element_continue_state() to continue the state change.
9853
9854         * gst/gstelement.c: (gst_element_continue_state),
9855         (gst_element_commit_state), (gst_element_set_state_func),
9856         (gst_element_change_state), (gst_element_change_state_func):
9857         Lots of state change cleanups, assign the STATE_RETURN in
9858         a new continue_state() function that also propagates the
9859         last return value from a state change to the app.
9860         Update some debug statements with proper category.
9861
9862 2005-11-03  Wim Taymans  <wim@fluendo.com>
9863
9864         * docs/design/part-events.txt:
9865         * docs/design/part-gstpipeline.txt:
9866         * docs/design/part-messages.txt:
9867         * docs/design/part-overview.txt:
9868         * docs/design/part-seeking.txt:
9869         * docs/design/part-states.txt:
9870         * docs/design/part-trickmodes.txt:
9871         * docs/manual/advanced-position.xml:
9872         Small docs updates.
9873
9874         * gst/gstobject.h:
9875         People think !! is ugly, this looks better.
9876
9877         * gst/gstpad.c: (gst_pad_set_blocked_async):
9878         Remove !! since it's fixed elsewhere now.
9879
9880 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9881
9882         * gst/gstminiobject.h:
9883         * gst/gstobject.h:
9884           Add !! to _FLAG_IS_SET macros to make the result boolean.
9885
9886 2005-11-03  Edward Hervey  <edward@fluendo.com>
9887
9888         * gst/gstpad.c: (gst_pad_set_blocked_async):
9889         comparing a flag and a gboolean rarely returns coherent results...
9890         Added two characters (!!) to make that work correctly.
9891         
9892 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9893
9894         * gst/gstbus.c: (gst_bus_class_init):
9895           Fix some typos.
9896           
9897         * gst/gstqueue.c: (gst_queue_loop):
9898           Don't assume a miniobject that isn't a buffer is an
9899           event (it could be that there is a refcounting
9900           problem somewhere and the pointer is stale and
9901           refers to an already destroyed miniobject).
9902
9903 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9904
9905         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9906
9907 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9908
9909         * docs/manual/advanced-position.xml:
9910           Update seek example and explanations to current 0.9 API.
9911
9912         * gst/elements/gsttypefindelement.c:
9913         (gst_type_find_element_activate):
9914           Remove FIXME comment now that the found caps
9915           are unreffed.
9916
9917 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9918
9919         * gst/gstregistryxml.c: (load_feature):
9920           Add another GST_STR_NULL instance
9921
9922 2005-11-02  Edward Hervey  <edward@fluendo.com>
9923
9924         * gst/gstpad.c: (handle_pad_block):
9925         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9926         
9927 2005-11-02  Wim Taymans  <wim@fluendo.com>
9928
9929         * gst/gstbin.c:
9930         Fix typo in docs.
9931
9932         * gst/gstelement.c: (gst_element_commit_state):
9933         Remove unused value.
9934
9935         * gst/gstiterator.c:
9936         Mention that the returned element is reffed in the docs.
9937
9938 2005-11-02  Wim Taymans  <wim@fluendo.com>
9939
9940         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9941         (gst_pad_push), (gst_pad_push_event):
9942         Unlock blocked pads when they are flushed.
9943
9944 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9945
9946         * docs/README:
9947         * docs/gst/gstreamer-sections.txt:
9948         * gst/gstbin.c:
9949           doc updates
9950         * gst/gstregistry.c: (gst_registry_scan_path_level):
9951           fix for a nasty little missed situation where an installed plug-in
9952           which was in the cache did not get overridden by an uninstalled one
9953           which was earlier in the plugin path because the newly created plugin
9954           for the uninstalled one (not in the registry) didn't get its
9955           ->registered set to TRUE
9956
9957 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9958
9959         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9960         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9961         (gst_collectpads_is_active), (gst_collectpads_collect),
9962         (gst_collectpads_collect_range), (gst_collectpads_start),
9963         (gst_collectpads_stop), (gst_collectpads_peek),
9964         (gst_collectpads_pop), (gst_collectpads_available),
9965         (gst_collectpads_read), (gst_collectpads_flush):
9966           Guard public API with assertions.
9967         
9968         * gst/gstpad.c:
9969           Fix docs for gst_pad_set_link_function().
9970
9971 2005-11-02  Johan Dahlin  <johan@gnome.org>
9972
9973         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9974         Unref found_caps after we used it.
9975
9976 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9977
9978         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9979           Don't try to ref NULL.
9980
9981 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9982
9983         * win32/common/config.h.in:
9984           provide a GST_FUNCTION that just gives a string for now
9985
9986 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9987
9988         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9989         (gst_object_flags_get_type), (register_gst_bin_flags),
9990         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9991         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9992         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9993         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9994         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9995         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9996         (gst_clock_flags_get_type), (register_gst_state),
9997         (gst_state_get_type), (register_gst_state_change_return),
9998         (gst_state_change_return_get_type), (register_gst_state_change),
9999         (gst_state_change_get_type), (register_gst_element_flags),
10000         (gst_element_flags_get_type), (register_gst_core_error),
10001         (gst_core_error_get_type), (register_gst_library_error),
10002         (gst_library_error_get_type), (register_gst_resource_error),
10003         (gst_resource_error_get_type), (register_gst_stream_error),
10004         (gst_stream_error_get_type), (register_gst_event_type),
10005         (gst_event_type_get_type), (register_gst_seek_type),
10006         (gst_seek_type_get_type), (register_gst_seek_flags),
10007         (gst_seek_flags_get_type), (register_gst_format),
10008         (gst_format_get_type), (register_gst_index_certainty),
10009         (gst_index_certainty_get_type), (register_gst_index_entry_type),
10010         (gst_index_entry_type_get_type),
10011         (register_gst_index_lookup_method),
10012         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10013         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10014         (gst_index_resolver_method_get_type), (register_gst_index_flags),
10015         (gst_index_flags_get_type), (register_gst_debug_level),
10016         (gst_debug_level_get_type), (register_gst_debug_color_flags),
10017         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10018         (gst_iterator_result_get_type), (register_gst_iterator_item),
10019         (gst_iterator_item_get_type), (register_gst_message_type),
10020         (gst_message_type_get_type), (register_gst_mini_object_flags),
10021         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10022         (gst_pad_link_return_get_type), (register_gst_flow_return),
10023         (gst_flow_return_get_type), (register_gst_activate_mode),
10024         (gst_activate_mode_get_type), (register_gst_pad_direction),
10025         (gst_pad_direction_get_type), (register_gst_pad_flags),
10026         (gst_pad_flags_get_type), (register_gst_pad_presence),
10027         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10028         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10029         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10030         (gst_plugin_error_get_type), (register_gst_plugin_flags),
10031         (gst_plugin_flags_get_type), (register_gst_rank),
10032         (gst_rank_get_type), (register_gst_query_type),
10033         (gst_query_type_get_type), (register_gst_tag_merge_mode),
10034         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10035         (gst_tag_flag_get_type), (register_gst_task_state),
10036         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10037         (gst_alloc_trace_flags_get_type),
10038         (register_gst_type_find_probability),
10039         (gst_type_find_probability_get_type), (register_gst_uri_type),
10040         (gst_uri_type_get_type), (register_gst_parse_error),
10041         (gst_parse_error_get_type):
10042         * win32/common/gstversion.h:
10043           update win32 copies
10044
10045 2005-11-01  Luca Ognibene  <luogni@tin.it>
10046
10047         * gst/gst.c:
10048           fix docs. popt is dead, long live GOption.
10049
10050 2005-10-31  Wim Taymans  <wim@fluendo.com>
10051
10052         * gst/gstbuffer.h:
10053         Small doc fix.
10054
10055 2005-10-31  Andy Wingo  <wingo@pobox.com>
10056
10057         * Boo!
10058
10059         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10060
10061         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10062         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10063         the possibility of deadlocks here if code calling notify() or
10064         set() has a lock that can be taken in another notify handler (ABBA
10065         with class lock and e.g. python GIL state lock).
10066
10067 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10068
10069         * gst/gstbus.c: Doc updates.
10070
10071 2005-10-28  Wim Taymans  <wim@fluendo.com>
10072
10073         * docs/design/part-TODO.txt:
10074         * gst/gstiterator.c:
10075         * gst/gstsystemclock.c:
10076         * gst/gstsystemclock.h:
10077         Doc updates.
10078
10079 2005-10-28  Edward Hervey  <edward@fluendo.com>
10080
10081         * docs/gst/gstreamer-docs.sgml:
10082         * docs/gst/gstreamer-sections.txt:
10083         the GstURIType documentation page is private, it only defines GstURIType
10084         which should be defined in the GstURIHandler page
10085         
10086 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10087
10088         * gst/gstbin.c: (gst_bin_class_init):
10089         * gst/gstbin.h:
10090         * gst/gstutils.c:
10091         Documentation updates.
10092
10093 2005-10-28  Wim Taymans  <wim@fluendo.com>
10094
10095         * docs/gst/gstreamer-sections.txt:
10096         * gst/gstclock.c:
10097         * gst/gstclock.h:
10098         Documented the clocks.
10099
10100 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10101
10102         * docs/gst/gstreamer-sections.txt:
10103           move some macros to private sections
10104         * gst/gstminiobject.c:
10105         * gst/gstminiobject.h:
10106           add descriptions provided by ds and some more
10107         * gst/gstpad.h:
10108           mark macro as to be removed
10109
10110 2005-10-28  Wim Taymans  <wim@fluendo.com>
10111
10112         * docs/design/part-TODO.txt:
10113         Add an item to TODO.
10114
10115         * gst/gstiterator.c: (gst_iterator_fold),
10116         (gst_iterator_find_custom):
10117         * gst/gstiterator.h:
10118         Add iterator docs.
10119
10120 2005-10-28  Wim Taymans  <wim@fluendo.com>
10121
10122         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10123         (gst_base_transform_init):
10124         Don't leak class.
10125
10126         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10127         An EOS event marks the queue as completely filled.
10128
10129 2005-10-27  Wim Taymans  <wim@fluendo.com>
10130
10131         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10132         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10133         Some more debugging.
10134
10135         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10136         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10137         (gst_base_transform_event), (gst_base_transform_getrange),
10138         (gst_base_transform_chain):
10139         * gst/base/gstbasetransform.h:
10140         Fix debugging,
10141         Protect transform and concurrent buffer alloc with a new lock.
10142         Try not to break ABI/API.
10143
10144 2005-10-27  Wim Taymans  <wim@fluendo.com>
10145
10146         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10147         (gst_base_src_init), (gst_base_src_query),
10148         (gst_base_src_default_newsegment),
10149         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10150         (gst_base_src_send_event), (gst_base_src_event_handler),
10151         (gst_base_src_pad_get_range), (gst_base_src_loop),
10152         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10153         (gst_base_src_start), (gst_base_src_deactivate),
10154         (gst_base_src_activate_push), (gst_base_src_change_state):
10155         Move some stuff around and cleanup things.
10156
10157 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10158
10159         * gst/base/gstbasesrc.c: (gst_base_src_query):
10160           Add missing break statements.
10161
10162 2005-10-27  Wim Taymans  <wim@fluendo.com>
10163
10164         * check/gst/gstbin.c: (GST_START_TEST):
10165         An extra refcount is taken in basesrc.
10166
10167         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10168         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10169         (gst_base_src_loop):
10170         Small cleanups, check for flushing after being unlocked from the 
10171         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10172         Don't send out EOS when going to READY.
10173
10174 2005-10-27  Wim Taymans  <wim@fluendo.com>
10175
10176         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10177         (gst_base_sink_get_position):
10178         Some more debug.
10179
10180         * gst/gstbin.c: (message_check), (bin_replace_message),
10181         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10182         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10183         (bin_query_duration_init), (bin_query_duration_fold),
10184         (bin_query_duration_done), (bin_query_generic_fold),
10185         (gst_bin_query):
10186         * tools/gst-launch.c: (main):
10187         Remove old option.
10188
10189 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10190
10191         * examples/controller/audio-example.c: (main):
10192         * examples/queue/queue.c: (event_loop):
10193         * gst/base/gstbasetransform.h:
10194         * gst/gstelement.c: (gst_element_send_event):
10195         * gst/gstevent.h:
10196         * gst/gstpad.c: (gst_pad_send_event):
10197           fixing examples
10198           fixing docs typos
10199           changing log priority in error situations
10200
10201 2005-10-25  Wim Taymans  <wim@fluendo.com>
10202
10203         * gst/gstbin.c: (message_check), (bin_replace_message),
10204         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10205         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10206         (bin_query_duration_init), (bin_query_duration_fold),
10207         (bin_query_duration_done), (bin_query_generic_fold),
10208         (gst_bin_query):
10209         Some doc and debug updates.
10210         Cache previously requested query DURATION for speed. invalidate
10211         cached duration if element posts a DURATION message.
10212
10213 2005-10-25  Wim Taymans  <wim@fluendo.com>
10214
10215         * docs/design/part-TODO.txt:
10216         Update TODO.
10217
10218         * gst/gstbin.c: (message_check), (bin_replace_message),
10219         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10220         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10221         (bin_query_duration_init), (bin_query_duration_fold),
10222         (bin_query_duration_done), (bin_query_generic_fold),
10223         (gst_bin_query):
10224         Handle SEGMENT_START/DONE messages correctly.
10225         More evolved query algorithm that handles duration queries
10226         correctly.
10227
10228         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10229         (gst_element_get_state_func), (gst_element_abort_state),
10230         (gst_element_commit_state), (gst_element_lost_state):
10231         Some more debugging.
10232
10233         * gst/gstmessage.h:
10234         Added doc.
10235
10236 2005-10-25  Wim Taymans  <wim@fluendo.com>
10237
10238         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10239         Don't use invalid stream_time.
10240
10241         * gst/gstevent.c: (gst_event_new_newsegment):
10242         stream_time in newsegment cannot be undefined.
10243
10244 2005-10-24  Wim Taymans  <wim@fluendo.com>
10245
10246         * gst/gstbus.c:
10247         Doc fix.
10248
10249         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10250         (gst_queue_loop):
10251         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10252
10253 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10254
10255         * docs/libs/tmpl/gstdparam.sgml:
10256         * docs/libs/tmpl/gstdplinint.sgml:
10257         * docs/libs/tmpl/gstdpman.sgml:
10258         * docs/libs/tmpl/gstdpsmooth.sgml:
10259         * docs/libs/tmpl/gstunitconvert.sgml:
10260           these are obsolete
10261
10262 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10263
10264         * configure.ac:
10265           back to HEAD
10266
10267 === release 0.9.4 ===
10268
10269 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10270
10271         * configure.ac:
10272           releasing 0.9.4, "Tyrannosaurus Rex"
10273
10274 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10275
10276         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10277         (gst_file_sink_get_current_offset):
10278           Use fseeko() and ftello() if available. When falling back on
10279           lseek() to get the current offset, fflush() first to make sure
10280           everything is up-to-date and we get the right offset.
10281
10282 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10283
10284         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10285         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10286         * gst/gsterror.c: (_gst_stream_errors_init):
10287         * gst/gsterror.h:
10288         * gst/gstqueue.c: (gst_queue_loop):
10289         * po/POTFILES.in:
10290           remove prematurely added error category and clean up the instances
10291
10292 2005-10-21  Wim Taymans  <wim@fluendo.com>
10293
10294         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10295         (gst_base_sink_get_position), (gst_base_sink_query),
10296         (gst_base_sink_change_state):
10297         Simply set the right flag when going to playing, that's all
10298         we need to do instead of calling a function inside the object
10299         lock (that could take the lock as well and deadlock)
10300
10301 2005-10-21  Wim Taymans  <wim@fluendo.com>
10302
10303         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10304         (gst_base_src_loop):
10305         Don't warn, the peer element knows what to do best when
10306         the seek failed, it might try something else.
10307
10308 2005-10-21  Wim Taymans  <wim@fluendo.com>
10309
10310         * gst/base/gstbasesrc.c: (gst_base_src_init),
10311         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10312         Fix seeking.
10313
10314 2005-10-21  Wim Taymans  <wim@fluendo.com>
10315
10316         * docs/design/part-segments.txt:
10317         More docs.
10318
10319         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10320         Correctly set caps, even on the subbufer.
10321
10322 2005-10-21  Wim Taymans  <wim@fluendo.com>
10323
10324         * docs/gst/gstreamer-docs.sgml:
10325         * docs/gst/gstreamer-sections.txt:
10326         * gst/gstelement.h:
10327         * gst/gstevent.c:
10328         * gst/gstevent.h:
10329         * gst/gstmessage.h:
10330         * gst/gstpad.h:
10331         * gst/gstparse.h:
10332         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10333         * gst/gsttask.h:
10334         * gst/gstutils.c:
10335         * gst/gstutils.h:
10336         And 2% more doc coverage.
10337
10338 2005-10-21  Andy Wingo  <wingo@pobox.com>
10339
10340         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10341         position reporting.
10342
10343 2005-10-20  Wim Taymans  <wim@fluendo.com>
10344
10345         * gst/gsterror.c: (gst_error_get_message):
10346         * gst/gstparse.h:
10347         * gst/gstquery.h:
10348         * gst/gststructure.c:
10349         * gst/gsttrace.c:
10350         * gst/gstutils.c:
10351         More docs.
10352
10353 2005-10-20  Wim Taymans  <wim@fluendo.com>
10354
10355         * gst/gstbuffer.h:
10356         * gst/gstpad.c:
10357         * gst/gstparse.c:
10358         Another 1% more coverage.
10359
10360 2005-10-20  Wim Taymans  <wim@fluendo.com>
10361
10362         * docs/gst/gstreamer-sections.txt:
10363         * gst/gstelement.c: (gst_element_get_state_func),
10364         (gst_element_abort_state), (gst_element_commit_state),
10365         (gst_element_lost_state):
10366         * gst/gstevent.h:
10367         * gst/gstquery.c: (gst_query_set_position),
10368         (gst_query_parse_position), (gst_query_set_duration),
10369         (gst_query_parse_duration), (gst_query_new_convert):
10370         * gst/gstutils.c:
10371         Yay! 1% more docs coverage.
10372
10373 2005-10-20  Wim Taymans  <wim@fluendo.com>
10374
10375         * gst/gstpad.h:
10376         * gst/gstquery.c: (gst_query_set_position),
10377         (gst_query_parse_position), (gst_query_set_duration),
10378         (gst_query_parse_duration), (gst_query_new_convert):
10379         * gst/gstquery.h:
10380         * gst/gstutils.c: (gst_element_query_convert):
10381         * gst/gstutils.h:
10382         Docs and consistency fixes.
10383
10384 2005-10-20  Wim Taymans  <wim@fluendo.com>
10385
10386         * gst/gsttask.c:
10387         * gst/gsttask.h:
10388         More docs.
10389
10390 2005-10-20  Wim Taymans  <wim@fluendo.com>
10391
10392         * gst/gstbin.c: (message_check), (bin_replace_message),
10393         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10394         (update_degree), (gst_bin_sort_iterator_next),
10395         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10396         Reworked the message handling a bit, cache the messages instead of
10397         only the senders. alows us to do more in the future.
10398
10399 2005-10-20  Wim Taymans  <wim@fluendo.com>
10400
10401         * docs/design/part-TODO.txt:
10402         Update TODO
10403
10404         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10405         (gst_base_sink_query):
10406         Don't use clock time to report position when in EOS.
10407
10408 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10409
10410         * tools/gst-inspect.c: (print_interfaces),
10411         (print_element_properties_info), (print_element_info):
10412           Fix interface output with gst-inspect -a; don't print
10413           newlines after double/float properties.
10414
10415 2005-10-20  Wim Taymans  <wim@fluendo.com>
10416
10417         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10418         (gst_base_sink_query):
10419         Speed up current position calculation.
10420
10421         * gst/base/gstbasesrc.c: (gst_base_src_query),
10422         (gst_base_src_default_newsegment):
10423         Correctly set stream position in newsegment.
10424
10425         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10426         (update_degree), (gst_bin_sort_iterator_next),
10427         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10428         * gst/gstmessage.c: (gst_message_new_custom):
10429         Clean up debugging info
10430
10431         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10432         (gst_queue_loop), (gst_queue_handle_src_query):
10433         Pause task faster.
10434
10435 2005-10-19  Wim Taymans  <wim@fluendo.com>
10436
10437         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10438         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10439         Fix query handling again.
10440
10441 2005-10-19  Wim Taymans  <wim@fluendo.com>
10442
10443         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10444         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10445         * gst/base/gstbasesrc.c: (gst_base_src_query):
10446         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10447         * gst/elements/gsttypefindelement.c:
10448         (gst_type_find_handle_src_query), (find_element_get_length),
10449         (gst_type_find_element_activate):
10450         API change fix.
10451
10452         * gst/gstquery.c: (gst_query_new_position),
10453         (gst_query_set_position), (gst_query_parse_position),
10454         (gst_query_new_duration), (gst_query_set_duration),
10455         (gst_query_parse_duration), (gst_query_set_segment),
10456         (gst_query_parse_segment):
10457         * gst/gstquery.h:
10458         Bundling query position/duration is not a good idea since duration
10459         does not change much and we don't want to recalculate it for every
10460         position query, so they are separated again..
10461         Base value in segment query is not needed.
10462
10463         * gst/gstqueue.c: (gst_queue_handle_src_query):
10464         * gst/gstutils.c: (gst_element_query_position),
10465         (gst_element_query_duration), (gst_pad_query_position),
10466         (gst_pad_query_duration):
10467         * gst/gstutils.h:
10468         Updates for query API change.
10469         Added some docs here and there.
10470
10471 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10472
10473         * check/gst/gstbin.c: (GST_START_TEST):
10474         * check/gst/gstghostpad.c: (GST_START_TEST):
10475         * check/pipelines/cleanup.c: (GST_START_TEST):
10476           wait on thread to die so we can check refcount correctly
10477
10478 2005-10-18  Wim Taymans  <wim@fluendo.com>
10479
10480         * check/pipelines/stress.c: (GST_START_TEST):
10481         Make check a little more time consuming.
10482
10483 2005-10-18  Wim Taymans  <wim@fluendo.com>
10484
10485         * check/Makefile.am:
10486         * check/pipelines/stress.c: (GST_START_TEST),
10487         (simple_launch_lines_suite), (main):
10488         Small state change torture test.
10489
10490         * docs/design/part-states.txt:
10491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10492         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10493         (gst_base_sink_change_state):
10494         Never take state lock from streaming thread, clean up ugly
10495         hacks. Unfortunatly core does not yet support nice ways to
10496         async commit state.
10497         
10498         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10499         (bin_bus_handler):
10500         Start state recalc if a STATE_DIRTY message is posted, but only
10501         on the toplevel bin.
10502
10503         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10504         (gst_element_get_state_func), (gst_element_abort_state),
10505         (gst_element_commit_state), (gst_element_lost_state),
10506         (gst_element_set_state_func), (gst_element_change_state):
10507         * gst/gstelement.h:
10508         State variables are now protected with the LOCK, the state
10509         lock is only used to serialize _set_state().
10510
10511 2005-10-18  Wim Taymans  <wim@fluendo.com>
10512
10513         * check/gst/gstbin.c: (GST_START_TEST):
10514         * check/gst/gstmessage.c: (GST_START_TEST):
10515         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10516         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10517         (bin_bus_handler):
10518         * gst/gstelement.c: (gst_element_abort_state),
10519         (gst_element_commit_state), (gst_element_lost_state):
10520         * gst/gstmessage.c: (gst_message_new_state_changed),
10521         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10522         (gst_message_new_segment_done), (gst_message_new_duration),
10523         (gst_message_parse_state_changed),
10524         (gst_message_parse_segment_start),
10525         (gst_message_parse_segment_done), (gst_message_parse_duration):
10526         * gst/gstmessage.h:
10527         * tools/gst-launch.c: (event_loop):
10528         Seriously, this is better than a previous commit as we only need
10529         to notify the fact that an element changed state in a streaming
10530         thread, marking the state of the parents dirty, hence the 
10531         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10532         message.
10533
10534 2005-10-18  Wim Taymans  <wim@fluendo.com>
10535
10536         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10537         (gst_bin_recalc_func):
10538         * gst/gstelement.c: (gst_element_set_clock),
10539         (gst_element_abort_state), (gst_element_lost_state):
10540         Cleanups, prepare for state change fixes.
10541
10542 2005-10-18  Wim Taymans  <wim@fluendo.com>
10543
10544         * gst/gstbin.h:
10545         * gst/gstelement.c: (gst_element_class_init),
10546         (gst_element_set_state), (gst_element_set_state_func):
10547         * gst/gstelement.h:
10548         Pending ABI changes.
10549         GThreadPool in GstBinClass to monitor async state changes.
10550         state_cookie in GstElement to detect concurrent gst/set state.
10551         set_state is now virtual too in case a very complicated element
10552         has to be constructed.
10553
10554 2005-10-18  Wim Taymans  <wim@fluendo.com>
10555
10556         * check/gst/gstbin.c: (GST_START_TEST):
10557         * check/gst/gstmessage.c: (GST_START_TEST):
10558         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10559         * gst/gstbin.c: (bin_bus_handler):
10560         * gst/gstelement.c: (gst_element_commit_state),
10561         (gst_element_lost_state):
10562         * gst/gstmessage.c: (gst_message_new_state_changed),
10563         (gst_message_new_segment_start), (gst_message_new_segment_done),
10564         (gst_message_new_duration), (gst_message_parse_state_changed),
10565         (gst_message_parse_segment_start),
10566         (gst_message_parse_segment_done), (gst_message_parse_duration):
10567         * gst/gstmessage.h:
10568         * tools/gst-launch.c: (event_loop):
10569         Make messages future proof.
10570         state-change gets a flag if it was a message comming from the
10571         streaming thread.
10572         segment-start/stop can also be specified in other formats.
10573         A message to notify an app that a pipeline changed playback 
10574         duration.
10575         Also fix a GstMessage leak in -launch
10576
10577 2005-10-18  Andy Wingo  <wingo@pobox.com>
10578
10579         * gst/gstelement.c (gst_element_dispose): More helpful message.
10580
10581 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10582
10583         reviewed by: <delete if not using a buddy>
10584
10585         * common/gtk-doc.mak:
10586
10587 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10588
10589         * gst/gstregistry.c: (gst_registry_scan_path_level):
10590           unref a plug-in we get that was already initialized
10591
10592 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10593
10594         * docs/gst/gstreamer-sections.txt:
10595         * docs/libs/gstreamer-libs-sections.txt:
10596         * gst/gstelement.h:
10597           add new api entries
10598           hide internal macro
10599
10600 2005-10-17  Andy Wingo  <wingo@pobox.com>
10601
10602         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10603         cleanup.
10604
10605         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10606
10607         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10608
10609         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10610         (gst_element_get_state_func): Better debug message.
10611         (gst_element_commit_state): s/INFO/DEBUG/.
10612         (gst_element_lost_state, gst_element_change_state): 
10613
10614         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10615         (gst_message_new_custom): s/INFO/LOG/.
10616
10617 2005-10-17  Michael Smith <msmith@fluendo.com>
10618
10619         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10620           Check if end time is valid using end time, not start time.
10621
10622 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10623
10624         * check/gst-libs/controller.c: (GST_START_TEST),
10625         (gst_controller_suite):
10626         * libs/gst/controller/gstcontroller.c:
10627         (gst_controlled_property_set_interpolation_mode):
10628         * libs/gst/controller/gstcontroller.h:
10629         * libs/gst/controller/gstinterpolation.c:
10630         * testsuite/controller/.cvsignore:
10631         * testsuite/controller/Makefile.am:
10632         * testsuite/controller/interpolator.c:
10633           merge controller testsuites
10634           fix broken tests
10635           remove mem-chunk from docs
10636
10637 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10638
10639         * gst/gstmemchunk.c:
10640         * gst/gstmemchunk.h:
10641         * gst/gsttrashstack.c:
10642         * gst/gsttrashstack.h:
10643           out.  get out.  you're fired.  to the Attic !
10644
10645 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10646
10647         * gst/gstcaps.c: (gst_caps_intersect):
10648           fix signedness issues in a (hopefully) correct way
10649         * gst/gstelement.c: (gst_element_pads_activate):
10650           some debugging
10651         * gst/gstobject.c: (gst_object_set_parent):
10652           some debugging
10653
10654 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10655
10656         * gst/gstvalue.h: Fix prototypes.
10657
10658 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10659
10660         * docs/gst/gstreamer-sections.txt:
10661         * gst/gst.c: (gst_version_string):
10662         * gst/gst.h:
10663         * gst/gstversion.h.in:
10664         * win32/common/libgstreamer.def:
10665           add gst_version_string ()
10666
10667 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * configure.ac:
10670           clean up further
10671         * gst/gst.c: (init_post):
10672         * win32/common/config.h.in:
10673           it's PLUGINDIR now
10674         * gst/gstcaps.c: (gst_caps_intersect):
10675           use gint64, the range could be bigger than a guint
10676
10677 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10678
10679         * gst/gstclock.h:
10680           document potential problem in 2038
10681
10682 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10683
10684         * gst/gstcaps.c: (gst_caps_intersect):
10685           Fix guint j diving under 0
10686
10687 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10688
10689         * configure.ac:
10690         * win32/common/config.h:
10691         * win32/common/config.h.in:
10692           check for process.h, declares getpid() on Windows
10693         * gst/gstinfo.c:
10694           include process.h if we have it
10695         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10696         * gst/gstmemchunk.h:
10697           fix signedness issues
10698         * win32/common/libgstreamer.def:
10699           fix get_type's
10700
10701 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10702
10703         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10704         fix. Because of unsigned ints, caps intersection was going nuts and
10705         trying to access structures with G_MAXUINT index. That fixes
10706         videotestsrc ! ffmpegcolorspace ! fakesink
10707         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10708         consistency.
10709
10710 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10711
10712         * configure.ac:
10713           use the gettext macro
10714         * gst/elements/gstelements.c:
10715         * gst/gst.c:
10716         * gst/indexers/gstindexers.c:
10717           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10718         * win32/common/config.h:
10719           updated config.h
10720         * win32/common/config.h.in:
10721           add the template to generate config.h
10722         * win32/common/gstenumtypes.c:
10723         * win32/common/gstversion.h:
10724           updated copies
10725
10726 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10727
10728         * gst/gst.c: (gst_version):
10729         * gst/gstversion.h.in:
10730           add the nano
10731
10732 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10733
10734         * gst/gstevent.h:
10735           Oops, add missing closing bracket.
10736
10737 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10738
10739         * configure.ac:
10740           use common m4's for argument checking
10741
10742 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10743
10744         * docs/gst/gstreamer-sections.txt:
10745         * gst/gstevent.h:
10746           Add GST_EVENT_TYPE_NAME() macro.
10747
10748 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10749
10750         * gst/gstinfo.c:
10751         * gst/gstpluginfeature.c:
10752         * gst/gsttask.c:
10753           privatize more symbols
10754
10755 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10756
10757         * configure.ac:
10758           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10759           everything that uses GStreamer API should have the includes
10760
10761 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10762
10763         * docs/gst/gstreamer-sections.txt:
10764         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10765         * gst/gstvalue.h:
10766           give each value a _get_type, removes the DATA exports
10767
10768 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10769
10770         * gst/gst.c:
10771         * gst/gst.h:
10772           remove _gst_registry_auto_load, not used anymore
10773         * gst/gstbin.c: (gst_bin_get_type):
10774         * gst/gstbin.h:
10775         * gst/gstelement.c: (gst_element_get_type):
10776         * gst/gstelement.h:
10777         * gst/gstobject.c: (gst_object_get_type):
10778         * gst/gstobject.h:
10779         * gst/gstpad.c: (gst_pad_get_type):
10780         * gst/gstpad.h:
10781           make _get_type functions similar, fixes data export from library
10782
10783 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10784
10785         * configure.ac:
10786           correctly make conditionals
10787         * gst/elements/Makefile.am:
10788         * gst/elements/gstelements.c:
10789           fix typo causing fdsrc not to build
10790
10791 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10792
10793         * testsuite/Makefile.am:
10794         * testsuite/bytestream/.cvsignore:
10795         * testsuite/bytestream/Makefile.am:
10796         * testsuite/bytestream/filepadsink.c:
10797         * testsuite/bytestream/gstbstest.c:
10798         * testsuite/bytestream/test1.c:
10799         * testsuite/bytestream/testfile1:
10800         * testsuite/caps/normalisation.c:
10801         * testsuite/caps/random.c: (main):
10802         * testsuite/cleanup/.cvsignore:
10803         * testsuite/cleanup/Makefile.am:
10804         * testsuite/cleanup/cleanup1.c:
10805         * testsuite/cleanup/cleanup2.c:
10806         * testsuite/cleanup/cleanup3.c:
10807         * testsuite/cleanup/cleanup4.c:
10808         * testsuite/cleanup/cleanup5.c:
10809         * testsuite/controller/interpolator.c:
10810         * testsuite/debug/printf_extension.c: (main):
10811         * testsuite/elements/tee.c:
10812         * testsuite/negotiation/.cvsignore:
10813         * testsuite/negotiation/Makefile.am:
10814         * testsuite/negotiation/pad_link.c:
10815         * testsuite/pad/Makefile.am:
10816         * testsuite/pad/chainnopull.c:
10817         * testsuite/pad/getnopush.c:
10818         * testsuite/pad/link.c:
10819         * testsuite/refcounting/sched.c: (create_pipeline):
10820         * testsuite/registry/Makefile.am:
10821         * testsuite/registry/gst-print-formats.c:
10822         * testsuite/schedulers/.cvsignore:
10823         * testsuite/schedulers/142183-2.c:
10824         * testsuite/schedulers/142183.c:
10825         * testsuite/schedulers/143777-2.c:
10826         * testsuite/schedulers/143777.c:
10827         * testsuite/schedulers/147713.c:
10828         * testsuite/schedulers/147819.c:
10829         * testsuite/schedulers/147894-2.c:
10830         * testsuite/schedulers/147894.c:
10831         * testsuite/schedulers/Makefile.am:
10832         * testsuite/schedulers/group_link.c:
10833         * testsuite/schedulers/queue_link.c:
10834         * testsuite/schedulers/relink.c:
10835         * testsuite/schedulers/unlink.c:
10836         * testsuite/schedulers/unref.c:
10837         * testsuite/schedulers/useless_iteration.c:
10838         * testsuite/states/bin.c:
10839           clean out/remove some stuff from the testsuite directories
10840
10841 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10842
10843         * configure.ac:
10844           check for some headers
10845         * gst/elements/Makefile.am:
10846         * gst/elements/gstelements.c:
10847           don't compile fdsrc without sys/socket.h
10848         * gst/indexers/Makefile.am:
10849         * gst/indexers/gstindexers.c: (plugin_init):
10850           don't compile fileindex without mmap
10851
10852 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10853
10854         * configure.ac:
10855           reorganize
10856           clean up
10857           document more
10858           remove cruft
10859         * check/Makefile.am:
10860         * docs/gst/Makefile.am:
10861         * examples/helloworld/Makefile.am:
10862         * gst/Makefile.am:
10863         * gst/base/Makefile.am:
10864         * gst/check/Makefile.am:
10865         * gst/elements/Makefile.am:
10866         * gst/indexers/Makefile.am:
10867         * gst/parse/Makefile.am:
10868         * libs/gst/controller/Makefile.am:
10869         * libs/gst/dataprotocol/Makefile.am:
10870         * examples/helloworld/helloworld.c: (event_loop):
10871           compile fixes, though it's not being compiled currently
10872
10873 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10874
10875         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10876           Add some simple tests for the new taglist date API.
10877
10878 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10879
10880         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10881         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10882           Beautify 'last-message' output: print 'none' for buffer timestamps
10883           and durations if none is set; improve alignment with next messages.
10884
10885 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10888         * gst/gstpluginfeature.h:
10889         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10890         * gst/gstregistry.h:
10891         * docs/gst/gstreamer-sections.txt:
10892           Add new API to check plugin feature version requirements.
10893
10894         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10895           Some basic tests for the above.         
10896
10897 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10898
10899         * gst/gststructure.c: (gst_structure_to_string):
10900           guard against NULL printf - happens when for example
10901           a message structure with GstClock gets serialized
10902
10903 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10904
10905         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10906           Fix presumable copy'n'pasto.
10907
10908 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10909
10910         * gst/elements/gstfakesrc.h:
10911         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10912         * gst/elements/gsttypefindelement.c:
10913           fix some signedness
10914         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10915           I wonder if this could actually write +2GB files before
10916
10917 2005-10-13  Andy Wingo  <wingo@pobox.com>
10918
10919         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10920         Fix Timmeke Waymans bug.
10921         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10922         string of the proper length to gst_caps_from_string. There's a
10923         potential for, before this fix, that this could cause someone
10924         connecting over the network to cause a segfault if the payload is
10925         not NUL-terminated.
10926
10927 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10928
10929         * docs/design/draft-push-pull.txt:
10930         * docs/design/part-overview.txt:
10931         * docs/random/TODO-pre-0.9:
10932         * docs/random/old/ChangeLog.gstreamer:
10933         * gst/base/gstpushsrc.c:
10934         * gst/gstclock.c:
10935           fixed typos
10936
10937 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10938
10939         * gst/glib-compat.c: (gst_flags_get_first_value):
10940         * gst/glib-compat.h:
10941         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10942         (gst_value_compare_double), (gst_value_serialize_flags):
10943           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10944           infinite loop
10945
10946 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10947
10948         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10949         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10950           fix up debugging
10951         * tools/gst-launch.c: (event_loop):
10952           print out clock nicely
10953
10954 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10955
10956         * docs/gst/gstreamer-sections.txt:
10957         * gst/gsttaglist.h:
10958         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10959         (gst_tag_list_get_date_index):
10960           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10961           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10962
10963 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10964
10965         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10966         (gst_collectpads_chain):
10967         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10968         in CollectData.
10969
10970 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10971
10972         * docs/gst/gstreamer-sections.txt:
10973         * gst/gst.c:
10974         * gst/gsterror.h:
10975         * tools/gst-inspect.c: (main):
10976         * tools/gst-launch.c: (main):
10977         * tools/gst-run.c: (main):
10978         * tools/gst-xmlinspect.c: (main):
10979           fix GOption context leaks
10980           doc fixes
10981
10982 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10983
10984         * gst/gstbus.c:
10985           use HAVE_UNISTD_H
10986         * win32/common/config.h:
10987           update config
10988         * win32/vs6/grammar.dsp:
10989         * win32/vs6/libgstelements.dsp:
10990         * win32/vs6/libgstreamer.dsp:
10991           update vs6 files
10992
10993 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10994
10995         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10996         * gst/base/gstbasesrc.c: (gst_base_src_query):
10997           fix more guint64<->gdouble conversions
10998
10999 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11000
11001         * Makefile.am:
11002           add win32-update target
11003         * win32/common/gstconfig.h:
11004         * win32/common/gstenumtypes.c:
11005         * win32/common/gstenumtypes.h:
11006         * win32/common/gstversion.h:
11007           add files that visual studio can't generate
11008
11009 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11010
11011         * Makefile.am:
11012           add a win32-update target
11013         * configure.ac:
11014
11015 2005-10-12  Wim Taymans  <wim@fluendo.com>
11016
11017         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11018         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11019         * gst/gstelement.c: (gst_element_commit_state),
11020         (gst_element_set_state):
11021         Protect flags with proper lock.
11022         unref provided cached clock in dispose.
11023
11024 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11025
11026         * gst/gst.c:
11027         * gst/gstminiobject.h:
11028         * gst/gstpad.h:
11029         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11030           removed unused flags from miniobject
11031           doc fixes
11032
11033 2005-10-12  Wim Taymans  <wim@fluendo.com>
11034
11035         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11036         (gst_file_sink_event), (gst_file_sink_render):
11037         Flush before seeking.
11038
11039 2005-10-12  Andy Wingo  <wingo@pobox.com>
11040
11041         * gst/gst.c (gst_init_check): Ignore unknown options, as has
11042         always been the case.
11043
11044 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
11045
11046         * check/gst/gstbin.c: (GST_START_TEST):
11047         * docs/gst/gstreamer-sections.txt:
11048         * gst/base/gstbasesink.c: (gst_base_sink_init):
11049         * gst/base/gstbasesrc.c: (gst_base_src_init),
11050         (gst_base_src_get_range), (gst_base_src_check_get_range),
11051         (gst_base_src_start), (gst_base_src_stop):
11052         * gst/base/gstbasesrc.h:
11053         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11054         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11055         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11056         (bin_bus_handler):
11057         * gst/gstbin.h:
11058         * gst/gstbuffer.h:
11059         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11060         * gst/gstbus.h:
11061         * gst/gstelement.c: (gst_element_is_locked_state),
11062         (gst_element_set_locked_state), (gst_element_commit_state),
11063         (gst_element_set_state):
11064         * gst/gstelement.h:
11065         * gst/gstindex.c: (gst_index_init):
11066         * gst/gstindex.h:
11067         * gst/gstminiobject.h:
11068         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11069         (gst_object_set_parent):
11070         * gst/gstobject.h:
11071         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11072         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11073         * gst/gstpad.h:
11074         * gst/gstpadtemplate.h:
11075         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11076         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11077         * gst/gstpipeline.h:
11078         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11079         (gst_file_index_commit):
11080         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11081         * testsuite/pad/link.c: (gst_test_src_init),
11082         (gst_test_filter_init), (gst_test_sink_init):
11083         * testsuite/states/locked.c: (main):
11084           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11085           moved bitshift from macro to enum definition
11086
11087 2005-10-12  Wim Taymans  <wim@fluendo.com>
11088
11089         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11090         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11091         (gst_file_sink_render):
11092         Some more debugging info.
11093
11094 2005-10-12  Wim Taymans  <wim@fluendo.com>
11095
11096         * docs/design/part-states.txt:
11097         * tools/gst-launch.c: (main):
11098         Some doc updates.
11099         Revert non-intentional change.
11100
11101 2005-10-12  Wim Taymans  <wim@fluendo.com>
11102
11103         * check/gst/gstbin.c: (GST_START_TEST):
11104         * check/gst/gstelement.c: (GST_START_TEST):
11105         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11106         * check/gst/gstghostpad.c: (GST_START_TEST):
11107         * check/gst/gstpipeline.c: (GST_START_TEST):
11108         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11109         * check/states/sinks.c: (GST_START_TEST):
11110         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11111         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11112         (gst_bin_remove_func), (gst_bin_get_state_func),
11113         (gst_bin_recalc_state), (gst_bin_change_state_func),
11114         (bin_bus_handler):
11115         * gst/gstelement.c: (gst_element_get_state_func),
11116         (gst_element_get_state), (gst_element_abort_state),
11117         (gst_element_commit_state), (gst_element_set_state),
11118         (gst_element_change_state), (gst_element_change_state_func):
11119         * gst/gstelement.h:
11120         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11121         (gst_pipeline_provide_clock_func):
11122         * gst/gstutils.c: (gst_element_link_pads_filtered):
11123         * tools/gst-launch.c: (main):
11124         * tools/gst-typefind.c: (main):
11125         Use GstClockTime in _get_state() instead of GTimeVal.
11126         Remove old code in gstutils.c
11127
11128 2005-10-12  Andy Wingo  <wingo@pobox.com>
11129
11130         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11131         removed.
11132
11133         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11134         there is no task. Shouldn't affect any code, as nothing in our
11135         plugins checks this return value.
11136         (gst_pad_stop_task): Also take the stream lock if the pad has no
11137         task. Docs updated.
11138
11139 2005-10-12  Wim Taymans  <wim@fluendo.com>
11140
11141         * gst/gstpad.c: (pre_activate), (post_activate),
11142         (gst_pad_activate_pull), (gst_pad_activate_push):
11143         Cleanup activation code. Reset old state if
11144         activation failed.
11145
11146 2005-10-12  Wim Taymans  <wim@fluendo.com>
11147
11148         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11149         (gst_base_sink_change_state):
11150         No need to prerol after receiving EOS.
11151
11152         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11153         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11154         * gst/elements/gstidentity.c: (gst_identity_event):
11155         Print events more verbosely.
11156
11157 2005-10-12  Wim Taymans  <wim@fluendo.com>
11158
11159         * check/Makefile.am:
11160         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11161         * check/states/sinks2.c:
11162         Moved sinks2 testcode in sinks check.
11163
11164         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11165         (gst_bin_remove_func), (gst_bin_recalc_state),
11166         (gst_bin_change_state_func), (bin_bus_handler):
11167         Fix potential race condition when _get_state() iterated over an
11168         ASYNC element right before it posted a state completion.
11169
11170         * gst/gstclock.h:
11171         Do proper cast here.
11172
11173         * gst/gstevent.c: (gst_event_new_newsegment),
11174         (gst_event_parse_newsegment):
11175         A playback rate of 0.0 is not allowed.
11176
11177 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11178
11179         * win32/common/config.h:
11180         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11181         (_trewinddir), (_ttelldir), (_tseekdir):
11182         * win32/common/dirent.h:
11183         * win32/common/gtchar.h:
11184         * win32/common/libgstbase.def:
11185         * win32/common/libgstreamer.def:
11186         * win32/vs6/grammar.dsp:
11187         * win32/vs6/gst_inspect.dsp:
11188         * win32/vs6/gst_launch.dsp:
11189         * win32/vs6/gstreamer.dsw:
11190         * win32/vs6/libgstbase.dsp:
11191         * win32/vs6/libgstelements.dsp:
11192         * win32/vs6/libgstreamer.dsp:
11193           Visual Studio 6 project files, and a new common directory.
11194           Phear.
11195
11196 2005-10-11  Wim Taymans  <wim@fluendo.com>
11197
11198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11199         (gst_base_sink_do_sync), (gst_base_sink_query),
11200         (gst_base_sink_change_state):
11201         * gst/base/gstbasesink.h:
11202         Correctly parse newsegment info.
11203
11204 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11205
11206         * gst/gst.c: (init_post):
11207           split plugin paths correctly
11208
11209 2005-10-11  Wim Taymans  <wim@fluendo.com>
11210
11211         * check/gst/gstevent.c: (GST_START_TEST):
11212         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11213         (gst_base_sink_change_state):
11214         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11215         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11216         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11217         * gst/gstevent.c: (gst_event_new_newsegment),
11218         (gst_event_parse_newsegment):
11219         * gst/gstevent.h:
11220         Added extra flag to newsegment for future API freeze.
11221         Updated check and base elements.
11222
11223 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11224
11225         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11226         (gst_collectpads_add_pad), (gst_collectpads_pop),
11227         (gst_collectpads_event), (gst_collectpads_chain):
11228         * gst/base/gstcollectpads.h: Handle EOS correctly.
11229
11230 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11231
11232         * tools/gst-launch.c: (main):
11233           more null protecting
11234
11235 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11236
11237         * gst/gst-i18n-lib.h:
11238           check for ENABLE_NLS, not GETTEXT_PACKAGE
11239         * gst/gstregistry.c: (gst_registry_add_plugin),
11240         (gst_registry_scan_path_level),
11241         (_gst_registry_remove_cache_plugins):
11242           protect possibly NULL strings
11243         * gst/parse/types.h:
11244           config.h already included before
11245         * tools/gst-inspect.c: (main):
11246           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11247           check for ENABLE_NLS, not GETTEXT_PACKAGE
11248         * tools/gst-launch.c: (main):
11249           check for ENABLE_NLS, not GETTEXT_PACKAGE
11250
11251 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11252
11253         * configure.ac:
11254           if we don't have glib, fail before testing 2.8
11255         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11256           fix a leak, should fix plugins-base testsuite
11257
11258 2005-10-11  Andy Wingo  <wingo@pobox.com>
11259
11260         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11261         take the mode we're going to as an arg. Go head and set the mode
11262         and flushing flags now, so that if the activate function starts a
11263         thread all the flags will be in the right state.
11264         (post_activate): Renamed also. Just handle making sure streaming
11265         finishes for the deactivation case, and setting the deactivated
11266         mode.
11267         (gst_pad_set_active): Complain loudly if deactivation fails.
11268         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11269         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11270         remove the terrible hack.
11271
11272 2005-10-11  Wim Taymans  <wim@fluendo.com>
11273
11274         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11275         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11276         (gst_bin_recalc_state), (gst_bin_change_state_func),
11277         (gst_bin_dispose), (bin_bus_handler):
11278         * gst/gstbin.h:
11279         Prepare to make current EOS message queue more generic.
11280         Fix some typos.
11281
11282         * gst/gstevent.c: (gst_event_new_newsegment),
11283         (gst_event_parse_newsegment):
11284         * gst/gstevent.h:
11285         Rename base to stream_time.
11286
11287         * gst/gstmessage.h:
11288         Fix typo in docs.
11289
11290 2005-10-11  Wim Taymans  <wim@fluendo.com>
11291
11292         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11293         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11294         (gst_bin_change_state_func), (bin_bus_handler):
11295         * gst/gstbin.h:
11296         Work on proper clock selection.
11297
11298 2005-10-11  Edward Hervey  <edward@fluendo.com>
11299
11300         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11301         * libs/gst/controller/gstcontroller.h:
11302         Added GList* version of _remove_properties() in order to be able to wrap
11303         it in bindings.
11304
11305 2005-10-11  Wim Taymans  <wim@fluendo.com>
11306
11307         * docs/design/part-states.txt:
11308         Some more docs.
11309
11310         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11311         (gst_bin_change_state_func), (bin_bus_handler):
11312         Doc updates. Don't distribute the same clock over and over again.
11313
11314         * gst/gstclock.c:
11315         * gst/gstclock.h:
11316         Doc updates.
11317
11318         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11319         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11320         (gst_pad_send_event):
11321         * gst/gstpad.h:
11322         Make probe emission threadsafe again.
11323         Register quarks and move _get_name() from utils.
11324         Doc updates.
11325
11326         * gst/gstpipeline.c: (gst_pipeline_class_init),
11327         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11328         Only redistribute the clock of it changed.
11329
11330         * gst/gstsystemclock.h:
11331         Doc updates. 
11332
11333         * gst/gstutils.c:
11334         * gst/gstutils.h:
11335         Moved the _flow_get_name() to GstPad.
11336
11337 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11338
11339         * check/gst-libs/gdp.c: (GST_START_TEST):
11340         * check/gst/gstcaps.c: (GST_START_TEST):
11341         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11342         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11343         (gst_dp_packet_from_caps):
11344           fix more valgrind warnings before turning up the heat
11345
11346 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11347
11348         * gst/parse/grammar.y:
11349           some cleanup before the hacking
11350
11351 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11352
11353         * gst/base/gstbasesrc.c: (gst_base_src_query):
11354           use conversions
11355         * gst/gstutils.c: (gst_guint64_to_gdouble),
11356         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11357         * gst/gstutils.h:
11358           externalize, basesrc uses it
11359           obviously the implementation needs testing
11360
11361 2005-10-10  Wim Taymans  <wim@fluendo.com>
11362
11363         * tests/sched/Makefile.am:
11364         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11365         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11366
11367 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11368
11369         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11370           apparently converting from guint64 to double is not implemented
11371           on MSVC
11372
11373 2005-10-10  Wim Taymans  <wim@fluendo.com>
11374
11375         * check/Makefile.am:
11376         * check/generic/states.c: (GST_START_TEST):
11377         * check/gst/gstbin.c: (GST_START_TEST):
11378         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11379         * check/states/sinks.c: (GST_START_TEST):
11380         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11381         (main):
11382         Check fixes, use API as stated in design docs, remove hacks.
11383
11384         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11385         (gst_base_sink_change_state):
11386         Catch stopping our task while we're shutting down.
11387
11388         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11389         (gst_bin_remove_func), (gst_bin_get_state_func),
11390         (gst_bin_recalc_state), (gst_bin_change_state_func),
11391         (bin_bus_handler):
11392         * gst/gstbin.h:
11393         * gst/gstelement.c: (gst_element_init),
11394         (gst_element_get_state_func), (gst_element_abort_state),
11395         (gst_element_commit_state), (gst_element_lost_state),
11396         (gst_element_set_state), (gst_element_change_state),
11397         (gst_element_change_state_func):
11398         * gst/gstelement.h:
11399         New state change algorithm (see #318116)
11400
11401         * gst/gstpipeline.c: (gst_pipeline_class_init),
11402         (gst_pipeline_init), (gst_pipeline_set_property),
11403         (gst_pipeline_get_property), (do_pipeline_seek),
11404         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11405         * gst/gstpipeline.h:
11406         Remove crude state change hacks.
11407
11408         * gst/gstutils.h:
11409         Remove crude hacks.
11410
11411         * tools/gst-launch.c: (main):
11412         Fixes for state change. Needs some more work to fully use the
11413         new stuff.
11414
11415 2005-10-10  Andy Wingo  <wingo@pobox.com>
11416
11417         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11418
11419         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11420         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11421         issue.
11422
11423 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11424
11425         * gst/gstiterator.c: (gst_iterator_new):
11426           Fix my previous commit: GTypes passed to gst_iterator_new()
11427           can be fundamental types.
11428
11429 2005-10-10  Wim Taymans  <wim@fluendo.com>
11430
11431         * gst/gstelement.c: (gst_element_iterate_pad_list),
11432         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11433         (gst_element_iterate_sink_pads):
11434         Use src/sink pads lists for the respective iterators instead
11435         of filtering.
11436
11437 2005-10-10  Andy Wingo  <wingo@pobox.com>
11438
11439         Merged in popt removal + GOption addition patch from Ronald, bug
11440         #169772.
11441
11442         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11443         GstElement macros around, remove popt-related symbols, add goption
11444         stuff.
11445
11446         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11447         
11448         * docs/gst/Makefile.am:
11449         * docs/libs/Makefile.am: No POPT_CFLAGS.
11450         
11451         * examples/manual/Makefile.am:
11452         * docs/manual/basics-init.xml: Doc updates with an example.
11453         
11454         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11455         (gst_init), (parse_one_option), (parse_goption_arg):
11456         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11457         bit of hand merging and debugging to get the GOption stuff working
11458         tho.
11459         
11460         * tests/Makefile.am:
11461         * tools/Makefile.am:
11462         * tools/gst-inspect.c: (main):
11463         * tools/gst-launch.c: (main):
11464         * tools/gst-run.c: (main):
11465         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11466
11467 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11468
11469         * gst/gstiterator.c: (gst_iterator_new):
11470           Add assertions to make sure passed GType is likely to really
11471           be a GType (as the compiler won't catch it if the size and
11472           GType arguments get mixed up, see #318447).
11473
11474 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11475
11476         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11477
11478         * gst/gstbin.c: (gst_bin_iterate_sorted):
11479           Pass GType and size arguments to gst_iterator_new() in the right
11480           order (maybe we should make _new() take the GType as first argument
11481           just like _new_list()?) (#318447).
11482           
11483
11484 2005-10-10  Wim Taymans  <wim@fluendo.com>
11485
11486         * gst/gstelement.c: (gst_element_finalize):
11487         And free the GStaticRecMutex too
11488
11489 2005-10-10  Andy Wingo  <wingo@pobox.com>
11490
11491         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11492         Allocate and free the mutex properly.
11493
11494         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11495         New macros.
11496         (GstElement): The state_lock is now recursive. Rebuild your
11497         plugins, suckers. Old macros adapted.
11498
11499         * docs/gst/gstreamer-sections.txt: Doc updates.
11500
11501         * gst/gstutils.h:
11502         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11503         (g_static_rec_cond_wait): Ported from state changes patch, while
11504         we wait on bug #317802 to be solved in a well-distributed GLib.
11505
11506         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11507         gst_element_change_state, variable name changes.
11508         (gst_element_change_state): Split out of gst_element_set_state in
11509         preparation for the state change merge. Doesn't pay attention to
11510         the 'transition' argument.
11511         (gst_element_set_state): Updates, hopefully purely cosmetic.
11512         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11513         state change patch.
11514         (gst_element_get_state_func): Renamed from get_state, cosmetic
11515         changes.
11516
11517 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11518
11519         * gst/elements/gstelements.c:
11520         * win32/GStreamer.vcproj:
11521         * win32/config.h:
11522         * win32/dirent.c: (_tseekdir):
11523         * win32/gst-inspect.vcproj:
11524         * win32/gst-launch.vcproj:
11525         * win32/gstconfig.h:
11526         * win32/gstelements.vcproj:
11527         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11528         * win32/gstreamer.def:
11529         * win32/msvc71.sln:
11530           updates for the win32 build (patch from Sebastien Moutte)
11531
11532 2005-10-10  Andy Wingo  <wingo@pobox.com>
11533
11534         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11535         gst_bin_get_state, cleaned up (but no logic changes).
11536         (bin_element_is_sink): Comment updates.
11537         (sink_iterator_filter): Remove needless cast.
11538         (gst_bin_iterate_sinks): Doc update.
11539         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11540         cleaned up (but no logic changes).
11541
11542         * check/states/sinks.c (test_src_sink): Cleanups from the state
11543         change patch.
11544         (test_livesrc_sink): Sync on the state.
11545
11546         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11547         the state change patch.
11548
11549         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11550         change patch.
11551
11552         * check/gst/gstbin.c: Merge in some style fixes and additional
11553         checks from Wim's state change patch.
11554
11555 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11556
11557         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11558         (gst_type_find_helper):
11559           Check whether we have the requested data already in our list of
11560           cached buffers before pulling a new buffer; also make the buffer
11561           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11562
11563 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11564
11565         * gst/gstcaps.c:
11566         * gst/gstevent.c:
11567           doc updates
11568         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11569           don't use long long, it's not portable.  Replacing with
11570           gint64 seems to work; let's hope no skeletons fall out of the closet.
11571
11572 2005-10-10  Andy Wingo  <wingo@pobox.com>
11573
11574         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11575
11576 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11577
11578         * docs/gst/gstreamer-sections.txt:
11579         * gst/gstevent.c:
11580         * gst/gstevent.h:
11581         * gst/gstinfo.c:
11582         * gst/gstinfo.h:
11583         * gst/gstmessage.c: (gst_message_parse_state_changed):
11584         * gst/gstpad.c:
11585         * gst/gstpad.h:
11586           more docs, fix compilation
11587
11588 2005-10-09  Philippe Khalaf <burger@speedy.org>
11589         * gst/gstmessage.c:
11590           Fixed a few forgotten variables on previous commit
11591
11592 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11593
11594         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11595           Fix evil typefind crasher: getrange() might return a short
11596           buffer at the end of a file, but gst_type_find_peek() must
11597           either return the full data as requested or NULL, but
11598           never a short buffer.
11599
11600 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11601
11602         * gst/gstmessage.c: (gst_message_new_state_changed),
11603         (gst_message_parse_state_changed):
11604         * gst/gstmessage.h:
11605           don't use "new", it's a C++ keyword
11606
11607 2005-10-08  Wim Taymans  <wim@fluendo.com>
11608
11609         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11610         * gst/gstelement.c: (gst_element_post_message):
11611         * gst/gstpipeline.c: (gst_pipeline_change_state):
11612         Small docs and debug updates.
11613
11614 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11615
11616         * docs/gst/gstreamer-sections.txt:
11617         * gst/gstelementfactory.c:
11618         * gst/gstevent.c:
11619         * gst/gsttaglist.c:
11620           more docs
11621
11622 2005-10-08  Wim Taymans  <wim@fluendo.com>
11623
11624         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11625         (gst_bin_dispose), (bin_bus_handler):
11626         Fix typos, add comments.
11627         Clear EOS list when going to PAUSED from any direction and do it
11628         in a threadsafe way.
11629         Get base time in a threadsafe way too.
11630         Fix confusing debug in the change_state function.
11631         Various other small cleanups.
11632         
11633         * gst/gstelement.c: (gst_element_post_message):
11634         Fix very verbose bus posting code.
11635
11636         * gst/gstpipeline.c: (gst_pipeline_class_init),
11637         (gst_pipeline_set_property), (gst_pipeline_get_property),
11638         (gst_pipeline_change_state):
11639         Small ARG_ -> PROP_ cleanup
11640
11641 2005-10-08  Wim Taymans  <wim@fluendo.com>
11642
11643         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11644         Do a less CPU demanding EOS check because we can.
11645
11646 2005-10-08  Wim Taymans  <wim@fluendo.com>
11647
11648         * libs/gst/dataprotocol/dataprotocol.c:
11649         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11650         (gst_dp_packet_from_event):
11651         * libs/gst/dataprotocol/dataprotocol.h:
11652         * libs/gst/dataprotocol/dp-private.h:
11653         It's about time we bump the version number.
11654         Since event types don't fit in the guint8 anymore describing
11655         the payload type, make payload type 16 bits wide.
11656
11657 2005-10-08  Wim Taymans  <wim@fluendo.com>
11658
11659         * docs/design/part-TODO.txt:
11660         * docs/design/part-clocks.txt:
11661         * docs/design/part-events.txt:
11662         * docs/design/part-gstbin.txt:
11663         * docs/design/part-gstelement.txt:
11664         * docs/design/part-gstpipeline.txt:
11665         * docs/design/part-live-source.txt:
11666         * docs/design/part-messages.txt:
11667         * docs/design/part-overview.txt:
11668         * docs/design/part-states.txt:
11669         Many doc updates.
11670
11671 2005-10-08  Wim Taymans  <wim@fluendo.com>
11672
11673         * gst/gstevent.c:
11674         * gst/gstevent.h:
11675         Fix event quark registration.
11676         Add some space between events so we can insert them in the
11677         right groups.
11678
11679 2005-10-08  Wim Taymans  <wim@fluendo.com>
11680
11681         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11682         (gst_base_sink_handle_buffer):
11683         Better log message.
11684
11685         * gst/gstbus.h:
11686         * gst/gstelement.h:
11687         More docs.
11688
11689         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11690         (gst_queue_set_property), (gst_queue_get_property):
11691         * gst/gstqueue.h:
11692         Remove old unused properties.
11693
11694 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11695         * docs/gst/gstreamer-sections.txt:
11696         * gst/gstmessage.c:
11697         * gst/gstmessage.h:
11698         * gst/gstminiobject.c:
11699         * gst/gstminiobject.h:
11700         * gst/gstobject.h:
11701         * gst/gstpad.h:
11702         * gst/gstutils.h:
11703           lots of new docs and doc fixes
11704
11705 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11706
11707         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11708         * gst/gstplugin.h:
11709         * gst/gstregistry.c: (gst_registry_lookup_locked),
11710         (gst_registry_scan_path_level):
11711         * gst/gstregistryxml.c: (load_plugin):
11712           Only ever load one plugin for a given plugin basename.
11713           This ensures correct overriding of GST_PLUGIN_PATH over
11714           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11715           system installed plugins.
11716
11717 2005-10-08  Wim Taymans  <wim@fluendo.com>
11718
11719         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11720         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11721         Prepare for doing QOS.
11722
11723 2005-10-08  Wim Taymans  <wim@fluendo.com>
11724
11725         * check/gst/gstbin.c: (GST_START_TEST):
11726         * check/pipelines/cleanup.c: (GST_START_TEST):
11727         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11728         Allow new clock message too.
11729
11730 2005-10-08  Wim Taymans  <wim@fluendo.com>
11731
11732         * gst/gstmessage.c: (gst_message_new_error),
11733         (gst_message_new_warning), (gst_message_new_tag),
11734         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11735         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11736         (gst_message_new_segment_start), (gst_message_new_segment_done),
11737         (gst_message_parse_state_changed),
11738         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11739         (gst_message_parse_new_clock):
11740         * gst/gstmessage.h:
11741         Also carry the clock in question.
11742
11743 2005-10-08  Wim Taymans  <wim@fluendo.com>
11744
11745         * gst/gstmessage.c: (gst_message_new_custom),
11746         (gst_message_new_eos), (gst_message_new_error),
11747         (gst_message_new_warning), (gst_message_new_tag),
11748         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11749         (gst_message_new_new_clock), (gst_message_new_segment_start),
11750         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11751         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11752         * gst/gstmessage.h:
11753         Clean up.
11754         Added clock related messages.
11755
11756         * gst/gstpipeline.c: (gst_pipeline_change_state):
11757         Post message when the clock changed.
11758
11759         * tools/gst-launch.c: (event_loop):
11760         Print new clock.
11761
11762 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11763
11764         * tools/gst-inspect.c: (print_element_properties_info):
11765           Can't pass NULL strings to g_print() on windows.
11766
11767 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11768
11769         * docs/Makefile.am:
11770         * docs/gst/Makefile.am:
11771         * docs/gst/gstreamer-docs.sgml:
11772         * docs/gst/running.xml:
11773         * docs/version.entities.in:
11774           add a chapter on running GStreamer.
11775           document GST_DEBUG and GST_PLUGIN* env vars
11776
11777 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11778
11779         * Makefile.am:
11780           remove include dir
11781         * configure.ac:
11782           remove PLUGINS_BUILDDIR stuff
11783         * gst/gst.c: (init_post):
11784           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11785         * idiottest.mak:
11786           remove, it was condescending and not needed
11787
11788 2005-10-08  Wim Taymans  <wim@fluendo.com>
11789
11790         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11791         (gst_base_sink_handle_object), (gst_base_sink_event),
11792         (gst_base_sink_wait), (gst_base_sink_handle_event),
11793         (gst_base_sink_change_state):
11794         * gst/base/gstbasesink.h:
11795         Repost EOS message while going to PLAYING if still EOS.
11796         Make sure that when receiving a FLUSH_START we don't attempt
11797         to sync on the clock anymore.
11798
11799 2005-10-08  Wim Taymans  <wim@fluendo.com>
11800
11801         * tools/gst-launch.c: (event_loop):
11802         Better message printout.
11803
11804 2005-10-08  Wim Taymans  <wim@fluendo.com>
11805
11806         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11807         (gst_bin_child_proxy_get_children_count):
11808         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11809         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11810         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11811         (gst_child_proxy_set_valist):
11812         * gst/parse/grammar.y:
11813         Make ChildProxy threadsafe and fix mem leaks.
11814
11815 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11816
11817         * gst/gst.c: (init_post):
11818           debug the GST_PLUGIN_ env vars
11819
11820 2005-10-08  Wim Taymans  <wim@fluendo.com>
11821
11822         * check/gst/gstbin.c: (GST_START_TEST):
11823         * check/gst/gstmessage.c: (GST_START_TEST):
11824         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11825         * gst/gstelement.c: (gst_element_commit_state),
11826         (gst_element_lost_state):
11827         * gst/gstmessage.c: (gst_message_new_state_changed),
11828         (gst_message_parse_state_changed):
11829         * gst/gstmessage.h:
11830         * tools/gst-launch.c: (event_loop):
11831         Added extra field to STATE_CHANGE message with the pending
11832         state, which will be different from the new state soon.
11833
11834 2005-10-08  Wim Taymans  <wim@fluendo.com>
11835
11836         * gst/gstbus.c: (gst_bus_pop):
11837         * gst/gstclock.c:
11838         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11839         Small cleanups and doc updates.
11840
11841 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11842
11843         * gst/gst.c: (init_pre):
11844         * gst/gstbin.c: (gst_bin_add_func):
11845           log distributing clocks and base time
11846         * gst/gstregistry.c: (gst_registry_add_plugin),
11847         (gst_registry_scan_path_level), (gst_registry_scan_path):
11848           clean up the debugging output a little
11849         * gst/gstutils.c: (gst_element_state_get_name):
11850           warn about a memleak (I've actually seen this be used, though
11851           it was probably a bug)
11852
11853 2005-10-07  Wim Taymans  <wim@fluendo.com>
11854
11855         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11856         (gst_base_src_init), (gst_base_src_default_newsegment),
11857         (gst_base_src_newsegment), (gst_base_src_do_seek),
11858         (gst_base_src_loop), (gst_base_src_start):
11859         * gst/base/gstbasesrc.h:
11860         Make the newsegment event customizable by subclasses.
11861
11862 2005-10-07  Wim Taymans  <wim@fluendo.com>
11863
11864         * gst/gstevent.c: (gst_event_new_buffersize),
11865         (gst_event_parse_buffersize):
11866         * gst/gstevent.h:
11867         New event for future idea.
11868
11869 2005-10-07  Andy Wingo  <wingo@pobox.com>
11870
11871         * gst/gstelement.c (gst_element_post_message): Doc update.
11872
11873         * docs/gst/gstreamer-sections.txt: Update.
11874
11875         * gst/gstmessage.c (gst_message_new_application): Made into a
11876         function like honest API calls.
11877         (gst_message_new_element): New message type.
11878
11879         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11880
11881         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11882         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11883         times.
11884
11885         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11886         NO_PREROLL from gst_element_change_state to fall through.
11887
11888 2005-10-07  Wim Taymans  <wim@fluendo.com>
11889
11890         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11891         (gst_ghost_pad_do_activate_push):
11892         Activating a ghostpad with no internal pad in push mode
11893         is ok.
11894
11895 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11896
11897         * gst/gstobject.h:
11898           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11899           Fixes compilation on Windows.
11900
11901 2005-10-07  Michael Smith <msmith@fluendo.com>
11902
11903         * tools/gst-inspect.c:
11904           Print out feature and plugin count at the end when printing out
11905           all features.
11906
11907 2005-10-04  Michael Smith <msmith@fluendo.com>
11908
11909         * gst/gsterror.c: (_gst_stream_errors_init):
11910           Add another error string used in a few existing plugins.
11911
11912         * gst/gstplugin.c:
11913         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11914         * tools/gst-inspect.c: (print_element_info):
11915           When a feature disappears from a plugin (and the feature exists in
11916           the cached registry file), things went horribly wrong. This isn't a
11917           complete fix, we should actually be removing the 'missing' features
11918           from the features list when we load the actual plugin. That's not
11919           yet implemented. 
11920
11921 2005-10-04  Johan Dahlin  <johan@gnome.org>
11922
11923         * check/gst/gstiterator.c: (GST_START_TEST):
11924         * gst/gstbin.c: (gst_bin_iterate_elements),
11925         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11926         * gst/gstelement.c: (gst_element_iterate_pads):
11927         * gst/gstformat.c: (gst_format_iterate_definitions):
11928         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11929         (gst_iterator_new_list), (gst_iterator_filter):
11930         * gst/gstiterator.h:
11931         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11932         Add a GType to GstIterator, update callsites and tests.
11933
11934 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11935
11936         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11937           give events a chance to be handled by event probes when the pad
11938           is not linked
11939
11940 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11941
11942         * gst/gstevent.c: (gst_event_type_get_name),
11943         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11944         * gst/gstevent.h:
11945           add string representations for event types
11946
11947 2005-10-06  Wim Taymans  <wim@fluendo.com>
11948
11949         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11950         Don't use NULL pointers.
11951
11952 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11953
11954         * gst/gst_private.h:
11955         * gst/gstbus.c:
11956         * gst/gstelement.c:
11957         * gst/gstinfo.c:
11958         * gst/gstpluginfeature.c:
11959           widen the debug category in output to fit the biggest one we have
11960           add a bus category and use it
11961           play with the colors
11962           fix up some categories
11963
11964 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11965
11966         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11967           add push activation of sink ghost pads.
11968           Andye, please verify
11969
11970 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11971
11972         * gst/gstutils.c: (gst_element_link_pads):
11973           fix a bug in the case where neither element has a pad
11974         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11975           add a test for that case
11976
11977 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11978
11979         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11980           emit have-data before checking for peers.  This allows
11981           for probe handlers to connect elements.  This helps autopluggers.
11982         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11983         (gst_pad_suite):
11984           add six checks, linked/unlinked with no/true/false probe
11985
11986 2005-10-04  Wim Taymans  <wim@fluendo.com>
11987
11988         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11989         (gst_fake_sink_event), (gst_fake_sink_preroll),
11990         (gst_fake_sink_render), (gst_fake_sink_change_state):
11991         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11992         (gst_fake_src_get_property), (gst_fake_src_create),
11993         (gst_fake_src_stop):
11994         * gst/elements/gstidentity.c: (gst_identity_stop):
11995         Protect last_message with lock.
11996
11997 2005-10-04  Edward Hervey  <edward@fluendo.com>
11998
11999         * gst/gstformat.h: 
12000         Added precision in the comments for GST_FORMAT_DEFAULT
12001
12002 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
12003
12004         * tools/gst-launch.c: (main):
12005           Don't try to run erroneous pipelines.
12006
12007 2005-10-04  Julien MOUTTE  <julien@moutte.net>
12008
12009         * gst/gstbus.c: We don't need this header.
12010
12011 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12012
12013         * configure.ac:
12014           back to development
12015
12016 === release 0.9.3 ===
12017
12018 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
12019
12020         * README:
12021         * configure.ac:
12022           Releasing 0.9.3, "Unregistered"
12023
12024 2005-10-03  Andy Wingo  <wingo@pobox.com>
12025
12026         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12027         whereby calling a pad's activatepush() function can start a thread
12028         that starts to push or pull before the pad gets the FLUSHING flag
12029         unset. Hack around it by holding the stream lock until the flag is
12030         set. Need to replace this with a proper solution. Together with
12031         the ghost pad fixes, this fixes mp3 playing/tagreading.
12032
12033         * docs/design/part-gstghostpad.txt: Add a note about activation of
12034         proxy pads outside of ghost pads.
12035
12036         * gst/gstghostpad.c: Implement the ghost pad activation design.
12037
12038 2005-10-02  Andy Wingo  <wingo@pobox.com>
12039
12040         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12041         It is volatile, after all.
12042
12043         * docs/design/part-gstghostpad.txt: Flesh out activation with
12044         ghost pads.
12045
12046         * gst/base/gstbasesrc.c (gst_base_src_init): Use
12047         GST_DEBUG_FUNCPTR.
12048
12049 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
12050
12051         * configure.ac:
12052           Fix (unused) AM_CONDITIONAL tests.
12053
12054 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
12055
12056         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12057
12058         * gst/gstutils.c: (gst_pad_query_convert):
12059           Add assertion that makes sure src_val is >=0, just like
12060           gst_query_new_convert() has. (#315895)
12061
12062 2005-09-30  Edward Hervey  <edward@fluendo.com>
12063
12064         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12065         Let's not iterate pads we're not interested in, it avoids getting 
12066         sky-high refcounts on sinkpad.
12067
12068 2005-09-30  Wim Taymans  <wim@fluendo.com>
12069
12070         * gst/gstelement.c: (gst_element_set_state),
12071         (gst_element_change_state):
12072         Small tweak, element in ASYNC remains ASYNC.
12073
12074 2005-09-30  Wim Taymans  <wim@fluendo.com>
12075
12076         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12077         Only error is an error.
12078
12079         * gst/gstbin.c: (gst_bin_change_state):
12080         Better debugging.
12081
12082         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12083         Also call pad_block in pad alloc.
12084
12085         * gst/gstutils.c: (gst_flow_get_name):
12086         Better debugging.
12087
12088 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12089
12090         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12091         (gst_base_src_get_range):
12092           Fix documentation typos. Add some more debug info.
12093
12094 2005-09-29  David Schleef  <ds@schleef.org>
12095
12096         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12097           more end-user friendly.
12098         * tools/gst-inspect.c: (main): Check if command-line argument is
12099           a file and attempt to load that file as a plugin.
12100
12101 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12102
12103         * check/gst/gstbin.c:
12104         * check/states/sinks.c:
12105           fix tests for the new warning
12106         * check/gst/gstpipeline.c:
12107           add a test for pipeline and bus interaction
12108         * gst/gstelement.c:
12109           elements should be NULL if they get disposed; add a warning if not
12110
12111 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12112
12113         * gst/gstobject.c:
12114           for 2.6 refcounting, make debug log more correct by printing
12115           the actual refcounts at the time of swap (Wim)
12116
12117 2005-09-29  Andy Wingo  <wingo@pobox.com>
12118
12119         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12120         removes signal watches previously added via
12121         gst_bus_add_signal_watch.
12122         (gst_bus_add_signal_watch): Don't return the source id, just store
12123         it on the bus if there wasn't an id already.
12124
12125         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12126         add_signal_watch and remove_signal_watch.
12127
12128 2005-09-29  Edward Hervey  <edward@fluendo.com>
12129
12130         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12131         Better if we actually iterate the list :)
12132
12133 2005-09-29  Wim Taymans  <wim@fluendo.com>
12134
12135         * check/gst/gstbin.c: (GST_START_TEST):
12136         Change for new bus API.
12137
12138         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12139         (send_messages), (GST_START_TEST), (gstbus_suite):
12140         Change for new bus signal API.
12141
12142         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12143         (gst_bus_source_prepare), (gst_bus_source_check),
12144         (gst_bus_create_watch), (gst_bus_add_watch_full),
12145         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12146         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12147         * gst/gstbus.h:
12148         Remove support for multiple GSources operating on different
12149         message types as it is too complex and unneeded when using
12150         signals.
12151         Added support for receiving signals from the bus.
12152
12153 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12154
12155         * docs/libs/tmpl/gstdataprotocol.sgml:
12156         * docs/manual/advanced-dataaccess.xml:
12157         * gst/elements/gstcapsfilter.c:
12158         * gst/gstutils.c:
12159           rename filter-caps to caps property
12160
12161 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12162
12163         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12164           More robust fraction string parsing.
12165
12166         * docs/pwg/appendix-porting.xml:
12167           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12168
12169 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12170
12171         * gst/gstcaps.c: (gst_caps_do_simplify):
12172           Thou shalt not free a structure and then continue using it
12173           in the next loop iteration.
12174
12175         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12176         (gst_caps_suite):
12177           Add test case for caps simplification.
12178
12179 2005-09-29  Wim Taymans  <wim@fluendo.com>
12180
12181         * check/gst/gstbin.c: (GST_START_TEST):
12182         Oops.
12183
12184 2005-09-29  Wim Taymans  <wim@fluendo.com>
12185
12186         * check/gst/gstbin.c: (GST_START_TEST):
12187         Add bus to bin.
12188
12189         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12190         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12191         (find_element), (gst_bin_sort_iterator_next),
12192         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12193         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12194         (gst_bin_change_state), (gst_bin_dispose):
12195         A bin does not have a bus, it gets the bus from the parent.
12196
12197         * gst/gstelement.c: (gst_element_requires_clock),
12198         (gst_element_provides_clock), (gst_element_is_indexable),
12199         (gst_element_is_locked_state), (gst_element_change_state),
12200         (gst_element_set_bus_func):
12201         Small cleanups.
12202
12203         * gst/gstpipeline.c: (gst_pipeline_class_init),
12204         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12205         The pipeline provides a bus.
12206
12207 2005-09-28  Johan Dahlin  <johan@gnome.org>
12208
12209         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12210         gst_structure_get_enum instead of gst_structure_get_int
12211
12212         * gst/gststructure.c (gst_structure_get_enum): Impl.
12213
12214         * gst/gststructure.h (gst_structure_get_enum): Add
12215
12216         * docs/gst/gstreamer-sections.txt: Ditto
12217
12218         * gst/gstmessage.c (gst_message_new_state_changed): Use
12219         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12220         which does introspection.
12221         Reviewed by Christian Schaller
12222
12223 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12224
12225         * gst/gstinfo.c: (gst_debug_log_default):
12226           don't do dummy g_strdup()s
12227         * libs/gst/controller/gstcontroller.c:
12228         (on_object_controlled_property_changed),
12229         (gst_controlled_property_new), (gst_controller_new_valist),
12230         (gst_controller_new_list),
12231         (gst_controller_remove_properties_valist), (gst_controller_set),
12232         (gst_controller_get), (gst_controller_sync_values),
12233         (gst_controller_get_value_array), (_gst_controller_class_init),
12234         (gst_controller_get_type):
12235         * libs/gst/controller/gstcontroller.h:
12236         * libs/gst/controller/gstinterpolation.c:
12237         (gst_controlled_property_find_timed_value_node):
12238           convert // to /**/ comments
12239
12240 2005-09-28  Wim Taymans  <wim@fluendo.com>
12241
12242         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12243         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12244         (gst_bus_sync_signal_handler):
12245         * gst/gstbus.h:
12246         Added async-message and sync-message signals to the bus.
12247         Added helper BusFunc to emit signals for all posted messages.
12248
12249         * gst/gstmessage.c: (gst_message_type_get_name),
12250         (gst_message_type_to_quark), (gst_message_get_type):
12251         * gst/gstmessage.h:
12252         Register quarks for message names.
12253
12254 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12255
12256         * docs/libs/gstreamer-libs-sections.txt:
12257         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12258         (gst_controller_new_list):
12259         * libs/gst/controller/gstcontroller.h:
12260           added another constructor for language bindings
12261
12262 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12263
12264         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12265           add another check
12266         * gst/gstbus.c:
12267           add some doc
12268         * gst/gstinfo.c: (_gst_debug_init):
12269           slightly more readable color for refcount debugging
12270
12271 2005-09-28  Wim Taymans  <wim@fluendo.com>
12272
12273         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12274         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12275         (find_element), (gst_bin_sort_iterator_next),
12276         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12277         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12278         (gst_bin_change_state), (gst_bin_dispose):
12279         Small doc fixes. get_clock -> provide_clock.
12280
12281         * gst/gstelement.c: (gst_element_class_init),
12282         (gst_element_provides_clock), (gst_element_provide_clock),
12283         (gst_element_get_clock), (gst_element_commit_state),
12284         (gst_element_lost_state):
12285         * gst/gstelement.h:
12286         Make get/set_clock() symetric. Add provide_clock vmethod since
12287         that is actually what this function does.
12288
12289         * gst/gstpipeline.c: (gst_pipeline_class_init),
12290         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12291         (gst_pipeline_get_clock):
12292         get_clock -> provide_clock.
12293
12294 2005-09-28  Andy Wingo  <wingo@pobox.com>
12295
12296         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12297         lieu of real docs...
12298
12299         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12300
12301 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12302
12303         * gst/elements/gstcapsfilter.c:
12304         * gst/elements/gstfakesink.c:
12305         * gst/elements/gstfakesrc.c:
12306         * gst/elements/gstfdsink.c:
12307         * gst/elements/gstfdsrc.c:
12308         * gst/elements/gstfilesink.c:
12309         * gst/elements/gstfilesrc.c:
12310         * gst/elements/gstidentity.c:
12311         * gst/elements/gsttee.c:
12312         * gst/elements/gsttypefindelement.c:
12313           Make element details static.
12314
12315 2005-09-28  Wim Taymans  <wim@fluendo.com>
12316
12317         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12318         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12319         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12320         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12321         (gst_bin_change_state), (gst_bin_dispose):
12322         Some documentation updates.
12323         Clean up dispose handlers.
12324
12325         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12326         * gst/gstpad.c: (gst_pad_dispose):
12327         Clean up dispose handler.
12328
12329         * gst/gstpipeline.c: (gst_pipeline_change_state):
12330         Removed spurious UNLOCK.
12331
12332 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12333
12334         * docs/gst/gstreamer-sections.txt:
12335         * gst/base/gstbasesrc.h:
12336         * gst/gstelement.h:
12337         * gst/gstevent.h:
12338         * gst/gstobject.h:
12339         * gst/gstpad.h:
12340         * gst/gstpipeline.c:
12341         * gst/gstpipeline.h:
12342         * gst/gstutils.h:
12343         * gst/gstxml.h:
12344           added two new functions to the docs
12345                 documents all undocumented GstXXXFlags
12346                 completed some incomplete docs 
12347
12348 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12349
12350         * gst/gstbin.c: (gst_bin_dispose):
12351         * gst/gstelement.c: (gst_element_dispose):
12352           remove now useless and leaky resurrection code in dispose
12353         * gst/base/gstbasesrc.c: (gst_base_src_init):
12354         * gst/gstelementfactory.c: (gst_element_factory_create):
12355         * gst/gstobject.c: (gst_object_set_parent):
12356           add some debugging
12357
12358 2005-09-27  Wim Taymans  <wim@fluendo.com>
12359
12360         * docs/design/part-TODO.txt:
12361         Update TODO.
12362
12363         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12364         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12365         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12366         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12367         (gst_bin_change_state):
12368         * gst/gstelement.h:
12369         Remove element variable, we keep element info in the iterator now.
12370
12371 2005-09-27  Andy Wingo  <wingo@pobox.com>
12372
12373         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12374         values.
12375
12376 2005-09-27  Wim Taymans  <wim@fluendo.com>
12377
12378         * check/gst/gstbin.c: (GST_START_TEST):
12379         Enable check that works now.
12380
12381         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12382         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12383         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12384         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12385         (gst_bin_change_state):
12386         * gst/gstbin.h:
12387         Redid the state change algorithm using a topological sort algo.
12388         Handles all cases correctly.
12389         Exposed iterator for state change order.
12390
12391         * gst/gstelement.h:
12392         Temp storage for state changes. Need to get rid of this soon.
12393
12394 2005-09-27  Wim Taymans  <wim@fluendo.com>
12395
12396         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12397         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12398         (link_fold_func), (gst_pad_proxy_setcaps):
12399         Leak fixes, the fold functions need to unref the passed object and
12400         _get_parent_*() returns ref to parent.
12401
12402 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12403
12404         * check/gst/gstbuffer.c: (test_make_writable):
12405           Plug leak in test case and fix 'make check-valgrind'
12406
12407 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12408
12409         * gst/gstbuffer.c: (gst_subbuffer_init):
12410           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12411           works correctly in all circumstances (we could have just copied
12412           the parent buffer's readonly flag, but conceptually it seems
12413           cleaner to mark all subbuffers as read-only). (based on patch
12414           by Alessandro Decina, #314710).
12415         
12416         * check/gst/gstbuffer.c: (create_read_only_buffer),
12417         (test_make_writable), (test_subbuffer_make_writable),
12418         (gst_test_suite):
12419           Add some tests for gst_buffer_make_writable().
12420
12421 2005-09-27  Wim Taymans  <wim@fluendo.com>
12422
12423         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12424         use gst_object_has_ancestor().
12425
12426         * gst/gstobject.c: (gst_object_has_ancestor):
12427         * gst/gstobject.h:
12428         gst_object_has_ancestor() copied from gstbin.c as it is a
12429         usefull function.
12430
12431         * tests/instantiate/create.c: (create_all_elements):
12432         * tests/lat.c: (handoff_src), (handoff_sink):
12433         * tests/sched/runxml.c: (main):
12434         * tests/seeking/seeking1.c: (main):
12435         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12436         (main):
12437         Fix compilation of some tests.
12438
12439 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12440
12441         * gst/gsterror.h:
12442           Remove comment. GST_TYPE_G_ERROR is here to stay,
12443           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12444           (#316961, #300610).
12445
12446 2005-09-26  Wim Taymans  <wim@fluendo.com>
12447
12448         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12449         Added check that shows error in state change order.
12450
12451 2005-09-26  Wim Taymans  <wim@fluendo.com>
12452
12453         * gst/gstbin.c: (gst_bin_change_state):
12454         Make state change function use 3 queues again, we were
12455         adding elements in the wrong order.
12456
12457         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12458         Some debug info,
12459
12460         * gst/gstpad.c: (gst_pad_dispose):
12461         Added some debug info first.
12462
12463 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12464
12465         * docs/design/draft-push-pull.txt:
12466         * docs/design/part-events.txt:
12467         * docs/design/part-overview.txt:
12468         * docs/design/part-scheduling.txt:
12469           Replace all _pull_region() with _pull_range()
12470           
12471 2005-09-26  Andy Wingo  <wingo@pobox.com>
12472
12473         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12474
12475         * check/gst-libs/controller.c: Update for controller api change.
12476
12477         * configure.ac: 
12478         * tests/Makefile.am:
12479         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12480         over by GLib bug 118439.
12481         
12482         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12483         routines to a function.
12484
12485         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12486
12487         * libs/gst/controller/gsthelper.c:
12488         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12489         (gst_object_sync_values): Renamed from sink_values. Ugh.
12490
12491         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12492
12493         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12494         Renamed from controller_key, as it is exported.
12495
12496         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12497
12498 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12499
12500         * gst/Makefile.am:
12501         * gst/gst.h:
12502         * gst/gstpad.h:
12503         * gst/gstpadtemplate.h:
12504         * gst/gstquery.c:
12505         * gst/gstquery.h:
12506         * gst/gstqueryutils.c:
12507         * gst/gstqueryutils.h:
12508           remove queryutils headers after moving the two used functions
12509           to gstquery.  also fixes build problem for gstsiddec
12510
12511 2005-09-26  Michael Smith <msmith@fluendo.com>
12512
12513         * tools/gst-launch.1.in:
12514         Correct documentation in manpage of debug syntax
12515
12516 2005-09-26  Wim Taymans  <wim@fluendo.com>
12517
12518         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12519         (gst_base_src_is_seekable), (gst_base_src_change_state):
12520         Some more debugging info.
12521
12522 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12523
12524         * docs/gst/gstreamer-sections.txt:
12525         * gst/base/gstbasetransform.h:
12526         * gst/gstindex.h:
12527           added more docs
12528
12529 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12530
12531         * docs/gst/.cvsignore:
12532         * docs/gst/tmpl/.cvsignore:
12533         * docs/gst/tmpl/gstpipeline.sgml:
12534         * docs/gst/tmpl/gstplugin.sgml:
12535         * gst/gstpipeline.c:
12536         * gst/gstplugin.c:
12537         * gst/gstplugin.h:
12538           inlined the last two docs files
12539           removed the tmpl directory from cvs (no more conflicts here!)
12540
12541 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12542
12543         * docs/gst/gstreamer-sections.txt:
12544         * docs/gst/tmpl/.cvsignore:
12545         * docs/gst/tmpl/gstpad.sgml:
12546         * docs/gst/tmpl/gstpadtemplate.sgml:
12547         * gst/Makefile.am:
12548         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12549         (gst_pad_finalize), (gst_pad_set_pad_template):
12550         * gst/gstpad.h:
12551         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12552         (gst_pad_template_class_init), (gst_pad_template_init),
12553         (gst_pad_template_dispose), (name_is_valid),
12554         (gst_static_pad_template_get), (gst_pad_template_new),
12555         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12556         (gst_pad_template_pad_created):
12557         * gst/gstpadtemplate.h:
12558           inlined two more docs
12559           factored gstpadtemplate out of gstpad
12560
12561 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12562
12563         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12564         (test_children_state_change_order_semi_sink):
12565           Fix test case: we can't rely on a fixed state change order when
12566           going from READY => PAUSED because the sink might commit its 
12567           new state first when the first buffer created by the source 
12568           reaches the sink before the source has finished its change state.
12569           (Test case still fails at times, see #316856, comment 5 onwards)
12570
12571 2005-09-24  Wim Taymans  <wim@fluendo.com>
12572
12573         * docs/design/part-events.txt:
12574         * docs/design/part-gstbus.txt:
12575         * docs/design/part-gstpipeline.txt:
12576         * docs/design/part-messages.txt:
12577         * docs/design/part-overview.txt:
12578         * docs/design/part-segments.txt:
12579         * gst/gstbin.c:
12580         * gst/gstbuffer.c:
12581         * gst/gstclock.c:
12582         * gst/gstelement.c:
12583         * gst/gstevent.c:
12584         * gst/gstfilter.c:
12585         * gst/gstiterator.c:
12586         Various documentation updates.
12587
12588 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12589
12590         * gst/gstclock.h:
12591           Well, that's embarassing.  Luckily we weren't using
12592           GST_CLOCK_DIFF anywhere.
12593
12594 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12595
12596         * common/gtk-doc.mak:
12597           don't fail on building XML, FC4 slave shows a bunch of doc
12598           missing bits that I don't get
12599         * gst/gstpad.c:
12600         * gst/gstpipeline.c:
12601         * gst/gststructure.c:
12602           some doc updates
12603
12604 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12605
12606         * docs/design/part-gstbin.txt:
12607         * docs/design/part-gstbus.txt:
12608         * gst/gstbus.c:
12609           Add blurb about how the bus goes into flushing mode and
12610           drops all messages when its bin goes from READY into NULL 
12611           state.
12612
12613 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12614
12615         * docs/gst/gstreamer-sections.txt:
12616         * gst/gststructure.c: (gst_structure_get_clock_time):
12617         * gst/gststructure.h:
12618           add a method to get a GstClockTime out of a structure
12619
12620 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12621
12622         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12623         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12624           Added test to check state change order in bins (can still be made
12625           to fail here under heavy disk load; bails out with 'Push on pad
12626           fakesink:sink0, but it was not activated in push mode').
12627
12628         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12629           Fix state change order when there is only a semi sink (#316856)
12630
12631         * gst/gstbus.c: (gst_bus_class_init):
12632           Use _class_peek_parent(), not _class_ref(); fix docs to say
12633           'default main context' instead of 'mainloop' where that is
12634           what's meant.
12635
12636         * gst/gstelement.c: (gst_element_commit_state),
12637         (gst_element_set_state):
12638           Fix typos in debug messages
12639
12640 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12641
12642         * docs/README:
12643         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12644         * gst/gstpluginfeature.c:
12645         * gst/gstutils.c:
12646           various doc updates
12647         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12648           change an assert into an error until it gets fixed properly
12649
12650 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12651
12652         * docs/gst/gstreamer-sections.txt:
12653         * docs/gst/tmpl/.cvsignore:
12654         * docs/gst/tmpl/gstelement.sgml:
12655         * docs/gst/tmpl/gstinfo.sgml:
12656         * docs/gst/tmpl/gstobject.sgml:
12657         * gst/gstelement.c:
12658         * gst/gstelement.h:
12659         * gst/gstinfo.c:
12660         * gst/gstinfo.h:
12661         * gst/gstobject.c: (gst_object_class_init):
12662         * gst/gstobject.h:
12663           inlined 3 more biiiig doc files and added some missing docs on the fly
12664
12665 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12666
12667         * check/gst/.cvsignore:
12668         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12669         * gst/gstregistryxml.c: (load_plugin),
12670         (gst_registry_xml_save_plugin):
12671           put back source in registry.  add checks for find_plugin.
12672         * testsuite/states/bin.c: (assert_state), (empty_bin),
12673         (test_adding_one_element), (main):
12674         * testsuite/states/locked.c: (main):
12675           some compile/run fixes
12676
12677 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12678
12679         * check/gst/gstvalue.c: (GST_START_TEST):
12680           fix leaks in the test itself
12681
12682 2005-09-22  Wim Taymans  <wim@fluendo.com>
12683
12684         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12685         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12686         (gst_base_sink_query):
12687         Prepare for more accurate position reporting and query
12688         handling.
12689
12690         * gst/gstelement.c: (gst_element_send_event),
12691         (gst_element_set_state):
12692         Add some comment.
12693
12694 2005-09-22  Wim Taymans  <wim@fluendo.com>
12695
12696         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12697         (gst_query_parse_segment):
12698         * gst/gstquery.h:
12699         More documentation.
12700         Add segment query for future use.
12701
12702 2005-09-22  Wim Taymans  <wim@fluendo.com>
12703
12704         * gst/gstbin.c: (gst_bin_add_func):
12705         Some more debug info.
12706
12707         * gst/gstelement.c: (gst_element_send_event):
12708         Simplify send_event
12709
12710         * gst/gstelement.h:
12711         Don't know how flags got broken.
12712
12713         * gst/gstquery.h:
12714         Added new query.
12715
12716 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12717
12718         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12719           Add simplistic test suite for GST_TYPE_DATE serialisation and
12720           deserialisation.
12721
12722 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12723
12724         * docs/gst/gstreamer-sections.txt:
12725         * gst/gststructure.c: (gst_structure_set_valist),
12726         (gst_structure_get_date):
12727         * gst/gststructure.h:
12728         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12729         (gst_date_copy), (gst_value_compare_date),
12730         (gst_value_serialize_date), (gst_value_deserialize_date),
12731         (gst_value_transform_date_string),
12732         (gst_value_transform_string_date), (_gst_value_initialize):
12733         * gst/gstvalue.h:
12734           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12735           bunch of utility functions along with a hack that checks that
12736           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12737           is required. Part of the grand scheme in #170777.
12738
12739 2005-09-22  Andy Wingo  <wingo@pobox.com>
12740
12741         * gst/gstconfig.h.in: Psych out gtk-doc.
12742
12743         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12744
12745         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12746
12747         * tools/gst-inspect.c (print_element_list): Plug some
12748         inconsequential leaks.
12749
12750         * gst/gstregistry.c (gst_registry_get_default): Doc.
12751
12752         * check/gst/gstplugin.c: 
12753         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12754         * gst/gstelementfactory.c (gst_element_factory_create): 
12755         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12756         refcount changes.
12757
12758         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12759         (gst_plugin_feature_load): Doc, don't eat refs.
12760
12761         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12762         (gst_plugin_list_free): Doc.
12763         (gst_plugin_load_file): Doc updates.
12764
12765         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12766         accessors returning refcounted objects, return a ref.
12767
12768         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12769         accessor for caps. IDEMPOTENCE. Oh yes.
12770
12771 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12772
12773         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12774
12775         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12776         (_gst_debug_register_funcptr):
12777           Add mutex to serialise access to the hash table with
12778           the function pointer => function name string mapping;
12779           make that hash table static scope (#316809).
12780
12781         * gst/registries/.cvsignore:
12782           Remove left-over file.
12783
12784 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12785
12786         * docs/pwg/appendix-porting.xml:
12787           And something about newsegment events and caps-on-buffers to
12788           the porting guide (feel free to improve).
12789
12790 2005-09-21  Andy Wingo  <wingo@pobox.com>
12791
12792         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12793         data and event probes on the same pad.
12794         (test_buffer_probe_once): Test that removing probes from within
12795         the probe functions works.
12796
12797 2005-09-21  Andy Wingo  <wingo@pobox.com>
12798
12799         * check/gst/gstutils.c: New file.
12800         (test_buffer_probe_n_times): A simple buffer probe test. More to
12801         come, foolios.
12802
12803         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12804         have-data::buffer, not have-data.
12805         (gst_pad_add_event_probe): Likewise for have-data::event.
12806         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12807         peer' isn't quite right yet though.
12808         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12809         (gst_pad_remove_data_probe): Change to take the guint handler_id
12810         as their arg, not the function+data, which is more glib-like.
12811
12812         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12813         the signal emission to indicate if the data is a buffer or an
12814         event.
12815         (gst_pad_get_type): Initialize buffer and event quarks.
12816         (gst_pad_class_init): have-data is now a detailed signal, yes it
12817         is.
12818
12819 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12820
12821         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12822         * gst/gstutils.c: (gst_util_set_value_from_string),
12823         (gst_util_set_object_arg):
12824           Don't put functional code in g_return_if_fail() or
12825           g_return_val_if_fail() statements, otherwise things will 
12826           break when G_DISABLE_CHECKS is defined during compilation.
12827
12828 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12829
12830         * docs/gst/tmpl/.cvsignore:
12831         * docs/gst/tmpl/gstvalue.sgml:
12832         * gst/gstvalue.c:
12833         * gst/gstvalue.h:
12834           inlied another one and added  some obvious docs
12835
12836 2005-09-21  Wim Taymans  <wim@fluendo.com>
12837
12838         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12839         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12840         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12841         (gst_fdsrc_get_property), (gst_fdsrc_create):
12842         * gst/elements/gstfdsrc.h:
12843         Properly implement fdsrc. Removed signal and timeout,
12844         better implemented somewhere else.
12845
12846 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12847
12848         * docs/gst/tmpl/.cvsignore:
12849         * docs/gst/tmpl/gstimplementsinterface.sgml:
12850         * gst/gstinterface.c:
12851           inlined more docs
12852
12853 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12854
12855         * docs/gst/gstreamer-sections.txt:
12856         * docs/gst/tmpl/.cvsignore:
12857         * docs/gst/tmpl/gstenumtypes.sgml:
12858           remove obsolete doc file
12859
12860 2005-09-21  David Schleef  <ds@schleef.org>
12861
12862         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12863         little beer, fix a little leak.
12864
12865 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12866
12867         * docs/gst/gstreamer-docs.sgml:
12868         * docs/gst/gstreamer-sections.txt:
12869         * docs/gst/tmpl/.cvsignore:
12870         * gst/Makefile.am:
12871         * gst/gst.h:
12872         * gst/gstbin.c:
12873         * gst/gstelement.h:
12874         * gst/gstindex.c: (gst_index_class_init):
12875         * gst/gstindex.h:
12876         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12877         (gst_index_factory_class_init), (gst_index_factory_init),
12878         (gst_index_factory_finalize), (gst_index_factory_new),
12879         (gst_index_factory_destroy), (gst_index_factory_find),
12880         (gst_index_factory_create), (gst_index_factory_make):
12881         * gst/gstindexfactory.h:
12882         * gst/gstpluginfeature.c:
12883         * gst/gstpluginfeature.h:
12884         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12885           more docs inlined, splitted gstindex.{c,h}
12886
12887 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12888
12889         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12890           fix a leak
12891
12892 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12895           Set sync to FALSE by default.
12896
12897 2005-09-20  Wim Taymans  <wim@fluendo.com>
12898
12899         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12900         (gst_base_sink_init):
12901         Make sync property settable from subclass.
12902
12903         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12904         (gst_fake_sink_change_state):
12905         Set sync to FALSE by default.
12906
12907 2005-09-20  Wim Taymans  <wim@fluendo.com>
12908
12909         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12910         * tools/gst-launch.c: (main):
12911         The timeout handler should have lower priority than the source
12912         so we don't timeout before popping a message with 0 timeout.
12913         Dump error messages after failed state change.
12914
12915 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12916
12917         * tools/gst-inspect.c: (print_element_properties_info):
12918           Fix two typos.
12919
12920 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12921
12922         * check/gst/gstevent.c:
12923         * gst/elements/gstfakesink.c:
12924         * gst/elements/gstfakesink.h:
12925           remove the sync property from fakesink.
12926           has the side effect of setting sync TRUE
12927           for fakesink, which is a change.  Anyone who knows how
12928           to fix this nicely in a GObject-y way, feel free.
12929
12930 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12931
12932         * docs/gst/gstreamer-docs.sgml:
12933           remove probe refsection
12934
12935 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12936
12937         * check/Makefile.am:
12938           disable valgrinding the controller test again
12939         * docs/gst/gstreamer-sections.txt:
12940           update for api-changes
12941
12942 2005-09-20  Wim Taymans  <wim@fluendo.com>
12943
12944         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12945         (gst_base_sink_set_property), (gst_base_sink_get_property),
12946         (gst_base_sink_do_sync):
12947         * gst/base/gstbasesink.h:
12948         Added sync property to basesink to disable clock sync.
12949
12950 2005-09-20  Andy Wingo  <wingo@pobox.com>
12951
12952         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12953         eating the caller's refcount.
12954
12955         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12956         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12957         refcount.
12958
12959         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12960         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12961         of GLib 2.8 public, so we can know which refcount to check in
12962         tests.
12963
12964         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12965         (gst_object_init): Only set the gst refcount if we're going ahead
12966         with the refcount hack.
12967
12968 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12969
12970         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12971         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12972           more leaks plumbed, added more debug-logging
12973         * gst/gstmacros.h:
12974           whitespace fix
12975
12976 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12977
12978         * gst/gstmessage.c:
12979           remove include of gstmemchunk.h
12980
12981 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12982
12983         * gst/gstclock.c: (_gst_clock_id_free):
12984           Commit from the Political Party For More Atomic CVS Commits,
12985           so that people don't waste too much of their day fishing
12986           out obvious leaks out of massive commits.
12987           Oh, and fix a pretty damn obvious leak in the memchunk
12988           removal code.
12989
12990 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12991
12992         * check/Makefile.am:
12993         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12994           plug mem-leak, re-add to valgrindable tests
12995
12996 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12997
12998         * gst/gstplugin.h:
12999           unbreak the build for those who have chronic arthritis
13000           and typing "make check" is just too taxing on the hands
13001
13002 2005-09-20  Andy Wingo  <wingo@pobox.com>
13003
13004         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13005         really want it out, you should fix plugins at the same time.
13006
13007 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
13008
13009         * configure.ac:
13010         * docs/gst/gstreamer-sections.txt:
13011         * gst/gstobject.c:
13012           added missing symbols to api docs
13013           disable ref-count hack if we have glib >= 2.8
13014
13015 2005-09-19  David Schleef  <ds@schleef.org>
13016
13017         * docs/gst/Makefile.am: Ignore a few more internal headers
13018         * docs/gst/gstreamer-docs.sgml: Remove old sections
13019         * docs/gst/gstreamer-sections.txt: Remove old sections
13020         * docs/gst/tmpl/gstobject.sgml: update
13021         * docs/gst/tmpl/gstplugin.sgml: update
13022         * docs/gst/tmpl/gstpluginfeature.sgml: update
13023         * docs/random/ds/0.9-suggested-changes: update.
13024         * gst/Makefile.am: remove memchunk and trashstack, since they're
13025           not used.
13026         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13027         * gst/gst.h: don't include some headers
13028         * gst/gstchildproxy.c: add gstmarshal.h
13029         * gst/gstclock.c: Don't use memchunks
13030         * gst/gstminiobject.c: Add some docs
13031         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13032         * gst/gstobject.h: same
13033         * gst/gstplugin.c: include gstmacros.h
13034         * gst/gstplugin.h: don't include gstmacros.h, since it's private
13035         * gst/gstquery.c: don't use memchunks
13036         * gst/gstregistry.c: rename gst_registry_deinit()
13037         * gst/gstregistry.h: same
13038
13039 2005-09-19  David Schleef  <ds@schleef.org>
13040
13041         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13042         * docs/libs/gstreamer-libs-sections.txt:
13043         * docs/libs/tmpl/gstgetbits.sgml:
13044         * docs/libs/tmpl/gstputbits.sgml:
13045
13046 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
13047
13048         * win32/gstenumtypes.c:
13049         * win32/gstenumtypes.h:
13050           Update.
13051
13052 2005-09-19  Wim Taymans  <wim@fluendo.com>
13053
13054         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13055         Automatically PAUSE and RESUME a pipeline when a flushing seek
13056         is performed.
13057
13058 2005-09-19  Andy Wingo  <wingo@pobox.com>
13059
13060         * gst/gstregistry.h: Spacing fixen.
13061
13062 2005-09-19  Wim Taymans  <wim@fluendo.com>
13063
13064         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13065         Handle state change failure more correctly.
13066
13067 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13068
13069         * check/Makefile.am:
13070         * check/pipelines/cleanup.c: (run_pipeline):
13071         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13072         (GST_START_TEST):
13073           enable cleanup again after fixing the leak
13074         * docs/README:
13075           some more info on docs
13076
13077 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13078
13079         * check/Makefile.am:
13080           re-enable tests now that leaks are plugged
13081         * check/gst/gst.c:
13082         * check/gst/gstbin.c:
13083         * check/gst/gstpipeline.c:
13084           add some more tests while fixing leaks
13085         * common/check.mak:
13086           make sure binaries are uptodate when valgrinding/gdbing
13087         * gst/gst.c:
13088         * gst/gstelementfactory.c:
13089           remove a ref too many, and add a FIXME for when we get
13090           round to disposing of classes
13091         * gst/gstplugin.c:
13092           fix the refcounting when loading a plugin from a file and
13093           the code pretends that the pointer is the same even though
13094           of course it can change
13095         * gst/gstpluginfeature.c:
13096           unref plugins marked cached (a bit confusing as a name)
13097           as the docs state should be done
13098           various doc additions to explain refcounting
13099         * gst/gstregistry.c:
13100         * gst/gstregistryxml.c:
13101           debugging
13102
13103 2005-09-19  Wim Taymans  <wim@fluendo.com>
13104
13105         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13106         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13107         (send_messages), (GST_START_TEST), (gstbus_suite):
13108         * check/gst/gstpipeline.c: (GST_START_TEST):
13109         * check/pipelines/cleanup.c: (run_pipeline):
13110         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13111         (GST_START_TEST):
13112         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13113         (gst_bus_source_check), (gst_bus_source_dispatch),
13114         (gst_bus_create_watch), (gst_bus_add_watch_full),
13115         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13116         * gst/gstbus.h:
13117         * tools/gst-launch.c: (event_loop):
13118         * tools/gst-md5sum.c: (event_loop):
13119         GstBusHandler -> GstBusFunc, return value has the same meaning as
13120         any other GSource (FALSE == remove source).
13121         _add_watch() and _add_watch_full() now take a MessageType mask to
13122         only handle specific types of messages.
13123         _poll() returns the GstMessage instead of the message type to avoid
13124         race conditions.
13125         _have_pending() takes a MessageType mask now too.
13126         Added testsuite for multiple bus watches.
13127         Fix testsuites and applications for new bus API.
13128
13129 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13130
13131         * check/Makefile.am:
13132           mark a bunch of the tests as to fix until we fix them
13133
13134 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13135
13136         * common/check.mak:
13137           use GST_PLUGIN settings for valgrind tests as well, so we're
13138           valgrinding the correct thing
13139         * gst/gst.c: (init_post):
13140           plug another leak
13141
13142 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13143
13144         * gst/gst.c: (init_post), (gst_deinit):
13145         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13146         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13147         * gst/gstindex.c: (gst_index_factory_class_init),
13148         (gst_index_factory_finalize):
13149         * gst/gstobject.c: (gst_object_dispose):
13150         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13151         (gst_plugin_load_file), (gst_plugin_desc_free):
13152         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13153         (gst_plugin_feature_finalize):
13154         * gst/gstregistry.c: (gst_registry_class_init),
13155         (gst_registry_init), (gst_registry_finalize),
13156         (gst_registry_get_default), (gst_registry_deinit):
13157         * gst/gstregistry.h:
13158         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13159           various cleanups and memleak plugging.  make valgrind is happy now.
13160
13161 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13162
13163         * common/check.mak:
13164           add a check-valgrind target
13165
13166 2005-09-18  David Schleef  <ds@schleef.org>
13167
13168         * tools/gst-inspect.c: Revert the GOption code.
13169
13170 2005-09-17  David Schleef  <ds@schleef.org>
13171
13172         * check/Makefile.am: Fix environment variables.
13173         * check/gst/gstplugin.c: Fix for API changes.
13174         * tools/gst-inspect.c: Fix for API changes.
13175         * tools/gst-xmlinspect.c: Fix for API changes.
13176         * gst/gstelementfactory.c:
13177         * gst/gstplugin.c:
13178         * gst/gstplugin.h:
13179         * gst/gstpluginfeature.c:
13180         * gst/gstpluginfeature.h:
13181         * gst/gstregistry.c:
13182         * gst/gstregistry.h:
13183         * gst/gstregistryxml.c:
13184         * gst/gsttypefind.c:
13185         * gst/gsttypefindfactory.c:
13186         * gst/indexers/gstfileindex.c:
13187         * gst/indexers/gstmemindex.c:
13188         * gst/schedulers/Makefile.am:
13189           Change registry to keep track of both plugins and features,
13190           removing the feature tracking from plugins themselves.
13191
13192 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13193
13194         * check/Makefile.am:
13195         * tools/gst-register.1.in:
13196           remove gst-register
13197
13198 2005-09-15  David Schleef  <ds@schleef.org>
13199
13200         * check/gst/gstplugin.c:
13201         * gst/gstelementfactory.c:
13202         * gst/gstplugin.c:
13203         * gst/gstpluginfeature.c:
13204         * gst/gstregistry.c:
13205           Getting tired of debugging.  Disabled all the unreffing of
13206           plugins and features, which fixes the segfaults, but of
13207           course leaks like crazy.  At least playbin works.
13208
13209 2005-09-15  David Schleef  <ds@schleef.org>
13210
13211         * check/gst/gstplugin.c: (register_check_elements),
13212         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13213         More testing
13214         * gst/elements/gsttypefindelement.c: Fix refcounting.
13215         * gst/gsttypefind.c:
13216         * gst/gsttypefindfactory.c:
13217         * gst/gsttypefindfactory.h:
13218
13219 2005-09-15  David Schleef  <ds@schleef.org>
13220
13221         * gst/gstindex.c: get refcounting correct.
13222         * gst/gstregistry.c: Handle the case where a feature/plugin is
13223           not found.
13224
13225 2005-09-15  David Schleef  <ds@schleef.org>
13226
13227         * check/Makefile.am:
13228         * check/gst/gstplugin.c: Add test
13229         * gst/gstplugin.c: Fix problems noticed by testsuite
13230         * gst/gstplugin.h:
13231         * gst/gstregistry.c: 
13232         * gst/gstregistry.h:
13233
13234 2005-09-15  David Schleef  <ds@schleef.org>
13235
13236         * gst/gstplugin.c: Implement semi-decent recounting and locking
13237           in plugins and plugin features.
13238         * gst/gstplugin.h:
13239         * gst/gstpluginfeature.c:
13240         * gst/gstpluginfeature.h:
13241         * gst/gstregistry.c:
13242
13243 2005-09-15  Michael Smith <msmith@fluendo.com>
13244
13245         * gst/gstregistry.c: (gst_registry_get_feature_list):
13246           Implement this. Makes oggdemux work; decodebin still broken.
13247
13248 2005-09-14  David Schleef  <ds@schleef.org>
13249
13250         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13251           #316076)
13252         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13253         * gst/check/Makefile.am:
13254         * libs/gst/controller/Makefile.am:
13255         * libs/gst/dataprotocol/Makefile.am:
13256
13257 2005-09-14  David Schleef  <ds@schleef.org>
13258
13259         * configure.ac: Remove getbits library.  Nothing uses it, and
13260           it should be in something like liboil if someone did want
13261           to use it.
13262         * libs/gst/Makefile.am:
13263         * libs/gst/getbits/Makefile.am:
13264         * libs/gst/getbits/gbtest.c:
13265         * libs/gst/getbits/getbits.c:
13266         * libs/gst/getbits/getbits.h:
13267         * libs/gst/getbits/gstgetbits_generic.c:
13268         * libs/gst/getbits/gstgetbits_i386.s:
13269         * libs/gst/getbits/gstgetbits_inl.h:
13270
13271 2005-09-14  David Schleef  <ds@schleef.org>
13272
13273         * gst/Makefile.am: Dist glib-compat.h
13274
13275 2005-09-14  David Schleef  <ds@schleef.org>
13276
13277         * configure.ac: Remove gst/registries, since it's no longer used.
13278         * gst/registries/Makefile.am:
13279         * gst/registries/gstlibxmlregistry.c:
13280         * gst/registries/gstlibxmlregistry.h:
13281         * gst/registries/gstxmlregistry.c:
13282         * gst/registries/gstxmlregistry.h:
13283         * gst/registries/registrytest.c:
13284
13285 2005-09-14  David Schleef  <ds@schleef.org>
13286
13287         * gst/glib-compat.h:
13288         * gst/gstregistryxml.c:
13289           Convergence is near.  Seriously.
13290
13291 2005-09-14  David Schleef  <ds@schleef.org>
13292
13293         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13294         * gst/glib-compat.h:
13295           Attempt #4 to appease the buildbots.
13296
13297 2005-09-14  David Schleef  <ds@schleef.org>
13298
13299         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13300           Attempt #3.
13301
13302 2005-09-14  David Schleef  <ds@schleef.org>
13303
13304         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13305         Attempt #2.
13306
13307 2005-09-14  David Schleef  <ds@schleef.org>
13308
13309         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13310           the new functions.
13311
13312 2005-09-14  David Schleef  <ds@schleef.org>
13313
13314         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13315         * gst/glib-compat.h: Add some functions that are in newer versions
13316           of glib than we care to require.
13317         * gst/gstregistryxml.c: Use them.
13318
13319 2005-09-14  David Schleef  <ds@schleef.org>
13320
13321         * po/POTFILES.in: remove gst-register.c
13322
13323 2005-09-14  David Schleef  <ds@schleef.org>
13324
13325         * docs/gst/gstreamer-docs.sgml:
13326         * docs/gst/gstreamer-sections.txt:
13327         * docs/gst/gstreamer.types:
13328         * docs/gst/tmpl/gstelement.sgml:
13329         * docs/gst/tmpl/gstplugin.sgml:
13330         * docs/gst/tmpl/gstpluginfeature.sgml:
13331           Documentation updates for registry changes.
13332
13333 2005-09-14  David Schleef  <ds@schleef.org>
13334
13335         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13336           because we don't require glib-2.8.
13337
13338 2005-09-14  David Schleef  <ds@schleef.org>
13339
13340         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13341           registries directory.
13342
13343 2005-09-14  David Schleef  <ds@schleef.org>
13344
13345         * check/Makefile.am:
13346         * check/generic/states.c:
13347         * gst/Makefile.am:
13348         * gst/gst.c:
13349         * gst/gst.h:
13350         * gst/gst_private.h:
13351         * gst/gstelementfactory.c:
13352         * gst/gstindex.c:
13353         * gst/gstinfo.c:
13354         * gst/gstplugin.c:
13355         * gst/gstplugin.h:
13356         * gst/gstpluginfeature.c:
13357         * gst/gstpluginfeature.h:
13358         * gst/gstregistry.c:
13359         * gst/gstregistry.h:
13360         * gst/gstregistrypool.c: remove
13361         * gst/gstregistrypool.h: remove
13362         * gst/gsttypefind.c:
13363         * gst/gsttypefindfactory.c:
13364         * gst/gsturi.c:
13365         * tools/Makefile.am:
13366         * tools/gst-compprep.c:
13367         * tools/gst-inspect.c:
13368         * tools/gst-register.c: remove
13369         * tools/gst-xmlinspect.c:
13370           Registry rewrite.  Changes registry from being a file created
13371           by a tool into a simple cache file created automatically by 
13372           libgstreamer.  Removed gst-register (because it's no longer
13373           needed).  Remove registry pools, because we only have one
13374           registry implementation (XML).  Fix up other subsystems as
13375           necessary.
13376
13377 2005-09-13  Michael Smith <msmith@fluendo.com>
13378
13379         * gst/gstconfig.h.in:
13380           Don't Use windows linking attributes for MinGW. Fixes #316157
13381
13382 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13383
13384         * gst/gstutils.c: (set_state_async_thread_func),
13385         (gst_element_set_state_async):
13386           Apparently people think it's better if this function doesn't
13387           try to set the state to whatever state was asked for on the first
13388           call to this function for any object.  Seriously.
13389
13390 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13391
13392         * check/gst/gstpipeline.c: (GST_START_TEST):
13393         * docs/gst/gstreamer-sections.txt:
13394         * gst/gstutils.c: (set_state_async_thread_func),
13395         (gst_element_set_state_async):
13396         * gst/gstutils.h:
13397           add a "gst_element_set_state_async" method that
13398           sets the state and starts a thread to make sure the state
13399           change completes as best as it can
13400
13401 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13402
13403         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13404           codify design+behaviour in testsuite after discussion
13405
13406 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13407
13408         * docs/gst/tmpl/gstelement.sgml:
13409         * docs/manual/appendix-quotes.xml:
13410           add a quote
13411         * gst/gstelement.c: (gst_element_set_state):
13412           add some debug
13413
13414 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13415
13416         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13417         (gst_base_transform_prepare_output_buf),
13418         (gst_base_transform_handle_buffer):
13419         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13420         (gst_capsfilter_prepare_buf):
13421           Remove the requirement for sub-classes to call the parent
13422           implementation of prepare_output_buffer with a wrapper function.
13423           
13424         * gst/gsttaglist.h:
13425         * gst/gsttagsetter.h:
13426           Fix #define wrapper
13427
13428 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13429
13430         * docs/gst/gstreamer-sections.txt:
13431           more doc cleanups
13432
13433 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13434
13435         * docs/gst/gstreamer-sections.txt:
13436         * docs/gst/tmpl/gstelement.sgml:
13437         * docs/gst/tmpl/gstplugin.sgml:
13438         * gst/gstminiobject.c:
13439         * gst/gstvalue.h:
13440           docs now stop throwing warnings
13441
13442 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13443
13444         * docs/gst/gstreamer-sections.txt:
13445         * docs/gst/gstreamer.types:
13446         * docs/gst/tmpl/gstpad.sgml:
13447         * docs/gst/tmpl/gsttypes.sgml:
13448         * gst/base/gstadapter.h:
13449         * gst/base/gstbasesink.h:
13450         * gst/base/gstbasesrc.h:
13451         * gst/gstbin.h:
13452         * gst/gstbuffer.h:
13453         * gst/gstbus.h:
13454         * gst/gstcaps.h:
13455         * gst/gstclock.h:
13456         * gst/gstelement.h:
13457         * gst/gstevent.h:
13458         * gst/gstmessage.h:
13459         * gst/gstpad.h:
13460         * gst/gststructure.c:
13461         * gst/registries/gstlibxmlregistry.h:
13462           various documentation fixes
13463
13464 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13465
13466         * docs/gst/gstreamer-sections.txt:
13467         * docs/gst/tmpl/gstvalue.sgml:
13468           rearrange gstvalue section
13469         * gst/gstutils.c: (gst_element_state_get_name):
13470           NONE -> VOID
13471         * gst/gstvalue.c: (_gst_value_initialize):
13472         * gst/gstvalue.h:
13473           doc updates
13474
13475 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13476
13477         * check/gst-libs/controller.c:
13478           Header include fix.
13479         * gst/base/gstbasetransform.c:
13480         (gst_base_transform_default_prepare_buf),
13481         (gst_base_transform_handle_buffer):
13482         * gst/base/gstbasetransform.h:
13483           Some more basetransform changes and fixes to enable sub-classes
13484           that modify buffer metadata only.
13485         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13486         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13487         (gst_capsfilter_prepare_buf):
13488           If the output pad has fixed allowed caps and input buffers 
13489           don't have any, set the fixed caps on outgoing buffers.
13490
13491 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13492         * check/elements/identity.c: (GST_START_TEST):
13493           Make the error a little clearer when the test fails because
13494           identity made a copy of the buffer.
13495         * docs/gst/gstreamer-sections.txt:
13496           New symbols in gstbasetransform.h
13497         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13498         (gst_base_transform_init), (gst_base_transform_transform_size),
13499         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13500         (gst_base_transform_default_prepare_buf),
13501         (gst_base_transform_get_unit_size),
13502         (gst_base_transform_buffer_alloc),
13503         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13504         (gst_base_transform_change_state),
13505         (gst_base_transform_set_passthrough),
13506         (gst_base_transform_set_in_place),
13507         (gst_base_transform_is_in_place):
13508         * gst/base/gstbasetransform.h:
13509           Change BaseTransform to separate in_place operate from same_caps
13510           output. in_place implies that the element can perform the transform
13511           on incoming buffers in-place, even if the caps on the output are
13512           different.
13513           Sub-class elements can now implement special buffer allocation
13514           methods for outgoing buffers if they wish to.
13515           Big documentation addition.
13516         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13517         * gst/elements/gstelements.c:
13518           Changes for basetransform modifications.
13519         * gst/elements/Makefile.am:
13520         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13521           Compile fix. Extra debug output.
13522
13523 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13524
13525         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13526         (gst_pad_suite):
13527           add tests for valid pad naming
13528         * gst/check/gstcheck.c: (gst_check_log_message_func),
13529         (gst_check_log_critical_func):
13530           add ASSERT_WARNING
13531           remove printing of code, it is fragile when the code contains
13532           % and the line number is enough info
13533         * gst/check/gstcheck.h:
13534         * gst/gstpad.c: (gst_pad_template_new):
13535           fix memleaks
13536
13537 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13538
13539         * configure.ac:
13540           say what CHECK flags we use
13541         * docs/libs/gstreamer-libs.types:
13542         * libs/gst/controller/Makefile.am:
13543         * libs/gst/controller/gst-controller.c:
13544         * libs/gst/controller/gst-controller.h:
13545         * libs/gst/controller/gst-helper.c:
13546         * libs/gst/controller/gst-interpolation.c:
13547         * libs/gst/controller/gstcontroller.c:
13548         * libs/gst/controller/gsthelper.c:
13549         * libs/gst/controller/gstinterpolation.c:
13550         * tools/gst-inspect.c: (print_plugin_info):
13551           we don't use dashes in header names
13552
13553 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13554
13555         * check/Makefile.am:
13556         * check/gst/.cvsignore:
13557         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13558         (gst_pipeline_suite), (main):
13559           adding a test for pipelines and state changes
13560         * gst/gstutils.c: (get_state_func):
13561           add some debugging
13562         * gstreamer.spec.in:
13563           fix up spec file
13564
13565 2005-09-08  Michael Smith <msmith@fluendo.com>
13566
13567         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13568         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13569         (gst_file_src_is_seekable), (gst_file_src_get_size),
13570         (gst_file_src_start):
13571         * gst/elements/gstfilesrc.h:
13572           Various fixes for unseekable, unmmapable, and non-normal files, so
13573           that fallback to read() rather than mmap() works.
13574         * gst/gstevent.c: (gst_event_new_newsegment):
13575           Allow newsegment events with segment_start == segment_end, as will
13576           correctly happen if you use filesrc on a zero-size file, for
13577           example.
13578
13579 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13580
13581         * gst/gstplugin.c: (gst_plugin_load_file):
13582           Call g_module_close when we don't load the module
13583
13584         * gst/registries/gstlibxmlregistry.c:
13585         (gst_xml_registry_get_property):
13586           Port leak fix from 0.8
13587
13588 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13589
13590         * docs/gst/gstreamer-docs.sgml:
13591         * docs/gst/tmpl/.cvsignore:
13592         * docs/gst/tmpl/gsttrace.sgml:
13593         * docs/gst/tmpl/gsttrashstack.sgml:
13594         * gst/Makefile.am:
13595         * gst/gst.h:
13596         * gst/gstelement.h:
13597         * gst/gstevent.h:
13598         * gst/gstmessage.c:
13599         * gst/gstmessage.h:
13600         * gst/gsttag.c:
13601         * gst/gsttag.h:
13602         * gst/gsttaginterface.c:
13603         * gst/gsttaginterface.h:
13604         * gst/gsttaglist.c:
13605         * gst/gsttaglist.h:
13606         * gst/gsttagsetter.c:
13607         * gst/gsttagsetter.h:
13608         * gst/gsttrace.c:
13609         * gst/gsttrace.h:
13610         * gst/gsttrashstack.c:
13611           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13612           inlined docs for gsttrace, gsttrashstack
13613
13614 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13615
13616         * gst/Makefile.am:
13617         * gst/elements/gstbufferstore.h:
13618         * gst/elements/gsttypefindelement.c:
13619         * gst/elements/gsttypefindelement.h:
13620         * gst/gst.h:
13621         * gst/gsttypefind.c:
13622         * gst/gsttypefind.h:
13623         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13624         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13625         (gst_type_find_factory_dispose),
13626         (gst_type_find_factory_unload_thyself),
13627         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13628         (gst_type_find_factory_get_caps),
13629         (gst_type_find_factory_get_extensions),
13630         (gst_type_find_factory_call_function):
13631         * gst/gsttypefindfactory.h:
13632         * gst/registries/gstlibxmlregistry.c:
13633         * gst/registries/gstxmlregistry.c:
13634           splitted gsttypefind into gsttypefind, gsttypefindfactory
13635
13636 2005-09-07  Andy Wingo  <wingo@pobox.com>
13637
13638         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13639         condition whereby the pad's task function is entered before the
13640         pad_mode variable was set.
13641
13642 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13643
13644         * gst/gstpad.c: (gst_pad_alloc_buffer):
13645           Catch misbehaving pad_alloc functions that don't
13646           set up caps and do it for them.
13647
13648 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13649
13650         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13651           test for pipe!=NULL
13652         * docs/gst/tmpl/.cvsignore:
13653         * docs/gst/tmpl/gstmemchunk.sgml:
13654         * docs/gst/tmpl/gstparse.sgml:
13655         * docs/gst/tmpl/gsttaglist.sgml:
13656         * docs/gst/tmpl/gsttagsetter.sgml:
13657         * docs/gst/tmpl/gsttypefind.sgml:
13658         * docs/gst/tmpl/gsttypefindfactory.sgml:
13659         * gst/gstmemchunk.c:
13660         * gst/gstparse.c:
13661         * gst/gsttag.c:
13662         * gst/gsttaginterface.c:
13663         * gst/gsttypefind.c:
13664         * gst/gsttypefind.h:
13665           inlined more docs
13666
13667 === release 0.9.2 ===
13668
13669 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13670
13671         * NEWS:
13672         * RELEASE:
13673         * configure.ac:
13674           releasing 0.9.2, "South"
13675
13676 2005-09-05  Andy Wingo  <wingo@pobox.com>
13677
13678         * gst/registries/gstxmlregistry.h:
13679         * gst/registries/gstxmlregistry.c: Um... resurrect...
13680         
13681         * gst/registries/gstxmlregistry.h:
13682         * gst/registries/gstxmlregistry.c: and update to newer API.
13683         Incidentally they should be a bit faster now that they don't have
13684         to parse the caps.
13685         
13686 2005-09-05  Andy Wingo  <wingo@pobox.com>
13687
13688         * gst/registries/gstxmlregistry.h:
13689         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13690         replaced by the libxml registry a while back
13691
13692 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13693
13694         * docs/gst/tmpl/gstplugin.sgml:
13695         * gst/elements/gstelements.c:
13696         * gst/gst.c:
13697         * gst/gstplugin.c: (gst_plugin_register_func),
13698         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13699         (gst_plugin_get_source):
13700         * gst/gstplugin.h:
13701         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13702         (gst_xml_registry_save_plugin):
13703         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13704         (gst_xml_registry_save_plugin):
13705         * tools/gst-inspect.c: (print_plugin_info):
13706           add a "source" plugin description field, to represent the source
13707           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13708           will set it to PACKAGE, which is automake's idea of the name of
13709           the source project.
13710
13711 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13712
13713         * Makefile.am:
13714         * autogen.sh:
13715         * configure.ac:
13716         * docs/Makefile.am:
13717         * docs/faq/Makefile.am:
13718         * docs/gst/tmpl/gstelement.sgml:
13719         * docs/gst/tmpl/gsttypes.sgml:
13720         * docs/htmlinstall.mak:
13721         * docs/manual/Makefile.am:
13722         * docs/pwg/Makefile.am:
13723           reorganize doc build a little
13724           split out docbook and gtk-doc stuff
13725           have two separate --enable's and enable them through autogen
13726           but disable by default in configure (to be similar to other
13727           projects)
13728         * gstreamer.spec.in:
13729           clean up docs install
13730         * po/af.po:
13731         * po/az.po:
13732         * po/ca.po:
13733         * po/cs.po:
13734         * po/de.po:
13735         * po/en_GB.po:
13736         * po/fr.po:
13737         * po/it.po:
13738         * po/nb.po:
13739         * po/nl.po:
13740         * po/ru.po:
13741         * po/sq.po:
13742         * po/sr.po:
13743         * po/sv.po:
13744         * po/tr.po:
13745         * po/uk.po:
13746         * po/vi.po:
13747           translation updates
13748
13749 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13750
13751         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13752           Add comment.
13753           
13754         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13755         (gst_fake_sink_change_state):
13756           Make state change function thread-safe.
13757           
13758         * gst/gstpad.c: (gst_pad_alloc_buffer):
13759           Set offset on generic buffer allocated by fallback.
13760
13761 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13762
13763         * docs/gst/gstreamer-sections.txt:
13764         * docs/gst/tmpl/gstelement.sgml:
13765         * gst/gstpad.c:
13766         * libs/gst/controller/gst-controller.c:
13767         (gst_controlled_property_set_interpolation_mode),
13768         (gst_controlled_property_new),
13769         (gst_controller_find_controlled_property):
13770          run the wingo-magic script against the docs
13771
13772 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13773
13774         * docs/gst/gstreamer-docs.sgml:
13775         * docs/gst/gstreamer-sections.txt:
13776         * docs/gst/tmpl/.cvsignore:
13777         * docs/gst/tmpl/gstelementdetails.sgml:
13778         * docs/gst/tmpl/gstelementfactory.sgml:
13779         * gst/gst.c:
13780         * gst/gstbus.c:
13781         * gst/gstelementfactory.c:
13782         * gst/gstelementfactory.h:
13783           merged elementdetails docs into elementfactory docs
13784           inlined both
13785
13786 2005-09-02  Andy Wingo  <wingo@pobox.com>
13787
13788         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13789         consider this enum an enum and not a flags.
13790
13791 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13792
13793         * docs/gst/gstreamer-docs.sgml:
13794         * docs/gst/tmpl/.cvsignore:
13795         * docs/gst/tmpl/gstghostpad.sgml:
13796         * docs/gst/tmpl/gstiterator.sgml:
13797         * docs/gst/tmpl/gstmacros.sgml:
13798         * docs/gst/tmpl/gstrealpad.sgml:
13799         * docs/gst/tmpl/gstregistry.sgml:
13800         * docs/gst/tmpl/gstregistrypool.sgml:
13801         * docs/gst/tmpl/gststructure.sgml:
13802         * docs/gst/tmpl/gstsystemclock.sgml:
13803         * docs/gst/tmpl/gsttrace.sgml:
13804         * gst/gstghostpad.c:
13805         * gst/gstmacros.h:
13806         * gst/gstmemchunk.c:
13807         * gst/gstmemchunk.h:
13808         * gst/gstqueue.c:
13809         * gst/gstregistry.c:
13810         * gst/gstregistrypool.c:
13811         * gst/gststructure.c:
13812         * gst/gstsystemclock.c:
13813           more docs inlined
13814
13815 2005-09-02  Andy Wingo  <wingo@pobox.com>
13816
13817         * gst/gstelement.h (GstState): Renamed from GstElementState,
13818         changed to be a normal enum instead of flags.
13819         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13820         munged to be GST_STATE_CHANGE_*.
13821         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13822         work with the new state representation.
13823         (GstStateChange): New enumeration of possible state transitions.
13824         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13825         (GstElementClass::change_state): Pass the GstStateChange along as
13826         an argument. Helps language bindings, so they don't have to use
13827         tricky lock-needing macros like GST_STATE_CHANGE ().
13828
13829         * scripts/update-states (file): New script. Run it on a file to
13830         update it for state naming and API changes. Updates files in
13831         place.
13832
13833         * All files updated for the new API.
13834
13835 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13836
13837         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13838         * gst/gstutils.c: (gst_util_set_value_from_string),
13839         (gst_util_set_object_arg):
13840           fix a bunch of unchecked return values
13841         * tools/gst-complete.c: (main):
13842         * gstreamer.spec.in:
13843           clean up a little
13844
13845 2005-09-01  Wim Taymans  <wim@fluendo.com>
13846
13847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13848         (gst_base_sink_event), (gst_base_sink_do_sync),
13849         (gst_base_sink_handle_event):
13850         * gst/base/gstbasesink.h:
13851         Handle newsegments more correctly.
13852
13853         * gst/gstbus.c:
13854         Fix docs.
13855
13856         * gst/gstevent.c: (gst_event_new_newsegment):
13857         A newsegment cannot have a start_time of -1
13858
13859 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13860
13861         * win32/gstenumtypes.c:
13862         * win32/gstenumtypes.h:
13863           Update
13864
13865 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13866
13867         * libs/gst/controller/gst-controller.c:
13868         (gst_controlled_property_set_interpolation_mode),
13869         (gst_controlled_property_new):
13870          fixed boolean again
13871
13872 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13873
13874         * docs/faq/gst-uninstalled:
13875           add -good
13876         * gst/gstevent.c:
13877         * gst/gstevent.h:
13878           remove wrong docs
13879         * gst/gstutils.c: (gst_element_link_filtered):
13880         * gst/gstutils.h:
13881           add gst_element_link_filtered
13882
13883 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13884
13885         * docs/gst/gstreamer-docs.sgml:
13886         * docs/gst/gstreamer-sections.txt:
13887         * docs/gst/tmpl/.cvsignore:
13888         * docs/gst/tmpl/gsterror.sgml:
13889         * docs/gst/tmpl/gstfilter.sgml:
13890         * docs/gst/tmpl/gsturihandler.sgml:
13891         * docs/gst/tmpl/gsturitype.sgml:
13892         * docs/gst/tmpl/gstutils.sgml:
13893         * docs/gst/tmpl/gstxml.sgml:
13894         * gst/gsterror.c:
13895         * gst/gsterror.h:
13896         * gst/gstfilter.c:
13897         * gst/gsturi.c:
13898         * gst/gsturitype.c:
13899         * gst/gstutils.c:
13900         * gst/gstxml.c:
13901           inlined more docs, fixed double id-ref
13902
13903 2005-08-31  Wim Taymans  <wim@fluendo.com>
13904
13905         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13906         (gst_base_transform_handle_buffer):
13907         Passthrough elements don't need the caps as they don't care.
13908
13909 2005-08-31  Wim Taymans  <wim@fluendo.com>
13910
13911         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13912         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13913         Don't leak refcounts on buffers.
13914
13915 2005-08-31  Wim Taymans  <wim@fluendo.com>
13916
13917         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13918         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13919         (gst_base_transform_chain), (gst_base_transform_change_state):
13920         * gst/base/gstbasetransform.h:
13921         Handle the case where we are not negotiated more gracefully.
13922
13923 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13924
13925         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13926         (gst_file_src_map_region):
13927           Set READONLY flag on mmap'ed buffers, otherwise
13928           gst_buffer_make_writable() won't work properly (#314708).
13929
13930 2005-08-31  Wim Taymans  <wim@fluendo.com>
13931
13932         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13933         passthrough elements can even do inplace on non writable
13934         buffers (as they don't touch them).
13935
13936 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13937
13938         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13939         (gst_test_mono_source_set_property),
13940         (gst_test_mono_source_class_init), (GST_START_TEST),
13941         (gst_controller_suite):
13942           more tests (hehe I have the most)
13943         * gst/gstbus.c:
13944           describe popping messages whenusing mulltiple sources
13945         * libs/gst/controller/gst-controller.c:
13946         (gst_controlled_property_set_interpolation_mode),
13947         (gst_controlled_property_new):
13948         * libs/gst/controller/gst-controller.h:
13949         * libs/gst/controller/gst-interpolation.c:
13950           implement boolean properties
13951
13952 2005-08-31  Wim Taymans  <wim@fluendo.com>
13953
13954         * gst/gstminiobject.c: (gst_mini_object_ref):
13955         Cannot assert that the refcount has to be positive
13956         since a disposed object can be resurrected.
13957
13958 2005-08-31  Wim Taymans  <wim@fluendo.com>
13959
13960         * gst/gstpad.c: (gst_pad_init):
13961         Revert change, need to first fix badly behaving 
13962         apps.
13963
13964 2005-08-30  Wim Taymans  <wim@fluendo.com>
13965
13966         * check/elements/fakesrc.c: (setup_fakesrc):
13967         * check/elements/identity.c: (setup_identity):
13968         Activate pads before using them.
13969
13970 2005-08-30  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/base/gstadapter.c: (gst_adapter_flush):
13973         Flushing out 0 bytes is ok for this function.
13974
13975         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13976         no newsegment gives a warning and sets the start/stop to 
13977         invalid.
13978
13979         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13980         (gst_base_transform_set_passthrough):
13981         Some debug info.
13982
13983         * gst/gstminiobject.c: (gst_mini_object_ref):
13984         Check refcount here too.
13985
13986         * gst/gstpad.c: (gst_pad_init):
13987         Pads are initially flushing and refusing data.
13988
13989         * gst/gstutils.c: (gst_element_link_pads_filtered):
13990         When adding a capsfilter element make sure it has the
13991         same state as the parent bin.
13992
13993 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13994
13995         * docs/gst/tmpl/.cvsignore:
13996         * docs/gst/tmpl/gstformat.sgml:
13997         * docs/gst/tmpl/gstversion.sgml:
13998         * gst/gstbus.h:
13999         * gst/gstformat.c:
14000         * gst/gstformat.h:
14001         * gst/gstversion.h.in:
14002           more docs and two more inlined
14003
14004 2005-08-30  Wim Taymans  <wim@fluendo.com>
14005
14006         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14007         Don't sync to clock.
14008
14009 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14010
14011         * docs/gst/gstreamer-sections.txt:
14012           ultral33t func10ns deserve to appear in the docs actually
14013         * docs/gst/tmpl/.cvsignore:
14014         * docs/gst/tmpl/gstcompat.sgml:
14015         * docs/gst/tmpl/gstconfig.sgml:
14016         * gst/check/gstcheck.c:
14017         * gst/gstcompat.h:
14018         * gst/gstconfig.h.in:
14019           inlined more docs
14020
14021 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14022
14023         * docs/gst/tmpl/.cvsignore:
14024         * docs/gst/tmpl/gstquery.sgml:
14025         * docs/gst/tmpl/gstutils.sgml:
14026         * gst/gstquery.c:
14027         * gst/gstquery.h:
14028           inlined and extended docs
14029
14030 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
14031
14032         * check/gst-libs/controller.c: (GST_START_TEST),
14033         (gst_controller_suite):
14034           more tests
14035         * docs/gst/tmpl/gstutils.sgml:
14036         * docs/libs/gstreamer-libs-sections.txt:
14037         * docs/libs/tmpl/gstdataprotocol.sgml:
14038           include path fixes
14039         * examples/controller/audio-example.c: (main):
14040           controller example works now
14041         * gst/gstclock.h:
14042           doc fixes
14043         * tools/gst-inspect.c: (print_element_properties_info):
14044           show param spec flags
14045
14046 2005-08-29  Andy Wingo  <wingo@pobox.com>
14047
14048         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14049
14050 2005-08-28  Andy Wingo  <wingo@pobox.com>
14051
14052         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14053         as having two arguments instead of just one. Allows superclasses
14054         to access information on subclasses -- see the terrible for() loop
14055         in gtype.c:g_type_create_instance for the reason why. All callers
14056         changed.
14057
14058 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14059
14060         * docs/design/part-messages.txt:
14061           update info
14062         * docs/gst/tmpl/.cvsignore:
14063         * docs/gst/tmpl/gstcaps.sgml:
14064         * docs/gst/tmpl/gstclock.sgml:
14065         * gst/gstbus.c:
14066         * gst/gstcaps.c:
14067         * gst/gstcaps.h:
14068         * gst/gstclock.c:
14069         * gst/gstclock.h:
14070         * gst/gstmessage.c:
14071           added descriptions for bus and message
14072           inline caps and clock docs
14073
14074 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14075
14076         * gst/gstmessage.c:
14077         * gst/gstmessage.h:
14078           doc fixes
14079
14080 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14081
14082         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14083           fix div-by-zero
14084
14085 2005-08-26  Andy Wingo  <wingo@pobox.com>
14086
14087         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14088         element_set_state's return val.
14089         (test_2_elements): Add test that's been disabled for months.
14090
14091         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14092         can-activate-pull properties.
14093
14094         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14095         can-activate-pull properties. Implement is_seekable so fakesrc can
14096         operate in pull mode.
14097
14098         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14099         properties.
14100         (gst_base_sink_activate, gst_base_sink_activate_pull)
14101         (gst_base_sink_activate_push): Make activation mode choosing work.
14102         Cleanups.
14103         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14104         is right. Make pull mode work. Post an eos before pausing in pull
14105         mode.
14106         (gst_base_sink_change_state): Pay attention to the core's
14107         change_state() return val.
14108         
14109         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14110         has-getrange properties. Cleanups.
14111         
14112         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14113         has_getrange and replace with can_activate_pull and
14114         can_activate_push.
14115
14116         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14117         locking comments. Remove has_loop, has_chain and replace with
14118         can_activate_pull and can_activate_push.
14119
14120 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14121
14122         * configure.ac:
14123         * examples/Makefile.am:
14124         * examples/metadata/Makefile.am:
14125         * examples/metadata/read-metadata.c: (message_loop),
14126         (have_pad_handler), (make_pipeline), (print_tag), (main):
14127           Add metadata reading example that loops over a list of filenames,
14128           dumping any tags found.
14129
14130         * gst/gstbus.c: (gst_bus_dispose):
14131         * gst/gstelement.c: (gst_element_dispose):
14132           Release a few potentially-held references in dispose.
14133
14134 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14135
14136         * docs/gst/tmpl/gstminiobject.sgml:
14137           do *not* add tmpl/*.sgml files to CVS!
14138
14139 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14140
14141         * libs/gst/bytestream/.cvsignore:
14142         * libs/gst/bytestream/Makefile.am:
14143         * libs/gst/bytestream/adapter.c:
14144         * libs/gst/bytestream/adapter.h:
14145         * libs/gst/bytestream/bytestream.c:
14146         * libs/gst/bytestream/bytestream.h:
14147         * libs/gst/bytestream/filepad.c:
14148         * libs/gst/bytestream/filepad.h:
14149           removing obsolete files
14150
14151 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14152
14153         * docs/gst/gstreamer-docs.sgml:
14154         * docs/libs/gstreamer-libs-docs.sgml:
14155           disabed additional index entries again, as this makes docs-gen just
14156           slow and they aren't useful yet
14157         * docs/libs/gstreamer-libs-sections.txt:
14158           little -section.txt cleanup for libs
14159
14160 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14161
14162         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14163         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14164           fix up some debugging
14165         (gst_base_transform_get_unit_size),
14166         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14167         (gst_base_transform_handle_buffer):
14168         * gst/base/gstbasetransform.h:
14169           handle and store timed NEWSEGMENT events so that subclasses that
14170           calculate time by counting samples have a segment_start time they
14171           need to add to their timestamps - see audioresample
14172
14173 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14174
14175         * gst/gstbin.h:
14176           removed ';' from the end of macro defs
14177         * docs/gst/gstreamer-docs.sgml:
14178         * docs/gst/gstreamer-sections.txt:
14179         * docs/gst/tmpl/.cvsignore:
14180         * gst/gstbus.h:
14181         * gst/gstelement.c: (gst_element_class_init),
14182         (gst_element_set_state), (activate_pads),
14183         (gst_element_save_thyself):
14184         * gst/gstevent.c: (gst_event_new_newsegment):
14185         * gst/gstevent.h:
14186         * gst/gstiterator.c:
14187         * gst/gstiterator.h:
14188         * gst/gstpad.c:
14189         * gst/gstprobe.h:
14190         * gst/gstutils.c: (gst_pad_query_convert):
14191         * gst/gstutils.h:
14192           fixed parameter name mismatches between source, header and docs
14193           added some more docs, resolved the last batch of unused elements in
14194           docs (now someone needs to doc them)
14195
14196 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14197
14198         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14199         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14200           don't walk through the plugins backwards.  Where is all this
14201           reversed logic coming from ?
14202
14203 2005-08-25  Wim Taymans  <wim@fluendo.com>
14204
14205         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14206         (gst_base_transform_transform_size),
14207         (gst_base_transform_configure_caps),
14208         (gst_base_transform_get_unit_size),
14209         (gst_base_transform_buffer_alloc),
14210         (gst_base_transform_change_state):
14211         * gst/base/gstbasetransform.h:
14212         Cache caps unit_size.
14213         Make sure we cannot negotiate up and downstream at the
14214         same time.
14215
14216 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14217
14218         * gst/gst.c: (init_pre), (init_post):
14219           register the installed plugin path after the env var
14220         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14221         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14222           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14223           directories, so the tests can prefer uninstalled over installed
14224
14225 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14226
14227         * gst/base/gstbasetransform.h:
14228           comment
14229         * gst/gstpad.c:
14230           add to docs
14231
14232 2005-08-25  Wim Taymans  <wim@fluendo.com>
14233
14234         * gst/gstbin.c: (bin_bus_handler):
14235         Be a bit more conservative about the posted message.
14236         
14237         * gst/gstbus.c: (gst_bus_post):
14238         Some cleanups, warn wrong return values.
14239
14240 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14241
14242         * check/gst/gstbin.c: (GST_START_TEST):
14243         * gst/gstbin.c: (bin_bus_handler):
14244         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14245         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14246         (gst_message_new_warning), (gst_message_new_tag),
14247         (gst_message_new_state_changed), (gst_message_new_segment_start),
14248         (gst_message_new_segment_done), (gst_message_new_custom):
14249         * gst/gstmessage.h:
14250         * tools/gst-launch.c: (event_loop):
14251         * tools/gst-md5sum.c: (event_loop):
14252           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14253
14254 2005-08-25  Wim Taymans  <wim@fluendo.com>
14255
14256         * check/generic/states.c: (GST_START_TEST):
14257         Cleanup can be done at the end.
14258
14259         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14260         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14261         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14262         Oh boy.. Thanks for finding this, Thomas. 
14263
14264 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14265
14266         * docs/gst/gstreamer.types:
14267           added missing types
14268
14269 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14270
14271         * docs/gst/gstreamer-docs.sgml:
14272         * docs/gst/gstreamer-sections.txt:
14273         * docs/gst/tmpl/.cvsignore:
14274         * gst/gstbin.c:
14275         * gst/gstiterator.c:
14276         * gst/gstutils.c:
14277         * gst/registries/gstxmlregistry.h:
14278           added missing classes and symbols (123 more to go)
14279           removed removed symbols from section file
14280           fixed many doc-comments
14281
14282 2005-08-24  Wim Taymans  <wim@fluendo.com>
14283
14284         * check/generic/states.c: (GST_START_TEST):
14285         Make sure all tasks are stopped.
14286
14287         * check/gst/gstbin.c: (GST_START_TEST):
14288         Unref after usage for proper valgrinding.
14289
14290         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14291         Really wait for the task to stop before destroying the
14292         mutex.
14293
14294         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14295         (gst_queue_src_activate_push):
14296         Small cleanups. Don't stop the task when we did not start
14297         it.
14298
14299         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14300         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14301         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14302         (gst_task_join):
14303         * gst/gsttask.h:
14304         Protect the stream lock with the object lock.
14305         Disallow setting the stream lock when running.
14306         Add cleanup_all to wait for the threadpool to finish.
14307         Remove code to autoallocate a mutex if none was provided.
14308         Add _join() to wait for a task to stop.
14309         Protect the thread pool with a global lock.
14310
14311 2005-08-24  Wim Taymans  <wim@fluendo.com>
14312
14313         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14314         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14315         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14316         * gst/base/gstbasesink.h:
14317         Handle newsegment events correctly.
14318         Drop buffers out of the segment range.
14319
14320 2005-08-22  Andy Wingo  <wingo@pobox.com>
14321
14322         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14323         macro, implements an interface and gstimplementsinterface for a
14324         new type.
14325
14326 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14327
14328         * check/Makefile.am:
14329         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14330           add a test that does a bunch of state changes on elements
14331           needs some fixing for valgrind
14332         * check/states/sinks.c: (gst_object_suite):
14333           whitespace
14334         * gst/gstcaps.h:
14335           add prototype for gst_caps_is_equal_fixed
14336         * gst/gstplugin.c:
14337         * gst/gstregistrypool.c:
14338           doc fixes
14339
14340 2005-08-24  Andy Wingo  <wingo@pobox.com>
14341
14342         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14343         convert a negative value. Doesn't make much sense. Mostly this is
14344         here to force callers to ensure -1 maps to -1.
14345
14346 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14347
14348         * docs/pwg/advanced-types.xml:
14349           Well done to Michael for catching my deliberate introduction
14350           of this spelling mistake. 
14351         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14352         * gst/gstelement.h:
14353           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14354           unlink pads before removing the element from the bin.
14355
14356 2005-08-24  Andy Wingo  <wingo@pobox.com>
14357
14358         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14359         the same thing as GST_DEBUG=*:4.
14360         (parse_debug_level, parse_debug_category): New helper parsers.
14361
14362 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14363
14364         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14365         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14366         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14367         (gst_base_transform_buffer_alloc),
14368         (gst_base_transform_handle_buffer):
14369           use gboolean return values and pointers to size so we can use the
14370           full GST_BUFFER_SIZE range (guint) for buffer sizes
14371           use GstPadDirection for transform_caps
14372         * gst/base/gstbasetransform.h:
14373           rename get_size to get_unit_size since that's what it is
14374         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14375           use GstPadDirection for transform_caps
14376         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14377         * gst/gstutils.h:
14378           cleanup and debugging
14379
14380 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14381
14382         * gst/gstelement.c: (gst_element_class_init),
14383         (gst_element_set_state), (activate_pads),
14384         (gst_element_save_thyself):
14385         * tools/gst-compprep.c: (main):
14386         * tools/gst-inspect.c: (print_element_properties_info):
14387         * tools/gst-xmlinspect.c: (print_element_properties):
14388           Fixed long standing mem-leak
14389
14390 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14391
14392         * check/gst/gstbin.c: (GST_START_TEST):
14393         * gst/gstbin.c: (bin_bus_handler):
14394         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14395         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14396         (gst_message_new_warning), (gst_message_new_tag),
14397         (gst_message_new_state_changed), (gst_message_new_segment_start),
14398         (gst_message_new_segment_done), (gst_message_new_custom):
14399         * gst/gstmessage.h:
14400         * tools/gst-launch.c: (event_loop):
14401         * tools/gst-md5sum.c: (event_loop):
14402           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14403           that applications can sensibly post custom messages with references
14404           to their own objects.
14405
14406 2005-08-24  Andy Wingo  <wingo@pobox.com>
14407
14408         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14409         already.
14410
14411 2005-08-24  Wim Taymans  <wim@fluendo.com>
14412
14413         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14414         (gst_base_transform_transform_caps),
14415         (gst_base_transform_transform_size),
14416         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14417         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14418         (gst_base_transform_handle_buffer):
14419         * gst/base/gstbasetransform.h:
14420         Many fixes and new features added by Thomas. Can now also do
14421         transforms with variable sizes and a custom fixate_caps function.
14422
14423 2005-08-24  Wim Taymans  <wim@fluendo.com>
14424
14425         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14426         Some debugging.
14427
14428         * gst/gstclock.h:
14429         Cast to ClockTime before formatting to time.
14430
14431         * gst/gstutils.h:
14432         Cleanups.
14433
14434 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14435
14436         * check/gst-libs/controller.c: (GST_START_TEST),
14437         (gst_controller_suite):
14438         * docs/gst/tmpl/gstcaps.sgml:
14439         * docs/gst/tmpl/gstghostpad.sgml:
14440         * docs/gst/tmpl/gstquery.sgml:
14441         * docs/gst/tmpl/gstutils.sgml:
14442         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14443         (gst_object_sink_values), (gst_object_get_value_arrays),
14444         (gst_object_get_value_array):
14445           gracefully handle helper method calls to objects that are not beeing
14446           controlled, added test case for that          
14447
14448 2005-08-23  Wim Taymans  <wim@fluendo.com>
14449
14450         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14451         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14452         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14453         (gst_event_parse_qos), (gst_event_new_seek),
14454         (gst_event_parse_seek):
14455         * gst/gstevent.h:
14456         Some more debugging output and doc cleanups.
14457
14458         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14459         Fix possible deadlock.
14460
14461 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14462
14463         * docs/gst/gstreamer-docs.sgml:
14464         * docs/gst/gstreamer-sections.txt:
14465         * docs/gst/gstreamer.types:
14466         * docs/gst/tmpl/.cvsignore:
14467         * gst/gstbin.h:
14468         * gst/gstbus.c:
14469         * gst/gstelement.c:
14470         * gst/gstevent.h:
14471           added 100 symbols from gstreamer-unused.txt to the right sections
14472           fixed more broken comments
14473           added GstBus to docs
14474
14475 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14476
14477         * docs/gst/gstreamer-sections.txt:
14478         * docs/gst/tmpl/.cvsignore:
14479         * docs/gst/tmpl/gstbin.sgml:
14480         * docs/gst/tmpl/gstbuffer.sgml:
14481         * gst/base/gstbasesrc.c:
14482         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14483         * gst/gstbuffer.c:
14484         * gst/gstbuffer.h:
14485         * tools/gst-launch.1.in:
14486           inlined more doc comments, added missing comments and fixed comments
14487           fixed typos
14488
14489 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14490
14491         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14492           some debugging
14493         * gst/gstcaps.h:
14494           whitespace fixes
14495         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14496           more debugging
14497         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14498         * gst/gststructure.h:
14499           add a fixate function for booleans; add a FIXME that these func
14500           names should probably be gst_structure_fixate_*
14501
14502 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14503
14504         * docs/gst/gstreamer-docs.sgml:
14505         * docs/gst/gstreamer-sections.txt:
14506         * gst/Makefile.am:
14507         * gst/gstbin.c: (gst_bin_get_type),
14508         (gst_bin_child_proxy_get_child_by_index),
14509         (gst_bin_child_proxy_get_children_count),
14510         (gst_bin_child_proxy_init):
14511         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14512         (gst_child_proxy_get_child_by_index),
14513         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14514         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14515         (gst_child_proxy_get), (gst_child_proxy_set_property),
14516         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14517         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14518         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14519         * gst/gstchildproxy.h:
14520         * gst/parse/grammar.y:
14521         * tools/gst-inspect.c: (print_interfaces),
14522         (print_element_properties_info), (print_element_info):
14523           ported gstchildproxy over from 0.8
14524           ported gst-inspect fixes and enhancements over from 0.8
14525
14526 2005-08-22  Wim Taymans  <wim@fluendo.com>
14527
14528         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14529         (gst_base_transform_handle_buffer):
14530         Also call the transform function if we have ANY caps.
14531
14532         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14533         Fix debug info.
14534
14535 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14536
14537         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14538           Don't pretend to handle seek events if the source is not seekable
14539
14540 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14541
14542         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14543           Remove extra parameter to debug output
14544
14545         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14546         (gst_base_src_do_seek), (gst_base_src_activate_push):
14547           Fix seek event handling.
14548
14549         * gst/gstpipeline.c: (gst_pipeline_change_state):
14550         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14551         (gst_queue_src_activate_push):
14552           Don't start the src pad task on FLUSH_STOP if the pad
14553           isn't linked.
14554           Debug changes.
14555
14556 2005-08-22  Wim Taymans  <wim@fluendo.com>
14557
14558         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14559         Added check for gst_static_caps_get() refcounting.
14560
14561 2005-08-22  Wim Taymans  <wim@fluendo.com>
14562
14563         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14564         Make _static_caps_get() refcounting sane.
14565         
14566         * gst/gstelement.c: (gst_element_set_state):
14567         Add g_return_val_if_fail() to protect against segfaults.
14568
14569 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14570
14571         * docs/gst/tmpl/gstevent.sgml:
14572         * gst/gstevent.c:
14573         * gst/gstevent.h:
14574           inlined remaining docs, added missing doc comments
14575
14576 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14577
14578         * check/gst/gstbin.c: (GST_START_TEST):
14579           since we don't know when preroll is done, use refcount range
14580           check for the sink
14581         * gst/check/gstcheck.h:
14582           add macro for checking refcount range
14583
14584 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14585
14586         * check/Makefile.am:
14587           clean up environment for when registry gets built versus
14588           when actual tests are run; valgrind seems to not report
14589           leaks if GST_PLUGIN_PATH is set to some specific values
14590         * check/gst/gstbin.c: (GST_START_TEST):
14591           add more refcounting checks; maybe this exposes a
14592           preroll lock bug ?
14593         * common/check.mak:
14594         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14595         * gst/check/gstcheck.h:
14596         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14597         (gst_bin_change_state):
14598         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14599           add/fix debugging/whitespace
14600
14601 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14602
14603         * check/gst/gstevent.c: (event_probe), (test_event),
14604         (GST_START_TEST):
14605          Er, don't call gst_bin_watch_for_state_change you idiot.
14606
14607 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14608
14609         * check/Makefile.am:
14610           Use CHECK_CFLAGS and CHECK_LIBS
14611         * check/gst/gstevent.c: (event_probe), (test_event),
14612         (GST_START_TEST):
14613           Don't leak events.
14614         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14615         (gst_base_src_start), (gst_base_src_stop),
14616         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14617         (gst_base_src_change_state):
14618           Sprinkle gst_base_src_stop liberally around error paths to fix
14619           problems reusing a source after failed state changes.
14620         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14621         (helper_find_suggest), (gst_type_find_helper):
14622           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14623         * gst/gstevent.h:
14624         * docs/gst/tmpl/gstevent.sgml:
14625           Migrate part of the docs from the SGML file. Wait for ensonic to
14626           tell me how I did it wrong ;)
14627         * tools/gst-typefind.c: (main):
14628           Extra robustness to state changes between files.
14629
14630 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14631
14632         * check/Makefile.am:
14633           don't valgrind the controller test - it's leaking - Stefan, HELP
14634         * gst/check/gstcheck.c: (gst_check_message_error),
14635         (gst_check_chain_func), (gst_check_setup_element),
14636         (gst_check_teardown_element), (gst_check_setup_src_pad),
14637         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14638         (gst_check_teardown_sink_pad):
14639         * gst/check/gstcheck.h:
14640           add a bunch of methods to set up elements, and src and sink pads
14641         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14642         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14643         (GST_START_TEST):
14644           use them
14645         * gst/gstmessage.c:
14646         * gst/gsttag.h:
14647           whitespace/doc fixes
14648
14649 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14650
14651         * gst/gstelement.h:
14652           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14653           be handled by the application and not always printed as well
14654
14655 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14656
14657         * check/Makefile.am:
14658           set GST_TOOLS_DIR
14659         * gst/check/gstcheck.c: (gst_check_message_error):
14660         * gst/check/gstcheck.h:
14661           add a fail_unless_equals_int
14662           add fail_unless for error messages
14663
14664 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14665
14666         * check/Makefile.am:
14667         * check/gst.supp:
14668         * common/Makefile.am:
14669         * common/check.mak:
14670         * common/gst.supp:
14671           factor out some of the common stuff so we can use it
14672
14673 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14674
14675         * check/Makefile.am:
14676         * check/gst/gstiterator.c: (GST_START_TEST):
14677         * check/gst/gstsystemclock.c: (GST_START_TEST),
14678         (gst_systemclock_suite):
14679         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14680         * gst/gstclock.c:
14681           valgrind more tests
14682
14683 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14684
14685         * check/elements/.cvsignore:
14686         * check/elements/gstfakesrc.c:
14687           rename to name of element
14688         * check/elements/identity.c: (chain_func), (event_func),
14689         (setup_identity), (cleanup_identity), (GST_START_TEST),
14690         (identity_suite), (main):
14691           add a test for identity
14692         * check/Makefile.am:
14693         * pkgconfig/Makefile.am:
14694         * pkgconfig/gstreamer-check.pc.in:
14695         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14696         * gst/check:
14697         * gst/Makefile.am:
14698         * configure.ac:
14699           move the check stuff to a library that gets installed
14700         * check/gst-libs/controller.c: (GST_START_TEST):
14701         * check/gst-libs/gdp.c:
14702         * check/gst/gst.c: (GST_START_TEST):
14703         * check/gst/gstbin.c:
14704         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14705         * check/gst/gstbus.c:
14706         * check/gst/gstcaps.c: (GST_START_TEST):
14707         * check/gst/gstelement.c:
14708         * check/gst/gstghostpad.c:
14709         * check/gst/gstiterator.c:
14710         * check/gst/gstmessage.c:
14711         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14712         * check/gst/gstobject.c:
14713         * check/gst/gstpad.c: (GST_START_TEST):
14714         * check/gst/gststructure.c: (GST_START_TEST):
14715         * check/gst/gstsystemclock.c: (GST_START_TEST),
14716         (gst_systemclock_suite):
14717         * check/gst/gsttag.c: (gst_tag_suite):
14718         * check/gst/gstvalue.c:
14719         * check/pipelines/cleanup.c:
14720         * check/pipelines/simple_launch_lines.c:
14721         * check/states/sinks.c:
14722           change include statement
14723
14724         * docs/gst/gstreamer-sections.txt:
14725         * docs/gst/tmpl/gstpad.sgml:
14726           document more pad stuff
14727         * gst/gstminiobject.c: (gst_mini_object_ref),
14728         (gst_mini_object_unref):
14729           debug refcounting
14730
14731 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14732
14733         * docs/gst/tmpl/gst.sgml:
14734         * gst/gst.c:
14735           eliminate another tmpl file, fix spelling in the long-description
14736
14737 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14738
14739         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14740         (test_event), (timediff), (gstevents_suite):
14741           Should fix build on 64-bit arch's
14742
14743 2005-08-18  Andy Wingo  <wingo@pobox.com>
14744
14745         Make sure that when a pipeline goes to PLAYING, that data has
14746         actually hit the sink.
14747
14748         * check/states/sinks.c (test_sink): A sink that doesn't get any
14749         data shouldn't return SUCCESS for going to either PLAYING or
14750         PAUSED. Test also the return values on the way back down.
14751
14752         * gst/gstelement.c (gst_element_set_state): When changing the
14753         state of an element currently changing state asynchronously, go to
14754         lost-state after commiting the pending state. Makes future calls
14755         to get_state continue to return ASYNC.
14756
14757         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14758         ASYNC when going to PLAYING if we still don't have preroll, as can
14759         happen with live sources.
14760
14761 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14762
14763         * docs/pwg/advanced-types.xml:
14764           Hack long paragraph into 2 chunks as a workaround for buggy
14765           jadetex version in sid and breezy that loops infinitely and
14766           eats all RAM.
14767
14768 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14769
14770         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14771         (test_event), (timediff), (gstevents_suite):
14772           Provide more error margin in clock measurements to allow for 
14773           g_get_current_time inaccuracies.
14774
14775 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14776
14777         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14778         (test_event), (timediff), (gstevents_suite):
14779            Fix error message output so I might be able to tell why the
14780            test works here but fails on the build farm.
14781
14782 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14783
14784         * check/Makefile.am:
14785         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14786         (test_event), (timediff), (gstevents_suite), (main):
14787           I wrote a test!
14788
14789         * docs/design/part-seeking.txt:
14790           Spelling correction
14791
14792         * docs/gst/tmpl/gstevent.sgml:
14793         * docs/gst/tmpl/gstfakesrc.sgml:
14794           Docs updates.
14795
14796         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14797           Treat a buffer-without-newsegment the same as a receiving 
14798           a newsegment not in time format, and disable syncing to the clock
14799           with a warning.
14800
14801         * gst/gstbus.c: (gst_bus_set_sync_handler):
14802           Assert if anyone tries to replace the existing sync_handler for bus, 
14803           as only the owner should be setting it.
14804
14805         * gst/gstevent.h:
14806           Have a fixed set of custom event enums with events identified by
14807           their structure name (as in 0.8), rather than a free-for-all
14808           allowing collisions between enum values from different plugins.
14809
14810         * gst/gstpad.c: (gst_pad_class_init):
14811           Docs change.
14812           
14813         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14814           Handle out-of-band downstream events from the sending thread.
14815
14816 2005-08-17  Andy Wingo  <wingo@pobox.com>
14817
14818         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14819         play-timeout==0 to mean no timeout at all. In that case, don't
14820         bother with a get_state or a warning, just return directly, even
14821         if it's ASYNC.
14822
14823         * gst/base/gstbasetransform.c: Debug changes.
14824
14825         * gst/gstutils.h:
14826         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14827         ensure bins post state change messages. A bit of a hack but I can't
14828         think of a way to avoid it.
14829
14830         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14831
14832 2005-08-16  Andy Wingo  <wingo@pobox.com>
14833
14834         * gst/base/gstadapter.h:
14835         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14836         peek() but you own the data. Not terribly efficient atm.
14837
14838 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14839
14840         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14841         (gst_element_found_tags):
14842         * gst/gstutils.h:
14843           Add two utility functions for tag handling.
14844
14845 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14846
14847         * docs/manual/advanced-dataaccess.xml:
14848         * docs/manual/basics-helloworld.xml:
14849           Fix docs to use _bin_add() before _link(), which fixes the examples
14850           with recent core versions (reported by Madhan Raj M
14851           <raj_madan@rediffmail.com>, #313199).
14852
14853 2005-08-16  Wim Taymans  <wim@fluendo.com>
14854
14855         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14856         Added subtract checks.
14857
14858         * docs/design/part-events.txt:
14859         Some more docs about newsegment
14860
14861         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14862         Fix FIXME
14863
14864         * gst/gstcaps.c: (gst_caps_to_string):
14865         Add comments, cleanups.
14866         
14867         * gst/gstelement.c: (gst_element_save_thyself):
14868         cleanups
14869         
14870         * gst/gstvalue.c: (gst_value_collect_int_range),
14871         (gst_string_unwrap), (gst_value_union_int_int_range),
14872         (gst_value_union_int_range_int_range),
14873         (gst_value_intersect_int_int_range),
14874         (gst_value_intersect_int_range_int_range),
14875         (gst_value_intersect_double_double_range),
14876         (gst_value_intersect_double_range_double_range),
14877         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14878         (gst_value_subtract_int_range_int),
14879         (gst_value_subtract_double_range_double),
14880         (gst_value_subtract_double_range_double_range),
14881         (gst_value_subtract_from_list), (gst_value_subtract_list),
14882         (gst_value_can_compare), (gst_value_compare_fraction):
14883         Cleanups, add comments, remove unneeded asserts.
14884
14885 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14886
14887         * tools/gst-launch.c: (event_loop):
14888           don't convert NULL structures to strings
14889
14890 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14891
14892         * docs/gst/gstreamer-sections.txt:
14893           made some defines private
14894         * docs/gst/tmpl/gstconfig.sgml:
14895         * docs/gst/tmpl/gstqueue.sgml:
14896         * docs/gst/tmpl/gsttaglist.sgml:
14897         * docs/gst/tmpl/gsttypes.sgml:
14898         * docs/gst/tmpl/gstutils.sgml:
14899         * docs/pwg/appendix-porting.xml:
14900         * gst/base/gstbasesink.h:
14901         * gst/base/gstbasesrc.c:
14902         * gst/base/gstbasesrc.h:
14903         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14904         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14905         * gst/gstelement.c: (gst_element_class_init):
14906         * gst/gstpad.c: (gst_pad_class_init):
14907         * gst/gstqueue.c: (gst_queue_class_init):
14908         * gst/gstxml.c: (gst_xml_class_init):
14909           documented all undocumented signal inline
14910         * libs/gst/controller/gst-controller.h:
14911           added padding
14912
14913 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14914
14915         * docs/pwg/appendix-porting.xml:
14916           Document _set_link_function -> _set_setcaps_function.
14917
14918 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14919
14920         * check/Makefile.am:
14921           add a .check target for running the check
14922         * check/gst-libs/controller.c: (GST_START_TEST):
14923           cosmetic fixups
14924         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14925           complete checks for gstbuffer; would be nice if I could get the
14926           gcov stuff to work so I can see if I actually completed gstbuffer.c
14927         * check/gstcheck.h:
14928           add ASSERT_BUFFER_REFCOUNT
14929
14930 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14931
14932         * docs/gst/gstreamer-sections.txt:
14933         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14934         * gst/gsttag.h:
14935           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14936           spew out a warning if a tag that is already registered
14937           is re-registered, unless it is re-registered with a 
14938           different type (#308438).
14939
14940 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14941
14942         * docs/pwg/appendix-porting.xml:
14943         * docs/pwg/building-state.xml:
14944           Add some paragraphs about state changes in 0.9 to the PWG
14945           and the porting guide, in particular about the new meaning
14946           of GST_STATE_PAUSED and how to write state change functions
14947           with concurrent access by multiple threads in mind.
14948
14949 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14950
14951         * docs/gst/gstreamer-docs.sgml:
14952         * docs/libs/gstreamer-libs-docs.sgml:
14953           added deprecation and since indexes
14954         * libs/gst/controller/gst-controller.c:
14955         * libs/gst/controller/gst-helper.c:
14956           added since tags
14957
14958
14959 2005-08-11  Wim Taymans  <wim@fluendo.com>
14960
14961         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14962         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14963         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14964         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14965         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14966         (gst_ghost_pad_set_target):
14967         Actually implement (re)setting the target on a ghostpad
14968         as described in the docs.
14969
14970 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14971
14972         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14973           Check whether GST_DEBUG_NO_COLOR environment variable is
14974           set and disable coloured debug output if that is the case.
14975
14976 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14977
14978         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14979         (gst_type_find_helper):
14980           The memory returned by gst_type_find_peek() needs to
14981           stay valid until the end of a typefind function, and
14982           typefind functions may keep results from different 
14983           offsets around, so we can't just unref the buffer from
14984           the previous _peek(), but have to save all buffers 
14985           returned by _peek() until typefinding is done and only
14986           free them then.
14987
14988 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14989
14990         * docs/gst/gstreamer-sections.txt:
14991         * gst/gstutils.h:
14992           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14993
14994 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14995
14996         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14997           Fix a pretty good memleak.
14998
14999 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15000
15001         * gst/gstiterator.h:
15002           Fix wrong include and 'make distcheck'.
15003
15004 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15005
15006         * gst/gstbin.c: (bin_bus_handler):
15007           Use gst_element_post_message() instead.
15008
15009 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
15010
15011         * gst/base/gstadapter.h:
15012         * gst/base/gstbasesink.h:
15013         * gst/base/gstbasesrc.h:
15014         * gst/base/gstbasetransform.h:
15015         * gst/base/gstcollectpads.h:
15016         * gst/base/gstpushsrc.h:
15017         * gst/gstiterator.h:
15018           Add padding to our base elements' class and instance structs and
15019           to GstIterator (you will need to rebuild all plugins and apps!)
15020
15021 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15022
15023         * gst/gstbin.c: (bin_bus_handler):
15024           Make default message forwarding from child->bus to bin->bus
15025           threadsafe and make it not emit warnings if the parent has no bus.
15026
15027 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15028
15029         * gst/gstelement.c: (activate_pads):
15030           On paused->ready, set pad->caps to NULL, as is the documented
15031           behaviour in this state change. Fixes playback of series of
15032           media files when visualization is enabled in Totem.
15033
15034 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15035
15036         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15037           Allow NULL as filter-caps (which means "any").
15038
15039 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15040
15041         * docs/libs/gstreamer-libs-sections.txt:
15042         * libs/gst/controller/gst-controller.c:
15043         * libs/gst/controller/gst-controller.h:
15044         * libs/gst/controller/gst-helper.c:
15045           adding more entries to the docs and fix small doc-bugs
15046
15047 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15048
15049         * docs/gst/gstreamer-docs.sgml:
15050         * docs/gst/gstreamer-sections.txt:
15051         * docs/gst/gstreamer.types:
15052         * docs/gst/tmpl/gstbasesink.sgml:
15053         * docs/gst/tmpl/gstbasesrc.sgml:
15054         * docs/gst/tmpl/gstbasetransform.sgml:
15055         * docs/gst/tmpl/gstfakesrc.sgml:
15056         * gst/base/gstcollectpads.c:
15057         * gst/base/gstcollectpads.h:
15058         * libs/gst/controller/gst-controller.c:
15059         * libs/gst/controller/gst-controller.h:
15060         * libs/gst/controller/gst-helper.c:
15061         * libs/gst/controller/gst-interpolation.c:
15062         * libs/gst/controller/lib.c:
15063           added long/short desc for controller docs
15064           added collectpads base class docs
15065           added correct includes to base-class docs
15066
15067 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15068
15069         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15070         (gst_test_mono_source_set_property),
15071         (gst_test_mono_source_class_init), (GST_START_TEST),
15072         (gst_controller_suite):
15073         * docs/gst/gstreamer-docs.sgml:
15074         * docs/gst/gstreamer-sections.txt:
15075         * docs/gst/gstreamer.types:
15076         * docs/libs/gstreamer-libs-docs.sgml:
15077         * docs/libs/gstreamer-libs-sections.txt:
15078         * gst/base/gstadapter.c:
15079         * libs/gst/controller/gst-controller.c:
15080         (gst_controlled_property_new), (gst_controlled_property_free),
15081         (gst_controller_new_valist),
15082         (gst_controller_remove_properties_valist),
15083         (gst_controller_sink_values), (_gst_controller_finalize):
15084         * libs/gst/controller/gst-controller.h:
15085         * libs/gst/controller/gst-helper.c:
15086         (gst_object_control_properties), (gst_object_uncontrol_properties),
15087         (gst_object_get_controller), (gst_object_set_controller),
15088         (gst_object_sink_values), (gst_object_get_value_arrays),
15089         (gst_object_get_value_array):
15090           more tests (and fixes) for the controller
15091           more docs for the controller
15092           integrated companies docs for the adapter 
15093
15094 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15095
15096         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15097         (GST_START_TEST), (fakesrc_suite):
15098           add tests for sizetype
15099
15100 2005-08-04  Andy Wingo  <wingo@pobox.com>
15101
15102         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15103         fixes buffer_alloc proxying among other things.
15104
15105         * gst/base/gstbasetransform.c:
15106         * gst/base/gstbasetransform.h:
15107         Revert patch to gstbasetransform from 7-28 removing
15108         delay_configure.
15109
15110         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15111         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15112         Semantics changed, should return not the size of the output buffer
15113         but the byte size of a buffer with a given caps.
15114
15115         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15116         debug object.
15117         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15118         out) are not the pad caps until setcaps finishes.
15119         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15120         not-in-place case as well. Deal with changing from in-place to
15121         not-in-place within calling pad_alloc_buffer. Still a bit
15122         concerned about the overhead here...
15123
15124 2005-08-03  Andy Wingo  <wingo@pobox.com>
15125
15126         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15127         fixating is an error.
15128
15129 2005-08-04  Edward Hervey  <edward@fluendo.com>
15130
15131         * gst/base/gstadapter.h: 
15132         Added gst_adapter_get_type() to the header
15133
15134 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15135
15136         * check/Makefile.am:
15137         * check/gst-libs/controller.c:
15138         * libs/gst/controller/gst-controller.c:
15139         (gst_controller_new_valist):
15140           added check test suite for the controller
15141         * gst/base/gstpushsrc.c:
15142           fixed a doc typo
15143
15144 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15145
15146         * docs/gst/Makefile.am:
15147         * docs/gst/gstreamer-docs.sgml:
15148         * docs/gst/gstreamer-sections.txt:
15149         * docs/gst/gstreamer.types:
15150         * docs/gst/tmpl/gstfakesrc.sgml:
15151         * gst/base/README:
15152         * gst/base/gstbasesink.c:
15153         * gst/base/gstbasesink.h:
15154         * gst/base/gstbasesrc.c:
15155         * gst/base/gstbasesrc.h:
15156         * gst/base/gstbasetransform.c:
15157         * gst/base/gstpushsrc.c:
15158         * gst/base/gstpushsrc.h:
15159           add short/long description docs to base classes
15160           add pushsrc to the docs
15161           remove consolidated doc fragments
15162
15163 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15164
15165         * configure.ac:
15166         * docs/libs/Makefile.am:
15167         * docs/libs/gstreamer-libs-docs.sgml:
15168         * docs/libs/gstreamer-libs-sections.txt:
15169         * docs/libs/gstreamer-libs.types:
15170         * examples/Makefile.am:
15171         * examples/controller/.cvsignore:
15172         * examples/controller/Makefile.am:
15173         * examples/controller/audio-example.c: (main):
15174         * libs/gst/Makefile.am:
15175         * libs/gst/controller/.cvsignore:
15176         * libs/gst/controller/Makefile.am:
15177         * libs/gst/controller/gst-controller.c:
15178         (on_object_controlled_property_changed), (gst_timed_value_compare),
15179         (gst_timed_value_find),
15180         (gst_controlled_property_set_interpolation_mode),
15181         (gst_controlled_property_new), (gst_controlled_property_free),
15182         (gst_controller_find_controlled_property),
15183         (gst_controller_new_valist), (gst_controller_new),
15184         (gst_controller_remove_properties_valist),
15185         (gst_controller_remove_properties), (gst_controller_set),
15186         (gst_controller_set_from_list), (gst_controller_unset),
15187         (gst_controller_get), (gst_controller_get_all),
15188         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15189         (gst_controller_get_value_array),
15190         (gst_controller_set_interpolation_mode),
15191         (_gst_controller_finalize), (_gst_controller_init),
15192         (_gst_controller_class_init), (gst_controller_get_type):
15193         * libs/gst/controller/gst-controller.h:
15194         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15195         (g_object_uncontrol_properties), (g_object_get_controller),
15196         (g_object_set_controller), (g_object_sink_values),
15197         (g_object_get_value_arrays), (g_object_get_value_array):
15198         * libs/gst/controller/gst-interpolation.c:
15199         (gst_controlled_property_find_timed_value_node),
15200         (interpolate_none_get), (interpolate_trigger_get),
15201         (interpolate_trigger_get_value_array):
15202         * libs/gst/controller/lib.c: (gst_controller_init):
15203         * pkgconfig/Makefile.am:
15204         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15205         * pkgconfig/gstreamer-control.pc.in:
15206         * testsuite/Makefile.am:
15207         * testsuite/controller/.cvsignore:
15208         * testsuite/controller/Makefile.am:
15209         * testsuite/controller/interpolator.c: (main):
15210           added controller code
15211           removed dparam pc files
15212
15213 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15214         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15215         (gst_collectpads_stop):
15216           Broadcast the condition when shutting down, to make sure we wake all
15217           threads up. Shut down pads on finalize, for safety.
15218
15219 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15220         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15221         (gst_base_transform_handle_buffer),
15222         (gst_base_transform_change_state):
15223           Handle PAUSED->READY->PAUSED transition after negotiation
15224           occurred already.
15225         * gst/gstmessage.c: (gst_message_init):
15226           Extra piece of debug for new messages.
15227
15228 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15229
15230         * configure.ac:
15231         * docs/gst/tmpl/gstbasesrc.sgml:
15232         * docs/gst/tmpl/gstelement.sgml:
15233         * docs/gst/tmpl/gstevent.sgml:
15234         * docs/gst/tmpl/gstfakesrc.sgml:
15235         * docs/gst/tmpl/gstformat.sgml:
15236         * docs/gst/tmpl/gstghostpad.sgml:
15237         * docs/gst/tmpl/gstpad.sgml:
15238         * docs/gst/tmpl/gstquery.sgml:
15239         * docs/gst/tmpl/gststructure.sgml:
15240         * docs/gst/tmpl/gsttaglist.sgml:
15241         * docs/gst/tmpl/gstvalue.sgml:
15242         * docs/libs/gstreamer-libs-docs.sgml:
15243         * docs/libs/gstreamer-libs-sections.txt:
15244         * docs/libs/gstreamer-libs.types:
15245         * libs/gst/Makefile.am:
15246         * libs/gst/control/.cvsignore:
15247         * libs/gst/control/Makefile.am:
15248         * libs/gst/control/control.c:
15249         * libs/gst/control/control.h:
15250         * libs/gst/control/dparam.c:
15251         * libs/gst/control/dparam.h:
15252         * libs/gst/control/dparam_smooth.c:
15253         * libs/gst/control/dparam_smooth.h:
15254         * libs/gst/control/dparamcommon.h:
15255         * libs/gst/control/dparammanager.c:
15256         * libs/gst/control/dparammanager.h:
15257         * libs/gst/control/dplinearinterp.c:
15258         * libs/gst/control/dplinearinterp.h:
15259         * libs/gst/control/unitconvert.c:
15260         * libs/gst/control/unitconvert.h:
15261         * testsuite/Makefile.am:
15262         * testsuite/dynparams/.cvsignore:
15263         * testsuite/dynparams/Makefile.am:
15264         * testsuite/dynparams/dparamstest.c:
15265         * tools/Makefile.am:
15266         * tools/gst-inspect.c: (print_element_info), (main):
15267         * tools/gst-xmlinspect.c: (print_element_info), (main):
15268           deactivate and remove dparams (libgstcontrol)
15269
15270 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15271
15272         * gst/elements/gsttypefindelement.c:
15273         (gst_type_find_element_have_type), (gst_type_find_element_init),
15274         (stop_typefinding), (gst_type_find_element_handle_event),
15275         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15276         * gst/elements/gsttypefindelement.h:
15277           Set caps on all outgoing buffers, not just the first one.
15278
15279 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15280
15281         * gst/elements/gsttypefindelement.c:
15282         (gst_type_find_element_have_type),
15283         (gst_type_find_element_check_set_buffer_caps),
15284         (gst_type_find_element_init), (stop_typefinding),
15285         (gst_type_find_element_handle_event),
15286         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15287         * gst/elements/gsttypefindelement.h:
15288           Set caps on first outgoing buffer when we've found the type.
15289
15290 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15291
15292         * docs/gst/gstreamer-docs.sgml:
15293         * docs/gst/gstreamer-sections.txt:
15294         * docs/gst/tmpl/gstscheduler.sgml:
15295         * docs/gst/tmpl/gstschedulerfactory.sgml:
15296           Remove some old cruft from docs.
15297
15298 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15299
15300         * gst/gstpad.h:
15301           Fix inline docs for GstPadLinkReturn.
15302           
15303         * gst/gststructure.c: (gst_structure_has_name):
15304         * gst/gststructure.h:
15305         * docs/gst/gstreamer-sections.txt:
15306           New API: gst_structure_has_name().
15307
15308 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15309
15310         * configure.ac:
15311           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15312           and _LARGEFILE_SOURCE in config.h as required. Do not 
15313           export those flags in our .pc files any longer (#142209).
15314
15315           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15316
15317         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15318         (gst_file_sink_do_seek), (gst_file_sink_event),
15319         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15320           Redo seek/tell calls with large file support in mind; add some
15321           debugging messages; add log message that tells us when large
15322           file support is unavailable or not enabled for some reason.
15323
15324         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15325           Add log message that tells us when large file support 
15326           is unavailable or not enabled for some reason.
15327
15328 2005-07-29  Wim Taymans  <wim@fluendo.com>
15329
15330         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15331         Added test for removing an element with ghostpad from a bin.
15332         Fixed test as current implementation does the right thing.
15333
15334         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15335         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15336         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15337         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15338         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15339         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15340         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15341         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15342         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15343         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15344         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15345         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15346         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15347         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15348         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15349         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15350         * gst/gstghostpad.h:
15351         Clean up ghostpads, remove properties for internal stuff.
15352         Make threadsafe.
15353         Fix refcounting.
15354         Prepare for switching targets, not all use cases work yet.
15355
15356 2005-07-29  Wim Taymans  <wim@fluendo.com>
15357
15358         * docs/design/part-gstghostpad.txt:
15359         Small update.
15360
15361         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15362         (gst_bin_remove_func):
15363         Unlinking pads while holding the bin LOCK is not a good
15364         idea.
15365
15366         * gst/gstpad.c: (gst_pad_class_init),
15367         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15368         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15369         No prob setting template after creating the pad.
15370
15371 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15372
15373         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15374         (gst_bus_peek), (gst_bus_source_dispatch),
15375         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15376         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15377           gst_bus_poll may be called from other threads. Handle
15378           this nicely by not making poll_data disappear off the
15379           stack once gst_bus_poll returns.
15380           gst_bus_peek now increments the refcount on the returned
15381           message.
15382
15383 2005-07-29  Wim Taymans  <wim@fluendo.com>
15384
15385         * docs/design/part-gstghostpad.txt:
15386         Overview of current GhostPad datastructures and use
15387         cases for changing the target.
15388
15389 2005-07-28  Wim Taymans  <wim@fluendo.com>
15390
15391         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15392         Added checks for hierarchy consistency whan adding linked
15393         elements to bins.
15394
15395         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15396         Added check to test element scheduling without bin/pipeline.
15397
15398         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15399         First add elements to bin, then link.
15400         
15401         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15402         (gst_bin_remove_func):
15403         Unlink pads from elements added/removed from bin to maintain
15404         hierarchy consistency.
15405
15406 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15407
15408         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15409         (gst_base_transform_handle_buffer):
15410         * gst/base/gstbasetransform.h:
15411           Remove broken delay_configure (fixes renegotiation of software
15412           scaling pipelines); remove some leftover printf()s.
15413
15414 2005-07-28  Wim Taymans  <wim@fluendo.com>
15415
15416         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15417         Added some more tests for wrong hierarchy
15418
15419         * docs/design/part-overview.txt:
15420         Some updates.
15421
15422         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15423         Cleanups.
15424
15425         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15426         (gst_element_dispose):
15427         Some more cleanups.
15428
15429         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15430         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15431         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15432         (gst_pad_set_caps), (gst_pad_send_event):
15433         Check for correct hierarchy when linking pads. Moving to
15434         strict requirement for ghostpads when linking elements in
15435         different bins.
15436
15437         * gst/gstpad.h:
15438         Clean ups. Added WRONG_HIERARCHY return value.
15439
15440 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15441
15442         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15443           Better debug if no transform is possible.
15444
15445 2005-07-27  Wim Taymans  <wim@fluendo.com>
15446
15447         * docs/random/wtay/network-transp:
15448         Some old doc I had.
15449
15450 2005-07-27  Wim Taymans  <wim@fluendo.com>
15451
15452         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15453         (gst_dp_event_from_packet):
15454         Fix serialization of seek events.
15455
15456 2005-07-27  Wim Taymans  <wim@fluendo.com>
15457
15458         * check/gst-libs/gdp.c: (GST_START_TEST):
15459         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15460         Fix compilation and fix event serialization.
15461
15462 2005-07-27  Wim Taymans  <wim@fluendo.com>
15463
15464         * CHANGES-0.9:
15465         * docs/design/part-TODO.txt:
15466         * docs/design/part-events.txt:
15467         Some docs updates
15468
15469         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15470         (gst_base_sink_event), (gst_base_sink_do_sync),
15471         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15472         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15473         (gst_base_src_do_seek), (gst_base_src_event_handler),
15474         (gst_base_src_loop):
15475         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15476         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15477         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15478         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15479         (gst_base_transform_set_passthrough),
15480         (gst_base_transform_is_passthrough):
15481         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15482         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15483         Event updates.
15484
15485         * gst/gstbuffer.h:
15486         Use faster casts.
15487
15488         * gst/gstelement.c: (gst_element_seek):
15489         * gst/gstelement.h:
15490         Update gst_element_seek.
15491
15492         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15493         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15494         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15495         (gst_event_new_eos), (gst_event_new_newsegment),
15496         (gst_event_parse_newsegment), (gst_event_new_tag),
15497         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15498         (gst_event_parse_qos), (gst_event_new_seek),
15499         (gst_event_parse_seek), (gst_event_new_navigation):
15500         * gst/gstevent.h:
15501         Make GstEvent use GstStructure. Add parsing code, make sure the
15502         API is sufficiently generic.
15503         Mark possible directions of events and serialization.
15504
15505         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15506         (_gst_message_copy), (gst_message_new_segment_start),
15507         (gst_message_new_segment_done), (gst_message_new_custom),
15508         (gst_message_parse_segment_start),
15509         (gst_message_parse_segment_done):
15510         Small cleanups.
15511
15512         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15513         (gst_pad_set_caps), (gst_pad_send_event):
15514         Update for new events. 
15515         Catch events sent in wrong directions.
15516
15517         * gst/gstqueue.c: (gst_queue_link_src),
15518         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15519         (gst_queue_handle_src_query):
15520         Event updates.
15521
15522         * gst/gsttag.c:
15523         * gst/gsttag.h:
15524         Remove event code from this file.
15525
15526         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15527         (gst_dp_event_from_packet):
15528         Event updates.
15529
15530 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15531
15532         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15533         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15534         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15535           Make debugging actually useful.
15536
15537 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15538
15539         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15540         (gst_pad_fixate_caps):
15541           Implement default fixation once again, so that gst_pad_fixate()
15542           actually does anything at all. This probably needs to be some
15543           sort of a last resort, and use profile-based fixation first, but
15544           since that doesn't exist yet, this is the best we have. Fixes
15545           visualization in Totem.
15546
15547 2005-07-22  Wim Taymans  <wim@fluendo.com>
15548
15549         * docs/design/part-events.txt:
15550         Small update.
15551
15552         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15553         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15554         (gst_base_sink_activate_pull):
15555         Some more comments.
15556
15557         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15558         (gst_fake_src_create):
15559         Fix handoff marshall.
15560
15561         * gst/elements/gstidentity.c: (gst_identity_class_init),
15562         (gst_identity_transform_ip):
15563         We're a real inplace element.
15564
15565         * gst/gstbus.c: (gst_bus_post):
15566         Added some comments.
15567
15568         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15569         * tests/muxing/case1.c: (main):
15570         * tests/sched/dynamic-pipeline.c: (main):
15571         * tests/sched/interrupt1.c: (main):
15572         * tests/sched/interrupt2.c: (main):
15573         * tests/sched/interrupt3.c: (main):
15574         * tests/sched/runxml.c: (main):
15575         * tests/sched/sched-stress.c: (main):
15576         * tests/seeking/seeking1.c: (event_received), (main):
15577         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15578         (main):
15579         * tests/threadstate/threadstate3.c: (main):
15580         * tests/threadstate/threadstate4.c: (main):
15581         * tests/threadstate/threadstate5.c: (main):
15582         Fix the tests.
15583
15584 2005-07-21  Wim Taymans  <wim@fluendo.com>
15585
15586         * docs/design/part-seeking.txt:
15587         Some small additions.
15588
15589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15590         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15591         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15592         * gst/base/gstbasesink.h:
15593         discont values are gint64, handle the math correctly.
15594
15595         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15596         Make the basesrc report error if the source pad is not linked.
15597
15598         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15599         (gst_queue_loop), (gst_queue_handle_src_query),
15600         (gst_queue_src_activate_push):
15601         Make queue collect data even if the srcpad is not linked.
15602         Start pushing out data as soon as it is linked.
15603
15604         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15605         * gst/gstutils.h:
15606         Added gst_flow_get_name() to ease error reporting.
15607
15608 2005-07-20  Wim Taymans  <wim@fluendo.com>
15609
15610         * gst/gstmessage.c: (gst_message_new_segment_start),
15611         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15612         (gst_message_parse_segment_done):
15613         * gst/gstmessage.h:
15614         Added a bunch of messages for advanced seeking.
15615
15616         * gst/parse/grammar.y:
15617         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15618         (gst_dpman_state_changed):
15619         Fix some new-pad -> pad-added signals
15620
15621 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15622
15623         * docs/manual/appendix-porting.xml:
15624         * docs/pwg/appendix-porting.xml:
15625           Document new-pad/state-change signal renames and the FixedList
15626           type rename.
15627
15628 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15629
15630         * docs/manual/advanced-autoplugging.xml:
15631         * docs/manual/basics-helloworld.xml:
15632         * docs/manual/basics-pads.xml:
15633         * docs/random/ds/0.9-suggested-changes:
15634         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15635         * gst/gstelement.h:
15636         * gst/gstevent.h:
15637         * gst/gstformat.h:
15638         * gst/gstquery.h:
15639         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15640         (gst_structure_parse_array), (gst_structure_parse_value):
15641         * gst/gstvalue.c: (gst_type_is_fixed),
15642         (gst_value_list_prepend_value), (gst_value_list_append_value),
15643         (gst_value_list_get_size), (gst_value_list_get_value),
15644         (gst_value_transform_array_string), (gst_value_serialize_array),
15645         (gst_value_deserialize_array), (gst_value_intersect_array),
15646         (gst_value_is_fixed), (_gst_value_initialize):
15647         * gst/gstvalue.h:
15648           GstElement::new-pad -> pad-added, GstElement::state-change ->
15649           state-changed, GstValueFixedList -> GstValueArray, add format and
15650           flags as their own arguments in gst_element_seek() (should improve
15651           "bindeability"), remove function generators since they don't work
15652           under a whole bunch of compilers (they were deprecated already
15653           anyway).
15654
15655 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15656
15657         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15658         (_gst_debug_register_funcptr):
15659         * gst/gstinfo.h:
15660           Fix illegal cast on some platforms (#309253).
15661
15662 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15663
15664         * gst/gstmessage.c: (gst_message_new_custom):
15665         * gst/gstmessage.h:
15666           Add _new_custom, make _new_application a macro to _new_custom.
15667
15668 2005-07-20  Wim Taymans  <wim@fluendo.com>
15669
15670         * gst/base/gstbasesrc.c: (gst_base_src_init),
15671         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15672         * gst/base/gstbasesrc.h:
15673         Add a gboolean to decide when to push out a discont.
15674
15675         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15676         (gst_queue_loop), (gst_queue_handle_src_query),
15677         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15678         (gst_queue_set_property), (gst_queue_get_property):
15679         Some cleanups.
15680
15681         * tests/threadstate/threadstate1.c: (main):
15682         Make a thread test compile and run... very silly..
15683
15684
15685 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15686
15687         * docs/manual/appendix-porting.xml:
15688           Mention removal of libgstgconf-0.9.la and existence of gconf
15689           elements.
15690
15691 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15692
15693         * docs/pwg/advanced-clock.xml:
15694         * docs/pwg/appendix-porting.xml:
15695         * docs/pwg/intro-preface.xml:
15696         * docs/pwg/other-base.xml:
15697         * docs/pwg/other-manager.xml:
15698         * docs/pwg/other-nton.xml:
15699         * docs/pwg/other-ntoone.xml:
15700         * docs/pwg/other-oneton.xml:
15701         * docs/pwg/pwg.xml:
15702           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15703           demuxer), remove n-to-n (was never written), fix some code examples
15704           and links and update the porting section to include all this.
15705
15706 2005-07-19  Wim Taymans  <wim@fluendo.com>
15707
15708         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15709         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15710         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15711         (gst_queue_src_activate_push), (gst_queue_change_state),
15712         (gst_queue_get_property):
15713         * gst/gstqueue.h:
15714         Propagate GstFlowReturn more intelligently upstream and output
15715         an ERROR/EOS when streaming stopped due to fatal error.
15716
15717 2005-07-19  Wim Taymans  <wim@fluendo.com>
15718
15719         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15720         Don't block forever for the state change to complete, the
15721         pipeline already did with a sensible timeout.
15722
15723 2005-07-19  Wim Taymans  <wim@fluendo.com>
15724
15725         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15726         Make sure we never call the create function is we
15727         got deactivated.
15728
15729 2005-07-19  Andy Wingo  <wingo@pobox.com>
15730
15731         * gst/parse/parse.l: Attempt to solve bug #172815.
15732
15733 2005-07-19  Wim Taymans  <wim@fluendo.com>
15734
15735         * docs/design/part-clocks.txt:
15736         * docs/design/part-events.txt:
15737         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15738         Small docs updates.
15739         Only update the seeking values when we are not
15740         busy streaming.
15741
15742 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15743
15744         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15745           Oops, ignore the result of gst_pad_push_event here.
15746
15747 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15748
15749         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15750         (gst_base_src_activate_push):
15751           Send discont event from the loop function, as pads
15752           aren't activated yet in the activate_push handler.
15753
15754         * gst/gstbin.c: (bin_bus_handler):
15755           Don't leak element name.
15756
15757 2005-07-18  Andy Wingo  <wingo@pobox.com>
15758
15759         * configure.ac: Use AS_LIBTOOL_TAGS.
15760
15761 2005-07-18  Wim Taymans  <wim@fluendo.com>
15762
15763         * docs/gst/gstreamer.types:
15764         Remove deleted types.
15765
15766 2005-07-18  Wim Taymans  <wim@fluendo.com>
15767
15768         * check/elements/gstfakesrc.c: (GST_START_TEST):
15769         * configure.ac:
15770         * gst/Makefile.am:
15771         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15772         (init_popt_callback):
15773         * gst/gst.h:
15774         * gst/gst_private.h:
15775         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15776         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15777         * gst/gstbin.h:
15778         * gst/gstbus.h:
15779         * gst/gstconfig.h.in:
15780         * gst/gstelement.c: (gst_element_class_init),
15781         (gst_element_set_base_time), (gst_element_get_base_time),
15782         (iterator_fold_with_resync), (gst_element_change_state),
15783         (gst_element_dispose), (gst_element_get_bus):
15784         * gst/gstelement.h:
15785         * gst/gstelementfactory.h:
15786         * gst/gsterror.c: (_gst_core_errors_init):
15787         * gst/gsterror.h:
15788         * gst/gstevent.h:
15789         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15790         * gst/gstindex.c:
15791         * gst/gstinfo.c: (_gst_debug_init):
15792         * gst/gstmessage.c: (_gst_message_copy):
15793         * gst/gstmessage.h:
15794         * gst/gstminiobject.h:
15795         * gst/gstobject.c:
15796         * gst/gstobject.h:
15797         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15798         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15799         * gst/gstpad.h:
15800         * gst/gstparse.h:
15801         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15802         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15803         (gst_pipeline_get_last_stream_time):
15804         * gst/gstpipeline.h:
15805         * gst/gstpluginfeature.h:
15806         * gst/gstquery.h:
15807         * gst/gstscheduler.c:
15808         * gst/gstscheduler.h:
15809         * gst/gststructure.h:
15810         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15811         (gst_task_finalize), (gst_task_func), (gst_task_create),
15812         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15813         (gst_task_stop), (gst_task_pause):
15814         * gst/gsttask.h:
15815         * gst/gsttypefind.h:
15816         * gst/gsttypes.h:
15817         * gst/registries/gstlibxmlregistry.c: (load_feature),
15818         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15819         * gst/registries/gstxmlregistry.c:
15820         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15821         * gst/schedulers/threadscheduler.c:
15822         * libs/gst/control/dparammanager.h:
15823         * tools/gst-inspect.c: (print_element_list),
15824         (print_plugin_features), (print_element_features):
15825         * tools/gst-xmlinspect.c: (print_element_list),
15826         (print_plugin_info), (main):
15827         Removed plugable schedulers.
15828         Removed Scheduler/Manager from elements.
15829         Removed gsttypes.h, rearranged includes.
15830         Removed dependency pad<->element, element<>pipeline, and
15831         various others,  fix includes.
15832         implement gst_pad_get_parent() with gst_object_get_parent()
15833         Make GstTask sefcontained.
15834         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15835         timeout.
15836         Fix endless loop in iterator_fold_with_resync.
15837
15838
15839 2005-07-18  Wim Taymans  <wim@fluendo.com>
15840
15841         * gst/Makefile.am:
15842         * gst/gstarch.h:
15843         Remove old file.
15844
15845 2005-07-18  Wim Taymans  <wim@fluendo.com>
15846
15847         * gst/Makefile.am:
15848         No more cothreads.h
15849
15850 2005-07-18  Wim Taymans  <wim@fluendo.com>
15851
15852         * gst/cothreads.c:
15853         * gst/cothreads.h:
15854         Let's remove these.
15855
15856 2005-07-18  Wim Taymans  <wim@fluendo.com>
15857
15858         * docs/design/part-dynamic.txt:
15859         * docs/design/part-events.txt:
15860         * docs/design/part-seeking.txt:
15861         Some more docs in the works.
15862
15863         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15864         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15865         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15866         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15867         (gst_base_transform_handle_buffer),
15868         (gst_base_transform_sink_activate_push),
15869         (gst_base_transform_src_activate_pull),
15870         (gst_base_transform_set_passthrough),
15871         (gst_base_transform_is_passthrough):
15872         Refcounting fixes.
15873
15874         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15875         Cleanups.
15876
15877         * gst/gstevent.c: (gst_event_finalize):
15878         Set SRC to NULL.
15879
15880         * gst/gstutils.c: (gst_element_unlink),
15881         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15882         (gst_pad_proxy_setcaps):
15883         * gst/gstutils.h:
15884         Add _get_parent_element() to get a pads parent as an element.
15885
15886 2005-07-18  Wim Taymans  <wim@fluendo.com>
15887
15888         * check/gst/gstbin.c: (GST_START_TEST):
15889         Remove bogus test.
15890
15891 2005-07-18  Wim Taymans  <wim@fluendo.com>
15892
15893         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15894         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15895         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15896         (gst_base_sink_event), (gst_base_sink_do_sync),
15897         (gst_base_sink_chain), (gst_base_sink_loop),
15898         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15899         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15900         Refcounting fixes.
15901         Fix logic for returning ASYNC when not prerolled.
15902
15903 2005-07-18  Wim Taymans  <wim@fluendo.com>
15904
15905         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15906         Fix nasty refcount bug.
15907
15908 2005-07-16 Philippe Khalaf <burger@speedy.org>
15909
15910         * gst/elements/gstfdsrc.c:
15911         * gst/elements/gstfdsrc.h:
15912         * gst/elements/gstelements.c:
15913         * gst/elements/Makefile.am:
15914         Ported fdsrc to 0.9.
15915
15916 2005-07-16  Wim Taymans  <wim@fluendo.com>
15917
15918         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15919         (gst_base_sink_do_sync):
15920         Fix compile error.
15921
15922 2005-07-16  Wim Taymans  <wim@fluendo.com>
15923
15924         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15925         (gst_base_sink_event), (gst_base_sink_get_times),
15926         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15927         * gst/base/gstbasesink.h:
15928         Store and use discont values when syncing buffers as described
15929         in design docs.
15930         
15931         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15932         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15933         (gst_base_src_activate_push):
15934         Push discont event when starting.
15935
15936         * gst/elements/gstidentity.c: (gst_identity_transform):
15937         Small cleanups.
15938
15939         * gst/gstbin.c: (gst_bin_change_state):
15940         Small cleanups in base_time  distribution.
15941
15942         * gst/gstelement.c: (gst_element_set_base_time),
15943         (gst_element_get_base_time), (gst_element_change_state):
15944         * gst/gstelement.h:
15945         Added methods for the base_time of the element.
15946         Some MT fixes.
15947
15948         * gst/gstpipeline.c: (gst_pipeline_send_event),
15949         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15950         (gst_pipeline_get_last_stream_time):
15951         * gst/gstpipeline.h:
15952         MT fixes.
15953         Handle seeking as described in design doc, remove stream_time
15954         hack.
15955         Cleanups clock and stream_time selection code. Added accessors
15956         for the stream_time.
15957         
15958
15959 2005-07-16  Andy Wingo  <wingo@pobox.com>
15960
15961         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15962         (#305291).
15963
15964 2005-07-16  Wim Taymans  <wim@fluendo.com>
15965
15966         * check/gst/gstbin.c: (GST_START_TEST):
15967         Make elements silent as the deep_notify refs the
15968         parent, which might make the test fail.
15969
15970         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15971         Don't hold the lock for too long.
15972
15973 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15974
15975         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15976           Don't unref the caps we passed to gst_caps_make_writable() after
15977           passing them. gst_caps_make_writable() will do that for us.
15978
15979 2005-07-15  Andy Wingo  <wingo@pobox.com>
15980
15981         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15982         (#157311).
15983
15984         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15985         own marshalling function for the handoff signal. Properly type the
15986         buffer as a buffer. Fixes some warnings. Should do a more general
15987         solution.
15988         (gst_identity_class_init): Plug into the right marshaller.
15989
15990 2005-07-15  Wim Taymans  <wim@fluendo.com>
15991
15992         * docs/design/part-TODO.txt:
15993         * docs/design/part-clocks.txt:
15994         * docs/design/part-element-sink.txt:
15995         * docs/design/part-events.txt:
15996         * docs/design/part-gstpipeline.txt:
15997         Updated docs, mostly DISCONT related.
15998
15999 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
16000
16001         * docs/pwg/building-pads.xml:
16002           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16003
16004 2005-07-15  Andy Wingo  <wingo@pobox.com>
16005
16006         * tools/gst-typefind.c: Update, add copyright block.
16007
16008         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16009         Normalize and truncate caps before fixation.
16010
16011         * gst/gstcaps.h:
16012         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16013         discards all but the first structure from its argument.
16014
16015 2005-07-15  Wim Taymans  <wim@fluendo.com>
16016
16017         * gst/base/gstbasetransform.c: (gst_base_transform_init),
16018         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16019         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16020         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16021         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16022         (gst_base_transform_chain), (gst_base_transform_change_state),
16023         (gst_base_transform_set_passthrough),
16024         (gst_base_transform_is_passthrough):
16025         * gst/base/gstbasetransform.h:
16026         Make passthrough work using the bufferpools.
16027         Changed API a bit, subclasses have to write into a buffer
16028         provided by the base class.
16029         More debug info in nego functions.
16030         
16031         * gst/elements/gstidentity.c: (gst_identity_init),
16032         (gst_identity_transform):
16033         Port to new base class.
16034
16035 2005-07-15  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/gstmessage.c: (gst_message_new_state_changed):
16038         * tools/gst-launch.c: (event_loop), (main):
16039         Totally dump messages in -launch with the -m option.
16040         Fix message name for State messages,
16041
16042 2005-07-14  Wim Taymans  <wim@fluendo.com>
16043
16044         * gst/base/gstbasesrc.c: (gst_base_src_loop):
16045         Post error messages on errors.
16046
16047 2005-07-14  Wim Taymans  <wim@fluendo.com>
16048
16049         * gst/gstcaps.c: (gst_caps_do_simplify):
16050         Remove debug info.
16051
16052         * gst/gsterror.h:
16053         Define error for stream stopped.
16054
16055         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16056         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16057         Do proper return values.
16058
16059         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16060         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16061         (gst_pad_get_range):
16062         Better return values.
16063
16064         * gst/gstpad.h:
16065         Reorganise return values, add macro to check for fatal errors.
16066
16067         * gst/gstqueue.c: (gst_queue_chain):
16068         Return proper GstFlowReturn values,
16069
16070 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16071
16072         * docs/gst/gstreamer-sections.txt:
16073         * docs/gst/gstreamer.types:
16074         * docs/gst/tmpl/gst.sgml:
16075         * docs/gst/tmpl/gstbasesink.sgml:
16076         * docs/gst/tmpl/gstbasesrc.sgml:
16077         * docs/gst/tmpl/gstbasetransform.sgml:
16078         * docs/gst/tmpl/gstbin.sgml:
16079         * docs/gst/tmpl/gstbuffer.sgml:
16080         * docs/gst/tmpl/gstcaps.sgml:
16081         * docs/gst/tmpl/gstclock.sgml:
16082         * docs/gst/tmpl/gstcompat.sgml:
16083         * docs/gst/tmpl/gstconfig.sgml:
16084         * docs/gst/tmpl/gstelement.sgml:
16085         * docs/gst/tmpl/gstelementdetails.sgml:
16086         * docs/gst/tmpl/gstelementfactory.sgml:
16087         * docs/gst/tmpl/gstenumtypes.sgml:
16088         * docs/gst/tmpl/gsterror.sgml:
16089         * docs/gst/tmpl/gstevent.sgml:
16090         * docs/gst/tmpl/gstfakesink.sgml:
16091         * docs/gst/tmpl/gstfakesrc.sgml:
16092         * docs/gst/tmpl/gstfilesink.sgml:
16093         * docs/gst/tmpl/gstfilesrc.sgml:
16094         * docs/gst/tmpl/gstfilter.sgml:
16095         * docs/gst/tmpl/gstformat.sgml:
16096         * docs/gst/tmpl/gstghostpad.sgml:
16097         * docs/gst/tmpl/gstimplementsinterface.sgml:
16098         * docs/gst/tmpl/gstindex.sgml:
16099         * docs/gst/tmpl/gstindexfactory.sgml:
16100         * docs/gst/tmpl/gstinfo.sgml:
16101         * docs/gst/tmpl/gstiterator.sgml:
16102         * docs/gst/tmpl/gstmacros.sgml:
16103         * docs/gst/tmpl/gstmemchunk.sgml:
16104         * docs/gst/tmpl/gstminiobject.sgml:
16105         * docs/gst/tmpl/gstobject.sgml:
16106         * docs/gst/tmpl/gstpad.sgml:
16107         * docs/gst/tmpl/gstpadtemplate.sgml:
16108         * docs/gst/tmpl/gstparse.sgml:
16109         * docs/gst/tmpl/gstpipeline.sgml:
16110         * docs/gst/tmpl/gstplugin.sgml:
16111         * docs/gst/tmpl/gstpluginfeature.sgml:
16112         * docs/gst/tmpl/gstquery.sgml:
16113         * docs/gst/tmpl/gstqueue.sgml:
16114         * docs/gst/tmpl/gstregistry.sgml:
16115         * docs/gst/tmpl/gstregistrypool.sgml:
16116         * docs/gst/tmpl/gstscheduler.sgml:
16117         * docs/gst/tmpl/gstschedulerfactory.sgml:
16118         * docs/gst/tmpl/gststructure.sgml:
16119         * docs/gst/tmpl/gstsystemclock.sgml:
16120         * docs/gst/tmpl/gsttaglist.sgml:
16121         * docs/gst/tmpl/gsttagsetter.sgml:
16122         * docs/gst/tmpl/gsttrace.sgml:
16123         * docs/gst/tmpl/gsttrashstack.sgml:
16124         * docs/gst/tmpl/gsttypefind.sgml:
16125         * docs/gst/tmpl/gsttypefindfactory.sgml:
16126         * docs/gst/tmpl/gsttypes.sgml:
16127         * docs/gst/tmpl/gsturihandler.sgml:
16128         * docs/gst/tmpl/gsturitype.sgml:
16129         * docs/gst/tmpl/gstutils.sgml:
16130         * docs/gst/tmpl/gstvalue.sgml:
16131         * docs/gst/tmpl/gstversion.sgml:
16132         * docs/gst/tmpl/gstxml.sgml:
16133         * docs/libs/tmpl/gstcontrol.sgml:
16134         * docs/libs/tmpl/gstdataprotocol.sgml:
16135         * docs/libs/tmpl/gstdparam.sgml:
16136         * docs/libs/tmpl/gstdplinint.sgml:
16137         * docs/libs/tmpl/gstdpman.sgml:
16138         * docs/libs/tmpl/gstdpsmooth.sgml:
16139         * docs/libs/tmpl/gstgetbits.sgml:
16140         * docs/libs/tmpl/gstunitconvert.sgml:
16141         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16142         (gst_push_src_base_init), (gst_push_src_class_init),
16143         (gst_push_src_init), (gst_push_src_create):
16144         * gst/base/gstpushsrc.h:
16145         * gst/elements/gstelements.c:
16146         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16147         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16148         (gst_fake_sink_init), (gst_fake_sink_set_property),
16149         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16150         (gst_fake_sink_event), (gst_fake_sink_preroll),
16151         (gst_fake_sink_render), (gst_fake_sink_change_state):
16152         * gst/elements/gstfakesink.h:
16153         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16154         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16155         (gst_fake_src_base_init), (gst_fake_src_class_init),
16156         (gst_fake_src_init), (gst_fake_src_event_handler),
16157         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16158         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16159         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16160         (gst_fake_src_create_buffer), (gst_fake_src_create),
16161         (gst_fake_src_start), (gst_fake_src_stop):
16162         * gst/elements/gstfakesrc.h:
16163         * gst/elements/gstfilesink.c: (_do_init),
16164         (gst_file_sink_base_init), (gst_file_sink_class_init),
16165         (gst_file_sink_init), (gst_file_sink_dispose),
16166         (gst_file_sink_set_location), (gst_file_sink_set_property),
16167         (gst_file_sink_get_property), (gst_file_sink_open_file),
16168         (gst_file_sink_close_file), (gst_file_sink_query),
16169         (gst_file_sink_event), (gst_file_sink_render),
16170         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16171         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16172         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16173         * gst/elements/gstfilesink.h:
16174         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16175         (gst_file_src_class_init), (gst_file_src_init),
16176         (gst_file_src_finalize), (gst_file_src_set_location),
16177         (gst_file_src_set_property), (gst_file_src_get_property),
16178         (gst_file_src_map_region), (gst_file_src_map_small_region),
16179         (gst_file_src_create_mmap), (gst_file_src_create_read),
16180         (gst_file_src_create), (gst_file_src_is_seekable),
16181         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16182         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16183         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16184         (gst_file_src_uri_handler_init):
16185         * gst/elements/gstfilesrc.h:
16186           more autistic cleanliness in functions/names/defines
16187
16188 2005-07-13  Andy Wingo  <wingo@pobox.com>
16189
16190         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16191         source couldn't negotiate.
16192
16193         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16194         connections again.
16195
16196         * gst/gstutils.h:
16197         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16198         function. I am channeling Hades. Put your boots on suckers!!!
16199
16200 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16201
16202         * testsuite/caps/Makefile.am:
16203         * testsuite/caps/value_compare.c:
16204         * testsuite/caps/value_intersect.c:
16205         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16206           move two testsuite apps over to the check dir
16207
16208 2005-07-12  Wim Taymans  <wim@fluendo.com>
16209
16210         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16211         Added more debug info in the negotiate process.
16212
16213         * gst/gstmessage.h:
16214         Prepare for segment playback.
16215
16216         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16217         Better debugging.
16218
16219         * gst/gstutils.c:
16220         Some more docs.
16221
16222         * tools/gst-launch.c: (main):
16223         NULL pipeline on errors.
16224
16225 2005-07-12  Andy Wingo  <wingo@pobox.com>
16226
16227         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16228         not it comes from a malloc region. Make sure our copy gets freed.
16229
16230 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16231
16232         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16233         * check/gst/gstmessage.c: (GST_START_TEST):
16234         * check/gst/gststructure.c: (GST_START_TEST),
16235         (gst_structure_suite), (main):
16236           more testing
16237         * gst/gstelement.c: (gst_element_message_full):
16238           clean up GError and debug string now that they get copied
16239         * gst/gstmessage.c: (gst_message_new_error),
16240         (gst_message_new_warning), (gst_message_parse_error),
16241         (gst_message_parse_warning):
16242           use GST_TYPE_G_ERROR for structure_new, and take copies of
16243           arguments, so that we don't mess up refcounting
16244
16245 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16246
16247         * check/Makefile.am:
16248           add per-test valgrind targets
16249         * check/gst-libs/gdp.c: (GST_START_TEST),
16250         (gst_data_protocol_suite), (main):
16251           clean up
16252
16253 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16254
16255         * check/Makefile.am:
16256           instate more valgrindable tests
16257         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16258         (GST_START_TEST), (fakesrc_suite):
16259         * check/gst/gstpad.c: (GST_START_TEST):
16260         * check/gst/gststructure.c: (GST_START_TEST):
16261           fix test leaks
16262         * docs/gst/tmpl/gstminiobject.sgml:
16263         * gst/gstpad.c: (gst_pad_finalize):
16264           fix the static mutex leak
16265
16266 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16267
16268         * check/Makefile.am:
16269           add two more tests for valgrinding
16270         * check/gst/gstvalue.c: (GST_START_TEST):
16271           test refcount of deserialized buffer, found a leak
16272         * docs/gst/gstreamer-docs.sgml:
16273         * docs/gst/gstreamer-sections.txt:
16274         * docs/gst/gstreamer.types:
16275         * docs/gst/tmpl/gstminiobject.sgml:
16276           add miniobject to docs
16277         * gst/gstminiobject.c:
16278           add some docs
16279         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16280         (gst_string_unwrap):
16281           fix a hard-to-find invalid write for one of the tests
16282           fix a leak for deserialized buffers
16283
16284 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16285
16286         * docs/pwg/advanced-events.xml:
16287         * docs/pwg/advanced-request.xml:
16288         * docs/pwg/advanced-scheduling.xml:
16289         * docs/pwg/appendix-porting.xml:
16290         * docs/pwg/building-boiler.xml:
16291         * docs/pwg/intro-preface.xml:
16292         * docs/pwg/other-ntoone.xml:
16293           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16294           of example code and explanation for pad activation, loop() and
16295           getrange() functions and a bit more. Remove old comments pointing
16296           to loop-functions.
16297         * examples/pwg/Makefile.am:
16298           Add loop/getrange examples.
16299
16300 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16301
16302         * configure.ac:
16303           check for valgrind binary + some fixes
16304         * check/gst.supp:
16305           valgrind suppressions for the tests
16306         * check/Makefile.am:
16307           add a valgrind: target that valgrinds the unit tests
16308         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16309         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16310         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16311         * check/gst/gstghostpad.c:
16312           added some cleanup
16313         * check/gst/gstdata.c:
16314           removed
16315         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16316         (thread_unref), (gst_mini_object_suite), (main):
16317           added
16318         * gst/gst.c: (gst_deinit):
16319         * gst/gst.h:
16320           add a method to clean up.
16321         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16322         (gst_system_clock_obtain):
16323           allow for disposing the system clock.
16324         * tools/gst-launch.c: (main):
16325           deinit
16326
16327 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16328
16329         * docs/gst/tmpl/gstbasesrc.sgml:
16330         * docs/gst/tmpl/gstfakesrc.sgml:
16331         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16332         (gst_base_src_init), (gst_base_src_set_property),
16333         (gst_base_src_get_property), (gst_base_src_get_range),
16334         (gst_base_src_start):
16335         * gst/base/gstbasesrc.h:
16336           add num-buffers property
16337         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16338         (gst_fakesrc_init), (gst_fakesrc_set_property),
16339         (gst_fakesrc_get_property), (gst_fakesrc_create),
16340         (gst_fakesrc_start):
16341           remove num-buffers property
16342
16343 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16344
16345         * docs/gst/gstreamer-sections.txt:
16346         * docs/gst/tmpl/gstbasesink.sgml:
16347         * docs/gst/tmpl/gstbasesrc.sgml:
16348         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16349         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16350         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16351         (gst_base_sink_set_property), (gst_base_sink_get_property),
16352         (gst_base_sink_handle_object), (gst_base_sink_event),
16353         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16354         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16355         (gst_base_sink_loop), (gst_base_sink_deactivate),
16356         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16357         (gst_base_sink_change_state):
16358         * gst/base/gstbasesink.h:
16359         * gst/base/gstbasesrc.h:
16360         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16361         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16362         (gst_filesink_init):
16363           more macro splitting
16364
16365 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * gst/gstelement.c: (gst_element_get_bus):
16368           add debug
16369         * tools/gst-launch.c: (check_intr), (event_loop):
16370           fix bus leaks
16371
16372 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16373
16374         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16375           fix a caps leak
16376
16377 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16378
16379         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16380         (gst_base_src_finalize):
16381           add finalize method and clean up properly
16382         * gst/gstpipeline.c: (gst_pipeline_dispose):
16383           add debug
16384
16385 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16386
16387         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16388         (gst_bin_suite):
16389           add more things to check
16390         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16391         * gst/gstelement.c:
16392           more debug
16393
16394 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16395
16396         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16397         (GST_START_TEST), (fakesrc_suite):
16398         * check/gst-libs/gdp.c: (GST_START_TEST):
16399         * check/gst/gst.c: (GST_START_TEST):
16400         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16401         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16402         * check/gst/gstbus.c: (GST_START_TEST):
16403         * check/gst/gstcaps.c: (GST_START_TEST):
16404         * check/gst/gstdata.c: (GST_START_TEST):
16405         * check/gst/gstelement.c: (GST_START_TEST):
16406         * check/gst/gstghostpad.c: (GST_START_TEST):
16407         * check/gst/gstiterator.c: (GST_START_TEST):
16408         * check/gst/gstmessage.c: (GST_START_TEST):
16409         * check/gst/gstobject.c: (GST_START_TEST):
16410         * check/gst/gstpad.c: (GST_START_TEST):
16411         * check/gst/gststructure.c: (GST_START_TEST):
16412         * check/gst/gstsystemclock.c: (GST_START_TEST),
16413         (gst_systemclock_suite):
16414         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16415         * check/gst/gstvalue.c: (GST_START_TEST):
16416         * check/pipelines/cleanup.c: (GST_START_TEST):
16417         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16418         * check/states/sinks.c: (GST_START_TEST):
16419         * check/gstcheck.c: (gst_check_init):
16420         * check/gstcheck.h:
16421           add debugging category
16422           use GST_START_TEST now, so we add a debug line
16423
16424 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16425
16426         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16427           add test for state change message on a bin
16428         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16429           add another test
16430         * gst/gstbin.c: (gst_bin_init):
16431         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16432         * gst/gstelement.c: (gst_element_post_message),
16433         (gst_element_set_state):
16434         * gst/gstelementfactory.c: (gst_element_factory_create):
16435         * gst/gstmessage.c: (gst_message_new):
16436         * gst/gstscheduler.c:
16437           various debugging additions and cleanups
16438
16439 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16440
16441         * check/Makefile.am:
16442         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16443         (main):
16444           adding tests for elements
16445         * gst/gstelement.c: (gst_element_dispose):
16446
16447 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16448
16449         * gst/registries/gstlibxmlregistry.c: (load_feature):
16450           plug more leaks.  A simple gst_init() now is leakfree, yay.
16451
16452 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16453
16454         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16455         (gst_xml_registry_load):
16456           plug another memleak
16457
16458 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16459
16460         * configure.ac:
16461           use GST_SET_ERROR_CFLAGS
16462         * docs/faq/cvs.xml:
16463           change to ERROR_CFLAGS
16464
16465 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16466
16467         * configure.ac:
16468           make GST_ERROR_CFLAGS overridable and re-enable Werror
16469         * docs/faq/cvs.xml:
16470           add a note about error CFLAGS
16471         * docs/gst/tmpl/gstfakesrc.sgml:
16472         * gst/elements/gstfakesrc.c:
16473           comment out some unused code
16474         * gst/gst.c: (split_and_iterate):
16475         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16476         (load_feature):
16477           plug some memleaks
16478
16479 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16480
16481         * common/Makefile.am:
16482         * common/gtk-doc.mak:
16483         * docs/gst/Makefile.am:
16484           factor out gtk-doc.mak
16485
16486 2005-07-07  Wim Taymans  <wim@fluendo.com>
16487
16488         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16489         (gst_thread_scheduler_dispose):
16490         Unlock the STREAM_LOCK completely.
16491
16492 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16493
16494         * check/Makefile.am:
16495         * check/elements/.cvsignore:
16496         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16497         (START_TEST), (fakesrc_suite), (main):
16498         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16499         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16500         (gst_fakesrc_create), (gst_fakesrc_start):
16501         * gst/elements/gstfakesrc.h:
16502           adding a first element test
16503
16504 2005-07-07  Andy Wingo  <wingo@pobox.com>
16505
16506         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16507         debug message.
16508
16509 2005-07-07  Wim Taymans  <wim@fluendo.com>
16510
16511         * gst/gstquery.c:
16512         * gst/gstquery.h:
16513         Remove old types
16514
16515 2005-07-07  Wim Taymans  <wim@fluendo.com>
16516
16517         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16518         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16519         Allow subclasses to implement their own negotiation.
16520
16521 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16522
16523         * docs/design/part-gstbin.txt:
16524         * docs/design/part-gstpipeline.txt:
16525           Update design notes to reflect the movement of
16526           responsibility for bus handling from GstPipeline to
16527           GstBin
16528
16529 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16530
16531         * configure.ac:
16532           Remove unnecessary queue2/3/4 examples.
16533
16534 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16535
16536         * examples/Makefile.am:
16537         * examples/helloworld/helloworld.c: (event_loop), (main):
16538         * examples/queue/queue.c: (event_loop), (main):
16539         * examples/queue2/queue2.c: (main):
16540           Update a couple of the examples to work again.
16541
16542         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16543         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16544          Spelling corrections and extra debug.
16545         
16546         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16547         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16548         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16549         * gst/gstbin.h:
16550         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16551         (gst_pipeline_change_state):
16552         * gst/gstpipeline.h:
16553           Move the bus handler for children to the GstBin, and create a
16554           separate bus for receiving messages from children to the one the
16555           bus sends 'upwards' on.
16556
16557 2005-07-06  Wim Taymans  <wim@fluendo.com>
16558
16559         * gst/base/README:
16560         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16561         (gst_base_sink_handle_object), (gst_base_sink_loop),
16562         (gst_base_sink_change_state):
16563         * gst/base/gstbasesink.h:
16564         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16565         (gst_base_src_init), (gst_base_src_setcaps),
16566         (gst_base_src_getcaps), (gst_base_src_loop),
16567         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16568         (gst_base_src_start), (gst_base_src_change_state):
16569         * gst/base/gstbasesrc.h:
16570         Make basesrc negotiate.
16571         Handle the case where preroll fails in basesink.
16572         Update README.
16573
16574 2005-07-06  Wim Taymans  <wim@fluendo.com>
16575
16576         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16577         Implement the fixate function.
16578         Clean up acceptcaps.
16579
16580 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16581
16582         * docs/pwg/building-filterfactory.xml:
16583         * docs/pwg/pwg.xml:
16584           Remove never-written filter-factory chapter; I'll add the various
16585           base classes to part 4 ("other element types") later on.
16586
16587 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16588
16589         * docs/pwg/advanced-negotiation.xml:
16590         * docs/pwg/building-boiler.xml:
16591         * docs/pwg/building-pads.xml:
16592         * docs/pwg/pwg.xml:
16593         * examples/pwg/Makefile.am:
16594           Add a chapter on caps negotiation, simplify the original code
16595           samples a bit w.r.t. caps negotiation, add link to the advanced
16596           section. Add a bunch of examples showing different use cases of
16597           different types of caps negotiation. Upstream renegotiation isn't
16598           fully documented yet since nobody knows how that works.
16599
16600 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16601
16602         * check/gst/gstpad.c:
16603         * check/gstcheck.c:
16604         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16605           if pad has no parent, return NULL as list of internal links
16606
16607 2005-07-05  Andy Wingo  <wingo@pobox.com>
16608
16609         * gst/elements/gstfilesrc.c:
16610         * gst/elements/gstfakesrc.c: 
16611         * gst/base/gstpushsrc.c:
16612         * gst/base/gstbasesrc.h: 
16613         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16614         
16615 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16616
16617         * Makefile.am:
16618           better report generation target (lcov needs a patch)
16619
16620 2005-07-05  Andy Wingo  <wingo@pobox.com>
16621
16622         * gst/elements, testsuite: Null if we got it...
16623
16624 2005-07-05  Wim Taymans  <wim@fluendo.com>
16625
16626         * configure.ac:
16627         * libs/gst/dataprotocol/Makefile.am:
16628         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16629         * libs/gst/dataprotocol/dataprotocol.h:
16630         * pkgconfig/Makefile.am:
16631         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16632         * pkgconfig/gstreamer-dataprotocol.pc.in:
16633         Ported dataprotol to 0.9. 
16634         Added pkgconfig files.
16635
16636 2005-07-05  Andy Wingo  <wingo@pobox.com>
16637
16638         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16639         Default to returning TRUE for the case when tranform_caps returns
16640         a fixed caps, like for identity or volume.
16641
16642         * check/gst/gstbus.c (pound_bus_with_messages): 
16643         * check/gst/gstmessage.c (START_TEST): 
16644         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16645         message API change.
16646
16647         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16648         logic weaks here: always run transform_caps, trying passthrough
16649         operation only if the original caps intersects with the transform.
16650
16651         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16652         source and sink caps.
16653
16654         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16655         Intersect the peer caps with the pad template before going into
16656         transform_caps.
16657         (gst_base_transform_transform_caps): More debugging.
16658
16659         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16660         src argument.
16661
16662 2005-07-04  Edward Hervey  <edward@fluendo.com>
16663
16664         * gst/gstutils.c:
16665         * gst/gstutils.h:
16666         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16667         in bindings.
16668
16669 2005-07-04  Andy Wingo  <wingo@pobox.com>
16670
16671         * check/gst/gstpad.c: Only set explicit caps on pads.
16672
16673 2005-07-01  Andy Wingo  <wingo@pobox.com>
16674
16675         * tests/network-clock.scm: Commentary update.
16676
16677         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16678         Didn't really make sense, not implementable with basetransform,
16679         etc.
16680         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16681         attempt at implementing the sync property, needs an unlock method.
16682
16683         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16684         New func, by default returns the same caps (the identity
16685         transformation).
16686         (gst_base_transform_getcaps): Uses transform_caps to return
16687         something sensible.
16688         (gst_base_transform_setcaps): Complicated logic to get caps on
16689         both pads, even if they are different, and to call set_caps once
16690         for every time both pads get their caps set.
16691         (gst_base_transform_handle_buffer): Give the ref to the transform
16692         function. Allows in-place modification of the buffer.
16693
16694         * gst/base/gstbasetransform.h (transform_caps): New class method.
16695         Given caps on one side, what can I do on the other.
16696         (set_caps): Take two caps, one for each side of the element.
16697
16698         * gst/gstpad.h:
16699         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16700         caps in place. This is safe because we can check the mutability of
16701         the caps, and a good idea because fixate functions are just called
16702         as a matter of last resort. (Not actually implemented.)
16703         (gst_pad_set_caps): If the caps we're setting is actually the same
16704         as the existing pad caps, just update the pointer without calling
16705         setcaps. Assert that caps is either NULL or fixed, as per the
16706         docs.
16707
16708         * gst/gstghostpad.c: Update for fixate changes.
16709
16710 2005-07-02  Andy Wingo  <wingo@pobox.com>
16711
16712         * gst/gstcaps.c:
16713         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16714         two refcounts makes it immutable, which is enough. Doc more.
16715
16716 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16717
16718         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16719           Put the mini_object into GValue as a mini_object,
16720           not a gpointer, since that's how we declared
16721           the signal.
16722
16723 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16724
16725         * examples/pwg/Makefile.am:
16726           Fix buildbot again.
16727
16728 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16729
16730         * docs/pwg/building-testapp.xml:
16731           Add extra check.
16732         * examples/pwg/Makefile.am:
16733           Fix buildbot.
16734
16735 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16736
16737         * configure.ac:
16738         * examples/Makefile.am:
16739         * examples/pwg/Makefile.am:
16740         * examples/pwg/extract.pl:
16741           Enable building the PWG examples.
16742         * docs/pwg/advanced-interfaces.xml:
16743           Add URI interface stub.
16744         * docs/pwg/advanced-types.xml:
16745         * docs/pwg/other-autoplugger.xml:
16746         * docs/pwg/appendix-porting.xml:
16747         * docs/pwg/pwg.xml:
16748           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16749         * docs/pwg/building-boiler.xml:
16750         * docs/pwg/building-chainfn.xml:
16751         * docs/pwg/building-pads.xml:
16752         * docs/pwg/building-props.xml:
16753         * docs/pwg/building-state.xml:
16754         * docs/pwg/building-testapp.xml:
16755           Update the building-*.xml parts for 0.9 changes. All examples
16756           code blocks compile in examples/pwg/*.
16757
16758 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16759
16760         * docs/manual/advanced-autoplugging.xml:
16761         * docs/manual/appendix-checklist.xml:
16762         * docs/manual/appendix-integration.xml:
16763         * docs/manual/highlevel-components.xml:
16764           Fix playbin/decodebin examples, update docs a bit, mention bus
16765           instead of signals in various places, mention kmplayer and
16766           kaffeine since they have a working GStreamer backend in the KDE
16767           section.
16768
16769 2005-06-30  Wim Taymans  <wim@fluendo.com>
16770
16771         * CHANGES-0.9:
16772         * docs/design/draft-ghostpads.txt:
16773         * docs/design/draft-push-pull.txt:
16774         * docs/design/draft-query.txt:
16775         * docs/design/part-TODO.txt:
16776         * docs/design/part-query.txt:
16777         Added CHANGES-0.9 doc, updated status of other docs.
16778         
16779         * gst/gstquery.h:
16780         Remove "hmm" macro
16781
16782 2005-06-30  Wim Taymans  <wim@fluendo.com>
16783
16784         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16785         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16786         (gst_base_sink_change_state):
16787         * gst/base/gstbasesink.h:
16788         Some tweaks, only EOS and a buffer complete a preroll.
16789
16790 2005-06-30  Andy Wingo  <wingo@pobox.com>
16791
16792         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16793         activate_push down to the internal pad as well.
16794
16795 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16796
16797         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16798
16799         * gst/gsttaginterface.c:
16800           Some documentation fixes (#307394 and #307397).
16801
16802 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16803
16804         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16805
16806         * gst/gstvalue.c: (gst_value_intersect_list):
16807           Fix memleak (#309125).
16808
16809 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16810
16811         * docs/manual/advanced-dataaccess.xml:
16812           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16813         * docs/manual/basics-pads.xml:
16814           Add reference for filtered caps to above chapter.
16815
16816 2005-06-30  Wim Taymans  <wim@fluendo.com>
16817
16818         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16819         (gst_bin_change_state):
16820         Probes are gone.
16821         Lame attempt at making the state change function a bit
16822         more readable.
16823
16824 2005-06-30  Wim Taymans  <wim@fluendo.com>
16825
16826         * docs/design/part-clocks.txt:
16827         * docs/design/part-element-sink.txt:
16828         * docs/design/part-events.txt:
16829         * docs/design/part-preroll.txt:
16830         * docs/design/part-states.txt:
16831         Some more tweeks and additions to the docs.
16832
16833 2005-06-30  Wim Taymans  <wim@fluendo.com>
16834
16835         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16836         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16837         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16838         (gst_pad_check_pull_range), (gst_pad_get_range),
16839         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16840         * gst/gstpad.h:
16841         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16842         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16843         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16844         (gst_pad_remove_buffer_probe):
16845         Removed atomic operations, use existing LOCK.
16846         Move exception handling out of main code path.
16847
16848 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16849
16850         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16851         (silly_return_true_function), (gst_pad_class_init),
16852         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16853         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16854         (gst_pad_send_event):
16855           Fix accumulator, add default value by using _emitv() instead
16856           of _emit() for signal emission.
16857
16858 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16859
16860         * docs/manual/advanced-dataaccess.xml:
16861         * examples/manual/Makefile.am:
16862           Add probe example.
16863         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16864           Make work (??).
16865
16866 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16867
16868         * gst/elements/gstfilesink.c: (gst_filesink_render):
16869           Simplify code so that we don't have to handle short
16870           writes and return GST_FLOW_ERROR if an error occured.
16871
16872 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16873
16874         * docs/gst/gstreamer-docs.sgml:
16875           Remove probes more.
16876
16877 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16878
16879         * docs/gst/gstreamer-sections.txt:
16880         * docs/gst/tmpl/gstpad.sgml:
16881         * docs/gst/tmpl/gstprobe.sgml:
16882         * gst/Makefile.am:
16883         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16884         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16885         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16886         (gst_pad_push_event), (gst_pad_send_event):
16887         * gst/gstpad.h:
16888         * gst/gstutils.c: (gst_pad_add_data_probe),
16889         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16890         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16891         (gst_pad_remove_buffer_probe):
16892         * gst/gstutils.h:
16893           Remove old probes, add new g-signal-based probes and some utility
16894           functions.
16895
16896 2005-06-29  Edward Hervey  <edward@fluendo.com>
16897
16898         * gst/gstelementfactory.c:
16899         * gst/gstutils.h:
16900         * gst/gstutils.c:
16901         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16902         the definition to the header file.
16903
16904 2005-06-29  Andy Wingo  <wingo@pobox.com>
16905
16906         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16907         plugins from the source directory.
16908
16909 2005-06-29  Wim Taymans  <wim@fluendo.com>
16910
16911         * docs/gst/tmpl/gstbuffer.sgml:
16912         * docs/gst/tmpl/gstclock.sgml:
16913         Some fixings for blantently wrong text.
16914
16915 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16916
16917         * check/Makefile.am:
16918         * gst/gst.c: (add_path_func), (init_pre):
16919         * gst/gstregistry.c: (gst_registry_add_path):
16920           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16921           only scan the GST_PLUGIN_PATH locations, and not add
16922           system locations
16923
16924 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16925
16926         * docs/gst/gstreamer-sections.txt:
16927         * docs/gst/tmpl/gstbasesrc.sgml:
16928         * gst/gstelement.c:
16929         * gst/gstelement.h:
16930         * gst/gstevent.c:
16931         * gst/gstutils.c:
16932           doc fixes
16933
16934 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16935
16936         * docs/manual/advanced-autoplugging.xml:
16937           Fix autoplugging example.
16938
16939 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16940
16941         * docs/manual/advanced-autoplugging.xml:
16942         * docs/manual/mime-world.fig:
16943           Try to get autoplugging working, fix type detection. Fix text
16944           in hello-world image.
16945
16946 2005-06-29  Wim Taymans  <wim@fluendo.com>
16947
16948         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16949         (gst_base_sink_change_state):
16950         Small debug line.
16951
16952         * gst/gstclock.h:
16953         map SIGNAL and BROADCAST to the right function.
16954
16955         * gst/gstobject.h:
16956         Remove redundant braces.
16957
16958         * gst/gstpad.c: (gst_pad_set_caps):
16959         Don't call setcaps function when reseting caps to NULL.
16960
16961         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16962         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16963         (gst_system_clock_id_unschedule):
16964         Use BROADCAST as this is what we do.
16965
16966 2005-06-29  Wim Taymans  <wim@fluendo.com>
16967
16968         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16969         We are actually prerolling before commiting the state
16970         change. 
16971
16972 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16973
16974         * docs/manual/advanced-clocks.xml:
16975         * docs/manual/advanced-interfaces.xml:
16976         * docs/manual/advanced-metadata.xml:
16977         * docs/manual/advanced-position.xml:
16978         * docs/manual/advanced-schedulers.xml:
16979         * docs/manual/advanced-threads.xml:
16980         * docs/manual/appendix-porting.xml:
16981         * docs/manual/basics-bins.xml:
16982         * docs/manual/basics-bus.xml:
16983         * docs/manual/basics-elements.xml:
16984         * docs/manual/basics-helloworld.xml:
16985         * docs/manual/basics-pads.xml:
16986         * docs/manual/highlevel-components.xml:
16987         * docs/manual/manual.xml:
16988         * docs/manual/thread.fig:
16989           Update (until threads/scheduling) Application Development Manual;
16990           remove GstThread, add GstBus, add simple porting checklist, add
16991           documentation for tag writing, clocks, make all examples until this
16992           part compile and run.
16993         * examples/manual/Makefile.am:
16994           Update from changes to Application Development Manual; add bus
16995           example, remove thread example.
16996
16997 2005-06-28  Wim Taymans  <wim@fluendo.com>
16998
16999         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17000         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17001         (gst_bus_source_dispatch):
17002         Add debugging messages.
17003         Make internal methods static.
17004         Handle the case where the bus is flushed in the handler.
17005         
17006         * gst/gstelement.c: (gst_element_get_bus):
17007         Fix refcount in _get_bus();
17008
17009         * gst/gstpipeline.c: (gst_pipeline_change_state),
17010         (gst_pipeline_get_clock_func):
17011         Clock refcounting fixes.
17012         Handle the case where preroll timed out more gracefully.
17013         
17014         * gst/gstsystemclock.c: (gst_system_clock_dispose):
17015         Clean up the internal thread in dispose. This is needed
17016         for subclasses that actually get disposed.
17017         
17018         * gst/schedulers/threadscheduler.c:
17019         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17020         (gst_thread_scheduler_dispose):
17021         Free thread pool in dispose.
17022
17023 2005-06-28  Andy Wingo  <wingo@pobox.com>
17024
17025         * tests/network-clock-utils.scm (debug, print-event): New utils.
17026
17027         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17028         (*packet-loss*): Unified loss probability.
17029         (network-time): Report out-of-band events.
17030
17031         * tests/plot-data: Add support for out-of-band events. Hack it
17032         into this script instead of passing it down the pipe; should fix
17033         this later.
17034
17035 2005-06-28  Wim Taymans  <wim@fluendo.com>
17036
17037         * docs/gst/gstreamer.types:
17038         * docs/gst/tmpl/gstbasesrc.sgml:
17039         * docs/gst/tmpl/gstpad.sgml:
17040         Docs fixes.
17041
17042 2005-06-28  Wim Taymans  <wim@fluendo.com>
17043
17044         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17045         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17046         (gst_proxy_pad_do_fixatecaps):
17047         Correctly proxy the check_pull_range function.
17048
17049 2005-06-28  Andy Wingo  <wingo@pobox.com>
17050
17051         * tests/network-clock.scm: Removed need for slib.
17052         
17053 2005-06-28  Wim Taymans  <wim@fluendo.com>
17054
17055         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17056         (gst_basesink_preroll_queue_flush):
17057         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17058         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17059         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17060         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17061         (gst_proxy_pad_set_property):
17062         * gst/gstpad.c:
17063         * gst/gstpad.h:
17064         * gst/gstqueue.c: (gst_queue_init):
17065         The deprecated pad loop function is removed now.
17066
17067 2005-06-28  Andy Wingo  <wingo@pobox.com>
17068
17069         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17070         New parameters, simulate network packet loss.
17071
17072         * tests/network-clock-utils.scm: Initialize the RNG.
17073
17074 2005-06-28  Wim Taymans  <wim@fluendo.com>
17075
17076         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17077         (gst_basesink_event), (gst_basesink_deactivate):
17078         Flushing the preroll queue always needs to unlock the waiters.
17079
17080 2005-06-28  Edward Hervey  <edward@fluendo.com>
17081
17082         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17083         Wheen a seek was successful on a pipeline, set the stream_time to the
17084         seek offset in order to have a synchronized stream_time.
17085
17086 2005-06-28  Wim Taymans  <wim@fluendo.com>
17087
17088         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17089         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17090         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17091         (gst_proxy_pad_do_fixatecaps):
17092         Call wrapper function instead of just calling the function
17093         pointers. This takes care of any locking and whatmore.
17094
17095 2005-06-28  Wim Taymans  <wim@fluendo.com>
17096
17097         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17098         (gst_pad_pull_range):
17099         * gst/gstpad.h:
17100         CONNECTED -> LINKED.
17101
17102 2005-06-28  Andy Wingo  <wingo@pobox.com>
17103
17104         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17105         source-munging commit!!!
17106
17107         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17108         (gst_object_sink): Take gpointer arguments, not GstObject --
17109         avoids casts. Like GLib.
17110
17111         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17112         activate.
17113
17114 2005-06-27  Andy Wingo  <wingo@pobox.com>
17115
17116         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17117         remaining buffer.
17118
17119         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17120         returns a sorted copy of the trace list.
17121         (gst_alloc_trace_print_live): New API, only prints traces with
17122         live objects. Sort the list.
17123         (gst_alloc_trace_print_all): Sort the list.
17124         (gst_alloc_trace_print): Align columns.
17125
17126         * gst/elements/gstttypefindelement.c:
17127         * gst/elements/gsttee.c:
17128         * gst/base/gstbasesrc.c:
17129         * gst/base/gstbasesink.c:
17130         * gst/base/gstbasetransform.c:
17131         * gst/gstqueue.c: Adapt for pad activation changes.
17132
17133         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17134         sched.
17135         (gst_pipeline_dispose): Drop ref on sched.
17136
17137         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17138         (gst_pad_activate_default): Push mode by default.
17139         (pre_activate_switch, post_activate_switch): New stubs, things to
17140         do before and after switching activation modes on pads.
17141         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17142         the pad's activate function to choose which mode to activate.
17143         Shortcut on deactivation and call the right function directly.
17144         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17145         mode.
17146         (gst_pad_activate_push): New API, same for push mode.
17147         (gst_pad_set_activate_function) 
17148         (gst_pad_set_activatepull_function) 
17149         (gst_pad_set_activatepush_function): Setters for new API.
17150
17151         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17152         Trace all miniobjects.
17153         (gst_mini_object_make_writable): Unref the arg if we copy, like
17154         gst_caps_make_writable.
17155
17156         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17157
17158         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17159         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17160         Adapt for new pad API.
17161
17162         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17163
17164         * gst/gstelement.h:
17165         * gst/gstelement.c (gst_element_iterate_src_pads) 
17166         (gst_element_iterate_sink_pads): New API functions.
17167         
17168         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17169         should fold into gstiterator.c in some form.
17170         (gst_element_pads_activate): Simplified via use of fold and
17171         delegation of decisions to gstpad->activate.
17172
17173         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17174         help in debugging.
17175
17176         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17177         class once in init, like gstmessage. Didn't run into this issue
17178         but it seems correct. Don't initialize a trace, gstminiobject does
17179         that.
17180
17181         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17182         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17183         to the bus.
17184         (assert_live_count): New util function, uses alloc traces to check
17185         cleanup.
17186
17187         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17188         To be modified when unlink drops the internal pad.
17189
17190 2005-06-27  Wim Taymans  <wim@fluendo.com>
17191
17192         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17193         (gst_bin_change_state):
17194         Cleanup the get_state() function a little, make sure it
17195         iterates the same set of elements.
17196         Added stub iterate_state_order().
17197
17198 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * docs/gst/gstreamer-docs.sgml:
17201         * docs/gst/gstreamer-sections.txt:
17202         * docs/gst/gstreamer.types:
17203         * docs/gst/tmpl/gstbasesink.sgml:
17204         * docs/gst/tmpl/gstbasesrc.sgml:
17205         * docs/gst/tmpl/gstbasetransform.sgml:
17206         * docs/gst/tmpl/gstelement.sgml:
17207         * docs/gst/tmpl/gstiterator.sgml:
17208         * gst/base/gstbasesrc.c:
17209         * gst/base/gstbasesrc.h:
17210         * gst/base/gstbasetransform.h:
17211         * gst/gstelement.c:
17212         * gst/gstiterator.h:
17213           adding basetransform and iterator docs
17214
17215 2005-06-27  Andy Wingo  <wingo@pobox.com>
17216
17217         * docs/design/part-activation.txt: Notes on how activation should
17218         work -- not quite implemented yet.
17219
17220 2005-06-25  Wim Taymans  <wim@fluendo.com>
17221
17222         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17223         At least get the chain function correct, needs more
17224         fixing.
17225
17226 2005-06-25  Wim Taymans  <wim@fluendo.com>
17227
17228         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17229         (gst_basesink_handle_object), (gst_basesink_event),
17230         (gst_basesink_do_sync), (gst_basesink_handle_event),
17231         (gst_basesink_change_state):
17232         * gst/gsttask.h:
17233         Right, two problems here: ghostpads don't take locks and
17234         glib _rec_mutex_lock_full() with depth==0 still locks.
17235         Catch illegal locking and g_warn them.
17236
17237 2005-06-25  Wim Taymans  <wim@fluendo.com>
17238
17239         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17240         Have to check for completion now...
17241
17242 2005-06-25  Wim Taymans  <wim@fluendo.com>
17243
17244         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17245         (gst_basesink_handle_object), (gst_basesink_event),
17246         (gst_basesink_do_sync), (gst_basesink_handle_event),
17247         (gst_basesink_change_state):
17248         * gst/gstpad.h:
17249         Unlock STREAM_LOCK whatever the recursion was.
17250
17251 2005-06-25  Wim Taymans  <wim@fluendo.com>
17252
17253         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17254         (gst_basesink_preroll_queue_empty),
17255         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17256         (gst_basesink_event), (gst_basesink_do_sync),
17257         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17258         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17259         (gst_basesink_change_state):
17260         Reworked the base sink, handle event and buffer serialisation
17261         correctly and removed possible deadlock.
17262         Handle EOS correctly.
17263
17264 2005-06-25  Wim Taymans  <wim@fluendo.com>
17265
17266         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17267         (gst_pipeline_change_state):
17268         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17269         Allow elements to post EOS in the state change function.
17270         Fix up -launch, make it exit the poll loop when the
17271         pipeline actually changed state.
17272         Fix up warning parsing in -launch.
17273
17274 2005-06-25  Wim Taymans  <wim@fluendo.com>
17275
17276         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17277         (gst_tee_sink_activate):
17278         Core takes STREAM_LOCK for us now.
17279
17280 2005-06-25  Wim Taymans  <wim@fluendo.com>
17281
17282         * gst/gstelement.c: (gst_element_get_state_func),
17283         (gst_element_set_state):
17284         * gst/gstelement.h:
17285         * gst/gstmessage.c: (gst_message_parse_error),
17286         (gst_message_parse_warning):
17287         Keep track of current target state while performing a state
17288         change so that subclasses can do something interesting.
17289         Fix parsing of warning/error messages when GError is NULL.
17290
17291 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17292
17293         * docs/gst/Makefile.am:
17294         * docs/gst/gstreamer-docs.sgml:
17295         * docs/gst/gstreamer-sections.txt:
17296         * docs/gst/gstreamer.types:
17297         * docs/gst/tmpl/gstbasesink.sgml:
17298         * docs/gst/tmpl/gstbasesrc.sgml:
17299         * docs/gst/tmpl/gstbin.sgml:
17300         * docs/gst/tmpl/gstcompat.sgml:
17301         * docs/gst/tmpl/gstfakesink.sgml:
17302         * docs/gst/tmpl/gstfakesrc.sgml:
17303         * docs/gst/tmpl/gstfilesink.sgml:
17304         * docs/gst/tmpl/gstfilesrc.sgml:
17305         * docs/gst/tmpl/gstindex.sgml:
17306         * docs/manual/appendix-quotes.xml:
17307         * gst/base/gstbasesrc.h:
17308         * gst/elements/gstfakesrc.h:
17309         * gst/gstmessage.h:
17310           start pulling in base classes and elements in our docs
17311
17312 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17313
17314         * docs/gst/Makefile.am:
17315         * docs/libs/Makefile.am:
17316           fixed make distcheck with gtk-doc 1.3
17317
17318 2005-06-23  Wim Taymans  <wim@fluendo.com>
17319
17320         * gst/gstelement.c: (gst_element_get_state_func),
17321         (gst_element_set_state), (gst_element_change_state):
17322         When the state did not change, also report NO_PREROLL
17323         when it matters.
17324
17325 2005-06-23  Wim Taymans  <wim@fluendo.com>
17326
17327         * gst/gstpad.c: (gst_pad_event_default):
17328         * gst/gstqueue.c: (gst_queue_loop):
17329         No unsafe task pausing please.
17330
17331 2005-06-23  Wim Taymans  <wim@fluendo.com>
17332
17333         * gst/schedulers/threadscheduler.c:
17334         (gst_thread_scheduler_task_start),
17335         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17336         Ref the task before pushing it on the threadpool. This
17337         makes sure that we have a ref when the threadfunction is
17338         actually called.
17339
17340 2005-06-23  Andy Wingo  <wingo@pobox.com>
17341
17342         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17343         offset is greater than the file's size.
17344
17345         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17346         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17347         * gst/gstobject.c (gst_object_class_init): Make the class lock
17348         recursive. Wim won't let me drop deep_notify. Decodebin works
17349         again, whoopdy doo.
17350
17351         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17352         internal pad, and hacks accordingly. Doesn't do it on the target
17353         pad because we change its caps. Probably catches all cases of
17354         interest tho.
17355         (gst_ghost_pad_set_property): Connect to notify::caps as
17356         appropritate.
17357
17358         * tests/network-clock.scm (plot-simulation): Pipe data to the
17359         elite python skript.
17360
17361         * tests/network-clock-utils.scm (define-parameter): New macro,
17362         defines a parameter that can be set via the command line.
17363         (set-parameter!, parse-parameter-arguments): Command line args
17364         parser.
17365
17366         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17367         stdin.
17368
17369 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17370
17371         * gst/elements/gsttypefindelement.c:
17372         (gst_type_find_element_handle_event):
17373           Don't restart typefinding on a discont.
17374         * gst/gstelement.c: (gst_element_set_state):
17375           Debug spelling fix.
17376         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17377           Allow changing mode of an active pad.
17378           Debug output fixes.
17379         * gst/registries/gstlibxmlregistry.c: (load_feature):
17380           Don't cast a static pad template to a normal pad template.
17381
17382 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17383
17384         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17385         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17386           remove gst_strtoll completely, since it didn't actually do
17387           anything more than what g_ascii_strtoull already does.
17388           check for range errors when deserializing
17389           do a cast for the unsigned cases; but further fixing needs
17390           a decision on what the interpretation of "(int)" and
17391           deserialization should be for values that fall outside the
17392           type's boundaries (ie, refuse, or interpret as casting)
17393
17394 2005-06-23  Wim Taymans  <wim@fluendo.com>
17395
17396         * check/Makefile.am:
17397         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17398         * docs/design/part-live-source.txt:
17399         * docs/design/part-states.txt:
17400         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17401         (gst_basesrc_set_live), (gst_basesrc_is_live),
17402         (gst_basesrc_get_range), (gst_basesrc_activate),
17403         (gst_basesrc_change_state):
17404         * gst/base/gstbasesrc.h:
17405         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17406         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17407         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17408         * gst/gstelement.c: (gst_element_get_state_func),
17409         (gst_element_set_state):
17410         * gst/gstelement.h:
17411         * gst/gsttypes.h:
17412         * tools/gst-launch.c: (event_loop), (main):
17413         Added support for live sources and other elements that
17414         cannot do preroll.
17415         Updated design docs, added live-source design doc.
17416         Implemented live source functionality in basesrc
17417         Fix error condition in _bin_get_state()
17418         Implement live source handling in -launch.
17419         Added check for live sources.
17420         Fixed case in GstBin where elements were changed state
17421         multiple times.
17422
17423
17424 2005-06-23  Andy Wingo  <wingo@pobox.com>
17425
17426         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17427         borken refcounting.
17428
17429         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17430         gst_caps_replace takes care of this for us.
17431
17432         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17433         gst_pad_set_caps on the target, not just its setcaps() function.
17434
17435         * tests/network-clock.scm: 
17436         * tests/network-clock-utils.scm: A network clock simulator.
17437         Something of an algorithmic testbed before doing something in C.
17438
17439 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17440
17441         * check/Makefile.am:
17442         * check/gst/capslist.h:
17443           copy over from 0.8, and add two with bitmasks specified with
17444           (int) 0xFF...
17445         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17446           add test to parse everything from capslist.h
17447         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17448         (main):
17449           add test for structure deserialization
17450         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17451           add tests for deserialization of strings to int types
17452         * gst/gststructure.c: (gst_structure_nth_field_name):
17453         * gst/gststructure.h:
17454           add a way to get the name of a field referenced by index
17455         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17456           instead of checking if the resulting long long lies between
17457           min and max, we check if the long long would fit into
17458           a number of bytes for the final type.
17459           This fixes cases where a string represents 2^32 - 1, which
17460           when cast to int would be the (valid) -1, but is bigger than
17461           G_MAXINT
17462
17463 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17464
17465         * gst/parse/grammar.y:
17466           add a log line for type deserialization
17467
17468 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17469
17470         * check/gst/gstvalue.c: (START_TEST):
17471         * gst/gstvalue.c: (gst_value_deserialize):
17472           return long long, not int, so gint64 deserialization actually
17473           works.  Is there any flag that makes the compiler check this ?
17474           Fixes #308559
17475
17476 2005-06-22  Wim Taymans  <wim@fluendo.com>
17477
17478         * gst/gstbuffer.h:
17479         Added convenience macros for setting buffers in GValue.
17480
17481 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17482
17483         * check/gst/.cvsignore:
17484         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17485           add a test deserializing int64, and comment part out because
17486           it fails, yay !
17487
17488 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17489
17490         * check/Makefile.am:
17491         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17492         * testsuite/Makefile.am:
17493         * testsuite/caps/Makefile.am:
17494         * testsuite/caps/value_serialize.c:
17495         * testsuite/test_gst_init.c:
17496           move a value_serialize test over
17497
17498 2005-06-20  Wim Taymans  <wim@fluendo.com>
17499
17500         * gst/gstpad.c:
17501         Small doc updates.
17502         
17503         * gst/gstvalue.c: (gst_value_compare_buffer),
17504         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17505         (gst_value_compare_flags), (gst_value_serialize_flags),
17506         (gst_value_deserialize_flags), (_gst_value_initialize):
17507         Fix serialisation of buffers, they are not boxed types anymore
17508
17509 2005-06-20  Wim Taymans  <wim@fluendo.com>
17510
17511         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17512         Testcase to show error in buffer-on-caps serialisation.
17513
17514 2005-06-20  Andy Wingo  <wingo@pobox.com>
17515
17516         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17517         will be adding to later.
17518
17519         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17520         if its socks fill with rocks.
17521         (gst_system_clock_obtain): Set the name on object construction.
17522         Avoid double-checked locking.
17523
17524 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17525
17526         * gst/gsturi.c: (gst_element_make_from_uri):
17527           Fix potential endless loop.
17528
17529 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17530
17531         * check/Makefile.am:
17532           add gsttag
17533         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17534         (main):
17535           move over from testsuite dir and clean up
17536         * configure.ac:
17537         * gst/gsttag.c:
17538         * testsuite/Makefile.am:
17539         * testsuite/tags/.cvsignore:
17540         * testsuite/tags/Makefile.am:
17541         * testsuite/tags/merge.c:
17542           remove testsuite/tags
17543
17544 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17545
17546         * docs/gst/gstreamer-sections.txt:
17547         * docs/gst/tmpl/gstenumtypes.sgml:
17548         * win32/gstenumtypes.c:
17549           clean up documentation build a little
17550
17551 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17552
17553         * check/gstcheck.h:
17554           add macros for checking refcounts on objects and caps
17555         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17556           add some more unit tests
17557         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17558         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17559           fix leaked refcounts (I hope :)) so unittest works
17560         * gst/gstpad.h:
17561           whitespace removal
17562
17563 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17564
17565         * configure.ac: back to HEAD
17566
17567 === release 0.9.1 ===
17568
17569 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17570
17571         * NEWS:
17572         * RELEASE:
17573           updated
17574
17575 2005-06-17  Andy Wingo  <wingo@pobox.com>
17576
17577         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17578         assert; it's always possible that the pad gets deactivated in
17579         between the checks in gstpad.c and the implementation. Rely on
17580         finish_preroll() to return a FLUSHING or similar instead of on the
17581         assert.
17582         
17583         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17584         clock and post an EOS message if we come out of finish_preroll in
17585         the playing state.
17586
17587 2005-06-16  David Schleef  <ds@schleef.org>
17588
17589         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17590         (gst_capsfilter_set_property): Allow NULL as possible value
17591         for filter_caps property, indicating GST_CAPS_ANY.
17592
17593 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17594
17595         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17596           fix debug output
17597         * gst/schedulers/Makefile.am:
17598           use libgst prefix
17599         * gstreamer.spec.in:
17600           fix spec for it
17601
17602 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * gstreamer.spec.in:
17605           clean up
17606
17607 2005-06-08  Andy Wingo  <wingo@pobox.com>
17608
17609         * gst/gstutils.c: RPAD fixes all around.
17610         (gst_element_link_pads): Refcounting fixes.
17611
17612         * tools/gst-inspect.c:
17613         * tools/gst-xmlinspect.c:
17614         * parse/grammar.y:
17615         * gst/base/gsttypefindhelper.c:
17616         * gst/base/gstbasesink.c:
17617         * gst/gstqueue.c: RPAD fixes.
17618
17619         * gst/gstghostpad.h:
17620         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17621         pads. The tricky thing is they provide both source and sink
17622         interfaces, since they proxy the internal pad for the external
17623         pad, and vice versa. Implement with lower-level ProxyPad objects,
17624         with the interior proxy pad as a child of the exterior ghost pad.
17625         Should write a doc on this.
17626         
17627         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17628         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17629         gst_object API.
17630         
17631         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17632         pads are real pads. No ghost pads in this file. Not documenting
17633         the myriad s/RPAD/PAD/ and REALIZE fixes.
17634         (gst_pad_class_init): Add properties for "direction" and
17635         "template". Both are construct-only, so they can't change during
17636         the life of the pad. Fixes properly deriving from GstPad.
17637         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17638         derived objects, just set properties when creating the objects via
17639         g_object_new.
17640         (gst_pad_get_parent): Implement as a function, return NULL if the
17641         parent is not an element.
17642         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17643         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17644         
17645         * gst/gstobject.c (gst_object_class_init): Make name a construct
17646         property. Don't set it in the object init.
17647
17648         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17649         with UNKNOWN direction.
17650         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17651         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17652         (gst_element_remove_pad): Remove ghost-pad special cases.
17653         (gst_element_pads_activate): Remove rpad cruft.
17654
17655         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17656         catch the pad's-parent-not-an-element case.
17657
17658         * gst/gst.h: Include gstghostpad.h.
17659
17660         * gst/gst.c (init_post): No more real, ghost pads.
17661
17662         * gst/Makefile.am: Add gstghostpad.[ch].
17663
17664         * check/Makefile.am:
17665         * check/gst/gstbin.c:
17666         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17667         into a bin creates ghost pads, and that the refcounts are right.
17668         Partly moved from gstbin.c.
17669
17670 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17671
17672         * check/gst-libs/.cvsignore:
17673         * check/gst/.cvsignore:
17674         * check/pipelines/.cvsignore:
17675           ignore more
17676         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17677         (START_TEST), (cleanup_suite), (main):
17678           add some tests related to cleanup after running pipelines
17679
17680 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17681
17682         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17683           add a testsuite for GstBuffer
17684
17685 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17686
17687         * gst/gstminiobject.h:
17688           add defines for accessing the refcount
17689
17690 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17691
17692         * Makefile.am: added support for html unit test coverage reports
17693
17694 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17695
17696         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17697           Free existing caps if the capsfilter changes. Add a FIXME about
17698           setting those caps on the pads.
17699
17700         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17701           Before adding a ghost pad to a parent bin, check that there isn't
17702           already one for the element on the bin. Prevents infinite recursion
17703           when using decodebin in parse pipelines. Andy says he'll rewrite the
17704           way this works anyway, so ignore the hack.
17705
17706 2005-06-02  Andy Wingo  <wingo@pobox.com>
17707
17708         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17709         file size, pass it on to the type find helper.
17710
17711         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17712         segment_start and segment_end properly according to the seek
17713         method. Segment_end is still a bit flaky because offset can be
17714         negative for CUR and END cases, but it takes -1 as an "unset"
17715         value.
17716
17717 2005-06-02  Wim Taymans  <wim@fluendo.com>
17718
17719         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17720         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17721         (gst_basesink_activate):
17722         * gst/base/gstbasesink.h:
17723         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17724         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17725         (gst_pad_query), (gst_pad_start_task):
17726         * gst/gstpad.h:
17727         * gst/gstqueue.c: (gst_queue_bufferalloc),
17728         (gst_queue_handle_sink_event), (gst_queue_chain):
17729         Bufferalloc: return GstFlowReturn to more accuratly report
17730         why allocation failed.
17731
17732 2005-06-02  Wim Taymans  <wim@fluendo.com>
17733
17734         * gst/gstpipeline.c: (gst_pipeline_send_event):
17735         Take snapshot of state without blocking.
17736
17737 2005-06-02  Wim Taymans  <wim@fluendo.com>
17738
17739         * docs/design/part-TODO.txt:
17740         * docs/design/part-caps.txt:
17741         * docs/design/part-clocks.txt:
17742         * docs/design/part-negotiation.txt:
17743         * docs/design/part-preroll.txt:
17744         Small doc updates 
17745
17746 2005-05-30  Wim Taymans  <wim@fluendo.com>
17747
17748         * gst/elements/gstidentity.c: (gst_identity_event),
17749         (gst_identity_transform), (gst_identity_get_property):
17750         Protect last_message property as it is accessed from
17751         multiple threads.
17752
17753 2005-05-30  Wim Taymans  <wim@fluendo.com>
17754
17755         * gst/gstelement.c: (gst_element_init),
17756         (gst_element_pads_activate), (gst_element_change_state):
17757         Slicker pad activation code.
17758
17759 2005-05-30  Wim Taymans  <wim@fluendo.com>
17760
17761         * gst/Makefile.am:
17762         * gst/gstelement.h:
17763         * gst/gstelementfactory.h:
17764         * gst/gsttypes.h:
17765         Move elementfactory methods to separate .h file.
17766
17767 2005-05-30  Wim Taymans  <wim@fluendo.com>
17768
17769         * docs/design/part-overview.txt:
17770         * gst/gstsystemclock.h:
17771         Small typo fixes, doc updates.
17772
17773 2005-05-30  Wim Taymans  <wim@fluendo.com>
17774
17775         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17776         (init_popt_callback):
17777         Remove cpu-opt flag.
17778
17779 2005-05-30  Wim Taymans  <wim@fluendo.com>
17780
17781         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17782         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17783         * gst/gstbuffer.h:
17784         Avoid typechecking in places where not needed.
17785         Added accessor for malloc_data.
17786
17787 2005-05-30  Wim Taymans  <wim@fluendo.com>
17788
17789         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17790         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17791         (gst_pad_configure_sink), (gst_pad_configure_src),
17792         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17793         (gst_pad_start_task):
17794         Propagate errors from _set_caps() in configure_src/sink
17795         functions instead of returning TRUE.
17796         FLUSH events can travel up and downstream
17797
17798
17799 2005-05-30  Wim Taymans  <wim@fluendo.com>
17800
17801         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17802         (gst_basesink_activate):
17803         Handle EOS in preroll.
17804
17805 2005-05-30  Wim Taymans  <wim@fluendo.com>
17806
17807         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17808         (gst_queue_loop), (gst_queue_handle_src_event):
17809         Remove old pieces of code
17810         Flushing the queue in an upstream event is a very bad idea.
17811
17812 2005-05-26  Andy Wingo  <wingo@pobox.com>
17813
17814         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17815         gst_value_set_mini_object so as to add a ref on the object (which
17816         will be removed when the value is unset).
17817
17818         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17819         arg type in ::handoff.
17820
17821         * gst/gstelement.c (gst_element_change_state): Also deactivate
17822         pads in READY->NULL, just in case the element didn't make it to
17823         PAUSED. Wingo tested, Wim approved.
17824
17825 2005-05-26  Wim Taymans  <wim@fluendo.com>
17826
17827         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17828         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17829         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17830         A flushing pad cannot be used to alloc_buffer from.
17831
17832 2005-05-26  Wim Taymans  <wim@fluendo.com>
17833
17834         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17835         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17836         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17837         (gst_bus_create_watch), (gst_bus_add_watch_full):
17838         * gst/gstbus.h:
17839         Implement a real GSource and use g_main_context_wakeup() to
17840         signal new messages instead of the socketpair.
17841
17842 2005-05-25  Wim Taymans  <wim@fluendo.com>
17843
17844         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17845         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17846         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17847         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17848         (gst_pad_send_event), (gst_pad_start_task):
17849         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17850         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17851         (gst_queue_sink_activate), (gst_queue_src_activate),
17852         (gst_queue_change_state):
17853         * gst/gstqueue.h:
17854         Fix state changes for non sinks. We now change sinks, then elements
17855         with unconnected srcpads, then the rest.
17856         More efficient queue unlocking in flush and state changes.
17857         Set the pad activate mode even if it does not have an activate
17858         function.
17859
17860 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17861
17862         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17863           Don't go in pull mode for non-seekable sources.
17864         * gst/elements/gsttypefindelement.h:
17865         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17866         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17867         (free_entry), (stop_typefinding),
17868         (gst_type_find_element_handle_event), (find_peek),
17869         (gst_type_find_element_chain), (do_pull_typefind),
17870         (gst_type_find_element_change_state):
17871           Allow typefinding (w/o seeking) in push-mode, simplified version
17872           of what was in 0.8.
17873         * gst/gstutils.c: (gst_buffer_join):
17874         * gst/gstutils.h:
17875           gst_buffer_join() from 0.8.
17876
17877 2005-05-25  Wim Taymans  <wim@fluendo.com>
17878
17879         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17880         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17881         (gst_pad_send_event), (gst_pad_start_task):
17882         Disable attempt at mode switching until it is figured out.
17883
17884 2005-05-25  Wim Taymans  <wim@fluendo.com>
17885
17886         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17887         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17888         (gst_basesink_finish_preroll), (gst_basesink_chain),
17889         (gst_basesink_loop), (gst_basesink_activate),
17890         (gst_basesink_change_state):
17891         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17892         (gst_basesrc_get_range), (gst_basesrc_loop),
17893         (gst_basesrc_activate):
17894         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17895         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17896         (gst_real_pad_init), (gst_real_pad_set_property),
17897         (gst_real_pad_get_property), (gst_pad_set_active),
17898         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17899         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17900         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17901         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17902         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17903         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17904         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17905         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17906         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17907         (gst_pad_stop_task):
17908         * gst/gstpad.h:
17909         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17910         (gst_queue_loop), (gst_queue_src_activate):
17911         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17912         (gst_task_get_state):
17913         * gst/gsttask.h:
17914         * gst/schedulers/threadscheduler.c:
17915         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17916         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17917         in task function.
17918         Remove ACTIVE pad flag, use FLUSHING everywhere
17919         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17920         functions.
17921         Add locks around IS_FLUSHING when reading.
17922         Take STREAM lock in chain(), get_range() functions so plugins
17923         don't need to take it anymore.
17924         
17925
17926
17927 2005-05-25  Wim Taymans  <wim@fluendo.com>
17928
17929         * tools/gst-launch.c: (event_loop):
17930         Unref message after using its contents instead of
17931         before.
17932
17933 2005-05-24  Wim Taymans  <wim@fluendo.com>
17934
17935         * docs/design/draft-ghostpads.txt:
17936         * docs/design/draft-push-pull.txt:
17937         * docs/design/draft-query.txt:
17938         * docs/design/part-overview.txt:
17939         Docs updates, added general overview doc.
17940
17941 2005-05-21  David Schleef  <ds@schleef.org>
17942
17943         * docs/gst/tmpl/old/GstBin.sgml:
17944         * docs/gst/tmpl/old/GstBuffer.sgml:
17945         * docs/gst/tmpl/old/GstCaps.sgml:
17946         * docs/gst/tmpl/old/GstClock.sgml:
17947         * docs/gst/tmpl/old/GstCompat.sgml:
17948         * docs/gst/tmpl/old/GstData.sgml:
17949         * docs/gst/tmpl/old/GstElement.sgml:
17950         * docs/gst/tmpl/old/GstEvent.sgml:
17951         * docs/gst/tmpl/old/GstIndex.sgml:
17952         * docs/gst/tmpl/old/GstStructure.sgml:
17953         * docs/gst/tmpl/old/GstTag.sgml:
17954         * docs/gst/tmpl/old/cothreads.sgml:
17955         * docs/gst/tmpl/old/cothreads_compat.sgml:
17956         * docs/gst/tmpl/old/gettext.sgml:
17957         * docs/gst/tmpl/old/gobject2gtk.sgml:
17958         * docs/gst/tmpl/old/grammar.tab.sgml:
17959         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17960         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17961         * docs/gst/tmpl/old/gst_private.sgml:
17962         * docs/gst/tmpl/old/gstaggregator.sgml:
17963         * docs/gst/tmpl/old/gstarch.sgml:
17964         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17965         * docs/gst/tmpl/old/gstbufferstore.sgml:
17966         * docs/gst/tmpl/old/gstdata_private.sgml:
17967         * docs/gst/tmpl/old/gstdisksink.sgml:
17968         * docs/gst/tmpl/old/gstdisksrc.sgml:
17969         * docs/gst/tmpl/old/gstelementfactory.sgml:
17970         * docs/gst/tmpl/old/gstextratypes.sgml:
17971         * docs/gst/tmpl/old/gstfakesink.sgml:
17972         * docs/gst/tmpl/old/gstfakesrc.sgml:
17973         * docs/gst/tmpl/old/gstfdsink.sgml:
17974         * docs/gst/tmpl/old/gstfdsrc.sgml:
17975         * docs/gst/tmpl/old/gstfilesink.sgml:
17976         * docs/gst/tmpl/old/gstfilesrc.sgml:
17977         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17978         * docs/gst/tmpl/old/gstidentity.sgml:
17979         * docs/gst/tmpl/old/gstindexfactory.sgml:
17980         * docs/gst/tmpl/old/gstmarshal.sgml:
17981         * docs/gst/tmpl/old/gstmd5sink.sgml:
17982         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17983         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17984         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17985         * docs/gst/tmpl/old/gstpipefilter.sgml:
17986         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17987         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17988         * docs/gst/tmpl/old/gstshaper.sgml:
17989         * docs/gst/tmpl/old/gstspider.sgml:
17990         * docs/gst/tmpl/old/gstspideridentity.sgml:
17991         * docs/gst/tmpl/old/gststatistics.sgml:
17992         * docs/gst/tmpl/old/gsttee.sgml:
17993         * docs/gst/tmpl/old/gsttimecache.sgml:
17994         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17995         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17996         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17997         * docs/gst/tmpl/old/types.sgml:
17998           I didn't intend to add these or check them in.
17999
18000 2005-05-19  David Schleef  <ds@schleef.org>
18001
18002         * configure.ac: Use -no-common everywhere.  In a sane world, it
18003           would be the default in libtool, because without it, you can't
18004           build DLLs on Windows.
18005         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18006         * docs/gst/gstreamer-sections.txt:
18007         * docs/gst/tmpl/gstcpu.sgml:
18008         * docs/gst/tmpl/gstdata.sgml:
18009         * docs/gst/tmpl/gstthread.sgml:
18010
18011 2005-05-19  David Schleef  <ds@schleef.org>
18012
18013         * gst/gstminiobject.c: (gst_value_set_mini_object),
18014         (gst_value_take_mini_object), (gst_value_get_mini_object):
18015         * gst/gstminiobject.h: Add GValue set/get functions.
18016
18017 2005-05-19  Wim Taymans  <wim@fluendo.com>
18018
18019         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18020         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18021         (gst_subbuffer_init), (gst_buffer_is_span_fast):
18022         * gst/gstbuffer.h:
18023         * gst/gstbus.c: (gst_bus_post):
18024         * gst/gstelement.c: (gst_element_get_random_pad):
18025         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18026         Make subbufer unref the parent in finalize.
18027         some more debugging info.
18028
18029
18030 2005-05-19  Wim Taymans  <wim@fluendo.com>
18031
18032         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18033         (gst_basesink_init), (gst_basesink_finalize),
18034         (gst_basesink_activate), (gst_basesink_change_state):
18035         Don't free preroll queue too early.
18036
18037 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18038
18039         * gst/Makefile.am:
18040         * gst/ROADMAP:
18041           Hi, I'm outdated. Please shoot me.
18042
18043 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18044
18045         * gst/gstpipeline.c: (gst_pipeline_send_event):
18046           Do not access variables after they have been deleted.
18047
18048 2005-05-19  Wim Taymans  <wim@fluendo.com>
18049
18050         * tools/gst-inspect.c: (print_plugin_features):
18051         A plugin feature does unfortunatly not use the
18052         object name yet...
18053
18054 2005-05-18  Wim Taymans  <wim@fluendo.com>
18055
18056         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18057         Port _span() functions to new subbuffers.
18058
18059 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18060
18061         * gst/gstbin.c: (gst_bin_add_func):
18062           Fix clock settery in bins when adding kids after the clock has
18063           been selected.
18064
18065 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18066
18067         * gst/elements/gstidentity.c: (gst_identity_class_init):
18068           Workaround until signals support GstMiniObject.
18069
18070 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18071
18072         * gst/gstbuffer.c:
18073         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18074
18075 2005-05-18  Wim Taymans  <wim@fluendo.com>
18076
18077         * gst/base/Makefile.am:
18078         * gst/base/gstadapter.c: (gst_adapter_base_init),
18079         (gst_adapter_class_init), (gst_adapter_init),
18080         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18081         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18082         (gst_adapter_flush), (gst_adapter_available),
18083         (gst_adapter_available_fast):
18084         * gst/base/gstadapter.h:
18085         Ported and added adapter to the base classes.
18086
18087 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18088
18089         * gst/gst.c:
18090         * gst/gstmessage.c:
18091           Make sure the class is reffed/unreffed once before threads can be
18092           used.  Fixes #304551.
18093
18094 2005-05-17  Wim Taymans  <wim@fluendo.com>
18095
18096         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18097         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18098         * gst/gstminiobject.c: (gst_mini_object_get_type),
18099         (gst_mini_object_free):
18100         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18101         (gst_pad_push), (gst_pad_push_event):
18102         * gst/gstqueue.c: (gst_queue_change_state):
18103         Don't queue buffers in basesink when we are flushing.
18104         Unref buffer when flushing in basesink.
18105         Flush queue when going to READY
18106         Unref buffer when _push() returns an error.
18107         Don't free MiniObject instance when refcount is incremented
18108         in _finalize() so that we can recover objects.
18109
18110 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18111
18112         * docs/manual/advanced-schedulers.xml:
18113         * docs/manual/appendix-checklist.xml:
18114         * docs/pwg/advanced-clock.xml:
18115         * docs/pwg/advanced-interfaces.xml:
18116         * docs/pwg/advanced-request.xml:
18117         * docs/pwg/advanced-types.xml:
18118         * docs/pwg/intro-preface.xml:
18119         * examples/plugins/example.c: (gst_example_get_type),
18120         (gst_example_class_init), (gst_example_chain),
18121         (gst_example_set_property), (gst_example_get_property),
18122         (gst_example_change_state), (plugin_init):
18123         * examples/plugins/example.h:
18124           small doc fixes
18125
18126 2005-05-17  Wim Taymans  <wim@fluendo.com>
18127
18128         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18129         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18130         * gst/gstqueue.c: (gst_queue_change_state):
18131         Clear queue when going to READY.
18132         Remove IN_SETCAPS flag too.
18133
18134 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18135
18136         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18137           Remove implicit cast from gboolean to GstElementStateReturn;
18138           make sure we still return failure in paused => ready case if
18139           the parent class fails to change state and our own stop 
18140           vfunc succeeds.
18141
18142 2005-05-17  Wim Taymans  <wim@fluendo.com>
18143
18144         * tools/gst-launch.c: (event_loop):
18145         Message was unreffed too soon.
18146
18147 2005-05-16  Andy Wingo  <wingo@pobox.com>
18148
18149         * gst/gstbin.c (sink_iterator_filter): Err... um...
18150
18151         * check/gst/gstbin.c (test_ghost_pads): New test for the
18152         ghosting-if-elements-not-in-same-bin behavior.
18153
18154 2005-05-16  David Schleef  <ds@schleef.org>
18155
18156         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18157         accessing refcount directly.
18158
18159 2005-05-15  David Schleef  <ds@schleef.org>
18160
18161         * check/Makefile.am: remove GstData checks
18162         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18163         * gst/Makefile.am: add miniobject, remove data
18164         * gst/gst.h: add miniobject, remove data
18165         * gst/gstdata.c: remove
18166         * gst/gstdata.h: remove
18167         * gst/gstdata_private.h: remove
18168         * gst/gsttypes.h: remove GstEvent and GstMessage
18169         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18170         * gst/gstmarshal.list: change BOXED -> OBJECT
18171
18172         Implement GstMiniObject.
18173         * gst/gstminiobject.c:
18174         * gst/gstminiobject.h:
18175
18176         Modify to be subclasses of GstMiniObject.
18177         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18178         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18179         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18180         (gst_subbuffer_get_type), (gst_subbuffer_init),
18181         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18182         (gst_buffer_span):
18183         * gst/gstbuffer.h:
18184         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18185         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18186         (_gst_event_copy), (gst_event_new):
18187         * gst/gstevent.h:
18188         * gst/gstmessage.c: (_gst_message_initialize),
18189         (gst_message_get_type), (gst_message_class_init),
18190         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18191         (gst_message_new), (gst_message_new_error),
18192         (gst_message_new_warning), (gst_message_new_tag),
18193         (gst_message_new_state_changed), (gst_message_new_application):
18194         * gst/gstmessage.h:
18195         * gst/gstprobe.c: (gst_probe_perform),
18196         (gst_probe_dispatcher_dispatch):
18197         * gst/gstprobe.h:
18198         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18199         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18200         (_gst_query_copy), (gst_query_new):
18201
18202         Update elements for GstData -> GstMiniObject changes
18203         * gst/gstquery.h:
18204         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18205         (gst_queue_chain), (gst_queue_loop):
18206         * gst/elements/gstbufferstore.c:
18207         (gst_buffer_store_add_buffer_func),
18208         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18209         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18210         (gst_fakesink_render):
18211         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18212         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18213         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18214         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18215         (gst_filesrc_create_read):
18216         * gst/elements/gstidentity.c: (gst_identity_class_init):
18217         * gst/elements/gsttypefindelement.c:
18218         (gst_type_find_element_src_event), (free_entry_buffers),
18219         (gst_type_find_element_handle_event):
18220         * libs/gst/dataprotocol/dataprotocol.c:
18221         (gst_dp_header_from_buffer):
18222         * libs/gst/dataprotocol/dataprotocol.h:
18223         * libs/gst/dataprotocol/dp-private.h:
18224
18225 2005-05-15  David Schleef  <ds@schleef.org>
18226
18227         * gst/elements/gstelements.c: Don't include headers that were
18228         just removed.
18229
18230 2005-05-15  David Schleef  <ds@schleef.org>
18231
18232         * gst/elements/Makefile.am: Remove some elements that don't
18233         need to be in the core (or even exist at all).
18234         * gst/elements/gstaggregator.c:
18235         * gst/elements/gstaggregator.h:
18236         * gst/elements/gstmd5sink.c:
18237         * gst/elements/gstmd5sink.h:
18238         * gst/elements/gstmultifilesrc.c:
18239         * gst/elements/gstmultifilesrc.h:
18240         * gst/elements/gstpipefilter.c:
18241         * gst/elements/gstpipefilter.h:
18242         * gst/elements/gstshaper.c:
18243         * gst/elements/gstshaper.h:
18244         * gst/elements/gststatistics.c:
18245         * gst/elements/gststatistics.h:
18246         * po/POTFILES.in: Remove above files.
18247
18248 2005-05-14  Andy Wingo  <wingo@pobox.com>
18249
18250         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18251         so as to get the refs right.
18252         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18253         unreffing objects that don't pass the filter.
18254
18255         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18256         gst_element_set_bus.
18257         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18258         normal cases, this will destroy the bus.
18259
18260         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18261         object.
18262
18263         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18264         has no sinks.
18265
18266 2005-05-13  Andy Wingo  <wingo@pobox.com>
18267
18268         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18269         gst_pad_link, call pad_link_maybe_ghosting,
18270         (pad_link_maybe_ghosting): Links pads, making sure that the
18271         elements being linked are in the same bin.
18272         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18273         Helpers for pad_link_maybe_ghosting.
18274
18275 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18276
18277         * configure.ac:
18278           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18279
18280 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18281
18282         * docs/design/part-element-source.txt:
18283           Mention GstPushSrc
18284
18285 2005-05-12  Wim Taymans  <wim@fluendo.com>
18286
18287         * gst/base/gstbasesink.c: (gst_basesink_init),
18288         (gst_basesink_activate):
18289         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18290         (gst_basesrc_is_seekable):
18291         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18292         (bin_element_is_sink), (gst_bin_change_state):
18293         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18294         * gst/gstelement.h:
18295         Identify sinks by their flag to avoid overly complicated
18296         checks (fow now).
18297         Do state changes even for elements not reachable from the
18298         sinks.
18299         BaseSink is a sink now :)
18300         Some more debugging info in the basesrc.
18301
18302
18303 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18304
18305         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18306           Implement _query on a bin, similar to _send_event.
18307
18308 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18309
18310         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18311           Discont event offset format should be GST_FORMAT_BYTES,
18312           not GST_FORMAT_TIME.
18313
18314 2005-05-12  Wim Taymans  <wim@fluendo.com>
18315
18316         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18317         Same fix as Ronald's but without the signal. 
18318
18319 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18320
18321         * gst/gstutils.c: (gst_element_query_position):
18322           No, an element is not a pad.
18323
18324 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18325
18326         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18327         (gst_bin_get_state):
18328           If a child is removed from a bin while we remove the child from
18329           the bin and while we're retrieving its state, signal this to the
18330           get_state function so we abort the wait (instead of waiting for
18331           a timeout) and can immediately re-iterate over all other elements.
18332
18333 2005-05-12  Wim Taymans  <wim@fluendo.com>
18334
18335         * gst/base/Makefile.am:
18336         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18337         (gst_basesrc_start):
18338         * gst/base/gstbasesrc.h:
18339         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18340         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18341         (gst_pushsrc_init), (gst_pushsrc_create):
18342         * gst/base/gstpushsrc.h:
18343         Added is_seekable to BaseSrc
18344         Added simple PushSrc.
18345
18346 2005-05-11  Wim Taymans  <wim@fluendo.com>
18347
18348         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18349         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18350         (gst_element_link_pads), (gst_element_query_position),
18351         (gst_element_query_convert), (intersect_caps_func),
18352         (gst_pad_query_position), (gst_pad_query_convert):
18353         Fix refcounting in utils function.
18354         No point in trying to activate a pad when it's added, it could
18355         be added from the state change function and then we deadlock, the
18356         element has to decide what to do.
18357
18358 2005-05-10  Andy Wingo  <wingo@pobox.com>
18359
18360         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18361         *all* the arguments.
18362
18363         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18364         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18365         lock (according to the docs -- if this is wrong change the docs).
18366
18367         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18368         flush messages in the NULL state.
18369
18370         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18371         message immediately and return.
18372         (gst_bus_set_flushing): New function. If a bus is flushing, it
18373         flushes out any queued messages and immediately unrefs new
18374         messages. This is so when an element goes to NULL, all of the
18375         unhandled messages coming from it can be freed, and their
18376         references to the element dropped. In other words: message source
18377         ref considered harmful :P
18378
18379         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18380         we're finished with it.
18381
18382         * gst/gstmessage.c (gst_message_new_state_changed): 
18383
18384 2005-05-10  Wim Taymans  <wim@fluendo.com>
18385
18386         * gst/gstvalue.c: (gst_value_compare_flags),
18387         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18388         (_gst_value_initialize):
18389         Added flags serialize/deserialize/compare code.
18390
18391 2005-05-09  Andy Wingo  <wingo@pobox.com>
18392
18393         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18394         Intersect the peer's caps with our caps.
18395
18396 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18397
18398         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18399         * gst/elements/gsttypefindelement.c: (find_peek):
18400           Handle negative offsets better. Fixes decodebin.
18401
18402 2005-05-09  Wim Taymans  <wim@fluendo.com>
18403
18404         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18405         (gst_base_transform_event):
18406         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18407         Implement accept_caps.
18408         Fix silly lock/unlock mismatch in base class.
18409
18410 2005-05-09  Wim Taymans  <wim@fluendo.com>
18411
18412         * docs/design/draft-push-pull.txt:
18413         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18414         * gst/elements/gstfilesink.c: (gst_filesink_init),
18415         (gst_filesink_query):
18416         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18417         (gst_type_find_handle_src_query), (find_element_get_length):
18418         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18419         * gst/gstelement.h:
18420         * gst/gstmessage.c:
18421         * gst/gstmessage.h:
18422         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18423         (gst_real_pad_get_caps_unlocked),
18424         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18425         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18426         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18427         (gst_real_pad_dispose), (gst_real_pad_finalize),
18428         (gst_pad_load_and_link), (gst_pad_save_thyself),
18429         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18430         (gst_pad_check_pull_range), (gst_pad_pull_range),
18431         (gst_pad_template_get_type), (gst_pad_template_class_init),
18432         (gst_pad_template_init), (gst_pad_template_dispose),
18433         (name_is_valid), (gst_static_pad_template_get),
18434         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18435         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18436         (gst_pad_get_element_private), (gst_pad_start_task),
18437         (gst_pad_pause_task), (gst_pad_stop_task),
18438         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18439         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18440         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18441         (gst_ghost_pad_new):
18442         * gst/gstpad.h:
18443         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18444         (gst_query_new_position), (gst_query_set_position),
18445         (gst_query_parse_position), (gst_query_new_convert),
18446         (gst_query_set_convert), (gst_query_parse_convert):
18447         * gst/gstquery.h:
18448         * gst/gstqueryutils.c:
18449         * gst/gstqueryutils.h:
18450         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18451         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18452         (gst_queue_handle_src_query):
18453         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18454         (gst_element_query_position), (gst_element_query_convert),
18455         (intersect_caps_func), (gst_pad_query_position),
18456         (gst_pad_query_convert):
18457         * gst/gstutils.h:
18458         * tools/gst-inspect.c: (print_pad_info):
18459         * tools/gst-xmlinspect.c: (print_element_info):
18460         Remove old query functions. Ported old code.
18461         Added position/convert helper functions to gstutils.
18462         Reordered gstpad.c code, grouping relevant things.
18463         Remove gst_message_new(), always need to speficy a specific
18464         message.
18465
18466
18467 2005-05-09  Andy Wingo  <wingo@pobox.com>
18468
18469         * gst/gstiterator.h: Add some includes.
18470
18471         * gst/gstqueryutils.h: Include more headers.
18472
18473         * gst/gstpad.h:
18474         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18475         some uses of gst_pad_query.
18476
18477         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18478         NULL out parameters.
18479         (gst_query_new_position): New proc, allocates a new position
18480         query.
18481
18482         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18483         gstqueryutils.c to the build.
18484
18485         * gst/gststructure.c (gst_structure_set_valist): Implement with
18486         the generic G_VALUE_COLLECT.
18487         
18488 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18489
18490         * gst/Makefile.am: (gst_headers):
18491         Added gstqueryutils.h to the list of headers to install, that was
18492         a 'nachty' move wingo :)
18493
18494 2005-05-06  Andy Wingo  <wingo@pobox.com>
18495
18496         * gst/gstquery.h
18497         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18498         GstData, init a memchunk.
18499         (standard_definitions): Add a few query types, deprecate a few.
18500         (gst_query_get_type): New proc.
18501         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18502         implementation.
18503         (gst_query_new_application, gst_query_get_structure): New public
18504         procs.
18505
18506         * docs/design/draft-query.txt: Removed LINKS from the query types,
18507         because all the rest can be dispatched to other pads -- seemed
18508         ugly to have a query that couldn't be dispatched. internal_links
18509         is fine as a pad method.
18510
18511         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18512         in gstpad.c, but maintain binary compatibility for the moment.
18513         Will fix before 0.9 is out.
18514
18515         * gst/gstqueryutils.c: 
18516         * gst/gstqueryutils.h: New files, implement 3 methods for each
18517         query type: parse_query, parse_response, and set. Probably need an
18518         allocator as well.
18519
18520         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18521
18522         * gst/elements/gstfilesink.c (gst_filesink_query2):
18523         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18524         query_types, and formats methods.
18525
18526         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18527         (gst_pad_set_query2_function): New functions.
18528         (gst_real_pad_init): Set query2_default as the default query2
18529         function. Basically just dispatches to internally linked pads.
18530
18531         Needs review!
18532         
18533         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18534         without using the atomic operations. Only one thread can possibly
18535         be accessing the data at this point. Changed so as to avoid
18536         gst_atomic operations.
18537
18538 2005-05-06  Wim Taymans  <wim@fluendo.com>
18539
18540         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18541         Also set caps if we use the fallback buffer alloc.
18542
18543 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18544
18545         * docs/gst/Makefile.am:
18546         * docs/gst/gstreamer-docs.sgml:
18547         * docs/gst/gstreamer-sections.txt:
18548         * docs/gst/tmpl/gstatomic.sgml:
18549         * docs/gst/tmpl/gstmemchunk.sgml:
18550         * testsuite/elements/struct_i386.h:
18551         * win32/GStreamer.vcproj:
18552         * win32/Makefile:
18553           Purge GstAtomic stuff from docs and win32 makefiles as well
18554
18555 2005-05-06  Wim Taymans  <wim@fluendo.com>
18556
18557         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18558         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18559         * gst/gstpad.c: (gst_pad_peer_get_caps):
18560         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18561         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18562         (gst_queue_src_activate), (gst_queue_change_state):
18563         * gst/gstqueue.h:
18564         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18565         (intersect_caps_func):
18566         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18567         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18568         Some fixes for the peer_get_caps() change.
18569
18570 2005-05-06  Wim Taymans  <wim@fluendo.com>
18571
18572         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18573         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18574         (gst_basesink_activate):
18575         Actually do something with error codes returned from the push
18576         functions.
18577
18578 2005-05-06  Wim Taymans  <wim@fluendo.com>
18579
18580         * docs/design/part-element-sink.txt:
18581         * docs/design/part-element-source.txt:
18582         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18583         (gst_basesink_event), (gst_basesink_activate):
18584         * gst/base/gstbasesink.h:
18585         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18586         (gst_basesrc_activate):
18587         * gst/base/gstbasesrc.h:
18588         * gst/gstelement.c: (gst_element_pads_activate):
18589         Some more documentation.
18590         Fixed scheduling decision in _pads_activate().
18591
18592 2005-05-05  Andy Wingo  <wingo@pobox.com>
18593
18594         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18595         the test suite.
18596
18597 2005-05-05  Wim Taymans  <wim@fluendo.com>
18598
18599         * gst/base/Makefile.am:
18600         * gst/base/gstbasesink.h:
18601         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18602         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18603         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18604         (gst_collectpads_class_init), (gst_collectpads_init),
18605         (gst_collectpads_finalize), (gst_collectpads_new),
18606         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18607         (find_pad), (gst_collectpads_remove_pad),
18608         (gst_collectpads_is_active), (gst_collectpads_collect),
18609         (gst_collectpads_collect_range), (gst_collectpads_start),
18610         (gst_collectpads_stop), (gst_collectpads_peek),
18611         (gst_collectpads_pop), (gst_collectpads_available),
18612         (gst_collectpads_read), (gst_collectpads_flush),
18613         (gst_collectpads_chain):
18614         * gst/base/gstcollectpads.h:
18615         * gst/elements/Makefile.am:
18616         * gst/elements/gstelements.c:
18617         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18618         (gst_fakesink_get_times), (gst_fakesink_event),
18619         (gst_fakesink_preroll), (gst_fakesink_render):
18620         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18621         (gst_filesink_init), (gst_filesink_set_location),
18622         (gst_filesink_open_file), (gst_filesink_close_file),
18623         (gst_filesink_pad_query), (gst_filesink_event),
18624         (gst_filesink_render), (gst_filesink_change_state):
18625         * gst/elements/gstfilesink.h:
18626         Added object to help in making collect pad based elements.
18627         Ported filesink.
18628         Make event function in sink baseclass return gboolean.
18629
18630 2005-05-05  Wim Taymans  <wim@fluendo.com>
18631
18632         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18633         (gst_bin_get_by_name):
18634         * gst/gstbuffer.h:
18635         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18636         (gst_clock_finalize):
18637         * gst/gstdata.c: (gst_data_replace):
18638         * gst/gstdata.h:
18639         * gst/gstelement.c: (gst_element_request_pad),
18640         (gst_element_pads_activate):
18641         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18642         (gst_object_unref):
18643         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18644         (gst_pad_set_checkgetrange_function),
18645         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18646         (gst_pad_check_pull_range), (gst_pad_pull_range),
18647         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18648         (gst_pad_pause_task), (gst_pad_stop_task):
18649         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18650         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18651         Fix name lookup in GstBin.
18652         Added _data_replace() function and _buffer_replace()
18653         Use finalize method to clean up clock.
18654         Fix refcounting on request pads.
18655         Fix pad schedule mode error.
18656         Some more object refcounting debug info,
18657
18658
18659 2005-05-04  Andy Wingo <wingo@pobox.com>
18660
18661         * check/Makefile.am:
18662         * docs/gst/tmpl/gstatomic.sgml:
18663         * docs/gst/tmpl/gstplugin.sgml:
18664         * gst/base/gstbasesink.c: (gst_basesink_activate):
18665         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18666         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18667         (gst_basesrc_query), (gst_basesrc_set_property),
18668         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18669         (gst_basesrc_activate):
18670         * gst/base/gstbasesrc.h:
18671         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18672         (gst_base_transform_src_activate):
18673         * gst/elements/gstelements.c:
18674         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18675         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18676         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18677         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18678         (gst_type_find_element_checkgetrange),
18679         (gst_type_find_element_activate):
18680         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18681         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18682         (gst_caps_load_thyself):
18683         * gst/gstelement.c: (gst_element_pads_activate),
18684         (gst_element_save_thyself), (gst_element_restore_thyself):
18685         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18686         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18687         * gst/gstpad.h:
18688         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18689         (gst_xml_parse_file), (gst_xml_parse_memory),
18690         (gst_xml_get_element), (gst_xml_make_element):
18691         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18692         (_file_index_id_save_xml), (gst_file_index_commit):
18693         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18694         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18695         (load_paths):
18696         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18697         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18698         * tools/gst-complete.c: (main):
18699         * tools/gst-compprep.c: (main):
18700         * tools/gst-inspect.c: (print_element_properties_info):
18701         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18702         * tools/gst-xmlinspect.c: (print_element_properties):
18703         GCC 4 fixen.
18704         
18705 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18706
18707         * gst/gstplugin.c: (gst_plugin_check_module),
18708         (gst_plugin_check_file), (gst_plugin_load_file):
18709             apply patch from #172526 to make register work on MacOSX
18710
18711 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18712
18713         * docs/gst/tmpl/gstconfig.sgml:
18714         * gst/gstconfig.h.in:
18715           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18716         * testsuite/debug/printf_extension.c: (main):
18717           Do not use GST_PTR_FORMAT on pointers to types with
18718           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18719         * testsuite/elements/property.h:
18720           use correct printf format
18721
18722 2005-05-02  Wim Taymans  <wim@fluendo.com>
18723
18724         * docs/design/draft-push-pull.txt:
18725         * docs/design/draft-query.txt:
18726         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18727         (gst_basesrc_start):
18728         Added draft for new query API.
18729         Added draft for better selecting scheduling methods.
18730         Make basesrc ignore length if the subclass does not support
18731         it.
18732
18733 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18734
18735         * gst/Makefile.am:
18736           possible fixes for automake-1.5 - _LIBADD is reserved
18737
18738 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18739
18740         * docs/faq/Makefile.am:
18741         * docs/manual/Makefile.am:
18742         * docs/manuals.mak:
18743         * docs/pwg/Makefile.am:
18744         * gst/Makefile.am:
18745           possible fixes for automake-1.5
18746
18747 2005-04-28  Wim Taymans  <wim@fluendo.com>
18748
18749         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18750         (gst_basesink_pad_getcaps), (gst_basesink_init),
18751         (gst_basesink_do_sync):
18752         * gst/gstclock.c: (gst_clock_entry_new):
18753         * gst/gstevent.c: (gst_event_discont_get_value):
18754         * gst/gstpipeline.c: (pipeline_bus_handler),
18755         (gst_pipeline_change_state):
18756         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18757         Better debugging of clocking info.
18758         Allow NULL values when getting discont values.
18759
18760 2005-04-27  Wim Taymans  <wim@fluendo.com>
18761
18762         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18763         * check/gst/gstpad.c: (gst_pad_suite):
18764         Increase timeout for checks.
18765
18766 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18767
18768         * check/Makefile.am:
18769           fix the broken rule for cleanup.  Apparently this rule is
18770           only needed on FC2, so maybe this warrants further autotool
18771           inspection.
18772
18773 2005-04-26  Wim Taymans  <wim@fluendo.com>
18774
18775         * gst/gsttrashstack.h:
18776         Ooohh. a nasty one! After having a failed pop() from the stack,
18777         it's possible that the stack is empty. In that case, don't
18778         follow the NULL pointer.
18779
18780 2005-04-25  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18783         (gst_pad_set_checkgetrange_function),
18784         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18785         (gst_pad_check_pull_range), (gst_pad_pull_range),
18786         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18787         (gst_pad_pause_task), (gst_pad_stop_task):
18788         * gst/gstplugin.c: (gst_plugin_load):
18789         * gst/gstplugin.h:
18790         Remove gst_library_load as it does more harm than good with
18791         the new g_module flags.
18792         Revert bogus caps template check in pad linking, pad caps
18793         are important when linking not the template, which is more
18794         general than the current caps.
18795
18796 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18797
18798         * gst/autoplug/.cvsignore:
18799         * gst/autoplug/Makefile.am:
18800         * gst/autoplug/gstsearchfuncs.c:
18801         * gst/autoplug/gstsearchfuncs.h:
18802         * gst/autoplug/gstspider.c:
18803         * gst/autoplug/gstspider.h:
18804         * gst/autoplug/gstspideridentity.c:
18805         * gst/autoplug/gstspideridentity.h:
18806         * gst/autoplug/spidertest.c:
18807           Die, spider, die.
18808
18809 2005-04-25  Wim Taymans  <wim@fluendo.com>
18810
18811         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18812         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18813         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18814         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18815         * gst/gstpad.h:
18816         Added stubs for unimplemented functions. 
18817
18818 2005-04-24  David Schleef  <ds@schleef.org>
18819
18820         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18821         please fix.
18822
18823 2005-04-24  David Schleef  <ds@schleef.org>
18824
18825         Convert everything from GstAtomicInt to g_atomic_int_*, and
18826         remove gstatomic.
18827         * gst/Makefile.am:
18828         * gst/gstatomic.c:
18829         * gst/gstatomic.h:
18830         * gst/gstatomic_impl.h:
18831         * gst/gstbuffer.c:
18832         * gst/gstcaps.c:
18833         * gst/gstcaps.h:
18834         * gst/gstclock.c:
18835         * gst/gstclock.h:
18836         * gst/gstdata.c:
18837         * gst/gstdata.h:
18838         * gst/gstdata_private.h:
18839         * gst/gstevent.c:
18840         * gst/gstinfo.c:
18841         * gst/gstinfo.h:
18842         * gst/gstmessage.c:
18843         * gst/gstobject.c:
18844         * gst/gstobject.h:
18845         * gst/gststructure.c:
18846         * gst/gststructure.h:
18847         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18848         * gst/gstutils.h:
18849
18850 2005-04-24  David Schleef  <ds@schleef.org>
18851
18852         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18853         make the regressions tests work.  Remove some code that is no
18854         longer true.
18855         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18856         Disable warning for pads without templates.
18857
18858 2005-04-24  David Schleef  <ds@schleef.org>
18859
18860         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18861         functions that handle filtered links.
18862         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18863         removed functions.
18864         * gst/gstutils.c: Fix/remove utility functions that handle
18865         filtered caps.
18866         * gst/gstutils.h:
18867         * gst/gstvalue.c: Add serialization/deserialization of caps
18868         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18869         requires fixing so that the filter caps notation creates
18870         a capsfilter element and sets the filter_caps property.  I
18871         think everyone probably wants to keep the shorthand notation.
18872         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18873         * docs/gst/tmpl/gstpad.sgml:
18874
18875         * gst/elements/gstelements.c: Register capsfilter element.
18876         * gst/Makefile.am: fix spacing
18877         * docs/random/ds/0.9-suggested-changes: random
18878
18879 2005-04-23  David Schleef  <ds@schleef.org>
18880
18881         * gst/elements/Makefile.am:
18882         * gst/elements/gstcapsfilter.c: New element that acts like an
18883         identity, but filters caps.  Will eventually replace filtered
18884         caps in pad linking.
18885         * gst/gstutils.c: (gst_element_create_all_pads): New function
18886         to create all the ALWAYS pads that are registered with an
18887         element class.  This functionality should eventually be
18888         merged in with GstElement initialization.
18889         * gst/gstutils.h:
18890         * testsuite/trigger/README: part of trigger test code that should
18891         have been checked in a long time ago.
18892
18893 2005-04-23  David Schleef  <ds@schleef.org>
18894
18895         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18896         needed with new versions of libtool (nobody will confirm this),
18897         and hard to carry around.
18898         * gst/autoplug/Makefile.am:
18899         * gst/base/Makefile.am:
18900         * gst/elements/Makefile.am:
18901         * gst/indexers/Makefile.am:
18902         * gst/schedulers/Makefile.am:
18903         * libs/gst/bytestream/Makefile.am:
18904         * libs/gst/control/Makefile.am:
18905         * libs/gst/dataprotocol/Makefile.am:
18906         * libs/gst/getbits/Makefile.am:
18907
18908 2005-04-21  Wim Taymans  <wim@fluendo.com>
18909
18910         * docs/design/draft-push-pull.txt:
18911         * docs/design/part-MT-refcounting.txt:
18912         * docs/design/part-TODO.txt:
18913         * docs/design/part-caps.txt:
18914         * docs/design/part-events.txt:
18915         * docs/design/part-gstbus.txt:
18916         * docs/design/part-gstpipeline.txt:
18917         * docs/design/part-messages.txt:
18918         * docs/design/part-push-pull.txt:
18919         * docs/design/part-query.txt:
18920         Some more docs.
18921
18922 2005-04-21  Wim Taymans  <wim@fluendo.com>
18923
18924         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18925         (gst_message_new), (gst_message_new_error),
18926         (gst_message_new_warning), (gst_message_new_tag),
18927         (gst_message_new_state_changed), (gst_message_new_application),
18928         (gst_message_get_structure):
18929         * gst/gstmessage.h:
18930         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18931         (gst_structure_copy_conditional):
18932         Use parent refcount in GstMessage to ensure GstStructure
18933         consistency.
18934         Cleaned up headers a bit.
18935         
18936
18937 2005-04-20  Wim Taymans  <wim@fluendo.com>
18938
18939         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18940         (gst_basesink_pad_getcaps), (gst_basesink_init),
18941         (gst_basesink_chain_unlocked):
18942         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18943         (gst_type_find_helper):
18944         * gst/elements/gsttypefindelement.c:
18945         (gst_type_find_element_have_type), (gst_type_find_element_init),
18946         (stop_typefinding), (gst_type_find_element_handle_event),
18947         (find_suggest), (gst_type_find_element_chain),
18948         (gst_type_find_element_checkgetrange),
18949         (gst_type_find_element_getrange), (do_typefind),
18950         (gst_type_find_element_activate):
18951         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18952         (gst_buffer_default_free), (gst_buffer_default_copy),
18953         (gst_buffer_set_caps):
18954         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18955         (gst_caps_replace):
18956         * gst/gstmessage.c: (gst_message_new),
18957         (gst_message_new_state_changed):
18958         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18959         (gst_pad_set_checkgetrange_function),
18960         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18961         (gst_pad_set_caps), (gst_pad_check_pull_range),
18962         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18963         * gst/gstpad.h:
18964         * gst/gsttypefind.c: (gst_type_find_register):
18965         Make gst_caps_replace() work like other _replace() functions.
18966         Use _caps_replace() where possible.
18967         Make sure _message_new() initialises its field.
18968         Add gst_static_pad_template_get_caps()
18969
18970
18971 2005-04-18  Andy Wingo  <wingo@pobox.com>
18972
18973         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18974         on the peer, not the pad. I think that was a typo. Pass an extra
18975         arg to see if random access is possible. Activate the pads as
18976         PULL_RANGE if possible.
18977
18978         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18979
18980         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18981         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18982         to PROP_....
18983
18984 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18985
18986         * docs/faq/using.xml:
18987           Add note on gstreamer-properties (#154996).
18988
18989 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18990
18991         * docs/random/bbb/optional-properties:
18992           Some analysis on optional properties.
18993
18994 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18995
18996         * docs/gst/tmpl/gstelementfactory.sgml:
18997         * gst/gstelement.h:
18998         * gst/gstelementfactory.c: (gst_element_factory_init),
18999         (gst_element_factory_cleanup), (gst_element_register),
19000         (__gst_element_factory_add_static_pad_template),
19001         (gst_element_factory_get_static_pad_templates),
19002         (gst_element_factory_can_src_caps),
19003         (gst_element_factory_can_sink_caps):
19004         * gst/registries/Makefile.am:
19005         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19006         (gst_xml_registry_class_init), (gst_xml_registry_init),
19007         (gst_xml_registry_new), (gst_xml_registry_set_property),
19008         (gst_xml_registry_get_property), (get_time), (make_dir),
19009         (gst_xml_registry_get_perms_func),
19010         (plugin_times_older_than_recurse), (plugin_times_older_than),
19011         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19012         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19013         (add_to_char_array), (read_string), (read_uint), (read_enum),
19014         (load_pad_template), (load_feature), (load_plugin), (load_paths),
19015         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19016         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19017         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19018         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19019         (gst_xml_registry_rebuild):
19020         * gst/registries/gstlibxmlregistry.h:
19021         * tools/gst-compprep.c: (main):
19022         * tools/gst-inspect.c: (print_pad_templates_info):
19023         * tools/gst-xmlinspect.c: (print_element_info):
19024           Use libxml2 for registry parsing, use staticpadtemplates in
19025           elementfactories. Makes gst_init() +/- 10x faster.
19026
19027 2005-04-12  Wim Taymans  <wim@fluendo.com>
19028
19029         * gst/base/Makefile.am:
19030         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19031         (gst_basesink_pad_getcaps), (gst_basesink_init),
19032         (gst_basesink_event), (gst_basesink_change_state):
19033         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19034         (gst_basesrc_init), (gst_basesrc_query),
19035         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19036         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19037         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19038         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19039         (gst_basesrc_stop), (gst_basesrc_activate),
19040         (gst_basesrc_change_state):
19041         * gst/base/gsttypefindhelper.c: (helper_find_peek),
19042         (helper_find_suggest), (gst_type_find_helper):
19043         * gst/base/gsttypefindhelper.h:
19044         * gst/elements/Makefile.am:
19045         * gst/elements/gstelements.c:
19046         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19047         (gst_fakesink_get_times), (gst_fakesink_event),
19048         (gst_fakesink_preroll), (gst_fakesink_render):
19049         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19050         (gst_fakesrc_init), (gst_fakesrc_event_handler),
19051         (gst_fakesrc_get_property), (gst_fakesrc_create),
19052         (gst_fakesrc_start), (gst_fakesrc_stop):
19053         * gst/elements/gstfakesrc.h:
19054         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19055         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19056         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19057         (gst_filesrc_create_read), (gst_filesrc_create),
19058         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19059         (gst_filesrc_start):
19060         * gst/elements/gsttypefindelement.c:
19061         (gst_type_find_element_have_type), (gst_type_find_element_init),
19062         (start_typefinding), (stop_typefinding), (push_buffer_store),
19063         (gst_type_find_element_handle_event),
19064         (gst_type_find_element_chain),
19065         (gst_type_find_element_checkgetrange),
19066         (gst_type_find_element_getrange), (do_typefind),
19067         (gst_type_find_element_activate),
19068         (gst_type_find_element_change_state):
19069         * gst/elements/gsttypefindelement.h:
19070         * gst/gstpipeline.c: (pipeline_bus_handler):
19071         Added typefind helper.
19072         Small preroll fix in the base sink.
19073         Disable typefind code in basesrc.
19074         Crude port of typefindelement.
19075         Fakesrc cleanups.
19076
19077
19078 2005-04-11  Wim Taymans  <wim@fluendo.com>
19079
19080         * check/gst/gstbus.c: (gstbus_suite):
19081         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19082         * check/gstcheck.h:
19083           Fix up the timeout so that the test does not fail.
19084
19085 2005-04-06  Wim Taymans  <wim@fluendo.com>
19086
19087         * gst/base/README:
19088         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19089         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19090         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19091         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19092         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19093         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19094         (gst_basesrc_stop), (gst_basesrc_activate),
19095         (gst_basesrc_change_state), (basesrc_find_peek),
19096         (basesrc_find_suggest), (gst_basesrc_type_find):
19097         * gst/base/gstbasesrc.h:
19098         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19099         (gst_filesrc_class_init), (gst_filesrc_init),
19100         (gst_filesrc_finalize), (gst_filesrc_set_location),
19101         (gst_filesrc_set_property), (gst_filesrc_get_property),
19102         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19103         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19104         (gst_filesrc_create_read), (gst_filesrc_create),
19105         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19106         * gst/elements/gstfilesrc.h:
19107         * gst/gstelement.c: (gst_element_get_state_func),
19108         (gst_element_lost_state), (gst_element_pads_activate):
19109         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19110         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19111         (gst_pad_pull_range):
19112         * gst/gstpad.h:
19113         More work on the generic source base class, implement seeking,
19114         query.
19115         Make filesrc extend the base source class.
19116         Added gst_pad_set_checkgetrange_function to GstPad.
19117
19118 2005-04-06  Andy Wingo  <wingo@pobox.com>
19119
19120         * pkgconfig/gstreamer-base.pc.in:
19121         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19122
19123         * pkgconfig/Makefile.am:
19124         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19125
19126 2005-04-04  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/base/Makefile.am:
19129         * gst/base/README:
19130         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19131         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19132         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19133         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19134         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19135         (gst_basesrc_base_init), (gst_basesrc_class_init),
19136         (gst_basesrc_init), (gst_basesrc_get_formats),
19137         (gst_basesrc_get_query_types), (gst_basesrc_query),
19138         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19139         (gst_basesrc_set_property), (gst_basesrc_get_property),
19140         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19141         (gst_basesrc_loop), (gst_basesrc_activate),
19142         (gst_basesrc_change_state):
19143         * gst/base/gstbasesrc.h:
19144         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19145         (gst_fakesrc_class_init), (gst_fakesrc_init),
19146         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19147         (gst_fakesrc_get_property), (gst_fakesrc_create):
19148         * gst/elements/gstfakesrc.h:
19149         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19150         (gst_filesrc_open_file), (gst_filesrc_loop),
19151         (gst_filesrc_activate), (filesrc_find_peek),
19152         (gst_filesrc_type_find):
19153         Made base source class, make fakesrc extend it.
19154         Add comments to basesink class.
19155         Some filesrc cleanup.
19156
19157 2005-03-31  David Schleef  <ds@schleef.org>
19158
19159         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19160         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19161         expected to link against libgstreamer.
19162         * gst/base/Makefile.am: link against libgstreamer
19163         * gst/elements/Makefile.am: same
19164
19165 2005-03-31  Andy Wingo  <wingo@pobox.com>
19166
19167         * tests/instantiate/Makefile.am:
19168         * tests/instantiate/caps.c: Add test to test speed of caps copy
19169         and free.
19170
19171         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19172         GMemChunk to be fair.
19173
19174         * gst/gsttrashstack.h: Remove warning about using the fallback
19175         trash stack implementation, it's still faster than malloc.
19176
19177 2005-03-30  Andy Wingo  <wingo@pobox.com>
19178
19179         * tests/complexity.c: Add a copyright.
19180
19181 2005-03-31  Wim Taymans  <wim@fluendo.com>
19182
19183         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19184         (gst_base_transform_class_init), (gst_base_transform_init),
19185         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19186         (gst_base_transform_get_property),
19187         (gst_base_transform_sink_activate),
19188         (gst_base_transform_src_activate),
19189         (gst_base_transform_change_state):
19190         * gst/base/gstbasetransform.h:
19191         * gst/elements/gstidentity.c: (gst_identity_class_init),
19192         (gst_identity_event), (gst_identity_check_perfect),
19193         (gst_identity_transform), (gst_identity_start),
19194         (gst_identity_stop):
19195         Added start/stop methods to transform base class so subclasses 
19196         don't need to deal with state changes even.
19197
19198 2005-03-31  Wim Taymans  <wim@fluendo.com>
19199
19200         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19201         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19202         * gst/gstevent.h:
19203         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19204         (gst_pad_pull_range):
19205         Added rate to the discont event to prepare for variable speed
19206         and reverse playback.
19207
19208 2005-03-29  David Schleef  <ds@schleef.org>
19209
19210         * configure.ac:
19211         * testsuite/trigger/Makefile.am:
19212         * testsuite/trigger/trigger.c: A little example program to show
19213         how trigger-based elements can work.
19214
19215 2005-03-29  Wim Taymans  <wim@fluendo.com>
19216
19217         * gst/base/Makefile.am:
19218         * gst/base/README:
19219         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19220         (gst_basesink_base_init), (gst_basesink_class_init),
19221         (gst_basesink_pad_getcaps), (gst_basesink_init),
19222         (gst_basesink_activate), (gst_basesink_change_state):
19223         * gst/base/gstbasesink.h:
19224         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19225         (gst_base_transform_base_init), (gst_base_transform_finalize),
19226         (gst_base_transform_class_init), (gst_base_transform_init),
19227         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19228         (gst_base_transform_event), (gst_base_transform_getrange),
19229         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19230         (gst_base_transform_set_property),
19231         (gst_base_transform_get_property),
19232         (gst_base_transform_sink_activate),
19233         (gst_base_transform_src_activate),
19234         (gst_base_transform_change_state):
19235         * gst/base/gstbasetransform.h:
19236         * gst/elements/gstidentity.c: (gst_identity_finalize),
19237         (gst_identity_class_init), (gst_identity_init),
19238         (gst_identity_event), (gst_identity_check_perfect),
19239         (gst_identity_transform), (gst_identity_set_property),
19240         (gst_identity_get_property), (gst_identity_change_state):
19241         * gst/elements/gstidentity.h:
19242         * gst/gstelement.c: (gst_element_get_state_func),
19243         (gst_element_lost_state), (gst_element_pads_activate):
19244         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19245         (gst_pad_check_pull_range), (gst_pad_pull_range):
19246         * gst/gstpad.h:
19247         Simplify pad activation.
19248         Added function to check if pull_range can be performed.
19249         Error out when pulling inactive or flushing pads.
19250         Removed const from refcounted types as it does not make sense.
19251         Simplify pad templates in basesink
19252         Added base class for simple 1-to-1 transforms.
19253         Make identity subclass the base transform.
19254
19255 2005-03-29  Andy Wingo  <wingo@pobox.com>
19256
19257         * docs/libs/gstreamer-libs-overrides.txt: 
19258         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19259         really don't understand what's going on, but like whatever. I want
19260         green buildbot!
19261
19262         * docs/gst/Makefile.am:
19263         * docs/libs/Makefile.am: Dist the overrides files.
19264
19265         * check/Makefile.am (clean-local): Remove .libs directories.
19266
19267         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19268         elements to EXTRA_DIST, so po/ files are happy.
19269
19270         * po/POTFILES.in: Er, remove it here.
19271
19272         * po/POTFILES: Remove gstspider.c.
19273
19274         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19275
19276         * docs/libs/gstreamer-libs-docs.sgml: 
19277         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19278         bytestream.
19279
19280         * tests/complexity.c (main): Set the length of the preroll queue
19281         on the sinks to prevent a lockup.
19282
19283         * libs/gst/dataprotocol/Makefile.am: 
19284         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19285         the same as the one in check/gst-libs/gdp.c.
19286
19287         * po/, docs/gst/: Commit automatic changes to docs and po files.
19288
19289         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19290         the versioned libgstbase.
19291
19292         * check/Makefile.am: Depend on an unversioned gst-register, seems
19293         to make autoconf happier.
19294
19295         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19296
19297 2005-03-28  Wim Taymans  <wim@fluendo.com>
19298
19299         * configure.ac:
19300         * docs/design/part-gstelement.txt:
19301         * docs/design/part-negotiation.txt:
19302         * docs/design/part-preroll.txt:
19303         * docs/design/part-scheduling.txt:
19304         * docs/design/part-states.txt:
19305         * gst/Makefile.am:
19306         * gst/base/Makefile.am:
19307         * gst/base/README:
19308         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19309         (gst_basesink_base_init), (gst_basesink_class_init),
19310         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19311         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19312         (gst_basesink_set_pad_functions),
19313         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19314         (gst_basesink_set_property), (gst_basesink_get_property),
19315         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19316         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19317         (gst_basesink_preroll_queue_push),
19318         (gst_basesink_preroll_queue_empty),
19319         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19320         (gst_basesink_event), (gst_basesink_get_times),
19321         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19322         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19323         (gst_basesink_loop), (gst_basesink_activate),
19324         (gst_basesink_change_state):
19325         * gst/base/gstbasesink.h:
19326         * gst/elements/Makefile.am:
19327         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19328         (gst_fakesink_class_init), (gst_fakesink_init),
19329         (gst_fakesink_set_property), (gst_fakesink_get_property),
19330         (gst_fakesink_get_times), (gst_fakesink_event),
19331         (gst_fakesink_preroll), (gst_fakesink_render),
19332         (gst_fakesink_change_state):
19333         * gst/elements/gstfakesink.h:
19334         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19335         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19336         * gst/gstelement.c: (gst_element_add_pad),
19337         (gst_element_get_state_func), (gst_element_abort_state),
19338         (gst_element_commit_state), (gst_element_lost_state),
19339         (gst_element_set_state), (gst_element_pads_activate):
19340         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19341         * gst/gstpipeline.c: (gst_pipeline_send_event),
19342         (gst_pipeline_change_state):
19343         Added state change code.
19344         Added/updated docs.
19345         Added sink base class, make fakesink extend the base class.
19346         Small cleanups in GstPipeline.
19347
19348 2005-03-26  David Schleef  <ds@schleef.org>
19349
19350         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19351         is broken and should be implemented in a different library.
19352         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19353         * gst/gst.h: remove gstcpu.h
19354         * gst/gstcpu.c: remove
19355         * gst/gstcpu.h: remove
19356         * gst/Makefile.am.future: Remove this file.  It's ancient.
19357
19358 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19359
19360         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19361         (gst_bin_send_event):
19362           Add default event/set_manager handlers. The set_manager handler
19363           takes care that the manager is distributed over kids that were
19364           already in the bin before the manager was set. The event handler
19365           is a utility virtual function that sends the event over all sinks,
19366           so that gst_element_send_event (bin, event); has the expected
19367           behaviour.
19368         * gst/gstpad.c: (gst_pad_event_default):
19369           Re-install default event handling for discontinuities, so that
19370           seeking works without requiring hacks in applications or extra
19371           code in sinks.
19372         * gst/gstpipeline.c: (gst_pipeline_class_init),
19373         (gst_pipeline_send_event):
19374           Half hack, half utility: set a pipeline to PAUSED for seek events,
19375           since that is the only way we can guarantee a/v sync. Means that
19376           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19377           and it "just works".
19378
19379 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19380
19381         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19382           Lock/unlock mismatch.
19383
19384 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19385
19386         * docs/faq/gst-uninstalled:
19387           add gst-plugins-base
19388         * docs/gst/Makefile.am:
19389           don't error out until docs are fixed
19390         * docs/gst/gstreamer.types:
19391           remove thread
19392
19393 2005-03-22  Wim Taymans  <wim@fluendo.com>
19394
19395         * check/Makefile.am:
19396         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19397         * gst/gststructure.c: (gst_structure_set_valist),
19398         (gst_structure_copy_conditional):
19399         Activated more tests.
19400         Added message test.
19401         Added G_TYPE_POINTER to GstStructure.
19402         
19403
19404 2005-03-22  Wim Taymans  <wim@fluendo.com>
19405
19406         * docs/design/part-TODO.txt:
19407         * docs/design/part-events.txt:
19408         * docs/design/part-gstbin.txt:
19409         * docs/design/part-gstbus.txt:
19410         * docs/design/part-gstpipeline.txt:
19411         * docs/design/part-messages.txt:
19412         * gst/gstbus.c:
19413         * gst/gstmessage.c:
19414         Docs updates
19415
19416 2005-03-21  Wim Taymans  <wim@fluendo.com>
19417
19418         * gst/gstbus.c: (gst_bus_post):
19419         Fix copy-and-paste error.
19420
19421 2005-03-21  Wim Taymans  <wim@fluendo.com>
19422
19423         * check/Makefile.am:
19424         * gst/Makefile.am:
19425         * gst/elements/Makefile.am:
19426         * gst/elements/gstelements.c:
19427         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19428         (gst_fakesink_event), (gst_fakesink_chain):
19429         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19430         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19431         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19432         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19433         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19434         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19435         (gst_fakesrc_loop), (gst_fakesrc_activate),
19436         (gst_fakesrc_change_state):
19437         * gst/elements/gstfakesrc.h:
19438         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19439         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19440         (gst_filesrc_open_file), (gst_filesrc_loop),
19441         (gst_filesrc_activate), (gst_filesrc_change_state),
19442         (filesrc_find_peek), (filesrc_find_suggest),
19443         (gst_filesrc_type_find):
19444         * gst/elements/gstidentity.c: (gst_identity_finalize),
19445         (gst_identity_class_init), (gst_identity_init),
19446         (gst_identity_proxy_getcaps), (identity_queue_push),
19447         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19448         (gst_identity_getrange), (gst_identity_chain),
19449         (gst_identity_sink_loop), (gst_identity_src_loop),
19450         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19451         (gst_identity_set_property), (gst_identity_get_property),
19452         (gst_identity_change_state):
19453         * gst/elements/gstidentity.h:
19454         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19455         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19456         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19457         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19458         (gst_tee_sink_activate):
19459         * gst/elements/gsttee.h:
19460         * gst/gst.c: (gst_register_core_elements), (init_post):
19461         * gst/gst.h:
19462         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19463         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19464         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19465         (gst_bin_change_state):
19466         * gst/gstbin.h:
19467         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19468         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19469         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19470         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19471         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19472         (bus_watch_callback), (bus_watch_destroy),
19473         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19474         (poll_timeout), (gst_bus_poll):
19475         * gst/gstbus.h:
19476         * gst/gstcaps.h:
19477         * gst/gstdata.h:
19478         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19479         (gst_element_post_message), (gst_element_message_full),
19480         (gst_element_get_state_func), (gst_element_get_state),
19481         (gst_element_abort_state), (gst_element_commit_state),
19482         (gst_element_lost_state), (gst_element_set_state),
19483         (gst_element_pads_activate), (gst_element_change_state),
19484         (gst_element_dispose), (gst_element_set_manager_func),
19485         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19486         (gst_element_set_manager), (gst_element_get_manager),
19487         (gst_element_set_bus), (gst_element_get_bus),
19488         (gst_element_set_scheduler), (gst_element_get_scheduler):
19489         * gst/gstelement.h:
19490         * gst/gstevent.c: (gst_event_new_segment_seek),
19491         (gst_event_new_flush):
19492         * gst/gstevent.h:
19493         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19494         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19495         (gst_message_new_eos), (gst_message_new_error),
19496         (gst_message_new_warning), (gst_message_new_tag),
19497         (gst_message_new_state_changed), (gst_message_new_application),
19498         (gst_message_get_structure), (gst_message_parse_tag),
19499         (gst_message_parse_state_changed), (gst_message_parse_error),
19500         (gst_message_parse_warning):
19501         * gst/gstmessage.h:
19502         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19503         (gst_real_pad_set_property), (gst_pad_set_active),
19504         (gst_pad_is_active), (gst_pad_set_blocked_async),
19505         (gst_pad_set_blocked), (gst_pad_is_blocked),
19506         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19507         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19508         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19509         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19510         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19511         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19512         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19513         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19514         (gst_pad_set_caps), (gst_pad_configure_sink),
19515         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19516         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19517         (gst_real_pad_dispose), (gst_real_pad_finalize),
19518         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19519         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19520         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19521         * gst/gstpad.h:
19522         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19523         (pipeline_bus_handler), (gst_pipeline_change_state),
19524         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19525         * gst/gstpipeline.h:
19526         * gst/gstprobe.h:
19527         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19528         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19529         (gst_queue_link_src), (gst_queue_bufferalloc),
19530         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19531         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19532         (gst_queue_loop), (gst_queue_handle_src_event),
19533         (gst_queue_handle_src_query), (gst_queue_src_activate),
19534         (gst_queue_change_state):
19535         * gst/gstqueue.h:
19536         * gst/gstscheduler.c: (gst_scheduler_init),
19537         (gst_scheduler_dispose), (gst_scheduler_create_task),
19538         (gst_scheduler_factory_create):
19539         * gst/gstscheduler.h:
19540         * gst/gststructure.c: (gst_structure_get_type),
19541         (gst_structure_copy_conditional):
19542         * gst/gststructure.h:
19543         * gst/gsttaginterface.h:
19544         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19545         (gst_task_init), (gst_task_dispose), (gst_task_create),
19546         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19547         (gst_task_pause):
19548         * gst/gsttask.h:
19549         * gst/gstthread.c:
19550         * gst/gstthread.h:
19551         * gst/gsttypes.h:
19552         * gst/schedulers/Makefile.am:
19553         * gst/schedulers/cothreads_compat.h:
19554         * gst/schedulers/entryscheduler.c:
19555         * gst/schedulers/faircothreads.c:
19556         * gst/schedulers/faircothreads.h:
19557         * gst/schedulers/fairscheduler.c:
19558         * gst/schedulers/gstbasicscheduler.c:
19559         * gst/schedulers/gstoptimalscheduler.c:
19560         * gst/schedulers/gthread-cothreads.h:
19561         * gst/schedulers/threadscheduler.c:
19562         (gst_thread_scheduler_task_get_type),
19563         (gst_thread_scheduler_task_class_init),
19564         (gst_thread_scheduler_task_init),
19565         (gst_thread_scheduler_task_start),
19566         (gst_thread_scheduler_task_stop),
19567         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19568         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19569         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19570         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19571         (plugin_init):
19572         * libs/gst/Makefile.am:
19573         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19574         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19575         (gst_file_pad_parent_set):
19576         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19577         (gst_dp_event_from_packet):
19578         * tests/complexity.c: (main):
19579         * tests/mass_elements.c: (main):
19580         * testsuite/states/locked.c: (message_received), (main):
19581         * testsuite/states/parent.c: (main):
19582         * tools/gst-inspect.c: (print_element_flag_info),
19583         (print_implementation_info), (print_pad_info):
19584         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19585         (main):
19586         * tools/gst-md5sum.c: (event_loop), (main):
19587         * tools/gst-typefind.c: (main):
19588         * tools/gst-xmlinspect.c: (print_element_info):
19589         Next big merge.
19590         Added GstBus for mainloop integration.
19591         Added GstMessage for sending notifications on the bus.
19592         Added GstTask as an abstraction for pipeline entry points.
19593         Removed GstThread.
19594         Removed Schedulers.
19595         Simplified GstQueue for multithreaded core.
19596         Made _link threadsafe, removed old capsnego.
19597         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19598         Added pad blocking functions.
19599         Reworked scheduling functions in GstPad to prepare for
19600         scheduling updates soon.
19601         Moved events out of data stream.
19602         Simplified GstEvent types.
19603         Added return values to push/pull.
19604         Removed clocking from GstElement.
19605         Added prototypes for state change function for next merge.
19606         Removed iterate from bins and state change management.
19607         Fixed some elements, disabled others for now.
19608         Fixed -inspect and -launch.
19609         Added check for GstBus.
19610
19611 2005-03-10  Wim Taymans  <wim@fluendo.com>
19612
19613         * docs/design/part-MT-refcounting.txt:
19614         * docs/design/part-clocks.txt:
19615         * docs/design/part-gstelement.txt:
19616         * docs/design/part-gstobject.txt:
19617         * docs/design/part-standards.txt:
19618         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19619         (gst_bin_remove_func), (gst_bin_remove):
19620         * gst/gstbin.h:
19621         * gst/gstbuffer.c:
19622         * gst/gstcaps.h:
19623         * testsuite/clock/clock1.c: (main):
19624         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19625         (main):
19626         * testsuite/dlopen/loadgst.c: (do_test):
19627         * testsuite/refcounting/bin.c: (add_remove_test1),
19628         (add_remove_test2), (main):
19629         * testsuite/refcounting/element.c: (main):
19630         * testsuite/refcounting/element_pad.c: (main):
19631         * testsuite/refcounting/pad.c: (main):
19632         * tools/gst-launch.c: (sigint_handler_sighandler):
19633         * tools/gst-typefind.c: (main):
19634         Doc updates.
19635         Added doc about clock.
19636         removed gst_bin_iterate_recurse_up(), marked methods
19637         for removal.
19638         Fix more testsuites.
19639
19640 2005-03-09  Wim Taymans  <wim@fluendo.com>
19641
19642         * gst/gstpad.c: (gst_pad_get_direction),
19643         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19644         (gst_pad_collect_valist):
19645         * testsuite/bins/interface.c: (main):
19646         * testsuite/caps/audioscale.c: (test_caps):
19647         * testsuite/caps/caps.c: (test1), (test2), (test3):
19648         * testsuite/caps/deserialize.c: (main):
19649         * testsuite/caps/enumcaps.c: (main):
19650         * testsuite/caps/filtercaps.c: (main):
19651         * testsuite/caps/intersect2.c: (main):
19652         * testsuite/caps/random.c: (main):
19653         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19654         * testsuite/caps/sets.c: (check_caps):
19655         * testsuite/caps/simplify.c: (check_caps), (main):
19656         * testsuite/caps/subtract.c: (check_caps):
19657         Fix _pad_get_direction wrt ghostpads.
19658         Fix caps testsuite.
19659
19660 2005-03-09  Wim Taymans  <wim@fluendo.com>
19661
19662         * check/Makefile.am:
19663         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19664         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19665         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19666         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19667         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19668         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19669         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19670         (bin_element_is_sink), (gst_bin_iterate_sinks),
19671         (gst_bin_iterate_all_by_interface):
19672         * gst/gstbin.h:
19673         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19674         (gst_element_change_state), (gst_element_dispose),
19675         (gst_element_finalize), (gst_element_set_loop_function):
19676         * gst/gstelement.h:
19677         * gst/gstiterator.c: (find_custom_fold_func):
19678         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19679         (gst_pad_collectv), (gst_pad_collect_valist),
19680         (gst_pad_template_new):
19681         * gst/gstpipeline.c: (gst_pipeline_class_init),
19682         (gst_pipeline_dispose), (gst_pipeline_set_property),
19683         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19684         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19685         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19686         * gst/gstutils.h:
19687         * gst/schedulers/entryscheduler.c:
19688         * gst/schedulers/gstbasicscheduler.c:
19689         (gst_basic_scheduler_cothreaded_chain),
19690         (gst_basic_scheduler_chain_add_element):
19691         * testsuite/bins/interface.c: (main):
19692         Added GstBin test.
19693         Added GstSystemClock test.
19694         Implemented clock distribution code in GstBin.
19695         Implemented iterate sinks method for future use.
19696         Rearranged gstelement.h
19697         Fix GstIterator comparison bug.
19698         Moved some code to GstPipeline, mostly clocking related.
19699
19700 2005-03-09  Wim Taymans  <wim@fluendo.com>
19701
19702         * configure.ac:
19703         * gst/gst_private.h:
19704         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19705         (gst_bin_remove_func), (gst_bin_remove),
19706         (gst_bin_get_by_name_recurse_up):
19707         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19708         (gst_clock_id_compare_func), (gst_clock_id_wait),
19709         (gst_clock_id_wait_async), (gst_clock_init),
19710         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19711         * gst/gstelement.h:
19712         * gst/gstinfo.c: (_gst_debug_init):
19713         * gst/gstobject.h:
19714         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19715         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19716         * gst/gstpad.h:
19717         Bump version number, we're now 0.9.0
19718         Add future debugging category.
19719         Fix NULL _unref() in _get_by_name_recurse_up
19720         Rearrange gstpad.h.
19721         Update some docs.
19722
19723 2005-03-08  Wim Taymans  <wim@fluendo.com>
19724
19725         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19726         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19727         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19728         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19729         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19730         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19731         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19732         * gst/elements/gstidentity.c: (gst_identity_class_init):
19733         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19734         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19735         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19736         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19737         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19738         (gst_tee_link):
19739         * gst/gstelement.c: (gst_element_class_init),
19740         (gst_element_base_class_init), (gst_element_init),
19741         (gst_element_get_random_pad), (gst_element_wait_state_change),
19742         (gst_element_change_state), (gst_element_dispose),
19743         (gst_element_finalize), (gst_element_set_loop_function):
19744         * gst/gstelement.h:
19745         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19746         * gst/gstthread.c: (gst_thread_class_init),
19747         (gst_thread_release_children_locks), (gst_thread_change_state):
19748         * gst/schedulers/gstbasicscheduler.c:
19749         (gst_basic_scheduler_loopfunc_wrapper),
19750         (gst_basic_scheduler_chain_wrapper),
19751         (gst_basic_scheduler_src_wrapper),
19752         (gst_basic_scheduler_remove_element):
19753         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19754         Remove threadsafe properties. Fix elements because GObject
19755         complains when installing a property before declaring a
19756         set/get_property handler.
19757         Rearrange gstelement.h file, use STATE macros for state locks.
19758         Free mutexes in the finalize method instead of dispose.
19759
19760 2005-03-08  Wim Taymans  <wim@fluendo.com>
19761
19762         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19763         * gst/gstthread.c: (gst_thread_release_children_locks):
19764         Added parentage check.
19765         Fix build og GstThread again.
19766
19767 2005-03-08  Wim Taymans  <wim@fluendo.com>
19768
19769         * docs/design/part-MT-refcounting.txt:
19770         * docs/design/part-conventions.txt:
19771         * docs/design/part-gstobject.txt:
19772         * docs/design/part-relations.txt:
19773         * docs/design/part-standards.txt:
19774         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19775         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19776         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19777         (gst_bin_iterate_all_by_interface):
19778         * gst/gstbuffer.h:
19779         * gst/gstclock.h:
19780         * gst/gstelement.c: (gst_element_class_init),
19781         (gst_element_change_state), (gst_element_set_loop_function):
19782         * gst/gstelement.h:
19783         * gst/gstiterator.c:
19784         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19785         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19786         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19787         (gst_object_set_parent), (gst_object_unparent),
19788         (gst_object_check_uniqueness):
19789         * gst/gstobject.h:
19790         Docs updates, clean up some headers.
19791
19792 2005-03-07  Wim Taymans  <wim@fluendo.com>
19793
19794         * check/.cvsignore:
19795         * check/Makefile.am:
19796         * check/gst-libs/.cvsignore:
19797         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19798         * check/gst/.cvsignore:
19799         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19800         (START_TEST), (gstbus_suite), (main):
19801         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19802         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19803         (gst_data_suite), (main):
19804         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19805         (add_fold_func), (gstiterator_suite), (main):
19806         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19807         (thread_name_object), (thread_name_object_default),
19808         (gst_object_name_compare), (gst_object_suite), (main):
19809         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19810         (gst_pad_suite), (main):
19811         * check/gstcheck.c: (gst_check_log_message_func),
19812         (gst_check_log_critical_func), (gst_check_init):
19813         * check/gstcheck.h:
19814         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19815         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19816         Added checks.
19817
19818 2005-03-07  Wim Taymans  <wim@fluendo.com>
19819
19820         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19821         (gst_list_iterator_next), (gst_list_iterator_resync),
19822         (gst_list_iterator_free), (gst_iterator_new_list),
19823         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19824         (gst_iterator_free), (gst_iterator_push), (filter_next),
19825         (filter_resync), (filter_uninit), (filter_free),
19826         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19827         (gst_iterator_foreach), (find_custom_fold_func),
19828         (gst_iterator_find_custom):
19829         * gst/gstiterator.h:
19830         Added missing files.
19831
19832 2005-03-07  Wim Taymans  <wim@fluendo.com>
19833
19834         * Makefile.am:
19835         * configure.ac:
19836         * docs/design/part-MT-refcounting.txt:
19837         * docs/design/part-conventions.txt:
19838         * docs/design/part-gstobject.txt:
19839         * docs/design/part-relations.txt:
19840         * examples/mixer/mixer.c: (main):
19841         * examples/thread/thread.c: (eos), (main):
19842         * gst/Makefile.am:
19843         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19844         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19845         (gst_spider_plug_from_srcpad):
19846         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19847         (gst_spider_identity_change_state),
19848         (gst_spider_identity_sink_loop_type_finding):
19849         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19850         * gst/elements/gstidentity.c: (gst_identity_init):
19851         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19852         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19853         * gst/elements/gsttypefindelement.c: (free_entry):
19854         * gst/gst.c:
19855         * gst/gst.h:
19856         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19857         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19858         (gst_bin_set_index), (gst_bin_set_element_sched),
19859         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19860         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19861         (gst_bin_iterate_elements), (iterate_child_recurse),
19862         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19863         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19864         (compare_interface), (gst_bin_get_by_interface),
19865         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19866         * gst/gstbin.h:
19867         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19868         (gst_buffer_default_free), (gst_buffer_default_copy),
19869         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19870         (gst_buffer_create_sub):
19871         * gst/gstbuffer.h:
19872         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19873         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19874         (gst_caps_unref), (gst_static_caps_get),
19875         (gst_caps_remove_and_get_structure), (gst_caps_append),
19876         (gst_caps_append_structure), (gst_caps_remove_structure),
19877         (gst_caps_copy_nth), (gst_caps_set_simple),
19878         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19879         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19880         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19881         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19882         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19883         (gst_caps_structure_figure_out_union),
19884         (gst_caps_switch_structures), (gst_caps_do_simplify),
19885         (gst_caps_replace), (gst_caps_from_string),
19886         (gst_caps_copy_conditional):
19887         * gst/gstcaps.h:
19888         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19889         (_gst_clock_id_free), (gst_clock_id_unref),
19890         (gst_clock_id_compare_func), (gst_clock_id_wait),
19891         (gst_clock_id_wait_async), (gst_clock_class_init),
19892         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19893         (gst_clock_get_time), (gst_clock_set_time_adjust),
19894         (gst_clock_set_property), (gst_clock_get_property):
19895         * gst/gstclock.h:
19896         * gst/gstcompat.h:
19897         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19898         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19899         * gst/gstdata.h:
19900         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19901         (gst_element_requires_clock), (gst_element_provides_clock),
19902         (gst_element_set_clock), (gst_element_clock_wait),
19903         (gst_element_wait), (gst_element_set_time_delay),
19904         (gst_element_is_indexable), (gst_element_add_pad),
19905         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19906         (pad_compare_name), (gst_element_get_static_pad),
19907         (gst_element_request_pad), (gst_element_get_request_pad),
19908         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19909         (gst_element_class_get_pad_template_list),
19910         (gst_element_class_get_pad_template), (gst_element_error_func),
19911         (gst_element_get_random_pad), (gst_element_get_event_masks),
19912         (gst_element_send_event), (gst_element_seek),
19913         (gst_element_get_query_types), (gst_element_query),
19914         (gst_element_get_formats), (gst_element_convert),
19915         (gst_element_is_locked_state), (gst_element_set_locked_state),
19916         (gst_element_sync_state_with_parent), (gst_element_change_state),
19917         (gst_element_finalize), (gst_element_yield),
19918         (gst_element_interrupt), (gst_element_set_scheduler),
19919         (gst_element_get_scheduler), (gst_element_set_loop_function):
19920         * gst/gstelement.h:
19921         * gst/gstevent.h:
19922         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19923         (gst_format_get_by_nick), (gst_format_get_details),
19924         (gst_format_iterate_definitions):
19925         * gst/gstformat.h:
19926         * gst/gstindex.c: (gst_index_gtype_resolver):
19927         * gst/gstinfo.c:
19928         * gst/gstinfo.h:
19929         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19930         (gst_mem_chunk_free):
19931         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19932         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19933         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19934         (gst_object_dispatch_properties_changed),
19935         (gst_object_set_name_default), (gst_object_set_name),
19936         (gst_object_get_name), (gst_object_set_name_prefix),
19937         (gst_object_get_name_prefix), (gst_object_set_parent),
19938         (gst_object_get_parent), (gst_object_unparent),
19939         (gst_object_check_uniqueness), (gst_object_save_thyself),
19940         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19941         (gst_object_set_property), (gst_object_get_property),
19942         (gst_object_get_path_string):
19943         * gst/gstobject.h:
19944         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19945         (gst_real_pad_init), (gst_real_pad_get_property),
19946         (gst_pad_custom_new), (gst_pad_get_direction),
19947         (gst_pad_set_active), (gst_pad_is_active),
19948         (gst_pad_set_event_function), (gst_pad_is_linked),
19949         (gst_pad_link_free), (gst_pad_link_intersect),
19950         (gst_pad_link_fixate), (gst_pad_set_caps),
19951         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19952         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19953         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19954         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19955         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19956         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19957         (gst_pad_realize), (gst_pad_get_allowed_caps),
19958         (gst_real_pad_dispose), (gst_real_pad_finalize),
19959         (gst_pad_collectv), (gst_pad_collect_valist),
19960         (gst_pad_template_dispose), (gst_pad_template_new),
19961         (gst_pad_get_internal_links):
19962         * gst/gstpad.h:
19963         * gst/gstpipeline.c: (gst_pipeline_dispose),
19964         (gst_pipeline_change_state):
19965         * gst/gstpipeline.h:
19966         * gst/gstplugin.c:
19967         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19968         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19969         * gst/gstpluginfeature.h:
19970         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19971         * gst/gstquery.c: (_gst_query_type_initialize),
19972         (gst_query_type_register), (gst_query_type_get_by_nick),
19973         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19974         * gst/gstquery.h:
19975         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19976         * gst/gstscheduler.c: (gst_scheduler_add_element),
19977         (gst_scheduler_factory_create):
19978         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19979         (gst_structure_free), (gst_structure_set_name),
19980         (gst_structure_id_set_value), (gst_structure_set_value),
19981         (gst_structure_set_valist), (gst_structure_remove_field),
19982         (gst_structure_remove_fields),
19983         (gst_structure_remove_fields_valist),
19984         (gst_structure_remove_all_fields), (gst_structure_foreach),
19985         (gst_structure_map_in_place),
19986         (gst_caps_structure_fixate_field_nearest_int),
19987         (gst_caps_structure_fixate_field_nearest_double):
19988         * gst/gststructure.h:
19989         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19990         (gst_system_clock_init), (gst_system_clock_dispose),
19991         (gst_system_clock_async_thread),
19992         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19993         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19994         * gst/gstsystemclock.h:
19995         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19996         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19997         * gst/gsttaginterface.c:
19998         * gst/gstthread.c: (gst_thread_dispose),
19999         (gst_thread_release_children_locks), (gst_thread_change_state),
20000         (gst_thread_main_loop):
20001         * gst/gsttrashstack.h:
20002         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20003         * gst/gsttypes.h:
20004         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20005         (gst_element_request_pad), (gst_element_get_pad_from_template),
20006         (gst_element_request_compatible_pad),
20007         (gst_element_get_compatible_pad_filtered),
20008         (gst_element_get_compatible_pad), (gst_element_state_get_name),
20009         (gst_element_link_pads_filtered), (gst_element_link_filtered),
20010         (gst_element_link_many), (gst_element_link),
20011         (gst_element_link_pads), (gst_element_unlink_pads),
20012         (gst_element_unlink_many), (gst_element_unlink),
20013         (gst_pad_can_link_filtered), (gst_pad_can_link),
20014         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20015         (gst_object_default_error), (gst_bin_add_many),
20016         (gst_bin_remove_many), (gst_element_populate_std_props),
20017         (gst_element_class_install_std_props), (gst_buffer_merge),
20018         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20019         (link_fold_func), (gst_pad_proxy_setcaps):
20020         * gst/gstutils.h:
20021         * gst/gstvalue.c: (gst_value_deserialize_string):
20022         * gst/parse/grammar.y:
20023         * gst/schedulers/gstbasicscheduler.c:
20024         (gst_basic_scheduler_cothreaded_chain),
20025         (gst_basic_scheduler_chain_recursive_add),
20026         (gst_basic_scheduler_pad_link):
20027         * gst/schedulers/gstoptimalscheduler.c:
20028         (get_group_schedule_function),
20029         (gst_opt_scheduler_state_transition),
20030         (gst_opt_scheduler_add_element), (element_get_reachables_func):
20031         * libs/gst/bytestream/bytestream.c:
20032         * libs/gst/dataprotocol/dataprotocol.c:
20033         (gst_dp_header_from_buffer):
20034         * po/nb.po:
20035         * po/ru.po:
20036         * tests/threadstate/threadstate2.c: (eos):
20037         * tools/gst-compprep.c: (main):
20038         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20039         (print_pad_info), (print_children_info):
20040         * tools/gst-launch.c: (idle_func), (main):
20041         * tools/gst-md5sum.c: (idle_func), (main):
20042         * tools/gst-xmlinspect.c: (print_element_info):
20043         First THREADED backport attempt, focusing on adding locks and
20044         making sure the API is threadsafe. Needs more work. More docs
20045         follow this week.
20046
20047 2005-02-24  Andy Wingo  <wingo@pobox.com>
20048
20049         * tests/bench-complexity.scm:
20050         * tests/complexity.gnuplot: New files, good for running complexity
20051         benchmarks.
20052
20053         * tests/Makefile.am:
20054         * tests/complexity.c: New test, sets up N elements, at each level
20055         teeing into M streams per element. Eeeenteresting.
20056
20057         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20058         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20059         running bench-mass_elements.scm.
20060
20061         * tests/bench-mass_elements.scm: New script, runs mass_elements
20062         for various numbers of identities, outputting the results to a
20063         file. Requires guile 1.6. Just for testing.
20064
20065 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20066
20067         * gst/schedulers/fairscheduler.c:
20068           compile with debug disabled
20069
20070 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20071
20072         * configure.ac:
20073           hunting season on 0.9 is now OPEN