gst/gst.c: Use a pipe pair to receive status results from the forked child, and ignor...
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/gst.c: (ensure_current_registry_forking):
4         Use a pipe pair to receive status results from the forked child, and
5         ignore the result from waitpid. Fixes #355499
6
7 2006-10-02  Wim Taymans  <wim@fluendo.com>
8
9         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10         (gst_ghost_pad_suite):
11         Fix leak in check.
12
13 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
14
15         * gst/gstpad.c:
16           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
17
18 2006-10-02  Edward Hervey  <edward@fluendo.com>
19
20         * docs/design/part-block.txt:
21         Further explain the use of flushing on blocked pads.
22         * docs/gst/gstreamer-sections.txt:
23         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
24         (gst_pad_push_event):
25         * gst/gstpad.h:
26         Added new GstPadFlag : GST_PAD_BLOCKING.
27         Adds the notion of pads really blocking, which enables to properly
28         handle FLUSH_START/FLUSH_STOP events on blocked pads.
29         Fixes #358999
30         API: gst_pad_is_blocking()
31         API: GST_PAD_IS_BLOCKING() macro
32         API: GST_PAD_BLOCKING GstPadFlag
33         
34 2006-10-02  Wim Taymans  <wim@fluendo.com>
35
36         Patch by: mrcgran <mrc.gran at gmail dot com>
37
38         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
39         Filter the proxied caps against the padtemplate if we have one.
40
41         * gst/gstquery.c: (gst_query_new_segment):
42         Add include for gstinfo.h so that compilation with
43         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
44
45 2006-10-02  Wim Taymans  <wim@fluendo.com>
46
47         Patch by: Alessandro Decina  <alessandro at nnva org>
48
49         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
50         (gst_file_sink_set_location), (gst_file_sink_open_file),
51         (gst_file_sink_close_file), (gst_file_sink_event),
52         (gst_file_sink_render):
53         Set file to NULL when closing filesink so that we can set a new filename
54         in READY. Fixes #358613.
55
56 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
57
58         Patch by: Alessandro Decina  <alessandro at nnva org>
59
60         * gst/gstevent.c: (_gst_event_copy):
61           Fix gst_mini_object_make_writable() and gst_event_copy() for events
62           with event structures by setting the parent refcount address of the
63           copied structure to the address of the refcount member of the newly
64           copied event rather than the address of the refcount member of the
65           original event. Fixes #358737.
66
67         * tests/check/gst/gstevent.c: (GST_START_TEST):
68           Unit test for the above.
69
70 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
71
72         * docs/design/Makefile.am:
73           Dist some more files.
74
75 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
76
77         * tests/check/libs/controller.c: (GST_START_TEST),
78         (gst_controller_suite):
79           Add test for the previous fix; add some more tests
80           for correct refcounting behaviour; fix a few leaks
81           in test cases; call gst_controller_init() at start
82           of all tests.
83
84 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
87         (gst_controller_set_from_list):
88           Don't g_return_val_if_fail() on timed values with invalid timestamps
89           inside a critical section without unlocking the mutex. Spotted by
90           René Stadler. (#357617)
91           Also, fix up refcounting properly: when returning an existing
92           controller, we should increase the reference only once and not
93           once per property and when trying to control a property again
94           we should also increase the refcount.
95
96 2006-09-29  Wim Taymans  <wim@fluendo.com>
97
98         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
99         * libs/gst/net/gstnettimeprovider.c:
100         (gst_net_time_provider_thread):
101         Stop reading commands when EOF as well.
102
103         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
104         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
105         * plugins/elements/gstidentity.c: (gst_identity_class_init):
106         Unify description of the dump property.
107
108 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
109
110         * tests/examples/manual/.cvsignore:
111         OK, so it's actually cvsignore that needs changing. Stop laughing.
112
113 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
114
115         * tests/examples/manual/Makefile.am:
116         Gah, declare vars *before* using them
117
118 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
119
120         * gst/gst.c: (init_pre), (scan_and_update_registry),
121         (ensure_current_registry_nonforking),
122         (ensure_current_registry_forking), (ensure_current_registry),
123         (init_post), (gst_debug_help), (gst_deinit):
124         * gst/gst_private.h:
125         * gst/gstregistry.c: (gst_registry_finalize),
126         (gst_registry_remove_features_for_plugin_unlocked),
127         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
128         (gst_registry_scan_path),
129         (_priv_gst_registry_remove_cache_plugins),
130         (_priv_gst_registry_cleanup):
131         * gst/gstregistry.h:
132         Re-commit the registry changes, along with an extra fix:
133           When a cached plugin is encountered at a different file path,
134           update the stored path in the registry cache so that the parent
135           process knows where it actually is now when it re-reads the registry
136           cache. Fixes the thing that broke distcheck with the previous commit.
137
138         * tests/check/Makefile.am:
139         Clean up files named 'core' too when running make clean.
140
141         * tests/examples/manual/Makefile.am:
142         Set up a registry path for running these tests, and clean it properly
143         for distcheck.
144
145 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
146
147         * configure.ac:
148         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
149         want gmodule-no-export-2.0.pc instead so that we don't drag in
150         --export-dynamic on every project that links to GStreamer.
151
152         Also, make our export regex only match the start of symbols, rather 
153         than any symbol that contains '_gst' somewhere.
154
155         * libs/gst/check/Makefile.am:
156         The libgstcheck we build does however need export-dynamic, as it
157         produces some symbols that don't match our _gst... style regex.
158         Fixes: #318031
159
160 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
161
162         * gst/gst.c: (init_pre), (scan_and_update_registry),
163         (ensure_current_registry_nonforking),
164         (ensure_current_registry_forking), (ensure_current_registry),
165         (init_post), (gst_debug_help), (gst_deinit):
166         * gst/gst_private.h:
167         * gst/gstregistry.c: (gst_registry_finalize),
168         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
169         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
170         (_gst_registry_cleanup):
171         * gst/gstregistry.h:
172           Revert previous change until I figure out why it breaks distcheck.
173
174 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
175
176         * gst/gst.c: (init_pre), (scan_and_update_registry),
177         (ensure_current_registry_nonforking),
178         (ensure_current_registry_forking), (ensure_current_registry),
179         (init_post), (gst_debug_help), (gst_deinit):
180
181           Make init_pre and init_post take the full complement of GOptionFunc
182           args so they can return useful GErrors. Make the registry updating
183           functions do so.
184
185           Call _priv_gst_registry_remove_cache_plugins after scanning files to
186           ensure that the registry we're about to write out doesn't contain
187           stale information about old-deleted plugin files.
188
189           Make _priv_gst_registry_remove_cache_plugins return a boolean so
190           that deletion of plugin files is considered a registry change.
191
192         * gst/gst_private.h:
193         * gst/gstregistry.c: (gst_registry_finalize),
194         (gst_registry_remove_features_for_plugin_unlocked),
195         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
196         (gst_registry_scan_path),
197         (_priv_gst_registry_remove_cache_plugins),
198         (_priv_gst_registry_cleanup):
199         * gst/gstregistry.h:
200         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
201         by adding _priv prefix, so that they won't appear in the global
202         symbol table. They still do atm though because of #318031. Move the
203         prototypes to gst_private.h
204
205         When removing a plugin, remove all features for that plugin too. 
206         Fixes #340878.
207
208 2006-09-27  Wim Taymans  <wim@fluendo.com>
209
210         * docs/random/moving-plugins:
211         Make it clear that the "compiled-in descriptions" really mean
212         the element details.
213
214         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
215         (gst_base_sink_wait_preroll):
216         Update docs.
217
218         * docs/libs/gstreamer-libs-sections.txt:
219         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
220         (gst_base_src_get_range), (gst_base_src_activate_push):
221         * libs/gst/base/gstbasesrc.h:
222         Added function to block while waiting for PLAYING, this function
223         is used by live sources that block on the clock.
224         API: gst_base_src_wait_playing()
225
226 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
227
228         Patch by: Peter Kjellerstedt <pkj at axis com>
229
230         * Makefile.am:
231           gst-element-check.m4 is generated and should therefore be
232           copied from the build dir rather than the source dir (#357593).
233           'make distcheck' hasn't noticed this because we were disting
234           the file as well, so stop doing that.
235
236 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
237
238         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
239           Add some tests for gst_caps_intersect().
240
241         * tools/gst-launch.c: (event_loop):
242           Print all buffering percentages we get, even the 100% one.
243
244 2006-09-26  Wim Taymans  <wim@fluendo.com>
245
246         * tools/gst-inspect.c: (print_element_properties_info),
247         (print_signal_info):
248         Fix printing of flags to match the look of enums.
249
250 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
251
252         * gst/gstelementfactory.c:
253           Fix typo in docs blurb.
254
255 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
256
257         * gst/gsturi.c: (search_by_entry):
258           Don't assert/crash here if a uri handler doesn't return any
259           supported protocols. The list of protocols could be generated
260           dynamically at runtime or at plugin registration, and an error
261           in the underlying library shouldn't be fatal (#353301).
262
263 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
264
265         * gst/gstinfo.c:
266           Fix warning if HAVE_PRINTF_EXTENSION is undefined
267           (spotted by Peter Kjellerstedt).
268
269 2006-09-23  Wim Taymans  <wim@fluendo.com>
270
271         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
272
273         * libs/gst/base/gstbasesrc.c:
274         (gst_base_src_default_check_get_range), (gst_base_src_start),
275         (gst_base_src_activate_push), (gst_base_src_activate_pull),
276         (gst_base_src_change_state):
277         Match _start/_stop calls in the activate functions. Remove redundant
278         _stop call from the state change function. Fixes #356910.
279         Turn failure DEBUG into ERROR. 
280
281 2006-09-22  Wim Taymans  <wim@fluendo.com>
282
283         * docs/design/part-buffering.txt:
284         * gst/gstmessage.c: (gst_message_new_buffering),
285         (gst_message_parse_buffering):
286         Update docs about buffering.
287
288         * docs/design/part-trickmodes.txt:
289         Fix typo.
290
291 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
292
293         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
294         (gst_controller_new_list):
295           Ref instances when returning them again (fixes #357180)
296
297 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
298
299         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
300           Don't forget to release proxy lock when there's an error.
301
302 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
303
304         * gst/gstcaps.h:
305           Add extra initialisers for Caps things, to fix some plugin warnings
306           when using -Wextra
307
308 2006-09-18  Wim Taymans  <wim@fluendo.com>
309
310         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
311           Also set template on the internal pad so that a getcaps from the 
312           target pad returns the template caps.
313
314 2006-09-18  Wim Taymans  <wim@fluendo.com>
315
316         * gst/gstelement.c: (gst_element_post_message),
317         (gst_element_dispose):
318         Use _DEBUG_OBJECT some more.
319
320         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
321         Avoid typechecks.
322
323         * tools/gst-launch.c: (main):
324         If the toplevel element is not a GstPipeline, it must be put in a
325         pipeline so that a bus and clock is selected.
326
327 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
328
329         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
330           JITTER, RATE, and LATENCY query should be handled by the
331           default case and not by the CONVERT query code.
332
333 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
334
335         * gst/gstformat.c: (gst_format_register):
336           Fix locking order (must take lock before using n_values).
337
338         * gst/gstvalue.c: (gst_value_serialize_enum),
339         (gst_value_deserialize_enum_iter_cmp),
340         (gst_value_deserialize_enum):
341           Fix serialisation/deserialisation of custom registered GstFormats.
342
343         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
344           Unit test for custom format serialisation/deserialisation.
345
346 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
347
348         * docs/pwg/building-boiler.xml:
349         * plugins/elements/gstcapsfilter.c:
350         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
351         section.
352
353 2006-09-16  Edward Hervey  <edward@fluendo.com>
354
355         * libs/gst/base/gstbasetransform.c:
356         (gst_base_transform_buffer_alloc):
357         Check if requested caps are the same as the sinks caps IF
358         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
359         is FALSE.
360         This fixes the renegotiation issues stated in #352827.
361
362 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
363
364         * configure.ac:
365         * docs/manual/advanced-autoplugging.xml:
366         * tests/examples/Makefile.am:
367         * tests/examples/manual/.cvsignore:
368         * tests/examples/manual/Makefile.am:
369         * tests/examples/manual/extract.pl:
370           Extract the manual examples again like we used to do.
371           Fix one of them.
372
373 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
374
375         * win32/common/config.h:
376           update for version
377
378 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
379
380         * gst/gsterror.c:
381           Documents how to receive errors.
382
383 2006-09-15  Wim Taymans  <wim@fluendo.com>
384
385         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
386         (event_loop), (main):
387         Added some comments here and there.
388         Post an application message when an interrupt is caught instead of doing
389         an uncontrolled state change.
390         Clean up the event loop.
391         Handle buffering messages, pause/resume the pipeline.
392         Make shutdown because of an interrupt more reliable.
393
394 2006-09-15  Wim Taymans  <wim@fluendo.com>
395
396         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
397         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
398         (gst_base_sink_preroll_object):
399         Make sure that our internal state is correct when we commit our state
400         asynchronously. This solves a race where a state change to PLAYING
401         could cause the sink to remain blocked in preroll in some situations.
402
403 2006-09-15  Wim Taymans  <wim@fluendo.com>
404
405         * tools/gst-inspect.c: (print_element_properties_info),
406         (print_signal_info):
407         List flags as hex so it's easier to deal with.
408
409 2006-09-15  Wim Taymans  <wim@fluendo.com>
410
411         * docs/libs/gstreamer-libs-sections.txt:
412         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
413         (gst_base_sink_do_sync):
414         * libs/gst/base/gstbasesink.h:
415         Expose logic to wait for preroll so that subclasses such as audiosink
416         can also use this method.
417         API: gst_base_sink_wait_preroll()
418
419 2006-09-15  Wim Taymans  <wim@fluendo.com>
420
421         * gst/gstobject.c: (gst_object_set_parent):
422         * gst/gstpipeline.c: (do_pipeline_seek):
423         Small cleanups in docs and code.
424
425         * gst/gstsegment.c: (gst_segment_clip):
426         * tests/check/gst/gstsegment.c: (GST_START_TEST):
427         if stop == start and start is in the segment, no clipping should be
428         done. Also add a test for this.
429
430 2006-09-15  Wim Taymans  <wim@fluendo.com>
431
432         * docs/design/part-buffering.txt:
433         * docs/gst/gstreamer-sections.txt:
434         * gst/gstmessage.c: (gst_message_new_buffering),
435         (gst_message_parse_buffering):
436         * gst/gstmessage.h:
437         Added methods to create and parse BUFFERING messages.
438         Added preliminary docs about buffering.
439         API: gst_message_new_buffering
440         API: gst_message_parse_buffering
441
442 2006-09-06  Wim Taymans  <wim@fluendo.com>
443
444         * gst/gstbin.c:
445         Update documentation.
446
447         * gst/gstelement.c: (gst_element_class_init),
448         (gst_element_release_request_pad), (gst_element_set_clock),
449         (gst_element_get_index), (gst_element_add_pad),
450         (gst_element_remove_pad), (gst_element_get_random_pad),
451         (gst_element_send_event), (gst_element_get_query_types),
452         (gst_element_query), (gst_element_post_message),
453         (gst_element_message_full), (gst_element_continue_state),
454         (gst_element_lost_state), (gst_element_save_thyself),
455         (gst_element_restore_thyself):
456         Documentation updates.
457         Rename last bit of the new-pad -> pad-added signal rename.
458         Fix the case where an element query would only work if the source
459         pad was linked.
460         Avoid some useless type checking in message handling.
461
462         * gst/gstevent.c:
463         * gst/gstevent.h:
464         * gst/gstutils.c:
465         Documentation updates.
466
467 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
468
469         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
470           add an INFO line for when we actually update the fd
471
472 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
473
474         * configure.ac:
475           back to TRUNK
476
477 === release 0.10.10 ===
478
479 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
480
481         * configure.ac:
482           releasing 0.10.10, "Pais"
483
484 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
485
486         * docs/manual/advanced-position.xml:
487           Fix typo in sample code.
488
489 2006-09-05  Wim Taymans  <wim@fluendo.com>
490
491         * libs/gst/net/gstnetclientclock.c: (inet_aton),
492         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
493         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
494         * libs/gst/net/gstnetclientclock.h:
495         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
496         * libs/gst/net/gstnettimepacket.h:
497         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
498         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
499         (gst_net_time_provider_thread), (gst_net_time_provider_new):
500         * libs/gst/net/gstnettimeprovider.h:
501         Make stuff compile on windows. Fixes #345295.
502
503 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
504
505         * gst/gst.c: (ensure_current_registry_forking):
506           Print better details when child was terminated by signal.
507
508 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
509
510         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
511           Print a warning rather than g_assert() if a plugin feature
512           is a URI handler but returns no protocols (#353976).
513
514 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
515
516         * docs/random/moving-plugins:
517         Fix two typos.         
518
519 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
520
521         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
522           Fix locking order, handle NULL function values properly.
523
524         * gst/gstinfo.h:
525           Fix docs.
526
527         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
528           Initialise variable before using it and fix debug statement to
529           print the address of the function rather than the address of the
530           variable on the stack holding the address of the function.
531
532 2006-09-01  Wim Taymans  <wim@fluendo.com>
533
534         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
535         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
536         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
537         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
538         (gst_ghost_pad_parent_unset),
539         (gst_ghost_pad_internal_do_activate_push),
540         (gst_ghost_pad_internal_do_activate_pull),
541         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
542         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
543         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
544         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
545         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
546         (gst_ghost_pad_new_no_target_from_template),
547         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
548         More cleanups.
549         Avoid needless typechecking in macros.
550         Since the internal pad is always present and never changes, there is
551         no need to locking or ref when retrieving it.
552         Improve debugging a bit.
553         Handle link errors when setting the target. Fixes #341029.
554
555 2006-09-01  Wim Taymans  <wim@fluendo.com>
556
557         * docs/libs/gstreamer-libs-sections.txt:
558         * docs/plugins/gstreamer-plugins-sections.txt:
559         Fix docs some more.
560
561         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
562         (gst_collect_pads_event):
563         * libs/gst/base/gstcollectpads.h:
564         Documentation updates.
565         Free queued buffer when removing a pad.
566
567 2006-08-31  Michael Smith  <msmith@fluendo.com>
568
569         * gst/gstutils.c: (gst_element_link_pads),
570         (gst_element_link_pads_filtered):
571           Ensure that we set a capsfilter to NULL if we failed to link it
572           when doing filtered linking, to avoid criticals.
573
574           No need to check for unreffing srcpad, which is explicly NULLed
575           above (a trivial code cleanup).
576
577 2006-08-31  Wim Taymans  <wim@fluendo.com>
578
579         * docs/design/part-gstghostpad.txt:
580         Update ascii art in documentation.
581
582         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
583         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
584         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
585         (gst_ghost_pad_internal_do_activate_push),
586         (gst_ghost_pad_internal_do_activate_pull),
587         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
588         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
589         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
590         (gst_ghost_pad_set_target):
591         Small cleanups and leak fixes.
592         Remove some checks now that the internal pad is never NULL.
593         Fix the case where linking pads without a target would create nasty
594         criticals. Fixes #341029.
595         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
596         value of _set_target().
597
598         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
599         (gst_ghost_pad_suite):
600         Some more tests for creating and linking untargeted ghostpads.
601
602 2006-08-31  Edward Hervey  <edward@fluendo.com>
603
604         * docs/gst/gstreamer-sections.txt:
605         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
606         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
607         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
608         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
609         (gst_ghost_pad_new_from_template),
610         (gst_ghost_pad_new_no_target_from_template):
611         * gst/gstghostpad.h:
612         Refactored *_new() functions.
613         Templates are now used as a g_object_new() parameter.
614         Use template in _do_getcaps() if we don't have a target.
615         Small documentation cleanups.
616         Added two new constructors:
617         gst_ghost_pad_new_from_template()
618         gst_ghost_pad_new_no_target_from_template()
619         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
620         (gst_ghost_pad_suite):
621         Added tests for new ghostpad instanciation functions.
622
623         API additions: gst_ghost_pad_new_from_template,
624         gst_ghost_pad_new_no_target_from_template
625
626 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
627
628         * docs/random/ensonic/profiling.txt:
629           Ideas about qos profiling.
630
631 2006-08-29  Wim Taymans  <wim@fluendo.com>
632
633         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
634         Code cleanups.
635         Fix memleak.
636
637 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
638
639         * gst/gstxml.c:
640           Improve and detypofy docs.
641
642         * tests/check/Makefile.am:
643         * tests/check/gst/.cvsignore:
644         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
645           Add a basic test suite for GstXML.
646
647 2006-08-29  Wim Taymans  <wim@fluendo.com>
648
649         * gst/gstelement.c: (activate_pads), (clear_caps),
650         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
651         Clear the pad caps when the element shut down all of the pads and
652         is not streaming data that could modify the caps. 
653         Fixes #352958.
654
655 2006-08-28  Michael Smith  <msmith@fluendo.com>
656
657         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
658           Revert previous change; I misunderstood single-segment mode.
659
660 2006-08-28  Michael Smith  <msmith@fluendo.com>
661
662         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
663           Unset DISCONT on buffers when using single-segment mode.
664
665 2006-08-28  Wim Taymans  <wim@fluendo.com>
666
667         * gst/gstcaps.c: (gst_caps_merge_structure):
668         * gst/gstcaps.h:
669         Fix docs and indentation again.
670
671         * tests/check/gst/gstquery.c: (GST_START_TEST):
672         Fix leak in tests and add some more tests.
673
674 2006-08-28  Edward Hervey  <edward@fluendo.com>
675
676         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
677         Inform GstSegment of the last stop position in order for the current
678         segment to have a proper duration if it doesn't have a specific stop
679         position from which a duration could be calculated.
680         This bug was noticeable when a non-flushing, non-update new segment was
681         followed by another segment (all buffers from the new segment were being
682         dropped).
683
684 2006-08-28  Wim Taymans  <wim@fluendo.com>
685
686         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
687         Small comment update.
688
689         * plugins/elements/gstidentity.c: (gst_identity_class_init),
690         (gst_identity_transform_ip):
691         Drop-probability is broken, mention this in the code with a 
692         FIXME and also in the property description.
693         Make silent also be silent about the drop messages.
694
695 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
696
697         * docs/manual/appendix-win32.xml:
698           Remove mention of popt, we don't depend on that any
699           longer (#353136). Add some comments pointing out that
700           this section is slightly outdated.
701
702 2006-08-28  Wim Taymans  <wim@fluendo.com>
703
704         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
705
706         * gst/gstquery.c: (gst_query_new_segment):
707         * tests/check/gst/gstquery.c: (GST_START_TEST):
708         Initialize variables when creating a new segment query.
709         Fixes #353121.
710
711 2006-08-28  Wim Taymans  <wim@fluendo.com>
712
713         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
714
715         * gst/gstelement.c: (gst_element_get_bus):
716         * tests/check/gst/gstelement.c: (GST_START_TEST):
717         Check for NULL before _reffing the bus. Fixes #353122.
718
719 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
720
721         * docs/manual/basics-bus.xml:
722           Docs update: fix wrong callback return value explanation; add
723           some lines about the implicit relationship between main loop
724           and main context; remove duplicate main loop variable declaration.
725
726 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
727
728         * tests/check/gst/gstcaps.c: (GST_START_TEST):
729           Don't leak caps in unit test; add a few more simple
730           checks. 
731
732 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
733
734         * docs/gst/gstreamer-sections.txt:
735         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
736         (gst_caps_structure_is_subset), (gst_caps_merge),
737         (gst_caps_merge_structure):
738         * gst/gstcaps.h:
739         * libs/gst/base/gstbasetransform.c:
740         (gst_base_transform_transform_caps):
741         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
742           implement caps merging (fixes #352580)
743
744 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
745
746         * tools/Makefile.am:
747         * tools/gst-plot-timeline.py:
748           add debug-log plotting developer tool (#340674)
749
750 2006-08-23  Wim Taymans  <wim@fluendo.com>
751
752         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
753         (gst_pad_stop_task):
754         Improve debugging for task functions.
755
756         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
757         (gst_task_start), (gst_task_pause), (gst_task_join):
758         Make sure that the task function started and finished after a 
759         join(). 
760         Don't try to push the task function on the threadpool multiple
761         times.
762         Improve the g_warning message with some useful suggestions
763         about how to fix the problem. 
764
765 2006-08-23  Wim Taymans  <wim@fluendo.com>
766
767         * gst/gstutils.c: (gst_pad_proxy_getcaps):
768         Handle RESYNC correctly in _proxy_getcaps.
769
770 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
771
772         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
773         (gst_xml_parse_memory), (gst_xml_get_element):
774           Chain up to parent class in dispose function and also
775           unref the elements in the toplevel_elements GList.
776           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
777           Always return a reference in gst_xml_get_element() rather
778           than only sometimes.
779
780         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
781           Don't leak GstXml object.
782
783 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
784
785         * docs/gst/gstreamer-sections.txt:
786         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
787         (gst_caps_merge):
788         * gst/gstcaps.h:
789         * libs/gst/base/gstbasetransform.c:
790         (gst_base_transform_transform_caps):
791           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
792           in a better way
793
794 2006-08-21  Edward Hervey  <edward@fluendo.com>
795
796         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
797         Implement GObject::dispose virtual method in GstXML so we can free the
798         top_elements GList.
799
800 2006-08-21  Wim Taymans  <wim@fluendo.com>
801
802         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
803         (gst_buffer_create_sub):
804         Copy duration/offset_end/caps when creating a subbuffer of the
805         complete parent.
806         Make the subbuffer read-only when we make the metadata writable for
807         now. Fixes #351768.
808
809         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
810         Added check for metadata copy when creating subbuffers.
811
812 2006-08-21  Edward Hervey  <edward@fluendo.com>
813
814         * libs/gst/base/gstbasetransform.c:
815         (gst_base_transform_buffer_alloc):
816         Only call downstream buffer_alloc if transform element is passthrough
817         or always_in_place. Closes #350449.
818
819 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
820
821         * ChangeLog:
822           ChangeLog surgery to add comments to previous changes
823
824 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
825
826         * gst/gst.c:
827           Add comments
828
829         * gst/gstpad.c: (gst_pad_set_active):
830           Be more verbose in the log
831
832         * libs/gst/base/gstbasetransform.c:
833         (gst_base_transform_transform_caps):
834           Simplify caps to get rid of duplicates, fixes #345444
835
836 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
837
838         * gst/gstvalue.c:
839         * gst/gstvalue.h:
840           Use these optimizations only internally.
841
842 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
843
844         * gst/gstvalue.c: (gst_value_compare_list),
845         (gst_value_compare_fraction_range),
846         (gst_value_intersect_fraction_fraction_range),
847         (gst_value_intersect_fraction_range_fraction_range),
848         (gst_value_subtract_fraction_fraction_range),
849         (gst_value_subtract_fraction_range_fraction_range),
850         (gst_value_get_compare_func), (gst_value_compare),
851         (gst_value_compare_with_func):
852         * gst/gstvalue.h:
853           Saves the expensive lookup of the compare function in many cases
854          (#345444)
855
856 2006-08-18  Edward Hervey  <edward@fluendo.com>
857
858         * tests/check/gst/gstinfo.c: (gst_info_suite):
859         Disable test that require gstdebug if it wasn't built in core.
860
861 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
862
863         * docs/random/ensonic/logging.txt:
864           update ideas
865           
866         * gst/gstinfo.c: (gst_debug_log_default):
867           reorder fields, save some columns, add optional color codes for log
868           levels
869
870 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
871
872         * docs/random/ensonic/logging.txt:
873           add ideas about making the logs a bit more useful
874
875 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
876
877         * docs/pwg/advanced-events.xml:
878         * docs/pwg/titlepage.xml:
879           Update for 0.10 API (#340627). Add myself
880           to authors list.
881
882 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
883
884         * docs/libs/gstreamer-libs-docs.sgml:
885         * docs/libs/gstreamer-libs-sections.txt:
886         * libs/gst/check/gstbufferstraw.c:
887           Make gstcheck stuff show up in docs (still needs to
888           be documented properly though).
889
890 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
891
892         * docs/gst/gstreamer-sections.txt:
893         * gst/Makefile.am:
894         * gst/gst.c: (init_post):
895         * gst/gst_private.h:
896         * gst/gstquark.c: (_priv_gst_quarks_initialize):
897         * gst/gstquark.h:
898         * gst/gstquery.c: (gst_query_new_position),
899         (gst_query_set_position), (gst_query_parse_position),
900         (gst_query_new_duration), (gst_query_set_duration),
901         (gst_query_parse_duration), (gst_query_new_convert),
902         (gst_query_set_convert), (gst_query_parse_convert),
903         (gst_query_new_segment), (gst_query_set_segment),
904         (gst_query_parse_segment), (gst_query_new_seeking),
905         (gst_query_set_seeking), (gst_query_parse_seeking):
906         Add internal helpers for pre-registering quarks from static strings
907         and using the quark values directly instead of looking them up when
908         creating and parsing queries. Can be used for event construction too.
909         Closes #350432.
910
911 2006-08-16  Wim Taymans  <wim@fluendo.com>
912
913         * gst/gstbin.c:
914         Fix bogus docs.
915
916 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
917
918         * gst/gstutils.c: (gst_util_set_value_from_string):
919           Fix memleak (#351502).
920
921         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
922           Add unit test for most of gst_util_set_value_from_string()
923           (not that one would want to encourage use of this function).
924
925 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
926
927         * libs/gst/check/gstcheck.h:
928           Use const gchar * variables in fail_unless_equals_string
929           macro to avoid compiler warnings (and don't use tabs for
930           indenting).
931
932 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
933
934         * tools/gst-launch.c: (print_tag):
935           More space on the left for the tag names, to cater
936           for the 'extended comment' tag (not touching the
937           string for the first line since it's translated).
938
939 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
940
941         * libs/gst/check/gstcheck.h:
942           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
943           print something when they fail.
944
945 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
946
947         * docs/gst/gstreamer-sections.txt:
948         * gst/gsttaglist.c: (_gst_tag_initialize):
949         * gst/gsttaglist.h:
950           API: add GST_TAG_EXTENDED_COMMENT (#350935).
951           Also change merge function for GST_TAG_COMMENT to
952           use_first.
953
954 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
955
956         * gst/gstinfo.c: (gst_debug_print_object):
957           Make GST_PTR_FORMAT print messages as well.
958
959         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
960         (GST_START_TEST), (gst_info_suite):
961           More tests.
962
963 2006-08-14  Edward Hervey  <edward@fluendo.com>
964
965         * gst/gstelementfactory.c: (gst_element_register):
966         If the GstElementClass doesn't have a GstElementDetails with all fields
967         filled up correctly (longname, description AND author), then error out
968         nicely instead of crashing.
969
970 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
971
972         * gst/gststructure.c:
973           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
974
975         * gst/gstvalue.h:
976           Expand on the difference between arrays and lists as we use them.
977           
978 2006-08-14  Wim Taymans  <wim@fluendo.com>
979
980         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
981         If the parent state change function failed, don't assume we can safely
982         stop the source, this will be done when the pads are deactivated.
983
984 2006-08-14  Wim Taymans  <wim@fluendo.com>
985
986         * gst/gstbuffer.c:
987         * gst/gsttask.c: (gst_task_join):
988         Small doc updates.
989
990         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
991         (gst_pad_stop_task):
992         When pad (de)activation failed for some reason, restore the old
993         activation mode and set the pad to flushing instead of assuming the
994         pad is deactivated.
995         If the _task_join() failed, reinstall the task on the pad so that it can
996         be stopped later and return an error.
997
998 2006-08-11  Andy Wingo  <wingo@pobox.com>
999
1000         * configure.ac:
1001         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1002         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1003         is only for users of API that don't want to see deprecated
1004         functions in the headers; people that want to compile out
1005         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1006         CFLAGS. Fixes the build of multifdsink, or will soon..
1007
1008 2006-08-11  Wim Taymans  <wim@fluendo.com>
1009
1010         * docs/gst/gstreamer-sections.txt:
1011         Add GstClockClass vmethod docs.
1012
1013         * gst/gstcaps.h:
1014         Mark #endif with comment for associated #if
1015
1016         * gst/gstclock.c: (gst_clock_id_wait):
1017         * gst/gstclock.h:
1018         Add vmethod wait_jitter to avoid an unneeded _get_time() for
1019         most clock implementations.
1020         Document vmethods.
1021         Flesh out docs about resolution methods.
1022         API: GstClockClass::wait_jitter
1023
1024         * gst/gstsystemclock.c: (gst_system_clock_class_init),
1025         (gst_system_clock_async_thread),
1026         (gst_system_clock_id_wait_jitter_unlocked),
1027         (gst_system_clock_id_wait_jitter):
1028         Use base class wait_jitter variant for improved performance
1029         due to less clock polling.
1030
1031 2006-08-11  Edward Hervey  <edward@fluendo.com>
1032
1033         * gst/gst.c: (gst_init_check), (init_post):
1034         Set gst as being initialized before scanning/updating the registry,
1035         since there might be my python plugin loader that calls gst_init() and
1036         we don't want to loop back in.
1037         Closes #350879
1038
1039 2006-08-11  Wim Taymans  <wim@fluendo.com>
1040
1041         * docs/design/part-qos.txt:
1042         Bring docs in line with the code. Mostly the sign of the jitter was
1043         wrong in the docs. Fixes #349943.
1044
1045         * gst/gstclock.c:
1046         Fix the docs for the jitter.
1047
1048         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1049         (gst_event_parse_tag), (gst_event_new_buffer_size),
1050         (gst_event_parse_buffer_size), (gst_event_parse_qos),
1051         (gst_event_new_seek), (gst_event_parse_seek),
1052         (gst_event_new_navigation):
1053         Make sure the GstStructure has no parent when creating custom
1054         events.
1055         Add some more argument checking so that we avoid 0.0 rates.
1056         Flesh out the docs for the QoS event some more.
1057
1058 2006-08-11  Wim Taymans  <wim@fluendo.com>
1059
1060         * docs/gst/gstreamer-sections.txt:
1061         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1062         (ensure_current_registry_forking), (ensure_current_registry),
1063         (parse_one_option), (parse_goption_arg), (gst_deinit),
1064         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1065         * gst/gst.h:
1066         Doc updates.
1067         Added API and command line option to disable registry forking in
1068         addition to the environment variable.
1069         Constify some static arrays.
1070         Added some more debug.
1071         Don't deinit twice.
1072         API: gst_registry_fork_is_enabled()
1073         API: gst_registry_fork_set_enabled()
1074         API: --gst-disable-registry-fork command line option
1075         Fixes #348918.
1076
1077 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
1078
1079         * gst/gst.c: (gst_init):
1080           Fix typo in error message.
1081
1082 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1083
1084         * libs/gst/controller/gstcontroller.h:
1085           fix ABI size-correction
1086
1087         * tests/check/libs/gdp.c: (gst_dp_suite):
1088           make tests that use deprecated API conditional
1089
1090 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1091
1092         * docs/libs/gstreamer-libs-sections.txt:
1093         * libs/gst/controller/gstcontroller.c:
1094         (_gst_controller_get_property), (_gst_controller_set_property),
1095         (_gst_controller_init), (_gst_controller_class_init):
1096         * libs/gst/controller/gstcontroller.h:
1097         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1098         (gst_object_set_control_rate):
1099           API: add gst_object_{s,g}et_control_rate(), add private data section,
1100           fix docs
1101
1102         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1103         * libs/gst/dataprotocol/dataprotocol.h:
1104           add deprecation guards to make gtk-doc happy and allow disabling cruft
1105
1106 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1107
1108         * tests/check/Makefile.am:
1109         * tests/check/gst/.cvsignore:
1110           Let's enable the new unit test as well.
1111
1112 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1113
1114         * configure.ac:
1115         * docs/gst/gstreamer-sections.txt:
1116         * gst/gstconfig.h.in:
1117         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1118         (_gst_info_printf_extension_ptr),
1119         (_gst_info_printf_extension_segment):
1120           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1121           register that lets us easily dump GstSegments into debug
1122           logs (#350419).
1123
1124         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1125         (info_segment_format_printf_extension), (gst_info_suite):
1126           Add simple unit test that logs a bunch of different segments (not
1127           valgrinded at the moment because of leaks in
1128           gst_debug_add_log_function).
1129
1130 2006-08-09  Edward Hervey  <edward@fluendo.com>
1131
1132         * libs/gst/base/gstbasetransform.c:
1133         (gst_base_transform_buffer_alloc):
1134         Even if we can't figure out the proper format to request downstream,
1135         call buffer_alloc() downstream with the input parameters without setting
1136         the caps on the srcpad. This will force negotiation in the chain
1137         function.
1138         Closes #350449
1139
1140 2006-08-08  Edward Hervey  <edward@fluendo.com>
1141
1142         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1143         Unlinking from a pad without a target is now a perfectly valid case
1144         which should NOT raise an assertion.
1145         This case would happen if a linked ghostpad its target set to NULL after
1146         it was previously linked.
1147
1148 2006-08-08  Edward Hervey  <edward@fluendo.com>
1149
1150         * tests/check/libs/gdp.c:
1151         Also comment out the test (see below).
1152
1153 2006-08-08  Edward Hervey  <edward@fluendo.com>
1154
1155         * tests/check/libs/gdp.c: (gst_dp_suite):
1156         Use the architecture information from config.h and not gcc macros
1157         in order to properly disable a test that fails on PPC64.
1158
1159 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1160
1161         * gst/gstelement.c: (gst_element_remove_pad):
1162           Don't crash printing the warning if the pad has no parent.
1163
1164 2006-08-02  Wim Taymans  <wim@fluendo.com>
1165
1166         * libs/gst/dataprotocol/dataprotocol.c:
1167         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1168         (gst_dp_crc), (gst_dp_header_payload_length),
1169         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1170         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1171         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1172         (gst_dp_event_from_packet), (gst_dp_validate_header),
1173         (gst_dp_validate_payload):
1174         Make debug category static
1175         Constify the crc table.
1176         Do some more arg checking in public functions.
1177         Fix some docs and do some small cleanups.
1178
1179         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1180         Add some more checks to see if GDP deals with bogus input.
1181
1182 2006-07-31  Wim Taymans  <wim@fluendo.com>
1183
1184         * gst/gstvalue.c: (gst_value_compare_list):
1185         Fix GstValueList comparison code. Fixes #347293.
1186
1187         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1188         Check to test GstValueList comparison.
1189
1190 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1191
1192         * gst/gstelementfactory.c: (gst_element_factory_create):
1193         Remove unnecessary ref/unref pair
1194
1195         * gst/parse/grammar.y:
1196         Make sure to free the parse buffer on all code paths.
1197         Move a g_free up to the error handler where it's easier to see.
1198
1199         * tests/check/gst/gstevent.c: (test_event):
1200         Extending timeout for downstream travelling events to 10 seconds to
1201         hopefully avoid intermittent failure on the buildbots.
1202
1203         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1204         Don't manually set the state of the src element - it will happen as a
1205         natural consequence of the pipeline changing state, and that way it
1206         will do it in the right order too.
1207
1208 2006-07-31  Wim Taymans  <wim@fluendo.com>
1209
1210         * libs/gst/base/gstbasetransform.c:
1211         (gst_base_transform_buffer_alloc):
1212         Use OBJECT_LOCK and refcounting to get the pad caps in the
1213         buffer_alloc function because the caps could change while we are
1214         busy with them. Fixes #349105
1215
1216 2006-07-31  Wim Taymans  <wim@fluendo.com>
1217
1218         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1219         Protect _PAD_CAPS with OBJECT_LOCK.
1220
1221 2006-07-31  Wim Taymans  <wim@fluendo.com>
1222
1223         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1224         (gst_pad_get_property), (gst_pad_activate_pull),
1225         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1226         (gst_pad_set_activate_function),
1227         (gst_pad_set_activatepull_function),
1228         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1229         (gst_pad_set_getrange_function),
1230         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1231         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1232         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1233         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1234         (gst_pad_set_acceptcaps_function),
1235         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1236         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1237         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1238         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1239         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1240         (gst_pad_configure_sink), (gst_pad_configure_src),
1241         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1242         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1243         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1244         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1245         (gst_pad_send_event):
1246         Use _DEBUG_OBJECT when it makes sense.
1247         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1248         Small cleanups and code reflows.
1249         Avoid caps refcounting in _accept_caps.
1250         Refactor alloc_buffer so that the code performed on the peer is in a
1251         separate function. Also if the pad does not implement a buffer alloc
1252         function, we should still check if the pad is flushing before falling
1253         back to the default allocator.
1254
1255 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1256
1257         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1258         Make all uses of identity and fakesink have silent=true to avoid
1259         serialising every passing data structure, which is breaking tests
1260         on FC4 for some unknown reason.
1261
1262 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1263
1264         * gst/parse/Makefile.am:
1265         * gst/parse/grammar.y:
1266         * gst/parse/parse.l:
1267           Reverted previous patch as it required to bump the flex dependency to
1268           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1269
1270 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1271
1272         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1273
1274         * gst/parse/Makefile.am:
1275         * gst/parse/grammar.y:
1276         * gst/parse/parse.l:
1277           push & pop the state of the lexer for reentrant use case
1278           Fixes #349180
1279
1280 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1281
1282         * libs/gst/base/gstbasesrc.h:
1283           Note in the docs that the ::newsegment vfunc is not actually used by
1284           GstBaseSrc.
1285
1286 2006-07-28  Wim Taymans  <wim@fluendo.com>
1287
1288         * libs/gst/base/gstcollectpads.c:
1289         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1290         (gst_collect_pads_clear), (gst_collect_pads_flush),
1291         (gst_collect_pads_event), (gst_collect_pads_chain):
1292         When flushing a pad, also clear the queued buffer so that we don't
1293         accidentally use it when we shouldn't.
1294         Fix leaks by inreffing incomming buffer.
1295         Flush out queued buffers in case of errors.
1296         Fixes #347452.
1297
1298 2006-07-28  Wim Taymans  <wim@fluendo.com>
1299
1300         * docs/random/phonon-gst:
1301         Random notes about a Phonon backend.
1302
1303 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1304
1305         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1306         Extra debug output
1307         * tests/check/libs/gdp.c: (gst_dp_suite):
1308         Take a whack at fixing the ppc compile using a different define to
1309         disable the broken test.
1310
1311         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1312         Remove excess g_print()
1313
1314 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1315
1316         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1317         Oops, meant to uncomment this line too to dampen the noise a bit.
1318
1319 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1320
1321         * gst/parse/grammar.y:
1322         * gst/parse/parse.l:
1323         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1324         (GST_START_TEST), (parse_suite):
1325         Fix some of the leaks exposed by extending the parse-launch testsuite,
1326         and move the 3 I can't figure out into a separate test that won't run
1327         the pipelines unless the appropriate line is uncommented.
1328
1329 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1330
1331         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1332           Requesting 0 bytes before the end of the file should result in
1333           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1334           unit test.
1335
1336 2006-07-27  Wim Taymans  <wim@fluendo.com>
1337
1338         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1339         Fix useless assert, a uint is always positive.
1340
1341         * gst/gststructure.c: (gst_structure_nth_field_name),
1342         (gst_structure_foreach), (gst_structure_map_in_place):
1343         Check input arguments for public functions to avoid obvious crashes.
1344
1345         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1346         * plugins/elements/gstfakesink.h:
1347         Do less useless typechecking.
1348
1349 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1350
1351         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1352           Do not use mmap() by default since there are a number of error
1353           conditions that we would like to handle in a non-fatal way that
1354           will result in a SIGBUS if we use mmap(). Examples: external
1355           devices (USB harddrive, portable music player) being unplugged
1356           while in use; file on mounted CD/DVD that can't be read because
1357           the medium is partly damaged. Fixes #348455 and #348475.
1358
1359 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1360
1361         * gst/gstquery.h:
1362         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1363         rates are a gdouble
1364
1365 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * gst/gstregistry.c:
1368           Move big documentation comment into class section header, so that it
1369           appears in the API docs.
1370
1371 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1372
1373         * docs/gst/gstreamer-sections.txt:
1374         Oops. Commit the docs additions too for new API.
1375         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1376
1377 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1378
1379         * gst/gststructure.c: (gst_structure_id_set),
1380         (gst_structure_id_set_valist):
1381         * gst/gststructure.h:
1382         Add API for setting values into structures without performing
1383         a quark lookup, if the appropriate quark is already known.
1384
1385         API: gst_structure_id_set
1386         API: gst_structure_id_set_valist
1387
1388         * gst/parse/grammar.y:
1389         * gst/parse/parse.l:
1390         Remove some dead code shown by the coverage information.
1391         Don't throw a critical g_warning when encountering a syntax error,
1392         just warn and let the normal error path handle it.
1393
1394         * plugins/elements/gstelements.c:
1395         Bump the rank of filesink up to PRIMARY so that it is preferred over
1396         gnomevfssink for file:// sink uri's
1397
1398         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1399         (GST_START_TEST), (run_delayed_test),
1400         (gst_parse_test_element_base_init),
1401         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1402         (gst_parse_test_element_change_state),
1403         (gst_register_parse_element), (parse_suite):
1404         Beef up the tests for parse syntax to check that more error cases
1405         fail as they are supposed to. Increases the test coverage a bit.
1406
1407 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1408
1409         * docs/manual/basics-elements.xml:
1410           Fix gst_element_link() example.
1411
1412         * gst/gstutils.c:
1413           Mention in API docs that one should usually gst_bin_add()
1414           elements to a bin or pipeline before doing the linking.
1415           
1416 2006-07-26  Wim Taymans  <wim@fluendo.com>
1417
1418         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1419         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1420         Avoid function call for known types by keeping the buffer and
1421         subbuffer GType global.
1422
1423         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1424         Random silly optimisations in read() path.
1425
1426 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1427
1428         * tools/gst-launch.c: (main):
1429           If the top-level of the parse is a normal bin, it doesn't do the
1430           right logic to run as a top-level element, so place it inside a
1431           pipeline.
1432
1433 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1434
1435         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1436           Remove superfluous g_object_notify() calls, GObject does
1437           that for us automatically.
1438
1439 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1440
1441         * gst/gstinfo.h:
1442           on Win32, use dllspec to export the debug category symbols
1443
1444 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1445
1446         * gst/gsttaglist.c: (_gst_tag_initialize):
1447           Allow more than one GST_TAG_IMAGE per taglist.
1448
1449 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1450
1451         * gst/gstminiobject.c:
1452           update docs
1453         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1454         (gst_fd_src_create):
1455           log recurring events at LOG level
1456           add more debug for when the fd gets set
1457
1458 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1459
1460         * gst/gstparse.c: (gst_parse_launch):
1461           Also remove reentrance checks if flex is MT safe (#348179)
1462          Fix my empty ChangeLog entry below
1463
1464 2006-07-21  Andy Wingo  <wingo@pobox.com>
1465
1466         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1467
1468         * libs/gst/check/Makefile.am
1469         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1470         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1471         * libs/gst/check/gstbufferstraw.h:
1472         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1473         functions, thus proving I am still a GStreamer haxor. OK I wrote
1474         them a long time ago, but anyways.
1475
1476 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1477
1478         * configure.ac:
1479         * gst/gstparse.c: (gst_parse_launch):
1480           Check for flex version and omit mutex if we have a MT save flex
1481           (fixes #348179)
1482
1483 2006-07-21  Wim Taymans  <wim@fluendo.com>
1484
1485         * gst/gstparse.c: (gst_parse_launch):
1486         Protect recursive calls to _parse with a recursive mutex
1487         and busy flag.
1488
1489 2006-07-21  Wim Taymans  <wim@fluendo.com>
1490
1491         * tests/check/gst/gstpad.c: (GST_START_TEST):
1492         Fix leak in test.
1493
1494 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1495
1496         * gst/gstparse.c: (gst_parse_launch):
1497           Do not hang on recursive usage of gst_parse_launch()
1498
1499 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1500
1501         * gst/gsttaglist.c:
1502           Add some more docs, comments and FIXME 0.11s here and there
1503           and also fix some typos.
1504
1505 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1506
1507         * gst/gstsegment.h:
1508           Convert tabs to spaces for better readability. 
1509
1510 2006-07-20  Edward Hervey  <edward@fluendo.com>
1511
1512         * tests/check/libs/gdp.c: (gst_dp_suite):
1513         the test_buffer test fails at line 140 on ppc64 at the following
1514         check:
1515         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1516                 GST_BUFFER_FLAG_IN_CAPS),
1517                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1518         See bug #348114 for more details.
1519
1520 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1521
1522         * docs/pwg/advanced-scheduling.xml:
1523         * gst/gstpad.c:
1524           Fix typos (#348000).
1525
1526 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1527
1528         * docs/pwg/intro-basics.xml:
1529           Fix wrong links (#347927).
1530
1531 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1532
1533         * gst/gstregistry.h:
1534         * gst/gstregistryxml.c: (load_feature),
1535         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1536         * win32/common/config.h:
1537           make --disable-index work (#342564)
1538
1539 2006-07-18  Wim Taymans  <wim@fluendo.com>
1540
1541         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1542
1543         * gst/Makefile.am:
1544         * gst/gsttrace.h:
1545         The attached patch adds two missing defines to gsttrace.h when tracing
1546         is disabled.  It also corrects one existing define.
1547         Fixes #347756.
1548
1549 2006-07-17  Wim Taymans  <wim@fluendo.com>
1550
1551         * docs/gst/gstreamer-sections.txt:
1552         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1553         * gst/gst.h:
1554         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1555         Add two functions to check and change the SIGSEGV behaviour
1556         when loading plugins.
1557         Don't mess with the SIGSEGV handler when we were told not to.
1558         Fixes #347794.
1559         API: gst_segtrap_is_enabled
1560         API: gst_segtrap_set_enabled
1561
1562 2006-07-14  Wim Taymans  <wim@fluendo.com>
1563
1564         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1565         * tests/check/elements/filesrc.c: (GST_START_TEST):
1566         Revert fix for regression in #347408 after release.
1567
1568 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1569
1570         Patch by: Antoine Tremblay <hexa00 at gmail com>
1571
1572         * gst/gstutils.c: (gst_element_unlink):
1573           Free iterator when done (#347311).
1574
1575         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1576           And add a test case for this.
1577
1578 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1579
1580         * configure.ac:
1581         Bump nano back to CVS
1582
1583 === release 0.10.9 ===
1584
1585 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1586
1587         * configure.ac:
1588           releasing 0.10.9, "On the road again"
1589
1590 2006-07-13  Wim Taymans  <wim@fluendo.com>
1591
1592         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1593         * tests/check/elements/filesrc.c: (GST_START_TEST):
1594         Revert pull-0 fix for release. Disable check. Fixes #347408.
1595
1596 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1597
1598         * libs/gst/dataprotocol/dataprotocol.c:
1599         (gst_dp_event_from_packet_1_0):
1600           Fixes #347337: failure to deserialize event packets with
1601           empty payload (only event type)
1602
1603 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1604
1605         * gst/Makefile.am:
1606           do not install a .c file in the header directory
1607
1608 2006-07-13  Edward Hervey  <edward@fluendo.com>
1609
1610         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1611         GhostPad no longer implicitely use the padtemplates of the targets.
1612         Fixes #347384
1613
1614 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1615
1616         * gst/gstvalue.c: (gst_value_compare_list),
1617         (gst_value_compare_array), (_gst_value_initialize):
1618         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1619         Make GstValueArray comparison be order dependent as designed.
1620         Add checks for value lists and value array comparisons.
1621         Fixes #347221
1622
1623 2006-07-11  Edward Hervey  <edward@fluendo.com>
1624
1625         * gst/gstbin.c: (activate_pads),
1626         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1627         (gst_bin_change_state_func):
1628         (de)activate src pads before calling state_change on the childs.
1629         This is to avoid the case where a src ghostpad is blocked (holding the
1630         stream lock), which would block the deactivation of the ghostpad's
1631         target pad.
1632         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1633         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1634         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1635         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1636         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1637         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1638         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1639         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1640         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1641         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1642         (gst_ghost_pad_class_init),
1643         (gst_ghost_pad_internal_do_activate_push),
1644         (gst_ghost_pad_internal_do_activate_pull),
1645         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1646         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1647         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1648         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1649         GhostPads now create their internal GstProxyPad at creation (and not
1650         when they're linked, as it was being done previously).
1651         The internal and target pads are linked straight away.
1652         The data will also travel through the other pad in order to make
1653         pad blocking and probes non-hackish (the probe/block now really happens
1654         on the GhostPad and not on the target).
1655         * gst/gstpad.c: (gst_pad_set_blocked_async),
1656         (gst_pad_link_prepare), (gst_pad_push_event):
1657         Remove previous ghostpad cruft.
1658         * gst/gstutils.c: (gst_pad_add_data_probe),
1659         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1660         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1661         (gst_pad_remove_buffer_probe):
1662         Remove previous ghost pad cruft.
1663         Added more detailed debug statements.
1664         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1665         Fix the testsuite for refcounting changes.
1666         The comments about who has references were correct, but the refcount
1667         being checked wasn't the same (!?!).
1668
1669         Fixes #341029
1670
1671 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1672
1673         * docs/gst/gstreamer-sections.txt:
1674         * gst/gstconfig.h.in:
1675         More docs for configuration options, add docs to gtk-doc.
1676
1677 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1678
1679         * gst/Makefile.am:
1680         * gst/gstconfig.h.in:
1681         * win32/common/config.h:
1682         Fix build when disabling tracing (fixes #344016). Also start to document
1683         the defines that disable the sub-systems.
1684
1685 2006-07-10  Edward Hervey  <edward@fluendo.com>
1686
1687         * gst/gst.c: (ensure_current_registry_forking):
1688         let's make valgrind happy...
1689
1690 2006-07-09  Wim Taymans  <wim@fluendo.com>
1691
1692         * gst/gstelement.c: (activate_pads),
1693         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1694         Better pad activation code: Reset the collect value too on resync.
1695         Add some comments.
1696
1697 2006-07-09  Wim Taymans  <wim@fluendo.com>
1698
1699         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1700         (gst_pad_activate_push):
1701         Use some more macros where it makes sense.
1702         Allow pad mode switching instead of asserting. When a pad
1703         is activated in one mode and we activate it in another, 
1704         deactivate it first before activating it in a different mode.
1705         Fixes #329198.
1706
1707 2006-07-08  Andy Wingo  <wingo@pobox.com>
1708
1709         * tools/gst-launch.c (main): Handle err == NULL.
1710
1711         * gst/gst.c (init_post, ensure_current_registry)
1712         (ensure_current_registry_forking)
1713         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1714         factoring out the registry scanning into separate functions. Don't
1715         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1716         Better environment var name/interface suggestions accepted.
1717
1718 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1719
1720         * gst/gstobject.c: (gst_object_set_name_default),
1721         (gst_object_set_name):
1722           Random micro-optimisation: don't use a hash table
1723           with strings as keys and the usual strdup/strcmp
1724           involved, but rather just use the GQuark of the
1725           type name as key, since it needs to be looked up
1726           anyway to get the type name string.
1727
1728         * tests/check/gst/gstobject.c: (GST_START_TEST):
1729           Fix various leaks.
1730
1731 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1732
1733         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1734         (gst_bin_iterate_all_by_interface):
1735           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1736           GTypes are gulongs and thus the top 4 bytes might be cut
1737           off on some platforms when doing GPOINTER_TO_INT, leading
1738           to invalid GTypes and bad things happening (see RH bug #179654).
1739           Also add a check to make sure the type passed in is really
1740           an interface type.
1741
1742 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1743
1744         * .cvsignore:
1745           Ignore more.
1746
1747 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1748
1749         * Makefile.am:
1750         * configure.ac:
1751         * gst-element-check.m4:
1752         * gst-element-check.m4.in:
1753           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1754           instead of the unversioned gst-inspect (#324176, #168659).
1755
1756 2006-07-06  Wim Taymans  <wim@fluendo.com>
1757
1758         * gst/gstmessage.h:
1759         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1760         warnings.
1761
1762 2006-07-06  Wim Taymans  <wim@fluendo.com>
1763
1764         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1765         (gst_base_src_wait), (gst_base_src_update_length),
1766         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1767         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1768         (gst_base_src_loop), (gst_base_src_start),
1769         (gst_base_src_activate_pull):
1770         Update docs.
1771         blocksize == 0 now means the default blocksize when working in push
1772         based mode.
1773         Remove some pointless asserts in _wait function.
1774         Fix offset/length calculations and EOS handling. We can now pull 0
1775         bytes as well, which is allowed.
1776         use _check_get_range() to decide if we can operate in _pull based
1777         mode.
1778         Fix refcounting leak when check_get_range function was not 
1779         implemented.
1780         API GstBaseSrc::blocksize range can be 0 too now (default)
1781
1782         * tests/check/elements/filesrc.c: (GST_START_TEST),
1783         (filesrc_suite):
1784         Added check to test _get_range() behaviour.
1785
1786 2006-07-06  Wim Taymans  <wim@fluendo.com>
1787
1788         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1789         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1790         (gst_pad_pull_range):
1791         * gst/gstpad.h:
1792         Lots of comments and docs added to the pad functions.
1793         Flesh out the expected behaviour of the get_range() functions.
1794
1795 2006-07-06  Wim Taymans  <wim@fluendo.com>
1796
1797         * gst/gstbus.h:
1798         * gst/gstclock.h:
1799         * gst/gstevent.h:
1800         * gst/gstiterator.h:
1801         * gst/gstpad.h:
1802         * gst/gstplugin.h:
1803         * gst/gsttask.h:
1804         Remove comma at end of enumerator list. 
1805
1806 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1807
1808         * win32/common/libgstbase.def:
1809         * win32/common/libgstdataprotocol.def:
1810         * win32/common/libsgtreamer.def:
1811         Add new exported functions.
1812
1813 2006-07-05  Wim Taymans  <wim@fluendo.com>
1814
1815         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1816         Add some more docs here and there.
1817
1818 2006-07-05  Wim Taymans  <wim@fluendo.com>
1819
1820         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1821         (gst_base_sink_loop), (gst_base_sink_get_position):
1822         When operating in pull mode update the offset so that we
1823         read sequentially.
1824
1825 2006-07-05  Wim Taymans  <wim@fluendo.com>
1826
1827         * gst/gstregistryxml.c: (read_string):
1828         Avoid strdup. (will happen in libxml, but hey!)
1829
1830         * gst/gsturi.c:
1831         Add some more docs.
1832
1833 2006-07-05  Wim Taymans  <wim@fluendo.com>
1834
1835         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1836         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1837         (gst_buffer_suite):
1838         No point in checking if the size of the subbuffer > 0, the
1839         code handles it correclty as demonstrated by unit test.
1840         Also add a unit test for the zero sized _new_and_alloc and
1841         _copy. Fixes #346663.
1842
1843 2006-07-05  Wim Taymans  <wim@fluendo.com>
1844
1845         * libs/gst/base/gstbasetransform.c:
1846         (gst_base_transform_prepare_output_buffer),
1847         (gst_base_transform_buffer_alloc),
1848         (gst_base_transform_handle_buffer):
1849         Make sure the buffer we pass to transform_ip has a refcount of
1850         1 and thus is writable. Fixes #343196
1851
1852 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1853
1854         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1855         (gst_file_src_init), (gst_file_src_set_property),
1856         (gst_file_src_get_property), (gst_file_src_map_region):
1857         * plugins/elements/gstfilesrc.h:
1858         Add "sequential" property, off by default, to use madvise and hint
1859         to the kernel that sequential access is desired.
1860         Touch all retrieved pages by default to ensure they are pulled
1861         into memory. (Closes #345720)
1862
1863 2006-07-03  Wim Taymans  <wim@fluendo.com>
1864
1865         * docs/design/part-block.txt:
1866         * docs/design/part-dynamic.txt:
1867         Small docs updates.
1868
1869 2006-07-03  Wim Taymans  <wim@fluendo.com>
1870
1871         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1872         (gst_caps_unref), (gst_static_caps_get),
1873         (gst_caps_append_structure):
1874         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1875         Use GSlice when the glib we build against is >= 2.10
1876
1877 2006-07-03  Wim Taymans  <wim@fluendo.com>
1878
1879         * gst/gstelement.c: (gst_element_pads_activate):
1880         Small cleanup in pad activation code.
1881
1882 2006-07-03  Wim Taymans  <wim@fluendo.com>
1883
1884         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1885
1886         * gst/gst-i18n-app.h:
1887         * gst/gst-i18n-lib.h:
1888         * tools/gst-inspect.c: (print_signal_info):
1889         The attached patch will make the inclusion of gettext.h unconditional in
1890         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1891         libintl.h in tools/gst-inspect.c.
1892         This allows use of --disable-nls again and fixes #344642.
1893
1894 2006-07-03  Edward Hervey  <edward@fluendo.com>
1895
1896         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1897         Implement pad blocking on events according to part-block.txt.
1898         More comments on behaviour.
1899         * tests/check/gst/gstevent.c: (test_event):
1900         Send event to peer pad of blocked pad (else it will block).
1901
1902 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1903
1904         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1905         (gst_check_run_suite):
1906           if we get the wrong message, give us the types as string
1907         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1908           Fix a translatable
1909         * tests/check/elements/filesrc.c: (GST_START_TEST):
1910           add a test for trying to open a non-existing file
1911
1912 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1913
1914         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1915           add a test for adding self
1916
1917 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1918
1919         * libs/gst/check/gstcheck.h:
1920           add some assert_ as alias for fail_unless_*
1921         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1922           increase test coverage
1923
1924 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1925
1926         * Makefile.am:
1927           include lcov.mak for lcov coverage generation
1928         * tools/Makefile.am:
1929           add to CLEANFILES
1930
1931 2006-07-02  Edward Hervey  <edward@fluendo.com>
1932
1933         * tests/check/elements/.cvsignore:
1934         moaping
1935
1936 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1937
1938         * configure.ac:
1939           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1940         * tests/check/Makefile.am:
1941           clean up gcov files
1942
1943 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1944
1945         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1946           remove gst_caps_simplify; it was not declared and not used
1947           and deprecated in 0.8
1948
1949 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1950
1951         * docs/faq/gst-uninstalled:
1952           don't put empty paths on PYTHONPATH
1953         * docs/gst/gstreamer-sections.txt:
1954           remove some symbols that are not there
1955
1956 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1957
1958         * gst/gstcaps.c: (gst_caps_compare_structures):
1959           whitespace fixes
1960         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1961         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1962           add more tests
1963
1964 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1965
1966         * libs/gst/dataprotocol/Makefile.am:
1967           build dataprotocol test by linking to the lib, instead of
1968           compiling the source, so we get coverage
1969         * tests/check/Makefile.am:
1970         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1971         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1972           add a test for filesrc
1973
1974 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1975
1976         * tests/check/gst/gststructure.c: (GST_START_TEST),
1977         (gst_structure_suite):
1978           Push coverage from 59.04% to 70.00%
1979
1980 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1981
1982         * tests/check/Makefile.am:
1983           gst-inspect every element; this makes sure that we also get
1984           coverage on element's get/set functions
1985
1986 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1987
1988         * configure.ac:
1989           set CFLAGS and friends to -O0 if gcov is being used
1990           add GCOV LIBS
1991         * gst/Makefile.am:
1992         * libs/gst/base/Makefile.am:
1993         * libs/gst/check/Makefile.am:
1994         * libs/gst/controller/Makefile.am:
1995         * libs/gst/dataprotocol/Makefile.am:
1996         * libs/gst/net/Makefile.am:
1997         * plugins/elements/Makefile.am:
1998         * plugins/indexers/Makefile.am:
1999           add makefile rules to generate gcov data and clean up
2000         * tests/check/Makefile.am:
2001           add a coverage target that generates an html overview
2002           of coverage data
2003
2004 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2005
2006         * tests/check/elements/fakesink.c:
2007         * tests/check/elements/fakesrc.c:
2008         * tests/check/elements/fdsrc.c:
2009         * tests/check/elements/identity.c:
2010         * tests/check/generic/sinks.c: (gst_sinks_suite):
2011         * tests/check/generic/states.c:
2012         * tests/check/gst/gst.c:
2013         * tests/check/gst/gstabi.c:
2014         * tests/check/gst/gstbin.c:
2015         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2016         * tests/check/gst/gstbus.c: (gst_bus_suite):
2017         * tests/check/gst/gstcaps.c: (GST_START_TEST):
2018         * tests/check/gst/gstelement.c:
2019         * tests/check/gst/gstevent.c: (gst_event_suite):
2020         * tests/check/gst/gstghostpad.c:
2021         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2022         * tests/check/gst/gstmessage.c: (gst_message_suite):
2023         * tests/check/gst/gstminiobject.c:
2024         * tests/check/gst/gstobject.c:
2025         * tests/check/gst/gstpad.c:
2026         * tests/check/gst/gstpipeline.c:
2027         * tests/check/gst/gstplugin.c:
2028         * tests/check/gst/gstquery.c: (gst_query_suite):
2029         * tests/check/gst/gstsegment.c: (gst_segment_suite):
2030         * tests/check/gst/gststructure.c:
2031         * tests/check/gst/gstsystemclock.c:
2032         * tests/check/gst/gsttag.c:
2033         * tests/check/gst/gsttask.c: (gst_task_suite):
2034         * tests/check/gst/gstutils.c:
2035         * tests/check/gst/gstvalue.c:
2036         * tests/check/libs/adapter.c:
2037         * tests/check/libs/basesrc.c:
2038         * tests/check/libs/collectpads.c:
2039         * tests/check/libs/controller.c:
2040         * tests/check/libs/gdp.c: (gst_dp_suite):
2041         * tests/check/libs/gstnetclientclock.c:
2042         * tests/check/libs/gstnettimeprovider.c:
2043         * tests/check/libs/libsabi.c: (libsabi_suite):
2044         * tests/check/libs/typefindhelper.c:
2045         * tests/check/pipelines/cleanup.c:
2046         * tests/check/pipelines/parse-launch.c:
2047         * tests/check/pipelines/simple-launch-lines.c:
2048         * tests/check/pipelines/stress.c: (stress_suite):
2049           use the new macro
2050
2051 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2052
2053         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2054         * libs/gst/check/gstcheck.h:
2055           create a macro and function so that the simple unit test
2056           case can be just one macro to create main()
2057
2058 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
2059
2060         * gst/gstbin.c: (gst_bin_restore_thyself):
2061         * gst/gstxml.c: (gst_xml_make_element):
2062           Fix deserialisation from XML. Set parent manually
2063           instead of using gst_bin_add(), since gst_bin_add()
2064           will unlink all pads of the element being added.
2065           Fixes #341667.
2066
2067 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
2068
2069         Patch by: Peter Kjellerstedt <pkj at axis com>
2070
2071         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2072           Fix missing g_strdup() and double free when using the
2073           --gst-plugin-load command line option (#346097).
2074
2075 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2076
2077         * gst/gstinfo.c:
2078           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2079
2080         * libs/gst/net/gstnetclientclock.c:
2081         * libs/gst/net/gstnettimeprovider.c:
2082           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2083
2084 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2085
2086         * docs/manual/advanced-dataaccess.xml:
2087           Fix buffer probe example compilation in
2088           ADM (#345708).
2089         
2090 2006-06-22  Edward Hervey  <edward@fluendo.com>
2091
2092         * gst/gstelement.c: (gst_element_pads_activate):
2093         We need to deactivate src pads first and then sink pads.
2094         The reason is the src pads might be blocking while holding the streaming
2095         lock, so we need to deactivate them first so that deactivating the sink
2096         pads doesn't block (since it will require the streaming lock).
2097
2098 2006-06-22  Wim Taymans  <wim@fluendo.com>
2099
2100         * libs/gst/base/gstbasetransform.c:
2101         (gst_base_transform_buffer_alloc):
2102         Forgot to remove two unneeded unrefs.
2103         Simplify a check _is_equal allready checks the obvious case.
2104
2105 2006-06-22  Wim Taymans  <wim@fluendo.com>
2106
2107         * docs/design/part-block.txt:
2108         Some docs about what pad_block should do.
2109
2110 2006-06-22  Wim Taymans  <wim@fluendo.com>
2111
2112         * gst/gstcaps.c: (gst_caps_replace):
2113         Fix crasher when passed NULL. Doc clarification.
2114         Optimize for the trivial case.
2115
2116         * gst/gstpipeline.c: (gst_pipeline_change_state):
2117         Small cleanups.
2118
2119         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2120         Small documentation cleanup.
2121
2122         * libs/gst/base/gstbasetransform.c:
2123         (gst_base_transform_buffer_alloc):
2124         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2125         is what we need and it avoids a whole lot of redundant 
2126         refcount operations.
2127
2128 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2129
2130         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2131
2132         * docs/manual/advanced-dataaccess.xml:
2133           Fix 'Embedding static elements' section to use
2134           GST_PLUGIN_DEFINE_STATIC (#345607).
2135
2136 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2137
2138         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2139           Attempt to 'fix' spuriously failing test case: it seems like the
2140           timeout of half a second is simply too small when the system is under
2141           load otherwise, and the timeout doesn't really seem to serve any
2142           particular purpose here. Give the pipeline a few seconds to preroll
2143           first, and then give it another half a second to go from PAUSED to
2144           PLAYING and marshal the message into the main thread.
2145
2146 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2147
2148         * tools/gst-feedback-m.m:
2149           Don't only use unversioned tools, try versioned tools as well
2150           (#345086).
2151
2152 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2153
2154         * gst/gstbus.c: (gst_bus_class_init):
2155           Fix some typos, make docs more explicit.
2156
2157 2006-06-20  Wim Taymans  <wim@fluendo.com>
2158
2159         * tests/check/gst/gstghostpad.c: (block_callback),
2160         (GST_START_TEST), (gst_ghost_pad_suite):
2161         Added some more ghostpad tests, mainly blocking
2162         and probes.
2163
2164 2006-06-16  Wim Taymans  <wim@fluendo.com>
2165
2166         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2167         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2168         (gst_file_sink_event), (gst_file_sink_render):
2169         * plugins/elements/gstfilesink.h:
2170         Check if we can seek in the file instead of assuming
2171         we always can. Post an error when we are asked to seek in a
2172         non-seekable file (like a fifo). Fixes #343312.
2173         Some cleanups.
2174
2175 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * tools/gst-launch.1.in:
2178           Un-garble (fourcc) bit in filtered caps section.
2179
2180 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2181
2182         * docs/manual/advanced-autoplugging.xml:
2183         * docs/manual/basics-helloworld.xml:
2184         * docs/manual/highlevel-components.xml:
2185           Don't leak bus reference in sample code.
2186
2187 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2188
2189         * autogen.sh:
2190           Add default for new --enable-plugin-docs switch.
2191
2192         * configure.ac:
2193           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2194           Fixes #344039.
2195
2196         * docs/Makefile.am:
2197           Use new ENABLE_PLUGIN_DOCS conditional.
2198
2199 2006-06-14  Wim Taymans  <wim@fluendo.com>
2200
2201         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2202         Make it clear with a FIXME and a real define what the #if 0
2203         previously disabled.
2204
2205 2006-06-14  Wim Taymans  <wim@fluendo.com>
2206
2207         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2208         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2209         * libs/gst/base/gstbasetransform.c:
2210         (gst_base_transform_sink_eventfunc):
2211         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2212         Don't randomly and silently reset a segment when the format 
2213         changes as this is a bug somewhere upstream. Fixes #330379.
2214
2215 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2216
2217         Patch by: Wouter Paesen  <wouter at kangaroot net>
2218
2219         * libs/gst/controller/gstcontroller.c:
2220         (gst_controlled_property_new):
2221           Fix controlling of float properties (#344849).
2222
2223         * tests/check/libs/controller.c:
2224         (gst_test_mono_source_get_property),
2225         (gst_test_mono_source_set_property),
2226         (gst_test_mono_source_class_init), (GST_START_TEST):
2227           While we're at it, add some float stuff to unit test.
2228
2229 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2230
2231         * docs/README:
2232         * docs/images/gdp-header.svg:
2233           add a gdp image
2234         * docs/libs/Makefile.am:
2235         * docs/libs/gdp-header.png:
2236         * libs/gst/dataprotocol/dataprotocol.c:
2237           add it to the API docs
2238         * docs/manual/intro-motivation.xml:
2239           fix typo
2240
2241 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2242
2243         * gst/gst.c: (scan_and_update_registry), (init_post):
2244           If the fork()'ed child process can't write the updated registry cache
2245           file to disk for some reason, make it exit with a failure exit code,
2246           so that the parent can then re-scan the plugins itself and update the
2247           registry structures in memory and work with that (rather than failing
2248           when creating elements because seemingly no plugins are available).
2249           Refactor registry scanning code into separate function for this and
2250           also separate fork() and non-fork() code paths. Fixes #344748.
2251
2252 2006-06-13  Wim Taymans  <wim@fluendo.com>
2253
2254         * docs/manual/advanced-dataaccess.xml:
2255         Fix wrong PluginDesc. Fixes #344755.
2256
2257 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2258
2259         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2260           Fix silly bug that prevented us from creating
2261           ~/.gstreamer-0.10 and writing the registry in one
2262           go (the first call to g_mkstemp() would overwrite the
2263           placeholder in the template string, so the second call
2264           to g_mkstemp() after creating the missing directory
2265           would then error out with 'invalid argument').
2266
2267 2006-06-13  Edward Hervey  <edward@fluendo.com>
2268
2269         * gst/gst.c: (init_post):
2270         Free string.
2271
2272 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2273
2274         * gst/glib-compat-private.h:
2275         * gst/glib-compat.c:
2276         * gst/glib-compat.h:
2277         * gst/gstvalue.c: (gst_value_serialize_flags):
2278           remove GLib 2.6 compatibility code
2279
2280 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2281
2282         * gst/parse/Makefile.am:
2283           Fix build with 'make -j N' even more (#340016).
2284
2285 2006-06-12  Wim Taymans  <wim@fluendo.com>
2286
2287         * docs/gst/gstreamer-sections.txt:
2288         Fix docs.
2289
2290 2006-06-12  Wim Taymans  <wim@fluendo.com>
2291
2292         * gst/gstsegment.c: (gst_segment_set_duration),
2293         (gst_segment_set_last_stop), (gst_segment_set_seek),
2294         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2295         (gst_segment_to_running_time), (gst_segment_clip):
2296         Use G_UNLIKELY to help the compiler a bit.
2297
2298 2006-06-12  Wim Taymans  <wim@fluendo.com>
2299
2300         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2301
2302         * gst/gstevent.c: (gst_event_get_type):
2303         * gst/gstmessage.c:
2304         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2305         (gst_pad_push):
2306         constify quark registration strings. Fixes #344115
2307         Avoid unneeded type checking is _pad_push() by internally
2308         calling gst_pad_chain_unchecked().
2309
2310 2006-06-12  Wim Taymans  <wim@fluendo.com>
2311
2312         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2313         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2314         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2315         (gst_buffer_is_span_fast), (gst_buffer_span):
2316         Init _type for consistency.
2317         Use _FLAGS macro to avoid type check.
2318         Avoid unneeded type checks in subbufer code.
2319
2320 2006-06-12  Wim Taymans  <wim@fluendo.com>
2321
2322         * gst/gst.c: (gst_debug_help):
2323         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2324         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2325         (gst_plugin_feature_list_free):
2326         * gst/gstregistry.c: (gst_registry_add_plugin),
2327         (gst_registry_add_feature), (gst_registry_plugin_filter),
2328         (gst_registry_feature_filter), (gst_registry_find_plugin),
2329         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2330         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2331         * gst/gstregistryxml.c: (load_feature),
2332         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2333         * gst/gstminiobject.c: (gst_mini_object_unref),
2334         (gst_mini_object_replace), (gst_value_mini_object_free),
2335         (gst_value_mini_object_copy):
2336         Use _CAST macros to avoid unneeded type checking.
2337         Added some more G_UNLIKELY.
2338
2339 2006-06-12  Wim Taymans  <wim@fluendo.com>
2340
2341         * gst/gstbuffer.h:
2342         Avoid unneeded type checking.
2343         API: GST_BUFFER_IS_DISCONT
2344
2345         * gst/gstminiobject.h:
2346         Avoid type check in flag accessor.
2347
2348         * gst/gstelementfactory.h:
2349         * gst/gstplugin.h:
2350         * gst/gstpluginfeature.h:
2351         Add _CAST macros.
2352         API: GST_ELEMENT_FACTORY_CAST
2353         API: GST_PLUGIN_CAST
2354         API: GST_PLUGIN_FEATURE_CAST
2355
2356 2006-06-12  Wim Taymans  <wim@fluendo.com>
2357
2358         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2359         (gst_object_unref):
2360         Add G_UNLIKELY in type registration.
2361         Avoid type check in _ref/_unref since that is also
2362         done in glib.
2363
2364 2006-06-12  Wim Taymans  <wim@fluendo.com>
2365
2366         * gst/gsterror.c: (gst_g_error_get_type):
2367         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2368         (gst_static_pad_template_get_type):
2369         * gst/gsttaglist.c: (gst_tag_list_get_type):
2370         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2371         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2372         * gst/gsturi.c: (gst_uri_handler_get_type):
2373         * gst/gstvalue.c: (gst_date_get_type):
2374         * gst/gstxml.c: (gst_xml_get_type):
2375         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2376         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2377         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2378         Add G_UNLIKELY in type registration.
2379
2380 2006-06-12  Wim Taymans  <wim@fluendo.com>
2381
2382         * tools/gst-inspect.c: (print_signal_info):
2383         Properly print enum values.
2384
2385 2006-06-12  Wim Taymans  <wim@fluendo.com>
2386
2387         * gst/gstinfo.c: (gst_debug_set_active),
2388         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2389         * gst/gstinfo.h:
2390         Add some G_[UN]LIKELY.
2391         Maintain __gst_debug_min to avoid formatting the arguments of
2392         debug messages that will be dropped anyway to avoid a lot of 
2393         overhead from the debugging system.
2394
2395 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2396
2397         * po/POTFILES.in:
2398         * po/POTFILES.skip:
2399           add missing files containing translatable strings, tell intltool about
2400           one exception
2401
2402 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2403
2404         * tests/check/libs/.cvsignore:
2405         add test-binary to ignore list
2406
2407 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2408
2409         * docs/libs/gstreamer-libs-docs.sgml:
2410         reorder (put dp into a chapter) and indent
2411
2412 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2413
2414         * configure.ac:
2415           back to HEAD
2416
2417 === release 0.10.8 ===
2418
2419 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2420
2421         * configure.ac:
2422           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2423
2424 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2425
2426         * gst/gst.c: (init_post):
2427           move pid declaration to declaration block
2428
2429 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2430
2431         * gst/gst.c: (init_post):
2432           use _exit() instead of exit() in our forked child; this ensures
2433           that none of the registered exit handlers from whatever is using
2434           GStreamer get executed.  This fixes gnome-mixer-applet failing
2435           to load, because ORBit would shut down.
2436           Spotted by: Edward Hervey  <edward@fluendo.com>
2437           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2438           Fixes #344474
2439
2440 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2441
2442         * configure.ac:
2443           back to TRUNK
2444
2445 === release 0.10.7 ===
2446
2447 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2448
2449         * configure.ac:
2450           releasing 0.10.7, "Soepeke, ik zie ou"
2451
2452 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2453
2454         * configure.ac:
2455         * po/af.po:
2456         * po/az.po:
2457         * po/bg.po:
2458         * po/ca.po:
2459         * po/cs.po:
2460         * po/de.po:
2461         * po/en_GB.po:
2462         * po/fr.po:
2463         * po/it.po:
2464         * po/nb.po:
2465         * po/nl.po:
2466         * po/ru.po:
2467         * po/sq.po:
2468         * po/sr.po:
2469         * po/sv.po:
2470         * po/tr.po:
2471         * po/uk.po:
2472         * po/vi.po:
2473         * po/zh_CN.po:
2474         * po/zh_TW.po:
2475         * win32/common/config.h:
2476           0.10.6.2 prerelease
2477
2478 2006-06-07  Wim Taymans  <wim@fluendo.com>
2479
2480         * gst/gstindex.c: (gst_index_gtype_resolver):
2481         * tools/gst-xmlinspect.c: (print_plugin_info):
2482         Fix leak spotted by coverity checker. Fixes #343827
2483         Fix another other leak found by paolo borelli.
2484
2485 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2486
2487         * libs/gst/dataprotocol/dataprotocol.c:
2488         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2489         (gst_dp_version_get_type), (gst_dp_init),
2490         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2491         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2492         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2493         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2494         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2495         (gst_dp_packetizer_free):
2496         * libs/gst/dataprotocol/dataprotocol.h:
2497           API: add a GstDPPacketizer object, and create/free functions
2498           API: add GstDPVersion enum
2499           Add 1.0 event function that uses the string serialization
2500           Serialize more useful buffer flags
2501           Fixes #343988
2502
2503 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2504
2505         * tests/check/Makefile.am:
2506         * tests/check/gst/gstabi.c:
2507         * tests/check/gst/struct_ppc64.h:
2508         * tests/check/libs/libsabi.c:
2509         * tests/check/libs/struct_ppc64.h:
2510           add ppc64 structure sizes
2511
2512 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2513
2514         * tests/check/Makefile.am:
2515         * tests/check/gst/gstabi.c:
2516         * tests/check/gst/struct_x86_64.h:
2517         * tests/check/libs/libsabi.c:
2518         * tests/check/libs/struct_x86_64.h:
2519           generate and add structure size lists for x86_64
2520
2521 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2522
2523         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2524         * libs/gst/check/gstcheck.h:
2525           factor out the method from tests that checks size of structures,
2526           and add code to generate the header containing these sizes
2527         * tests/check/gst/gstabi.c: (GST_START_TEST):
2528         * tests/check/gst/struct_i386.h:
2529         * tests/check/libs/libsabi.c: (GST_START_TEST):
2530         * tests/check/libs/struct_i386.h:
2531           use it
2532
2533 2006-06-06  Michael Smith  <msmith@fluendo.com>
2534
2535         * gst/gstsegment.h:
2536           Don't use c++-style comments, fixes #343929
2537
2538 2006-06-05  Edward Hervey  <edward@fluendo.com>
2539
2540         * gst/gst.c:
2541         plugin_paths is not used if we build without registry support.
2542
2543         * gst/gstsegment.c: (gst_segment_copy): 
2544         _copy() was always returning NULL...
2545
2546 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2547
2548         * libs/gst/dataprotocol/dataprotocol.c:
2549         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2550         (gst_dp_packet_from_event):
2551           factor out CRC code
2552
2553 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2554
2555         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2556           make sure we unset caps
2557
2558 2006-06-02  Michael Smith  <msmith@fluendo.com>
2559
2560         * libs/gst/check/gstcheck.c: (gst_check_init),
2561         (gst_check_chain_func):
2562         * libs/gst/check/gstcheck.h:
2563           Add a cond/mutex to the check support lib, signal this whenever we
2564           add to the buffers list. This will allow tests to not busy-wait on
2565           the buffer-list.
2566
2567 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2568
2569         * libs/gst/dataprotocol/dataprotocol.c:
2570         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2571         (gst_dp_packet_from_event):
2572           factor out some common header init code
2573
2574 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2575
2576         * docs/libs/gstreamer-libs-sections.txt:
2577         * docs/libs/tmpl/gstdataprotocol.sgml:
2578         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2579         * libs/gst/dataprotocol/dataprotocol.h:
2580           API: make gst_dp_crc() public
2581
2582 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2583
2584         * plugins/indexers/gstindexers.c: (plugin_init):
2585         conditionally register fileindexer (fixes #343598)
2586
2587 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2588
2589         * gst/gsttagsetter.h:
2590         Can't cast ifaces to a class
2591
2592         * libs/gst/net/gstnetclientclock.h:
2593         * libs/gst/net/gstnettimeprovider.h:
2594         * plugins/elements/gstfakesink.h:
2595         * plugins/elements/gstfakesrc.h:
2596         * plugins/elements/gstfdsink.h:
2597         * plugins/elements/gstfdsrc.h:
2598         * plugins/elements/gstfilesink.h:
2599         * plugins/elements/gstfilesrc.h:
2600         * plugins/elements/gstidentity.h:
2601         * plugins/elements/gstqueue.h:
2602         * plugins/elements/gsttee.h:
2603         * plugins/indexers/gstfileindex.c:
2604         * plugins/indexers/gstmemindex.c:
2605         * tests/old/examples/plugins/example.h:
2606         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2607
2608 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2609
2610         * libs/gst/dataprotocol/dataprotocol.c:
2611         (gst_dp_header_from_buffer):
2612           make sure we zero the whole ABI-compatible area
2613
2614 2006-06-01  Wim Taymans  <wim@fluendo.com>
2615
2616         Patch by: Alessandro Decina <alessandro at nnva dot org>
2617
2618         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2619         Make sure the EOS flag is cleared from pads after a flush
2620         or stop. Fixes #343538.
2621
2622         * tests/check/libs/collectpads.c: (GST_START_TEST),
2623         (gst_collect_pads_suite):
2624         Added test for collectpads reusage after EOS.
2625
2626 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2627
2628         * gst/gst.c:
2629          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2630         * win32/common/libgstbase.def:
2631          export gst_collect_pads_set_flushing
2632         * win32/common/libgstreamer.def:
2633          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2634          gst_value_fraction_multiply
2635         * win32/vs6/gst_inspect.dsp:
2636          add a link to intl.lib
2637
2638 2006-05-30  Wim Taymans  <wim@fluendo.com>
2639
2640         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2641         (gst_collect_pads_chain):
2642         Handle the case where a pad is removed from the collection
2643         that could cause the other pads to become collectable.
2644
2645 2006-05-30  Wim Taymans  <wim@fluendo.com>
2646
2647         * gst/gstelement.c:
2648         Clarify the use of _release_request_pad() and
2649         _get_request_pad() a bit better.
2650
2651         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2652         (gst_adapter_take_buffer):
2653         Fix some doc and comment typos.
2654
2655 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2656
2657         * docs/gst/gstreamer-sections.txt:
2658         * docs/libs/gstreamer-libs-sections.txt:
2659           add declared symbols
2660
2661 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2662
2663         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2664         Add debug that can be enabled using a #define at the top of the file,
2665         for dumping stats about how late/early we were when waking up from
2666         waiting on the clock.
2667
2668 2006-05-30  Wim Taymans  <wim@fluendo.com>
2669
2670         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2671         When rebuilding the pad list, don't leak the previous list.
2672
2673 2006-05-30  Wim Taymans  <wim@fluendo.com>
2674
2675         Patch by: Lutz Mueller <lutz at topfrose dot de>
2676
2677         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2678         (gst_base_src_get_query_types), (gst_base_src_update_length):
2679         Publish supported query types.
2680         Update last_stop field in get_range mode so the position
2681         query works. Fixes #342321.
2682
2683 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2684
2685         * docs/gst/gstreamer-sections.txt:
2686         * gst/gsttaglist.c: (_gst_tag_initialize):
2687         * gst/gsttaglist.h:
2688           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2689
2690 2006-05-30  Wim Taymans  <wim@fluendo.com>
2691
2692         Patch by: Alessandro Decina <alessandro at nnva dot org>
2693
2694         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2695         Unlock mutex when removing an unknown pad.
2696         Fixes #343334.
2697
2698         * tests/check/Makefile.am:
2699         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2700         (push_event), (setup), (teardown), (GST_START_TEST),
2701         (gst_collect_pads_suite), (main):
2702         Added collecpads check, disabled for now as check crashes for
2703         some reason.
2704
2705 2006-05-29  Wim Taymans  <wim@fluendo.com>
2706
2707         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2708         Don't leak pads lists.
2709
2710 2006-05-29  Wim Taymans  <wim@fluendo.com>
2711
2712         * docs/libs/gstreamer-libs-sections.txt:
2713         * libs/gst/base/gstcollectpads.c:
2714         (gst_collect_pads_set_flushing_unlocked),
2715         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2716         (gst_collect_pads_stop):
2717         * libs/gst/base/gstcollectpads.h:
2718         API: gst_collect_pads_set_flushing()
2719         Added api to set the pads to flushing, useful for seeking
2720         code in elements using collectpads.
2721         Clear segment when receiving a flush.
2722
2723 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2724
2725         * gst/gst.c: (add_path_func), (init_post):
2726           Don't scan registry paths passed via --gst-plugin-path immediately
2727           (will crash, because absolutely nothing is set up and no types are
2728           registered etc.); do this later in init_post(). Fixes #343057.
2729
2730 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2731
2732         * gst/gst.c: (init_post):
2733           if we have fork, fork while reading/rebuilding the registry
2734           so the parent doesn't take the hit of having all plugins loaded
2735           in memory.  Fixes #342777.
2736         * configure.ac:
2737           Check if we have fork()
2738         * win32/common/config.h.in:
2739           no fork() on win32
2740
2741 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2742
2743         * plugins/elements/gstelements.c:
2744         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2745         (gst_file_src_init), (gst_file_src_set_property),
2746         (gst_file_src_get_property), (gst_file_src_start):
2747         * plugins/elements/gstfilesrc.h:
2748           API: GstFileSrc::use-mmap
2749
2750         Add a use-mmap property to enable easier testing of all code paths.
2751         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2752         in the absence of gnomevfssrc. (Closes #340501)
2753
2754 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2755
2756         * tools/gst-inspect.c:
2757         Add missing include, removes warning of ngettext not being defined on
2758         some arches.
2759
2760 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2761
2762         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2763         Handle NULL input and output pointers silently as a failed conversion,
2764         rather than g_warnings.
2765
2766 2006-05-25  Wim Taymans  <wim@fluendo.com>
2767
2768         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2769         Initialize variable before using. Fixes #342820.
2770
2771 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2772
2773         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2774           Fix off-by-one bug that would only allow peeks of N-1 bytes
2775           from the start even if the buffer to typefind on contains
2776           in fact N bytes of data (makes vorbis typefinding from a
2777           vorbis identification header buffer work).
2778
2779         * tests/check/Makefile.am:
2780         * tests/check/libs/.cvsignore:
2781         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2782         (gst_typefindhelper_suite), (main), (foobar_typefind),
2783         (plugin_init):
2784           Add very basic unit test for gst_type_find_helper_for_buffer()
2785           that checks for the problem fixed above.
2786
2787 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2788
2789         * tools/gst-inspect.c: (print_interfaces),
2790         (print_element_properties_info), (print_element_list), (main):
2791           add more translatable strings
2792
2793 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2794
2795         Patch by: Julien Moutte  <julien at moutte net>
2796
2797         * docs/gst/gstreamer-sections.txt:
2798           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2799           
2800         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2801         (gst_fake_sink_preroll):
2802         * plugins/elements/gstfakesink.h:
2803           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2804
2805 2006-05-23  Wim Taymans  <wim@fluendo.com>
2806
2807         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2808         * gst/gstpad.h:
2809         Added _CUSTOM error and success GstFlowReturn that can be
2810         used be elements internally. 
2811         Added macro to check for SUCCESS flowreturns.
2812         API: GST_FLOW_CUSTOM_SUCCESS
2813         API: GST_FLOW_CUSTOM_ERROR
2814         API: GST_FLOW_IS_SUCCESS
2815
2816         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2817         Added check for GstFlowReturn sanity.
2818
2819 2006-05-23  Wim Taymans  <wim@fluendo.com>
2820
2821         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2822
2823         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2824         (gst_collect_pads_event):
2825         clear/reset segment info in FLUSH_STOP.
2826         Fixes #336929.
2827
2828 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2829
2830         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2831         (gst_collect_pads_check_collected):
2832         Flush queued buffer on _stop(), fixes playing again (#342454)
2833
2834 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2835
2836         * tests/check/gst/gststructure.c: (GST_START_TEST),
2837         (gst_structure_suite):
2838           add a test for a complete structure
2839
2840 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2841
2842         * docs/faq/developing.xml:
2843         * docs/faq/faq.xml:
2844         * docs/faq/troubleshooting.xml:
2845         * docs/faq/using.xml:
2846           Some minor FAQ updates that won't change the fact that
2847           our FAQ is badly structured, full of information hardly
2848           anyone new to GStreamer needs to know and lacking lots
2849           of information people constantly ask for.
2850           
2851 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2852
2853         * gst/gstpad.c: (gst_pad_set_caps):
2854           Short-circuit gst_pad_set_caps if setting the existing
2855           caps pointer again, and avoid printing debug and 
2856           reffing/unreffing the caps.
2857
2858         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2859           There's actually no need to set the caps before pushing -
2860           the acceptcaps method will handle it anyway.
2861
2862 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2863
2864         * docs/gst/gstreamer-sections.txt:
2865         * win32/common/libgstreamer.def:
2866         * gst/gstutils.c: (gst_element_seek_simple):
2867         * gst/gstutils.h:
2868           API: add gst_element_seek_simple() (#342238).
2869
2870 2006-05-18  Edward Hervey  <edward@fluendo.com>
2871
2872         * gst/gsttypefind.c: (gst_type_find_get_type):
2873         * gst/gsttypefind.h:
2874         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2875         registered for GstTypeFind pointers. This allows wrapping the structure
2876         in bindings (i.e. gst-python).
2877
2878 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2879
2880         * gst/gsttagsetter.c:
2881           Docs additions and fixes (see #339918).
2882
2883 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2884
2885         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2886         The caps intersection algorithm can produce multiple copies of the
2887         caps. Until that is fixed, we need to simplify the result to be
2888         sure whether the allowed caps are fixed or not.
2889
2890         * plugins/elements/gstqueue.c: (gst_queue_init),
2891         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2892         (gst_queue_push_one):
2893         Proxied buffer alloc should not set the caps on the source pad.
2894         When pushing buffers, we always accept the caps change that triggers.
2895         This prevents negotiation errors caused by caps changing mid-stream 
2896         and then being refused on our source pad (because upstream is now
2897         refusing those caps).
2898
2899 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2900
2901         * tests/examples/helloworld/helloworld.c: (main):
2902           Must plug audioconvert and audioresample between decoder
2903           and audio sink.
2904
2905 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2906
2907         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2908         (load_feature), (load_plugin):
2909         Allow empty strings for some of the plugin fields so we don't 
2910         drop valid plugin entries that were written out correctly
2911         (Fixes #341479)
2912
2913 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2914         
2915         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2916           Use g_remove and g_rename instead of remove and rename that don't 
2917           handle utf8 characters. rename was failing for users who had specific
2918           characters in their name then the registry was built at each 
2919           gstreamer init.
2920         * win32/vs6/gst_inspect.dsp:
2921         * win32/vs6/gst_launch.dsp:
2922         * win32/vs6/libgstbase.dsp:
2923         * win32/vs6/libgstcoreelements.dsp:
2924         * win32/vs6/libgstreamer.dsp:
2925           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2926           build of libgstreamer and clean unused libraries in projects link 
2927           settings.
2928
2929 2006-05-17  Edward Hervey  <edward@fluendo.com>
2930
2931         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2932         The queue is not responsible for pushing an EOS when receiving a fatal
2933         flow error. It's up to the real element driving the pipeline to do that.
2934
2935 2006-05-16  Edward Hervey  <edward@fluendo.com>
2936
2937         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2938         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2939         buffer returned a fatal error. It should just send an EOS and stop
2940         its task.
2941         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2942         when pushing buffers on the queue and will be able to handle the event.
2943
2944 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2945
2946         * docs/manual/basics-bins.xml:
2947         * docs/manual/basics-init.xml:
2948           Fix typos and minor errors in sample code (#341856).
2949
2950 2006-05-16  Wim Taymans  <wim@fluendo.com>
2951
2952         * docs/design/part-qos.txt:
2953         Fix indexes in formulas to make more sense.
2954
2955 2006-05-15  Wim Taymans  <wim@fluendo.com>
2956
2957         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2958         Don't report POSITION based on clock time if sync is
2959         disabled in a sink.
2960
2961 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2962
2963         * gst/gstobject.h:
2964           Add cast to make compiler happy - refcount variable was a gint
2965           in GstObject but is a guint in GObject and g_atomic_int_get()
2966           wants a gint *.
2967
2968 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2969
2970         * gst/parse/Makefile.am:
2971           chain commands using &&, which also makes parallel make work
2972
2973 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2974
2975         * docs/gst/gstreamer-sections.txt:
2976         * gst/gstevent.c:
2977         * gst/gstevent.h:
2978         * gst/gstmessage.h:
2979           Minor docs fixes.
2980
2981 === release 0.10.6 ===
2982
2983 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2984
2985         * configure.ac:
2986           releasing 0.10.6, "Take the cannoli"
2987
2988 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * tools/gst-launch.c: (print_tag):
2991           Fix use of uninitialized variable in the hypothetical
2992           case that some broken plugin creates a GST_TAG_IMAGE
2993           tag containing a NULL buffer (#341667).
2994
2995 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2996
2997         * tools/gst-launch.c: (print_tag):
2998           Print something more intelligible for image tags when
2999           using the -t switch (#341556).
3000
3001 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3002
3003         * Makefile.am:
3004           updates for win32
3005         * configure.ac:
3006           define GST_MAJORMINOR so we have it available in win32/common/config.h
3007           Possibly remove it from our Makefile.am files later
3008         * win32/common/config.h:
3009         * win32/common/config.h.in:
3010           added GST_MAJORMINOR
3011         * win32/common/gstenumtypes.c: (register_gst_resource_error):
3012         * win32/common/gstversion.h:
3013           updated
3014
3015 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
3016
3017         * win32/MANIFEST:
3018           Update win32 files listing.
3019         * win32/common/gstversion.h:
3020           Add GST_MAJORMINOR definition.
3021         * win32/common/libgstreamer.def:
3022           Add new exported functions.
3023           
3024 2006-05-12  Michael Smith  <msmith@fluendo.com>
3025
3026         * gst/gstplugin.c: (gst_plugin_load_file):
3027           If an so file has no plugin entry point, unload the module.
3028
3029 2006-05-11  Wim Taymans  <wim@fluendo.com>
3030
3031         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3032         (gst_queue_set_property):
3033         Don't forget to signal the _chain or _loop function 
3034         when the queue size or thresholds change since that might
3035         cause them to make progres again.
3036
3037 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
3038
3039         * gst/gstclock.c: (gst_clock_class_init):
3040         * gst/gstindex.c: (gst_index_class_init):
3041         * gst/gstobject.c: (gst_object_class_init):
3042         * gst/gstpad.c: (gst_pad_class_init):
3043         * gst/gstpipeline.c: (gst_pipeline_class_init):
3044         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3045         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3046         * libs/gst/base/gstbasetransform.c:
3047         (gst_base_transform_class_init):
3048         * libs/gst/net/gstnetclientclock.c:
3049         (gst_net_client_clock_class_init):
3050         * libs/gst/net/gstnettimeprovider.c:
3051         (gst_net_time_provider_class_init):
3052         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3053         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3054         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3055         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3056         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3057         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3058         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3059         * plugins/elements/gstidentity.c: (gst_identity_class_init):
3060         * plugins/elements/gsttee.c: (gst_tee_class_init):
3061         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3062         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3063           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3064
3065 2006-05-11  Wim Taymans  <wim@fluendo.com>
3066
3067         * gst/gstbuffer.c: (_gst_buffer_initialize):
3068         Register subbufer along with the buffer type so that
3069         it does not accidentally gets registered from N
3070         different streaming threads in a non threadsafe way.
3071
3072 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3073
3074         * gst/gstbuffer.h:
3075         * gst/gstevent.h:
3076         * gst/gstmessage.h:
3077           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3078           gst_event_ref() and gst_message_ref() functions again
3079           (ugly hack, please do fix if there's a better way besides
3080           overrides.txt, which doesn't seem to work).
3081
3082 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3083
3084         * libs/gst/check/gstcheck.h:
3085           add an assert for setting state to avoid lots of repetitive code
3086           in the future
3087
3088 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3089
3090         * gst/gstvalue.c: (gst_value_serialize_flags):
3091           fix a leak if no flags are set
3092         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3093           fix leak in tests
3094
3095 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3096
3097         * docs/manual/basics-pads.xml:
3098           Expand a bit on caps and filtered links and update
3099           examples that were still using the no longer existing
3100           gst_pad_link_filtered() (#338206).
3101
3102 2006-05-10  Wim Taymans  <wim@fluendo.com>
3103
3104         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3105         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3106         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3107         (gst_collect_pads_stop):
3108         * libs/gst/base/gstcollectpads.h:
3109         No need to call _stop in _finalize.
3110         Iterate the main pad list in _finalize.
3111         Added some more debug.
3112         Free lists and data in the right order.
3113         Also free data whem doing _remove_pad when stopped for
3114         backward compatibility protect ::started with PAD_LOCK as
3115         well.
3116
3117 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3118
3119         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3120         (gst_structure_parse_value):
3121           add some comments
3122           rename a method so that it actually says what it does better
3123
3124 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3125
3126         * gst/gstevent.c: (_gst_event_initialize):
3127         * gst/gstformat.c: (_gst_format_initialize):
3128           make sure some essential types used by events are registered
3129           as part of gst_init()
3130         * gst/gstvalue.c: (gst_value_serialize_flags):
3131           if no flags are set, serialize them to a value that represents NONE
3132           so that deserializing them works
3133         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3134           add tests for serialization and deserialization of flags
3135
3136 2006-05-10  Wim Taymans  <wim@fluendo.com>
3137
3138         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3139         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3140         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3141         (gst_collect_pads_event), (gst_collect_pads_chain):
3142         Update docs.
3143         Better debug info.
3144         Catch and return errors from the collect function
3145         Refuse data on eos pads.
3146
3147 2006-05-10  Edward Hervey  <edward@fluendo.com>
3148
3149         * gst/gstinterface.h:
3150         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3151         GInterface type checking.
3152         They were previously using non-defined macros.
3153
3154 2006-05-09  Wim Taymans  <wim@fluendo.com>
3155
3156         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3157         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3158         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3159         (gst_collect_pads_start), (gst_collect_pads_stop),
3160         (gst_collect_pads_peek), (gst_collect_pads_pop),
3161         (gst_collect_pads_available), (gst_collect_pads_read),
3162         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3163         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3164         (gst_collect_pads_chain):
3165         * libs/gst/base/gstcollectpads.h:
3166         Clean up the mess that is collectpads, add comments and
3167         FIXMEs where needed.
3168         Maintain a separate pad list so we can add pads while
3169         collecting the other ones. For this we need a new separate 
3170         lock (see comics).
3171         Fix memory leak in finalize.
3172         Refactor some weird code to set/unset pad flushing flags, mark
3173         with comments.
3174         Don't crash in _available, _read, _flush when we're EOS.
3175
3176         * tests/check/libs/.cvsignore:
3177         Ignore adapter check binary.
3178
3179 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3180
3181         * gst/gstindex.c: (gst_index_resolver_get_type):
3182         * plugins/elements/gstfakesink.c:
3183         (gst_fake_sink_state_error_get_type):
3184         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3185         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3186         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3187           Const-ify GEnumValue arrays.
3188
3189 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3190
3191         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3192           Add test case for flags + gst_buffer_make_metadata_writable().
3193
3194 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3195
3196         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3197           gst_buffer_make_metadata_writable() should maintain the
3198           buffer flags (those that make sense at least) (see #340859).
3199
3200 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3201
3202         * tools/gst-inspect.c:
3203         * tools/gst-launch.c:
3204         * tools/gst-typefind.c:
3205         * tools/gst-xmlinspect.c:
3206         * tools/tools.h:
3207           Fix up includes: need to include stdlib.h in tools.h for exit().
3208
3209 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         * gst/gsttaglist.c: (_gst_tag_initialize):
3212         * gst/gsttaglist.h:
3213           API: add GST_TAG_IMAGE tag (#340721).
3214
3215 2006-05-08  Wim Taymans  <wim@fluendo.com>
3216
3217         * gst/gstquery.c:
3218         Added some docs for the segment query.
3219
3220 2006-05-08  Wim Taymans  <wim@fluendo.com>
3221
3222         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3223         (gst_base_src_loop), (gst_base_src_change_state):
3224         Always push non-flushing serialized events in the streaming 
3225         thread.
3226
3227 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3228
3229         * gst/gsterror.c: (_gst_stream_errors_init):
3230           Add a missing error string.
3231
3232 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3233
3234         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3235         Add applied_rate to the debug
3236
3237         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3238         Copy applied_rate into the outgoing NEWSEGMENT event
3239
3240 2006-05-08  Wim Taymans  <wim@fluendo.com>
3241
3242         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3243
3244         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3245         (gst_base_sink_change_state):
3246         call ::unlock before taking the PREROLL_LOCK so we can safely
3247         handle elements that lock in ::render.
3248         Fixes #340174.
3249
3250 2006-05-08  Edward Hervey  <edward@fluendo.com>
3251
3252         * autogen.sh: (CONFIGURE_DEF_OPT): 
3253         Darwin's libtoolize is in fact called glibtoolize.
3254         Adding glibtoolize to the list of accepted names for libtoolize.
3255
3256 2006-05-08  Wim Taymans  <wim@fluendo.com>
3257
3258         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3259         Unify error handling, don't post an error message
3260         when a push() returns EOS but perform our normal EOS
3261         handling code. Fixes #340772.
3262
3263 2006-05-08  Wim Taymans  <wim@fluendo.com>
3264
3265         * docs/design/part-overview.txt:
3266         Make upsteam/downstream concepts more clear.
3267         Give an example of serialized/non-serialized events.
3268
3269         * docs/design/part-events.txt:
3270         * docs/design/part-streams.txt:
3271         Mention applied_rate.
3272
3273         * docs/design/part-trickmodes.txt:
3274         Mention applied rate, flesh out some more use cases.
3275
3276         * gst/gstevent.c: (gst_event_new_new_segment),
3277         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3278         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3279         (gst_event_parse_tag), (gst_event_new_buffer_size),
3280         (gst_event_parse_buffer_size), (gst_event_new_qos),
3281         (gst_event_parse_qos), (gst_event_parse_seek),
3282         (gst_event_new_navigation):
3283         * gst/gstevent.h:
3284         Add applied_rate field to NEWSEGMENT event.
3285         API: gst_event_new_new_segment_full()
3286         API: gst_event_parse_new_segment_full()
3287
3288         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3289         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3290         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3291         * gst/gstsegment.h:
3292         Add applied_rate to GstSegment structure.
3293         Make calculation of stream_time and running_time more correct
3294         wrt rate/applied_rate.
3295         Add some more docs.
3296         API: GstSegment::applied_rate field
3297         API: gst_segment_set_newsegment_full();
3298
3299         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3300         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3301         * libs/gst/base/gstbasetransform.c:
3302         (gst_base_transform_sink_eventfunc),
3303         (gst_base_transform_handle_buffer):
3304         Parse and use applied_rate in the GstSegment field.
3305
3306         * tests/check/gst/gstevent.c: (GST_START_TEST):
3307         Add check for applied_rate field.
3308
3309         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3310         (gstsegments_suite):
3311         Add more checks for various GstSegment operations.
3312
3313 2006-05-08  Wim Taymans  <wim@fluendo.com>
3314
3315         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3316         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3317         (gst_base_sink_get_position), (gst_base_sink_change_state):
3318         Store the sync time of the buffer end position separatly in a
3319         new variable eos_rtime so we can properly sync the EOS event.
3320         Fixes #340697.
3321         Fix the docs for gst_base_sink_set_qos_enabled().
3322         Don't set segment start to invalid value when we receive a 
3323         non TIME newsegment.
3324         get closer to handling position reporting for negative rates 
3325         correctly.
3326
3327 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * gst/gstcaps.c:
3330         Docs about how to print caps for debug purposes.
3331
3332         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3333         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3334
3335 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3336
3337         * gst/gstelement.c:
3338           use full enum names and preprend a '%' in docs strings to make recent 
3339           gtk-doc turn that into a link
3340
3341 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3342
3343         * docs/manual/basics-bins.xml:
3344         * docs/manual/basics-bus.xml:
3345         * docs/manual/basics-pads.xml:
3346           Some typo fixes, some additions, some clarifications. 
3347
3348 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3349
3350         * tools/gst-inspect.c: (main):
3351         * tools/gst-launch.c: (main):
3352         * tools/gst-run.c: (main):
3353         * tools/gst-typefind.c: (main):
3354         * tools/gst-xmlinspect.c: (main):
3355           Use the string passed to g_option_context_new() for
3356           what it's intended for - the program name is already
3357           printed elsewhere.
3358
3359 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3360
3361         * tools/Makefile.am:
3362         * tools/gst-inspect.c: (main):
3363         * tools/gst-launch.c: (main):
3364         * tools/gst-xmlinspect.c: (main):
3365         * tools/tools.h:
3366           Add back --version command line option (#340460).
3367
3368         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3369           Add --version option and use GOption for argument parsing; refactor a
3370           bit; accept directories as arguments and recurse into them; lastly,
3371           print a decent error message when things go wrong.
3372
3373 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3374
3375         * docs/manual/basics-bins.xml:
3376         Don't mention GstThread (#340611)
3377         * docs/manual/basics-elements.xml:
3378         Update link to GObject tutorial (#340607)
3379         
3380 2006-05-05  Wim Taymans  <wim@fluendo.com>
3381
3382         * gst/gstbuffer.h:
3383         * gst/gstminiobject.c:
3384         Add note about refcounting and miniobject/buffer writeability
3385         to docs. Fixes #340604
3386
3387         * gst/gstelementfactory.h:
3388         Added some explanation about @klass.
3389
3390 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3391
3392         * docs/manual/intro-motivation.xml:
3393         * docs/manual/manual.xml:
3394         Avoid CORBA & Bonobo references (#340598)
3395
3396 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3397
3398         * docs/manual/basics-bus.xml:
3399         * docs/manual/basics-pads.xml:
3400         Fix up some inaccuracies and omissions (#340609)
3401         
3402 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3403
3404         * gst/gstghostpad.c:
3405           Small typo in docs (#340625)
3406
3407 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3408
3409         * gst/parse/Makefile.am:
3410           Make 'make -j' proof (see #340698).
3411
3412 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3413
3414         * configure.ac:
3415           Require GLib-2.8 here as well.
3416
3417 2006-05-05  Wim Taymans  <wim@fluendo.com>
3418
3419         * gst/glib-compat.c:
3420         * gst/gst.c: (init_pre):
3421         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3422         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3423         (gst_object_dispatch_properties_changed):
3424         * gst/gstobject.h:
3425         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3426         * gst/gststructure.c: (gst_structure_set_valist):
3427         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3428         Remove pre glib2.8 compatibility, fixes #340508
3429
3430 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3431
3432         * gst/gsttaglist.h:
3433           Mention type of tags in doc blurbs.
3434
3435 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3436
3437         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3438         (gst_pad_configure_src), (gst_pad_push):
3439         Restore acceptcaps checking behaviour now that good plugins have
3440         been released.
3441
3442 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3443
3444         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3445
3446         * gst/gst.c:
3447         * gst/gstbus.c:
3448         * gst/gstclock.c:
3449         * gst/gstevent.c:
3450         * gst/gstformat.c:
3451         * gst/gstmessage.c:
3452         * gst/gstparse.c:
3453         * gst/gstquery.c:
3454         * gst/gstutils.c:
3455         * gst/parse/Makefile.am:
3456         * libs/gst/base/gstadapter.c:
3457         * libs/gst/base/gstbasesrc.c:
3458         * libs/gst/base/gstpushsrc.c:
3459         * libs/gst/base/gsttypefindhelper.c:
3460         * plugins/elements/gstfakesrc.c:
3461         * plugins/elements/gstidentity.c:
3462           Make sure gstprivate.h and/or config.h are
3463           always included first, otherwise some of our
3464           defines (like _FILE_OFFSET_BITS) might be
3465           redefined in the system headers. Fixes build
3466           on opensolaris (#340016).
3467
3468 2006-05-04  Wim Taymans  <wim@fluendo.com>
3469
3470         * docs/libs/gstreamer-libs-sections.txt:
3471         API: addition: gst_adapter_take_buffer()
3472         
3473         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3474         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3475         (gst_adapter_available_fast):
3476         * libs/gst/base/gstadapter.h:
3477         Prepare for optimizing the hell out of this hugely inefficient
3478         piece of code. 
3479         Added gst_adapter_take_buffer() so we can at least start thinking
3480         about subbuffering and merging.
3481         Added some comments.
3482
3483         * tests/check/Makefile.am:
3484         * tests/check/libs/adapter.c: (GST_START_TEST),
3485         (gst_adapter_suite), (main):
3486         Added GstAdapter check.
3487
3488 2006-05-04  Wim Taymans  <wim@fluendo.com>
3489
3490         * docs/design/part-overview.txt:
3491         Fix some typos, add blurb about buffer flags.
3492
3493 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3494
3495         * docs/libs/gstreamer-libs-sections.txt:
3496           make sure GstBaseTransformClass shows up in the docs
3497         * libs/gst/base/gstbasetransform.c:
3498         * libs/gst/base/gstbasetransform.h:
3499           move docs so gtk-doc picks it up now
3500
3501 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3502
3503         * docs/libs/gstreamer-libs-sections.txt:
3504           add missing symbols to docs
3505
3506 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3507
3508         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3509           back out the newsegment handling change, see #340060 for ongoing
3510           discussion
3511
3512 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3513
3514         * tools/gst-run.c: (get_candidates), (main):
3515           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3516           work); fix typo in error message. Fixes #340079.
3517
3518 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3519
3520         * common/Makefile.am:
3521         * docs/Makefile.am:
3522         * docs/faq/Makefile.am:
3523         * docs/gst/Makefile.am:
3524         * docs/libs/Makefile.am:
3525         * docs/manual/Makefile.am:
3526         * docs/plugins/Makefile.am:
3527         * docs/pwg/Makefile.am:
3528         * docs/slides/Makefile.am:
3529         * docs/upload.mak:
3530         * common/upload.mak:
3531           move upload.mak to common
3532
3533 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3534
3535         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3536           add more asserts on refcounts
3537           do more cleanup at end of tests
3538           fix test leaks showing in FC5
3539
3540 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3541
3542         * plugins/elements/gsttypefindelement.c:
3543         (gst_type_find_element_handle_event):
3544         reverted wrong change and reflowed code to avoid others falling into
3545         this trap
3546
3547 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3548
3549         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3550           fix changelog entry about last collectpads change,
3551           add notes about proper fix
3552
3553 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3554
3555         * gst/gst.c:
3556         * gst/gstregistry.c: (gst_registry_scan_path_level),
3557         (gst_registry_scan_path):
3558         * gst/gstregistry.h:
3559           only write out registry if it has changed, fixes #338339
3560
3561 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3562
3563         * gst/gstbin.c:
3564         * gst/gstpipeline.c:
3565         * plugins/elements/gstcapsfilter.c:
3566         * plugins/elements/gstfakesink.c:
3567         * plugins/elements/gstfakesrc.c:
3568         * plugins/elements/gstfdsink.c:
3569         * plugins/elements/gstfdsrc.c:
3570         * plugins/elements/gstfilesink.c:
3571         * plugins/elements/gstfilesrc.c:
3572         * plugins/elements/gstidentity.c:
3573         * plugins/elements/gstqueue.c:
3574         * plugins/elements/gsttee.c:
3575         * plugins/elements/gsttypefindelement.c:
3576         (gst_type_find_element_handle_event):
3577           make GstElementDetails const
3578
3579 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3580
3581         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3582         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3583         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3584           more detailed debug and formatting cleanup,
3585           forward newsegments to src-pad (so that e.g. adder not eats them)
3586
3587 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3588
3589         * gst/gstutils.c: (gst_element_link_pads):
3590           cleanup double code
3591
3592 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3593
3594         * libs/gst/controller/gstcontroller.c:
3595         (gst_controller_sync_values):
3596           some little tuning
3597         * tests/check/libs/controller.c: (GST_START_TEST),
3598         (gst_controller_suite):
3599           a new test for live value handling
3600
3601 2006-04-28  Wim Taymans  <wim@fluendo.com>
3602
3603         * gst/gstutils.c: (push_and_ref):
3604         Added some more docs.
3605         Fix refcount issue whith gst_element_found_tags() helper 
3606         function. Fixes #338335
3607
3608         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3609         Added testsuite for gst_element_found_tags().
3610
3611 2006-04-28  Michael Smith  <msmith@fluendo.com>
3612
3613         * gst/gstvalue.c: (gst_value_serialize_flags):
3614           Avoid NULL dereference when trying to serialize flags containing
3615           invalid values.
3616
3617 2006-04-28  Michael Smith  <msmith@fluendo.com>
3618
3619         * plugins/elements/gsttypefindelement.c:
3620         (gst_type_find_element_handle_event):
3621           If we get EOS before any data is accumulated, don't use
3622           uninitialised local variables.
3623
3624 2006-04-28  Michael Smith  <msmith@fluendo.com>
3625
3626         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3627         (gst_dp_event_from_packet):
3628           Fixes in reading/writing events over GDP (not currently used?) - 
3629           dereferencing NULL events for unknown/invalid event types, memory
3630           leak, and change g_warning to GST_WARNING.
3631
3632 2006-04-28  Wim Taymans  <wim@fluendo.com>
3633
3634         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3635         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3636         (gst_base_sink_get_position), (gst_base_sink_change_state):
3637         When frame dropping is enabled, we should not ignore frames
3638         without a duration.
3639         Update some documentation.
3640
3641 2006-04-28  Wim Taymans  <wim@fluendo.com>
3642
3643         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3644         (gst_base_src_send_event), (gst_base_src_change_state):
3645         Documentation updates.
3646
3647 2006-04-28  Wim Taymans  <wim@fluendo.com>
3648
3649         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3650         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3651         handle EAGAIN, EINTR and short writes correctly. Also clean
3652         up some error cases, avoid a deadlock on bad file descriptors and
3653         use GST_DEBUG_OBJECT.
3654         Fixes #339843
3655
3656 2006-04-28  Wim Taymans  <wim@fluendo.com>
3657
3658         * gst/gstvalue.c: (gst_value_serialize_buffer),
3659         (gst_value_deserialize_buffer):
3660         Don't try to serialize a GValue with a NULL buffer. 
3661         Fixes #339821.
3662
3663         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3664         Added check for serialisation of NULL buffers.
3665
3666 2006-04-28  Wim Taymans  <wim@fluendo.com>
3667
3668         * gst/gstminiobject.c: (gst_value_take_mini_object):
3669         Taking a NULL miniobject is valid, fix the case where
3670         we try to unref the NULL miniobject.
3671
3672 2006-04-28  Wim Taymans  <wim@fluendo.com>
3673
3674         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3675
3676         * gst/gstbin.c: (gst_bin_handle_message_func):
3677         Update docs.
3678         Don't leak bin refcount when a state recalc is
3679         in progress and we delay another one #339808.
3680
3681 2006-04-28  Wim Taymans  <wim@fluendo.com>
3682
3683         * docs/design/part-TODO.txt:
3684         Mention QoS as an ongoing work item.
3685
3686         * docs/design/part-buffering.txt:
3687         New doc about buffering that needs to be fleshed out
3688         at some point.
3689
3690         * docs/design/part-qos.txt:
3691         More QoS policy for decoders/demuxers/transforms
3692
3693         * docs/design/part-trickmodes.txt:
3694         Small update.
3695
3696 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3697
3698         * configure.ac:
3699           back to HEAD
3700
3701 === release 0.10.5 ===
3702
3703 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3704
3705         * configure.ac:
3706           releasing 0.10.5, "Fogo"
3707
3708 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3709
3710         patch by: Wim Taymans
3711
3712         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3713         (gst_pad_configure_src), (gst_pad_push):
3714         * gst/gstpipeline.c: (gst_pipeline_init):
3715           Fix internal data flow errors.  Fixes #338711.
3716
3717 2006-04-12  Wim Taymans  <wim@fluendo.com>
3718
3719         * tests/check/gst/gstelement.c: (GST_START_TEST):
3720         Don't leak the factory.
3721
3722 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3723
3724         * configure.ac:
3725         * win32/common/config.h:
3726           prerelease
3727
3728 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3729
3730         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3731         (gst_controller_unset_all):
3732           Free allocated GstTimedValues when freeing list nodes.
3733           Should fix leaks 'make check-valgrind' complains about.
3734
3735         * win32/common/libgstcontroller.def:
3736           Add gst_controller_unset_all.
3737
3738 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3739
3740         * docs/libs/gstreamer-libs-sections.txt:
3741         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3742         (gst_controller_unset_all):
3743         * libs/gst/controller/gstcontroller.h:
3744         API: Added new method gst_controller_unset_all()
3745         fixed gst_controller_unset()
3746         * tests/check/libs/controller.c: (GST_START_TEST),
3747         (gst_controller_suite):
3748         Added two testcases for new and fixed method
3749
3750 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3751
3752         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3753           MSG_DONTWAIT is not defined on Cygwin, so work
3754           around that (fixes #317048).
3755           
3756 2006-04-11  Wim Taymans  <wim@fluendo.com>
3757
3758         * gst/gstelementfactory.c: (gst_element_register),
3759         (gst_element_factory_create), (gst_element_factory_make):
3760         Some cleanups.
3761         Fixed a FIXME.
3762         Updated docs (Fixes #131079)
3763
3764         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3765         Small cleanups.
3766
3767         * tests/check/gst/gstelement.c: (GST_START_TEST),
3768         (gst_element_suite):
3769         Added testcase for elementfactory class field.
3770
3771 2006-04-10  Wim Taymans  <wim@fluendo.com>
3772
3773         * gst/gstsegment.c:
3774         Added some more docs.
3775
3776         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3777         (gst_base_sink_reset_qos):
3778         Calculate more accurate rate values.
3779
3780 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3781
3782         * gst/gst_private.h:
3783           add a new #ifdef to use __declspec(dllimport) only for
3784           other modules and not for gstreamer core
3785         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3786           use gst_guint64_to_gdouble for conversion
3787         * win32/common/libgstreamer.def:
3788           add new exported functions
3789         * win32/vs6/gst_inspect.dsp:
3790         * win32/vs6/gst_launch.dsp:
3791         * win32/vs6/libgstbase.dsp:
3792         * win32/vs6/libgstcontroller.dsp:
3793         * win32/vs6/libgstcoreelements.dsp:
3794         * win32/vs6/libgstdataprotocol.dsp:
3795         * win32/vs6/libgstnet.dsp:
3796           update project files
3797
3798 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3799
3800         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3801         * gst/gstclock.c: (gst_clock_class_init):
3802         * gst/gstelement.c: (gst_element_class_init):
3803         * gst/gstindex.c: (gst_index_class_init):
3804         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3805         * gst/gstobject.c: (gst_object_class_init),
3806         (gst_signal_object_class_init):
3807         * gst/gstpad.c: (gst_pad_class_init):
3808         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3809         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3810         * gst/gstregistry.c: (gst_registry_class_init):
3811         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3812         * gst/gsttask.c: (gst_task_class_init):
3813         * gst/gstxml.c: (gst_xml_class_init):
3814         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3815         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3816         (gst_base_src_loop):
3817         * libs/gst/controller/gstcontroller.c:/
3818         (_gst_controller_class_init):
3819         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3820         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3821         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3822         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3823         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3824         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3825
3826 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3827
3828         * gst/gstpad.c: (gst_pad_link):
3829           Must set peer pads before calling the link function, otherwise
3830           a task started from a link function might get a flow-not-linked
3831           result when trying to push because the other thread where the
3832           linking happens hasn't had a chance to set the peers yet. This
3833           might happen for example when a queue gets linked to a downstream
3834           element, as queue starts a streaming task when its source pad
3835           gets linked. Happens in real life when playing back flac/musepack
3836           files in playbin (#332390).
3837           
3838 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3839
3840         * gst/gstindex.h:
3841         * gst/gstxml.h:
3842         * libs/gst/base/gstadapter.h:
3843         * libs/gst/base/gstbasesink.h:
3844         * libs/gst/base/gstbasesrc.h:
3845         * libs/gst/base/gstbasetransform.h:
3846         * libs/gst/base/gstcollectpads.h:
3847         * libs/gst/base/gstpushsrc.h:
3848         Fix broken GObject macros
3849
3850 2006-04-07  Wim Taymans  <wim@fluendo.com>
3851
3852         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3853         Initialize start and stop times, thanks valgrind.
3854
3855 2006-04-07  Wim Taymans  <wim@fluendo.com>
3856
3857         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3858         Be a bit nicer to badly behaving upstream elements that expect
3859         us to deal with non TIME segments and timestamps (such as fakesrc
3860         in the testsuite).
3861
3862 2006-04-07  Wim Taymans  <wim@fluendo.com>
3863
3864         * gst/gstbus.c:
3865         Small documentation clarification about the signal watch.
3866
3867         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3868         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3869         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3870         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3871         (gst_base_sink_get_position_last),
3872         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3873         Convert and store timestamps in stream time and running time, the
3874         raw timestamps are not usefull, also document this better.
3875         Use different window sizes for good and bad QoS observations so
3876         we react to badness a little quicker.
3877         Keep track of the amount of rendered and dropped buffers.
3878         Send QoS timestamps in running time.
3879
3880         * libs/gst/base/gstbasetransform.c:
3881         (gst_base_transform_sink_eventfunc),
3882         (gst_base_transform_handle_buffer):
3883         Compare QoS timestamps against running time.
3884
3885 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3886
3887         * gst/gstpad.c:
3888           Typo fixes in docs.
3889
3890 2006-04-06  Michael Smith  <msmith@fluendo.com>
3891
3892         * gst/gstpad.c: (gst_pad_set_property):
3893           Use g_value_get_object() instead of g_value_dup_gst_object(),
3894           to avoid double-reffing the pad template (which we then sink,
3895           so this worked previously if (and only if) the pad template
3896           was floating.
3897
3898         * gst/gstpadtemplate.c: (gst_pad_template_init),
3899         (gst_pad_template_pad_created):
3900           Never return floating references to pad templates, create
3901           them as initially-sunken.
3902
3903           Document an extra function (and make this stop sinking our
3904           pad template, since that is now guaranteed to do nothing,
3905           since we created it sunken).
3906
3907         * gst/gstghostpad.c:
3908           Fix docs typo.
3909
3910 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3911
3912         * gst/gstinfo.c: (__gst_in_valgrind):
3913           Add some newlines.
3914
3915         * plugins/elements/gsttypefindelement.c:
3916         (gst_type_find_element_chain):
3917           Don't leak buffer caps.
3918
3919 2006-04-06  Michael Smith  <msmith@fluendo.com>
3920
3921         * gst/parse/grammar.y:
3922           Fix a leak in parse-launch for any source-or-sink named element 
3923           references used.
3924
3925         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3926           Unref the pipeline if it exists after we've failed parsing.
3927
3928 2006-04-05  Michael Smith  <msmith@fluendo.com>
3929
3930         * gst/gstpipeline.c: (gst_pipeline_init):
3931           When we create a pipeline bus, initially create it in flushing mode.
3932           Fixes leaks in at least one test, and makes a new pipeline work the
3933           same as one that has gone to READY and then back to NULL.
3934
3935         * gst/gstelement.c:
3936           Typo fix in docs.
3937
3938 2006-04-05  Michael Smith  <msmith@fluendo.com>
3939
3940         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3941           Unref a pad we reffed.
3942         * tests/check/gst/gstutils.c: (GST_START_TEST):
3943           Unref bins
3944
3945 2006-04-05  Michael Smith  <msmith@fluendo.com>
3946
3947         * gst/gstquery.c: (gst_query_set_formats),
3948         (gst_query_set_formatsv):
3949           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3950
3951 2006-04-05  Michael Smith  <msmith@fluendo.com>
3952
3953         * tests/check/generic/sinks.c: (GST_START_TEST):
3954           Fix a variety of memleaks in sinks check, which are only sometimes 
3955           shown by running the tests under valgrind (weird?).
3956
3957 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3958
3959         * docs/version.entities.in:
3960           Fix the substituted entity name after thomas' changes on the
3961           weekend.
3962
3963 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3964
3965         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3966         VALGRIND_PRINTF
3967         
3968 2006-04-05  Andy Wingo  <wingo@pobox.com>
3969
3970         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3971
3972         * libs/gst/base/gstbasetransform.c
3973         (gst_base_transform_sink_eventfunc): When resetting our segment on
3974         FLUSH_STOP, also update the flag saying we haven't seen a
3975         newsegment.
3976
3977 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3978
3979         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3980
3981         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3982         (gst_plugin_check_license):
3983           minor clean-ups: G_DEFINE_TYPE already takes care of the
3984           parent_class stuff, no need to do it twice. Mark array of
3985           license strings as constant. (#337103)
3986           
3987 2006-04-04  Michael Smith  <msmith@fluendo.com>
3988
3989         * tools/gst-inspect.c: (print_element_list):
3990           Free the right plugin list; fixes a memory leak.
3991
3992 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3993
3994         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3995
3996         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3997           Don't error out on empty buffers (#336945).
3998           
3999 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
4000
4001         * docs/libs/gstreamer-libs-sections.txt:
4002         * gst/gsttaglist.c:
4003         * libs/gst/base/gstbasesink.c:
4004         * libs/gst/base/gstbasesink.h:
4005         * libs/gst/base/gstbasesrc.c:
4006         * libs/gst/base/gstbasesrc.h:
4007           Documentation updates. Make BaseSink and BaseSrc docs contain the
4008           class structure so that people can actually see the prototypes for
4009           virtual functions they're supposed to be overriding.
4010
4011 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
4012
4013         * plugins/elements/gsttypefindelement.c:
4014         (gst_type_find_element_chain):
4015           More debug info; when skipping typefinding, send cached
4016           events in all cases.
4017
4018 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4019
4020         * configure.ac:
4021           use new AS_VERSION and AS_NANO macros
4022         * gst/gst-i18n-lib.h:
4023         * gst/gst.c:
4024         * gst/gsterror.c:
4025         * gst/gstversion.h.in:
4026         * win32/common/config.h:
4027         * win32/common/config.h.in:
4028           update accordingly
4029
4030 2006-03-31  Michael Smith  <msmith@fluendo.com>
4031
4032         * plugins/elements/gsttypefindelement.c:
4033         (gst_type_find_element_chain):
4034           Do not typefind content if the buffers already have caps.
4035           Neccesary for icydemux (#333657), and the right thing to do anyway.
4036
4037 2006-03-30  Wim Taymans  <wim@fluendo.com>
4038
4039         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4040         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4041         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4042         (gst_base_sink_record_qos_observation),
4043         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4044         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4045         (gst_base_sink_change_state):
4046         More QoS measurements as described in the design doc.
4047         Get rid of ringbuffer with observations, running average is
4048         more simple and equally good.
4049         Calculates valid proportion now.
4050         Added beginning of flood measurement.
4051
4052 2006-03-29  Wim Taymans  <wim@fluendo.com>
4053
4054         * docs/design/part-qos.txt:
4055         * gst/gstclock.c:
4056         Small documentation updates and additions.
4057
4058 2006-03-29  Wim Taymans  <wim@fluendo.com>
4059
4060         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4061         (gst_base_src_send_event), (gst_base_src_loop),
4062         (gst_base_src_change_state):
4063         Perform the EOS logic when we reach the segment stop position.
4064         Fix compilation on gcc4.1
4065
4066 2006-03-29  Wim Taymans  <wim@fluendo.com>
4067
4068         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4069
4070         * plugins/elements/gstqueue.c: (gst_queue_init),
4071         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4072         (gst_queue_set_property):
4073         * plugins/elements/gstqueue.h:
4074         In queue, when EOS is received, if minimum threshold > max_size -
4075         current_level, there is chance that queue blocks forever in conditional
4076         item del wait. This is because the queue is not emptied completely due
4077         to minimum threshold.  Here is another approach. Instead of setting
4078         cur_levels to max in EOS, just zero all minimum threshold levels. This
4079         should make sure that queue gives out all data. When going to READY
4080         (stop) state, just reset the original minimum threshold levels.
4081         Fixes #336336.
4082
4083 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4084
4085         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4086         (gst_type_find_element_handle_event),
4087         (gst_type_find_element_send_cached_events),
4088         (gst_type_find_element_change_state):
4089         * plugins/elements/gsttypefindelement.h:
4090           When typefinding is done in push mode, we should cache
4091           events we receive during typefinding instead of just
4092           dropping them (e.g. newsegment, custom events from
4093           dvdreadsrc etc.) and then send them out once we've
4094           determined the type of the stream (and decodebin
4095           has had a chance to plug in a decoder/demuxer).
4096           
4097 2006-03-27  Wim Taymans  <wim@fluendo.com>
4098
4099         * docs/design/part-qos.txt:
4100         First QoS ideas.
4101
4102 2006-03-27  Wim Taymans  <wim@fluendo.com>
4103
4104         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4105
4106         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4107         (gst_base_src_send_event), (gst_base_src_change_state):
4108         Handle element seek correctly when we are streaming.
4109         Fixes #326998.
4110
4111 2006-03-24  Michael Smith  <msmith@fluendo.com>
4112
4113         * docs/faq/gst-uninstalled:
4114           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4115           allow you to correctly run intalled applications built against old 
4116           core, using plugins that require updated core (e.g. running
4117           installed totem against a full uninstalled gstreamer stack)
4118
4119 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4120
4121         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4122         more debug details
4123
4124 2006-03-24  Wim Taymans  <wim@fluendo.com>
4125
4126         * docs/gst/gstreamer-sections.txt:
4127         Rearrange the order of the methods so that related methods
4128         are grouped together in sections.
4129
4130 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4131
4132         * gst/gstelement.c:
4133           Little clarification in the docs
4134
4135 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4136
4137         * docs/README:
4138         formatting fix
4139         * plugins/elements/gstidentity.c:
4140         * plugins/elements/gstqueue.c:
4141         * plugins/elements/gsttee.c:
4142         * plugins/elements/gsttypefindelement.c:
4143         GST_ELEMENT_DETAILS formatting
4144
4145 2006-03-24  Wim Taymans  <wim@fluendo.com>
4146
4147         * libs/gst/base/gstbasesink.h:
4148         Only add fields, not insert or we break ABI.
4149
4150 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4151
4152         * win32/common/libgstbase.def:
4153         * win32/common/libgstreamer.def:
4154           Update, add recently added functions.
4155
4156 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4157
4158         * docs/gst/gstreamer-sections.txt:
4159         * gst/gstutils.c: (gst_pad_query_peer_position),
4160         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4161         * gst/gstutils.h:
4162           API: add some new utility functions:
4163            - gst_pad_query_peer_position()
4164            - gst_pad_query_peer_duration()
4165            - gst_pad_query_peer_convert()
4166           
4167 2006-03-23  Wim Taymans  <wim@fluendo.com>
4168
4169         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4170         (gst_base_sink_init), (gst_base_sink_finalize),
4171         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4172         (gst_base_sink_set_property), (gst_base_sink_get_property),
4173         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4174         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4175         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4176         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4177         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4178         (gst_base_sink_preroll_object), (gst_base_sink_event),
4179         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4180         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4181         (gst_base_sink_query), (gst_base_sink_change_state):
4182         Decouple max-lateness and the fact that QoS messages are generated
4183         with a new property (qos).
4184         added API: GstBaseSink::async_play()
4185         Add vmethod so subclasses can be notified of ASYNC playing
4186         state changes.
4187         Collect timestamp start and stop to report better current
4188         position in EOS/PLAYING/PAUSED/READY/NULL.
4189         Refactor QoS/frame dropping and other measurements.
4190         API: GstBaseSrc::qos
4191         Fixes #326311
4192
4193         * libs/gst/base/gstbasesink.h:
4194         Added Private struct.
4195         API: gst_base_sink_set_qos_enabled()
4196         API: gst_base_sink_is_qos_enabled()
4197
4198 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4199
4200         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4201           If compiling against GLib-2.8 or newer, try to read the
4202           registry file using GMappedFile first before falling back
4203           to fopen() + fread() (#332151).
4204
4205 2006-03-22  Wim Taymans  <wim@fluendo.com>
4206
4207         * gst/gstinfo.c: (gst_debug_set_active),
4208         (gst_debug_category_set_threshold):
4209         Disable debugging unless explicitly activated.
4210         Fixes #335480.
4211
4212 2006-03-22  Wim Taymans  <wim@fluendo.com>
4213
4214         * gst/gstelement.c: (gst_element_set_locked_state),
4215         (gst_element_dispose):
4216         Cleanup the error case.
4217
4218         * gst/gstobject.c: (gst_object_dispose):
4219         print a critical when some object was disposed with
4220         a parent, also revive the object since it might
4221         crash the parent.
4222
4223 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4224
4225         * tools/gst-launch.1.in:
4226           Fix another typo.
4227
4228 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4229
4230         * configure.ac:
4231         * tests/check/Makefile.am:
4232           disable some tests when we don't have a registry
4233         * tests/check/gst/gstutils.c: (gst_utils_suite):
4234           don't build the part that needs parsing
4235
4236 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4237
4238         * gst/Makefile.am
4239         * tests/examples/Makefile.am:
4240           fix --disable-parse build
4241
4242 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4243
4244         * tools/gst-feedback.1.in:
4245           Fix typo: s/feeback/feedback/ (#133494).
4246
4247 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4248
4249         * tools/Makefile.am:
4250         * tools/gst-launch.1.in:
4251           Add FILES section and correct entry about GST_REGISTRY_PATH
4252           environment variable (#133495; #133494).
4253
4254 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4255
4256         * tools/Makefile.am:
4257         * tools/gst-md5sum.1.in:
4258         * tools/gst-md5sum.c:
4259           Remove gst-md5sum and man page (the md5sink element
4260           required was removed ages ago)
4261
4262 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4263
4264         * gst/gststructure.c: (gst_structure_id_set_value):
4265           Make sure that string fields in structures/taglists
4266           contain valid UTF-8 - we don't want to pass rubbish to
4267           applications because of a buggy plugin (cp. #334167).
4268
4269 2006-03-21  Edward Hervey  <edward@fluendo.com>
4270
4271         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4272         (gst_bin_handle_message_func):
4273         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4274         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4275         (gst_element_set_bus_func):
4276         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4277         * gst/gstminiobject.c: (gst_value_set_mini_object),
4278         (gst_value_take_mini_object):
4279         * gst/gstpad.c: (gst_pad_set_pad_template):
4280         * gst/gstpipeline.c: (gst_pipeline_dispose),
4281         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4282         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4283         (gst_collect_pads_chain):
4284         * libs/gst/net/gstnettimeprovider.c:
4285         (gst_net_time_provider_set_property):
4286         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4287         It's in fact all issues with gst_*object_replace().
4288
4289 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4290
4291         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4292         
4293         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4294         * pkgconfig/gstreamer-check.pc.in:
4295           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4296
4297 2006-03-21  Edward Hervey  <edward@fluendo.com>
4298
4299         * gst/gstbuffer.h:
4300         * gst/gstevent.h:
4301         * gst/gstmessage.h:
4302         gst_[buffer|event|message]_ref() macros are replaced by a static
4303         inline functions because gcc-4.1 will about if the return value
4304         isn't used.
4305         * tests/check/gst/gstevent.c: (event_probe):
4306         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4307
4308 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4309
4310         * gst/gstutils.h:
4311         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4312         the type' case. (Closes: #335195 for now). In the future, when we
4313         depend on GLib 2.10, we could also intern the type name using
4314         g_intern_static_string()
4315
4316 2006-03-20  Wim Taymans  <wim@fluendo.com>
4317
4318         * gst/gstbin.c: (gst_bin_handle_message_func),
4319         (bin_query_max_init), (bin_query_position_fold),
4320         (bin_query_position_done), (gst_bin_query):
4321         Position query should also take max of all streams.
4322
4323 2006-03-20  Wim Taymans  <wim@fluendo.com>
4324
4325         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4326         (gst_fake_src_finalize):
4327         Fix leaks in fakesrc.
4328
4329         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4330         Fix leaks in the testcase.
4331
4332 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4333
4334         * gst/gst_private.h:
4335           add win32 specific import decoration(__declspec(dllimport)) 
4336           for all extern GstDebugCategory * variables
4337         * win32/common/libgstbase.def:
4338         * win32/common/libgstcontroller.def:
4339         * win32/common/libgstreamer.def:
4340           Add some exports, remove empty lines
4341         * win32/common/libgstdataprotocol.def:
4342         * win32/common/libgstdataprotocol.dsp:
4343         * win32/common/libgstnet.def:
4344         * win32/common/libgstnet.dsp:
4345           new project files and exportation files added
4346         
4347 2006-03-19  Wim Taymans  <wim@fluendo.com>
4348
4349         * tests/check/libs/basesrc.c: (eos_event_counter):
4350         Use proper return value for probe.
4351
4352 2006-03-17  Wim Taymans  <wim@fluendo.com>
4353
4354         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4355         (gst_pad_push):
4356         Don't leak buffers, caps and pads on negotiation errors.
4357
4358 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4359
4360         * docs/faq/cvs.xml:
4361         * docs/faq/dependencies.xml:
4362         * docs/faq/developing.xml:
4363         * docs/faq/faq.xml:
4364         * docs/faq/general.xml:
4365         * docs/faq/getting.xml:
4366         * docs/faq/legal.xml:
4367         * docs/faq/troubleshooting.xml:
4368         * docs/faq/using.xml:
4369         Faq review and update.
4370
4371 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4372
4373         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4374         (gst_pad_push):
4375         Don't pound the cpu to pieces by checking get_caps when accept_caps
4376         is called with the same caps as the pad already has.
4377         Use GST_DEBUG_OBJECT when outputting caps change information.
4378
4379 2006-03-15  Wim Taymans  <wim@fluendo.com>
4380
4381         * gst/gstclock.c: (gst_clock_class_init):
4382         Fix docs.
4383
4384 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4385
4386         * gst/gstbuffer.h:
4387         Documentation fix.
4388
4389         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4390         (gst_pad_accept_caps), (gst_pad_configure_sink),
4391         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4392         Make the default acceptcaps behaviour be to check the requested 
4393         caps against the gst_pad_get_caps output. 
4394
4395         Ensure that gst_pad_accept_caps is used to check caps when a pad
4396         doesn't have a setcaps function, so that pads automatically refuse 
4397         caps that they don't allow in their pad template. (Fixes #332986)
4398
4399         When a buffer with attached caps is pushed, ensure that the source 
4400         pad receives those caps even if the element didn't call
4401         gst_pad_set_caps first.
4402
4403 2006-03-15  Wim Taymans  <wim@fluendo.com>
4404
4405         * libs/gst/base/gstadapter.c:
4406         Add some docs.
4407
4408 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4409
4410         * win32/common/libgstbase.def:
4411         * win32/common/libgstcontroller.def:
4412         * win32/common/libgstreamer.def:
4413           Add a whole bunch of missing functions (#334434).
4414
4415 2006-03-14  Wim Taymans  <wim@fluendo.com>
4416
4417         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4418         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4419         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4420         Better debug info when we receive a segment event.
4421         Reorganize a bit so we can pass the get_times() results around.
4422         Use the segment format when calculating the running time.
4423         Don't do QoS is sync is disabled or we have no clock or the
4424         element does not want us to sync to the clock.
4425         Don't drop buffers if QoS is disabled for now.
4426
4427 2006-03-14  Wim Taymans  <wim@fluendo.com>
4428
4429         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4430         Marked the stats property as unimplemented so people don't get
4431         wild ideas.
4432         Add debug message when regression goes wrong.
4433         Added some more docs.
4434
4435 2006-03-14  Wim Taymans  <wim@fluendo.com>
4436
4437         * gst/gstsegment.c: (gst_segment_to_stream_time):
4438         Return correct return type in case of errors.
4439
4440 2006-03-14  Wim Taymans  <wim@fluendo.com>
4441
4442         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4443           Don't segfault on invalid formats.
4444
4445 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4446
4447         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4448           Can't use gst_segment_to_running_time() when the segment
4449           is not in GST_TIME_FORMAT (like with filesink, for example).
4450           Stops flac encoding pipelines from spewing critical warnings
4451           at EOS (#331248).
4452           
4453 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4454
4455         * gst/gstpipeline.c: (gst_pipeline_class_init):
4456           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4457
4458         * plugins/elements/gsttypefindelement.c:
4459         (gst_type_find_element_handle_event):
4460           Don't try to typefind empty streams.
4461
4462 2006-03-14  Wim Taymans  <wim@fluendo.com>
4463
4464         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4465         (gst_base_sink_do_qos):
4466         Separate QoS calculation.
4467         Only drop buffers when lateness is bigger than the 
4468         duration of the buffer.
4469
4470 2006-03-13  Wim Taymans  <wim@fluendo.com>
4471
4472         * gst/gstpipeline.c: (gst_pipeline_set_property),
4473         (gst_pipeline_get_property), (do_pipeline_seek),
4474         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4475         (gst_pipeline_get_delay):
4476         Don't deadlock when reading properties.
4477
4478 2006-03-13  Wim Taymans  <wim@fluendo.com>
4479
4480         * libs/gst/base/gstbasetransform.c:
4481         (gst_base_transform_class_init), (gst_base_transform_init),
4482         (gst_base_transform_sink_event),
4483         (gst_base_transform_sink_eventfunc),
4484         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4485         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4486         (gst_base_transform_set_property),
4487         (gst_base_transform_get_property),
4488         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4489         (gst_base_transform_set_qos_enabled),
4490         (gst_base_transform_is_qos_enabled):
4491         * libs/gst/base/gstbasetransform.h:
4492         Make basetransform virtual method for src events too.
4493         Handle QOS in basetransform.
4494         API: gst_base_transform_update_qos()
4495         API: gst_base_transform_set_qos_enabled()
4496         API: gst_base_transform_is_qos_enabled()
4497
4498 2006-03-13  Wim Taymans  <wim@fluendo.com>
4499
4500         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4501         (gst_base_sink_do_sync):
4502         Small cleanups.
4503         Use QOS debug category.
4504
4505 2006-03-13  Wim Taymans  <wim@fluendo.com>
4506
4507         * plugins/elements/gstqueue.c:
4508         Very small doc update.
4509
4510 2006-03-13  Wim Taymans  <wim@fluendo.com>
4511
4512         * gst/gst_private.h:
4513         * gst/gstinfo.c: (_gst_debug_init):
4514         Added QOS debug category
4515
4516 2006-03-13  Wim Taymans  <wim@fluendo.com>
4517
4518         * docs/gst/gstreamer-sections.txt:
4519         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4520         * gst/gstbin.h:
4521         * gst/gstbus.c: (gst_bus_class_init):
4522         * gst/gstbus.h:
4523         * gst/gstclock.c:
4524         * gst/gstelement.c: (gst_element_set_locked_state):
4525         * gst/gstsegment.c:
4526         Documentation updates.
4527
4528         * gst/gstpipeline.c: (gst_pipeline_get_type),
4529         (gst_pipeline_class_init), (gst_pipeline_init),
4530         (gst_pipeline_dispose), (gst_pipeline_set_property),
4531         (gst_pipeline_get_property), (do_pipeline_seek),
4532         (gst_pipeline_send_event), (gst_pipeline_change_state),
4533         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4534         (gst_pipeline_get_delay):
4535         * gst/gstpipeline.h:
4536         Added methods for setting the delay.
4537         API: gst_pipeline_set_delay()
4538         API: gst_pipeline_get_delay()
4539         Add pipeline debug category
4540         Various cleanups.
4541         Updated docs.
4542         Don't reset stream time when seek failed.
4543
4544 2006-03-13  Wim Taymans  <wim@fluendo.com>
4545
4546         * docs/design/draft-klass.txt:
4547         * docs/design/part-clocks.txt:
4548         * docs/design/part-events.txt:
4549         * docs/design/part-gstbin.txt:
4550         * docs/design/part-gstpipeline.txt:
4551         * docs/design/part-messages.txt:
4552         * docs/design/part-negotiation.txt:
4553         * docs/design/part-overview.txt:
4554         * docs/design/part-preroll.txt:
4555         * docs/design/part-seeking.txt:
4556         * docs/design/part-states.txt:
4557         * docs/design/part-streams.txt:
4558         Documentation updates.
4559
4560 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4561
4562         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4563         us to leak strings...
4564
4565 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4566
4567         * libs/gst/net/gstnettimeprovider.c:
4568           fix docs
4569         * win32/common/config.h:
4570           update
4571
4572 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4573
4574         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4575
4576         * configure.ac:
4577           Don't check for libgnomeui (leftover from old examples
4578           that aren't built or disted any longer) (#334303).
4579           
4580 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4581
4582         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4583         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4584           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4585           there's no space left on the device.
4586
4587 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4588
4589         * gst/gstclock.h:
4590           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4591           to cast the input to GstClockTime before comparing with
4592           another GstClockTime value.
4593
4594 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4595
4596         * configure.ac:
4597           back to trunk
4598
4599 === release 0.10.4 ===
4600
4601 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4602
4603         * configure.ac:
4604           releasing 0.10.4, "Light"
4605
4606 2006-03-10  Michael Smith  <msmith@fluendo.com>
4607
4608         * libs/gst/dataprotocol/dataprotocol.c:
4609           Fix docs for dataprocotol to not get the return types completely
4610           wrong for a few functions.
4611
4612 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4613
4614         * docs/gst/gstreamer-sections.txt:
4615         * gst/gstpipeline.c: (gst_pipeline_class_init),
4616         (gst_pipeline_init), (gst_pipeline_set_property),
4617         (gst_pipeline_get_property), (gst_pipeline_change_state),
4618         (gst_pipeline_set_auto_flush_bus),
4619         (gst_pipeline_get_auto_flush_bus):
4620         * gst/gstpipeline.h:
4621           Add new API: gst_pipeline_set_auto_flush_bus() and
4622           gst_pipeline_get_auto_flush_bus() to disable automatic
4623           flushing of the pipeline's GstBus when going from READY
4624           to NULL state (#332045).
4625
4626 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4627
4628         * docs/gst/gstreamer-sections.txt:
4629         * gst/gsturi.c: (gst_uri_has_protocol):
4630         * gst/gsturi.h:
4631            Add new API: gst_uri_has_protocol() (#333779).
4632
4633 2006-03-09  Wim Taymans  <wim@fluendo.com>
4634
4635         * gst/gstclock.c: (gst_clock_entry_new),
4636         (gst_clock_id_compare_func), (gst_clock_id_wait),
4637         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4638         (gst_clock_init), (gst_clock_get_internal_time),
4639         (gst_clock_set_master), (do_linear_regression),
4640         (gst_clock_add_observation), (gst_clock_set_property):
4641         * gst/gstclock.h:
4642         Review docs.
4643         Small cleanups.
4644         Fix a possible segfault when the window-size is made smaller.
4645         Calculate jitter before performing the clock wait. Ideally
4646         the clock implementation should calculate jitter but we need
4647         API breakage for that.
4648
4649         * gst/gstsystemclock.c: (gst_system_clock_init):
4650         Docs review.
4651         
4652         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4653         Remove leftover else
4654
4655         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4656         (gst_systemclock_suite):
4657         Added check to test GST_CLOCK_DIFF.
4658
4659 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4660
4661         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4662         (gst_type_find_helper_get_range):
4663           If we are provided with the size, we should implement
4664           GstTypeFind::get_length, so that typefind functions who
4665           want to can actually peek at the middle of a file.
4666
4667 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4668
4669         * docs/manual/advanced-dataaccess.xml:
4670           Add some very very basic error checking.
4671
4672         * docs/pwg/appendix-checklist.xml:
4673           Some updates to the list of things to check when writing an element.
4674
4675 2006-03-08  Wim Taymans  <wim@fluendo.com>
4676
4677         * docs/design/part-element-transform.txt:
4678         Added some docs about the design of tranform elements.
4679
4680         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4681         (gst_base_src_loop), (gst_base_src_change_state):
4682         Mark buffers with the DISCONT flag.
4683
4684 2006-03-08  Michael Smith  <msmith@fluendo.com>
4685
4686         * gst/gstregistry.h:
4687         * gst/gstregistryxml.c: (gst_registry_save),
4688         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4689         (gst_registry_xml_save_pad_template),
4690         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4691         (gst_registry_xml_write_cache):
4692           Rewrite registry-saving to avoid race conditions and check for
4693           failed writes.
4694
4695 2006-03-08  Wim Taymans  <wim@fluendo.com>
4696
4697         * libs/gst/base/gstbasetransform.c:
4698         (gst_base_transform_transform_caps),
4699         (gst_base_transform_transform_size),
4700         (gst_base_transform_prepare_output_buffer),
4701         (gst_base_transform_get_unit_size),
4702         (gst_base_transform_buffer_alloc),
4703         (gst_base_transform_handle_buffer),
4704         (gst_base_transform_change_state):
4705         Cleanups, separate normal flow from errors, add sensible
4706         DEBUG lines.
4707         Don't try to renegotiate when allocating an output buffer.
4708         Also copy DISCONT buffer flag when copying a buffer.
4709         Reset the transform after we finish streaming, not during.
4710
4711 2006-03-08  Wim Taymans  <wim@fluendo.com>
4712
4713         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4714         Use last buffer timestamp in qos message.
4715
4716 2006-03-07  Wim Taymans  <wim@fluendo.com>
4717
4718         Patch by: Christophe Fergeau
4719
4720         * docs/pwg/advanced-tagging.xml:
4721         * docs/pwg/building-pads.xml:
4722           fixes #333416
4723
4724 2006-03-07  Wim Taymans  <wim@fluendo.com>
4725
4726         * docs/libs/gstreamer-libs-sections.txt:
4727         Added basesink new methods.
4728
4729         * gst/gstevent.c:
4730         * gst/gstevent.h:
4731         Docs updates. Flesh out the QoS docs.
4732
4733         * libs/gst/base/gstadapter.c:
4734         Small doc clarification about ownership and flushing.
4735
4736         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4737         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4738         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4739         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4740         * libs/gst/base/gstbasesink.h:
4741         API additions: 
4742         Added new methods to allow subclass to control max-lateness 
4743         and sync.
4744         Generate very basic QoS events based on last sync observation.
4745         Updated docs, fix typo, added some QoS blurb.
4746
4747         * libs/gst/base/gstbasesrc.c:
4748         Remove obsolete _get_state() calls from docs.
4749
4750 2006-03-07  Wim Taymans  <wim@fluendo.com>
4751
4752         * docs/libs/gstreamer-libs-sections.txt:
4753         * libs/gst/base/gstbasetransform.h:
4754         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4755         Fix docs for GstBaseSrc.
4756
4757 2006-03-07  Wim Taymans  <wim@fluendo.com>
4758
4759         * docs/gst/gstreamer-sections.txt:
4760         * gst/gstbuffer.h:
4761         * gst/gstvalue.c:
4762         * libs/gst/base/gstbasetransform.h:
4763         Small documentation fixes.
4764
4765 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4766
4767         * gst/gstvalue.c:
4768           Document thread-unsafety of gst_value_register_foo_func()
4769           when used at the same time as gst_value_foo() (#322628).
4770
4771 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4772
4773         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4774         (gst_push_src_check_get_range):
4775           Push sources don't support pull mode by default.
4776
4777 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4778
4779         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4780         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4781         (gst_base_src_default_check_get_range):
4782         * libs/gst/base/gstbasesrc.h:
4783           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4784           provide default implementation, and rename
4785           gst_base_src_check_get_range() to
4786           gst_base_src_pad_check_get_range() for clarity.
4787
4788 2006-03-06  Wim Taymans  <wim@fluendo.com>
4789
4790         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4791         Make property overridable.
4792
4793 2006-03-06  Wim Taymans  <wim@fluendo.com>
4794
4795         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4796         (gst_base_sink_init), (gst_base_sink_set_property),
4797         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4798         * libs/gst/base/gstbasesink.h:
4799         API addition: Make max-lateness a property.
4800
4801 2006-03-06  Wim Taymans  <wim@fluendo.com>
4802
4803         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4804         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4805         Don't ever draw a frame that is >10ms late.
4806
4807 2006-03-06  Michael Smith  <msmith@fluendo.com>
4808
4809         * gst/gstmessage.c: (_gst_message_copy):
4810           When copying a message, set the parent_refcount of the enclosed
4811           structure to point at the copy, not the original message.
4812
4813 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4814
4815         Patch by: Christophe Fergeau
4816
4817         * gst/gstutils.h:
4818           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4819           usable in c++ code (#333417)
4820
4821 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4822
4823         * gst/gstclock.h:
4824           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4825
4826 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4827
4828         * libs/gst/base/gstbasetransform.c:
4829         (gst_base_transform_transform_caps):
4830           Make sure caps are writable before passing them to
4831           gst_caps_append().
4832
4833 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4834
4835         * gst/gsterror.h:
4836           Fix some minor docs errors.
4837
4838 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4839
4840           Patch by: Ross Burton <ross at burtonini dot com>
4841
4842         * gst/gsterror.c: (_gst_resource_errors_init):
4843         * gst/gsterror.h:
4844           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4845
4846 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4847
4848         * gst/gst.c:
4849         Add a check and output a g_warning when GStreamer is built
4850         against GLib 2.6 but running against 2.8 or higher, and vice 
4851         versa. (Closes: #323542)
4852
4853 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4854
4855         * gst/parse/parse.l:
4856           Commit patch for parse_launch syntax from #331255. Removes 
4857           support for quoted strings and mimetypes when writing filtered 
4858           caps. See the bug report for more details - I'm pretty sure this
4859           obscure feature is not in use by _anyone_ anywhere.
4860
4861           With this simple change, the size of the gstreamer.so here 
4862           drops from 2193KB to 1565KB.
4863
4864 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4865
4866         * plugins/elements/gsttypefindelement.h:
4867         * plugins/elements/gsttypefindelement.c:
4868         (gst_type_find_element_src_event), (start_typefinding),
4869         (stop_typefinding), (gst_type_find_element_handle_event),
4870         (gst_type_find_element_chain),
4871         (gst_type_find_element_chain_do_typefinding):
4872           Use gst_type_find_helper_for_buffer() for chain-based
4873           typefinding.
4874
4875 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4876
4877         * plugins/elements/gsttypefindelement.c:
4878         (gst_type_find_element_class_init),
4879         (gst_type_find_element_set_property),
4880         (gst_type_find_element_get_property):
4881           Deprecate "maximum" property (not only was it only taken into
4882           account for typefinding in push-mode anyway, it also was never
4883           actually possible to set it in the first place because the
4884           property was registered with the numeric property ID for the
4885           "minimum" property). Register "maximum" property correctly,
4886           for the sake of future copy'n'pasters. Remove some cruft
4887           from property get/set functions.
4888
4889 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4890
4891         * plugins/elements/gsttypefindelement.c:
4892         (gst_type_find_element_activate):
4893           Use gst_type_find_helper_get_range() here, so we
4894           can honour the "minimum" property and also emit
4895           the signal with the correct probability of the found caps.
4896
4897 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4898
4899         * docs/libs/gstreamer-libs-sections.txt:
4900         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4901         (helper_find_suggest), (gst_type_find_helper_get_range),
4902         (gst_type_find_helper):
4903         * libs/gst/base/gsttypefindhelper.h:
4904           New API: gst_type_find_helper_get_range() (#333042).
4905
4906 2006-03-02  Michael Smith  <msmith@fluendo.com>
4907
4908         * gst/gstregistryxml.c: (load_feature):
4909           Asserting on a failure to read part of the registry is Not Cool.
4910           Just log a warning and return NULL (which is already handled)
4911
4912 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4913
4914         * win32/common/libgstbase.def:
4915           added export of gst_type_find_helper_for_buffer
4916         * win32/common/libgstbase.def:
4917           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4918           gst_ghost_pad_get_target
4919
4920 2006-02-28  Wim Taymans  <wim@fluendo.com>
4921
4922         * docs/design/draft-klass.txt:
4923         We use Filter now.
4924         Added Connector to mark elements that are only used to
4925         allow pipeline connections.
4926         Moved Debug to extra feature since most of them are 
4927         functionally something else.
4928
4929 2006-02-28  Wim Taymans  <wim@fluendo.com>
4930
4931         * docs/design/draft-klass.txt:
4932         Some updates and clarifications.
4933
4934 2006-02-28  Wim Taymans  <wim@fluendo.com>
4935
4936         * docs/design/draft-klass.txt:
4937         Proposal for klass field values.
4938
4939         * docs/design/part-streams.txt:
4940         Start of a doc describing stream anatomy.
4941
4942 2006-02-28  Wim Taymans  <wim@fluendo.com>
4943
4944         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4945         Help the compiler a bit with type registration.
4946         Use existing forward cod path instead of duplicating it when 
4947         handling a message.
4948         
4949         * gst/gstbus.c: (gst_bus_get_type):
4950         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4951         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4952         * gst/gstclock.c: (gst_clock_get_type):
4953         * gst/gstelement.c: (gst_element_get_type),
4954         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4955         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4956         * gst/gstminiobject.c: (gst_mini_object_get_type):
4957         * gst/gstpad.c: (gst_pad_get_type):
4958         * gst/gstsegment.c: (gst_segment_get_type):
4959         * gst/gststructure.c: (gst_structure_get_type):
4960         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4961         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4962         * gst/gstvalue.c:
4963         Help compiler with type registration.
4964
4965         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4966         Small doc update.
4967
4968 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4969
4970         * plugins/elements/gsttypefindelement.c:
4971         (gst_type_find_element_handle_event):
4972           When we get an EOS event and have not found a type yet
4973           (most likely because we had not yet accumulated
4974           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4975           type given the data we have so far. Fixes typefinding
4976           for very short streams again, most notably quicktime
4977           redirections as used on Apple's trailer site (#331701).
4978
4979 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4980
4981         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4982         (gst_type_find_helper):
4983           Try typefinding factories with the highest rank first.
4984
4985 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4986
4987         * docs/libs/gstreamer-libs-docs.sgml:
4988         * docs/libs/gstreamer-libs-sections.txt:
4989         * libs/gst/base/gsttypefindhelper.c:
4990           Add section for typefind helper and add documentation
4991           for the old and the new function.
4992
4993 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4994
4995         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4996         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4997         (gst_type_find_helper_for_buffer):
4998         * libs/gst/base/gsttypefindhelper.h:
4999           New API: gst_type_find_helper_for_buffer() (#332723).
5000           
5001 2006-02-27  Michael Smith  <msmith@fluendo.com>
5002
5003         Patch by: Loïc Minier
5004
5005         * configure.ac:
5006         * docs/Makefile.am:
5007         * docs/slides/Makefile.am:
5008           prevent CVS directories getting disted.
5009
5010 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
5011
5012         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5013           Use the REFCOUNTING category for caps refcounting.
5014           
5015 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5016
5017         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5018           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5019
5020 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
5021
5022         * plugins/elements/gsttypefindelement.c:
5023         (gst_type_find_element_activate):
5024           Use gst_pad_check_pull_range() before _activate_pull()
5025           to avoid unnecessary open/close (see #331690).
5026
5027 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5028
5029         * gst/gstutils.c:
5030           Docs enhancement: make it crystal clear what the
5031           gst_pad_add_*_probe() callbacks should look like.
5032
5033 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
5034
5035         * libs/gst/base/gstbasesrc.c:
5036           Document how applications can stop recording from
5037           live sources (see #330996).
5038
5039 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5040
5041         * tests/check/Makefile.am:
5042         * tests/check/libs/basesrc.c: (eos_event_counter),
5043         (basesrc_eos_events_pull), (basesrc_eos_events_push),
5044         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5045         (gst_basesrc_suite), (main):
5046           ... and add some tests for the base source EOS stuff.
5047
5048 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5049
5050         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5051           Test case originally showed the problem fixed below,
5052           but was then amended. Add checks back at the place
5053           where they used to be.
5054
5055 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5056
5057         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5058         (gst_base_src_init), (gst_base_src_loop),
5059         (gst_base_src_activate_push), (gst_base_src_activate_pull),
5060         (gst_base_src_change_state):
5061         * libs/gst/base/gstbasesrc.h:
5062           Don't unconditionally send EOS when going from PAUSED to
5063           READY state, esp. make sure we don't send two EOS events
5064           in some cases (e.g. one when reaching EOS and one when
5065           going from PAUSED to READY). Also, we don't want to send
5066           EOS events when operating in pull mode. However, we do
5067           want to send an EOS event when shutting down a live
5068           source explicitly, for example (fixes #330996).
5069           
5070 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5073           Update src->read_position after a seek when not using mmap.
5074           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5075
5076 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
5077
5078         * gst/Makefile.am:
5079         * gst/gstparse.h:
5080         * gst/gstutils.c:
5081         * gst/gstutils.h:
5082         Make things work with --disable-parse as they do with 
5083         --disable-load-save - the symbols involved disappear, but the
5084         header is still installed and GST_DISABLE_PARSE is included via
5085         gstconfig.h
5086
5087 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5088
5089         * libs/gst/base/gstbasetransform.c:
5090         (gst_base_transform_change_state): Fix a stupid bug. I was 
5091         sure I compiled that.
5092
5093 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5094
5095         * gst/gstpad.c: (gst_pad_set_blocked_async):
5096         * gst/gstutils.c: (gst_pad_add_data_probe),
5097         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5098         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5099         (gst_pad_remove_buffer_probe): Make those function act on the
5100         ghostpad target when it's a ghostpad. (Closes #331727)
5101
5102 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5103
5104         * libs/gst/base/gstbasetransform.c:
5105         (gst_base_transform_change_state): Make basetransform reusable.
5106         (Closes #331898)
5107
5108 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5109
5110         * docs/random/release:
5111         Move the current documentation of how to do a release to the top
5112         of the file.
5113
5114         * gst/gstbin.c: (gst_bin_class_init),
5115         (gst_bin_handle_message_func):
5116         Allow multiple state-recalculation threads. (Closes #328873)
5117
5118 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5119
5120         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5121         * gst/gstpad.c: (gst_pad_set_event_function),
5122         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5123         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5124         2 strings. You can't use the STR_NULL macro on that.
5125
5126 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5127
5128         * gst/gstpad.c: (gst_pad_set_event_function),
5129         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5130         (gst_pad_set_getcaps_function)
5131         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5132           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5133           So now, we can use --gst-debug-level=5 on Windows
5134         * win32/common/libgstcontroller.def:
5135           Added export of gst_controller_init
5136         * win32/vs6/libgstcontroller.dsp:
5137           Fixed Release post build configuration
5138
5139 2006-02-17  Wim Taymans  <wim@fluendo.com>
5140
5141         * tests/check/gst/gstquery.c: (GST_START_TEST):
5142         Added another check.
5143
5144 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5145
5146         * plugins/elements/gsttypefindelement.c: (find_peek):
5147           We can do peeks at non-zero offsets, as long as they
5148           fall within the buffer we have.
5149
5150 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5151
5152         * tests/check/Makefile.am:
5153         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5154         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5155         (parse_suite), (main):
5156           Add testsuite for parse launch syntax
5157
5158 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5159
5160         * plugins/elements/gsttypefindelement.c:
5161         (gst_type_find_element_chain):
5162           When typefinding is unsuccessful in the chain function, don't
5163           error out immediately. Only error out with NO_CAPS_FOUND if
5164           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5165           otherwise simply wait for more data so we can try typefinding
5166           again with more data later. Also, don't attempt to typefind
5167           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5168           this should improve typefinding from network sources where the
5169           size of the first buffer can be somewhat random.
5170
5171 2006-02-14  Wim Taymans  <wim@fluendo.com>
5172
5173         * docs/gst/gstreamer-sections.txt:
5174         * gst/gstpadtemplate.c:
5175         * gst/gstpadtemplate.h:
5176         Fix padtemplate docs, fixes #328805.
5177
5178 2006-02-14  Wim Taymans  <wim@fluendo.com>
5179
5180         * tools/gst-launch.c: (main):
5181         NO_PREROLL is not an ERROR so don't send confusing messages
5182         to the user.
5183
5184 2006-02-14  Wim Taymans  <wim@fluendo.com>
5185
5186         Patch by: Torsten Schoenfeld
5187
5188         * gst/gstregistry.c: (gst_registry_get_default),
5189         (_gst_registry_cleanup):
5190         Protect default registry with lock and ref/sink it.
5191         Fixes #324818
5192
5193 2006-02-14  Wim Taymans  <wim@fluendo.com>
5194
5195         * gst/gstbuffer.c:
5196         * gst/gstquery.c: (gst_query_list_add_format),
5197         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5198         (gst_query_parse_formats_nth):
5199         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5200         Docs fixes.
5201
5202 2006-02-14  Wim Taymans  <wim@fluendo.com>
5203
5204         * docs/gst/gstreamer-sections.txt:
5205         Reworked query docs.
5206
5207         * gst/gstquery.c: (gst_query_new_formats),
5208         (gst_query_list_add_format), (gst_query_set_formats),
5209         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5210         (gst_query_parse_formats_nth):
5211         * gst/gstquery.h:
5212         Flesh out formats query, added some new methods.
5213         Fix part of #324398.
5214
5215         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5216         Added query creation tests.
5217
5218 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5219
5220         * gst/gstpad.c: (fixate_value):
5221         Add a default fixation for fraction lists.
5222
5223 2006-02-13  Wim Taymans  <wim@fluendo.com>
5224
5225         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5226         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5227         (gst_task_join):
5228         * gst/gsttask.h:
5229         Detect and warn for obvious deadlocks. fixes #320340
5230         Fix error case where lock was not released.
5231
5232         * tests/check/Makefile.am:
5233         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5234         (task_func), (gst_element_suite), (main):
5235         Add task check.
5236
5237 2006-02-13  Wim Taymans  <wim@fluendo.com>
5238
5239         * docs/gst/gstreamer-sections.txt:
5240         * gst/gstbus.c:
5241         Add new functions to docs.
5242
5243 2006-02-13  Wim Taymans  <wim@fluendo.com>
5244
5245         * docs/design/part-TODO.txt:
5246         Updated TODO list, basesrc supports seeking to non-bytes
5247         formats.
5248
5249         * docs/design/part-element-sink.txt:
5250         Update docs.
5251
5252         * gst/gstbin.c: (bin_replace_message),
5253         (gst_bin_handle_message_func):
5254         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5255         * gst/gstevent.c: (gst_event_finalize):
5256         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5257         (gst_pad_send_event):
5258         Use shiny new _TYPE_NAME macros.
5259
5260         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5261         Move debug statement up.
5262
5263         * gst/gstelement.c: (gst_element_set_locked_state):
5264         Add some debugging.
5265
5266 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5267
5268         * docs/gst/gstreamer-sections.txt:
5269         * gst/gstmessage.h:
5270         * gst/gstquery.h:
5271           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5272           macros (#330906). Also, document the already existing
5273           GST_QUERY_TYPE macro.
5274
5275 2006-02-13  Wim Taymans  <wim@fluendo.com>
5276
5277         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5278         (event_probe), (GST_START_TEST):
5279         Only events up to the pipeline EOS are counted, there are
5280         some more when going to NULL currently which we don't care
5281         about for now.
5282
5283 2006-02-13  Wim Taymans  <wim@fluendo.com>
5284
5285         * gst/gstpad.c: (gst_pad_send_event):
5286         Correctly check flushing and emit probes. fixes #330125
5287
5288 2006-02-10  Andy Wingo  <wingo@pobox.com>
5289
5290         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5291         structure.
5292         (gst_bus_init): Cache the location of the private data in the
5293         instance structure.
5294         (gst_bus_enable_sync_message_emission) 
5295         (gst_bus_disable_sync_message_emission): Implement new public
5296         functions.
5297         (gst_bus_post): Emit the sync-message signal if the user asked for
5298         it. Fixes #330684.
5299
5300         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5301         location of the bus-private structure.
5302         (gst_bus_enable_sync_message_emission)
5303         (gst_bus_disable_sync_message_emission): API addition
5304
5305 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5306
5307         Patch by: Vincent Torri
5308
5309         * docs/pwg/building-boiler.xml:
5310         PWG patch from #326800
5311
5312 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5313
5314         * configure.ac:
5315         * docs/Makefile.am:
5316         * docs/design/Makefile.am:
5317           Dist design docs.
5318
5319 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5320
5321         * configure.ac:
5322           back to CVS
5323
5324 === release 0.10.3 ===
5325
5326 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5327
5328         * configure.ac:
5329           releasing 0.10.3, "Like a virgin"
5330
5331 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5332
5333         * configure.ac:
5334           2nd prerelease of 0.10.3
5335           Bump libtool versioning.
5336
5337 2006-02-07  Andy Wingo  <wingo@pobox.com>
5338
5339         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5340         update last_stop if we're in TIME format and the timestamp is
5341         valid.
5342
5343         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5344         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5345         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5346         If we get a new newsegment with a different format, adapt
5347         accordingly.
5348
5349         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5350         of 0. Not a problem, really.
5351
5352         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5353         warn if sync=true.
5354
5355 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5356
5357         * configure.ac:
5358           Prelease of 0.10.3
5359
5360 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5361
5362         * win32/vs7:
5363           project files updated to the default vs7 configuration
5364         * win32/common/libgstbase.def:
5365         * win32/common/libgstreamer.def:
5366           added new symbols,
5367           removed empty lines,
5368           sorted all exported symbols alphabetically
5369         * win32/common/dirent.c:
5370         * win32/common/dirent.h:
5371         * win32/common/gchar.h:
5372           use windows line end.
5373           
5374 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5375
5376         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5377           Send EOS event when stopping.
5378
5379 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5380
5381         * docs/README:
5382           Tell folks what to do if the plugin-foobar.xml file
5383           hasn't been generated for a newly-added plugin.
5384
5385 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5386
5387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5388         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5389         (gst_collect_pads_start), (gst_collect_pads_stop),
5390         (gst_collect_pads_event): Collectpads now holds a reference
5391         to the GstPad that was added. Indeed we don't want to look
5392         at pads that might just go away with no warning...
5393
5394 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5395
5396         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5397         (gst_collect_pads_start), (gst_collect_pads_stop),
5398         (gst_collect_pads_event), (gst_collect_pads_chain):
5399         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5400         Mark Nauwelaerts's patch on bug #328491.
5401
5402 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5403
5404         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5405         (gst_utils_suite):
5406           Add some simple tests for gst_parse_bin_from_description() and
5407           gst_bin_find_unconnected_pad() (#329069).
5408
5409 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5410
5411         * tools/gst-launch.c: (event_loop), (main):
5412           Catch errors during preroll (#320084).
5413
5414 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5415
5416         * plugins/elements/gsttypefindelement.c:
5417         (gst_type_find_element_activate):
5418           Post TYPE_NOT_FOUND error message when typefinding
5419           is unsuccessful in the activate function as well.
5420
5421 2006-02-02  Wim Taymans  <wim@fluendo.com>
5422
5423         * docs/design/part-element-sink.txt:
5424         Updated doc.
5425
5426 2006-02-02  Wim Taymans  <wim@fluendo.com>
5427
5428         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5429         (gst_base_sink_render_object),
5430         (gst_base_sink_queue_object_unlocked):
5431         Only keep track of prerollable items when we are 
5432         prerolling.
5433         Before rendering after preroll, always check if we
5434         have queued items.
5435         Added some more debugging.
5436
5437 2006-02-02  Wim Taymans  <wim@fluendo.com>
5438
5439         * gst/gstelement.c: (gst_element_continue_state),
5440         (gst_element_set_state_func), (gst_element_change_state):
5441         Fixed #326576, been running this for quite some time with
5442         no regressions at all.
5443
5444 2006-02-02  Wim Taymans  <wim@fluendo.com>
5445
5446         * common/gst.supp:
5447         Added more suppressions
5448
5449 2006-02-02  Wim Taymans  <wim@fluendo.com>
5450
5451         * docs/design/part-element-sink.txt:
5452         Updated document.
5453
5454         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5455         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5456         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5457         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5458         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5459         (gst_base_sink_preroll_object),
5460         (gst_base_sink_queue_object_unlocked),
5461         (gst_base_sink_queue_object), (gst_base_sink_event),
5462         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5463         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5464         (gst_base_sink_get_position), (gst_base_sink_change_state):
5465         * libs/gst/base/gstbasesink.h:
5466         Totally refactored matching the design doc.
5467         Use two segments, one to clip incomming buffers and another to
5468         perform sync.
5469         Handle queueing correctly, bypass the queue when playing.
5470         Make EOS cancelable.
5471         Handle errors correctly when operating in pull based mode.
5472
5473         * tests/check/elements/fakesink.c: (GST_START_TEST),
5474         (fakesink_suite):
5475         Added new check for sinks.
5476
5477 2006-02-02  Wim Taymans  <wim@fluendo.com>
5478
5479         * gst/gstsegment.c: (gst_segment_clip):
5480         No reason to refuse to clip when start == -1
5481
5482 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5483
5484         * docs/README:
5485         * docs/manual/intro-basics.xml:
5486         * docs/manual/intro-preface.xml:
5487         * docs/manual/manual.xml:
5488         * docs/pwg/advanced-dparams.xml:
5489         * docs/pwg/intro-basics.xml:
5490         * docs/pwg/intro-preface.xml:
5491         * docs/pwg/pwg.xml:
5492           describe dparams (controller) for plugins
5493           unify docs a little more
5494
5495 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5496
5497         * docs/gst/gstreamer-sections.txt:
5498         * gst/gstutils.c: (element_find_unconnected_pad),
5499         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5500         * gst/gstutils.h:
5501           Add new API: gst_parse_bin_from_description() and
5502           gst_bin_find_unconnected_pad() (#329069).
5503
5504 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5505
5506         * docs/manual/README:
5507           uncover a nasty detail of the docs build
5508
5509 2006-01-31  Wim Taymans  <wim@fluendo.com>
5510
5511         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5512         Don't cache duration messages if we're not going to use or
5513         free them.
5514
5515 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5516
5517         * docs/manual/advanced-dparams.xml:
5518         * docs/pwg/advanced-dparams.xml:
5519           more dparam docs
5520         * gst/gstindex.c:
5521           fix docs
5522         * libs/gst/controller/lib.c: (gst_controller_init):
5523           init just once
5524
5525 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5526
5527         * gst/gstelement.c: (gst_element_message_full):
5528           also show file/line/func if no additional debug was given
5529
5530 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5531         
5532         * win32/vs7/grammar.vcproj:
5533           activate copy of autogenerated files for Release mode
5534
5535 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5536         
5537         * win32/common/libgstreamer.def:
5538           export gst_value_compare
5539
5540 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5541
5542         * plugins/elements/Makefile.am:
5543         * plugins/elements/gstelements.c:
5544         * plugins/elements/gstfdsink.c: (_do_init),
5545         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5546         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5547         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5548         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5549         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5550         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5551         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5552         * plugins/elements/gstfdsink.h:
5553         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5554
5555 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5556
5557         * docs/manual/advanced-dparams.xml:
5558           describe controller
5559         * docs/manual/advanced-position.xml:
5560         * docs/manual/basics-init.xml:
5561         * docs/manual/manual.xml:
5562         * docs/manual/titlepage.xml:
5563         * docs/pwg/pwg.xml:
5564         * docs/pwg/titlepage.xml:
5565           cleanup xml (more to come)
5566         * libs/gst/controller/gstcontroller.c:
5567           fix typo
5568
5569 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5570         
5571         * win32/vs6/grammar.dsp:
5572           add autogen of gstmarshal.c,h for Release mode
5573                 
5574 2006-01-30  Wim Taymans  <wim@fluendo.com>
5575
5576         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5577         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5578         (gst_base_sink_handle_object), (gst_base_sink_event),
5579         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5580         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5581         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5582         (gst_base_sink_deactivate), (gst_base_sink_activate),
5583         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5584         (gst_base_sink_query), (gst_base_sink_change_state):
5585         Basesink cleanups, remove some old code.
5586         Handle the case where a subclass can preroll in the render
5587         method (mostly audiosinks).
5588         Handle more events.
5589         Remove some locks around variables that are now protected
5590         with the PREROLL_LOCK (clock_id, flushing, ..).
5591         Optimize position query some more, do correct locking.
5592         Remove old code to push queue in state change, this is not
5593         needed anymore since preroll blocks on all prerollable items 
5594         now.
5595         Almost implemented as described in design doc.
5596
5597 2006-01-30  Wim Taymans  <wim@fluendo.com>
5598
5599         * tests/check/gst/gstbin.c: (GST_START_TEST):
5600         Wait for refcount to settle down before checking.
5601
5602 2006-01-30  Wim Taymans  <wim@fluendo.com>
5603
5604         * docs/design/part-element-sink.txt:
5605         Pseudo code overview of desired sink behaviour regarding
5606         preroll.
5607
5608 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5609         * win32/vs6/grammar.dsp:
5610           fix some bugs in Release mode for autogenerated files
5611                 
5612 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5613         * win32/common/libgstbase.def:
5614         * win32/common/libgstreamer.def:
5615           export some new symbols: gst_base_src_set_format,
5616           gst_iterator_next, gst_structure_set_valist
5617
5618 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5619
5620         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5621         Set pad functions unconditionally. Fixes #329105.
5622
5623 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5624         * win32/vs8:
5625           add vs8 project files created by Sergey Scobich
5626
5627 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5628
5629         * gst/gstutils.c: (gst_element_unlink_pads):
5630         Don't leak pad references.
5631
5632         * tests/check/elements/fakesink.c: (GST_START_TEST):
5633         * tests/check/generic/sinks.c: (GST_START_TEST):
5634         * tests/check/generic/states.c: (GST_START_TEST):
5635         * tests/check/gst/gstbin.c: (GST_START_TEST):
5636         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5637         * tests/check/gst/gstelement.c: (GST_START_TEST):
5638         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5639         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5640         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5641         Fix a bunch of leaks. Make generic/sinks.c
5642         use a bit less cpu by slowing the buffer rate
5643         between fakesrc and fakesink.
5644         
5645 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5646         * gst/gstcaps.c:
5647         * gst/gstelement.c: (gst_element_send_event):
5648         * gst/gstevent.c:
5649         * gst/gstinfo.c:
5650         * gst/gstiterator.c:
5651         * gst/gstiterator.h:
5652         * gst/gstpad.c: (gst_pad_send_event):
5653         * gst/gststructure.c:
5654         * gst/gsturi.c:
5655         * gst/gstutils.c:
5656         * gst/gstvalue.c:
5657         * libs/gst/base/gstadapter.c:
5658           doc fixes, to link to function, just write gst_cool_function(), don't
5659           prefix with '#'
5660
5661 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5662
5663         * plugins/elements/gsttee.c: (gst_tee_do_push),
5664         (gst_tee_handle_buffer):
5665         Always prefer an actual return value from a src
5666         pad in place of NOT_LINKED. This means we return
5667         WRONG_STATE when all src pads are WRONG_STATE
5668         instead of NOT_LINKED.
5669
5670         Lock when replacing the last message to prevent
5671         racing with the get_property method.
5672
5673         Add debug output
5674
5675 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5676
5677         * tests/check/Makefile.am:
5678         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5679         (main):
5680         Add a very simple check that should have caught the memleak I fixed
5681         last night (if not for the slice allocator hiding it)
5682
5683 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5684
5685         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5686         (gst_bin_remove_func), (gst_bin_handle_message_func),
5687         (bin_query_duration_fold), (bin_query_generic_fold):
5688         Clean up references to the clock provider when disposed or when
5689         handling a clock-lost message from it.
5690
5691         Unref sinks when performing a query via gst_iterator_fold, as the
5692         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5693
5694         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5695         (gst_clock_set_master):
5696         Drop our reference to the master clock, if any, when we are disposed.
5697
5698         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5699         Chain up in dispose. 
5700
5701 2006-01-26  Wim Taymans  <wim@fluendo.com>
5702
5703         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5704         Add some debugging.
5705
5706 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5707
5708         * plugins/elements/gsttee.c: (gst_tee_do_push),
5709         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5710         handles pad being NOT_LINKED or in WRONG_STATE.
5711
5712 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5713
5714         * win32/MANIFEST:
5715           more updating
5716
5717 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5718
5719         * win32/MANIFEST:
5720           remove obsolete entry
5721
5722 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5723
5724         * docs/gst/gstreamer-sections.txt:
5725         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5726         (gst_bin_iterate_sources), (gst_bin_send_event):
5727         * gst/gstbin.h:
5728         * gst/gstelement.c: (gst_element_send_event):
5729         * gst/gstevent.c:
5730         * gst/gstpad.c: (gst_pad_send_event):
5731           added code for downstream events, reviewed docs in gstevent.c
5732
5733 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5734
5735         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5736         We only query position using the clock in the playing state.
5737         Query peer in the other cases.
5738         * win32/common/config.h: Updates.
5739
5740 2006-01-24  Wim Taymans  <wim@fluendo.com>
5741
5742         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5743         A clock entry that is scheduled for the exact time of the
5744         clock is still in time.
5745
5746         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5747         (gst_base_sink_do_sync):
5748         Add some more debug info.
5749
5750 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5751
5752         * win32/vs7:
5753           Add new vs7 project files and solution.
5754
5755 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5756
5757         * win32/vs7:
5758           all files removed as they were out-dated.
5759
5760 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5761
5762         * docs/random/release:
5763           update notes
5764         * gst/gstbin.c: (gst_bin_init):
5765         * gst/gstbus.c: (gst_bus_new):
5766         * gst/gstbus.h:
5767         * gst/gstpipeline.c: (gst_pipeline_init):
5768           use gst_bus_new(), improve logging, fix docs
5769         * win32/common/config.h:
5770           update for cvs build
5771
5772 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5773
5774         * autogen.sh:
5775           up required version of automake to 1.7
5776
5777 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5778
5779         * win32/common/libgstreamer.def:
5780           export gst_buffer_is_metadata_writable
5781
5782 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5783
5784         * docs/gst/gstreamer-sections.txt:
5785         * gst/gstevent.h:
5786           Add gst_event_replace() (#327001)
5787
5788 2006-01-20  Wim Taymans  <wim@fluendo.com>
5789
5790         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5791         Make it actually compile too..
5792
5793 2006-01-20  Wim Taymans  <wim@fluendo.com>
5794
5795         * gst/gstcaps.c:
5796         Clarify behaviour of _is_equal() when passing NULL parameters.
5797
5798         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5799         (gst_pad_set_caps):
5800         Cleanups. Don't unref NULL caps.
5801         When setting the same caps, protect caps of the pad with
5802         proper lock.
5803         Use full functionality of _is_equal() when comparing caps.
5804
5805 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5806
5807         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5808         Don't loop infinitely if there are no buffers to present. Partially
5809         fixes #327197, but collectpads is just broken for reusing elements
5810         to do multiple encodes atm.
5811
5812 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5813
5814         * tools/gst-inspect.c: (print_element_features):
5815         * tools/gst-xmlinspect.c: (main):
5816         URL_HANDLER is not a plugin feature we can search for in
5817         the registry.
5818
5819 2006-01-19  Edward Hervey  <edward@fluendo.com>
5820
5821         * gst/gstelement.c: (gst_element_pads_activate): 
5822         When activating, do src pads first, then sink pads.
5823         When de-activating, do sink pads first, then src pads.
5824
5825 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5826
5827         * docs/gst/gstreamer-sections.txt:
5828         Add gst_index_add_associationv to the docs
5829
5830 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5831
5832         * gst/gstevent.c:
5833           Fix docs typo
5834
5835         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5836         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5837           Do some refactoring. Doesn't actually change functionality,
5838           but makes landing the DRAIN event easier later.
5839
5840 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5841
5842         * docs/pwg/advanced-scheduling.xml:
5843           Update from 0.9.x to 0.10 API and make example a bit
5844           clearer.
5845
5846 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5847
5848         * docs/gst/gstreamer-sections.txt:
5849         Add gst_buffer_(is|make)_metadata_writable methods.
5850
5851 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5852
5853         * docs/design/part-sparsestreams.txt:
5854         Update sparse streams doc, hopefully for greater clarity
5855
5856 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5857
5858         * docs/design/part-events.txt:
5859         Remove mention of FILLER events.
5860         Add DRAIN event.
5861
5862         * docs/design/part-sparsestreams.txt:
5863         Write some things about using NEWSEGMENT to keep sparse streams
5864         flowing.
5865
5866 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5867
5868         * gst/gstbin.c: (gst_bin_dispose):
5869           Guard gst_object_unref call against a NULL object (dispose
5870           can theoretically be called multiple times).
5871           
5872 2006-01-18  Wim Taymans  <wim@fluendo.com>
5873
5874         * gst/gstbin.c: (gst_bin_element_set_state):
5875         * gst/gstclock.c: (gst_clock_id_wait):
5876         Added some more debug info.
5877
5878         * libs/gst/base/gstadapter.c:
5879         Added more docs.
5880
5881         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5882         (gst_base_sink_do_sync), (gst_base_sink_chain):
5883         Added some comments.
5884
5885 2006-01-18  Wim Taymans  <wim@fluendo.com>
5886
5887         * tests/check/Makefile.am:
5888         * tests/check/elements/fakesink.c: (chain_async_buffer),
5889         (chain_async), (chain_async_return), (GST_START_TEST),
5890         (fakesink_suite), (main):
5891         Added fakesink test that checks prerolling and clipping
5892         behaviour.
5893
5894         * tests/check/gst/gstutils.c: (GST_START_TEST):
5895         Make check run faster so that buildbots don't timeout.
5896
5897 2006-01-18  Wim Taymans  <wim@fluendo.com>
5898
5899         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5900         (gst_base_sink_do_sync):
5901         Some cleanups.
5902         When the sink finishes blocking on the preroll buffer, it can
5903         immediatly render it instead of rendering when the next buffer
5904         arrives.
5905
5906 2006-01-18  Wim Taymans  <wim@fluendo.com>
5907
5908         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5909         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5910         (gst_base_sink_chain):
5911         Small cleanups.
5912         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5913         Don't store _last_stop if the buffer is dropped.
5914
5915 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * plugins/elements/gsttypefindelement.c:
5918         (gst_type_find_element_class_init):
5919           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5920           object method handler that sets the caps on the pad and we want
5921           that to happen before we emit the signal (fixes e.g. feeding a
5922           plain text file to decodebin).
5923
5924 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5925
5926         * gst/gstplugin.c: Add MPL and Proprietary as license options
5927
5928 2006-01-18  Andy Wingo  <wingo@pobox.com>
5929
5930         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5931         symbol was exported before, it appears this was just an oversight.
5932         Fixes #168703.
5933         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5934
5935         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5936         prototype to gint. OK since this prototype was not in the header.
5937
5938 2006-01-17  Andy Wingo  <wingo@pobox.com>
5939
5940         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5941         registry while we remove plugins.
5942
5943         * tools/gst-inspect.c (print_element_info): Don't unref the
5944         factory arg, that should be the responsibility of whatever code
5945         received the ref. Fixes a double-free when called from
5946         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5947         (main): Unref the factory if we have one.
5948         (print_element_list): No change -- relies on the
5949         plugin_feature_list_free to free the list of features.
5950
5951 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5952
5953         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5954         (gst_buffer_make_metadata_writable):
5955         * gst/gstbuffer.h:
5956         * libs/gst/base/gstbasetransform.c:
5957         (gst_base_transform_prepare_output_buf):
5958         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5959         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5960           Replace gst_buffer_(make|is)_metadata_writable patch now
5961           that the release is out.
5962
5963 2006-01-17  Andy Wingo  <wingo@pobox.com>
5964
5965         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5966         in the present tense without reference to versions.
5967
5968         * gst/gstregistry.c (gst_registry_add_plugin)
5969         (gst_registry_remove_plugin, gst_registry_remove_feature)
5970         (gst_registry_find_feature, gst_registry_get_feature_list)
5971         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5972         (gst_registry_lookup, gst_registry_scan_path)
5973         (_gst_registry_remove_cache_plugins)
5974         (gst_registry_get_feature_list_by_plugin): Add argument
5975         validation.
5976
5977 === release 0.10.2 ===
5978
5979 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5980
5981         * configure.ac:
5982           releasing 0.10.2, "If man is five"
5983
5984 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5985
5986         * gst/gstbuffer.c:
5987         * gst/gstbuffer.h:
5988         * libs/gst/base/gstbasetransform.c:
5989         (gst_base_transform_prepare_output_buf):
5990         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5991         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5992           Back out patch until after the release.
5993
5994 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5995
5996         * gst/gstminiobject.c:
5997           Spelling fix in docs.
5998         * ChangeLog - remove conflict indicator
5999
6000 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
6001
6002         Reviewed By: Andy Wingo
6003
6004         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6005         (gst_buffer_make_metadata_writable):
6006         * gst/gstbuffer.h:
6007           Add gst_buffer_(is|make)_metadata_writable as analogues of
6008           gst_buffer_(is|make)_writable.
6009
6010         * libs/gst/base/gstbasetransform.c:
6011         (gst_base_transform_prepare_output_buf):
6012         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6013           Use name gst_buffer_(is|make)_metadata_writable functions.
6014
6015         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6016           Test gst_buffer_(is|make)_metadata_writable
6017         
6018           (Closes: #324162)
6019
6020 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
6021
6022         * docs/manual/Makefile.am:
6023           don't do parallel make
6024         * configure.ac:
6025           AC_SUBST HOST_CPU
6026         * win32/common/config.h.in:
6027           add generations for HOST_CPU and GST_MAJORMINOR
6028         * win32/common/config.h:
6029           commit generated result
6030
6031 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
6032
6033         * docs/manual/appendix-integration.xml:
6034           Update GNOME integration section to use gst_init_get_option_group()
6035           instead of the old popt stuff (#322911). Also, GNOME applications
6036           should  now use gconf*sink and gconf*src instead of the old gconf
6037           helper lib we had.
6038
6039 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
6040
6041
6042         * docs/gst/gstreamer-docs.sgml:
6043         * docs/gst/gstreamer-sections.txt:
6044         * docs/libs/gstreamer-libs-sections.txt:
6045           add new API entries to the docs
6046         * libs/gst/controller/Makefile.am:
6047         * libs/gst/controller/gstcontroller.c:
6048         * libs/gst/controller/gstcontroller.h:
6049         * libs/gst/controller/gstcontrollerprivate.h:
6050         * libs/gst/controller/gsthelper.c:
6051         * libs/gst/controller/gstinterpolation.c:
6052           move private structs to private header
6053         * po/README:
6054           gstreamer-0.7 -> gstreamer-0.10
6055         * tests/check/libs/struct_i386.h:
6056           remove private structs
6057
6058 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6059
6060         * plugins/indexers/Makefile.am:
6061           Fixes as part of #317048
6062
6063 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
6064
6065         * plugins/indexers/Makefile.am:
6066           fix #316086 - compilation when mmap is missing
6067
6068 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
6069
6070         * libs/gst/base/gstbasesink.c:
6071           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
6072           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6073         * win32/common/config.h:
6074           added some defines GST_MAJORMINOR and HOST_CPU
6075         * win32/common/libgstbase.def:
6076         * win32/common/libgstreamer.def:
6077           added some exported functions.
6078
6079 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6080
6081         * libs/gst/controller/gstcontroller.c:
6082         (gst_controlled_property_set_interpolation_mode),
6083         (gst_controlled_property_new):
6084         * libs/gst/controller/gstcontroller.h:
6085         * libs/gst/controller/gstinterpolation.c:
6086         (interpolate_none_get_string_value_array):
6087           make G_TYPE_STRING controlable
6088
6089 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * tools/README:
6092         * tools/gst-feedback.1.in:
6093         * tools/gst-inspect.1.in:
6094         * tools/gst-launch.1.in:
6095         * tools/gst-md5sum.1.in:
6096         * tools/gst-typefind.1.in:
6097         * tools/gst-xmlinspect.1.in:
6098         * tools/gst-xmllaunch.1.in:
6099           cleanup man-pages, remove reference to gst-register, document env-vars
6100
6101 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6102
6103         * gst/gstbuffer.c: (gst_buffer_span):
6104           gst_buffer_span should copy the timestamp of the first buffer
6105           if they were both originally overlapping subbuffers of the 
6106           same parent, using the same logic as the 'slow copy' case.
6107
6108 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6109
6110         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6111           Need to awaken ALL the pads when we pop a buffer, otherwise
6112           collectpads only works when there is 2 input streams.
6113
6114 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6115
6116         * docs/random/ensonic/media-device-daemon.txt:
6117           more ideas (dbus)
6118         * gst/gstbuffer.c:
6119           fix doc example, add clarification
6120         * tools/gst-launch.1.in:
6121           add initial info about GST_PLUGIN_PATH, needs more work
6122
6123 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6124
6125         * docs/manual/basics-bins.xml:
6126         * docs/manual/basics-elements.xml:
6127         * docs/manual/intro-basics.xml:
6128           Some more minor docs additions and updates.
6129
6130 2006-01-11  Wim Taymans  <wim@fluendo.com>
6131
6132         * docs/manual/basics-bins.xml:
6133         * docs/manual/basics-elements.xml:
6134         Some small fixes as pointed out by Ser-ver on IRC.
6135
6136 2006-01-10  Edward Hervey  <edward@fluendo.com>
6137
6138         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6139         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6140         the single-segment mode.
6141
6142 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6143
6144         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6147         (gst_base_src_perform_seek), (gst_base_src_send_event),
6148         (gst_base_src_set_property), (gst_base_src_get_property),
6149         (gst_base_src_loop), (gst_base_src_start),
6150         (gst_base_src_activate_push):
6151         * libs/gst/base/gstbasesrc.h:
6152           Name (private) union; makes Sun's Forte compiler happy (#324900).
6153
6154 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6155
6156         * README:
6157           gst-register is gone.
6158
6159 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6160
6161         * gst/gstvalue.c: (_gst_value_initialize):
6162           make the G_TYPE_DATE instantiation work if debug is disabled
6163
6164 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6165
6166         * gst/gstmessage.c: (gst_message_parse_tag),
6167         (gst_message_parse_error), (gst_message_parse_warning):
6168           Don't crash when return location for error/warning debug
6169           string is NULL; add fact that return locations can be
6170           NULL to docs where appropriate.
6171
6172 2006-01-05  Wim Taymans  <wim@fluendo.com>
6173
6174         * gst/gstplugin.c: (gst_plugin_load_file):
6175         Replace strdup by g_strdup.
6176
6177 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6178
6179         * docs/pwg/advanced-types.xml:
6180           fix doc borkage
6181
6182 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6183
6184         submitted by: Abel Cheung
6185
6186         * po/LINGUAS:
6187         * po/zh_TW.po:
6188           Added Chinese (traditional) translation
6189
6190 2006-01-04  Wim Taymans  <wim@fluendo.com>
6191
6192         * docs/manual/basics-pads.xml:
6193         * docs/plugins/Makefile.am:
6194         * docs/plugins/gstreamer-plugins-docs.sgml:
6195         * docs/plugins/gstreamer-plugins-sections.txt:
6196         * docs/pwg/advanced-clock.xml:
6197         * docs/pwg/advanced-scheduling.xml:
6198         * docs/pwg/advanced-types.xml:
6199         * plugins/elements/gstfdsink.c:
6200         * plugins/elements/gstfdsrc.c:
6201         * plugins/elements/gstfdsrc.h:
6202         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6203         * plugins/elements/gstidentity.h:
6204         * plugins/elements/gstqueue.h:
6205         * plugins/elements/gsttee.c:
6206         * plugins/elements/gsttee.h:
6207         * plugins/elements/gsttypefindelement.c:
6208         (gst_type_find_element_class_init):
6209         * plugins/elements/gsttypefindelement.h:
6210         Small updates to various docs.
6211         Added core plugins to docs.
6212
6213 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6214
6215         * common/gst.supp:
6216           add a suppression for liboil's uninitialized variable
6217
6218 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6219
6220         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * gst/gstutils.h:
6223           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6224           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6225           compiler switch is being used (#325429).
6226
6227 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6228
6229         * gst/gstbin.c: (gst_bin_query):
6230           Disable duration query caching in bins until it gets
6231           fixed (see #324807).
6232
6233 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6234
6235         * tools/gst-inspect.c: (print_element_properties_info):
6236           Handle properties of POINTER and BOXED type.
6237
6238 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6239
6240         * gst/gst.c: (init_post):
6241           Init tags stuff and some other things before loading
6242           any static plugins (there may be other static plugins
6243           than just the GStreamer ones, and they may want to
6244           register their own tags or formats or whatever, and
6245           preferably without segfaulting).
6246
6247         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6248           Print at least a warning in the debug logs if we drop a
6249           query just because we don't know how to adjust the value
6250           in the particular format.
6251
6252 2005-12-24  David Schleef  <ds@schleef.org>
6253
6254         * tools/gstreamer-completion:
6255           Replacement for gst-complete written in sh and sed.  Only
6256           completes names of features, but that's 90% of what I want
6257           it for.  Properties are not available in registry.xml.  (Maybe
6258           they should be...)
6259
6260 === release 0.10.1 ===
6261
6262 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6263
6264         * configure.ac:
6265           releasing 0.10.1, "Nollaig chridheil"
6266
6267 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6268
6269         * docs/faq/cvs.xml:
6270           Add missing quote, should be make ERROR_CFLAGS="".
6271
6272 2005-12-20  Wim Taymans  <wim@fluendo.com>
6273
6274         * docs/design/part-trickmodes.txt:
6275         More documentation on trickmodes.
6276
6277 2005-12-20  Edward Hervey  <edward@fluendo.com>
6278
6279         * gst/gstcaps.c: (gst_static_caps_get_type):
6280         * gst/gstcaps.h:
6281           API addition: GST_TYPE_STATIC_CAPS
6282         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6283         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6284         * gst/gstpadtemplate.h:
6285           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6286         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6287         bindings.
6288
6289 2005-12-18  Wim Taymans  <wim@fluendo.com>
6290
6291         * libs/gst/base/gstadapter.c:
6292         * libs/gst/base/gstadapter.h:
6293         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6294         (gst_base_sink_get_position):
6295         * libs/gst/base/gstbasesink.h:
6296         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6297         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6298         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6299         (gst_base_src_send_event), (gst_base_src_update_length),
6300         (gst_base_src_get_range), (gst_base_src_loop),
6301         (gst_base_src_start):
6302         * libs/gst/base/gstbasesrc.h:
6303         * libs/gst/base/gstbasetransform.h:
6304         * libs/gst/base/gstcollectpads.h:
6305         * libs/gst/base/gstpushsrc.c:
6306         * libs/gst/base/gstpushsrc.h:
6307         * libs/gst/dataprotocol/dataprotocol.c:
6308         * libs/gst/dataprotocol/dataprotocol.h:
6309         * libs/gst/net/gstnetclientclock.h:
6310         * libs/gst/net/gstnettimeprovider.h:
6311         Documentation updates.
6312
6313 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6314
6315         * docs/manual/basics-helloworld.xml:
6316           Remove superfluous closing bracket in helloworld example.
6317
6318 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6319
6320         * tools/gst-launch.1.in:
6321           Update gst-launch man page; add a section with useful
6322           environment variables. Fixes #323882.
6323
6324 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6325
6326         * gst/gst.c:
6327         * gst/gst_private.h:
6328           change some char* into char[]
6329
6330 2005-12-16  Wim Taymans  <wim@fluendo.com>
6331
6332         * gst/gstregistryxml.c: (load_feature):
6333         Cleanups.
6334         Don't use g_object_unref on GstObjects so that we avoid
6335         leaks on unsafe glibs.
6336
6337 2005-12-16  Wim Taymans  <wim@fluendo.com>
6338
6339         * gst/gstbin.c: (gst_bin_recalc_state):
6340         Small doc updates.
6341
6342 2005-12-16  Wim Taymans  <wim@fluendo.com>
6343
6344         * common/check.mak:
6345         Added make forever target for check.
6346
6347 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6348
6349         * gst/gst.c: (init_post):
6350           make the registry cache file HOST_CPU-dependent
6351
6352 2005-12-16  Andy Wingo  <wingo@pobox.com>
6353
6354         * plugins/elements/gstbufferstore.c
6355         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6356         return value.
6357
6358         * tests/check/gst/gstobject.c
6359         (test_fake_object_name_threaded_unique): Pay attention to
6360         g_list_sort return value.
6361
6362 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6363
6364         * tools/gst-feedback-m.m:
6365           Update for 0.9/0.10 (fixes #323870).
6366
6367 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6370           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6371           
6372         * tests/check/gst/gstminiobject.c: (my_foo_init),
6373         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6374         (test_value_collection), (gst_mini_object_suite):
6375           Add test to ensure refcounts end up as expected when passing
6376           GstMiniObjects through g_object_get() and g_object_set().
6377
6378 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6379
6380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6381         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6382         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6383         of collectpads. This version removes a lot of races without
6384         touching API/ABI. Yay !
6385
6386 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6387
6388         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6389           Don't allow activation of a srcpad in pull_range if it has no
6390           getrange function.
6391           Change some debug statements to be a little clearer
6392
6393         * plugins/elements/gsttypefindelement.c:
6394         (gst_type_find_handle_src_query):
6395           Check that we have a peer before executing queries thereupon.
6396
6397         * tests/examples/metadata/read-metadata.c: (message_loop):
6398           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6399           immediately return us any available message with 0 timeout.
6400
6401 2005-12-12  Michael Smith  <msmith@fluendo.com>
6402
6403         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6404           Don't unref factories after calling them.
6405         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6406         * plugins/elements/gsttypefindelement.c:
6407         (gst_type_find_element_chain):
6408           Free lists of factories after using them. Fixing typefinding memory
6409           leaks.
6410
6411 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6412
6413         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6414         (gst_plugin_feature_load):
6415           more meaningful debug output
6416         * configure.ac:
6417         * tests/Makefile.am:
6418         * tests/old/examples/Makefile.am:
6419           make make distcheck happy again
6420
6421 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6422
6423         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6424           Catch the special case where we are operating chain-based,
6425           but the downstream peer pad has no chain function. Emit a
6426           custom error message in this case instead of letting the
6427           core generate one implying that this is some sort of core
6428           bug. It's not, it just means that whatever got plugged
6429           into the pipeline downstream when we announced the type
6430           can only operate pull-based, while our source can only
6431           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6432           Error string has not been marked for translation yet, as
6433           it probably needs some more work first.
6434
6435         (gst_type_find_element_get_best_possibility):
6436           Add helper function to find the best of all available
6437           found possibilities that qualify given the min. threshold.
6438
6439         (gst_type_find_element_handle_event):
6440           Fix the case where we get an EOS while still in TYPEFIND
6441           mode (we want to chose the best of all possible types,
6442           not just the first type that happens to be in our unsorted
6443           list of possible types).
6444
6445         (gst_type_find_element_chain):
6446           Make sure we return GST_FLOW_ERROR when we errored out
6447           in stop_typefinding(); also, don't just find the best of
6448           all found type entries and then use the last examined
6449           type entry, but actually use the best entry.
6450
6451 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6452
6453         * tests/examples/typefind/typefind.c: (type_found):
6454         * tests/examples/xml/runxml.c: (xml_loaded):
6455           More gcc4 fixes and a mem leak fix.
6456
6457 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * tests/examples/xml/createxml.c: (object_saved):
6460           gcc 4 fixes
6461
6462 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6463
6464         * tests/Makefile.am:
6465           enable the examples even more
6466
6467 2005-12-12  Andy Wingo  <wingo@pobox.com>
6468
6469         * libs/gst/net/gstnettimeprovider.c
6470         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6471         (gst_net_time_provider_set_property)
6472         (gst_net_time_provider_get_property):
6473         API addition: Export "active" as a GObject property.
6474         (gst_net_time_provider_thread): Only respond to time queries if
6475         the time provider is active.
6476
6477         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6478         NetTimeProvider, preserving binary compat.
6479
6480 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6481
6482         * tests/examples/controller/audio-example.c: (main):
6483         * tests/examples/launch/Makefile.am:
6484           convert comments again
6485
6486 2005-12-12  Wim Taymans  <wim@fluendo.com>
6487
6488         * libs/gst/base/gstpushsrc.c:
6489         Fix typo.
6490
6491 2005-12-12  Wim Taymans  <wim@fluendo.com>
6492
6493         * docs/libs/gstreamer-libs-sections.txt:
6494         Added new symbol to docs.
6495
6496         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6497         (gst_base_src_init), (gst_base_src_set_format),
6498         (gst_base_src_default_query), (gst_base_src_query),
6499         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6500         (gst_base_src_perform_seek), (gst_base_src_send_event),
6501         (gst_base_src_default_event), (gst_base_src_event_handler),
6502         (gst_base_src_set_property), (gst_base_src_get_property),
6503         (gst_base_src_wait), (gst_base_src_do_sync),
6504         (gst_base_src_update_length), (gst_base_src_get_range),
6505         (gst_base_src_check_get_range), (gst_base_src_loop),
6506         (gst_base_src_default_negotiate), (gst_base_src_start),
6507         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6508         (gst_base_src_change_state):
6509         * libs/gst/base/gstbasesrc.h:
6510         Implement seeking to other formats than _BYTES.
6511         Implement more seeking methods correctly.
6512         Doc updates.
6513         Added query vmethod.
6514         Added do_seek vmethod to make life easier for subclasses
6515         when seeking.
6516         API addition: gst_base_src_set_format()
6517
6518 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6519
6520         * tests/examples/Makefile.am:
6521           added that too
6522
6523 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6524
6525         * configure.ac:
6526         * docs/random/ensonic/media-device-daemon.txt:
6527         * tests/examples/controller/.cvsignore:
6528         * tests/examples/controller/Makefile.am:
6529         * tests/examples/controller/audio-example.c: (main):
6530         * tests/examples/helloworld/.cvsignore:
6531         * tests/examples/helloworld/Makefile.am:
6532         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6533         * tests/examples/launch/.cvsignore:
6534         * tests/examples/launch/Makefile.am:
6535         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6536         * tests/examples/metadata/.cvsignore:
6537         * tests/examples/metadata/Makefile.am:
6538         * tests/examples/metadata/read-metadata.c: (message_loop),
6539         (make_pipeline), (print_tag), (main):
6540         * tests/examples/queue/.cvsignore:
6541         * tests/examples/queue/Makefile.am:
6542         * tests/examples/queue/queue.c: (event_loop), (main):
6543         * tests/examples/typefind/.cvsignore:
6544         * tests/examples/typefind/Makefile.am:
6545         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6546         (main):
6547         * tests/examples/xml/.cvsignore:
6548         * tests/examples/xml/Makefile.am:
6549         * tests/examples/xml/createxml.c: (object_saved), (main):
6550         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6551         * tests/old/examples/Makefile.am:
6552         * tests/old/examples/TODO:
6553         * tests/old/examples/controller/.cvsignore:
6554         * tests/old/examples/controller/Makefile.am:
6555         * tests/old/examples/controller/audio-example.c:
6556         * tests/old/examples/helloworld/.cvsignore:
6557         * tests/old/examples/helloworld/Makefile.am:
6558         * tests/old/examples/helloworld/helloworld.c:
6559         * tests/old/examples/launch/.cvsignore:
6560         * tests/old/examples/launch/Makefile.am:
6561         * tests/old/examples/launch/mp3parselaunch.c:
6562         * tests/old/examples/launch/mp3play:
6563         * tests/old/examples/manual/Makefile.am:
6564         * tests/old/examples/metadata/Makefile.am:
6565         * tests/old/examples/metadata/read-metadata.c:
6566         * tests/old/examples/queue/.cvsignore:
6567         * tests/old/examples/queue/Makefile.am:
6568         * tests/old/examples/queue/queue.c:
6569         * tests/old/examples/typefind/.cvsignore:
6570         * tests/old/examples/typefind/Makefile.am:
6571         * tests/old/examples/typefind/typefind.c:
6572         * tests/old/examples/xml/.cvsignore:
6573         * tests/old/examples/xml/Makefile.am:
6574         * tests/old/examples/xml/createxml.c:
6575         * tests/old/examples/xml/runxml.c:
6576           applied some simple fixing to some examples
6577           re-enabled the working examples
6578
6579 2005-12-12  Wim Taymans  <wim@fluendo.com>
6580
6581         * gst/gstsegment.c: (gst_segment_init),
6582         (gst_segment_set_last_stop), (gst_segment_set_seek),
6583         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6584         (gst_segment_to_running_time):
6585         Added more documentation.
6586         Make sure the last_pos value is updated properly.
6587         Make sure to_stream_time and to_running_time don't
6588         operate on wrong values.
6589
6590         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6591         Update check.
6592
6593 2005-12-12  Michael Smith  <msmith@fluendo.com>
6594
6595         * plugins/elements/gsttypefindelement.c: (free_entry),
6596         (gst_type_find_element_chain):
6597           Now that we're not leaking factories, make sure we keep references
6598           to them while we need them.
6599
6600 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6601
6602         * tests/check/gst/struct_i386.h:
6603           ifdef out the XML structs
6604
6605 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6606
6607         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6608           floor is not needed, F is always positive; this obviates the
6609           need for adding -lm when building without libxml
6610
6611 2005-12-12  Wim Taymans  <wim@fluendo.com>
6612
6613         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6614         Take current playback rate into account when reporting
6615         the position.
6616
6617 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * docs/manual/mime-world.fig:
6620           Let's try this again, this time with a file that is
6621           actually in XFig format.
6622
6623 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6624
6625         * docs/manual/mime-world.fig:
6626           Add audioconvert element to diagram so that it
6627           matches the text and the code (fixes #319526).
6628
6629 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6630
6631         * docs/pwg/building-chainfn.xml:
6632         * docs/pwg/building-pads.xml:
6633         * docs/pwg/building-state.xml:
6634         * docs/pwg/other-source.xml:
6635           Update state change stuff for 0.10 (fixes #322969).
6636
6637 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6638
6639         * docs/manual/advanced-dataaccess.xml:
6640         * docs/manual/appendix-checklist.xml:
6641         * docs/manual/appendix-programs.xml:
6642         * docs/manual/basics-pads.xml:
6643         * docs/manual/highlevel-components.xml:
6644         * docs/manual/manual.xml:
6645           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6646           add converters in front of pipelines; remove curly
6647           brackets for threads stuff, they no longer exist; use
6648           GST_TYPE_FRACTION for framerates; update some pieces of
6649           code to 0.10, but there's plenty more to do.
6650
6651         * docs/manual/appendix-porting.xml:
6652           Expand on asynchroneous state changes; s/0.9/0.10/;
6653           mention disappearance of gst_init_get_popt_table()
6654           (fixes #322916).
6655
6656 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6657
6658         * docs/faq/using.xml:
6659           Spider no longer exists, and neither does gst-launch-ext.
6660           Update examples to use decodebin and playbin and put
6661           converters in front of sinks (fixes #323726).
6662
6663 2005-12-09  Michael Smith  <msmith@fluendo.com>
6664
6665         * plugins/elements/gsttypefindelement.c: (find_peek),
6666         (gst_type_find_element_chain):
6667           Fix leaking element factories in typefinding.
6668           Fix problem where we forgot about a probable type on non-seekable
6669           files, and thus later mis-typefound it.
6670
6671 2005-12-09  Michael Smith  <msmith@fluendo.com>
6672
6673         * common/m4/gst-makecontext.m4:
6674         * common/m4/gst-mcsc.m4:
6675         * configure.ac:
6676         * win32/common/config.h:
6677         * win32/common/config.h.in:
6678           Remove makecontext stuff; not used in 0.10 and causes problems on
6679           HPUX according to bug #322441
6680
6681 2005-12-07  Wim Taymans  <wim@fluendo.com>
6682
6683         * tests/check/Makefile.am:
6684         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6685         (main):
6686         * tests/check/libs/struct_i386.h:
6687         Added ABI check for libs
6688
6689 2005-12-07  Wim Taymans  <wim@fluendo.com>
6690
6691         * tests/check/Makefile.am:
6692         And add the struct_i386.h to dist.
6693
6694 2005-12-07  Wim Taymans  <wim@fluendo.com>
6695
6696         * tests/check/Makefile.am:
6697         * tests/check/gst/.cvsignore:
6698         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6699         (main):
6700         * tests/check/gst/struct_i386.h:
6701         Added check for ABI compatibility.
6702
6703 2005-12-07  Wim Taymans  <wim@fluendo.com>
6704
6705         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6706         (gst_fake_src_get_times), (gst_fake_src_create):
6707         Fix broken sync option, fixes #323259
6708
6709 2005-12-07  Wim Taymans  <wim@fluendo.com>
6710
6711         * gst/gstbuffer.c:
6712         Small docs update.
6713
6714         * gst/gstcaps.c: (gst_caps_is_equal):
6715         Don't assert on NULL <--> X. Fixes #323260
6716
6717         * gst/gstminiobject.c: (gst_mini_object_replace):
6718         If we're doing atomic operations, we might just as well use
6719         the proper way to get an atomic pointer.
6720
6721         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6722         Clean up debugging.
6723
6724 2005-12-07  Michael Smith  <msmith@fluendo.com>
6725
6726         * gst/parse/grammar.y:
6727           Remove handling of { } for threads.
6728
6729 2005-12-06  David Schleef  <ds@schleef.org>
6730
6731         * libs/gst/base/gstbasetransform.c: speling fix.
6732
6733 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6734
6735         * docs/libs/tmpl/gstdataprotocol.sgml:
6736         * docs/random/omega/testing/gstobject.c:
6737         * gst/gst.c:
6738         * gst/gstclock.c:
6739         * gst/gstelement.c:
6740         * gst/gstelementfactory.c:
6741         * gst/gsterror.c:
6742         * gst/gstevent.c:
6743         * gst/gstghostpad.c:
6744         * gst/gstinfo.c:
6745         * gst/gstpadtemplate.c:
6746         * gst/gstregistryxml.c:
6747         * gst/gsttaglist.c:
6748         * gst/gsttagsetter.c:
6749         * gst/gsttypefind.c:
6750         * gst/gstvalue.c:
6751         * libs/gst/base/gstbasesrc.c:
6752         * libs/gst/net/gstnetclientclock.c:
6753         * libs/gst/net/gstnettimeprovider.c:
6754         * plugins/elements/gstfakesrc.c:
6755         * plugins/elements/gstfdsrc.c:
6756         * plugins/elements/gstfilesrc.c:
6757         * plugins/elements/gstidentity.c:
6758         * plugins/elements/gstqueue.c:
6759         * plugins/elements/gsttypefindelement.c:
6760         * plugins/indexers/gstfileindex.c:
6761         * plugins/indexers/gstmemindex.c:
6762         * tests/check/gst/gsttag.c:
6763         * tests/old/examples/cutter/cutter.c:
6764         * tests/old/examples/mixer/mixer.c:
6765         * tests/old/examples/xml/runxml.c: (main):
6766         * tests/old/testsuite/caps/normalisation.c:
6767         * tests/old/testsuite/debug/global.c:
6768         * tests/old/testsuite/parse/parse1.c:
6769         * tools/gst-xmlinspect.c:
6770         * win32/common/dirent.c:
6771           expand tabs
6772
6773 === release 0.10.0 ===
6774
6775 2005-12-05   <thomas (at) apestaart (dot) org>
6776
6777         * configure.ac:
6778           releasing 0.10.0, "Maroilles"
6779
6780 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6781
6782         submitted by: Funda Wang <fundawang@linux.net.cn>
6783
6784         * po/LINGUAS:
6785         * po/zh_CN.po:
6786           added Chinese (Traditional) translation
6787
6788 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6789
6790         * docs/gst/gstreamer-sections.txt:
6791         * docs/libs/tmpl/gstdataprotocol.sgml:
6792         * docs/random/thomasvs/TODO:
6793         * gst/gstutils.c:
6794         * gst/gstutils.h:
6795           fix docs
6796
6797 2005-12-05  Andy Wingo  <wingo@pobox.com>
6798
6799         patch by: Wim Taymans <wim@fluendo.com>
6800
6801         * libs/gst/base/gstbasetransform.c
6802         (gst_base_transform_prepare_output_buf)
6803         (gst_base_transform_buffer_alloc):
6804         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6805         alloc_buffer_and_set_caps.
6806
6807         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6808         set_caps on the source pad.
6809         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6810         alloc_buffer used to do. Fixes #322874.
6811
6812         * docs/gst/gstreamer-sections.txt: 
6813         * docs/design/part-negotiation.txt: 
6814         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6815         changes.
6816
6817 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6818
6819         patch by: Sebastien Moutte
6820
6821         * win32/MANIFEST:
6822         * win32/common/config.h.in:
6823         * win32/vs6/libgstcontroller.dsp:
6824           win32 build fixes
6825
6826 2005-12-05  Wim Taymans  <wim@fluendo.com>
6827
6828         * gst/gstcaps.c: (gst_caps_is_equal):
6829         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6830         (gst_fake_src_create):
6831         Back out previous code changes, leave doc updates, file bugs 
6832         instead. 
6833
6834 2005-12-05  Wim Taymans  <wim@fluendo.com>
6835
6836         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6837         (gst_fake_src_get_times), (gst_fake_src_create):
6838         * plugins/elements/gstfakesrc.h:
6839         Fix broken sync code.
6840
6841 2005-12-05  Wim Taymans  <wim@fluendo.com>
6842
6843         * gst/gstcaps.c: (gst_caps_is_equal):
6844         Comparing NULL against !NULL yields different caps, not a
6845         failure.
6846
6847 2005-12-05  Wim Taymans  <wim@fluendo.com>
6848
6849         * gst/gstpipeline.c:
6850         Fix small typo in docs.
6851
6852 2005-12-05  Andy Wingo  <wingo@pobox.com>
6853
6854         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6855
6856         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6857         registries/plugins with a MAJORMINOR one.
6858         (plugin_desc): Rename library from gstcoreleements to
6859         staticelements. Fixes #323222.
6860
6861 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6862
6863         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6864           Change debug category to 'collectpads' from 'collect_pads'
6865           (fixes #323250).
6866
6867 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6868
6869         patch by: Sebastien Moutte
6870
6871         * libs/gst/controller/gstinterpolation.c:
6872           use convert function for uint64/double
6873         * win32/vs6/libgstcontroller.dsp:
6874           link to GLib
6875
6876 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6877
6878         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6879         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6880         * gst/gstutils.h:
6881         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6882           add tests that seem to show that the guint64/gdouble conversions
6883           are correct.
6884
6885 2005-12-02  Wim Taymans  <wim@fluendo.com>
6886
6887         * gst/gstregistry.c: (gst_registry_add_path):
6888         * gst/gstregistry.h:
6889         * gst/gstregistryxml.c:
6890         Fix docs again.
6891
6892 2005-12-02  Wim Taymans  <wim@fluendo.com>
6893
6894         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6895         (gst_util_uint64_scale_int):
6896         Small cleanup.
6897
6898         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6899         Add debug log line.
6900
6901         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6902         Add FIXME.
6903
6904 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6905
6906         * win32/MANIFEST:
6907         * win32/common/config.h:
6908         * win32/vs6/gstreamer.dsw:
6909         * win32/vs6/libgstcoreelements.dsp:
6910         * win32/vs6/libgstelements.dsp:
6911           renamed core elements plugin
6912
6913 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6914
6915         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6916         (get_candidates):
6917           do piece-wise major/minor comparison so 0.9 < 0.10
6918           also allow .exe extensions for tools
6919
6920 2005-12-02  Michael Smith  <msmith@fluendo.com>
6921
6922         * gst/gst.c:
6923           Escape a % to make gtkdoc happier; bug 322958.
6924
6925 === release 0.9.7 ===
6926
6927 2005-12-01   <thomas (at) apestaart (dot) org>
6928
6929         * configure.ac:
6930           releasing 0.9.7, "My Dog Has No Nose"
6931
6932 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6933
6934         * common/gst-xmlinspect.py:
6935         * configure.ac:
6936         * docs/libs/tmpl/gstdataprotocol.sgml:
6937         * docs/random/release:
6938         * po/af.po:
6939         * po/az.po:
6940         * po/bg.po:
6941         * po/ca.po:
6942         * po/cs.po:
6943         * po/de.po:
6944         * po/en_GB.po:
6945         * po/fr.po:
6946         * po/it.po:
6947         * po/nb.po:
6948         * po/nl.po:
6949         * po/ru.po:
6950         * po/sq.po:
6951         * po/sr.po:
6952         * po/sv.po:
6953         * po/tr.po:
6954         * po/uk.po:
6955         * po/vi.po:
6956         * win32/common/config.h:
6957         * win32/common/config.h.in:
6958         * win32/vs6/gst_inspect.dsp:
6959         * win32/vs6/gst_launch.dsp:
6960         * win32/vs6/libgstbase.dsp:
6961         * win32/vs6/libgstelements.dsp:
6962         * win32/vs6/libgstreamer.dsp:
6963         * win32/vs7/GStreamer.vcproj:
6964         * win32/vs7/gst-inspect.vcproj:
6965         * win32/vs7/gst-launch.vcproj:
6966         * win32/vs7/libgstbase.vcproj:
6967           bump GST_MAJORMINOR to 0.10
6968           reset libtool version
6969
6970 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6971
6972         * po/LINGUAS:
6973         * po/bg.po:
6974           Added Bulgarian translation by (Alexander Shopov)
6975
6976 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6977
6978         * tests/check/gst/gstplugin.c:
6979           fix test
6980
6981 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6982
6983         * common/gst-xmlinspect.py:
6984         * common/gtk-doc-plugins.mak:
6985         * configure.ac:
6986         * docs/Makefile.am:
6987         * docs/gst/Makefile.am:
6988         * docs/gst/gstreamer-docs.sgml:
6989         * docs/gst/gstreamer-sections.txt:
6990         * docs/gst/gstreamer.types:
6991         * docs/gst/gstreamer.types.in:
6992         * docs/plugins/Makefile.am:
6993         * docs/plugins/gstreamer-plugins-docs.sgml:
6994         * docs/plugins/gstreamer-plugins-sections.txt:
6995         * docs/plugins/gstreamer-plugins.types:
6996         * docs/plugins/inspect.stamp:
6997         * docs/plugins/inspect/plugin-coreelements.xml:
6998         * docs/plugins/inspect/plugin-coreindexers.xml:
6999         * docs/plugins/scanobj-build.stamp:
7000         * gstreamer.spec.in:
7001         * plugins/elements/Makefile.am:
7002         * plugins/elements/gstelements.c:
7003         * plugins/elements/gstfakesink.c:
7004         * plugins/elements/gstfakesrc.c:
7005         * plugins/elements/gstfilesink.c:
7006         * plugins/elements/gstfilesrc.c:
7007         * plugins/elements/gstqueue.c:
7008         * plugins/indexers/Makefile.am:
7009         * plugins/indexers/gstindexers.c:
7010           document core plugins in a separate document just like all the
7011           others
7012           rename these plugins to something starting with core
7013
7014 2005-12-01  Andy Wingo  <wingo@pobox.com>
7015
7016         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7017         padding here before, but it missed the commit.
7018
7019 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7020
7021         * libs/gst/controller/gstinterpolation.c:
7022           whitespace prices have crashed, we should feel free to use some now
7023           use gst_guint64_to_gdouble
7024
7025 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7026
7027         * libs/gst/controller/gstcontroller.c:
7028         * libs/gst/controller/gsthelper.c:
7029         * libs/gst/controller/gstinterpolation.c:
7030         * libs/gst/controller/lib.c:
7031           wrap config.h include
7032
7033 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7034
7035         * docs/gst/gstreamer-sections.txt:
7036           update docs
7037
7038 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
7039
7040         * plugins/elements/gstelements.c:
7041         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7042         (gst_fd_sink__class_init), (gst_fd_sink__init),
7043         (gst_fd_sink__chain), (gst_fd_sink__set_property),
7044         (gst_fd_sink__get_property):
7045         * plugins/elements/gstfdsink.h:
7046         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7047         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7048         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7049         (gst_fd_src_unlock), (gst_fd_src_set_property),
7050         (gst_fd_src_get_property), (gst_fd_src_create),
7051         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7052         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7053         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7054         (gst_fd_src_uri_handler_init):
7055         * plugins/elements/gstfdsrc.h:
7056         * plugins/elements/gstqueue.c: (gst_queue_get_type):
7057           more anal cleanup
7058
7059 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7060
7061         * docs/gst/Makefile.am:
7062         * docs/gst/gstreamer.types.in:
7063         * gst/Makefile.am:
7064           fix the docs build
7065
7066 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7067
7068         * configure.ac:
7069         * gst/Makefile.am:
7070         * gst/gst.c:
7071         * gst/gstplugin.h:
7072         * gst/gstregistry.h:
7073         * tests/benchmarks/complexity.c:
7074         * tests/benchmarks/mass-elements.c:
7075         * tests/check/Makefile.am:
7076         * tools/Makefile.am:
7077         * tools/gst-inspect.c:
7078         * tools/gst-xmlinspect.c:
7079           various fixes to make
7080           --disable-nls --disable-registry --disable-loadsave
7081           --disable-parse --disable-gst-debug
7082           work and get the core .so down to 360444 bytes after stripping
7083
7084 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7085
7086         * Makefile.am:
7087         * configure.ac:
7088           descend into tests
7089         * docs/random/thomasvs/TODO:
7090         * tests/Makefile.am:
7091         * tests/README:
7092           add a README
7093
7094 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7095
7096         * win32/GStreamer.vcproj:
7097         * win32/MANIFEST:
7098         * win32/Makefile:
7099         * win32/Makefile.inspect:
7100         * win32/Makefile.launch:
7101         * win32/Makefile.register:
7102         * win32/README.txt:
7103         * win32/gst-inspect.vcproj:
7104         * win32/gst-launch.vcproj:
7105         * win32/gst-register.vcproj:
7106         * win32/gstelements.vcproj:
7107         * win32/gstgetbits.def:
7108         * win32/gstgetbits.vcproj:
7109         * win32/gstreamer-dbg.def:
7110         * win32/gstreamer.def:
7111         * win32/libgstbase.def:
7112         * win32/libgstbase.vcproj:
7113         * win32/link_oldruntime.c:
7114         * win32/mman.c:
7115         * win32/mman.h:
7116         * win32/mman.inl:
7117         * win32/msvc71.sln:
7118           move even more stuff, win32/ is nice and clean now
7119
7120 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7121
7122         * libs/gst/control/.cvsignore:
7123         * win32/MANIFEST:
7124         * win32/config.h:
7125         * win32/dirent.c:
7126         * win32/dirent.h:
7127         * win32/gstbytestream.def:
7128         * win32/gstbytestream.vcproj:
7129         * win32/gstconfig.h:
7130         * win32/gstenumtypes.c:
7131         * win32/gstenumtypes.h:
7132         * win32/gstoptimalscheduler.vcproj:
7133         * win32/gstversion.h:
7134         * win32/gtchar.h:
7135         * win32/testsuite/bins.vcproj:
7136         * win32/testsuite/bytestream.vcproj:
7137         * win32/testsuite/caps.vcproj:
7138         * win32/testsuite/cleanup.vcproj:
7139         * win32/testsuite/clock.vcproj:
7140         * win32/testsuite/debug.vcproj:
7141         * win32/testsuite/dlopen.vcproj:
7142         * win32/testsuite/dynparams.vcproj:
7143         * win32/testsuite/elements.vcproj:
7144         * win32/testsuite/ghostpads.vcproj:
7145         * win32/testsuite/indexers.vcproj:
7146         * win32/testsuite/negotiation.vcproj:
7147         * win32/testsuite/parse.vcproj:
7148         * win32/testsuite/plugin.vcproj:
7149         * win32/testsuite/refcounting.vcproj:
7150         * win32/testsuite/schedulers.vcproj:
7151         * win32/testsuite/states.vcproj:
7152         * win32/testsuite/tags.vcproj:
7153         * win32/testsuite/threads.vcproj:
7154           remove old win32 stuff that isn't maintained and should be
7155           reorganized
7156
7157 2005-11-30  Andy Wingo  <wingo@pobox.com>
7158
7159         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7160         loading the gst.interfaces python module bork.
7161
7162         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7163         available since GLib 2.2. Fixes #318031.
7164
7165 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7166
7167         * Makefile.am:
7168         * check/.cvsignore:
7169         * check/Makefile.am:
7170         * check/elements/.cvsignore:
7171         * check/elements/fakesrc.c:
7172         * check/elements/fdsrc.c:
7173         * check/elements/identity.c:
7174         * check/generic/.cvsignore:
7175         * check/generic/states.c:
7176         * check/gst-libs/.cvsignore:
7177         * check/gst-libs/controller.c:
7178         * check/gst-libs/gdp.c:
7179         * check/gst/.cvsignore:
7180         * check/gst/capslist.h:
7181         * check/gst/gst.c:
7182         * check/gst/gstbin.c:
7183         * check/gst/gstbuffer.c:
7184         * check/gst/gstbus.c:
7185         * check/gst/gstcaps.c:
7186         * check/gst/gstelement.c:
7187         * check/gst/gstevent.c:
7188         * check/gst/gstghostpad.c:
7189         * check/gst/gstiterator.c:
7190         * check/gst/gstmessage.c:
7191         * check/gst/gstminiobject.c:
7192         * check/gst/gstobject.c:
7193         * check/gst/gstpad.c:
7194         * check/gst/gstpipeline.c:
7195         * check/gst/gstplugin.c:
7196         * check/gst/gstsegment.c:
7197         * check/gst/gststructure.c:
7198         * check/gst/gstsystemclock.c:
7199         * check/gst/gsttag.c:
7200         * check/gst/gstutils.c:
7201         * check/gst/gstvalue.c:
7202         * check/net/.cvsignore:
7203         * check/net/gstnetclientclock.c:
7204         * check/net/gstnettimeprovider.c:
7205         * check/pipelines/.cvsignore:
7206         * check/pipelines/cleanup.c:
7207         * check/pipelines/simple_launch_lines.c:
7208         * check/pipelines/stress.c:
7209         * check/states/.cvsignore:
7210         * check/states/sinks.c:
7211         * configure.ac:
7212         * examples/Makefile.am:
7213         * examples/appreader/.cvsignore:
7214         * examples/appreader/Makefile.am:
7215         * examples/appreader/appreader.c:
7216         * examples/controller/.cvsignore:
7217         * examples/controller/Makefile.am:
7218         * examples/controller/audio-example.c:
7219         * examples/cutter/.cvsignore:
7220         * examples/cutter/Makefile.am:
7221         * examples/cutter/cutter.c:
7222         * examples/cutter/cutter.h:
7223         * examples/events/Makefile.am:
7224         * examples/events/seek.c:
7225         * examples/helloworld/.cvsignore:
7226         * examples/helloworld/Makefile.am:
7227         * examples/helloworld/helloworld.c:
7228         * examples/helloworld2/.cvsignore:
7229         * examples/helloworld2/Makefile.am:
7230         * examples/helloworld2/helloworld2.c:
7231         * examples/launch/.cvsignore:
7232         * examples/launch/Makefile.am:
7233         * examples/launch/mp3parselaunch.c:
7234         * examples/launch/mp3play:
7235         * examples/manual/.cvsignore:
7236         * examples/manual/Makefile.am:
7237         * examples/manual/extract.pl:
7238         * examples/metadata/Makefile.am:
7239         * examples/metadata/read-metadata.c:
7240         * examples/mixer/.cvsignore:
7241         * examples/mixer/Makefile.am:
7242         * examples/mixer/mixer.c:
7243         * examples/mixer/mixer.h:
7244         * examples/pingpong/.cvsignore:
7245         * examples/pingpong/Makefile.am:
7246         * examples/pingpong/pingpong.c:
7247         * examples/plugins/.cvsignore:
7248         * examples/plugins/Makefile.am:
7249         * examples/plugins/example.c:
7250         * examples/plugins/example.h:
7251         * examples/pwg/.cvsignore:
7252         * examples/pwg/Makefile.am:
7253         * examples/pwg/extract.pl:
7254         * examples/queue/.cvsignore:
7255         * examples/queue/Makefile.am:
7256         * examples/queue/queue.c:
7257         * examples/queue2/.cvsignore:
7258         * examples/queue2/Makefile.am:
7259         * examples/queue2/queue2.c:
7260         * examples/queue3/.cvsignore:
7261         * examples/queue3/Makefile.am:
7262         * examples/queue3/queue3.c:
7263         * examples/queue4/.cvsignore:
7264         * examples/queue4/Makefile.am:
7265         * examples/queue4/queue4.c:
7266         * examples/retag/.cvsignore:
7267         * examples/retag/Makefile.am:
7268         * examples/retag/retag.c:
7269         * examples/retag/transcode.c:
7270         * examples/thread/.cvsignore:
7271         * examples/thread/Makefile.am:
7272         * examples/thread/thread.c:
7273         * examples/typefind/.cvsignore:
7274         * examples/typefind/Makefile.am:
7275         * examples/typefind/typefind.c:
7276         * examples/xml/.cvsignore:
7277         * examples/xml/Makefile.am:
7278         * examples/xml/createxml.c:
7279         * examples/xml/runxml.c:
7280         * tests/Makefile.am:
7281         * tests/check/Makefile.am:
7282         * testsuite/.cvsignore:
7283         * testsuite/Makefile.am:
7284         * testsuite/Rules:
7285         * testsuite/caps/.cvsignore:
7286         * testsuite/caps/Makefile.am:
7287         * testsuite/caps/app_fixate.c:
7288         * testsuite/caps/audioscale.c:
7289         * testsuite/caps/caps.c:
7290         * testsuite/caps/caps.h:
7291         * testsuite/caps/caps_strings:
7292         * testsuite/caps/compatibility.c:
7293         * testsuite/caps/deserialize.c:
7294         * testsuite/caps/enumcaps.c:
7295         * testsuite/caps/eratosthenes.c:
7296         * testsuite/caps/filtercaps.c:
7297         * testsuite/caps/fixed.c:
7298         * testsuite/caps/fraction-convert.c:
7299         * testsuite/caps/fraction-multiply-and-zero.c:
7300         * testsuite/caps/intersect2.c:
7301         * testsuite/caps/intersection.c:
7302         * testsuite/caps/normalisation.c:
7303         * testsuite/caps/random.c:
7304         * testsuite/caps/renegotiate.c:
7305         * testsuite/caps/sets.c:
7306         * testsuite/caps/simplify.c:
7307         * testsuite/caps/string-conversions.c:
7308         * testsuite/caps/structure.c:
7309         * testsuite/caps/subtract.c:
7310         * testsuite/caps/union.c:
7311         * testsuite/debug/.cvsignore:
7312         * testsuite/debug/Makefile.am:
7313         * testsuite/debug/category.c:
7314         * testsuite/debug/commandline.c:
7315         * testsuite/debug/global.c:
7316         * testsuite/debug/output.c:
7317         * testsuite/debug/printf_extension.c:
7318         * testsuite/dlopen/.cvsignore:
7319         * testsuite/dlopen/Makefile.am:
7320         * testsuite/dlopen/dlopen_gst.c:
7321         * testsuite/dlopen/loadgst.c:
7322         * testsuite/elements/.cvsignore:
7323         * testsuite/elements/Makefile.am:
7324         * testsuite/elements/gst-inspect-check.in:
7325         * testsuite/elements/struct_i386.h:
7326         * testsuite/elements/struct_size.c:
7327         * testsuite/indexers/.cvsignore:
7328         * testsuite/indexers/Makefile.am:
7329         * testsuite/indexers/cache1.c:
7330         * testsuite/indexers/indexdump.c:
7331         * testsuite/parse/.cvsignore:
7332         * testsuite/parse/Makefile.am:
7333         * testsuite/parse/parse1.c:
7334         * testsuite/parse/parse2.c:
7335         * testsuite/plugin/.cvsignore:
7336         * testsuite/plugin/Makefile.am:
7337         * testsuite/plugin/README:
7338         * testsuite/plugin/dynamic.c:
7339         * testsuite/plugin/linked.c:
7340         * testsuite/plugin/loading.c:
7341         * testsuite/plugin/registry.c:
7342         * testsuite/plugin/static.c:
7343         * testsuite/plugin/static2.c:
7344         * testsuite/plugin/testplugin.c:
7345         * testsuite/plugin/testplugin2.c:
7346         * testsuite/plugin/testplugin2_s.c:
7347         * testsuite/plugin/testplugin_s.c:
7348         * testsuite/refcounting/.cvsignore:
7349         * testsuite/refcounting/Makefile.am:
7350         * testsuite/refcounting/bin.c:
7351         * testsuite/refcounting/element.c:
7352         * testsuite/refcounting/element_pad.c:
7353         * testsuite/refcounting/mainloop.c:
7354         * testsuite/refcounting/mem.c:
7355         * testsuite/refcounting/mem.h:
7356         * testsuite/refcounting/object.c:
7357         * testsuite/refcounting/pad.c:
7358         * testsuite/refcounting/sched.c:
7359         * testsuite/refcounting/thread.c:
7360         * testsuite/states/.cvsignore:
7361         * testsuite/states/Makefile.am:
7362         * testsuite/states/bin.c:
7363         * testsuite/states/locked.c:
7364         * testsuite/states/parent.c:
7365         * testsuite/threads/.cvsignore:
7366         * testsuite/threads/159566.c:
7367         * testsuite/threads/159852.c:
7368         * testsuite/threads/Makefile.am:
7369         * testsuite/threads/queue.c:
7370         * testsuite/threads/signals.c:
7371         * testsuite/threads/staticrec.c:
7372         * testsuite/threads/thread.c:
7373         * testsuite/threads/threadb.c:
7374         * testsuite/threads/threadc.c:
7375         * testsuite/threads/threadd.c:
7376         * testsuite/threads/threade.c:
7377         * testsuite/threads/threadf.c:
7378         * testsuite/threads/threadg.c:
7379         * testsuite/threads/threadh.c:
7380         * testsuite/threads/threadi.c:
7381           move all of these under tests
7382
7383 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * configure.ac:
7386         * tests/Makefile.am:
7387           fix distcheck
7388
7389 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7390
7391         * docs/gst/gstreamer-sections.txt:
7392         * tests/sched/.cvsignore:
7393         * tests/sched/Makefile.am:
7394         * tests/sched/cases/(fs-fs).xml:
7395         * tests/sched/cases/(fs-i-fs).xml:
7396         * tests/sched/cases/(fs-i-i-fs).xml:
7397         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7398         * tests/sched/dynamic-pipeline.c:
7399         * tests/sched/interrupt1.c:
7400         * tests/sched/interrupt2.c:
7401         * tests/sched/interrupt3.c:
7402         * tests/sched/runtestcases:
7403         * tests/sched/runxml.c:
7404         * tests/sched/sched-stress.c:
7405         * tests/sched/sort.c:
7406         * tests/sched/testcases:
7407         * tests/sched/testcases1.tc:
7408         * tests/seeking/.cvsignore:
7409         * tests/seeking/Makefile.am:
7410         * tests/seeking/seeking1.c:
7411         * tests/threadstate/.cvsignore:
7412         * tests/threadstate/Makefile.am:
7413         * tests/threadstate/test1.c:
7414         * tests/threadstate/test2.c:
7415         * tests/threadstate/threadstate1.c:
7416         * tests/threadstate/threadstate2.c:
7417         * tests/threadstate/threadstate3.c:
7418         * tests/threadstate/threadstate4.c:
7419         * tests/threadstate/threadstate5.c:
7420           remove obsolete tests
7421         * configure.ac:
7422         * tests/bench-complexity.scm:
7423         * tests/bench-mass_elements.scm:
7424         * tests/complexity.c:
7425         * tests/complexity.gnuplot:
7426         * tests/instantiate/.cvsignore:
7427         * tests/instantiate/Makefile.am:
7428         * tests/instantiate/caps.c:
7429         * tests/mass_elements.c:
7430         * tests/network-clock-utils.scm:
7431         * tests/network-clock.scm:
7432         * tests/plot-data:
7433         First pass at cleaning up tests/ dir before moving the rest
7434         Combined with CVS surgery
7435
7436 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7437
7438         * po/POTFILES.in:
7439           queue has moved, update
7440
7441 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7442
7443         * docs/gst/gstreamer-sections.txt:
7444           remove double entries from the docs
7445         * gst/gst_private.h:
7446         * gst/gstinfo.c: (_gst_debug_init):
7447           remove the THREAD debug category
7448         * gst/Makefile.am:
7449         * gst/gstqueue.c:
7450         * gst/gstqueue.h:
7451         * docs/gst/gstreamer.types:
7452         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7453         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7454           completely move queue and fix up debugging categories
7455
7456 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7457
7458         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7459           make initialization portable, using LL is not
7460
7461 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7462
7463         * win32/common/gstconfig.h:
7464           add large padding
7465
7466 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7467
7468         * win32/common/libgstreamer.def:
7469           rename symbols; sort base section
7470
7471 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7472
7473         * gst/gstclock.c: (do_linear_regression):
7474           remove crack non-portable handrolled DEBUG macro
7475
7476 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7477
7478         * docs/random/release:
7479           update notes
7480         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7481         (gst_object_flags_get_type), (register_gst_bin_flags),
7482         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7483         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7484         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7485         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7486         (gst_caps_flags_get_type), (register_gst_clock_return),
7487         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7488         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7489         (gst_clock_flags_get_type), (register_gst_state),
7490         (gst_state_get_type), (register_gst_state_change_return),
7491         (gst_state_change_return_get_type), (register_gst_state_change),
7492         (gst_state_change_get_type), (register_gst_element_flags),
7493         (gst_element_flags_get_type), (register_gst_core_error),
7494         (gst_core_error_get_type), (register_gst_library_error),
7495         (gst_library_error_get_type), (register_gst_resource_error),
7496         (gst_resource_error_get_type), (register_gst_stream_error),
7497         (gst_stream_error_get_type), (register_gst_event_type_flags),
7498         (gst_event_type_flags_get_type), (register_gst_event_type),
7499         (gst_event_type_get_type), (register_gst_seek_type),
7500         (gst_seek_type_get_type), (register_gst_seek_flags),
7501         (gst_seek_flags_get_type), (register_gst_format),
7502         (gst_format_get_type), (register_gst_index_certainty),
7503         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7504         (gst_index_entry_type_get_type),
7505         (register_gst_index_lookup_method),
7506         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7507         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7508         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7509         (gst_index_flags_get_type), (register_gst_debug_level),
7510         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7511         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7512         (gst_iterator_result_get_type), (register_gst_iterator_item),
7513         (gst_iterator_item_get_type), (register_gst_message_type),
7514         (gst_message_type_get_type), (register_gst_mini_object_flags),
7515         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7516         (gst_pad_link_return_get_type), (register_gst_flow_return),
7517         (gst_flow_return_get_type), (register_gst_activate_mode),
7518         (gst_activate_mode_get_type), (register_gst_pad_direction),
7519         (gst_pad_direction_get_type), (register_gst_pad_flags),
7520         (gst_pad_flags_get_type), (register_gst_pad_presence),
7521         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7522         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7523         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7524         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7525         (gst_plugin_flags_get_type), (register_gst_rank),
7526         (gst_rank_get_type), (register_gst_query_type),
7527         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7528         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7529         (gst_tag_flag_get_type), (register_gst_task_state),
7530         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7531         (gst_alloc_trace_flags_get_type),
7532         (register_gst_type_find_probability),
7533         (gst_type_find_probability_get_type), (register_gst_uri_type),
7534         (gst_uri_type_get_type), (register_gst_parse_error),
7535         (gst_parse_error_get_type):
7536         * win32/common/gstenumtypes.h:
7537         * win32/common/gstversion.h:
7538           update visual studio generated files
7539
7540 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7541
7542         * win32/vs6/libgstbase.dsp:
7543         * win32/vs6/libgstelements.dsp:
7544           update project files for new locations
7545
7546 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7547
7548         * Makefile.am:
7549           remove some files
7550         * README:
7551           reinstate and update
7552         * DEVEL:
7553         * REQUIREMENTS:
7554           removed
7555         * LICENSE:
7556         * docs/random/LICENSE:
7557           moved to random
7558
7559 2005-11-30  Edward Hervey  <edward@fluendo.com>
7560
7561         * gst/gsttypefind.c: (gst_type_find_register):
7562         * gst/gsttypefind.h:
7563         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7564         (gst_type_find_factory_dispose):
7565         * gst/gsttypefindfactory.h:
7566         Fix memory leak in GstTypeFindFactory.
7567
7568 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7569
7570         * gst/gst.c:
7571         * plugins/elements/Makefile.am:
7572         * plugins/elements/gstelements.c:
7573         * plugins/elements/gstqueue.c:
7574           move queue from core to the elements plugin
7575
7576 2005-11-29  Andy Wingo  <wingo@pobox.com>
7577
7578         * libs/gst/base/gstbasetransform.h: 
7579         * libs/gst/base/gstbasesrc.h: 
7580         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7581
7582         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7583         of pointers by which to pad very extensible base classes (like the
7584         ones in libs/gst/base).
7585
7586 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7587
7588         * docs/gst/gstreamer-docs.sgml:
7589         * docs/gst/gstreamer-sections.txt:
7590         * docs/libs/gstreamer-libs-docs.sgml:
7591         * docs/libs/gstreamer-libs-sections.txt:
7592           moving documentation from core to lib
7593
7594 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7595
7596         * check/Makefile.am:
7597         * configure.ac:
7598         * docs/gst/Makefile.am:
7599         * gst/Makefile.am:
7600         * gst/base/.cvsignore:
7601         * gst/base/Makefile.am:
7602         * gst/base/README:
7603         * gst/base/gstadapter.c:
7604         * gst/base/gstadapter.h:
7605         * gst/base/gstbasesink.c:
7606         * gst/base/gstbasesink.h:
7607         * gst/base/gstbasesrc.c:
7608         * gst/base/gstbasesrc.h:
7609         * gst/base/gstbasetransform.c:
7610         * gst/base/gstbasetransform.h:
7611         * gst/base/gstcollectpads.c:
7612         * gst/base/gstcollectpads.h:
7613         * gst/base/gstpushsrc.c:
7614         * gst/base/gstpushsrc.h:
7615         * gst/base/gsttypefindhelper.c:
7616         * gst/base/gsttypefindhelper.h:
7617         * gst/check/Makefile.am:
7618         * gst/check/gstcheck.c:
7619         * gst/check/gstcheck.h:
7620         * gst/net/Makefile.am:
7621         * gst/net/gstnet.h:
7622         * gst/net/gstnetclientclock.c:
7623         * gst/net/gstnetclientclock.h:
7624         * gst/net/gstnettimepacket.c:
7625         * gst/net/gstnettimepacket.h:
7626         * gst/net/gstnettimeprovider.c:
7627         * gst/net/gstnettimeprovider.h:
7628         * libs/gst/Makefile.am:
7629         * libs/gst/base/Makefile.am:
7630         * libs/gst/base/gstbasetransform.c:
7631         * libs/gst/check/Makefile.am:
7632         * plugins/elements/Makefile.am:
7633         * po/POTFILES.in:
7634           CVS surgery + support to move base, check, and net out of gst
7635           and into libs/gst
7636
7637 2005-11-29  Andy Wingo  <wingo@pobox.com>
7638
7639         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7640
7641         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7642         padding.
7643
7644         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7645
7646         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7647
7648         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7649
7650         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7651         padding; reduces object size by about 30%. We don't expect
7652         anything else to go into gstobject.
7653
7654         * gst/gstminiobject.h (struct _GstMiniObject)
7655         (struct _GstMiniObjectClass): Only one pointer of padding; the
7656         payload is only a pointer and two ints anyway. For the class there
7657         are only two methods as well.
7658         
7659         * gst/gstelement.h (struct _GstElementClass): Removed
7660         the state_changed signal callback, it is not used.
7661
7662 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7663
7664         * docs/gst/gstreamer.types:
7665           fix includes, though they are a little dinky
7666
7667 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7668
7669         * check/Makefile.am:
7670           look in the right place for elements, a lot more chance of
7671           success
7672         * gst/Makefile.am:
7673           remove indexers and elements subdirs
7674         * plugins/Makefile.am:
7675           make indexers conditional
7676
7677 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7678
7679         * Makefile.am:
7680         * configure.ac:
7681         * plugins/elements/Makefile.am:
7682         * plugins/elements/gstcapsfilter.c:
7683         * plugins/elements/gstfilesink.c:
7684         * plugins/elements/gstfilesrc.c:
7685         * plugins/elements/gstidentity.c:
7686         * plugins/indexers/Makefile.am:
7687           do CVS surgery and related build fixery to move elements
7688           and indexers in a new gstreamer/plugins directory, out of the
7689           gst/ directory
7690
7691 2005-11-29  Andy Wingo  <wingo@pobox.com>
7692
7693         * check/Makefile.am:
7694         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7695         * pkgconfig/gstreamer-net.pc.in:
7696         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7697         #322257.
7698
7699 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7700
7701         * tools/Makefile.am:
7702         * tools/gst-complete.1.in:
7703         * tools/gst-complete.c:
7704         * tools/gst-compprep.1.in:
7705         * tools/gst-compprep.c:
7706           removing -compprep and -complete
7707
7708 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7709
7710         * gst/gstevent.c: (gst_event_new_new_segment),
7711         (gst_event_parse_new_segment):
7712         * gst/gstevent.h:
7713           fix #320529 - clean up new_segment API and structure.
7714           Let's hope everyone was using the methods, and not the structure.
7715
7716 2005-11-29  Edward Hervey  <edward@fluendo.com>
7717
7718         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7719         (gst_base_sink_event), (gst_base_sink_do_sync),
7720         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7721         Properly handle non GST_FORMAT_TIME segment
7722         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7723         Properly handle non GST_FORMAT_TIME segment
7724         * gst/gstsegment.c:
7725         This function is valid if the accumulator is 0 and the format
7726         is different from the requested format.
7727         
7728 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7729
7730         * docs/gst/gstreamer-sections.txt:
7731         Add gst_query_new_seeking and gst_query_parse_seeking to the
7732         docs.
7733
7734 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7735
7736         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7737           Treat a pad alloc with new caps the same as if we were not
7738           negotiated, in order to allow a changing upstream output
7739           to produce a new format of data.
7740
7741 2005-11-29  Edward Hervey  <edward@fluendo.com>
7742
7743         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7744         (gst_base_transform_event), (gst_base_transform_eventfunc):
7745         The event virtual method is now properly implemented, with a default
7746         handler
7747         Sub classes should call the parent_class event method. They should
7748         return FALSE if they had a problem handling the given event, or don't
7749         want GstBaseTransform to send that even downstream
7750         * gst/elements/gstidentity.c: (gst_identity_class_init),
7751         (gst_identity_init), (gst_identity_event),
7752         (gst_identity_transform_ip), (gst_identity_set_property),
7753         (gst_identity_get_property):
7754         * gst/elements/gstidentity.h:
7755         Added the single-segment boolean property.
7756         If set to TRUE, it will output a single segment of data, starting from
7757         0, will eat up all incoming newsegment, and modify the timestamp of the
7758         buffers accordingly
7759
7760 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7761
7762         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7763           Don't ref NULL target pad (#322751). Improve docs.
7764
7765 2005-11-29  Michael Smith  <msmith@fluendo.com>
7766
7767         * gst/gstregistryxml.c: (load_plugin):
7768           Don't crash if we failed to load a feature from a plugin. 
7769
7770 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7771
7772         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7773         (GST_START_TEST):
7774           use more check API and less GLib API
7775
7776 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7777
7778         * Makefile.am:
7779           don't run checks if we don't have check
7780         * common/check.mak:
7781           remove the registry when running make torture
7782         * docs/gst/gstreamer-sections.txt:
7783           remove second multiply
7784         * gst/gstqueue.c: (gst_queue_loop):
7785           fix a compile warning when disabling debug
7786
7787 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7788
7789         * gst/gstinfo.h:
7790         Hey! Let's print the pad name if the pointer != NULL instead
7791         of when it == NULL :-)
7792
7793 2005-11-28  Wim Taymans  <wim@fluendo.com>
7794
7795         * check/gst/gstutils.c: (GST_START_TEST):
7796         Updated check, add some scaling accuracy checking code.
7797
7798         * gst/gstutils.c: (gst_util_div128_64),
7799         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7800         (gst_util_uint64_scale_int):
7801         Fix 6 times faster division code. Optimize for common 
7802         1/1 and less common X/1 cases.
7803
7804 2005-11-28  Wim Taymans  <wim@fluendo.com>
7805
7806         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7807         More checks.
7808
7809         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7810         (do_linear_regression), (gst_clock_add_observation):
7811         Cleanups.
7812         Release lock when the clock cannot be slaved.
7813         Catch the case where the regression returned an invalid denominator.
7814
7815         * gst/gstutils.c: (gst_util_div128_64_iterate),
7816         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7817         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7818         Add protentially more performant non-iterative 128/64 divide function
7819         that unfortunatly does not work yet.
7820         Shortcut the trivial 0/X = 0 case.
7821         Remove the warnings on overflow.
7822
7823 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7824
7825         * gst/gstplugin.c: (gst_plugin_register_func):
7826           everything causing a plugin not to load should be at least a WARNING
7827
7828 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7829
7830         * docs/random/ensonic/dparams.txt:
7831           some TODOs for the next dev cycle
7832         * libs/gst/controller/gstcontroller.c:
7833         (gst_controlled_property_set_interpolation_mode),
7834         (gst_controlled_property_new):
7835         * libs/gst/controller/gstcontroller.h:
7836           use base type to assign acccessor functions
7837
7838 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7839
7840         * check/Makefile.am:
7841         Oops, that should have been top_srcdir
7842
7843 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7844
7845         * check/Makefile.am:
7846         * check/elements/fdsrc.c: (GST_START_TEST):
7847         Use a cmdline define to specify the location of a file to use for
7848         testing, to avoid breaking distcheck.
7849
7850 2005-11-28  Andy Wingo  <wingo@pobox.com>
7851
7852         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7853
7854 2005-11-28  Edward Hervey  <edward@fluendo.com>
7855
7856         * tools/gst-launch.c: (main):
7857         Clarify the output strings, makes it easier to translate.
7858         Fixes #322626
7859
7860 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7861
7862         * gst/Makefile.am:
7863           don't try and build net if we don't even have <sys/socket.h>
7864
7865 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7866
7867         * check/Makefile.am:
7868         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7869         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7870           Add tests for fdsrc seekability
7871
7872         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7873         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7874         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7875         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7876         * gst/elements/gstfdsrc.h:
7877           fdsrc should not be a 'live' source.
7878           Implement seeking on seekable fd's.
7879
7880         * gst/gstquery.c: (gst_query_new_seeking),
7881         (gst_query_parse_seeking):
7882         * gst/gstquery.h:
7883           Implement SEEKING query functions: 
7884             *_new_seeking and *_parse_seeking
7885
7886 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7887
7888         * gst/gstelement.c: (gst_element_dispose):
7889           don't loop forever
7890
7891         * gst/gstiterator.c:
7892         * gst/gststructure.c:
7893           doc fixes
7894
7895         * libs/gst/controller/gstcontroller.c:
7896         (gst_controlled_property_set_interpolation_mode):
7897         * libs/gst/controller/gstcontroller.h:
7898         * libs/gst/controller/gstinterpolation.c:
7899         (interpolate_none_get_enum_value_array):
7900           support controlling enums
7901
7902 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7903
7904         * gst/gstvalue.c:
7905           Improve documentation for gst_value_union().
7906
7907         * gst/gstvalue.h:
7908           Change return value for union, intersect and subtract functions
7909           from gint to gboolean.
7910
7911 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7912
7913         * gst/gstvalue.c: (gst_value_serialize_any_list),
7914         (gst_value_transform_any_list_string),
7915         (gst_value_deserialize_list), (gst_value_deserialize_array),
7916         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7917         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7918         (gst_value_set_fraction_range_full),
7919         (gst_value_deserialize_fraction_range),
7920         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7921         (gst_value_deserialize_boolean),
7922         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7923         (gst_value_serialize_float), (gst_value_deserialize_float),
7924         (gst_string_wrap), (gst_value_deserialize_string),
7925         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7926         (gst_value_union_int_range_int_range),
7927         (gst_value_intersect_int_range_int_range),
7928         (gst_value_intersect_double_range_double_range),
7929         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7930         (gst_value_subtract_int_range_int_range),
7931         (gst_value_subtract_double_double_range),
7932         (gst_value_subtract_double_range_double_range),
7933         (gst_value_deserialize_fraction):
7934         * gst/gstvalue.h:
7935           Use gint, gdouble and gchar in our API instead of int, double and
7936           char (and make usage in gstvalue.c more consistent).
7937
7938 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7939
7940         * check/Makefile.am:
7941         * libs/gst/controller/Makefile.am:
7942         * libs/gst/dataprotocol/Makefile.am:
7943           fix up Makefile.am and remove GST_ENABLE_NEW
7944
7945 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7946
7947         * configure.ac:
7948         * gst/Makefile.am:
7949         * gst/base/Makefile.am:
7950         * gst/check/Makefile.am:
7951         * gst/elements/Makefile.am:
7952         * gst/net/Makefile.am:
7953           update LDFLAGS use some more
7954
7955 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7956
7957         * common/m4/gst-doc.m4:
7958           Fixes #312589
7959
7960 2005-11-26  Edward Hervey  <edward@fluendo.com>
7961
7962         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7963         This shouldn't issue a g_warning since it returns NULL if it
7964         couldn't find the plugin, and all functions using this behave
7965         properly on a NULL return. Switching to a GST_WARNING.
7966
7967 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7968
7969         * gst/gstbin.c: (gst_bin_handle_message_func):
7970         Don't leak clock messages.
7971
7972 2005-11-25  Wim Taymans  <wim@fluendo.com>
7973
7974         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7975         (gst_util_uint64_scale_int):
7976         Optimisations, remove unneeded vars.
7977
7978 2005-11-25  Wim Taymans  <wim@fluendo.com>
7979
7980         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7981         Added more checks for the high precision uint64 cases.
7982
7983         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7984         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7985         Implement high precision (guint64 * guint64) / guint64.
7986
7987 2005-11-24  Wim Taymans  <wim@fluendo.com>
7988
7989         * gst/base/gstbasesrc.c: (gst_base_src_query):
7990         Fix wrong percentage query.
7991
7992         * gst/gstutils.c: (gst_util_uint64_scale),
7993         (gst_util_uint64_scale_int):
7994         Add some more common cases that can be handled 
7995         efficiently to _scale.
7996
7997 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7998
7999         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8000         (gst_mini_object_suite):
8001           don't use check calls from threads; check probably isn't
8002           threadsafe and using a lock to make it threadsafe would
8003           defeat the purpose of this check
8004         * gst/check/gstcheck.c:
8005         * gst/check/gstcheck.h:
8006           use GST_DEBUG some more
8007
8008 2005-11-24  Wim Taymans  <wim@fluendo.com>
8009
8010         * gst/gstutils.c: (gst_util_uint64_scale),
8011         (gst_util_uint64_scale_int):
8012         Chain trivial case to _scale_int.
8013
8014 2005-11-24  Wim Taymans  <wim@fluendo.com>
8015
8016         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8017         Added test for scaling.
8018
8019         * gst/gstclock.h:
8020         Small doc fix.
8021
8022         * gst/gstutils.c: (gst_util_uint64_scale_int):
8023         Implemented high precision scaling code.
8024
8025 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
8026
8027         * gst/gstinfo.h:
8028           do not crash on pad==NULL
8029
8030 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8031
8032         Patch by: Stefan Kost
8033
8034         * common/gtk-doc.mak:
8035         * docs/gst/Makefile.am:
8036         * docs/libs/Makefile.am:
8037           Fix distcheck issues for the libraries docs build
8038           Closes #319599.
8039
8040 2005-11-24  Michael Smith <msmith@fluendo.com>
8041
8042         * docs/manual/basics-helloworld.xml:
8043           Fix bug #315027: memory leak in example code in docs.
8044
8045 2005-11-24  Michael Smith <msmith@fluendo.com>
8046
8047         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8048           Unlock the PREROLL_LOCK in a failure case.
8049
8050 2005-11-24  Wim Taymans  <wim@fluendo.com>
8051
8052         * docs/gst/gstreamer-sections.txt:
8053         * gst/base/gstadapter.h:
8054         * gst/base/gstbasesink.h:
8055         * gst/base/gstbasesrc.h:
8056         * gst/base/gstbasetransform.h:
8057         * gst/base/gstpushsrc.h:
8058         * gst/elements/gstfakesink.h:
8059         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8060         * gst/elements/gstfakesrc.h:
8061         * gst/elements/gstfilesink.h:
8062         * gst/elements/gstfilesrc.h:
8063         * gst/gst.c:
8064         * gst/gstbin.c:
8065         * gst/gstbuffer.c: (_gst_buffer_copy):
8066         * gst/gstbus.h:
8067         * gst/gstcaps.c:
8068         * gst/gstchildproxy.c:
8069         * gst/gstclock.c:
8070         * gst/gstelement.c:
8071         * gst/gstelementfactory.c:
8072         * gst/gstelementfactory.h:
8073         * gst/gstevent.c:
8074         * gst/gstghostpad.h:
8075         * gst/gstindex.h:
8076         * gst/gstinterface.h:
8077         * gst/gstminiobject.c:
8078         * gst/gstminiobject.h:
8079         * gst/gstpad.c:
8080         * gst/gstpad.h:
8081         * gst/gstpadtemplate.h:
8082         * gst/gstpipeline.h:
8083         * gst/gstpluginfeature.h:
8084         * gst/gstquery.h:
8085         * gst/gstqueue.h:
8086         * gst/gsttaglist.c:
8087         * gst/gsttaglist.h:
8088         * gst/gsttagsetter.c:
8089         * gst/gsttagsetter.h:
8090         * gst/gsttrace.c:
8091         * gst/gsttrace.h:
8092         * gst/gsttypefind.h:
8093         * gst/gsturi.h:
8094         * gst/gstvalue.c:
8095         * gst/net/gstnetclientclock.c:
8096         * gst/net/gstnetclientclock.h:
8097         * gst/net/gstnettimepacket.c:
8098         * gst/net/gstnettimeprovider.c:
8099         * gst/net/gstnettimeprovider.h:
8100         Doc fixes.
8101
8102 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8103
8104         * configure.ac: back to HEAD
8105
8106 === release 0.9.6 ===
8107
8108 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8109
8110         * configure.ac:
8111           releasing 0.9.6, "Always On Time"
8112
8113 2005-11-23  Wim Taymans  <wim@fluendo.com>
8114
8115         * docs/gst/gstreamer-sections.txt:
8116         * gst/glib-compat.c:
8117         * gst/gsttagsetter.c:
8118         * gst/gstvalue.c:
8119         * gst/net/gstnetclientclock.c:
8120         * gst/net/gstnettimepacket.h:
8121         Doc updates.
8122
8123 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8124
8125         * docs/faq/using.xml:
8126         * docs/libs/tmpl/gstcontrol.sgml:
8127         * docs/manual/advanced-dparams.xml:
8128         * docs/manual/appendix-checklist.xml:
8129         * docs/manual/basics-elements.xml:
8130         * docs/pwg/other-source.xml:
8131         * docs/random/moving-plugins:
8132         * gst/gstpad.c:
8133         * tools/gst-launch.1.in:
8134           remove mentions of sinesrc
8135
8136 2005-11-23  Michael Smith <msmith@fluendo.com>
8137
8138         * docs/gst/gstreamer-sections.txt:
8139           Update for new API and API changes.
8140         * gst/gstobject.h:
8141           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8142         * gst/gstvalue.c:
8143           Documentation typo fix.
8144         * gst/net/gstnettimepacket.c:
8145           Documentation fixes for arguments.
8146
8147 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8148
8149         * gst/gststructure.c: (gst_structure_get_fraction),
8150         (gst_structure_parse_value),
8151         (gst_structure_fixate_field_nearest_fraction):
8152         * gst/gststructure.h:
8153         * gst/gstutils.c: (gst_util_uint64_scale_int):
8154         * gst/gstutils.h:
8155         * scripts/update-funcnames:
8156         API Changes. 
8157         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8158         Make gst_structure_fixate_field_nearest_fraction take a numerator
8159         and denominator argument instead of a GValue
8160         add gst_structure_get_fraction helper function.
8161
8162 2005-11-23  Wim Taymans  <wim@fluendo.com>
8163
8164         * docs/design/part-TODO.txt:
8165         Update TODO.
8166
8167         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8168         * gst/net/gstnetclientclock.h:
8169         Use parent fields for timeout and window_size.
8170
8171 2005-11-23  Andy Wingo  <wingo@pobox.com>
8172
8173         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8174         rate_num/rate_denom change.
8175
8176         * gst/net/gstnetclientclock.c
8177         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8178         OBJECT_LOCK. Don't call add_observation with the lock.
8179
8180         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8181         fraction.
8182         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8183         rate fraction.
8184         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8185         deal with rate as a fraction whose numerator and denominator are
8186         GstClockTime values.
8187         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8188         master; the other fields are protected by the SLAVE_LOCK.
8189         (do_linear_regression): Note that this must be called with the
8190         SLAVE_LOCK.
8191         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8192         OBJECT_LOCK. Call set_calibration instead of touching the
8193         variables directly.
8194         (gst_clock_set_property, gst_clock_get_property): Protect
8195         master/slave parameters with the SLAVE_LOCK.
8196
8197         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8198         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8199         note that all of the instance variables that add_observation and
8200         the set_master functions use are protected by that lock and not
8201         the OBJECT_LOCK.
8202         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8203
8204         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8205         the caller to take the object lock.
8206
8207 2005-11-23  Wim Taymans  <wim@fluendo.com>
8208
8209         * gst/gsterror.c: (_gst_core_errors_init):
8210         * gst/gsterror.h:
8211         Add error for clock stuff.
8212
8213         * gst/gstpipeline.c: (gst_pipeline_change_state),
8214         (gst_pipeline_set_clock):
8215         Post clock error when clock cannot be used in a pipeline.
8216
8217 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8218
8219         * docs/gst/gstreamer-sections.txt:
8220           make two symbols from gstinfo private for the docs
8221         * gst/base/gstcollectpads.h:
8222         * gst/gstutils.c:
8223           fix doc typos, update docs
8224
8225 2005-11-22  Wim Taymans  <wim@fluendo.com>
8226
8227         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8228         (gst_base_sink_wait), (gst_base_sink_do_sync),
8229         (gst_base_sink_handle_event):
8230         * gst/base/gstbasesink.h:
8231         No need to store the clock, the parent element class already
8232         has it.
8233
8234         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8235         Updates for clock_set returning a gboolean
8236
8237         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8238         (gst_clock_id_wait_async), (gst_clock_class_init),
8239         (gst_clock_init), (gst_clock_finalize),
8240         (gst_clock_get_internal_time), (gst_clock_get_time),
8241         (gst_clock_slave_callback), (gst_clock_set_master),
8242         (gst_clock_get_master), (do_linear_regression),
8243         (gst_clock_add_observation), (gst_clock_set_property),
8244         (gst_clock_get_property):
8245         * gst/gstclock.h:
8246         Implement master/slave. When setting a clock as a slave, a
8247         periodic timeout is scheduled to sample master and slave times.
8248         Then the slave clock is recalibrated to match offset and rate
8249         of the master clock.
8250         Update logging a bit.
8251         Add flag so that a clock can state that is cannot be slaved to
8252         another clock.
8253
8254         * gst/gstelement.c: (gst_element_set_clock):
8255         * gst/gstelement.h:
8256         The set clock returns a gboolean for when an element cannot
8257         deal with the selected clock in the pipeline. 
8258
8259         * gst/gstpipeline.c: (gst_pipeline_change_state),
8260         (gst_pipeline_set_clock):
8261         * gst/gstpipeline.h:
8262         Handle the case where the selected clock cannot be set on
8263         the pipeline.
8264
8265         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8266         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8267         (gst_net_client_clock_set_property),
8268         (gst_net_client_clock_get_property),
8269         (gst_net_client_clock_observe_times):
8270         * gst/net/gstnetclientclock.h:
8271         Use regression code in GstClock parent, remove duplicated
8272         functionality.
8273
8274 2005-11-22  Michael Smith <msmith@fluendo.com>
8275
8276         * gst/gstutils.c: (gst_util_clock_time_scale):
8277         * gst/gstutils.h:
8278         * docs/gst/gstreamer-sections.txt:
8279           Rename method to have extra underscore.
8280
8281 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8282
8283         * gst/elements/Makefile.am:
8284         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8285         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8286         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8287         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8288         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8289         * gst/elements/gstfakesrc.h:
8290         * gst/gstqueue.c: (queue_leaky_get_type):
8291           correctly fix GEnumValues so that nick is the short lowercase
8292           dashed tag
8293         * tools/gst-inspect.c: (print_element_properties_info):
8294           also show the nick, since it's useful to use from parse_launch
8295           syntax
8296           Fixes #322139
8297
8298 2005-11-22  Michael Smith <msmith@fluendo.com>
8299
8300         * gst/gstutils.c: (gst_util_clocktime_scale):
8301         * gst/gstutils.h:
8302         * docs/gst/gstreamer-sections.txt:
8303           Add util method for scaling a clocktime by a fraction. Useful 
8304           implementation is left as an exercise for the reader.
8305
8306 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8307
8308         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8309         If needed, allocate storage in the destination value during
8310         collection.
8311
8312 2005-11-22  Edward Hervey  <edward@fluendo.com>
8313
8314         * docs/gst/gstreamer-sections.txt:
8315         * gst/Makefile.am:
8316         * gst/gst.h:
8317         * gst/gsturitype.c:
8318         * gst/gsturitype.h:
8319         * gst/gstutils.c: (gst_util_set_object_arg):
8320         * tools/gst-compprep.c: (main):
8321         * tools/gst-inspect.c: (print_element_properties_info):
8322         Removed GstURI, closes bug #321061
8323
8324 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8325
8326         * check/gst/gststructure.c: (GST_START_TEST):
8327         * gst/gststructure.c: (gst_structure_parse_value):
8328           Oops, broke automatic string type parsing.
8329           Add a test to catch it in future.
8330
8331 2005-11-22  Andy Wingo  <wingo@pobox.com>
8332
8333         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8334         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8335         Actually rename the function implementations. Grr.
8336
8337 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8338
8339         * check/gst/capslist.h:
8340           Comment test cases
8341         * check/gst/gststructure.c: (GST_START_TEST),
8342         (gst_structure_suite):
8343           Test automatic value type detection in gst_structure_from_string.
8344         * gst/gststructure.c: (gst_structure_parse_value):
8345           Add fraction as a type we try and guess automatically in
8346           caps/structure strings.
8347
8348 2005-11-22  Andy Wingo  <wingo@pobox.com>
8349
8350         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8351
8352         * gst/gsttagsetter.h:
8353         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8354         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8355         (gst_tag_setter_add_tag_valist)
8356         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8357         _add_values, _add_valist, and _add_valist_values. Since this is an
8358         interface the function suffixes should be more explicit so
8359         language binding don't end up with element.add_valist ->
8360         gst_tag_setter_add_valist, for example. Fixes #322069.
8361
8362 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8363
8364         * check/gst/gstcaps.c: (GST_START_TEST):
8365           Extend caps string tests to check that a caps to string
8366           conversion is reversible and produces the same caps.
8367
8368         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8369           Output "fraction" as the generic type fraction range, so caps
8370           serialisation and deserialisation works.
8371         * check/gst/capslist.h:
8372         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8373           Support 'MIN' and 'MAX' for deserialising fractions.
8374
8375 2005-11-22  Andy Wingo  <wingo@pobox.com>
8376
8377         * gst/gstevent.h (gst_event_new_new_segment)
8378         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8379         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8380         Renamed from *_newsegment, *_buffersize, *_notarget.
8381
8382         * scripts/update-funcnames: New script, performs the changes
8383         listed above.
8384
8385 2005-11-22  Wim Taymans  <wim@fluendo.com>
8386
8387         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8388         Make sure the GstFlowReturn is returned.
8389
8390         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8391         (gst_bus_add_signal_watch):
8392         * gst/gstbus.h:
8393         add gst_bus_add_signal_watch_full.
8394
8395         * gst/gstplugin.c: (gst_plugin_load_file):
8396         Small style cleanup.
8397
8398 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8399
8400         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8401           Block the fakesrc srcpad when we send an event, to avoid
8402           contention on the stream_lock causing random test failures.
8403
8404 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8405
8406         * check/gst/gstvalue.c: (GST_START_TEST):
8407         * gst/gstvalue.c: (gst_value_fraction_subtract):
8408           Fix subtraction.
8409
8410 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8411
8412         * gst/gst.h:
8413           include "gstchildproxy.h"
8414         * gst/gstchildproxy.h:
8415         * libs/gst/controller/gstcontroller.h:
8416           use G_GNUC_NULL_TERMINATED
8417
8418 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8419
8420         * check/gst/capslist.h:
8421         * check/gst/gstcaps.c: (GST_START_TEST):
8422         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8423         * gst/gststructure.c: (gst_structure_parse_range),
8424         (gst_structure_fixate_field_nearest_fraction):
8425         * gst/gststructure.h:
8426         * gst/gstvalue.c: (gst_value_init_fraction_range),
8427         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8428         (gst_value_collect_fraction_range),
8429         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8430         (gst_value_set_fraction_range_full),
8431         (gst_value_get_fraction_range_min),
8432         (gst_value_get_fraction_range_max),
8433         (gst_value_serialize_fraction_range),
8434         (gst_value_transform_fraction_range_string),
8435         (gst_value_compare_fraction_range),
8436         (gst_value_deserialize_fraction_range),
8437         (gst_value_intersect_fraction_fraction_range),
8438         (gst_value_intersect_fraction_range_fraction_range),
8439         (gst_value_subtract_fraction_fraction_range),
8440         (gst_value_subtract_fraction_range_fraction),
8441         (gst_value_subtract_fraction_range_fraction_range),
8442         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8443         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8444         (gst_value_transform_string_fraction), (_gst_value_initialize):
8445         * gst/gstvalue.h:
8446           Implement fraction ranges and extend GstFraction to support
8447           arithmetic subtraction, as well as deserialization from integer
8448           strings such as "100"
8449           Add a testsuite as for int and double range set operations
8450
8451 2005-11-21  Andy Wingo  <wingo@pobox.com>
8452
8453         * gst/gsttaglist.h: 
8454         * gst/gstcaps.h: 
8455         * gst/gststructure.h: Add glib-compat.h.
8456
8457 2005-11-21  Wim Taymans  <wim@fluendo.com>
8458
8459         * gst/gstbin.c: (gst_bin_change_state_func):
8460         Fix for #321595
8461
8462 2005-11-21  Wim Taymans  <wim@fluendo.com>
8463
8464         * gst/gstsegment.h:
8465         And add a nice define too.
8466
8467 2005-11-21  Wim Taymans  <wim@fluendo.com>
8468
8469         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8470         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8471         (gst_segment_set_duration), (gst_segment_set_last_stop),
8472         (gst_segment_set_seek), (gst_segment_set_newsegment),
8473         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8474         (gst_segment_clip):
8475         * gst/gstsegment.h:
8476         Make binding friendly.
8477
8478 2005-11-21  Andy Wingo  <wingo@pobox.com>
8479
8480         * gst/gsttagsetter.h: 
8481         * gst/gsttaglist.h: 
8482         * gst/gststructure.h: 
8483         * gst/gstcaps.h: 
8484         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8485         #319940.
8486
8487         * gst/gsterror.c (_gst_core_errors_init):
8488         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8489         category.
8490
8491         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8492         (noinst_HEADERS): noinst the -private.
8493
8494 2005-11-21  Michael Smith <msmith@fluendo.com>
8495
8496         * gst/gstplugin.h:
8497         * gst/gstregistry.h:
8498           Remove unimplemented declarations for which we can see no sensible
8499           use.
8500
8501 2005-11-21  Andy Wingo  <wingo@pobox.com>
8502
8503         * gst/gst.h: Include glib-compat.h.
8504
8505         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8506
8507         * gst/glib-compat.c: Include the public and the private header.
8508
8509         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8510
8511         * gst/gstvalue.c: 
8512         * gst/gstpad.c: 
8513         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8514
8515         * check/gst/gstevent.c (create_custom_events): Check that
8516         FLUSH_STOP is serialized.
8517
8518         * check/elements/identity.c (event_func): 
8519         * check/elements/fakesrc.c (event_func): No stream lock, the core
8520         takes it.
8521
8522         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8523         stream lock taking, yay.
8524
8525         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8526         ensure that core takes the stream lock.
8527
8528         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8529         lock name change.
8530
8531         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8532         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8533         it already. For the flush start we do take it though so we get the
8534         right preroll state change messages.
8535
8536         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8537         the stream lock here, the core does it for us.
8538
8539         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8540         GST_STREAM_GET_LOCK.
8541         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8542         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8543         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8544         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8545         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8546         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8547
8548         * gst/gstpad.c: Update for stream lock name change.
8549
8550         * gst/base/gstbasesink.c: Update for preroll lock name change.
8551
8552 2005-11-21  Wim Taymans  <wim@fluendo.com>
8553
8554         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8555         (gst_clock_get_master):
8556         * gst/gstclock.h:
8557         * gst/gstsystemclock.c: (gst_system_clock_init):
8558         Convert Clock flags to object flags.
8559         Added methods to manage master/slave clocks.
8560
8561 2005-11-21  Wim Taymans  <wim@fluendo.com>
8562
8563         * check/gst/gstsegment.c: (GST_START_TEST):
8564         * docs/design/part-TODO.txt:
8565         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8566         (gst_base_sink_event), (gst_base_sink_do_sync),
8567         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8568         (gst_base_sink_query), (gst_base_sink_change_state):
8569         * gst/base/gstbasesink.h:
8570         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8571         (gst_base_src_default_newsegment),
8572         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8573         (gst_base_src_get_range), (gst_base_src_loop),
8574         (gst_base_src_change_state):
8575         * gst/base/gstbasesrc.h:
8576         * gst/base/gstbasetransform.c:
8577         (gst_base_transform_prepare_output_buf),
8578         (gst_base_transform_event), (gst_base_transform_change_state):
8579         * gst/base/gstbasetransform.h:
8580         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8581         (gst_collect_pads_event):
8582         * gst/base/gstcollectpads.h:
8583         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8584         (gst_fake_src_create):
8585         * gst/elements/gstfakesrc.h:
8586         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8587         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8588         (gst_segment_set_last_stop), (gst_segment_set_seek),
8589         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8590         (gst_segment_to_running_time), (gst_segment_clip):
8591         * gst/gstsegment.h:
8592         More segment updates, replace code in plugins with segment
8593         helper functions.
8594
8595 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8596
8597         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8598         Don't ignore sscanf results
8599
8600 2005-11-21  Andy Wingo  <wingo@pobox.com>
8601
8602         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8603
8604         * *.h:
8605         * *.c: Ran scripts/update-macros. Oh yes.
8606
8607         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8608         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8609         GST_GET_LOCK, etc.
8610
8611         * scripts/update-macros: New script. Run it on your files to
8612         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8613         well.
8614
8615 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8616
8617         * docs/gst/Makefile.am:
8618         * docs/gst/gstreamer-docs.sgml:
8619         * docs/gst/gstreamer-sections.txt:
8620         * docs/gst/gstreamer.types:
8621         * gst/gstinfo.h:
8622           more docs fixes, add new api to the docs
8623
8624 2005-11-21  Andy Wingo  <wingo@pobox.com>
8625
8626         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8627         state_broadcast call.
8628
8629         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8630
8631 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8632
8633         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8634         function calls for arrays.
8635
8636 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8637
8638         * docs/random/ensonic/media-device-daemon.txt:
8639           wild idea, can this be done?
8640         * docs/gst/gstreamer-sections.txt:
8641         * gst/gsterror.h:
8642         * gst/gstfilter.c:
8643         * gst/gstfilter.h:
8644         * gst/gstplugin.h:
8645         * gst/gstpluginfeature.c:
8646         * gst/gsttrace.c:
8647         * gst/gstvalue.c:
8648         * gst/gstvalue.h:
8649           doc fixes and additions
8650
8651 2005-11-21  Andy Wingo  <wingo@pobox.com>
8652
8653         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8654         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8655         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8656         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8657         private to the basesrc implementation.
8658
8659         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8660         behalf of event function if necessary. It should no longer be
8661         necessary to take the stream lock in pad's event functions. Fixes
8662         #320299.
8663
8664 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8665         * docs/gst/gstreamer-sections.txt:
8666         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8667         (gst_structure_fixate_field_nearest_double),
8668         (gst_structure_fixate_field_boolean):
8669         * gst/gststructure.h:
8670         * win32/common/libgstreamer.def:
8671         * win32/gstreamer.def:
8672
8673         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8674         (#322027)
8675
8676 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8677
8678         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8679         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8680         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8681         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8682         (gst_fdsrc_uri_handler_init):
8683         * gst/elements/gstfdsrc.h:
8684           Port fd:// URI handler from 0.8 to fdsrc
8685
8686 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8687
8688         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8689         (gst_value_serialize_fourcc):
8690         * gst/gstvalue.h:
8691           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8692           consistent with our other format defines (#320324).
8693
8694 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8695
8696         * gst/gstvalue.c: (gst_value_is_fixed):
8697           Revert previous commit. Value lists are by definition
8698           not fixed, as they are a list of possible values.
8699
8700 2005-11-21  Andy Wingo  <wingo@pobox.com>
8701
8702         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8703         during the stable series if we need it. Fixes #319178.
8704
8705         * gst/gstevent.c (gst_event_new_filler): Removed.
8706
8707         * check/gst/gstevent.c: Update comment about filler events.
8708
8709 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8710
8711         * gst/gstvalue.c: (gst_value_is_fixed):
8712           Should handle both value arrays and value lists.
8713
8714 2005-11-21  Andy Wingo  <wingo@pobox.com>
8715
8716         patch by: Alessandro Dessina <alessandro nnva org>
8717
8718         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8719         functions to access arrays. Fixes #321962.
8720
8721 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8722
8723         * docs/gst/gstreamer.types:
8724           gst_collectpads_get_type => gst_collect_pads_get_type.
8725           
8726         * gst/base/gstbasetransform.c:
8727           Remove unused SIGNAL_HANDOFF enum.
8728
8729 2005-11-21  Andy Wingo  <wingo@pobox.com>
8730
8731         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8732         the event type (upstream, downstream, serialized). Renamed
8733         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8734         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8735         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8736
8737         * gst/gstevent.c: Update for new CUSTOM event names.
8738
8739         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8740
8741         * gst/gstevent.h:
8742         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8743         bug #319392.
8744
8745 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * docs/gst/gstreamer-sections.txt:
8748         * win32/common/libgstbase.def:
8749         * win32/libgstbase.def:
8750         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8751         (gst_collect_pads_class_init), (gst_collect_pads_init),
8752         (gst_collect_pads_finalize), (gst_collect_pads_new),
8753         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8754         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8755         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8756         (gst_collect_pads_start), (gst_collect_pads_stop),
8757         (gst_collect_pads_peek), (gst_collect_pads_pop),
8758         (gst_collect_pads_available), (gst_collect_pads_read),
8759         (gst_collect_pads_flush), (gst_collect_pads_event),
8760         (gst_collect_pads_chain):
8761         * gst/base/gstcollectpads.h:
8762           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8763           unimplemented functions as unimplemented. Add padding to
8764           GstCollectData. (#320766, #320423)
8765
8766 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8767
8768         * gst/gstmessage.c:
8769           Improve docs for DURATION message (usage of duration parameter)
8770           (#320113)
8771
8772 2005-11-20  Wim Taymans  <wim@fluendo.com>
8773
8774         * check/Makefile.am:
8775         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8776         (main):
8777         * gst/Makefile.am:
8778         * gst/gst.h:
8779         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8780         (gst_segment_set_seek), (gst_segment_set_newsegment),
8781         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8782         (gst_segment_clip):
8783         * gst/gstsegment.h:
8784         Added segment helper structure and methods. Not fully implemented
8785         yet.
8786         Added segment check.
8787
8788 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8789
8790         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8791           Add a deserialisation test for fractions
8792         * examples/metadata/read-metadata.c: (message_loop),
8793         (make_pipeline), (main):
8794           Fix up metadata reading sample.
8795         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8796           Debug format fix
8797         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8798           Don't try and fixate empty caps
8799         * gst/gst_private.h:
8800           Wrap in G_BEGIN_DECLS/G_END_DECLS
8801         * gst/gstvalue.c: (gst_value_collect_fraction),
8802         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8803         (gst_value_transform_string_fraction),
8804         (gst_value_compare_fraction):
8805           Add some extra guards to ensure that we don't end up 
8806           with an invalid denominator of 0 in a gstfraction and
8807           that fractions always get reduced.
8808
8809 2005-11-20  Wim Taymans  <wim@fluendo.com>
8810
8811         * docs/gst/gstreamer-sections.txt:
8812         * gst/gstbuffer.h:
8813         * gst/gstelement.c:
8814         * gst/gstformat.c:
8815         * gst/gstformat.h:
8816         * gst/gstindex.h:
8817         * gst/gstquery.c:
8818         * gst/gstquery.h:
8819         * gst/gstvalue.c:
8820         Doc fixes.
8821
8822 2005-11-20  Wim Taymans  <wim@fluendo.com>
8823
8824         * docs/design/part-TODO.txt:
8825         * gst/gstcaps.h:
8826         Make a proper enum of the flag.
8827
8828 2005-11-19  Wim Taymans  <wim@fluendo.com>
8829
8830         * docs/design/part-TODO.txt:
8831         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8832         (gst_format_to_quark), (gst_format_register):
8833         * gst/gstformat.h:
8834         * gst/gstquery.c: (_gst_query_initialize),
8835         (gst_query_type_get_name), (gst_query_type_to_quark),
8836         (gst_query_type_register):
8837         * gst/gstquery.h:
8838         Add type to quark and type to string conversions.
8839
8840 2005-11-19  Andy Wingo  <wingo@pobox.com>
8841
8842         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8843         #320097.
8844
8845 2005-11-19  Wim Taymans  <wim@fluendo.com>
8846
8847         * docs/design/part-TODO.txt:
8848         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8849         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8850         (gst_bin_handle_message_func):
8851         * gst/gstbin.h:
8852         Make message handling overridable.
8853
8854 2005-11-19  Andy Wingo  <wingo@pobox.com>
8855
8856         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8857
8858         * gst/gstclock.h:
8859         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8860         be a GstClockTime.
8861         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8862         is a GstClockTime. Fixes #321710.
8863
8864         * gst/gstclock.h (GstClock): Remove offset property. Add
8865         internal_calibration and external_calibration. Fix padding. Pad
8866         also by GstClockTime so we don't run into problems.
8867
8868         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8869         (gst_clock_get_rate_offset): Remove.
8870         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8871
8872         * gst/gstutils.h:
8873         * gst/gstutils.c (g_static_rec_cond_wait)
8874         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8875
8876         * gst/gstbin.c: Remove terrible continue_state prototype.
8877
8878         * gst/gstelement.h (gst_element_continue_state): Make public.
8879
8880         * gst/gstelement.h:
8881         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8882         by continue_state. Fixes #319389.
8883
8884         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8885         Really fixes #168438. However I don't see anywhere where the
8886         filter function is called... stupid GStreamer...
8887         
8888         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8889         don't have a dispose function, so it won't get called when the
8890         object is unreffed, but oh well!
8891
8892         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8893         allows a destroy function to be set so user_data can be freed.
8894         Fixes #168438.
8895         (gst_index_set_filter): Call gst_index_set_filter_full.
8896
8897         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8898
8899         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8900         string should produce an error, given the lack of a way to
8901         represent NULL strings. Fixes #165650.
8902         
8903         * gst/gstvalue.h: 
8904         * gst/gstvalue.c (gst_value_array_append_value) 
8905         (gst_value_array_prepend_value, gst_value_array_get_size) 
8906         (gst_value_array_get_value): New API, copied from
8907         gst_value_list_*, only operates on arrays.
8908         (gst_value_list_append_value, gst_value_list_prepend_value) 
8909         (gst_value_list_concat, gst_value_list_get_size) 
8910         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8911
8912         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8913         init_list, because it works on both.
8914         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8915         (gst_value_copy_list_or_array): Renamed from copy_list.
8916         (gst_value_free_list_or_array): Renamed from free_list.
8917         (gst_value_collect_list_or_array): Renamed from collect_list.
8918         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8919         (gst_value_list_or_array_peek_pointer): Renamed from
8920         list_peek_pointer.
8921         (_gst_value_array_value_table, _gst_value_list_value_table):
8922         Update value table functions.
8923         (gst_value_compare_list_or_array): Renamed from compare_list.
8924
8925         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8926         some constness.
8927
8928         * gst/gsttaglist.c:
8929         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8930         GstTagList*. Fixes #143472.
8931
8932         * gst/gststructure.h: Clarify what the foreach/map functions can
8933         or can't do to their arguments.
8934
8935 2005-11-18  Wim Taymans  <wim@fluendo.com>
8936
8937         * gst/gstclock.c: (gst_clock_set_calibration),
8938         (gst_clock_get_calibration):
8939         Doc and API fixes.
8940         Calibration can be set with internal time equal to current
8941         internal time too.
8942
8943 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8944
8945         * gst/gsterror.c:
8946         * gst/gsterror.h:
8947           document
8948
8949 2005-11-18  Andy Wingo  <wingo@pobox.com>
8950
8951         * configure.ac: 
8952         * pkgconfig/gstreamer-net.pc.in:
8953         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8954         * pkgconfig/Makefile.am: Add net pkgconfig files.
8955
8956 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8957
8958         * gst/gstcaps.c:
8959         * gst/gstghostpad.c:
8960         * gst/gsttrace.c:
8961         * gst/gstvalue.c:
8962         * gst/gstvalue.h:
8963           docs fixes
8964
8965 2005-11-18  Andy Wingo  <wingo@pobox.com>
8966
8967         * gst/net/gstnetclientclock.c: Turn off debugging.
8968
8969         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8970         times connverge somewhat. Can't make a real test.
8971
8972         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8973         integer arithmetic. Return the minimum of the domain, which can be
8974         set as "internal" for gst_clock_set_calibration.
8975         (gst_net_client_clock_observe_times): Call _set_calibration.
8976         (gst_net_client_clock_new): Call _set_calibration instead of
8977         rate_offset.
8978
8979         * check/net/gstnetclientclock.c (test_functioning): Use the right
8980         adjustment api.
8981
8982         * gst/gstclock.h:
8983         * gst/gstclock.c (gst_clock_get_calibration) 
8984         (gst_clock_set_calibration): New functions, obsolete the ones I
8985         added yesterday. Doh. Precision issues mean we have to extrapolate
8986         from a point in the more recent past than 1970.
8987         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8988         obsolete.
8989         (gst_clock_adjust_unlocked): Use the right calibration data.
8990
8991 2005-11-18  Edward Hervey  <edward@fluendo.com>
8992
8993         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8994         Also reset the ->current_* values in READY->PAUSED
8995
8996 2005-11-18  Andy Wingo  <wingo@pobox.com>
8997
8998         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8999         Whoops, check the right fd. Also add some debugging.
9000         (gst_net_client_clock_observe_times): Adjust for int64 offset.
9001         (do_linear_regression): Add a crapload of debugging. Subtract off
9002         the minimum values from the input series to discard unneeded bits.
9003         Use only int arithmetic. There is still double arithmetic when
9004         calculating the intercept that needs fixing. Return boolean to
9005         indicate success; FALSE would mean the domain or range is too
9006         great. Still needs fixes.
9007
9008 2005-11-18  Wim Taymans  <wim@fluendo.com>
9009
9010         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9011         For the current position in stream time, we need to subtract
9012         accumulated time.
9013         
9014         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9015         Release lock before calling the callback function of async
9016         entries.
9017
9018 2005-11-18  Andy Wingo  <wingo@pobox.com>
9019
9020         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9021         Port goes all the way to MAXUINT16.
9022
9023         * gst/net/gstnettimeprovider.c: Make the port range the same as
9024         for the kernel: 0 assigns, otherwise ports are less than
9025         MAXUINT16.
9026
9027         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9028         port change.
9029
9030         * check/net/gstnetclientclock.c (test_functioning): Add the start
9031         of another test. 
9032
9033 2005-11-18  Wim Taymans  <wim@fluendo.com>
9034
9035         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9036         (gst_bin_remove_func), (bin_bus_handler):
9037         * gst/gstbin.h:
9038         Removing a clock provider from a bin, triggers a clock lost message
9039         so that a new clock will be selected.
9040         Adding a clock to a bin triggers a clock provider message.
9041         Make sure we reselect a clock when we received a clock lost message.
9042         Keep a reference to the element that provided the clock.
9043
9044 2005-11-18  Andy Wingo  <wingo@pobox.com>
9045
9046         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9047         the clock initially so it produces values around the base time.
9048         (gst_net_client_clock_class_init): Typo fix.
9049         (gst_net_client_clock_thread): Add note on when the socket gets
9050         closed.
9051
9052 2005-11-17  Wim Taymans  <wim@fluendo.com>
9053
9054         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9055         Free remote and local time arrays.
9056
9057 2005-11-17  Wim Taymans  <wim@fluendo.com>
9058
9059         * gst/net/gstnetclientclock.c: (do_linear_regression),
9060         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9061         Fix compilation, uninitialized vars and a forgotten continue.
9062
9063 2005-11-17  Andy Wingo  <wingo@pobox.com>
9064
9065         * check/Makefile.am (check_PROGRAMS): 
9066         * check/net/gstnetclientclock.c: Add a most minimal test for the
9067         net client clock. More to come later.
9068
9069         * gst/net/gstnet.h: 
9070         * gst/net/Makefile.am: Add netclientclock.
9071
9072         * gst/net/gstnetclientclock.h:
9073         * gst/net/gstnetclientclock.c: New files, implement an untested
9074         GstClock that takes its time from a network time provider.
9075         Implements the algorithm in network-clock.scm.
9076
9077         * tests/network-clock.scm (*window-size*): Rename from
9078         *queue-length*.
9079         * tests/network-clock.scm (network-time): 
9080         * tests/network-clock-utils.scm (q-push): Update callers.
9081
9082 2005-11-17  Wim Taymans  <wim@fluendo.com>
9083
9084         * gst/gstbin.c: (gst_bin_provide_clock_func),
9085         (gst_bin_sort_iterator_new):
9086         And unref the child too..
9087
9088 2005-11-17  Wim Taymans  <wim@fluendo.com>
9089
9090         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9091         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9092         Refactor the sort iterator so it can be used while holding the
9093         LOCK too.
9094         Make clock selection select a clock closest to the source.
9095
9096 2005-11-17  Michael Smith <msmith@fluendo.com>
9097
9098         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9099         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9100         * gst/gstclock.h:
9101           Anonymous structs are a gcc (and some other compilers) extension, so
9102           don't use them. Since this is only for ABI-compatibility, and our
9103           API/ABI freeze is over in a few days, this whole thing will only
9104           last a few days, so don't bother trying to think up a meaningful
9105           name for the struct.
9106
9107 2005-11-17  Andy Wingo  <wingo@pobox.com>
9108
9109         * gst/gstclock.h (GstClock): Add rate and offset properties,
9110         preserving ABI stability. Add rate/offset accessors. Will file bug
9111         for the freeze break.
9112
9113         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9114         and offset, trying to keep precision and avoiding
9115         underflow/overflow.
9116         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9117         functions. Make gst_clock_set_time_adjust obsolete.
9118         (gst_clock_set_time_adjust): Note that this function is obsolete.
9119         Will file bug soon.
9120
9121         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9122         greppable by using GST_PADDING-1+1.
9123
9124 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9125
9126         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9127
9128         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9129           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9130
9131         * gst/gstpadtemplate.h:
9132         * gst/gstpluginfeature.h:
9133           Don't use c++ style comments in headers (#321638).
9134
9135 2005-11-16  Andy Wingo  <wingo@pobox.com>
9136
9137         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9138         buffer.
9139
9140         * check/net/gstnettimeprovider.c: Check to see that the time
9141         provider actually provides times. Works, yo!
9142
9143 2005-11-16  Wim Taymans  <wim@fluendo.com>
9144
9145         * check/Makefile.am:
9146         Enable more tests.
9147
9148         * check/elements/fakesrc.c: (GST_START_TEST):
9149         Set element to NULL before disposing it.
9150
9151 2005-11-16  Andy Wingo  <wingo@pobox.com>
9152
9153         * gst/net/Makefile.am:
9154         * gst/net/gstnet.h:
9155         * gst/net/gstnettimeprovider.c: 
9156         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9157         provider, include it from gstnet.h, and add it to the build.
9158
9159         * gst/net/gstnettimepacket.h: 
9160         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9161         sending and receiving.
9162
9163 2005-11-16  Wim Taymans  <wim@fluendo.com>
9164
9165         * check/Makefile.am:
9166         Enable valgrind check.
9167
9168         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9169         (gst_fake_src_alloc_buffer):
9170         Fix memleak.
9171
9172 2005-11-16  Wim Taymans  <wim@fluendo.com>
9173
9174         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9175         Call parent finalize too.
9176
9177 2005-11-16  Wim Taymans  <wim@fluendo.com>
9178
9179         * check/Makefile.am:
9180         Enable valgrind check that should work fine now.
9181
9182         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9183         * gst/gstqueue.c: (gst_queue_init):
9184         Fix memleaks in pad allocation.
9185
9186 2005-11-16  Andy Wingo  <wingo@pobox.com>
9187
9188         * gst/net/Makefile.am:
9189         * gst/net/gstnet.h: New part of core to hold network elements and
9190         objects. Put in core because it exposes API that applications want
9191         to use. The library is named libgstnet-tempname right now because
9192         of the existing libgstnet in gst-plugins-base. Solution is
9193         probably to rename the one in plugins-base; will file a bug for
9194         the freeze break.
9195
9196         * gst/net/gstnettimeprovider.c: 
9197         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9198         get_time call over the network.
9199
9200         * configure.ac: 
9201         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9202
9203         * check/Makefile.am:
9204         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9205         get additions shortly.
9206
9207 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9208
9209         * gst/gstpad.c: (gst_pad_new_from_static_template):
9210         * gst/gstpad.h:
9211           add gst_pad_new_from_static_template functions
9212         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9213         (gst_check_setup_sink_pad):
9214         * gst/elements/gsttee.c: (gst_tee_init):
9215           and use them
9216
9217 2005-11-16  Wim Taymans  <wim@fluendo.com>
9218
9219         * gst/gstpad.c: (gst_pad_pause_task):
9220         Removed warning, it's not really an error either.
9221
9222 2005-11-16  Wim Taymans  <wim@fluendo.com>
9223
9224         * gst/base/gstbasetransform.c:
9225         (gst_base_transform_prepare_output_buf),
9226         (gst_base_transform_event):
9227         Check if the caps are NULL, this can happen if the element
9228         is shutting down and the pad caps are set to NULL.
9229
9230 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9231
9232         * gst/elements/gsttee.c: (gst_tee_init):
9233           fix pad template leak in tee
9234
9235 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9236
9237         * gst/glib-compat.c: (g_value_dup_gst_object):
9238         * gst/glib-compat.h:
9239         * gst/gstpad.c: (gst_pad_set_property):
9240           use gst_object_ref when setting the pad template; this will
9241           trigger the pad template leaks on GLib 2.6 and the slaves
9242
9243 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9244
9245         * gst/glib-compat.c: (gst_flags_get_first_value):
9246         * gst/glib-compat.h:
9247         * gst/gstregistryxml.c:
9248           remove functions copied from GLib 2.6
9249
9250 2005-11-16  Michael Smith <msmith@fluendo.com>
9251
9252         * gst/Makefile.am:
9253           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9254           do, but only breaks with newer valgrind versions. We're not a
9255           valgrind tool, we have no link-time dependencies on libcoregrind.
9256
9257 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9258
9259         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9260           some debug changes
9261         * gst/gstmessage.h:
9262           typo fixes
9263
9264 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9265
9266         * gst/base/gstbasesrc.c: (gst_base_src_init):
9267         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9268         * gst/gstqueue.c: (gst_queue_init):
9269         * gst/gstregistryxml.c: (load_feature):
9270           Revert all these unrefs, they don't even pass make check !
9271
9272 2005-11-15  Johan Dahlin  <johan@gnome.org>
9273
9274         * gst/base/gstbasesrc.c: (gst_base_src_init):
9275         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9276         * gst/gstqueue.c: (gst_queue_init): 
9277         Free pad templates, fixes a couple of leaks.
9278
9279 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9280
9281         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9282
9283         * gst/gstpad.c: (gst_pad_get_property):
9284           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9285           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9286           (#321452)
9287
9288 2005-11-15  Wim Taymans  <wim@fluendo.com>
9289
9290         * gst/gstevent.c:
9291         Small doc update.
9292
9293 2005-11-15  Andy Wingo  <wingo@pobox.com>
9294
9295         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9296
9297         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9298         using GST_CLOCK_TIME_NONE to disable base time management.
9299         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9300         time if it was NONE before.
9301         (gst_pipeline_change_state): Only munge the base time if
9302         stream_time != GST_CLOCK_TIME_NONE.
9303
9304         * check/gst/gstpipeline.c (test_base_time): Punt around the
9305         problem of the probe not being called, because that's not the
9306         issue I'm looking at. Add a check that setting stream_time to NONE
9307         disables base time management.
9308         
9309 2005-11-15  Wim Taymans  <wim@fluendo.com>
9310
9311         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9312         segment_stop == -1 at startup.
9313
9314         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9315         (gst_base_transform_change_state):
9316         Init segment values at start.
9317
9318 2005-11-15  Wim Taymans  <wim@fluendo.com>
9319
9320         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9321         0 segment values are 0 in any format.
9322
9323         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9324         * gst/base/gstbasetransform.h:
9325         Parse newsegment correctly in basetransform
9326
9327         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9328         Sync to clock using updated segment values.
9329
9330 2005-11-15  Andy Wingo  <wingo@pobox.com>
9331
9332         * check/gst/gstpipeline.c (test_base_time): Add check that the
9333         base time and stream time are reset correctly.
9334
9335 2005-11-15  Wim Taymans  <wim@fluendo.com>
9336
9337         * docs/design/part-TODO.txt:
9338         Some more TODO items.
9339
9340 2005-11-15  Andy Wingo  <wingo@pobox.com>
9341
9342         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9343         error if the user selected "no clock" as the clocking method.
9344
9345         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9346         timestamps with live capture.
9347
9348         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9349         is 0 but we are a live source, timestamp the buffers using the
9350         element's clock.
9351
9352 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9353
9354         * docs/gst/gstreamer-sections.txt:
9355         * gst/gsterror.c:
9356         * gst/gstghostpad.c:
9357         * gst/gstobject.h:
9358         * gst/gstxml.c:
9359           more section docs
9360
9361 2005-11-14  Wim Taymans  <wim@fluendo.com>
9362
9363         * common/gst.supp:
9364           add suppressions from Wim's Debian machine
9365
9366 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9367
9368         * common/gst.supp:
9369           add suppressions from Andy's AMD64 Ubuntu machine
9370
9371 2005-11-14  Andy Wingo  <wingo@pobox.com>
9372
9373         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9374         STATE_LOCK not necessary. Fixes #311489.
9375
9376         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9377         #305291.
9378
9379         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9380         this function is not implemented.
9381
9382 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9383
9384         * gst/base/gstbasetransform.c:
9385         (gst_base_transform_prepare_output_buf):
9386         Ref the source pad caps while we need them.
9387         Fixes (#321386)
9388
9389 2005-11-11  Wim Taymans  <wim@fluendo.com>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392         Added some docs for GstCollectData.
9393
9394         * gst/base/gstadapter.c:
9395         Some small code example fix.
9396
9397         * gst/base/gstcollectpads.c:
9398         * gst/base/gstcollectpads.h:
9399         Document some more.
9400
9401 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9402
9403         * configure.ac: back to HEAD
9404
9405 === release 0.9.5 ===
9406
9407 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9408
9409         * configure.ac:
9410           releasing 0.9.5, "Bike Lunch Day"
9411
9412 2005-11-11  Wim Taymans  <wim@fluendo.com>
9413
9414         * gst/gstbuffer.c: (_gst_buffer_copy):
9415         Copy more flags.
9416
9417         * gst/gstcaps.c: (gst_caps_is_equal):
9418         Fix some docs.
9419         Make _is_equal fast in the trivial cases.
9420
9421         * gst/gstminiobject.c:
9422         * gst/gstminiobject.h:
9423         More docs. Spifify .h file.
9424
9425         * gst/gstutils.c:
9426         Small doc update.
9427
9428 2005-11-11  Wim Taymans  <wim@fluendo.com>
9429
9430         * gst/base/gstbasetransform.c:
9431         (gst_base_transform_prepare_output_buf),
9432         (gst_base_transform_handle_buffer):
9433         Small cleanups.
9434         If we're processing a buffer and need to allocate an output
9435         buffer, we cannot accept a format change. If we did get a 
9436         format change, we have to alloc a buffer ourselves of the 
9437         right size.
9438
9439 2005-11-11  Wim Taymans  <wim@fluendo.com>
9440
9441         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9442         While checking the flag for reentrancy in the gstcaps function
9443         is nice to detect recursive invocations, it also makes it 
9444         impossible to call getcaps from multiple threads, which must be
9445         possible. So, checking for recursive calls has to go.
9446
9447 2005-11-11  Michael Smith <msmith@fluendo.com>
9448
9449         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9450           Don't sync on buffers that fall partially outside our current
9451           segment. Prevents an assertion failure/abort playing some files.
9452
9453 2005-11-10  Andy Wingo  <wingo@pobox.com>
9454
9455         * check/gst/gstbin.c (test_message_state_changed_children): Style
9456         fix..
9457
9458         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9459         gst_bus_poll with the signal watch. Ensures that poll and a signal
9460         watch see the same messages.
9461
9462         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9463         a poll and a watch at the same time get the same messages.
9464
9465 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9466
9467         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9468         * gst/gstcaps.c: (gst_caps_intersect):
9469           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9470           and it's not needed.
9471
9472 2005-11-10  Wim Taymans  <wim@fluendo.com>
9473
9474         * docs/design/part-TODO.txt:
9475         Updated todo.
9476
9477 2005-11-10  Wim Taymans  <wim@fluendo.com>
9478
9479         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9480         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9481         (gst_base_src_do_sync), (gst_base_src_get_range):
9482         Implement clock sync in base class.
9483
9484 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9485
9486         patch by: Tim-Philipp Müller <tim at centricular dot net>
9487
9488         * gst/gststructure.c: (gst_structure_parse_field),
9489         (gst_structure_from_string):
9490           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9491           so that gst_parse_launch() can deal with spaces in filtered link
9492           caps (fixes #164479)
9493         * check/gst/capslist.h:
9494         * check/gst/gststructure.c: (GST_START_TEST):
9495           add unit tests for this change
9496
9497 2005-11-10  Wim Taymans  <wim@fluendo.com>
9498
9499         * docs/gst/gstreamer-sections.txt:
9500         * gst/gstelement.c:
9501         * gst/gstelement.h:
9502         Fix docs, move some STATE macros to private.
9503
9504 2005-11-10  Wim Taymans  <wim@fluendo.com>
9505
9506         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9507         Added check for bug #317341
9508
9509         * gst/gstbuffer.c:
9510         * gst/gstbuffer.h:
9511         Some more spiffifying.
9512
9513         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9514         Call peer linkfunction if we are a source pad. Totally fixes
9515         #317341
9516
9517         * gst/gstpad.c:
9518         Update docs, source pads should call the peer linkfunction
9519         so they can atomically perform the pad link.
9520
9521 2005-11-09  Wim Taymans  <wim@fluendo.com>
9522
9523         * gst/gstbuffer.c:
9524         * gst/gstbuffer.h:
9525         Uber-spiffy-spiffify some more.
9526
9527 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9528
9529         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9530         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9531         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9532         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9533         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9534         * gst/gstpad.c: (gst_pad_init):
9535           Use GST_DEBUG_FUNCPTR() more extensively.
9536
9537 2005-11-09  Wim Taymans  <wim@fluendo.com>
9538
9539         * gst/gstobject.c: (gst_object_class_init):
9540         * gst/gstobject.h:
9541         Documentation fixes.
9542
9543 2005-11-09  Edward Hervey  <edward@fluendo.com>
9544
9545         * gst/gsttypefindfactory.c:
9546         Fix docs.
9547         
9548 2005-11-09  Edward Hervey  <edward@fluendo.com>
9549
9550         * gst/base/gsttypefindhelper.c:
9551         * gst/gsttypefind.c:
9552         * gst/gsttypefind.h:
9553         Fix docs.
9554
9555 2005-11-09  Wim Taymans  <wim@fluendo.com>
9556
9557         * gst/gstiterator.c:
9558         Fix revision data.
9559
9560         * gst/gsttask.c:
9561         * gst/gsttask.h:
9562         Fix docs.
9563
9564 2005-11-09  Wim Taymans  <wim@fluendo.com>
9565
9566         * gst/gstevent.h:
9567         * gst/gsturi.h:
9568         Fix docs.
9569
9570 2005-11-09  Wim Taymans  <wim@fluendo.com>
9571
9572         * docs/gst/gstreamer-sections.txt:
9573         Moved the message async delivery private lock and cond
9574         to the private section.
9575
9576         * gst/gstmessage.c:
9577         * gst/gstmessage.h:
9578         Fixed docs.
9579
9580 2005-11-09  Edward Hervey  <edward@fluendo.com>
9581
9582         * docs/gst/gstreamer-sections.txt:
9583         * gst/gsturi.c:
9584         * gst/gsturi.h:
9585         Document GstURIHandler
9586
9587 2005-11-09  Wim Taymans  <wim@fluendo.com>
9588
9589         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9590         (gst_iterator_find_custom):
9591         * gst/gstiterator.h:
9592         Fix iterator docs.
9593
9594 2005-11-09  Wim Taymans  <wim@fluendo.com>
9595
9596         * gst/gstbin.h:
9597         Document another field.
9598
9599         * gst/gststructure.c:
9600         * gst/gststructure.h:
9601         Document.
9602
9603 2005-11-09  Wim Taymans  <wim@fluendo.com>
9604
9605         * gst/gstbin.h:
9606         Documented structs.
9607
9608 2005-11-09  Wim Taymans  <wim@fluendo.com>
9609
9610         * docs/gst/gstreamer-sections.txt:
9611         Added some new macros.
9612
9613         * gst/gstclock.c:
9614         * gst/gstclock.h:
9615         * gst/gstobject.h:
9616         Docs updates.
9617
9618 2005-11-09  Wim Taymans  <wim@fluendo.com>
9619
9620         * docs/design/part-TODO.txt:
9621         Some more items for the TODO
9622
9623         * gst/gstcaps.c:
9624         * gst/gstcaps.h:
9625         Document GstCaps.
9626
9627 2005-11-09  Andy Wingo  <wingo@pobox.com>
9628
9629         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9630         to work on something else now tho...
9631
9632         * gst/base/gstadapter.c: More adapter docs.
9633
9634         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9635         (gst_file_sink_stop): New functions, replace the state change
9636         handler.
9637         (gst_file_sink_class_init): Hook up the start and stop functions.
9638         (gst_file_sink_base_init): Don't set the state change handler any
9639         more. It was a bit ugly too, being set from here...
9640         (gst_file_sink_get_property, gst_file_sink_set_property):
9641         Cleanups...
9642         (gst_file_sink_set_location): More robust check that doesn't call
9643         GST_STATE. Ugggggg.
9644
9645 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9646
9647         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9648           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9649
9650 2005-11-08  Wim Taymans  <wim@fluendo.com>
9651
9652         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9653         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9654         (gst_base_sink_chain), (gst_base_sink_change_state):
9655         * gst/base/gstbasesink.h:
9656         * gst/base/gstbasesrc.h:
9657         * gst/gstelement.h:
9658         * gst/gstevent.h:
9659         Avoid excessive typechecking in macros.
9660
9661         * gst/gstminiobject.c: (gst_mini_object_get_type),
9662         (gst_mini_object_init), (gst_mini_object_new),
9663         (gst_mini_object_free):
9664         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9665         (gst_object_finalize):
9666         Remove cruft code, optimize alloc_trace.
9667
9668 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9669
9670         * docs/faq/gst-uninstalled:
9671           fix up PS1 for systems that try to reset it
9672
9673 2005-11-07  Wim Taymans  <wim@fluendo.com>
9674
9675         * gst/base/gstbasesrc.c: (gst_base_src_init),
9676         (gst_base_src_get_range):
9677         Set the segment_end to -1 initially. Fixed typefind.
9678
9679 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9680
9681         * gst/base/gstadapter.c:
9682           Debug category should be 'adapter', not 'GstAdapter'.
9683           
9684         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9685         (gst_collectpads_class_init), (gst_collectpads_init),
9686         (gst_collectpads_peek), (gst_collectpads_pop),
9687         (gst_collectpads_event), (gst_collectpads_chain):
9688           Add debug category and some debugging output. Use boilerplate
9689           macros. Remove some extraneous words from docs.
9690
9691 2005-11-05  Andy Wingo  <wingo@pobox.com>
9692
9693         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9694         macro.
9695
9696 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9697
9698         * docs/gst/gstreamer-sections.txt:
9699         * gst/gstcaps.h:
9700         * gst/gstinfo.c:
9701         * gst/gstminiobject.h:
9702         * gst/gstobject.h:
9703         * gst/gstutils.h:
9704           more docs added
9705
9706 2005-11-04  Wim Taymans  <wim@fluendo.com>
9707
9708         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9709         Small update to stop at the configured segment_end
9710         position.
9711
9712 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9713
9714         * gst/gstregistry.c:
9715         * gst/gstregistry.h:
9716           added missing docs
9717
9718 2005-11-04  Edward Hervey  <edward@fluendo.com>
9719
9720         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9721         Check if we are doing a segment seek and have arrived at the
9722         end of that segment.
9723
9724 2005-11-04  Wim Taymans  <wim@fluendo.com>
9725
9726         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9727         Don't leak a mutex unlock in case of an error.
9728
9729         * gst/gstbus.h:
9730         Doc fixes.
9731
9732 2005-11-04  Wim Taymans  <wim@fluendo.com>
9733
9734         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9735         (gst_bus_post):
9736         Get the context to wake up only once.
9737
9738 2005-11-03  Wim Taymans  <wim@fluendo.com>
9739
9740         * check/states/sinks.c: (GST_START_TEST):
9741         Uncomment fixed check.
9742
9743         * docs/design/part-TODO.txt:
9744         Updated TODO.
9745
9746         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9747         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9748         (gst_base_sink_get_position):
9749         If we are going to PLAYING, post the right pending state
9750         when we post the intermediate paused message.
9751
9752         * gst/gstelement.c: (gst_element_continue_state),
9753         (gst_element_set_state_func), (gst_element_change_state):
9754         Don't post state changes that were between the same state
9755         and were not ASYNC.
9756
9757 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9758
9759         * docs/gst/gstreamer-sections.txt:
9760         * gst/gstcaps.h:
9761         * gst/gstinfo.c:
9762         * gst/gstminiobject.h:
9763         * gst/gstobject.h:
9764         * gst/gstutils.h:
9765           more docs and doc style fixes
9766
9767 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9768
9769         * docs/gst/gstreamer-sections.txt:
9770         * gst/gstelement.c:
9771         * gst/gstminiobject.c:
9772         doc fixes
9773
9774 2005-11-03  Andy Wingo  <wingo@pobox.com>
9775
9776         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9777         state-changed messages actually have the right order and the right
9778         values.
9779
9780 2005-11-03  Wim Taymans  <wim@fluendo.com>
9781
9782         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9783         Added some more checks. Specifically the case where NO_PREROLL
9784         elements are in the pipeline.
9785
9786         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9787         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9788         (gst_base_sink_get_position):
9789         Post READY->PAUSED state change messages too.
9790         Fix bug where VOID was posted as pending state...
9791
9792         * gst/gstbin.c: (gst_bin_recalc_state):
9793         use _element_continue_state() to continue the state change.
9794
9795         * gst/gstelement.c: (gst_element_continue_state),
9796         (gst_element_commit_state), (gst_element_set_state_func),
9797         (gst_element_change_state), (gst_element_change_state_func):
9798         Lots of state change cleanups, assign the STATE_RETURN in
9799         a new continue_state() function that also propagates the
9800         last return value from a state change to the app.
9801         Update some debug statements with proper category.
9802
9803 2005-11-03  Wim Taymans  <wim@fluendo.com>
9804
9805         * docs/design/part-events.txt:
9806         * docs/design/part-gstpipeline.txt:
9807         * docs/design/part-messages.txt:
9808         * docs/design/part-overview.txt:
9809         * docs/design/part-seeking.txt:
9810         * docs/design/part-states.txt:
9811         * docs/design/part-trickmodes.txt:
9812         * docs/manual/advanced-position.xml:
9813         Small docs updates.
9814
9815         * gst/gstobject.h:
9816         People think !! is ugly, this looks better.
9817
9818         * gst/gstpad.c: (gst_pad_set_blocked_async):
9819         Remove !! since it's fixed elsewhere now.
9820
9821 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9822
9823         * gst/gstminiobject.h:
9824         * gst/gstobject.h:
9825           Add !! to _FLAG_IS_SET macros to make the result boolean.
9826
9827 2005-11-03  Edward Hervey  <edward@fluendo.com>
9828
9829         * gst/gstpad.c: (gst_pad_set_blocked_async):
9830         comparing a flag and a gboolean rarely returns coherent results...
9831         Added two characters (!!) to make that work correctly.
9832         
9833 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9834
9835         * gst/gstbus.c: (gst_bus_class_init):
9836           Fix some typos.
9837           
9838         * gst/gstqueue.c: (gst_queue_loop):
9839           Don't assume a miniobject that isn't a buffer is an
9840           event (it could be that there is a refcounting
9841           problem somewhere and the pointer is stale and
9842           refers to an already destroyed miniobject).
9843
9844 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9845
9846         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9847
9848 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9849
9850         * docs/manual/advanced-position.xml:
9851           Update seek example and explanations to current 0.9 API.
9852
9853         * gst/elements/gsttypefindelement.c:
9854         (gst_type_find_element_activate):
9855           Remove FIXME comment now that the found caps
9856           are unreffed.
9857
9858 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9859
9860         * gst/gstregistryxml.c: (load_feature):
9861           Add another GST_STR_NULL instance
9862
9863 2005-11-02  Edward Hervey  <edward@fluendo.com>
9864
9865         * gst/gstpad.c: (handle_pad_block):
9866         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9867         
9868 2005-11-02  Wim Taymans  <wim@fluendo.com>
9869
9870         * gst/gstbin.c:
9871         Fix typo in docs.
9872
9873         * gst/gstelement.c: (gst_element_commit_state):
9874         Remove unused value.
9875
9876         * gst/gstiterator.c:
9877         Mention that the returned element is reffed in the docs.
9878
9879 2005-11-02  Wim Taymans  <wim@fluendo.com>
9880
9881         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9882         (gst_pad_push), (gst_pad_push_event):
9883         Unlock blocked pads when they are flushed.
9884
9885 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9886
9887         * docs/README:
9888         * docs/gst/gstreamer-sections.txt:
9889         * gst/gstbin.c:
9890           doc updates
9891         * gst/gstregistry.c: (gst_registry_scan_path_level):
9892           fix for a nasty little missed situation where an installed plug-in
9893           which was in the cache did not get overridden by an uninstalled one
9894           which was earlier in the plugin path because the newly created plugin
9895           for the uninstalled one (not in the registry) didn't get its
9896           ->registered set to TRUE
9897
9898 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9899
9900         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9901         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9902         (gst_collectpads_is_active), (gst_collectpads_collect),
9903         (gst_collectpads_collect_range), (gst_collectpads_start),
9904         (gst_collectpads_stop), (gst_collectpads_peek),
9905         (gst_collectpads_pop), (gst_collectpads_available),
9906         (gst_collectpads_read), (gst_collectpads_flush):
9907           Guard public API with assertions.
9908         
9909         * gst/gstpad.c:
9910           Fix docs for gst_pad_set_link_function().
9911
9912 2005-11-02  Johan Dahlin  <johan@gnome.org>
9913
9914         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9915         Unref found_caps after we used it.
9916
9917 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9918
9919         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9920           Don't try to ref NULL.
9921
9922 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9923
9924         * win32/common/config.h.in:
9925           provide a GST_FUNCTION that just gives a string for now
9926
9927 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9928
9929         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9930         (gst_object_flags_get_type), (register_gst_bin_flags),
9931         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9932         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9933         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9934         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9935         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9936         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9937         (gst_clock_flags_get_type), (register_gst_state),
9938         (gst_state_get_type), (register_gst_state_change_return),
9939         (gst_state_change_return_get_type), (register_gst_state_change),
9940         (gst_state_change_get_type), (register_gst_element_flags),
9941         (gst_element_flags_get_type), (register_gst_core_error),
9942         (gst_core_error_get_type), (register_gst_library_error),
9943         (gst_library_error_get_type), (register_gst_resource_error),
9944         (gst_resource_error_get_type), (register_gst_stream_error),
9945         (gst_stream_error_get_type), (register_gst_event_type),
9946         (gst_event_type_get_type), (register_gst_seek_type),
9947         (gst_seek_type_get_type), (register_gst_seek_flags),
9948         (gst_seek_flags_get_type), (register_gst_format),
9949         (gst_format_get_type), (register_gst_index_certainty),
9950         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9951         (gst_index_entry_type_get_type),
9952         (register_gst_index_lookup_method),
9953         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9954         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9955         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9956         (gst_index_flags_get_type), (register_gst_debug_level),
9957         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9958         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9959         (gst_iterator_result_get_type), (register_gst_iterator_item),
9960         (gst_iterator_item_get_type), (register_gst_message_type),
9961         (gst_message_type_get_type), (register_gst_mini_object_flags),
9962         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9963         (gst_pad_link_return_get_type), (register_gst_flow_return),
9964         (gst_flow_return_get_type), (register_gst_activate_mode),
9965         (gst_activate_mode_get_type), (register_gst_pad_direction),
9966         (gst_pad_direction_get_type), (register_gst_pad_flags),
9967         (gst_pad_flags_get_type), (register_gst_pad_presence),
9968         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9969         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9970         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9971         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9972         (gst_plugin_flags_get_type), (register_gst_rank),
9973         (gst_rank_get_type), (register_gst_query_type),
9974         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9975         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9976         (gst_tag_flag_get_type), (register_gst_task_state),
9977         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9978         (gst_alloc_trace_flags_get_type),
9979         (register_gst_type_find_probability),
9980         (gst_type_find_probability_get_type), (register_gst_uri_type),
9981         (gst_uri_type_get_type), (register_gst_parse_error),
9982         (gst_parse_error_get_type):
9983         * win32/common/gstversion.h:
9984           update win32 copies
9985
9986 2005-11-01  Luca Ognibene  <luogni@tin.it>
9987
9988         * gst/gst.c:
9989           fix docs. popt is dead, long live GOption.
9990
9991 2005-10-31  Wim Taymans  <wim@fluendo.com>
9992
9993         * gst/gstbuffer.h:
9994         Small doc fix.
9995
9996 2005-10-31  Andy Wingo  <wingo@pobox.com>
9997
9998         * Boo!
9999
10000         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10001
10002         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10003         need to serialize property notifications on GLib 2.8. GLib 2.6 has
10004         the possibility of deadlocks here if code calling notify() or
10005         set() has a lock that can be taken in another notify handler (ABBA
10006         with class lock and e.g. python GIL state lock).
10007
10008 2005-10-28  Julien MOUTTE  <julien@moutte.net>
10009
10010         * gst/gstbus.c: Doc updates.
10011
10012 2005-10-28  Wim Taymans  <wim@fluendo.com>
10013
10014         * docs/design/part-TODO.txt:
10015         * gst/gstiterator.c:
10016         * gst/gstsystemclock.c:
10017         * gst/gstsystemclock.h:
10018         Doc updates.
10019
10020 2005-10-28  Edward Hervey  <edward@fluendo.com>
10021
10022         * docs/gst/gstreamer-docs.sgml:
10023         * docs/gst/gstreamer-sections.txt:
10024         the GstURIType documentation page is private, it only defines GstURIType
10025         which should be defined in the GstURIHandler page
10026         
10027 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10028
10029         * gst/gstbin.c: (gst_bin_class_init):
10030         * gst/gstbin.h:
10031         * gst/gstutils.c:
10032         Documentation updates.
10033
10034 2005-10-28  Wim Taymans  <wim@fluendo.com>
10035
10036         * docs/gst/gstreamer-sections.txt:
10037         * gst/gstclock.c:
10038         * gst/gstclock.h:
10039         Documented the clocks.
10040
10041 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
10042
10043         * docs/gst/gstreamer-sections.txt:
10044           move some macros to private sections
10045         * gst/gstminiobject.c:
10046         * gst/gstminiobject.h:
10047           add descriptions provided by ds and some more
10048         * gst/gstpad.h:
10049           mark macro as to be removed
10050
10051 2005-10-28  Wim Taymans  <wim@fluendo.com>
10052
10053         * docs/design/part-TODO.txt:
10054         Add an item to TODO.
10055
10056         * gst/gstiterator.c: (gst_iterator_fold),
10057         (gst_iterator_find_custom):
10058         * gst/gstiterator.h:
10059         Add iterator docs.
10060
10061 2005-10-28  Wim Taymans  <wim@fluendo.com>
10062
10063         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10064         (gst_base_transform_init):
10065         Don't leak class.
10066
10067         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10068         An EOS event marks the queue as completely filled.
10069
10070 2005-10-27  Wim Taymans  <wim@fluendo.com>
10071
10072         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10073         (gst_base_sink_do_sync), (gst_base_sink_get_position):
10074         Some more debugging.
10075
10076         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10077         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10078         (gst_base_transform_event), (gst_base_transform_getrange),
10079         (gst_base_transform_chain):
10080         * gst/base/gstbasetransform.h:
10081         Fix debugging,
10082         Protect transform and concurrent buffer alloc with a new lock.
10083         Try not to break ABI/API.
10084
10085 2005-10-27  Wim Taymans  <wim@fluendo.com>
10086
10087         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10088         (gst_base_src_init), (gst_base_src_query),
10089         (gst_base_src_default_newsegment),
10090         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10091         (gst_base_src_send_event), (gst_base_src_event_handler),
10092         (gst_base_src_pad_get_range), (gst_base_src_loop),
10093         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10094         (gst_base_src_start), (gst_base_src_deactivate),
10095         (gst_base_src_activate_push), (gst_base_src_change_state):
10096         Move some stuff around and cleanup things.
10097
10098 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10099
10100         * gst/base/gstbasesrc.c: (gst_base_src_query):
10101           Add missing break statements.
10102
10103 2005-10-27  Wim Taymans  <wim@fluendo.com>
10104
10105         * check/gst/gstbin.c: (GST_START_TEST):
10106         An extra refcount is taken in basesrc.
10107
10108         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10109         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10110         (gst_base_src_loop):
10111         Small cleanups, check for flushing after being unlocked from the 
10112         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10113         Don't send out EOS when going to READY.
10114
10115 2005-10-27  Wim Taymans  <wim@fluendo.com>
10116
10117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10118         (gst_base_sink_get_position):
10119         Some more debug.
10120
10121         * gst/gstbin.c: (message_check), (bin_replace_message),
10122         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10123         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10124         (bin_query_duration_init), (bin_query_duration_fold),
10125         (bin_query_duration_done), (bin_query_generic_fold),
10126         (gst_bin_query):
10127         * tools/gst-launch.c: (main):
10128         Remove old option.
10129
10130 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10131
10132         * examples/controller/audio-example.c: (main):
10133         * examples/queue/queue.c: (event_loop):
10134         * gst/base/gstbasetransform.h:
10135         * gst/gstelement.c: (gst_element_send_event):
10136         * gst/gstevent.h:
10137         * gst/gstpad.c: (gst_pad_send_event):
10138           fixing examples
10139           fixing docs typos
10140           changing log priority in error situations
10141
10142 2005-10-25  Wim Taymans  <wim@fluendo.com>
10143
10144         * gst/gstbin.c: (message_check), (bin_replace_message),
10145         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10146         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10147         (bin_query_duration_init), (bin_query_duration_fold),
10148         (bin_query_duration_done), (bin_query_generic_fold),
10149         (gst_bin_query):
10150         Some doc and debug updates.
10151         Cache previously requested query DURATION for speed. invalidate
10152         cached duration if element posts a DURATION message.
10153
10154 2005-10-25  Wim Taymans  <wim@fluendo.com>
10155
10156         * docs/design/part-TODO.txt:
10157         Update TODO.
10158
10159         * gst/gstbin.c: (message_check), (bin_replace_message),
10160         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10161         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10162         (bin_query_duration_init), (bin_query_duration_fold),
10163         (bin_query_duration_done), (bin_query_generic_fold),
10164         (gst_bin_query):
10165         Handle SEGMENT_START/DONE messages correctly.
10166         More evolved query algorithm that handles duration queries
10167         correctly.
10168
10169         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10170         (gst_element_get_state_func), (gst_element_abort_state),
10171         (gst_element_commit_state), (gst_element_lost_state):
10172         Some more debugging.
10173
10174         * gst/gstmessage.h:
10175         Added doc.
10176
10177 2005-10-25  Wim Taymans  <wim@fluendo.com>
10178
10179         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10180         Don't use invalid stream_time.
10181
10182         * gst/gstevent.c: (gst_event_new_newsegment):
10183         stream_time in newsegment cannot be undefined.
10184
10185 2005-10-24  Wim Taymans  <wim@fluendo.com>
10186
10187         * gst/gstbus.c:
10188         Doc fix.
10189
10190         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10191         (gst_queue_loop):
10192         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10193
10194 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10195
10196         * docs/libs/tmpl/gstdparam.sgml:
10197         * docs/libs/tmpl/gstdplinint.sgml:
10198         * docs/libs/tmpl/gstdpman.sgml:
10199         * docs/libs/tmpl/gstdpsmooth.sgml:
10200         * docs/libs/tmpl/gstunitconvert.sgml:
10201           these are obsolete
10202
10203 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10204
10205         * configure.ac:
10206           back to HEAD
10207
10208 === release 0.9.4 ===
10209
10210 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10211
10212         * configure.ac:
10213           releasing 0.9.4, "Tyrannosaurus Rex"
10214
10215 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10216
10217         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10218         (gst_file_sink_get_current_offset):
10219           Use fseeko() and ftello() if available. When falling back on
10220           lseek() to get the current offset, fflush() first to make sure
10221           everything is up-to-date and we get the right offset.
10222
10223 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10224
10225         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10226         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10227         * gst/gsterror.c: (_gst_stream_errors_init):
10228         * gst/gsterror.h:
10229         * gst/gstqueue.c: (gst_queue_loop):
10230         * po/POTFILES.in:
10231           remove prematurely added error category and clean up the instances
10232
10233 2005-10-21  Wim Taymans  <wim@fluendo.com>
10234
10235         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10236         (gst_base_sink_get_position), (gst_base_sink_query),
10237         (gst_base_sink_change_state):
10238         Simply set the right flag when going to playing, that's all
10239         we need to do instead of calling a function inside the object
10240         lock (that could take the lock as well and deadlock)
10241
10242 2005-10-21  Wim Taymans  <wim@fluendo.com>
10243
10244         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10245         (gst_base_src_loop):
10246         Don't warn, the peer element knows what to do best when
10247         the seek failed, it might try something else.
10248
10249 2005-10-21  Wim Taymans  <wim@fluendo.com>
10250
10251         * gst/base/gstbasesrc.c: (gst_base_src_init),
10252         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10253         Fix seeking.
10254
10255 2005-10-21  Wim Taymans  <wim@fluendo.com>
10256
10257         * docs/design/part-segments.txt:
10258         More docs.
10259
10260         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10261         Correctly set caps, even on the subbufer.
10262
10263 2005-10-21  Wim Taymans  <wim@fluendo.com>
10264
10265         * docs/gst/gstreamer-docs.sgml:
10266         * docs/gst/gstreamer-sections.txt:
10267         * gst/gstelement.h:
10268         * gst/gstevent.c:
10269         * gst/gstevent.h:
10270         * gst/gstmessage.h:
10271         * gst/gstpad.h:
10272         * gst/gstparse.h:
10273         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10274         * gst/gsttask.h:
10275         * gst/gstutils.c:
10276         * gst/gstutils.h:
10277         And 2% more doc coverage.
10278
10279 2005-10-21  Andy Wingo  <wingo@pobox.com>
10280
10281         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10282         position reporting.
10283
10284 2005-10-20  Wim Taymans  <wim@fluendo.com>
10285
10286         * gst/gsterror.c: (gst_error_get_message):
10287         * gst/gstparse.h:
10288         * gst/gstquery.h:
10289         * gst/gststructure.c:
10290         * gst/gsttrace.c:
10291         * gst/gstutils.c:
10292         More docs.
10293
10294 2005-10-20  Wim Taymans  <wim@fluendo.com>
10295
10296         * gst/gstbuffer.h:
10297         * gst/gstpad.c:
10298         * gst/gstparse.c:
10299         Another 1% more coverage.
10300
10301 2005-10-20  Wim Taymans  <wim@fluendo.com>
10302
10303         * docs/gst/gstreamer-sections.txt:
10304         * gst/gstelement.c: (gst_element_get_state_func),
10305         (gst_element_abort_state), (gst_element_commit_state),
10306         (gst_element_lost_state):
10307         * gst/gstevent.h:
10308         * gst/gstquery.c: (gst_query_set_position),
10309         (gst_query_parse_position), (gst_query_set_duration),
10310         (gst_query_parse_duration), (gst_query_new_convert):
10311         * gst/gstutils.c:
10312         Yay! 1% more docs coverage.
10313
10314 2005-10-20  Wim Taymans  <wim@fluendo.com>
10315
10316         * gst/gstpad.h:
10317         * gst/gstquery.c: (gst_query_set_position),
10318         (gst_query_parse_position), (gst_query_set_duration),
10319         (gst_query_parse_duration), (gst_query_new_convert):
10320         * gst/gstquery.h:
10321         * gst/gstutils.c: (gst_element_query_convert):
10322         * gst/gstutils.h:
10323         Docs and consistency fixes.
10324
10325 2005-10-20  Wim Taymans  <wim@fluendo.com>
10326
10327         * gst/gsttask.c:
10328         * gst/gsttask.h:
10329         More docs.
10330
10331 2005-10-20  Wim Taymans  <wim@fluendo.com>
10332
10333         * gst/gstbin.c: (message_check), (bin_replace_message),
10334         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10335         (update_degree), (gst_bin_sort_iterator_next),
10336         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10337         Reworked the message handling a bit, cache the messages instead of
10338         only the senders. alows us to do more in the future.
10339
10340 2005-10-20  Wim Taymans  <wim@fluendo.com>
10341
10342         * docs/design/part-TODO.txt:
10343         Update TODO
10344
10345         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10346         (gst_base_sink_query):
10347         Don't use clock time to report position when in EOS.
10348
10349 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10350
10351         * tools/gst-inspect.c: (print_interfaces),
10352         (print_element_properties_info), (print_element_info):
10353           Fix interface output with gst-inspect -a; don't print
10354           newlines after double/float properties.
10355
10356 2005-10-20  Wim Taymans  <wim@fluendo.com>
10357
10358         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10359         (gst_base_sink_query):
10360         Speed up current position calculation.
10361
10362         * gst/base/gstbasesrc.c: (gst_base_src_query),
10363         (gst_base_src_default_newsegment):
10364         Correctly set stream position in newsegment.
10365
10366         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10367         (update_degree), (gst_bin_sort_iterator_next),
10368         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10369         * gst/gstmessage.c: (gst_message_new_custom):
10370         Clean up debugging info
10371
10372         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10373         (gst_queue_loop), (gst_queue_handle_src_query):
10374         Pause task faster.
10375
10376 2005-10-19  Wim Taymans  <wim@fluendo.com>
10377
10378         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10379         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10380         Fix query handling again.
10381
10382 2005-10-19  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10385         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10386         * gst/base/gstbasesrc.c: (gst_base_src_query):
10387         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10388         * gst/elements/gsttypefindelement.c:
10389         (gst_type_find_handle_src_query), (find_element_get_length),
10390         (gst_type_find_element_activate):
10391         API change fix.
10392
10393         * gst/gstquery.c: (gst_query_new_position),
10394         (gst_query_set_position), (gst_query_parse_position),
10395         (gst_query_new_duration), (gst_query_set_duration),
10396         (gst_query_parse_duration), (gst_query_set_segment),
10397         (gst_query_parse_segment):
10398         * gst/gstquery.h:
10399         Bundling query position/duration is not a good idea since duration
10400         does not change much and we don't want to recalculate it for every
10401         position query, so they are separated again..
10402         Base value in segment query is not needed.
10403
10404         * gst/gstqueue.c: (gst_queue_handle_src_query):
10405         * gst/gstutils.c: (gst_element_query_position),
10406         (gst_element_query_duration), (gst_pad_query_position),
10407         (gst_pad_query_duration):
10408         * gst/gstutils.h:
10409         Updates for query API change.
10410         Added some docs here and there.
10411
10412 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10413
10414         * check/gst/gstbin.c: (GST_START_TEST):
10415         * check/gst/gstghostpad.c: (GST_START_TEST):
10416         * check/pipelines/cleanup.c: (GST_START_TEST):
10417           wait on thread to die so we can check refcount correctly
10418
10419 2005-10-18  Wim Taymans  <wim@fluendo.com>
10420
10421         * check/pipelines/stress.c: (GST_START_TEST):
10422         Make check a little more time consuming.
10423
10424 2005-10-18  Wim Taymans  <wim@fluendo.com>
10425
10426         * check/Makefile.am:
10427         * check/pipelines/stress.c: (GST_START_TEST),
10428         (simple_launch_lines_suite), (main):
10429         Small state change torture test.
10430
10431         * docs/design/part-states.txt:
10432         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10433         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10434         (gst_base_sink_change_state):
10435         Never take state lock from streaming thread, clean up ugly
10436         hacks. Unfortunatly core does not yet support nice ways to
10437         async commit state.
10438         
10439         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10440         (bin_bus_handler):
10441         Start state recalc if a STATE_DIRTY message is posted, but only
10442         on the toplevel bin.
10443
10444         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10445         (gst_element_get_state_func), (gst_element_abort_state),
10446         (gst_element_commit_state), (gst_element_lost_state),
10447         (gst_element_set_state_func), (gst_element_change_state):
10448         * gst/gstelement.h:
10449         State variables are now protected with the LOCK, the state
10450         lock is only used to serialize _set_state().
10451
10452 2005-10-18  Wim Taymans  <wim@fluendo.com>
10453
10454         * check/gst/gstbin.c: (GST_START_TEST):
10455         * check/gst/gstmessage.c: (GST_START_TEST):
10456         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10457         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10458         (bin_bus_handler):
10459         * gst/gstelement.c: (gst_element_abort_state),
10460         (gst_element_commit_state), (gst_element_lost_state):
10461         * gst/gstmessage.c: (gst_message_new_state_changed),
10462         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10463         (gst_message_new_segment_done), (gst_message_new_duration),
10464         (gst_message_parse_state_changed),
10465         (gst_message_parse_segment_start),
10466         (gst_message_parse_segment_done), (gst_message_parse_duration):
10467         * gst/gstmessage.h:
10468         * tools/gst-launch.c: (event_loop):
10469         Seriously, this is better than a previous commit as we only need
10470         to notify the fact that an element changed state in a streaming
10471         thread, marking the state of the parents dirty, hence the 
10472         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10473         message.
10474
10475 2005-10-18  Wim Taymans  <wim@fluendo.com>
10476
10477         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10478         (gst_bin_recalc_func):
10479         * gst/gstelement.c: (gst_element_set_clock),
10480         (gst_element_abort_state), (gst_element_lost_state):
10481         Cleanups, prepare for state change fixes.
10482
10483 2005-10-18  Wim Taymans  <wim@fluendo.com>
10484
10485         * gst/gstbin.h:
10486         * gst/gstelement.c: (gst_element_class_init),
10487         (gst_element_set_state), (gst_element_set_state_func):
10488         * gst/gstelement.h:
10489         Pending ABI changes.
10490         GThreadPool in GstBinClass to monitor async state changes.
10491         state_cookie in GstElement to detect concurrent gst/set state.
10492         set_state is now virtual too in case a very complicated element
10493         has to be constructed.
10494
10495 2005-10-18  Wim Taymans  <wim@fluendo.com>
10496
10497         * check/gst/gstbin.c: (GST_START_TEST):
10498         * check/gst/gstmessage.c: (GST_START_TEST):
10499         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10500         * gst/gstbin.c: (bin_bus_handler):
10501         * gst/gstelement.c: (gst_element_commit_state),
10502         (gst_element_lost_state):
10503         * gst/gstmessage.c: (gst_message_new_state_changed),
10504         (gst_message_new_segment_start), (gst_message_new_segment_done),
10505         (gst_message_new_duration), (gst_message_parse_state_changed),
10506         (gst_message_parse_segment_start),
10507         (gst_message_parse_segment_done), (gst_message_parse_duration):
10508         * gst/gstmessage.h:
10509         * tools/gst-launch.c: (event_loop):
10510         Make messages future proof.
10511         state-change gets a flag if it was a message comming from the
10512         streaming thread.
10513         segment-start/stop can also be specified in other formats.
10514         A message to notify an app that a pipeline changed playback 
10515         duration.
10516         Also fix a GstMessage leak in -launch
10517
10518 2005-10-18  Andy Wingo  <wingo@pobox.com>
10519
10520         * gst/gstelement.c (gst_element_dispose): More helpful message.
10521
10522 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10523
10524         reviewed by: <delete if not using a buddy>
10525
10526         * common/gtk-doc.mak:
10527
10528 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10529
10530         * gst/gstregistry.c: (gst_registry_scan_path_level):
10531           unref a plug-in we get that was already initialized
10532
10533 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10534
10535         * docs/gst/gstreamer-sections.txt:
10536         * docs/libs/gstreamer-libs-sections.txt:
10537         * gst/gstelement.h:
10538           add new api entries
10539           hide internal macro
10540
10541 2005-10-17  Andy Wingo  <wingo@pobox.com>
10542
10543         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10544         cleanup.
10545
10546         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10547
10548         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10549
10550         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10551         (gst_element_get_state_func): Better debug message.
10552         (gst_element_commit_state): s/INFO/DEBUG/.
10553         (gst_element_lost_state, gst_element_change_state): 
10554
10555         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10556         (gst_message_new_custom): s/INFO/LOG/.
10557
10558 2005-10-17  Michael Smith <msmith@fluendo.com>
10559
10560         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10561           Check if end time is valid using end time, not start time.
10562
10563 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10564
10565         * check/gst-libs/controller.c: (GST_START_TEST),
10566         (gst_controller_suite):
10567         * libs/gst/controller/gstcontroller.c:
10568         (gst_controlled_property_set_interpolation_mode):
10569         * libs/gst/controller/gstcontroller.h:
10570         * libs/gst/controller/gstinterpolation.c:
10571         * testsuite/controller/.cvsignore:
10572         * testsuite/controller/Makefile.am:
10573         * testsuite/controller/interpolator.c:
10574           merge controller testsuites
10575           fix broken tests
10576           remove mem-chunk from docs
10577
10578 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * gst/gstmemchunk.c:
10581         * gst/gstmemchunk.h:
10582         * gst/gsttrashstack.c:
10583         * gst/gsttrashstack.h:
10584           out.  get out.  you're fired.  to the Attic !
10585
10586 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10587
10588         * gst/gstcaps.c: (gst_caps_intersect):
10589           fix signedness issues in a (hopefully) correct way
10590         * gst/gstelement.c: (gst_element_pads_activate):
10591           some debugging
10592         * gst/gstobject.c: (gst_object_set_parent):
10593           some debugging
10594
10595 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10596
10597         * gst/gstvalue.h: Fix prototypes.
10598
10599 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10600
10601         * docs/gst/gstreamer-sections.txt:
10602         * gst/gst.c: (gst_version_string):
10603         * gst/gst.h:
10604         * gst/gstversion.h.in:
10605         * win32/common/libgstreamer.def:
10606           add gst_version_string ()
10607
10608 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10609
10610         * configure.ac:
10611           clean up further
10612         * gst/gst.c: (init_post):
10613         * win32/common/config.h.in:
10614           it's PLUGINDIR now
10615         * gst/gstcaps.c: (gst_caps_intersect):
10616           use gint64, the range could be bigger than a guint
10617
10618 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10619
10620         * gst/gstclock.h:
10621           document potential problem in 2038
10622
10623 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10624
10625         * gst/gstcaps.c: (gst_caps_intersect):
10626           Fix guint j diving under 0
10627
10628 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10629
10630         * configure.ac:
10631         * win32/common/config.h:
10632         * win32/common/config.h.in:
10633           check for process.h, declares getpid() on Windows
10634         * gst/gstinfo.c:
10635           include process.h if we have it
10636         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10637         * gst/gstmemchunk.h:
10638           fix signedness issues
10639         * win32/common/libgstreamer.def:
10640           fix get_type's
10641
10642 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10643
10644         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10645         fix. Because of unsigned ints, caps intersection was going nuts and
10646         trying to access structures with G_MAXUINT index. That fixes
10647         videotestsrc ! ffmpegcolorspace ! fakesink
10648         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10649         consistency.
10650
10651 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10652
10653         * configure.ac:
10654           use the gettext macro
10655         * gst/elements/gstelements.c:
10656         * gst/gst.c:
10657         * gst/indexers/gstindexers.c:
10658           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10659         * win32/common/config.h:
10660           updated config.h
10661         * win32/common/config.h.in:
10662           add the template to generate config.h
10663         * win32/common/gstenumtypes.c:
10664         * win32/common/gstversion.h:
10665           updated copies
10666
10667 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10668
10669         * gst/gst.c: (gst_version):
10670         * gst/gstversion.h.in:
10671           add the nano
10672
10673 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10674
10675         * gst/gstevent.h:
10676           Oops, add missing closing bracket.
10677
10678 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10679
10680         * configure.ac:
10681           use common m4's for argument checking
10682
10683 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10684
10685         * docs/gst/gstreamer-sections.txt:
10686         * gst/gstevent.h:
10687           Add GST_EVENT_TYPE_NAME() macro.
10688
10689 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10690
10691         * gst/gstinfo.c:
10692         * gst/gstpluginfeature.c:
10693         * gst/gsttask.c:
10694           privatize more symbols
10695
10696 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10697
10698         * configure.ac:
10699           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10700           everything that uses GStreamer API should have the includes
10701
10702 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10703
10704         * docs/gst/gstreamer-sections.txt:
10705         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10706         * gst/gstvalue.h:
10707           give each value a _get_type, removes the DATA exports
10708
10709 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10710
10711         * gst/gst.c:
10712         * gst/gst.h:
10713           remove _gst_registry_auto_load, not used anymore
10714         * gst/gstbin.c: (gst_bin_get_type):
10715         * gst/gstbin.h:
10716         * gst/gstelement.c: (gst_element_get_type):
10717         * gst/gstelement.h:
10718         * gst/gstobject.c: (gst_object_get_type):
10719         * gst/gstobject.h:
10720         * gst/gstpad.c: (gst_pad_get_type):
10721         * gst/gstpad.h:
10722           make _get_type functions similar, fixes data export from library
10723
10724 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10725
10726         * configure.ac:
10727           correctly make conditionals
10728         * gst/elements/Makefile.am:
10729         * gst/elements/gstelements.c:
10730           fix typo causing fdsrc not to build
10731
10732 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10733
10734         * testsuite/Makefile.am:
10735         * testsuite/bytestream/.cvsignore:
10736         * testsuite/bytestream/Makefile.am:
10737         * testsuite/bytestream/filepadsink.c:
10738         * testsuite/bytestream/gstbstest.c:
10739         * testsuite/bytestream/test1.c:
10740         * testsuite/bytestream/testfile1:
10741         * testsuite/caps/normalisation.c:
10742         * testsuite/caps/random.c: (main):
10743         * testsuite/cleanup/.cvsignore:
10744         * testsuite/cleanup/Makefile.am:
10745         * testsuite/cleanup/cleanup1.c:
10746         * testsuite/cleanup/cleanup2.c:
10747         * testsuite/cleanup/cleanup3.c:
10748         * testsuite/cleanup/cleanup4.c:
10749         * testsuite/cleanup/cleanup5.c:
10750         * testsuite/controller/interpolator.c:
10751         * testsuite/debug/printf_extension.c: (main):
10752         * testsuite/elements/tee.c:
10753         * testsuite/negotiation/.cvsignore:
10754         * testsuite/negotiation/Makefile.am:
10755         * testsuite/negotiation/pad_link.c:
10756         * testsuite/pad/Makefile.am:
10757         * testsuite/pad/chainnopull.c:
10758         * testsuite/pad/getnopush.c:
10759         * testsuite/pad/link.c:
10760         * testsuite/refcounting/sched.c: (create_pipeline):
10761         * testsuite/registry/Makefile.am:
10762         * testsuite/registry/gst-print-formats.c:
10763         * testsuite/schedulers/.cvsignore:
10764         * testsuite/schedulers/142183-2.c:
10765         * testsuite/schedulers/142183.c:
10766         * testsuite/schedulers/143777-2.c:
10767         * testsuite/schedulers/143777.c:
10768         * testsuite/schedulers/147713.c:
10769         * testsuite/schedulers/147819.c:
10770         * testsuite/schedulers/147894-2.c:
10771         * testsuite/schedulers/147894.c:
10772         * testsuite/schedulers/Makefile.am:
10773         * testsuite/schedulers/group_link.c:
10774         * testsuite/schedulers/queue_link.c:
10775         * testsuite/schedulers/relink.c:
10776         * testsuite/schedulers/unlink.c:
10777         * testsuite/schedulers/unref.c:
10778         * testsuite/schedulers/useless_iteration.c:
10779         * testsuite/states/bin.c:
10780           clean out/remove some stuff from the testsuite directories
10781
10782 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10783
10784         * configure.ac:
10785           check for some headers
10786         * gst/elements/Makefile.am:
10787         * gst/elements/gstelements.c:
10788           don't compile fdsrc without sys/socket.h
10789         * gst/indexers/Makefile.am:
10790         * gst/indexers/gstindexers.c: (plugin_init):
10791           don't compile fileindex without mmap
10792
10793 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10794
10795         * configure.ac:
10796           reorganize
10797           clean up
10798           document more
10799           remove cruft
10800         * check/Makefile.am:
10801         * docs/gst/Makefile.am:
10802         * examples/helloworld/Makefile.am:
10803         * gst/Makefile.am:
10804         * gst/base/Makefile.am:
10805         * gst/check/Makefile.am:
10806         * gst/elements/Makefile.am:
10807         * gst/indexers/Makefile.am:
10808         * gst/parse/Makefile.am:
10809         * libs/gst/controller/Makefile.am:
10810         * libs/gst/dataprotocol/Makefile.am:
10811         * examples/helloworld/helloworld.c: (event_loop):
10812           compile fixes, though it's not being compiled currently
10813
10814 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10815
10816         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10817           Add some simple tests for the new taglist date API.
10818
10819 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10820
10821         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10822         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10823           Beautify 'last-message' output: print 'none' for buffer timestamps
10824           and durations if none is set; improve alignment with next messages.
10825
10826 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10827
10828         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10829         * gst/gstpluginfeature.h:
10830         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10831         * gst/gstregistry.h:
10832         * docs/gst/gstreamer-sections.txt:
10833           Add new API to check plugin feature version requirements.
10834
10835         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10836           Some basic tests for the above.         
10837
10838 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10839
10840         * gst/gststructure.c: (gst_structure_to_string):
10841           guard against NULL printf - happens when for example
10842           a message structure with GstClock gets serialized
10843
10844 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10845
10846         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10847           Fix presumable copy'n'pasto.
10848
10849 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10850
10851         * gst/elements/gstfakesrc.h:
10852         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10853         * gst/elements/gsttypefindelement.c:
10854           fix some signedness
10855         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10856           I wonder if this could actually write +2GB files before
10857
10858 2005-10-13  Andy Wingo  <wingo@pobox.com>
10859
10860         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10861         Fix Timmeke Waymans bug.
10862         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10863         string of the proper length to gst_caps_from_string. There's a
10864         potential for, before this fix, that this could cause someone
10865         connecting over the network to cause a segfault if the payload is
10866         not NUL-terminated.
10867
10868 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10869
10870         * docs/design/draft-push-pull.txt:
10871         * docs/design/part-overview.txt:
10872         * docs/random/TODO-pre-0.9:
10873         * docs/random/old/ChangeLog.gstreamer:
10874         * gst/base/gstpushsrc.c:
10875         * gst/gstclock.c:
10876           fixed typos
10877
10878 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10879
10880         * gst/glib-compat.c: (gst_flags_get_first_value):
10881         * gst/glib-compat.h:
10882         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10883         (gst_value_compare_double), (gst_value_serialize_flags):
10884           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10885           infinite loop
10886
10887 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10888
10889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10890         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10891           fix up debugging
10892         * tools/gst-launch.c: (event_loop):
10893           print out clock nicely
10894
10895 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10896
10897         * docs/gst/gstreamer-sections.txt:
10898         * gst/gsttaglist.h:
10899         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10900         (gst_tag_list_get_date_index):
10901           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10902           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10903
10904 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10905
10906         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10907         (gst_collectpads_chain):
10908         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10909         in CollectData.
10910
10911 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10912
10913         * docs/gst/gstreamer-sections.txt:
10914         * gst/gst.c:
10915         * gst/gsterror.h:
10916         * tools/gst-inspect.c: (main):
10917         * tools/gst-launch.c: (main):
10918         * tools/gst-run.c: (main):
10919         * tools/gst-xmlinspect.c: (main):
10920           fix GOption context leaks
10921           doc fixes
10922
10923 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10924
10925         * gst/gstbus.c:
10926           use HAVE_UNISTD_H
10927         * win32/common/config.h:
10928           update config
10929         * win32/vs6/grammar.dsp:
10930         * win32/vs6/libgstelements.dsp:
10931         * win32/vs6/libgstreamer.dsp:
10932           update vs6 files
10933
10934 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10935
10936         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10937         * gst/base/gstbasesrc.c: (gst_base_src_query):
10938           fix more guint64<->gdouble conversions
10939
10940 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10941
10942         * Makefile.am:
10943           add win32-update target
10944         * win32/common/gstconfig.h:
10945         * win32/common/gstenumtypes.c:
10946         * win32/common/gstenumtypes.h:
10947         * win32/common/gstversion.h:
10948           add files that visual studio can't generate
10949
10950 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10951
10952         * Makefile.am:
10953           add a win32-update target
10954         * configure.ac:
10955
10956 2005-10-12  Wim Taymans  <wim@fluendo.com>
10957
10958         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10959         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10960         * gst/gstelement.c: (gst_element_commit_state),
10961         (gst_element_set_state):
10962         Protect flags with proper lock.
10963         unref provided cached clock in dispose.
10964
10965 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10966
10967         * gst/gst.c:
10968         * gst/gstminiobject.h:
10969         * gst/gstpad.h:
10970         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10971           removed unused flags from miniobject
10972           doc fixes
10973
10974 2005-10-12  Wim Taymans  <wim@fluendo.com>
10975
10976         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10977         (gst_file_sink_event), (gst_file_sink_render):
10978         Flush before seeking.
10979
10980 2005-10-12  Andy Wingo  <wingo@pobox.com>
10981
10982         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10983         always been the case.
10984
10985 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10986
10987         * check/gst/gstbin.c: (GST_START_TEST):
10988         * docs/gst/gstreamer-sections.txt:
10989         * gst/base/gstbasesink.c: (gst_base_sink_init):
10990         * gst/base/gstbasesrc.c: (gst_base_src_init),
10991         (gst_base_src_get_range), (gst_base_src_check_get_range),
10992         (gst_base_src_start), (gst_base_src_stop):
10993         * gst/base/gstbasesrc.h:
10994         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10995         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10996         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10997         (bin_bus_handler):
10998         * gst/gstbin.h:
10999         * gst/gstbuffer.h:
11000         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11001         * gst/gstbus.h:
11002         * gst/gstelement.c: (gst_element_is_locked_state),
11003         (gst_element_set_locked_state), (gst_element_commit_state),
11004         (gst_element_set_state):
11005         * gst/gstelement.h:
11006         * gst/gstindex.c: (gst_index_init):
11007         * gst/gstindex.h:
11008         * gst/gstminiobject.h:
11009         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11010         (gst_object_set_parent):
11011         * gst/gstobject.h:
11012         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11013         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11014         * gst/gstpad.h:
11015         * gst/gstpadtemplate.h:
11016         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11017         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11018         * gst/gstpipeline.h:
11019         * gst/indexers/gstfileindex.c: (gst_file_index_load),
11020         (gst_file_index_commit):
11021         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11022         * testsuite/pad/link.c: (gst_test_src_init),
11023         (gst_test_filter_init), (gst_test_sink_init):
11024         * testsuite/states/locked.c: (main):
11025           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11026           moved bitshift from macro to enum definition
11027
11028 2005-10-12  Wim Taymans  <wim@fluendo.com>
11029
11030         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11031         * gst/elements/gstfilesink.c: (gst_file_sink_event),
11032         (gst_file_sink_render):
11033         Some more debugging info.
11034
11035 2005-10-12  Wim Taymans  <wim@fluendo.com>
11036
11037         * docs/design/part-states.txt:
11038         * tools/gst-launch.c: (main):
11039         Some doc updates.
11040         Revert non-intentional change.
11041
11042 2005-10-12  Wim Taymans  <wim@fluendo.com>
11043
11044         * check/gst/gstbin.c: (GST_START_TEST):
11045         * check/gst/gstelement.c: (GST_START_TEST):
11046         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11047         * check/gst/gstghostpad.c: (GST_START_TEST):
11048         * check/gst/gstpipeline.c: (GST_START_TEST):
11049         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11050         * check/states/sinks.c: (GST_START_TEST):
11051         * gst/elements/gsttypefindelement.c: (stop_typefinding):
11052         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11053         (gst_bin_remove_func), (gst_bin_get_state_func),
11054         (gst_bin_recalc_state), (gst_bin_change_state_func),
11055         (bin_bus_handler):
11056         * gst/gstelement.c: (gst_element_get_state_func),
11057         (gst_element_get_state), (gst_element_abort_state),
11058         (gst_element_commit_state), (gst_element_set_state),
11059         (gst_element_change_state), (gst_element_change_state_func):
11060         * gst/gstelement.h:
11061         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11062         (gst_pipeline_provide_clock_func):
11063         * gst/gstutils.c: (gst_element_link_pads_filtered):
11064         * tools/gst-launch.c: (main):
11065         * tools/gst-typefind.c: (main):
11066         Use GstClockTime in _get_state() instead of GTimeVal.
11067         Remove old code in gstutils.c
11068
11069 2005-10-12  Andy Wingo  <wingo@pobox.com>
11070
11071         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11072         removed.
11073
11074         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11075         there is no task. Shouldn't affect any code, as nothing in our
11076         plugins checks this return value.
11077         (gst_pad_stop_task): Also take the stream lock if the pad has no
11078         task. Docs updated.
11079
11080 2005-10-12  Wim Taymans  <wim@fluendo.com>
11081
11082         * gst/gstpad.c: (pre_activate), (post_activate),
11083         (gst_pad_activate_pull), (gst_pad_activate_push):
11084         Cleanup activation code. Reset old state if
11085         activation failed.
11086
11087 2005-10-12  Wim Taymans  <wim@fluendo.com>
11088
11089         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11090         (gst_base_sink_change_state):
11091         No need to prerol after receiving EOS.
11092
11093         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11094         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11095         * gst/elements/gstidentity.c: (gst_identity_event):
11096         Print events more verbosely.
11097
11098 2005-10-12  Wim Taymans  <wim@fluendo.com>
11099
11100         * check/Makefile.am:
11101         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11102         * check/states/sinks2.c:
11103         Moved sinks2 testcode in sinks check.
11104
11105         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11106         (gst_bin_remove_func), (gst_bin_recalc_state),
11107         (gst_bin_change_state_func), (bin_bus_handler):
11108         Fix potential race condition when _get_state() iterated over an
11109         ASYNC element right before it posted a state completion.
11110
11111         * gst/gstclock.h:
11112         Do proper cast here.
11113
11114         * gst/gstevent.c: (gst_event_new_newsegment),
11115         (gst_event_parse_newsegment):
11116         A playback rate of 0.0 is not allowed.
11117
11118 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11119
11120         * win32/common/config.h:
11121         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11122         (_trewinddir), (_ttelldir), (_tseekdir):
11123         * win32/common/dirent.h:
11124         * win32/common/gtchar.h:
11125         * win32/common/libgstbase.def:
11126         * win32/common/libgstreamer.def:
11127         * win32/vs6/grammar.dsp:
11128         * win32/vs6/gst_inspect.dsp:
11129         * win32/vs6/gst_launch.dsp:
11130         * win32/vs6/gstreamer.dsw:
11131         * win32/vs6/libgstbase.dsp:
11132         * win32/vs6/libgstelements.dsp:
11133         * win32/vs6/libgstreamer.dsp:
11134           Visual Studio 6 project files, and a new common directory.
11135           Phear.
11136
11137 2005-10-11  Wim Taymans  <wim@fluendo.com>
11138
11139         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11140         (gst_base_sink_do_sync), (gst_base_sink_query),
11141         (gst_base_sink_change_state):
11142         * gst/base/gstbasesink.h:
11143         Correctly parse newsegment info.
11144
11145 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11146
11147         * gst/gst.c: (init_post):
11148           split plugin paths correctly
11149
11150 2005-10-11  Wim Taymans  <wim@fluendo.com>
11151
11152         * check/gst/gstevent.c: (GST_START_TEST):
11153         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11154         (gst_base_sink_change_state):
11155         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11156         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11157         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11158         * gst/gstevent.c: (gst_event_new_newsegment),
11159         (gst_event_parse_newsegment):
11160         * gst/gstevent.h:
11161         Added extra flag to newsegment for future API freeze.
11162         Updated check and base elements.
11163
11164 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11165
11166         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11167         (gst_collectpads_add_pad), (gst_collectpads_pop),
11168         (gst_collectpads_event), (gst_collectpads_chain):
11169         * gst/base/gstcollectpads.h: Handle EOS correctly.
11170
11171 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11172
11173         * tools/gst-launch.c: (main):
11174           more null protecting
11175
11176 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11177
11178         * gst/gst-i18n-lib.h:
11179           check for ENABLE_NLS, not GETTEXT_PACKAGE
11180         * gst/gstregistry.c: (gst_registry_add_plugin),
11181         (gst_registry_scan_path_level),
11182         (_gst_registry_remove_cache_plugins):
11183           protect possibly NULL strings
11184         * gst/parse/types.h:
11185           config.h already included before
11186         * tools/gst-inspect.c: (main):
11187           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11188           check for ENABLE_NLS, not GETTEXT_PACKAGE
11189         * tools/gst-launch.c: (main):
11190           check for ENABLE_NLS, not GETTEXT_PACKAGE
11191
11192 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11193
11194         * configure.ac:
11195           if we don't have glib, fail before testing 2.8
11196         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11197           fix a leak, should fix plugins-base testsuite
11198
11199 2005-10-11  Andy Wingo  <wingo@pobox.com>
11200
11201         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11202         take the mode we're going to as an arg. Go head and set the mode
11203         and flushing flags now, so that if the activate function starts a
11204         thread all the flags will be in the right state.
11205         (post_activate): Renamed also. Just handle making sure streaming
11206         finishes for the deactivation case, and setting the deactivated
11207         mode.
11208         (gst_pad_set_active): Complain loudly if deactivation fails.
11209         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11210         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11211         remove the terrible hack.
11212
11213 2005-10-11  Wim Taymans  <wim@fluendo.com>
11214
11215         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11216         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11217         (gst_bin_recalc_state), (gst_bin_change_state_func),
11218         (gst_bin_dispose), (bin_bus_handler):
11219         * gst/gstbin.h:
11220         Prepare to make current EOS message queue more generic.
11221         Fix some typos.
11222
11223         * gst/gstevent.c: (gst_event_new_newsegment),
11224         (gst_event_parse_newsegment):
11225         * gst/gstevent.h:
11226         Rename base to stream_time.
11227
11228         * gst/gstmessage.h:
11229         Fix typo in docs.
11230
11231 2005-10-11  Wim Taymans  <wim@fluendo.com>
11232
11233         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11234         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11235         (gst_bin_change_state_func), (bin_bus_handler):
11236         * gst/gstbin.h:
11237         Work on proper clock selection.
11238
11239 2005-10-11  Edward Hervey  <edward@fluendo.com>
11240
11241         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11242         * libs/gst/controller/gstcontroller.h:
11243         Added GList* version of _remove_properties() in order to be able to wrap
11244         it in bindings.
11245
11246 2005-10-11  Wim Taymans  <wim@fluendo.com>
11247
11248         * docs/design/part-states.txt:
11249         Some more docs.
11250
11251         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11252         (gst_bin_change_state_func), (bin_bus_handler):
11253         Doc updates. Don't distribute the same clock over and over again.
11254
11255         * gst/gstclock.c:
11256         * gst/gstclock.h:
11257         Doc updates.
11258
11259         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11260         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11261         (gst_pad_send_event):
11262         * gst/gstpad.h:
11263         Make probe emission threadsafe again.
11264         Register quarks and move _get_name() from utils.
11265         Doc updates.
11266
11267         * gst/gstpipeline.c: (gst_pipeline_class_init),
11268         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11269         Only redistribute the clock of it changed.
11270
11271         * gst/gstsystemclock.h:
11272         Doc updates. 
11273
11274         * gst/gstutils.c:
11275         * gst/gstutils.h:
11276         Moved the _flow_get_name() to GstPad.
11277
11278 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11279
11280         * check/gst-libs/gdp.c: (GST_START_TEST):
11281         * check/gst/gstcaps.c: (GST_START_TEST):
11282         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11283         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11284         (gst_dp_packet_from_caps):
11285           fix more valgrind warnings before turning up the heat
11286
11287 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11288
11289         * gst/parse/grammar.y:
11290           some cleanup before the hacking
11291
11292 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11293
11294         * gst/base/gstbasesrc.c: (gst_base_src_query):
11295           use conversions
11296         * gst/gstutils.c: (gst_guint64_to_gdouble),
11297         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11298         * gst/gstutils.h:
11299           externalize, basesrc uses it
11300           obviously the implementation needs testing
11301
11302 2005-10-10  Wim Taymans  <wim@fluendo.com>
11303
11304         * tests/sched/Makefile.am:
11305         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11306         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11307
11308 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11309
11310         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11311           apparently converting from guint64 to double is not implemented
11312           on MSVC
11313
11314 2005-10-10  Wim Taymans  <wim@fluendo.com>
11315
11316         * check/Makefile.am:
11317         * check/generic/states.c: (GST_START_TEST):
11318         * check/gst/gstbin.c: (GST_START_TEST):
11319         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11320         * check/states/sinks.c: (GST_START_TEST):
11321         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11322         (main):
11323         Check fixes, use API as stated in design docs, remove hacks.
11324
11325         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11326         (gst_base_sink_change_state):
11327         Catch stopping our task while we're shutting down.
11328
11329         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11330         (gst_bin_remove_func), (gst_bin_get_state_func),
11331         (gst_bin_recalc_state), (gst_bin_change_state_func),
11332         (bin_bus_handler):
11333         * gst/gstbin.h:
11334         * gst/gstelement.c: (gst_element_init),
11335         (gst_element_get_state_func), (gst_element_abort_state),
11336         (gst_element_commit_state), (gst_element_lost_state),
11337         (gst_element_set_state), (gst_element_change_state),
11338         (gst_element_change_state_func):
11339         * gst/gstelement.h:
11340         New state change algorithm (see #318116)
11341
11342         * gst/gstpipeline.c: (gst_pipeline_class_init),
11343         (gst_pipeline_init), (gst_pipeline_set_property),
11344         (gst_pipeline_get_property), (do_pipeline_seek),
11345         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11346         * gst/gstpipeline.h:
11347         Remove crude state change hacks.
11348
11349         * gst/gstutils.h:
11350         Remove crude hacks.
11351
11352         * tools/gst-launch.c: (main):
11353         Fixes for state change. Needs some more work to fully use the
11354         new stuff.
11355
11356 2005-10-10  Andy Wingo  <wingo@pobox.com>
11357
11358         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11359
11360         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11361         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11362         issue.
11363
11364 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11365
11366         * gst/gstiterator.c: (gst_iterator_new):
11367           Fix my previous commit: GTypes passed to gst_iterator_new()
11368           can be fundamental types.
11369
11370 2005-10-10  Wim Taymans  <wim@fluendo.com>
11371
11372         * gst/gstelement.c: (gst_element_iterate_pad_list),
11373         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11374         (gst_element_iterate_sink_pads):
11375         Use src/sink pads lists for the respective iterators instead
11376         of filtering.
11377
11378 2005-10-10  Andy Wingo  <wingo@pobox.com>
11379
11380         Merged in popt removal + GOption addition patch from Ronald, bug
11381         #169772.
11382
11383         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11384         GstElement macros around, remove popt-related symbols, add goption
11385         stuff.
11386
11387         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11388         
11389         * docs/gst/Makefile.am:
11390         * docs/libs/Makefile.am: No POPT_CFLAGS.
11391         
11392         * examples/manual/Makefile.am:
11393         * docs/manual/basics-init.xml: Doc updates with an example.
11394         
11395         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11396         (gst_init), (parse_one_option), (parse_goption_arg):
11397         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11398         bit of hand merging and debugging to get the GOption stuff working
11399         tho.
11400         
11401         * tests/Makefile.am:
11402         * tools/Makefile.am:
11403         * tools/gst-inspect.c: (main):
11404         * tools/gst-launch.c: (main):
11405         * tools/gst-run.c: (main):
11406         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11407
11408 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11409
11410         * gst/gstiterator.c: (gst_iterator_new):
11411           Add assertions to make sure passed GType is likely to really
11412           be a GType (as the compiler won't catch it if the size and
11413           GType arguments get mixed up, see #318447).
11414
11415 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11416
11417         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11418
11419         * gst/gstbin.c: (gst_bin_iterate_sorted):
11420           Pass GType and size arguments to gst_iterator_new() in the right
11421           order (maybe we should make _new() take the GType as first argument
11422           just like _new_list()?) (#318447).
11423           
11424
11425 2005-10-10  Wim Taymans  <wim@fluendo.com>
11426
11427         * gst/gstelement.c: (gst_element_finalize):
11428         And free the GStaticRecMutex too
11429
11430 2005-10-10  Andy Wingo  <wingo@pobox.com>
11431
11432         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11433         Allocate and free the mutex properly.
11434
11435         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11436         New macros.
11437         (GstElement): The state_lock is now recursive. Rebuild your
11438         plugins, suckers. Old macros adapted.
11439
11440         * docs/gst/gstreamer-sections.txt: Doc updates.
11441
11442         * gst/gstutils.h:
11443         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11444         (g_static_rec_cond_wait): Ported from state changes patch, while
11445         we wait on bug #317802 to be solved in a well-distributed GLib.
11446
11447         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11448         gst_element_change_state, variable name changes.
11449         (gst_element_change_state): Split out of gst_element_set_state in
11450         preparation for the state change merge. Doesn't pay attention to
11451         the 'transition' argument.
11452         (gst_element_set_state): Updates, hopefully purely cosmetic.
11453         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11454         state change patch.
11455         (gst_element_get_state_func): Renamed from get_state, cosmetic
11456         changes.
11457
11458 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11459
11460         * gst/elements/gstelements.c:
11461         * win32/GStreamer.vcproj:
11462         * win32/config.h:
11463         * win32/dirent.c: (_tseekdir):
11464         * win32/gst-inspect.vcproj:
11465         * win32/gst-launch.vcproj:
11466         * win32/gstconfig.h:
11467         * win32/gstelements.vcproj:
11468         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11469         * win32/gstreamer.def:
11470         * win32/msvc71.sln:
11471           updates for the win32 build (patch from Sebastien Moutte)
11472
11473 2005-10-10  Andy Wingo  <wingo@pobox.com>
11474
11475         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11476         gst_bin_get_state, cleaned up (but no logic changes).
11477         (bin_element_is_sink): Comment updates.
11478         (sink_iterator_filter): Remove needless cast.
11479         (gst_bin_iterate_sinks): Doc update.
11480         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11481         cleaned up (but no logic changes).
11482
11483         * check/states/sinks.c (test_src_sink): Cleanups from the state
11484         change patch.
11485         (test_livesrc_sink): Sync on the state.
11486
11487         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11488         the state change patch.
11489
11490         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11491         change patch.
11492
11493         * check/gst/gstbin.c: Merge in some style fixes and additional
11494         checks from Wim's state change patch.
11495
11496 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11497
11498         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11499         (gst_type_find_helper):
11500           Check whether we have the requested data already in our list of
11501           cached buffers before pulling a new buffer; also make the buffer
11502           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11503
11504 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11505
11506         * gst/gstcaps.c:
11507         * gst/gstevent.c:
11508           doc updates
11509         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11510           don't use long long, it's not portable.  Replacing with
11511           gint64 seems to work; let's hope no skeletons fall out of the closet.
11512
11513 2005-10-10  Andy Wingo  <wingo@pobox.com>
11514
11515         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11516
11517 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11518
11519         * docs/gst/gstreamer-sections.txt:
11520         * gst/gstevent.c:
11521         * gst/gstevent.h:
11522         * gst/gstinfo.c:
11523         * gst/gstinfo.h:
11524         * gst/gstmessage.c: (gst_message_parse_state_changed):
11525         * gst/gstpad.c:
11526         * gst/gstpad.h:
11527           more docs, fix compilation
11528
11529 2005-10-09  Philippe Khalaf <burger@speedy.org>
11530         * gst/gstmessage.c:
11531           Fixed a few forgotten variables on previous commit
11532
11533 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11534
11535         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11536           Fix evil typefind crasher: getrange() might return a short
11537           buffer at the end of a file, but gst_type_find_peek() must
11538           either return the full data as requested or NULL, but
11539           never a short buffer.
11540
11541 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11542
11543         * gst/gstmessage.c: (gst_message_new_state_changed),
11544         (gst_message_parse_state_changed):
11545         * gst/gstmessage.h:
11546           don't use "new", it's a C++ keyword
11547
11548 2005-10-08  Wim Taymans  <wim@fluendo.com>
11549
11550         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11551         * gst/gstelement.c: (gst_element_post_message):
11552         * gst/gstpipeline.c: (gst_pipeline_change_state):
11553         Small docs and debug updates.
11554
11555 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11556
11557         * docs/gst/gstreamer-sections.txt:
11558         * gst/gstelementfactory.c:
11559         * gst/gstevent.c:
11560         * gst/gsttaglist.c:
11561           more docs
11562
11563 2005-10-08  Wim Taymans  <wim@fluendo.com>
11564
11565         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11566         (gst_bin_dispose), (bin_bus_handler):
11567         Fix typos, add comments.
11568         Clear EOS list when going to PAUSED from any direction and do it
11569         in a threadsafe way.
11570         Get base time in a threadsafe way too.
11571         Fix confusing debug in the change_state function.
11572         Various other small cleanups.
11573         
11574         * gst/gstelement.c: (gst_element_post_message):
11575         Fix very verbose bus posting code.
11576
11577         * gst/gstpipeline.c: (gst_pipeline_class_init),
11578         (gst_pipeline_set_property), (gst_pipeline_get_property),
11579         (gst_pipeline_change_state):
11580         Small ARG_ -> PROP_ cleanup
11581
11582 2005-10-08  Wim Taymans  <wim@fluendo.com>
11583
11584         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11585         Do a less CPU demanding EOS check because we can.
11586
11587 2005-10-08  Wim Taymans  <wim@fluendo.com>
11588
11589         * libs/gst/dataprotocol/dataprotocol.c:
11590         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11591         (gst_dp_packet_from_event):
11592         * libs/gst/dataprotocol/dataprotocol.h:
11593         * libs/gst/dataprotocol/dp-private.h:
11594         It's about time we bump the version number.
11595         Since event types don't fit in the guint8 anymore describing
11596         the payload type, make payload type 16 bits wide.
11597
11598 2005-10-08  Wim Taymans  <wim@fluendo.com>
11599
11600         * docs/design/part-TODO.txt:
11601         * docs/design/part-clocks.txt:
11602         * docs/design/part-events.txt:
11603         * docs/design/part-gstbin.txt:
11604         * docs/design/part-gstelement.txt:
11605         * docs/design/part-gstpipeline.txt:
11606         * docs/design/part-live-source.txt:
11607         * docs/design/part-messages.txt:
11608         * docs/design/part-overview.txt:
11609         * docs/design/part-states.txt:
11610         Many doc updates.
11611
11612 2005-10-08  Wim Taymans  <wim@fluendo.com>
11613
11614         * gst/gstevent.c:
11615         * gst/gstevent.h:
11616         Fix event quark registration.
11617         Add some space between events so we can insert them in the
11618         right groups.
11619
11620 2005-10-08  Wim Taymans  <wim@fluendo.com>
11621
11622         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11623         (gst_base_sink_handle_buffer):
11624         Better log message.
11625
11626         * gst/gstbus.h:
11627         * gst/gstelement.h:
11628         More docs.
11629
11630         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11631         (gst_queue_set_property), (gst_queue_get_property):
11632         * gst/gstqueue.h:
11633         Remove old unused properties.
11634
11635 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11636         * docs/gst/gstreamer-sections.txt:
11637         * gst/gstmessage.c:
11638         * gst/gstmessage.h:
11639         * gst/gstminiobject.c:
11640         * gst/gstminiobject.h:
11641         * gst/gstobject.h:
11642         * gst/gstpad.h:
11643         * gst/gstutils.h:
11644           lots of new docs and doc fixes
11645
11646 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11647
11648         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11649         * gst/gstplugin.h:
11650         * gst/gstregistry.c: (gst_registry_lookup_locked),
11651         (gst_registry_scan_path_level):
11652         * gst/gstregistryxml.c: (load_plugin):
11653           Only ever load one plugin for a given plugin basename.
11654           This ensures correct overriding of GST_PLUGIN_PATH over
11655           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11656           system installed plugins.
11657
11658 2005-10-08  Wim Taymans  <wim@fluendo.com>
11659
11660         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11661         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11662         Prepare for doing QOS.
11663
11664 2005-10-08  Wim Taymans  <wim@fluendo.com>
11665
11666         * check/gst/gstbin.c: (GST_START_TEST):
11667         * check/pipelines/cleanup.c: (GST_START_TEST):
11668         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11669         Allow new clock message too.
11670
11671 2005-10-08  Wim Taymans  <wim@fluendo.com>
11672
11673         * gst/gstmessage.c: (gst_message_new_error),
11674         (gst_message_new_warning), (gst_message_new_tag),
11675         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11676         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11677         (gst_message_new_segment_start), (gst_message_new_segment_done),
11678         (gst_message_parse_state_changed),
11679         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11680         (gst_message_parse_new_clock):
11681         * gst/gstmessage.h:
11682         Also carry the clock in question.
11683
11684 2005-10-08  Wim Taymans  <wim@fluendo.com>
11685
11686         * gst/gstmessage.c: (gst_message_new_custom),
11687         (gst_message_new_eos), (gst_message_new_error),
11688         (gst_message_new_warning), (gst_message_new_tag),
11689         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11690         (gst_message_new_new_clock), (gst_message_new_segment_start),
11691         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11692         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11693         * gst/gstmessage.h:
11694         Clean up.
11695         Added clock related messages.
11696
11697         * gst/gstpipeline.c: (gst_pipeline_change_state):
11698         Post message when the clock changed.
11699
11700         * tools/gst-launch.c: (event_loop):
11701         Print new clock.
11702
11703 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11704
11705         * tools/gst-inspect.c: (print_element_properties_info):
11706           Can't pass NULL strings to g_print() on windows.
11707
11708 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11709
11710         * docs/Makefile.am:
11711         * docs/gst/Makefile.am:
11712         * docs/gst/gstreamer-docs.sgml:
11713         * docs/gst/running.xml:
11714         * docs/version.entities.in:
11715           add a chapter on running GStreamer.
11716           document GST_DEBUG and GST_PLUGIN* env vars
11717
11718 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11719
11720         * Makefile.am:
11721           remove include dir
11722         * configure.ac:
11723           remove PLUGINS_BUILDDIR stuff
11724         * gst/gst.c: (init_post):
11725           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11726         * idiottest.mak:
11727           remove, it was condescending and not needed
11728
11729 2005-10-08  Wim Taymans  <wim@fluendo.com>
11730
11731         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11732         (gst_base_sink_handle_object), (gst_base_sink_event),
11733         (gst_base_sink_wait), (gst_base_sink_handle_event),
11734         (gst_base_sink_change_state):
11735         * gst/base/gstbasesink.h:
11736         Repost EOS message while going to PLAYING if still EOS.
11737         Make sure that when receiving a FLUSH_START we don't attempt
11738         to sync on the clock anymore.
11739
11740 2005-10-08  Wim Taymans  <wim@fluendo.com>
11741
11742         * tools/gst-launch.c: (event_loop):
11743         Better message printout.
11744
11745 2005-10-08  Wim Taymans  <wim@fluendo.com>
11746
11747         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11748         (gst_bin_child_proxy_get_children_count):
11749         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11750         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11751         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11752         (gst_child_proxy_set_valist):
11753         * gst/parse/grammar.y:
11754         Make ChildProxy threadsafe and fix mem leaks.
11755
11756 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11757
11758         * gst/gst.c: (init_post):
11759           debug the GST_PLUGIN_ env vars
11760
11761 2005-10-08  Wim Taymans  <wim@fluendo.com>
11762
11763         * check/gst/gstbin.c: (GST_START_TEST):
11764         * check/gst/gstmessage.c: (GST_START_TEST):
11765         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11766         * gst/gstelement.c: (gst_element_commit_state),
11767         (gst_element_lost_state):
11768         * gst/gstmessage.c: (gst_message_new_state_changed),
11769         (gst_message_parse_state_changed):
11770         * gst/gstmessage.h:
11771         * tools/gst-launch.c: (event_loop):
11772         Added extra field to STATE_CHANGE message with the pending
11773         state, which will be different from the new state soon.
11774
11775 2005-10-08  Wim Taymans  <wim@fluendo.com>
11776
11777         * gst/gstbus.c: (gst_bus_pop):
11778         * gst/gstclock.c:
11779         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11780         Small cleanups and doc updates.
11781
11782 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11783
11784         * gst/gst.c: (init_pre):
11785         * gst/gstbin.c: (gst_bin_add_func):
11786           log distributing clocks and base time
11787         * gst/gstregistry.c: (gst_registry_add_plugin),
11788         (gst_registry_scan_path_level), (gst_registry_scan_path):
11789           clean up the debugging output a little
11790         * gst/gstutils.c: (gst_element_state_get_name):
11791           warn about a memleak (I've actually seen this be used, though
11792           it was probably a bug)
11793
11794 2005-10-07  Wim Taymans  <wim@fluendo.com>
11795
11796         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11797         (gst_base_src_init), (gst_base_src_default_newsegment),
11798         (gst_base_src_newsegment), (gst_base_src_do_seek),
11799         (gst_base_src_loop), (gst_base_src_start):
11800         * gst/base/gstbasesrc.h:
11801         Make the newsegment event customizable by subclasses.
11802
11803 2005-10-07  Wim Taymans  <wim@fluendo.com>
11804
11805         * gst/gstevent.c: (gst_event_new_buffersize),
11806         (gst_event_parse_buffersize):
11807         * gst/gstevent.h:
11808         New event for future idea.
11809
11810 2005-10-07  Andy Wingo  <wingo@pobox.com>
11811
11812         * gst/gstelement.c (gst_element_post_message): Doc update.
11813
11814         * docs/gst/gstreamer-sections.txt: Update.
11815
11816         * gst/gstmessage.c (gst_message_new_application): Made into a
11817         function like honest API calls.
11818         (gst_message_new_element): New message type.
11819
11820         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11821
11822         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11823         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11824         times.
11825
11826         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11827         NO_PREROLL from gst_element_change_state to fall through.
11828
11829 2005-10-07  Wim Taymans  <wim@fluendo.com>
11830
11831         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11832         (gst_ghost_pad_do_activate_push):
11833         Activating a ghostpad with no internal pad in push mode
11834         is ok.
11835
11836 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11837
11838         * gst/gstobject.h:
11839           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11840           Fixes compilation on Windows.
11841
11842 2005-10-07  Michael Smith <msmith@fluendo.com>
11843
11844         * tools/gst-inspect.c:
11845           Print out feature and plugin count at the end when printing out
11846           all features.
11847
11848 2005-10-04  Michael Smith <msmith@fluendo.com>
11849
11850         * gst/gsterror.c: (_gst_stream_errors_init):
11851           Add another error string used in a few existing plugins.
11852
11853         * gst/gstplugin.c:
11854         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11855         * tools/gst-inspect.c: (print_element_info):
11856           When a feature disappears from a plugin (and the feature exists in
11857           the cached registry file), things went horribly wrong. This isn't a
11858           complete fix, we should actually be removing the 'missing' features
11859           from the features list when we load the actual plugin. That's not
11860           yet implemented. 
11861
11862 2005-10-04  Johan Dahlin  <johan@gnome.org>
11863
11864         * check/gst/gstiterator.c: (GST_START_TEST):
11865         * gst/gstbin.c: (gst_bin_iterate_elements),
11866         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11867         * gst/gstelement.c: (gst_element_iterate_pads):
11868         * gst/gstformat.c: (gst_format_iterate_definitions):
11869         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11870         (gst_iterator_new_list), (gst_iterator_filter):
11871         * gst/gstiterator.h:
11872         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11873         Add a GType to GstIterator, update callsites and tests.
11874
11875 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11876
11877         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11878           give events a chance to be handled by event probes when the pad
11879           is not linked
11880
11881 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11882
11883         * gst/gstevent.c: (gst_event_type_get_name),
11884         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11885         * gst/gstevent.h:
11886           add string representations for event types
11887
11888 2005-10-06  Wim Taymans  <wim@fluendo.com>
11889
11890         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11891         Don't use NULL pointers.
11892
11893 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11894
11895         * gst/gst_private.h:
11896         * gst/gstbus.c:
11897         * gst/gstelement.c:
11898         * gst/gstinfo.c:
11899         * gst/gstpluginfeature.c:
11900           widen the debug category in output to fit the biggest one we have
11901           add a bus category and use it
11902           play with the colors
11903           fix up some categories
11904
11905 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11906
11907         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11908           add push activation of sink ghost pads.
11909           Andye, please verify
11910
11911 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11912
11913         * gst/gstutils.c: (gst_element_link_pads):
11914           fix a bug in the case where neither element has a pad
11915         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11916           add a test for that case
11917
11918 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11919
11920         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11921           emit have-data before checking for peers.  This allows
11922           for probe handlers to connect elements.  This helps autopluggers.
11923         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11924         (gst_pad_suite):
11925           add six checks, linked/unlinked with no/true/false probe
11926
11927 2005-10-04  Wim Taymans  <wim@fluendo.com>
11928
11929         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11930         (gst_fake_sink_event), (gst_fake_sink_preroll),
11931         (gst_fake_sink_render), (gst_fake_sink_change_state):
11932         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11933         (gst_fake_src_get_property), (gst_fake_src_create),
11934         (gst_fake_src_stop):
11935         * gst/elements/gstidentity.c: (gst_identity_stop):
11936         Protect last_message with lock.
11937
11938 2005-10-04  Edward Hervey  <edward@fluendo.com>
11939
11940         * gst/gstformat.h: 
11941         Added precision in the comments for GST_FORMAT_DEFAULT
11942
11943 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11944
11945         * tools/gst-launch.c: (main):
11946           Don't try to run erroneous pipelines.
11947
11948 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11949
11950         * gst/gstbus.c: We don't need this header.
11951
11952 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11953
11954         * configure.ac:
11955           back to development
11956
11957 === release 0.9.3 ===
11958
11959 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11960
11961         * README:
11962         * configure.ac:
11963           Releasing 0.9.3, "Unregistered"
11964
11965 2005-10-03  Andy Wingo  <wingo@pobox.com>
11966
11967         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11968         whereby calling a pad's activatepush() function can start a thread
11969         that starts to push or pull before the pad gets the FLUSHING flag
11970         unset. Hack around it by holding the stream lock until the flag is
11971         set. Need to replace this with a proper solution. Together with
11972         the ghost pad fixes, this fixes mp3 playing/tagreading.
11973
11974         * docs/design/part-gstghostpad.txt: Add a note about activation of
11975         proxy pads outside of ghost pads.
11976
11977         * gst/gstghostpad.c: Implement the ghost pad activation design.
11978
11979 2005-10-02  Andy Wingo  <wingo@pobox.com>
11980
11981         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11982         It is volatile, after all.
11983
11984         * docs/design/part-gstghostpad.txt: Flesh out activation with
11985         ghost pads.
11986
11987         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11988         GST_DEBUG_FUNCPTR.
11989
11990 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11991
11992         * configure.ac:
11993           Fix (unused) AM_CONDITIONAL tests.
11994
11995 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11996
11997         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11998
11999         * gst/gstutils.c: (gst_pad_query_convert):
12000           Add assertion that makes sure src_val is >=0, just like
12001           gst_query_new_convert() has. (#315895)
12002
12003 2005-09-30  Edward Hervey  <edward@fluendo.com>
12004
12005         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12006         Let's not iterate pads we're not interested in, it avoids getting 
12007         sky-high refcounts on sinkpad.
12008
12009 2005-09-30  Wim Taymans  <wim@fluendo.com>
12010
12011         * gst/gstelement.c: (gst_element_set_state),
12012         (gst_element_change_state):
12013         Small tweak, element in ASYNC remains ASYNC.
12014
12015 2005-09-30  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12018         Only error is an error.
12019
12020         * gst/gstbin.c: (gst_bin_change_state):
12021         Better debugging.
12022
12023         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12024         Also call pad_block in pad alloc.
12025
12026         * gst/gstutils.c: (gst_flow_get_name):
12027         Better debugging.
12028
12029 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12030
12031         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12032         (gst_base_src_get_range):
12033           Fix documentation typos. Add some more debug info.
12034
12035 2005-09-29  David Schleef  <ds@schleef.org>
12036
12037         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12038           more end-user friendly.
12039         * tools/gst-inspect.c: (main): Check if command-line argument is
12040           a file and attempt to load that file as a plugin.
12041
12042 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12043
12044         * check/gst/gstbin.c:
12045         * check/states/sinks.c:
12046           fix tests for the new warning
12047         * check/gst/gstpipeline.c:
12048           add a test for pipeline and bus interaction
12049         * gst/gstelement.c:
12050           elements should be NULL if they get disposed; add a warning if not
12051
12052 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12053
12054         * gst/gstobject.c:
12055           for 2.6 refcounting, make debug log more correct by printing
12056           the actual refcounts at the time of swap (Wim)
12057
12058 2005-09-29  Andy Wingo  <wingo@pobox.com>
12059
12060         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12061         removes signal watches previously added via
12062         gst_bus_add_signal_watch.
12063         (gst_bus_add_signal_watch): Don't return the source id, just store
12064         it on the bus if there wasn't an id already.
12065
12066         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12067         add_signal_watch and remove_signal_watch.
12068
12069 2005-09-29  Edward Hervey  <edward@fluendo.com>
12070
12071         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
12072         Better if we actually iterate the list :)
12073
12074 2005-09-29  Wim Taymans  <wim@fluendo.com>
12075
12076         * check/gst/gstbin.c: (GST_START_TEST):
12077         Change for new bus API.
12078
12079         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12080         (send_messages), (GST_START_TEST), (gstbus_suite):
12081         Change for new bus signal API.
12082
12083         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12084         (gst_bus_source_prepare), (gst_bus_source_check),
12085         (gst_bus_create_watch), (gst_bus_add_watch_full),
12086         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12087         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12088         * gst/gstbus.h:
12089         Remove support for multiple GSources operating on different
12090         message types as it is too complex and unneeded when using
12091         signals.
12092         Added support for receiving signals from the bus.
12093
12094 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12095
12096         * docs/libs/tmpl/gstdataprotocol.sgml:
12097         * docs/manual/advanced-dataaccess.xml:
12098         * gst/elements/gstcapsfilter.c:
12099         * gst/gstutils.c:
12100           rename filter-caps to caps property
12101
12102 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12103
12104         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12105           More robust fraction string parsing.
12106
12107         * docs/pwg/appendix-porting.xml:
12108           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12109
12110 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12111
12112         * gst/gstcaps.c: (gst_caps_do_simplify):
12113           Thou shalt not free a structure and then continue using it
12114           in the next loop iteration.
12115
12116         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12117         (gst_caps_suite):
12118           Add test case for caps simplification.
12119
12120 2005-09-29  Wim Taymans  <wim@fluendo.com>
12121
12122         * check/gst/gstbin.c: (GST_START_TEST):
12123         Oops.
12124
12125 2005-09-29  Wim Taymans  <wim@fluendo.com>
12126
12127         * check/gst/gstbin.c: (GST_START_TEST):
12128         Add bus to bin.
12129
12130         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12131         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12132         (find_element), (gst_bin_sort_iterator_next),
12133         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12134         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12135         (gst_bin_change_state), (gst_bin_dispose):
12136         A bin does not have a bus, it gets the bus from the parent.
12137
12138         * gst/gstelement.c: (gst_element_requires_clock),
12139         (gst_element_provides_clock), (gst_element_is_indexable),
12140         (gst_element_is_locked_state), (gst_element_change_state),
12141         (gst_element_set_bus_func):
12142         Small cleanups.
12143
12144         * gst/gstpipeline.c: (gst_pipeline_class_init),
12145         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12146         The pipeline provides a bus.
12147
12148 2005-09-28  Johan Dahlin  <johan@gnome.org>
12149
12150         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12151         gst_structure_get_enum instead of gst_structure_get_int
12152
12153         * gst/gststructure.c (gst_structure_get_enum): Impl.
12154
12155         * gst/gststructure.h (gst_structure_get_enum): Add
12156
12157         * docs/gst/gstreamer-sections.txt: Ditto
12158
12159         * gst/gstmessage.c (gst_message_new_state_changed): Use
12160         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12161         which does introspection.
12162         Reviewed by Christian Schaller
12163
12164 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12165
12166         * gst/gstinfo.c: (gst_debug_log_default):
12167           don't do dummy g_strdup()s
12168         * libs/gst/controller/gstcontroller.c:
12169         (on_object_controlled_property_changed),
12170         (gst_controlled_property_new), (gst_controller_new_valist),
12171         (gst_controller_new_list),
12172         (gst_controller_remove_properties_valist), (gst_controller_set),
12173         (gst_controller_get), (gst_controller_sync_values),
12174         (gst_controller_get_value_array), (_gst_controller_class_init),
12175         (gst_controller_get_type):
12176         * libs/gst/controller/gstcontroller.h:
12177         * libs/gst/controller/gstinterpolation.c:
12178         (gst_controlled_property_find_timed_value_node):
12179           convert // to /**/ comments
12180
12181 2005-09-28  Wim Taymans  <wim@fluendo.com>
12182
12183         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12184         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12185         (gst_bus_sync_signal_handler):
12186         * gst/gstbus.h:
12187         Added async-message and sync-message signals to the bus.
12188         Added helper BusFunc to emit signals for all posted messages.
12189
12190         * gst/gstmessage.c: (gst_message_type_get_name),
12191         (gst_message_type_to_quark), (gst_message_get_type):
12192         * gst/gstmessage.h:
12193         Register quarks for message names.
12194
12195 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12196
12197         * docs/libs/gstreamer-libs-sections.txt:
12198         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12199         (gst_controller_new_list):
12200         * libs/gst/controller/gstcontroller.h:
12201           added another constructor for language bindings
12202
12203 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12204
12205         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12206           add another check
12207         * gst/gstbus.c:
12208           add some doc
12209         * gst/gstinfo.c: (_gst_debug_init):
12210           slightly more readable color for refcount debugging
12211
12212 2005-09-28  Wim Taymans  <wim@fluendo.com>
12213
12214         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12215         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12216         (find_element), (gst_bin_sort_iterator_next),
12217         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12218         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12219         (gst_bin_change_state), (gst_bin_dispose):
12220         Small doc fixes. get_clock -> provide_clock.
12221
12222         * gst/gstelement.c: (gst_element_class_init),
12223         (gst_element_provides_clock), (gst_element_provide_clock),
12224         (gst_element_get_clock), (gst_element_commit_state),
12225         (gst_element_lost_state):
12226         * gst/gstelement.h:
12227         Make get/set_clock() symetric. Add provide_clock vmethod since
12228         that is actually what this function does.
12229
12230         * gst/gstpipeline.c: (gst_pipeline_class_init),
12231         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12232         (gst_pipeline_get_clock):
12233         get_clock -> provide_clock.
12234
12235 2005-09-28  Andy Wingo  <wingo@pobox.com>
12236
12237         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12238         lieu of real docs...
12239
12240         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12241
12242 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12243
12244         * gst/elements/gstcapsfilter.c:
12245         * gst/elements/gstfakesink.c:
12246         * gst/elements/gstfakesrc.c:
12247         * gst/elements/gstfdsink.c:
12248         * gst/elements/gstfdsrc.c:
12249         * gst/elements/gstfilesink.c:
12250         * gst/elements/gstfilesrc.c:
12251         * gst/elements/gstidentity.c:
12252         * gst/elements/gsttee.c:
12253         * gst/elements/gsttypefindelement.c:
12254           Make element details static.
12255
12256 2005-09-28  Wim Taymans  <wim@fluendo.com>
12257
12258         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12259         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12260         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12261         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12262         (gst_bin_change_state), (gst_bin_dispose):
12263         Some documentation updates.
12264         Clean up dispose handlers.
12265
12266         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12267         * gst/gstpad.c: (gst_pad_dispose):
12268         Clean up dispose handler.
12269
12270         * gst/gstpipeline.c: (gst_pipeline_change_state):
12271         Removed spurious UNLOCK.
12272
12273 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12274
12275         * docs/gst/gstreamer-sections.txt:
12276         * gst/base/gstbasesrc.h:
12277         * gst/gstelement.h:
12278         * gst/gstevent.h:
12279         * gst/gstobject.h:
12280         * gst/gstpad.h:
12281         * gst/gstpipeline.c:
12282         * gst/gstpipeline.h:
12283         * gst/gstutils.h:
12284         * gst/gstxml.h:
12285           added two new functions to the docs
12286                 documents all undocumented GstXXXFlags
12287                 completed some incomplete docs 
12288
12289 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12290
12291         * gst/gstbin.c: (gst_bin_dispose):
12292         * gst/gstelement.c: (gst_element_dispose):
12293           remove now useless and leaky resurrection code in dispose
12294         * gst/base/gstbasesrc.c: (gst_base_src_init):
12295         * gst/gstelementfactory.c: (gst_element_factory_create):
12296         * gst/gstobject.c: (gst_object_set_parent):
12297           add some debugging
12298
12299 2005-09-27  Wim Taymans  <wim@fluendo.com>
12300
12301         * docs/design/part-TODO.txt:
12302         Update TODO.
12303
12304         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12305         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12306         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12307         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12308         (gst_bin_change_state):
12309         * gst/gstelement.h:
12310         Remove element variable, we keep element info in the iterator now.
12311
12312 2005-09-27  Andy Wingo  <wingo@pobox.com>
12313
12314         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12315         values.
12316
12317 2005-09-27  Wim Taymans  <wim@fluendo.com>
12318
12319         * check/gst/gstbin.c: (GST_START_TEST):
12320         Enable check that works now.
12321
12322         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12323         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12324         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12325         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12326         (gst_bin_change_state):
12327         * gst/gstbin.h:
12328         Redid the state change algorithm using a topological sort algo.
12329         Handles all cases correctly.
12330         Exposed iterator for state change order.
12331
12332         * gst/gstelement.h:
12333         Temp storage for state changes. Need to get rid of this soon.
12334
12335 2005-09-27  Wim Taymans  <wim@fluendo.com>
12336
12337         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12338         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12339         (link_fold_func), (gst_pad_proxy_setcaps):
12340         Leak fixes, the fold functions need to unref the passed object and
12341         _get_parent_*() returns ref to parent.
12342
12343 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12344
12345         * check/gst/gstbuffer.c: (test_make_writable):
12346           Plug leak in test case and fix 'make check-valgrind'
12347
12348 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12349
12350         * gst/gstbuffer.c: (gst_subbuffer_init):
12351           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12352           works correctly in all circumstances (we could have just copied
12353           the parent buffer's readonly flag, but conceptually it seems
12354           cleaner to mark all subbuffers as read-only). (based on patch
12355           by Alessandro Decina, #314710).
12356         
12357         * check/gst/gstbuffer.c: (create_read_only_buffer),
12358         (test_make_writable), (test_subbuffer_make_writable),
12359         (gst_test_suite):
12360           Add some tests for gst_buffer_make_writable().
12361
12362 2005-09-27  Wim Taymans  <wim@fluendo.com>
12363
12364         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12365         use gst_object_has_ancestor().
12366
12367         * gst/gstobject.c: (gst_object_has_ancestor):
12368         * gst/gstobject.h:
12369         gst_object_has_ancestor() copied from gstbin.c as it is a
12370         usefull function.
12371
12372         * tests/instantiate/create.c: (create_all_elements):
12373         * tests/lat.c: (handoff_src), (handoff_sink):
12374         * tests/sched/runxml.c: (main):
12375         * tests/seeking/seeking1.c: (main):
12376         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12377         (main):
12378         Fix compilation of some tests.
12379
12380 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12381
12382         * gst/gsterror.h:
12383           Remove comment. GST_TYPE_G_ERROR is here to stay,
12384           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12385           (#316961, #300610).
12386
12387 2005-09-26  Wim Taymans  <wim@fluendo.com>
12388
12389         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12390         Added check that shows error in state change order.
12391
12392 2005-09-26  Wim Taymans  <wim@fluendo.com>
12393
12394         * gst/gstbin.c: (gst_bin_change_state):
12395         Make state change function use 3 queues again, we were
12396         adding elements in the wrong order.
12397
12398         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12399         Some debug info,
12400
12401         * gst/gstpad.c: (gst_pad_dispose):
12402         Added some debug info first.
12403
12404 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12405
12406         * docs/design/draft-push-pull.txt:
12407         * docs/design/part-events.txt:
12408         * docs/design/part-overview.txt:
12409         * docs/design/part-scheduling.txt:
12410           Replace all _pull_region() with _pull_range()
12411           
12412 2005-09-26  Andy Wingo  <wingo@pobox.com>
12413
12414         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12415
12416         * check/gst-libs/controller.c: Update for controller api change.
12417
12418         * configure.ac: 
12419         * tests/Makefile.am:
12420         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12421         over by GLib bug 118439.
12422         
12423         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12424         routines to a function.
12425
12426         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12427
12428         * libs/gst/controller/gsthelper.c:
12429         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12430         (gst_object_sync_values): Renamed from sink_values. Ugh.
12431
12432         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12433
12434         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12435         Renamed from controller_key, as it is exported.
12436
12437         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12438
12439 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12440
12441         * gst/Makefile.am:
12442         * gst/gst.h:
12443         * gst/gstpad.h:
12444         * gst/gstpadtemplate.h:
12445         * gst/gstquery.c:
12446         * gst/gstquery.h:
12447         * gst/gstqueryutils.c:
12448         * gst/gstqueryutils.h:
12449           remove queryutils headers after moving the two used functions
12450           to gstquery.  also fixes build problem for gstsiddec
12451
12452 2005-09-26  Michael Smith <msmith@fluendo.com>
12453
12454         * tools/gst-launch.1.in:
12455         Correct documentation in manpage of debug syntax
12456
12457 2005-09-26  Wim Taymans  <wim@fluendo.com>
12458
12459         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12460         (gst_base_src_is_seekable), (gst_base_src_change_state):
12461         Some more debugging info.
12462
12463 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12464
12465         * docs/gst/gstreamer-sections.txt:
12466         * gst/base/gstbasetransform.h:
12467         * gst/gstindex.h:
12468           added more docs
12469
12470 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12471
12472         * docs/gst/.cvsignore:
12473         * docs/gst/tmpl/.cvsignore:
12474         * docs/gst/tmpl/gstpipeline.sgml:
12475         * docs/gst/tmpl/gstplugin.sgml:
12476         * gst/gstpipeline.c:
12477         * gst/gstplugin.c:
12478         * gst/gstplugin.h:
12479           inlined the last two docs files
12480           removed the tmpl directory from cvs (no more conflicts here!)
12481
12482 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12483
12484         * docs/gst/gstreamer-sections.txt:
12485         * docs/gst/tmpl/.cvsignore:
12486         * docs/gst/tmpl/gstpad.sgml:
12487         * docs/gst/tmpl/gstpadtemplate.sgml:
12488         * gst/Makefile.am:
12489         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12490         (gst_pad_finalize), (gst_pad_set_pad_template):
12491         * gst/gstpad.h:
12492         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12493         (gst_pad_template_class_init), (gst_pad_template_init),
12494         (gst_pad_template_dispose), (name_is_valid),
12495         (gst_static_pad_template_get), (gst_pad_template_new),
12496         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12497         (gst_pad_template_pad_created):
12498         * gst/gstpadtemplate.h:
12499           inlined two more docs
12500           factored gstpadtemplate out of gstpad
12501
12502 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12503
12504         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12505         (test_children_state_change_order_semi_sink):
12506           Fix test case: we can't rely on a fixed state change order when
12507           going from READY => PAUSED because the sink might commit its 
12508           new state first when the first buffer created by the source 
12509           reaches the sink before the source has finished its change state.
12510           (Test case still fails at times, see #316856, comment 5 onwards)
12511
12512 2005-09-24  Wim Taymans  <wim@fluendo.com>
12513
12514         * docs/design/part-events.txt:
12515         * docs/design/part-gstbus.txt:
12516         * docs/design/part-gstpipeline.txt:
12517         * docs/design/part-messages.txt:
12518         * docs/design/part-overview.txt:
12519         * docs/design/part-segments.txt:
12520         * gst/gstbin.c:
12521         * gst/gstbuffer.c:
12522         * gst/gstclock.c:
12523         * gst/gstelement.c:
12524         * gst/gstevent.c:
12525         * gst/gstfilter.c:
12526         * gst/gstiterator.c:
12527         Various documentation updates.
12528
12529 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12530
12531         * gst/gstclock.h:
12532           Well, that's embarassing.  Luckily we weren't using
12533           GST_CLOCK_DIFF anywhere.
12534
12535 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * common/gtk-doc.mak:
12538           don't fail on building XML, FC4 slave shows a bunch of doc
12539           missing bits that I don't get
12540         * gst/gstpad.c:
12541         * gst/gstpipeline.c:
12542         * gst/gststructure.c:
12543           some doc updates
12544
12545 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12546
12547         * docs/design/part-gstbin.txt:
12548         * docs/design/part-gstbus.txt:
12549         * gst/gstbus.c:
12550           Add blurb about how the bus goes into flushing mode and
12551           drops all messages when its bin goes from READY into NULL 
12552           state.
12553
12554 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12555
12556         * docs/gst/gstreamer-sections.txt:
12557         * gst/gststructure.c: (gst_structure_get_clock_time):
12558         * gst/gststructure.h:
12559           add a method to get a GstClockTime out of a structure
12560
12561 2005-09-23  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), (gst_bin_suite):
12565           Added test to check state change order in bins (can still be made
12566           to fail here under heavy disk load; bails out with 'Push on pad
12567           fakesink:sink0, but it was not activated in push mode').
12568
12569         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12570           Fix state change order when there is only a semi sink (#316856)
12571
12572         * gst/gstbus.c: (gst_bus_class_init):
12573           Use _class_peek_parent(), not _class_ref(); fix docs to say
12574           'default main context' instead of 'mainloop' where that is
12575           what's meant.
12576
12577         * gst/gstelement.c: (gst_element_commit_state),
12578         (gst_element_set_state):
12579           Fix typos in debug messages
12580
12581 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12582
12583         * docs/README:
12584         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12585         * gst/gstpluginfeature.c:
12586         * gst/gstutils.c:
12587           various doc updates
12588         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12589           change an assert into an error until it gets fixed properly
12590
12591 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12592
12593         * docs/gst/gstreamer-sections.txt:
12594         * docs/gst/tmpl/.cvsignore:
12595         * docs/gst/tmpl/gstelement.sgml:
12596         * docs/gst/tmpl/gstinfo.sgml:
12597         * docs/gst/tmpl/gstobject.sgml:
12598         * gst/gstelement.c:
12599         * gst/gstelement.h:
12600         * gst/gstinfo.c:
12601         * gst/gstinfo.h:
12602         * gst/gstobject.c: (gst_object_class_init):
12603         * gst/gstobject.h:
12604           inlined 3 more biiiig doc files and added some missing docs on the fly
12605
12606 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12607
12608         * check/gst/.cvsignore:
12609         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12610         * gst/gstregistryxml.c: (load_plugin),
12611         (gst_registry_xml_save_plugin):
12612           put back source in registry.  add checks for find_plugin.
12613         * testsuite/states/bin.c: (assert_state), (empty_bin),
12614         (test_adding_one_element), (main):
12615         * testsuite/states/locked.c: (main):
12616           some compile/run fixes
12617
12618 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12619
12620         * check/gst/gstvalue.c: (GST_START_TEST):
12621           fix leaks in the test itself
12622
12623 2005-09-22  Wim Taymans  <wim@fluendo.com>
12624
12625         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12626         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12627         (gst_base_sink_query):
12628         Prepare for more accurate position reporting and query
12629         handling.
12630
12631         * gst/gstelement.c: (gst_element_send_event),
12632         (gst_element_set_state):
12633         Add some comment.
12634
12635 2005-09-22  Wim Taymans  <wim@fluendo.com>
12636
12637         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12638         (gst_query_parse_segment):
12639         * gst/gstquery.h:
12640         More documentation.
12641         Add segment query for future use.
12642
12643 2005-09-22  Wim Taymans  <wim@fluendo.com>
12644
12645         * gst/gstbin.c: (gst_bin_add_func):
12646         Some more debug info.
12647
12648         * gst/gstelement.c: (gst_element_send_event):
12649         Simplify send_event
12650
12651         * gst/gstelement.h:
12652         Don't know how flags got broken.
12653
12654         * gst/gstquery.h:
12655         Added new query.
12656
12657 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12658
12659         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12660           Add simplistic test suite for GST_TYPE_DATE serialisation and
12661           deserialisation.
12662
12663 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12664
12665         * docs/gst/gstreamer-sections.txt:
12666         * gst/gststructure.c: (gst_structure_set_valist),
12667         (gst_structure_get_date):
12668         * gst/gststructure.h:
12669         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12670         (gst_date_copy), (gst_value_compare_date),
12671         (gst_value_serialize_date), (gst_value_deserialize_date),
12672         (gst_value_transform_date_string),
12673         (gst_value_transform_string_date), (_gst_value_initialize):
12674         * gst/gstvalue.h:
12675           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12676           bunch of utility functions along with a hack that checks that
12677           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12678           is required. Part of the grand scheme in #170777.
12679
12680 2005-09-22  Andy Wingo  <wingo@pobox.com>
12681
12682         * gst/gstconfig.h.in: Psych out gtk-doc.
12683
12684         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12685
12686         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12687
12688         * tools/gst-inspect.c (print_element_list): Plug some
12689         inconsequential leaks.
12690
12691         * gst/gstregistry.c (gst_registry_get_default): Doc.
12692
12693         * check/gst/gstplugin.c: 
12694         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12695         * gst/gstelementfactory.c (gst_element_factory_create): 
12696         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12697         refcount changes.
12698
12699         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12700         (gst_plugin_feature_load): Doc, don't eat refs.
12701
12702         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12703         (gst_plugin_list_free): Doc.
12704         (gst_plugin_load_file): Doc updates.
12705
12706         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12707         accessors returning refcounted objects, return a ref.
12708
12709         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12710         accessor for caps. IDEMPOTENCE. Oh yes.
12711
12712 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12713
12714         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12715
12716         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12717         (_gst_debug_register_funcptr):
12718           Add mutex to serialise access to the hash table with
12719           the function pointer => function name string mapping;
12720           make that hash table static scope (#316809).
12721
12722         * gst/registries/.cvsignore:
12723           Remove left-over file.
12724
12725 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12726
12727         * docs/pwg/appendix-porting.xml:
12728           And something about newsegment events and caps-on-buffers to
12729           the porting guide (feel free to improve).
12730
12731 2005-09-21  Andy Wingo  <wingo@pobox.com>
12732
12733         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12734         data and event probes on the same pad.
12735         (test_buffer_probe_once): Test that removing probes from within
12736         the probe functions works.
12737
12738 2005-09-21  Andy Wingo  <wingo@pobox.com>
12739
12740         * check/gst/gstutils.c: New file.
12741         (test_buffer_probe_n_times): A simple buffer probe test. More to
12742         come, foolios.
12743
12744         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12745         have-data::buffer, not have-data.
12746         (gst_pad_add_event_probe): Likewise for have-data::event.
12747         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12748         peer' isn't quite right yet though.
12749         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12750         (gst_pad_remove_data_probe): Change to take the guint handler_id
12751         as their arg, not the function+data, which is more glib-like.
12752
12753         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12754         the signal emission to indicate if the data is a buffer or an
12755         event.
12756         (gst_pad_get_type): Initialize buffer and event quarks.
12757         (gst_pad_class_init): have-data is now a detailed signal, yes it
12758         is.
12759
12760 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12761
12762         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12763         * gst/gstutils.c: (gst_util_set_value_from_string),
12764         (gst_util_set_object_arg):
12765           Don't put functional code in g_return_if_fail() or
12766           g_return_val_if_fail() statements, otherwise things will 
12767           break when G_DISABLE_CHECKS is defined during compilation.
12768
12769 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12770
12771         * docs/gst/tmpl/.cvsignore:
12772         * docs/gst/tmpl/gstvalue.sgml:
12773         * gst/gstvalue.c:
12774         * gst/gstvalue.h:
12775           inlied another one and added  some obvious docs
12776
12777 2005-09-21  Wim Taymans  <wim@fluendo.com>
12778
12779         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12780         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12781         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12782         (gst_fdsrc_get_property), (gst_fdsrc_create):
12783         * gst/elements/gstfdsrc.h:
12784         Properly implement fdsrc. Removed signal and timeout,
12785         better implemented somewhere else.
12786
12787 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12788
12789         * docs/gst/tmpl/.cvsignore:
12790         * docs/gst/tmpl/gstimplementsinterface.sgml:
12791         * gst/gstinterface.c:
12792           inlined more docs
12793
12794 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12795
12796         * docs/gst/gstreamer-sections.txt:
12797         * docs/gst/tmpl/.cvsignore:
12798         * docs/gst/tmpl/gstenumtypes.sgml:
12799           remove obsolete doc file
12800
12801 2005-09-21  David Schleef  <ds@schleef.org>
12802
12803         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12804         little beer, fix a little leak.
12805
12806 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12807
12808         * docs/gst/gstreamer-docs.sgml:
12809         * docs/gst/gstreamer-sections.txt:
12810         * docs/gst/tmpl/.cvsignore:
12811         * gst/Makefile.am:
12812         * gst/gst.h:
12813         * gst/gstbin.c:
12814         * gst/gstelement.h:
12815         * gst/gstindex.c: (gst_index_class_init):
12816         * gst/gstindex.h:
12817         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12818         (gst_index_factory_class_init), (gst_index_factory_init),
12819         (gst_index_factory_finalize), (gst_index_factory_new),
12820         (gst_index_factory_destroy), (gst_index_factory_find),
12821         (gst_index_factory_create), (gst_index_factory_make):
12822         * gst/gstindexfactory.h:
12823         * gst/gstpluginfeature.c:
12824         * gst/gstpluginfeature.h:
12825         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12826           more docs inlined, splitted gstindex.{c,h}
12827
12828 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12829
12830         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12831           fix a leak
12832
12833 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12834
12835         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12836           Set sync to FALSE by default.
12837
12838 2005-09-20  Wim Taymans  <wim@fluendo.com>
12839
12840         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12841         (gst_base_sink_init):
12842         Make sync property settable from subclass.
12843
12844         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12845         (gst_fake_sink_change_state):
12846         Set sync to FALSE by default.
12847
12848 2005-09-20  Wim Taymans  <wim@fluendo.com>
12849
12850         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12851         * tools/gst-launch.c: (main):
12852         The timeout handler should have lower priority than the source
12853         so we don't timeout before popping a message with 0 timeout.
12854         Dump error messages after failed state change.
12855
12856 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12857
12858         * tools/gst-inspect.c: (print_element_properties_info):
12859           Fix two typos.
12860
12861 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12862
12863         * check/gst/gstevent.c:
12864         * gst/elements/gstfakesink.c:
12865         * gst/elements/gstfakesink.h:
12866           remove the sync property from fakesink.
12867           has the side effect of setting sync TRUE
12868           for fakesink, which is a change.  Anyone who knows how
12869           to fix this nicely in a GObject-y way, feel free.
12870
12871 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12872
12873         * docs/gst/gstreamer-docs.sgml:
12874           remove probe refsection
12875
12876 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12877
12878         * check/Makefile.am:
12879           disable valgrinding the controller test again
12880         * docs/gst/gstreamer-sections.txt:
12881           update for api-changes
12882
12883 2005-09-20  Wim Taymans  <wim@fluendo.com>
12884
12885         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12886         (gst_base_sink_set_property), (gst_base_sink_get_property),
12887         (gst_base_sink_do_sync):
12888         * gst/base/gstbasesink.h:
12889         Added sync property to basesink to disable clock sync.
12890
12891 2005-09-20  Andy Wingo  <wingo@pobox.com>
12892
12893         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12894         eating the caller's refcount.
12895
12896         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12897         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12898         refcount.
12899
12900         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12901         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12902         of GLib 2.8 public, so we can know which refcount to check in
12903         tests.
12904
12905         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12906         (gst_object_init): Only set the gst refcount if we're going ahead
12907         with the refcount hack.
12908
12909 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12910
12911         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12912         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12913           more leaks plumbed, added more debug-logging
12914         * gst/gstmacros.h:
12915           whitespace fix
12916
12917 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12918
12919         * gst/gstmessage.c:
12920           remove include of gstmemchunk.h
12921
12922 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12923
12924         * gst/gstclock.c: (_gst_clock_id_free):
12925           Commit from the Political Party For More Atomic CVS Commits,
12926           so that people don't waste too much of their day fishing
12927           out obvious leaks out of massive commits.
12928           Oh, and fix a pretty damn obvious leak in the memchunk
12929           removal code.
12930
12931 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12932
12933         * check/Makefile.am:
12934         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12935           plug mem-leak, re-add to valgrindable tests
12936
12937 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12938
12939         * gst/gstplugin.h:
12940           unbreak the build for those who have chronic arthritis
12941           and typing "make check" is just too taxing on the hands
12942
12943 2005-09-20  Andy Wingo  <wingo@pobox.com>
12944
12945         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12946         really want it out, you should fix plugins at the same time.
12947
12948 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12949
12950         * configure.ac:
12951         * docs/gst/gstreamer-sections.txt:
12952         * gst/gstobject.c:
12953           added missing symbols to api docs
12954           disable ref-count hack if we have glib >= 2.8
12955
12956 2005-09-19  David Schleef  <ds@schleef.org>
12957
12958         * docs/gst/Makefile.am: Ignore a few more internal headers
12959         * docs/gst/gstreamer-docs.sgml: Remove old sections
12960         * docs/gst/gstreamer-sections.txt: Remove old sections
12961         * docs/gst/tmpl/gstobject.sgml: update
12962         * docs/gst/tmpl/gstplugin.sgml: update
12963         * docs/gst/tmpl/gstpluginfeature.sgml: update
12964         * docs/random/ds/0.9-suggested-changes: update.
12965         * gst/Makefile.am: remove memchunk and trashstack, since they're
12966           not used.
12967         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12968         * gst/gst.h: don't include some headers
12969         * gst/gstchildproxy.c: add gstmarshal.h
12970         * gst/gstclock.c: Don't use memchunks
12971         * gst/gstminiobject.c: Add some docs
12972         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12973         * gst/gstobject.h: same
12974         * gst/gstplugin.c: include gstmacros.h
12975         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12976         * gst/gstquery.c: don't use memchunks
12977         * gst/gstregistry.c: rename gst_registry_deinit()
12978         * gst/gstregistry.h: same
12979
12980 2005-09-19  David Schleef  <ds@schleef.org>
12981
12982         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12983         * docs/libs/gstreamer-libs-sections.txt:
12984         * docs/libs/tmpl/gstgetbits.sgml:
12985         * docs/libs/tmpl/gstputbits.sgml:
12986
12987 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12988
12989         * win32/gstenumtypes.c:
12990         * win32/gstenumtypes.h:
12991           Update.
12992
12993 2005-09-19  Wim Taymans  <wim@fluendo.com>
12994
12995         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12996         Automatically PAUSE and RESUME a pipeline when a flushing seek
12997         is performed.
12998
12999 2005-09-19  Andy Wingo  <wingo@pobox.com>
13000
13001         * gst/gstregistry.h: Spacing fixen.
13002
13003 2005-09-19  Wim Taymans  <wim@fluendo.com>
13004
13005         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13006         Handle state change failure more correctly.
13007
13008 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13009
13010         * check/Makefile.am:
13011         * check/pipelines/cleanup.c: (run_pipeline):
13012         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13013         (GST_START_TEST):
13014           enable cleanup again after fixing the leak
13015         * docs/README:
13016           some more info on docs
13017
13018 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13019
13020         * check/Makefile.am:
13021           re-enable tests now that leaks are plugged
13022         * check/gst/gst.c:
13023         * check/gst/gstbin.c:
13024         * check/gst/gstpipeline.c:
13025           add some more tests while fixing leaks
13026         * common/check.mak:
13027           make sure binaries are uptodate when valgrinding/gdbing
13028         * gst/gst.c:
13029         * gst/gstelementfactory.c:
13030           remove a ref too many, and add a FIXME for when we get
13031           round to disposing of classes
13032         * gst/gstplugin.c:
13033           fix the refcounting when loading a plugin from a file and
13034           the code pretends that the pointer is the same even though
13035           of course it can change
13036         * gst/gstpluginfeature.c:
13037           unref plugins marked cached (a bit confusing as a name)
13038           as the docs state should be done
13039           various doc additions to explain refcounting
13040         * gst/gstregistry.c:
13041         * gst/gstregistryxml.c:
13042           debugging
13043
13044 2005-09-19  Wim Taymans  <wim@fluendo.com>
13045
13046         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13047         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13048         (send_messages), (GST_START_TEST), (gstbus_suite):
13049         * check/gst/gstpipeline.c: (GST_START_TEST):
13050         * check/pipelines/cleanup.c: (run_pipeline):
13051         * check/pipelines/simple_launch_lines.c: (run_pipeline),
13052         (GST_START_TEST):
13053         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13054         (gst_bus_source_check), (gst_bus_source_dispatch),
13055         (gst_bus_create_watch), (gst_bus_add_watch_full),
13056         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13057         * gst/gstbus.h:
13058         * tools/gst-launch.c: (event_loop):
13059         * tools/gst-md5sum.c: (event_loop):
13060         GstBusHandler -> GstBusFunc, return value has the same meaning as
13061         any other GSource (FALSE == remove source).
13062         _add_watch() and _add_watch_full() now take a MessageType mask to
13063         only handle specific types of messages.
13064         _poll() returns the GstMessage instead of the message type to avoid
13065         race conditions.
13066         _have_pending() takes a MessageType mask now too.
13067         Added testsuite for multiple bus watches.
13068         Fix testsuites and applications for new bus API.
13069
13070 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
13071
13072         * check/Makefile.am:
13073           mark a bunch of the tests as to fix until we fix them
13074
13075 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13076
13077         * common/check.mak:
13078           use GST_PLUGIN settings for valgrind tests as well, so we're
13079           valgrinding the correct thing
13080         * gst/gst.c: (init_post):
13081           plug another leak
13082
13083 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13084
13085         * gst/gst.c: (init_post), (gst_deinit):
13086         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13087         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13088         * gst/gstindex.c: (gst_index_factory_class_init),
13089         (gst_index_factory_finalize):
13090         * gst/gstobject.c: (gst_object_dispose):
13091         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13092         (gst_plugin_load_file), (gst_plugin_desc_free):
13093         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13094         (gst_plugin_feature_finalize):
13095         * gst/gstregistry.c: (gst_registry_class_init),
13096         (gst_registry_init), (gst_registry_finalize),
13097         (gst_registry_get_default), (gst_registry_deinit):
13098         * gst/gstregistry.h:
13099         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13100           various cleanups and memleak plugging.  make valgrind is happy now.
13101
13102 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13103
13104         * common/check.mak:
13105           add a check-valgrind target
13106
13107 2005-09-18  David Schleef  <ds@schleef.org>
13108
13109         * tools/gst-inspect.c: Revert the GOption code.
13110
13111 2005-09-17  David Schleef  <ds@schleef.org>
13112
13113         * check/Makefile.am: Fix environment variables.
13114         * check/gst/gstplugin.c: Fix for API changes.
13115         * tools/gst-inspect.c: Fix for API changes.
13116         * tools/gst-xmlinspect.c: Fix for API changes.
13117         * gst/gstelementfactory.c:
13118         * gst/gstplugin.c:
13119         * gst/gstplugin.h:
13120         * gst/gstpluginfeature.c:
13121         * gst/gstpluginfeature.h:
13122         * gst/gstregistry.c:
13123         * gst/gstregistry.h:
13124         * gst/gstregistryxml.c:
13125         * gst/gsttypefind.c:
13126         * gst/gsttypefindfactory.c:
13127         * gst/indexers/gstfileindex.c:
13128         * gst/indexers/gstmemindex.c:
13129         * gst/schedulers/Makefile.am:
13130           Change registry to keep track of both plugins and features,
13131           removing the feature tracking from plugins themselves.
13132
13133 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13134
13135         * check/Makefile.am:
13136         * tools/gst-register.1.in:
13137           remove gst-register
13138
13139 2005-09-15  David Schleef  <ds@schleef.org>
13140
13141         * check/gst/gstplugin.c:
13142         * gst/gstelementfactory.c:
13143         * gst/gstplugin.c:
13144         * gst/gstpluginfeature.c:
13145         * gst/gstregistry.c:
13146           Getting tired of debugging.  Disabled all the unreffing of
13147           plugins and features, which fixes the segfaults, but of
13148           course leaks like crazy.  At least playbin works.
13149
13150 2005-09-15  David Schleef  <ds@schleef.org>
13151
13152         * check/gst/gstplugin.c: (register_check_elements),
13153         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13154         More testing
13155         * gst/elements/gsttypefindelement.c: Fix refcounting.
13156         * gst/gsttypefind.c:
13157         * gst/gsttypefindfactory.c:
13158         * gst/gsttypefindfactory.h:
13159
13160 2005-09-15  David Schleef  <ds@schleef.org>
13161
13162         * gst/gstindex.c: get refcounting correct.
13163         * gst/gstregistry.c: Handle the case where a feature/plugin is
13164           not found.
13165
13166 2005-09-15  David Schleef  <ds@schleef.org>
13167
13168         * check/Makefile.am:
13169         * check/gst/gstplugin.c: Add test
13170         * gst/gstplugin.c: Fix problems noticed by testsuite
13171         * gst/gstplugin.h:
13172         * gst/gstregistry.c: 
13173         * gst/gstregistry.h:
13174
13175 2005-09-15  David Schleef  <ds@schleef.org>
13176
13177         * gst/gstplugin.c: Implement semi-decent recounting and locking
13178           in plugins and plugin features.
13179         * gst/gstplugin.h:
13180         * gst/gstpluginfeature.c:
13181         * gst/gstpluginfeature.h:
13182         * gst/gstregistry.c:
13183
13184 2005-09-15  Michael Smith <msmith@fluendo.com>
13185
13186         * gst/gstregistry.c: (gst_registry_get_feature_list):
13187           Implement this. Makes oggdemux work; decodebin still broken.
13188
13189 2005-09-14  David Schleef  <ds@schleef.org>
13190
13191         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13192           #316076)
13193         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13194         * gst/check/Makefile.am:
13195         * libs/gst/controller/Makefile.am:
13196         * libs/gst/dataprotocol/Makefile.am:
13197
13198 2005-09-14  David Schleef  <ds@schleef.org>
13199
13200         * configure.ac: Remove getbits library.  Nothing uses it, and
13201           it should be in something like liboil if someone did want
13202           to use it.
13203         * libs/gst/Makefile.am:
13204         * libs/gst/getbits/Makefile.am:
13205         * libs/gst/getbits/gbtest.c:
13206         * libs/gst/getbits/getbits.c:
13207         * libs/gst/getbits/getbits.h:
13208         * libs/gst/getbits/gstgetbits_generic.c:
13209         * libs/gst/getbits/gstgetbits_i386.s:
13210         * libs/gst/getbits/gstgetbits_inl.h:
13211
13212 2005-09-14  David Schleef  <ds@schleef.org>
13213
13214         * gst/Makefile.am: Dist glib-compat.h
13215
13216 2005-09-14  David Schleef  <ds@schleef.org>
13217
13218         * configure.ac: Remove gst/registries, since it's no longer used.
13219         * gst/registries/Makefile.am:
13220         * gst/registries/gstlibxmlregistry.c:
13221         * gst/registries/gstlibxmlregistry.h:
13222         * gst/registries/gstxmlregistry.c:
13223         * gst/registries/gstxmlregistry.h:
13224         * gst/registries/registrytest.c:
13225
13226 2005-09-14  David Schleef  <ds@schleef.org>
13227
13228         * gst/glib-compat.h:
13229         * gst/gstregistryxml.c:
13230           Convergence is near.  Seriously.
13231
13232 2005-09-14  David Schleef  <ds@schleef.org>
13233
13234         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13235         * gst/glib-compat.h:
13236           Attempt #4 to appease the buildbots.
13237
13238 2005-09-14  David Schleef  <ds@schleef.org>
13239
13240         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13241           Attempt #3.
13242
13243 2005-09-14  David Schleef  <ds@schleef.org>
13244
13245         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13246         Attempt #2.
13247
13248 2005-09-14  David Schleef  <ds@schleef.org>
13249
13250         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13251           the new functions.
13252
13253 2005-09-14  David Schleef  <ds@schleef.org>
13254
13255         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13256         * gst/glib-compat.h: Add some functions that are in newer versions
13257           of glib than we care to require.
13258         * gst/gstregistryxml.c: Use them.
13259
13260 2005-09-14  David Schleef  <ds@schleef.org>
13261
13262         * po/POTFILES.in: remove gst-register.c
13263
13264 2005-09-14  David Schleef  <ds@schleef.org>
13265
13266         * docs/gst/gstreamer-docs.sgml:
13267         * docs/gst/gstreamer-sections.txt:
13268         * docs/gst/gstreamer.types:
13269         * docs/gst/tmpl/gstelement.sgml:
13270         * docs/gst/tmpl/gstplugin.sgml:
13271         * docs/gst/tmpl/gstpluginfeature.sgml:
13272           Documentation updates for registry changes.
13273
13274 2005-09-14  David Schleef  <ds@schleef.org>
13275
13276         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13277           because we don't require glib-2.8.
13278
13279 2005-09-14  David Schleef  <ds@schleef.org>
13280
13281         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13282           registries directory.
13283
13284 2005-09-14  David Schleef  <ds@schleef.org>
13285
13286         * check/Makefile.am:
13287         * check/generic/states.c:
13288         * gst/Makefile.am:
13289         * gst/gst.c:
13290         * gst/gst.h:
13291         * gst/gst_private.h:
13292         * gst/gstelementfactory.c:
13293         * gst/gstindex.c:
13294         * gst/gstinfo.c:
13295         * gst/gstplugin.c:
13296         * gst/gstplugin.h:
13297         * gst/gstpluginfeature.c:
13298         * gst/gstpluginfeature.h:
13299         * gst/gstregistry.c:
13300         * gst/gstregistry.h:
13301         * gst/gstregistrypool.c: remove
13302         * gst/gstregistrypool.h: remove
13303         * gst/gsttypefind.c:
13304         * gst/gsttypefindfactory.c:
13305         * gst/gsturi.c:
13306         * tools/Makefile.am:
13307         * tools/gst-compprep.c:
13308         * tools/gst-inspect.c:
13309         * tools/gst-register.c: remove
13310         * tools/gst-xmlinspect.c:
13311           Registry rewrite.  Changes registry from being a file created
13312           by a tool into a simple cache file created automatically by 
13313           libgstreamer.  Removed gst-register (because it's no longer
13314           needed).  Remove registry pools, because we only have one
13315           registry implementation (XML).  Fix up other subsystems as
13316           necessary.
13317
13318 2005-09-13  Michael Smith <msmith@fluendo.com>
13319
13320         * gst/gstconfig.h.in:
13321           Don't Use windows linking attributes for MinGW. Fixes #316157
13322
13323 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13324
13325         * gst/gstutils.c: (set_state_async_thread_func),
13326         (gst_element_set_state_async):
13327           Apparently people think it's better if this function doesn't
13328           try to set the state to whatever state was asked for on the first
13329           call to this function for any object.  Seriously.
13330
13331 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13332
13333         * check/gst/gstpipeline.c: (GST_START_TEST):
13334         * docs/gst/gstreamer-sections.txt:
13335         * gst/gstutils.c: (set_state_async_thread_func),
13336         (gst_element_set_state_async):
13337         * gst/gstutils.h:
13338           add a "gst_element_set_state_async" method that
13339           sets the state and starts a thread to make sure the state
13340           change completes as best as it can
13341
13342 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13343
13344         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13345           codify design+behaviour in testsuite after discussion
13346
13347 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13348
13349         * docs/gst/tmpl/gstelement.sgml:
13350         * docs/manual/appendix-quotes.xml:
13351           add a quote
13352         * gst/gstelement.c: (gst_element_set_state):
13353           add some debug
13354
13355 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13356
13357         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13358         (gst_base_transform_prepare_output_buf),
13359         (gst_base_transform_handle_buffer):
13360         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13361         (gst_capsfilter_prepare_buf):
13362           Remove the requirement for sub-classes to call the parent
13363           implementation of prepare_output_buffer with a wrapper function.
13364           
13365         * gst/gsttaglist.h:
13366         * gst/gsttagsetter.h:
13367           Fix #define wrapper
13368
13369 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13370
13371         * docs/gst/gstreamer-sections.txt:
13372           more doc cleanups
13373
13374 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13375
13376         * docs/gst/gstreamer-sections.txt:
13377         * docs/gst/tmpl/gstelement.sgml:
13378         * docs/gst/tmpl/gstplugin.sgml:
13379         * gst/gstminiobject.c:
13380         * gst/gstvalue.h:
13381           docs now stop throwing warnings
13382
13383 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13384
13385         * docs/gst/gstreamer-sections.txt:
13386         * docs/gst/gstreamer.types:
13387         * docs/gst/tmpl/gstpad.sgml:
13388         * docs/gst/tmpl/gsttypes.sgml:
13389         * gst/base/gstadapter.h:
13390         * gst/base/gstbasesink.h:
13391         * gst/base/gstbasesrc.h:
13392         * gst/gstbin.h:
13393         * gst/gstbuffer.h:
13394         * gst/gstbus.h:
13395         * gst/gstcaps.h:
13396         * gst/gstclock.h:
13397         * gst/gstelement.h:
13398         * gst/gstevent.h:
13399         * gst/gstmessage.h:
13400         * gst/gstpad.h:
13401         * gst/gststructure.c:
13402         * gst/registries/gstlibxmlregistry.h:
13403           various documentation fixes
13404
13405 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13406
13407         * docs/gst/gstreamer-sections.txt:
13408         * docs/gst/tmpl/gstvalue.sgml:
13409           rearrange gstvalue section
13410         * gst/gstutils.c: (gst_element_state_get_name):
13411           NONE -> VOID
13412         * gst/gstvalue.c: (_gst_value_initialize):
13413         * gst/gstvalue.h:
13414           doc updates
13415
13416 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13417
13418         * check/gst-libs/controller.c:
13419           Header include fix.
13420         * gst/base/gstbasetransform.c:
13421         (gst_base_transform_default_prepare_buf),
13422         (gst_base_transform_handle_buffer):
13423         * gst/base/gstbasetransform.h:
13424           Some more basetransform changes and fixes to enable sub-classes
13425           that modify buffer metadata only.
13426         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13427         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13428         (gst_capsfilter_prepare_buf):
13429           If the output pad has fixed allowed caps and input buffers 
13430           don't have any, set the fixed caps on outgoing buffers.
13431
13432 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13433         * check/elements/identity.c: (GST_START_TEST):
13434           Make the error a little clearer when the test fails because
13435           identity made a copy of the buffer.
13436         * docs/gst/gstreamer-sections.txt:
13437           New symbols in gstbasetransform.h
13438         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13439         (gst_base_transform_init), (gst_base_transform_transform_size),
13440         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13441         (gst_base_transform_default_prepare_buf),
13442         (gst_base_transform_get_unit_size),
13443         (gst_base_transform_buffer_alloc),
13444         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13445         (gst_base_transform_change_state),
13446         (gst_base_transform_set_passthrough),
13447         (gst_base_transform_set_in_place),
13448         (gst_base_transform_is_in_place):
13449         * gst/base/gstbasetransform.h:
13450           Change BaseTransform to separate in_place operate from same_caps
13451           output. in_place implies that the element can perform the transform
13452           on incoming buffers in-place, even if the caps on the output are
13453           different.
13454           Sub-class elements can now implement special buffer allocation
13455           methods for outgoing buffers if they wish to.
13456           Big documentation addition.
13457         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13458         * gst/elements/gstelements.c:
13459           Changes for basetransform modifications.
13460         * gst/elements/Makefile.am:
13461         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13462           Compile fix. Extra debug output.
13463
13464 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13465
13466         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13467         (gst_pad_suite):
13468           add tests for valid pad naming
13469         * gst/check/gstcheck.c: (gst_check_log_message_func),
13470         (gst_check_log_critical_func):
13471           add ASSERT_WARNING
13472           remove printing of code, it is fragile when the code contains
13473           % and the line number is enough info
13474         * gst/check/gstcheck.h:
13475         * gst/gstpad.c: (gst_pad_template_new):
13476           fix memleaks
13477
13478 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13479
13480         * configure.ac:
13481           say what CHECK flags we use
13482         * docs/libs/gstreamer-libs.types:
13483         * libs/gst/controller/Makefile.am:
13484         * libs/gst/controller/gst-controller.c:
13485         * libs/gst/controller/gst-controller.h:
13486         * libs/gst/controller/gst-helper.c:
13487         * libs/gst/controller/gst-interpolation.c:
13488         * libs/gst/controller/gstcontroller.c:
13489         * libs/gst/controller/gsthelper.c:
13490         * libs/gst/controller/gstinterpolation.c:
13491         * tools/gst-inspect.c: (print_plugin_info):
13492           we don't use dashes in header names
13493
13494 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13495
13496         * check/Makefile.am:
13497         * check/gst/.cvsignore:
13498         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13499         (gst_pipeline_suite), (main):
13500           adding a test for pipelines and state changes
13501         * gst/gstutils.c: (get_state_func):
13502           add some debugging
13503         * gstreamer.spec.in:
13504           fix up spec file
13505
13506 2005-09-08  Michael Smith <msmith@fluendo.com>
13507
13508         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13509         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13510         (gst_file_src_is_seekable), (gst_file_src_get_size),
13511         (gst_file_src_start):
13512         * gst/elements/gstfilesrc.h:
13513           Various fixes for unseekable, unmmapable, and non-normal files, so
13514           that fallback to read() rather than mmap() works.
13515         * gst/gstevent.c: (gst_event_new_newsegment):
13516           Allow newsegment events with segment_start == segment_end, as will
13517           correctly happen if you use filesrc on a zero-size file, for
13518           example.
13519
13520 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13521
13522         * gst/gstplugin.c: (gst_plugin_load_file):
13523           Call g_module_close when we don't load the module
13524
13525         * gst/registries/gstlibxmlregistry.c:
13526         (gst_xml_registry_get_property):
13527           Port leak fix from 0.8
13528
13529 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13530
13531         * docs/gst/gstreamer-docs.sgml:
13532         * docs/gst/tmpl/.cvsignore:
13533         * docs/gst/tmpl/gsttrace.sgml:
13534         * docs/gst/tmpl/gsttrashstack.sgml:
13535         * gst/Makefile.am:
13536         * gst/gst.h:
13537         * gst/gstelement.h:
13538         * gst/gstevent.h:
13539         * gst/gstmessage.c:
13540         * gst/gstmessage.h:
13541         * gst/gsttag.c:
13542         * gst/gsttag.h:
13543         * gst/gsttaginterface.c:
13544         * gst/gsttaginterface.h:
13545         * gst/gsttaglist.c:
13546         * gst/gsttaglist.h:
13547         * gst/gsttagsetter.c:
13548         * gst/gsttagsetter.h:
13549         * gst/gsttrace.c:
13550         * gst/gsttrace.h:
13551         * gst/gsttrashstack.c:
13552           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13553           inlined docs for gsttrace, gsttrashstack
13554
13555 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13556
13557         * gst/Makefile.am:
13558         * gst/elements/gstbufferstore.h:
13559         * gst/elements/gsttypefindelement.c:
13560         * gst/elements/gsttypefindelement.h:
13561         * gst/gst.h:
13562         * gst/gsttypefind.c:
13563         * gst/gsttypefind.h:
13564         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13565         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13566         (gst_type_find_factory_dispose),
13567         (gst_type_find_factory_unload_thyself),
13568         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13569         (gst_type_find_factory_get_caps),
13570         (gst_type_find_factory_get_extensions),
13571         (gst_type_find_factory_call_function):
13572         * gst/gsttypefindfactory.h:
13573         * gst/registries/gstlibxmlregistry.c:
13574         * gst/registries/gstxmlregistry.c:
13575           splitted gsttypefind into gsttypefind, gsttypefindfactory
13576
13577 2005-09-07  Andy Wingo  <wingo@pobox.com>
13578
13579         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13580         condition whereby the pad's task function is entered before the
13581         pad_mode variable was set.
13582
13583 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13584
13585         * gst/gstpad.c: (gst_pad_alloc_buffer):
13586           Catch misbehaving pad_alloc functions that don't
13587           set up caps and do it for them.
13588
13589 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13590
13591         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13592           test for pipe!=NULL
13593         * docs/gst/tmpl/.cvsignore:
13594         * docs/gst/tmpl/gstmemchunk.sgml:
13595         * docs/gst/tmpl/gstparse.sgml:
13596         * docs/gst/tmpl/gsttaglist.sgml:
13597         * docs/gst/tmpl/gsttagsetter.sgml:
13598         * docs/gst/tmpl/gsttypefind.sgml:
13599         * docs/gst/tmpl/gsttypefindfactory.sgml:
13600         * gst/gstmemchunk.c:
13601         * gst/gstparse.c:
13602         * gst/gsttag.c:
13603         * gst/gsttaginterface.c:
13604         * gst/gsttypefind.c:
13605         * gst/gsttypefind.h:
13606           inlined more docs
13607
13608 === release 0.9.2 ===
13609
13610 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13611
13612         * NEWS:
13613         * RELEASE:
13614         * configure.ac:
13615           releasing 0.9.2, "South"
13616
13617 2005-09-05  Andy Wingo  <wingo@pobox.com>
13618
13619         * gst/registries/gstxmlregistry.h:
13620         * gst/registries/gstxmlregistry.c: Um... resurrect...
13621         
13622         * gst/registries/gstxmlregistry.h:
13623         * gst/registries/gstxmlregistry.c: and update to newer API.
13624         Incidentally they should be a bit faster now that they don't have
13625         to parse the caps.
13626         
13627 2005-09-05  Andy Wingo  <wingo@pobox.com>
13628
13629         * gst/registries/gstxmlregistry.h:
13630         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13631         replaced by the libxml registry a while back
13632
13633 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13634
13635         * docs/gst/tmpl/gstplugin.sgml:
13636         * gst/elements/gstelements.c:
13637         * gst/gst.c:
13638         * gst/gstplugin.c: (gst_plugin_register_func),
13639         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13640         (gst_plugin_get_source):
13641         * gst/gstplugin.h:
13642         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13643         (gst_xml_registry_save_plugin):
13644         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13645         (gst_xml_registry_save_plugin):
13646         * tools/gst-inspect.c: (print_plugin_info):
13647           add a "source" plugin description field, to represent the source
13648           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13649           will set it to PACKAGE, which is automake's idea of the name of
13650           the source project.
13651
13652 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13653
13654         * Makefile.am:
13655         * autogen.sh:
13656         * configure.ac:
13657         * docs/Makefile.am:
13658         * docs/faq/Makefile.am:
13659         * docs/gst/tmpl/gstelement.sgml:
13660         * docs/gst/tmpl/gsttypes.sgml:
13661         * docs/htmlinstall.mak:
13662         * docs/manual/Makefile.am:
13663         * docs/pwg/Makefile.am:
13664           reorganize doc build a little
13665           split out docbook and gtk-doc stuff
13666           have two separate --enable's and enable them through autogen
13667           but disable by default in configure (to be similar to other
13668           projects)
13669         * gstreamer.spec.in:
13670           clean up docs install
13671         * po/af.po:
13672         * po/az.po:
13673         * po/ca.po:
13674         * po/cs.po:
13675         * po/de.po:
13676         * po/en_GB.po:
13677         * po/fr.po:
13678         * po/it.po:
13679         * po/nb.po:
13680         * po/nl.po:
13681         * po/ru.po:
13682         * po/sq.po:
13683         * po/sr.po:
13684         * po/sv.po:
13685         * po/tr.po:
13686         * po/uk.po:
13687         * po/vi.po:
13688           translation updates
13689
13690 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13691
13692         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13693           Add comment.
13694           
13695         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13696         (gst_fake_sink_change_state):
13697           Make state change function thread-safe.
13698           
13699         * gst/gstpad.c: (gst_pad_alloc_buffer):
13700           Set offset on generic buffer allocated by fallback.
13701
13702 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13703
13704         * docs/gst/gstreamer-sections.txt:
13705         * docs/gst/tmpl/gstelement.sgml:
13706         * gst/gstpad.c:
13707         * libs/gst/controller/gst-controller.c:
13708         (gst_controlled_property_set_interpolation_mode),
13709         (gst_controlled_property_new),
13710         (gst_controller_find_controlled_property):
13711          run the wingo-magic script against the docs
13712
13713 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13714
13715         * docs/gst/gstreamer-docs.sgml:
13716         * docs/gst/gstreamer-sections.txt:
13717         * docs/gst/tmpl/.cvsignore:
13718         * docs/gst/tmpl/gstelementdetails.sgml:
13719         * docs/gst/tmpl/gstelementfactory.sgml:
13720         * gst/gst.c:
13721         * gst/gstbus.c:
13722         * gst/gstelementfactory.c:
13723         * gst/gstelementfactory.h:
13724           merged elementdetails docs into elementfactory docs
13725           inlined both
13726
13727 2005-09-02  Andy Wingo  <wingo@pobox.com>
13728
13729         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13730         consider this enum an enum and not a flags.
13731
13732 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13733
13734         * docs/gst/gstreamer-docs.sgml:
13735         * docs/gst/tmpl/.cvsignore:
13736         * docs/gst/tmpl/gstghostpad.sgml:
13737         * docs/gst/tmpl/gstiterator.sgml:
13738         * docs/gst/tmpl/gstmacros.sgml:
13739         * docs/gst/tmpl/gstrealpad.sgml:
13740         * docs/gst/tmpl/gstregistry.sgml:
13741         * docs/gst/tmpl/gstregistrypool.sgml:
13742         * docs/gst/tmpl/gststructure.sgml:
13743         * docs/gst/tmpl/gstsystemclock.sgml:
13744         * docs/gst/tmpl/gsttrace.sgml:
13745         * gst/gstghostpad.c:
13746         * gst/gstmacros.h:
13747         * gst/gstmemchunk.c:
13748         * gst/gstmemchunk.h:
13749         * gst/gstqueue.c:
13750         * gst/gstregistry.c:
13751         * gst/gstregistrypool.c:
13752         * gst/gststructure.c:
13753         * gst/gstsystemclock.c:
13754           more docs inlined
13755
13756 2005-09-02  Andy Wingo  <wingo@pobox.com>
13757
13758         * gst/gstelement.h (GstState): Renamed from GstElementState,
13759         changed to be a normal enum instead of flags.
13760         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13761         munged to be GST_STATE_CHANGE_*.
13762         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13763         work with the new state representation.
13764         (GstStateChange): New enumeration of possible state transitions.
13765         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13766         (GstElementClass::change_state): Pass the GstStateChange along as
13767         an argument. Helps language bindings, so they don't have to use
13768         tricky lock-needing macros like GST_STATE_CHANGE ().
13769
13770         * scripts/update-states (file): New script. Run it on a file to
13771         update it for state naming and API changes. Updates files in
13772         place.
13773
13774         * All files updated for the new API.
13775
13776 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13777
13778         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13779         * gst/gstutils.c: (gst_util_set_value_from_string),
13780         (gst_util_set_object_arg):
13781           fix a bunch of unchecked return values
13782         * tools/gst-complete.c: (main):
13783         * gstreamer.spec.in:
13784           clean up a little
13785
13786 2005-09-01  Wim Taymans  <wim@fluendo.com>
13787
13788         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13789         (gst_base_sink_event), (gst_base_sink_do_sync),
13790         (gst_base_sink_handle_event):
13791         * gst/base/gstbasesink.h:
13792         Handle newsegments more correctly.
13793
13794         * gst/gstbus.c:
13795         Fix docs.
13796
13797         * gst/gstevent.c: (gst_event_new_newsegment):
13798         A newsegment cannot have a start_time of -1
13799
13800 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13801
13802         * win32/gstenumtypes.c:
13803         * win32/gstenumtypes.h:
13804           Update
13805
13806 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13807
13808         * libs/gst/controller/gst-controller.c:
13809         (gst_controlled_property_set_interpolation_mode),
13810         (gst_controlled_property_new):
13811          fixed boolean again
13812
13813 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13814
13815         * docs/faq/gst-uninstalled:
13816           add -good
13817         * gst/gstevent.c:
13818         * gst/gstevent.h:
13819           remove wrong docs
13820         * gst/gstutils.c: (gst_element_link_filtered):
13821         * gst/gstutils.h:
13822           add gst_element_link_filtered
13823
13824 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13825
13826         * docs/gst/gstreamer-docs.sgml:
13827         * docs/gst/gstreamer-sections.txt:
13828         * docs/gst/tmpl/.cvsignore:
13829         * docs/gst/tmpl/gsterror.sgml:
13830         * docs/gst/tmpl/gstfilter.sgml:
13831         * docs/gst/tmpl/gsturihandler.sgml:
13832         * docs/gst/tmpl/gsturitype.sgml:
13833         * docs/gst/tmpl/gstutils.sgml:
13834         * docs/gst/tmpl/gstxml.sgml:
13835         * gst/gsterror.c:
13836         * gst/gsterror.h:
13837         * gst/gstfilter.c:
13838         * gst/gsturi.c:
13839         * gst/gsturitype.c:
13840         * gst/gstutils.c:
13841         * gst/gstxml.c:
13842           inlined more docs, fixed double id-ref
13843
13844 2005-08-31  Wim Taymans  <wim@fluendo.com>
13845
13846         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13847         (gst_base_transform_handle_buffer):
13848         Passthrough elements don't need the caps as they don't care.
13849
13850 2005-08-31  Wim Taymans  <wim@fluendo.com>
13851
13852         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13853         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13854         Don't leak refcounts on buffers.
13855
13856 2005-08-31  Wim Taymans  <wim@fluendo.com>
13857
13858         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13859         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13860         (gst_base_transform_chain), (gst_base_transform_change_state):
13861         * gst/base/gstbasetransform.h:
13862         Handle the case where we are not negotiated more gracefully.
13863
13864 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13865
13866         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13867         (gst_file_src_map_region):
13868           Set READONLY flag on mmap'ed buffers, otherwise
13869           gst_buffer_make_writable() won't work properly (#314708).
13870
13871 2005-08-31  Wim Taymans  <wim@fluendo.com>
13872
13873         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13874         passthrough elements can even do inplace on non writable
13875         buffers (as they don't touch them).
13876
13877 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13878
13879         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13880         (gst_test_mono_source_set_property),
13881         (gst_test_mono_source_class_init), (GST_START_TEST),
13882         (gst_controller_suite):
13883           more tests (hehe I have the most)
13884         * gst/gstbus.c:
13885           describe popping messages whenusing mulltiple sources
13886         * libs/gst/controller/gst-controller.c:
13887         (gst_controlled_property_set_interpolation_mode),
13888         (gst_controlled_property_new):
13889         * libs/gst/controller/gst-controller.h:
13890         * libs/gst/controller/gst-interpolation.c:
13891           implement boolean properties
13892
13893 2005-08-31  Wim Taymans  <wim@fluendo.com>
13894
13895         * gst/gstminiobject.c: (gst_mini_object_ref):
13896         Cannot assert that the refcount has to be positive
13897         since a disposed object can be resurrected.
13898
13899 2005-08-31  Wim Taymans  <wim@fluendo.com>
13900
13901         * gst/gstpad.c: (gst_pad_init):
13902         Revert change, need to first fix badly behaving 
13903         apps.
13904
13905 2005-08-30  Wim Taymans  <wim@fluendo.com>
13906
13907         * check/elements/fakesrc.c: (setup_fakesrc):
13908         * check/elements/identity.c: (setup_identity):
13909         Activate pads before using them.
13910
13911 2005-08-30  Wim Taymans  <wim@fluendo.com>
13912
13913         * gst/base/gstadapter.c: (gst_adapter_flush):
13914         Flushing out 0 bytes is ok for this function.
13915
13916         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13917         no newsegment gives a warning and sets the start/stop to 
13918         invalid.
13919
13920         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13921         (gst_base_transform_set_passthrough):
13922         Some debug info.
13923
13924         * gst/gstminiobject.c: (gst_mini_object_ref):
13925         Check refcount here too.
13926
13927         * gst/gstpad.c: (gst_pad_init):
13928         Pads are initially flushing and refusing data.
13929
13930         * gst/gstutils.c: (gst_element_link_pads_filtered):
13931         When adding a capsfilter element make sure it has the
13932         same state as the parent bin.
13933
13934 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13935
13936         * docs/gst/tmpl/.cvsignore:
13937         * docs/gst/tmpl/gstformat.sgml:
13938         * docs/gst/tmpl/gstversion.sgml:
13939         * gst/gstbus.h:
13940         * gst/gstformat.c:
13941         * gst/gstformat.h:
13942         * gst/gstversion.h.in:
13943           more docs and two more inlined
13944
13945 2005-08-30  Wim Taymans  <wim@fluendo.com>
13946
13947         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13948         Don't sync to clock.
13949
13950 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13951
13952         * docs/gst/gstreamer-sections.txt:
13953           ultral33t func10ns deserve to appear in the docs actually
13954         * docs/gst/tmpl/.cvsignore:
13955         * docs/gst/tmpl/gstcompat.sgml:
13956         * docs/gst/tmpl/gstconfig.sgml:
13957         * gst/check/gstcheck.c:
13958         * gst/gstcompat.h:
13959         * gst/gstconfig.h.in:
13960           inlined more docs
13961
13962 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13963
13964         * docs/gst/tmpl/.cvsignore:
13965         * docs/gst/tmpl/gstquery.sgml:
13966         * docs/gst/tmpl/gstutils.sgml:
13967         * gst/gstquery.c:
13968         * gst/gstquery.h:
13969           inlined and extended docs
13970
13971 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13972
13973         * check/gst-libs/controller.c: (GST_START_TEST),
13974         (gst_controller_suite):
13975           more tests
13976         * docs/gst/tmpl/gstutils.sgml:
13977         * docs/libs/gstreamer-libs-sections.txt:
13978         * docs/libs/tmpl/gstdataprotocol.sgml:
13979           include path fixes
13980         * examples/controller/audio-example.c: (main):
13981           controller example works now
13982         * gst/gstclock.h:
13983           doc fixes
13984         * tools/gst-inspect.c: (print_element_properties_info):
13985           show param spec flags
13986
13987 2005-08-29  Andy Wingo  <wingo@pobox.com>
13988
13989         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13990
13991 2005-08-28  Andy Wingo  <wingo@pobox.com>
13992
13993         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13994         as having two arguments instead of just one. Allows superclasses
13995         to access information on subclasses -- see the terrible for() loop
13996         in gtype.c:g_type_create_instance for the reason why. All callers
13997         changed.
13998
13999 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14000
14001         * docs/design/part-messages.txt:
14002           update info
14003         * docs/gst/tmpl/.cvsignore:
14004         * docs/gst/tmpl/gstcaps.sgml:
14005         * docs/gst/tmpl/gstclock.sgml:
14006         * gst/gstbus.c:
14007         * gst/gstcaps.c:
14008         * gst/gstcaps.h:
14009         * gst/gstclock.c:
14010         * gst/gstclock.h:
14011         * gst/gstmessage.c:
14012           added descriptions for bus and message
14013           inline caps and clock docs
14014
14015 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14016
14017         * gst/gstmessage.c:
14018         * gst/gstmessage.h:
14019           doc fixes
14020
14021 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
14022
14023         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14024           fix div-by-zero
14025
14026 2005-08-26  Andy Wingo  <wingo@pobox.com>
14027
14028         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14029         element_set_state's return val.
14030         (test_2_elements): Add test that's been disabled for months.
14031
14032         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14033         can-activate-pull properties.
14034
14035         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14036         can-activate-pull properties. Implement is_seekable so fakesrc can
14037         operate in pull mode.
14038
14039         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14040         properties.
14041         (gst_base_sink_activate, gst_base_sink_activate_pull)
14042         (gst_base_sink_activate_push): Make activation mode choosing work.
14043         Cleanups.
14044         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14045         is right. Make pull mode work. Post an eos before pausing in pull
14046         mode.
14047         (gst_base_sink_change_state): Pay attention to the core's
14048         change_state() return val.
14049         
14050         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14051         has-getrange properties. Cleanups.
14052         
14053         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14054         has_getrange and replace with can_activate_pull and
14055         can_activate_push.
14056
14057         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14058         locking comments. Remove has_loop, has_chain and replace with
14059         can_activate_pull and can_activate_push.
14060
14061 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
14062
14063         * configure.ac:
14064         * examples/Makefile.am:
14065         * examples/metadata/Makefile.am:
14066         * examples/metadata/read-metadata.c: (message_loop),
14067         (have_pad_handler), (make_pipeline), (print_tag), (main):
14068           Add metadata reading example that loops over a list of filenames,
14069           dumping any tags found.
14070
14071         * gst/gstbus.c: (gst_bus_dispose):
14072         * gst/gstelement.c: (gst_element_dispose):
14073           Release a few potentially-held references in dispose.
14074
14075 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14076
14077         * docs/gst/tmpl/gstminiobject.sgml:
14078           do *not* add tmpl/*.sgml files to CVS!
14079
14080 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14081
14082         * libs/gst/bytestream/.cvsignore:
14083         * libs/gst/bytestream/Makefile.am:
14084         * libs/gst/bytestream/adapter.c:
14085         * libs/gst/bytestream/adapter.h:
14086         * libs/gst/bytestream/bytestream.c:
14087         * libs/gst/bytestream/bytestream.h:
14088         * libs/gst/bytestream/filepad.c:
14089         * libs/gst/bytestream/filepad.h:
14090           removing obsolete files
14091
14092 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14093
14094         * docs/gst/gstreamer-docs.sgml:
14095         * docs/libs/gstreamer-libs-docs.sgml:
14096           disabed additional index entries again, as this makes docs-gen just
14097           slow and they aren't useful yet
14098         * docs/libs/gstreamer-libs-sections.txt:
14099           little -section.txt cleanup for libs
14100
14101 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14102
14103         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14104         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14105           fix up some debugging
14106         (gst_base_transform_get_unit_size),
14107         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14108         (gst_base_transform_handle_buffer):
14109         * gst/base/gstbasetransform.h:
14110           handle and store timed NEWSEGMENT events so that subclasses that
14111           calculate time by counting samples have a segment_start time they
14112           need to add to their timestamps - see audioresample
14113
14114 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14115
14116         * gst/gstbin.h:
14117           removed ';' from the end of macro defs
14118         * docs/gst/gstreamer-docs.sgml:
14119         * docs/gst/gstreamer-sections.txt:
14120         * docs/gst/tmpl/.cvsignore:
14121         * gst/gstbus.h:
14122         * gst/gstelement.c: (gst_element_class_init),
14123         (gst_element_set_state), (activate_pads),
14124         (gst_element_save_thyself):
14125         * gst/gstevent.c: (gst_event_new_newsegment):
14126         * gst/gstevent.h:
14127         * gst/gstiterator.c:
14128         * gst/gstiterator.h:
14129         * gst/gstpad.c:
14130         * gst/gstprobe.h:
14131         * gst/gstutils.c: (gst_pad_query_convert):
14132         * gst/gstutils.h:
14133           fixed parameter name mismatches between source, header and docs
14134           added some more docs, resolved the last batch of unused elements in
14135           docs (now someone needs to doc them)
14136
14137 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14138
14139         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14140         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14141           don't walk through the plugins backwards.  Where is all this
14142           reversed logic coming from ?
14143
14144 2005-08-25  Wim Taymans  <wim@fluendo.com>
14145
14146         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14147         (gst_base_transform_transform_size),
14148         (gst_base_transform_configure_caps),
14149         (gst_base_transform_get_unit_size),
14150         (gst_base_transform_buffer_alloc),
14151         (gst_base_transform_change_state):
14152         * gst/base/gstbasetransform.h:
14153         Cache caps unit_size.
14154         Make sure we cannot negotiate up and downstream at the
14155         same time.
14156
14157 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14158
14159         * gst/gst.c: (init_pre), (init_post):
14160           register the installed plugin path after the env var
14161         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14162         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14163           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14164           directories, so the tests can prefer uninstalled over installed
14165
14166 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14167
14168         * gst/base/gstbasetransform.h:
14169           comment
14170         * gst/gstpad.c:
14171           add to docs
14172
14173 2005-08-25  Wim Taymans  <wim@fluendo.com>
14174
14175         * gst/gstbin.c: (bin_bus_handler):
14176         Be a bit more conservative about the posted message.
14177         
14178         * gst/gstbus.c: (gst_bus_post):
14179         Some cleanups, warn wrong return values.
14180
14181 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14182
14183         * check/gst/gstbin.c: (GST_START_TEST):
14184         * gst/gstbin.c: (bin_bus_handler):
14185         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14186         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14187         (gst_message_new_warning), (gst_message_new_tag),
14188         (gst_message_new_state_changed), (gst_message_new_segment_start),
14189         (gst_message_new_segment_done), (gst_message_new_custom):
14190         * gst/gstmessage.h:
14191         * tools/gst-launch.c: (event_loop):
14192         * tools/gst-md5sum.c: (event_loop):
14193           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14194
14195 2005-08-25  Wim Taymans  <wim@fluendo.com>
14196
14197         * check/generic/states.c: (GST_START_TEST):
14198         Cleanup can be done at the end.
14199
14200         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14201         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14202         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14203         Oh boy.. Thanks for finding this, Thomas. 
14204
14205 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14206
14207         * docs/gst/gstreamer.types:
14208           added missing types
14209
14210 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14211
14212         * docs/gst/gstreamer-docs.sgml:
14213         * docs/gst/gstreamer-sections.txt:
14214         * docs/gst/tmpl/.cvsignore:
14215         * gst/gstbin.c:
14216         * gst/gstiterator.c:
14217         * gst/gstutils.c:
14218         * gst/registries/gstxmlregistry.h:
14219           added missing classes and symbols (123 more to go)
14220           removed removed symbols from section file
14221           fixed many doc-comments
14222
14223 2005-08-24  Wim Taymans  <wim@fluendo.com>
14224
14225         * check/generic/states.c: (GST_START_TEST):
14226         Make sure all tasks are stopped.
14227
14228         * check/gst/gstbin.c: (GST_START_TEST):
14229         Unref after usage for proper valgrinding.
14230
14231         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14232         Really wait for the task to stop before destroying the
14233         mutex.
14234
14235         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14236         (gst_queue_src_activate_push):
14237         Small cleanups. Don't stop the task when we did not start
14238         it.
14239
14240         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14241         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14242         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14243         (gst_task_join):
14244         * gst/gsttask.h:
14245         Protect the stream lock with the object lock.
14246         Disallow setting the stream lock when running.
14247         Add cleanup_all to wait for the threadpool to finish.
14248         Remove code to autoallocate a mutex if none was provided.
14249         Add _join() to wait for a task to stop.
14250         Protect the thread pool with a global lock.
14251
14252 2005-08-24  Wim Taymans  <wim@fluendo.com>
14253
14254         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14255         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14256         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14257         * gst/base/gstbasesink.h:
14258         Handle newsegment events correctly.
14259         Drop buffers out of the segment range.
14260
14261 2005-08-22  Andy Wingo  <wingo@pobox.com>
14262
14263         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14264         macro, implements an interface and gstimplementsinterface for a
14265         new type.
14266
14267 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14268
14269         * check/Makefile.am:
14270         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14271           add a test that does a bunch of state changes on elements
14272           needs some fixing for valgrind
14273         * check/states/sinks.c: (gst_object_suite):
14274           whitespace
14275         * gst/gstcaps.h:
14276           add prototype for gst_caps_is_equal_fixed
14277         * gst/gstplugin.c:
14278         * gst/gstregistrypool.c:
14279           doc fixes
14280
14281 2005-08-24  Andy Wingo  <wingo@pobox.com>
14282
14283         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14284         convert a negative value. Doesn't make much sense. Mostly this is
14285         here to force callers to ensure -1 maps to -1.
14286
14287 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14288
14289         * docs/pwg/advanced-types.xml:
14290           Well done to Michael for catching my deliberate introduction
14291           of this spelling mistake. 
14292         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14293         * gst/gstelement.h:
14294           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14295           unlink pads before removing the element from the bin.
14296
14297 2005-08-24  Andy Wingo  <wingo@pobox.com>
14298
14299         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14300         the same thing as GST_DEBUG=*:4.
14301         (parse_debug_level, parse_debug_category): New helper parsers.
14302
14303 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14304
14305         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14306         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14307         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14308         (gst_base_transform_buffer_alloc),
14309         (gst_base_transform_handle_buffer):
14310           use gboolean return values and pointers to size so we can use the
14311           full GST_BUFFER_SIZE range (guint) for buffer sizes
14312           use GstPadDirection for transform_caps
14313         * gst/base/gstbasetransform.h:
14314           rename get_size to get_unit_size since that's what it is
14315         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14316           use GstPadDirection for transform_caps
14317         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14318         * gst/gstutils.h:
14319           cleanup and debugging
14320
14321 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14322
14323         * gst/gstelement.c: (gst_element_class_init),
14324         (gst_element_set_state), (activate_pads),
14325         (gst_element_save_thyself):
14326         * tools/gst-compprep.c: (main):
14327         * tools/gst-inspect.c: (print_element_properties_info):
14328         * tools/gst-xmlinspect.c: (print_element_properties):
14329           Fixed long standing mem-leak
14330
14331 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14332
14333         * check/gst/gstbin.c: (GST_START_TEST):
14334         * gst/gstbin.c: (bin_bus_handler):
14335         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14336         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14337         (gst_message_new_warning), (gst_message_new_tag),
14338         (gst_message_new_state_changed), (gst_message_new_segment_start),
14339         (gst_message_new_segment_done), (gst_message_new_custom):
14340         * gst/gstmessage.h:
14341         * tools/gst-launch.c: (event_loop):
14342         * tools/gst-md5sum.c: (event_loop):
14343           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14344           that applications can sensibly post custom messages with references
14345           to their own objects.
14346
14347 2005-08-24  Andy Wingo  <wingo@pobox.com>
14348
14349         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14350         already.
14351
14352 2005-08-24  Wim Taymans  <wim@fluendo.com>
14353
14354         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14355         (gst_base_transform_transform_caps),
14356         (gst_base_transform_transform_size),
14357         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14358         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14359         (gst_base_transform_handle_buffer):
14360         * gst/base/gstbasetransform.h:
14361         Many fixes and new features added by Thomas. Can now also do
14362         transforms with variable sizes and a custom fixate_caps function.
14363
14364 2005-08-24  Wim Taymans  <wim@fluendo.com>
14365
14366         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14367         Some debugging.
14368
14369         * gst/gstclock.h:
14370         Cast to ClockTime before formatting to time.
14371
14372         * gst/gstutils.h:
14373         Cleanups.
14374
14375 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14376
14377         * check/gst-libs/controller.c: (GST_START_TEST),
14378         (gst_controller_suite):
14379         * docs/gst/tmpl/gstcaps.sgml:
14380         * docs/gst/tmpl/gstghostpad.sgml:
14381         * docs/gst/tmpl/gstquery.sgml:
14382         * docs/gst/tmpl/gstutils.sgml:
14383         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14384         (gst_object_sink_values), (gst_object_get_value_arrays),
14385         (gst_object_get_value_array):
14386           gracefully handle helper method calls to objects that are not beeing
14387           controlled, added test case for that          
14388
14389 2005-08-23  Wim Taymans  <wim@fluendo.com>
14390
14391         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14392         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14393         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14394         (gst_event_parse_qos), (gst_event_new_seek),
14395         (gst_event_parse_seek):
14396         * gst/gstevent.h:
14397         Some more debugging output and doc cleanups.
14398
14399         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14400         Fix possible deadlock.
14401
14402 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14403
14404         * docs/gst/gstreamer-docs.sgml:
14405         * docs/gst/gstreamer-sections.txt:
14406         * docs/gst/gstreamer.types:
14407         * docs/gst/tmpl/.cvsignore:
14408         * gst/gstbin.h:
14409         * gst/gstbus.c:
14410         * gst/gstelement.c:
14411         * gst/gstevent.h:
14412           added 100 symbols from gstreamer-unused.txt to the right sections
14413           fixed more broken comments
14414           added GstBus to docs
14415
14416 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14417
14418         * docs/gst/gstreamer-sections.txt:
14419         * docs/gst/tmpl/.cvsignore:
14420         * docs/gst/tmpl/gstbin.sgml:
14421         * docs/gst/tmpl/gstbuffer.sgml:
14422         * gst/base/gstbasesrc.c:
14423         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14424         * gst/gstbuffer.c:
14425         * gst/gstbuffer.h:
14426         * tools/gst-launch.1.in:
14427           inlined more doc comments, added missing comments and fixed comments
14428           fixed typos
14429
14430 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14431
14432         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14433           some debugging
14434         * gst/gstcaps.h:
14435           whitespace fixes
14436         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14437           more debugging
14438         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14439         * gst/gststructure.h:
14440           add a fixate function for booleans; add a FIXME that these func
14441           names should probably be gst_structure_fixate_*
14442
14443 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14444
14445         * docs/gst/gstreamer-docs.sgml:
14446         * docs/gst/gstreamer-sections.txt:
14447         * gst/Makefile.am:
14448         * gst/gstbin.c: (gst_bin_get_type),
14449         (gst_bin_child_proxy_get_child_by_index),
14450         (gst_bin_child_proxy_get_children_count),
14451         (gst_bin_child_proxy_init):
14452         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14453         (gst_child_proxy_get_child_by_index),
14454         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14455         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14456         (gst_child_proxy_get), (gst_child_proxy_set_property),
14457         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14458         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14459         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14460         * gst/gstchildproxy.h:
14461         * gst/parse/grammar.y:
14462         * tools/gst-inspect.c: (print_interfaces),
14463         (print_element_properties_info), (print_element_info):
14464           ported gstchildproxy over from 0.8
14465           ported gst-inspect fixes and enhancements over from 0.8
14466
14467 2005-08-22  Wim Taymans  <wim@fluendo.com>
14468
14469         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14470         (gst_base_transform_handle_buffer):
14471         Also call the transform function if we have ANY caps.
14472
14473         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14474         Fix debug info.
14475
14476 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14477
14478         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14479           Don't pretend to handle seek events if the source is not seekable
14480
14481 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14482
14483         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14484           Remove extra parameter to debug output
14485
14486         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14487         (gst_base_src_do_seek), (gst_base_src_activate_push):
14488           Fix seek event handling.
14489
14490         * gst/gstpipeline.c: (gst_pipeline_change_state):
14491         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14492         (gst_queue_src_activate_push):
14493           Don't start the src pad task on FLUSH_STOP if the pad
14494           isn't linked.
14495           Debug changes.
14496
14497 2005-08-22  Wim Taymans  <wim@fluendo.com>
14498
14499         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14500         Added check for gst_static_caps_get() refcounting.
14501
14502 2005-08-22  Wim Taymans  <wim@fluendo.com>
14503
14504         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14505         Make _static_caps_get() refcounting sane.
14506         
14507         * gst/gstelement.c: (gst_element_set_state):
14508         Add g_return_val_if_fail() to protect against segfaults.
14509
14510 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14511
14512         * docs/gst/tmpl/gstevent.sgml:
14513         * gst/gstevent.c:
14514         * gst/gstevent.h:
14515           inlined remaining docs, added missing doc comments
14516
14517 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14518
14519         * check/gst/gstbin.c: (GST_START_TEST):
14520           since we don't know when preroll is done, use refcount range
14521           check for the sink
14522         * gst/check/gstcheck.h:
14523           add macro for checking refcount range
14524
14525 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14526
14527         * check/Makefile.am:
14528           clean up environment for when registry gets built versus
14529           when actual tests are run; valgrind seems to not report
14530           leaks if GST_PLUGIN_PATH is set to some specific values
14531         * check/gst/gstbin.c: (GST_START_TEST):
14532           add more refcounting checks; maybe this exposes a
14533           preroll lock bug ?
14534         * common/check.mak:
14535         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14536         * gst/check/gstcheck.h:
14537         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14538         (gst_bin_change_state):
14539         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14540           add/fix debugging/whitespace
14541
14542 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14543
14544         * check/gst/gstevent.c: (event_probe), (test_event),
14545         (GST_START_TEST):
14546          Er, don't call gst_bin_watch_for_state_change you idiot.
14547
14548 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14549
14550         * check/Makefile.am:
14551           Use CHECK_CFLAGS and CHECK_LIBS
14552         * check/gst/gstevent.c: (event_probe), (test_event),
14553         (GST_START_TEST):
14554           Don't leak events.
14555         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14556         (gst_base_src_start), (gst_base_src_stop),
14557         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14558         (gst_base_src_change_state):
14559           Sprinkle gst_base_src_stop liberally around error paths to fix
14560           problems reusing a source after failed state changes.
14561         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14562         (helper_find_suggest), (gst_type_find_helper):
14563           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14564         * gst/gstevent.h:
14565         * docs/gst/tmpl/gstevent.sgml:
14566           Migrate part of the docs from the SGML file. Wait for ensonic to
14567           tell me how I did it wrong ;)
14568         * tools/gst-typefind.c: (main):
14569           Extra robustness to state changes between files.
14570
14571 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14572
14573         * check/Makefile.am:
14574           don't valgrind the controller test - it's leaking - Stefan, HELP
14575         * gst/check/gstcheck.c: (gst_check_message_error),
14576         (gst_check_chain_func), (gst_check_setup_element),
14577         (gst_check_teardown_element), (gst_check_setup_src_pad),
14578         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14579         (gst_check_teardown_sink_pad):
14580         * gst/check/gstcheck.h:
14581           add a bunch of methods to set up elements, and src and sink pads
14582         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14583         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14584         (GST_START_TEST):
14585           use them
14586         * gst/gstmessage.c:
14587         * gst/gsttag.h:
14588           whitespace/doc fixes
14589
14590 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14591
14592         * gst/gstelement.h:
14593           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14594           be handled by the application and not always printed as well
14595
14596 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14597
14598         * check/Makefile.am:
14599           set GST_TOOLS_DIR
14600         * gst/check/gstcheck.c: (gst_check_message_error):
14601         * gst/check/gstcheck.h:
14602           add a fail_unless_equals_int
14603           add fail_unless for error messages
14604
14605 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14606
14607         * check/Makefile.am:
14608         * check/gst.supp:
14609         * common/Makefile.am:
14610         * common/check.mak:
14611         * common/gst.supp:
14612           factor out some of the common stuff so we can use it
14613
14614 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14615
14616         * check/Makefile.am:
14617         * check/gst/gstiterator.c: (GST_START_TEST):
14618         * check/gst/gstsystemclock.c: (GST_START_TEST),
14619         (gst_systemclock_suite):
14620         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14621         * gst/gstclock.c:
14622           valgrind more tests
14623
14624 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14625
14626         * check/elements/.cvsignore:
14627         * check/elements/gstfakesrc.c:
14628           rename to name of element
14629         * check/elements/identity.c: (chain_func), (event_func),
14630         (setup_identity), (cleanup_identity), (GST_START_TEST),
14631         (identity_suite), (main):
14632           add a test for identity
14633         * check/Makefile.am:
14634         * pkgconfig/Makefile.am:
14635         * pkgconfig/gstreamer-check.pc.in:
14636         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14637         * gst/check:
14638         * gst/Makefile.am:
14639         * configure.ac:
14640           move the check stuff to a library that gets installed
14641         * check/gst-libs/controller.c: (GST_START_TEST):
14642         * check/gst-libs/gdp.c:
14643         * check/gst/gst.c: (GST_START_TEST):
14644         * check/gst/gstbin.c:
14645         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14646         * check/gst/gstbus.c:
14647         * check/gst/gstcaps.c: (GST_START_TEST):
14648         * check/gst/gstelement.c:
14649         * check/gst/gstghostpad.c:
14650         * check/gst/gstiterator.c:
14651         * check/gst/gstmessage.c:
14652         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14653         * check/gst/gstobject.c:
14654         * check/gst/gstpad.c: (GST_START_TEST):
14655         * check/gst/gststructure.c: (GST_START_TEST):
14656         * check/gst/gstsystemclock.c: (GST_START_TEST),
14657         (gst_systemclock_suite):
14658         * check/gst/gsttag.c: (gst_tag_suite):
14659         * check/gst/gstvalue.c:
14660         * check/pipelines/cleanup.c:
14661         * check/pipelines/simple_launch_lines.c:
14662         * check/states/sinks.c:
14663           change include statement
14664
14665         * docs/gst/gstreamer-sections.txt:
14666         * docs/gst/tmpl/gstpad.sgml:
14667           document more pad stuff
14668         * gst/gstminiobject.c: (gst_mini_object_ref),
14669         (gst_mini_object_unref):
14670           debug refcounting
14671
14672 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14673
14674         * docs/gst/tmpl/gst.sgml:
14675         * gst/gst.c:
14676           eliminate another tmpl file, fix spelling in the long-description
14677
14678 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14679
14680         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14681         (test_event), (timediff), (gstevents_suite):
14682           Should fix build on 64-bit arch's
14683
14684 2005-08-18  Andy Wingo  <wingo@pobox.com>
14685
14686         Make sure that when a pipeline goes to PLAYING, that data has
14687         actually hit the sink.
14688
14689         * check/states/sinks.c (test_sink): A sink that doesn't get any
14690         data shouldn't return SUCCESS for going to either PLAYING or
14691         PAUSED. Test also the return values on the way back down.
14692
14693         * gst/gstelement.c (gst_element_set_state): When changing the
14694         state of an element currently changing state asynchronously, go to
14695         lost-state after commiting the pending state. Makes future calls
14696         to get_state continue to return ASYNC.
14697
14698         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14699         ASYNC when going to PLAYING if we still don't have preroll, as can
14700         happen with live sources.
14701
14702 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14703
14704         * docs/pwg/advanced-types.xml:
14705           Hack long paragraph into 2 chunks as a workaround for buggy
14706           jadetex version in sid and breezy that loops infinitely and
14707           eats all RAM.
14708
14709 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14710
14711         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14712         (test_event), (timediff), (gstevents_suite):
14713           Provide more error margin in clock measurements to allow for 
14714           g_get_current_time inaccuracies.
14715
14716 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14717
14718         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14719         (test_event), (timediff), (gstevents_suite):
14720            Fix error message output so I might be able to tell why the
14721            test works here but fails on the build farm.
14722
14723 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14724
14725         * check/Makefile.am:
14726         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14727         (test_event), (timediff), (gstevents_suite), (main):
14728           I wrote a test!
14729
14730         * docs/design/part-seeking.txt:
14731           Spelling correction
14732
14733         * docs/gst/tmpl/gstevent.sgml:
14734         * docs/gst/tmpl/gstfakesrc.sgml:
14735           Docs updates.
14736
14737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14738           Treat a buffer-without-newsegment the same as a receiving 
14739           a newsegment not in time format, and disable syncing to the clock
14740           with a warning.
14741
14742         * gst/gstbus.c: (gst_bus_set_sync_handler):
14743           Assert if anyone tries to replace the existing sync_handler for bus, 
14744           as only the owner should be setting it.
14745
14746         * gst/gstevent.h:
14747           Have a fixed set of custom event enums with events identified by
14748           their structure name (as in 0.8), rather than a free-for-all
14749           allowing collisions between enum values from different plugins.
14750
14751         * gst/gstpad.c: (gst_pad_class_init):
14752           Docs change.
14753           
14754         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14755           Handle out-of-band downstream events from the sending thread.
14756
14757 2005-08-17  Andy Wingo  <wingo@pobox.com>
14758
14759         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14760         play-timeout==0 to mean no timeout at all. In that case, don't
14761         bother with a get_state or a warning, just return directly, even
14762         if it's ASYNC.
14763
14764         * gst/base/gstbasetransform.c: Debug changes.
14765
14766         * gst/gstutils.h:
14767         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14768         ensure bins post state change messages. A bit of a hack but I can't
14769         think of a way to avoid it.
14770
14771         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14772
14773 2005-08-16  Andy Wingo  <wingo@pobox.com>
14774
14775         * gst/base/gstadapter.h:
14776         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14777         peek() but you own the data. Not terribly efficient atm.
14778
14779 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14780
14781         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14782         (gst_element_found_tags):
14783         * gst/gstutils.h:
14784           Add two utility functions for tag handling.
14785
14786 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14787
14788         * docs/manual/advanced-dataaccess.xml:
14789         * docs/manual/basics-helloworld.xml:
14790           Fix docs to use _bin_add() before _link(), which fixes the examples
14791           with recent core versions (reported by Madhan Raj M
14792           <raj_madan@rediffmail.com>, #313199).
14793
14794 2005-08-16  Wim Taymans  <wim@fluendo.com>
14795
14796         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14797         Added subtract checks.
14798
14799         * docs/design/part-events.txt:
14800         Some more docs about newsegment
14801
14802         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14803         Fix FIXME
14804
14805         * gst/gstcaps.c: (gst_caps_to_string):
14806         Add comments, cleanups.
14807         
14808         * gst/gstelement.c: (gst_element_save_thyself):
14809         cleanups
14810         
14811         * gst/gstvalue.c: (gst_value_collect_int_range),
14812         (gst_string_unwrap), (gst_value_union_int_int_range),
14813         (gst_value_union_int_range_int_range),
14814         (gst_value_intersect_int_int_range),
14815         (gst_value_intersect_int_range_int_range),
14816         (gst_value_intersect_double_double_range),
14817         (gst_value_intersect_double_range_double_range),
14818         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14819         (gst_value_subtract_int_range_int),
14820         (gst_value_subtract_double_range_double),
14821         (gst_value_subtract_double_range_double_range),
14822         (gst_value_subtract_from_list), (gst_value_subtract_list),
14823         (gst_value_can_compare), (gst_value_compare_fraction):
14824         Cleanups, add comments, remove unneeded asserts.
14825
14826 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14827
14828         * tools/gst-launch.c: (event_loop):
14829           don't convert NULL structures to strings
14830
14831 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14832
14833         * docs/gst/gstreamer-sections.txt:
14834           made some defines private
14835         * docs/gst/tmpl/gstconfig.sgml:
14836         * docs/gst/tmpl/gstqueue.sgml:
14837         * docs/gst/tmpl/gsttaglist.sgml:
14838         * docs/gst/tmpl/gsttypes.sgml:
14839         * docs/gst/tmpl/gstutils.sgml:
14840         * docs/pwg/appendix-porting.xml:
14841         * gst/base/gstbasesink.h:
14842         * gst/base/gstbasesrc.c:
14843         * gst/base/gstbasesrc.h:
14844         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14845         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14846         * gst/gstelement.c: (gst_element_class_init):
14847         * gst/gstpad.c: (gst_pad_class_init):
14848         * gst/gstqueue.c: (gst_queue_class_init):
14849         * gst/gstxml.c: (gst_xml_class_init):
14850           documented all undocumented signal inline
14851         * libs/gst/controller/gst-controller.h:
14852           added padding
14853
14854 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14855
14856         * docs/pwg/appendix-porting.xml:
14857           Document _set_link_function -> _set_setcaps_function.
14858
14859 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14860
14861         * check/Makefile.am:
14862           add a .check target for running the check
14863         * check/gst-libs/controller.c: (GST_START_TEST):
14864           cosmetic fixups
14865         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14866           complete checks for gstbuffer; would be nice if I could get the
14867           gcov stuff to work so I can see if I actually completed gstbuffer.c
14868         * check/gstcheck.h:
14869           add ASSERT_BUFFER_REFCOUNT
14870
14871 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14872
14873         * docs/gst/gstreamer-sections.txt:
14874         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14875         * gst/gsttag.h:
14876           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14877           spew out a warning if a tag that is already registered
14878           is re-registered, unless it is re-registered with a 
14879           different type (#308438).
14880
14881 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14882
14883         * docs/pwg/appendix-porting.xml:
14884         * docs/pwg/building-state.xml:
14885           Add some paragraphs about state changes in 0.9 to the PWG
14886           and the porting guide, in particular about the new meaning
14887           of GST_STATE_PAUSED and how to write state change functions
14888           with concurrent access by multiple threads in mind.
14889
14890 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14891
14892         * docs/gst/gstreamer-docs.sgml:
14893         * docs/libs/gstreamer-libs-docs.sgml:
14894           added deprecation and since indexes
14895         * libs/gst/controller/gst-controller.c:
14896         * libs/gst/controller/gst-helper.c:
14897           added since tags
14898
14899
14900 2005-08-11  Wim Taymans  <wim@fluendo.com>
14901
14902         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14903         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14904         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14905         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14906         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14907         (gst_ghost_pad_set_target):
14908         Actually implement (re)setting the target on a ghostpad
14909         as described in the docs.
14910
14911 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14912
14913         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14914           Check whether GST_DEBUG_NO_COLOR environment variable is
14915           set and disable coloured debug output if that is the case.
14916
14917 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14918
14919         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14920         (gst_type_find_helper):
14921           The memory returned by gst_type_find_peek() needs to
14922           stay valid until the end of a typefind function, and
14923           typefind functions may keep results from different 
14924           offsets around, so we can't just unref the buffer from
14925           the previous _peek(), but have to save all buffers 
14926           returned by _peek() until typefinding is done and only
14927           free them then.
14928
14929 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14930
14931         * docs/gst/gstreamer-sections.txt:
14932         * gst/gstutils.h:
14933           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14934
14935 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14936
14937         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14938           Fix a pretty good memleak.
14939
14940 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14941
14942         * gst/gstiterator.h:
14943           Fix wrong include and 'make distcheck'.
14944
14945 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14946
14947         * gst/gstbin.c: (bin_bus_handler):
14948           Use gst_element_post_message() instead.
14949
14950 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14951
14952         * gst/base/gstadapter.h:
14953         * gst/base/gstbasesink.h:
14954         * gst/base/gstbasesrc.h:
14955         * gst/base/gstbasetransform.h:
14956         * gst/base/gstcollectpads.h:
14957         * gst/base/gstpushsrc.h:
14958         * gst/gstiterator.h:
14959           Add padding to our base elements' class and instance structs and
14960           to GstIterator (you will need to rebuild all plugins and apps!)
14961
14962 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14963
14964         * gst/gstbin.c: (bin_bus_handler):
14965           Make default message forwarding from child->bus to bin->bus
14966           threadsafe and make it not emit warnings if the parent has no bus.
14967
14968 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14969
14970         * gst/gstelement.c: (activate_pads):
14971           On paused->ready, set pad->caps to NULL, as is the documented
14972           behaviour in this state change. Fixes playback of series of
14973           media files when visualization is enabled in Totem.
14974
14975 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14976
14977         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14978           Allow NULL as filter-caps (which means "any").
14979
14980 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14981
14982         * docs/libs/gstreamer-libs-sections.txt:
14983         * libs/gst/controller/gst-controller.c:
14984         * libs/gst/controller/gst-controller.h:
14985         * libs/gst/controller/gst-helper.c:
14986           adding more entries to the docs and fix small doc-bugs
14987
14988 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14989
14990         * docs/gst/gstreamer-docs.sgml:
14991         * docs/gst/gstreamer-sections.txt:
14992         * docs/gst/gstreamer.types:
14993         * docs/gst/tmpl/gstbasesink.sgml:
14994         * docs/gst/tmpl/gstbasesrc.sgml:
14995         * docs/gst/tmpl/gstbasetransform.sgml:
14996         * docs/gst/tmpl/gstfakesrc.sgml:
14997         * gst/base/gstcollectpads.c:
14998         * gst/base/gstcollectpads.h:
14999         * libs/gst/controller/gst-controller.c:
15000         * libs/gst/controller/gst-controller.h:
15001         * libs/gst/controller/gst-helper.c:
15002         * libs/gst/controller/gst-interpolation.c:
15003         * libs/gst/controller/lib.c:
15004           added long/short desc for controller docs
15005           added collectpads base class docs
15006           added correct includes to base-class docs
15007
15008 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
15009
15010         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15011         (gst_test_mono_source_set_property),
15012         (gst_test_mono_source_class_init), (GST_START_TEST),
15013         (gst_controller_suite):
15014         * docs/gst/gstreamer-docs.sgml:
15015         * docs/gst/gstreamer-sections.txt:
15016         * docs/gst/gstreamer.types:
15017         * docs/libs/gstreamer-libs-docs.sgml:
15018         * docs/libs/gstreamer-libs-sections.txt:
15019         * gst/base/gstadapter.c:
15020         * libs/gst/controller/gst-controller.c:
15021         (gst_controlled_property_new), (gst_controlled_property_free),
15022         (gst_controller_new_valist),
15023         (gst_controller_remove_properties_valist),
15024         (gst_controller_sink_values), (_gst_controller_finalize):
15025         * libs/gst/controller/gst-controller.h:
15026         * libs/gst/controller/gst-helper.c:
15027         (gst_object_control_properties), (gst_object_uncontrol_properties),
15028         (gst_object_get_controller), (gst_object_set_controller),
15029         (gst_object_sink_values), (gst_object_get_value_arrays),
15030         (gst_object_get_value_array):
15031           more tests (and fixes) for the controller
15032           more docs for the controller
15033           integrated companies docs for the adapter 
15034
15035 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15036
15037         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15038         (GST_START_TEST), (fakesrc_suite):
15039           add tests for sizetype
15040
15041 2005-08-04  Andy Wingo  <wingo@pobox.com>
15042
15043         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15044         fixes buffer_alloc proxying among other things.
15045
15046         * gst/base/gstbasetransform.c:
15047         * gst/base/gstbasetransform.h:
15048         Revert patch to gstbasetransform from 7-28 removing
15049         delay_configure.
15050
15051         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15052         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15053         Semantics changed, should return not the size of the output buffer
15054         but the byte size of a buffer with a given caps.
15055
15056         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15057         debug object.
15058         (gst_base_transform_configure_caps): Don't set out_size here: (in,
15059         out) are not the pad caps until setcaps finishes.
15060         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15061         not-in-place case as well. Deal with changing from in-place to
15062         not-in-place within calling pad_alloc_buffer. Still a bit
15063         concerned about the overhead here...
15064
15065 2005-08-03  Andy Wingo  <wingo@pobox.com>
15066
15067         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15068         fixating is an error.
15069
15070 2005-08-04  Edward Hervey  <edward@fluendo.com>
15071
15072         * gst/base/gstadapter.h: 
15073         Added gst_adapter_get_type() to the header
15074
15075 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15076
15077         * check/Makefile.am:
15078         * check/gst-libs/controller.c:
15079         * libs/gst/controller/gst-controller.c:
15080         (gst_controller_new_valist):
15081           added check test suite for the controller
15082         * gst/base/gstpushsrc.c:
15083           fixed a doc typo
15084
15085 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15086
15087         * docs/gst/Makefile.am:
15088         * docs/gst/gstreamer-docs.sgml:
15089         * docs/gst/gstreamer-sections.txt:
15090         * docs/gst/gstreamer.types:
15091         * docs/gst/tmpl/gstfakesrc.sgml:
15092         * gst/base/README:
15093         * gst/base/gstbasesink.c:
15094         * gst/base/gstbasesink.h:
15095         * gst/base/gstbasesrc.c:
15096         * gst/base/gstbasesrc.h:
15097         * gst/base/gstbasetransform.c:
15098         * gst/base/gstpushsrc.c:
15099         * gst/base/gstpushsrc.h:
15100           add short/long description docs to base classes
15101           add pushsrc to the docs
15102           remove consolidated doc fragments
15103
15104 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15105
15106         * configure.ac:
15107         * docs/libs/Makefile.am:
15108         * docs/libs/gstreamer-libs-docs.sgml:
15109         * docs/libs/gstreamer-libs-sections.txt:
15110         * docs/libs/gstreamer-libs.types:
15111         * examples/Makefile.am:
15112         * examples/controller/.cvsignore:
15113         * examples/controller/Makefile.am:
15114         * examples/controller/audio-example.c: (main):
15115         * libs/gst/Makefile.am:
15116         * libs/gst/controller/.cvsignore:
15117         * libs/gst/controller/Makefile.am:
15118         * libs/gst/controller/gst-controller.c:
15119         (on_object_controlled_property_changed), (gst_timed_value_compare),
15120         (gst_timed_value_find),
15121         (gst_controlled_property_set_interpolation_mode),
15122         (gst_controlled_property_new), (gst_controlled_property_free),
15123         (gst_controller_find_controlled_property),
15124         (gst_controller_new_valist), (gst_controller_new),
15125         (gst_controller_remove_properties_valist),
15126         (gst_controller_remove_properties), (gst_controller_set),
15127         (gst_controller_set_from_list), (gst_controller_unset),
15128         (gst_controller_get), (gst_controller_get_all),
15129         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15130         (gst_controller_get_value_array),
15131         (gst_controller_set_interpolation_mode),
15132         (_gst_controller_finalize), (_gst_controller_init),
15133         (_gst_controller_class_init), (gst_controller_get_type):
15134         * libs/gst/controller/gst-controller.h:
15135         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15136         (g_object_uncontrol_properties), (g_object_get_controller),
15137         (g_object_set_controller), (g_object_sink_values),
15138         (g_object_get_value_arrays), (g_object_get_value_array):
15139         * libs/gst/controller/gst-interpolation.c:
15140         (gst_controlled_property_find_timed_value_node),
15141         (interpolate_none_get), (interpolate_trigger_get),
15142         (interpolate_trigger_get_value_array):
15143         * libs/gst/controller/lib.c: (gst_controller_init):
15144         * pkgconfig/Makefile.am:
15145         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15146         * pkgconfig/gstreamer-control.pc.in:
15147         * testsuite/Makefile.am:
15148         * testsuite/controller/.cvsignore:
15149         * testsuite/controller/Makefile.am:
15150         * testsuite/controller/interpolator.c: (main):
15151           added controller code
15152           removed dparam pc files
15153
15154 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15155         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15156         (gst_collectpads_stop):
15157           Broadcast the condition when shutting down, to make sure we wake all
15158           threads up. Shut down pads on finalize, for safety.
15159
15160 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15161         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15162         (gst_base_transform_handle_buffer),
15163         (gst_base_transform_change_state):
15164           Handle PAUSED->READY->PAUSED transition after negotiation
15165           occurred already.
15166         * gst/gstmessage.c: (gst_message_init):
15167           Extra piece of debug for new messages.
15168
15169 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15170
15171         * configure.ac:
15172         * docs/gst/tmpl/gstbasesrc.sgml:
15173         * docs/gst/tmpl/gstelement.sgml:
15174         * docs/gst/tmpl/gstevent.sgml:
15175         * docs/gst/tmpl/gstfakesrc.sgml:
15176         * docs/gst/tmpl/gstformat.sgml:
15177         * docs/gst/tmpl/gstghostpad.sgml:
15178         * docs/gst/tmpl/gstpad.sgml:
15179         * docs/gst/tmpl/gstquery.sgml:
15180         * docs/gst/tmpl/gststructure.sgml:
15181         * docs/gst/tmpl/gsttaglist.sgml:
15182         * docs/gst/tmpl/gstvalue.sgml:
15183         * docs/libs/gstreamer-libs-docs.sgml:
15184         * docs/libs/gstreamer-libs-sections.txt:
15185         * docs/libs/gstreamer-libs.types:
15186         * libs/gst/Makefile.am:
15187         * libs/gst/control/.cvsignore:
15188         * libs/gst/control/Makefile.am:
15189         * libs/gst/control/control.c:
15190         * libs/gst/control/control.h:
15191         * libs/gst/control/dparam.c:
15192         * libs/gst/control/dparam.h:
15193         * libs/gst/control/dparam_smooth.c:
15194         * libs/gst/control/dparam_smooth.h:
15195         * libs/gst/control/dparamcommon.h:
15196         * libs/gst/control/dparammanager.c:
15197         * libs/gst/control/dparammanager.h:
15198         * libs/gst/control/dplinearinterp.c:
15199         * libs/gst/control/dplinearinterp.h:
15200         * libs/gst/control/unitconvert.c:
15201         * libs/gst/control/unitconvert.h:
15202         * testsuite/Makefile.am:
15203         * testsuite/dynparams/.cvsignore:
15204         * testsuite/dynparams/Makefile.am:
15205         * testsuite/dynparams/dparamstest.c:
15206         * tools/Makefile.am:
15207         * tools/gst-inspect.c: (print_element_info), (main):
15208         * tools/gst-xmlinspect.c: (print_element_info), (main):
15209           deactivate and remove dparams (libgstcontrol)
15210
15211 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15212
15213         * gst/elements/gsttypefindelement.c:
15214         (gst_type_find_element_have_type), (gst_type_find_element_init),
15215         (stop_typefinding), (gst_type_find_element_handle_event),
15216         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15217         * gst/elements/gsttypefindelement.h:
15218           Set caps on all outgoing buffers, not just the first one.
15219
15220 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15221
15222         * gst/elements/gsttypefindelement.c:
15223         (gst_type_find_element_have_type),
15224         (gst_type_find_element_check_set_buffer_caps),
15225         (gst_type_find_element_init), (stop_typefinding),
15226         (gst_type_find_element_handle_event),
15227         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15228         * gst/elements/gsttypefindelement.h:
15229           Set caps on first outgoing buffer when we've found the type.
15230
15231 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15232
15233         * docs/gst/gstreamer-docs.sgml:
15234         * docs/gst/gstreamer-sections.txt:
15235         * docs/gst/tmpl/gstscheduler.sgml:
15236         * docs/gst/tmpl/gstschedulerfactory.sgml:
15237           Remove some old cruft from docs.
15238
15239 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15240
15241         * gst/gstpad.h:
15242           Fix inline docs for GstPadLinkReturn.
15243           
15244         * gst/gststructure.c: (gst_structure_has_name):
15245         * gst/gststructure.h:
15246         * docs/gst/gstreamer-sections.txt:
15247           New API: gst_structure_has_name().
15248
15249 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15250
15251         * configure.ac:
15252           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15253           and _LARGEFILE_SOURCE in config.h as required. Do not 
15254           export those flags in our .pc files any longer (#142209).
15255
15256           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15257
15258         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15259         (gst_file_sink_do_seek), (gst_file_sink_event),
15260         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15261           Redo seek/tell calls with large file support in mind; add some
15262           debugging messages; add log message that tells us when large
15263           file support is unavailable or not enabled for some reason.
15264
15265         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15266           Add log message that tells us when large file support 
15267           is unavailable or not enabled for some reason.
15268
15269 2005-07-29  Wim Taymans  <wim@fluendo.com>
15270
15271         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15272         Added test for removing an element with ghostpad from a bin.
15273         Fixed test as current implementation does the right thing.
15274
15275         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15276         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15277         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15278         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15279         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15280         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15281         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15282         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15283         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15284         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15285         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15286         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15287         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15288         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15289         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15290         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15291         * gst/gstghostpad.h:
15292         Clean up ghostpads, remove properties for internal stuff.
15293         Make threadsafe.
15294         Fix refcounting.
15295         Prepare for switching targets, not all use cases work yet.
15296
15297 2005-07-29  Wim Taymans  <wim@fluendo.com>
15298
15299         * docs/design/part-gstghostpad.txt:
15300         Small update.
15301
15302         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15303         (gst_bin_remove_func):
15304         Unlinking pads while holding the bin LOCK is not a good
15305         idea.
15306
15307         * gst/gstpad.c: (gst_pad_class_init),
15308         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15309         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15310         No prob setting template after creating the pad.
15311
15312 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15313
15314         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15315         (gst_bus_peek), (gst_bus_source_dispatch),
15316         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15317         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15318           gst_bus_poll may be called from other threads. Handle
15319           this nicely by not making poll_data disappear off the
15320           stack once gst_bus_poll returns.
15321           gst_bus_peek now increments the refcount on the returned
15322           message.
15323
15324 2005-07-29  Wim Taymans  <wim@fluendo.com>
15325
15326         * docs/design/part-gstghostpad.txt:
15327         Overview of current GhostPad datastructures and use
15328         cases for changing the target.
15329
15330 2005-07-28  Wim Taymans  <wim@fluendo.com>
15331
15332         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15333         Added checks for hierarchy consistency whan adding linked
15334         elements to bins.
15335
15336         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15337         Added check to test element scheduling without bin/pipeline.
15338
15339         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15340         First add elements to bin, then link.
15341         
15342         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15343         (gst_bin_remove_func):
15344         Unlink pads from elements added/removed from bin to maintain
15345         hierarchy consistency.
15346
15347 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15348
15349         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15350         (gst_base_transform_handle_buffer):
15351         * gst/base/gstbasetransform.h:
15352           Remove broken delay_configure (fixes renegotiation of software
15353           scaling pipelines); remove some leftover printf()s.
15354
15355 2005-07-28  Wim Taymans  <wim@fluendo.com>
15356
15357         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15358         Added some more tests for wrong hierarchy
15359
15360         * docs/design/part-overview.txt:
15361         Some updates.
15362
15363         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15364         Cleanups.
15365
15366         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15367         (gst_element_dispose):
15368         Some more cleanups.
15369
15370         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15371         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15372         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15373         (gst_pad_set_caps), (gst_pad_send_event):
15374         Check for correct hierarchy when linking pads. Moving to
15375         strict requirement for ghostpads when linking elements in
15376         different bins.
15377
15378         * gst/gstpad.h:
15379         Clean ups. Added WRONG_HIERARCHY return value.
15380
15381 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15382
15383         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15384           Better debug if no transform is possible.
15385
15386 2005-07-27  Wim Taymans  <wim@fluendo.com>
15387
15388         * docs/random/wtay/network-transp:
15389         Some old doc I had.
15390
15391 2005-07-27  Wim Taymans  <wim@fluendo.com>
15392
15393         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15394         (gst_dp_event_from_packet):
15395         Fix serialization of seek events.
15396
15397 2005-07-27  Wim Taymans  <wim@fluendo.com>
15398
15399         * check/gst-libs/gdp.c: (GST_START_TEST):
15400         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15401         Fix compilation and fix event serialization.
15402
15403 2005-07-27  Wim Taymans  <wim@fluendo.com>
15404
15405         * CHANGES-0.9:
15406         * docs/design/part-TODO.txt:
15407         * docs/design/part-events.txt:
15408         Some docs updates
15409
15410         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15411         (gst_base_sink_event), (gst_base_sink_do_sync),
15412         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15413         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15414         (gst_base_src_do_seek), (gst_base_src_event_handler),
15415         (gst_base_src_loop):
15416         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15417         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15418         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15419         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15420         (gst_base_transform_set_passthrough),
15421         (gst_base_transform_is_passthrough):
15422         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15423         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15424         Event updates.
15425
15426         * gst/gstbuffer.h:
15427         Use faster casts.
15428
15429         * gst/gstelement.c: (gst_element_seek):
15430         * gst/gstelement.h:
15431         Update gst_element_seek.
15432
15433         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15434         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15435         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15436         (gst_event_new_eos), (gst_event_new_newsegment),
15437         (gst_event_parse_newsegment), (gst_event_new_tag),
15438         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15439         (gst_event_parse_qos), (gst_event_new_seek),
15440         (gst_event_parse_seek), (gst_event_new_navigation):
15441         * gst/gstevent.h:
15442         Make GstEvent use GstStructure. Add parsing code, make sure the
15443         API is sufficiently generic.
15444         Mark possible directions of events and serialization.
15445
15446         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15447         (_gst_message_copy), (gst_message_new_segment_start),
15448         (gst_message_new_segment_done), (gst_message_new_custom),
15449         (gst_message_parse_segment_start),
15450         (gst_message_parse_segment_done):
15451         Small cleanups.
15452
15453         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15454         (gst_pad_set_caps), (gst_pad_send_event):
15455         Update for new events. 
15456         Catch events sent in wrong directions.
15457
15458         * gst/gstqueue.c: (gst_queue_link_src),
15459         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15460         (gst_queue_handle_src_query):
15461         Event updates.
15462
15463         * gst/gsttag.c:
15464         * gst/gsttag.h:
15465         Remove event code from this file.
15466
15467         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15468         (gst_dp_event_from_packet):
15469         Event updates.
15470
15471 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15472
15473         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15474         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15475         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15476           Make debugging actually useful.
15477
15478 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15479
15480         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15481         (gst_pad_fixate_caps):
15482           Implement default fixation once again, so that gst_pad_fixate()
15483           actually does anything at all. This probably needs to be some
15484           sort of a last resort, and use profile-based fixation first, but
15485           since that doesn't exist yet, this is the best we have. Fixes
15486           visualization in Totem.
15487
15488 2005-07-22  Wim Taymans  <wim@fluendo.com>
15489
15490         * docs/design/part-events.txt:
15491         Small update.
15492
15493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15494         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15495         (gst_base_sink_activate_pull):
15496         Some more comments.
15497
15498         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15499         (gst_fake_src_create):
15500         Fix handoff marshall.
15501
15502         * gst/elements/gstidentity.c: (gst_identity_class_init),
15503         (gst_identity_transform_ip):
15504         We're a real inplace element.
15505
15506         * gst/gstbus.c: (gst_bus_post):
15507         Added some comments.
15508
15509         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15510         * tests/muxing/case1.c: (main):
15511         * tests/sched/dynamic-pipeline.c: (main):
15512         * tests/sched/interrupt1.c: (main):
15513         * tests/sched/interrupt2.c: (main):
15514         * tests/sched/interrupt3.c: (main):
15515         * tests/sched/runxml.c: (main):
15516         * tests/sched/sched-stress.c: (main):
15517         * tests/seeking/seeking1.c: (event_received), (main):
15518         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15519         (main):
15520         * tests/threadstate/threadstate3.c: (main):
15521         * tests/threadstate/threadstate4.c: (main):
15522         * tests/threadstate/threadstate5.c: (main):
15523         Fix the tests.
15524
15525 2005-07-21  Wim Taymans  <wim@fluendo.com>
15526
15527         * docs/design/part-seeking.txt:
15528         Some small additions.
15529
15530         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15531         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15532         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15533         * gst/base/gstbasesink.h:
15534         discont values are gint64, handle the math correctly.
15535
15536         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15537         Make the basesrc report error if the source pad is not linked.
15538
15539         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15540         (gst_queue_loop), (gst_queue_handle_src_query),
15541         (gst_queue_src_activate_push):
15542         Make queue collect data even if the srcpad is not linked.
15543         Start pushing out data as soon as it is linked.
15544
15545         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15546         * gst/gstutils.h:
15547         Added gst_flow_get_name() to ease error reporting.
15548
15549 2005-07-20  Wim Taymans  <wim@fluendo.com>
15550
15551         * gst/gstmessage.c: (gst_message_new_segment_start),
15552         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15553         (gst_message_parse_segment_done):
15554         * gst/gstmessage.h:
15555         Added a bunch of messages for advanced seeking.
15556
15557         * gst/parse/grammar.y:
15558         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15559         (gst_dpman_state_changed):
15560         Fix some new-pad -> pad-added signals
15561
15562 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15563
15564         * docs/manual/appendix-porting.xml:
15565         * docs/pwg/appendix-porting.xml:
15566           Document new-pad/state-change signal renames and the FixedList
15567           type rename.
15568
15569 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15570
15571         * docs/manual/advanced-autoplugging.xml:
15572         * docs/manual/basics-helloworld.xml:
15573         * docs/manual/basics-pads.xml:
15574         * docs/random/ds/0.9-suggested-changes:
15575         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15576         * gst/gstelement.h:
15577         * gst/gstevent.h:
15578         * gst/gstformat.h:
15579         * gst/gstquery.h:
15580         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15581         (gst_structure_parse_array), (gst_structure_parse_value):
15582         * gst/gstvalue.c: (gst_type_is_fixed),
15583         (gst_value_list_prepend_value), (gst_value_list_append_value),
15584         (gst_value_list_get_size), (gst_value_list_get_value),
15585         (gst_value_transform_array_string), (gst_value_serialize_array),
15586         (gst_value_deserialize_array), (gst_value_intersect_array),
15587         (gst_value_is_fixed), (_gst_value_initialize):
15588         * gst/gstvalue.h:
15589           GstElement::new-pad -> pad-added, GstElement::state-change ->
15590           state-changed, GstValueFixedList -> GstValueArray, add format and
15591           flags as their own arguments in gst_element_seek() (should improve
15592           "bindeability"), remove function generators since they don't work
15593           under a whole bunch of compilers (they were deprecated already
15594           anyway).
15595
15596 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15597
15598         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15599         (_gst_debug_register_funcptr):
15600         * gst/gstinfo.h:
15601           Fix illegal cast on some platforms (#309253).
15602
15603 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15604
15605         * gst/gstmessage.c: (gst_message_new_custom):
15606         * gst/gstmessage.h:
15607           Add _new_custom, make _new_application a macro to _new_custom.
15608
15609 2005-07-20  Wim Taymans  <wim@fluendo.com>
15610
15611         * gst/base/gstbasesrc.c: (gst_base_src_init),
15612         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15613         * gst/base/gstbasesrc.h:
15614         Add a gboolean to decide when to push out a discont.
15615
15616         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15617         (gst_queue_loop), (gst_queue_handle_src_query),
15618         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15619         (gst_queue_set_property), (gst_queue_get_property):
15620         Some cleanups.
15621
15622         * tests/threadstate/threadstate1.c: (main):
15623         Make a thread test compile and run... very silly..
15624
15625
15626 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15627
15628         * docs/manual/appendix-porting.xml:
15629           Mention removal of libgstgconf-0.9.la and existence of gconf
15630           elements.
15631
15632 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15633
15634         * docs/pwg/advanced-clock.xml:
15635         * docs/pwg/appendix-porting.xml:
15636         * docs/pwg/intro-preface.xml:
15637         * docs/pwg/other-base.xml:
15638         * docs/pwg/other-manager.xml:
15639         * docs/pwg/other-nton.xml:
15640         * docs/pwg/other-ntoone.xml:
15641         * docs/pwg/other-oneton.xml:
15642         * docs/pwg/pwg.xml:
15643           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15644           demuxer), remove n-to-n (was never written), fix some code examples
15645           and links and update the porting section to include all this.
15646
15647 2005-07-19  Wim Taymans  <wim@fluendo.com>
15648
15649         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15650         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15651         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15652         (gst_queue_src_activate_push), (gst_queue_change_state),
15653         (gst_queue_get_property):
15654         * gst/gstqueue.h:
15655         Propagate GstFlowReturn more intelligently upstream and output
15656         an ERROR/EOS when streaming stopped due to fatal error.
15657
15658 2005-07-19  Wim Taymans  <wim@fluendo.com>
15659
15660         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15661         Don't block forever for the state change to complete, the
15662         pipeline already did with a sensible timeout.
15663
15664 2005-07-19  Wim Taymans  <wim@fluendo.com>
15665
15666         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15667         Make sure we never call the create function is we
15668         got deactivated.
15669
15670 2005-07-19  Andy Wingo  <wingo@pobox.com>
15671
15672         * gst/parse/parse.l: Attempt to solve bug #172815.
15673
15674 2005-07-19  Wim Taymans  <wim@fluendo.com>
15675
15676         * docs/design/part-clocks.txt:
15677         * docs/design/part-events.txt:
15678         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15679         Small docs updates.
15680         Only update the seeking values when we are not
15681         busy streaming.
15682
15683 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15684
15685         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15686           Oops, ignore the result of gst_pad_push_event here.
15687
15688 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15689
15690         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15691         (gst_base_src_activate_push):
15692           Send discont event from the loop function, as pads
15693           aren't activated yet in the activate_push handler.
15694
15695         * gst/gstbin.c: (bin_bus_handler):
15696           Don't leak element name.
15697
15698 2005-07-18  Andy Wingo  <wingo@pobox.com>
15699
15700         * configure.ac: Use AS_LIBTOOL_TAGS.
15701
15702 2005-07-18  Wim Taymans  <wim@fluendo.com>
15703
15704         * docs/gst/gstreamer.types:
15705         Remove deleted types.
15706
15707 2005-07-18  Wim Taymans  <wim@fluendo.com>
15708
15709         * check/elements/gstfakesrc.c: (GST_START_TEST):
15710         * configure.ac:
15711         * gst/Makefile.am:
15712         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15713         (init_popt_callback):
15714         * gst/gst.h:
15715         * gst/gst_private.h:
15716         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15717         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15718         * gst/gstbin.h:
15719         * gst/gstbus.h:
15720         * gst/gstconfig.h.in:
15721         * gst/gstelement.c: (gst_element_class_init),
15722         (gst_element_set_base_time), (gst_element_get_base_time),
15723         (iterator_fold_with_resync), (gst_element_change_state),
15724         (gst_element_dispose), (gst_element_get_bus):
15725         * gst/gstelement.h:
15726         * gst/gstelementfactory.h:
15727         * gst/gsterror.c: (_gst_core_errors_init):
15728         * gst/gsterror.h:
15729         * gst/gstevent.h:
15730         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15731         * gst/gstindex.c:
15732         * gst/gstinfo.c: (_gst_debug_init):
15733         * gst/gstmessage.c: (_gst_message_copy):
15734         * gst/gstmessage.h:
15735         * gst/gstminiobject.h:
15736         * gst/gstobject.c:
15737         * gst/gstobject.h:
15738         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15739         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15740         * gst/gstpad.h:
15741         * gst/gstparse.h:
15742         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15743         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15744         (gst_pipeline_get_last_stream_time):
15745         * gst/gstpipeline.h:
15746         * gst/gstpluginfeature.h:
15747         * gst/gstquery.h:
15748         * gst/gstscheduler.c:
15749         * gst/gstscheduler.h:
15750         * gst/gststructure.h:
15751         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15752         (gst_task_finalize), (gst_task_func), (gst_task_create),
15753         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15754         (gst_task_stop), (gst_task_pause):
15755         * gst/gsttask.h:
15756         * gst/gsttypefind.h:
15757         * gst/gsttypes.h:
15758         * gst/registries/gstlibxmlregistry.c: (load_feature),
15759         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15760         * gst/registries/gstxmlregistry.c:
15761         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15762         * gst/schedulers/threadscheduler.c:
15763         * libs/gst/control/dparammanager.h:
15764         * tools/gst-inspect.c: (print_element_list),
15765         (print_plugin_features), (print_element_features):
15766         * tools/gst-xmlinspect.c: (print_element_list),
15767         (print_plugin_info), (main):
15768         Removed plugable schedulers.
15769         Removed Scheduler/Manager from elements.
15770         Removed gsttypes.h, rearranged includes.
15771         Removed dependency pad<->element, element<>pipeline, and
15772         various others,  fix includes.
15773         implement gst_pad_get_parent() with gst_object_get_parent()
15774         Make GstTask sefcontained.
15775         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15776         timeout.
15777         Fix endless loop in iterator_fold_with_resync.
15778
15779
15780 2005-07-18  Wim Taymans  <wim@fluendo.com>
15781
15782         * gst/Makefile.am:
15783         * gst/gstarch.h:
15784         Remove old file.
15785
15786 2005-07-18  Wim Taymans  <wim@fluendo.com>
15787
15788         * gst/Makefile.am:
15789         No more cothreads.h
15790
15791 2005-07-18  Wim Taymans  <wim@fluendo.com>
15792
15793         * gst/cothreads.c:
15794         * gst/cothreads.h:
15795         Let's remove these.
15796
15797 2005-07-18  Wim Taymans  <wim@fluendo.com>
15798
15799         * docs/design/part-dynamic.txt:
15800         * docs/design/part-events.txt:
15801         * docs/design/part-seeking.txt:
15802         Some more docs in the works.
15803
15804         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15805         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15806         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15807         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15808         (gst_base_transform_handle_buffer),
15809         (gst_base_transform_sink_activate_push),
15810         (gst_base_transform_src_activate_pull),
15811         (gst_base_transform_set_passthrough),
15812         (gst_base_transform_is_passthrough):
15813         Refcounting fixes.
15814
15815         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15816         Cleanups.
15817
15818         * gst/gstevent.c: (gst_event_finalize):
15819         Set SRC to NULL.
15820
15821         * gst/gstutils.c: (gst_element_unlink),
15822         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15823         (gst_pad_proxy_setcaps):
15824         * gst/gstutils.h:
15825         Add _get_parent_element() to get a pads parent as an element.
15826
15827 2005-07-18  Wim Taymans  <wim@fluendo.com>
15828
15829         * check/gst/gstbin.c: (GST_START_TEST):
15830         Remove bogus test.
15831
15832 2005-07-18  Wim Taymans  <wim@fluendo.com>
15833
15834         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15835         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15836         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15837         (gst_base_sink_event), (gst_base_sink_do_sync),
15838         (gst_base_sink_chain), (gst_base_sink_loop),
15839         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15840         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15841         Refcounting fixes.
15842         Fix logic for returning ASYNC when not prerolled.
15843
15844 2005-07-18  Wim Taymans  <wim@fluendo.com>
15845
15846         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15847         Fix nasty refcount bug.
15848
15849 2005-07-16 Philippe Khalaf <burger@speedy.org>
15850
15851         * gst/elements/gstfdsrc.c:
15852         * gst/elements/gstfdsrc.h:
15853         * gst/elements/gstelements.c:
15854         * gst/elements/Makefile.am:
15855         Ported fdsrc to 0.9.
15856
15857 2005-07-16  Wim Taymans  <wim@fluendo.com>
15858
15859         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15860         (gst_base_sink_do_sync):
15861         Fix compile error.
15862
15863 2005-07-16  Wim Taymans  <wim@fluendo.com>
15864
15865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15866         (gst_base_sink_event), (gst_base_sink_get_times),
15867         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15868         * gst/base/gstbasesink.h:
15869         Store and use discont values when syncing buffers as described
15870         in design docs.
15871         
15872         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15873         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15874         (gst_base_src_activate_push):
15875         Push discont event when starting.
15876
15877         * gst/elements/gstidentity.c: (gst_identity_transform):
15878         Small cleanups.
15879
15880         * gst/gstbin.c: (gst_bin_change_state):
15881         Small cleanups in base_time  distribution.
15882
15883         * gst/gstelement.c: (gst_element_set_base_time),
15884         (gst_element_get_base_time), (gst_element_change_state):
15885         * gst/gstelement.h:
15886         Added methods for the base_time of the element.
15887         Some MT fixes.
15888
15889         * gst/gstpipeline.c: (gst_pipeline_send_event),
15890         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15891         (gst_pipeline_get_last_stream_time):
15892         * gst/gstpipeline.h:
15893         MT fixes.
15894         Handle seeking as described in design doc, remove stream_time
15895         hack.
15896         Cleanups clock and stream_time selection code. Added accessors
15897         for the stream_time.
15898         
15899
15900 2005-07-16  Andy Wingo  <wingo@pobox.com>
15901
15902         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15903         (#305291).
15904
15905 2005-07-16  Wim Taymans  <wim@fluendo.com>
15906
15907         * check/gst/gstbin.c: (GST_START_TEST):
15908         Make elements silent as the deep_notify refs the
15909         parent, which might make the test fail.
15910
15911         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15912         Don't hold the lock for too long.
15913
15914 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15915
15916         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15917           Don't unref the caps we passed to gst_caps_make_writable() after
15918           passing them. gst_caps_make_writable() will do that for us.
15919
15920 2005-07-15  Andy Wingo  <wingo@pobox.com>
15921
15922         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15923         (#157311).
15924
15925         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15926         own marshalling function for the handoff signal. Properly type the
15927         buffer as a buffer. Fixes some warnings. Should do a more general
15928         solution.
15929         (gst_identity_class_init): Plug into the right marshaller.
15930
15931 2005-07-15  Wim Taymans  <wim@fluendo.com>
15932
15933         * docs/design/part-TODO.txt:
15934         * docs/design/part-clocks.txt:
15935         * docs/design/part-element-sink.txt:
15936         * docs/design/part-events.txt:
15937         * docs/design/part-gstpipeline.txt:
15938         Updated docs, mostly DISCONT related.
15939
15940 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15941
15942         * docs/pwg/building-pads.xml:
15943           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15944
15945 2005-07-15  Andy Wingo  <wingo@pobox.com>
15946
15947         * tools/gst-typefind.c: Update, add copyright block.
15948
15949         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15950         Normalize and truncate caps before fixation.
15951
15952         * gst/gstcaps.h:
15953         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15954         discards all but the first structure from its argument.
15955
15956 2005-07-15  Wim Taymans  <wim@fluendo.com>
15957
15958         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15959         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15960         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15961         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15962         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15963         (gst_base_transform_chain), (gst_base_transform_change_state),
15964         (gst_base_transform_set_passthrough),
15965         (gst_base_transform_is_passthrough):
15966         * gst/base/gstbasetransform.h:
15967         Make passthrough work using the bufferpools.
15968         Changed API a bit, subclasses have to write into a buffer
15969         provided by the base class.
15970         More debug info in nego functions.
15971         
15972         * gst/elements/gstidentity.c: (gst_identity_init),
15973         (gst_identity_transform):
15974         Port to new base class.
15975
15976 2005-07-15  Wim Taymans  <wim@fluendo.com>
15977
15978         * gst/gstmessage.c: (gst_message_new_state_changed):
15979         * tools/gst-launch.c: (event_loop), (main):
15980         Totally dump messages in -launch with the -m option.
15981         Fix message name for State messages,
15982
15983 2005-07-14  Wim Taymans  <wim@fluendo.com>
15984
15985         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15986         Post error messages on errors.
15987
15988 2005-07-14  Wim Taymans  <wim@fluendo.com>
15989
15990         * gst/gstcaps.c: (gst_caps_do_simplify):
15991         Remove debug info.
15992
15993         * gst/gsterror.h:
15994         Define error for stream stopped.
15995
15996         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15997         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15998         Do proper return values.
15999
16000         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16001         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16002         (gst_pad_get_range):
16003         Better return values.
16004
16005         * gst/gstpad.h:
16006         Reorganise return values, add macro to check for fatal errors.
16007
16008         * gst/gstqueue.c: (gst_queue_chain):
16009         Return proper GstFlowReturn values,
16010
16011 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16012
16013         * docs/gst/gstreamer-sections.txt:
16014         * docs/gst/gstreamer.types:
16015         * docs/gst/tmpl/gst.sgml:
16016         * docs/gst/tmpl/gstbasesink.sgml:
16017         * docs/gst/tmpl/gstbasesrc.sgml:
16018         * docs/gst/tmpl/gstbasetransform.sgml:
16019         * docs/gst/tmpl/gstbin.sgml:
16020         * docs/gst/tmpl/gstbuffer.sgml:
16021         * docs/gst/tmpl/gstcaps.sgml:
16022         * docs/gst/tmpl/gstclock.sgml:
16023         * docs/gst/tmpl/gstcompat.sgml:
16024         * docs/gst/tmpl/gstconfig.sgml:
16025         * docs/gst/tmpl/gstelement.sgml:
16026         * docs/gst/tmpl/gstelementdetails.sgml:
16027         * docs/gst/tmpl/gstelementfactory.sgml:
16028         * docs/gst/tmpl/gstenumtypes.sgml:
16029         * docs/gst/tmpl/gsterror.sgml:
16030         * docs/gst/tmpl/gstevent.sgml:
16031         * docs/gst/tmpl/gstfakesink.sgml:
16032         * docs/gst/tmpl/gstfakesrc.sgml:
16033         * docs/gst/tmpl/gstfilesink.sgml:
16034         * docs/gst/tmpl/gstfilesrc.sgml:
16035         * docs/gst/tmpl/gstfilter.sgml:
16036         * docs/gst/tmpl/gstformat.sgml:
16037         * docs/gst/tmpl/gstghostpad.sgml:
16038         * docs/gst/tmpl/gstimplementsinterface.sgml:
16039         * docs/gst/tmpl/gstindex.sgml:
16040         * docs/gst/tmpl/gstindexfactory.sgml:
16041         * docs/gst/tmpl/gstinfo.sgml:
16042         * docs/gst/tmpl/gstiterator.sgml:
16043         * docs/gst/tmpl/gstmacros.sgml:
16044         * docs/gst/tmpl/gstmemchunk.sgml:
16045         * docs/gst/tmpl/gstminiobject.sgml:
16046         * docs/gst/tmpl/gstobject.sgml:
16047         * docs/gst/tmpl/gstpad.sgml:
16048         * docs/gst/tmpl/gstpadtemplate.sgml:
16049         * docs/gst/tmpl/gstparse.sgml:
16050         * docs/gst/tmpl/gstpipeline.sgml:
16051         * docs/gst/tmpl/gstplugin.sgml:
16052         * docs/gst/tmpl/gstpluginfeature.sgml:
16053         * docs/gst/tmpl/gstquery.sgml:
16054         * docs/gst/tmpl/gstqueue.sgml:
16055         * docs/gst/tmpl/gstregistry.sgml:
16056         * docs/gst/tmpl/gstregistrypool.sgml:
16057         * docs/gst/tmpl/gstscheduler.sgml:
16058         * docs/gst/tmpl/gstschedulerfactory.sgml:
16059         * docs/gst/tmpl/gststructure.sgml:
16060         * docs/gst/tmpl/gstsystemclock.sgml:
16061         * docs/gst/tmpl/gsttaglist.sgml:
16062         * docs/gst/tmpl/gsttagsetter.sgml:
16063         * docs/gst/tmpl/gsttrace.sgml:
16064         * docs/gst/tmpl/gsttrashstack.sgml:
16065         * docs/gst/tmpl/gsttypefind.sgml:
16066         * docs/gst/tmpl/gsttypefindfactory.sgml:
16067         * docs/gst/tmpl/gsttypes.sgml:
16068         * docs/gst/tmpl/gsturihandler.sgml:
16069         * docs/gst/tmpl/gsturitype.sgml:
16070         * docs/gst/tmpl/gstutils.sgml:
16071         * docs/gst/tmpl/gstvalue.sgml:
16072         * docs/gst/tmpl/gstversion.sgml:
16073         * docs/gst/tmpl/gstxml.sgml:
16074         * docs/libs/tmpl/gstcontrol.sgml:
16075         * docs/libs/tmpl/gstdataprotocol.sgml:
16076         * docs/libs/tmpl/gstdparam.sgml:
16077         * docs/libs/tmpl/gstdplinint.sgml:
16078         * docs/libs/tmpl/gstdpman.sgml:
16079         * docs/libs/tmpl/gstdpsmooth.sgml:
16080         * docs/libs/tmpl/gstgetbits.sgml:
16081         * docs/libs/tmpl/gstunitconvert.sgml:
16082         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16083         (gst_push_src_base_init), (gst_push_src_class_init),
16084         (gst_push_src_init), (gst_push_src_create):
16085         * gst/base/gstpushsrc.h:
16086         * gst/elements/gstelements.c:
16087         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16088         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16089         (gst_fake_sink_init), (gst_fake_sink_set_property),
16090         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16091         (gst_fake_sink_event), (gst_fake_sink_preroll),
16092         (gst_fake_sink_render), (gst_fake_sink_change_state):
16093         * gst/elements/gstfakesink.h:
16094         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16095         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16096         (gst_fake_src_base_init), (gst_fake_src_class_init),
16097         (gst_fake_src_init), (gst_fake_src_event_handler),
16098         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16099         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16100         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16101         (gst_fake_src_create_buffer), (gst_fake_src_create),
16102         (gst_fake_src_start), (gst_fake_src_stop):
16103         * gst/elements/gstfakesrc.h:
16104         * gst/elements/gstfilesink.c: (_do_init),
16105         (gst_file_sink_base_init), (gst_file_sink_class_init),
16106         (gst_file_sink_init), (gst_file_sink_dispose),
16107         (gst_file_sink_set_location), (gst_file_sink_set_property),
16108         (gst_file_sink_get_property), (gst_file_sink_open_file),
16109         (gst_file_sink_close_file), (gst_file_sink_query),
16110         (gst_file_sink_event), (gst_file_sink_render),
16111         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16112         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16113         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16114         * gst/elements/gstfilesink.h:
16115         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16116         (gst_file_src_class_init), (gst_file_src_init),
16117         (gst_file_src_finalize), (gst_file_src_set_location),
16118         (gst_file_src_set_property), (gst_file_src_get_property),
16119         (gst_file_src_map_region), (gst_file_src_map_small_region),
16120         (gst_file_src_create_mmap), (gst_file_src_create_read),
16121         (gst_file_src_create), (gst_file_src_is_seekable),
16122         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16123         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16124         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16125         (gst_file_src_uri_handler_init):
16126         * gst/elements/gstfilesrc.h:
16127           more autistic cleanliness in functions/names/defines
16128
16129 2005-07-13  Andy Wingo  <wingo@pobox.com>
16130
16131         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16132         source couldn't negotiate.
16133
16134         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16135         connections again.
16136
16137         * gst/gstutils.h:
16138         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16139         function. I am channeling Hades. Put your boots on suckers!!!
16140
16141 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16142
16143         * testsuite/caps/Makefile.am:
16144         * testsuite/caps/value_compare.c:
16145         * testsuite/caps/value_intersect.c:
16146         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16147           move two testsuite apps over to the check dir
16148
16149 2005-07-12  Wim Taymans  <wim@fluendo.com>
16150
16151         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16152         Added more debug info in the negotiate process.
16153
16154         * gst/gstmessage.h:
16155         Prepare for segment playback.
16156
16157         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16158         Better debugging.
16159
16160         * gst/gstutils.c:
16161         Some more docs.
16162
16163         * tools/gst-launch.c: (main):
16164         NULL pipeline on errors.
16165
16166 2005-07-12  Andy Wingo  <wingo@pobox.com>
16167
16168         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16169         not it comes from a malloc region. Make sure our copy gets freed.
16170
16171 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16172
16173         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16174         * check/gst/gstmessage.c: (GST_START_TEST):
16175         * check/gst/gststructure.c: (GST_START_TEST),
16176         (gst_structure_suite), (main):
16177           more testing
16178         * gst/gstelement.c: (gst_element_message_full):
16179           clean up GError and debug string now that they get copied
16180         * gst/gstmessage.c: (gst_message_new_error),
16181         (gst_message_new_warning), (gst_message_parse_error),
16182         (gst_message_parse_warning):
16183           use GST_TYPE_G_ERROR for structure_new, and take copies of
16184           arguments, so that we don't mess up refcounting
16185
16186 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16187
16188         * check/Makefile.am:
16189           add per-test valgrind targets
16190         * check/gst-libs/gdp.c: (GST_START_TEST),
16191         (gst_data_protocol_suite), (main):
16192           clean up
16193
16194 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16195
16196         * check/Makefile.am:
16197           instate more valgrindable tests
16198         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16199         (GST_START_TEST), (fakesrc_suite):
16200         * check/gst/gstpad.c: (GST_START_TEST):
16201         * check/gst/gststructure.c: (GST_START_TEST):
16202           fix test leaks
16203         * docs/gst/tmpl/gstminiobject.sgml:
16204         * gst/gstpad.c: (gst_pad_finalize):
16205           fix the static mutex leak
16206
16207 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16208
16209         * check/Makefile.am:
16210           add two more tests for valgrinding
16211         * check/gst/gstvalue.c: (GST_START_TEST):
16212           test refcount of deserialized buffer, found a leak
16213         * docs/gst/gstreamer-docs.sgml:
16214         * docs/gst/gstreamer-sections.txt:
16215         * docs/gst/gstreamer.types:
16216         * docs/gst/tmpl/gstminiobject.sgml:
16217           add miniobject to docs
16218         * gst/gstminiobject.c:
16219           add some docs
16220         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16221         (gst_string_unwrap):
16222           fix a hard-to-find invalid write for one of the tests
16223           fix a leak for deserialized buffers
16224
16225 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16226
16227         * docs/pwg/advanced-events.xml:
16228         * docs/pwg/advanced-request.xml:
16229         * docs/pwg/advanced-scheduling.xml:
16230         * docs/pwg/appendix-porting.xml:
16231         * docs/pwg/building-boiler.xml:
16232         * docs/pwg/intro-preface.xml:
16233         * docs/pwg/other-ntoone.xml:
16234           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16235           of example code and explanation for pad activation, loop() and
16236           getrange() functions and a bit more. Remove old comments pointing
16237           to loop-functions.
16238         * examples/pwg/Makefile.am:
16239           Add loop/getrange examples.
16240
16241 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16242
16243         * configure.ac:
16244           check for valgrind binary + some fixes
16245         * check/gst.supp:
16246           valgrind suppressions for the tests
16247         * check/Makefile.am:
16248           add a valgrind: target that valgrinds the unit tests
16249         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16250         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16251         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16252         * check/gst/gstghostpad.c:
16253           added some cleanup
16254         * check/gst/gstdata.c:
16255           removed
16256         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16257         (thread_unref), (gst_mini_object_suite), (main):
16258           added
16259         * gst/gst.c: (gst_deinit):
16260         * gst/gst.h:
16261           add a method to clean up.
16262         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16263         (gst_system_clock_obtain):
16264           allow for disposing the system clock.
16265         * tools/gst-launch.c: (main):
16266           deinit
16267
16268 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16269
16270         * docs/gst/tmpl/gstbasesrc.sgml:
16271         * docs/gst/tmpl/gstfakesrc.sgml:
16272         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16273         (gst_base_src_init), (gst_base_src_set_property),
16274         (gst_base_src_get_property), (gst_base_src_get_range),
16275         (gst_base_src_start):
16276         * gst/base/gstbasesrc.h:
16277           add num-buffers property
16278         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16279         (gst_fakesrc_init), (gst_fakesrc_set_property),
16280         (gst_fakesrc_get_property), (gst_fakesrc_create),
16281         (gst_fakesrc_start):
16282           remove num-buffers property
16283
16284 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16285
16286         * docs/gst/gstreamer-sections.txt:
16287         * docs/gst/tmpl/gstbasesink.sgml:
16288         * docs/gst/tmpl/gstbasesrc.sgml:
16289         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16290         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16291         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16292         (gst_base_sink_set_property), (gst_base_sink_get_property),
16293         (gst_base_sink_handle_object), (gst_base_sink_event),
16294         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16295         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16296         (gst_base_sink_loop), (gst_base_sink_deactivate),
16297         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16298         (gst_base_sink_change_state):
16299         * gst/base/gstbasesink.h:
16300         * gst/base/gstbasesrc.h:
16301         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16302         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16303         (gst_filesink_init):
16304           more macro splitting
16305
16306 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16307
16308         * gst/gstelement.c: (gst_element_get_bus):
16309           add debug
16310         * tools/gst-launch.c: (check_intr), (event_loop):
16311           fix bus leaks
16312
16313 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16314
16315         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16316           fix a caps leak
16317
16318 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16319
16320         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16321         (gst_base_src_finalize):
16322           add finalize method and clean up properly
16323         * gst/gstpipeline.c: (gst_pipeline_dispose):
16324           add debug
16325
16326 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16327
16328         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16329         (gst_bin_suite):
16330           add more things to check
16331         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16332         * gst/gstelement.c:
16333           more debug
16334
16335 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16336
16337         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16338         (GST_START_TEST), (fakesrc_suite):
16339         * check/gst-libs/gdp.c: (GST_START_TEST):
16340         * check/gst/gst.c: (GST_START_TEST):
16341         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16342         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16343         * check/gst/gstbus.c: (GST_START_TEST):
16344         * check/gst/gstcaps.c: (GST_START_TEST):
16345         * check/gst/gstdata.c: (GST_START_TEST):
16346         * check/gst/gstelement.c: (GST_START_TEST):
16347         * check/gst/gstghostpad.c: (GST_START_TEST):
16348         * check/gst/gstiterator.c: (GST_START_TEST):
16349         * check/gst/gstmessage.c: (GST_START_TEST):
16350         * check/gst/gstobject.c: (GST_START_TEST):
16351         * check/gst/gstpad.c: (GST_START_TEST):
16352         * check/gst/gststructure.c: (GST_START_TEST):
16353         * check/gst/gstsystemclock.c: (GST_START_TEST),
16354         (gst_systemclock_suite):
16355         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16356         * check/gst/gstvalue.c: (GST_START_TEST):
16357         * check/pipelines/cleanup.c: (GST_START_TEST):
16358         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16359         * check/states/sinks.c: (GST_START_TEST):
16360         * check/gstcheck.c: (gst_check_init):
16361         * check/gstcheck.h:
16362           add debugging category
16363           use GST_START_TEST now, so we add a debug line
16364
16365 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16366
16367         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16368           add test for state change message on a bin
16369         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16370           add another test
16371         * gst/gstbin.c: (gst_bin_init):
16372         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16373         * gst/gstelement.c: (gst_element_post_message),
16374         (gst_element_set_state):
16375         * gst/gstelementfactory.c: (gst_element_factory_create):
16376         * gst/gstmessage.c: (gst_message_new):
16377         * gst/gstscheduler.c:
16378           various debugging additions and cleanups
16379
16380 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16381
16382         * check/Makefile.am:
16383         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16384         (main):
16385           adding tests for elements
16386         * gst/gstelement.c: (gst_element_dispose):
16387
16388 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16389
16390         * gst/registries/gstlibxmlregistry.c: (load_feature):
16391           plug more leaks.  A simple gst_init() now is leakfree, yay.
16392
16393 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16394
16395         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16396         (gst_xml_registry_load):
16397           plug another memleak
16398
16399 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16400
16401         * configure.ac:
16402           use GST_SET_ERROR_CFLAGS
16403         * docs/faq/cvs.xml:
16404           change to ERROR_CFLAGS
16405
16406 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16407
16408         * configure.ac:
16409           make GST_ERROR_CFLAGS overridable and re-enable Werror
16410         * docs/faq/cvs.xml:
16411           add a note about error CFLAGS
16412         * docs/gst/tmpl/gstfakesrc.sgml:
16413         * gst/elements/gstfakesrc.c:
16414           comment out some unused code
16415         * gst/gst.c: (split_and_iterate):
16416         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16417         (load_feature):
16418           plug some memleaks
16419
16420 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16421
16422         * common/Makefile.am:
16423         * common/gtk-doc.mak:
16424         * docs/gst/Makefile.am:
16425           factor out gtk-doc.mak
16426
16427 2005-07-07  Wim Taymans  <wim@fluendo.com>
16428
16429         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16430         (gst_thread_scheduler_dispose):
16431         Unlock the STREAM_LOCK completely.
16432
16433 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16434
16435         * check/Makefile.am:
16436         * check/elements/.cvsignore:
16437         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16438         (START_TEST), (fakesrc_suite), (main):
16439         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16440         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16441         (gst_fakesrc_create), (gst_fakesrc_start):
16442         * gst/elements/gstfakesrc.h:
16443           adding a first element test
16444
16445 2005-07-07  Andy Wingo  <wingo@pobox.com>
16446
16447         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16448         debug message.
16449
16450 2005-07-07  Wim Taymans  <wim@fluendo.com>
16451
16452         * gst/gstquery.c:
16453         * gst/gstquery.h:
16454         Remove old types
16455
16456 2005-07-07  Wim Taymans  <wim@fluendo.com>
16457
16458         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16459         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16460         Allow subclasses to implement their own negotiation.
16461
16462 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16463
16464         * docs/design/part-gstbin.txt:
16465         * docs/design/part-gstpipeline.txt:
16466           Update design notes to reflect the movement of
16467           responsibility for bus handling from GstPipeline to
16468           GstBin
16469
16470 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16471
16472         * configure.ac:
16473           Remove unnecessary queue2/3/4 examples.
16474
16475 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16476
16477         * examples/Makefile.am:
16478         * examples/helloworld/helloworld.c: (event_loop), (main):
16479         * examples/queue/queue.c: (event_loop), (main):
16480         * examples/queue2/queue2.c: (main):
16481           Update a couple of the examples to work again.
16482
16483         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16484         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16485          Spelling corrections and extra debug.
16486         
16487         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16488         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16489         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16490         * gst/gstbin.h:
16491         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16492         (gst_pipeline_change_state):
16493         * gst/gstpipeline.h:
16494           Move the bus handler for children to the GstBin, and create a
16495           separate bus for receiving messages from children to the one the
16496           bus sends 'upwards' on.
16497
16498 2005-07-06  Wim Taymans  <wim@fluendo.com>
16499
16500         * gst/base/README:
16501         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16502         (gst_base_sink_handle_object), (gst_base_sink_loop),
16503         (gst_base_sink_change_state):
16504         * gst/base/gstbasesink.h:
16505         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16506         (gst_base_src_init), (gst_base_src_setcaps),
16507         (gst_base_src_getcaps), (gst_base_src_loop),
16508         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16509         (gst_base_src_start), (gst_base_src_change_state):
16510         * gst/base/gstbasesrc.h:
16511         Make basesrc negotiate.
16512         Handle the case where preroll fails in basesink.
16513         Update README.
16514
16515 2005-07-06  Wim Taymans  <wim@fluendo.com>
16516
16517         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16518         Implement the fixate function.
16519         Clean up acceptcaps.
16520
16521 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16522
16523         * docs/pwg/building-filterfactory.xml:
16524         * docs/pwg/pwg.xml:
16525           Remove never-written filter-factory chapter; I'll add the various
16526           base classes to part 4 ("other element types") later on.
16527
16528 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16529
16530         * docs/pwg/advanced-negotiation.xml:
16531         * docs/pwg/building-boiler.xml:
16532         * docs/pwg/building-pads.xml:
16533         * docs/pwg/pwg.xml:
16534         * examples/pwg/Makefile.am:
16535           Add a chapter on caps negotiation, simplify the original code
16536           samples a bit w.r.t. caps negotiation, add link to the advanced
16537           section. Add a bunch of examples showing different use cases of
16538           different types of caps negotiation. Upstream renegotiation isn't
16539           fully documented yet since nobody knows how that works.
16540
16541 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16542
16543         * check/gst/gstpad.c:
16544         * check/gstcheck.c:
16545         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16546           if pad has no parent, return NULL as list of internal links
16547
16548 2005-07-05  Andy Wingo  <wingo@pobox.com>
16549
16550         * gst/elements/gstfilesrc.c:
16551         * gst/elements/gstfakesrc.c: 
16552         * gst/base/gstpushsrc.c:
16553         * gst/base/gstbasesrc.h: 
16554         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16555         
16556 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16557
16558         * Makefile.am:
16559           better report generation target (lcov needs a patch)
16560
16561 2005-07-05  Andy Wingo  <wingo@pobox.com>
16562
16563         * gst/elements, testsuite: Null if we got it...
16564
16565 2005-07-05  Wim Taymans  <wim@fluendo.com>
16566
16567         * configure.ac:
16568         * libs/gst/dataprotocol/Makefile.am:
16569         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16570         * libs/gst/dataprotocol/dataprotocol.h:
16571         * pkgconfig/Makefile.am:
16572         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16573         * pkgconfig/gstreamer-dataprotocol.pc.in:
16574         Ported dataprotol to 0.9. 
16575         Added pkgconfig files.
16576
16577 2005-07-05  Andy Wingo  <wingo@pobox.com>
16578
16579         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16580         Default to returning TRUE for the case when tranform_caps returns
16581         a fixed caps, like for identity or volume.
16582
16583         * check/gst/gstbus.c (pound_bus_with_messages): 
16584         * check/gst/gstmessage.c (START_TEST): 
16585         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16586         message API change.
16587
16588         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16589         logic weaks here: always run transform_caps, trying passthrough
16590         operation only if the original caps intersects with the transform.
16591
16592         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16593         source and sink caps.
16594
16595         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16596         Intersect the peer caps with the pad template before going into
16597         transform_caps.
16598         (gst_base_transform_transform_caps): More debugging.
16599
16600         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16601         src argument.
16602
16603 2005-07-04  Edward Hervey  <edward@fluendo.com>
16604
16605         * gst/gstutils.c:
16606         * gst/gstutils.h:
16607         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16608         in bindings.
16609
16610 2005-07-04  Andy Wingo  <wingo@pobox.com>
16611
16612         * check/gst/gstpad.c: Only set explicit caps on pads.
16613
16614 2005-07-01  Andy Wingo  <wingo@pobox.com>
16615
16616         * tests/network-clock.scm: Commentary update.
16617
16618         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16619         Didn't really make sense, not implementable with basetransform,
16620         etc.
16621         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16622         attempt at implementing the sync property, needs an unlock method.
16623
16624         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16625         New func, by default returns the same caps (the identity
16626         transformation).
16627         (gst_base_transform_getcaps): Uses transform_caps to return
16628         something sensible.
16629         (gst_base_transform_setcaps): Complicated logic to get caps on
16630         both pads, even if they are different, and to call set_caps once
16631         for every time both pads get their caps set.
16632         (gst_base_transform_handle_buffer): Give the ref to the transform
16633         function. Allows in-place modification of the buffer.
16634
16635         * gst/base/gstbasetransform.h (transform_caps): New class method.
16636         Given caps on one side, what can I do on the other.
16637         (set_caps): Take two caps, one for each side of the element.
16638
16639         * gst/gstpad.h:
16640         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16641         caps in place. This is safe because we can check the mutability of
16642         the caps, and a good idea because fixate functions are just called
16643         as a matter of last resort. (Not actually implemented.)
16644         (gst_pad_set_caps): If the caps we're setting is actually the same
16645         as the existing pad caps, just update the pointer without calling
16646         setcaps. Assert that caps is either NULL or fixed, as per the
16647         docs.
16648
16649         * gst/gstghostpad.c: Update for fixate changes.
16650
16651 2005-07-02  Andy Wingo  <wingo@pobox.com>
16652
16653         * gst/gstcaps.c:
16654         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16655         two refcounts makes it immutable, which is enough. Doc more.
16656
16657 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16658
16659         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16660           Put the mini_object into GValue as a mini_object,
16661           not a gpointer, since that's how we declared
16662           the signal.
16663
16664 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16665
16666         * examples/pwg/Makefile.am:
16667           Fix buildbot again.
16668
16669 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16670
16671         * docs/pwg/building-testapp.xml:
16672           Add extra check.
16673         * examples/pwg/Makefile.am:
16674           Fix buildbot.
16675
16676 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16677
16678         * configure.ac:
16679         * examples/Makefile.am:
16680         * examples/pwg/Makefile.am:
16681         * examples/pwg/extract.pl:
16682           Enable building the PWG examples.
16683         * docs/pwg/advanced-interfaces.xml:
16684           Add URI interface stub.
16685         * docs/pwg/advanced-types.xml:
16686         * docs/pwg/other-autoplugger.xml:
16687         * docs/pwg/appendix-porting.xml:
16688         * docs/pwg/pwg.xml:
16689           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16690         * docs/pwg/building-boiler.xml:
16691         * docs/pwg/building-chainfn.xml:
16692         * docs/pwg/building-pads.xml:
16693         * docs/pwg/building-props.xml:
16694         * docs/pwg/building-state.xml:
16695         * docs/pwg/building-testapp.xml:
16696           Update the building-*.xml parts for 0.9 changes. All examples
16697           code blocks compile in examples/pwg/*.
16698
16699 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16700
16701         * docs/manual/advanced-autoplugging.xml:
16702         * docs/manual/appendix-checklist.xml:
16703         * docs/manual/appendix-integration.xml:
16704         * docs/manual/highlevel-components.xml:
16705           Fix playbin/decodebin examples, update docs a bit, mention bus
16706           instead of signals in various places, mention kmplayer and
16707           kaffeine since they have a working GStreamer backend in the KDE
16708           section.
16709
16710 2005-06-30  Wim Taymans  <wim@fluendo.com>
16711
16712         * CHANGES-0.9:
16713         * docs/design/draft-ghostpads.txt:
16714         * docs/design/draft-push-pull.txt:
16715         * docs/design/draft-query.txt:
16716         * docs/design/part-TODO.txt:
16717         * docs/design/part-query.txt:
16718         Added CHANGES-0.9 doc, updated status of other docs.
16719         
16720         * gst/gstquery.h:
16721         Remove "hmm" macro
16722
16723 2005-06-30  Wim Taymans  <wim@fluendo.com>
16724
16725         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16726         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16727         (gst_base_sink_change_state):
16728         * gst/base/gstbasesink.h:
16729         Some tweaks, only EOS and a buffer complete a preroll.
16730
16731 2005-06-30  Andy Wingo  <wingo@pobox.com>
16732
16733         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16734         activate_push down to the internal pad as well.
16735
16736 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16737
16738         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16739
16740         * gst/gsttaginterface.c:
16741           Some documentation fixes (#307394 and #307397).
16742
16743 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16744
16745         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16746
16747         * gst/gstvalue.c: (gst_value_intersect_list):
16748           Fix memleak (#309125).
16749
16750 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16751
16752         * docs/manual/advanced-dataaccess.xml:
16753           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16754         * docs/manual/basics-pads.xml:
16755           Add reference for filtered caps to above chapter.
16756
16757 2005-06-30  Wim Taymans  <wim@fluendo.com>
16758
16759         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16760         (gst_bin_change_state):
16761         Probes are gone.
16762         Lame attempt at making the state change function a bit
16763         more readable.
16764
16765 2005-06-30  Wim Taymans  <wim@fluendo.com>
16766
16767         * docs/design/part-clocks.txt:
16768         * docs/design/part-element-sink.txt:
16769         * docs/design/part-events.txt:
16770         * docs/design/part-preroll.txt:
16771         * docs/design/part-states.txt:
16772         Some more tweeks and additions to the docs.
16773
16774 2005-06-30  Wim Taymans  <wim@fluendo.com>
16775
16776         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16777         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16778         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16779         (gst_pad_check_pull_range), (gst_pad_get_range),
16780         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16781         * gst/gstpad.h:
16782         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16783         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16784         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16785         (gst_pad_remove_buffer_probe):
16786         Removed atomic operations, use existing LOCK.
16787         Move exception handling out of main code path.
16788
16789 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16790
16791         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16792         (silly_return_true_function), (gst_pad_class_init),
16793         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16794         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16795         (gst_pad_send_event):
16796           Fix accumulator, add default value by using _emitv() instead
16797           of _emit() for signal emission.
16798
16799 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16800
16801         * docs/manual/advanced-dataaccess.xml:
16802         * examples/manual/Makefile.am:
16803           Add probe example.
16804         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16805           Make work (??).
16806
16807 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16808
16809         * gst/elements/gstfilesink.c: (gst_filesink_render):
16810           Simplify code so that we don't have to handle short
16811           writes and return GST_FLOW_ERROR if an error occured.
16812
16813 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16814
16815         * docs/gst/gstreamer-docs.sgml:
16816           Remove probes more.
16817
16818 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16819
16820         * docs/gst/gstreamer-sections.txt:
16821         * docs/gst/tmpl/gstpad.sgml:
16822         * docs/gst/tmpl/gstprobe.sgml:
16823         * gst/Makefile.am:
16824         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16825         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16826         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16827         (gst_pad_push_event), (gst_pad_send_event):
16828         * gst/gstpad.h:
16829         * gst/gstutils.c: (gst_pad_add_data_probe),
16830         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16831         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16832         (gst_pad_remove_buffer_probe):
16833         * gst/gstutils.h:
16834           Remove old probes, add new g-signal-based probes and some utility
16835           functions.
16836
16837 2005-06-29  Edward Hervey  <edward@fluendo.com>
16838
16839         * gst/gstelementfactory.c:
16840         * gst/gstutils.h:
16841         * gst/gstutils.c:
16842         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16843         the definition to the header file.
16844
16845 2005-06-29  Andy Wingo  <wingo@pobox.com>
16846
16847         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16848         plugins from the source directory.
16849
16850 2005-06-29  Wim Taymans  <wim@fluendo.com>
16851
16852         * docs/gst/tmpl/gstbuffer.sgml:
16853         * docs/gst/tmpl/gstclock.sgml:
16854         Some fixings for blantently wrong text.
16855
16856 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16857
16858         * check/Makefile.am:
16859         * gst/gst.c: (add_path_func), (init_pre):
16860         * gst/gstregistry.c: (gst_registry_add_path):
16861           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16862           only scan the GST_PLUGIN_PATH locations, and not add
16863           system locations
16864
16865 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16866
16867         * docs/gst/gstreamer-sections.txt:
16868         * docs/gst/tmpl/gstbasesrc.sgml:
16869         * gst/gstelement.c:
16870         * gst/gstelement.h:
16871         * gst/gstevent.c:
16872         * gst/gstutils.c:
16873           doc fixes
16874
16875 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16876
16877         * docs/manual/advanced-autoplugging.xml:
16878           Fix autoplugging example.
16879
16880 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16881
16882         * docs/manual/advanced-autoplugging.xml:
16883         * docs/manual/mime-world.fig:
16884           Try to get autoplugging working, fix type detection. Fix text
16885           in hello-world image.
16886
16887 2005-06-29  Wim Taymans  <wim@fluendo.com>
16888
16889         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16890         (gst_base_sink_change_state):
16891         Small debug line.
16892
16893         * gst/gstclock.h:
16894         map SIGNAL and BROADCAST to the right function.
16895
16896         * gst/gstobject.h:
16897         Remove redundant braces.
16898
16899         * gst/gstpad.c: (gst_pad_set_caps):
16900         Don't call setcaps function when reseting caps to NULL.
16901
16902         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16903         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16904         (gst_system_clock_id_unschedule):
16905         Use BROADCAST as this is what we do.
16906
16907 2005-06-29  Wim Taymans  <wim@fluendo.com>
16908
16909         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16910         We are actually prerolling before commiting the state
16911         change. 
16912
16913 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16914
16915         * docs/manual/advanced-clocks.xml:
16916         * docs/manual/advanced-interfaces.xml:
16917         * docs/manual/advanced-metadata.xml:
16918         * docs/manual/advanced-position.xml:
16919         * docs/manual/advanced-schedulers.xml:
16920         * docs/manual/advanced-threads.xml:
16921         * docs/manual/appendix-porting.xml:
16922         * docs/manual/basics-bins.xml:
16923         * docs/manual/basics-bus.xml:
16924         * docs/manual/basics-elements.xml:
16925         * docs/manual/basics-helloworld.xml:
16926         * docs/manual/basics-pads.xml:
16927         * docs/manual/highlevel-components.xml:
16928         * docs/manual/manual.xml:
16929         * docs/manual/thread.fig:
16930           Update (until threads/scheduling) Application Development Manual;
16931           remove GstThread, add GstBus, add simple porting checklist, add
16932           documentation for tag writing, clocks, make all examples until this
16933           part compile and run.
16934         * examples/manual/Makefile.am:
16935           Update from changes to Application Development Manual; add bus
16936           example, remove thread example.
16937
16938 2005-06-28  Wim Taymans  <wim@fluendo.com>
16939
16940         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16941         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16942         (gst_bus_source_dispatch):
16943         Add debugging messages.
16944         Make internal methods static.
16945         Handle the case where the bus is flushed in the handler.
16946         
16947         * gst/gstelement.c: (gst_element_get_bus):
16948         Fix refcount in _get_bus();
16949
16950         * gst/gstpipeline.c: (gst_pipeline_change_state),
16951         (gst_pipeline_get_clock_func):
16952         Clock refcounting fixes.
16953         Handle the case where preroll timed out more gracefully.
16954         
16955         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16956         Clean up the internal thread in dispose. This is needed
16957         for subclasses that actually get disposed.
16958         
16959         * gst/schedulers/threadscheduler.c:
16960         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16961         (gst_thread_scheduler_dispose):
16962         Free thread pool in dispose.
16963
16964 2005-06-28  Andy Wingo  <wingo@pobox.com>
16965
16966         * tests/network-clock-utils.scm (debug, print-event): New utils.
16967
16968         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16969         (*packet-loss*): Unified loss probability.
16970         (network-time): Report out-of-band events.
16971
16972         * tests/plot-data: Add support for out-of-band events. Hack it
16973         into this script instead of passing it down the pipe; should fix
16974         this later.
16975
16976 2005-06-28  Wim Taymans  <wim@fluendo.com>
16977
16978         * docs/gst/gstreamer.types:
16979         * docs/gst/tmpl/gstbasesrc.sgml:
16980         * docs/gst/tmpl/gstpad.sgml:
16981         Docs fixes.
16982
16983 2005-06-28  Wim Taymans  <wim@fluendo.com>
16984
16985         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16986         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16987         (gst_proxy_pad_do_fixatecaps):
16988         Correctly proxy the check_pull_range function.
16989
16990 2005-06-28  Andy Wingo  <wingo@pobox.com>
16991
16992         * tests/network-clock.scm: Removed need for slib.
16993         
16994 2005-06-28  Wim Taymans  <wim@fluendo.com>
16995
16996         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16997         (gst_basesink_preroll_queue_flush):
16998         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16999         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17000         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17001         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17002         (gst_proxy_pad_set_property):
17003         * gst/gstpad.c:
17004         * gst/gstpad.h:
17005         * gst/gstqueue.c: (gst_queue_init):
17006         The deprecated pad loop function is removed now.
17007
17008 2005-06-28  Andy Wingo  <wingo@pobox.com>
17009
17010         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17011         New parameters, simulate network packet loss.
17012
17013         * tests/network-clock-utils.scm: Initialize the RNG.
17014
17015 2005-06-28  Wim Taymans  <wim@fluendo.com>
17016
17017         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17018         (gst_basesink_event), (gst_basesink_deactivate):
17019         Flushing the preroll queue always needs to unlock the waiters.
17020
17021 2005-06-28  Edward Hervey  <edward@fluendo.com>
17022
17023         * gst/gstpipeline.c: (gst_pipeline_send_event): 
17024         Wheen a seek was successful on a pipeline, set the stream_time to the
17025         seek offset in order to have a synchronized stream_time.
17026
17027 2005-06-28  Wim Taymans  <wim@fluendo.com>
17028
17029         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17030         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17031         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17032         (gst_proxy_pad_do_fixatecaps):
17033         Call wrapper function instead of just calling the function
17034         pointers. This takes care of any locking and whatmore.
17035
17036 2005-06-28  Wim Taymans  <wim@fluendo.com>
17037
17038         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17039         (gst_pad_pull_range):
17040         * gst/gstpad.h:
17041         CONNECTED -> LINKED.
17042
17043 2005-06-28  Andy Wingo  <wingo@pobox.com>
17044
17045         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17046         source-munging commit!!!
17047
17048         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
17049         (gst_object_sink): Take gpointer arguments, not GstObject --
17050         avoids casts. Like GLib.
17051
17052         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17053         activate.
17054
17055 2005-06-27  Andy Wingo  <wingo@pobox.com>
17056
17057         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17058         remaining buffer.
17059
17060         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17061         returns a sorted copy of the trace list.
17062         (gst_alloc_trace_print_live): New API, only prints traces with
17063         live objects. Sort the list.
17064         (gst_alloc_trace_print_all): Sort the list.
17065         (gst_alloc_trace_print): Align columns.
17066
17067         * gst/elements/gstttypefindelement.c:
17068         * gst/elements/gsttee.c:
17069         * gst/base/gstbasesrc.c:
17070         * gst/base/gstbasesink.c:
17071         * gst/base/gstbasetransform.c:
17072         * gst/gstqueue.c: Adapt for pad activation changes.
17073
17074         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17075         sched.
17076         (gst_pipeline_dispose): Drop ref on sched.
17077
17078         * gst/gstpad.c (gst_pad_init): Set the default activate func.
17079         (gst_pad_activate_default): Push mode by default.
17080         (pre_activate_switch, post_activate_switch): New stubs, things to
17081         do before and after switching activation modes on pads.
17082         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17083         the pad's activate function to choose which mode to activate.
17084         Shortcut on deactivation and call the right function directly.
17085         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17086         mode.
17087         (gst_pad_activate_push): New API, same for push mode.
17088         (gst_pad_set_activate_function) 
17089         (gst_pad_set_activatepull_function) 
17090         (gst_pad_set_activatepush_function): Setters for new API.
17091
17092         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17093         Trace all miniobjects.
17094         (gst_mini_object_make_writable): Unref the arg if we copy, like
17095         gst_caps_make_writable.
17096
17097         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17098
17099         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17100         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17101         Adapt for new pad API.
17102
17103         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17104
17105         * gst/gstelement.h:
17106         * gst/gstelement.c (gst_element_iterate_src_pads) 
17107         (gst_element_iterate_sink_pads): New API functions.
17108         
17109         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17110         should fold into gstiterator.c in some form.
17111         (gst_element_pads_activate): Simplified via use of fold and
17112         delegation of decisions to gstpad->activate.
17113
17114         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17115         help in debugging.
17116
17117         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17118         class once in init, like gstmessage. Didn't run into this issue
17119         but it seems correct. Don't initialize a trace, gstminiobject does
17120         that.
17121
17122         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17123         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17124         to the bus.
17125         (assert_live_count): New util function, uses alloc traces to check
17126         cleanup.
17127
17128         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17129         To be modified when unlink drops the internal pad.
17130
17131 2005-06-27  Wim Taymans  <wim@fluendo.com>
17132
17133         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17134         (gst_bin_change_state):
17135         Cleanup the get_state() function a little, make sure it
17136         iterates the same set of elements.
17137         Added stub iterate_state_order().
17138
17139 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17140
17141         * docs/gst/gstreamer-docs.sgml:
17142         * docs/gst/gstreamer-sections.txt:
17143         * docs/gst/gstreamer.types:
17144         * docs/gst/tmpl/gstbasesink.sgml:
17145         * docs/gst/tmpl/gstbasesrc.sgml:
17146         * docs/gst/tmpl/gstbasetransform.sgml:
17147         * docs/gst/tmpl/gstelement.sgml:
17148         * docs/gst/tmpl/gstiterator.sgml:
17149         * gst/base/gstbasesrc.c:
17150         * gst/base/gstbasesrc.h:
17151         * gst/base/gstbasetransform.h:
17152         * gst/gstelement.c:
17153         * gst/gstiterator.h:
17154           adding basetransform and iterator docs
17155
17156 2005-06-27  Andy Wingo  <wingo@pobox.com>
17157
17158         * docs/design/part-activation.txt: Notes on how activation should
17159         work -- not quite implemented yet.
17160
17161 2005-06-25  Wim Taymans  <wim@fluendo.com>
17162
17163         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17164         At least get the chain function correct, needs more
17165         fixing.
17166
17167 2005-06-25  Wim Taymans  <wim@fluendo.com>
17168
17169         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17170         (gst_basesink_handle_object), (gst_basesink_event),
17171         (gst_basesink_do_sync), (gst_basesink_handle_event),
17172         (gst_basesink_change_state):
17173         * gst/gsttask.h:
17174         Right, two problems here: ghostpads don't take locks and
17175         glib _rec_mutex_lock_full() with depth==0 still locks.
17176         Catch illegal locking and g_warn them.
17177
17178 2005-06-25  Wim Taymans  <wim@fluendo.com>
17179
17180         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17181         Have to check for completion now...
17182
17183 2005-06-25  Wim Taymans  <wim@fluendo.com>
17184
17185         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17186         (gst_basesink_handle_object), (gst_basesink_event),
17187         (gst_basesink_do_sync), (gst_basesink_handle_event),
17188         (gst_basesink_change_state):
17189         * gst/gstpad.h:
17190         Unlock STREAM_LOCK whatever the recursion was.
17191
17192 2005-06-25  Wim Taymans  <wim@fluendo.com>
17193
17194         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17195         (gst_basesink_preroll_queue_empty),
17196         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17197         (gst_basesink_event), (gst_basesink_do_sync),
17198         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17199         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17200         (gst_basesink_change_state):
17201         Reworked the base sink, handle event and buffer serialisation
17202         correctly and removed possible deadlock.
17203         Handle EOS correctly.
17204
17205 2005-06-25  Wim Taymans  <wim@fluendo.com>
17206
17207         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17208         (gst_pipeline_change_state):
17209         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17210         Allow elements to post EOS in the state change function.
17211         Fix up -launch, make it exit the poll loop when the
17212         pipeline actually changed state.
17213         Fix up warning parsing in -launch.
17214
17215 2005-06-25  Wim Taymans  <wim@fluendo.com>
17216
17217         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17218         (gst_tee_sink_activate):
17219         Core takes STREAM_LOCK for us now.
17220
17221 2005-06-25  Wim Taymans  <wim@fluendo.com>
17222
17223         * gst/gstelement.c: (gst_element_get_state_func),
17224         (gst_element_set_state):
17225         * gst/gstelement.h:
17226         * gst/gstmessage.c: (gst_message_parse_error),
17227         (gst_message_parse_warning):
17228         Keep track of current target state while performing a state
17229         change so that subclasses can do something interesting.
17230         Fix parsing of warning/error messages when GError is NULL.
17231
17232 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17233
17234         * docs/gst/Makefile.am:
17235         * docs/gst/gstreamer-docs.sgml:
17236         * docs/gst/gstreamer-sections.txt:
17237         * docs/gst/gstreamer.types:
17238         * docs/gst/tmpl/gstbasesink.sgml:
17239         * docs/gst/tmpl/gstbasesrc.sgml:
17240         * docs/gst/tmpl/gstbin.sgml:
17241         * docs/gst/tmpl/gstcompat.sgml:
17242         * docs/gst/tmpl/gstfakesink.sgml:
17243         * docs/gst/tmpl/gstfakesrc.sgml:
17244         * docs/gst/tmpl/gstfilesink.sgml:
17245         * docs/gst/tmpl/gstfilesrc.sgml:
17246         * docs/gst/tmpl/gstindex.sgml:
17247         * docs/manual/appendix-quotes.xml:
17248         * gst/base/gstbasesrc.h:
17249         * gst/elements/gstfakesrc.h:
17250         * gst/gstmessage.h:
17251           start pulling in base classes and elements in our docs
17252
17253 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17254
17255         * docs/gst/Makefile.am:
17256         * docs/libs/Makefile.am:
17257           fixed make distcheck with gtk-doc 1.3
17258
17259 2005-06-23  Wim Taymans  <wim@fluendo.com>
17260
17261         * gst/gstelement.c: (gst_element_get_state_func),
17262         (gst_element_set_state), (gst_element_change_state):
17263         When the state did not change, also report NO_PREROLL
17264         when it matters.
17265
17266 2005-06-23  Wim Taymans  <wim@fluendo.com>
17267
17268         * gst/gstpad.c: (gst_pad_event_default):
17269         * gst/gstqueue.c: (gst_queue_loop):
17270         No unsafe task pausing please.
17271
17272 2005-06-23  Wim Taymans  <wim@fluendo.com>
17273
17274         * gst/schedulers/threadscheduler.c:
17275         (gst_thread_scheduler_task_start),
17276         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17277         Ref the task before pushing it on the threadpool. This
17278         makes sure that we have a ref when the threadfunction is
17279         actually called.
17280
17281 2005-06-23  Andy Wingo  <wingo@pobox.com>
17282
17283         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17284         offset is greater than the file's size.
17285
17286         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17287         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17288         * gst/gstobject.c (gst_object_class_init): Make the class lock
17289         recursive. Wim won't let me drop deep_notify. Decodebin works
17290         again, whoopdy doo.
17291
17292         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17293         internal pad, and hacks accordingly. Doesn't do it on the target
17294         pad because we change its caps. Probably catches all cases of
17295         interest tho.
17296         (gst_ghost_pad_set_property): Connect to notify::caps as
17297         appropritate.
17298
17299         * tests/network-clock.scm (plot-simulation): Pipe data to the
17300         elite python skript.
17301
17302         * tests/network-clock-utils.scm (define-parameter): New macro,
17303         defines a parameter that can be set via the command line.
17304         (set-parameter!, parse-parameter-arguments): Command line args
17305         parser.
17306
17307         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17308         stdin.
17309
17310 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17311
17312         * gst/elements/gsttypefindelement.c:
17313         (gst_type_find_element_handle_event):
17314           Don't restart typefinding on a discont.
17315         * gst/gstelement.c: (gst_element_set_state):
17316           Debug spelling fix.
17317         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17318           Allow changing mode of an active pad.
17319           Debug output fixes.
17320         * gst/registries/gstlibxmlregistry.c: (load_feature):
17321           Don't cast a static pad template to a normal pad template.
17322
17323 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17324
17325         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17326         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17327           remove gst_strtoll completely, since it didn't actually do
17328           anything more than what g_ascii_strtoull already does.
17329           check for range errors when deserializing
17330           do a cast for the unsigned cases; but further fixing needs
17331           a decision on what the interpretation of "(int)" and
17332           deserialization should be for values that fall outside the
17333           type's boundaries (ie, refuse, or interpret as casting)
17334
17335 2005-06-23  Wim Taymans  <wim@fluendo.com>
17336
17337         * check/Makefile.am:
17338         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17339         * docs/design/part-live-source.txt:
17340         * docs/design/part-states.txt:
17341         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17342         (gst_basesrc_set_live), (gst_basesrc_is_live),
17343         (gst_basesrc_get_range), (gst_basesrc_activate),
17344         (gst_basesrc_change_state):
17345         * gst/base/gstbasesrc.h:
17346         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17347         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17348         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17349         * gst/gstelement.c: (gst_element_get_state_func),
17350         (gst_element_set_state):
17351         * gst/gstelement.h:
17352         * gst/gsttypes.h:
17353         * tools/gst-launch.c: (event_loop), (main):
17354         Added support for live sources and other elements that
17355         cannot do preroll.
17356         Updated design docs, added live-source design doc.
17357         Implemented live source functionality in basesrc
17358         Fix error condition in _bin_get_state()
17359         Implement live source handling in -launch.
17360         Added check for live sources.
17361         Fixed case in GstBin where elements were changed state
17362         multiple times.
17363
17364
17365 2005-06-23  Andy Wingo  <wingo@pobox.com>
17366
17367         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17368         borken refcounting.
17369
17370         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17371         gst_caps_replace takes care of this for us.
17372
17373         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17374         gst_pad_set_caps on the target, not just its setcaps() function.
17375
17376         * tests/network-clock.scm: 
17377         * tests/network-clock-utils.scm: A network clock simulator.
17378         Something of an algorithmic testbed before doing something in C.
17379
17380 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17381
17382         * check/Makefile.am:
17383         * check/gst/capslist.h:
17384           copy over from 0.8, and add two with bitmasks specified with
17385           (int) 0xFF...
17386         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17387           add test to parse everything from capslist.h
17388         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17389         (main):
17390           add test for structure deserialization
17391         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17392           add tests for deserialization of strings to int types
17393         * gst/gststructure.c: (gst_structure_nth_field_name):
17394         * gst/gststructure.h:
17395           add a way to get the name of a field referenced by index
17396         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17397           instead of checking if the resulting long long lies between
17398           min and max, we check if the long long would fit into
17399           a number of bytes for the final type.
17400           This fixes cases where a string represents 2^32 - 1, which
17401           when cast to int would be the (valid) -1, but is bigger than
17402           G_MAXINT
17403
17404 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17405
17406         * gst/parse/grammar.y:
17407           add a log line for type deserialization
17408
17409 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17410
17411         * check/gst/gstvalue.c: (START_TEST):
17412         * gst/gstvalue.c: (gst_value_deserialize):
17413           return long long, not int, so gint64 deserialization actually
17414           works.  Is there any flag that makes the compiler check this ?
17415           Fixes #308559
17416
17417 2005-06-22  Wim Taymans  <wim@fluendo.com>
17418
17419         * gst/gstbuffer.h:
17420         Added convenience macros for setting buffers in GValue.
17421
17422 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17423
17424         * check/gst/.cvsignore:
17425         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17426           add a test deserializing int64, and comment part out because
17427           it fails, yay !
17428
17429 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * check/Makefile.am:
17432         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17433         * testsuite/Makefile.am:
17434         * testsuite/caps/Makefile.am:
17435         * testsuite/caps/value_serialize.c:
17436         * testsuite/test_gst_init.c:
17437           move a value_serialize test over
17438
17439 2005-06-20  Wim Taymans  <wim@fluendo.com>
17440
17441         * gst/gstpad.c:
17442         Small doc updates.
17443         
17444         * gst/gstvalue.c: (gst_value_compare_buffer),
17445         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17446         (gst_value_compare_flags), (gst_value_serialize_flags),
17447         (gst_value_deserialize_flags), (_gst_value_initialize):
17448         Fix serialisation of buffers, they are not boxed types anymore
17449
17450 2005-06-20  Wim Taymans  <wim@fluendo.com>
17451
17452         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17453         Testcase to show error in buffer-on-caps serialisation.
17454
17455 2005-06-20  Andy Wingo  <wingo@pobox.com>
17456
17457         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17458         will be adding to later.
17459
17460         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17461         if its socks fill with rocks.
17462         (gst_system_clock_obtain): Set the name on object construction.
17463         Avoid double-checked locking.
17464
17465 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17466
17467         * gst/gsturi.c: (gst_element_make_from_uri):
17468           Fix potential endless loop.
17469
17470 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17471
17472         * check/Makefile.am:
17473           add gsttag
17474         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17475         (main):
17476           move over from testsuite dir and clean up
17477         * configure.ac:
17478         * gst/gsttag.c:
17479         * testsuite/Makefile.am:
17480         * testsuite/tags/.cvsignore:
17481         * testsuite/tags/Makefile.am:
17482         * testsuite/tags/merge.c:
17483           remove testsuite/tags
17484
17485 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17486
17487         * docs/gst/gstreamer-sections.txt:
17488         * docs/gst/tmpl/gstenumtypes.sgml:
17489         * win32/gstenumtypes.c:
17490           clean up documentation build a little
17491
17492 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17493
17494         * check/gstcheck.h:
17495           add macros for checking refcounts on objects and caps
17496         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17497           add some more unit tests
17498         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17499         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17500           fix leaked refcounts (I hope :)) so unittest works
17501         * gst/gstpad.h:
17502           whitespace removal
17503
17504 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17505
17506         * configure.ac: back to HEAD
17507
17508 === release 0.9.1 ===
17509
17510 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17511
17512         * NEWS:
17513         * RELEASE:
17514           updated
17515
17516 2005-06-17  Andy Wingo  <wingo@pobox.com>
17517
17518         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17519         assert; it's always possible that the pad gets deactivated in
17520         between the checks in gstpad.c and the implementation. Rely on
17521         finish_preroll() to return a FLUSHING or similar instead of on the
17522         assert.
17523         
17524         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17525         clock and post an EOS message if we come out of finish_preroll in
17526         the playing state.
17527
17528 2005-06-16  David Schleef  <ds@schleef.org>
17529
17530         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17531         (gst_capsfilter_set_property): Allow NULL as possible value
17532         for filter_caps property, indicating GST_CAPS_ANY.
17533
17534 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17535
17536         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17537           fix debug output
17538         * gst/schedulers/Makefile.am:
17539           use libgst prefix
17540         * gstreamer.spec.in:
17541           fix spec for it
17542
17543 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17544
17545         * gstreamer.spec.in:
17546           clean up
17547
17548 2005-06-08  Andy Wingo  <wingo@pobox.com>
17549
17550         * gst/gstutils.c: RPAD fixes all around.
17551         (gst_element_link_pads): Refcounting fixes.
17552
17553         * tools/gst-inspect.c:
17554         * tools/gst-xmlinspect.c:
17555         * parse/grammar.y:
17556         * gst/base/gsttypefindhelper.c:
17557         * gst/base/gstbasesink.c:
17558         * gst/gstqueue.c: RPAD fixes.
17559
17560         * gst/gstghostpad.h:
17561         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17562         pads. The tricky thing is they provide both source and sink
17563         interfaces, since they proxy the internal pad for the external
17564         pad, and vice versa. Implement with lower-level ProxyPad objects,
17565         with the interior proxy pad as a child of the exterior ghost pad.
17566         Should write a doc on this.
17567         
17568         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17569         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17570         gst_object API.
17571         
17572         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17573         pads are real pads. No ghost pads in this file. Not documenting
17574         the myriad s/RPAD/PAD/ and REALIZE fixes.
17575         (gst_pad_class_init): Add properties for "direction" and
17576         "template". Both are construct-only, so they can't change during
17577         the life of the pad. Fixes properly deriving from GstPad.
17578         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17579         derived objects, just set properties when creating the objects via
17580         g_object_new.
17581         (gst_pad_get_parent): Implement as a function, return NULL if the
17582         parent is not an element.
17583         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17584         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17585         
17586         * gst/gstobject.c (gst_object_class_init): Make name a construct
17587         property. Don't set it in the object init.
17588
17589         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17590         with UNKNOWN direction.
17591         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17592         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17593         (gst_element_remove_pad): Remove ghost-pad special cases.
17594         (gst_element_pads_activate): Remove rpad cruft.
17595
17596         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17597         catch the pad's-parent-not-an-element case.
17598
17599         * gst/gst.h: Include gstghostpad.h.
17600
17601         * gst/gst.c (init_post): No more real, ghost pads.
17602
17603         * gst/Makefile.am: Add gstghostpad.[ch].
17604
17605         * check/Makefile.am:
17606         * check/gst/gstbin.c:
17607         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17608         into a bin creates ghost pads, and that the refcounts are right.
17609         Partly moved from gstbin.c.
17610
17611 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17612
17613         * check/gst-libs/.cvsignore:
17614         * check/gst/.cvsignore:
17615         * check/pipelines/.cvsignore:
17616           ignore more
17617         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17618         (START_TEST), (cleanup_suite), (main):
17619           add some tests related to cleanup after running pipelines
17620
17621 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17622
17623         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17624           add a testsuite for GstBuffer
17625
17626 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17627
17628         * gst/gstminiobject.h:
17629           add defines for accessing the refcount
17630
17631 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17632
17633         * Makefile.am: added support for html unit test coverage reports
17634
17635 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17636
17637         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17638           Free existing caps if the capsfilter changes. Add a FIXME about
17639           setting those caps on the pads.
17640
17641         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17642           Before adding a ghost pad to a parent bin, check that there isn't
17643           already one for the element on the bin. Prevents infinite recursion
17644           when using decodebin in parse pipelines. Andy says he'll rewrite the
17645           way this works anyway, so ignore the hack.
17646
17647 2005-06-02  Andy Wingo  <wingo@pobox.com>
17648
17649         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17650         file size, pass it on to the type find helper.
17651
17652         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17653         segment_start and segment_end properly according to the seek
17654         method. Segment_end is still a bit flaky because offset can be
17655         negative for CUR and END cases, but it takes -1 as an "unset"
17656         value.
17657
17658 2005-06-02  Wim Taymans  <wim@fluendo.com>
17659
17660         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17661         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17662         (gst_basesink_activate):
17663         * gst/base/gstbasesink.h:
17664         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17665         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17666         (gst_pad_query), (gst_pad_start_task):
17667         * gst/gstpad.h:
17668         * gst/gstqueue.c: (gst_queue_bufferalloc),
17669         (gst_queue_handle_sink_event), (gst_queue_chain):
17670         Bufferalloc: return GstFlowReturn to more accuratly report
17671         why allocation failed.
17672
17673 2005-06-02  Wim Taymans  <wim@fluendo.com>
17674
17675         * gst/gstpipeline.c: (gst_pipeline_send_event):
17676         Take snapshot of state without blocking.
17677
17678 2005-06-02  Wim Taymans  <wim@fluendo.com>
17679
17680         * docs/design/part-TODO.txt:
17681         * docs/design/part-caps.txt:
17682         * docs/design/part-clocks.txt:
17683         * docs/design/part-negotiation.txt:
17684         * docs/design/part-preroll.txt:
17685         Small doc updates 
17686
17687 2005-05-30  Wim Taymans  <wim@fluendo.com>
17688
17689         * gst/elements/gstidentity.c: (gst_identity_event),
17690         (gst_identity_transform), (gst_identity_get_property):
17691         Protect last_message property as it is accessed from
17692         multiple threads.
17693
17694 2005-05-30  Wim Taymans  <wim@fluendo.com>
17695
17696         * gst/gstelement.c: (gst_element_init),
17697         (gst_element_pads_activate), (gst_element_change_state):
17698         Slicker pad activation code.
17699
17700 2005-05-30  Wim Taymans  <wim@fluendo.com>
17701
17702         * gst/Makefile.am:
17703         * gst/gstelement.h:
17704         * gst/gstelementfactory.h:
17705         * gst/gsttypes.h:
17706         Move elementfactory methods to separate .h file.
17707
17708 2005-05-30  Wim Taymans  <wim@fluendo.com>
17709
17710         * docs/design/part-overview.txt:
17711         * gst/gstsystemclock.h:
17712         Small typo fixes, doc updates.
17713
17714 2005-05-30  Wim Taymans  <wim@fluendo.com>
17715
17716         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17717         (init_popt_callback):
17718         Remove cpu-opt flag.
17719
17720 2005-05-30  Wim Taymans  <wim@fluendo.com>
17721
17722         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17723         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17724         * gst/gstbuffer.h:
17725         Avoid typechecking in places where not needed.
17726         Added accessor for malloc_data.
17727
17728 2005-05-30  Wim Taymans  <wim@fluendo.com>
17729
17730         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17731         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17732         (gst_pad_configure_sink), (gst_pad_configure_src),
17733         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17734         (gst_pad_start_task):
17735         Propagate errors from _set_caps() in configure_src/sink
17736         functions instead of returning TRUE.
17737         FLUSH events can travel up and downstream
17738
17739
17740 2005-05-30  Wim Taymans  <wim@fluendo.com>
17741
17742         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17743         (gst_basesink_activate):
17744         Handle EOS in preroll.
17745
17746 2005-05-30  Wim Taymans  <wim@fluendo.com>
17747
17748         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17749         (gst_queue_loop), (gst_queue_handle_src_event):
17750         Remove old pieces of code
17751         Flushing the queue in an upstream event is a very bad idea.
17752
17753 2005-05-26  Andy Wingo  <wingo@pobox.com>
17754
17755         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17756         gst_value_set_mini_object so as to add a ref on the object (which
17757         will be removed when the value is unset).
17758
17759         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17760         arg type in ::handoff.
17761
17762         * gst/gstelement.c (gst_element_change_state): Also deactivate
17763         pads in READY->NULL, just in case the element didn't make it to
17764         PAUSED. Wingo tested, Wim approved.
17765
17766 2005-05-26  Wim Taymans  <wim@fluendo.com>
17767
17768         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17769         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17770         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17771         A flushing pad cannot be used to alloc_buffer from.
17772
17773 2005-05-26  Wim Taymans  <wim@fluendo.com>
17774
17775         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17776         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17777         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17778         (gst_bus_create_watch), (gst_bus_add_watch_full):
17779         * gst/gstbus.h:
17780         Implement a real GSource and use g_main_context_wakeup() to
17781         signal new messages instead of the socketpair.
17782
17783 2005-05-25  Wim Taymans  <wim@fluendo.com>
17784
17785         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17786         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17787         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17788         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17789         (gst_pad_send_event), (gst_pad_start_task):
17790         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17791         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17792         (gst_queue_sink_activate), (gst_queue_src_activate),
17793         (gst_queue_change_state):
17794         * gst/gstqueue.h:
17795         Fix state changes for non sinks. We now change sinks, then elements
17796         with unconnected srcpads, then the rest.
17797         More efficient queue unlocking in flush and state changes.
17798         Set the pad activate mode even if it does not have an activate
17799         function.
17800
17801 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17802
17803         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17804           Don't go in pull mode for non-seekable sources.
17805         * gst/elements/gsttypefindelement.h:
17806         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17807         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17808         (free_entry), (stop_typefinding),
17809         (gst_type_find_element_handle_event), (find_peek),
17810         (gst_type_find_element_chain), (do_pull_typefind),
17811         (gst_type_find_element_change_state):
17812           Allow typefinding (w/o seeking) in push-mode, simplified version
17813           of what was in 0.8.
17814         * gst/gstutils.c: (gst_buffer_join):
17815         * gst/gstutils.h:
17816           gst_buffer_join() from 0.8.
17817
17818 2005-05-25  Wim Taymans  <wim@fluendo.com>
17819
17820         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17821         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17822         (gst_pad_send_event), (gst_pad_start_task):
17823         Disable attempt at mode switching until it is figured out.
17824
17825 2005-05-25  Wim Taymans  <wim@fluendo.com>
17826
17827         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17828         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17829         (gst_basesink_finish_preroll), (gst_basesink_chain),
17830         (gst_basesink_loop), (gst_basesink_activate),
17831         (gst_basesink_change_state):
17832         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17833         (gst_basesrc_get_range), (gst_basesrc_loop),
17834         (gst_basesrc_activate):
17835         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17836         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17837         (gst_real_pad_init), (gst_real_pad_set_property),
17838         (gst_real_pad_get_property), (gst_pad_set_active),
17839         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17840         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17841         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17842         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17843         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17844         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17845         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17846         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17847         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17848         (gst_pad_stop_task):
17849         * gst/gstpad.h:
17850         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17851         (gst_queue_loop), (gst_queue_src_activate):
17852         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17853         (gst_task_get_state):
17854         * gst/gsttask.h:
17855         * gst/schedulers/threadscheduler.c:
17856         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17857         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17858         in task function.
17859         Remove ACTIVE pad flag, use FLUSHING everywhere
17860         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17861         functions.
17862         Add locks around IS_FLUSHING when reading.
17863         Take STREAM lock in chain(), get_range() functions so plugins
17864         don't need to take it anymore.
17865         
17866
17867
17868 2005-05-25  Wim Taymans  <wim@fluendo.com>
17869
17870         * tools/gst-launch.c: (event_loop):
17871         Unref message after using its contents instead of
17872         before.
17873
17874 2005-05-24  Wim Taymans  <wim@fluendo.com>
17875
17876         * docs/design/draft-ghostpads.txt:
17877         * docs/design/draft-push-pull.txt:
17878         * docs/design/draft-query.txt:
17879         * docs/design/part-overview.txt:
17880         Docs updates, added general overview doc.
17881
17882 2005-05-21  David Schleef  <ds@schleef.org>
17883
17884         * docs/gst/tmpl/old/GstBin.sgml:
17885         * docs/gst/tmpl/old/GstBuffer.sgml:
17886         * docs/gst/tmpl/old/GstCaps.sgml:
17887         * docs/gst/tmpl/old/GstClock.sgml:
17888         * docs/gst/tmpl/old/GstCompat.sgml:
17889         * docs/gst/tmpl/old/GstData.sgml:
17890         * docs/gst/tmpl/old/GstElement.sgml:
17891         * docs/gst/tmpl/old/GstEvent.sgml:
17892         * docs/gst/tmpl/old/GstIndex.sgml:
17893         * docs/gst/tmpl/old/GstStructure.sgml:
17894         * docs/gst/tmpl/old/GstTag.sgml:
17895         * docs/gst/tmpl/old/cothreads.sgml:
17896         * docs/gst/tmpl/old/cothreads_compat.sgml:
17897         * docs/gst/tmpl/old/gettext.sgml:
17898         * docs/gst/tmpl/old/gobject2gtk.sgml:
17899         * docs/gst/tmpl/old/grammar.tab.sgml:
17900         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17901         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17902         * docs/gst/tmpl/old/gst_private.sgml:
17903         * docs/gst/tmpl/old/gstaggregator.sgml:
17904         * docs/gst/tmpl/old/gstarch.sgml:
17905         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17906         * docs/gst/tmpl/old/gstbufferstore.sgml:
17907         * docs/gst/tmpl/old/gstdata_private.sgml:
17908         * docs/gst/tmpl/old/gstdisksink.sgml:
17909         * docs/gst/tmpl/old/gstdisksrc.sgml:
17910         * docs/gst/tmpl/old/gstelementfactory.sgml:
17911         * docs/gst/tmpl/old/gstextratypes.sgml:
17912         * docs/gst/tmpl/old/gstfakesink.sgml:
17913         * docs/gst/tmpl/old/gstfakesrc.sgml:
17914         * docs/gst/tmpl/old/gstfdsink.sgml:
17915         * docs/gst/tmpl/old/gstfdsrc.sgml:
17916         * docs/gst/tmpl/old/gstfilesink.sgml:
17917         * docs/gst/tmpl/old/gstfilesrc.sgml:
17918         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17919         * docs/gst/tmpl/old/gstidentity.sgml:
17920         * docs/gst/tmpl/old/gstindexfactory.sgml:
17921         * docs/gst/tmpl/old/gstmarshal.sgml:
17922         * docs/gst/tmpl/old/gstmd5sink.sgml:
17923         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17924         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17925         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17926         * docs/gst/tmpl/old/gstpipefilter.sgml:
17927         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17928         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17929         * docs/gst/tmpl/old/gstshaper.sgml:
17930         * docs/gst/tmpl/old/gstspider.sgml:
17931         * docs/gst/tmpl/old/gstspideridentity.sgml:
17932         * docs/gst/tmpl/old/gststatistics.sgml:
17933         * docs/gst/tmpl/old/gsttee.sgml:
17934         * docs/gst/tmpl/old/gsttimecache.sgml:
17935         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17936         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17937         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17938         * docs/gst/tmpl/old/types.sgml:
17939           I didn't intend to add these or check them in.
17940
17941 2005-05-19  David Schleef  <ds@schleef.org>
17942
17943         * configure.ac: Use -no-common everywhere.  In a sane world, it
17944           would be the default in libtool, because without it, you can't
17945           build DLLs on Windows.
17946         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17947         * docs/gst/gstreamer-sections.txt:
17948         * docs/gst/tmpl/gstcpu.sgml:
17949         * docs/gst/tmpl/gstdata.sgml:
17950         * docs/gst/tmpl/gstthread.sgml:
17951
17952 2005-05-19  David Schleef  <ds@schleef.org>
17953
17954         * gst/gstminiobject.c: (gst_value_set_mini_object),
17955         (gst_value_take_mini_object), (gst_value_get_mini_object):
17956         * gst/gstminiobject.h: Add GValue set/get functions.
17957
17958 2005-05-19  Wim Taymans  <wim@fluendo.com>
17959
17960         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17961         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17962         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17963         * gst/gstbuffer.h:
17964         * gst/gstbus.c: (gst_bus_post):
17965         * gst/gstelement.c: (gst_element_get_random_pad):
17966         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17967         Make subbufer unref the parent in finalize.
17968         some more debugging info.
17969
17970
17971 2005-05-19  Wim Taymans  <wim@fluendo.com>
17972
17973         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17974         (gst_basesink_init), (gst_basesink_finalize),
17975         (gst_basesink_activate), (gst_basesink_change_state):
17976         Don't free preroll queue too early.
17977
17978 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17979
17980         * gst/Makefile.am:
17981         * gst/ROADMAP:
17982           Hi, I'm outdated. Please shoot me.
17983
17984 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17985
17986         * gst/gstpipeline.c: (gst_pipeline_send_event):
17987           Do not access variables after they have been deleted.
17988
17989 2005-05-19  Wim Taymans  <wim@fluendo.com>
17990
17991         * tools/gst-inspect.c: (print_plugin_features):
17992         A plugin feature does unfortunatly not use the
17993         object name yet...
17994
17995 2005-05-18  Wim Taymans  <wim@fluendo.com>
17996
17997         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17998         Port _span() functions to new subbuffers.
17999
18000 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18001
18002         * gst/gstbin.c: (gst_bin_add_func):
18003           Fix clock settery in bins when adding kids after the clock has
18004           been selected.
18005
18006 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18007
18008         * gst/elements/gstidentity.c: (gst_identity_class_init):
18009           Workaround until signals support GstMiniObject.
18010
18011 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
18012
18013         * gst/gstbuffer.c:
18014         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18015
18016 2005-05-18  Wim Taymans  <wim@fluendo.com>
18017
18018         * gst/base/Makefile.am:
18019         * gst/base/gstadapter.c: (gst_adapter_base_init),
18020         (gst_adapter_class_init), (gst_adapter_init),
18021         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18022         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18023         (gst_adapter_flush), (gst_adapter_available),
18024         (gst_adapter_available_fast):
18025         * gst/base/gstadapter.h:
18026         Ported and added adapter to the base classes.
18027
18028 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18029
18030         * gst/gst.c:
18031         * gst/gstmessage.c:
18032           Make sure the class is reffed/unreffed once before threads can be
18033           used.  Fixes #304551.
18034
18035 2005-05-17  Wim Taymans  <wim@fluendo.com>
18036
18037         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18038         (gst_basesink_chain_unlocked), (gst_basesink_activate):
18039         * gst/gstminiobject.c: (gst_mini_object_get_type),
18040         (gst_mini_object_free):
18041         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18042         (gst_pad_push), (gst_pad_push_event):
18043         * gst/gstqueue.c: (gst_queue_change_state):
18044         Don't queue buffers in basesink when we are flushing.
18045         Unref buffer when flushing in basesink.
18046         Flush queue when going to READY
18047         Unref buffer when _push() returns an error.
18048         Don't free MiniObject instance when refcount is incremented
18049         in _finalize() so that we can recover objects.
18050
18051 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
18052
18053         * docs/manual/advanced-schedulers.xml:
18054         * docs/manual/appendix-checklist.xml:
18055         * docs/pwg/advanced-clock.xml:
18056         * docs/pwg/advanced-interfaces.xml:
18057         * docs/pwg/advanced-request.xml:
18058         * docs/pwg/advanced-types.xml:
18059         * docs/pwg/intro-preface.xml:
18060         * examples/plugins/example.c: (gst_example_get_type),
18061         (gst_example_class_init), (gst_example_chain),
18062         (gst_example_set_property), (gst_example_get_property),
18063         (gst_example_change_state), (plugin_init):
18064         * examples/plugins/example.h:
18065           small doc fixes
18066
18067 2005-05-17  Wim Taymans  <wim@fluendo.com>
18068
18069         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18070         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18071         * gst/gstqueue.c: (gst_queue_change_state):
18072         Clear queue when going to READY.
18073         Remove IN_SETCAPS flag too.
18074
18075 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
18076
18077         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18078           Remove implicit cast from gboolean to GstElementStateReturn;
18079           make sure we still return failure in paused => ready case if
18080           the parent class fails to change state and our own stop 
18081           vfunc succeeds.
18082
18083 2005-05-17  Wim Taymans  <wim@fluendo.com>
18084
18085         * tools/gst-launch.c: (event_loop):
18086         Message was unreffed too soon.
18087
18088 2005-05-16  Andy Wingo  <wingo@pobox.com>
18089
18090         * gst/gstbin.c (sink_iterator_filter): Err... um...
18091
18092         * check/gst/gstbin.c (test_ghost_pads): New test for the
18093         ghosting-if-elements-not-in-same-bin behavior.
18094
18095 2005-05-16  David Schleef  <ds@schleef.org>
18096
18097         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18098         accessing refcount directly.
18099
18100 2005-05-15  David Schleef  <ds@schleef.org>
18101
18102         * check/Makefile.am: remove GstData checks
18103         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18104         * gst/Makefile.am: add miniobject, remove data
18105         * gst/gst.h: add miniobject, remove data
18106         * gst/gstdata.c: remove
18107         * gst/gstdata.h: remove
18108         * gst/gstdata_private.h: remove
18109         * gst/gsttypes.h: remove GstEvent and GstMessage
18110         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18111         * gst/gstmarshal.list: change BOXED -> OBJECT
18112
18113         Implement GstMiniObject.
18114         * gst/gstminiobject.c:
18115         * gst/gstminiobject.h:
18116
18117         Modify to be subclasses of GstMiniObject.
18118         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18119         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18120         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18121         (gst_subbuffer_get_type), (gst_subbuffer_init),
18122         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18123         (gst_buffer_span):
18124         * gst/gstbuffer.h:
18125         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18126         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18127         (_gst_event_copy), (gst_event_new):
18128         * gst/gstevent.h:
18129         * gst/gstmessage.c: (_gst_message_initialize),
18130         (gst_message_get_type), (gst_message_class_init),
18131         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18132         (gst_message_new), (gst_message_new_error),
18133         (gst_message_new_warning), (gst_message_new_tag),
18134         (gst_message_new_state_changed), (gst_message_new_application):
18135         * gst/gstmessage.h:
18136         * gst/gstprobe.c: (gst_probe_perform),
18137         (gst_probe_dispatcher_dispatch):
18138         * gst/gstprobe.h:
18139         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18140         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18141         (_gst_query_copy), (gst_query_new):
18142
18143         Update elements for GstData -> GstMiniObject changes
18144         * gst/gstquery.h:
18145         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18146         (gst_queue_chain), (gst_queue_loop):
18147         * gst/elements/gstbufferstore.c:
18148         (gst_buffer_store_add_buffer_func),
18149         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18150         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18151         (gst_fakesink_render):
18152         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18153         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18154         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18155         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18156         (gst_filesrc_create_read):
18157         * gst/elements/gstidentity.c: (gst_identity_class_init):
18158         * gst/elements/gsttypefindelement.c:
18159         (gst_type_find_element_src_event), (free_entry_buffers),
18160         (gst_type_find_element_handle_event):
18161         * libs/gst/dataprotocol/dataprotocol.c:
18162         (gst_dp_header_from_buffer):
18163         * libs/gst/dataprotocol/dataprotocol.h:
18164         * libs/gst/dataprotocol/dp-private.h:
18165
18166 2005-05-15  David Schleef  <ds@schleef.org>
18167
18168         * gst/elements/gstelements.c: Don't include headers that were
18169         just removed.
18170
18171 2005-05-15  David Schleef  <ds@schleef.org>
18172
18173         * gst/elements/Makefile.am: Remove some elements that don't
18174         need to be in the core (or even exist at all).
18175         * gst/elements/gstaggregator.c:
18176         * gst/elements/gstaggregator.h:
18177         * gst/elements/gstmd5sink.c:
18178         * gst/elements/gstmd5sink.h:
18179         * gst/elements/gstmultifilesrc.c:
18180         * gst/elements/gstmultifilesrc.h:
18181         * gst/elements/gstpipefilter.c:
18182         * gst/elements/gstpipefilter.h:
18183         * gst/elements/gstshaper.c:
18184         * gst/elements/gstshaper.h:
18185         * gst/elements/gststatistics.c:
18186         * gst/elements/gststatistics.h:
18187         * po/POTFILES.in: Remove above files.
18188
18189 2005-05-14  Andy Wingo  <wingo@pobox.com>
18190
18191         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18192         so as to get the refs right.
18193         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18194         unreffing objects that don't pass the filter.
18195
18196         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18197         gst_element_set_bus.
18198         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18199         normal cases, this will destroy the bus.
18200
18201         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18202         object.
18203
18204         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18205         has no sinks.
18206
18207 2005-05-13  Andy Wingo  <wingo@pobox.com>
18208
18209         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18210         gst_pad_link, call pad_link_maybe_ghosting,
18211         (pad_link_maybe_ghosting): Links pads, making sure that the
18212         elements being linked are in the same bin.
18213         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18214         Helpers for pad_link_maybe_ghosting.
18215
18216 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18217
18218         * configure.ac:
18219           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18220
18221 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18222
18223         * docs/design/part-element-source.txt:
18224           Mention GstPushSrc
18225
18226 2005-05-12  Wim Taymans  <wim@fluendo.com>
18227
18228         * gst/base/gstbasesink.c: (gst_basesink_init),
18229         (gst_basesink_activate):
18230         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18231         (gst_basesrc_is_seekable):
18232         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18233         (bin_element_is_sink), (gst_bin_change_state):
18234         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18235         * gst/gstelement.h:
18236         Identify sinks by their flag to avoid overly complicated
18237         checks (fow now).
18238         Do state changes even for elements not reachable from the
18239         sinks.
18240         BaseSink is a sink now :)
18241         Some more debugging info in the basesrc.
18242
18243
18244 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18245
18246         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18247           Implement _query on a bin, similar to _send_event.
18248
18249 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18250
18251         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18252           Discont event offset format should be GST_FORMAT_BYTES,
18253           not GST_FORMAT_TIME.
18254
18255 2005-05-12  Wim Taymans  <wim@fluendo.com>
18256
18257         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18258         Same fix as Ronald's but without the signal. 
18259
18260 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18261
18262         * gst/gstutils.c: (gst_element_query_position):
18263           No, an element is not a pad.
18264
18265 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18266
18267         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18268         (gst_bin_get_state):
18269           If a child is removed from a bin while we remove the child from
18270           the bin and while we're retrieving its state, signal this to the
18271           get_state function so we abort the wait (instead of waiting for
18272           a timeout) and can immediately re-iterate over all other elements.
18273
18274 2005-05-12  Wim Taymans  <wim@fluendo.com>
18275
18276         * gst/base/Makefile.am:
18277         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18278         (gst_basesrc_start):
18279         * gst/base/gstbasesrc.h:
18280         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18281         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18282         (gst_pushsrc_init), (gst_pushsrc_create):
18283         * gst/base/gstpushsrc.h:
18284         Added is_seekable to BaseSrc
18285         Added simple PushSrc.
18286
18287 2005-05-11  Wim Taymans  <wim@fluendo.com>
18288
18289         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18290         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18291         (gst_element_link_pads), (gst_element_query_position),
18292         (gst_element_query_convert), (intersect_caps_func),
18293         (gst_pad_query_position), (gst_pad_query_convert):
18294         Fix refcounting in utils function.
18295         No point in trying to activate a pad when it's added, it could
18296         be added from the state change function and then we deadlock, the
18297         element has to decide what to do.
18298
18299 2005-05-10  Andy Wingo  <wingo@pobox.com>
18300
18301         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18302         *all* the arguments.
18303
18304         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18305         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18306         lock (according to the docs -- if this is wrong change the docs).
18307
18308         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18309         flush messages in the NULL state.
18310
18311         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18312         message immediately and return.
18313         (gst_bus_set_flushing): New function. If a bus is flushing, it
18314         flushes out any queued messages and immediately unrefs new
18315         messages. This is so when an element goes to NULL, all of the
18316         unhandled messages coming from it can be freed, and their
18317         references to the element dropped. In other words: message source
18318         ref considered harmful :P
18319
18320         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18321         we're finished with it.
18322
18323         * gst/gstmessage.c (gst_message_new_state_changed): 
18324
18325 2005-05-10  Wim Taymans  <wim@fluendo.com>
18326
18327         * gst/gstvalue.c: (gst_value_compare_flags),
18328         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18329         (_gst_value_initialize):
18330         Added flags serialize/deserialize/compare code.
18331
18332 2005-05-09  Andy Wingo  <wingo@pobox.com>
18333
18334         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18335         Intersect the peer's caps with our caps.
18336
18337 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18338
18339         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18340         * gst/elements/gsttypefindelement.c: (find_peek):
18341           Handle negative offsets better. Fixes decodebin.
18342
18343 2005-05-09  Wim Taymans  <wim@fluendo.com>
18344
18345         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18346         (gst_base_transform_event):
18347         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18348         Implement accept_caps.
18349         Fix silly lock/unlock mismatch in base class.
18350
18351 2005-05-09  Wim Taymans  <wim@fluendo.com>
18352
18353         * docs/design/draft-push-pull.txt:
18354         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18355         * gst/elements/gstfilesink.c: (gst_filesink_init),
18356         (gst_filesink_query):
18357         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18358         (gst_type_find_handle_src_query), (find_element_get_length):
18359         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18360         * gst/gstelement.h:
18361         * gst/gstmessage.c:
18362         * gst/gstmessage.h:
18363         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18364         (gst_real_pad_get_caps_unlocked),
18365         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18366         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18367         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18368         (gst_real_pad_dispose), (gst_real_pad_finalize),
18369         (gst_pad_load_and_link), (gst_pad_save_thyself),
18370         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18371         (gst_pad_check_pull_range), (gst_pad_pull_range),
18372         (gst_pad_template_get_type), (gst_pad_template_class_init),
18373         (gst_pad_template_init), (gst_pad_template_dispose),
18374         (name_is_valid), (gst_static_pad_template_get),
18375         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18376         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18377         (gst_pad_get_element_private), (gst_pad_start_task),
18378         (gst_pad_pause_task), (gst_pad_stop_task),
18379         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18380         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18381         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18382         (gst_ghost_pad_new):
18383         * gst/gstpad.h:
18384         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18385         (gst_query_new_position), (gst_query_set_position),
18386         (gst_query_parse_position), (gst_query_new_convert),
18387         (gst_query_set_convert), (gst_query_parse_convert):
18388         * gst/gstquery.h:
18389         * gst/gstqueryutils.c:
18390         * gst/gstqueryutils.h:
18391         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18392         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18393         (gst_queue_handle_src_query):
18394         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18395         (gst_element_query_position), (gst_element_query_convert),
18396         (intersect_caps_func), (gst_pad_query_position),
18397         (gst_pad_query_convert):
18398         * gst/gstutils.h:
18399         * tools/gst-inspect.c: (print_pad_info):
18400         * tools/gst-xmlinspect.c: (print_element_info):
18401         Remove old query functions. Ported old code.
18402         Added position/convert helper functions to gstutils.
18403         Reordered gstpad.c code, grouping relevant things.
18404         Remove gst_message_new(), always need to speficy a specific
18405         message.
18406
18407
18408 2005-05-09  Andy Wingo  <wingo@pobox.com>
18409
18410         * gst/gstiterator.h: Add some includes.
18411
18412         * gst/gstqueryutils.h: Include more headers.
18413
18414         * gst/gstpad.h:
18415         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18416         some uses of gst_pad_query.
18417
18418         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18419         NULL out parameters.
18420         (gst_query_new_position): New proc, allocates a new position
18421         query.
18422
18423         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18424         gstqueryutils.c to the build.
18425
18426         * gst/gststructure.c (gst_structure_set_valist): Implement with
18427         the generic G_VALUE_COLLECT.
18428         
18429 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18430
18431         * gst/Makefile.am: (gst_headers):
18432         Added gstqueryutils.h to the list of headers to install, that was
18433         a 'nachty' move wingo :)
18434
18435 2005-05-06  Andy Wingo  <wingo@pobox.com>
18436
18437         * gst/gstquery.h
18438         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18439         GstData, init a memchunk.
18440         (standard_definitions): Add a few query types, deprecate a few.
18441         (gst_query_get_type): New proc.
18442         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18443         implementation.
18444         (gst_query_new_application, gst_query_get_structure): New public
18445         procs.
18446
18447         * docs/design/draft-query.txt: Removed LINKS from the query types,
18448         because all the rest can be dispatched to other pads -- seemed
18449         ugly to have a query that couldn't be dispatched. internal_links
18450         is fine as a pad method.
18451
18452         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18453         in gstpad.c, but maintain binary compatibility for the moment.
18454         Will fix before 0.9 is out.
18455
18456         * gst/gstqueryutils.c: 
18457         * gst/gstqueryutils.h: New files, implement 3 methods for each
18458         query type: parse_query, parse_response, and set. Probably need an
18459         allocator as well.
18460
18461         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18462
18463         * gst/elements/gstfilesink.c (gst_filesink_query2):
18464         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18465         query_types, and formats methods.
18466
18467         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18468         (gst_pad_set_query2_function): New functions.
18469         (gst_real_pad_init): Set query2_default as the default query2
18470         function. Basically just dispatches to internally linked pads.
18471
18472         Needs review!
18473         
18474         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18475         without using the atomic operations. Only one thread can possibly
18476         be accessing the data at this point. Changed so as to avoid
18477         gst_atomic operations.
18478
18479 2005-05-06  Wim Taymans  <wim@fluendo.com>
18480
18481         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18482         Also set caps if we use the fallback buffer alloc.
18483
18484 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18485
18486         * docs/gst/Makefile.am:
18487         * docs/gst/gstreamer-docs.sgml:
18488         * docs/gst/gstreamer-sections.txt:
18489         * docs/gst/tmpl/gstatomic.sgml:
18490         * docs/gst/tmpl/gstmemchunk.sgml:
18491         * testsuite/elements/struct_i386.h:
18492         * win32/GStreamer.vcproj:
18493         * win32/Makefile:
18494           Purge GstAtomic stuff from docs and win32 makefiles as well
18495
18496 2005-05-06  Wim Taymans  <wim@fluendo.com>
18497
18498         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18499         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18500         * gst/gstpad.c: (gst_pad_peer_get_caps):
18501         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18502         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18503         (gst_queue_src_activate), (gst_queue_change_state):
18504         * gst/gstqueue.h:
18505         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18506         (intersect_caps_func):
18507         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18508         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18509         Some fixes for the peer_get_caps() change.
18510
18511 2005-05-06  Wim Taymans  <wim@fluendo.com>
18512
18513         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18514         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18515         (gst_basesink_activate):
18516         Actually do something with error codes returned from the push
18517         functions.
18518
18519 2005-05-06  Wim Taymans  <wim@fluendo.com>
18520
18521         * docs/design/part-element-sink.txt:
18522         * docs/design/part-element-source.txt:
18523         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18524         (gst_basesink_event), (gst_basesink_activate):
18525         * gst/base/gstbasesink.h:
18526         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18527         (gst_basesrc_activate):
18528         * gst/base/gstbasesrc.h:
18529         * gst/gstelement.c: (gst_element_pads_activate):
18530         Some more documentation.
18531         Fixed scheduling decision in _pads_activate().
18532
18533 2005-05-05  Andy Wingo  <wingo@pobox.com>
18534
18535         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18536         the test suite.
18537
18538 2005-05-05  Wim Taymans  <wim@fluendo.com>
18539
18540         * gst/base/Makefile.am:
18541         * gst/base/gstbasesink.h:
18542         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18543         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18544         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18545         (gst_collectpads_class_init), (gst_collectpads_init),
18546         (gst_collectpads_finalize), (gst_collectpads_new),
18547         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18548         (find_pad), (gst_collectpads_remove_pad),
18549         (gst_collectpads_is_active), (gst_collectpads_collect),
18550         (gst_collectpads_collect_range), (gst_collectpads_start),
18551         (gst_collectpads_stop), (gst_collectpads_peek),
18552         (gst_collectpads_pop), (gst_collectpads_available),
18553         (gst_collectpads_read), (gst_collectpads_flush),
18554         (gst_collectpads_chain):
18555         * gst/base/gstcollectpads.h:
18556         * gst/elements/Makefile.am:
18557         * gst/elements/gstelements.c:
18558         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18559         (gst_fakesink_get_times), (gst_fakesink_event),
18560         (gst_fakesink_preroll), (gst_fakesink_render):
18561         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18562         (gst_filesink_init), (gst_filesink_set_location),
18563         (gst_filesink_open_file), (gst_filesink_close_file),
18564         (gst_filesink_pad_query), (gst_filesink_event),
18565         (gst_filesink_render), (gst_filesink_change_state):
18566         * gst/elements/gstfilesink.h:
18567         Added object to help in making collect pad based elements.
18568         Ported filesink.
18569         Make event function in sink baseclass return gboolean.
18570
18571 2005-05-05  Wim Taymans  <wim@fluendo.com>
18572
18573         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18574         (gst_bin_get_by_name):
18575         * gst/gstbuffer.h:
18576         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18577         (gst_clock_finalize):
18578         * gst/gstdata.c: (gst_data_replace):
18579         * gst/gstdata.h:
18580         * gst/gstelement.c: (gst_element_request_pad),
18581         (gst_element_pads_activate):
18582         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18583         (gst_object_unref):
18584         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18585         (gst_pad_set_checkgetrange_function),
18586         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18587         (gst_pad_check_pull_range), (gst_pad_pull_range),
18588         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18589         (gst_pad_pause_task), (gst_pad_stop_task):
18590         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18591         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18592         Fix name lookup in GstBin.
18593         Added _data_replace() function and _buffer_replace()
18594         Use finalize method to clean up clock.
18595         Fix refcounting on request pads.
18596         Fix pad schedule mode error.
18597         Some more object refcounting debug info,
18598
18599
18600 2005-05-04  Andy Wingo <wingo@pobox.com>
18601
18602         * check/Makefile.am:
18603         * docs/gst/tmpl/gstatomic.sgml:
18604         * docs/gst/tmpl/gstplugin.sgml:
18605         * gst/base/gstbasesink.c: (gst_basesink_activate):
18606         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18607         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18608         (gst_basesrc_query), (gst_basesrc_set_property),
18609         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18610         (gst_basesrc_activate):
18611         * gst/base/gstbasesrc.h:
18612         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18613         (gst_base_transform_src_activate):
18614         * gst/elements/gstelements.c:
18615         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18616         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18617         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18618         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18619         (gst_type_find_element_checkgetrange),
18620         (gst_type_find_element_activate):
18621         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18622         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18623         (gst_caps_load_thyself):
18624         * gst/gstelement.c: (gst_element_pads_activate),
18625         (gst_element_save_thyself), (gst_element_restore_thyself):
18626         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18627         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18628         * gst/gstpad.h:
18629         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18630         (gst_xml_parse_file), (gst_xml_parse_memory),
18631         (gst_xml_get_element), (gst_xml_make_element):
18632         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18633         (_file_index_id_save_xml), (gst_file_index_commit):
18634         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18635         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18636         (load_paths):
18637         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18638         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18639         * tools/gst-complete.c: (main):
18640         * tools/gst-compprep.c: (main):
18641         * tools/gst-inspect.c: (print_element_properties_info):
18642         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18643         * tools/gst-xmlinspect.c: (print_element_properties):
18644         GCC 4 fixen.
18645         
18646 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18647
18648         * gst/gstplugin.c: (gst_plugin_check_module),
18649         (gst_plugin_check_file), (gst_plugin_load_file):
18650             apply patch from #172526 to make register work on MacOSX
18651
18652 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18653
18654         * docs/gst/tmpl/gstconfig.sgml:
18655         * gst/gstconfig.h.in:
18656           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18657         * testsuite/debug/printf_extension.c: (main):
18658           Do not use GST_PTR_FORMAT on pointers to types with
18659           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18660         * testsuite/elements/property.h:
18661           use correct printf format
18662
18663 2005-05-02  Wim Taymans  <wim@fluendo.com>
18664
18665         * docs/design/draft-push-pull.txt:
18666         * docs/design/draft-query.txt:
18667         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18668         (gst_basesrc_start):
18669         Added draft for new query API.
18670         Added draft for better selecting scheduling methods.
18671         Make basesrc ignore length if the subclass does not support
18672         it.
18673
18674 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18675
18676         * gst/Makefile.am:
18677           possible fixes for automake-1.5 - _LIBADD is reserved
18678
18679 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18680
18681         * docs/faq/Makefile.am:
18682         * docs/manual/Makefile.am:
18683         * docs/manuals.mak:
18684         * docs/pwg/Makefile.am:
18685         * gst/Makefile.am:
18686           possible fixes for automake-1.5
18687
18688 2005-04-28  Wim Taymans  <wim@fluendo.com>
18689
18690         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18691         (gst_basesink_pad_getcaps), (gst_basesink_init),
18692         (gst_basesink_do_sync):
18693         * gst/gstclock.c: (gst_clock_entry_new):
18694         * gst/gstevent.c: (gst_event_discont_get_value):
18695         * gst/gstpipeline.c: (pipeline_bus_handler),
18696         (gst_pipeline_change_state):
18697         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18698         Better debugging of clocking info.
18699         Allow NULL values when getting discont values.
18700
18701 2005-04-27  Wim Taymans  <wim@fluendo.com>
18702
18703         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18704         * check/gst/gstpad.c: (gst_pad_suite):
18705         Increase timeout for checks.
18706
18707 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18708
18709         * check/Makefile.am:
18710           fix the broken rule for cleanup.  Apparently this rule is
18711           only needed on FC2, so maybe this warrants further autotool
18712           inspection.
18713
18714 2005-04-26  Wim Taymans  <wim@fluendo.com>
18715
18716         * gst/gsttrashstack.h:
18717         Ooohh. a nasty one! After having a failed pop() from the stack,
18718         it's possible that the stack is empty. In that case, don't
18719         follow the NULL pointer.
18720
18721 2005-04-25  Wim Taymans  <wim@fluendo.com>
18722
18723         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18724         (gst_pad_set_checkgetrange_function),
18725         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18726         (gst_pad_check_pull_range), (gst_pad_pull_range),
18727         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18728         (gst_pad_pause_task), (gst_pad_stop_task):
18729         * gst/gstplugin.c: (gst_plugin_load):
18730         * gst/gstplugin.h:
18731         Remove gst_library_load as it does more harm than good with
18732         the new g_module flags.
18733         Revert bogus caps template check in pad linking, pad caps
18734         are important when linking not the template, which is more
18735         general than the current caps.
18736
18737 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18738
18739         * gst/autoplug/.cvsignore:
18740         * gst/autoplug/Makefile.am:
18741         * gst/autoplug/gstsearchfuncs.c:
18742         * gst/autoplug/gstsearchfuncs.h:
18743         * gst/autoplug/gstspider.c:
18744         * gst/autoplug/gstspider.h:
18745         * gst/autoplug/gstspideridentity.c:
18746         * gst/autoplug/gstspideridentity.h:
18747         * gst/autoplug/spidertest.c:
18748           Die, spider, die.
18749
18750 2005-04-25  Wim Taymans  <wim@fluendo.com>
18751
18752         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18753         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18754         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18755         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18756         * gst/gstpad.h:
18757         Added stubs for unimplemented functions. 
18758
18759 2005-04-24  David Schleef  <ds@schleef.org>
18760
18761         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18762         please fix.
18763
18764 2005-04-24  David Schleef  <ds@schleef.org>
18765
18766         Convert everything from GstAtomicInt to g_atomic_int_*, and
18767         remove gstatomic.
18768         * gst/Makefile.am:
18769         * gst/gstatomic.c:
18770         * gst/gstatomic.h:
18771         * gst/gstatomic_impl.h:
18772         * gst/gstbuffer.c:
18773         * gst/gstcaps.c:
18774         * gst/gstcaps.h:
18775         * gst/gstclock.c:
18776         * gst/gstclock.h:
18777         * gst/gstdata.c:
18778         * gst/gstdata.h:
18779         * gst/gstdata_private.h:
18780         * gst/gstevent.c:
18781         * gst/gstinfo.c:
18782         * gst/gstinfo.h:
18783         * gst/gstmessage.c:
18784         * gst/gstobject.c:
18785         * gst/gstobject.h:
18786         * gst/gststructure.c:
18787         * gst/gststructure.h:
18788         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18789         * gst/gstutils.h:
18790
18791 2005-04-24  David Schleef  <ds@schleef.org>
18792
18793         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18794         make the regressions tests work.  Remove some code that is no
18795         longer true.
18796         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18797         Disable warning for pads without templates.
18798
18799 2005-04-24  David Schleef  <ds@schleef.org>
18800
18801         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18802         functions that handle filtered links.
18803         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18804         removed functions.
18805         * gst/gstutils.c: Fix/remove utility functions that handle
18806         filtered caps.
18807         * gst/gstutils.h:
18808         * gst/gstvalue.c: Add serialization/deserialization of caps
18809         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18810         requires fixing so that the filter caps notation creates
18811         a capsfilter element and sets the filter_caps property.  I
18812         think everyone probably wants to keep the shorthand notation.
18813         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18814         * docs/gst/tmpl/gstpad.sgml:
18815
18816         * gst/elements/gstelements.c: Register capsfilter element.
18817         * gst/Makefile.am: fix spacing
18818         * docs/random/ds/0.9-suggested-changes: random
18819
18820 2005-04-23  David Schleef  <ds@schleef.org>
18821
18822         * gst/elements/Makefile.am:
18823         * gst/elements/gstcapsfilter.c: New element that acts like an
18824         identity, but filters caps.  Will eventually replace filtered
18825         caps in pad linking.
18826         * gst/gstutils.c: (gst_element_create_all_pads): New function
18827         to create all the ALWAYS pads that are registered with an
18828         element class.  This functionality should eventually be
18829         merged in with GstElement initialization.
18830         * gst/gstutils.h:
18831         * testsuite/trigger/README: part of trigger test code that should
18832         have been checked in a long time ago.
18833
18834 2005-04-23  David Schleef  <ds@schleef.org>
18835
18836         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18837         needed with new versions of libtool (nobody will confirm this),
18838         and hard to carry around.
18839         * gst/autoplug/Makefile.am:
18840         * gst/base/Makefile.am:
18841         * gst/elements/Makefile.am:
18842         * gst/indexers/Makefile.am:
18843         * gst/schedulers/Makefile.am:
18844         * libs/gst/bytestream/Makefile.am:
18845         * libs/gst/control/Makefile.am:
18846         * libs/gst/dataprotocol/Makefile.am:
18847         * libs/gst/getbits/Makefile.am:
18848
18849 2005-04-21  Wim Taymans  <wim@fluendo.com>
18850
18851         * docs/design/draft-push-pull.txt:
18852         * docs/design/part-MT-refcounting.txt:
18853         * docs/design/part-TODO.txt:
18854         * docs/design/part-caps.txt:
18855         * docs/design/part-events.txt:
18856         * docs/design/part-gstbus.txt:
18857         * docs/design/part-gstpipeline.txt:
18858         * docs/design/part-messages.txt:
18859         * docs/design/part-push-pull.txt:
18860         * docs/design/part-query.txt:
18861         Some more docs.
18862
18863 2005-04-21  Wim Taymans  <wim@fluendo.com>
18864
18865         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18866         (gst_message_new), (gst_message_new_error),
18867         (gst_message_new_warning), (gst_message_new_tag),
18868         (gst_message_new_state_changed), (gst_message_new_application),
18869         (gst_message_get_structure):
18870         * gst/gstmessage.h:
18871         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18872         (gst_structure_copy_conditional):
18873         Use parent refcount in GstMessage to ensure GstStructure
18874         consistency.
18875         Cleaned up headers a bit.
18876         
18877
18878 2005-04-20  Wim Taymans  <wim@fluendo.com>
18879
18880         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18881         (gst_basesink_pad_getcaps), (gst_basesink_init),
18882         (gst_basesink_chain_unlocked):
18883         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18884         (gst_type_find_helper):
18885         * gst/elements/gsttypefindelement.c:
18886         (gst_type_find_element_have_type), (gst_type_find_element_init),
18887         (stop_typefinding), (gst_type_find_element_handle_event),
18888         (find_suggest), (gst_type_find_element_chain),
18889         (gst_type_find_element_checkgetrange),
18890         (gst_type_find_element_getrange), (do_typefind),
18891         (gst_type_find_element_activate):
18892         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18893         (gst_buffer_default_free), (gst_buffer_default_copy),
18894         (gst_buffer_set_caps):
18895         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18896         (gst_caps_replace):
18897         * gst/gstmessage.c: (gst_message_new),
18898         (gst_message_new_state_changed):
18899         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18900         (gst_pad_set_checkgetrange_function),
18901         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18902         (gst_pad_set_caps), (gst_pad_check_pull_range),
18903         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18904         * gst/gstpad.h:
18905         * gst/gsttypefind.c: (gst_type_find_register):
18906         Make gst_caps_replace() work like other _replace() functions.
18907         Use _caps_replace() where possible.
18908         Make sure _message_new() initialises its field.
18909         Add gst_static_pad_template_get_caps()
18910
18911
18912 2005-04-18  Andy Wingo  <wingo@pobox.com>
18913
18914         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18915         on the peer, not the pad. I think that was a typo. Pass an extra
18916         arg to see if random access is possible. Activate the pads as
18917         PULL_RANGE if possible.
18918
18919         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18920
18921         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18922         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18923         to PROP_....
18924
18925 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18926
18927         * docs/faq/using.xml:
18928           Add note on gstreamer-properties (#154996).
18929
18930 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18931
18932         * docs/random/bbb/optional-properties:
18933           Some analysis on optional properties.
18934
18935 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18936
18937         * docs/gst/tmpl/gstelementfactory.sgml:
18938         * gst/gstelement.h:
18939         * gst/gstelementfactory.c: (gst_element_factory_init),
18940         (gst_element_factory_cleanup), (gst_element_register),
18941         (__gst_element_factory_add_static_pad_template),
18942         (gst_element_factory_get_static_pad_templates),
18943         (gst_element_factory_can_src_caps),
18944         (gst_element_factory_can_sink_caps):
18945         * gst/registries/Makefile.am:
18946         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18947         (gst_xml_registry_class_init), (gst_xml_registry_init),
18948         (gst_xml_registry_new), (gst_xml_registry_set_property),
18949         (gst_xml_registry_get_property), (get_time), (make_dir),
18950         (gst_xml_registry_get_perms_func),
18951         (plugin_times_older_than_recurse), (plugin_times_older_than),
18952         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18953         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18954         (add_to_char_array), (read_string), (read_uint), (read_enum),
18955         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18956         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18957         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18958         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18959         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18960         (gst_xml_registry_rebuild):
18961         * gst/registries/gstlibxmlregistry.h:
18962         * tools/gst-compprep.c: (main):
18963         * tools/gst-inspect.c: (print_pad_templates_info):
18964         * tools/gst-xmlinspect.c: (print_element_info):
18965           Use libxml2 for registry parsing, use staticpadtemplates in
18966           elementfactories. Makes gst_init() +/- 10x faster.
18967
18968 2005-04-12  Wim Taymans  <wim@fluendo.com>
18969
18970         * gst/base/Makefile.am:
18971         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18972         (gst_basesink_pad_getcaps), (gst_basesink_init),
18973         (gst_basesink_event), (gst_basesink_change_state):
18974         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18975         (gst_basesrc_init), (gst_basesrc_query),
18976         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18977         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18978         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18979         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18980         (gst_basesrc_stop), (gst_basesrc_activate),
18981         (gst_basesrc_change_state):
18982         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18983         (helper_find_suggest), (gst_type_find_helper):
18984         * gst/base/gsttypefindhelper.h:
18985         * gst/elements/Makefile.am:
18986         * gst/elements/gstelements.c:
18987         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18988         (gst_fakesink_get_times), (gst_fakesink_event),
18989         (gst_fakesink_preroll), (gst_fakesink_render):
18990         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18991         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18992         (gst_fakesrc_get_property), (gst_fakesrc_create),
18993         (gst_fakesrc_start), (gst_fakesrc_stop):
18994         * gst/elements/gstfakesrc.h:
18995         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18996         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18997         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18998         (gst_filesrc_create_read), (gst_filesrc_create),
18999         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19000         (gst_filesrc_start):
19001         * gst/elements/gsttypefindelement.c:
19002         (gst_type_find_element_have_type), (gst_type_find_element_init),
19003         (start_typefinding), (stop_typefinding), (push_buffer_store),
19004         (gst_type_find_element_handle_event),
19005         (gst_type_find_element_chain),
19006         (gst_type_find_element_checkgetrange),
19007         (gst_type_find_element_getrange), (do_typefind),
19008         (gst_type_find_element_activate),
19009         (gst_type_find_element_change_state):
19010         * gst/elements/gsttypefindelement.h:
19011         * gst/gstpipeline.c: (pipeline_bus_handler):
19012         Added typefind helper.
19013         Small preroll fix in the base sink.
19014         Disable typefind code in basesrc.
19015         Crude port of typefindelement.
19016         Fakesrc cleanups.
19017
19018
19019 2005-04-11  Wim Taymans  <wim@fluendo.com>
19020
19021         * check/gst/gstbus.c: (gstbus_suite):
19022         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19023         * check/gstcheck.h:
19024           Fix up the timeout so that the test does not fail.
19025
19026 2005-04-06  Wim Taymans  <wim@fluendo.com>
19027
19028         * gst/base/README:
19029         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19030         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19031         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19032         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19033         (gst_basesrc_check_get_range), (gst_basesrc_loop),
19034         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19035         (gst_basesrc_stop), (gst_basesrc_activate),
19036         (gst_basesrc_change_state), (basesrc_find_peek),
19037         (basesrc_find_suggest), (gst_basesrc_type_find):
19038         * gst/base/gstbasesrc.h:
19039         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19040         (gst_filesrc_class_init), (gst_filesrc_init),
19041         (gst_filesrc_finalize), (gst_filesrc_set_location),
19042         (gst_filesrc_set_property), (gst_filesrc_get_property),
19043         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19044         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19045         (gst_filesrc_create_read), (gst_filesrc_create),
19046         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19047         * gst/elements/gstfilesrc.h:
19048         * gst/gstelement.c: (gst_element_get_state_func),
19049         (gst_element_lost_state), (gst_element_pads_activate):
19050         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19051         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19052         (gst_pad_pull_range):
19053         * gst/gstpad.h:
19054         More work on the generic source base class, implement seeking,
19055         query.
19056         Make filesrc extend the base source class.
19057         Added gst_pad_set_checkgetrange_function to GstPad.
19058
19059 2005-04-06  Andy Wingo  <wingo@pobox.com>
19060
19061         * pkgconfig/gstreamer-base.pc.in:
19062         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19063
19064         * pkgconfig/Makefile.am:
19065         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19066
19067 2005-04-04  Wim Taymans  <wim@fluendo.com>
19068
19069         * gst/base/Makefile.am:
19070         * gst/base/README:
19071         * gst/base/gstbasesink.c: (gst_basesink_base_init),
19072         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19073         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19074         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19075         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19076         (gst_basesrc_base_init), (gst_basesrc_class_init),
19077         (gst_basesrc_init), (gst_basesrc_get_formats),
19078         (gst_basesrc_get_query_types), (gst_basesrc_query),
19079         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19080         (gst_basesrc_set_property), (gst_basesrc_get_property),
19081         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19082         (gst_basesrc_loop), (gst_basesrc_activate),
19083         (gst_basesrc_change_state):
19084         * gst/base/gstbasesrc.h:
19085         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19086         (gst_fakesrc_class_init), (gst_fakesrc_init),
19087         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19088         (gst_fakesrc_get_property), (gst_fakesrc_create):
19089         * gst/elements/gstfakesrc.h:
19090         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19091         (gst_filesrc_open_file), (gst_filesrc_loop),
19092         (gst_filesrc_activate), (filesrc_find_peek),
19093         (gst_filesrc_type_find):
19094         Made base source class, make fakesrc extend it.
19095         Add comments to basesink class.
19096         Some filesrc cleanup.
19097
19098 2005-03-31  David Schleef  <ds@schleef.org>
19099
19100         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19101         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19102         expected to link against libgstreamer.
19103         * gst/base/Makefile.am: link against libgstreamer
19104         * gst/elements/Makefile.am: same
19105
19106 2005-03-31  Andy Wingo  <wingo@pobox.com>
19107
19108         * tests/instantiate/Makefile.am:
19109         * tests/instantiate/caps.c: Add test to test speed of caps copy
19110         and free.
19111
19112         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19113         GMemChunk to be fair.
19114
19115         * gst/gsttrashstack.h: Remove warning about using the fallback
19116         trash stack implementation, it's still faster than malloc.
19117
19118 2005-03-30  Andy Wingo  <wingo@pobox.com>
19119
19120         * tests/complexity.c: Add a copyright.
19121
19122 2005-03-31  Wim Taymans  <wim@fluendo.com>
19123
19124         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19125         (gst_base_transform_class_init), (gst_base_transform_init),
19126         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19127         (gst_base_transform_get_property),
19128         (gst_base_transform_sink_activate),
19129         (gst_base_transform_src_activate),
19130         (gst_base_transform_change_state):
19131         * gst/base/gstbasetransform.h:
19132         * gst/elements/gstidentity.c: (gst_identity_class_init),
19133         (gst_identity_event), (gst_identity_check_perfect),
19134         (gst_identity_transform), (gst_identity_start),
19135         (gst_identity_stop):
19136         Added start/stop methods to transform base class so subclasses 
19137         don't need to deal with state changes even.
19138
19139 2005-03-31  Wim Taymans  <wim@fluendo.com>
19140
19141         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19142         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19143         * gst/gstevent.h:
19144         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19145         (gst_pad_pull_range):
19146         Added rate to the discont event to prepare for variable speed
19147         and reverse playback.
19148
19149 2005-03-29  David Schleef  <ds@schleef.org>
19150
19151         * configure.ac:
19152         * testsuite/trigger/Makefile.am:
19153         * testsuite/trigger/trigger.c: A little example program to show
19154         how trigger-based elements can work.
19155
19156 2005-03-29  Wim Taymans  <wim@fluendo.com>
19157
19158         * gst/base/Makefile.am:
19159         * gst/base/README:
19160         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19161         (gst_basesink_base_init), (gst_basesink_class_init),
19162         (gst_basesink_pad_getcaps), (gst_basesink_init),
19163         (gst_basesink_activate), (gst_basesink_change_state):
19164         * gst/base/gstbasesink.h:
19165         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19166         (gst_base_transform_base_init), (gst_base_transform_finalize),
19167         (gst_base_transform_class_init), (gst_base_transform_init),
19168         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19169         (gst_base_transform_event), (gst_base_transform_getrange),
19170         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19171         (gst_base_transform_set_property),
19172         (gst_base_transform_get_property),
19173         (gst_base_transform_sink_activate),
19174         (gst_base_transform_src_activate),
19175         (gst_base_transform_change_state):
19176         * gst/base/gstbasetransform.h:
19177         * gst/elements/gstidentity.c: (gst_identity_finalize),
19178         (gst_identity_class_init), (gst_identity_init),
19179         (gst_identity_event), (gst_identity_check_perfect),
19180         (gst_identity_transform), (gst_identity_set_property),
19181         (gst_identity_get_property), (gst_identity_change_state):
19182         * gst/elements/gstidentity.h:
19183         * gst/gstelement.c: (gst_element_get_state_func),
19184         (gst_element_lost_state), (gst_element_pads_activate):
19185         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19186         (gst_pad_check_pull_range), (gst_pad_pull_range):
19187         * gst/gstpad.h:
19188         Simplify pad activation.
19189         Added function to check if pull_range can be performed.
19190         Error out when pulling inactive or flushing pads.
19191         Removed const from refcounted types as it does not make sense.
19192         Simplify pad templates in basesink
19193         Added base class for simple 1-to-1 transforms.
19194         Make identity subclass the base transform.
19195
19196 2005-03-29  Andy Wingo  <wingo@pobox.com>
19197
19198         * docs/libs/gstreamer-libs-overrides.txt: 
19199         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19200         really don't understand what's going on, but like whatever. I want
19201         green buildbot!
19202
19203         * docs/gst/Makefile.am:
19204         * docs/libs/Makefile.am: Dist the overrides files.
19205
19206         * check/Makefile.am (clean-local): Remove .libs directories.
19207
19208         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19209         elements to EXTRA_DIST, so po/ files are happy.
19210
19211         * po/POTFILES.in: Er, remove it here.
19212
19213         * po/POTFILES: Remove gstspider.c.
19214
19215         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19216
19217         * docs/libs/gstreamer-libs-docs.sgml: 
19218         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19219         bytestream.
19220
19221         * tests/complexity.c (main): Set the length of the preroll queue
19222         on the sinks to prevent a lockup.
19223
19224         * libs/gst/dataprotocol/Makefile.am: 
19225         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19226         the same as the one in check/gst-libs/gdp.c.
19227
19228         * po/, docs/gst/: Commit automatic changes to docs and po files.
19229
19230         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19231         the versioned libgstbase.
19232
19233         * check/Makefile.am: Depend on an unversioned gst-register, seems
19234         to make autoconf happier.
19235
19236         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19237
19238 2005-03-28  Wim Taymans  <wim@fluendo.com>
19239
19240         * configure.ac:
19241         * docs/design/part-gstelement.txt:
19242         * docs/design/part-negotiation.txt:
19243         * docs/design/part-preroll.txt:
19244         * docs/design/part-scheduling.txt:
19245         * docs/design/part-states.txt:
19246         * gst/Makefile.am:
19247         * gst/base/Makefile.am:
19248         * gst/base/README:
19249         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19250         (gst_basesink_base_init), (gst_basesink_class_init),
19251         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19252         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19253         (gst_basesink_set_pad_functions),
19254         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19255         (gst_basesink_set_property), (gst_basesink_get_property),
19256         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19257         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19258         (gst_basesink_preroll_queue_push),
19259         (gst_basesink_preroll_queue_empty),
19260         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19261         (gst_basesink_event), (gst_basesink_get_times),
19262         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19263         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19264         (gst_basesink_loop), (gst_basesink_activate),
19265         (gst_basesink_change_state):
19266         * gst/base/gstbasesink.h:
19267         * gst/elements/Makefile.am:
19268         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19269         (gst_fakesink_class_init), (gst_fakesink_init),
19270         (gst_fakesink_set_property), (gst_fakesink_get_property),
19271         (gst_fakesink_get_times), (gst_fakesink_event),
19272         (gst_fakesink_preroll), (gst_fakesink_render),
19273         (gst_fakesink_change_state):
19274         * gst/elements/gstfakesink.h:
19275         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19276         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19277         * gst/gstelement.c: (gst_element_add_pad),
19278         (gst_element_get_state_func), (gst_element_abort_state),
19279         (gst_element_commit_state), (gst_element_lost_state),
19280         (gst_element_set_state), (gst_element_pads_activate):
19281         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19282         * gst/gstpipeline.c: (gst_pipeline_send_event),
19283         (gst_pipeline_change_state):
19284         Added state change code.
19285         Added/updated docs.
19286         Added sink base class, make fakesink extend the base class.
19287         Small cleanups in GstPipeline.
19288
19289 2005-03-26  David Schleef  <ds@schleef.org>
19290
19291         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19292         is broken and should be implemented in a different library.
19293         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19294         * gst/gst.h: remove gstcpu.h
19295         * gst/gstcpu.c: remove
19296         * gst/gstcpu.h: remove
19297         * gst/Makefile.am.future: Remove this file.  It's ancient.
19298
19299 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19300
19301         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19302         (gst_bin_send_event):
19303           Add default event/set_manager handlers. The set_manager handler
19304           takes care that the manager is distributed over kids that were
19305           already in the bin before the manager was set. The event handler
19306           is a utility virtual function that sends the event over all sinks,
19307           so that gst_element_send_event (bin, event); has the expected
19308           behaviour.
19309         * gst/gstpad.c: (gst_pad_event_default):
19310           Re-install default event handling for discontinuities, so that
19311           seeking works without requiring hacks in applications or extra
19312           code in sinks.
19313         * gst/gstpipeline.c: (gst_pipeline_class_init),
19314         (gst_pipeline_send_event):
19315           Half hack, half utility: set a pipeline to PAUSED for seek events,
19316           since that is the only way we can guarantee a/v sync. Means that
19317           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19318           and it "just works".
19319
19320 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19321
19322         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19323           Lock/unlock mismatch.
19324
19325 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19326
19327         * docs/faq/gst-uninstalled:
19328           add gst-plugins-base
19329         * docs/gst/Makefile.am:
19330           don't error out until docs are fixed
19331         * docs/gst/gstreamer.types:
19332           remove thread
19333
19334 2005-03-22  Wim Taymans  <wim@fluendo.com>
19335
19336         * check/Makefile.am:
19337         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19338         * gst/gststructure.c: (gst_structure_set_valist),
19339         (gst_structure_copy_conditional):
19340         Activated more tests.
19341         Added message test.
19342         Added G_TYPE_POINTER to GstStructure.
19343         
19344
19345 2005-03-22  Wim Taymans  <wim@fluendo.com>
19346
19347         * docs/design/part-TODO.txt:
19348         * docs/design/part-events.txt:
19349         * docs/design/part-gstbin.txt:
19350         * docs/design/part-gstbus.txt:
19351         * docs/design/part-gstpipeline.txt:
19352         * docs/design/part-messages.txt:
19353         * gst/gstbus.c:
19354         * gst/gstmessage.c:
19355         Docs updates
19356
19357 2005-03-21  Wim Taymans  <wim@fluendo.com>
19358
19359         * gst/gstbus.c: (gst_bus_post):
19360         Fix copy-and-paste error.
19361
19362 2005-03-21  Wim Taymans  <wim@fluendo.com>
19363
19364         * check/Makefile.am:
19365         * gst/Makefile.am:
19366         * gst/elements/Makefile.am:
19367         * gst/elements/gstelements.c:
19368         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19369         (gst_fakesink_event), (gst_fakesink_chain):
19370         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19371         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19372         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19373         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19374         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19375         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19376         (gst_fakesrc_loop), (gst_fakesrc_activate),
19377         (gst_fakesrc_change_state):
19378         * gst/elements/gstfakesrc.h:
19379         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19380         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19381         (gst_filesrc_open_file), (gst_filesrc_loop),
19382         (gst_filesrc_activate), (gst_filesrc_change_state),
19383         (filesrc_find_peek), (filesrc_find_suggest),
19384         (gst_filesrc_type_find):
19385         * gst/elements/gstidentity.c: (gst_identity_finalize),
19386         (gst_identity_class_init), (gst_identity_init),
19387         (gst_identity_proxy_getcaps), (identity_queue_push),
19388         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19389         (gst_identity_getrange), (gst_identity_chain),
19390         (gst_identity_sink_loop), (gst_identity_src_loop),
19391         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19392         (gst_identity_set_property), (gst_identity_get_property),
19393         (gst_identity_change_state):
19394         * gst/elements/gstidentity.h:
19395         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19396         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19397         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19398         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19399         (gst_tee_sink_activate):
19400         * gst/elements/gsttee.h:
19401         * gst/gst.c: (gst_register_core_elements), (init_post):
19402         * gst/gst.h:
19403         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19404         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19405         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19406         (gst_bin_change_state):
19407         * gst/gstbin.h:
19408         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19409         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19410         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19411         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19412         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19413         (bus_watch_callback), (bus_watch_destroy),
19414         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19415         (poll_timeout), (gst_bus_poll):
19416         * gst/gstbus.h:
19417         * gst/gstcaps.h:
19418         * gst/gstdata.h:
19419         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19420         (gst_element_post_message), (gst_element_message_full),
19421         (gst_element_get_state_func), (gst_element_get_state),
19422         (gst_element_abort_state), (gst_element_commit_state),
19423         (gst_element_lost_state), (gst_element_set_state),
19424         (gst_element_pads_activate), (gst_element_change_state),
19425         (gst_element_dispose), (gst_element_set_manager_func),
19426         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19427         (gst_element_set_manager), (gst_element_get_manager),
19428         (gst_element_set_bus), (gst_element_get_bus),
19429         (gst_element_set_scheduler), (gst_element_get_scheduler):
19430         * gst/gstelement.h:
19431         * gst/gstevent.c: (gst_event_new_segment_seek),
19432         (gst_event_new_flush):
19433         * gst/gstevent.h:
19434         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19435         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19436         (gst_message_new_eos), (gst_message_new_error),
19437         (gst_message_new_warning), (gst_message_new_tag),
19438         (gst_message_new_state_changed), (gst_message_new_application),
19439         (gst_message_get_structure), (gst_message_parse_tag),
19440         (gst_message_parse_state_changed), (gst_message_parse_error),
19441         (gst_message_parse_warning):
19442         * gst/gstmessage.h:
19443         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19444         (gst_real_pad_set_property), (gst_pad_set_active),
19445         (gst_pad_is_active), (gst_pad_set_blocked_async),
19446         (gst_pad_set_blocked), (gst_pad_is_blocked),
19447         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19448         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19449         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19450         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19451         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19452         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19453         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19454         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19455         (gst_pad_set_caps), (gst_pad_configure_sink),
19456         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19457         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19458         (gst_real_pad_dispose), (gst_real_pad_finalize),
19459         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19460         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19461         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19462         * gst/gstpad.h:
19463         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19464         (pipeline_bus_handler), (gst_pipeline_change_state),
19465         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19466         * gst/gstpipeline.h:
19467         * gst/gstprobe.h:
19468         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19469         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19470         (gst_queue_link_src), (gst_queue_bufferalloc),
19471         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19472         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19473         (gst_queue_loop), (gst_queue_handle_src_event),
19474         (gst_queue_handle_src_query), (gst_queue_src_activate),
19475         (gst_queue_change_state):
19476         * gst/gstqueue.h:
19477         * gst/gstscheduler.c: (gst_scheduler_init),
19478         (gst_scheduler_dispose), (gst_scheduler_create_task),
19479         (gst_scheduler_factory_create):
19480         * gst/gstscheduler.h:
19481         * gst/gststructure.c: (gst_structure_get_type),
19482         (gst_structure_copy_conditional):
19483         * gst/gststructure.h:
19484         * gst/gsttaginterface.h:
19485         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19486         (gst_task_init), (gst_task_dispose), (gst_task_create),
19487         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19488         (gst_task_pause):
19489         * gst/gsttask.h:
19490         * gst/gstthread.c:
19491         * gst/gstthread.h:
19492         * gst/gsttypes.h:
19493         * gst/schedulers/Makefile.am:
19494         * gst/schedulers/cothreads_compat.h:
19495         * gst/schedulers/entryscheduler.c:
19496         * gst/schedulers/faircothreads.c:
19497         * gst/schedulers/faircothreads.h:
19498         * gst/schedulers/fairscheduler.c:
19499         * gst/schedulers/gstbasicscheduler.c:
19500         * gst/schedulers/gstoptimalscheduler.c:
19501         * gst/schedulers/gthread-cothreads.h:
19502         * gst/schedulers/threadscheduler.c:
19503         (gst_thread_scheduler_task_get_type),
19504         (gst_thread_scheduler_task_class_init),
19505         (gst_thread_scheduler_task_init),
19506         (gst_thread_scheduler_task_start),
19507         (gst_thread_scheduler_task_stop),
19508         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19509         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19510         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19511         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19512         (plugin_init):
19513         * libs/gst/Makefile.am:
19514         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19515         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19516         (gst_file_pad_parent_set):
19517         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19518         (gst_dp_event_from_packet):
19519         * tests/complexity.c: (main):
19520         * tests/mass_elements.c: (main):
19521         * testsuite/states/locked.c: (message_received), (main):
19522         * testsuite/states/parent.c: (main):
19523         * tools/gst-inspect.c: (print_element_flag_info),
19524         (print_implementation_info), (print_pad_info):
19525         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19526         (main):
19527         * tools/gst-md5sum.c: (event_loop), (main):
19528         * tools/gst-typefind.c: (main):
19529         * tools/gst-xmlinspect.c: (print_element_info):
19530         Next big merge.
19531         Added GstBus for mainloop integration.
19532         Added GstMessage for sending notifications on the bus.
19533         Added GstTask as an abstraction for pipeline entry points.
19534         Removed GstThread.
19535         Removed Schedulers.
19536         Simplified GstQueue for multithreaded core.
19537         Made _link threadsafe, removed old capsnego.
19538         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19539         Added pad blocking functions.
19540         Reworked scheduling functions in GstPad to prepare for
19541         scheduling updates soon.
19542         Moved events out of data stream.
19543         Simplified GstEvent types.
19544         Added return values to push/pull.
19545         Removed clocking from GstElement.
19546         Added prototypes for state change function for next merge.
19547         Removed iterate from bins and state change management.
19548         Fixed some elements, disabled others for now.
19549         Fixed -inspect and -launch.
19550         Added check for GstBus.
19551
19552 2005-03-10  Wim Taymans  <wim@fluendo.com>
19553
19554         * docs/design/part-MT-refcounting.txt:
19555         * docs/design/part-clocks.txt:
19556         * docs/design/part-gstelement.txt:
19557         * docs/design/part-gstobject.txt:
19558         * docs/design/part-standards.txt:
19559         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19560         (gst_bin_remove_func), (gst_bin_remove):
19561         * gst/gstbin.h:
19562         * gst/gstbuffer.c:
19563         * gst/gstcaps.h:
19564         * testsuite/clock/clock1.c: (main):
19565         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19566         (main):
19567         * testsuite/dlopen/loadgst.c: (do_test):
19568         * testsuite/refcounting/bin.c: (add_remove_test1),
19569         (add_remove_test2), (main):
19570         * testsuite/refcounting/element.c: (main):
19571         * testsuite/refcounting/element_pad.c: (main):
19572         * testsuite/refcounting/pad.c: (main):
19573         * tools/gst-launch.c: (sigint_handler_sighandler):
19574         * tools/gst-typefind.c: (main):
19575         Doc updates.
19576         Added doc about clock.
19577         removed gst_bin_iterate_recurse_up(), marked methods
19578         for removal.
19579         Fix more testsuites.
19580
19581 2005-03-09  Wim Taymans  <wim@fluendo.com>
19582
19583         * gst/gstpad.c: (gst_pad_get_direction),
19584         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19585         (gst_pad_collect_valist):
19586         * testsuite/bins/interface.c: (main):
19587         * testsuite/caps/audioscale.c: (test_caps):
19588         * testsuite/caps/caps.c: (test1), (test2), (test3):
19589         * testsuite/caps/deserialize.c: (main):
19590         * testsuite/caps/enumcaps.c: (main):
19591         * testsuite/caps/filtercaps.c: (main):
19592         * testsuite/caps/intersect2.c: (main):
19593         * testsuite/caps/random.c: (main):
19594         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19595         * testsuite/caps/sets.c: (check_caps):
19596         * testsuite/caps/simplify.c: (check_caps), (main):
19597         * testsuite/caps/subtract.c: (check_caps):
19598         Fix _pad_get_direction wrt ghostpads.
19599         Fix caps testsuite.
19600
19601 2005-03-09  Wim Taymans  <wim@fluendo.com>
19602
19603         * check/Makefile.am:
19604         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19605         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19606         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19607         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19608         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19609         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19610         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19611         (bin_element_is_sink), (gst_bin_iterate_sinks),
19612         (gst_bin_iterate_all_by_interface):
19613         * gst/gstbin.h:
19614         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19615         (gst_element_change_state), (gst_element_dispose),
19616         (gst_element_finalize), (gst_element_set_loop_function):
19617         * gst/gstelement.h:
19618         * gst/gstiterator.c: (find_custom_fold_func):
19619         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19620         (gst_pad_collectv), (gst_pad_collect_valist),
19621         (gst_pad_template_new):
19622         * gst/gstpipeline.c: (gst_pipeline_class_init),
19623         (gst_pipeline_dispose), (gst_pipeline_set_property),
19624         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19625         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19626         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19627         * gst/gstutils.h:
19628         * gst/schedulers/entryscheduler.c:
19629         * gst/schedulers/gstbasicscheduler.c:
19630         (gst_basic_scheduler_cothreaded_chain),
19631         (gst_basic_scheduler_chain_add_element):
19632         * testsuite/bins/interface.c: (main):
19633         Added GstBin test.
19634         Added GstSystemClock test.
19635         Implemented clock distribution code in GstBin.
19636         Implemented iterate sinks method for future use.
19637         Rearranged gstelement.h
19638         Fix GstIterator comparison bug.
19639         Moved some code to GstPipeline, mostly clocking related.
19640
19641 2005-03-09  Wim Taymans  <wim@fluendo.com>
19642
19643         * configure.ac:
19644         * gst/gst_private.h:
19645         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19646         (gst_bin_remove_func), (gst_bin_remove),
19647         (gst_bin_get_by_name_recurse_up):
19648         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19649         (gst_clock_id_compare_func), (gst_clock_id_wait),
19650         (gst_clock_id_wait_async), (gst_clock_init),
19651         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19652         * gst/gstelement.h:
19653         * gst/gstinfo.c: (_gst_debug_init):
19654         * gst/gstobject.h:
19655         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19656         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19657         * gst/gstpad.h:
19658         Bump version number, we're now 0.9.0
19659         Add future debugging category.
19660         Fix NULL _unref() in _get_by_name_recurse_up
19661         Rearrange gstpad.h.
19662         Update some docs.
19663
19664 2005-03-08  Wim Taymans  <wim@fluendo.com>
19665
19666         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19667         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19668         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19669         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19670         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19671         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19672         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19673         * gst/elements/gstidentity.c: (gst_identity_class_init):
19674         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19675         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19676         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19677         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19678         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19679         (gst_tee_link):
19680         * gst/gstelement.c: (gst_element_class_init),
19681         (gst_element_base_class_init), (gst_element_init),
19682         (gst_element_get_random_pad), (gst_element_wait_state_change),
19683         (gst_element_change_state), (gst_element_dispose),
19684         (gst_element_finalize), (gst_element_set_loop_function):
19685         * gst/gstelement.h:
19686         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19687         * gst/gstthread.c: (gst_thread_class_init),
19688         (gst_thread_release_children_locks), (gst_thread_change_state):
19689         * gst/schedulers/gstbasicscheduler.c:
19690         (gst_basic_scheduler_loopfunc_wrapper),
19691         (gst_basic_scheduler_chain_wrapper),
19692         (gst_basic_scheduler_src_wrapper),
19693         (gst_basic_scheduler_remove_element):
19694         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19695         Remove threadsafe properties. Fix elements because GObject
19696         complains when installing a property before declaring a
19697         set/get_property handler.
19698         Rearrange gstelement.h file, use STATE macros for state locks.
19699         Free mutexes in the finalize method instead of dispose.
19700
19701 2005-03-08  Wim Taymans  <wim@fluendo.com>
19702
19703         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19704         * gst/gstthread.c: (gst_thread_release_children_locks):
19705         Added parentage check.
19706         Fix build og GstThread again.
19707
19708 2005-03-08  Wim Taymans  <wim@fluendo.com>
19709
19710         * docs/design/part-MT-refcounting.txt:
19711         * docs/design/part-conventions.txt:
19712         * docs/design/part-gstobject.txt:
19713         * docs/design/part-relations.txt:
19714         * docs/design/part-standards.txt:
19715         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19716         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19717         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19718         (gst_bin_iterate_all_by_interface):
19719         * gst/gstbuffer.h:
19720         * gst/gstclock.h:
19721         * gst/gstelement.c: (gst_element_class_init),
19722         (gst_element_change_state), (gst_element_set_loop_function):
19723         * gst/gstelement.h:
19724         * gst/gstiterator.c:
19725         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19726         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19727         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19728         (gst_object_set_parent), (gst_object_unparent),
19729         (gst_object_check_uniqueness):
19730         * gst/gstobject.h:
19731         Docs updates, clean up some headers.
19732
19733 2005-03-07  Wim Taymans  <wim@fluendo.com>
19734
19735         * check/.cvsignore:
19736         * check/Makefile.am:
19737         * check/gst-libs/.cvsignore:
19738         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19739         * check/gst/.cvsignore:
19740         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19741         (START_TEST), (gstbus_suite), (main):
19742         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19743         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19744         (gst_data_suite), (main):
19745         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19746         (add_fold_func), (gstiterator_suite), (main):
19747         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19748         (thread_name_object), (thread_name_object_default),
19749         (gst_object_name_compare), (gst_object_suite), (main):
19750         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19751         (gst_pad_suite), (main):
19752         * check/gstcheck.c: (gst_check_log_message_func),
19753         (gst_check_log_critical_func), (gst_check_init):
19754         * check/gstcheck.h:
19755         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19756         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19757         Added checks.
19758
19759 2005-03-07  Wim Taymans  <wim@fluendo.com>
19760
19761         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19762         (gst_list_iterator_next), (gst_list_iterator_resync),
19763         (gst_list_iterator_free), (gst_iterator_new_list),
19764         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19765         (gst_iterator_free), (gst_iterator_push), (filter_next),
19766         (filter_resync), (filter_uninit), (filter_free),
19767         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19768         (gst_iterator_foreach), (find_custom_fold_func),
19769         (gst_iterator_find_custom):
19770         * gst/gstiterator.h:
19771         Added missing files.
19772
19773 2005-03-07  Wim Taymans  <wim@fluendo.com>
19774
19775         * Makefile.am:
19776         * configure.ac:
19777         * docs/design/part-MT-refcounting.txt:
19778         * docs/design/part-conventions.txt:
19779         * docs/design/part-gstobject.txt:
19780         * docs/design/part-relations.txt:
19781         * examples/mixer/mixer.c: (main):
19782         * examples/thread/thread.c: (eos), (main):
19783         * gst/Makefile.am:
19784         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19785         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19786         (gst_spider_plug_from_srcpad):
19787         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19788         (gst_spider_identity_change_state),
19789         (gst_spider_identity_sink_loop_type_finding):
19790         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19791         * gst/elements/gstidentity.c: (gst_identity_init):
19792         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19793         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19794         * gst/elements/gsttypefindelement.c: (free_entry):
19795         * gst/gst.c:
19796         * gst/gst.h:
19797         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19798         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19799         (gst_bin_set_index), (gst_bin_set_element_sched),
19800         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19801         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19802         (gst_bin_iterate_elements), (iterate_child_recurse),
19803         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19804         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19805         (compare_interface), (gst_bin_get_by_interface),
19806         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19807         * gst/gstbin.h:
19808         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19809         (gst_buffer_default_free), (gst_buffer_default_copy),
19810         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19811         (gst_buffer_create_sub):
19812         * gst/gstbuffer.h:
19813         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19814         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19815         (gst_caps_unref), (gst_static_caps_get),
19816         (gst_caps_remove_and_get_structure), (gst_caps_append),
19817         (gst_caps_append_structure), (gst_caps_remove_structure),
19818         (gst_caps_copy_nth), (gst_caps_set_simple),
19819         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19820         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19821         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19822         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19823         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19824         (gst_caps_structure_figure_out_union),
19825         (gst_caps_switch_structures), (gst_caps_do_simplify),
19826         (gst_caps_replace), (gst_caps_from_string),
19827         (gst_caps_copy_conditional):
19828         * gst/gstcaps.h:
19829         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19830         (_gst_clock_id_free), (gst_clock_id_unref),
19831         (gst_clock_id_compare_func), (gst_clock_id_wait),
19832         (gst_clock_id_wait_async), (gst_clock_class_init),
19833         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19834         (gst_clock_get_time), (gst_clock_set_time_adjust),
19835         (gst_clock_set_property), (gst_clock_get_property):
19836         * gst/gstclock.h:
19837         * gst/gstcompat.h:
19838         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19839         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19840         * gst/gstdata.h:
19841         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19842         (gst_element_requires_clock), (gst_element_provides_clock),
19843         (gst_element_set_clock), (gst_element_clock_wait),
19844         (gst_element_wait), (gst_element_set_time_delay),
19845         (gst_element_is_indexable), (gst_element_add_pad),
19846         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19847         (pad_compare_name), (gst_element_get_static_pad),
19848         (gst_element_request_pad), (gst_element_get_request_pad),
19849         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19850         (gst_element_class_get_pad_template_list),
19851         (gst_element_class_get_pad_template), (gst_element_error_func),
19852         (gst_element_get_random_pad), (gst_element_get_event_masks),
19853         (gst_element_send_event), (gst_element_seek),
19854         (gst_element_get_query_types), (gst_element_query),
19855         (gst_element_get_formats), (gst_element_convert),
19856         (gst_element_is_locked_state), (gst_element_set_locked_state),
19857         (gst_element_sync_state_with_parent), (gst_element_change_state),
19858         (gst_element_finalize), (gst_element_yield),
19859         (gst_element_interrupt), (gst_element_set_scheduler),
19860         (gst_element_get_scheduler), (gst_element_set_loop_function):
19861         * gst/gstelement.h:
19862         * gst/gstevent.h:
19863         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19864         (gst_format_get_by_nick), (gst_format_get_details),
19865         (gst_format_iterate_definitions):
19866         * gst/gstformat.h:
19867         * gst/gstindex.c: (gst_index_gtype_resolver):
19868         * gst/gstinfo.c:
19869         * gst/gstinfo.h:
19870         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19871         (gst_mem_chunk_free):
19872         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19873         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19874         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19875         (gst_object_dispatch_properties_changed),
19876         (gst_object_set_name_default), (gst_object_set_name),
19877         (gst_object_get_name), (gst_object_set_name_prefix),
19878         (gst_object_get_name_prefix), (gst_object_set_parent),
19879         (gst_object_get_parent), (gst_object_unparent),
19880         (gst_object_check_uniqueness), (gst_object_save_thyself),
19881         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19882         (gst_object_set_property), (gst_object_get_property),
19883         (gst_object_get_path_string):
19884         * gst/gstobject.h:
19885         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19886         (gst_real_pad_init), (gst_real_pad_get_property),
19887         (gst_pad_custom_new), (gst_pad_get_direction),
19888         (gst_pad_set_active), (gst_pad_is_active),
19889         (gst_pad_set_event_function), (gst_pad_is_linked),
19890         (gst_pad_link_free), (gst_pad_link_intersect),
19891         (gst_pad_link_fixate), (gst_pad_set_caps),
19892         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19893         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19894         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19895         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19896         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19897         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19898         (gst_pad_realize), (gst_pad_get_allowed_caps),
19899         (gst_real_pad_dispose), (gst_real_pad_finalize),
19900         (gst_pad_collectv), (gst_pad_collect_valist),
19901         (gst_pad_template_dispose), (gst_pad_template_new),
19902         (gst_pad_get_internal_links):
19903         * gst/gstpad.h:
19904         * gst/gstpipeline.c: (gst_pipeline_dispose),
19905         (gst_pipeline_change_state):
19906         * gst/gstpipeline.h:
19907         * gst/gstplugin.c:
19908         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19909         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19910         * gst/gstpluginfeature.h:
19911         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19912         * gst/gstquery.c: (_gst_query_type_initialize),
19913         (gst_query_type_register), (gst_query_type_get_by_nick),
19914         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19915         * gst/gstquery.h:
19916         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19917         * gst/gstscheduler.c: (gst_scheduler_add_element),
19918         (gst_scheduler_factory_create):
19919         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19920         (gst_structure_free), (gst_structure_set_name),
19921         (gst_structure_id_set_value), (gst_structure_set_value),
19922         (gst_structure_set_valist), (gst_structure_remove_field),
19923         (gst_structure_remove_fields),
19924         (gst_structure_remove_fields_valist),
19925         (gst_structure_remove_all_fields), (gst_structure_foreach),
19926         (gst_structure_map_in_place),
19927         (gst_caps_structure_fixate_field_nearest_int),
19928         (gst_caps_structure_fixate_field_nearest_double):
19929         * gst/gststructure.h:
19930         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19931         (gst_system_clock_init), (gst_system_clock_dispose),
19932         (gst_system_clock_async_thread),
19933         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19934         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19935         * gst/gstsystemclock.h:
19936         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19937         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19938         * gst/gsttaginterface.c:
19939         * gst/gstthread.c: (gst_thread_dispose),
19940         (gst_thread_release_children_locks), (gst_thread_change_state),
19941         (gst_thread_main_loop):
19942         * gst/gsttrashstack.h:
19943         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19944         * gst/gsttypes.h:
19945         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19946         (gst_element_request_pad), (gst_element_get_pad_from_template),
19947         (gst_element_request_compatible_pad),
19948         (gst_element_get_compatible_pad_filtered),
19949         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19950         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19951         (gst_element_link_many), (gst_element_link),
19952         (gst_element_link_pads), (gst_element_unlink_pads),
19953         (gst_element_unlink_many), (gst_element_unlink),
19954         (gst_pad_can_link_filtered), (gst_pad_can_link),
19955         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19956         (gst_object_default_error), (gst_bin_add_many),
19957         (gst_bin_remove_many), (gst_element_populate_std_props),
19958         (gst_element_class_install_std_props), (gst_buffer_merge),
19959         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19960         (link_fold_func), (gst_pad_proxy_setcaps):
19961         * gst/gstutils.h:
19962         * gst/gstvalue.c: (gst_value_deserialize_string):
19963         * gst/parse/grammar.y:
19964         * gst/schedulers/gstbasicscheduler.c:
19965         (gst_basic_scheduler_cothreaded_chain),
19966         (gst_basic_scheduler_chain_recursive_add),
19967         (gst_basic_scheduler_pad_link):
19968         * gst/schedulers/gstoptimalscheduler.c:
19969         (get_group_schedule_function),
19970         (gst_opt_scheduler_state_transition),
19971         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19972         * libs/gst/bytestream/bytestream.c:
19973         * libs/gst/dataprotocol/dataprotocol.c:
19974         (gst_dp_header_from_buffer):
19975         * po/nb.po:
19976         * po/ru.po:
19977         * tests/threadstate/threadstate2.c: (eos):
19978         * tools/gst-compprep.c: (main):
19979         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19980         (print_pad_info), (print_children_info):
19981         * tools/gst-launch.c: (idle_func), (main):
19982         * tools/gst-md5sum.c: (idle_func), (main):
19983         * tools/gst-xmlinspect.c: (print_element_info):
19984         First THREADED backport attempt, focusing on adding locks and
19985         making sure the API is threadsafe. Needs more work. More docs
19986         follow this week.
19987
19988 2005-02-24  Andy Wingo  <wingo@pobox.com>
19989
19990         * tests/bench-complexity.scm:
19991         * tests/complexity.gnuplot: New files, good for running complexity
19992         benchmarks.
19993
19994         * tests/Makefile.am:
19995         * tests/complexity.c: New test, sets up N elements, at each level
19996         teeing into M streams per element. Eeeenteresting.
19997
19998         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19999         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20000         running bench-mass_elements.scm.
20001
20002         * tests/bench-mass_elements.scm: New script, runs mass_elements
20003         for various numbers of identities, outputting the results to a
20004         file. Requires guile 1.6. Just for testing.
20005
20006 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20007
20008         * gst/schedulers/fairscheduler.c:
20009           compile with debug disabled
20010
20011 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
20012
20013         * configure.ac:
20014           hunting season on 0.9 is now OPEN