0fa2ef10e07826590eeeb75b87e60daa8120e9d1
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4         (gst_controller_set_from_list):
5           Don't g_return_val_if_fail() on timed values with invalid timestamps
6           inside a critical section without unlocking the mutex. Spotted by
7           René Stadler. (#357617)
8           Also, fix up refcounting properly: when returning an existing
9           controller, we should increase the reference only once and not
10           once per property and when trying to control a property again
11           we should also increase the refcount.
12
13 2006-09-29  Wim Taymans  <wim@fluendo.com>
14
15         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16         * libs/gst/net/gstnettimeprovider.c:
17         (gst_net_time_provider_thread):
18         Stop reading commands when EOF as well.
19
20         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
21         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
22         * plugins/elements/gstidentity.c: (gst_identity_class_init):
23         Unify description of the dump property.
24
25 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
26
27         * tests/examples/manual/.cvsignore:
28         OK, so it's actually cvsignore that needs changing. Stop laughing.
29
30 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
31
32         * tests/examples/manual/Makefile.am:
33         Gah, declare vars *before* using them
34
35 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
36
37         * gst/gst.c: (init_pre), (scan_and_update_registry),
38         (ensure_current_registry_nonforking),
39         (ensure_current_registry_forking), (ensure_current_registry),
40         (init_post), (gst_debug_help), (gst_deinit):
41         * gst/gst_private.h:
42         * gst/gstregistry.c: (gst_registry_finalize),
43         (gst_registry_remove_features_for_plugin_unlocked),
44         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
45         (gst_registry_scan_path),
46         (_priv_gst_registry_remove_cache_plugins),
47         (_priv_gst_registry_cleanup):
48         * gst/gstregistry.h:
49         Re-commit the registry changes, along with an extra fix:
50           When a cached plugin is encountered at a different file path,
51           update the stored path in the registry cache so that the parent
52           process knows where it actually is now when it re-reads the registry
53           cache. Fixes the thing that broke distcheck with the previous commit.
54
55         * tests/check/Makefile.am:
56         Clean up files named 'core' too when running make clean.
57
58         * tests/examples/manual/Makefile.am:
59         Set up a registry path for running these tests, and clean it properly
60         for distcheck.
61
62 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
63
64         * configure.ac:
65         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
66         want gmodule-no-export-2.0.pc instead so that we don't drag in
67         --export-dynamic on every project that links to GStreamer.
68
69         Also, make our export regex only match the start of symbols, rather 
70         than any symbol that contains '_gst' somewhere.
71
72         * libs/gst/check/Makefile.am:
73         The libgstcheck we build does however need export-dynamic, as it
74         produces some symbols that don't match our _gst... style regex.
75         Fixes: #318031
76
77 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
78
79         * gst/gst.c: (init_pre), (scan_and_update_registry),
80         (ensure_current_registry_nonforking),
81         (ensure_current_registry_forking), (ensure_current_registry),
82         (init_post), (gst_debug_help), (gst_deinit):
83         * gst/gst_private.h:
84         * gst/gstregistry.c: (gst_registry_finalize),
85         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
86         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
87         (_gst_registry_cleanup):
88         * gst/gstregistry.h:
89           Revert previous change until I figure out why it breaks distcheck.
90
91 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
92
93         * gst/gst.c: (init_pre), (scan_and_update_registry),
94         (ensure_current_registry_nonforking),
95         (ensure_current_registry_forking), (ensure_current_registry),
96         (init_post), (gst_debug_help), (gst_deinit):
97
98           Make init_pre and init_post take the full complement of GOptionFunc
99           args so they can return useful GErrors. Make the registry updating
100           functions do so.
101
102           Call _priv_gst_registry_remove_cache_plugins after scanning files to
103           ensure that the registry we're about to write out doesn't contain
104           stale information about old-deleted plugin files.
105
106           Make _priv_gst_registry_remove_cache_plugins return a boolean so
107           that deletion of plugin files is considered a registry change.
108
109         * gst/gst_private.h:
110         * gst/gstregistry.c: (gst_registry_finalize),
111         (gst_registry_remove_features_for_plugin_unlocked),
112         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
113         (gst_registry_scan_path),
114         (_priv_gst_registry_remove_cache_plugins),
115         (_priv_gst_registry_cleanup):
116         * gst/gstregistry.h:
117         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
118         by adding _priv prefix, so that they won't appear in the global
119         symbol table. They still do atm though because of #318031. Move the
120         prototypes to gst_private.h
121
122         When removing a plugin, remove all features for that plugin too. 
123         Fixes #340878.
124
125 2006-09-27  Wim Taymans  <wim@fluendo.com>
126
127         * docs/random/moving-plugins:
128         Make it clear that the "compiled-in descriptions" really mean
129         the element details.
130
131         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
132         (gst_base_sink_wait_preroll):
133         Update docs.
134
135         * docs/libs/gstreamer-libs-sections.txt:
136         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
137         (gst_base_src_get_range), (gst_base_src_activate_push):
138         * libs/gst/base/gstbasesrc.h:
139         Added function to block while waiting for PLAYING, this function
140         is used by live sources that block on the clock.
141         API: gst_base_src_wait_playing()
142
143 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
144
145         Patch by: Peter Kjellerstedt <pkj at axis com>
146
147         * Makefile.am:
148           gst-element-check.m4 is generated and should therefore be
149           copied from the build dir rather than the source dir (#357593).
150           'make distcheck' hasn't noticed this because we were disting
151           the file as well, so stop doing that.
152
153 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
154
155         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
156           Add some tests for gst_caps_intersect().
157
158         * tools/gst-launch.c: (event_loop):
159           Print all buffering percentages we get, even the 100% one.
160
161 2006-09-26  Wim Taymans  <wim@fluendo.com>
162
163         * tools/gst-inspect.c: (print_element_properties_info),
164         (print_signal_info):
165         Fix printing of flags to match the look of enums.
166
167 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
168
169         * gst/gstelementfactory.c:
170           Fix typo in docs blurb.
171
172 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
173
174         * gst/gsturi.c: (search_by_entry):
175           Don't assert/crash here if a uri handler doesn't return any
176           supported protocols. The list of protocols could be generated
177           dynamically at runtime or at plugin registration, and an error
178           in the underlying library shouldn't be fatal (#353301).
179
180 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
181
182         * gst/gstinfo.c:
183           Fix warning if HAVE_PRINTF_EXTENSION is undefined
184           (spotted by Peter Kjellerstedt).
185
186 2006-09-23  Wim Taymans  <wim@fluendo.com>
187
188         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
189
190         * libs/gst/base/gstbasesrc.c:
191         (gst_base_src_default_check_get_range), (gst_base_src_start),
192         (gst_base_src_activate_push), (gst_base_src_activate_pull),
193         (gst_base_src_change_state):
194         Match _start/_stop calls in the activate functions. Remove redundant
195         _stop call from the state change function. Fixes #356910.
196         Turn failure DEBUG into ERROR. 
197
198 2006-09-22  Wim Taymans  <wim@fluendo.com>
199
200         * docs/design/part-buffering.txt:
201         * gst/gstmessage.c: (gst_message_new_buffering),
202         (gst_message_parse_buffering):
203         Update docs about buffering.
204
205         * docs/design/part-trickmodes.txt:
206         Fix typo.
207
208 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
209
210         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
211         (gst_controller_new_list):
212           Ref instances when returning them again (fixes #357180)
213
214 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
215
216         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
217           Don't forget to release proxy lock when there's an error.
218
219 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
220
221         * gst/gstcaps.h:
222           Add extra initialisers for Caps things, to fix some plugin warnings
223           when using -Wextra
224
225 2006-09-18  Wim Taymans  <wim@fluendo.com>
226
227         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
228           Also set template on the internal pad so that a getcaps from the 
229           target pad returns the template caps.
230
231 2006-09-18  Wim Taymans  <wim@fluendo.com>
232
233         * gst/gstelement.c: (gst_element_post_message),
234         (gst_element_dispose):
235         Use _DEBUG_OBJECT some more.
236
237         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
238         Avoid typechecks.
239
240         * tools/gst-launch.c: (main):
241         If the toplevel element is not a GstPipeline, it must be put in a
242         pipeline so that a bus and clock is selected.
243
244 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
245
246         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
247           JITTER, RATE, and LATENCY query should be handled by the
248           default case and not by the CONVERT query code.
249
250 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
251
252         * gst/gstformat.c: (gst_format_register):
253           Fix locking order (must take lock before using n_values).
254
255         * gst/gstvalue.c: (gst_value_serialize_enum),
256         (gst_value_deserialize_enum_iter_cmp),
257         (gst_value_deserialize_enum):
258           Fix serialisation/deserialisation of custom registered GstFormats.
259
260         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
261           Unit test for custom format serialisation/deserialisation.
262
263 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
264
265         * docs/pwg/building-boiler.xml:
266         * plugins/elements/gstcapsfilter.c:
267         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
268         section.
269
270 2006-09-16  Edward Hervey  <edward@fluendo.com>
271
272         * libs/gst/base/gstbasetransform.c:
273         (gst_base_transform_buffer_alloc):
274         Check if requested caps are the same as the sinks caps IF
275         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
276         is FALSE.
277         This fixes the renegotiation issues stated in #352827.
278
279 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
280
281         * configure.ac:
282         * docs/manual/advanced-autoplugging.xml:
283         * tests/examples/Makefile.am:
284         * tests/examples/manual/.cvsignore:
285         * tests/examples/manual/Makefile.am:
286         * tests/examples/manual/extract.pl:
287           Extract the manual examples again like we used to do.
288           Fix one of them.
289
290 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
291
292         * win32/common/config.h:
293           update for version
294
295 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
296
297         * gst/gsterror.c:
298           Documents how to receive errors.
299
300 2006-09-15  Wim Taymans  <wim@fluendo.com>
301
302         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
303         (event_loop), (main):
304         Added some comments here and there.
305         Post an application message when an interrupt is caught instead of doing
306         an uncontrolled state change.
307         Clean up the event loop.
308         Handle buffering messages, pause/resume the pipeline.
309         Make shutdown because of an interrupt more reliable.
310
311 2006-09-15  Wim Taymans  <wim@fluendo.com>
312
313         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
314         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
315         (gst_base_sink_preroll_object):
316         Make sure that our internal state is correct when we commit our state
317         asynchronously. This solves a race where a state change to PLAYING
318         could cause the sink to remain blocked in preroll in some situations.
319
320 2006-09-15  Wim Taymans  <wim@fluendo.com>
321
322         * tools/gst-inspect.c: (print_element_properties_info),
323         (print_signal_info):
324         List flags as hex so it's easier to deal with.
325
326 2006-09-15  Wim Taymans  <wim@fluendo.com>
327
328         * docs/libs/gstreamer-libs-sections.txt:
329         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
330         (gst_base_sink_do_sync):
331         * libs/gst/base/gstbasesink.h:
332         Expose logic to wait for preroll so that subclasses such as audiosink
333         can also use this method.
334         API: gst_base_sink_wait_preroll()
335
336 2006-09-15  Wim Taymans  <wim@fluendo.com>
337
338         * gst/gstobject.c: (gst_object_set_parent):
339         * gst/gstpipeline.c: (do_pipeline_seek):
340         Small cleanups in docs and code.
341
342         * gst/gstsegment.c: (gst_segment_clip):
343         * tests/check/gst/gstsegment.c: (GST_START_TEST):
344         if stop == start and start is in the segment, no clipping should be
345         done. Also add a test for this.
346
347 2006-09-15  Wim Taymans  <wim@fluendo.com>
348
349         * docs/design/part-buffering.txt:
350         * docs/gst/gstreamer-sections.txt:
351         * gst/gstmessage.c: (gst_message_new_buffering),
352         (gst_message_parse_buffering):
353         * gst/gstmessage.h:
354         Added methods to create and parse BUFFERING messages.
355         Added preliminary docs about buffering.
356         API: gst_message_new_buffering
357         API: gst_message_parse_buffering
358
359 2006-09-06  Wim Taymans  <wim@fluendo.com>
360
361         * gst/gstbin.c:
362         Update documentation.
363
364         * gst/gstelement.c: (gst_element_class_init),
365         (gst_element_release_request_pad), (gst_element_set_clock),
366         (gst_element_get_index), (gst_element_add_pad),
367         (gst_element_remove_pad), (gst_element_get_random_pad),
368         (gst_element_send_event), (gst_element_get_query_types),
369         (gst_element_query), (gst_element_post_message),
370         (gst_element_message_full), (gst_element_continue_state),
371         (gst_element_lost_state), (gst_element_save_thyself),
372         (gst_element_restore_thyself):
373         Documentation updates.
374         Rename last bit of the new-pad -> pad-added signal rename.
375         Fix the case where an element query would only work if the source
376         pad was linked.
377         Avoid some useless type checking in message handling.
378
379         * gst/gstevent.c:
380         * gst/gstevent.h:
381         * gst/gstutils.c:
382         Documentation updates.
383
384 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
385
386         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
387           add an INFO line for when we actually update the fd
388
389 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
390
391         * configure.ac:
392           back to TRUNK
393
394 === release 0.10.10 ===
395
396 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
397
398         * configure.ac:
399           releasing 0.10.10, "Pais"
400
401 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
402
403         * docs/manual/advanced-position.xml:
404           Fix typo in sample code.
405
406 2006-09-05  Wim Taymans  <wim@fluendo.com>
407
408         * libs/gst/net/gstnetclientclock.c: (inet_aton),
409         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
410         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
411         * libs/gst/net/gstnetclientclock.h:
412         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
413         * libs/gst/net/gstnettimepacket.h:
414         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
415         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
416         (gst_net_time_provider_thread), (gst_net_time_provider_new):
417         * libs/gst/net/gstnettimeprovider.h:
418         Make stuff compile on windows. Fixes #345295.
419
420 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
421
422         * gst/gst.c: (ensure_current_registry_forking):
423           Print better details when child was terminated by signal.
424
425 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
426
427         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
428           Print a warning rather than g_assert() if a plugin feature
429           is a URI handler but returns no protocols (#353976).
430
431 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
432
433         * docs/random/moving-plugins:
434         Fix two typos.         
435
436 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
437
438         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
439           Fix locking order, handle NULL function values properly.
440
441         * gst/gstinfo.h:
442           Fix docs.
443
444         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
445           Initialise variable before using it and fix debug statement to
446           print the address of the function rather than the address of the
447           variable on the stack holding the address of the function.
448
449 2006-09-01  Wim Taymans  <wim@fluendo.com>
450
451         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
452         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
453         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
454         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
455         (gst_ghost_pad_parent_unset),
456         (gst_ghost_pad_internal_do_activate_push),
457         (gst_ghost_pad_internal_do_activate_pull),
458         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
459         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
460         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
461         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
462         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
463         (gst_ghost_pad_new_no_target_from_template),
464         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
465         More cleanups.
466         Avoid needless typechecking in macros.
467         Since the internal pad is always present and never changes, there is
468         no need to locking or ref when retrieving it.
469         Improve debugging a bit.
470         Handle link errors when setting the target. Fixes #341029.
471
472 2006-09-01  Wim Taymans  <wim@fluendo.com>
473
474         * docs/libs/gstreamer-libs-sections.txt:
475         * docs/plugins/gstreamer-plugins-sections.txt:
476         Fix docs some more.
477
478         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
479         (gst_collect_pads_event):
480         * libs/gst/base/gstcollectpads.h:
481         Documentation updates.
482         Free queued buffer when removing a pad.
483
484 2006-08-31  Michael Smith  <msmith@fluendo.com>
485
486         * gst/gstutils.c: (gst_element_link_pads),
487         (gst_element_link_pads_filtered):
488           Ensure that we set a capsfilter to NULL if we failed to link it
489           when doing filtered linking, to avoid criticals.
490
491           No need to check for unreffing srcpad, which is explicly NULLed
492           above (a trivial code cleanup).
493
494 2006-08-31  Wim Taymans  <wim@fluendo.com>
495
496         * docs/design/part-gstghostpad.txt:
497         Update ascii art in documentation.
498
499         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
500         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
501         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
502         (gst_ghost_pad_internal_do_activate_push),
503         (gst_ghost_pad_internal_do_activate_pull),
504         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
505         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
506         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
507         (gst_ghost_pad_set_target):
508         Small cleanups and leak fixes.
509         Remove some checks now that the internal pad is never NULL.
510         Fix the case where linking pads without a target would create nasty
511         criticals. Fixes #341029.
512         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
513         value of _set_target().
514
515         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
516         (gst_ghost_pad_suite):
517         Some more tests for creating and linking untargeted ghostpads.
518
519 2006-08-31  Edward Hervey  <edward@fluendo.com>
520
521         * docs/gst/gstreamer-sections.txt:
522         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
523         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
524         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
525         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
526         (gst_ghost_pad_new_from_template),
527         (gst_ghost_pad_new_no_target_from_template):
528         * gst/gstghostpad.h:
529         Refactored *_new() functions.
530         Templates are now used as a g_object_new() parameter.
531         Use template in _do_getcaps() if we don't have a target.
532         Small documentation cleanups.
533         Added two new constructors:
534         gst_ghost_pad_new_from_template()
535         gst_ghost_pad_new_no_target_from_template()
536         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
537         (gst_ghost_pad_suite):
538         Added tests for new ghostpad instanciation functions.
539
540         API additions: gst_ghost_pad_new_from_template,
541         gst_ghost_pad_new_no_target_from_template
542
543 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
544
545         * docs/random/ensonic/profiling.txt:
546           Ideas about qos profiling.
547
548 2006-08-29  Wim Taymans  <wim@fluendo.com>
549
550         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
551         Code cleanups.
552         Fix memleak.
553
554 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
555
556         * gst/gstxml.c:
557           Improve and detypofy docs.
558
559         * tests/check/Makefile.am:
560         * tests/check/gst/.cvsignore:
561         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
562           Add a basic test suite for GstXML.
563
564 2006-08-29  Wim Taymans  <wim@fluendo.com>
565
566         * gst/gstelement.c: (activate_pads), (clear_caps),
567         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
568         Clear the pad caps when the element shut down all of the pads and
569         is not streaming data that could modify the caps. 
570         Fixes #352958.
571
572 2006-08-28  Michael Smith  <msmith@fluendo.com>
573
574         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
575           Revert previous change; I misunderstood single-segment mode.
576
577 2006-08-28  Michael Smith  <msmith@fluendo.com>
578
579         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
580           Unset DISCONT on buffers when using single-segment mode.
581
582 2006-08-28  Wim Taymans  <wim@fluendo.com>
583
584         * gst/gstcaps.c: (gst_caps_merge_structure):
585         * gst/gstcaps.h:
586         Fix docs and indentation again.
587
588         * tests/check/gst/gstquery.c: (GST_START_TEST):
589         Fix leak in tests and add some more tests.
590
591 2006-08-28  Edward Hervey  <edward@fluendo.com>
592
593         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
594         Inform GstSegment of the last stop position in order for the current
595         segment to have a proper duration if it doesn't have a specific stop
596         position from which a duration could be calculated.
597         This bug was noticeable when a non-flushing, non-update new segment was
598         followed by another segment (all buffers from the new segment were being
599         dropped).
600
601 2006-08-28  Wim Taymans  <wim@fluendo.com>
602
603         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
604         Small comment update.
605
606         * plugins/elements/gstidentity.c: (gst_identity_class_init),
607         (gst_identity_transform_ip):
608         Drop-probability is broken, mention this in the code with a 
609         FIXME and also in the property description.
610         Make silent also be silent about the drop messages.
611
612 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
613
614         * docs/manual/appendix-win32.xml:
615           Remove mention of popt, we don't depend on that any
616           longer (#353136). Add some comments pointing out that
617           this section is slightly outdated.
618
619 2006-08-28  Wim Taymans  <wim@fluendo.com>
620
621         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
622
623         * gst/gstquery.c: (gst_query_new_segment):
624         * tests/check/gst/gstquery.c: (GST_START_TEST):
625         Initialize variables when creating a new segment query.
626         Fixes #353121.
627
628 2006-08-28  Wim Taymans  <wim@fluendo.com>
629
630         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
631
632         * gst/gstelement.c: (gst_element_get_bus):
633         * tests/check/gst/gstelement.c: (GST_START_TEST):
634         Check for NULL before _reffing the bus. Fixes #353122.
635
636 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
637
638         * docs/manual/basics-bus.xml:
639           Docs update: fix wrong callback return value explanation; add
640           some lines about the implicit relationship between main loop
641           and main context; remove duplicate main loop variable declaration.
642
643 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
644
645         * tests/check/gst/gstcaps.c: (GST_START_TEST):
646           Don't leak caps in unit test; add a few more simple
647           checks. 
648
649 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
650
651         * docs/gst/gstreamer-sections.txt:
652         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
653         (gst_caps_structure_is_subset), (gst_caps_merge),
654         (gst_caps_merge_structure):
655         * gst/gstcaps.h:
656         * libs/gst/base/gstbasetransform.c:
657         (gst_base_transform_transform_caps):
658         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
659           implement caps merging (fixes #352580)
660
661 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
662
663         * tools/Makefile.am:
664         * tools/gst-plot-timeline.py:
665           add debug-log plotting developer tool (#340674)
666
667 2006-08-23  Wim Taymans  <wim@fluendo.com>
668
669         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
670         (gst_pad_stop_task):
671         Improve debugging for task functions.
672
673         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
674         (gst_task_start), (gst_task_pause), (gst_task_join):
675         Make sure that the task function started and finished after a 
676         join(). 
677         Don't try to push the task function on the threadpool multiple
678         times.
679         Improve the g_warning message with some useful suggestions
680         about how to fix the problem. 
681
682 2006-08-23  Wim Taymans  <wim@fluendo.com>
683
684         * gst/gstutils.c: (gst_pad_proxy_getcaps):
685         Handle RESYNC correctly in _proxy_getcaps.
686
687 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
688
689         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
690         (gst_xml_parse_memory), (gst_xml_get_element):
691           Chain up to parent class in dispose function and also
692           unref the elements in the toplevel_elements GList.
693           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
694           Always return a reference in gst_xml_get_element() rather
695           than only sometimes.
696
697         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
698           Don't leak GstXml object.
699
700 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
701
702         * docs/gst/gstreamer-sections.txt:
703         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
704         (gst_caps_merge):
705         * gst/gstcaps.h:
706         * libs/gst/base/gstbasetransform.c:
707         (gst_base_transform_transform_caps):
708           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
709           in a better way
710
711 2006-08-21  Edward Hervey  <edward@fluendo.com>
712
713         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
714         Implement GObject::dispose virtual method in GstXML so we can free the
715         top_elements GList.
716
717 2006-08-21  Wim Taymans  <wim@fluendo.com>
718
719         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
720         (gst_buffer_create_sub):
721         Copy duration/offset_end/caps when creating a subbuffer of the
722         complete parent.
723         Make the subbuffer read-only when we make the metadata writable for
724         now. Fixes #351768.
725
726         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
727         Added check for metadata copy when creating subbuffers.
728
729 2006-08-21  Edward Hervey  <edward@fluendo.com>
730
731         * libs/gst/base/gstbasetransform.c:
732         (gst_base_transform_buffer_alloc):
733         Only call downstream buffer_alloc if transform element is passthrough
734         or always_in_place. Closes #350449.
735
736 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
737
738         * ChangeLog:
739           ChangeLog surgery to add comments to previous changes
740
741 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
742
743         * gst/gst.c:
744           Add comments
745
746         * gst/gstpad.c: (gst_pad_set_active):
747           Be more verbose in the log
748
749         * libs/gst/base/gstbasetransform.c:
750         (gst_base_transform_transform_caps):
751           Simplify caps to get rid of duplicates, fixes #345444
752
753 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
754
755         * gst/gstvalue.c:
756         * gst/gstvalue.h:
757           Use these optimizations only internally.
758
759 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
760
761         * gst/gstvalue.c: (gst_value_compare_list),
762         (gst_value_compare_fraction_range),
763         (gst_value_intersect_fraction_fraction_range),
764         (gst_value_intersect_fraction_range_fraction_range),
765         (gst_value_subtract_fraction_fraction_range),
766         (gst_value_subtract_fraction_range_fraction_range),
767         (gst_value_get_compare_func), (gst_value_compare),
768         (gst_value_compare_with_func):
769         * gst/gstvalue.h:
770           Saves the expensive lookup of the compare function in many cases
771          (#345444)
772
773 2006-08-18  Edward Hervey  <edward@fluendo.com>
774
775         * tests/check/gst/gstinfo.c: (gst_info_suite):
776         Disable test that require gstdebug if it wasn't built in core.
777
778 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
779
780         * docs/random/ensonic/logging.txt:
781           update ideas
782           
783         * gst/gstinfo.c: (gst_debug_log_default):
784           reorder fields, save some columns, add optional color codes for log
785           levels
786
787 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
788
789         * docs/random/ensonic/logging.txt:
790           add ideas about making the logs a bit more useful
791
792 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
793
794         * docs/pwg/advanced-events.xml:
795         * docs/pwg/titlepage.xml:
796           Update for 0.10 API (#340627). Add myself
797           to authors list.
798
799 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
800
801         * docs/libs/gstreamer-libs-docs.sgml:
802         * docs/libs/gstreamer-libs-sections.txt:
803         * libs/gst/check/gstbufferstraw.c:
804           Make gstcheck stuff show up in docs (still needs to
805           be documented properly though).
806
807 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
808
809         * docs/gst/gstreamer-sections.txt:
810         * gst/Makefile.am:
811         * gst/gst.c: (init_post):
812         * gst/gst_private.h:
813         * gst/gstquark.c: (_priv_gst_quarks_initialize):
814         * gst/gstquark.h:
815         * gst/gstquery.c: (gst_query_new_position),
816         (gst_query_set_position), (gst_query_parse_position),
817         (gst_query_new_duration), (gst_query_set_duration),
818         (gst_query_parse_duration), (gst_query_new_convert),
819         (gst_query_set_convert), (gst_query_parse_convert),
820         (gst_query_new_segment), (gst_query_set_segment),
821         (gst_query_parse_segment), (gst_query_new_seeking),
822         (gst_query_set_seeking), (gst_query_parse_seeking):
823         Add internal helpers for pre-registering quarks from static strings
824         and using the quark values directly instead of looking them up when
825         creating and parsing queries. Can be used for event construction too.
826         Closes #350432.
827
828 2006-08-16  Wim Taymans  <wim@fluendo.com>
829
830         * gst/gstbin.c:
831         Fix bogus docs.
832
833 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
834
835         * gst/gstutils.c: (gst_util_set_value_from_string):
836           Fix memleak (#351502).
837
838         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
839           Add unit test for most of gst_util_set_value_from_string()
840           (not that one would want to encourage use of this function).
841
842 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
843
844         * libs/gst/check/gstcheck.h:
845           Use const gchar * variables in fail_unless_equals_string
846           macro to avoid compiler warnings (and don't use tabs for
847           indenting).
848
849 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
850
851         * tools/gst-launch.c: (print_tag):
852           More space on the left for the tag names, to cater
853           for the 'extended comment' tag (not touching the
854           string for the first line since it's translated).
855
856 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
857
858         * libs/gst/check/gstcheck.h:
859           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
860           print something when they fail.
861
862 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
863
864         * docs/gst/gstreamer-sections.txt:
865         * gst/gsttaglist.c: (_gst_tag_initialize):
866         * gst/gsttaglist.h:
867           API: add GST_TAG_EXTENDED_COMMENT (#350935).
868           Also change merge function for GST_TAG_COMMENT to
869           use_first.
870
871 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
872
873         * gst/gstinfo.c: (gst_debug_print_object):
874           Make GST_PTR_FORMAT print messages as well.
875
876         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
877         (GST_START_TEST), (gst_info_suite):
878           More tests.
879
880 2006-08-14  Edward Hervey  <edward@fluendo.com>
881
882         * gst/gstelementfactory.c: (gst_element_register):
883         If the GstElementClass doesn't have a GstElementDetails with all fields
884         filled up correctly (longname, description AND author), then error out
885         nicely instead of crashing.
886
887 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
888
889         * gst/gststructure.c:
890           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
891
892         * gst/gstvalue.h:
893           Expand on the difference between arrays and lists as we use them.
894           
895 2006-08-14  Wim Taymans  <wim@fluendo.com>
896
897         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
898         If the parent state change function failed, don't assume we can safely
899         stop the source, this will be done when the pads are deactivated.
900
901 2006-08-14  Wim Taymans  <wim@fluendo.com>
902
903         * gst/gstbuffer.c:
904         * gst/gsttask.c: (gst_task_join):
905         Small doc updates.
906
907         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
908         (gst_pad_stop_task):
909         When pad (de)activation failed for some reason, restore the old
910         activation mode and set the pad to flushing instead of assuming the
911         pad is deactivated.
912         If the _task_join() failed, reinstall the task on the pad so that it can
913         be stopped later and return an error.
914
915 2006-08-11  Andy Wingo  <wingo@pobox.com>
916
917         * configure.ac:
918         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
919         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
920         is only for users of API that don't want to see deprecated
921         functions in the headers; people that want to compile out
922         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
923         CFLAGS. Fixes the build of multifdsink, or will soon..
924
925 2006-08-11  Wim Taymans  <wim@fluendo.com>
926
927         * docs/gst/gstreamer-sections.txt:
928         Add GstClockClass vmethod docs.
929
930         * gst/gstcaps.h:
931         Mark #endif with comment for associated #if
932
933         * gst/gstclock.c: (gst_clock_id_wait):
934         * gst/gstclock.h:
935         Add vmethod wait_jitter to avoid an unneeded _get_time() for
936         most clock implementations.
937         Document vmethods.
938         Flesh out docs about resolution methods.
939         API: GstClockClass::wait_jitter
940
941         * gst/gstsystemclock.c: (gst_system_clock_class_init),
942         (gst_system_clock_async_thread),
943         (gst_system_clock_id_wait_jitter_unlocked),
944         (gst_system_clock_id_wait_jitter):
945         Use base class wait_jitter variant for improved performance
946         due to less clock polling.
947
948 2006-08-11  Edward Hervey  <edward@fluendo.com>
949
950         * gst/gst.c: (gst_init_check), (init_post):
951         Set gst as being initialized before scanning/updating the registry,
952         since there might be my python plugin loader that calls gst_init() and
953         we don't want to loop back in.
954         Closes #350879
955
956 2006-08-11  Wim Taymans  <wim@fluendo.com>
957
958         * docs/design/part-qos.txt:
959         Bring docs in line with the code. Mostly the sign of the jitter was
960         wrong in the docs. Fixes #349943.
961
962         * gst/gstclock.c:
963         Fix the docs for the jitter.
964
965         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
966         (gst_event_parse_tag), (gst_event_new_buffer_size),
967         (gst_event_parse_buffer_size), (gst_event_parse_qos),
968         (gst_event_new_seek), (gst_event_parse_seek),
969         (gst_event_new_navigation):
970         Make sure the GstStructure has no parent when creating custom
971         events.
972         Add some more argument checking so that we avoid 0.0 rates.
973         Flesh out the docs for the QoS event some more.
974
975 2006-08-11  Wim Taymans  <wim@fluendo.com>
976
977         * docs/gst/gstreamer-sections.txt:
978         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
979         (ensure_current_registry_forking), (ensure_current_registry),
980         (parse_one_option), (parse_goption_arg), (gst_deinit),
981         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
982         * gst/gst.h:
983         Doc updates.
984         Added API and command line option to disable registry forking in
985         addition to the environment variable.
986         Constify some static arrays.
987         Added some more debug.
988         Don't deinit twice.
989         API: gst_registry_fork_is_enabled()
990         API: gst_registry_fork_set_enabled()
991         API: --gst-disable-registry-fork command line option
992         Fixes #348918.
993
994 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
995
996         * gst/gst.c: (gst_init):
997           Fix typo in error message.
998
999 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1000
1001         * libs/gst/controller/gstcontroller.h:
1002           fix ABI size-correction
1003
1004         * tests/check/libs/gdp.c: (gst_dp_suite):
1005           make tests that use deprecated API conditional
1006
1007 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
1008
1009         * docs/libs/gstreamer-libs-sections.txt:
1010         * libs/gst/controller/gstcontroller.c:
1011         (_gst_controller_get_property), (_gst_controller_set_property),
1012         (_gst_controller_init), (_gst_controller_class_init):
1013         * libs/gst/controller/gstcontroller.h:
1014         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1015         (gst_object_set_control_rate):
1016           API: add gst_object_{s,g}et_control_rate(), add private data section,
1017           fix docs
1018
1019         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1020         * libs/gst/dataprotocol/dataprotocol.h:
1021           add deprecation guards to make gtk-doc happy and allow disabling cruft
1022
1023 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
1024
1025         * tests/check/Makefile.am:
1026         * tests/check/gst/.cvsignore:
1027           Let's enable the new unit test as well.
1028
1029 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
1030
1031         * configure.ac:
1032         * docs/gst/gstreamer-sections.txt:
1033         * gst/gstconfig.h.in:
1034         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1035         (_gst_info_printf_extension_ptr),
1036         (_gst_info_printf_extension_segment):
1037           API: add GST_SEGMENT_FORMAT, which is a printf extension we
1038           register that lets us easily dump GstSegments into debug
1039           logs (#350419).
1040
1041         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1042         (info_segment_format_printf_extension), (gst_info_suite):
1043           Add simple unit test that logs a bunch of different segments (not
1044           valgrinded at the moment because of leaks in
1045           gst_debug_add_log_function).
1046
1047 2006-08-09  Edward Hervey  <edward@fluendo.com>
1048
1049         * libs/gst/base/gstbasetransform.c:
1050         (gst_base_transform_buffer_alloc):
1051         Even if we can't figure out the proper format to request downstream,
1052         call buffer_alloc() downstream with the input parameters without setting
1053         the caps on the srcpad. This will force negotiation in the chain
1054         function.
1055         Closes #350449
1056
1057 2006-08-08  Edward Hervey  <edward@fluendo.com>
1058
1059         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1060         Unlinking from a pad without a target is now a perfectly valid case
1061         which should NOT raise an assertion.
1062         This case would happen if a linked ghostpad its target set to NULL after
1063         it was previously linked.
1064
1065 2006-08-08  Edward Hervey  <edward@fluendo.com>
1066
1067         * tests/check/libs/gdp.c:
1068         Also comment out the test (see below).
1069
1070 2006-08-08  Edward Hervey  <edward@fluendo.com>
1071
1072         * tests/check/libs/gdp.c: (gst_dp_suite):
1073         Use the architecture information from config.h and not gcc macros
1074         in order to properly disable a test that fails on PPC64.
1075
1076 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
1077
1078         * gst/gstelement.c: (gst_element_remove_pad):
1079           Don't crash printing the warning if the pad has no parent.
1080
1081 2006-08-02  Wim Taymans  <wim@fluendo.com>
1082
1083         * libs/gst/dataprotocol/dataprotocol.c:
1084         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1085         (gst_dp_crc), (gst_dp_header_payload_length),
1086         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1087         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1088         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1089         (gst_dp_event_from_packet), (gst_dp_validate_header),
1090         (gst_dp_validate_payload):
1091         Make debug category static
1092         Constify the crc table.
1093         Do some more arg checking in public functions.
1094         Fix some docs and do some small cleanups.
1095
1096         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1097         Add some more checks to see if GDP deals with bogus input.
1098
1099 2006-07-31  Wim Taymans  <wim@fluendo.com>
1100
1101         * gst/gstvalue.c: (gst_value_compare_list):
1102         Fix GstValueList comparison code. Fixes #347293.
1103
1104         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1105         Check to test GstValueList comparison.
1106
1107 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1108
1109         * gst/gstelementfactory.c: (gst_element_factory_create):
1110         Remove unnecessary ref/unref pair
1111
1112         * gst/parse/grammar.y:
1113         Make sure to free the parse buffer on all code paths.
1114         Move a g_free up to the error handler where it's easier to see.
1115
1116         * tests/check/gst/gstevent.c: (test_event):
1117         Extending timeout for downstream travelling events to 10 seconds to
1118         hopefully avoid intermittent failure on the buildbots.
1119
1120         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1121         Don't manually set the state of the src element - it will happen as a
1122         natural consequence of the pipeline changing state, and that way it
1123         will do it in the right order too.
1124
1125 2006-07-31  Wim Taymans  <wim@fluendo.com>
1126
1127         * libs/gst/base/gstbasetransform.c:
1128         (gst_base_transform_buffer_alloc):
1129         Use OBJECT_LOCK and refcounting to get the pad caps in the
1130         buffer_alloc function because the caps could change while we are
1131         busy with them. Fixes #349105
1132
1133 2006-07-31  Wim Taymans  <wim@fluendo.com>
1134
1135         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1136         Protect _PAD_CAPS with OBJECT_LOCK.
1137
1138 2006-07-31  Wim Taymans  <wim@fluendo.com>
1139
1140         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1141         (gst_pad_get_property), (gst_pad_activate_pull),
1142         (gst_pad_activate_push), (gst_pad_set_blocked_async),
1143         (gst_pad_set_activate_function),
1144         (gst_pad_set_activatepull_function),
1145         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1146         (gst_pad_set_getrange_function),
1147         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1148         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1149         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1150         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1151         (gst_pad_set_acceptcaps_function),
1152         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1153         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1154         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1155         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1156         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1157         (gst_pad_configure_sink), (gst_pad_configure_src),
1158         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1159         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1160         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1161         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1162         (gst_pad_send_event):
1163         Use _DEBUG_OBJECT when it makes sense.
1164         Protect GST_PAD_CAPS with the OBJECT_LOCK.
1165         Small cleanups and code reflows.
1166         Avoid caps refcounting in _accept_caps.
1167         Refactor alloc_buffer so that the code performed on the peer is in a
1168         separate function. Also if the pad does not implement a buffer alloc
1169         function, we should still check if the pad is flushing before falling
1170         back to the default allocator.
1171
1172 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
1173
1174         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1175         Make all uses of identity and fakesink have silent=true to avoid
1176         serialising every passing data structure, which is breaking tests
1177         on FC4 for some unknown reason.
1178
1179 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1180
1181         * gst/parse/Makefile.am:
1182         * gst/parse/grammar.y:
1183         * gst/parse/parse.l:
1184           Reverted previous patch as it required to bump the flex dependency to
1185           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1186
1187 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
1188
1189         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1190
1191         * gst/parse/Makefile.am:
1192         * gst/parse/grammar.y:
1193         * gst/parse/parse.l:
1194           push & pop the state of the lexer for reentrant use case
1195           Fixes #349180
1196
1197 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
1198
1199         * libs/gst/base/gstbasesrc.h:
1200           Note in the docs that the ::newsegment vfunc is not actually used by
1201           GstBaseSrc.
1202
1203 2006-07-28  Wim Taymans  <wim@fluendo.com>
1204
1205         * libs/gst/base/gstcollectpads.c:
1206         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1207         (gst_collect_pads_clear), (gst_collect_pads_flush),
1208         (gst_collect_pads_event), (gst_collect_pads_chain):
1209         When flushing a pad, also clear the queued buffer so that we don't
1210         accidentally use it when we shouldn't.
1211         Fix leaks by inreffing incomming buffer.
1212         Flush out queued buffers in case of errors.
1213         Fixes #347452.
1214
1215 2006-07-28  Wim Taymans  <wim@fluendo.com>
1216
1217         * docs/random/phonon-gst:
1218         Random notes about a Phonon backend.
1219
1220 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1221
1222         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1223         Extra debug output
1224         * tests/check/libs/gdp.c: (gst_dp_suite):
1225         Take a whack at fixing the ppc compile using a different define to
1226         disable the broken test.
1227
1228         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1229         Remove excess g_print()
1230
1231 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1232
1233         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1234         Oops, meant to uncomment this line too to dampen the noise a bit.
1235
1236 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
1237
1238         * gst/parse/grammar.y:
1239         * gst/parse/parse.l:
1240         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1241         (GST_START_TEST), (parse_suite):
1242         Fix some of the leaks exposed by extending the parse-launch testsuite,
1243         and move the 3 I can't figure out into a separate test that won't run
1244         the pipelines unless the appropriate line is uncommented.
1245
1246 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1247
1248         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1249           Requesting 0 bytes before the end of the file should result in
1250           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1251           unit test.
1252
1253 2006-07-27  Wim Taymans  <wim@fluendo.com>
1254
1255         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1256         Fix useless assert, a uint is always positive.
1257
1258         * gst/gststructure.c: (gst_structure_nth_field_name),
1259         (gst_structure_foreach), (gst_structure_map_in_place):
1260         Check input arguments for public functions to avoid obvious crashes.
1261
1262         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1263         * plugins/elements/gstfakesink.h:
1264         Do less useless typechecking.
1265
1266 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
1267
1268         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1269           Do not use mmap() by default since there are a number of error
1270           conditions that we would like to handle in a non-fatal way that
1271           will result in a SIGBUS if we use mmap(). Examples: external
1272           devices (USB harddrive, portable music player) being unplugged
1273           while in use; file on mounted CD/DVD that can't be read because
1274           the medium is partly damaged. Fixes #348455 and #348475.
1275
1276 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
1277
1278         * gst/gstquery.h:
1279         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1280         rates are a gdouble
1281
1282 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
1283
1284         * gst/gstregistry.c:
1285           Move big documentation comment into class section header, so that it
1286           appears in the API docs.
1287
1288 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1289
1290         * docs/gst/gstreamer-sections.txt:
1291         Oops. Commit the docs additions too for new API.
1292         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1293
1294 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1295
1296         * gst/gststructure.c: (gst_structure_id_set),
1297         (gst_structure_id_set_valist):
1298         * gst/gststructure.h:
1299         Add API for setting values into structures without performing
1300         a quark lookup, if the appropriate quark is already known.
1301
1302         API: gst_structure_id_set
1303         API: gst_structure_id_set_valist
1304
1305         * gst/parse/grammar.y:
1306         * gst/parse/parse.l:
1307         Remove some dead code shown by the coverage information.
1308         Don't throw a critical g_warning when encountering a syntax error,
1309         just warn and let the normal error path handle it.
1310
1311         * plugins/elements/gstelements.c:
1312         Bump the rank of filesink up to PRIMARY so that it is preferred over
1313         gnomevfssink for file:// sink uri's
1314
1315         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1316         (GST_START_TEST), (run_delayed_test),
1317         (gst_parse_test_element_base_init),
1318         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1319         (gst_parse_test_element_change_state),
1320         (gst_register_parse_element), (parse_suite):
1321         Beef up the tests for parse syntax to check that more error cases
1322         fail as they are supposed to. Increases the test coverage a bit.
1323
1324 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
1325
1326         * docs/manual/basics-elements.xml:
1327           Fix gst_element_link() example.
1328
1329         * gst/gstutils.c:
1330           Mention in API docs that one should usually gst_bin_add()
1331           elements to a bin or pipeline before doing the linking.
1332           
1333 2006-07-26  Wim Taymans  <wim@fluendo.com>
1334
1335         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1336         (gst_subbuffer_get_type), (gst_buffer_create_sub):
1337         Avoid function call for known types by keeping the buffer and
1338         subbuffer GType global.
1339
1340         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1341         Random silly optimisations in read() path.
1342
1343 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
1344
1345         * tools/gst-launch.c: (main):
1346           If the top-level of the parse is a normal bin, it doesn't do the
1347           right logic to run as a top-level element, so place it inside a
1348           pipeline.
1349
1350 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
1351
1352         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1353           Remove superfluous g_object_notify() calls, GObject does
1354           that for us automatically.
1355
1356 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
1357
1358         * gst/gstinfo.h:
1359           on Win32, use dllspec to export the debug category symbols
1360
1361 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
1362
1363         * gst/gsttaglist.c: (_gst_tag_initialize):
1364           Allow more than one GST_TAG_IMAGE per taglist.
1365
1366 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
1367
1368         * gst/gstminiobject.c:
1369           update docs
1370         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1371         (gst_fd_src_create):
1372           log recurring events at LOG level
1373           add more debug for when the fd gets set
1374
1375 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1376
1377         * gst/gstparse.c: (gst_parse_launch):
1378           Also remove reentrance checks if flex is MT safe (#348179)
1379          Fix my empty ChangeLog entry below
1380
1381 2006-07-21  Andy Wingo  <wingo@pobox.com>
1382
1383         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1384
1385         * libs/gst/check/Makefile.am
1386         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1387         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
1388         * libs/gst/check/gstbufferstraw.h:
1389         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1390         functions, thus proving I am still a GStreamer haxor. OK I wrote
1391         them a long time ago, but anyways.
1392
1393 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
1394
1395         * configure.ac:
1396         * gst/gstparse.c: (gst_parse_launch):
1397           Check for flex version and omit mutex if we have a MT save flex
1398           (fixes #348179)
1399
1400 2006-07-21  Wim Taymans  <wim@fluendo.com>
1401
1402         * gst/gstparse.c: (gst_parse_launch):
1403         Protect recursive calls to _parse with a recursive mutex
1404         and busy flag.
1405
1406 2006-07-21  Wim Taymans  <wim@fluendo.com>
1407
1408         * tests/check/gst/gstpad.c: (GST_START_TEST):
1409         Fix leak in test.
1410
1411 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
1412
1413         * gst/gstparse.c: (gst_parse_launch):
1414           Do not hang on recursive usage of gst_parse_launch()
1415
1416 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1417
1418         * gst/gsttaglist.c:
1419           Add some more docs, comments and FIXME 0.11s here and there
1420           and also fix some typos.
1421
1422 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
1423
1424         * gst/gstsegment.h:
1425           Convert tabs to spaces for better readability. 
1426
1427 2006-07-20  Edward Hervey  <edward@fluendo.com>
1428
1429         * tests/check/libs/gdp.c: (gst_dp_suite):
1430         the test_buffer test fails at line 140 on ppc64 at the following
1431         check:
1432         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1433                 GST_BUFFER_FLAG_IN_CAPS),
1434                 "GST_BUFFER_IN_CAPS flag should have been copied !");
1435         See bug #348114 for more details.
1436
1437 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
1438
1439         * docs/pwg/advanced-scheduling.xml:
1440         * gst/gstpad.c:
1441           Fix typos (#348000).
1442
1443 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
1444
1445         * docs/pwg/intro-basics.xml:
1446           Fix wrong links (#347927).
1447
1448 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
1449
1450         * gst/gstregistry.h:
1451         * gst/gstregistryxml.c: (load_feature),
1452         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1453         * win32/common/config.h:
1454           make --disable-index work (#342564)
1455
1456 2006-07-18  Wim Taymans  <wim@fluendo.com>
1457
1458         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1459
1460         * gst/Makefile.am:
1461         * gst/gsttrace.h:
1462         The attached patch adds two missing defines to gsttrace.h when tracing
1463         is disabled.  It also corrects one existing define.
1464         Fixes #347756.
1465
1466 2006-07-17  Wim Taymans  <wim@fluendo.com>
1467
1468         * docs/gst/gstreamer-sections.txt:
1469         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1470         * gst/gst.h:
1471         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1472         Add two functions to check and change the SIGSEGV behaviour
1473         when loading plugins.
1474         Don't mess with the SIGSEGV handler when we were told not to.
1475         Fixes #347794.
1476         API: gst_segtrap_is_enabled
1477         API: gst_segtrap_set_enabled
1478
1479 2006-07-14  Wim Taymans  <wim@fluendo.com>
1480
1481         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1482         * tests/check/elements/filesrc.c: (GST_START_TEST):
1483         Revert fix for regression in #347408 after release.
1484
1485 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
1486
1487         Patch by: Antoine Tremblay <hexa00 at gmail com>
1488
1489         * gst/gstutils.c: (gst_element_unlink):
1490           Free iterator when done (#347311).
1491
1492         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1493           And add a test case for this.
1494
1495 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
1496
1497         * configure.ac:
1498         Bump nano back to CVS
1499
1500 === release 0.10.9 ===
1501
1502 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
1503
1504         * configure.ac:
1505           releasing 0.10.9, "On the road again"
1506
1507 2006-07-13  Wim Taymans  <wim@fluendo.com>
1508
1509         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1510         * tests/check/elements/filesrc.c: (GST_START_TEST):
1511         Revert pull-0 fix for release. Disable check. Fixes #347408.
1512
1513 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1514
1515         * libs/gst/dataprotocol/dataprotocol.c:
1516         (gst_dp_event_from_packet_1_0):
1517           Fixes #347337: failure to deserialize event packets with
1518           empty payload (only event type)
1519
1520 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
1521
1522         * gst/Makefile.am:
1523           do not install a .c file in the header directory
1524
1525 2006-07-13  Edward Hervey  <edward@fluendo.com>
1526
1527         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1528         GhostPad no longer implicitely use the padtemplates of the targets.
1529         Fixes #347384
1530
1531 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
1532
1533         * gst/gstvalue.c: (gst_value_compare_list),
1534         (gst_value_compare_array), (_gst_value_initialize):
1535         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1536         Make GstValueArray comparison be order dependent as designed.
1537         Add checks for value lists and value array comparisons.
1538         Fixes #347221
1539
1540 2006-07-11  Edward Hervey  <edward@fluendo.com>
1541
1542         * gst/gstbin.c: (activate_pads),
1543         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1544         (gst_bin_change_state_func):
1545         (de)activate src pads before calling state_change on the childs.
1546         This is to avoid the case where a src ghostpad is blocked (holding the
1547         stream lock), which would block the deactivation of the ghostpad's
1548         target pad.
1549         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1550         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1551         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1552         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1553         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1554         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1555         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1556         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1557         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1558         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1559         (gst_ghost_pad_class_init),
1560         (gst_ghost_pad_internal_do_activate_push),
1561         (gst_ghost_pad_internal_do_activate_pull),
1562         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1563         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1564         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1565         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1566         GhostPads now create their internal GstProxyPad at creation (and not
1567         when they're linked, as it was being done previously).
1568         The internal and target pads are linked straight away.
1569         The data will also travel through the other pad in order to make
1570         pad blocking and probes non-hackish (the probe/block now really happens
1571         on the GhostPad and not on the target).
1572         * gst/gstpad.c: (gst_pad_set_blocked_async),
1573         (gst_pad_link_prepare), (gst_pad_push_event):
1574         Remove previous ghostpad cruft.
1575         * gst/gstutils.c: (gst_pad_add_data_probe),
1576         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1577         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1578         (gst_pad_remove_buffer_probe):
1579         Remove previous ghost pad cruft.
1580         Added more detailed debug statements.
1581         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1582         Fix the testsuite for refcounting changes.
1583         The comments about who has references were correct, but the refcount
1584         being checked wasn't the same (!?!).
1585
1586         Fixes #341029
1587
1588 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1589
1590         * docs/gst/gstreamer-sections.txt:
1591         * gst/gstconfig.h.in:
1592         More docs for configuration options, add docs to gtk-doc.
1593
1594 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
1595
1596         * gst/Makefile.am:
1597         * gst/gstconfig.h.in:
1598         * win32/common/config.h:
1599         Fix build when disabling tracing (fixes #344016). Also start to document
1600         the defines that disable the sub-systems.
1601
1602 2006-07-10  Edward Hervey  <edward@fluendo.com>
1603
1604         * gst/gst.c: (ensure_current_registry_forking):
1605         let's make valgrind happy...
1606
1607 2006-07-09  Wim Taymans  <wim@fluendo.com>
1608
1609         * gst/gstelement.c: (activate_pads),
1610         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1611         Better pad activation code: Reset the collect value too on resync.
1612         Add some comments.
1613
1614 2006-07-09  Wim Taymans  <wim@fluendo.com>
1615
1616         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1617         (gst_pad_activate_push):
1618         Use some more macros where it makes sense.
1619         Allow pad mode switching instead of asserting. When a pad
1620         is activated in one mode and we activate it in another, 
1621         deactivate it first before activating it in a different mode.
1622         Fixes #329198.
1623
1624 2006-07-08  Andy Wingo  <wingo@pobox.com>
1625
1626         * tools/gst-launch.c (main): Handle err == NULL.
1627
1628         * gst/gst.c (init_post, ensure_current_registry)
1629         (ensure_current_registry_forking)
1630         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1631         factoring out the registry scanning into separate functions. Don't
1632         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1633         Better environment var name/interface suggestions accepted.
1634
1635 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1636
1637         * gst/gstobject.c: (gst_object_set_name_default),
1638         (gst_object_set_name):
1639           Random micro-optimisation: don't use a hash table
1640           with strings as keys and the usual strdup/strcmp
1641           involved, but rather just use the GQuark of the
1642           type name as key, since it needs to be looked up
1643           anyway to get the type name string.
1644
1645         * tests/check/gst/gstobject.c: (GST_START_TEST):
1646           Fix various leaks.
1647
1648 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1649
1650         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1651         (gst_bin_iterate_all_by_interface):
1652           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1653           GTypes are gulongs and thus the top 4 bytes might be cut
1654           off on some platforms when doing GPOINTER_TO_INT, leading
1655           to invalid GTypes and bad things happening (see RH bug #179654).
1656           Also add a check to make sure the type passed in is really
1657           an interface type.
1658
1659 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1660
1661         * .cvsignore:
1662           Ignore more.
1663
1664 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
1665
1666         * Makefile.am:
1667         * configure.ac:
1668         * gst-element-check.m4:
1669         * gst-element-check.m4.in:
1670           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1671           instead of the unversioned gst-inspect (#324176, #168659).
1672
1673 2006-07-06  Wim Taymans  <wim@fluendo.com>
1674
1675         * gst/gstmessage.h:
1676         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1677         warnings.
1678
1679 2006-07-06  Wim Taymans  <wim@fluendo.com>
1680
1681         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1682         (gst_base_src_wait), (gst_base_src_update_length),
1683         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1684         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1685         (gst_base_src_loop), (gst_base_src_start),
1686         (gst_base_src_activate_pull):
1687         Update docs.
1688         blocksize == 0 now means the default blocksize when working in push
1689         based mode.
1690         Remove some pointless asserts in _wait function.
1691         Fix offset/length calculations and EOS handling. We can now pull 0
1692         bytes as well, which is allowed.
1693         use _check_get_range() to decide if we can operate in _pull based
1694         mode.
1695         Fix refcounting leak when check_get_range function was not 
1696         implemented.
1697         API GstBaseSrc::blocksize range can be 0 too now (default)
1698
1699         * tests/check/elements/filesrc.c: (GST_START_TEST),
1700         (filesrc_suite):
1701         Added check to test _get_range() behaviour.
1702
1703 2006-07-06  Wim Taymans  <wim@fluendo.com>
1704
1705         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1706         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1707         (gst_pad_pull_range):
1708         * gst/gstpad.h:
1709         Lots of comments and docs added to the pad functions.
1710         Flesh out the expected behaviour of the get_range() functions.
1711
1712 2006-07-06  Wim Taymans  <wim@fluendo.com>
1713
1714         * gst/gstbus.h:
1715         * gst/gstclock.h:
1716         * gst/gstevent.h:
1717         * gst/gstiterator.h:
1718         * gst/gstpad.h:
1719         * gst/gstplugin.h:
1720         * gst/gsttask.h:
1721         Remove comma at end of enumerator list. 
1722
1723 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
1724
1725         * win32/common/libgstbase.def:
1726         * win32/common/libgstdataprotocol.def:
1727         * win32/common/libsgtreamer.def:
1728         Add new exported functions.
1729
1730 2006-07-05  Wim Taymans  <wim@fluendo.com>
1731
1732         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1733         Add some more docs here and there.
1734
1735 2006-07-05  Wim Taymans  <wim@fluendo.com>
1736
1737         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1738         (gst_base_sink_loop), (gst_base_sink_get_position):
1739         When operating in pull mode update the offset so that we
1740         read sequentially.
1741
1742 2006-07-05  Wim Taymans  <wim@fluendo.com>
1743
1744         * gst/gstregistryxml.c: (read_string):
1745         Avoid strdup. (will happen in libxml, but hey!)
1746
1747         * gst/gsturi.c:
1748         Add some more docs.
1749
1750 2006-07-05  Wim Taymans  <wim@fluendo.com>
1751
1752         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1753         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1754         (gst_buffer_suite):
1755         No point in checking if the size of the subbuffer > 0, the
1756         code handles it correclty as demonstrated by unit test.
1757         Also add a unit test for the zero sized _new_and_alloc and
1758         _copy. Fixes #346663.
1759
1760 2006-07-05  Wim Taymans  <wim@fluendo.com>
1761
1762         * libs/gst/base/gstbasetransform.c:
1763         (gst_base_transform_prepare_output_buffer),
1764         (gst_base_transform_buffer_alloc),
1765         (gst_base_transform_handle_buffer):
1766         Make sure the buffer we pass to transform_ip has a refcount of
1767         1 and thus is writable. Fixes #343196
1768
1769 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
1770
1771         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1772         (gst_file_src_init), (gst_file_src_set_property),
1773         (gst_file_src_get_property), (gst_file_src_map_region):
1774         * plugins/elements/gstfilesrc.h:
1775         Add "sequential" property, off by default, to use madvise and hint
1776         to the kernel that sequential access is desired.
1777         Touch all retrieved pages by default to ensure they are pulled
1778         into memory. (Closes #345720)
1779
1780 2006-07-03  Wim Taymans  <wim@fluendo.com>
1781
1782         * docs/design/part-block.txt:
1783         * docs/design/part-dynamic.txt:
1784         Small docs updates.
1785
1786 2006-07-03  Wim Taymans  <wim@fluendo.com>
1787
1788         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1789         (gst_caps_unref), (gst_static_caps_get),
1790         (gst_caps_append_structure):
1791         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1792         Use GSlice when the glib we build against is >= 2.10
1793
1794 2006-07-03  Wim Taymans  <wim@fluendo.com>
1795
1796         * gst/gstelement.c: (gst_element_pads_activate):
1797         Small cleanup in pad activation code.
1798
1799 2006-07-03  Wim Taymans  <wim@fluendo.com>
1800
1801         Patch by: Peter Kjellerstedt <pkj at axis dot com>
1802
1803         * gst/gst-i18n-app.h:
1804         * gst/gst-i18n-lib.h:
1805         * tools/gst-inspect.c: (print_signal_info):
1806         The attached patch will make the inclusion of gettext.h unconditional in
1807         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1808         libintl.h in tools/gst-inspect.c.
1809         This allows use of --disable-nls again and fixes #344642.
1810
1811 2006-07-03  Edward Hervey  <edward@fluendo.com>
1812
1813         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1814         Implement pad blocking on events according to part-block.txt.
1815         More comments on behaviour.
1816         * tests/check/gst/gstevent.c: (test_event):
1817         Send event to peer pad of blocked pad (else it will block).
1818
1819 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1820
1821         * libs/gst/check/gstcheck.c: (gst_check_message_error),
1822         (gst_check_run_suite):
1823           if we get the wrong message, give us the types as string
1824         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1825           Fix a translatable
1826         * tests/check/elements/filesrc.c: (GST_START_TEST):
1827           add a test for trying to open a non-existing file
1828
1829 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1830
1831         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1832           add a test for adding self
1833
1834 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1835
1836         * libs/gst/check/gstcheck.h:
1837           add some assert_ as alias for fail_unless_*
1838         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1839           increase test coverage
1840
1841 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1842
1843         * Makefile.am:
1844           include lcov.mak for lcov coverage generation
1845         * tools/Makefile.am:
1846           add to CLEANFILES
1847
1848 2006-07-02  Edward Hervey  <edward@fluendo.com>
1849
1850         * tests/check/elements/.cvsignore:
1851         moaping
1852
1853 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1854
1855         * configure.ac:
1856           don't set CFLAGS and friends for gcov, done from GST_GCOV now
1857         * tests/check/Makefile.am:
1858           clean up gcov files
1859
1860 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1861
1862         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1863           remove gst_caps_simplify; it was not declared and not used
1864           and deprecated in 0.8
1865
1866 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1867
1868         * docs/faq/gst-uninstalled:
1869           don't put empty paths on PYTHONPATH
1870         * docs/gst/gstreamer-sections.txt:
1871           remove some symbols that are not there
1872
1873 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1874
1875         * gst/gstcaps.c: (gst_caps_compare_structures):
1876           whitespace fixes
1877         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1878         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1879           add more tests
1880
1881 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1882
1883         * libs/gst/dataprotocol/Makefile.am:
1884           build dataprotocol test by linking to the lib, instead of
1885           compiling the source, so we get coverage
1886         * tests/check/Makefile.am:
1887         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1888         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1889           add a test for filesrc
1890
1891 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1892
1893         * tests/check/gst/gststructure.c: (GST_START_TEST),
1894         (gst_structure_suite):
1895           Push coverage from 59.04% to 70.00%
1896
1897 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1898
1899         * tests/check/Makefile.am:
1900           gst-inspect every element; this makes sure that we also get
1901           coverage on element's get/set functions
1902
1903 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
1904
1905         * configure.ac:
1906           set CFLAGS and friends to -O0 if gcov is being used
1907           add GCOV LIBS
1908         * gst/Makefile.am:
1909         * libs/gst/base/Makefile.am:
1910         * libs/gst/check/Makefile.am:
1911         * libs/gst/controller/Makefile.am:
1912         * libs/gst/dataprotocol/Makefile.am:
1913         * libs/gst/net/Makefile.am:
1914         * plugins/elements/Makefile.am:
1915         * plugins/indexers/Makefile.am:
1916           add makefile rules to generate gcov data and clean up
1917         * tests/check/Makefile.am:
1918           add a coverage target that generates an html overview
1919           of coverage data
1920
1921 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1922
1923         * tests/check/elements/fakesink.c:
1924         * tests/check/elements/fakesrc.c:
1925         * tests/check/elements/fdsrc.c:
1926         * tests/check/elements/identity.c:
1927         * tests/check/generic/sinks.c: (gst_sinks_suite):
1928         * tests/check/generic/states.c:
1929         * tests/check/gst/gst.c:
1930         * tests/check/gst/gstabi.c:
1931         * tests/check/gst/gstbin.c:
1932         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1933         * tests/check/gst/gstbus.c: (gst_bus_suite):
1934         * tests/check/gst/gstcaps.c: (GST_START_TEST):
1935         * tests/check/gst/gstelement.c:
1936         * tests/check/gst/gstevent.c: (gst_event_suite):
1937         * tests/check/gst/gstghostpad.c:
1938         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1939         * tests/check/gst/gstmessage.c: (gst_message_suite):
1940         * tests/check/gst/gstminiobject.c:
1941         * tests/check/gst/gstobject.c:
1942         * tests/check/gst/gstpad.c:
1943         * tests/check/gst/gstpipeline.c:
1944         * tests/check/gst/gstplugin.c:
1945         * tests/check/gst/gstquery.c: (gst_query_suite):
1946         * tests/check/gst/gstsegment.c: (gst_segment_suite):
1947         * tests/check/gst/gststructure.c:
1948         * tests/check/gst/gstsystemclock.c:
1949         * tests/check/gst/gsttag.c:
1950         * tests/check/gst/gsttask.c: (gst_task_suite):
1951         * tests/check/gst/gstutils.c:
1952         * tests/check/gst/gstvalue.c:
1953         * tests/check/libs/adapter.c:
1954         * tests/check/libs/basesrc.c:
1955         * tests/check/libs/collectpads.c:
1956         * tests/check/libs/controller.c:
1957         * tests/check/libs/gdp.c: (gst_dp_suite):
1958         * tests/check/libs/gstnetclientclock.c:
1959         * tests/check/libs/gstnettimeprovider.c:
1960         * tests/check/libs/libsabi.c: (libsabi_suite):
1961         * tests/check/libs/typefindhelper.c:
1962         * tests/check/pipelines/cleanup.c:
1963         * tests/check/pipelines/parse-launch.c:
1964         * tests/check/pipelines/simple-launch-lines.c:
1965         * tests/check/pipelines/stress.c: (stress_suite):
1966           use the new macro
1967
1968 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1969
1970         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1971         * libs/gst/check/gstcheck.h:
1972           create a macro and function so that the simple unit test
1973           case can be just one macro to create main()
1974
1975 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
1976
1977         * gst/gstbin.c: (gst_bin_restore_thyself):
1978         * gst/gstxml.c: (gst_xml_make_element):
1979           Fix deserialisation from XML. Set parent manually
1980           instead of using gst_bin_add(), since gst_bin_add()
1981           will unlink all pads of the element being added.
1982           Fixes #341667.
1983
1984 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
1985
1986         Patch by: Peter Kjellerstedt <pkj at axis com>
1987
1988         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1989           Fix missing g_strdup() and double free when using the
1990           --gst-plugin-load command line option (#346097).
1991
1992 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
1993
1994         * gst/gstinfo.c:
1995           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1996
1997         * libs/gst/net/gstnetclientclock.c:
1998         * libs/gst/net/gstnettimeprovider.c:
1999           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2000
2001 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
2002
2003         * docs/manual/advanced-dataaccess.xml:
2004           Fix buffer probe example compilation in
2005           ADM (#345708).
2006         
2007 2006-06-22  Edward Hervey  <edward@fluendo.com>
2008
2009         * gst/gstelement.c: (gst_element_pads_activate):
2010         We need to deactivate src pads first and then sink pads.
2011         The reason is the src pads might be blocking while holding the streaming
2012         lock, so we need to deactivate them first so that deactivating the sink
2013         pads doesn't block (since it will require the streaming lock).
2014
2015 2006-06-22  Wim Taymans  <wim@fluendo.com>
2016
2017         * libs/gst/base/gstbasetransform.c:
2018         (gst_base_transform_buffer_alloc):
2019         Forgot to remove two unneeded unrefs.
2020         Simplify a check _is_equal allready checks the obvious case.
2021
2022 2006-06-22  Wim Taymans  <wim@fluendo.com>
2023
2024         * docs/design/part-block.txt:
2025         Some docs about what pad_block should do.
2026
2027 2006-06-22  Wim Taymans  <wim@fluendo.com>
2028
2029         * gst/gstcaps.c: (gst_caps_replace):
2030         Fix crasher when passed NULL. Doc clarification.
2031         Optimize for the trivial case.
2032
2033         * gst/gstpipeline.c: (gst_pipeline_change_state):
2034         Small cleanups.
2035
2036         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2037         Small documentation cleanup.
2038
2039         * libs/gst/base/gstbasetransform.c:
2040         (gst_base_transform_buffer_alloc):
2041         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2042         is what we need and it avoids a whole lot of redundant 
2043         refcount operations.
2044
2045 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
2046
2047         Patch by: Philip Jägenstedt  <philip at lysator liu se>
2048
2049         * docs/manual/advanced-dataaccess.xml:
2050           Fix 'Embedding static elements' section to use
2051           GST_PLUGIN_DEFINE_STATIC (#345607).
2052
2053 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2054
2055         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2056           Attempt to 'fix' spuriously failing test case: it seems like the
2057           timeout of half a second is simply too small when the system is under
2058           load otherwise, and the timeout doesn't really seem to serve any
2059           particular purpose here. Give the pipeline a few seconds to preroll
2060           first, and then give it another half a second to go from PAUSED to
2061           PLAYING and marshal the message into the main thread.
2062
2063 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2064
2065         * tools/gst-feedback-m.m:
2066           Don't only use unversioned tools, try versioned tools as well
2067           (#345086).
2068
2069 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2070
2071         * gst/gstbus.c: (gst_bus_class_init):
2072           Fix some typos, make docs more explicit.
2073
2074 2006-06-20  Wim Taymans  <wim@fluendo.com>
2075
2076         * tests/check/gst/gstghostpad.c: (block_callback),
2077         (GST_START_TEST), (gst_ghost_pad_suite):
2078         Added some more ghostpad tests, mainly blocking
2079         and probes.
2080
2081 2006-06-16  Wim Taymans  <wim@fluendo.com>
2082
2083         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2084         (gst_file_sink_close_file), (gst_file_sink_do_seek),
2085         (gst_file_sink_event), (gst_file_sink_render):
2086         * plugins/elements/gstfilesink.h:
2087         Check if we can seek in the file instead of assuming
2088         we always can. Post an error when we are asked to seek in a
2089         non-seekable file (like a fifo). Fixes #343312.
2090         Some cleanups.
2091
2092 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2093
2094         * tools/gst-launch.1.in:
2095           Un-garble (fourcc) bit in filtered caps section.
2096
2097 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2098
2099         * docs/manual/advanced-autoplugging.xml:
2100         * docs/manual/basics-helloworld.xml:
2101         * docs/manual/highlevel-components.xml:
2102           Don't leak bus reference in sample code.
2103
2104 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
2105
2106         * autogen.sh:
2107           Add default for new --enable-plugin-docs switch.
2108
2109         * configure.ac:
2110           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2111           Fixes #344039.
2112
2113         * docs/Makefile.am:
2114           Use new ENABLE_PLUGIN_DOCS conditional.
2115
2116 2006-06-14  Wim Taymans  <wim@fluendo.com>
2117
2118         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2119         Make it clear with a FIXME and a real define what the #if 0
2120         previously disabled.
2121
2122 2006-06-14  Wim Taymans  <wim@fluendo.com>
2123
2124         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2125         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2126         * libs/gst/base/gstbasetransform.c:
2127         (gst_base_transform_sink_eventfunc):
2128         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2129         Don't randomly and silently reset a segment when the format 
2130         changes as this is a bug somewhere upstream. Fixes #330379.
2131
2132 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2133
2134         Patch by: Wouter Paesen  <wouter at kangaroot net>
2135
2136         * libs/gst/controller/gstcontroller.c:
2137         (gst_controlled_property_new):
2138           Fix controlling of float properties (#344849).
2139
2140         * tests/check/libs/controller.c:
2141         (gst_test_mono_source_get_property),
2142         (gst_test_mono_source_set_property),
2143         (gst_test_mono_source_class_init), (GST_START_TEST):
2144           While we're at it, add some float stuff to unit test.
2145
2146 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2147
2148         * docs/README:
2149         * docs/images/gdp-header.svg:
2150           add a gdp image
2151         * docs/libs/Makefile.am:
2152         * docs/libs/gdp-header.png:
2153         * libs/gst/dataprotocol/dataprotocol.c:
2154           add it to the API docs
2155         * docs/manual/intro-motivation.xml:
2156           fix typo
2157
2158 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2159
2160         * gst/gst.c: (scan_and_update_registry), (init_post):
2161           If the fork()'ed child process can't write the updated registry cache
2162           file to disk for some reason, make it exit with a failure exit code,
2163           so that the parent can then re-scan the plugins itself and update the
2164           registry structures in memory and work with that (rather than failing
2165           when creating elements because seemingly no plugins are available).
2166           Refactor registry scanning code into separate function for this and
2167           also separate fork() and non-fork() code paths. Fixes #344748.
2168
2169 2006-06-13  Wim Taymans  <wim@fluendo.com>
2170
2171         * docs/manual/advanced-dataaccess.xml:
2172         Fix wrong PluginDesc. Fixes #344755.
2173
2174 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
2175
2176         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2177           Fix silly bug that prevented us from creating
2178           ~/.gstreamer-0.10 and writing the registry in one
2179           go (the first call to g_mkstemp() would overwrite the
2180           placeholder in the template string, so the second call
2181           to g_mkstemp() after creating the missing directory
2182           would then error out with 'invalid argument').
2183
2184 2006-06-13  Edward Hervey  <edward@fluendo.com>
2185
2186         * gst/gst.c: (init_post):
2187         Free string.
2188
2189 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
2190
2191         * gst/glib-compat-private.h:
2192         * gst/glib-compat.c:
2193         * gst/glib-compat.h:
2194         * gst/gstvalue.c: (gst_value_serialize_flags):
2195           remove GLib 2.6 compatibility code
2196
2197 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
2198
2199         * gst/parse/Makefile.am:
2200           Fix build with 'make -j N' even more (#340016).
2201
2202 2006-06-12  Wim Taymans  <wim@fluendo.com>
2203
2204         * docs/gst/gstreamer-sections.txt:
2205         Fix docs.
2206
2207 2006-06-12  Wim Taymans  <wim@fluendo.com>
2208
2209         * gst/gstsegment.c: (gst_segment_set_duration),
2210         (gst_segment_set_last_stop), (gst_segment_set_seek),
2211         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2212         (gst_segment_to_running_time), (gst_segment_clip):
2213         Use G_UNLIKELY to help the compiler a bit.
2214
2215 2006-06-12  Wim Taymans  <wim@fluendo.com>
2216
2217         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2218
2219         * gst/gstevent.c: (gst_event_get_type):
2220         * gst/gstmessage.c:
2221         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2222         (gst_pad_push):
2223         constify quark registration strings. Fixes #344115
2224         Avoid unneeded type checking is _pad_push() by internally
2225         calling gst_pad_chain_unchecked().
2226
2227 2006-06-12  Wim Taymans  <wim@fluendo.com>
2228
2229         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2230         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2231         (gst_subbuffer_finalize), (gst_buffer_create_sub),
2232         (gst_buffer_is_span_fast), (gst_buffer_span):
2233         Init _type for consistency.
2234         Use _FLAGS macro to avoid type check.
2235         Avoid unneeded type checks in subbufer code.
2236
2237 2006-06-12  Wim Taymans  <wim@fluendo.com>
2238
2239         * gst/gst.c: (gst_debug_help):
2240         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2241         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2242         (gst_plugin_feature_list_free):
2243         * gst/gstregistry.c: (gst_registry_add_plugin),
2244         (gst_registry_add_feature), (gst_registry_plugin_filter),
2245         (gst_registry_feature_filter), (gst_registry_find_plugin),
2246         (gst_registry_find_feature), (gst_registry_get_plugin_list),
2247         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2248         * gst/gstregistryxml.c: (load_feature),
2249         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2250         * gst/gstminiobject.c: (gst_mini_object_unref),
2251         (gst_mini_object_replace), (gst_value_mini_object_free),
2252         (gst_value_mini_object_copy):
2253         Use _CAST macros to avoid unneeded type checking.
2254         Added some more G_UNLIKELY.
2255
2256 2006-06-12  Wim Taymans  <wim@fluendo.com>
2257
2258         * gst/gstbuffer.h:
2259         Avoid unneeded type checking.
2260         API: GST_BUFFER_IS_DISCONT
2261
2262         * gst/gstminiobject.h:
2263         Avoid type check in flag accessor.
2264
2265         * gst/gstelementfactory.h:
2266         * gst/gstplugin.h:
2267         * gst/gstpluginfeature.h:
2268         Add _CAST macros.
2269         API: GST_ELEMENT_FACTORY_CAST
2270         API: GST_PLUGIN_CAST
2271         API: GST_PLUGIN_FEATURE_CAST
2272
2273 2006-06-12  Wim Taymans  <wim@fluendo.com>
2274
2275         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2276         (gst_object_unref):
2277         Add G_UNLIKELY in type registration.
2278         Avoid type check in _ref/_unref since that is also
2279         done in glib.
2280
2281 2006-06-12  Wim Taymans  <wim@fluendo.com>
2282
2283         * gst/gsterror.c: (gst_g_error_get_type):
2284         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2285         (gst_static_pad_template_get_type):
2286         * gst/gsttaglist.c: (gst_tag_list_get_type):
2287         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2288         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2289         * gst/gsturi.c: (gst_uri_handler_get_type):
2290         * gst/gstvalue.c: (gst_date_get_type):
2291         * gst/gstxml.c: (gst_xml_get_type):
2292         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2293         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2294         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2295         Add G_UNLIKELY in type registration.
2296
2297 2006-06-12  Wim Taymans  <wim@fluendo.com>
2298
2299         * tools/gst-inspect.c: (print_signal_info):
2300         Properly print enum values.
2301
2302 2006-06-12  Wim Taymans  <wim@fluendo.com>
2303
2304         * gst/gstinfo.c: (gst_debug_set_active),
2305         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2306         * gst/gstinfo.h:
2307         Add some G_[UN]LIKELY.
2308         Maintain __gst_debug_min to avoid formatting the arguments of
2309         debug messages that will be dropped anyway to avoid a lot of 
2310         overhead from the debugging system.
2311
2312 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2313
2314         * po/POTFILES.in:
2315         * po/POTFILES.skip:
2316           add missing files containing translatable strings, tell intltool about
2317           one exception
2318
2319 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2320
2321         * tests/check/libs/.cvsignore:
2322         add test-binary to ignore list
2323
2324 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
2325
2326         * docs/libs/gstreamer-libs-docs.sgml:
2327         reorder (put dp into a chapter) and indent
2328
2329 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2330
2331         * configure.ac:
2332           back to HEAD
2333
2334 === release 0.10.8 ===
2335
2336 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
2337
2338         * configure.ac:
2339           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2340
2341 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2342
2343         * gst/gst.c: (init_post):
2344           move pid declaration to declaration block
2345
2346 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2347
2348         * gst/gst.c: (init_post):
2349           use _exit() instead of exit() in our forked child; this ensures
2350           that none of the registered exit handlers from whatever is using
2351           GStreamer get executed.  This fixes gnome-mixer-applet failing
2352           to load, because ORBit would shut down.
2353           Spotted by: Edward Hervey  <edward@fluendo.com>
2354           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
2355           Fixes #344474
2356
2357 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2358
2359         * configure.ac:
2360           back to TRUNK
2361
2362 === release 0.10.7 ===
2363
2364 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
2365
2366         * configure.ac:
2367           releasing 0.10.7, "Soepeke, ik zie ou"
2368
2369 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
2370
2371         * configure.ac:
2372         * po/af.po:
2373         * po/az.po:
2374         * po/bg.po:
2375         * po/ca.po:
2376         * po/cs.po:
2377         * po/de.po:
2378         * po/en_GB.po:
2379         * po/fr.po:
2380         * po/it.po:
2381         * po/nb.po:
2382         * po/nl.po:
2383         * po/ru.po:
2384         * po/sq.po:
2385         * po/sr.po:
2386         * po/sv.po:
2387         * po/tr.po:
2388         * po/uk.po:
2389         * po/vi.po:
2390         * po/zh_CN.po:
2391         * po/zh_TW.po:
2392         * win32/common/config.h:
2393           0.10.6.2 prerelease
2394
2395 2006-06-07  Wim Taymans  <wim@fluendo.com>
2396
2397         * gst/gstindex.c: (gst_index_gtype_resolver):
2398         * tools/gst-xmlinspect.c: (print_plugin_info):
2399         Fix leak spotted by coverity checker. Fixes #343827
2400         Fix another other leak found by paolo borelli.
2401
2402 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2403
2404         * libs/gst/dataprotocol/dataprotocol.c:
2405         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2406         (gst_dp_version_get_type), (gst_dp_init),
2407         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2408         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2409         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2410         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2411         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2412         (gst_dp_packetizer_free):
2413         * libs/gst/dataprotocol/dataprotocol.h:
2414           API: add a GstDPPacketizer object, and create/free functions
2415           API: add GstDPVersion enum
2416           Add 1.0 event function that uses the string serialization
2417           Serialize more useful buffer flags
2418           Fixes #343988
2419
2420 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2421
2422         * tests/check/Makefile.am:
2423         * tests/check/gst/gstabi.c:
2424         * tests/check/gst/struct_ppc64.h:
2425         * tests/check/libs/libsabi.c:
2426         * tests/check/libs/struct_ppc64.h:
2427           add ppc64 structure sizes
2428
2429 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2430
2431         * tests/check/Makefile.am:
2432         * tests/check/gst/gstabi.c:
2433         * tests/check/gst/struct_x86_64.h:
2434         * tests/check/libs/libsabi.c:
2435         * tests/check/libs/struct_x86_64.h:
2436           generate and add structure size lists for x86_64
2437
2438 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2439
2440         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2441         * libs/gst/check/gstcheck.h:
2442           factor out the method from tests that checks size of structures,
2443           and add code to generate the header containing these sizes
2444         * tests/check/gst/gstabi.c: (GST_START_TEST):
2445         * tests/check/gst/struct_i386.h:
2446         * tests/check/libs/libsabi.c: (GST_START_TEST):
2447         * tests/check/libs/struct_i386.h:
2448           use it
2449
2450 2006-06-06  Michael Smith  <msmith@fluendo.com>
2451
2452         * gst/gstsegment.h:
2453           Don't use c++-style comments, fixes #343929
2454
2455 2006-06-05  Edward Hervey  <edward@fluendo.com>
2456
2457         * gst/gst.c:
2458         plugin_paths is not used if we build without registry support.
2459
2460         * gst/gstsegment.c: (gst_segment_copy): 
2461         _copy() was always returning NULL...
2462
2463 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2464
2465         * libs/gst/dataprotocol/dataprotocol.c:
2466         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2467         (gst_dp_packet_from_event):
2468           factor out CRC code
2469
2470 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2471
2472         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2473           make sure we unset caps
2474
2475 2006-06-02  Michael Smith  <msmith@fluendo.com>
2476
2477         * libs/gst/check/gstcheck.c: (gst_check_init),
2478         (gst_check_chain_func):
2479         * libs/gst/check/gstcheck.h:
2480           Add a cond/mutex to the check support lib, signal this whenever we
2481           add to the buffers list. This will allow tests to not busy-wait on
2482           the buffer-list.
2483
2484 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2485
2486         * libs/gst/dataprotocol/dataprotocol.c:
2487         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2488         (gst_dp_packet_from_event):
2489           factor out some common header init code
2490
2491 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
2492
2493         * docs/libs/gstreamer-libs-sections.txt:
2494         * docs/libs/tmpl/gstdataprotocol.sgml:
2495         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2496         * libs/gst/dataprotocol/dataprotocol.h:
2497           API: make gst_dp_crc() public
2498
2499 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2500
2501         * plugins/indexers/gstindexers.c: (plugin_init):
2502         conditionally register fileindexer (fixes #343598)
2503
2504 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
2505
2506         * gst/gsttagsetter.h:
2507         Can't cast ifaces to a class
2508
2509         * libs/gst/net/gstnetclientclock.h:
2510         * libs/gst/net/gstnettimeprovider.h:
2511         * plugins/elements/gstfakesink.h:
2512         * plugins/elements/gstfakesrc.h:
2513         * plugins/elements/gstfdsink.h:
2514         * plugins/elements/gstfdsrc.h:
2515         * plugins/elements/gstfilesink.h:
2516         * plugins/elements/gstfilesrc.h:
2517         * plugins/elements/gstidentity.h:
2518         * plugins/elements/gstqueue.h:
2519         * plugins/elements/gsttee.h:
2520         * plugins/indexers/gstfileindex.c:
2521         * plugins/indexers/gstmemindex.c:
2522         * tests/old/examples/plugins/example.h:
2523         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2524
2525 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2526
2527         * libs/gst/dataprotocol/dataprotocol.c:
2528         (gst_dp_header_from_buffer):
2529           make sure we zero the whole ABI-compatible area
2530
2531 2006-06-01  Wim Taymans  <wim@fluendo.com>
2532
2533         Patch by: Alessandro Decina <alessandro at nnva dot org>
2534
2535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2536         Make sure the EOS flag is cleared from pads after a flush
2537         or stop. Fixes #343538.
2538
2539         * tests/check/libs/collectpads.c: (GST_START_TEST),
2540         (gst_collect_pads_suite):
2541         Added test for collectpads reusage after EOS.
2542
2543 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
2544
2545         * gst/gst.c:
2546          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2547         * win32/common/libgstbase.def:
2548          export gst_collect_pads_set_flushing
2549         * win32/common/libgstreamer.def:
2550          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2551          gst_value_fraction_multiply
2552         * win32/vs6/gst_inspect.dsp:
2553          add a link to intl.lib
2554
2555 2006-05-30  Wim Taymans  <wim@fluendo.com>
2556
2557         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2558         (gst_collect_pads_chain):
2559         Handle the case where a pad is removed from the collection
2560         that could cause the other pads to become collectable.
2561
2562 2006-05-30  Wim Taymans  <wim@fluendo.com>
2563
2564         * gst/gstelement.c:
2565         Clarify the use of _release_request_pad() and
2566         _get_request_pad() a bit better.
2567
2568         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2569         (gst_adapter_take_buffer):
2570         Fix some doc and comment typos.
2571
2572 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
2573
2574         * docs/gst/gstreamer-sections.txt:
2575         * docs/libs/gstreamer-libs-sections.txt:
2576           add declared symbols
2577
2578 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
2579
2580         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2581         Add debug that can be enabled using a #define at the top of the file,
2582         for dumping stats about how late/early we were when waking up from
2583         waiting on the clock.
2584
2585 2006-05-30  Wim Taymans  <wim@fluendo.com>
2586
2587         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2588         When rebuilding the pad list, don't leak the previous list.
2589
2590 2006-05-30  Wim Taymans  <wim@fluendo.com>
2591
2592         Patch by: Lutz Mueller <lutz at topfrose dot de>
2593
2594         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2595         (gst_base_src_get_query_types), (gst_base_src_update_length):
2596         Publish supported query types.
2597         Update last_stop field in get_range mode so the position
2598         query works. Fixes #342321.
2599
2600 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
2601
2602         * docs/gst/gstreamer-sections.txt:
2603         * gst/gsttaglist.c: (_gst_tag_initialize):
2604         * gst/gsttaglist.h:
2605           API: add GST_TAG_PREVIEW_IMAGE (#343341).
2606
2607 2006-05-30  Wim Taymans  <wim@fluendo.com>
2608
2609         Patch by: Alessandro Decina <alessandro at nnva dot org>
2610
2611         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2612         Unlock mutex when removing an unknown pad.
2613         Fixes #343334.
2614
2615         * tests/check/Makefile.am:
2616         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2617         (push_event), (setup), (teardown), (GST_START_TEST),
2618         (gst_collect_pads_suite), (main):
2619         Added collecpads check, disabled for now as check crashes for
2620         some reason.
2621
2622 2006-05-29  Wim Taymans  <wim@fluendo.com>
2623
2624         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2625         Don't leak pads lists.
2626
2627 2006-05-29  Wim Taymans  <wim@fluendo.com>
2628
2629         * docs/libs/gstreamer-libs-sections.txt:
2630         * libs/gst/base/gstcollectpads.c:
2631         (gst_collect_pads_set_flushing_unlocked),
2632         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2633         (gst_collect_pads_stop):
2634         * libs/gst/base/gstcollectpads.h:
2635         API: gst_collect_pads_set_flushing()
2636         Added api to set the pads to flushing, useful for seeking
2637         code in elements using collectpads.
2638         Clear segment when receiving a flush.
2639
2640 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
2641
2642         * gst/gst.c: (add_path_func), (init_post):
2643           Don't scan registry paths passed via --gst-plugin-path immediately
2644           (will crash, because absolutely nothing is set up and no types are
2645           registered etc.); do this later in init_post(). Fixes #343057.
2646
2647 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
2648
2649         * gst/gst.c: (init_post):
2650           if we have fork, fork while reading/rebuilding the registry
2651           so the parent doesn't take the hit of having all plugins loaded
2652           in memory.  Fixes #342777.
2653         * configure.ac:
2654           Check if we have fork()
2655         * win32/common/config.h.in:
2656           no fork() on win32
2657
2658 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2659
2660         * plugins/elements/gstelements.c:
2661         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2662         (gst_file_src_init), (gst_file_src_set_property),
2663         (gst_file_src_get_property), (gst_file_src_start):
2664         * plugins/elements/gstfilesrc.h:
2665           API: GstFileSrc::use-mmap
2666
2667         Add a use-mmap property to enable easier testing of all code paths.
2668         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2669         in the absence of gnomevfssrc. (Closes #340501)
2670
2671 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
2672
2673         * tools/gst-inspect.c:
2674         Add missing include, removes warning of ngettext not being defined on
2675         some arches.
2676
2677 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
2678
2679         * gst/gstvalue.c: (gst_value_deserialize_fraction):
2680         Handle NULL input and output pointers silently as a failed conversion,
2681         rather than g_warnings.
2682
2683 2006-05-25  Wim Taymans  <wim@fluendo.com>
2684
2685         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2686         Initialize variable before using. Fixes #342820.
2687
2688 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
2689
2690         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2691           Fix off-by-one bug that would only allow peeks of N-1 bytes
2692           from the start even if the buffer to typefind on contains
2693           in fact N bytes of data (makes vorbis typefinding from a
2694           vorbis identification header buffer work).
2695
2696         * tests/check/Makefile.am:
2697         * tests/check/libs/.cvsignore:
2698         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2699         (gst_typefindhelper_suite), (main), (foobar_typefind),
2700         (plugin_init):
2701           Add very basic unit test for gst_type_find_helper_for_buffer()
2702           that checks for the problem fixed above.
2703
2704 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2705
2706         * tools/gst-inspect.c: (print_interfaces),
2707         (print_element_properties_info), (print_element_list), (main):
2708           add more translatable strings
2709
2710 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         Patch by: Julien Moutte  <julien at moutte net>
2713
2714         * docs/gst/gstreamer-sections.txt:
2715           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2716           
2717         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2718         (gst_fake_sink_preroll):
2719         * plugins/elements/gstfakesink.h:
2720           API: Add new GstFakeSink::preroll-handoff signal (#337100).
2721
2722 2006-05-23  Wim Taymans  <wim@fluendo.com>
2723
2724         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2725         * gst/gstpad.h:
2726         Added _CUSTOM error and success GstFlowReturn that can be
2727         used be elements internally. 
2728         Added macro to check for SUCCESS flowreturns.
2729         API: GST_FLOW_CUSTOM_SUCCESS
2730         API: GST_FLOW_CUSTOM_ERROR
2731         API: GST_FLOW_IS_SUCCESS
2732
2733         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2734         Added check for GstFlowReturn sanity.
2735
2736 2006-05-23  Wim Taymans  <wim@fluendo.com>
2737
2738         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2739
2740         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2741         (gst_collect_pads_event):
2742         clear/reset segment info in FLUSH_STOP.
2743         Fixes #336929.
2744
2745 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
2746
2747         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2748         (gst_collect_pads_check_collected):
2749         Flush queued buffer on _stop(), fixes playing again (#342454)
2750
2751 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
2752
2753         * tests/check/gst/gststructure.c: (GST_START_TEST),
2754         (gst_structure_suite):
2755           add a test for a complete structure
2756
2757 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2758
2759         * docs/faq/developing.xml:
2760         * docs/faq/faq.xml:
2761         * docs/faq/troubleshooting.xml:
2762         * docs/faq/using.xml:
2763           Some minor FAQ updates that won't change the fact that
2764           our FAQ is badly structured, full of information hardly
2765           anyone new to GStreamer needs to know and lacking lots
2766           of information people constantly ask for.
2767           
2768 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
2769
2770         * gst/gstpad.c: (gst_pad_set_caps):
2771           Short-circuit gst_pad_set_caps if setting the existing
2772           caps pointer again, and avoid printing debug and 
2773           reffing/unreffing the caps.
2774
2775         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2776           There's actually no need to set the caps before pushing -
2777           the acceptcaps method will handle it anyway.
2778
2779 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
2780
2781         * docs/gst/gstreamer-sections.txt:
2782         * win32/common/libgstreamer.def:
2783         * gst/gstutils.c: (gst_element_seek_simple):
2784         * gst/gstutils.h:
2785           API: add gst_element_seek_simple() (#342238).
2786
2787 2006-05-18  Edward Hervey  <edward@fluendo.com>
2788
2789         * gst/gsttypefind.c: (gst_type_find_get_type):
2790         * gst/gsttypefind.h:
2791         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2792         registered for GstTypeFind pointers. This allows wrapping the structure
2793         in bindings (i.e. gst-python).
2794
2795 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2796
2797         * gst/gsttagsetter.c:
2798           Docs additions and fixes (see #339918).
2799
2800 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
2801
2802         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2803         The caps intersection algorithm can produce multiple copies of the
2804         caps. Until that is fixed, we need to simplify the result to be
2805         sure whether the allowed caps are fixed or not.
2806
2807         * plugins/elements/gstqueue.c: (gst_queue_init),
2808         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2809         (gst_queue_push_one):
2810         Proxied buffer alloc should not set the caps on the source pad.
2811         When pushing buffers, we always accept the caps change that triggers.
2812         This prevents negotiation errors caused by caps changing mid-stream 
2813         and then being refused on our source pad (because upstream is now
2814         refusing those caps).
2815
2816 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
2817
2818         * tests/examples/helloworld/helloworld.c: (main):
2819           Must plug audioconvert and audioresample between decoder
2820           and audio sink.
2821
2822 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
2823
2824         * gst/gstregistryxml.c: (read_string), (load_pad_template),
2825         (load_feature), (load_plugin):
2826         Allow empty strings for some of the plugin fields so we don't 
2827         drop valid plugin entries that were written out correctly
2828         (Fixes #341479)
2829
2830 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
2831         
2832         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2833           Use g_remove and g_rename instead of remove and rename that don't 
2834           handle utf8 characters. rename was failing for users who had specific
2835           characters in their name then the registry was built at each 
2836           gstreamer init.
2837         * win32/vs6/gst_inspect.dsp:
2838         * win32/vs6/gst_launch.dsp:
2839         * win32/vs6/libgstbase.dsp:
2840         * win32/vs6/libgstcoreelements.dsp:
2841         * win32/vs6/libgstreamer.dsp:
2842           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
2843           build of libgstreamer and clean unused libraries in projects link 
2844           settings.
2845
2846 2006-05-17  Edward Hervey  <edward@fluendo.com>
2847
2848         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2849         The queue is not responsible for pushing an EOS when receiving a fatal
2850         flow error. It's up to the real element driving the pipeline to do that.
2851
2852 2006-05-16  Edward Hervey  <edward@fluendo.com>
2853
2854         * plugins/elements/gstqueue.c: (gst_queue_push_one):
2855         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2856         buffer returned a fatal error. It should just send an EOS and stop
2857         its task.
2858         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2859         when pushing buffers on the queue and will be able to handle the event.
2860
2861 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
2862
2863         * docs/manual/basics-bins.xml:
2864         * docs/manual/basics-init.xml:
2865           Fix typos and minor errors in sample code (#341856).
2866
2867 2006-05-16  Wim Taymans  <wim@fluendo.com>
2868
2869         * docs/design/part-qos.txt:
2870         Fix indexes in formulas to make more sense.
2871
2872 2006-05-15  Wim Taymans  <wim@fluendo.com>
2873
2874         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2875         Don't report POSITION based on clock time if sync is
2876         disabled in a sink.
2877
2878 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
2879
2880         * gst/gstobject.h:
2881           Add cast to make compiler happy - refcount variable was a gint
2882           in GstObject but is a guint in GObject and g_atomic_int_get()
2883           wants a gint *.
2884
2885 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
2886
2887         * gst/parse/Makefile.am:
2888           chain commands using &&, which also makes parallel make work
2889
2890 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
2891
2892         * docs/gst/gstreamer-sections.txt:
2893         * gst/gstevent.c:
2894         * gst/gstevent.h:
2895         * gst/gstmessage.h:
2896           Minor docs fixes.
2897
2898 === release 0.10.6 ===
2899
2900 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
2901
2902         * configure.ac:
2903           releasing 0.10.6, "Take the cannoli"
2904
2905 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
2906
2907         * tools/gst-launch.c: (print_tag):
2908           Fix use of uninitialized variable in the hypothetical
2909           case that some broken plugin creates a GST_TAG_IMAGE
2910           tag containing a NULL buffer (#341667).
2911
2912 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
2913
2914         * tools/gst-launch.c: (print_tag):
2915           Print something more intelligible for image tags when
2916           using the -t switch (#341556).
2917
2918 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2919
2920         * Makefile.am:
2921           updates for win32
2922         * configure.ac:
2923           define GST_MAJORMINOR so we have it available in win32/common/config.h
2924           Possibly remove it from our Makefile.am files later
2925         * win32/common/config.h:
2926         * win32/common/config.h.in:
2927           added GST_MAJORMINOR
2928         * win32/common/gstenumtypes.c: (register_gst_resource_error):
2929         * win32/common/gstversion.h:
2930           updated
2931
2932 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
2933
2934         * win32/MANIFEST:
2935           Update win32 files listing.
2936         * win32/common/gstversion.h:
2937           Add GST_MAJORMINOR definition.
2938         * win32/common/libgstreamer.def:
2939           Add new exported functions.
2940           
2941 2006-05-12  Michael Smith  <msmith@fluendo.com>
2942
2943         * gst/gstplugin.c: (gst_plugin_load_file):
2944           If an so file has no plugin entry point, unload the module.
2945
2946 2006-05-11  Wim Taymans  <wim@fluendo.com>
2947
2948         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2949         (gst_queue_set_property):
2950         Don't forget to signal the _chain or _loop function 
2951         when the queue size or thresholds change since that might
2952         cause them to make progres again.
2953
2954 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
2955
2956         * gst/gstclock.c: (gst_clock_class_init):
2957         * gst/gstindex.c: (gst_index_class_init):
2958         * gst/gstobject.c: (gst_object_class_init):
2959         * gst/gstpad.c: (gst_pad_class_init):
2960         * gst/gstpipeline.c: (gst_pipeline_class_init):
2961         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2962         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2963         * libs/gst/base/gstbasetransform.c:
2964         (gst_base_transform_class_init):
2965         * libs/gst/net/gstnetclientclock.c:
2966         (gst_net_client_clock_class_init):
2967         * libs/gst/net/gstnettimeprovider.c:
2968         (gst_net_time_provider_class_init):
2969         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2970         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2971         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2972         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2973         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2974         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2975         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2976         * plugins/elements/gstidentity.c: (gst_identity_class_init):
2977         * plugins/elements/gsttee.c: (gst_tee_class_init):
2978         * tests/old/examples/plugins/example.c: (gst_example_class_init):
2979         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2980           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2981
2982 2006-05-11  Wim Taymans  <wim@fluendo.com>
2983
2984         * gst/gstbuffer.c: (_gst_buffer_initialize):
2985         Register subbufer along with the buffer type so that
2986         it does not accidentally gets registered from N
2987         different streaming threads in a non threadsafe way.
2988
2989 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
2990
2991         * gst/gstbuffer.h:
2992         * gst/gstevent.h:
2993         * gst/gstmessage.h:
2994           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2995           gst_event_ref() and gst_message_ref() functions again
2996           (ugly hack, please do fix if there's a better way besides
2997           overrides.txt, which doesn't seem to work).
2998
2999 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3000
3001         * libs/gst/check/gstcheck.h:
3002           add an assert for setting state to avoid lots of repetitive code
3003           in the future
3004
3005 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3006
3007         * gst/gstvalue.c: (gst_value_serialize_flags):
3008           fix a leak if no flags are set
3009         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3010           fix leak in tests
3011
3012 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
3013
3014         * docs/manual/basics-pads.xml:
3015           Expand a bit on caps and filtered links and update
3016           examples that were still using the no longer existing
3017           gst_pad_link_filtered() (#338206).
3018
3019 2006-05-10  Wim Taymans  <wim@fluendo.com>
3020
3021         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3022         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3023         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3024         (gst_collect_pads_stop):
3025         * libs/gst/base/gstcollectpads.h:
3026         No need to call _stop in _finalize.
3027         Iterate the main pad list in _finalize.
3028         Added some more debug.
3029         Free lists and data in the right order.
3030         Also free data whem doing _remove_pad when stopped for
3031         backward compatibility protect ::started with PAD_LOCK as
3032         well.
3033
3034 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3035
3036         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3037         (gst_structure_parse_value):
3038           add some comments
3039           rename a method so that it actually says what it does better
3040
3041 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
3042
3043         * gst/gstevent.c: (_gst_event_initialize):
3044         * gst/gstformat.c: (_gst_format_initialize):
3045           make sure some essential types used by events are registered
3046           as part of gst_init()
3047         * gst/gstvalue.c: (gst_value_serialize_flags):
3048           if no flags are set, serialize them to a value that represents NONE
3049           so that deserializing them works
3050         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3051           add tests for serialization and deserialization of flags
3052
3053 2006-05-10  Wim Taymans  <wim@fluendo.com>
3054
3055         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3056         (gst_collect_pads_collect_range), (gst_collect_pads_available),
3057         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3058         (gst_collect_pads_event), (gst_collect_pads_chain):
3059         Update docs.
3060         Better debug info.
3061         Catch and return errors from the collect function
3062         Refuse data on eos pads.
3063
3064 2006-05-10  Edward Hervey  <edward@fluendo.com>
3065
3066         * gst/gstinterface.h:
3067         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3068         GInterface type checking.
3069         They were previously using non-defined macros.
3070
3071 2006-05-09  Wim Taymans  <wim@fluendo.com>
3072
3073         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3074         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3075         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3076         (gst_collect_pads_start), (gst_collect_pads_stop),
3077         (gst_collect_pads_peek), (gst_collect_pads_pop),
3078         (gst_collect_pads_available), (gst_collect_pads_read),
3079         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3080         (gst_collect_pads_is_collected), (gst_collect_pads_event),
3081         (gst_collect_pads_chain):
3082         * libs/gst/base/gstcollectpads.h:
3083         Clean up the mess that is collectpads, add comments and
3084         FIXMEs where needed.
3085         Maintain a separate pad list so we can add pads while
3086         collecting the other ones. For this we need a new separate 
3087         lock (see comics).
3088         Fix memory leak in finalize.
3089         Refactor some weird code to set/unset pad flushing flags, mark
3090         with comments.
3091         Don't crash in _available, _read, _flush when we're EOS.
3092
3093         * tests/check/libs/.cvsignore:
3094         Ignore adapter check binary.
3095
3096 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3097
3098         * gst/gstindex.c: (gst_index_resolver_get_type):
3099         * plugins/elements/gstfakesink.c:
3100         (gst_fake_sink_state_error_get_type):
3101         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3102         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3103         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3104           Const-ify GEnumValue arrays.
3105
3106 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3107
3108         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3109           Add test case for flags + gst_buffer_make_metadata_writable().
3110
3111 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3114           gst_buffer_make_metadata_writable() should maintain the
3115           buffer flags (those that make sense at least) (see #340859).
3116
3117 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3118
3119         * tools/gst-inspect.c:
3120         * tools/gst-launch.c:
3121         * tools/gst-typefind.c:
3122         * tools/gst-xmlinspect.c:
3123         * tools/tools.h:
3124           Fix up includes: need to include stdlib.h in tools.h for exit().
3125
3126 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3127
3128         * gst/gsttaglist.c: (_gst_tag_initialize):
3129         * gst/gsttaglist.h:
3130           API: add GST_TAG_IMAGE tag (#340721).
3131
3132 2006-05-08  Wim Taymans  <wim@fluendo.com>
3133
3134         * gst/gstquery.c:
3135         Added some docs for the segment query.
3136
3137 2006-05-08  Wim Taymans  <wim@fluendo.com>
3138
3139         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3140         (gst_base_src_loop), (gst_base_src_change_state):
3141         Always push non-flushing serialized events in the streaming 
3142         thread.
3143
3144 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
3145
3146         * gst/gsterror.c: (_gst_stream_errors_init):
3147           Add a missing error string.
3148
3149 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
3150
3151         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3152         Add applied_rate to the debug
3153
3154         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3155         Copy applied_rate into the outgoing NEWSEGMENT event
3156
3157 2006-05-08  Wim Taymans  <wim@fluendo.com>
3158
3159         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3160
3161         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3162         (gst_base_sink_change_state):
3163         call ::unlock before taking the PREROLL_LOCK so we can safely
3164         handle elements that lock in ::render.
3165         Fixes #340174.
3166
3167 2006-05-08  Edward Hervey  <edward@fluendo.com>
3168
3169         * autogen.sh: (CONFIGURE_DEF_OPT): 
3170         Darwin's libtoolize is in fact called glibtoolize.
3171         Adding glibtoolize to the list of accepted names for libtoolize.
3172
3173 2006-05-08  Wim Taymans  <wim@fluendo.com>
3174
3175         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3176         Unify error handling, don't post an error message
3177         when a push() returns EOS but perform our normal EOS
3178         handling code. Fixes #340772.
3179
3180 2006-05-08  Wim Taymans  <wim@fluendo.com>
3181
3182         * docs/design/part-overview.txt:
3183         Make upsteam/downstream concepts more clear.
3184         Give an example of serialized/non-serialized events.
3185
3186         * docs/design/part-events.txt:
3187         * docs/design/part-streams.txt:
3188         Mention applied_rate.
3189
3190         * docs/design/part-trickmodes.txt:
3191         Mention applied rate, flesh out some more use cases.
3192
3193         * gst/gstevent.c: (gst_event_new_new_segment),
3194         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3195         (gst_event_parse_new_segment_full), (gst_event_new_tag),
3196         (gst_event_parse_tag), (gst_event_new_buffer_size),
3197         (gst_event_parse_buffer_size), (gst_event_new_qos),
3198         (gst_event_parse_qos), (gst_event_parse_seek),
3199         (gst_event_new_navigation):
3200         * gst/gstevent.h:
3201         Add applied_rate field to NEWSEGMENT event.
3202         API: gst_event_new_new_segment_full()
3203         API: gst_event_parse_new_segment_full()
3204
3205         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3206         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3207         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3208         * gst/gstsegment.h:
3209         Add applied_rate to GstSegment structure.
3210         Make calculation of stream_time and running_time more correct
3211         wrt rate/applied_rate.
3212         Add some more docs.
3213         API: GstSegment::applied_rate field
3214         API: gst_segment_set_newsegment_full();
3215
3216         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3217         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3218         * libs/gst/base/gstbasetransform.c:
3219         (gst_base_transform_sink_eventfunc),
3220         (gst_base_transform_handle_buffer):
3221         Parse and use applied_rate in the GstSegment field.
3222
3223         * tests/check/gst/gstevent.c: (GST_START_TEST):
3224         Add check for applied_rate field.
3225
3226         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3227         (gstsegments_suite):
3228         Add more checks for various GstSegment operations.
3229
3230 2006-05-08  Wim Taymans  <wim@fluendo.com>
3231
3232         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3233         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3234         (gst_base_sink_get_position), (gst_base_sink_change_state):
3235         Store the sync time of the buffer end position separatly in a
3236         new variable eos_rtime so we can properly sync the EOS event.
3237         Fixes #340697.
3238         Fix the docs for gst_base_sink_set_qos_enabled().
3239         Don't set segment start to invalid value when we receive a 
3240         non TIME newsegment.
3241         get closer to handling position reporting for negative rates 
3242         correctly.
3243
3244 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3245
3246         * gst/gstcaps.c:
3247         Docs about how to print caps for debug purposes.
3248
3249         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3250         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3251
3252 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
3253
3254         * gst/gstelement.c:
3255           use full enum names and preprend a '%' in docs strings to make recent 
3256           gtk-doc turn that into a link
3257
3258 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3259
3260         * docs/manual/basics-bins.xml:
3261         * docs/manual/basics-bus.xml:
3262         * docs/manual/basics-pads.xml:
3263           Some typo fixes, some additions, some clarifications. 
3264
3265 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3266
3267         * tools/gst-inspect.c: (main):
3268         * tools/gst-launch.c: (main):
3269         * tools/gst-run.c: (main):
3270         * tools/gst-typefind.c: (main):
3271         * tools/gst-xmlinspect.c: (main):
3272           Use the string passed to g_option_context_new() for
3273           what it's intended for - the program name is already
3274           printed elsewhere.
3275
3276 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3277
3278         * tools/Makefile.am:
3279         * tools/gst-inspect.c: (main):
3280         * tools/gst-launch.c: (main):
3281         * tools/gst-xmlinspect.c: (main):
3282         * tools/tools.h:
3283           Add back --version command line option (#340460).
3284
3285         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3286           Add --version option and use GOption for argument parsing; refactor a
3287           bit; accept directories as arguments and recurse into them; lastly,
3288           print a decent error message when things go wrong.
3289
3290 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3291
3292         * docs/manual/basics-bins.xml:
3293         Don't mention GstThread (#340611)
3294         * docs/manual/basics-elements.xml:
3295         Update link to GObject tutorial (#340607)
3296         
3297 2006-05-05  Wim Taymans  <wim@fluendo.com>
3298
3299         * gst/gstbuffer.h:
3300         * gst/gstminiobject.c:
3301         Add note about refcounting and miniobject/buffer writeability
3302         to docs. Fixes #340604
3303
3304         * gst/gstelementfactory.h:
3305         Added some explanation about @klass.
3306
3307 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3308
3309         * docs/manual/intro-motivation.xml:
3310         * docs/manual/manual.xml:
3311         Avoid CORBA & Bonobo references (#340598)
3312
3313 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3314
3315         * docs/manual/basics-bus.xml:
3316         * docs/manual/basics-pads.xml:
3317         Fix up some inaccuracies and omissions (#340609)
3318         
3319 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
3320
3321         * gst/gstghostpad.c:
3322           Small typo in docs (#340625)
3323
3324 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3325
3326         * gst/parse/Makefile.am:
3327           Make 'make -j' proof (see #340698).
3328
3329 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
3330
3331         * configure.ac:
3332           Require GLib-2.8 here as well.
3333
3334 2006-05-05  Wim Taymans  <wim@fluendo.com>
3335
3336         * gst/glib-compat.c:
3337         * gst/gst.c: (init_pre):
3338         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3339         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3340         (gst_object_dispatch_properties_changed):
3341         * gst/gstobject.h:
3342         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3343         * gst/gststructure.c: (gst_structure_set_valist):
3344         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3345         Remove pre glib2.8 compatibility, fixes #340508
3346
3347 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3348
3349         * gst/gsttaglist.h:
3350           Mention type of tags in doc blurbs.
3351
3352 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
3353
3354         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3355         (gst_pad_configure_src), (gst_pad_push):
3356         Restore acceptcaps checking behaviour now that good plugins have
3357         been released.
3358
3359 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3360
3361         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3362
3363         * gst/gst.c:
3364         * gst/gstbus.c:
3365         * gst/gstclock.c:
3366         * gst/gstevent.c:
3367         * gst/gstformat.c:
3368         * gst/gstmessage.c:
3369         * gst/gstparse.c:
3370         * gst/gstquery.c:
3371         * gst/gstutils.c:
3372         * gst/parse/Makefile.am:
3373         * libs/gst/base/gstadapter.c:
3374         * libs/gst/base/gstbasesrc.c:
3375         * libs/gst/base/gstpushsrc.c:
3376         * libs/gst/base/gsttypefindhelper.c:
3377         * plugins/elements/gstfakesrc.c:
3378         * plugins/elements/gstidentity.c:
3379           Make sure gstprivate.h and/or config.h are
3380           always included first, otherwise some of our
3381           defines (like _FILE_OFFSET_BITS) might be
3382           redefined in the system headers. Fixes build
3383           on opensolaris (#340016).
3384
3385 2006-05-04  Wim Taymans  <wim@fluendo.com>
3386
3387         * docs/libs/gstreamer-libs-sections.txt:
3388         API: addition: gst_adapter_take_buffer()
3389         
3390         * libs/gst/base/gstadapter.c: (gst_adapter_push),
3391         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3392         (gst_adapter_available_fast):
3393         * libs/gst/base/gstadapter.h:
3394         Prepare for optimizing the hell out of this hugely inefficient
3395         piece of code. 
3396         Added gst_adapter_take_buffer() so we can at least start thinking
3397         about subbuffering and merging.
3398         Added some comments.
3399
3400         * tests/check/Makefile.am:
3401         * tests/check/libs/adapter.c: (GST_START_TEST),
3402         (gst_adapter_suite), (main):
3403         Added GstAdapter check.
3404
3405 2006-05-04  Wim Taymans  <wim@fluendo.com>
3406
3407         * docs/design/part-overview.txt:
3408         Fix some typos, add blurb about buffer flags.
3409
3410 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
3411
3412         * docs/libs/gstreamer-libs-sections.txt:
3413           make sure GstBaseTransformClass shows up in the docs
3414         * libs/gst/base/gstbasetransform.c:
3415         * libs/gst/base/gstbasetransform.h:
3416           move docs so gtk-doc picks it up now
3417
3418 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * docs/libs/gstreamer-libs-sections.txt:
3421           add missing symbols to docs
3422
3423 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
3424
3425         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3426           back out the newsegment handling change, see #340060 for ongoing
3427           discussion
3428
3429 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
3430
3431         * tools/gst-run.c: (get_candidates), (main):
3432           Fix wrong g_file_test() usage (see glib docs for why it doesn't
3433           work); fix typo in error message. Fixes #340079.
3434
3435 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3436
3437         * common/Makefile.am:
3438         * docs/Makefile.am:
3439         * docs/faq/Makefile.am:
3440         * docs/gst/Makefile.am:
3441         * docs/libs/Makefile.am:
3442         * docs/manual/Makefile.am:
3443         * docs/plugins/Makefile.am:
3444         * docs/pwg/Makefile.am:
3445         * docs/slides/Makefile.am:
3446         * docs/upload.mak:
3447         * common/upload.mak:
3448           move upload.mak to common
3449
3450 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
3451
3452         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3453           add more asserts on refcounts
3454           do more cleanup at end of tests
3455           fix test leaks showing in FC5
3456
3457 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
3458
3459         * plugins/elements/gsttypefindelement.c:
3460         (gst_type_find_element_handle_event):
3461         reverted wrong change and reflowed code to avoid others falling into
3462         this trap
3463
3464 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3465
3466         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3467           fix changelog entry about last collectpads change,
3468           add notes about proper fix
3469
3470 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3471
3472         * gst/gst.c:
3473         * gst/gstregistry.c: (gst_registry_scan_path_level),
3474         (gst_registry_scan_path):
3475         * gst/gstregistry.h:
3476           only write out registry if it has changed, fixes #338339
3477
3478 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3479
3480         * gst/gstbin.c:
3481         * gst/gstpipeline.c:
3482         * plugins/elements/gstcapsfilter.c:
3483         * plugins/elements/gstfakesink.c:
3484         * plugins/elements/gstfakesrc.c:
3485         * plugins/elements/gstfdsink.c:
3486         * plugins/elements/gstfdsrc.c:
3487         * plugins/elements/gstfilesink.c:
3488         * plugins/elements/gstfilesrc.c:
3489         * plugins/elements/gstidentity.c:
3490         * plugins/elements/gstqueue.c:
3491         * plugins/elements/gsttee.c:
3492         * plugins/elements/gsttypefindelement.c:
3493         (gst_type_find_element_handle_event):
3494           make GstElementDetails const
3495
3496 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3499         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3500         (gst_collect_pads_is_collected), (gst_collect_pads_event):
3501           more detailed debug and formatting cleanup,
3502           forward newsegments to src-pad (so that e.g. adder not eats them)
3503
3504 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3505
3506         * gst/gstutils.c: (gst_element_link_pads):
3507           cleanup double code
3508
3509 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
3510
3511         * libs/gst/controller/gstcontroller.c:
3512         (gst_controller_sync_values):
3513           some little tuning
3514         * tests/check/libs/controller.c: (GST_START_TEST),
3515         (gst_controller_suite):
3516           a new test for live value handling
3517
3518 2006-04-28  Wim Taymans  <wim@fluendo.com>
3519
3520         * gst/gstutils.c: (push_and_ref):
3521         Added some more docs.
3522         Fix refcount issue whith gst_element_found_tags() helper 
3523         function. Fixes #338335
3524
3525         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3526         Added testsuite for gst_element_found_tags().
3527
3528 2006-04-28  Michael Smith  <msmith@fluendo.com>
3529
3530         * gst/gstvalue.c: (gst_value_serialize_flags):
3531           Avoid NULL dereference when trying to serialize flags containing
3532           invalid values.
3533
3534 2006-04-28  Michael Smith  <msmith@fluendo.com>
3535
3536         * plugins/elements/gsttypefindelement.c:
3537         (gst_type_find_element_handle_event):
3538           If we get EOS before any data is accumulated, don't use
3539           uninitialised local variables.
3540
3541 2006-04-28  Michael Smith  <msmith@fluendo.com>
3542
3543         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3544         (gst_dp_event_from_packet):
3545           Fixes in reading/writing events over GDP (not currently used?) - 
3546           dereferencing NULL events for unknown/invalid event types, memory
3547           leak, and change g_warning to GST_WARNING.
3548
3549 2006-04-28  Wim Taymans  <wim@fluendo.com>
3550
3551         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3552         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3553         (gst_base_sink_get_position), (gst_base_sink_change_state):
3554         When frame dropping is enabled, we should not ignore frames
3555         without a duration.
3556         Update some documentation.
3557
3558 2006-04-28  Wim Taymans  <wim@fluendo.com>
3559
3560         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3561         (gst_base_src_send_event), (gst_base_src_change_state):
3562         Documentation updates.
3563
3564 2006-04-28  Wim Taymans  <wim@fluendo.com>
3565
3566         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3567         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3568         handle EAGAIN, EINTR and short writes correctly. Also clean
3569         up some error cases, avoid a deadlock on bad file descriptors and
3570         use GST_DEBUG_OBJECT.
3571         Fixes #339843
3572
3573 2006-04-28  Wim Taymans  <wim@fluendo.com>
3574
3575         * gst/gstvalue.c: (gst_value_serialize_buffer),
3576         (gst_value_deserialize_buffer):
3577         Don't try to serialize a GValue with a NULL buffer. 
3578         Fixes #339821.
3579
3580         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3581         Added check for serialisation of NULL buffers.
3582
3583 2006-04-28  Wim Taymans  <wim@fluendo.com>
3584
3585         * gst/gstminiobject.c: (gst_value_take_mini_object):
3586         Taking a NULL miniobject is valid, fix the case where
3587         we try to unref the NULL miniobject.
3588
3589 2006-04-28  Wim Taymans  <wim@fluendo.com>
3590
3591         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3592
3593         * gst/gstbin.c: (gst_bin_handle_message_func):
3594         Update docs.
3595         Don't leak bin refcount when a state recalc is
3596         in progress and we delay another one #339808.
3597
3598 2006-04-28  Wim Taymans  <wim@fluendo.com>
3599
3600         * docs/design/part-TODO.txt:
3601         Mention QoS as an ongoing work item.
3602
3603         * docs/design/part-buffering.txt:
3604         New doc about buffering that needs to be fleshed out
3605         at some point.
3606
3607         * docs/design/part-qos.txt:
3608         More QoS policy for decoders/demuxers/transforms
3609
3610         * docs/design/part-trickmodes.txt:
3611         Small update.
3612
3613 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
3614
3615         * configure.ac:
3616           back to HEAD
3617
3618 === release 0.10.5 ===
3619
3620 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
3621
3622         * configure.ac:
3623           releasing 0.10.5, "Fogo"
3624
3625 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
3626
3627         patch by: Wim Taymans
3628
3629         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3630         (gst_pad_configure_src), (gst_pad_push):
3631         * gst/gstpipeline.c: (gst_pipeline_init):
3632           Fix internal data flow errors.  Fixes #338711.
3633
3634 2006-04-12  Wim Taymans  <wim@fluendo.com>
3635
3636         * tests/check/gst/gstelement.c: (GST_START_TEST):
3637         Don't leak the factory.
3638
3639 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
3640
3641         * configure.ac:
3642         * win32/common/config.h:
3643           prerelease
3644
3645 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
3646
3647         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3648         (gst_controller_unset_all):
3649           Free allocated GstTimedValues when freeing list nodes.
3650           Should fix leaks 'make check-valgrind' complains about.
3651
3652         * win32/common/libgstcontroller.def:
3653           Add gst_controller_unset_all.
3654
3655 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
3656
3657         * docs/libs/gstreamer-libs-sections.txt:
3658         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3659         (gst_controller_unset_all):
3660         * libs/gst/controller/gstcontroller.h:
3661         API: Added new method gst_controller_unset_all()
3662         fixed gst_controller_unset()
3663         * tests/check/libs/controller.c: (GST_START_TEST),
3664         (gst_controller_suite):
3665         Added two testcases for new and fixed method
3666
3667 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
3668
3669         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3670           MSG_DONTWAIT is not defined on Cygwin, so work
3671           around that (fixes #317048).
3672           
3673 2006-04-11  Wim Taymans  <wim@fluendo.com>
3674
3675         * gst/gstelementfactory.c: (gst_element_register),
3676         (gst_element_factory_create), (gst_element_factory_make):
3677         Some cleanups.
3678         Fixed a FIXME.
3679         Updated docs (Fixes #131079)
3680
3681         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3682         Small cleanups.
3683
3684         * tests/check/gst/gstelement.c: (GST_START_TEST),
3685         (gst_element_suite):
3686         Added testcase for elementfactory class field.
3687
3688 2006-04-10  Wim Taymans  <wim@fluendo.com>
3689
3690         * gst/gstsegment.c:
3691         Added some more docs.
3692
3693         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3694         (gst_base_sink_reset_qos):
3695         Calculate more accurate rate values.
3696
3697 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
3698
3699         * gst/gst_private.h:
3700           add a new #ifdef to use __declspec(dllimport) only for
3701           other modules and not for gstreamer core
3702         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3703           use gst_guint64_to_gdouble for conversion
3704         * win32/common/libgstreamer.def:
3705           add new exported functions
3706         * win32/vs6/gst_inspect.dsp:
3707         * win32/vs6/gst_launch.dsp:
3708         * win32/vs6/libgstbase.dsp:
3709         * win32/vs6/libgstcontroller.dsp:
3710         * win32/vs6/libgstcoreelements.dsp:
3711         * win32/vs6/libgstdataprotocol.dsp:
3712         * win32/vs6/libgstnet.dsp:
3713           update project files
3714
3715 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3716
3717         * gst/gstbuffer.c: (gst_subbuffer_class_init):
3718         * gst/gstclock.c: (gst_clock_class_init):
3719         * gst/gstelement.c: (gst_element_class_init):
3720         * gst/gstindex.c: (gst_index_class_init):
3721         * gst/gstindexfactory.c: (gst_index_factory_class_init):
3722         * gst/gstobject.c: (gst_object_class_init),
3723         (gst_signal_object_class_init):
3724         * gst/gstpad.c: (gst_pad_class_init):
3725         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3726         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3727         * gst/gstregistry.c: (gst_registry_class_init):
3728         * gst/gstsystemclock.c: (gst_system_clock_class_init):
3729         * gst/gsttask.c: (gst_task_class_init):
3730         * gst/gstxml.c: (gst_xml_class_init):
3731         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3732         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3733         (gst_base_src_loop):
3734         * libs/gst/controller/gstcontroller.c:/
3735         (_gst_controller_class_init):
3736         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3737         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3738         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3739         * tests/old/examples/plugins/example.c: (gst_example_class_init):
3740         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3741         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3742
3743 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
3744
3745         * gst/gstpad.c: (gst_pad_link):
3746           Must set peer pads before calling the link function, otherwise
3747           a task started from a link function might get a flow-not-linked
3748           result when trying to push because the other thread where the
3749           linking happens hasn't had a chance to set the peers yet. This
3750           might happen for example when a queue gets linked to a downstream
3751           element, as queue starts a streaming task when its source pad
3752           gets linked. Happens in real life when playing back flac/musepack
3753           files in playbin (#332390).
3754           
3755 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
3756
3757         * gst/gstindex.h:
3758         * gst/gstxml.h:
3759         * libs/gst/base/gstadapter.h:
3760         * libs/gst/base/gstbasesink.h:
3761         * libs/gst/base/gstbasesrc.h:
3762         * libs/gst/base/gstbasetransform.h:
3763         * libs/gst/base/gstcollectpads.h:
3764         * libs/gst/base/gstpushsrc.h:
3765         Fix broken GObject macros
3766
3767 2006-04-07  Wim Taymans  <wim@fluendo.com>
3768
3769         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3770         Initialize start and stop times, thanks valgrind.
3771
3772 2006-04-07  Wim Taymans  <wim@fluendo.com>
3773
3774         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3775         Be a bit nicer to badly behaving upstream elements that expect
3776         us to deal with non TIME segments and timestamps (such as fakesrc
3777         in the testsuite).
3778
3779 2006-04-07  Wim Taymans  <wim@fluendo.com>
3780
3781         * gst/gstbus.c:
3782         Small documentation clarification about the signal watch.
3783
3784         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3785         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3786         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3787         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3788         (gst_base_sink_get_position_last),
3789         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3790         Convert and store timestamps in stream time and running time, the
3791         raw timestamps are not usefull, also document this better.
3792         Use different window sizes for good and bad QoS observations so
3793         we react to badness a little quicker.
3794         Keep track of the amount of rendered and dropped buffers.
3795         Send QoS timestamps in running time.
3796
3797         * libs/gst/base/gstbasetransform.c:
3798         (gst_base_transform_sink_eventfunc),
3799         (gst_base_transform_handle_buffer):
3800         Compare QoS timestamps against running time.
3801
3802 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3803
3804         * gst/gstpad.c:
3805           Typo fixes in docs.
3806
3807 2006-04-06  Michael Smith  <msmith@fluendo.com>
3808
3809         * gst/gstpad.c: (gst_pad_set_property):
3810           Use g_value_get_object() instead of g_value_dup_gst_object(),
3811           to avoid double-reffing the pad template (which we then sink,
3812           so this worked previously if (and only if) the pad template
3813           was floating.
3814
3815         * gst/gstpadtemplate.c: (gst_pad_template_init),
3816         (gst_pad_template_pad_created):
3817           Never return floating references to pad templates, create
3818           them as initially-sunken.
3819
3820           Document an extra function (and make this stop sinking our
3821           pad template, since that is now guaranteed to do nothing,
3822           since we created it sunken).
3823
3824         * gst/gstghostpad.c:
3825           Fix docs typo.
3826
3827 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
3828
3829         * gst/gstinfo.c: (__gst_in_valgrind):
3830           Add some newlines.
3831
3832         * plugins/elements/gsttypefindelement.c:
3833         (gst_type_find_element_chain):
3834           Don't leak buffer caps.
3835
3836 2006-04-06  Michael Smith  <msmith@fluendo.com>
3837
3838         * gst/parse/grammar.y:
3839           Fix a leak in parse-launch for any source-or-sink named element 
3840           references used.
3841
3842         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3843           Unref the pipeline if it exists after we've failed parsing.
3844
3845 2006-04-05  Michael Smith  <msmith@fluendo.com>
3846
3847         * gst/gstpipeline.c: (gst_pipeline_init):
3848           When we create a pipeline bus, initially create it in flushing mode.
3849           Fixes leaks in at least one test, and makes a new pipeline work the
3850           same as one that has gone to READY and then back to NULL.
3851
3852         * gst/gstelement.c:
3853           Typo fix in docs.
3854
3855 2006-04-05  Michael Smith  <msmith@fluendo.com>
3856
3857         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3858           Unref a pad we reffed.
3859         * tests/check/gst/gstutils.c: (GST_START_TEST):
3860           Unref bins
3861
3862 2006-04-05  Michael Smith  <msmith@fluendo.com>
3863
3864         * gst/gstquery.c: (gst_query_set_formats),
3865         (gst_query_set_formatsv):
3866           Fix leaking GValues in queries, as shown by valgrind/testsuite.
3867
3868 2006-04-05  Michael Smith  <msmith@fluendo.com>
3869
3870         * tests/check/generic/sinks.c: (GST_START_TEST):
3871           Fix a variety of memleaks in sinks check, which are only sometimes 
3872           shown by running the tests under valgrind (weird?).
3873
3874 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
3875
3876         * docs/version.entities.in:
3877           Fix the substituted entity name after thomas' changes on the
3878           weekend.
3879
3880 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
3881
3882         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3883         VALGRIND_PRINTF
3884         
3885 2006-04-05  Andy Wingo  <wingo@pobox.com>
3886
3887         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3888
3889         * libs/gst/base/gstbasetransform.c
3890         (gst_base_transform_sink_eventfunc): When resetting our segment on
3891         FLUSH_STOP, also update the flag saying we haven't seen a
3892         newsegment.
3893
3894 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3895
3896         Patch by: Paolo Borelli  <pborelli at katamail dot com>
3897
3898         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3899         (gst_plugin_check_license):
3900           minor clean-ups: G_DEFINE_TYPE already takes care of the
3901           parent_class stuff, no need to do it twice. Mark array of
3902           license strings as constant. (#337103)
3903           
3904 2006-04-04  Michael Smith  <msmith@fluendo.com>
3905
3906         * tools/gst-inspect.c: (print_element_list):
3907           Free the right plugin list; fixes a memory leak.
3908
3909 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3910
3911         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
3912
3913         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3914           Don't error out on empty buffers (#336945).
3915           
3916 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
3917
3918         * docs/libs/gstreamer-libs-sections.txt:
3919         * gst/gsttaglist.c:
3920         * libs/gst/base/gstbasesink.c:
3921         * libs/gst/base/gstbasesink.h:
3922         * libs/gst/base/gstbasesrc.c:
3923         * libs/gst/base/gstbasesrc.h:
3924           Documentation updates. Make BaseSink and BaseSrc docs contain the
3925           class structure so that people can actually see the prototypes for
3926           virtual functions they're supposed to be overriding.
3927
3928 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
3929
3930         * plugins/elements/gsttypefindelement.c:
3931         (gst_type_find_element_chain):
3932           More debug info; when skipping typefinding, send cached
3933           events in all cases.
3934
3935 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
3936
3937         * configure.ac:
3938           use new AS_VERSION and AS_NANO macros
3939         * gst/gst-i18n-lib.h:
3940         * gst/gst.c:
3941         * gst/gsterror.c:
3942         * gst/gstversion.h.in:
3943         * win32/common/config.h:
3944         * win32/common/config.h.in:
3945           update accordingly
3946
3947 2006-03-31  Michael Smith  <msmith@fluendo.com>
3948
3949         * plugins/elements/gsttypefindelement.c:
3950         (gst_type_find_element_chain):
3951           Do not typefind content if the buffers already have caps.
3952           Neccesary for icydemux (#333657), and the right thing to do anyway.
3953
3954 2006-03-30  Wim Taymans  <wim@fluendo.com>
3955
3956         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3957         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3958         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3959         (gst_base_sink_record_qos_observation),
3960         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3961         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3962         (gst_base_sink_change_state):
3963         More QoS measurements as described in the design doc.
3964         Get rid of ringbuffer with observations, running average is
3965         more simple and equally good.
3966         Calculates valid proportion now.
3967         Added beginning of flood measurement.
3968
3969 2006-03-29  Wim Taymans  <wim@fluendo.com>
3970
3971         * docs/design/part-qos.txt:
3972         * gst/gstclock.c:
3973         Small documentation updates and additions.
3974
3975 2006-03-29  Wim Taymans  <wim@fluendo.com>
3976
3977         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3978         (gst_base_src_send_event), (gst_base_src_loop),
3979         (gst_base_src_change_state):
3980         Perform the EOS logic when we reach the segment stop position.
3981         Fix compilation on gcc4.1
3982
3983 2006-03-29  Wim Taymans  <wim@fluendo.com>
3984
3985         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3986
3987         * plugins/elements/gstqueue.c: (gst_queue_init),
3988         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3989         (gst_queue_set_property):
3990         * plugins/elements/gstqueue.h:
3991         In queue, when EOS is received, if minimum threshold > max_size -
3992         current_level, there is chance that queue blocks forever in conditional
3993         item del wait. This is because the queue is not emptied completely due
3994         to minimum threshold.  Here is another approach. Instead of setting
3995         cur_levels to max in EOS, just zero all minimum threshold levels. This
3996         should make sure that queue gives out all data. When going to READY
3997         (stop) state, just reset the original minimum threshold levels.
3998         Fixes #336336.
3999
4000 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
4001
4002         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4003         (gst_type_find_element_handle_event),
4004         (gst_type_find_element_send_cached_events),
4005         (gst_type_find_element_change_state):
4006         * plugins/elements/gsttypefindelement.h:
4007           When typefinding is done in push mode, we should cache
4008           events we receive during typefinding instead of just
4009           dropping them (e.g. newsegment, custom events from
4010           dvdreadsrc etc.) and then send them out once we've
4011           determined the type of the stream (and decodebin
4012           has had a chance to plug in a decoder/demuxer).
4013           
4014 2006-03-27  Wim Taymans  <wim@fluendo.com>
4015
4016         * docs/design/part-qos.txt:
4017         First QoS ideas.
4018
4019 2006-03-27  Wim Taymans  <wim@fluendo.com>
4020
4021         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4022
4023         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4024         (gst_base_src_send_event), (gst_base_src_change_state):
4025         Handle element seek correctly when we are streaming.
4026         Fixes #326998.
4027
4028 2006-03-24  Michael Smith  <msmith@fluendo.com>
4029
4030         * docs/faq/gst-uninstalled:
4031           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4032           allow you to correctly run intalled applications built against old 
4033           core, using plugins that require updated core (e.g. running
4034           installed totem against a full uninstalled gstreamer stack)
4035
4036 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4037
4038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4039         more debug details
4040
4041 2006-03-24  Wim Taymans  <wim@fluendo.com>
4042
4043         * docs/gst/gstreamer-sections.txt:
4044         Rearrange the order of the methods so that related methods
4045         are grouped together in sections.
4046
4047 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4048
4049         * gst/gstelement.c:
4050           Little clarification in the docs
4051
4052 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
4053
4054         * docs/README:
4055         formatting fix
4056         * plugins/elements/gstidentity.c:
4057         * plugins/elements/gstqueue.c:
4058         * plugins/elements/gsttee.c:
4059         * plugins/elements/gsttypefindelement.c:
4060         GST_ELEMENT_DETAILS formatting
4061
4062 2006-03-24  Wim Taymans  <wim@fluendo.com>
4063
4064         * libs/gst/base/gstbasesink.h:
4065         Only add fields, not insert or we break ABI.
4066
4067 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4068
4069         * win32/common/libgstbase.def:
4070         * win32/common/libgstreamer.def:
4071           Update, add recently added functions.
4072
4073 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4074
4075         * docs/gst/gstreamer-sections.txt:
4076         * gst/gstutils.c: (gst_pad_query_peer_position),
4077         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4078         * gst/gstutils.h:
4079           API: add some new utility functions:
4080            - gst_pad_query_peer_position()
4081            - gst_pad_query_peer_duration()
4082            - gst_pad_query_peer_convert()
4083           
4084 2006-03-23  Wim Taymans  <wim@fluendo.com>
4085
4086         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4087         (gst_base_sink_init), (gst_base_sink_finalize),
4088         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4089         (gst_base_sink_set_property), (gst_base_sink_get_property),
4090         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4091         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4092         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4093         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4094         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4095         (gst_base_sink_preroll_object), (gst_base_sink_event),
4096         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4097         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4098         (gst_base_sink_query), (gst_base_sink_change_state):
4099         Decouple max-lateness and the fact that QoS messages are generated
4100         with a new property (qos).
4101         added API: GstBaseSink::async_play()
4102         Add vmethod so subclasses can be notified of ASYNC playing
4103         state changes.
4104         Collect timestamp start and stop to report better current
4105         position in EOS/PLAYING/PAUSED/READY/NULL.
4106         Refactor QoS/frame dropping and other measurements.
4107         API: GstBaseSrc::qos
4108         Fixes #326311
4109
4110         * libs/gst/base/gstbasesink.h:
4111         Added Private struct.
4112         API: gst_base_sink_set_qos_enabled()
4113         API: gst_base_sink_is_qos_enabled()
4114
4115 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
4116
4117         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4118           If compiling against GLib-2.8 or newer, try to read the
4119           registry file using GMappedFile first before falling back
4120           to fopen() + fread() (#332151).
4121
4122 2006-03-22  Wim Taymans  <wim@fluendo.com>
4123
4124         * gst/gstinfo.c: (gst_debug_set_active),
4125         (gst_debug_category_set_threshold):
4126         Disable debugging unless explicitly activated.
4127         Fixes #335480.
4128
4129 2006-03-22  Wim Taymans  <wim@fluendo.com>
4130
4131         * gst/gstelement.c: (gst_element_set_locked_state),
4132         (gst_element_dispose):
4133         Cleanup the error case.
4134
4135         * gst/gstobject.c: (gst_object_dispose):
4136         print a critical when some object was disposed with
4137         a parent, also revive the object since it might
4138         crash the parent.
4139
4140 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
4141
4142         * tools/gst-launch.1.in:
4143           Fix another typo.
4144
4145 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4146
4147         * configure.ac:
4148         * tests/check/Makefile.am:
4149           disable some tests when we don't have a registry
4150         * tests/check/gst/gstutils.c: (gst_utils_suite):
4151           don't build the part that needs parsing
4152
4153 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4154
4155         * gst/Makefile.am
4156         * tests/examples/Makefile.am:
4157           fix --disable-parse build
4158
4159 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4160
4161         * tools/gst-feedback.1.in:
4162           Fix typo: s/feeback/feedback/ (#133494).
4163
4164 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         * tools/Makefile.am:
4167         * tools/gst-launch.1.in:
4168           Add FILES section and correct entry about GST_REGISTRY_PATH
4169           environment variable (#133495; #133494).
4170
4171 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4172
4173         * tools/Makefile.am:
4174         * tools/gst-md5sum.1.in:
4175         * tools/gst-md5sum.c:
4176           Remove gst-md5sum and man page (the md5sink element
4177           required was removed ages ago)
4178
4179 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4180
4181         * gst/gststructure.c: (gst_structure_id_set_value):
4182           Make sure that string fields in structures/taglists
4183           contain valid UTF-8 - we don't want to pass rubbish to
4184           applications because of a buggy plugin (cp. #334167).
4185
4186 2006-03-21  Edward Hervey  <edward@fluendo.com>
4187
4188         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4189         (gst_bin_handle_message_func):
4190         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4191         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4192         (gst_element_set_bus_func):
4193         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4194         * gst/gstminiobject.c: (gst_value_set_mini_object),
4195         (gst_value_take_mini_object):
4196         * gst/gstpad.c: (gst_pad_set_pad_template):
4197         * gst/gstpipeline.c: (gst_pipeline_dispose),
4198         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4199         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4200         (gst_collect_pads_chain):
4201         * libs/gst/net/gstnettimeprovider.c:
4202         (gst_net_time_provider_set_property):
4203         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4204         It's in fact all issues with gst_*object_replace().
4205
4206 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
4207
4208         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
4209         
4210         * pkgconfig/gstreamer-check-uninstalled.pc.in:
4211         * pkgconfig/gstreamer-check.pc.in:
4212           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4213
4214 2006-03-21  Edward Hervey  <edward@fluendo.com>
4215
4216         * gst/gstbuffer.h:
4217         * gst/gstevent.h:
4218         * gst/gstmessage.h:
4219         gst_[buffer|event|message]_ref() macros are replaced by a static
4220         inline functions because gcc-4.1 will about if the return value
4221         isn't used.
4222         * tests/check/gst/gstevent.c: (event_probe):
4223         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4224
4225 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
4226
4227         * gst/gstutils.h:
4228         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4229         the type' case. (Closes: #335195 for now). In the future, when we
4230         depend on GLib 2.10, we could also intern the type name using
4231         g_intern_static_string()
4232
4233 2006-03-20  Wim Taymans  <wim@fluendo.com>
4234
4235         * gst/gstbin.c: (gst_bin_handle_message_func),
4236         (bin_query_max_init), (bin_query_position_fold),
4237         (bin_query_position_done), (gst_bin_query):
4238         Position query should also take max of all streams.
4239
4240 2006-03-20  Wim Taymans  <wim@fluendo.com>
4241
4242         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4243         (gst_fake_src_finalize):
4244         Fix leaks in fakesrc.
4245
4246         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4247         Fix leaks in the testcase.
4248
4249 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
4250
4251         * gst/gst_private.h:
4252           add win32 specific import decoration(__declspec(dllimport)) 
4253           for all extern GstDebugCategory * variables
4254         * win32/common/libgstbase.def:
4255         * win32/common/libgstcontroller.def:
4256         * win32/common/libgstreamer.def:
4257           Add some exports, remove empty lines
4258         * win32/common/libgstdataprotocol.def:
4259         * win32/common/libgstdataprotocol.dsp:
4260         * win32/common/libgstnet.def:
4261         * win32/common/libgstnet.dsp:
4262           new project files and exportation files added
4263         
4264 2006-03-19  Wim Taymans  <wim@fluendo.com>
4265
4266         * tests/check/libs/basesrc.c: (eos_event_counter):
4267         Use proper return value for probe.
4268
4269 2006-03-17  Wim Taymans  <wim@fluendo.com>
4270
4271         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4272         (gst_pad_push):
4273         Don't leak buffers, caps and pads on negotiation errors.
4274
4275 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
4276
4277         * docs/faq/cvs.xml:
4278         * docs/faq/dependencies.xml:
4279         * docs/faq/developing.xml:
4280         * docs/faq/faq.xml:
4281         * docs/faq/general.xml:
4282         * docs/faq/getting.xml:
4283         * docs/faq/legal.xml:
4284         * docs/faq/troubleshooting.xml:
4285         * docs/faq/using.xml:
4286         Faq review and update.
4287
4288 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
4289
4290         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4291         (gst_pad_push):
4292         Don't pound the cpu to pieces by checking get_caps when accept_caps
4293         is called with the same caps as the pad already has.
4294         Use GST_DEBUG_OBJECT when outputting caps change information.
4295
4296 2006-03-15  Wim Taymans  <wim@fluendo.com>
4297
4298         * gst/gstclock.c: (gst_clock_class_init):
4299         Fix docs.
4300
4301 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
4302
4303         * gst/gstbuffer.h:
4304         Documentation fix.
4305
4306         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4307         (gst_pad_accept_caps), (gst_pad_configure_sink),
4308         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4309         Make the default acceptcaps behaviour be to check the requested 
4310         caps against the gst_pad_get_caps output. 
4311
4312         Ensure that gst_pad_accept_caps is used to check caps when a pad
4313         doesn't have a setcaps function, so that pads automatically refuse 
4314         caps that they don't allow in their pad template. (Fixes #332986)
4315
4316         When a buffer with attached caps is pushed, ensure that the source 
4317         pad receives those caps even if the element didn't call
4318         gst_pad_set_caps first.
4319
4320 2006-03-15  Wim Taymans  <wim@fluendo.com>
4321
4322         * libs/gst/base/gstadapter.c:
4323         Add some docs.
4324
4325 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4326
4327         * win32/common/libgstbase.def:
4328         * win32/common/libgstcontroller.def:
4329         * win32/common/libgstreamer.def:
4330           Add a whole bunch of missing functions (#334434).
4331
4332 2006-03-14  Wim Taymans  <wim@fluendo.com>
4333
4334         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4335         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4336         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4337         Better debug info when we receive a segment event.
4338         Reorganize a bit so we can pass the get_times() results around.
4339         Use the segment format when calculating the running time.
4340         Don't do QoS is sync is disabled or we have no clock or the
4341         element does not want us to sync to the clock.
4342         Don't drop buffers if QoS is disabled for now.
4343
4344 2006-03-14  Wim Taymans  <wim@fluendo.com>
4345
4346         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4347         Marked the stats property as unimplemented so people don't get
4348         wild ideas.
4349         Add debug message when regression goes wrong.
4350         Added some more docs.
4351
4352 2006-03-14  Wim Taymans  <wim@fluendo.com>
4353
4354         * gst/gstsegment.c: (gst_segment_to_stream_time):
4355         Return correct return type in case of errors.
4356
4357 2006-03-14  Wim Taymans  <wim@fluendo.com>
4358
4359         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4360           Don't segfault on invalid formats.
4361
4362 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4365           Can't use gst_segment_to_running_time() when the segment
4366           is not in GST_TIME_FORMAT (like with filesink, for example).
4367           Stops flac encoding pipelines from spewing critical warnings
4368           at EOS (#331248).
4369           
4370 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4371
4372         * gst/gstpipeline.c: (gst_pipeline_class_init):
4373           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4374
4375         * plugins/elements/gsttypefindelement.c:
4376         (gst_type_find_element_handle_event):
4377           Don't try to typefind empty streams.
4378
4379 2006-03-14  Wim Taymans  <wim@fluendo.com>
4380
4381         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4382         (gst_base_sink_do_qos):
4383         Separate QoS calculation.
4384         Only drop buffers when lateness is bigger than the 
4385         duration of the buffer.
4386
4387 2006-03-13  Wim Taymans  <wim@fluendo.com>
4388
4389         * gst/gstpipeline.c: (gst_pipeline_set_property),
4390         (gst_pipeline_get_property), (do_pipeline_seek),
4391         (gst_pipeline_change_state), (gst_pipeline_set_delay),
4392         (gst_pipeline_get_delay):
4393         Don't deadlock when reading properties.
4394
4395 2006-03-13  Wim Taymans  <wim@fluendo.com>
4396
4397         * libs/gst/base/gstbasetransform.c:
4398         (gst_base_transform_class_init), (gst_base_transform_init),
4399         (gst_base_transform_sink_event),
4400         (gst_base_transform_sink_eventfunc),
4401         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4402         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4403         (gst_base_transform_set_property),
4404         (gst_base_transform_get_property),
4405         (gst_base_transform_change_state), (gst_base_transform_update_qos),
4406         (gst_base_transform_set_qos_enabled),
4407         (gst_base_transform_is_qos_enabled):
4408         * libs/gst/base/gstbasetransform.h:
4409         Make basetransform virtual method for src events too.
4410         Handle QOS in basetransform.
4411         API: gst_base_transform_update_qos()
4412         API: gst_base_transform_set_qos_enabled()
4413         API: gst_base_transform_is_qos_enabled()
4414
4415 2006-03-13  Wim Taymans  <wim@fluendo.com>
4416
4417         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4418         (gst_base_sink_do_sync):
4419         Small cleanups.
4420         Use QOS debug category.
4421
4422 2006-03-13  Wim Taymans  <wim@fluendo.com>
4423
4424         * plugins/elements/gstqueue.c:
4425         Very small doc update.
4426
4427 2006-03-13  Wim Taymans  <wim@fluendo.com>
4428
4429         * gst/gst_private.h:
4430         * gst/gstinfo.c: (_gst_debug_init):
4431         Added QOS debug category
4432
4433 2006-03-13  Wim Taymans  <wim@fluendo.com>
4434
4435         * docs/gst/gstreamer-sections.txt:
4436         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4437         * gst/gstbin.h:
4438         * gst/gstbus.c: (gst_bus_class_init):
4439         * gst/gstbus.h:
4440         * gst/gstclock.c:
4441         * gst/gstelement.c: (gst_element_set_locked_state):
4442         * gst/gstsegment.c:
4443         Documentation updates.
4444
4445         * gst/gstpipeline.c: (gst_pipeline_get_type),
4446         (gst_pipeline_class_init), (gst_pipeline_init),
4447         (gst_pipeline_dispose), (gst_pipeline_set_property),
4448         (gst_pipeline_get_property), (do_pipeline_seek),
4449         (gst_pipeline_send_event), (gst_pipeline_change_state),
4450         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4451         (gst_pipeline_get_delay):
4452         * gst/gstpipeline.h:
4453         Added methods for setting the delay.
4454         API: gst_pipeline_set_delay()
4455         API: gst_pipeline_get_delay()
4456         Add pipeline debug category
4457         Various cleanups.
4458         Updated docs.
4459         Don't reset stream time when seek failed.
4460
4461 2006-03-13  Wim Taymans  <wim@fluendo.com>
4462
4463         * docs/design/draft-klass.txt:
4464         * docs/design/part-clocks.txt:
4465         * docs/design/part-events.txt:
4466         * docs/design/part-gstbin.txt:
4467         * docs/design/part-gstpipeline.txt:
4468         * docs/design/part-messages.txt:
4469         * docs/design/part-negotiation.txt:
4470         * docs/design/part-overview.txt:
4471         * docs/design/part-preroll.txt:
4472         * docs/design/part-seeking.txt:
4473         * docs/design/part-states.txt:
4474         * docs/design/part-streams.txt:
4475         Documentation updates.
4476
4477 2006-03-12  Julien MOUTTE  <julien@moutte.net>
4478
4479         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4480         us to leak strings...
4481
4482 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4483
4484         * libs/gst/net/gstnettimeprovider.c:
4485           fix docs
4486         * win32/common/config.h:
4487           update
4488
4489 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4490
4491         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4492
4493         * configure.ac:
4494           Don't check for libgnomeui (leftover from old examples
4495           that aren't built or disted any longer) (#334303).
4496           
4497 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
4498
4499         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4500         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4501           Emit RESOURCE_NO_SPACE_LEFT error here as well when
4502           there's no space left on the device.
4503
4504 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
4505
4506         * gst/gstclock.h:
4507           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4508           to cast the input to GstClockTime before comparing with
4509           another GstClockTime value.
4510
4511 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
4512
4513         * configure.ac:
4514           back to trunk
4515
4516 === release 0.10.4 ===
4517
4518 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
4519
4520         * configure.ac:
4521           releasing 0.10.4, "Light"
4522
4523 2006-03-10  Michael Smith  <msmith@fluendo.com>
4524
4525         * libs/gst/dataprotocol/dataprotocol.c:
4526           Fix docs for dataprocotol to not get the return types completely
4527           wrong for a few functions.
4528
4529 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4530
4531         * docs/gst/gstreamer-sections.txt:
4532         * gst/gstpipeline.c: (gst_pipeline_class_init),
4533         (gst_pipeline_init), (gst_pipeline_set_property),
4534         (gst_pipeline_get_property), (gst_pipeline_change_state),
4535         (gst_pipeline_set_auto_flush_bus),
4536         (gst_pipeline_get_auto_flush_bus):
4537         * gst/gstpipeline.h:
4538           Add new API: gst_pipeline_set_auto_flush_bus() and
4539           gst_pipeline_get_auto_flush_bus() to disable automatic
4540           flushing of the pipeline's GstBus when going from READY
4541           to NULL state (#332045).
4542
4543 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4544
4545         * docs/gst/gstreamer-sections.txt:
4546         * gst/gsturi.c: (gst_uri_has_protocol):
4547         * gst/gsturi.h:
4548            Add new API: gst_uri_has_protocol() (#333779).
4549
4550 2006-03-09  Wim Taymans  <wim@fluendo.com>
4551
4552         * gst/gstclock.c: (gst_clock_entry_new),
4553         (gst_clock_id_compare_func), (gst_clock_id_wait),
4554         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4555         (gst_clock_init), (gst_clock_get_internal_time),
4556         (gst_clock_set_master), (do_linear_regression),
4557         (gst_clock_add_observation), (gst_clock_set_property):
4558         * gst/gstclock.h:
4559         Review docs.
4560         Small cleanups.
4561         Fix a possible segfault when the window-size is made smaller.
4562         Calculate jitter before performing the clock wait. Ideally
4563         the clock implementation should calculate jitter but we need
4564         API breakage for that.
4565
4566         * gst/gstsystemclock.c: (gst_system_clock_init):
4567         Docs review.
4568         
4569         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4570         Remove leftover else
4571
4572         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4573         (gst_systemclock_suite):
4574         Added check to test GST_CLOCK_DIFF.
4575
4576 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
4577
4578         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4579         (gst_type_find_helper_get_range):
4580           If we are provided with the size, we should implement
4581           GstTypeFind::get_length, so that typefind functions who
4582           want to can actually peek at the middle of a file.
4583
4584 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
4585
4586         * docs/manual/advanced-dataaccess.xml:
4587           Add some very very basic error checking.
4588
4589         * docs/pwg/appendix-checklist.xml:
4590           Some updates to the list of things to check when writing an element.
4591
4592 2006-03-08  Wim Taymans  <wim@fluendo.com>
4593
4594         * docs/design/part-element-transform.txt:
4595         Added some docs about the design of tranform elements.
4596
4597         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4598         (gst_base_src_loop), (gst_base_src_change_state):
4599         Mark buffers with the DISCONT flag.
4600
4601 2006-03-08  Michael Smith  <msmith@fluendo.com>
4602
4603         * gst/gstregistry.h:
4604         * gst/gstregistryxml.c: (gst_registry_save),
4605         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4606         (gst_registry_xml_save_pad_template),
4607         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4608         (gst_registry_xml_write_cache):
4609           Rewrite registry-saving to avoid race conditions and check for
4610           failed writes.
4611
4612 2006-03-08  Wim Taymans  <wim@fluendo.com>
4613
4614         * libs/gst/base/gstbasetransform.c:
4615         (gst_base_transform_transform_caps),
4616         (gst_base_transform_transform_size),
4617         (gst_base_transform_prepare_output_buffer),
4618         (gst_base_transform_get_unit_size),
4619         (gst_base_transform_buffer_alloc),
4620         (gst_base_transform_handle_buffer),
4621         (gst_base_transform_change_state):
4622         Cleanups, separate normal flow from errors, add sensible
4623         DEBUG lines.
4624         Don't try to renegotiate when allocating an output buffer.
4625         Also copy DISCONT buffer flag when copying a buffer.
4626         Reset the transform after we finish streaming, not during.
4627
4628 2006-03-08  Wim Taymans  <wim@fluendo.com>
4629
4630         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4631         Use last buffer timestamp in qos message.
4632
4633 2006-03-07  Wim Taymans  <wim@fluendo.com>
4634
4635         Patch by: Christophe Fergeau
4636
4637         * docs/pwg/advanced-tagging.xml:
4638         * docs/pwg/building-pads.xml:
4639           fixes #333416
4640
4641 2006-03-07  Wim Taymans  <wim@fluendo.com>
4642
4643         * docs/libs/gstreamer-libs-sections.txt:
4644         Added basesink new methods.
4645
4646         * gst/gstevent.c:
4647         * gst/gstevent.h:
4648         Docs updates. Flesh out the QoS docs.
4649
4650         * libs/gst/base/gstadapter.c:
4651         Small doc clarification about ownership and flushing.
4652
4653         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4654         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4655         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4656         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4657         * libs/gst/base/gstbasesink.h:
4658         API additions: 
4659         Added new methods to allow subclass to control max-lateness 
4660         and sync.
4661         Generate very basic QoS events based on last sync observation.
4662         Updated docs, fix typo, added some QoS blurb.
4663
4664         * libs/gst/base/gstbasesrc.c:
4665         Remove obsolete _get_state() calls from docs.
4666
4667 2006-03-07  Wim Taymans  <wim@fluendo.com>
4668
4669         * docs/libs/gstreamer-libs-sections.txt:
4670         * libs/gst/base/gstbasetransform.h:
4671         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4672         Fix docs for GstBaseSrc.
4673
4674 2006-03-07  Wim Taymans  <wim@fluendo.com>
4675
4676         * docs/gst/gstreamer-sections.txt:
4677         * gst/gstbuffer.h:
4678         * gst/gstvalue.c:
4679         * libs/gst/base/gstbasetransform.h:
4680         Small documentation fixes.
4681
4682 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4683
4684         * gst/gstvalue.c:
4685           Document thread-unsafety of gst_value_register_foo_func()
4686           when used at the same time as gst_value_foo() (#322628).
4687
4688 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4689
4690         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4691         (gst_push_src_check_get_range):
4692           Push sources don't support pull mode by default.
4693
4694 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4695
4696         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4697         (gst_base_src_init), (gst_base_src_pad_check_get_range),
4698         (gst_base_src_default_check_get_range):
4699         * libs/gst/base/gstbasesrc.h:
4700           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4701           provide default implementation, and rename
4702           gst_base_src_check_get_range() to
4703           gst_base_src_pad_check_get_range() for clarity.
4704
4705 2006-03-06  Wim Taymans  <wim@fluendo.com>
4706
4707         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4708         Make property overridable.
4709
4710 2006-03-06  Wim Taymans  <wim@fluendo.com>
4711
4712         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4713         (gst_base_sink_init), (gst_base_sink_set_property),
4714         (gst_base_sink_get_property), (gst_base_sink_do_sync):
4715         * libs/gst/base/gstbasesink.h:
4716         API addition: Make max-lateness a property.
4717
4718 2006-03-06  Wim Taymans  <wim@fluendo.com>
4719
4720         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4721         (gst_base_sink_do_sync), (gst_base_sink_render_object):
4722         Don't ever draw a frame that is >10ms late.
4723
4724 2006-03-06  Michael Smith  <msmith@fluendo.com>
4725
4726         * gst/gstmessage.c: (_gst_message_copy):
4727           When copying a message, set the parent_refcount of the enclosed
4728           structure to point at the copy, not the original message.
4729
4730 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
4731
4732         Patch by: Christophe Fergeau
4733
4734         * gst/gstutils.h:
4735           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4736           usable in c++ code (#333417)
4737
4738 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4739
4740         * gst/gstclock.h:
4741           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4742
4743 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
4744
4745         * libs/gst/base/gstbasetransform.c:
4746         (gst_base_transform_transform_caps):
4747           Make sure caps are writable before passing them to
4748           gst_caps_append().
4749
4750 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4751
4752         * gst/gsterror.h:
4753           Fix some minor docs errors.
4754
4755 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
4756
4757           Patch by: Ross Burton <ross at burtonini dot com>
4758
4759         * gst/gsterror.c: (_gst_resource_errors_init):
4760         * gst/gsterror.h:
4761           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4762
4763 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4764
4765         * gst/gst.c:
4766         Add a check and output a g_warning when GStreamer is built
4767         against GLib 2.6 but running against 2.8 or higher, and vice 
4768         versa. (Closes: #323542)
4769
4770 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
4771
4772         * gst/parse/parse.l:
4773           Commit patch for parse_launch syntax from #331255. Removes 
4774           support for quoted strings and mimetypes when writing filtered 
4775           caps. See the bug report for more details - I'm pretty sure this
4776           obscure feature is not in use by _anyone_ anywhere.
4777
4778           With this simple change, the size of the gstreamer.so here 
4779           drops from 2193KB to 1565KB.
4780
4781 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4782
4783         * plugins/elements/gsttypefindelement.h:
4784         * plugins/elements/gsttypefindelement.c:
4785         (gst_type_find_element_src_event), (start_typefinding),
4786         (stop_typefinding), (gst_type_find_element_handle_event),
4787         (gst_type_find_element_chain),
4788         (gst_type_find_element_chain_do_typefinding):
4789           Use gst_type_find_helper_for_buffer() for chain-based
4790           typefinding.
4791
4792 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4793
4794         * plugins/elements/gsttypefindelement.c:
4795         (gst_type_find_element_class_init),
4796         (gst_type_find_element_set_property),
4797         (gst_type_find_element_get_property):
4798           Deprecate "maximum" property (not only was it only taken into
4799           account for typefinding in push-mode anyway, it also was never
4800           actually possible to set it in the first place because the
4801           property was registered with the numeric property ID for the
4802           "minimum" property). Register "maximum" property correctly,
4803           for the sake of future copy'n'pasters. Remove some cruft
4804           from property get/set functions.
4805
4806 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
4807
4808         * plugins/elements/gsttypefindelement.c:
4809         (gst_type_find_element_activate):
4810           Use gst_type_find_helper_get_range() here, so we
4811           can honour the "minimum" property and also emit
4812           the signal with the correct probability of the found caps.
4813
4814 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
4815
4816         * docs/libs/gstreamer-libs-sections.txt:
4817         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4818         (helper_find_suggest), (gst_type_find_helper_get_range),
4819         (gst_type_find_helper):
4820         * libs/gst/base/gsttypefindhelper.h:
4821           New API: gst_type_find_helper_get_range() (#333042).
4822
4823 2006-03-02  Michael Smith  <msmith@fluendo.com>
4824
4825         * gst/gstregistryxml.c: (load_feature):
4826           Asserting on a failure to read part of the registry is Not Cool.
4827           Just log a warning and return NULL (which is already handled)
4828
4829 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
4830
4831         * win32/common/libgstbase.def:
4832           added export of gst_type_find_helper_for_buffer
4833         * win32/common/libgstbase.def:
4834           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4835           gst_ghost_pad_get_target
4836
4837 2006-02-28  Wim Taymans  <wim@fluendo.com>
4838
4839         * docs/design/draft-klass.txt:
4840         We use Filter now.
4841         Added Connector to mark elements that are only used to
4842         allow pipeline connections.
4843         Moved Debug to extra feature since most of them are 
4844         functionally something else.
4845
4846 2006-02-28  Wim Taymans  <wim@fluendo.com>
4847
4848         * docs/design/draft-klass.txt:
4849         Some updates and clarifications.
4850
4851 2006-02-28  Wim Taymans  <wim@fluendo.com>
4852
4853         * docs/design/draft-klass.txt:
4854         Proposal for klass field values.
4855
4856         * docs/design/part-streams.txt:
4857         Start of a doc describing stream anatomy.
4858
4859 2006-02-28  Wim Taymans  <wim@fluendo.com>
4860
4861         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4862         Help the compiler a bit with type registration.
4863         Use existing forward cod path instead of duplicating it when 
4864         handling a message.
4865         
4866         * gst/gstbus.c: (gst_bus_get_type):
4867         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4868         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4869         * gst/gstclock.c: (gst_clock_get_type):
4870         * gst/gstelement.c: (gst_element_get_type),
4871         * gst/gstelementfactory.c: (gst_element_factory_get_type):
4872         * gst/gstindexfactory.c: (gst_index_factory_get_type):
4873         * gst/gstminiobject.c: (gst_mini_object_get_type):
4874         * gst/gstpad.c: (gst_pad_get_type):
4875         * gst/gstsegment.c: (gst_segment_get_type):
4876         * gst/gststructure.c: (gst_structure_get_type):
4877         * gst/gstsystemclock.c: (gst_system_clock_get_type):
4878         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4879         * gst/gstvalue.c:
4880         Help compiler with type registration.
4881
4882         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4883         Small doc update.
4884
4885 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4886
4887         * plugins/elements/gsttypefindelement.c:
4888         (gst_type_find_element_handle_event):
4889           When we get an EOS event and have not found a type yet
4890           (most likely because we had not yet accumulated
4891           TYPE_FIND_MIN_SIZE of data yet), try to determine the
4892           type given the data we have so far. Fixes typefinding
4893           for very short streams again, most notably quicktime
4894           redirections as used on Apple's trailer site (#331701).
4895
4896 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4897
4898         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4899         (gst_type_find_helper):
4900           Try typefinding factories with the highest rank first.
4901
4902 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4903
4904         * docs/libs/gstreamer-libs-docs.sgml:
4905         * docs/libs/gstreamer-libs-sections.txt:
4906         * libs/gst/base/gsttypefindhelper.c:
4907           Add section for typefind helper and add documentation
4908           for the old and the new function.
4909
4910 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4911
4912         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4913         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4914         (gst_type_find_helper_for_buffer):
4915         * libs/gst/base/gsttypefindhelper.h:
4916           New API: gst_type_find_helper_for_buffer() (#332723).
4917           
4918 2006-02-27  Michael Smith  <msmith@fluendo.com>
4919
4920         Patch by: Loïc Minier
4921
4922         * configure.ac:
4923         * docs/Makefile.am:
4924         * docs/slides/Makefile.am:
4925           prevent CVS directories getting disted.
4926
4927 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
4928
4929         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4930           Use the REFCOUNTING category for caps refcounting.
4931           
4932 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4933
4934         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4935           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4936
4937 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
4938
4939         * plugins/elements/gsttypefindelement.c:
4940         (gst_type_find_element_activate):
4941           Use gst_pad_check_pull_range() before _activate_pull()
4942           to avoid unnecessary open/close (see #331690).
4943
4944 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4945
4946         * gst/gstutils.c:
4947           Docs enhancement: make it crystal clear what the
4948           gst_pad_add_*_probe() callbacks should look like.
4949
4950 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
4951
4952         * libs/gst/base/gstbasesrc.c:
4953           Document how applications can stop recording from
4954           live sources (see #330996).
4955
4956 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4957
4958         * tests/check/Makefile.am:
4959         * tests/check/libs/basesrc.c: (eos_event_counter),
4960         (basesrc_eos_events_pull), (basesrc_eos_events_push),
4961         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4962         (gst_basesrc_suite), (main):
4963           ... and add some tests for the base source EOS stuff.
4964
4965 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4966
4967         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4968           Test case originally showed the problem fixed below,
4969           but was then amended. Add checks back at the place
4970           where they used to be.
4971
4972 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4973
4974         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4975         (gst_base_src_init), (gst_base_src_loop),
4976         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4977         (gst_base_src_change_state):
4978         * libs/gst/base/gstbasesrc.h:
4979           Don't unconditionally send EOS when going from PAUSED to
4980           READY state, esp. make sure we don't send two EOS events
4981           in some cases (e.g. one when reaching EOS and one when
4982           going from PAUSED to READY). Also, we don't want to send
4983           EOS events when operating in pull mode. However, we do
4984           want to send an EOS event when shutting down a live
4985           source explicitly, for example (fixes #330996).
4986           
4987 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4988
4989         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4990           Update src->read_position after a seek when not using mmap.
4991           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4992
4993 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
4994
4995         * gst/Makefile.am:
4996         * gst/gstparse.h:
4997         * gst/gstutils.c:
4998         * gst/gstutils.h:
4999         Make things work with --disable-parse as they do with 
5000         --disable-load-save - the symbols involved disappear, but the
5001         header is still installed and GST_DISABLE_PARSE is included via
5002         gstconfig.h
5003
5004 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5005
5006         * libs/gst/base/gstbasetransform.c:
5007         (gst_base_transform_change_state): Fix a stupid bug. I was 
5008         sure I compiled that.
5009
5010 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5011
5012         * gst/gstpad.c: (gst_pad_set_blocked_async):
5013         * gst/gstutils.c: (gst_pad_add_data_probe),
5014         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5015         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5016         (gst_pad_remove_buffer_probe): Make those function act on the
5017         ghostpad target when it's a ghostpad. (Closes #331727)
5018
5019 2006-02-20  Julien MOUTTE  <julien@moutte.net>
5020
5021         * libs/gst/base/gstbasetransform.c:
5022         (gst_base_transform_change_state): Make basetransform reusable.
5023         (Closes #331898)
5024
5025 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
5026
5027         * docs/random/release:
5028         Move the current documentation of how to do a release to the top
5029         of the file.
5030
5031         * gst/gstbin.c: (gst_bin_class_init),
5032         (gst_bin_handle_message_func):
5033         Allow multiple state-recalculation threads. (Closes #328873)
5034
5035 2006-02-19  Julien MOUTTE  <julien@moutte.net>
5036
5037         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5038         * gst/gstpad.c: (gst_pad_set_event_function),
5039         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5040         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5041         2 strings. You can't use the STR_NULL macro on that.
5042
5043 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
5044
5045         * gst/gstpad.c: (gst_pad_set_event_function),
5046         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5047         (gst_pad_set_getcaps_function)
5048         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5049           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5050           So now, we can use --gst-debug-level=5 on Windows
5051         * win32/common/libgstcontroller.def:
5052           Added export of gst_controller_init
5053         * win32/vs6/libgstcontroller.dsp:
5054           Fixed Release post build configuration
5055
5056 2006-02-17  Wim Taymans  <wim@fluendo.com>
5057
5058         * tests/check/gst/gstquery.c: (GST_START_TEST):
5059         Added another check.
5060
5061 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         * plugins/elements/gsttypefindelement.c: (find_peek):
5064           We can do peeks at non-zero offsets, as long as they
5065           fall within the buffer we have.
5066
5067 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
5068
5069         * tests/check/Makefile.am:
5070         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5071         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5072         (parse_suite), (main):
5073           Add testsuite for parse launch syntax
5074
5075 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
5076
5077         * plugins/elements/gsttypefindelement.c:
5078         (gst_type_find_element_chain):
5079           When typefinding is unsuccessful in the chain function, don't
5080           error out immediately. Only error out with NO_CAPS_FOUND if
5081           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5082           otherwise simply wait for more data so we can try typefinding
5083           again with more data later. Also, don't attempt to typefind
5084           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5085           this should improve typefinding from network sources where the
5086           size of the first buffer can be somewhat random.
5087
5088 2006-02-14  Wim Taymans  <wim@fluendo.com>
5089
5090         * docs/gst/gstreamer-sections.txt:
5091         * gst/gstpadtemplate.c:
5092         * gst/gstpadtemplate.h:
5093         Fix padtemplate docs, fixes #328805.
5094
5095 2006-02-14  Wim Taymans  <wim@fluendo.com>
5096
5097         * tools/gst-launch.c: (main):
5098         NO_PREROLL is not an ERROR so don't send confusing messages
5099         to the user.
5100
5101 2006-02-14  Wim Taymans  <wim@fluendo.com>
5102
5103         Patch by: Torsten Schoenfeld
5104
5105         * gst/gstregistry.c: (gst_registry_get_default),
5106         (_gst_registry_cleanup):
5107         Protect default registry with lock and ref/sink it.
5108         Fixes #324818
5109
5110 2006-02-14  Wim Taymans  <wim@fluendo.com>
5111
5112         * gst/gstbuffer.c:
5113         * gst/gstquery.c: (gst_query_list_add_format),
5114         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5115         (gst_query_parse_formats_nth):
5116         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5117         Docs fixes.
5118
5119 2006-02-14  Wim Taymans  <wim@fluendo.com>
5120
5121         * docs/gst/gstreamer-sections.txt:
5122         Reworked query docs.
5123
5124         * gst/gstquery.c: (gst_query_new_formats),
5125         (gst_query_list_add_format), (gst_query_set_formats),
5126         (gst_query_set_formatsv), (gst_query_parse_formats_length),
5127         (gst_query_parse_formats_nth):
5128         * gst/gstquery.h:
5129         Flesh out formats query, added some new methods.
5130         Fix part of #324398.
5131
5132         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5133         Added query creation tests.
5134
5135 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
5136
5137         * gst/gstpad.c: (fixate_value):
5138         Add a default fixation for fraction lists.
5139
5140 2006-02-13  Wim Taymans  <wim@fluendo.com>
5141
5142         * gst/gsttask.c: (gst_task_init), (gst_task_func),
5143         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5144         (gst_task_join):
5145         * gst/gsttask.h:
5146         Detect and warn for obvious deadlocks. fixes #320340
5147         Fix error case where lock was not released.
5148
5149         * tests/check/Makefile.am:
5150         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5151         (task_func), (gst_element_suite), (main):
5152         Add task check.
5153
5154 2006-02-13  Wim Taymans  <wim@fluendo.com>
5155
5156         * docs/gst/gstreamer-sections.txt:
5157         * gst/gstbus.c:
5158         Add new functions to docs.
5159
5160 2006-02-13  Wim Taymans  <wim@fluendo.com>
5161
5162         * docs/design/part-TODO.txt:
5163         Updated TODO list, basesrc supports seeking to non-bytes
5164         formats.
5165
5166         * docs/design/part-element-sink.txt:
5167         Update docs.
5168
5169         * gst/gstbin.c: (bin_replace_message),
5170         (gst_bin_handle_message_func):
5171         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5172         * gst/gstevent.c: (gst_event_finalize):
5173         * gst/gstpad.c: (gst_pad_event_default_dispatch),
5174         (gst_pad_send_event):
5175         Use shiny new _TYPE_NAME macros.
5176
5177         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5178         Move debug statement up.
5179
5180         * gst/gstelement.c: (gst_element_set_locked_state):
5181         Add some debugging.
5182
5183 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
5184
5185         * docs/gst/gstreamer-sections.txt:
5186         * gst/gstmessage.h:
5187         * gst/gstquery.h:
5188           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5189           macros (#330906). Also, document the already existing
5190           GST_QUERY_TYPE macro.
5191
5192 2006-02-13  Wim Taymans  <wim@fluendo.com>
5193
5194         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5195         (event_probe), (GST_START_TEST):
5196         Only events up to the pipeline EOS are counted, there are
5197         some more when going to NULL currently which we don't care
5198         about for now.
5199
5200 2006-02-13  Wim Taymans  <wim@fluendo.com>
5201
5202         * gst/gstpad.c: (gst_pad_send_event):
5203         Correctly check flushing and emit probes. fixes #330125
5204
5205 2006-02-10  Andy Wingo  <wingo@pobox.com>
5206
5207         * gst/gstbus.c (gst_bus_class_init): Declare our private data
5208         structure.
5209         (gst_bus_init): Cache the location of the private data in the
5210         instance structure.
5211         (gst_bus_enable_sync_message_emission) 
5212         (gst_bus_disable_sync_message_emission): Implement new public
5213         functions.
5214         (gst_bus_post): Emit the sync-message signal if the user asked for
5215         it. Fixes #330684.
5216
5217         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5218         location of the bus-private structure.
5219         (gst_bus_enable_sync_message_emission)
5220         (gst_bus_disable_sync_message_emission): API addition
5221
5222 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
5223
5224         Patch by: Vincent Torri
5225
5226         * docs/pwg/building-boiler.xml:
5227         PWG patch from #326800
5228
5229 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
5230
5231         * configure.ac:
5232         * docs/Makefile.am:
5233         * docs/design/Makefile.am:
5234           Dist design docs.
5235
5236 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5237
5238         * configure.ac:
5239           back to CVS
5240
5241 === release 0.10.3 ===
5242
5243 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
5244
5245         * configure.ac:
5246           releasing 0.10.3, "Like a virgin"
5247
5248 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
5249
5250         * configure.ac:
5251           2nd prerelease of 0.10.3
5252           Bump libtool versioning.
5253
5254 2006-02-07  Andy Wingo  <wingo@pobox.com>
5255
5256         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5257         update last_stop if we're in TIME format and the timestamp is
5258         valid.
5259
5260         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
5261         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
5262         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5263         If we get a new newsegment with a different format, adapt
5264         accordingly.
5265
5266         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5267         of 0. Not a problem, really.
5268
5269         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5270         warn if sync=true.
5271
5272 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
5273
5274         * configure.ac:
5275           Prelease of 0.10.3
5276
5277 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
5278
5279         * win32/vs7:
5280           project files updated to the default vs7 configuration
5281         * win32/common/libgstbase.def:
5282         * win32/common/libgstreamer.def:
5283           added new symbols,
5284           removed empty lines,
5285           sorted all exported symbols alphabetically
5286         * win32/common/dirent.c:
5287         * win32/common/dirent.h:
5288         * win32/common/gchar.h:
5289           use windows line end.
5290           
5291 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5292
5293         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5294           Send EOS event when stopping.
5295
5296 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
5297
5298         * docs/README:
5299           Tell folks what to do if the plugin-foobar.xml file
5300           hasn't been generated for a newly-added plugin.
5301
5302 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5303
5304         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5305         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5306         (gst_collect_pads_start), (gst_collect_pads_stop),
5307         (gst_collect_pads_event): Collectpads now holds a reference
5308         to the GstPad that was added. Indeed we don't want to look
5309         at pads that might just go away with no warning...
5310
5311 2006-02-05  Julien MOUTTE  <julien@moutte.net>
5312
5313         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5314         (gst_collect_pads_start), (gst_collect_pads_stop),
5315         (gst_collect_pads_event), (gst_collect_pads_chain):
5316         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5317         Mark Nauwelaerts's patch on bug #328491.
5318
5319 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5320
5321         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5322         (gst_utils_suite):
5323           Add some simple tests for gst_parse_bin_from_description() and
5324           gst_bin_find_unconnected_pad() (#329069).
5325
5326 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5327
5328         * tools/gst-launch.c: (event_loop), (main):
5329           Catch errors during preroll (#320084).
5330
5331 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         * plugins/elements/gsttypefindelement.c:
5334         (gst_type_find_element_activate):
5335           Post TYPE_NOT_FOUND error message when typefinding
5336           is unsuccessful in the activate function as well.
5337
5338 2006-02-02  Wim Taymans  <wim@fluendo.com>
5339
5340         * docs/design/part-element-sink.txt:
5341         Updated doc.
5342
5343 2006-02-02  Wim Taymans  <wim@fluendo.com>
5344
5345         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5346         (gst_base_sink_render_object),
5347         (gst_base_sink_queue_object_unlocked):
5348         Only keep track of prerollable items when we are 
5349         prerolling.
5350         Before rendering after preroll, always check if we
5351         have queued items.
5352         Added some more debugging.
5353
5354 2006-02-02  Wim Taymans  <wim@fluendo.com>
5355
5356         * gst/gstelement.c: (gst_element_continue_state),
5357         (gst_element_set_state_func), (gst_element_change_state):
5358         Fixed #326576, been running this for quite some time with
5359         no regressions at all.
5360
5361 2006-02-02  Wim Taymans  <wim@fluendo.com>
5362
5363         * common/gst.supp:
5364         Added more suppressions
5365
5366 2006-02-02  Wim Taymans  <wim@fluendo.com>
5367
5368         * docs/design/part-element-sink.txt:
5369         Updated document.
5370
5371         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5372         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5373         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5374         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5375         (gst_base_sink_do_sync), (gst_base_sink_render_object),
5376         (gst_base_sink_preroll_object),
5377         (gst_base_sink_queue_object_unlocked),
5378         (gst_base_sink_queue_object), (gst_base_sink_event),
5379         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5380         (gst_base_sink_loop), (gst_base_sink_activate_pull),
5381         (gst_base_sink_get_position), (gst_base_sink_change_state):
5382         * libs/gst/base/gstbasesink.h:
5383         Totally refactored matching the design doc.
5384         Use two segments, one to clip incomming buffers and another to
5385         perform sync.
5386         Handle queueing correctly, bypass the queue when playing.
5387         Make EOS cancelable.
5388         Handle errors correctly when operating in pull based mode.
5389
5390         * tests/check/elements/fakesink.c: (GST_START_TEST),
5391         (fakesink_suite):
5392         Added new check for sinks.
5393
5394 2006-02-02  Wim Taymans  <wim@fluendo.com>
5395
5396         * gst/gstsegment.c: (gst_segment_clip):
5397         No reason to refuse to clip when start == -1
5398
5399 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
5400
5401         * docs/README:
5402         * docs/manual/intro-basics.xml:
5403         * docs/manual/intro-preface.xml:
5404         * docs/manual/manual.xml:
5405         * docs/pwg/advanced-dparams.xml:
5406         * docs/pwg/intro-basics.xml:
5407         * docs/pwg/intro-preface.xml:
5408         * docs/pwg/pwg.xml:
5409           describe dparams (controller) for plugins
5410           unify docs a little more
5411
5412 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
5413
5414         * docs/gst/gstreamer-sections.txt:
5415         * gst/gstutils.c: (element_find_unconnected_pad),
5416         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5417         * gst/gstutils.h:
5418           Add new API: gst_parse_bin_from_description() and
5419           gst_bin_find_unconnected_pad() (#329069).
5420
5421 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
5422
5423         * docs/manual/README:
5424           uncover a nasty detail of the docs build
5425
5426 2006-01-31  Wim Taymans  <wim@fluendo.com>
5427
5428         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5429         Don't cache duration messages if we're not going to use or
5430         free them.
5431
5432 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
5433
5434         * docs/manual/advanced-dparams.xml:
5435         * docs/pwg/advanced-dparams.xml:
5436           more dparam docs
5437         * gst/gstindex.c:
5438           fix docs
5439         * libs/gst/controller/lib.c: (gst_controller_init):
5440           init just once
5441
5442 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
5443
5444         * gst/gstelement.c: (gst_element_message_full):
5445           also show file/line/func if no additional debug was given
5446
5447 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
5448         
5449         * win32/vs7/grammar.vcproj:
5450           activate copy of autogenerated files for Release mode
5451
5452 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5453         
5454         * win32/common/libgstreamer.def:
5455           export gst_value_compare
5456
5457 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
5458
5459         * plugins/elements/Makefile.am:
5460         * plugins/elements/gstelements.c:
5461         * plugins/elements/gstfdsink.c: (_do_init),
5462         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5463         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5464         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5465         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5466         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5467         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5468         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5469         * plugins/elements/gstfdsink.h:
5470         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5471
5472 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
5473
5474         * docs/manual/advanced-dparams.xml:
5475           describe controller
5476         * docs/manual/advanced-position.xml:
5477         * docs/manual/basics-init.xml:
5478         * docs/manual/manual.xml:
5479         * docs/manual/titlepage.xml:
5480         * docs/pwg/pwg.xml:
5481         * docs/pwg/titlepage.xml:
5482           cleanup xml (more to come)
5483         * libs/gst/controller/gstcontroller.c:
5484           fix typo
5485
5486 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
5487         
5488         * win32/vs6/grammar.dsp:
5489           add autogen of gstmarshal.c,h for Release mode
5490                 
5491 2006-01-30  Wim Taymans  <wim@fluendo.com>
5492
5493         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5494         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5495         (gst_base_sink_handle_object), (gst_base_sink_event),
5496         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5497         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5498         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5499         (gst_base_sink_deactivate), (gst_base_sink_activate),
5500         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5501         (gst_base_sink_query), (gst_base_sink_change_state):
5502         Basesink cleanups, remove some old code.
5503         Handle the case where a subclass can preroll in the render
5504         method (mostly audiosinks).
5505         Handle more events.
5506         Remove some locks around variables that are now protected
5507         with the PREROLL_LOCK (clock_id, flushing, ..).
5508         Optimize position query some more, do correct locking.
5509         Remove old code to push queue in state change, this is not
5510         needed anymore since preroll blocks on all prerollable items 
5511         now.
5512         Almost implemented as described in design doc.
5513
5514 2006-01-30  Wim Taymans  <wim@fluendo.com>
5515
5516         * tests/check/gst/gstbin.c: (GST_START_TEST):
5517         Wait for refcount to settle down before checking.
5518
5519 2006-01-30  Wim Taymans  <wim@fluendo.com>
5520
5521         * docs/design/part-element-sink.txt:
5522         Pseudo code overview of desired sink behaviour regarding
5523         preroll.
5524
5525 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5526         * win32/vs6/grammar.dsp:
5527           fix some bugs in Release mode for autogenerated files
5528                 
5529 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5530         * win32/common/libgstbase.def:
5531         * win32/common/libgstreamer.def:
5532           export some new symbols: gst_base_src_set_format,
5533           gst_iterator_next, gst_structure_set_valist
5534
5535 2006-01-29  Julien MOUTTE  <julien@moutte.net>
5536
5537         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5538         Set pad functions unconditionally. Fixes #329105.
5539
5540 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
5541         * win32/vs8:
5542           add vs8 project files created by Sergey Scobich
5543
5544 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
5545
5546         * gst/gstutils.c: (gst_element_unlink_pads):
5547         Don't leak pad references.
5548
5549         * tests/check/elements/fakesink.c: (GST_START_TEST):
5550         * tests/check/generic/sinks.c: (GST_START_TEST):
5551         * tests/check/generic/states.c: (GST_START_TEST):
5552         * tests/check/gst/gstbin.c: (GST_START_TEST):
5553         * tests/check/gst/gstcaps.c: (GST_START_TEST):
5554         * tests/check/gst/gstelement.c: (GST_START_TEST):
5555         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5556         * tests/check/gst/gstiterator.c: (GST_START_TEST):
5557         * tests/check/gst/gstvalue.c: (GST_START_TEST):
5558         Fix a bunch of leaks. Make generic/sinks.c
5559         use a bit less cpu by slowing the buffer rate
5560         between fakesrc and fakesink.
5561         
5562 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
5563         * gst/gstcaps.c:
5564         * gst/gstelement.c: (gst_element_send_event):
5565         * gst/gstevent.c:
5566         * gst/gstinfo.c:
5567         * gst/gstiterator.c:
5568         * gst/gstiterator.h:
5569         * gst/gstpad.c: (gst_pad_send_event):
5570         * gst/gststructure.c:
5571         * gst/gsturi.c:
5572         * gst/gstutils.c:
5573         * gst/gstvalue.c:
5574         * libs/gst/base/gstadapter.c:
5575           doc fixes, to link to function, just write gst_cool_function(), don't
5576           prefix with '#'
5577
5578 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5579
5580         * plugins/elements/gsttee.c: (gst_tee_do_push),
5581         (gst_tee_handle_buffer):
5582         Always prefer an actual return value from a src
5583         pad in place of NOT_LINKED. This means we return
5584         WRONG_STATE when all src pads are WRONG_STATE
5585         instead of NOT_LINKED.
5586
5587         Lock when replacing the last message to prevent
5588         racing with the get_property method.
5589
5590         Add debug output
5591
5592 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5593
5594         * tests/check/Makefile.am:
5595         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5596         (main):
5597         Add a very simple check that should have caught the memleak I fixed
5598         last night (if not for the slice allocator hiding it)
5599
5600 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
5601
5602         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5603         (gst_bin_remove_func), (gst_bin_handle_message_func),
5604         (bin_query_duration_fold), (bin_query_generic_fold):
5605         Clean up references to the clock provider when disposed or when
5606         handling a clock-lost message from it.
5607
5608         Unref sinks when performing a query via gst_iterator_fold, as the
5609         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5610
5611         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5612         (gst_clock_set_master):
5613         Drop our reference to the master clock, if any, when we are disposed.
5614
5615         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5616         Chain up in dispose. 
5617
5618 2006-01-26  Wim Taymans  <wim@fluendo.com>
5619
5620         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5621         Add some debugging.
5622
5623 2006-01-26  Julien MOUTTE  <julien@moutte.net>
5624
5625         * plugins/elements/gsttee.c: (gst_tee_do_push),
5626         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5627         handles pad being NOT_LINKED or in WRONG_STATE.
5628
5629 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5630
5631         * win32/MANIFEST:
5632           more updating
5633
5634 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5635
5636         * win32/MANIFEST:
5637           remove obsolete entry
5638
5639 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
5640
5641         * docs/gst/gstreamer-sections.txt:
5642         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5643         (gst_bin_iterate_sources), (gst_bin_send_event):
5644         * gst/gstbin.h:
5645         * gst/gstelement.c: (gst_element_send_event):
5646         * gst/gstevent.c:
5647         * gst/gstpad.c: (gst_pad_send_event):
5648           added code for downstream events, reviewed docs in gstevent.c
5649
5650 2006-01-25  Julien MOUTTE  <julien@moutte.net>
5651
5652         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5653         We only query position using the clock in the playing state.
5654         Query peer in the other cases.
5655         * win32/common/config.h: Updates.
5656
5657 2006-01-24  Wim Taymans  <wim@fluendo.com>
5658
5659         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5660         A clock entry that is scheduled for the exact time of the
5661         clock is still in time.
5662
5663         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5664         (gst_base_sink_do_sync):
5665         Add some more debug info.
5666
5667 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5668
5669         * win32/vs7:
5670           Add new vs7 project files and solution.
5671
5672 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
5673
5674         * win32/vs7:
5675           all files removed as they were out-dated.
5676
5677 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5678
5679         * docs/random/release:
5680           update notes
5681         * gst/gstbin.c: (gst_bin_init):
5682         * gst/gstbus.c: (gst_bus_new):
5683         * gst/gstbus.h:
5684         * gst/gstpipeline.c: (gst_pipeline_init):
5685           use gst_bus_new(), improve logging, fix docs
5686         * win32/common/config.h:
5687           update for cvs build
5688
5689 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
5690
5691         * autogen.sh:
5692           up required version of automake to 1.7
5693
5694 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
5695
5696         * win32/common/libgstreamer.def:
5697           export gst_buffer_is_metadata_writable
5698
5699 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
5700
5701         * docs/gst/gstreamer-sections.txt:
5702         * gst/gstevent.h:
5703           Add gst_event_replace() (#327001)
5704
5705 2006-01-20  Wim Taymans  <wim@fluendo.com>
5706
5707         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5708         Make it actually compile too..
5709
5710 2006-01-20  Wim Taymans  <wim@fluendo.com>
5711
5712         * gst/gstcaps.c:
5713         Clarify behaviour of _is_equal() when passing NULL parameters.
5714
5715         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5716         (gst_pad_set_caps):
5717         Cleanups. Don't unref NULL caps.
5718         When setting the same caps, protect caps of the pad with
5719         proper lock.
5720         Use full functionality of _is_equal() when comparing caps.
5721
5722 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5723
5724         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5725         Don't loop infinitely if there are no buffers to present. Partially
5726         fixes #327197, but collectpads is just broken for reusing elements
5727         to do multiple encodes atm.
5728
5729 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
5730
5731         * tools/gst-inspect.c: (print_element_features):
5732         * tools/gst-xmlinspect.c: (main):
5733         URL_HANDLER is not a plugin feature we can search for in
5734         the registry.
5735
5736 2006-01-19  Edward Hervey  <edward@fluendo.com>
5737
5738         * gst/gstelement.c: (gst_element_pads_activate): 
5739         When activating, do src pads first, then sink pads.
5740         When de-activating, do sink pads first, then src pads.
5741
5742 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5743
5744         * docs/gst/gstreamer-sections.txt:
5745         Add gst_index_add_associationv to the docs
5746
5747 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5748
5749         * gst/gstevent.c:
5750           Fix docs typo
5751
5752         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5753         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5754           Do some refactoring. Doesn't actually change functionality,
5755           but makes landing the DRAIN event easier later.
5756
5757 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
5758
5759         * docs/pwg/advanced-scheduling.xml:
5760           Update from 0.9.x to 0.10 API and make example a bit
5761           clearer.
5762
5763 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5764
5765         * docs/gst/gstreamer-sections.txt:
5766         Add gst_buffer_(is|make)_metadata_writable methods.
5767
5768 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
5769
5770         * docs/design/part-sparsestreams.txt:
5771         Update sparse streams doc, hopefully for greater clarity
5772
5773 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
5774
5775         * docs/design/part-events.txt:
5776         Remove mention of FILLER events.
5777         Add DRAIN event.
5778
5779         * docs/design/part-sparsestreams.txt:
5780         Write some things about using NEWSEGMENT to keep sparse streams
5781         flowing.
5782
5783 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5784
5785         * gst/gstbin.c: (gst_bin_dispose):
5786           Guard gst_object_unref call against a NULL object (dispose
5787           can theoretically be called multiple times).
5788           
5789 2006-01-18  Wim Taymans  <wim@fluendo.com>
5790
5791         * gst/gstbin.c: (gst_bin_element_set_state):
5792         * gst/gstclock.c: (gst_clock_id_wait):
5793         Added some more debug info.
5794
5795         * libs/gst/base/gstadapter.c:
5796         Added more docs.
5797
5798         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5799         (gst_base_sink_do_sync), (gst_base_sink_chain):
5800         Added some comments.
5801
5802 2006-01-18  Wim Taymans  <wim@fluendo.com>
5803
5804         * tests/check/Makefile.am:
5805         * tests/check/elements/fakesink.c: (chain_async_buffer),
5806         (chain_async), (chain_async_return), (GST_START_TEST),
5807         (fakesink_suite), (main):
5808         Added fakesink test that checks prerolling and clipping
5809         behaviour.
5810
5811         * tests/check/gst/gstutils.c: (GST_START_TEST):
5812         Make check run faster so that buildbots don't timeout.
5813
5814 2006-01-18  Wim Taymans  <wim@fluendo.com>
5815
5816         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5817         (gst_base_sink_do_sync):
5818         Some cleanups.
5819         When the sink finishes blocking on the preroll buffer, it can
5820         immediatly render it instead of rendering when the next buffer
5821         arrives.
5822
5823 2006-01-18  Wim Taymans  <wim@fluendo.com>
5824
5825         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5826         (gst_base_sink_get_property), (gst_base_sink_do_sync),
5827         (gst_base_sink_chain):
5828         Small cleanups.
5829         GST_ELEMENT_CLOCK and sync are protected with LOCK.
5830         Don't store _last_stop if the buffer is dropped.
5831
5832 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
5833
5834         * plugins/elements/gsttypefindelement.c:
5835         (gst_type_find_element_class_init):
5836           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5837           object method handler that sets the caps on the pad and we want
5838           that to happen before we emit the signal (fixes e.g. feeding a
5839           plain text file to decodebin).
5840
5841 2006-01-18  Christian Schaller  <Christian@fluendo.com>
5842
5843         * gst/gstplugin.c: Add MPL and Proprietary as license options
5844
5845 2006-01-18  Andy Wingo  <wingo@pobox.com>
5846
5847         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5848         symbol was exported before, it appears this was just an oversight.
5849         Fixes #168703.
5850         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5851
5852         * gst/gstindex.c (gst_index_add_associationv): Changed int in
5853         prototype to gint. OK since this prototype was not in the header.
5854
5855 2006-01-17  Andy Wingo  <wingo@pobox.com>
5856
5857         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5858         registry while we remove plugins.
5859
5860         * tools/gst-inspect.c (print_element_info): Don't unref the
5861         factory arg, that should be the responsibility of whatever code
5862         received the ref. Fixes a double-free when called from
5863         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5864         (main): Unref the factory if we have one.
5865         (print_element_list): No change -- relies on the
5866         plugin_feature_list_free to free the list of features.
5867
5868 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
5869
5870         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5871         (gst_buffer_make_metadata_writable):
5872         * gst/gstbuffer.h:
5873         * libs/gst/base/gstbasetransform.c:
5874         (gst_base_transform_prepare_output_buf):
5875         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5876         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5877           Replace gst_buffer_(make|is)_metadata_writable patch now
5878           that the release is out.
5879
5880 2006-01-17  Andy Wingo  <wingo@pobox.com>
5881
5882         * gst/gstregistry.c: Reflow design comment. Update so as to speak
5883         in the present tense without reference to versions.
5884
5885         * gst/gstregistry.c (gst_registry_add_plugin)
5886         (gst_registry_remove_plugin, gst_registry_remove_feature)
5887         (gst_registry_find_feature, gst_registry_get_feature_list)
5888         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5889         (gst_registry_lookup, gst_registry_scan_path)
5890         (_gst_registry_remove_cache_plugins)
5891         (gst_registry_get_feature_list_by_plugin): Add argument
5892         validation.
5893
5894 === release 0.10.2 ===
5895
5896 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
5897
5898         * configure.ac:
5899           releasing 0.10.2, "If man is five"
5900
5901 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5902
5903         * gst/gstbuffer.c:
5904         * gst/gstbuffer.h:
5905         * libs/gst/base/gstbasetransform.c:
5906         (gst_base_transform_prepare_output_buf):
5907         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5908         * tests/check/gst/gstbuffer.c: (gst_test_suite):
5909           Back out patch until after the release.
5910
5911 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5912
5913         * gst/gstminiobject.c:
5914           Spelling fix in docs.
5915         * ChangeLog - remove conflict indicator
5916
5917 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
5918
5919         Reviewed By: Andy Wingo
5920
5921         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5922         (gst_buffer_make_metadata_writable):
5923         * gst/gstbuffer.h:
5924           Add gst_buffer_(is|make)_metadata_writable as analogues of
5925           gst_buffer_(is|make)_writable.
5926
5927         * libs/gst/base/gstbasetransform.c:
5928         (gst_base_transform_prepare_output_buf):
5929         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5930           Use name gst_buffer_(is|make)_metadata_writable functions.
5931
5932         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5933           Test gst_buffer_(is|make)_metadata_writable
5934         
5935           (Closes: #324162)
5936
5937 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
5938
5939         * docs/manual/Makefile.am:
5940           don't do parallel make
5941         * configure.ac:
5942           AC_SUBST HOST_CPU
5943         * win32/common/config.h.in:
5944           add generations for HOST_CPU and GST_MAJORMINOR
5945         * win32/common/config.h:
5946           commit generated result
5947
5948 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
5949
5950         * docs/manual/appendix-integration.xml:
5951           Update GNOME integration section to use gst_init_get_option_group()
5952           instead of the old popt stuff (#322911). Also, GNOME applications
5953           should  now use gconf*sink and gconf*src instead of the old gconf
5954           helper lib we had.
5955
5956 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
5957
5958
5959         * docs/gst/gstreamer-docs.sgml:
5960         * docs/gst/gstreamer-sections.txt:
5961         * docs/libs/gstreamer-libs-sections.txt:
5962           add new API entries to the docs
5963         * libs/gst/controller/Makefile.am:
5964         * libs/gst/controller/gstcontroller.c:
5965         * libs/gst/controller/gstcontroller.h:
5966         * libs/gst/controller/gstcontrollerprivate.h:
5967         * libs/gst/controller/gsthelper.c:
5968         * libs/gst/controller/gstinterpolation.c:
5969           move private structs to private header
5970         * po/README:
5971           gstreamer-0.7 -> gstreamer-0.10
5972         * tests/check/libs/struct_i386.h:
5973           remove private structs
5974
5975 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5976
5977         * plugins/indexers/Makefile.am:
5978           Fixes as part of #317048
5979
5980 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
5981
5982         * plugins/indexers/Makefile.am:
5983           fix #316086 - compilation when mmap is missing
5984
5985 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
5986
5987         * libs/gst/base/gstbasesink.c:
5988           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
5989           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5990         * win32/common/config.h:
5991           added some defines GST_MAJORMINOR and HOST_CPU
5992         * win32/common/libgstbase.def:
5993         * win32/common/libgstreamer.def:
5994           added some exported functions.
5995
5996 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
5997
5998         * libs/gst/controller/gstcontroller.c:
5999         (gst_controlled_property_set_interpolation_mode),
6000         (gst_controlled_property_new):
6001         * libs/gst/controller/gstcontroller.h:
6002         * libs/gst/controller/gstinterpolation.c:
6003         (interpolate_none_get_string_value_array):
6004           make G_TYPE_STRING controlable
6005
6006 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
6007
6008         * tools/README:
6009         * tools/gst-feedback.1.in:
6010         * tools/gst-inspect.1.in:
6011         * tools/gst-launch.1.in:
6012         * tools/gst-md5sum.1.in:
6013         * tools/gst-typefind.1.in:
6014         * tools/gst-xmlinspect.1.in:
6015         * tools/gst-xmllaunch.1.in:
6016           cleanup man-pages, remove reference to gst-register, document env-vars
6017
6018 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
6019
6020         * gst/gstbuffer.c: (gst_buffer_span):
6021           gst_buffer_span should copy the timestamp of the first buffer
6022           if they were both originally overlapping subbuffers of the 
6023           same parent, using the same logic as the 'slow copy' case.
6024
6025 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
6026
6027         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6028           Need to awaken ALL the pads when we pop a buffer, otherwise
6029           collectpads only works when there is 2 input streams.
6030
6031 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
6032
6033         * docs/random/ensonic/media-device-daemon.txt:
6034           more ideas (dbus)
6035         * gst/gstbuffer.c:
6036           fix doc example, add clarification
6037         * tools/gst-launch.1.in:
6038           add initial info about GST_PLUGIN_PATH, needs more work
6039
6040 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
6041
6042         * docs/manual/basics-bins.xml:
6043         * docs/manual/basics-elements.xml:
6044         * docs/manual/intro-basics.xml:
6045           Some more minor docs additions and updates.
6046
6047 2006-01-11  Wim Taymans  <wim@fluendo.com>
6048
6049         * docs/manual/basics-bins.xml:
6050         * docs/manual/basics-elements.xml:
6051         Some small fixes as pointed out by Ser-ver on IRC.
6052
6053 2006-01-10  Edward Hervey  <edward@fluendo.com>
6054
6055         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6056         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6057         the single-segment mode.
6058
6059 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
6060
6061         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6062
6063         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6064         (gst_base_src_perform_seek), (gst_base_src_send_event),
6065         (gst_base_src_set_property), (gst_base_src_get_property),
6066         (gst_base_src_loop), (gst_base_src_start),
6067         (gst_base_src_activate_push):
6068         * libs/gst/base/gstbasesrc.h:
6069           Name (private) union; makes Sun's Forte compiler happy (#324900).
6070
6071 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
6072
6073         * README:
6074           gst-register is gone.
6075
6076 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
6077
6078         * gst/gstvalue.c: (_gst_value_initialize):
6079           make the G_TYPE_DATE instantiation work if debug is disabled
6080
6081 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
6082
6083         * gst/gstmessage.c: (gst_message_parse_tag),
6084         (gst_message_parse_error), (gst_message_parse_warning):
6085           Don't crash when return location for error/warning debug
6086           string is NULL; add fact that return locations can be
6087           NULL to docs where appropriate.
6088
6089 2006-01-05  Wim Taymans  <wim@fluendo.com>
6090
6091         * gst/gstplugin.c: (gst_plugin_load_file):
6092         Replace strdup by g_strdup.
6093
6094 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6095
6096         * docs/pwg/advanced-types.xml:
6097           fix doc borkage
6098
6099 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6100
6101         submitted by: Abel Cheung
6102
6103         * po/LINGUAS:
6104         * po/zh_TW.po:
6105           Added Chinese (traditional) translation
6106
6107 2006-01-04  Wim Taymans  <wim@fluendo.com>
6108
6109         * docs/manual/basics-pads.xml:
6110         * docs/plugins/Makefile.am:
6111         * docs/plugins/gstreamer-plugins-docs.sgml:
6112         * docs/plugins/gstreamer-plugins-sections.txt:
6113         * docs/pwg/advanced-clock.xml:
6114         * docs/pwg/advanced-scheduling.xml:
6115         * docs/pwg/advanced-types.xml:
6116         * plugins/elements/gstfdsink.c:
6117         * plugins/elements/gstfdsrc.c:
6118         * plugins/elements/gstfdsrc.h:
6119         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6120         * plugins/elements/gstidentity.h:
6121         * plugins/elements/gstqueue.h:
6122         * plugins/elements/gsttee.c:
6123         * plugins/elements/gsttee.h:
6124         * plugins/elements/gsttypefindelement.c:
6125         (gst_type_find_element_class_init):
6126         * plugins/elements/gsttypefindelement.h:
6127         Small updates to various docs.
6128         Added core plugins to docs.
6129
6130 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6131
6132         * common/gst.supp:
6133           add a suppression for liboil's uninitialized variable
6134
6135 2006-01-02  James Livingston  <jrl at ids dot org dot au>
6136
6137         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6138
6139         * gst/gstutils.h:
6140           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6141           macro, so that gcc doesn't complain if the -Wmissing-prototypes
6142           compiler switch is being used (#325429).
6143
6144 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
6145
6146         * gst/gstbin.c: (gst_bin_query):
6147           Disable duration query caching in bins until it gets
6148           fixed (see #324807).
6149
6150 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6151
6152         * tools/gst-inspect.c: (print_element_properties_info):
6153           Handle properties of POINTER and BOXED type.
6154
6155 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
6156
6157         * gst/gst.c: (init_post):
6158           Init tags stuff and some other things before loading
6159           any static plugins (there may be other static plugins
6160           than just the GStreamer ones, and they may want to
6161           register their own tags or formats or whatever, and
6162           preferably without segfaulting).
6163
6164         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6165           Print at least a warning in the debug logs if we drop a
6166           query just because we don't know how to adjust the value
6167           in the particular format.
6168
6169 2005-12-24  David Schleef  <ds@schleef.org>
6170
6171         * tools/gstreamer-completion:
6172           Replacement for gst-complete written in sh and sed.  Only
6173           completes names of features, but that's 90% of what I want
6174           it for.  Properties are not available in registry.xml.  (Maybe
6175           they should be...)
6176
6177 === release 0.10.1 ===
6178
6179 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
6180
6181         * configure.ac:
6182           releasing 0.10.1, "Nollaig chridheil"
6183
6184 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
6185
6186         * docs/faq/cvs.xml:
6187           Add missing quote, should be make ERROR_CFLAGS="".
6188
6189 2005-12-20  Wim Taymans  <wim@fluendo.com>
6190
6191         * docs/design/part-trickmodes.txt:
6192         More documentation on trickmodes.
6193
6194 2005-12-20  Edward Hervey  <edward@fluendo.com>
6195
6196         * gst/gstcaps.c: (gst_static_caps_get_type):
6197         * gst/gstcaps.h:
6198           API addition: GST_TYPE_STATIC_CAPS
6199         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6200         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6201         * gst/gstpadtemplate.h:
6202           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6203         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6204         bindings.
6205
6206 2005-12-18  Wim Taymans  <wim@fluendo.com>
6207
6208         * libs/gst/base/gstadapter.c:
6209         * libs/gst/base/gstadapter.h:
6210         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6211         (gst_base_sink_get_position):
6212         * libs/gst/base/gstbasesink.h:
6213         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6214         (gst_base_src_default_query), (gst_base_src_default_do_seek),
6215         (gst_base_src_do_seek), (gst_base_src_perform_seek),
6216         (gst_base_src_send_event), (gst_base_src_update_length),
6217         (gst_base_src_get_range), (gst_base_src_loop),
6218         (gst_base_src_start):
6219         * libs/gst/base/gstbasesrc.h:
6220         * libs/gst/base/gstbasetransform.h:
6221         * libs/gst/base/gstcollectpads.h:
6222         * libs/gst/base/gstpushsrc.c:
6223         * libs/gst/base/gstpushsrc.h:
6224         * libs/gst/dataprotocol/dataprotocol.c:
6225         * libs/gst/dataprotocol/dataprotocol.h:
6226         * libs/gst/net/gstnetclientclock.h:
6227         * libs/gst/net/gstnettimeprovider.h:
6228         Documentation updates.
6229
6230 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
6231
6232         * docs/manual/basics-helloworld.xml:
6233           Remove superfluous closing bracket in helloworld example.
6234
6235 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
6236
6237         * tools/gst-launch.1.in:
6238           Update gst-launch man page; add a section with useful
6239           environment variables. Fixes #323882.
6240
6241 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
6242
6243         * gst/gst.c:
6244         * gst/gst_private.h:
6245           change some char* into char[]
6246
6247 2005-12-16  Wim Taymans  <wim@fluendo.com>
6248
6249         * gst/gstregistryxml.c: (load_feature):
6250         Cleanups.
6251         Don't use g_object_unref on GstObjects so that we avoid
6252         leaks on unsafe glibs.
6253
6254 2005-12-16  Wim Taymans  <wim@fluendo.com>
6255
6256         * gst/gstbin.c: (gst_bin_recalc_state):
6257         Small doc updates.
6258
6259 2005-12-16  Wim Taymans  <wim@fluendo.com>
6260
6261         * common/check.mak:
6262         Added make forever target for check.
6263
6264 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
6265
6266         * gst/gst.c: (init_post):
6267           make the registry cache file HOST_CPU-dependent
6268
6269 2005-12-16  Andy Wingo  <wingo@pobox.com>
6270
6271         * plugins/elements/gstbufferstore.c
6272         (gst_buffer_store_cleared_func): Pay attention to g_list_append
6273         return value.
6274
6275         * tests/check/gst/gstobject.c
6276         (test_fake_object_name_threaded_unique): Pay attention to
6277         g_list_sort return value.
6278
6279 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * tools/gst-feedback-m.m:
6282           Update for 0.9/0.10 (fixes #323870).
6283
6284 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
6285
6286         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6287           Fix lcopy for mini objects, the mini object needs to be ref'ed.
6288           
6289         * tests/check/gst/gstminiobject.c: (my_foo_init),
6290         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6291         (test_value_collection), (gst_mini_object_suite):
6292           Add test to ensure refcounts end up as expected when passing
6293           GstMiniObjects through g_object_get() and g_object_set().
6294
6295 2005-12-14  Julien MOUTTE  <julien@moutte.net>
6296
6297         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6298         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6299         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6300         of collectpads. This version removes a lot of races without
6301         touching API/ABI. Yay !
6302
6303 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
6304
6305         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6306           Don't allow activation of a srcpad in pull_range if it has no
6307           getrange function.
6308           Change some debug statements to be a little clearer
6309
6310         * plugins/elements/gsttypefindelement.c:
6311         (gst_type_find_handle_src_query):
6312           Check that we have a peer before executing queries thereupon.
6313
6314         * tests/examples/metadata/read-metadata.c: (message_loop):
6315           Use gst_bus_pop instead of gst_bus_poll when we just want it to
6316           immediately return us any available message with 0 timeout.
6317
6318 2005-12-12  Michael Smith  <msmith@fluendo.com>
6319
6320         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6321           Don't unref factories after calling them.
6322         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6323         * plugins/elements/gsttypefindelement.c:
6324         (gst_type_find_element_chain):
6325           Free lists of factories after using them. Fixing typefinding memory
6326           leaks.
6327
6328 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6329
6330         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6331         (gst_plugin_feature_load):
6332           more meaningful debug output
6333         * configure.ac:
6334         * tests/Makefile.am:
6335         * tests/old/examples/Makefile.am:
6336           make make distcheck happy again
6337
6338 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6339
6340         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6341           Catch the special case where we are operating chain-based,
6342           but the downstream peer pad has no chain function. Emit a
6343           custom error message in this case instead of letting the
6344           core generate one implying that this is some sort of core
6345           bug. It's not, it just means that whatever got plugged
6346           into the pipeline downstream when we announced the type
6347           can only operate pull-based, while our source can only
6348           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6349           Error string has not been marked for translation yet, as
6350           it probably needs some more work first.
6351
6352         (gst_type_find_element_get_best_possibility):
6353           Add helper function to find the best of all available
6354           found possibilities that qualify given the min. threshold.
6355
6356         (gst_type_find_element_handle_event):
6357           Fix the case where we get an EOS while still in TYPEFIND
6358           mode (we want to chose the best of all possible types,
6359           not just the first type that happens to be in our unsorted
6360           list of possible types).
6361
6362         (gst_type_find_element_chain):
6363           Make sure we return GST_FLOW_ERROR when we errored out
6364           in stop_typefinding(); also, don't just find the best of
6365           all found type entries and then use the last examined
6366           type entry, but actually use the best entry.
6367
6368 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
6369
6370         * tests/examples/typefind/typefind.c: (type_found):
6371         * tests/examples/xml/runxml.c: (xml_loaded):
6372           More gcc4 fixes and a mem leak fix.
6373
6374 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6375
6376         * tests/examples/xml/createxml.c: (object_saved):
6377           gcc 4 fixes
6378
6379 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6380
6381         * tests/Makefile.am:
6382           enable the examples even more
6383
6384 2005-12-12  Andy Wingo  <wingo@pobox.com>
6385
6386         * libs/gst/net/gstnettimeprovider.c
6387         (gst_net_time_provider_class_init, gst_net_time_provider_init)
6388         (gst_net_time_provider_set_property)
6389         (gst_net_time_provider_get_property):
6390         API addition: Export "active" as a GObject property.
6391         (gst_net_time_provider_thread): Only respond to time queries if
6392         the time provider is active.
6393
6394         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6395         NetTimeProvider, preserving binary compat.
6396
6397 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6398
6399         * tests/examples/controller/audio-example.c: (main):
6400         * tests/examples/launch/Makefile.am:
6401           convert comments again
6402
6403 2005-12-12  Wim Taymans  <wim@fluendo.com>
6404
6405         * libs/gst/base/gstpushsrc.c:
6406         Fix typo.
6407
6408 2005-12-12  Wim Taymans  <wim@fluendo.com>
6409
6410         * docs/libs/gstreamer-libs-sections.txt:
6411         Added new symbol to docs.
6412
6413         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6414         (gst_base_src_init), (gst_base_src_set_format),
6415         (gst_base_src_default_query), (gst_base_src_query),
6416         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6417         (gst_base_src_perform_seek), (gst_base_src_send_event),
6418         (gst_base_src_default_event), (gst_base_src_event_handler),
6419         (gst_base_src_set_property), (gst_base_src_get_property),
6420         (gst_base_src_wait), (gst_base_src_do_sync),
6421         (gst_base_src_update_length), (gst_base_src_get_range),
6422         (gst_base_src_check_get_range), (gst_base_src_loop),
6423         (gst_base_src_default_negotiate), (gst_base_src_start),
6424         (gst_base_src_activate_push), (gst_base_src_activate_pull),
6425         (gst_base_src_change_state):
6426         * libs/gst/base/gstbasesrc.h:
6427         Implement seeking to other formats than _BYTES.
6428         Implement more seeking methods correctly.
6429         Doc updates.
6430         Added query vmethod.
6431         Added do_seek vmethod to make life easier for subclasses
6432         when seeking.
6433         API addition: gst_base_src_set_format()
6434
6435 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6436
6437         * tests/examples/Makefile.am:
6438           added that too
6439
6440 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
6441
6442         * configure.ac:
6443         * docs/random/ensonic/media-device-daemon.txt:
6444         * tests/examples/controller/.cvsignore:
6445         * tests/examples/controller/Makefile.am:
6446         * tests/examples/controller/audio-example.c: (main):
6447         * tests/examples/helloworld/.cvsignore:
6448         * tests/examples/helloworld/Makefile.am:
6449         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6450         * tests/examples/launch/.cvsignore:
6451         * tests/examples/launch/Makefile.am:
6452         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6453         * tests/examples/metadata/.cvsignore:
6454         * tests/examples/metadata/Makefile.am:
6455         * tests/examples/metadata/read-metadata.c: (message_loop),
6456         (make_pipeline), (print_tag), (main):
6457         * tests/examples/queue/.cvsignore:
6458         * tests/examples/queue/Makefile.am:
6459         * tests/examples/queue/queue.c: (event_loop), (main):
6460         * tests/examples/typefind/.cvsignore:
6461         * tests/examples/typefind/Makefile.am:
6462         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6463         (main):
6464         * tests/examples/xml/.cvsignore:
6465         * tests/examples/xml/Makefile.am:
6466         * tests/examples/xml/createxml.c: (object_saved), (main):
6467         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6468         * tests/old/examples/Makefile.am:
6469         * tests/old/examples/TODO:
6470         * tests/old/examples/controller/.cvsignore:
6471         * tests/old/examples/controller/Makefile.am:
6472         * tests/old/examples/controller/audio-example.c:
6473         * tests/old/examples/helloworld/.cvsignore:
6474         * tests/old/examples/helloworld/Makefile.am:
6475         * tests/old/examples/helloworld/helloworld.c:
6476         * tests/old/examples/launch/.cvsignore:
6477         * tests/old/examples/launch/Makefile.am:
6478         * tests/old/examples/launch/mp3parselaunch.c:
6479         * tests/old/examples/launch/mp3play:
6480         * tests/old/examples/manual/Makefile.am:
6481         * tests/old/examples/metadata/Makefile.am:
6482         * tests/old/examples/metadata/read-metadata.c:
6483         * tests/old/examples/queue/.cvsignore:
6484         * tests/old/examples/queue/Makefile.am:
6485         * tests/old/examples/queue/queue.c:
6486         * tests/old/examples/typefind/.cvsignore:
6487         * tests/old/examples/typefind/Makefile.am:
6488         * tests/old/examples/typefind/typefind.c:
6489         * tests/old/examples/xml/.cvsignore:
6490         * tests/old/examples/xml/Makefile.am:
6491         * tests/old/examples/xml/createxml.c:
6492         * tests/old/examples/xml/runxml.c:
6493           applied some simple fixing to some examples
6494           re-enabled the working examples
6495
6496 2005-12-12  Wim Taymans  <wim@fluendo.com>
6497
6498         * gst/gstsegment.c: (gst_segment_init),
6499         (gst_segment_set_last_stop), (gst_segment_set_seek),
6500         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6501         (gst_segment_to_running_time):
6502         Added more documentation.
6503         Make sure the last_pos value is updated properly.
6504         Make sure to_stream_time and to_running_time don't
6505         operate on wrong values.
6506
6507         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6508         Update check.
6509
6510 2005-12-12  Michael Smith  <msmith@fluendo.com>
6511
6512         * plugins/elements/gsttypefindelement.c: (free_entry),
6513         (gst_type_find_element_chain):
6514           Now that we're not leaking factories, make sure we keep references
6515           to them while we need them.
6516
6517 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6518
6519         * tests/check/gst/struct_i386.h:
6520           ifdef out the XML structs
6521
6522 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6523
6524         * gst/gstvalue.c: (gst_value_transform_double_fraction):
6525           floor is not needed, F is always positive; this obviates the
6526           need for adding -lm when building without libxml
6527
6528 2005-12-12  Wim Taymans  <wim@fluendo.com>
6529
6530         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6531         Take current playback rate into account when reporting
6532         the position.
6533
6534 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6535
6536         * docs/manual/mime-world.fig:
6537           Let's try this again, this time with a file that is
6538           actually in XFig format.
6539
6540 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * docs/manual/mime-world.fig:
6543           Add audioconvert element to diagram so that it
6544           matches the text and the code (fixes #319526).
6545
6546 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6547
6548         * docs/pwg/building-chainfn.xml:
6549         * docs/pwg/building-pads.xml:
6550         * docs/pwg/building-state.xml:
6551         * docs/pwg/other-source.xml:
6552           Update state change stuff for 0.10 (fixes #322969).
6553
6554 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         * docs/manual/advanced-dataaccess.xml:
6557         * docs/manual/appendix-checklist.xml:
6558         * docs/manual/appendix-programs.xml:
6559         * docs/manual/basics-pads.xml:
6560         * docs/manual/highlevel-components.xml:
6561         * docs/manual/manual.xml:
6562           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6563           add converters in front of pipelines; remove curly
6564           brackets for threads stuff, they no longer exist; use
6565           GST_TYPE_FRACTION for framerates; update some pieces of
6566           code to 0.10, but there's plenty more to do.
6567
6568         * docs/manual/appendix-porting.xml:
6569           Expand on asynchroneous state changes; s/0.9/0.10/;
6570           mention disappearance of gst_init_get_popt_table()
6571           (fixes #322916).
6572
6573 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
6574
6575         * docs/faq/using.xml:
6576           Spider no longer exists, and neither does gst-launch-ext.
6577           Update examples to use decodebin and playbin and put
6578           converters in front of sinks (fixes #323726).
6579
6580 2005-12-09  Michael Smith  <msmith@fluendo.com>
6581
6582         * plugins/elements/gsttypefindelement.c: (find_peek),
6583         (gst_type_find_element_chain):
6584           Fix leaking element factories in typefinding.
6585           Fix problem where we forgot about a probable type on non-seekable
6586           files, and thus later mis-typefound it.
6587
6588 2005-12-09  Michael Smith  <msmith@fluendo.com>
6589
6590         * common/m4/gst-makecontext.m4:
6591         * common/m4/gst-mcsc.m4:
6592         * configure.ac:
6593         * win32/common/config.h:
6594         * win32/common/config.h.in:
6595           Remove makecontext stuff; not used in 0.10 and causes problems on
6596           HPUX according to bug #322441
6597
6598 2005-12-07  Wim Taymans  <wim@fluendo.com>
6599
6600         * tests/check/Makefile.am:
6601         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6602         (main):
6603         * tests/check/libs/struct_i386.h:
6604         Added ABI check for libs
6605
6606 2005-12-07  Wim Taymans  <wim@fluendo.com>
6607
6608         * tests/check/Makefile.am:
6609         And add the struct_i386.h to dist.
6610
6611 2005-12-07  Wim Taymans  <wim@fluendo.com>
6612
6613         * tests/check/Makefile.am:
6614         * tests/check/gst/.cvsignore:
6615         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6616         (main):
6617         * tests/check/gst/struct_i386.h:
6618         Added check for ABI compatibility.
6619
6620 2005-12-07  Wim Taymans  <wim@fluendo.com>
6621
6622         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6623         (gst_fake_src_get_times), (gst_fake_src_create):
6624         Fix broken sync option, fixes #323259
6625
6626 2005-12-07  Wim Taymans  <wim@fluendo.com>
6627
6628         * gst/gstbuffer.c:
6629         Small docs update.
6630
6631         * gst/gstcaps.c: (gst_caps_is_equal):
6632         Don't assert on NULL <--> X. Fixes #323260
6633
6634         * gst/gstminiobject.c: (gst_mini_object_replace):
6635         If we're doing atomic operations, we might just as well use
6636         the proper way to get an atomic pointer.
6637
6638         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6639         Clean up debugging.
6640
6641 2005-12-07  Michael Smith  <msmith@fluendo.com>
6642
6643         * gst/parse/grammar.y:
6644           Remove handling of { } for threads.
6645
6646 2005-12-06  David Schleef  <ds@schleef.org>
6647
6648         * libs/gst/base/gstbasetransform.c: speling fix.
6649
6650 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
6651
6652         * docs/libs/tmpl/gstdataprotocol.sgml:
6653         * docs/random/omega/testing/gstobject.c:
6654         * gst/gst.c:
6655         * gst/gstclock.c:
6656         * gst/gstelement.c:
6657         * gst/gstelementfactory.c:
6658         * gst/gsterror.c:
6659         * gst/gstevent.c:
6660         * gst/gstghostpad.c:
6661         * gst/gstinfo.c:
6662         * gst/gstpadtemplate.c:
6663         * gst/gstregistryxml.c:
6664         * gst/gsttaglist.c:
6665         * gst/gsttagsetter.c:
6666         * gst/gsttypefind.c:
6667         * gst/gstvalue.c:
6668         * libs/gst/base/gstbasesrc.c:
6669         * libs/gst/net/gstnetclientclock.c:
6670         * libs/gst/net/gstnettimeprovider.c:
6671         * plugins/elements/gstfakesrc.c:
6672         * plugins/elements/gstfdsrc.c:
6673         * plugins/elements/gstfilesrc.c:
6674         * plugins/elements/gstidentity.c:
6675         * plugins/elements/gstqueue.c:
6676         * plugins/elements/gsttypefindelement.c:
6677         * plugins/indexers/gstfileindex.c:
6678         * plugins/indexers/gstmemindex.c:
6679         * tests/check/gst/gsttag.c:
6680         * tests/old/examples/cutter/cutter.c:
6681         * tests/old/examples/mixer/mixer.c:
6682         * tests/old/examples/xml/runxml.c: (main):
6683         * tests/old/testsuite/caps/normalisation.c:
6684         * tests/old/testsuite/debug/global.c:
6685         * tests/old/testsuite/parse/parse1.c:
6686         * tools/gst-xmlinspect.c:
6687         * win32/common/dirent.c:
6688           expand tabs
6689
6690 === release 0.10.0 ===
6691
6692 2005-12-05   <thomas (at) apestaart (dot) org>
6693
6694         * configure.ac:
6695           releasing 0.10.0, "Maroilles"
6696
6697 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6698
6699         submitted by: Funda Wang <fundawang@linux.net.cn>
6700
6701         * po/LINGUAS:
6702         * po/zh_CN.po:
6703           added Chinese (Traditional) translation
6704
6705 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6706
6707         * docs/gst/gstreamer-sections.txt:
6708         * docs/libs/tmpl/gstdataprotocol.sgml:
6709         * docs/random/thomasvs/TODO:
6710         * gst/gstutils.c:
6711         * gst/gstutils.h:
6712           fix docs
6713
6714 2005-12-05  Andy Wingo  <wingo@pobox.com>
6715
6716         patch by: Wim Taymans <wim@fluendo.com>
6717
6718         * libs/gst/base/gstbasetransform.c
6719         (gst_base_transform_prepare_output_buf)
6720         (gst_base_transform_buffer_alloc):
6721         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6722         alloc_buffer_and_set_caps.
6723
6724         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6725         set_caps on the source pad.
6726         (gst_pad_alloc_buffer_and_set_caps): New function, does what
6727         alloc_buffer used to do. Fixes #322874.
6728
6729         * docs/gst/gstreamer-sections.txt: 
6730         * docs/design/part-negotiation.txt: 
6731         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6732         changes.
6733
6734 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6735
6736         patch by: Sebastien Moutte
6737
6738         * win32/MANIFEST:
6739         * win32/common/config.h.in:
6740         * win32/vs6/libgstcontroller.dsp:
6741           win32 build fixes
6742
6743 2005-12-05  Wim Taymans  <wim@fluendo.com>
6744
6745         * gst/gstcaps.c: (gst_caps_is_equal):
6746         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6747         (gst_fake_src_create):
6748         Back out previous code changes, leave doc updates, file bugs 
6749         instead. 
6750
6751 2005-12-05  Wim Taymans  <wim@fluendo.com>
6752
6753         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6754         (gst_fake_src_get_times), (gst_fake_src_create):
6755         * plugins/elements/gstfakesrc.h:
6756         Fix broken sync code.
6757
6758 2005-12-05  Wim Taymans  <wim@fluendo.com>
6759
6760         * gst/gstcaps.c: (gst_caps_is_equal):
6761         Comparing NULL against !NULL yields different caps, not a
6762         failure.
6763
6764 2005-12-05  Wim Taymans  <wim@fluendo.com>
6765
6766         * gst/gstpipeline.c:
6767         Fix small typo in docs.
6768
6769 2005-12-05  Andy Wingo  <wingo@pobox.com>
6770
6771         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
6772
6773         * gst/gst.c (init_post): remove hard-coded 0.9 location for
6774         registries/plugins with a MAJORMINOR one.
6775         (plugin_desc): Rename library from gstcoreleements to
6776         staticelements. Fixes #323222.
6777
6778 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
6779
6780         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6781           Change debug category to 'collectpads' from 'collect_pads'
6782           (fixes #323250).
6783
6784 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6785
6786         patch by: Sebastien Moutte
6787
6788         * libs/gst/controller/gstinterpolation.c:
6789           use convert function for uint64/double
6790         * win32/vs6/libgstcontroller.dsp:
6791           link to GLib
6792
6793 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6794
6795         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6796         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6797         * gst/gstutils.h:
6798         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6799           add tests that seem to show that the guint64/gdouble conversions
6800           are correct.
6801
6802 2005-12-02  Wim Taymans  <wim@fluendo.com>
6803
6804         * gst/gstregistry.c: (gst_registry_add_path):
6805         * gst/gstregistry.h:
6806         * gst/gstregistryxml.c:
6807         Fix docs again.
6808
6809 2005-12-02  Wim Taymans  <wim@fluendo.com>
6810
6811         * gst/gstutils.c: (gst_util_uint64_scale_int64),
6812         (gst_util_uint64_scale_int):
6813         Small cleanup.
6814
6815         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6816         Add debug log line.
6817
6818         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6819         Add FIXME.
6820
6821 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6822
6823         * win32/MANIFEST:
6824         * win32/common/config.h:
6825         * win32/vs6/gstreamer.dsw:
6826         * win32/vs6/libgstcoreelements.dsp:
6827         * win32/vs6/libgstelements.dsp:
6828           renamed core elements plugin
6829
6830 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
6831
6832         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6833         (get_candidates):
6834           do piece-wise major/minor comparison so 0.9 < 0.10
6835           also allow .exe extensions for tools
6836
6837 2005-12-02  Michael Smith  <msmith@fluendo.com>
6838
6839         * gst/gst.c:
6840           Escape a % to make gtkdoc happier; bug 322958.
6841
6842 === release 0.9.7 ===
6843
6844 2005-12-01   <thomas (at) apestaart (dot) org>
6845
6846         * configure.ac:
6847           releasing 0.9.7, "My Dog Has No Nose"
6848
6849 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6850
6851         * common/gst-xmlinspect.py:
6852         * configure.ac:
6853         * docs/libs/tmpl/gstdataprotocol.sgml:
6854         * docs/random/release:
6855         * po/af.po:
6856         * po/az.po:
6857         * po/bg.po:
6858         * po/ca.po:
6859         * po/cs.po:
6860         * po/de.po:
6861         * po/en_GB.po:
6862         * po/fr.po:
6863         * po/it.po:
6864         * po/nb.po:
6865         * po/nl.po:
6866         * po/ru.po:
6867         * po/sq.po:
6868         * po/sr.po:
6869         * po/sv.po:
6870         * po/tr.po:
6871         * po/uk.po:
6872         * po/vi.po:
6873         * win32/common/config.h:
6874         * win32/common/config.h.in:
6875         * win32/vs6/gst_inspect.dsp:
6876         * win32/vs6/gst_launch.dsp:
6877         * win32/vs6/libgstbase.dsp:
6878         * win32/vs6/libgstelements.dsp:
6879         * win32/vs6/libgstreamer.dsp:
6880         * win32/vs7/GStreamer.vcproj:
6881         * win32/vs7/gst-inspect.vcproj:
6882         * win32/vs7/gst-launch.vcproj:
6883         * win32/vs7/libgstbase.vcproj:
6884           bump GST_MAJORMINOR to 0.10
6885           reset libtool version
6886
6887 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6888
6889         * po/LINGUAS:
6890         * po/bg.po:
6891           Added Bulgarian translation by (Alexander Shopov)
6892
6893 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6894
6895         * tests/check/gst/gstplugin.c:
6896           fix test
6897
6898 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6899
6900         * common/gst-xmlinspect.py:
6901         * common/gtk-doc-plugins.mak:
6902         * configure.ac:
6903         * docs/Makefile.am:
6904         * docs/gst/Makefile.am:
6905         * docs/gst/gstreamer-docs.sgml:
6906         * docs/gst/gstreamer-sections.txt:
6907         * docs/gst/gstreamer.types:
6908         * docs/gst/gstreamer.types.in:
6909         * docs/plugins/Makefile.am:
6910         * docs/plugins/gstreamer-plugins-docs.sgml:
6911         * docs/plugins/gstreamer-plugins-sections.txt:
6912         * docs/plugins/gstreamer-plugins.types:
6913         * docs/plugins/inspect.stamp:
6914         * docs/plugins/inspect/plugin-coreelements.xml:
6915         * docs/plugins/inspect/plugin-coreindexers.xml:
6916         * docs/plugins/scanobj-build.stamp:
6917         * gstreamer.spec.in:
6918         * plugins/elements/Makefile.am:
6919         * plugins/elements/gstelements.c:
6920         * plugins/elements/gstfakesink.c:
6921         * plugins/elements/gstfakesrc.c:
6922         * plugins/elements/gstfilesink.c:
6923         * plugins/elements/gstfilesrc.c:
6924         * plugins/elements/gstqueue.c:
6925         * plugins/indexers/Makefile.am:
6926         * plugins/indexers/gstindexers.c:
6927           document core plugins in a separate document just like all the
6928           others
6929           rename these plugins to something starting with core
6930
6931 2005-12-01  Andy Wingo  <wingo@pobox.com>
6932
6933         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6934         padding here before, but it missed the commit.
6935
6936 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6937
6938         * libs/gst/controller/gstinterpolation.c:
6939           whitespace prices have crashed, we should feel free to use some now
6940           use gst_guint64_to_gdouble
6941
6942 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6943
6944         * libs/gst/controller/gstcontroller.c:
6945         * libs/gst/controller/gsthelper.c:
6946         * libs/gst/controller/gstinterpolation.c:
6947         * libs/gst/controller/lib.c:
6948           wrap config.h include
6949
6950 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6951
6952         * docs/gst/gstreamer-sections.txt:
6953           update docs
6954
6955 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
6956
6957         * plugins/elements/gstelements.c:
6958         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6959         (gst_fd_sink__class_init), (gst_fd_sink__init),
6960         (gst_fd_sink__chain), (gst_fd_sink__set_property),
6961         (gst_fd_sink__get_property):
6962         * plugins/elements/gstfdsink.h:
6963         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6964         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6965         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6966         (gst_fd_src_unlock), (gst_fd_src_set_property),
6967         (gst_fd_src_get_property), (gst_fd_src_create),
6968         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6969         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6970         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6971         (gst_fd_src_uri_handler_init):
6972         * plugins/elements/gstfdsrc.h:
6973         * plugins/elements/gstqueue.c: (gst_queue_get_type):
6974           more anal cleanup
6975
6976 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
6977
6978         * docs/gst/Makefile.am:
6979         * docs/gst/gstreamer.types.in:
6980         * gst/Makefile.am:
6981           fix the docs build
6982
6983 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
6984
6985         * configure.ac:
6986         * gst/Makefile.am:
6987         * gst/gst.c:
6988         * gst/gstplugin.h:
6989         * gst/gstregistry.h:
6990         * tests/benchmarks/complexity.c:
6991         * tests/benchmarks/mass-elements.c:
6992         * tests/check/Makefile.am:
6993         * tools/Makefile.am:
6994         * tools/gst-inspect.c:
6995         * tools/gst-xmlinspect.c:
6996           various fixes to make
6997           --disable-nls --disable-registry --disable-loadsave
6998           --disable-parse --disable-gst-debug
6999           work and get the core .so down to 360444 bytes after stripping
7000
7001 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7002
7003         * Makefile.am:
7004         * configure.ac:
7005           descend into tests
7006         * docs/random/thomasvs/TODO:
7007         * tests/Makefile.am:
7008         * tests/README:
7009           add a README
7010
7011 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7012
7013         * win32/GStreamer.vcproj:
7014         * win32/MANIFEST:
7015         * win32/Makefile:
7016         * win32/Makefile.inspect:
7017         * win32/Makefile.launch:
7018         * win32/Makefile.register:
7019         * win32/README.txt:
7020         * win32/gst-inspect.vcproj:
7021         * win32/gst-launch.vcproj:
7022         * win32/gst-register.vcproj:
7023         * win32/gstelements.vcproj:
7024         * win32/gstgetbits.def:
7025         * win32/gstgetbits.vcproj:
7026         * win32/gstreamer-dbg.def:
7027         * win32/gstreamer.def:
7028         * win32/libgstbase.def:
7029         * win32/libgstbase.vcproj:
7030         * win32/link_oldruntime.c:
7031         * win32/mman.c:
7032         * win32/mman.h:
7033         * win32/mman.inl:
7034         * win32/msvc71.sln:
7035           move even more stuff, win32/ is nice and clean now
7036
7037 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7038
7039         * libs/gst/control/.cvsignore:
7040         * win32/MANIFEST:
7041         * win32/config.h:
7042         * win32/dirent.c:
7043         * win32/dirent.h:
7044         * win32/gstbytestream.def:
7045         * win32/gstbytestream.vcproj:
7046         * win32/gstconfig.h:
7047         * win32/gstenumtypes.c:
7048         * win32/gstenumtypes.h:
7049         * win32/gstoptimalscheduler.vcproj:
7050         * win32/gstversion.h:
7051         * win32/gtchar.h:
7052         * win32/testsuite/bins.vcproj:
7053         * win32/testsuite/bytestream.vcproj:
7054         * win32/testsuite/caps.vcproj:
7055         * win32/testsuite/cleanup.vcproj:
7056         * win32/testsuite/clock.vcproj:
7057         * win32/testsuite/debug.vcproj:
7058         * win32/testsuite/dlopen.vcproj:
7059         * win32/testsuite/dynparams.vcproj:
7060         * win32/testsuite/elements.vcproj:
7061         * win32/testsuite/ghostpads.vcproj:
7062         * win32/testsuite/indexers.vcproj:
7063         * win32/testsuite/negotiation.vcproj:
7064         * win32/testsuite/parse.vcproj:
7065         * win32/testsuite/plugin.vcproj:
7066         * win32/testsuite/refcounting.vcproj:
7067         * win32/testsuite/schedulers.vcproj:
7068         * win32/testsuite/states.vcproj:
7069         * win32/testsuite/tags.vcproj:
7070         * win32/testsuite/threads.vcproj:
7071           remove old win32 stuff that isn't maintained and should be
7072           reorganized
7073
7074 2005-11-30  Andy Wingo  <wingo@pobox.com>
7075
7076         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7077         loading the gst.interfaces python module bork.
7078
7079         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7080         available since GLib 2.2. Fixes #318031.
7081
7082 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7083
7084         * Makefile.am:
7085         * check/.cvsignore:
7086         * check/Makefile.am:
7087         * check/elements/.cvsignore:
7088         * check/elements/fakesrc.c:
7089         * check/elements/fdsrc.c:
7090         * check/elements/identity.c:
7091         * check/generic/.cvsignore:
7092         * check/generic/states.c:
7093         * check/gst-libs/.cvsignore:
7094         * check/gst-libs/controller.c:
7095         * check/gst-libs/gdp.c:
7096         * check/gst/.cvsignore:
7097         * check/gst/capslist.h:
7098         * check/gst/gst.c:
7099         * check/gst/gstbin.c:
7100         * check/gst/gstbuffer.c:
7101         * check/gst/gstbus.c:
7102         * check/gst/gstcaps.c:
7103         * check/gst/gstelement.c:
7104         * check/gst/gstevent.c:
7105         * check/gst/gstghostpad.c:
7106         * check/gst/gstiterator.c:
7107         * check/gst/gstmessage.c:
7108         * check/gst/gstminiobject.c:
7109         * check/gst/gstobject.c:
7110         * check/gst/gstpad.c:
7111         * check/gst/gstpipeline.c:
7112         * check/gst/gstplugin.c:
7113         * check/gst/gstsegment.c:
7114         * check/gst/gststructure.c:
7115         * check/gst/gstsystemclock.c:
7116         * check/gst/gsttag.c:
7117         * check/gst/gstutils.c:
7118         * check/gst/gstvalue.c:
7119         * check/net/.cvsignore:
7120         * check/net/gstnetclientclock.c:
7121         * check/net/gstnettimeprovider.c:
7122         * check/pipelines/.cvsignore:
7123         * check/pipelines/cleanup.c:
7124         * check/pipelines/simple_launch_lines.c:
7125         * check/pipelines/stress.c:
7126         * check/states/.cvsignore:
7127         * check/states/sinks.c:
7128         * configure.ac:
7129         * examples/Makefile.am:
7130         * examples/appreader/.cvsignore:
7131         * examples/appreader/Makefile.am:
7132         * examples/appreader/appreader.c:
7133         * examples/controller/.cvsignore:
7134         * examples/controller/Makefile.am:
7135         * examples/controller/audio-example.c:
7136         * examples/cutter/.cvsignore:
7137         * examples/cutter/Makefile.am:
7138         * examples/cutter/cutter.c:
7139         * examples/cutter/cutter.h:
7140         * examples/events/Makefile.am:
7141         * examples/events/seek.c:
7142         * examples/helloworld/.cvsignore:
7143         * examples/helloworld/Makefile.am:
7144         * examples/helloworld/helloworld.c:
7145         * examples/helloworld2/.cvsignore:
7146         * examples/helloworld2/Makefile.am:
7147         * examples/helloworld2/helloworld2.c:
7148         * examples/launch/.cvsignore:
7149         * examples/launch/Makefile.am:
7150         * examples/launch/mp3parselaunch.c:
7151         * examples/launch/mp3play:
7152         * examples/manual/.cvsignore:
7153         * examples/manual/Makefile.am:
7154         * examples/manual/extract.pl:
7155         * examples/metadata/Makefile.am:
7156         * examples/metadata/read-metadata.c:
7157         * examples/mixer/.cvsignore:
7158         * examples/mixer/Makefile.am:
7159         * examples/mixer/mixer.c:
7160         * examples/mixer/mixer.h:
7161         * examples/pingpong/.cvsignore:
7162         * examples/pingpong/Makefile.am:
7163         * examples/pingpong/pingpong.c:
7164         * examples/plugins/.cvsignore:
7165         * examples/plugins/Makefile.am:
7166         * examples/plugins/example.c:
7167         * examples/plugins/example.h:
7168         * examples/pwg/.cvsignore:
7169         * examples/pwg/Makefile.am:
7170         * examples/pwg/extract.pl:
7171         * examples/queue/.cvsignore:
7172         * examples/queue/Makefile.am:
7173         * examples/queue/queue.c:
7174         * examples/queue2/.cvsignore:
7175         * examples/queue2/Makefile.am:
7176         * examples/queue2/queue2.c:
7177         * examples/queue3/.cvsignore:
7178         * examples/queue3/Makefile.am:
7179         * examples/queue3/queue3.c:
7180         * examples/queue4/.cvsignore:
7181         * examples/queue4/Makefile.am:
7182         * examples/queue4/queue4.c:
7183         * examples/retag/.cvsignore:
7184         * examples/retag/Makefile.am:
7185         * examples/retag/retag.c:
7186         * examples/retag/transcode.c:
7187         * examples/thread/.cvsignore:
7188         * examples/thread/Makefile.am:
7189         * examples/thread/thread.c:
7190         * examples/typefind/.cvsignore:
7191         * examples/typefind/Makefile.am:
7192         * examples/typefind/typefind.c:
7193         * examples/xml/.cvsignore:
7194         * examples/xml/Makefile.am:
7195         * examples/xml/createxml.c:
7196         * examples/xml/runxml.c:
7197         * tests/Makefile.am:
7198         * tests/check/Makefile.am:
7199         * testsuite/.cvsignore:
7200         * testsuite/Makefile.am:
7201         * testsuite/Rules:
7202         * testsuite/caps/.cvsignore:
7203         * testsuite/caps/Makefile.am:
7204         * testsuite/caps/app_fixate.c:
7205         * testsuite/caps/audioscale.c:
7206         * testsuite/caps/caps.c:
7207         * testsuite/caps/caps.h:
7208         * testsuite/caps/caps_strings:
7209         * testsuite/caps/compatibility.c:
7210         * testsuite/caps/deserialize.c:
7211         * testsuite/caps/enumcaps.c:
7212         * testsuite/caps/eratosthenes.c:
7213         * testsuite/caps/filtercaps.c:
7214         * testsuite/caps/fixed.c:
7215         * testsuite/caps/fraction-convert.c:
7216         * testsuite/caps/fraction-multiply-and-zero.c:
7217         * testsuite/caps/intersect2.c:
7218         * testsuite/caps/intersection.c:
7219         * testsuite/caps/normalisation.c:
7220         * testsuite/caps/random.c:
7221         * testsuite/caps/renegotiate.c:
7222         * testsuite/caps/sets.c:
7223         * testsuite/caps/simplify.c:
7224         * testsuite/caps/string-conversions.c:
7225         * testsuite/caps/structure.c:
7226         * testsuite/caps/subtract.c:
7227         * testsuite/caps/union.c:
7228         * testsuite/debug/.cvsignore:
7229         * testsuite/debug/Makefile.am:
7230         * testsuite/debug/category.c:
7231         * testsuite/debug/commandline.c:
7232         * testsuite/debug/global.c:
7233         * testsuite/debug/output.c:
7234         * testsuite/debug/printf_extension.c:
7235         * testsuite/dlopen/.cvsignore:
7236         * testsuite/dlopen/Makefile.am:
7237         * testsuite/dlopen/dlopen_gst.c:
7238         * testsuite/dlopen/loadgst.c:
7239         * testsuite/elements/.cvsignore:
7240         * testsuite/elements/Makefile.am:
7241         * testsuite/elements/gst-inspect-check.in:
7242         * testsuite/elements/struct_i386.h:
7243         * testsuite/elements/struct_size.c:
7244         * testsuite/indexers/.cvsignore:
7245         * testsuite/indexers/Makefile.am:
7246         * testsuite/indexers/cache1.c:
7247         * testsuite/indexers/indexdump.c:
7248         * testsuite/parse/.cvsignore:
7249         * testsuite/parse/Makefile.am:
7250         * testsuite/parse/parse1.c:
7251         * testsuite/parse/parse2.c:
7252         * testsuite/plugin/.cvsignore:
7253         * testsuite/plugin/Makefile.am:
7254         * testsuite/plugin/README:
7255         * testsuite/plugin/dynamic.c:
7256         * testsuite/plugin/linked.c:
7257         * testsuite/plugin/loading.c:
7258         * testsuite/plugin/registry.c:
7259         * testsuite/plugin/static.c:
7260         * testsuite/plugin/static2.c:
7261         * testsuite/plugin/testplugin.c:
7262         * testsuite/plugin/testplugin2.c:
7263         * testsuite/plugin/testplugin2_s.c:
7264         * testsuite/plugin/testplugin_s.c:
7265         * testsuite/refcounting/.cvsignore:
7266         * testsuite/refcounting/Makefile.am:
7267         * testsuite/refcounting/bin.c:
7268         * testsuite/refcounting/element.c:
7269         * testsuite/refcounting/element_pad.c:
7270         * testsuite/refcounting/mainloop.c:
7271         * testsuite/refcounting/mem.c:
7272         * testsuite/refcounting/mem.h:
7273         * testsuite/refcounting/object.c:
7274         * testsuite/refcounting/pad.c:
7275         * testsuite/refcounting/sched.c:
7276         * testsuite/refcounting/thread.c:
7277         * testsuite/states/.cvsignore:
7278         * testsuite/states/Makefile.am:
7279         * testsuite/states/bin.c:
7280         * testsuite/states/locked.c:
7281         * testsuite/states/parent.c:
7282         * testsuite/threads/.cvsignore:
7283         * testsuite/threads/159566.c:
7284         * testsuite/threads/159852.c:
7285         * testsuite/threads/Makefile.am:
7286         * testsuite/threads/queue.c:
7287         * testsuite/threads/signals.c:
7288         * testsuite/threads/staticrec.c:
7289         * testsuite/threads/thread.c:
7290         * testsuite/threads/threadb.c:
7291         * testsuite/threads/threadc.c:
7292         * testsuite/threads/threadd.c:
7293         * testsuite/threads/threade.c:
7294         * testsuite/threads/threadf.c:
7295         * testsuite/threads/threadg.c:
7296         * testsuite/threads/threadh.c:
7297         * testsuite/threads/threadi.c:
7298           move all of these under tests
7299
7300 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7301
7302         * configure.ac:
7303         * tests/Makefile.am:
7304           fix distcheck
7305
7306 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7307
7308         * docs/gst/gstreamer-sections.txt:
7309         * tests/sched/.cvsignore:
7310         * tests/sched/Makefile.am:
7311         * tests/sched/cases/(fs-fs).xml:
7312         * tests/sched/cases/(fs-i-fs).xml:
7313         * tests/sched/cases/(fs-i-i-fs).xml:
7314         * tests/sched/cases/(fs-i-q[i-fs]).xml:
7315         * tests/sched/dynamic-pipeline.c:
7316         * tests/sched/interrupt1.c:
7317         * tests/sched/interrupt2.c:
7318         * tests/sched/interrupt3.c:
7319         * tests/sched/runtestcases:
7320         * tests/sched/runxml.c:
7321         * tests/sched/sched-stress.c:
7322         * tests/sched/sort.c:
7323         * tests/sched/testcases:
7324         * tests/sched/testcases1.tc:
7325         * tests/seeking/.cvsignore:
7326         * tests/seeking/Makefile.am:
7327         * tests/seeking/seeking1.c:
7328         * tests/threadstate/.cvsignore:
7329         * tests/threadstate/Makefile.am:
7330         * tests/threadstate/test1.c:
7331         * tests/threadstate/test2.c:
7332         * tests/threadstate/threadstate1.c:
7333         * tests/threadstate/threadstate2.c:
7334         * tests/threadstate/threadstate3.c:
7335         * tests/threadstate/threadstate4.c:
7336         * tests/threadstate/threadstate5.c:
7337           remove obsolete tests
7338         * configure.ac:
7339         * tests/bench-complexity.scm:
7340         * tests/bench-mass_elements.scm:
7341         * tests/complexity.c:
7342         * tests/complexity.gnuplot:
7343         * tests/instantiate/.cvsignore:
7344         * tests/instantiate/Makefile.am:
7345         * tests/instantiate/caps.c:
7346         * tests/mass_elements.c:
7347         * tests/network-clock-utils.scm:
7348         * tests/network-clock.scm:
7349         * tests/plot-data:
7350         First pass at cleaning up tests/ dir before moving the rest
7351         Combined with CVS surgery
7352
7353 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7354
7355         * po/POTFILES.in:
7356           queue has moved, update
7357
7358 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7359
7360         * docs/gst/gstreamer-sections.txt:
7361           remove double entries from the docs
7362         * gst/gst_private.h:
7363         * gst/gstinfo.c: (_gst_debug_init):
7364           remove the THREAD debug category
7365         * gst/Makefile.am:
7366         * gst/gstqueue.c:
7367         * gst/gstqueue.h:
7368         * docs/gst/gstreamer.types:
7369         * plugins/elements/gstqueue.c: (gst_queue_get_type),
7370         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7371           completely move queue and fix up debugging categories
7372
7373 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7374
7375         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7376           make initialization portable, using LL is not
7377
7378 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7379
7380         * win32/common/gstconfig.h:
7381           add large padding
7382
7383 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * win32/common/libgstreamer.def:
7386           rename symbols; sort base section
7387
7388 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7389
7390         * gst/gstclock.c: (do_linear_regression):
7391           remove crack non-portable handrolled DEBUG macro
7392
7393 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7394
7395         * docs/random/release:
7396           update notes
7397         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7398         (gst_object_flags_get_type), (register_gst_bin_flags),
7399         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7400         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7401         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7402         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7403         (gst_caps_flags_get_type), (register_gst_clock_return),
7404         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7405         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7406         (gst_clock_flags_get_type), (register_gst_state),
7407         (gst_state_get_type), (register_gst_state_change_return),
7408         (gst_state_change_return_get_type), (register_gst_state_change),
7409         (gst_state_change_get_type), (register_gst_element_flags),
7410         (gst_element_flags_get_type), (register_gst_core_error),
7411         (gst_core_error_get_type), (register_gst_library_error),
7412         (gst_library_error_get_type), (register_gst_resource_error),
7413         (gst_resource_error_get_type), (register_gst_stream_error),
7414         (gst_stream_error_get_type), (register_gst_event_type_flags),
7415         (gst_event_type_flags_get_type), (register_gst_event_type),
7416         (gst_event_type_get_type), (register_gst_seek_type),
7417         (gst_seek_type_get_type), (register_gst_seek_flags),
7418         (gst_seek_flags_get_type), (register_gst_format),
7419         (gst_format_get_type), (register_gst_index_certainty),
7420         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7421         (gst_index_entry_type_get_type),
7422         (register_gst_index_lookup_method),
7423         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7424         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7425         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7426         (gst_index_flags_get_type), (register_gst_debug_level),
7427         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7428         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7429         (gst_iterator_result_get_type), (register_gst_iterator_item),
7430         (gst_iterator_item_get_type), (register_gst_message_type),
7431         (gst_message_type_get_type), (register_gst_mini_object_flags),
7432         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7433         (gst_pad_link_return_get_type), (register_gst_flow_return),
7434         (gst_flow_return_get_type), (register_gst_activate_mode),
7435         (gst_activate_mode_get_type), (register_gst_pad_direction),
7436         (gst_pad_direction_get_type), (register_gst_pad_flags),
7437         (gst_pad_flags_get_type), (register_gst_pad_presence),
7438         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7439         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7440         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7441         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7442         (gst_plugin_flags_get_type), (register_gst_rank),
7443         (gst_rank_get_type), (register_gst_query_type),
7444         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7445         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7446         (gst_tag_flag_get_type), (register_gst_task_state),
7447         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7448         (gst_alloc_trace_flags_get_type),
7449         (register_gst_type_find_probability),
7450         (gst_type_find_probability_get_type), (register_gst_uri_type),
7451         (gst_uri_type_get_type), (register_gst_parse_error),
7452         (gst_parse_error_get_type):
7453         * win32/common/gstenumtypes.h:
7454         * win32/common/gstversion.h:
7455           update visual studio generated files
7456
7457 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7458
7459         * win32/vs6/libgstbase.dsp:
7460         * win32/vs6/libgstelements.dsp:
7461           update project files for new locations
7462
7463 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
7464
7465         * Makefile.am:
7466           remove some files
7467         * README:
7468           reinstate and update
7469         * DEVEL:
7470         * REQUIREMENTS:
7471           removed
7472         * LICENSE:
7473         * docs/random/LICENSE:
7474           moved to random
7475
7476 2005-11-30  Edward Hervey  <edward@fluendo.com>
7477
7478         * gst/gsttypefind.c: (gst_type_find_register):
7479         * gst/gsttypefind.h:
7480         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7481         (gst_type_find_factory_dispose):
7482         * gst/gsttypefindfactory.h:
7483         Fix memory leak in GstTypeFindFactory.
7484
7485 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7486
7487         * gst/gst.c:
7488         * plugins/elements/Makefile.am:
7489         * plugins/elements/gstelements.c:
7490         * plugins/elements/gstqueue.c:
7491           move queue from core to the elements plugin
7492
7493 2005-11-29  Andy Wingo  <wingo@pobox.com>
7494
7495         * libs/gst/base/gstbasetransform.h: 
7496         * libs/gst/base/gstbasesrc.h: 
7497         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7498
7499         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7500         of pointers by which to pad very extensible base classes (like the
7501         ones in libs/gst/base).
7502
7503 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7504
7505         * docs/gst/gstreamer-docs.sgml:
7506         * docs/gst/gstreamer-sections.txt:
7507         * docs/libs/gstreamer-libs-docs.sgml:
7508         * docs/libs/gstreamer-libs-sections.txt:
7509           moving documentation from core to lib
7510
7511 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7512
7513         * check/Makefile.am:
7514         * configure.ac:
7515         * docs/gst/Makefile.am:
7516         * gst/Makefile.am:
7517         * gst/base/.cvsignore:
7518         * gst/base/Makefile.am:
7519         * gst/base/README:
7520         * gst/base/gstadapter.c:
7521         * gst/base/gstadapter.h:
7522         * gst/base/gstbasesink.c:
7523         * gst/base/gstbasesink.h:
7524         * gst/base/gstbasesrc.c:
7525         * gst/base/gstbasesrc.h:
7526         * gst/base/gstbasetransform.c:
7527         * gst/base/gstbasetransform.h:
7528         * gst/base/gstcollectpads.c:
7529         * gst/base/gstcollectpads.h:
7530         * gst/base/gstpushsrc.c:
7531         * gst/base/gstpushsrc.h:
7532         * gst/base/gsttypefindhelper.c:
7533         * gst/base/gsttypefindhelper.h:
7534         * gst/check/Makefile.am:
7535         * gst/check/gstcheck.c:
7536         * gst/check/gstcheck.h:
7537         * gst/net/Makefile.am:
7538         * gst/net/gstnet.h:
7539         * gst/net/gstnetclientclock.c:
7540         * gst/net/gstnetclientclock.h:
7541         * gst/net/gstnettimepacket.c:
7542         * gst/net/gstnettimepacket.h:
7543         * gst/net/gstnettimeprovider.c:
7544         * gst/net/gstnettimeprovider.h:
7545         * libs/gst/Makefile.am:
7546         * libs/gst/base/Makefile.am:
7547         * libs/gst/base/gstbasetransform.c:
7548         * libs/gst/check/Makefile.am:
7549         * plugins/elements/Makefile.am:
7550         * po/POTFILES.in:
7551           CVS surgery + support to move base, check, and net out of gst
7552           and into libs/gst
7553
7554 2005-11-29  Andy Wingo  <wingo@pobox.com>
7555
7556         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7557
7558         * gst/gststructure.h (struct _GstStructure): Only one pointer of
7559         padding.
7560
7561         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7562
7563         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7564
7565         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7566
7567         * gst/gstobject.h: (struct _GstObject): Only one pointer of
7568         padding; reduces object size by about 30%. We don't expect
7569         anything else to go into gstobject.
7570
7571         * gst/gstminiobject.h (struct _GstMiniObject)
7572         (struct _GstMiniObjectClass): Only one pointer of padding; the
7573         payload is only a pointer and two ints anyway. For the class there
7574         are only two methods as well.
7575         
7576         * gst/gstelement.h (struct _GstElementClass): Removed
7577         the state_changed signal callback, it is not used.
7578
7579 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * docs/gst/gstreamer.types:
7582           fix includes, though they are a little dinky
7583
7584 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7585
7586         * check/Makefile.am:
7587           look in the right place for elements, a lot more chance of
7588           success
7589         * gst/Makefile.am:
7590           remove indexers and elements subdirs
7591         * plugins/Makefile.am:
7592           make indexers conditional
7593
7594 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
7595
7596         * Makefile.am:
7597         * configure.ac:
7598         * plugins/elements/Makefile.am:
7599         * plugins/elements/gstcapsfilter.c:
7600         * plugins/elements/gstfilesink.c:
7601         * plugins/elements/gstfilesrc.c:
7602         * plugins/elements/gstidentity.c:
7603         * plugins/indexers/Makefile.am:
7604           do CVS surgery and related build fixery to move elements
7605           and indexers in a new gstreamer/plugins directory, out of the
7606           gst/ directory
7607
7608 2005-11-29  Andy Wingo  <wingo@pobox.com>
7609
7610         * check/Makefile.am:
7611         * pkgconfig/gstreamer-net-uninstalled.pc.in:
7612         * pkgconfig/gstreamer-net.pc.in:
7613         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7614         #322257.
7615
7616 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7617
7618         * tools/Makefile.am:
7619         * tools/gst-complete.1.in:
7620         * tools/gst-complete.c:
7621         * tools/gst-compprep.1.in:
7622         * tools/gst-compprep.c:
7623           removing -compprep and -complete
7624
7625 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
7626
7627         * gst/gstevent.c: (gst_event_new_new_segment),
7628         (gst_event_parse_new_segment):
7629         * gst/gstevent.h:
7630           fix #320529 - clean up new_segment API and structure.
7631           Let's hope everyone was using the methods, and not the structure.
7632
7633 2005-11-29  Edward Hervey  <edward@fluendo.com>
7634
7635         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7636         (gst_base_sink_event), (gst_base_sink_do_sync),
7637         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7638         Properly handle non GST_FORMAT_TIME segment
7639         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7640         Properly handle non GST_FORMAT_TIME segment
7641         * gst/gstsegment.c:
7642         This function is valid if the accumulator is 0 and the format
7643         is different from the requested format.
7644         
7645 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7646
7647         * docs/gst/gstreamer-sections.txt:
7648         Add gst_query_new_seeking and gst_query_parse_seeking to the
7649         docs.
7650
7651 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
7652
7653         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7654           Treat a pad alloc with new caps the same as if we were not
7655           negotiated, in order to allow a changing upstream output
7656           to produce a new format of data.
7657
7658 2005-11-29  Edward Hervey  <edward@fluendo.com>
7659
7660         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7661         (gst_base_transform_event), (gst_base_transform_eventfunc):
7662         The event virtual method is now properly implemented, with a default
7663         handler
7664         Sub classes should call the parent_class event method. They should
7665         return FALSE if they had a problem handling the given event, or don't
7666         want GstBaseTransform to send that even downstream
7667         * gst/elements/gstidentity.c: (gst_identity_class_init),
7668         (gst_identity_init), (gst_identity_event),
7669         (gst_identity_transform_ip), (gst_identity_set_property),
7670         (gst_identity_get_property):
7671         * gst/elements/gstidentity.h:
7672         Added the single-segment boolean property.
7673         If set to TRUE, it will output a single segment of data, starting from
7674         0, will eat up all incoming newsegment, and modify the timestamp of the
7675         buffers accordingly
7676
7677 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
7678
7679         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7680           Don't ref NULL target pad (#322751). Improve docs.
7681
7682 2005-11-29  Michael Smith  <msmith@fluendo.com>
7683
7684         * gst/gstregistryxml.c: (load_plugin):
7685           Don't crash if we failed to load a feature from a plugin. 
7686
7687 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7688
7689         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7690         (GST_START_TEST):
7691           use more check API and less GLib API
7692
7693 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7694
7695         * Makefile.am:
7696           don't run checks if we don't have check
7697         * common/check.mak:
7698           remove the registry when running make torture
7699         * docs/gst/gstreamer-sections.txt:
7700           remove second multiply
7701         * gst/gstqueue.c: (gst_queue_loop):
7702           fix a compile warning when disabling debug
7703
7704 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7705
7706         * gst/gstinfo.h:
7707         Hey! Let's print the pad name if the pointer != NULL instead
7708         of when it == NULL :-)
7709
7710 2005-11-28  Wim Taymans  <wim@fluendo.com>
7711
7712         * check/gst/gstutils.c: (GST_START_TEST):
7713         Updated check, add some scaling accuracy checking code.
7714
7715         * gst/gstutils.c: (gst_util_div128_64),
7716         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7717         (gst_util_uint64_scale_int):
7718         Fix 6 times faster division code. Optimize for common 
7719         1/1 and less common X/1 cases.
7720
7721 2005-11-28  Wim Taymans  <wim@fluendo.com>
7722
7723         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7724         More checks.
7725
7726         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7727         (do_linear_regression), (gst_clock_add_observation):
7728         Cleanups.
7729         Release lock when the clock cannot be slaved.
7730         Catch the case where the regression returned an invalid denominator.
7731
7732         * gst/gstutils.c: (gst_util_div128_64_iterate),
7733         (gst_util_div128_64), (gst_util_uint64_scale_int64),
7734         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7735         Add protentially more performant non-iterative 128/64 divide function
7736         that unfortunatly does not work yet.
7737         Shortcut the trivial 0/X = 0 case.
7738         Remove the warnings on overflow.
7739
7740 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7741
7742         * gst/gstplugin.c: (gst_plugin_register_func):
7743           everything causing a plugin not to load should be at least a WARNING
7744
7745 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
7746
7747         * docs/random/ensonic/dparams.txt:
7748           some TODOs for the next dev cycle
7749         * libs/gst/controller/gstcontroller.c:
7750         (gst_controlled_property_set_interpolation_mode),
7751         (gst_controlled_property_new):
7752         * libs/gst/controller/gstcontroller.h:
7753           use base type to assign acccessor functions
7754
7755 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7756
7757         * check/Makefile.am:
7758         Oops, that should have been top_srcdir
7759
7760 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
7761
7762         * check/Makefile.am:
7763         * check/elements/fdsrc.c: (GST_START_TEST):
7764         Use a cmdline define to specify the location of a file to use for
7765         testing, to avoid breaking distcheck.
7766
7767 2005-11-28  Andy Wingo  <wingo@pobox.com>
7768
7769         * gst/gstpad.c (fixate_value): Use array functions for arrays.
7770
7771 2005-11-28  Edward Hervey  <edward@fluendo.com>
7772
7773         * tools/gst-launch.c: (main):
7774         Clarify the output strings, makes it easier to translate.
7775         Fixes #322626
7776
7777 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7778
7779         * gst/Makefile.am:
7780           don't try and build net if we don't even have <sys/socket.h>
7781
7782 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
7783
7784         * check/Makefile.am:
7785         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7786         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7787           Add tests for fdsrc seekability
7788
7789         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7790         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7791         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7792         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7793         * gst/elements/gstfdsrc.h:
7794           fdsrc should not be a 'live' source.
7795           Implement seeking on seekable fd's.
7796
7797         * gst/gstquery.c: (gst_query_new_seeking),
7798         (gst_query_parse_seeking):
7799         * gst/gstquery.h:
7800           Implement SEEKING query functions: 
7801             *_new_seeking and *_parse_seeking
7802
7803 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
7804
7805         * gst/gstelement.c: (gst_element_dispose):
7806           don't loop forever
7807
7808         * gst/gstiterator.c:
7809         * gst/gststructure.c:
7810           doc fixes
7811
7812         * libs/gst/controller/gstcontroller.c:
7813         (gst_controlled_property_set_interpolation_mode):
7814         * libs/gst/controller/gstcontroller.h:
7815         * libs/gst/controller/gstinterpolation.c:
7816         (interpolate_none_get_enum_value_array):
7817           support controlling enums
7818
7819 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7820
7821         * gst/gstvalue.c:
7822           Improve documentation for gst_value_union().
7823
7824         * gst/gstvalue.h:
7825           Change return value for union, intersect and subtract functions
7826           from gint to gboolean.
7827
7828 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
7829
7830         * gst/gstvalue.c: (gst_value_serialize_any_list),
7831         (gst_value_transform_any_list_string),
7832         (gst_value_deserialize_list), (gst_value_deserialize_array),
7833         (gst_value_set_int_range), (gst_value_deserialize_int_range),
7834         (gst_value_set_double_range), (gst_value_deserialize_double_range),
7835         (gst_value_set_fraction_range_full),
7836         (gst_value_deserialize_fraction_range),
7837         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7838         (gst_value_deserialize_boolean),
7839         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7840         (gst_value_serialize_float), (gst_value_deserialize_float),
7841         (gst_string_wrap), (gst_value_deserialize_string),
7842         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7843         (gst_value_union_int_range_int_range),
7844         (gst_value_intersect_int_range_int_range),
7845         (gst_value_intersect_double_range_double_range),
7846         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7847         (gst_value_subtract_int_range_int_range),
7848         (gst_value_subtract_double_double_range),
7849         (gst_value_subtract_double_range_double_range),
7850         (gst_value_deserialize_fraction):
7851         * gst/gstvalue.h:
7852           Use gint, gdouble and gchar in our API instead of int, double and
7853           char (and make usage in gstvalue.c more consistent).
7854
7855 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7856
7857         * check/Makefile.am:
7858         * libs/gst/controller/Makefile.am:
7859         * libs/gst/dataprotocol/Makefile.am:
7860           fix up Makefile.am and remove GST_ENABLE_NEW
7861
7862 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7863
7864         * configure.ac:
7865         * gst/Makefile.am:
7866         * gst/base/Makefile.am:
7867         * gst/check/Makefile.am:
7868         * gst/elements/Makefile.am:
7869         * gst/net/Makefile.am:
7870           update LDFLAGS use some more
7871
7872 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
7873
7874         * common/m4/gst-doc.m4:
7875           Fixes #312589
7876
7877 2005-11-26  Edward Hervey  <edward@fluendo.com>
7878
7879         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7880         This shouldn't issue a g_warning since it returns NULL if it
7881         couldn't find the plugin, and all functions using this behave
7882         properly on a NULL return. Switching to a GST_WARNING.
7883
7884 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
7885
7886         * gst/gstbin.c: (gst_bin_handle_message_func):
7887         Don't leak clock messages.
7888
7889 2005-11-25  Wim Taymans  <wim@fluendo.com>
7890
7891         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7892         (gst_util_uint64_scale_int):
7893         Optimisations, remove unneeded vars.
7894
7895 2005-11-25  Wim Taymans  <wim@fluendo.com>
7896
7897         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7898         Added more checks for the high precision uint64 cases.
7899
7900         * gst/gstutils.c: (gst_util_uint64_scale_int64),
7901         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7902         Implement high precision (guint64 * guint64) / guint64.
7903
7904 2005-11-24  Wim Taymans  <wim@fluendo.com>
7905
7906         * gst/base/gstbasesrc.c: (gst_base_src_query):
7907         Fix wrong percentage query.
7908
7909         * gst/gstutils.c: (gst_util_uint64_scale),
7910         (gst_util_uint64_scale_int):
7911         Add some more common cases that can be handled 
7912         efficiently to _scale.
7913
7914 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7915
7916         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7917         (gst_mini_object_suite):
7918           don't use check calls from threads; check probably isn't
7919           threadsafe and using a lock to make it threadsafe would
7920           defeat the purpose of this check
7921         * gst/check/gstcheck.c:
7922         * gst/check/gstcheck.h:
7923           use GST_DEBUG some more
7924
7925 2005-11-24  Wim Taymans  <wim@fluendo.com>
7926
7927         * gst/gstutils.c: (gst_util_uint64_scale),
7928         (gst_util_uint64_scale_int):
7929         Chain trivial case to _scale_int.
7930
7931 2005-11-24  Wim Taymans  <wim@fluendo.com>
7932
7933         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7934         Added test for scaling.
7935
7936         * gst/gstclock.h:
7937         Small doc fix.
7938
7939         * gst/gstutils.c: (gst_util_uint64_scale_int):
7940         Implemented high precision scaling code.
7941
7942 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
7943
7944         * gst/gstinfo.h:
7945           do not crash on pad==NULL
7946
7947 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
7948
7949         Patch by: Stefan Kost
7950
7951         * common/gtk-doc.mak:
7952         * docs/gst/Makefile.am:
7953         * docs/libs/Makefile.am:
7954           Fix distcheck issues for the libraries docs build
7955           Closes #319599.
7956
7957 2005-11-24  Michael Smith <msmith@fluendo.com>
7958
7959         * docs/manual/basics-helloworld.xml:
7960           Fix bug #315027: memory leak in example code in docs.
7961
7962 2005-11-24  Michael Smith <msmith@fluendo.com>
7963
7964         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7965           Unlock the PREROLL_LOCK in a failure case.
7966
7967 2005-11-24  Wim Taymans  <wim@fluendo.com>
7968
7969         * docs/gst/gstreamer-sections.txt:
7970         * gst/base/gstadapter.h:
7971         * gst/base/gstbasesink.h:
7972         * gst/base/gstbasesrc.h:
7973         * gst/base/gstbasetransform.h:
7974         * gst/base/gstpushsrc.h:
7975         * gst/elements/gstfakesink.h:
7976         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7977         * gst/elements/gstfakesrc.h:
7978         * gst/elements/gstfilesink.h:
7979         * gst/elements/gstfilesrc.h:
7980         * gst/gst.c:
7981         * gst/gstbin.c:
7982         * gst/gstbuffer.c: (_gst_buffer_copy):
7983         * gst/gstbus.h:
7984         * gst/gstcaps.c:
7985         * gst/gstchildproxy.c:
7986         * gst/gstclock.c:
7987         * gst/gstelement.c:
7988         * gst/gstelementfactory.c:
7989         * gst/gstelementfactory.h:
7990         * gst/gstevent.c:
7991         * gst/gstghostpad.h:
7992         * gst/gstindex.h:
7993         * gst/gstinterface.h:
7994         * gst/gstminiobject.c:
7995         * gst/gstminiobject.h:
7996         * gst/gstpad.c:
7997         * gst/gstpad.h:
7998         * gst/gstpadtemplate.h:
7999         * gst/gstpipeline.h:
8000         * gst/gstpluginfeature.h:
8001         * gst/gstquery.h:
8002         * gst/gstqueue.h:
8003         * gst/gsttaglist.c:
8004         * gst/gsttaglist.h:
8005         * gst/gsttagsetter.c:
8006         * gst/gsttagsetter.h:
8007         * gst/gsttrace.c:
8008         * gst/gsttrace.h:
8009         * gst/gsttypefind.h:
8010         * gst/gsturi.h:
8011         * gst/gstvalue.c:
8012         * gst/net/gstnetclientclock.c:
8013         * gst/net/gstnetclientclock.h:
8014         * gst/net/gstnettimepacket.c:
8015         * gst/net/gstnettimeprovider.c:
8016         * gst/net/gstnettimeprovider.h:
8017         Doc fixes.
8018
8019 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8020
8021         * configure.ac: back to HEAD
8022
8023 === release 0.9.6 ===
8024
8025 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
8026
8027         * configure.ac:
8028           releasing 0.9.6, "Always On Time"
8029
8030 2005-11-23  Wim Taymans  <wim@fluendo.com>
8031
8032         * docs/gst/gstreamer-sections.txt:
8033         * gst/glib-compat.c:
8034         * gst/gsttagsetter.c:
8035         * gst/gstvalue.c:
8036         * gst/net/gstnetclientclock.c:
8037         * gst/net/gstnettimepacket.h:
8038         Doc updates.
8039
8040 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8041
8042         * docs/faq/using.xml:
8043         * docs/libs/tmpl/gstcontrol.sgml:
8044         * docs/manual/advanced-dparams.xml:
8045         * docs/manual/appendix-checklist.xml:
8046         * docs/manual/basics-elements.xml:
8047         * docs/pwg/other-source.xml:
8048         * docs/random/moving-plugins:
8049         * gst/gstpad.c:
8050         * tools/gst-launch.1.in:
8051           remove mentions of sinesrc
8052
8053 2005-11-23  Michael Smith <msmith@fluendo.com>
8054
8055         * docs/gst/gstreamer-sections.txt:
8056           Update for new API and API changes.
8057         * gst/gstobject.h:
8058           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8059         * gst/gstvalue.c:
8060           Documentation typo fix.
8061         * gst/net/gstnettimepacket.c:
8062           Documentation fixes for arguments.
8063
8064 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
8065
8066         * gst/gststructure.c: (gst_structure_get_fraction),
8067         (gst_structure_parse_value),
8068         (gst_structure_fixate_field_nearest_fraction):
8069         * gst/gststructure.h:
8070         * gst/gstutils.c: (gst_util_uint64_scale_int):
8071         * gst/gstutils.h:
8072         * scripts/update-funcnames:
8073         API Changes. 
8074         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8075         Make gst_structure_fixate_field_nearest_fraction take a numerator
8076         and denominator argument instead of a GValue
8077         add gst_structure_get_fraction helper function.
8078
8079 2005-11-23  Wim Taymans  <wim@fluendo.com>
8080
8081         * docs/design/part-TODO.txt:
8082         Update TODO.
8083
8084         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8085         * gst/net/gstnetclientclock.h:
8086         Use parent fields for timeout and window_size.
8087
8088 2005-11-23  Andy Wingo  <wingo@pobox.com>
8089
8090         * check/net/gstnetclientclock.c (test_functioning): Adjust to
8091         rate_num/rate_denom change.
8092
8093         * gst/net/gstnetclientclock.c
8094         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8095         OBJECT_LOCK. Don't call add_observation with the lock.
8096
8097         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8098         fraction.
8099         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8100         rate fraction.
8101         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8102         deal with rate as a fraction whose numerator and denominator are
8103         GstClockTime values.
8104         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8105         master; the other fields are protected by the SLAVE_LOCK.
8106         (do_linear_regression): Note that this must be called with the
8107         SLAVE_LOCK.
8108         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8109         OBJECT_LOCK. Call set_calibration instead of touching the
8110         variables directly.
8111         (gst_clock_set_property, gst_clock_get_property): Protect
8112         master/slave parameters with the SLAVE_LOCK.
8113
8114         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8115         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8116         note that all of the instance variables that add_observation and
8117         the set_master functions use are protected by that lock and not
8118         the OBJECT_LOCK.
8119         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8120
8121         * gst/gstclock.c (gst_clock_add_observation): No longer requires
8122         the caller to take the object lock.
8123
8124 2005-11-23  Wim Taymans  <wim@fluendo.com>
8125
8126         * gst/gsterror.c: (_gst_core_errors_init):
8127         * gst/gsterror.h:
8128         Add error for clock stuff.
8129
8130         * gst/gstpipeline.c: (gst_pipeline_change_state),
8131         (gst_pipeline_set_clock):
8132         Post clock error when clock cannot be used in a pipeline.
8133
8134 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
8135
8136         * docs/gst/gstreamer-sections.txt:
8137           make two symbols from gstinfo private for the docs
8138         * gst/base/gstcollectpads.h:
8139         * gst/gstutils.c:
8140           fix doc typos, update docs
8141
8142 2005-11-22  Wim Taymans  <wim@fluendo.com>
8143
8144         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8145         (gst_base_sink_wait), (gst_base_sink_do_sync),
8146         (gst_base_sink_handle_event):
8147         * gst/base/gstbasesink.h:
8148         No need to store the clock, the parent element class already
8149         has it.
8150
8151         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8152         Updates for clock_set returning a gboolean
8153
8154         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8155         (gst_clock_id_wait_async), (gst_clock_class_init),
8156         (gst_clock_init), (gst_clock_finalize),
8157         (gst_clock_get_internal_time), (gst_clock_get_time),
8158         (gst_clock_slave_callback), (gst_clock_set_master),
8159         (gst_clock_get_master), (do_linear_regression),
8160         (gst_clock_add_observation), (gst_clock_set_property),
8161         (gst_clock_get_property):
8162         * gst/gstclock.h:
8163         Implement master/slave. When setting a clock as a slave, a
8164         periodic timeout is scheduled to sample master and slave times.
8165         Then the slave clock is recalibrated to match offset and rate
8166         of the master clock.
8167         Update logging a bit.
8168         Add flag so that a clock can state that is cannot be slaved to
8169         another clock.
8170
8171         * gst/gstelement.c: (gst_element_set_clock):
8172         * gst/gstelement.h:
8173         The set clock returns a gboolean for when an element cannot
8174         deal with the selected clock in the pipeline. 
8175
8176         * gst/gstpipeline.c: (gst_pipeline_change_state),
8177         (gst_pipeline_set_clock):
8178         * gst/gstpipeline.h:
8179         Handle the case where the selected clock cannot be set on
8180         the pipeline.
8181
8182         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8183         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8184         (gst_net_client_clock_set_property),
8185         (gst_net_client_clock_get_property),
8186         (gst_net_client_clock_observe_times):
8187         * gst/net/gstnetclientclock.h:
8188         Use regression code in GstClock parent, remove duplicated
8189         functionality.
8190
8191 2005-11-22  Michael Smith <msmith@fluendo.com>
8192
8193         * gst/gstutils.c: (gst_util_clock_time_scale):
8194         * gst/gstutils.h:
8195         * docs/gst/gstreamer-sections.txt:
8196           Rename method to have extra underscore.
8197
8198 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
8199
8200         * gst/elements/Makefile.am:
8201         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8202         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8203         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8204         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8205         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8206         * gst/elements/gstfakesrc.h:
8207         * gst/gstqueue.c: (queue_leaky_get_type):
8208           correctly fix GEnumValues so that nick is the short lowercase
8209           dashed tag
8210         * tools/gst-inspect.c: (print_element_properties_info):
8211           also show the nick, since it's useful to use from parse_launch
8212           syntax
8213           Fixes #322139
8214
8215 2005-11-22  Michael Smith <msmith@fluendo.com>
8216
8217         * gst/gstutils.c: (gst_util_clocktime_scale):
8218         * gst/gstutils.h:
8219         * docs/gst/gstreamer-sections.txt:
8220           Add util method for scaling a clocktime by a fraction. Useful 
8221           implementation is left as an exercise for the reader.
8222
8223 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8224
8225         * gst/gstvalue.c: (gst_value_collect_fraction_range):
8226         If needed, allocate storage in the destination value during
8227         collection.
8228
8229 2005-11-22  Edward Hervey  <edward@fluendo.com>
8230
8231         * docs/gst/gstreamer-sections.txt:
8232         * gst/Makefile.am:
8233         * gst/gst.h:
8234         * gst/gsturitype.c:
8235         * gst/gsturitype.h:
8236         * gst/gstutils.c: (gst_util_set_object_arg):
8237         * tools/gst-compprep.c: (main):
8238         * tools/gst-inspect.c: (print_element_properties_info):
8239         Removed GstURI, closes bug #321061
8240
8241 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8242
8243         * check/gst/gststructure.c: (GST_START_TEST):
8244         * gst/gststructure.c: (gst_structure_parse_value):
8245           Oops, broke automatic string type parsing.
8246           Add a test to catch it in future.
8247
8248 2005-11-22  Andy Wingo  <wingo@pobox.com>
8249
8250         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
8251         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8252         Actually rename the function implementations. Grr.
8253
8254 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8255
8256         * check/gst/capslist.h:
8257           Comment test cases
8258         * check/gst/gststructure.c: (GST_START_TEST),
8259         (gst_structure_suite):
8260           Test automatic value type detection in gst_structure_from_string.
8261         * gst/gststructure.c: (gst_structure_parse_value):
8262           Add fraction as a type we try and guess automatically in
8263           caps/structure strings.
8264
8265 2005-11-22  Andy Wingo  <wingo@pobox.com>
8266
8267         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8268
8269         * gst/gsttagsetter.h:
8270         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8271         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8272         (gst_tag_setter_add_tag_valist)
8273         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8274         _add_values, _add_valist, and _add_valist_values. Since this is an
8275         interface the function suffixes should be more explicit so
8276         language binding don't end up with element.add_valist ->
8277         gst_tag_setter_add_valist, for example. Fixes #322069.
8278
8279 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8280
8281         * check/gst/gstcaps.c: (GST_START_TEST):
8282           Extend caps string tests to check that a caps to string
8283           conversion is reversible and produces the same caps.
8284
8285         * gst/gststructure.c: (gst_structure_value_get_generic_type):
8286           Output "fraction" as the generic type fraction range, so caps
8287           serialisation and deserialisation works.
8288         * check/gst/capslist.h:
8289         * gst/gstvalue.c: (gst_value_deserialize_fraction):
8290           Support 'MIN' and 'MAX' for deserialising fractions.
8291
8292 2005-11-22  Andy Wingo  <wingo@pobox.com>
8293
8294         * gst/gstevent.h (gst_event_new_new_segment)
8295         (gst_event_parse_new_segment, gst_event_new_buffer_size)
8296         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8297         Renamed from *_newsegment, *_buffersize, *_notarget.
8298
8299         * scripts/update-funcnames: New script, performs the changes
8300         listed above.
8301
8302 2005-11-22  Wim Taymans  <wim@fluendo.com>
8303
8304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8305         Make sure the GstFlowReturn is returned.
8306
8307         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8308         (gst_bus_add_signal_watch):
8309         * gst/gstbus.h:
8310         add gst_bus_add_signal_watch_full.
8311
8312         * gst/gstplugin.c: (gst_plugin_load_file):
8313         Small style cleanup.
8314
8315 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8316
8317         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8318           Block the fakesrc srcpad when we send an event, to avoid
8319           contention on the stream_lock causing random test failures.
8320
8321 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8322
8323         * check/gst/gstvalue.c: (GST_START_TEST):
8324         * gst/gstvalue.c: (gst_value_fraction_subtract):
8325           Fix subtraction.
8326
8327 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
8328
8329         * gst/gst.h:
8330           include "gstchildproxy.h"
8331         * gst/gstchildproxy.h:
8332         * libs/gst/controller/gstcontroller.h:
8333           use G_GNUC_NULL_TERMINATED
8334
8335 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
8336
8337         * check/gst/capslist.h:
8338         * check/gst/gstcaps.c: (GST_START_TEST):
8339         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8340         * gst/gststructure.c: (gst_structure_parse_range),
8341         (gst_structure_fixate_field_nearest_fraction):
8342         * gst/gststructure.h:
8343         * gst/gstvalue.c: (gst_value_init_fraction_range),
8344         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8345         (gst_value_collect_fraction_range),
8346         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8347         (gst_value_set_fraction_range_full),
8348         (gst_value_get_fraction_range_min),
8349         (gst_value_get_fraction_range_max),
8350         (gst_value_serialize_fraction_range),
8351         (gst_value_transform_fraction_range_string),
8352         (gst_value_compare_fraction_range),
8353         (gst_value_deserialize_fraction_range),
8354         (gst_value_intersect_fraction_fraction_range),
8355         (gst_value_intersect_fraction_range_fraction_range),
8356         (gst_value_subtract_fraction_fraction_range),
8357         (gst_value_subtract_fraction_range_fraction),
8358         (gst_value_subtract_fraction_range_fraction_range),
8359         (gst_value_collect_fraction), (gst_value_fraction_multiply),
8360         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8361         (gst_value_transform_string_fraction), (_gst_value_initialize):
8362         * gst/gstvalue.h:
8363           Implement fraction ranges and extend GstFraction to support
8364           arithmetic subtraction, as well as deserialization from integer
8365           strings such as "100"
8366           Add a testsuite as for int and double range set operations
8367
8368 2005-11-21  Andy Wingo  <wingo@pobox.com>
8369
8370         * gst/gsttaglist.h: 
8371         * gst/gstcaps.h: 
8372         * gst/gststructure.h: Add glib-compat.h.
8373
8374 2005-11-21  Wim Taymans  <wim@fluendo.com>
8375
8376         * gst/gstbin.c: (gst_bin_change_state_func):
8377         Fix for #321595
8378
8379 2005-11-21  Wim Taymans  <wim@fluendo.com>
8380
8381         * gst/gstsegment.h:
8382         And add a nice define too.
8383
8384 2005-11-21  Wim Taymans  <wim@fluendo.com>
8385
8386         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8387         (gst_segment_new), (gst_segment_free), (gst_segment_init),
8388         (gst_segment_set_duration), (gst_segment_set_last_stop),
8389         (gst_segment_set_seek), (gst_segment_set_newsegment),
8390         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8391         (gst_segment_clip):
8392         * gst/gstsegment.h:
8393         Make binding friendly.
8394
8395 2005-11-21  Andy Wingo  <wingo@pobox.com>
8396
8397         * gst/gsttagsetter.h: 
8398         * gst/gsttaglist.h: 
8399         * gst/gststructure.h: 
8400         * gst/gstcaps.h: 
8401         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8402         #319940.
8403
8404         * gst/gsterror.c (_gst_core_errors_init):
8405         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8406         category.
8407
8408         * gst/Makefile.am (gst_headers): Add glib-compat.h.
8409         (noinst_HEADERS): noinst the -private.
8410
8411 2005-11-21  Michael Smith <msmith@fluendo.com>
8412
8413         * gst/gstplugin.h:
8414         * gst/gstregistry.h:
8415           Remove unimplemented declarations for which we can see no sensible
8416           use.
8417
8418 2005-11-21  Andy Wingo  <wingo@pobox.com>
8419
8420         * gst/gst.h: Include glib-compat.h.
8421
8422         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8423
8424         * gst/glib-compat.c: Include the public and the private header.
8425
8426         * gst/glib-compat-private.h: Copied here from glib-compat.h.
8427
8428         * gst/gstvalue.c: 
8429         * gst/gstpad.c: 
8430         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8431
8432         * check/gst/gstevent.c (create_custom_events): Check that
8433         FLUSH_STOP is serialized.
8434
8435         * check/elements/identity.c (event_func): 
8436         * check/elements/fakesrc.c (event_func): No stream lock, the core
8437         takes it.
8438
8439         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8440         stream lock taking, yay.
8441
8442         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8443         ensure that core takes the stream lock.
8444
8445         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8446         lock name change.
8447
8448         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8449         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8450         it already. For the flush start we do take it though so we get the
8451         right preroll state change messages.
8452
8453         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8454         the stream lock here, the core does it for us.
8455
8456         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8457         GST_STREAM_GET_LOCK.
8458         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
8459         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
8460         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8461         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8462         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
8463         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8464
8465         * gst/gstpad.c: Update for stream lock name change.
8466
8467         * gst/base/gstbasesink.c: Update for preroll lock name change.
8468
8469 2005-11-21  Wim Taymans  <wim@fluendo.com>
8470
8471         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8472         (gst_clock_get_master):
8473         * gst/gstclock.h:
8474         * gst/gstsystemclock.c: (gst_system_clock_init):
8475         Convert Clock flags to object flags.
8476         Added methods to manage master/slave clocks.
8477
8478 2005-11-21  Wim Taymans  <wim@fluendo.com>
8479
8480         * check/gst/gstsegment.c: (GST_START_TEST):
8481         * docs/design/part-TODO.txt:
8482         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8483         (gst_base_sink_event), (gst_base_sink_do_sync),
8484         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8485         (gst_base_sink_query), (gst_base_sink_change_state):
8486         * gst/base/gstbasesink.h:
8487         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8488         (gst_base_src_default_newsegment),
8489         (gst_base_src_configure_segment), (gst_base_src_do_seek),
8490         (gst_base_src_get_range), (gst_base_src_loop),
8491         (gst_base_src_change_state):
8492         * gst/base/gstbasesrc.h:
8493         * gst/base/gstbasetransform.c:
8494         (gst_base_transform_prepare_output_buf),
8495         (gst_base_transform_event), (gst_base_transform_change_state):
8496         * gst/base/gstbasetransform.h:
8497         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8498         (gst_collect_pads_event):
8499         * gst/base/gstcollectpads.h:
8500         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8501         (gst_fake_src_create):
8502         * gst/elements/gstfakesrc.h:
8503         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8504         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8505         (gst_segment_set_last_stop), (gst_segment_set_seek),
8506         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8507         (gst_segment_to_running_time), (gst_segment_clip):
8508         * gst/gstsegment.h:
8509         More segment updates, replace code in plugins with segment
8510         helper functions.
8511
8512 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8513
8514         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8515         Don't ignore sscanf results
8516
8517 2005-11-21  Andy Wingo  <wingo@pobox.com>
8518
8519         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8520
8521         * *.h:
8522         * *.c: Ran scripts/update-macros. Oh yes.
8523
8524         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8525         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8526         GST_GET_LOCK, etc.
8527
8528         * scripts/update-macros: New script. Run it on your files to
8529         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8530         well.
8531
8532 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8533
8534         * docs/gst/Makefile.am:
8535         * docs/gst/gstreamer-docs.sgml:
8536         * docs/gst/gstreamer-sections.txt:
8537         * docs/gst/gstreamer.types:
8538         * gst/gstinfo.h:
8539           more docs fixes, add new api to the docs
8540
8541 2005-11-21  Andy Wingo  <wingo@pobox.com>
8542
8543         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8544         state_broadcast call.
8545
8546         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8547
8548 2005-11-21  Julien MOUTTE  <julien@moutte.net>
8549
8550         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8551         function calls for arrays.
8552
8553 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
8554
8555         * docs/random/ensonic/media-device-daemon.txt:
8556           wild idea, can this be done?
8557         * docs/gst/gstreamer-sections.txt:
8558         * gst/gsterror.h:
8559         * gst/gstfilter.c:
8560         * gst/gstfilter.h:
8561         * gst/gstplugin.h:
8562         * gst/gstpluginfeature.c:
8563         * gst/gsttrace.c:
8564         * gst/gstvalue.c:
8565         * gst/gstvalue.h:
8566           doc fixes and additions
8567
8568 2005-11-21  Andy Wingo  <wingo@pobox.com>
8569
8570         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
8571         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
8572         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
8573         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8574         private to the basesrc implementation.
8575
8576         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8577         behalf of event function if necessary. It should no longer be
8578         necessary to take the stream lock in pad's event functions. Fixes
8579         #320299.
8580
8581 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8582         * docs/gst/gstreamer-sections.txt:
8583         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8584         (gst_structure_fixate_field_nearest_double),
8585         (gst_structure_fixate_field_boolean):
8586         * gst/gststructure.h:
8587         * win32/common/libgstreamer.def:
8588         * win32/gstreamer.def:
8589
8590         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8591         (#322027)
8592
8593 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
8594
8595         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8596         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8597         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8598         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8599         (gst_fdsrc_uri_handler_init):
8600         * gst/elements/gstfdsrc.h:
8601           Port fd:// URI handler from 0.8 to fdsrc
8602
8603 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8604
8605         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8606         (gst_value_serialize_fourcc):
8607         * gst/gstvalue.h:
8608           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8609           consistent with our other format defines (#320324).
8610
8611 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8612
8613         * gst/gstvalue.c: (gst_value_is_fixed):
8614           Revert previous commit. Value lists are by definition
8615           not fixed, as they are a list of possible values.
8616
8617 2005-11-21  Andy Wingo  <wingo@pobox.com>
8618
8619         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8620         during the stable series if we need it. Fixes #319178.
8621
8622         * gst/gstevent.c (gst_event_new_filler): Removed.
8623
8624         * check/gst/gstevent.c: Update comment about filler events.
8625
8626 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         * gst/gstvalue.c: (gst_value_is_fixed):
8629           Should handle both value arrays and value lists.
8630
8631 2005-11-21  Andy Wingo  <wingo@pobox.com>
8632
8633         patch by: Alessandro Dessina <alessandro nnva org>
8634
8635         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8636         functions to access arrays. Fixes #321962.
8637
8638 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8639
8640         * docs/gst/gstreamer.types:
8641           gst_collectpads_get_type => gst_collect_pads_get_type.
8642           
8643         * gst/base/gstbasetransform.c:
8644           Remove unused SIGNAL_HANDOFF enum.
8645
8646 2005-11-21  Andy Wingo  <wingo@pobox.com>
8647
8648         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8649         the event type (upstream, downstream, serialized). Renamed
8650         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8651         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8652         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8653
8654         * gst/gstevent.c: Update for new CUSTOM event names.
8655
8656         * check/gst/gstevent.c: Update check for new CUSTOM event names.
8657
8658         * gst/gstevent.h:
8659         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8660         bug #319392.
8661
8662 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8663
8664         * docs/gst/gstreamer-sections.txt:
8665         * win32/common/libgstbase.def:
8666         * win32/libgstbase.def:
8667         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8668         (gst_collect_pads_class_init), (gst_collect_pads_init),
8669         (gst_collect_pads_finalize), (gst_collect_pads_new),
8670         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8671         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8672         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8673         (gst_collect_pads_start), (gst_collect_pads_stop),
8674         (gst_collect_pads_peek), (gst_collect_pads_pop),
8675         (gst_collect_pads_available), (gst_collect_pads_read),
8676         (gst_collect_pads_flush), (gst_collect_pads_event),
8677         (gst_collect_pads_chain):
8678         * gst/base/gstcollectpads.h:
8679           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8680           unimplemented functions as unimplemented. Add padding to
8681           GstCollectData. (#320766, #320423)
8682
8683 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
8684
8685         * gst/gstmessage.c:
8686           Improve docs for DURATION message (usage of duration parameter)
8687           (#320113)
8688
8689 2005-11-20  Wim Taymans  <wim@fluendo.com>
8690
8691         * check/Makefile.am:
8692         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8693         (main):
8694         * gst/Makefile.am:
8695         * gst/gst.h:
8696         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8697         (gst_segment_set_seek), (gst_segment_set_newsegment),
8698         (gst_segment_to_stream_time), (gst_segment_to_running_time),
8699         (gst_segment_clip):
8700         * gst/gstsegment.h:
8701         Added segment helper structure and methods. Not fully implemented
8702         yet.
8703         Added segment check.
8704
8705 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
8706
8707         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8708           Add a deserialisation test for fractions
8709         * examples/metadata/read-metadata.c: (message_loop),
8710         (make_pipeline), (main):
8711           Fix up metadata reading sample.
8712         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8713           Debug format fix
8714         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8715           Don't try and fixate empty caps
8716         * gst/gst_private.h:
8717           Wrap in G_BEGIN_DECLS/G_END_DECLS
8718         * gst/gstvalue.c: (gst_value_collect_fraction),
8719         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8720         (gst_value_transform_string_fraction),
8721         (gst_value_compare_fraction):
8722           Add some extra guards to ensure that we don't end up 
8723           with an invalid denominator of 0 in a gstfraction and
8724           that fractions always get reduced.
8725
8726 2005-11-20  Wim Taymans  <wim@fluendo.com>
8727
8728         * docs/gst/gstreamer-sections.txt:
8729         * gst/gstbuffer.h:
8730         * gst/gstelement.c:
8731         * gst/gstformat.c:
8732         * gst/gstformat.h:
8733         * gst/gstindex.h:
8734         * gst/gstquery.c:
8735         * gst/gstquery.h:
8736         * gst/gstvalue.c:
8737         Doc fixes.
8738
8739 2005-11-20  Wim Taymans  <wim@fluendo.com>
8740
8741         * docs/design/part-TODO.txt:
8742         * gst/gstcaps.h:
8743         Make a proper enum of the flag.
8744
8745 2005-11-19  Wim Taymans  <wim@fluendo.com>
8746
8747         * docs/design/part-TODO.txt:
8748         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8749         (gst_format_to_quark), (gst_format_register):
8750         * gst/gstformat.h:
8751         * gst/gstquery.c: (_gst_query_initialize),
8752         (gst_query_type_get_name), (gst_query_type_to_quark),
8753         (gst_query_type_register):
8754         * gst/gstquery.h:
8755         Add type to quark and type to string conversions.
8756
8757 2005-11-19  Andy Wingo  <wingo@pobox.com>
8758
8759         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8760         #320097.
8761
8762 2005-11-19  Wim Taymans  <wim@fluendo.com>
8763
8764         * docs/design/part-TODO.txt:
8765         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8766         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8767         (gst_bin_handle_message_func):
8768         * gst/gstbin.h:
8769         Make message handling overridable.
8770
8771 2005-11-19  Andy Wingo  <wingo@pobox.com>
8772
8773         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8774
8775         * gst/gstclock.h:
8776         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8777         be a GstClockTime.
8778         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8779         is a GstClockTime. Fixes #321710.
8780
8781         * gst/gstclock.h (GstClock): Remove offset property. Add
8782         internal_calibration and external_calibration. Fix padding. Pad
8783         also by GstClockTime so we don't run into problems.
8784
8785         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8786         (gst_clock_get_rate_offset): Remove.
8787         (gst_clock_set_time_adjust): Remove. Fixes #321712.
8788
8789         * gst/gstutils.h:
8790         * gst/gstutils.c (g_static_rec_cond_wait)
8791         (g_static_rec_cond_timed_wait): Removed, no longer needed.
8792
8793         * gst/gstbin.c: Remove terrible continue_state prototype.
8794
8795         * gst/gstelement.h (gst_element_continue_state): Make public.
8796
8797         * gst/gstelement.h:
8798         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8799         by continue_state. Fixes #319389.
8800
8801         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8802         Really fixes #168438. However I don't see anywhere where the
8803         filter function is called... stupid GStreamer...
8804         
8805         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8806         don't have a dispose function, so it won't get called when the
8807         object is unreffed, but oh well!
8808
8809         * gst/gstindex.c (gst_index_set_filter_full): New API function,
8810         allows a destroy function to be set so user_data can be freed.
8811         Fixes #168438.
8812         (gst_index_set_filter): Call gst_index_set_filter_full.
8813
8814         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8815
8816         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8817         string should produce an error, given the lack of a way to
8818         represent NULL strings. Fixes #165650.
8819         
8820         * gst/gstvalue.h: 
8821         * gst/gstvalue.c (gst_value_array_append_value) 
8822         (gst_value_array_prepend_value, gst_value_array_get_size) 
8823         (gst_value_array_get_value): New API, copied from
8824         gst_value_list_*, only operates on arrays.
8825         (gst_value_list_append_value, gst_value_list_prepend_value) 
8826         (gst_value_list_concat, gst_value_list_get_size) 
8827         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8828
8829         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8830         init_list, because it works on both.
8831         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8832         (gst_value_copy_list_or_array): Renamed from copy_list.
8833         (gst_value_free_list_or_array): Renamed from free_list.
8834         (gst_value_collect_list_or_array): Renamed from collect_list.
8835         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8836         (gst_value_list_or_array_peek_pointer): Renamed from
8837         list_peek_pointer.
8838         (_gst_value_array_value_table, _gst_value_list_value_table):
8839         Update value table functions.
8840         (gst_value_compare_list_or_array): Renamed from compare_list.
8841
8842         * gsttaglist.h: Whoops, foreach function returns void. Also fix
8843         some constness.
8844
8845         * gst/gsttaglist.c:
8846         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8847         GstTagList*. Fixes #143472.
8848
8849         * gst/gststructure.h: Clarify what the foreach/map functions can
8850         or can't do to their arguments.
8851
8852 2005-11-18  Wim Taymans  <wim@fluendo.com>
8853
8854         * gst/gstclock.c: (gst_clock_set_calibration),
8855         (gst_clock_get_calibration):
8856         Doc and API fixes.
8857         Calibration can be set with internal time equal to current
8858         internal time too.
8859
8860 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8861
8862         * gst/gsterror.c:
8863         * gst/gsterror.h:
8864           document
8865
8866 2005-11-18  Andy Wingo  <wingo@pobox.com>
8867
8868         * configure.ac: 
8869         * pkgconfig/gstreamer-net.pc.in:
8870         * pkgconfig/gstreamer-net-uninstalled.pc.in:
8871         * pkgconfig/Makefile.am: Add net pkgconfig files.
8872
8873 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
8874
8875         * gst/gstcaps.c:
8876         * gst/gstghostpad.c:
8877         * gst/gsttrace.c:
8878         * gst/gstvalue.c:
8879         * gst/gstvalue.h:
8880           docs fixes
8881
8882 2005-11-18  Andy Wingo  <wingo@pobox.com>
8883
8884         * gst/net/gstnetclientclock.c: Turn off debugging.
8885
8886         * check/net/gstnetclientclock.c (test_functioning): Assert that the
8887         times connverge somewhat. Can't make a real test.
8888
8889         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8890         integer arithmetic. Return the minimum of the domain, which can be
8891         set as "internal" for gst_clock_set_calibration.
8892         (gst_net_client_clock_observe_times): Call _set_calibration.
8893         (gst_net_client_clock_new): Call _set_calibration instead of
8894         rate_offset.
8895
8896         * check/net/gstnetclientclock.c (test_functioning): Use the right
8897         adjustment api.
8898
8899         * gst/gstclock.h:
8900         * gst/gstclock.c (gst_clock_get_calibration) 
8901         (gst_clock_set_calibration): New functions, obsolete the ones I
8902         added yesterday. Doh. Precision issues mean we have to extrapolate
8903         from a point in the more recent past than 1970.
8904         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8905         obsolete.
8906         (gst_clock_adjust_unlocked): Use the right calibration data.
8907
8908 2005-11-18  Edward Hervey  <edward@fluendo.com>
8909
8910         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
8911         Also reset the ->current_* values in READY->PAUSED
8912
8913 2005-11-18  Andy Wingo  <wingo@pobox.com>
8914
8915         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8916         Whoops, check the right fd. Also add some debugging.
8917         (gst_net_client_clock_observe_times): Adjust for int64 offset.
8918         (do_linear_regression): Add a crapload of debugging. Subtract off
8919         the minimum values from the input series to discard unneeded bits.
8920         Use only int arithmetic. There is still double arithmetic when
8921         calculating the intercept that needs fixing. Return boolean to
8922         indicate success; FALSE would mean the domain or range is too
8923         great. Still needs fixes.
8924
8925 2005-11-18  Wim Taymans  <wim@fluendo.com>
8926
8927         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8928         For the current position in stream time, we need to subtract
8929         accumulated time.
8930         
8931         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8932         Release lock before calling the callback function of async
8933         entries.
8934
8935 2005-11-18  Andy Wingo  <wingo@pobox.com>
8936
8937         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8938         Port goes all the way to MAXUINT16.
8939
8940         * gst/net/gstnettimeprovider.c: Make the port range the same as
8941         for the kernel: 0 assigns, otherwise ports are less than
8942         MAXUINT16.
8943
8944         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8945         port change.
8946
8947         * check/net/gstnetclientclock.c (test_functioning): Add the start
8948         of another test. 
8949
8950 2005-11-18  Wim Taymans  <wim@fluendo.com>
8951
8952         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8953         (gst_bin_remove_func), (bin_bus_handler):
8954         * gst/gstbin.h:
8955         Removing a clock provider from a bin, triggers a clock lost message
8956         so that a new clock will be selected.
8957         Adding a clock to a bin triggers a clock provider message.
8958         Make sure we reselect a clock when we received a clock lost message.
8959         Keep a reference to the element that provided the clock.
8960
8961 2005-11-18  Andy Wingo  <wingo@pobox.com>
8962
8963         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8964         the clock initially so it produces values around the base time.
8965         (gst_net_client_clock_class_init): Typo fix.
8966         (gst_net_client_clock_thread): Add note on when the socket gets
8967         closed.
8968
8969 2005-11-17  Wim Taymans  <wim@fluendo.com>
8970
8971         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8972         Free remote and local time arrays.
8973
8974 2005-11-17  Wim Taymans  <wim@fluendo.com>
8975
8976         * gst/net/gstnetclientclock.c: (do_linear_regression),
8977         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8978         Fix compilation, uninitialized vars and a forgotten continue.
8979
8980 2005-11-17  Andy Wingo  <wingo@pobox.com>
8981
8982         * check/Makefile.am (check_PROGRAMS): 
8983         * check/net/gstnetclientclock.c: Add a most minimal test for the
8984         net client clock. More to come later.
8985
8986         * gst/net/gstnet.h: 
8987         * gst/net/Makefile.am: Add netclientclock.
8988
8989         * gst/net/gstnetclientclock.h:
8990         * gst/net/gstnetclientclock.c: New files, implement an untested
8991         GstClock that takes its time from a network time provider.
8992         Implements the algorithm in network-clock.scm.
8993
8994         * tests/network-clock.scm (*window-size*): Rename from
8995         *queue-length*.
8996         * tests/network-clock.scm (network-time): 
8997         * tests/network-clock-utils.scm (q-push): Update callers.
8998
8999 2005-11-17  Wim Taymans  <wim@fluendo.com>
9000
9001         * gst/gstbin.c: (gst_bin_provide_clock_func),
9002         (gst_bin_sort_iterator_new):
9003         And unref the child too..
9004
9005 2005-11-17  Wim Taymans  <wim@fluendo.com>
9006
9007         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9008         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9009         Refactor the sort iterator so it can be used while holding the
9010         LOCK too.
9011         Make clock selection select a clock closest to the source.
9012
9013 2005-11-17  Michael Smith <msmith@fluendo.com>
9014
9015         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9016         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9017         * gst/gstclock.h:
9018           Anonymous structs are a gcc (and some other compilers) extension, so
9019           don't use them. Since this is only for ABI-compatibility, and our
9020           API/ABI freeze is over in a few days, this whole thing will only
9021           last a few days, so don't bother trying to think up a meaningful
9022           name for the struct.
9023
9024 2005-11-17  Andy Wingo  <wingo@pobox.com>
9025
9026         * gst/gstclock.h (GstClock): Add rate and offset properties,
9027         preserving ABI stability. Add rate/offset accessors. Will file bug
9028         for the freeze break.
9029
9030         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9031         and offset, trying to keep precision and avoiding
9032         underflow/overflow.
9033         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9034         functions. Make gst_clock_set_time_adjust obsolete.
9035         (gst_clock_set_time_adjust): Note that this function is obsolete.
9036         Will file bug soon.
9037
9038         * gst/base/gstbasetransform.h: Make the ABI-stability hack
9039         greppable by using GST_PADDING-1+1.
9040
9041 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
9042
9043         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9044
9045         * gst/gstmessage.c: (gst_message_parse_clock_lost):
9046           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9047
9048         * gst/gstpadtemplate.h:
9049         * gst/gstpluginfeature.h:
9050           Don't use c++ style comments in headers (#321638).
9051
9052 2005-11-16  Andy Wingo  <wingo@pobox.com>
9053
9054         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9055         buffer.
9056
9057         * check/net/gstnettimeprovider.c: Check to see that the time
9058         provider actually provides times. Works, yo!
9059
9060 2005-11-16  Wim Taymans  <wim@fluendo.com>
9061
9062         * check/Makefile.am:
9063         Enable more tests.
9064
9065         * check/elements/fakesrc.c: (GST_START_TEST):
9066         Set element to NULL before disposing it.
9067
9068 2005-11-16  Andy Wingo  <wingo@pobox.com>
9069
9070         * gst/net/Makefile.am:
9071         * gst/net/gstnet.h:
9072         * gst/net/gstnettimeprovider.c: 
9073         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9074         provider, include it from gstnet.h, and add it to the build.
9075
9076         * gst/net/gstnettimepacket.h: 
9077         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9078         sending and receiving.
9079
9080 2005-11-16  Wim Taymans  <wim@fluendo.com>
9081
9082         * check/Makefile.am:
9083         Enable valgrind check.
9084
9085         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9086         (gst_fake_src_alloc_buffer):
9087         Fix memleak.
9088
9089 2005-11-16  Wim Taymans  <wim@fluendo.com>
9090
9091         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9092         Call parent finalize too.
9093
9094 2005-11-16  Wim Taymans  <wim@fluendo.com>
9095
9096         * check/Makefile.am:
9097         Enable valgrind check that should work fine now.
9098
9099         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9100         * gst/gstqueue.c: (gst_queue_init):
9101         Fix memleaks in pad allocation.
9102
9103 2005-11-16  Andy Wingo  <wingo@pobox.com>
9104
9105         * gst/net/Makefile.am:
9106         * gst/net/gstnet.h: New part of core to hold network elements and
9107         objects. Put in core because it exposes API that applications want
9108         to use. The library is named libgstnet-tempname right now because
9109         of the existing libgstnet in gst-plugins-base. Solution is
9110         probably to rename the one in plugins-base; will file a bug for
9111         the freeze break.
9112
9113         * gst/net/gstnettimeprovider.c: 
9114         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9115         get_time call over the network.
9116
9117         * configure.ac: 
9118         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9119
9120         * check/Makefile.am:
9121         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9122         get additions shortly.
9123
9124 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9125
9126         * gst/gstpad.c: (gst_pad_new_from_static_template):
9127         * gst/gstpad.h:
9128           add gst_pad_new_from_static_template functions
9129         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9130         (gst_check_setup_sink_pad):
9131         * gst/elements/gsttee.c: (gst_tee_init):
9132           and use them
9133
9134 2005-11-16  Wim Taymans  <wim@fluendo.com>
9135
9136         * gst/gstpad.c: (gst_pad_pause_task):
9137         Removed warning, it's not really an error either.
9138
9139 2005-11-16  Wim Taymans  <wim@fluendo.com>
9140
9141         * gst/base/gstbasetransform.c:
9142         (gst_base_transform_prepare_output_buf),
9143         (gst_base_transform_event):
9144         Check if the caps are NULL, this can happen if the element
9145         is shutting down and the pad caps are set to NULL.
9146
9147 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9148
9149         * gst/elements/gsttee.c: (gst_tee_init):
9150           fix pad template leak in tee
9151
9152 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9153
9154         * gst/glib-compat.c: (g_value_dup_gst_object):
9155         * gst/glib-compat.h:
9156         * gst/gstpad.c: (gst_pad_set_property):
9157           use gst_object_ref when setting the pad template; this will
9158           trigger the pad template leaks on GLib 2.6 and the slaves
9159
9160 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9161
9162         * gst/glib-compat.c: (gst_flags_get_first_value):
9163         * gst/glib-compat.h:
9164         * gst/gstregistryxml.c:
9165           remove functions copied from GLib 2.6
9166
9167 2005-11-16  Michael Smith <msmith@fluendo.com>
9168
9169         * gst/Makefile.am:
9170           Don't link against VALGRIND_LIBS. That was always the wrong thing to
9171           do, but only breaks with newer valgrind versions. We're not a
9172           valgrind tool, we have no link-time dependencies on libcoregrind.
9173
9174 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9175
9176         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9177           some debug changes
9178         * gst/gstmessage.h:
9179           typo fixes
9180
9181 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
9182
9183         * gst/base/gstbasesrc.c: (gst_base_src_init):
9184         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9185         * gst/gstqueue.c: (gst_queue_init):
9186         * gst/gstregistryxml.c: (load_feature):
9187           Revert all these unrefs, they don't even pass make check !
9188
9189 2005-11-15  Johan Dahlin  <johan@gnome.org>
9190
9191         * gst/base/gstbasesrc.c: (gst_base_src_init):
9192         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9193         * gst/gstqueue.c: (gst_queue_init): 
9194         Free pad templates, fixes a couple of leaks.
9195
9196 2005-11-15  Daniel Fischer  <dan at f3c dot com>
9197
9198         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9199
9200         * gst/gstpad.c: (gst_pad_get_property):
9201           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9202           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9203           (#321452)
9204
9205 2005-11-15  Wim Taymans  <wim@fluendo.com>
9206
9207         * gst/gstevent.c:
9208         Small doc update.
9209
9210 2005-11-15  Andy Wingo  <wingo@pobox.com>
9211
9212         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9213
9214         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9215         using GST_CLOCK_TIME_NONE to disable base time management.
9216         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9217         time if it was NONE before.
9218         (gst_pipeline_change_state): Only munge the base time if
9219         stream_time != GST_CLOCK_TIME_NONE.
9220
9221         * check/gst/gstpipeline.c (test_base_time): Punt around the
9222         problem of the probe not being called, because that's not the
9223         issue I'm looking at. Add a check that setting stream_time to NONE
9224         disables base time management.
9225         
9226 2005-11-15  Wim Taymans  <wim@fluendo.com>
9227
9228         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9229         segment_stop == -1 at startup.
9230
9231         * gst/base/gstbasetransform.c: (gst_base_transform_event),
9232         (gst_base_transform_change_state):
9233         Init segment values at start.
9234
9235 2005-11-15  Wim Taymans  <wim@fluendo.com>
9236
9237         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9238         0 segment values are 0 in any format.
9239
9240         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9241         * gst/base/gstbasetransform.h:
9242         Parse newsegment correctly in basetransform
9243
9244         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9245         Sync to clock using updated segment values.
9246
9247 2005-11-15  Andy Wingo  <wingo@pobox.com>
9248
9249         * check/gst/gstpipeline.c (test_base_time): Add check that the
9250         base time and stream time are reset correctly.
9251
9252 2005-11-15  Wim Taymans  <wim@fluendo.com>
9253
9254         * docs/design/part-TODO.txt:
9255         Some more TODO items.
9256
9257 2005-11-15  Andy Wingo  <wingo@pobox.com>
9258
9259         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9260         error if the user selected "no clock" as the clocking method.
9261
9262         * check/gst/gstpipeline.c (test_base_time): New test for buffer
9263         timestamps with live capture.
9264
9265         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9266         is 0 but we are a live source, timestamp the buffers using the
9267         element's clock.
9268
9269 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
9270
9271         * docs/gst/gstreamer-sections.txt:
9272         * gst/gsterror.c:
9273         * gst/gstghostpad.c:
9274         * gst/gstobject.h:
9275         * gst/gstxml.c:
9276           more section docs
9277
9278 2005-11-14  Wim Taymans  <wim@fluendo.com>
9279
9280         * common/gst.supp:
9281           add suppressions from Wim's Debian machine
9282
9283 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
9284
9285         * common/gst.supp:
9286           add suppressions from Andy's AMD64 Ubuntu machine
9287
9288 2005-11-14  Andy Wingo  <wingo@pobox.com>
9289
9290         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9291         STATE_LOCK not necessary. Fixes #311489.
9292
9293         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9294         #305291.
9295
9296         * gst/gstindex.c (gst_index_add_object): Note in the docs that
9297         this function is not implemented.
9298
9299 2005-11-14  Julien MOUTTE  <julien@moutte.net>
9300
9301         * gst/base/gstbasetransform.c:
9302         (gst_base_transform_prepare_output_buf):
9303         Ref the source pad caps while we need them.
9304         Fixes (#321386)
9305
9306 2005-11-11  Wim Taymans  <wim@fluendo.com>
9307
9308         * docs/gst/gstreamer-sections.txt:
9309         Added some docs for GstCollectData.
9310
9311         * gst/base/gstadapter.c:
9312         Some small code example fix.
9313
9314         * gst/base/gstcollectpads.c:
9315         * gst/base/gstcollectpads.h:
9316         Document some more.
9317
9318 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9319
9320         * configure.ac: back to HEAD
9321
9322 === release 0.9.5 ===
9323
9324 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
9325
9326         * configure.ac:
9327           releasing 0.9.5, "Bike Lunch Day"
9328
9329 2005-11-11  Wim Taymans  <wim@fluendo.com>
9330
9331         * gst/gstbuffer.c: (_gst_buffer_copy):
9332         Copy more flags.
9333
9334         * gst/gstcaps.c: (gst_caps_is_equal):
9335         Fix some docs.
9336         Make _is_equal fast in the trivial cases.
9337
9338         * gst/gstminiobject.c:
9339         * gst/gstminiobject.h:
9340         More docs. Spifify .h file.
9341
9342         * gst/gstutils.c:
9343         Small doc update.
9344
9345 2005-11-11  Wim Taymans  <wim@fluendo.com>
9346
9347         * gst/base/gstbasetransform.c:
9348         (gst_base_transform_prepare_output_buf),
9349         (gst_base_transform_handle_buffer):
9350         Small cleanups.
9351         If we're processing a buffer and need to allocate an output
9352         buffer, we cannot accept a format change. If we did get a 
9353         format change, we have to alloc a buffer ourselves of the 
9354         right size.
9355
9356 2005-11-11  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9359         While checking the flag for reentrancy in the gstcaps function
9360         is nice to detect recursive invocations, it also makes it 
9361         impossible to call getcaps from multiple threads, which must be
9362         possible. So, checking for recursive calls has to go.
9363
9364 2005-11-11  Michael Smith <msmith@fluendo.com>
9365
9366         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9367           Don't sync on buffers that fall partially outside our current
9368           segment. Prevents an assertion failure/abort playing some files.
9369
9370 2005-11-10  Andy Wingo  <wingo@pobox.com>
9371
9372         * check/gst/gstbin.c (test_message_state_changed_children): Style
9373         fix..
9374
9375         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9376         gst_bus_poll with the signal watch. Ensures that poll and a signal
9377         watch see the same messages.
9378
9379         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9380         a poll and a watch at the same time get the same messages.
9381
9382 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9383
9384         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9385         * gst/gstcaps.c: (gst_caps_intersect):
9386           Don't call gst_caps_do_simplify - it doesn't respect order of caps
9387           and it's not needed.
9388
9389 2005-11-10  Wim Taymans  <wim@fluendo.com>
9390
9391         * docs/design/part-TODO.txt:
9392         Updated todo.
9393
9394 2005-11-10  Wim Taymans  <wim@fluendo.com>
9395
9396         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9397         * gst/base/gstbasesrc.c: (gst_base_src_wait),
9398         (gst_base_src_do_sync), (gst_base_src_get_range):
9399         Implement clock sync in base class.
9400
9401 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9402
9403         patch by: Tim-Philipp Müller <tim at centricular dot net>
9404
9405         * gst/gststructure.c: (gst_structure_parse_field),
9406         (gst_structure_from_string):
9407           Forward-port a 0.8 patch to handle escaped spaces in structure string,
9408           so that gst_parse_launch() can deal with spaces in filtered link
9409           caps (fixes #164479)
9410         * check/gst/capslist.h:
9411         * check/gst/gststructure.c: (GST_START_TEST):
9412           add unit tests for this change
9413
9414 2005-11-10  Wim Taymans  <wim@fluendo.com>
9415
9416         * docs/gst/gstreamer-sections.txt:
9417         * gst/gstelement.c:
9418         * gst/gstelement.h:
9419         Fix docs, move some STATE macros to private.
9420
9421 2005-11-10  Wim Taymans  <wim@fluendo.com>
9422
9423         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9424         Added check for bug #317341
9425
9426         * gst/gstbuffer.c:
9427         * gst/gstbuffer.h:
9428         Some more spiffifying.
9429
9430         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9431         Call peer linkfunction if we are a source pad. Totally fixes
9432         #317341
9433
9434         * gst/gstpad.c:
9435         Update docs, source pads should call the peer linkfunction
9436         so they can atomically perform the pad link.
9437
9438 2005-11-09  Wim Taymans  <wim@fluendo.com>
9439
9440         * gst/gstbuffer.c:
9441         * gst/gstbuffer.h:
9442         Uber-spiffy-spiffify some more.
9443
9444 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
9445
9446         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9447         * gst/elements/gstfilesink.c: (gst_file_sink_init):
9448         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9449         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9450         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9451         * gst/gstpad.c: (gst_pad_init):
9452           Use GST_DEBUG_FUNCPTR() more extensively.
9453
9454 2005-11-09  Wim Taymans  <wim@fluendo.com>
9455
9456         * gst/gstobject.c: (gst_object_class_init):
9457         * gst/gstobject.h:
9458         Documentation fixes.
9459
9460 2005-11-09  Edward Hervey  <edward@fluendo.com>
9461
9462         * gst/gsttypefindfactory.c:
9463         Fix docs.
9464         
9465 2005-11-09  Edward Hervey  <edward@fluendo.com>
9466
9467         * gst/base/gsttypefindhelper.c:
9468         * gst/gsttypefind.c:
9469         * gst/gsttypefind.h:
9470         Fix docs.
9471
9472 2005-11-09  Wim Taymans  <wim@fluendo.com>
9473
9474         * gst/gstiterator.c:
9475         Fix revision data.
9476
9477         * gst/gsttask.c:
9478         * gst/gsttask.h:
9479         Fix docs.
9480
9481 2005-11-09  Wim Taymans  <wim@fluendo.com>
9482
9483         * gst/gstevent.h:
9484         * gst/gsturi.h:
9485         Fix docs.
9486
9487 2005-11-09  Wim Taymans  <wim@fluendo.com>
9488
9489         * docs/gst/gstreamer-sections.txt:
9490         Moved the message async delivery private lock and cond
9491         to the private section.
9492
9493         * gst/gstmessage.c:
9494         * gst/gstmessage.h:
9495         Fixed docs.
9496
9497 2005-11-09  Edward Hervey  <edward@fluendo.com>
9498
9499         * docs/gst/gstreamer-sections.txt:
9500         * gst/gsturi.c:
9501         * gst/gsturi.h:
9502         Document GstURIHandler
9503
9504 2005-11-09  Wim Taymans  <wim@fluendo.com>
9505
9506         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9507         (gst_iterator_find_custom):
9508         * gst/gstiterator.h:
9509         Fix iterator docs.
9510
9511 2005-11-09  Wim Taymans  <wim@fluendo.com>
9512
9513         * gst/gstbin.h:
9514         Document another field.
9515
9516         * gst/gststructure.c:
9517         * gst/gststructure.h:
9518         Document.
9519
9520 2005-11-09  Wim Taymans  <wim@fluendo.com>
9521
9522         * gst/gstbin.h:
9523         Documented structs.
9524
9525 2005-11-09  Wim Taymans  <wim@fluendo.com>
9526
9527         * docs/gst/gstreamer-sections.txt:
9528         Added some new macros.
9529
9530         * gst/gstclock.c:
9531         * gst/gstclock.h:
9532         * gst/gstobject.h:
9533         Docs updates.
9534
9535 2005-11-09  Wim Taymans  <wim@fluendo.com>
9536
9537         * docs/design/part-TODO.txt:
9538         Some more items for the TODO
9539
9540         * gst/gstcaps.c:
9541         * gst/gstcaps.h:
9542         Document GstCaps.
9543
9544 2005-11-09  Andy Wingo  <wingo@pobox.com>
9545
9546         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9547         to work on something else now tho...
9548
9549         * gst/base/gstadapter.c: More adapter docs.
9550
9551         * gst/elements/gstfilesink.c (gst_file_sink_start) 
9552         (gst_file_sink_stop): New functions, replace the state change
9553         handler.
9554         (gst_file_sink_class_init): Hook up the start and stop functions.
9555         (gst_file_sink_base_init): Don't set the state change handler any
9556         more. It was a bit ugly too, being set from here...
9557         (gst_file_sink_get_property, gst_file_sink_set_property):
9558         Cleanups...
9559         (gst_file_sink_set_location): More robust check that doesn't call
9560         GST_STATE. Ugggggg.
9561
9562 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9563
9564         * gst/base/gstbasetransform.c: (gst_base_transform_event):
9565           Hold STREAM_LOCK while pushing newsegment or tag events as well.
9566
9567 2005-11-08  Wim Taymans  <wim@fluendo.com>
9568
9569         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9570         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9571         (gst_base_sink_chain), (gst_base_sink_change_state):
9572         * gst/base/gstbasesink.h:
9573         * gst/base/gstbasesrc.h:
9574         * gst/gstelement.h:
9575         * gst/gstevent.h:
9576         Avoid excessive typechecking in macros.
9577
9578         * gst/gstminiobject.c: (gst_mini_object_get_type),
9579         (gst_mini_object_init), (gst_mini_object_new),
9580         (gst_mini_object_free):
9581         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9582         (gst_object_finalize):
9583         Remove cruft code, optimize alloc_trace.
9584
9585 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9586
9587         * docs/faq/gst-uninstalled:
9588           fix up PS1 for systems that try to reset it
9589
9590 2005-11-07  Wim Taymans  <wim@fluendo.com>
9591
9592         * gst/base/gstbasesrc.c: (gst_base_src_init),
9593         (gst_base_src_get_range):
9594         Set the segment_end to -1 initially. Fixed typefind.
9595
9596 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * gst/base/gstadapter.c:
9599           Debug category should be 'adapter', not 'GstAdapter'.
9600           
9601         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9602         (gst_collectpads_class_init), (gst_collectpads_init),
9603         (gst_collectpads_peek), (gst_collectpads_pop),
9604         (gst_collectpads_event), (gst_collectpads_chain):
9605           Add debug category and some debugging output. Use boilerplate
9606           macros. Remove some extraneous words from docs.
9607
9608 2005-11-05  Andy Wingo  <wingo@pobox.com>
9609
9610         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9611         macro.
9612
9613 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9614
9615         * docs/gst/gstreamer-sections.txt:
9616         * gst/gstcaps.h:
9617         * gst/gstinfo.c:
9618         * gst/gstminiobject.h:
9619         * gst/gstobject.h:
9620         * gst/gstutils.h:
9621           more docs added
9622
9623 2005-11-04  Wim Taymans  <wim@fluendo.com>
9624
9625         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9626         Small update to stop at the configured segment_end
9627         position.
9628
9629 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
9630
9631         * gst/gstregistry.c:
9632         * gst/gstregistry.h:
9633           added missing docs
9634
9635 2005-11-04  Edward Hervey  <edward@fluendo.com>
9636
9637         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9638         Check if we are doing a segment seek and have arrived at the
9639         end of that segment.
9640
9641 2005-11-04  Wim Taymans  <wim@fluendo.com>
9642
9643         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9644         Don't leak a mutex unlock in case of an error.
9645
9646         * gst/gstbus.h:
9647         Doc fixes.
9648
9649 2005-11-04  Wim Taymans  <wim@fluendo.com>
9650
9651         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9652         (gst_bus_post):
9653         Get the context to wake up only once.
9654
9655 2005-11-03  Wim Taymans  <wim@fluendo.com>
9656
9657         * check/states/sinks.c: (GST_START_TEST):
9658         Uncomment fixed check.
9659
9660         * docs/design/part-TODO.txt:
9661         Updated TODO.
9662
9663         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9664         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9665         (gst_base_sink_get_position):
9666         If we are going to PLAYING, post the right pending state
9667         when we post the intermediate paused message.
9668
9669         * gst/gstelement.c: (gst_element_continue_state),
9670         (gst_element_set_state_func), (gst_element_change_state):
9671         Don't post state changes that were between the same state
9672         and were not ASYNC.
9673
9674 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9675
9676         * docs/gst/gstreamer-sections.txt:
9677         * gst/gstcaps.h:
9678         * gst/gstinfo.c:
9679         * gst/gstminiobject.h:
9680         * gst/gstobject.h:
9681         * gst/gstutils.h:
9682           more docs and doc style fixes
9683
9684 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
9685
9686         * docs/gst/gstreamer-sections.txt:
9687         * gst/gstelement.c:
9688         * gst/gstminiobject.c:
9689         doc fixes
9690
9691 2005-11-03  Andy Wingo  <wingo@pobox.com>
9692
9693         * check/states/sinks.c (test_livesrc_sink): Add checks that the
9694         state-changed messages actually have the right order and the right
9695         values.
9696
9697 2005-11-03  Wim Taymans  <wim@fluendo.com>
9698
9699         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9700         Added some more checks. Specifically the case where NO_PREROLL
9701         elements are in the pipeline.
9702
9703         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9704         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9705         (gst_base_sink_get_position):
9706         Post READY->PAUSED state change messages too.
9707         Fix bug where VOID was posted as pending state...
9708
9709         * gst/gstbin.c: (gst_bin_recalc_state):
9710         use _element_continue_state() to continue the state change.
9711
9712         * gst/gstelement.c: (gst_element_continue_state),
9713         (gst_element_commit_state), (gst_element_set_state_func),
9714         (gst_element_change_state), (gst_element_change_state_func):
9715         Lots of state change cleanups, assign the STATE_RETURN in
9716         a new continue_state() function that also propagates the
9717         last return value from a state change to the app.
9718         Update some debug statements with proper category.
9719
9720 2005-11-03  Wim Taymans  <wim@fluendo.com>
9721
9722         * docs/design/part-events.txt:
9723         * docs/design/part-gstpipeline.txt:
9724         * docs/design/part-messages.txt:
9725         * docs/design/part-overview.txt:
9726         * docs/design/part-seeking.txt:
9727         * docs/design/part-states.txt:
9728         * docs/design/part-trickmodes.txt:
9729         * docs/manual/advanced-position.xml:
9730         Small docs updates.
9731
9732         * gst/gstobject.h:
9733         People think !! is ugly, this looks better.
9734
9735         * gst/gstpad.c: (gst_pad_set_blocked_async):
9736         Remove !! since it's fixed elsewhere now.
9737
9738 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9739
9740         * gst/gstminiobject.h:
9741         * gst/gstobject.h:
9742           Add !! to _FLAG_IS_SET macros to make the result boolean.
9743
9744 2005-11-03  Edward Hervey  <edward@fluendo.com>
9745
9746         * gst/gstpad.c: (gst_pad_set_blocked_async):
9747         comparing a flag and a gboolean rarely returns coherent results...
9748         Added two characters (!!) to make that work correctly.
9749         
9750 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9751
9752         * gst/gstbus.c: (gst_bus_class_init):
9753           Fix some typos.
9754           
9755         * gst/gstqueue.c: (gst_queue_loop):
9756           Don't assume a miniobject that isn't a buffer is an
9757           event (it could be that there is a refcounting
9758           problem somewhere and the pointer is stale and
9759           refers to an already destroyed miniobject).
9760
9761 2005-11-03  Julien MOUTTE  <julien@moutte.net>
9762
9763         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9764
9765 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
9766
9767         * docs/manual/advanced-position.xml:
9768           Update seek example and explanations to current 0.9 API.
9769
9770         * gst/elements/gsttypefindelement.c:
9771         (gst_type_find_element_activate):
9772           Remove FIXME comment now that the found caps
9773           are unreffed.
9774
9775 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9776
9777         * gst/gstregistryxml.c: (load_feature):
9778           Add another GST_STR_NULL instance
9779
9780 2005-11-02  Edward Hervey  <edward@fluendo.com>
9781
9782         * gst/gstpad.c: (handle_pad_block):
9783         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9784         
9785 2005-11-02  Wim Taymans  <wim@fluendo.com>
9786
9787         * gst/gstbin.c:
9788         Fix typo in docs.
9789
9790         * gst/gstelement.c: (gst_element_commit_state):
9791         Remove unused value.
9792
9793         * gst/gstiterator.c:
9794         Mention that the returned element is reffed in the docs.
9795
9796 2005-11-02  Wim Taymans  <wim@fluendo.com>
9797
9798         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9799         (gst_pad_push), (gst_pad_push_event):
9800         Unlock blocked pads when they are flushed.
9801
9802 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9803
9804         * docs/README:
9805         * docs/gst/gstreamer-sections.txt:
9806         * gst/gstbin.c:
9807           doc updates
9808         * gst/gstregistry.c: (gst_registry_scan_path_level):
9809           fix for a nasty little missed situation where an installed plug-in
9810           which was in the cache did not get overridden by an uninstalled one
9811           which was earlier in the plugin path because the newly created plugin
9812           for the uninstalled one (not in the registry) didn't get its
9813           ->registered set to TRUE
9814
9815 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9816
9817         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9818         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9819         (gst_collectpads_is_active), (gst_collectpads_collect),
9820         (gst_collectpads_collect_range), (gst_collectpads_start),
9821         (gst_collectpads_stop), (gst_collectpads_peek),
9822         (gst_collectpads_pop), (gst_collectpads_available),
9823         (gst_collectpads_read), (gst_collectpads_flush):
9824           Guard public API with assertions.
9825         
9826         * gst/gstpad.c:
9827           Fix docs for gst_pad_set_link_function().
9828
9829 2005-11-02  Johan Dahlin  <johan@gnome.org>
9830
9831         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
9832         Unref found_caps after we used it.
9833
9834 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9835
9836         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9837           Don't try to ref NULL.
9838
9839 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9840
9841         * win32/common/config.h.in:
9842           provide a GST_FUNCTION that just gives a string for now
9843
9844 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9845
9846         * win32/common/gstenumtypes.c: (register_gst_object_flags),
9847         (gst_object_flags_get_type), (register_gst_bin_flags),
9848         (gst_bin_flags_get_type), (register_gst_buffer_flag),
9849         (gst_buffer_flag_get_type), (register_gst_bus_flags),
9850         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9851         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9852         (gst_clock_return_get_type), (register_gst_clock_entry_type),
9853         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9854         (gst_clock_flags_get_type), (register_gst_state),
9855         (gst_state_get_type), (register_gst_state_change_return),
9856         (gst_state_change_return_get_type), (register_gst_state_change),
9857         (gst_state_change_get_type), (register_gst_element_flags),
9858         (gst_element_flags_get_type), (register_gst_core_error),
9859         (gst_core_error_get_type), (register_gst_library_error),
9860         (gst_library_error_get_type), (register_gst_resource_error),
9861         (gst_resource_error_get_type), (register_gst_stream_error),
9862         (gst_stream_error_get_type), (register_gst_event_type),
9863         (gst_event_type_get_type), (register_gst_seek_type),
9864         (gst_seek_type_get_type), (register_gst_seek_flags),
9865         (gst_seek_flags_get_type), (register_gst_format),
9866         (gst_format_get_type), (register_gst_index_certainty),
9867         (gst_index_certainty_get_type), (register_gst_index_entry_type),
9868         (gst_index_entry_type_get_type),
9869         (register_gst_index_lookup_method),
9870         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9871         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9872         (gst_index_resolver_method_get_type), (register_gst_index_flags),
9873         (gst_index_flags_get_type), (register_gst_debug_level),
9874         (gst_debug_level_get_type), (register_gst_debug_color_flags),
9875         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9876         (gst_iterator_result_get_type), (register_gst_iterator_item),
9877         (gst_iterator_item_get_type), (register_gst_message_type),
9878         (gst_message_type_get_type), (register_gst_mini_object_flags),
9879         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9880         (gst_pad_link_return_get_type), (register_gst_flow_return),
9881         (gst_flow_return_get_type), (register_gst_activate_mode),
9882         (gst_activate_mode_get_type), (register_gst_pad_direction),
9883         (gst_pad_direction_get_type), (register_gst_pad_flags),
9884         (gst_pad_flags_get_type), (register_gst_pad_presence),
9885         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9886         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9887         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9888         (gst_plugin_error_get_type), (register_gst_plugin_flags),
9889         (gst_plugin_flags_get_type), (register_gst_rank),
9890         (gst_rank_get_type), (register_gst_query_type),
9891         (gst_query_type_get_type), (register_gst_tag_merge_mode),
9892         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9893         (gst_tag_flag_get_type), (register_gst_task_state),
9894         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9895         (gst_alloc_trace_flags_get_type),
9896         (register_gst_type_find_probability),
9897         (gst_type_find_probability_get_type), (register_gst_uri_type),
9898         (gst_uri_type_get_type), (register_gst_parse_error),
9899         (gst_parse_error_get_type):
9900         * win32/common/gstversion.h:
9901           update win32 copies
9902
9903 2005-11-01  Luca Ognibene  <luogni@tin.it>
9904
9905         * gst/gst.c:
9906           fix docs. popt is dead, long live GOption.
9907
9908 2005-10-31  Wim Taymans  <wim@fluendo.com>
9909
9910         * gst/gstbuffer.h:
9911         Small doc fix.
9912
9913 2005-10-31  Andy Wingo  <wingo@pobox.com>
9914
9915         * Boo!
9916
9917         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9918
9919         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9920         need to serialize property notifications on GLib 2.8. GLib 2.6 has
9921         the possibility of deadlocks here if code calling notify() or
9922         set() has a lock that can be taken in another notify handler (ABBA
9923         with class lock and e.g. python GIL state lock).
9924
9925 2005-10-28  Julien MOUTTE  <julien@moutte.net>
9926
9927         * gst/gstbus.c: Doc updates.
9928
9929 2005-10-28  Wim Taymans  <wim@fluendo.com>
9930
9931         * docs/design/part-TODO.txt:
9932         * gst/gstiterator.c:
9933         * gst/gstsystemclock.c:
9934         * gst/gstsystemclock.h:
9935         Doc updates.
9936
9937 2005-10-28  Edward Hervey  <edward@fluendo.com>
9938
9939         * docs/gst/gstreamer-docs.sgml:
9940         * docs/gst/gstreamer-sections.txt:
9941         the GstURIType documentation page is private, it only defines GstURIType
9942         which should be defined in the GstURIHandler page
9943         
9944 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9945
9946         * gst/gstbin.c: (gst_bin_class_init):
9947         * gst/gstbin.h:
9948         * gst/gstutils.c:
9949         Documentation updates.
9950
9951 2005-10-28  Wim Taymans  <wim@fluendo.com>
9952
9953         * docs/gst/gstreamer-sections.txt:
9954         * gst/gstclock.c:
9955         * gst/gstclock.h:
9956         Documented the clocks.
9957
9958 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
9959
9960         * docs/gst/gstreamer-sections.txt:
9961           move some macros to private sections
9962         * gst/gstminiobject.c:
9963         * gst/gstminiobject.h:
9964           add descriptions provided by ds and some more
9965         * gst/gstpad.h:
9966           mark macro as to be removed
9967
9968 2005-10-28  Wim Taymans  <wim@fluendo.com>
9969
9970         * docs/design/part-TODO.txt:
9971         Add an item to TODO.
9972
9973         * gst/gstiterator.c: (gst_iterator_fold),
9974         (gst_iterator_find_custom):
9975         * gst/gstiterator.h:
9976         Add iterator docs.
9977
9978 2005-10-28  Wim Taymans  <wim@fluendo.com>
9979
9980         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9981         (gst_base_transform_init):
9982         Don't leak class.
9983
9984         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9985         An EOS event marks the queue as completely filled.
9986
9987 2005-10-27  Wim Taymans  <wim@fluendo.com>
9988
9989         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9990         (gst_base_sink_do_sync), (gst_base_sink_get_position):
9991         Some more debugging.
9992
9993         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9994         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9995         (gst_base_transform_event), (gst_base_transform_getrange),
9996         (gst_base_transform_chain):
9997         * gst/base/gstbasetransform.h:
9998         Fix debugging,
9999         Protect transform and concurrent buffer alloc with a new lock.
10000         Try not to break ABI/API.
10001
10002 2005-10-27  Wim Taymans  <wim@fluendo.com>
10003
10004         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10005         (gst_base_src_init), (gst_base_src_query),
10006         (gst_base_src_default_newsegment),
10007         (gst_base_src_configure_segment), (gst_base_src_do_seek),
10008         (gst_base_src_send_event), (gst_base_src_event_handler),
10009         (gst_base_src_pad_get_range), (gst_base_src_loop),
10010         (gst_base_src_unlock), (gst_base_src_default_negotiate),
10011         (gst_base_src_start), (gst_base_src_deactivate),
10012         (gst_base_src_activate_push), (gst_base_src_change_state):
10013         Move some stuff around and cleanup things.
10014
10015 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
10016
10017         * gst/base/gstbasesrc.c: (gst_base_src_query):
10018           Add missing break statements.
10019
10020 2005-10-27  Wim Taymans  <wim@fluendo.com>
10021
10022         * check/gst/gstbin.c: (GST_START_TEST):
10023         An extra refcount is taken in basesrc.
10024
10025         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10026         (gst_base_src_get_range), (gst_base_src_pad_get_range),
10027         (gst_base_src_loop):
10028         Small cleanups, check for flushing after being unlocked from the 
10029         LIVE_LOCK. take refcounts correctly (not yet everywhere).
10030         Don't send out EOS when going to READY.
10031
10032 2005-10-27  Wim Taymans  <wim@fluendo.com>
10033
10034         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10035         (gst_base_sink_get_position):
10036         Some more debug.
10037
10038         * gst/gstbin.c: (message_check), (bin_replace_message),
10039         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10040         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10041         (bin_query_duration_init), (bin_query_duration_fold),
10042         (bin_query_duration_done), (bin_query_generic_fold),
10043         (gst_bin_query):
10044         * tools/gst-launch.c: (main):
10045         Remove old option.
10046
10047 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
10048
10049         * examples/controller/audio-example.c: (main):
10050         * examples/queue/queue.c: (event_loop):
10051         * gst/base/gstbasetransform.h:
10052         * gst/gstelement.c: (gst_element_send_event):
10053         * gst/gstevent.h:
10054         * gst/gstpad.c: (gst_pad_send_event):
10055           fixing examples
10056           fixing docs typos
10057           changing log priority in error situations
10058
10059 2005-10-25  Wim Taymans  <wim@fluendo.com>
10060
10061         * gst/gstbin.c: (message_check), (bin_replace_message),
10062         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10063         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10064         (bin_query_duration_init), (bin_query_duration_fold),
10065         (bin_query_duration_done), (bin_query_generic_fold),
10066         (gst_bin_query):
10067         Some doc and debug updates.
10068         Cache previously requested query DURATION for speed. invalidate
10069         cached duration if element posts a DURATION message.
10070
10071 2005-10-25  Wim Taymans  <wim@fluendo.com>
10072
10073         * docs/design/part-TODO.txt:
10074         Update TODO.
10075
10076         * gst/gstbin.c: (message_check), (bin_replace_message),
10077         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10078         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10079         (bin_query_duration_init), (bin_query_duration_fold),
10080         (bin_query_duration_done), (bin_query_generic_fold),
10081         (gst_bin_query):
10082         Handle SEGMENT_START/DONE messages correctly.
10083         More evolved query algorithm that handles duration queries
10084         correctly.
10085
10086         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10087         (gst_element_get_state_func), (gst_element_abort_state),
10088         (gst_element_commit_state), (gst_element_lost_state):
10089         Some more debugging.
10090
10091         * gst/gstmessage.h:
10092         Added doc.
10093
10094 2005-10-25  Wim Taymans  <wim@fluendo.com>
10095
10096         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10097         Don't use invalid stream_time.
10098
10099         * gst/gstevent.c: (gst_event_new_newsegment):
10100         stream_time in newsegment cannot be undefined.
10101
10102 2005-10-24  Wim Taymans  <wim@fluendo.com>
10103
10104         * gst/gstbus.c:
10105         Doc fix.
10106
10107         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10108         (gst_queue_loop):
10109         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10110
10111 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
10112
10113         * docs/libs/tmpl/gstdparam.sgml:
10114         * docs/libs/tmpl/gstdplinint.sgml:
10115         * docs/libs/tmpl/gstdpman.sgml:
10116         * docs/libs/tmpl/gstdpsmooth.sgml:
10117         * docs/libs/tmpl/gstunitconvert.sgml:
10118           these are obsolete
10119
10120 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10121
10122         * configure.ac:
10123           back to HEAD
10124
10125 === release 0.9.4 ===
10126
10127 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10128
10129         * configure.ac:
10130           releasing 0.9.4, "Tyrannosaurus Rex"
10131
10132 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
10133
10134         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10135         (gst_file_sink_get_current_offset):
10136           Use fseeko() and ftello() if available. When falling back on
10137           lseek() to get the current offset, fflush() first to make sure
10138           everything is up-to-date and we get the right offset.
10139
10140 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10141
10142         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10143         * gst/base/gstbasesrc.c: (gst_base_src_loop):
10144         * gst/gsterror.c: (_gst_stream_errors_init):
10145         * gst/gsterror.h:
10146         * gst/gstqueue.c: (gst_queue_loop):
10147         * po/POTFILES.in:
10148           remove prematurely added error category and clean up the instances
10149
10150 2005-10-21  Wim Taymans  <wim@fluendo.com>
10151
10152         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10153         (gst_base_sink_get_position), (gst_base_sink_query),
10154         (gst_base_sink_change_state):
10155         Simply set the right flag when going to playing, that's all
10156         we need to do instead of calling a function inside the object
10157         lock (that could take the lock as well and deadlock)
10158
10159 2005-10-21  Wim Taymans  <wim@fluendo.com>
10160
10161         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10162         (gst_base_src_loop):
10163         Don't warn, the peer element knows what to do best when
10164         the seek failed, it might try something else.
10165
10166 2005-10-21  Wim Taymans  <wim@fluendo.com>
10167
10168         * gst/base/gstbasesrc.c: (gst_base_src_init),
10169         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10170         Fix seeking.
10171
10172 2005-10-21  Wim Taymans  <wim@fluendo.com>
10173
10174         * docs/design/part-segments.txt:
10175         More docs.
10176
10177         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10178         Correctly set caps, even on the subbufer.
10179
10180 2005-10-21  Wim Taymans  <wim@fluendo.com>
10181
10182         * docs/gst/gstreamer-docs.sgml:
10183         * docs/gst/gstreamer-sections.txt:
10184         * gst/gstelement.h:
10185         * gst/gstevent.c:
10186         * gst/gstevent.h:
10187         * gst/gstmessage.h:
10188         * gst/gstpad.h:
10189         * gst/gstparse.h:
10190         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10191         * gst/gsttask.h:
10192         * gst/gstutils.c:
10193         * gst/gstutils.h:
10194         And 2% more doc coverage.
10195
10196 2005-10-21  Andy Wingo  <wingo@pobox.com>
10197
10198         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10199         position reporting.
10200
10201 2005-10-20  Wim Taymans  <wim@fluendo.com>
10202
10203         * gst/gsterror.c: (gst_error_get_message):
10204         * gst/gstparse.h:
10205         * gst/gstquery.h:
10206         * gst/gststructure.c:
10207         * gst/gsttrace.c:
10208         * gst/gstutils.c:
10209         More docs.
10210
10211 2005-10-20  Wim Taymans  <wim@fluendo.com>
10212
10213         * gst/gstbuffer.h:
10214         * gst/gstpad.c:
10215         * gst/gstparse.c:
10216         Another 1% more coverage.
10217
10218 2005-10-20  Wim Taymans  <wim@fluendo.com>
10219
10220         * docs/gst/gstreamer-sections.txt:
10221         * gst/gstelement.c: (gst_element_get_state_func),
10222         (gst_element_abort_state), (gst_element_commit_state),
10223         (gst_element_lost_state):
10224         * gst/gstevent.h:
10225         * gst/gstquery.c: (gst_query_set_position),
10226         (gst_query_parse_position), (gst_query_set_duration),
10227         (gst_query_parse_duration), (gst_query_new_convert):
10228         * gst/gstutils.c:
10229         Yay! 1% more docs coverage.
10230
10231 2005-10-20  Wim Taymans  <wim@fluendo.com>
10232
10233         * gst/gstpad.h:
10234         * gst/gstquery.c: (gst_query_set_position),
10235         (gst_query_parse_position), (gst_query_set_duration),
10236         (gst_query_parse_duration), (gst_query_new_convert):
10237         * gst/gstquery.h:
10238         * gst/gstutils.c: (gst_element_query_convert):
10239         * gst/gstutils.h:
10240         Docs and consistency fixes.
10241
10242 2005-10-20  Wim Taymans  <wim@fluendo.com>
10243
10244         * gst/gsttask.c:
10245         * gst/gsttask.h:
10246         More docs.
10247
10248 2005-10-20  Wim Taymans  <wim@fluendo.com>
10249
10250         * gst/gstbin.c: (message_check), (bin_replace_message),
10251         (bin_remove_messages), (is_eos), (gst_bin_add_func),
10252         (update_degree), (gst_bin_sort_iterator_next),
10253         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10254         Reworked the message handling a bit, cache the messages instead of
10255         only the senders. alows us to do more in the future.
10256
10257 2005-10-20  Wim Taymans  <wim@fluendo.com>
10258
10259         * docs/design/part-TODO.txt:
10260         Update TODO
10261
10262         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10263         (gst_base_sink_query):
10264         Don't use clock time to report position when in EOS.
10265
10266 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
10267
10268         * tools/gst-inspect.c: (print_interfaces),
10269         (print_element_properties_info), (print_element_info):
10270           Fix interface output with gst-inspect -a; don't print
10271           newlines after double/float properties.
10272
10273 2005-10-20  Wim Taymans  <wim@fluendo.com>
10274
10275         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10276         (gst_base_sink_query):
10277         Speed up current position calculation.
10278
10279         * gst/base/gstbasesrc.c: (gst_base_src_query),
10280         (gst_base_src_default_newsegment):
10281         Correctly set stream position in newsegment.
10282
10283         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10284         (update_degree), (gst_bin_sort_iterator_next),
10285         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10286         * gst/gstmessage.c: (gst_message_new_custom):
10287         Clean up debugging info
10288
10289         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10290         (gst_queue_loop), (gst_queue_handle_src_query):
10291         Pause task faster.
10292
10293 2005-10-19  Wim Taymans  <wim@fluendo.com>
10294
10295         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10296         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10297         Fix query handling again.
10298
10299 2005-10-19  Wim Taymans  <wim@fluendo.com>
10300
10301         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10302         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10303         * gst/base/gstbasesrc.c: (gst_base_src_query):
10304         * gst/elements/gstfilesink.c: (gst_file_sink_query):
10305         * gst/elements/gsttypefindelement.c:
10306         (gst_type_find_handle_src_query), (find_element_get_length),
10307         (gst_type_find_element_activate):
10308         API change fix.
10309
10310         * gst/gstquery.c: (gst_query_new_position),
10311         (gst_query_set_position), (gst_query_parse_position),
10312         (gst_query_new_duration), (gst_query_set_duration),
10313         (gst_query_parse_duration), (gst_query_set_segment),
10314         (gst_query_parse_segment):
10315         * gst/gstquery.h:
10316         Bundling query position/duration is not a good idea since duration
10317         does not change much and we don't want to recalculate it for every
10318         position query, so they are separated again..
10319         Base value in segment query is not needed.
10320
10321         * gst/gstqueue.c: (gst_queue_handle_src_query):
10322         * gst/gstutils.c: (gst_element_query_position),
10323         (gst_element_query_duration), (gst_pad_query_position),
10324         (gst_pad_query_duration):
10325         * gst/gstutils.h:
10326         Updates for query API change.
10327         Added some docs here and there.
10328
10329 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10330
10331         * check/gst/gstbin.c: (GST_START_TEST):
10332         * check/gst/gstghostpad.c: (GST_START_TEST):
10333         * check/pipelines/cleanup.c: (GST_START_TEST):
10334           wait on thread to die so we can check refcount correctly
10335
10336 2005-10-18  Wim Taymans  <wim@fluendo.com>
10337
10338         * check/pipelines/stress.c: (GST_START_TEST):
10339         Make check a little more time consuming.
10340
10341 2005-10-18  Wim Taymans  <wim@fluendo.com>
10342
10343         * check/Makefile.am:
10344         * check/pipelines/stress.c: (GST_START_TEST),
10345         (simple_launch_lines_suite), (main):
10346         Small state change torture test.
10347
10348         * docs/design/part-states.txt:
10349         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10350         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10351         (gst_base_sink_change_state):
10352         Never take state lock from streaming thread, clean up ugly
10353         hacks. Unfortunatly core does not yet support nice ways to
10354         async commit state.
10355         
10356         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10357         (bin_bus_handler):
10358         Start state recalc if a STATE_DIRTY message is posted, but only
10359         on the toplevel bin.
10360
10361         * gst/gstelement.c: (gst_element_sync_state_with_parent),
10362         (gst_element_get_state_func), (gst_element_abort_state),
10363         (gst_element_commit_state), (gst_element_lost_state),
10364         (gst_element_set_state_func), (gst_element_change_state):
10365         * gst/gstelement.h:
10366         State variables are now protected with the LOCK, the state
10367         lock is only used to serialize _set_state().
10368
10369 2005-10-18  Wim Taymans  <wim@fluendo.com>
10370
10371         * check/gst/gstbin.c: (GST_START_TEST):
10372         * check/gst/gstmessage.c: (GST_START_TEST):
10373         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10374         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10375         (bin_bus_handler):
10376         * gst/gstelement.c: (gst_element_abort_state),
10377         (gst_element_commit_state), (gst_element_lost_state):
10378         * gst/gstmessage.c: (gst_message_new_state_changed),
10379         (gst_message_new_state_dirty), (gst_message_new_segment_start),
10380         (gst_message_new_segment_done), (gst_message_new_duration),
10381         (gst_message_parse_state_changed),
10382         (gst_message_parse_segment_start),
10383         (gst_message_parse_segment_done), (gst_message_parse_duration):
10384         * gst/gstmessage.h:
10385         * tools/gst-launch.c: (event_loop):
10386         Seriously, this is better than a previous commit as we only need
10387         to notify the fact that an element changed state in a streaming
10388         thread, marking the state of the parents dirty, hence the 
10389         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10390         message.
10391
10392 2005-10-18  Wim Taymans  <wim@fluendo.com>
10393
10394         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10395         (gst_bin_recalc_func):
10396         * gst/gstelement.c: (gst_element_set_clock),
10397         (gst_element_abort_state), (gst_element_lost_state):
10398         Cleanups, prepare for state change fixes.
10399
10400 2005-10-18  Wim Taymans  <wim@fluendo.com>
10401
10402         * gst/gstbin.h:
10403         * gst/gstelement.c: (gst_element_class_init),
10404         (gst_element_set_state), (gst_element_set_state_func):
10405         * gst/gstelement.h:
10406         Pending ABI changes.
10407         GThreadPool in GstBinClass to monitor async state changes.
10408         state_cookie in GstElement to detect concurrent gst/set state.
10409         set_state is now virtual too in case a very complicated element
10410         has to be constructed.
10411
10412 2005-10-18  Wim Taymans  <wim@fluendo.com>
10413
10414         * check/gst/gstbin.c: (GST_START_TEST):
10415         * check/gst/gstmessage.c: (GST_START_TEST):
10416         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10417         * gst/gstbin.c: (bin_bus_handler):
10418         * gst/gstelement.c: (gst_element_commit_state),
10419         (gst_element_lost_state):
10420         * gst/gstmessage.c: (gst_message_new_state_changed),
10421         (gst_message_new_segment_start), (gst_message_new_segment_done),
10422         (gst_message_new_duration), (gst_message_parse_state_changed),
10423         (gst_message_parse_segment_start),
10424         (gst_message_parse_segment_done), (gst_message_parse_duration):
10425         * gst/gstmessage.h:
10426         * tools/gst-launch.c: (event_loop):
10427         Make messages future proof.
10428         state-change gets a flag if it was a message comming from the
10429         streaming thread.
10430         segment-start/stop can also be specified in other formats.
10431         A message to notify an app that a pipeline changed playback 
10432         duration.
10433         Also fix a GstMessage leak in -launch
10434
10435 2005-10-18  Andy Wingo  <wingo@pobox.com>
10436
10437         * gst/gstelement.c (gst_element_dispose): More helpful message.
10438
10439 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10440
10441         reviewed by: <delete if not using a buddy>
10442
10443         * common/gtk-doc.mak:
10444
10445 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10446
10447         * gst/gstregistry.c: (gst_registry_scan_path_level):
10448           unref a plug-in we get that was already initialized
10449
10450 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
10451
10452         * docs/gst/gstreamer-sections.txt:
10453         * docs/libs/gstreamer-libs-sections.txt:
10454         * gst/gstelement.h:
10455           add new api entries
10456           hide internal macro
10457
10458 2005-10-17  Andy Wingo  <wingo@pobox.com>
10459
10460         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10461         cleanup.
10462
10463         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10464
10465         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10466
10467         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10468         (gst_element_get_state_func): Better debug message.
10469         (gst_element_commit_state): s/INFO/DEBUG/.
10470         (gst_element_lost_state, gst_element_change_state): 
10471
10472         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10473         (gst_message_new_custom): s/INFO/LOG/.
10474
10475 2005-10-17  Michael Smith <msmith@fluendo.com>
10476
10477         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10478           Check if end time is valid using end time, not start time.
10479
10480 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
10481
10482         * check/gst-libs/controller.c: (GST_START_TEST),
10483         (gst_controller_suite):
10484         * libs/gst/controller/gstcontroller.c:
10485         (gst_controlled_property_set_interpolation_mode):
10486         * libs/gst/controller/gstcontroller.h:
10487         * libs/gst/controller/gstinterpolation.c:
10488         * testsuite/controller/.cvsignore:
10489         * testsuite/controller/Makefile.am:
10490         * testsuite/controller/interpolator.c:
10491           merge controller testsuites
10492           fix broken tests
10493           remove mem-chunk from docs
10494
10495 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10496
10497         * gst/gstmemchunk.c:
10498         * gst/gstmemchunk.h:
10499         * gst/gsttrashstack.c:
10500         * gst/gsttrashstack.h:
10501           out.  get out.  you're fired.  to the Attic !
10502
10503 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
10504
10505         * gst/gstcaps.c: (gst_caps_intersect):
10506           fix signedness issues in a (hopefully) correct way
10507         * gst/gstelement.c: (gst_element_pads_activate):
10508           some debugging
10509         * gst/gstobject.c: (gst_object_set_parent):
10510           some debugging
10511
10512 2005-10-17  Julien MOUTTE  <julien@moutte.net>
10513
10514         * gst/gstvalue.h: Fix prototypes.
10515
10516 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10517
10518         * docs/gst/gstreamer-sections.txt:
10519         * gst/gst.c: (gst_version_string):
10520         * gst/gst.h:
10521         * gst/gstversion.h.in:
10522         * win32/common/libgstreamer.def:
10523           add gst_version_string ()
10524
10525 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10526
10527         * configure.ac:
10528           clean up further
10529         * gst/gst.c: (init_post):
10530         * win32/common/config.h.in:
10531           it's PLUGINDIR now
10532         * gst/gstcaps.c: (gst_caps_intersect):
10533           use gint64, the range could be bigger than a guint
10534
10535 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10536
10537         * gst/gstclock.h:
10538           document potential problem in 2038
10539
10540 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10541
10542         * gst/gstcaps.c: (gst_caps_intersect):
10543           Fix guint j diving under 0
10544
10545 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10546
10547         * configure.ac:
10548         * win32/common/config.h:
10549         * win32/common/config.h.in:
10550           check for process.h, declares getpid() on Windows
10551         * gst/gstinfo.c:
10552           include process.h if we have it
10553         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10554         * gst/gstmemchunk.h:
10555           fix signedness issues
10556         * win32/common/libgstreamer.def:
10557           fix get_type's
10558
10559 2005-10-16  Julien MOUTTE  <julien@moutte.net>
10560
10561         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10562         fix. Because of unsigned ints, caps intersection was going nuts and
10563         trying to access structures with G_MAXUINT index. That fixes
10564         videotestsrc ! ffmpegcolorspace ! fakesink
10565         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10566         consistency.
10567
10568 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10569
10570         * configure.ac:
10571           use the gettext macro
10572         * gst/elements/gstelements.c:
10573         * gst/gst.c:
10574         * gst/indexers/gstindexers.c:
10575           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10576         * win32/common/config.h:
10577           updated config.h
10578         * win32/common/config.h.in:
10579           add the template to generate config.h
10580         * win32/common/gstenumtypes.c:
10581         * win32/common/gstversion.h:
10582           updated copies
10583
10584 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10585
10586         * gst/gst.c: (gst_version):
10587         * gst/gstversion.h.in:
10588           add the nano
10589
10590 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10591
10592         * gst/gstevent.h:
10593           Oops, add missing closing bracket.
10594
10595 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10596
10597         * configure.ac:
10598           use common m4's for argument checking
10599
10600 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
10601
10602         * docs/gst/gstreamer-sections.txt:
10603         * gst/gstevent.h:
10604           Add GST_EVENT_TYPE_NAME() macro.
10605
10606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10607
10608         * gst/gstinfo.c:
10609         * gst/gstpluginfeature.c:
10610         * gst/gsttask.c:
10611           privatize more symbols
10612
10613 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10614
10615         * configure.ac:
10616           add srcdir, builddir includes to GST_ALL_CFLAGS, since
10617           everything that uses GStreamer API should have the includes
10618
10619 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10620
10621         * docs/gst/gstreamer-sections.txt:
10622         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10623         * gst/gstvalue.h:
10624           give each value a _get_type, removes the DATA exports
10625
10626 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10627
10628         * gst/gst.c:
10629         * gst/gst.h:
10630           remove _gst_registry_auto_load, not used anymore
10631         * gst/gstbin.c: (gst_bin_get_type):
10632         * gst/gstbin.h:
10633         * gst/gstelement.c: (gst_element_get_type):
10634         * gst/gstelement.h:
10635         * gst/gstobject.c: (gst_object_get_type):
10636         * gst/gstobject.h:
10637         * gst/gstpad.c: (gst_pad_get_type):
10638         * gst/gstpad.h:
10639           make _get_type functions similar, fixes data export from library
10640
10641 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10642
10643         * configure.ac:
10644           correctly make conditionals
10645         * gst/elements/Makefile.am:
10646         * gst/elements/gstelements.c:
10647           fix typo causing fdsrc not to build
10648
10649 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10650
10651         * testsuite/Makefile.am:
10652         * testsuite/bytestream/.cvsignore:
10653         * testsuite/bytestream/Makefile.am:
10654         * testsuite/bytestream/filepadsink.c:
10655         * testsuite/bytestream/gstbstest.c:
10656         * testsuite/bytestream/test1.c:
10657         * testsuite/bytestream/testfile1:
10658         * testsuite/caps/normalisation.c:
10659         * testsuite/caps/random.c: (main):
10660         * testsuite/cleanup/.cvsignore:
10661         * testsuite/cleanup/Makefile.am:
10662         * testsuite/cleanup/cleanup1.c:
10663         * testsuite/cleanup/cleanup2.c:
10664         * testsuite/cleanup/cleanup3.c:
10665         * testsuite/cleanup/cleanup4.c:
10666         * testsuite/cleanup/cleanup5.c:
10667         * testsuite/controller/interpolator.c:
10668         * testsuite/debug/printf_extension.c: (main):
10669         * testsuite/elements/tee.c:
10670         * testsuite/negotiation/.cvsignore:
10671         * testsuite/negotiation/Makefile.am:
10672         * testsuite/negotiation/pad_link.c:
10673         * testsuite/pad/Makefile.am:
10674         * testsuite/pad/chainnopull.c:
10675         * testsuite/pad/getnopush.c:
10676         * testsuite/pad/link.c:
10677         * testsuite/refcounting/sched.c: (create_pipeline):
10678         * testsuite/registry/Makefile.am:
10679         * testsuite/registry/gst-print-formats.c:
10680         * testsuite/schedulers/.cvsignore:
10681         * testsuite/schedulers/142183-2.c:
10682         * testsuite/schedulers/142183.c:
10683         * testsuite/schedulers/143777-2.c:
10684         * testsuite/schedulers/143777.c:
10685         * testsuite/schedulers/147713.c:
10686         * testsuite/schedulers/147819.c:
10687         * testsuite/schedulers/147894-2.c:
10688         * testsuite/schedulers/147894.c:
10689         * testsuite/schedulers/Makefile.am:
10690         * testsuite/schedulers/group_link.c:
10691         * testsuite/schedulers/queue_link.c:
10692         * testsuite/schedulers/relink.c:
10693         * testsuite/schedulers/unlink.c:
10694         * testsuite/schedulers/unref.c:
10695         * testsuite/schedulers/useless_iteration.c:
10696         * testsuite/states/bin.c:
10697           clean out/remove some stuff from the testsuite directories
10698
10699 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10700
10701         * configure.ac:
10702           check for some headers
10703         * gst/elements/Makefile.am:
10704         * gst/elements/gstelements.c:
10705           don't compile fdsrc without sys/socket.h
10706         * gst/indexers/Makefile.am:
10707         * gst/indexers/gstindexers.c: (plugin_init):
10708           don't compile fileindex without mmap
10709
10710 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
10711
10712         * configure.ac:
10713           reorganize
10714           clean up
10715           document more
10716           remove cruft
10717         * check/Makefile.am:
10718         * docs/gst/Makefile.am:
10719         * examples/helloworld/Makefile.am:
10720         * gst/Makefile.am:
10721         * gst/base/Makefile.am:
10722         * gst/check/Makefile.am:
10723         * gst/elements/Makefile.am:
10724         * gst/indexers/Makefile.am:
10725         * gst/parse/Makefile.am:
10726         * libs/gst/controller/Makefile.am:
10727         * libs/gst/dataprotocol/Makefile.am:
10728         * examples/helloworld/helloworld.c: (event_loop):
10729           compile fixes, though it's not being compiled currently
10730
10731 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10732
10733         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10734           Add some simple tests for the new taglist date API.
10735
10736 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10737
10738         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10739         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10740           Beautify 'last-message' output: print 'none' for buffer timestamps
10741           and durations if none is set; improve alignment with next messages.
10742
10743 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
10744
10745         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10746         * gst/gstpluginfeature.h:
10747         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10748         * gst/gstregistry.h:
10749         * docs/gst/gstreamer-sections.txt:
10750           Add new API to check plugin feature version requirements.
10751
10752         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10753           Some basic tests for the above.         
10754
10755 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10756
10757         * gst/gststructure.c: (gst_structure_to_string):
10758           guard against NULL printf - happens when for example
10759           a message structure with GstClock gets serialized
10760
10761 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10762
10763         * gst/base/gstcollectpads.c: (gst_collectpads_event):
10764           Fix presumable copy'n'pasto.
10765
10766 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10767
10768         * gst/elements/gstfakesrc.h:
10769         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10770         * gst/elements/gsttypefindelement.c:
10771           fix some signedness
10772         * gst/elements/gstfilesink.c: (gst_file_sink_render):
10773           I wonder if this could actually write +2GB files before
10774
10775 2005-10-13  Andy Wingo  <wingo@pobox.com>
10776
10777         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10778         Fix Timmeke Waymans bug.
10779         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10780         string of the proper length to gst_caps_from_string. There's a
10781         potential for, before this fix, that this could cause someone
10782         connecting over the network to cause a segfault if the payload is
10783         not NUL-terminated.
10784
10785 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10786
10787         * docs/design/draft-push-pull.txt:
10788         * docs/design/part-overview.txt:
10789         * docs/random/TODO-pre-0.9:
10790         * docs/random/old/ChangeLog.gstreamer:
10791         * gst/base/gstpushsrc.c:
10792         * gst/gstclock.c:
10793           fixed typos
10794
10795 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10796
10797         * gst/glib-compat.c: (gst_flags_get_first_value):
10798         * gst/glib-compat.h:
10799         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10800         (gst_value_compare_double), (gst_value_serialize_flags):
10801           GLib 2.6 g_flags_get_first_value has a bug that triggers an
10802           infinite loop
10803
10804 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10805
10806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10807         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10808           fix up debugging
10809         * tools/gst-launch.c: (event_loop):
10810           print out clock nicely
10811
10812 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
10813
10814         * docs/gst/gstreamer-sections.txt:
10815         * gst/gsttaglist.h:
10816         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10817         (gst_tag_list_get_date_index):
10818           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10819           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10820
10821 2005-10-13  Julien MOUTTE  <julien@moutte.net>
10822
10823         * gst/base/gstcollectpads.c: (gst_collectpads_event),
10824         (gst_collectpads_chain):
10825         * gst/base/gstcollectpads.h: Handle newsegment and store informations
10826         in CollectData.
10827
10828 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
10829
10830         * docs/gst/gstreamer-sections.txt:
10831         * gst/gst.c:
10832         * gst/gsterror.h:
10833         * tools/gst-inspect.c: (main):
10834         * tools/gst-launch.c: (main):
10835         * tools/gst-run.c: (main):
10836         * tools/gst-xmlinspect.c: (main):
10837           fix GOption context leaks
10838           doc fixes
10839
10840 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
10841
10842         * gst/gstbus.c:
10843           use HAVE_UNISTD_H
10844         * win32/common/config.h:
10845           update config
10846         * win32/vs6/grammar.dsp:
10847         * win32/vs6/libgstelements.dsp:
10848         * win32/vs6/libgstreamer.dsp:
10849           update vs6 files
10850
10851 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10852
10853         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10854         * gst/base/gstbasesrc.c: (gst_base_src_query):
10855           fix more guint64<->gdouble conversions
10856
10857 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10858
10859         * Makefile.am:
10860           add win32-update target
10861         * win32/common/gstconfig.h:
10862         * win32/common/gstenumtypes.c:
10863         * win32/common/gstenumtypes.h:
10864         * win32/common/gstversion.h:
10865           add files that visual studio can't generate
10866
10867 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10868
10869         * Makefile.am:
10870           add a win32-update target
10871         * configure.ac:
10872
10873 2005-10-12  Wim Taymans  <wim@fluendo.com>
10874
10875         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10876         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10877         * gst/gstelement.c: (gst_element_commit_state),
10878         (gst_element_set_state):
10879         Protect flags with proper lock.
10880         unref provided cached clock in dispose.
10881
10882 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10883
10884         * gst/gst.c:
10885         * gst/gstminiobject.h:
10886         * gst/gstpad.h:
10887         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10888           removed unused flags from miniobject
10889           doc fixes
10890
10891 2005-10-12  Wim Taymans  <wim@fluendo.com>
10892
10893         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10894         (gst_file_sink_event), (gst_file_sink_render):
10895         Flush before seeking.
10896
10897 2005-10-12  Andy Wingo  <wingo@pobox.com>
10898
10899         * gst/gst.c (gst_init_check): Ignore unknown options, as has
10900         always been the case.
10901
10902 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
10903
10904         * check/gst/gstbin.c: (GST_START_TEST):
10905         * docs/gst/gstreamer-sections.txt:
10906         * gst/base/gstbasesink.c: (gst_base_sink_init):
10907         * gst/base/gstbasesrc.c: (gst_base_src_init),
10908         (gst_base_src_get_range), (gst_base_src_check_get_range),
10909         (gst_base_src_start), (gst_base_src_stop):
10910         * gst/base/gstbasesrc.h:
10911         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10912         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10913         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10914         (bin_bus_handler):
10915         * gst/gstbin.h:
10916         * gst/gstbuffer.h:
10917         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10918         * gst/gstbus.h:
10919         * gst/gstelement.c: (gst_element_is_locked_state),
10920         (gst_element_set_locked_state), (gst_element_commit_state),
10921         (gst_element_set_state):
10922         * gst/gstelement.h:
10923         * gst/gstindex.c: (gst_index_init):
10924         * gst/gstindex.h:
10925         * gst/gstminiobject.h:
10926         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10927         (gst_object_set_parent):
10928         * gst/gstobject.h:
10929         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10930         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10931         * gst/gstpad.h:
10932         * gst/gstpadtemplate.h:
10933         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10934         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10935         * gst/gstpipeline.h:
10936         * gst/indexers/gstfileindex.c: (gst_file_index_load),
10937         (gst_file_index_commit):
10938         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10939         * testsuite/pad/link.c: (gst_test_src_init),
10940         (gst_test_filter_init), (gst_test_sink_init):
10941         * testsuite/states/locked.c: (main):
10942           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10943           moved bitshift from macro to enum definition
10944
10945 2005-10-12  Wim Taymans  <wim@fluendo.com>
10946
10947         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10948         * gst/elements/gstfilesink.c: (gst_file_sink_event),
10949         (gst_file_sink_render):
10950         Some more debugging info.
10951
10952 2005-10-12  Wim Taymans  <wim@fluendo.com>
10953
10954         * docs/design/part-states.txt:
10955         * tools/gst-launch.c: (main):
10956         Some doc updates.
10957         Revert non-intentional change.
10958
10959 2005-10-12  Wim Taymans  <wim@fluendo.com>
10960
10961         * check/gst/gstbin.c: (GST_START_TEST):
10962         * check/gst/gstelement.c: (GST_START_TEST):
10963         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10964         * check/gst/gstghostpad.c: (GST_START_TEST):
10965         * check/gst/gstpipeline.c: (GST_START_TEST):
10966         * check/pipelines/simple_launch_lines.c: (run_pipeline):
10967         * check/states/sinks.c: (GST_START_TEST):
10968         * gst/elements/gsttypefindelement.c: (stop_typefinding):
10969         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10970         (gst_bin_remove_func), (gst_bin_get_state_func),
10971         (gst_bin_recalc_state), (gst_bin_change_state_func),
10972         (bin_bus_handler):
10973         * gst/gstelement.c: (gst_element_get_state_func),
10974         (gst_element_get_state), (gst_element_abort_state),
10975         (gst_element_commit_state), (gst_element_set_state),
10976         (gst_element_change_state), (gst_element_change_state_func):
10977         * gst/gstelement.h:
10978         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10979         (gst_pipeline_provide_clock_func):
10980         * gst/gstutils.c: (gst_element_link_pads_filtered):
10981         * tools/gst-launch.c: (main):
10982         * tools/gst-typefind.c: (main):
10983         Use GstClockTime in _get_state() instead of GTimeVal.
10984         Remove old code in gstutils.c
10985
10986 2005-10-12  Andy Wingo  <wingo@pobox.com>
10987
10988         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10989         removed.
10990
10991         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10992         there is no task. Shouldn't affect any code, as nothing in our
10993         plugins checks this return value.
10994         (gst_pad_stop_task): Also take the stream lock if the pad has no
10995         task. Docs updated.
10996
10997 2005-10-12  Wim Taymans  <wim@fluendo.com>
10998
10999         * gst/gstpad.c: (pre_activate), (post_activate),
11000         (gst_pad_activate_pull), (gst_pad_activate_push):
11001         Cleanup activation code. Reset old state if
11002         activation failed.
11003
11004 2005-10-12  Wim Taymans  <wim@fluendo.com>
11005
11006         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11007         (gst_base_sink_change_state):
11008         No need to prerol after receiving EOS.
11009
11010         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11011         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11012         * gst/elements/gstidentity.c: (gst_identity_event):
11013         Print events more verbosely.
11014
11015 2005-10-12  Wim Taymans  <wim@fluendo.com>
11016
11017         * check/Makefile.am:
11018         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11019         * check/states/sinks2.c:
11020         Moved sinks2 testcode in sinks check.
11021
11022         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11023         (gst_bin_remove_func), (gst_bin_recalc_state),
11024         (gst_bin_change_state_func), (bin_bus_handler):
11025         Fix potential race condition when _get_state() iterated over an
11026         ASYNC element right before it posted a state completion.
11027
11028         * gst/gstclock.h:
11029         Do proper cast here.
11030
11031         * gst/gstevent.c: (gst_event_new_newsegment),
11032         (gst_event_parse_newsegment):
11033         A playback rate of 0.0 is not allowed.
11034
11035 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11036
11037         * win32/common/config.h:
11038         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11039         (_trewinddir), (_ttelldir), (_tseekdir):
11040         * win32/common/dirent.h:
11041         * win32/common/gtchar.h:
11042         * win32/common/libgstbase.def:
11043         * win32/common/libgstreamer.def:
11044         * win32/vs6/grammar.dsp:
11045         * win32/vs6/gst_inspect.dsp:
11046         * win32/vs6/gst_launch.dsp:
11047         * win32/vs6/gstreamer.dsw:
11048         * win32/vs6/libgstbase.dsp:
11049         * win32/vs6/libgstelements.dsp:
11050         * win32/vs6/libgstreamer.dsp:
11051           Visual Studio 6 project files, and a new common directory.
11052           Phear.
11053
11054 2005-10-11  Wim Taymans  <wim@fluendo.com>
11055
11056         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11057         (gst_base_sink_do_sync), (gst_base_sink_query),
11058         (gst_base_sink_change_state):
11059         * gst/base/gstbasesink.h:
11060         Correctly parse newsegment info.
11061
11062 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11063
11064         * gst/gst.c: (init_post):
11065           split plugin paths correctly
11066
11067 2005-10-11  Wim Taymans  <wim@fluendo.com>
11068
11069         * check/gst/gstevent.c: (GST_START_TEST):
11070         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11071         (gst_base_sink_change_state):
11072         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11073         * gst/base/gstbasetransform.c: (gst_base_transform_event):
11074         * gst/elements/gstfilesink.c: (gst_file_sink_event):
11075         * gst/gstevent.c: (gst_event_new_newsegment),
11076         (gst_event_parse_newsegment):
11077         * gst/gstevent.h:
11078         Added extra flag to newsegment for future API freeze.
11079         Updated check and base elements.
11080
11081 2005-10-11  Julien MOUTTE  <julien@moutte.net>
11082
11083         * gst/base/gstcollectpads.c: (gst_collectpads_init),
11084         (gst_collectpads_add_pad), (gst_collectpads_pop),
11085         (gst_collectpads_event), (gst_collectpads_chain):
11086         * gst/base/gstcollectpads.h: Handle EOS correctly.
11087
11088 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11089
11090         * tools/gst-launch.c: (main):
11091           more null protecting
11092
11093 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11094
11095         * gst/gst-i18n-lib.h:
11096           check for ENABLE_NLS, not GETTEXT_PACKAGE
11097         * gst/gstregistry.c: (gst_registry_add_plugin),
11098         (gst_registry_scan_path_level),
11099         (_gst_registry_remove_cache_plugins):
11100           protect possibly NULL strings
11101         * gst/parse/types.h:
11102           config.h already included before
11103         * tools/gst-inspect.c: (main):
11104           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11105           check for ENABLE_NLS, not GETTEXT_PACKAGE
11106         * tools/gst-launch.c: (main):
11107           check for ENABLE_NLS, not GETTEXT_PACKAGE
11108
11109 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11110
11111         * configure.ac:
11112           if we don't have glib, fail before testing 2.8
11113         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11114           fix a leak, should fix plugins-base testsuite
11115
11116 2005-10-11  Andy Wingo  <wingo@pobox.com>
11117
11118         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11119         take the mode we're going to as an arg. Go head and set the mode
11120         and flushing flags now, so that if the activate function starts a
11121         thread all the flags will be in the right state.
11122         (post_activate): Renamed also. Just handle making sure streaming
11123         finishes for the deactivation case, and setting the deactivated
11124         mode.
11125         (gst_pad_set_active): Complain loudly if deactivation fails.
11126         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11127         (gst_pad_activate_push): Adapt to pre/post_activate changes,
11128         remove the terrible hack.
11129
11130 2005-10-11  Wim Taymans  <wim@fluendo.com>
11131
11132         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11133         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11134         (gst_bin_recalc_state), (gst_bin_change_state_func),
11135         (gst_bin_dispose), (bin_bus_handler):
11136         * gst/gstbin.h:
11137         Prepare to make current EOS message queue more generic.
11138         Fix some typos.
11139
11140         * gst/gstevent.c: (gst_event_new_newsegment),
11141         (gst_event_parse_newsegment):
11142         * gst/gstevent.h:
11143         Rename base to stream_time.
11144
11145         * gst/gstmessage.h:
11146         Fix typo in docs.
11147
11148 2005-10-11  Wim Taymans  <wim@fluendo.com>
11149
11150         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11151         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11152         (gst_bin_change_state_func), (bin_bus_handler):
11153         * gst/gstbin.h:
11154         Work on proper clock selection.
11155
11156 2005-10-11  Edward Hervey  <edward@fluendo.com>
11157
11158         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
11159         * libs/gst/controller/gstcontroller.h:
11160         Added GList* version of _remove_properties() in order to be able to wrap
11161         it in bindings.
11162
11163 2005-10-11  Wim Taymans  <wim@fluendo.com>
11164
11165         * docs/design/part-states.txt:
11166         Some more docs.
11167
11168         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11169         (gst_bin_change_state_func), (bin_bus_handler):
11170         Doc updates. Don't distribute the same clock over and over again.
11171
11172         * gst/gstclock.c:
11173         * gst/gstclock.h:
11174         Doc updates.
11175
11176         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11177         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11178         (gst_pad_send_event):
11179         * gst/gstpad.h:
11180         Make probe emission threadsafe again.
11181         Register quarks and move _get_name() from utils.
11182         Doc updates.
11183
11184         * gst/gstpipeline.c: (gst_pipeline_class_init),
11185         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11186         Only redistribute the clock of it changed.
11187
11188         * gst/gstsystemclock.h:
11189         Doc updates. 
11190
11191         * gst/gstutils.c:
11192         * gst/gstutils.h:
11193         Moved the _flow_get_name() to GstPad.
11194
11195 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * check/gst-libs/gdp.c: (GST_START_TEST):
11198         * check/gst/gstcaps.c: (GST_START_TEST):
11199         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11200         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11201         (gst_dp_packet_from_caps):
11202           fix more valgrind warnings before turning up the heat
11203
11204 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11205
11206         * gst/parse/grammar.y:
11207           some cleanup before the hacking
11208
11209 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11210
11211         * gst/base/gstbasesrc.c: (gst_base_src_query):
11212           use conversions
11213         * gst/gstutils.c: (gst_guint64_to_gdouble),
11214         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11215         * gst/gstutils.h:
11216           externalize, basesrc uses it
11217           obviously the implementation needs testing
11218
11219 2005-10-10  Wim Taymans  <wim@fluendo.com>
11220
11221         * tests/sched/Makefile.am:
11222         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11223         (make_pipeline3), (make_pipeline4), (print_elem), (main):
11224
11225 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11226
11227         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11228           apparently converting from guint64 to double is not implemented
11229           on MSVC
11230
11231 2005-10-10  Wim Taymans  <wim@fluendo.com>
11232
11233         * check/Makefile.am:
11234         * check/generic/states.c: (GST_START_TEST):
11235         * check/gst/gstbin.c: (GST_START_TEST):
11236         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11237         * check/states/sinks.c: (GST_START_TEST):
11238         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11239         (main):
11240         Check fixes, use API as stated in design docs, remove hacks.
11241
11242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11243         (gst_base_sink_change_state):
11244         Catch stopping our task while we're shutting down.
11245
11246         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11247         (gst_bin_remove_func), (gst_bin_get_state_func),
11248         (gst_bin_recalc_state), (gst_bin_change_state_func),
11249         (bin_bus_handler):
11250         * gst/gstbin.h:
11251         * gst/gstelement.c: (gst_element_init),
11252         (gst_element_get_state_func), (gst_element_abort_state),
11253         (gst_element_commit_state), (gst_element_lost_state),
11254         (gst_element_set_state), (gst_element_change_state),
11255         (gst_element_change_state_func):
11256         * gst/gstelement.h:
11257         New state change algorithm (see #318116)
11258
11259         * gst/gstpipeline.c: (gst_pipeline_class_init),
11260         (gst_pipeline_init), (gst_pipeline_set_property),
11261         (gst_pipeline_get_property), (do_pipeline_seek),
11262         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11263         * gst/gstpipeline.h:
11264         Remove crude state change hacks.
11265
11266         * gst/gstutils.h:
11267         Remove crude hacks.
11268
11269         * tools/gst-launch.c: (main):
11270         Fixes for state change. Needs some more work to fully use the
11271         new stuff.
11272
11273 2005-10-10  Andy Wingo  <wingo@pobox.com>
11274
11275         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11276
11277         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11278         this flag, but it's not even in GLib 2.6. Odd. Hack around the
11279         issue.
11280
11281 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11282
11283         * gst/gstiterator.c: (gst_iterator_new):
11284           Fix my previous commit: GTypes passed to gst_iterator_new()
11285           can be fundamental types.
11286
11287 2005-10-10  Wim Taymans  <wim@fluendo.com>
11288
11289         * gst/gstelement.c: (gst_element_iterate_pad_list),
11290         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11291         (gst_element_iterate_sink_pads):
11292         Use src/sink pads lists for the respective iterators instead
11293         of filtering.
11294
11295 2005-10-10  Andy Wingo  <wingo@pobox.com>
11296
11297         Merged in popt removal + GOption addition patch from Ronald, bug
11298         #169772.
11299
11300         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11301         GstElement macros around, remove popt-related symbols, add goption
11302         stuff.
11303
11304         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11305         
11306         * docs/gst/Makefile.am:
11307         * docs/libs/Makefile.am: No POPT_CFLAGS.
11308         
11309         * examples/manual/Makefile.am:
11310         * docs/manual/basics-init.xml: Doc updates with an example.
11311         
11312         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11313         (gst_init), (parse_one_option), (parse_goption_arg):
11314         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11315         bit of hand merging and debugging to get the GOption stuff working
11316         tho.
11317         
11318         * tests/Makefile.am:
11319         * tools/Makefile.am:
11320         * tools/gst-inspect.c: (main):
11321         * tools/gst-launch.c: (main):
11322         * tools/gst-run.c: (main):
11323         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11324
11325 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11326
11327         * gst/gstiterator.c: (gst_iterator_new):
11328           Add assertions to make sure passed GType is likely to really
11329           be a GType (as the compiler won't catch it if the size and
11330           GType arguments get mixed up, see #318447).
11331
11332 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
11333
11334         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11335
11336         * gst/gstbin.c: (gst_bin_iterate_sorted):
11337           Pass GType and size arguments to gst_iterator_new() in the right
11338           order (maybe we should make _new() take the GType as first argument
11339           just like _new_list()?) (#318447).
11340           
11341
11342 2005-10-10  Wim Taymans  <wim@fluendo.com>
11343
11344         * gst/gstelement.c: (gst_element_finalize):
11345         And free the GStaticRecMutex too
11346
11347 2005-10-10  Andy Wingo  <wingo@pobox.com>
11348
11349         * gst/gstelement.c (gst_element_init, gst_element_finalize):
11350         Allocate and free the mutex properly.
11351
11352         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11353         New macros.
11354         (GstElement): The state_lock is now recursive. Rebuild your
11355         plugins, suckers. Old macros adapted.
11356
11357         * docs/gst/gstreamer-sections.txt: Doc updates.
11358
11359         * gst/gstutils.h:
11360         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
11361         (g_static_rec_cond_wait): Ported from state changes patch, while
11362         we wait on bug #317802 to be solved in a well-distributed GLib.
11363
11364         * gst/gstelement.c (gst_element_change_state_func): Renamed from
11365         gst_element_change_state, variable name changes.
11366         (gst_element_change_state): Split out of gst_element_set_state in
11367         preparation for the state change merge. Doesn't pay attention to
11368         the 'transition' argument.
11369         (gst_element_set_state): Updates, hopefully purely cosmetic.
11370         (gst_element_sync_state_with_parent): MT-safety. Ported from the
11371         state change patch.
11372         (gst_element_get_state_func): Renamed from get_state, cosmetic
11373         changes.
11374
11375 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11376
11377         * gst/elements/gstelements.c:
11378         * win32/GStreamer.vcproj:
11379         * win32/config.h:
11380         * win32/dirent.c: (_tseekdir):
11381         * win32/gst-inspect.vcproj:
11382         * win32/gst-launch.vcproj:
11383         * win32/gstconfig.h:
11384         * win32/gstelements.vcproj:
11385         * win32/gstenumtypes.c: (gst_object_flags_get_type):
11386         * win32/gstreamer.def:
11387         * win32/msvc71.sln:
11388           updates for the win32 build (patch from Sebastien Moutte)
11389
11390 2005-10-10  Andy Wingo  <wingo@pobox.com>
11391
11392         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11393         gst_bin_get_state, cleaned up (but no logic changes).
11394         (bin_element_is_sink): Comment updates.
11395         (sink_iterator_filter): Remove needless cast.
11396         (gst_bin_iterate_sinks): Doc update.
11397         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11398         cleaned up (but no logic changes).
11399
11400         * check/states/sinks.c (test_src_sink): Cleanups from the state
11401         change patch.
11402         (test_livesrc_sink): Sync on the state.
11403
11404         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11405         the state change patch.
11406
11407         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11408         change patch.
11409
11410         * check/gst/gstbin.c: Merge in some style fixes and additional
11411         checks from Wim's state change patch.
11412
11413 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
11414
11415         * gst/base/gsttypefindhelper.c: (helper_find_peek),
11416         (gst_type_find_helper):
11417           Check whether we have the requested data already in our list of
11418           cached buffers before pulling a new buffer; also make the buffer
11419           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11420
11421 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11422
11423         * gst/gstcaps.c:
11424         * gst/gstevent.c:
11425           doc updates
11426         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11427           don't use long long, it's not portable.  Replacing with
11428           gint64 seems to work; let's hope no skeletons fall out of the closet.
11429
11430 2005-10-10  Andy Wingo  <wingo@pobox.com>
11431
11432         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11433
11434 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
11435
11436         * docs/gst/gstreamer-sections.txt:
11437         * gst/gstevent.c:
11438         * gst/gstevent.h:
11439         * gst/gstinfo.c:
11440         * gst/gstinfo.h:
11441         * gst/gstmessage.c: (gst_message_parse_state_changed):
11442         * gst/gstpad.c:
11443         * gst/gstpad.h:
11444           more docs, fix compilation
11445
11446 2005-10-09  Philippe Khalaf <burger@speedy.org>
11447         * gst/gstmessage.c:
11448           Fixed a few forgotten variables on previous commit
11449
11450 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
11451
11452         * gst/base/gsttypefindhelper.c: (helper_find_peek):
11453           Fix evil typefind crasher: getrange() might return a short
11454           buffer at the end of a file, but gst_type_find_peek() must
11455           either return the full data as requested or NULL, but
11456           never a short buffer.
11457
11458 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11459
11460         * gst/gstmessage.c: (gst_message_new_state_changed),
11461         (gst_message_parse_state_changed):
11462         * gst/gstmessage.h:
11463           don't use "new", it's a C++ keyword
11464
11465 2005-10-08  Wim Taymans  <wim@fluendo.com>
11466
11467         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11468         * gst/gstelement.c: (gst_element_post_message):
11469         * gst/gstpipeline.c: (gst_pipeline_change_state):
11470         Small docs and debug updates.
11471
11472 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11473
11474         * docs/gst/gstreamer-sections.txt:
11475         * gst/gstelementfactory.c:
11476         * gst/gstevent.c:
11477         * gst/gsttaglist.c:
11478           more docs
11479
11480 2005-10-08  Wim Taymans  <wim@fluendo.com>
11481
11482         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11483         (gst_bin_dispose), (bin_bus_handler):
11484         Fix typos, add comments.
11485         Clear EOS list when going to PAUSED from any direction and do it
11486         in a threadsafe way.
11487         Get base time in a threadsafe way too.
11488         Fix confusing debug in the change_state function.
11489         Various other small cleanups.
11490         
11491         * gst/gstelement.c: (gst_element_post_message):
11492         Fix very verbose bus posting code.
11493
11494         * gst/gstpipeline.c: (gst_pipeline_class_init),
11495         (gst_pipeline_set_property), (gst_pipeline_get_property),
11496         (gst_pipeline_change_state):
11497         Small ARG_ -> PROP_ cleanup
11498
11499 2005-10-08  Wim Taymans  <wim@fluendo.com>
11500
11501         * gst/gstbin.c: (is_eos), (bin_bus_handler):
11502         Do a less CPU demanding EOS check because we can.
11503
11504 2005-10-08  Wim Taymans  <wim@fluendo.com>
11505
11506         * libs/gst/dataprotocol/dataprotocol.c:
11507         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11508         (gst_dp_packet_from_event):
11509         * libs/gst/dataprotocol/dataprotocol.h:
11510         * libs/gst/dataprotocol/dp-private.h:
11511         It's about time we bump the version number.
11512         Since event types don't fit in the guint8 anymore describing
11513         the payload type, make payload type 16 bits wide.
11514
11515 2005-10-08  Wim Taymans  <wim@fluendo.com>
11516
11517         * docs/design/part-TODO.txt:
11518         * docs/design/part-clocks.txt:
11519         * docs/design/part-events.txt:
11520         * docs/design/part-gstbin.txt:
11521         * docs/design/part-gstelement.txt:
11522         * docs/design/part-gstpipeline.txt:
11523         * docs/design/part-live-source.txt:
11524         * docs/design/part-messages.txt:
11525         * docs/design/part-overview.txt:
11526         * docs/design/part-states.txt:
11527         Many doc updates.
11528
11529 2005-10-08  Wim Taymans  <wim@fluendo.com>
11530
11531         * gst/gstevent.c:
11532         * gst/gstevent.h:
11533         Fix event quark registration.
11534         Add some space between events so we can insert them in the
11535         right groups.
11536
11537 2005-10-08  Wim Taymans  <wim@fluendo.com>
11538
11539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11540         (gst_base_sink_handle_buffer):
11541         Better log message.
11542
11543         * gst/gstbus.h:
11544         * gst/gstelement.h:
11545         More docs.
11546
11547         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11548         (gst_queue_set_property), (gst_queue_get_property):
11549         * gst/gstqueue.h:
11550         Remove old unused properties.
11551
11552 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
11553         * docs/gst/gstreamer-sections.txt:
11554         * gst/gstmessage.c:
11555         * gst/gstmessage.h:
11556         * gst/gstminiobject.c:
11557         * gst/gstminiobject.h:
11558         * gst/gstobject.h:
11559         * gst/gstpad.h:
11560         * gst/gstutils.h:
11561           lots of new docs and doc fixes
11562
11563 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11564
11565         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11566         * gst/gstplugin.h:
11567         * gst/gstregistry.c: (gst_registry_lookup_locked),
11568         (gst_registry_scan_path_level):
11569         * gst/gstregistryxml.c: (load_plugin):
11570           Only ever load one plugin for a given plugin basename.
11571           This ensures correct overriding of GST_PLUGIN_PATH over
11572           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11573           system installed plugins.
11574
11575 2005-10-08  Wim Taymans  <wim@fluendo.com>
11576
11577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11578         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11579         Prepare for doing QOS.
11580
11581 2005-10-08  Wim Taymans  <wim@fluendo.com>
11582
11583         * check/gst/gstbin.c: (GST_START_TEST):
11584         * check/pipelines/cleanup.c: (GST_START_TEST):
11585         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11586         Allow new clock message too.
11587
11588 2005-10-08  Wim Taymans  <wim@fluendo.com>
11589
11590         * gst/gstmessage.c: (gst_message_new_error),
11591         (gst_message_new_warning), (gst_message_new_tag),
11592         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11593         (gst_message_new_clock_lost), (gst_message_new_new_clock),
11594         (gst_message_new_segment_start), (gst_message_new_segment_done),
11595         (gst_message_parse_state_changed),
11596         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11597         (gst_message_parse_new_clock):
11598         * gst/gstmessage.h:
11599         Also carry the clock in question.
11600
11601 2005-10-08  Wim Taymans  <wim@fluendo.com>
11602
11603         * gst/gstmessage.c: (gst_message_new_custom),
11604         (gst_message_new_eos), (gst_message_new_error),
11605         (gst_message_new_warning), (gst_message_new_tag),
11606         (gst_message_new_state_changed), (gst_message_new_clock_provide),
11607         (gst_message_new_new_clock), (gst_message_new_segment_start),
11608         (gst_message_new_segment_done), (gst_message_parse_state_changed),
11609         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11610         * gst/gstmessage.h:
11611         Clean up.
11612         Added clock related messages.
11613
11614         * gst/gstpipeline.c: (gst_pipeline_change_state):
11615         Post message when the clock changed.
11616
11617         * tools/gst-launch.c: (event_loop):
11618         Print new clock.
11619
11620 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
11621
11622         * tools/gst-inspect.c: (print_element_properties_info):
11623           Can't pass NULL strings to g_print() on windows.
11624
11625 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11626
11627         * docs/Makefile.am:
11628         * docs/gst/Makefile.am:
11629         * docs/gst/gstreamer-docs.sgml:
11630         * docs/gst/running.xml:
11631         * docs/version.entities.in:
11632           add a chapter on running GStreamer.
11633           document GST_DEBUG and GST_PLUGIN* env vars
11634
11635 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11636
11637         * Makefile.am:
11638           remove include dir
11639         * configure.ac:
11640           remove PLUGINS_BUILDDIR stuff
11641         * gst/gst.c: (init_post):
11642           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11643         * idiottest.mak:
11644           remove, it was condescending and not needed
11645
11646 2005-10-08  Wim Taymans  <wim@fluendo.com>
11647
11648         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11649         (gst_base_sink_handle_object), (gst_base_sink_event),
11650         (gst_base_sink_wait), (gst_base_sink_handle_event),
11651         (gst_base_sink_change_state):
11652         * gst/base/gstbasesink.h:
11653         Repost EOS message while going to PLAYING if still EOS.
11654         Make sure that when receiving a FLUSH_START we don't attempt
11655         to sync on the clock anymore.
11656
11657 2005-10-08  Wim Taymans  <wim@fluendo.com>
11658
11659         * tools/gst-launch.c: (event_loop):
11660         Better message printout.
11661
11662 2005-10-08  Wim Taymans  <wim@fluendo.com>
11663
11664         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11665         (gst_bin_child_proxy_get_children_count):
11666         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11667         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11668         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11669         (gst_child_proxy_set_valist):
11670         * gst/parse/grammar.y:
11671         Make ChildProxy threadsafe and fix mem leaks.
11672
11673 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11674
11675         * gst/gst.c: (init_post):
11676           debug the GST_PLUGIN_ env vars
11677
11678 2005-10-08  Wim Taymans  <wim@fluendo.com>
11679
11680         * check/gst/gstbin.c: (GST_START_TEST):
11681         * check/gst/gstmessage.c: (GST_START_TEST):
11682         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11683         * gst/gstelement.c: (gst_element_commit_state),
11684         (gst_element_lost_state):
11685         * gst/gstmessage.c: (gst_message_new_state_changed),
11686         (gst_message_parse_state_changed):
11687         * gst/gstmessage.h:
11688         * tools/gst-launch.c: (event_loop):
11689         Added extra field to STATE_CHANGE message with the pending
11690         state, which will be different from the new state soon.
11691
11692 2005-10-08  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/gstbus.c: (gst_bus_pop):
11695         * gst/gstclock.c:
11696         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11697         Small cleanups and doc updates.
11698
11699 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
11700
11701         * gst/gst.c: (init_pre):
11702         * gst/gstbin.c: (gst_bin_add_func):
11703           log distributing clocks and base time
11704         * gst/gstregistry.c: (gst_registry_add_plugin),
11705         (gst_registry_scan_path_level), (gst_registry_scan_path):
11706           clean up the debugging output a little
11707         * gst/gstutils.c: (gst_element_state_get_name):
11708           warn about a memleak (I've actually seen this be used, though
11709           it was probably a bug)
11710
11711 2005-10-07  Wim Taymans  <wim@fluendo.com>
11712
11713         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11714         (gst_base_src_init), (gst_base_src_default_newsegment),
11715         (gst_base_src_newsegment), (gst_base_src_do_seek),
11716         (gst_base_src_loop), (gst_base_src_start):
11717         * gst/base/gstbasesrc.h:
11718         Make the newsegment event customizable by subclasses.
11719
11720 2005-10-07  Wim Taymans  <wim@fluendo.com>
11721
11722         * gst/gstevent.c: (gst_event_new_buffersize),
11723         (gst_event_parse_buffersize):
11724         * gst/gstevent.h:
11725         New event for future idea.
11726
11727 2005-10-07  Andy Wingo  <wingo@pobox.com>
11728
11729         * gst/gstelement.c (gst_element_post_message): Doc update.
11730
11731         * docs/gst/gstreamer-sections.txt: Update.
11732
11733         * gst/gstmessage.c (gst_message_new_application): Made into a
11734         function like honest API calls.
11735         (gst_message_new_element): New message type.
11736
11737         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11738
11739         * check/elements/fakesrc.c (test_no_preroll): New check, checks
11740         that setting a live fakesrc to PAUSED returns NO_PREROLL both
11741         times.
11742
11743         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11744         NO_PREROLL from gst_element_change_state to fall through.
11745
11746 2005-10-07  Wim Taymans  <wim@fluendo.com>
11747
11748         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11749         (gst_ghost_pad_do_activate_push):
11750         Activating a ghostpad with no internal pad in push mode
11751         is ok.
11752
11753 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
11754
11755         * gst/gstobject.h:
11756           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11757           Fixes compilation on Windows.
11758
11759 2005-10-07  Michael Smith <msmith@fluendo.com>
11760
11761         * tools/gst-inspect.c:
11762           Print out feature and plugin count at the end when printing out
11763           all features.
11764
11765 2005-10-04  Michael Smith <msmith@fluendo.com>
11766
11767         * gst/gsterror.c: (_gst_stream_errors_init):
11768           Add another error string used in a few existing plugins.
11769
11770         * gst/gstplugin.c:
11771         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11772         * tools/gst-inspect.c: (print_element_info):
11773           When a feature disappears from a plugin (and the feature exists in
11774           the cached registry file), things went horribly wrong. This isn't a
11775           complete fix, we should actually be removing the 'missing' features
11776           from the features list when we load the actual plugin. That's not
11777           yet implemented. 
11778
11779 2005-10-04  Johan Dahlin  <johan@gnome.org>
11780
11781         * check/gst/gstiterator.c: (GST_START_TEST):
11782         * gst/gstbin.c: (gst_bin_iterate_elements),
11783         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11784         * gst/gstelement.c: (gst_element_iterate_pads):
11785         * gst/gstformat.c: (gst_format_iterate_definitions):
11786         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11787         (gst_iterator_new_list), (gst_iterator_filter):
11788         * gst/gstiterator.h:
11789         * gst/gstquery.c: (gst_query_type_iterate_definitions):
11790         Add a GType to GstIterator, update callsites and tests.
11791
11792 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11793
11794         * gst/gstpad.c: (gst_pad_event_default_dispatch):
11795           give events a chance to be handled by event probes when the pad
11796           is not linked
11797
11798 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11799
11800         * gst/gstevent.c: (gst_event_type_get_name),
11801         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11802         * gst/gstevent.h:
11803           add string representations for event types
11804
11805 2005-10-06  Wim Taymans  <wim@fluendo.com>
11806
11807         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11808         Don't use NULL pointers.
11809
11810 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11811
11812         * gst/gst_private.h:
11813         * gst/gstbus.c:
11814         * gst/gstelement.c:
11815         * gst/gstinfo.c:
11816         * gst/gstpluginfeature.c:
11817           widen the debug category in output to fit the biggest one we have
11818           add a bus category and use it
11819           play with the colors
11820           fix up some categories
11821
11822 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11823
11824         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11825           add push activation of sink ghost pads.
11826           Andye, please verify
11827
11828 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11829
11830         * gst/gstutils.c: (gst_element_link_pads):
11831           fix a bug in the case where neither element has a pad
11832         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11833           add a test for that case
11834
11835 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
11836
11837         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11838           emit have-data before checking for peers.  This allows
11839           for probe handlers to connect elements.  This helps autopluggers.
11840         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11841         (gst_pad_suite):
11842           add six checks, linked/unlinked with no/true/false probe
11843
11844 2005-10-04  Wim Taymans  <wim@fluendo.com>
11845
11846         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11847         (gst_fake_sink_event), (gst_fake_sink_preroll),
11848         (gst_fake_sink_render), (gst_fake_sink_change_state):
11849         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11850         (gst_fake_src_get_property), (gst_fake_src_create),
11851         (gst_fake_src_stop):
11852         * gst/elements/gstidentity.c: (gst_identity_stop):
11853         Protect last_message with lock.
11854
11855 2005-10-04  Edward Hervey  <edward@fluendo.com>
11856
11857         * gst/gstformat.h: 
11858         Added precision in the comments for GST_FORMAT_DEFAULT
11859
11860 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
11861
11862         * tools/gst-launch.c: (main):
11863           Don't try to run erroneous pipelines.
11864
11865 2005-10-04  Julien MOUTTE  <julien@moutte.net>
11866
11867         * gst/gstbus.c: We don't need this header.
11868
11869 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11870
11871         * configure.ac:
11872           back to development
11873
11874 === release 0.9.3 ===
11875
11876 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11877
11878         * README:
11879         * configure.ac:
11880           Releasing 0.9.3, "Unregistered"
11881
11882 2005-10-03  Andy Wingo  <wingo@pobox.com>
11883
11884         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11885         whereby calling a pad's activatepush() function can start a thread
11886         that starts to push or pull before the pad gets the FLUSHING flag
11887         unset. Hack around it by holding the stream lock until the flag is
11888         set. Need to replace this with a proper solution. Together with
11889         the ghost pad fixes, this fixes mp3 playing/tagreading.
11890
11891         * docs/design/part-gstghostpad.txt: Add a note about activation of
11892         proxy pads outside of ghost pads.
11893
11894         * gst/gstghostpad.c: Implement the ghost pad activation design.
11895
11896 2005-10-02  Andy Wingo  <wingo@pobox.com>
11897
11898         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11899         It is volatile, after all.
11900
11901         * docs/design/part-gstghostpad.txt: Flesh out activation with
11902         ghost pads.
11903
11904         * gst/base/gstbasesrc.c (gst_base_src_init): Use
11905         GST_DEBUG_FUNCPTR.
11906
11907 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
11908
11909         * configure.ac:
11910           Fix (unused) AM_CONDITIONAL tests.
11911
11912 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
11913
11914         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
11915
11916         * gst/gstutils.c: (gst_pad_query_convert):
11917           Add assertion that makes sure src_val is >=0, just like
11918           gst_query_new_convert() has. (#315895)
11919
11920 2005-09-30  Edward Hervey  <edward@fluendo.com>
11921
11922         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11923         Let's not iterate pads we're not interested in, it avoids getting 
11924         sky-high refcounts on sinkpad.
11925
11926 2005-09-30  Wim Taymans  <wim@fluendo.com>
11927
11928         * gst/gstelement.c: (gst_element_set_state),
11929         (gst_element_change_state):
11930         Small tweak, element in ASYNC remains ASYNC.
11931
11932 2005-09-30  Wim Taymans  <wim@fluendo.com>
11933
11934         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11935         Only error is an error.
11936
11937         * gst/gstbin.c: (gst_bin_change_state):
11938         Better debugging.
11939
11940         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11941         Also call pad_block in pad alloc.
11942
11943         * gst/gstutils.c: (gst_flow_get_name):
11944         Better debugging.
11945
11946 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
11947
11948         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11949         (gst_base_src_get_range):
11950           Fix documentation typos. Add some more debug info.
11951
11952 2005-09-29  David Schleef  <ds@schleef.org>
11953
11954         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11955           more end-user friendly.
11956         * tools/gst-inspect.c: (main): Check if command-line argument is
11957           a file and attempt to load that file as a plugin.
11958
11959 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11960
11961         * check/gst/gstbin.c:
11962         * check/states/sinks.c:
11963           fix tests for the new warning
11964         * check/gst/gstpipeline.c:
11965           add a test for pipeline and bus interaction
11966         * gst/gstelement.c:
11967           elements should be NULL if they get disposed; add a warning if not
11968
11969 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
11970
11971         * gst/gstobject.c:
11972           for 2.6 refcounting, make debug log more correct by printing
11973           the actual refcounts at the time of swap (Wim)
11974
11975 2005-09-29  Andy Wingo  <wingo@pobox.com>
11976
11977         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11978         removes signal watches previously added via
11979         gst_bus_add_signal_watch.
11980         (gst_bus_add_signal_watch): Don't return the source id, just store
11981         it on the bus if there wasn't an id already.
11982
11983         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11984         add_signal_watch and remove_signal_watch.
11985
11986 2005-09-29  Edward Hervey  <edward@fluendo.com>
11987
11988         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
11989         Better if we actually iterate the list :)
11990
11991 2005-09-29  Wim Taymans  <wim@fluendo.com>
11992
11993         * check/gst/gstbin.c: (GST_START_TEST):
11994         Change for new bus API.
11995
11996         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11997         (send_messages), (GST_START_TEST), (gstbus_suite):
11998         Change for new bus signal API.
11999
12000         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12001         (gst_bus_source_prepare), (gst_bus_source_check),
12002         (gst_bus_create_watch), (gst_bus_add_watch_full),
12003         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12004         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12005         * gst/gstbus.h:
12006         Remove support for multiple GSources operating on different
12007         message types as it is too complex and unneeded when using
12008         signals.
12009         Added support for receiving signals from the bus.
12010
12011 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
12012
12013         * docs/libs/tmpl/gstdataprotocol.sgml:
12014         * docs/manual/advanced-dataaccess.xml:
12015         * gst/elements/gstcapsfilter.c:
12016         * gst/gstutils.c:
12017           rename filter-caps to caps property
12018
12019 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12020
12021         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12022           More robust fraction string parsing.
12023
12024         * docs/pwg/appendix-porting.xml:
12025           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12026
12027 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
12028
12029         * gst/gstcaps.c: (gst_caps_do_simplify):
12030           Thou shalt not free a structure and then continue using it
12031           in the next loop iteration.
12032
12033         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12034         (gst_caps_suite):
12035           Add test case for caps simplification.
12036
12037 2005-09-29  Wim Taymans  <wim@fluendo.com>
12038
12039         * check/gst/gstbin.c: (GST_START_TEST):
12040         Oops.
12041
12042 2005-09-29  Wim Taymans  <wim@fluendo.com>
12043
12044         * check/gst/gstbin.c: (GST_START_TEST):
12045         Add bus to bin.
12046
12047         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12048         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12049         (find_element), (gst_bin_sort_iterator_next),
12050         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12051         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12052         (gst_bin_change_state), (gst_bin_dispose):
12053         A bin does not have a bus, it gets the bus from the parent.
12054
12055         * gst/gstelement.c: (gst_element_requires_clock),
12056         (gst_element_provides_clock), (gst_element_is_indexable),
12057         (gst_element_is_locked_state), (gst_element_change_state),
12058         (gst_element_set_bus_func):
12059         Small cleanups.
12060
12061         * gst/gstpipeline.c: (gst_pipeline_class_init),
12062         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12063         The pipeline provides a bus.
12064
12065 2005-09-28  Johan Dahlin  <johan@gnome.org>
12066
12067         * gst/gstmessage.c (gst_message_parse_state_changed): Use
12068         gst_structure_get_enum instead of gst_structure_get_int
12069
12070         * gst/gststructure.c (gst_structure_get_enum): Impl.
12071
12072         * gst/gststructure.h (gst_structure_get_enum): Add
12073
12074         * docs/gst/gstreamer-sections.txt: Ditto
12075
12076         * gst/gstmessage.c (gst_message_new_state_changed): Use
12077         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12078         which does introspection.
12079         Reviewed by Christian Schaller
12080
12081 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12082
12083         * gst/gstinfo.c: (gst_debug_log_default):
12084           don't do dummy g_strdup()s
12085         * libs/gst/controller/gstcontroller.c:
12086         (on_object_controlled_property_changed),
12087         (gst_controlled_property_new), (gst_controller_new_valist),
12088         (gst_controller_new_list),
12089         (gst_controller_remove_properties_valist), (gst_controller_set),
12090         (gst_controller_get), (gst_controller_sync_values),
12091         (gst_controller_get_value_array), (_gst_controller_class_init),
12092         (gst_controller_get_type):
12093         * libs/gst/controller/gstcontroller.h:
12094         * libs/gst/controller/gstinterpolation.c:
12095         (gst_controlled_property_find_timed_value_node):
12096           convert // to /**/ comments
12097
12098 2005-09-28  Wim Taymans  <wim@fluendo.com>
12099
12100         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12101         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12102         (gst_bus_sync_signal_handler):
12103         * gst/gstbus.h:
12104         Added async-message and sync-message signals to the bus.
12105         Added helper BusFunc to emit signals for all posted messages.
12106
12107         * gst/gstmessage.c: (gst_message_type_get_name),
12108         (gst_message_type_to_quark), (gst_message_get_type):
12109         * gst/gstmessage.h:
12110         Register quarks for message names.
12111
12112 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
12113
12114         * docs/libs/gstreamer-libs-sections.txt:
12115         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12116         (gst_controller_new_list):
12117         * libs/gst/controller/gstcontroller.h:
12118           added another constructor for language bindings
12119
12120 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12121
12122         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12123           add another check
12124         * gst/gstbus.c:
12125           add some doc
12126         * gst/gstinfo.c: (_gst_debug_init):
12127           slightly more readable color for refcount debugging
12128
12129 2005-09-28  Wim Taymans  <wim@fluendo.com>
12130
12131         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12132         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12133         (find_element), (gst_bin_sort_iterator_next),
12134         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12135         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12136         (gst_bin_change_state), (gst_bin_dispose):
12137         Small doc fixes. get_clock -> provide_clock.
12138
12139         * gst/gstelement.c: (gst_element_class_init),
12140         (gst_element_provides_clock), (gst_element_provide_clock),
12141         (gst_element_get_clock), (gst_element_commit_state),
12142         (gst_element_lost_state):
12143         * gst/gstelement.h:
12144         Make get/set_clock() symetric. Add provide_clock vmethod since
12145         that is actually what this function does.
12146
12147         * gst/gstpipeline.c: (gst_pipeline_class_init),
12148         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12149         (gst_pipeline_get_clock):
12150         get_clock -> provide_clock.
12151
12152 2005-09-28  Andy Wingo  <wingo@pobox.com>
12153
12154         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12155         lieu of real docs...
12156
12157         * gst/elements/gstfdsrc.c: Cleaned up a bit.
12158
12159 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
12160
12161         * gst/elements/gstcapsfilter.c:
12162         * gst/elements/gstfakesink.c:
12163         * gst/elements/gstfakesrc.c:
12164         * gst/elements/gstfdsink.c:
12165         * gst/elements/gstfdsrc.c:
12166         * gst/elements/gstfilesink.c:
12167         * gst/elements/gstfilesrc.c:
12168         * gst/elements/gstidentity.c:
12169         * gst/elements/gsttee.c:
12170         * gst/elements/gsttypefindelement.c:
12171           Make element details static.
12172
12173 2005-09-28  Wim Taymans  <wim@fluendo.com>
12174
12175         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12176         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12177         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12178         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12179         (gst_bin_change_state), (gst_bin_dispose):
12180         Some documentation updates.
12181         Clean up dispose handlers.
12182
12183         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12184         * gst/gstpad.c: (gst_pad_dispose):
12185         Clean up dispose handler.
12186
12187         * gst/gstpipeline.c: (gst_pipeline_change_state):
12188         Removed spurious UNLOCK.
12189
12190 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
12191
12192         * docs/gst/gstreamer-sections.txt:
12193         * gst/base/gstbasesrc.h:
12194         * gst/gstelement.h:
12195         * gst/gstevent.h:
12196         * gst/gstobject.h:
12197         * gst/gstpad.h:
12198         * gst/gstpipeline.c:
12199         * gst/gstpipeline.h:
12200         * gst/gstutils.h:
12201         * gst/gstxml.h:
12202           added two new functions to the docs
12203                 documents all undocumented GstXXXFlags
12204                 completed some incomplete docs 
12205
12206 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
12207
12208         * gst/gstbin.c: (gst_bin_dispose):
12209         * gst/gstelement.c: (gst_element_dispose):
12210           remove now useless and leaky resurrection code in dispose
12211         * gst/base/gstbasesrc.c: (gst_base_src_init):
12212         * gst/gstelementfactory.c: (gst_element_factory_create):
12213         * gst/gstobject.c: (gst_object_set_parent):
12214           add some debugging
12215
12216 2005-09-27  Wim Taymans  <wim@fluendo.com>
12217
12218         * docs/design/part-TODO.txt:
12219         Update TODO.
12220
12221         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12222         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12223         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12224         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12225         (gst_bin_change_state):
12226         * gst/gstelement.h:
12227         Remove element variable, we keep element info in the iterator now.
12228
12229 2005-09-27  Andy Wingo  <wingo@pobox.com>
12230
12231         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12232         values.
12233
12234 2005-09-27  Wim Taymans  <wim@fluendo.com>
12235
12236         * check/gst/gstbin.c: (GST_START_TEST):
12237         Enable check that works now.
12238
12239         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12240         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12241         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12242         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12243         (gst_bin_change_state):
12244         * gst/gstbin.h:
12245         Redid the state change algorithm using a topological sort algo.
12246         Handles all cases correctly.
12247         Exposed iterator for state change order.
12248
12249         * gst/gstelement.h:
12250         Temp storage for state changes. Need to get rid of this soon.
12251
12252 2005-09-27  Wim Taymans  <wim@fluendo.com>
12253
12254         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12255         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12256         (link_fold_func), (gst_pad_proxy_setcaps):
12257         Leak fixes, the fold functions need to unref the passed object and
12258         _get_parent_*() returns ref to parent.
12259
12260 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12261
12262         * check/gst/gstbuffer.c: (test_make_writable):
12263           Plug leak in test case and fix 'make check-valgrind'
12264
12265 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12266
12267         * gst/gstbuffer.c: (gst_subbuffer_init):
12268           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12269           works correctly in all circumstances (we could have just copied
12270           the parent buffer's readonly flag, but conceptually it seems
12271           cleaner to mark all subbuffers as read-only). (based on patch
12272           by Alessandro Decina, #314710).
12273         
12274         * check/gst/gstbuffer.c: (create_read_only_buffer),
12275         (test_make_writable), (test_subbuffer_make_writable),
12276         (gst_test_suite):
12277           Add some tests for gst_buffer_make_writable().
12278
12279 2005-09-27  Wim Taymans  <wim@fluendo.com>
12280
12281         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12282         use gst_object_has_ancestor().
12283
12284         * gst/gstobject.c: (gst_object_has_ancestor):
12285         * gst/gstobject.h:
12286         gst_object_has_ancestor() copied from gstbin.c as it is a
12287         usefull function.
12288
12289         * tests/instantiate/create.c: (create_all_elements):
12290         * tests/lat.c: (handoff_src), (handoff_sink):
12291         * tests/sched/runxml.c: (main):
12292         * tests/seeking/seeking1.c: (main):
12293         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12294         (main):
12295         Fix compilation of some tests.
12296
12297 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
12298
12299         * gst/gsterror.h:
12300           Remove comment. GST_TYPE_G_ERROR is here to stay,
12301           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12302           (#316961, #300610).
12303
12304 2005-09-26  Wim Taymans  <wim@fluendo.com>
12305
12306         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12307         Added check that shows error in state change order.
12308
12309 2005-09-26  Wim Taymans  <wim@fluendo.com>
12310
12311         * gst/gstbin.c: (gst_bin_change_state):
12312         Make state change function use 3 queues again, we were
12313         adding elements in the wrong order.
12314
12315         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12316         Some debug info,
12317
12318         * gst/gstpad.c: (gst_pad_dispose):
12319         Added some debug info first.
12320
12321 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
12322
12323         * docs/design/draft-push-pull.txt:
12324         * docs/design/part-events.txt:
12325         * docs/design/part-overview.txt:
12326         * docs/design/part-scheduling.txt:
12327           Replace all _pull_region() with _pull_range()
12328           
12329 2005-09-26  Andy Wingo  <wingo@pobox.com>
12330
12331         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12332
12333         * check/gst-libs/controller.c: Update for controller api change.
12334
12335         * configure.ac: 
12336         * tests/Makefile.am:
12337         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12338         over by GLib bug 118439.
12339         
12340         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12341         routines to a function.
12342
12343         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12344
12345         * libs/gst/controller/gsthelper.c:
12346         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12347         (gst_object_sync_values): Renamed from sink_values. Ugh.
12348
12349         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12350
12351         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12352         Renamed from controller_key, as it is exported.
12353
12354         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12355
12356 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
12357
12358         * gst/Makefile.am:
12359         * gst/gst.h:
12360         * gst/gstpad.h:
12361         * gst/gstpadtemplate.h:
12362         * gst/gstquery.c:
12363         * gst/gstquery.h:
12364         * gst/gstqueryutils.c:
12365         * gst/gstqueryutils.h:
12366           remove queryutils headers after moving the two used functions
12367           to gstquery.  also fixes build problem for gstsiddec
12368
12369 2005-09-26  Michael Smith <msmith@fluendo.com>
12370
12371         * tools/gst-launch.1.in:
12372         Correct documentation in manpage of debug syntax
12373
12374 2005-09-26  Wim Taymans  <wim@fluendo.com>
12375
12376         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12377         (gst_base_src_is_seekable), (gst_base_src_change_state):
12378         Some more debugging info.
12379
12380 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12381
12382         * docs/gst/gstreamer-sections.txt:
12383         * gst/base/gstbasetransform.h:
12384         * gst/gstindex.h:
12385           added more docs
12386
12387 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12388
12389         * docs/gst/.cvsignore:
12390         * docs/gst/tmpl/.cvsignore:
12391         * docs/gst/tmpl/gstpipeline.sgml:
12392         * docs/gst/tmpl/gstplugin.sgml:
12393         * gst/gstpipeline.c:
12394         * gst/gstplugin.c:
12395         * gst/gstplugin.h:
12396           inlined the last two docs files
12397           removed the tmpl directory from cvs (no more conflicts here!)
12398
12399 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
12400
12401         * docs/gst/gstreamer-sections.txt:
12402         * docs/gst/tmpl/.cvsignore:
12403         * docs/gst/tmpl/gstpad.sgml:
12404         * docs/gst/tmpl/gstpadtemplate.sgml:
12405         * gst/Makefile.am:
12406         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12407         (gst_pad_finalize), (gst_pad_set_pad_template):
12408         * gst/gstpad.h:
12409         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12410         (gst_pad_template_class_init), (gst_pad_template_init),
12411         (gst_pad_template_dispose), (name_is_valid),
12412         (gst_static_pad_template_get), (gst_pad_template_new),
12413         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12414         (gst_pad_template_pad_created):
12415         * gst/gstpadtemplate.h:
12416           inlined two more docs
12417           factored gstpadtemplate out of gstpad
12418
12419 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
12420
12421         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12422         (test_children_state_change_order_semi_sink):
12423           Fix test case: we can't rely on a fixed state change order when
12424           going from READY => PAUSED because the sink might commit its 
12425           new state first when the first buffer created by the source 
12426           reaches the sink before the source has finished its change state.
12427           (Test case still fails at times, see #316856, comment 5 onwards)
12428
12429 2005-09-24  Wim Taymans  <wim@fluendo.com>
12430
12431         * docs/design/part-events.txt:
12432         * docs/design/part-gstbus.txt:
12433         * docs/design/part-gstpipeline.txt:
12434         * docs/design/part-messages.txt:
12435         * docs/design/part-overview.txt:
12436         * docs/design/part-segments.txt:
12437         * gst/gstbin.c:
12438         * gst/gstbuffer.c:
12439         * gst/gstclock.c:
12440         * gst/gstelement.c:
12441         * gst/gstevent.c:
12442         * gst/gstfilter.c:
12443         * gst/gstiterator.c:
12444         Various documentation updates.
12445
12446 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12447
12448         * gst/gstclock.h:
12449           Well, that's embarassing.  Luckily we weren't using
12450           GST_CLOCK_DIFF anywhere.
12451
12452 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12453
12454         * common/gtk-doc.mak:
12455           don't fail on building XML, FC4 slave shows a bunch of doc
12456           missing bits that I don't get
12457         * gst/gstpad.c:
12458         * gst/gstpipeline.c:
12459         * gst/gststructure.c:
12460           some doc updates
12461
12462 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * docs/design/part-gstbin.txt:
12465         * docs/design/part-gstbus.txt:
12466         * gst/gstbus.c:
12467           Add blurb about how the bus goes into flushing mode and
12468           drops all messages when its bin goes from READY into NULL 
12469           state.
12470
12471 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12472
12473         * docs/gst/gstreamer-sections.txt:
12474         * gst/gststructure.c: (gst_structure_get_clock_time):
12475         * gst/gststructure.h:
12476           add a method to get a GstClockTime out of a structure
12477
12478 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
12479
12480         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12481         (test_children_state_change_order_semi_sink), (gst_bin_suite):
12482           Added test to check state change order in bins (can still be made
12483           to fail here under heavy disk load; bails out with 'Push on pad
12484           fakesink:sink0, but it was not activated in push mode').
12485
12486         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12487           Fix state change order when there is only a semi sink (#316856)
12488
12489         * gst/gstbus.c: (gst_bus_class_init):
12490           Use _class_peek_parent(), not _class_ref(); fix docs to say
12491           'default main context' instead of 'mainloop' where that is
12492           what's meant.
12493
12494         * gst/gstelement.c: (gst_element_commit_state),
12495         (gst_element_set_state):
12496           Fix typos in debug messages
12497
12498 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12499
12500         * docs/README:
12501         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12502         * gst/gstpluginfeature.c:
12503         * gst/gstutils.c:
12504           various doc updates
12505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12506           change an assert into an error until it gets fixed properly
12507
12508 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
12509
12510         * docs/gst/gstreamer-sections.txt:
12511         * docs/gst/tmpl/.cvsignore:
12512         * docs/gst/tmpl/gstelement.sgml:
12513         * docs/gst/tmpl/gstinfo.sgml:
12514         * docs/gst/tmpl/gstobject.sgml:
12515         * gst/gstelement.c:
12516         * gst/gstelement.h:
12517         * gst/gstinfo.c:
12518         * gst/gstinfo.h:
12519         * gst/gstobject.c: (gst_object_class_init):
12520         * gst/gstobject.h:
12521           inlined 3 more biiiig doc files and added some missing docs on the fly
12522
12523 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12524
12525         * check/gst/.cvsignore:
12526         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12527         * gst/gstregistryxml.c: (load_plugin),
12528         (gst_registry_xml_save_plugin):
12529           put back source in registry.  add checks for find_plugin.
12530         * testsuite/states/bin.c: (assert_state), (empty_bin),
12531         (test_adding_one_element), (main):
12532         * testsuite/states/locked.c: (main):
12533           some compile/run fixes
12534
12535 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12536
12537         * check/gst/gstvalue.c: (GST_START_TEST):
12538           fix leaks in the test itself
12539
12540 2005-09-22  Wim Taymans  <wim@fluendo.com>
12541
12542         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12543         (gst_base_sink_send_event), (gst_base_sink_peer_query),
12544         (gst_base_sink_query):
12545         Prepare for more accurate position reporting and query
12546         handling.
12547
12548         * gst/gstelement.c: (gst_element_send_event),
12549         (gst_element_set_state):
12550         Add some comment.
12551
12552 2005-09-22  Wim Taymans  <wim@fluendo.com>
12553
12554         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12555         (gst_query_parse_segment):
12556         * gst/gstquery.h:
12557         More documentation.
12558         Add segment query for future use.
12559
12560 2005-09-22  Wim Taymans  <wim@fluendo.com>
12561
12562         * gst/gstbin.c: (gst_bin_add_func):
12563         Some more debug info.
12564
12565         * gst/gstelement.c: (gst_element_send_event):
12566         Simplify send_event
12567
12568         * gst/gstelement.h:
12569         Don't know how flags got broken.
12570
12571         * gst/gstquery.h:
12572         Added new query.
12573
12574 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12575
12576         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12577           Add simplistic test suite for GST_TYPE_DATE serialisation and
12578           deserialisation.
12579
12580 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
12581
12582         * docs/gst/gstreamer-sections.txt:
12583         * gst/gststructure.c: (gst_structure_set_valist),
12584         (gst_structure_get_date):
12585         * gst/gststructure.h:
12586         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12587         (gst_date_copy), (gst_value_compare_date),
12588         (gst_value_serialize_date), (gst_value_deserialize_date),
12589         (gst_value_transform_date_string),
12590         (gst_value_transform_string_date), (_gst_value_initialize):
12591         * gst/gstvalue.h:
12592           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12593           bunch of utility functions along with a hack that checks that
12594           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12595           is required. Part of the grand scheme in #170777.
12596
12597 2005-09-22  Andy Wingo  <wingo@pobox.com>
12598
12599         * gst/gstconfig.h.in: Psych out gtk-doc.
12600
12601         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12602
12603         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12604
12605         * tools/gst-inspect.c (print_element_list): Plug some
12606         inconsequential leaks.
12607
12608         * gst/gstregistry.c (gst_registry_get_default): Doc.
12609
12610         * check/gst/gstplugin.c: 
12611         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12612         * gst/gstelementfactory.c (gst_element_factory_create): 
12613         * gst/gstindexfactory.c (gst_index_factory_create): Update for
12614         refcount changes.
12615
12616         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12617         (gst_plugin_feature_load): Doc, don't eat refs.
12618
12619         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12620         (gst_plugin_list_free): Doc.
12621         (gst_plugin_load_file): Doc updates.
12622
12623         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12624         accessors returning refcounted objects, return a ref.
12625
12626         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12627         accessor for caps. IDEMPOTENCE. Oh yes.
12628
12629 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
12630
12631         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
12632
12633         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12634         (_gst_debug_register_funcptr):
12635           Add mutex to serialise access to the hash table with
12636           the function pointer => function name string mapping;
12637           make that hash table static scope (#316809).
12638
12639         * gst/registries/.cvsignore:
12640           Remove left-over file.
12641
12642 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * docs/pwg/appendix-porting.xml:
12645           And something about newsegment events and caps-on-buffers to
12646           the porting guide (feel free to improve).
12647
12648 2005-09-21  Andy Wingo  <wingo@pobox.com>
12649
12650         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12651         data and event probes on the same pad.
12652         (test_buffer_probe_once): Test that removing probes from within
12653         the probe functions works.
12654
12655 2005-09-21  Andy Wingo  <wingo@pobox.com>
12656
12657         * check/gst/gstutils.c: New file.
12658         (test_buffer_probe_n_times): A simple buffer probe test. More to
12659         come, foolios.
12660
12661         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12662         have-data::buffer, not have-data.
12663         (gst_pad_add_event_probe): Likewise for have-data::event.
12664         (gst_pad_add_data_probe): More docs. The part about 'resolving the
12665         peer' isn't quite right yet though.
12666         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
12667         (gst_pad_remove_data_probe): Change to take the guint handler_id
12668         as their arg, not the function+data, which is more glib-like.
12669
12670         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12671         the signal emission to indicate if the data is a buffer or an
12672         event.
12673         (gst_pad_get_type): Initialize buffer and event quarks.
12674         (gst_pad_class_init): have-data is now a detailed signal, yes it
12675         is.
12676
12677 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
12678
12679         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12680         * gst/gstutils.c: (gst_util_set_value_from_string),
12681         (gst_util_set_object_arg):
12682           Don't put functional code in g_return_if_fail() or
12683           g_return_val_if_fail() statements, otherwise things will 
12684           break when G_DISABLE_CHECKS is defined during compilation.
12685
12686 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12687
12688         * docs/gst/tmpl/.cvsignore:
12689         * docs/gst/tmpl/gstvalue.sgml:
12690         * gst/gstvalue.c:
12691         * gst/gstvalue.h:
12692           inlied another one and added  some obvious docs
12693
12694 2005-09-21  Wim Taymans  <wim@fluendo.com>
12695
12696         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12697         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12698         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12699         (gst_fdsrc_get_property), (gst_fdsrc_create):
12700         * gst/elements/gstfdsrc.h:
12701         Properly implement fdsrc. Removed signal and timeout,
12702         better implemented somewhere else.
12703
12704 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12705
12706         * docs/gst/tmpl/.cvsignore:
12707         * docs/gst/tmpl/gstimplementsinterface.sgml:
12708         * gst/gstinterface.c:
12709           inlined more docs
12710
12711 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12712
12713         * docs/gst/gstreamer-sections.txt:
12714         * docs/gst/tmpl/.cvsignore:
12715         * docs/gst/tmpl/gstenumtypes.sgml:
12716           remove obsolete doc file
12717
12718 2005-09-21  David Schleef  <ds@schleef.org>
12719
12720         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12721         little beer, fix a little leak.
12722
12723 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
12724
12725         * docs/gst/gstreamer-docs.sgml:
12726         * docs/gst/gstreamer-sections.txt:
12727         * docs/gst/tmpl/.cvsignore:
12728         * gst/Makefile.am:
12729         * gst/gst.h:
12730         * gst/gstbin.c:
12731         * gst/gstelement.h:
12732         * gst/gstindex.c: (gst_index_class_init):
12733         * gst/gstindex.h:
12734         * gst/gstindexfactory.c: (gst_index_factory_get_type),
12735         (gst_index_factory_class_init), (gst_index_factory_init),
12736         (gst_index_factory_finalize), (gst_index_factory_new),
12737         (gst_index_factory_destroy), (gst_index_factory_find),
12738         (gst_index_factory_create), (gst_index_factory_make):
12739         * gst/gstindexfactory.h:
12740         * gst/gstpluginfeature.c:
12741         * gst/gstpluginfeature.h:
12742         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12743           more docs inlined, splitted gstindex.{c,h}
12744
12745 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12746
12747         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12748           fix a leak
12749
12750 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * gst/elements/gstfilesink.c: (gst_file_sink_init):
12753           Set sync to FALSE by default.
12754
12755 2005-09-20  Wim Taymans  <wim@fluendo.com>
12756
12757         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12758         (gst_base_sink_init):
12759         Make sync property settable from subclass.
12760
12761         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12762         (gst_fake_sink_change_state):
12763         Set sync to FALSE by default.
12764
12765 2005-09-20  Wim Taymans  <wim@fluendo.com>
12766
12767         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12768         * tools/gst-launch.c: (main):
12769         The timeout handler should have lower priority than the source
12770         so we don't timeout before popping a message with 0 timeout.
12771         Dump error messages after failed state change.
12772
12773 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
12774
12775         * tools/gst-inspect.c: (print_element_properties_info):
12776           Fix two typos.
12777
12778 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12779
12780         * check/gst/gstevent.c:
12781         * gst/elements/gstfakesink.c:
12782         * gst/elements/gstfakesink.h:
12783           remove the sync property from fakesink.
12784           has the side effect of setting sync TRUE
12785           for fakesink, which is a change.  Anyone who knows how
12786           to fix this nicely in a GObject-y way, feel free.
12787
12788 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12789
12790         * docs/gst/gstreamer-docs.sgml:
12791           remove probe refsection
12792
12793 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12794
12795         * check/Makefile.am:
12796           disable valgrinding the controller test again
12797         * docs/gst/gstreamer-sections.txt:
12798           update for api-changes
12799
12800 2005-09-20  Wim Taymans  <wim@fluendo.com>
12801
12802         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12803         (gst_base_sink_set_property), (gst_base_sink_get_property),
12804         (gst_base_sink_do_sync):
12805         * gst/base/gstbasesink.h:
12806         Added sync property to basesink to disable clock sync.
12807
12808 2005-09-20  Andy Wingo  <wingo@pobox.com>
12809
12810         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12811         eating the caller's refcount.
12812
12813         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
12814         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12815         refcount.
12816
12817         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12818         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12819         of GLib 2.8 public, so we can know which refcount to check in
12820         tests.
12821
12822         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12823         (gst_object_init): Only set the gst refcount if we're going ahead
12824         with the refcount hack.
12825
12826 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12827
12828         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12829         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12830           more leaks plumbed, added more debug-logging
12831         * gst/gstmacros.h:
12832           whitespace fix
12833
12834 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12835
12836         * gst/gstmessage.c:
12837           remove include of gstmemchunk.h
12838
12839 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12840
12841         * gst/gstclock.c: (_gst_clock_id_free):
12842           Commit from the Political Party For More Atomic CVS Commits,
12843           so that people don't waste too much of their day fishing
12844           out obvious leaks out of massive commits.
12845           Oh, and fix a pretty damn obvious leak in the memchunk
12846           removal code.
12847
12848 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
12849
12850         * check/Makefile.am:
12851         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12852           plug mem-leak, re-add to valgrindable tests
12853
12854 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12855
12856         * gst/gstplugin.h:
12857           unbreak the build for those who have chronic arthritis
12858           and typing "make check" is just too taxing on the hands
12859
12860 2005-09-20  Andy Wingo  <wingo@pobox.com>
12861
12862         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12863         really want it out, you should fix plugins at the same time.
12864
12865 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
12866
12867         * configure.ac:
12868         * docs/gst/gstreamer-sections.txt:
12869         * gst/gstobject.c:
12870           added missing symbols to api docs
12871           disable ref-count hack if we have glib >= 2.8
12872
12873 2005-09-19  David Schleef  <ds@schleef.org>
12874
12875         * docs/gst/Makefile.am: Ignore a few more internal headers
12876         * docs/gst/gstreamer-docs.sgml: Remove old sections
12877         * docs/gst/gstreamer-sections.txt: Remove old sections
12878         * docs/gst/tmpl/gstobject.sgml: update
12879         * docs/gst/tmpl/gstplugin.sgml: update
12880         * docs/gst/tmpl/gstpluginfeature.sgml: update
12881         * docs/random/ds/0.9-suggested-changes: update.
12882         * gst/Makefile.am: remove memchunk and trashstack, since they're
12883           not used.
12884         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12885         * gst/gst.h: don't include some headers
12886         * gst/gstchildproxy.c: add gstmarshal.h
12887         * gst/gstclock.c: Don't use memchunks
12888         * gst/gstminiobject.c: Add some docs
12889         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12890         * gst/gstobject.h: same
12891         * gst/gstplugin.c: include gstmacros.h
12892         * gst/gstplugin.h: don't include gstmacros.h, since it's private
12893         * gst/gstquery.c: don't use memchunks
12894         * gst/gstregistry.c: rename gst_registry_deinit()
12895         * gst/gstregistry.h: same
12896
12897 2005-09-19  David Schleef  <ds@schleef.org>
12898
12899         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12900         * docs/libs/gstreamer-libs-sections.txt:
12901         * docs/libs/tmpl/gstgetbits.sgml:
12902         * docs/libs/tmpl/gstputbits.sgml:
12903
12904 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
12905
12906         * win32/gstenumtypes.c:
12907         * win32/gstenumtypes.h:
12908           Update.
12909
12910 2005-09-19  Wim Taymans  <wim@fluendo.com>
12911
12912         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12913         Automatically PAUSE and RESUME a pipeline when a flushing seek
12914         is performed.
12915
12916 2005-09-19  Andy Wingo  <wingo@pobox.com>
12917
12918         * gst/gstregistry.h: Spacing fixen.
12919
12920 2005-09-19  Wim Taymans  <wim@fluendo.com>
12921
12922         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12923         Handle state change failure more correctly.
12924
12925 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12926
12927         * check/Makefile.am:
12928         * check/pipelines/cleanup.c: (run_pipeline):
12929         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12930         (GST_START_TEST):
12931           enable cleanup again after fixing the leak
12932         * docs/README:
12933           some more info on docs
12934
12935 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12936
12937         * check/Makefile.am:
12938           re-enable tests now that leaks are plugged
12939         * check/gst/gst.c:
12940         * check/gst/gstbin.c:
12941         * check/gst/gstpipeline.c:
12942           add some more tests while fixing leaks
12943         * common/check.mak:
12944           make sure binaries are uptodate when valgrinding/gdbing
12945         * gst/gst.c:
12946         * gst/gstelementfactory.c:
12947           remove a ref too many, and add a FIXME for when we get
12948           round to disposing of classes
12949         * gst/gstplugin.c:
12950           fix the refcounting when loading a plugin from a file and
12951           the code pretends that the pointer is the same even though
12952           of course it can change
12953         * gst/gstpluginfeature.c:
12954           unref plugins marked cached (a bit confusing as a name)
12955           as the docs state should be done
12956           various doc additions to explain refcounting
12957         * gst/gstregistry.c:
12958         * gst/gstregistryxml.c:
12959           debugging
12960
12961 2005-09-19  Wim Taymans  <wim@fluendo.com>
12962
12963         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12964         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12965         (send_messages), (GST_START_TEST), (gstbus_suite):
12966         * check/gst/gstpipeline.c: (GST_START_TEST):
12967         * check/pipelines/cleanup.c: (run_pipeline):
12968         * check/pipelines/simple_launch_lines.c: (run_pipeline),
12969         (GST_START_TEST):
12970         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12971         (gst_bus_source_check), (gst_bus_source_dispatch),
12972         (gst_bus_create_watch), (gst_bus_add_watch_full),
12973         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12974         * gst/gstbus.h:
12975         * tools/gst-launch.c: (event_loop):
12976         * tools/gst-md5sum.c: (event_loop):
12977         GstBusHandler -> GstBusFunc, return value has the same meaning as
12978         any other GSource (FALSE == remove source).
12979         _add_watch() and _add_watch_full() now take a MessageType mask to
12980         only handle specific types of messages.
12981         _poll() returns the GstMessage instead of the message type to avoid
12982         race conditions.
12983         _have_pending() takes a MessageType mask now too.
12984         Added testsuite for multiple bus watches.
12985         Fix testsuites and applications for new bus API.
12986
12987 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
12988
12989         * check/Makefile.am:
12990           mark a bunch of the tests as to fix until we fix them
12991
12992 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
12993
12994         * common/check.mak:
12995           use GST_PLUGIN settings for valgrind tests as well, so we're
12996           valgrinding the correct thing
12997         * gst/gst.c: (init_post):
12998           plug another leak
12999
13000 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13001
13002         * gst/gst.c: (init_post), (gst_deinit):
13003         * gst/gstelementfactory.c: (gst_element_factory_class_init),
13004         (gst_element_factory_finalize), (gst_element_factory_cleanup):
13005         * gst/gstindex.c: (gst_index_factory_class_init),
13006         (gst_index_factory_finalize):
13007         * gst/gstobject.c: (gst_object_dispose):
13008         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13009         (gst_plugin_load_file), (gst_plugin_desc_free):
13010         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13011         (gst_plugin_feature_finalize):
13012         * gst/gstregistry.c: (gst_registry_class_init),
13013         (gst_registry_init), (gst_registry_finalize),
13014         (gst_registry_get_default), (gst_registry_deinit):
13015         * gst/gstregistry.h:
13016         * gst/gstregistryxml.c: (load_feature), (load_plugin):
13017           various cleanups and memleak plugging.  make valgrind is happy now.
13018
13019 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
13020
13021         * common/check.mak:
13022           add a check-valgrind target
13023
13024 2005-09-18  David Schleef  <ds@schleef.org>
13025
13026         * tools/gst-inspect.c: Revert the GOption code.
13027
13028 2005-09-17  David Schleef  <ds@schleef.org>
13029
13030         * check/Makefile.am: Fix environment variables.
13031         * check/gst/gstplugin.c: Fix for API changes.
13032         * tools/gst-inspect.c: Fix for API changes.
13033         * tools/gst-xmlinspect.c: Fix for API changes.
13034         * gst/gstelementfactory.c:
13035         * gst/gstplugin.c:
13036         * gst/gstplugin.h:
13037         * gst/gstpluginfeature.c:
13038         * gst/gstpluginfeature.h:
13039         * gst/gstregistry.c:
13040         * gst/gstregistry.h:
13041         * gst/gstregistryxml.c:
13042         * gst/gsttypefind.c:
13043         * gst/gsttypefindfactory.c:
13044         * gst/indexers/gstfileindex.c:
13045         * gst/indexers/gstmemindex.c:
13046         * gst/schedulers/Makefile.am:
13047           Change registry to keep track of both plugins and features,
13048           removing the feature tracking from plugins themselves.
13049
13050 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13051
13052         * check/Makefile.am:
13053         * tools/gst-register.1.in:
13054           remove gst-register
13055
13056 2005-09-15  David Schleef  <ds@schleef.org>
13057
13058         * check/gst/gstplugin.c:
13059         * gst/gstelementfactory.c:
13060         * gst/gstplugin.c:
13061         * gst/gstpluginfeature.c:
13062         * gst/gstregistry.c:
13063           Getting tired of debugging.  Disabled all the unreffing of
13064           plugins and features, which fixes the segfaults, but of
13065           course leaks like crazy.  At least playbin works.
13066
13067 2005-09-15  David Schleef  <ds@schleef.org>
13068
13069         * check/gst/gstplugin.c: (register_check_elements),
13070         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13071         More testing
13072         * gst/elements/gsttypefindelement.c: Fix refcounting.
13073         * gst/gsttypefind.c:
13074         * gst/gsttypefindfactory.c:
13075         * gst/gsttypefindfactory.h:
13076
13077 2005-09-15  David Schleef  <ds@schleef.org>
13078
13079         * gst/gstindex.c: get refcounting correct.
13080         * gst/gstregistry.c: Handle the case where a feature/plugin is
13081           not found.
13082
13083 2005-09-15  David Schleef  <ds@schleef.org>
13084
13085         * check/Makefile.am:
13086         * check/gst/gstplugin.c: Add test
13087         * gst/gstplugin.c: Fix problems noticed by testsuite
13088         * gst/gstplugin.h:
13089         * gst/gstregistry.c: 
13090         * gst/gstregistry.h:
13091
13092 2005-09-15  David Schleef  <ds@schleef.org>
13093
13094         * gst/gstplugin.c: Implement semi-decent recounting and locking
13095           in plugins and plugin features.
13096         * gst/gstplugin.h:
13097         * gst/gstpluginfeature.c:
13098         * gst/gstpluginfeature.h:
13099         * gst/gstregistry.c:
13100
13101 2005-09-15  Michael Smith <msmith@fluendo.com>
13102
13103         * gst/gstregistry.c: (gst_registry_get_feature_list):
13104           Implement this. Makes oggdemux work; decodebin still broken.
13105
13106 2005-09-14  David Schleef  <ds@schleef.org>
13107
13108         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13109           #316076)
13110         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13111         * gst/check/Makefile.am:
13112         * libs/gst/controller/Makefile.am:
13113         * libs/gst/dataprotocol/Makefile.am:
13114
13115 2005-09-14  David Schleef  <ds@schleef.org>
13116
13117         * configure.ac: Remove getbits library.  Nothing uses it, and
13118           it should be in something like liboil if someone did want
13119           to use it.
13120         * libs/gst/Makefile.am:
13121         * libs/gst/getbits/Makefile.am:
13122         * libs/gst/getbits/gbtest.c:
13123         * libs/gst/getbits/getbits.c:
13124         * libs/gst/getbits/getbits.h:
13125         * libs/gst/getbits/gstgetbits_generic.c:
13126         * libs/gst/getbits/gstgetbits_i386.s:
13127         * libs/gst/getbits/gstgetbits_inl.h:
13128
13129 2005-09-14  David Schleef  <ds@schleef.org>
13130
13131         * gst/Makefile.am: Dist glib-compat.h
13132
13133 2005-09-14  David Schleef  <ds@schleef.org>
13134
13135         * configure.ac: Remove gst/registries, since it's no longer used.
13136         * gst/registries/Makefile.am:
13137         * gst/registries/gstlibxmlregistry.c:
13138         * gst/registries/gstlibxmlregistry.h:
13139         * gst/registries/gstxmlregistry.c:
13140         * gst/registries/gstxmlregistry.h:
13141         * gst/registries/registrytest.c:
13142
13143 2005-09-14  David Schleef  <ds@schleef.org>
13144
13145         * gst/glib-compat.h:
13146         * gst/gstregistryxml.c:
13147           Convergence is near.  Seriously.
13148
13149 2005-09-14  David Schleef  <ds@schleef.org>
13150
13151         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13152         * gst/glib-compat.h:
13153           Attempt #4 to appease the buildbots.
13154
13155 2005-09-14  David Schleef  <ds@schleef.org>
13156
13157         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13158           Attempt #3.
13159
13160 2005-09-14  David Schleef  <ds@schleef.org>
13161
13162         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13163         Attempt #2.
13164
13165 2005-09-14  David Schleef  <ds@schleef.org>
13166
13167         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13168           the new functions.
13169
13170 2005-09-14  David Schleef  <ds@schleef.org>
13171
13172         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13173         * gst/glib-compat.h: Add some functions that are in newer versions
13174           of glib than we care to require.
13175         * gst/gstregistryxml.c: Use them.
13176
13177 2005-09-14  David Schleef  <ds@schleef.org>
13178
13179         * po/POTFILES.in: remove gst-register.c
13180
13181 2005-09-14  David Schleef  <ds@schleef.org>
13182
13183         * docs/gst/gstreamer-docs.sgml:
13184         * docs/gst/gstreamer-sections.txt:
13185         * docs/gst/gstreamer.types:
13186         * docs/gst/tmpl/gstelement.sgml:
13187         * docs/gst/tmpl/gstplugin.sgml:
13188         * docs/gst/tmpl/gstpluginfeature.sgml:
13189           Documentation updates for registry changes.
13190
13191 2005-09-14  David Schleef  <ds@schleef.org>
13192
13193         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13194           because we don't require glib-2.8.
13195
13196 2005-09-14  David Schleef  <ds@schleef.org>
13197
13198         * gst/gstregistryxml.c: Added.  Essentially moved out of the
13199           registries directory.
13200
13201 2005-09-14  David Schleef  <ds@schleef.org>
13202
13203         * check/Makefile.am:
13204         * check/generic/states.c:
13205         * gst/Makefile.am:
13206         * gst/gst.c:
13207         * gst/gst.h:
13208         * gst/gst_private.h:
13209         * gst/gstelementfactory.c:
13210         * gst/gstindex.c:
13211         * gst/gstinfo.c:
13212         * gst/gstplugin.c:
13213         * gst/gstplugin.h:
13214         * gst/gstpluginfeature.c:
13215         * gst/gstpluginfeature.h:
13216         * gst/gstregistry.c:
13217         * gst/gstregistry.h:
13218         * gst/gstregistrypool.c: remove
13219         * gst/gstregistrypool.h: remove
13220         * gst/gsttypefind.c:
13221         * gst/gsttypefindfactory.c:
13222         * gst/gsturi.c:
13223         * tools/Makefile.am:
13224         * tools/gst-compprep.c:
13225         * tools/gst-inspect.c:
13226         * tools/gst-register.c: remove
13227         * tools/gst-xmlinspect.c:
13228           Registry rewrite.  Changes registry from being a file created
13229           by a tool into a simple cache file created automatically by 
13230           libgstreamer.  Removed gst-register (because it's no longer
13231           needed).  Remove registry pools, because we only have one
13232           registry implementation (XML).  Fix up other subsystems as
13233           necessary.
13234
13235 2005-09-13  Michael Smith <msmith@fluendo.com>
13236
13237         * gst/gstconfig.h.in:
13238           Don't Use windows linking attributes for MinGW. Fixes #316157
13239
13240 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13241
13242         * gst/gstutils.c: (set_state_async_thread_func),
13243         (gst_element_set_state_async):
13244           Apparently people think it's better if this function doesn't
13245           try to set the state to whatever state was asked for on the first
13246           call to this function for any object.  Seriously.
13247
13248 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13249
13250         * check/gst/gstpipeline.c: (GST_START_TEST):
13251         * docs/gst/gstreamer-sections.txt:
13252         * gst/gstutils.c: (set_state_async_thread_func),
13253         (gst_element_set_state_async):
13254         * gst/gstutils.h:
13255           add a "gst_element_set_state_async" method that
13256           sets the state and starts a thread to make sure the state
13257           change completes as best as it can
13258
13259 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13260
13261         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13262           codify design+behaviour in testsuite after discussion
13263
13264 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13265
13266         * docs/gst/tmpl/gstelement.sgml:
13267         * docs/manual/appendix-quotes.xml:
13268           add a quote
13269         * gst/gstelement.c: (gst_element_set_state):
13270           add some debug
13271
13272 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
13273
13274         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13275         (gst_base_transform_prepare_output_buf),
13276         (gst_base_transform_handle_buffer):
13277         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13278         (gst_capsfilter_prepare_buf):
13279           Remove the requirement for sub-classes to call the parent
13280           implementation of prepare_output_buffer with a wrapper function.
13281           
13282         * gst/gsttaglist.h:
13283         * gst/gsttagsetter.h:
13284           Fix #define wrapper
13285
13286 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
13287
13288         * docs/gst/gstreamer-sections.txt:
13289           more doc cleanups
13290
13291 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13292
13293         * docs/gst/gstreamer-sections.txt:
13294         * docs/gst/tmpl/gstelement.sgml:
13295         * docs/gst/tmpl/gstplugin.sgml:
13296         * gst/gstminiobject.c:
13297         * gst/gstvalue.h:
13298           docs now stop throwing warnings
13299
13300 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13301
13302         * docs/gst/gstreamer-sections.txt:
13303         * docs/gst/gstreamer.types:
13304         * docs/gst/tmpl/gstpad.sgml:
13305         * docs/gst/tmpl/gsttypes.sgml:
13306         * gst/base/gstadapter.h:
13307         * gst/base/gstbasesink.h:
13308         * gst/base/gstbasesrc.h:
13309         * gst/gstbin.h:
13310         * gst/gstbuffer.h:
13311         * gst/gstbus.h:
13312         * gst/gstcaps.h:
13313         * gst/gstclock.h:
13314         * gst/gstelement.h:
13315         * gst/gstevent.h:
13316         * gst/gstmessage.h:
13317         * gst/gstpad.h:
13318         * gst/gststructure.c:
13319         * gst/registries/gstlibxmlregistry.h:
13320           various documentation fixes
13321
13322 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
13323
13324         * docs/gst/gstreamer-sections.txt:
13325         * docs/gst/tmpl/gstvalue.sgml:
13326           rearrange gstvalue section
13327         * gst/gstutils.c: (gst_element_state_get_name):
13328           NONE -> VOID
13329         * gst/gstvalue.c: (_gst_value_initialize):
13330         * gst/gstvalue.h:
13331           doc updates
13332
13333 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
13334
13335         * check/gst-libs/controller.c:
13336           Header include fix.
13337         * gst/base/gstbasetransform.c:
13338         (gst_base_transform_default_prepare_buf),
13339         (gst_base_transform_handle_buffer):
13340         * gst/base/gstbasetransform.h:
13341           Some more basetransform changes and fixes to enable sub-classes
13342           that modify buffer metadata only.
13343         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13344         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13345         (gst_capsfilter_prepare_buf):
13346           If the output pad has fixed allowed caps and input buffers 
13347           don't have any, set the fixed caps on outgoing buffers.
13348
13349 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
13350         * check/elements/identity.c: (GST_START_TEST):
13351           Make the error a little clearer when the test fails because
13352           identity made a copy of the buffer.
13353         * docs/gst/gstreamer-sections.txt:
13354           New symbols in gstbasetransform.h
13355         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13356         (gst_base_transform_init), (gst_base_transform_transform_size),
13357         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13358         (gst_base_transform_default_prepare_buf),
13359         (gst_base_transform_get_unit_size),
13360         (gst_base_transform_buffer_alloc),
13361         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13362         (gst_base_transform_change_state),
13363         (gst_base_transform_set_passthrough),
13364         (gst_base_transform_set_in_place),
13365         (gst_base_transform_is_in_place):
13366         * gst/base/gstbasetransform.h:
13367           Change BaseTransform to separate in_place operate from same_caps
13368           output. in_place implies that the element can perform the transform
13369           on incoming buffers in-place, even if the caps on the output are
13370           different.
13371           Sub-class elements can now implement special buffer allocation
13372           methods for outgoing buffers if they wish to.
13373           Big documentation addition.
13374         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13375         * gst/elements/gstelements.c:
13376           Changes for basetransform modifications.
13377         * gst/elements/Makefile.am:
13378         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13379           Compile fix. Extra debug output.
13380
13381 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13382
13383         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13384         (gst_pad_suite):
13385           add tests for valid pad naming
13386         * gst/check/gstcheck.c: (gst_check_log_message_func),
13387         (gst_check_log_critical_func):
13388           add ASSERT_WARNING
13389           remove printing of code, it is fragile when the code contains
13390           % and the line number is enough info
13391         * gst/check/gstcheck.h:
13392         * gst/gstpad.c: (gst_pad_template_new):
13393           fix memleaks
13394
13395 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13396
13397         * configure.ac:
13398           say what CHECK flags we use
13399         * docs/libs/gstreamer-libs.types:
13400         * libs/gst/controller/Makefile.am:
13401         * libs/gst/controller/gst-controller.c:
13402         * libs/gst/controller/gst-controller.h:
13403         * libs/gst/controller/gst-helper.c:
13404         * libs/gst/controller/gst-interpolation.c:
13405         * libs/gst/controller/gstcontroller.c:
13406         * libs/gst/controller/gsthelper.c:
13407         * libs/gst/controller/gstinterpolation.c:
13408         * tools/gst-inspect.c: (print_plugin_info):
13409           we don't use dashes in header names
13410
13411 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
13412
13413         * check/Makefile.am:
13414         * check/gst/.cvsignore:
13415         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13416         (gst_pipeline_suite), (main):
13417           adding a test for pipelines and state changes
13418         * gst/gstutils.c: (get_state_func):
13419           add some debugging
13420         * gstreamer.spec.in:
13421           fix up spec file
13422
13423 2005-09-08  Michael Smith <msmith@fluendo.com>
13424
13425         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13426         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13427         (gst_file_src_is_seekable), (gst_file_src_get_size),
13428         (gst_file_src_start):
13429         * gst/elements/gstfilesrc.h:
13430           Various fixes for unseekable, unmmapable, and non-normal files, so
13431           that fallback to read() rather than mmap() works.
13432         * gst/gstevent.c: (gst_event_new_newsegment):
13433           Allow newsegment events with segment_start == segment_end, as will
13434           correctly happen if you use filesrc on a zero-size file, for
13435           example.
13436
13437 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13438
13439         * gst/gstplugin.c: (gst_plugin_load_file):
13440           Call g_module_close when we don't load the module
13441
13442         * gst/registries/gstlibxmlregistry.c:
13443         (gst_xml_registry_get_property):
13444           Port leak fix from 0.8
13445
13446 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13447
13448         * docs/gst/gstreamer-docs.sgml:
13449         * docs/gst/tmpl/.cvsignore:
13450         * docs/gst/tmpl/gsttrace.sgml:
13451         * docs/gst/tmpl/gsttrashstack.sgml:
13452         * gst/Makefile.am:
13453         * gst/gst.h:
13454         * gst/gstelement.h:
13455         * gst/gstevent.h:
13456         * gst/gstmessage.c:
13457         * gst/gstmessage.h:
13458         * gst/gsttag.c:
13459         * gst/gsttag.h:
13460         * gst/gsttaginterface.c:
13461         * gst/gsttaginterface.h:
13462         * gst/gsttaglist.c:
13463         * gst/gsttaglist.h:
13464         * gst/gsttagsetter.c:
13465         * gst/gsttagsetter.h:
13466         * gst/gsttrace.c:
13467         * gst/gsttrace.h:
13468         * gst/gsttrashstack.c:
13469           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13470           inlined docs for gsttrace, gsttrashstack
13471
13472 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13473
13474         * gst/Makefile.am:
13475         * gst/elements/gstbufferstore.h:
13476         * gst/elements/gsttypefindelement.c:
13477         * gst/elements/gsttypefindelement.h:
13478         * gst/gst.h:
13479         * gst/gsttypefind.c:
13480         * gst/gsttypefind.h:
13481         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13482         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13483         (gst_type_find_factory_dispose),
13484         (gst_type_find_factory_unload_thyself),
13485         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13486         (gst_type_find_factory_get_caps),
13487         (gst_type_find_factory_get_extensions),
13488         (gst_type_find_factory_call_function):
13489         * gst/gsttypefindfactory.h:
13490         * gst/registries/gstlibxmlregistry.c:
13491         * gst/registries/gstxmlregistry.c:
13492           splitted gsttypefind into gsttypefind, gsttypefindfactory
13493
13494 2005-09-07  Andy Wingo  <wingo@pobox.com>
13495
13496         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13497         condition whereby the pad's task function is entered before the
13498         pad_mode variable was set.
13499
13500 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
13501
13502         * gst/gstpad.c: (gst_pad_alloc_buffer):
13503           Catch misbehaving pad_alloc functions that don't
13504           set up caps and do it for them.
13505
13506 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
13507
13508         * check/pipelines/simple_launch_lines.c: (run_pipeline):
13509           test for pipe!=NULL
13510         * docs/gst/tmpl/.cvsignore:
13511         * docs/gst/tmpl/gstmemchunk.sgml:
13512         * docs/gst/tmpl/gstparse.sgml:
13513         * docs/gst/tmpl/gsttaglist.sgml:
13514         * docs/gst/tmpl/gsttagsetter.sgml:
13515         * docs/gst/tmpl/gsttypefind.sgml:
13516         * docs/gst/tmpl/gsttypefindfactory.sgml:
13517         * gst/gstmemchunk.c:
13518         * gst/gstparse.c:
13519         * gst/gsttag.c:
13520         * gst/gsttaginterface.c:
13521         * gst/gsttypefind.c:
13522         * gst/gsttypefind.h:
13523           inlined more docs
13524
13525 === release 0.9.2 ===
13526
13527 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13528
13529         * NEWS:
13530         * RELEASE:
13531         * configure.ac:
13532           releasing 0.9.2, "South"
13533
13534 2005-09-05  Andy Wingo  <wingo@pobox.com>
13535
13536         * gst/registries/gstxmlregistry.h:
13537         * gst/registries/gstxmlregistry.c: Um... resurrect...
13538         
13539         * gst/registries/gstxmlregistry.h:
13540         * gst/registries/gstxmlregistry.c: and update to newer API.
13541         Incidentally they should be a bit faster now that they don't have
13542         to parse the caps.
13543         
13544 2005-09-05  Andy Wingo  <wingo@pobox.com>
13545
13546         * gst/registries/gstxmlregistry.h:
13547         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13548         replaced by the libxml registry a while back
13549
13550 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13551
13552         * docs/gst/tmpl/gstplugin.sgml:
13553         * gst/elements/gstelements.c:
13554         * gst/gst.c:
13555         * gst/gstplugin.c: (gst_plugin_register_func),
13556         (gst_plugin_desc_copy), (gst_plugin_desc_free),
13557         (gst_plugin_get_source):
13558         * gst/gstplugin.h:
13559         * gst/registries/gstlibxmlregistry.c: (load_plugin),
13560         (gst_xml_registry_save_plugin):
13561         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13562         (gst_xml_registry_save_plugin):
13563         * tools/gst-inspect.c: (print_plugin_info):
13564           add a "source" plugin description field, to represent the source
13565           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
13566           will set it to PACKAGE, which is automake's idea of the name of
13567           the source project.
13568
13569 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13570
13571         * Makefile.am:
13572         * autogen.sh:
13573         * configure.ac:
13574         * docs/Makefile.am:
13575         * docs/faq/Makefile.am:
13576         * docs/gst/tmpl/gstelement.sgml:
13577         * docs/gst/tmpl/gsttypes.sgml:
13578         * docs/htmlinstall.mak:
13579         * docs/manual/Makefile.am:
13580         * docs/pwg/Makefile.am:
13581           reorganize doc build a little
13582           split out docbook and gtk-doc stuff
13583           have two separate --enable's and enable them through autogen
13584           but disable by default in configure (to be similar to other
13585           projects)
13586         * gstreamer.spec.in:
13587           clean up docs install
13588         * po/af.po:
13589         * po/az.po:
13590         * po/ca.po:
13591         * po/cs.po:
13592         * po/de.po:
13593         * po/en_GB.po:
13594         * po/fr.po:
13595         * po/it.po:
13596         * po/nb.po:
13597         * po/nl.po:
13598         * po/ru.po:
13599         * po/sq.po:
13600         * po/sr.po:
13601         * po/sv.po:
13602         * po/tr.po:
13603         * po/uk.po:
13604         * po/vi.po:
13605           translation updates
13606
13607 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
13608
13609         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13610           Add comment.
13611           
13612         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13613         (gst_fake_sink_change_state):
13614           Make state change function thread-safe.
13615           
13616         * gst/gstpad.c: (gst_pad_alloc_buffer):
13617           Set offset on generic buffer allocated by fallback.
13618
13619 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
13620
13621         * docs/gst/gstreamer-sections.txt:
13622         * docs/gst/tmpl/gstelement.sgml:
13623         * gst/gstpad.c:
13624         * libs/gst/controller/gst-controller.c:
13625         (gst_controlled_property_set_interpolation_mode),
13626         (gst_controlled_property_new),
13627         (gst_controller_find_controlled_property):
13628          run the wingo-magic script against the docs
13629
13630 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13631
13632         * docs/gst/gstreamer-docs.sgml:
13633         * docs/gst/gstreamer-sections.txt:
13634         * docs/gst/tmpl/.cvsignore:
13635         * docs/gst/tmpl/gstelementdetails.sgml:
13636         * docs/gst/tmpl/gstelementfactory.sgml:
13637         * gst/gst.c:
13638         * gst/gstbus.c:
13639         * gst/gstelementfactory.c:
13640         * gst/gstelementfactory.h:
13641           merged elementdetails docs into elementfactory docs
13642           inlined both
13643
13644 2005-09-02  Andy Wingo  <wingo@pobox.com>
13645
13646         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13647         consider this enum an enum and not a flags.
13648
13649 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
13650
13651         * docs/gst/gstreamer-docs.sgml:
13652         * docs/gst/tmpl/.cvsignore:
13653         * docs/gst/tmpl/gstghostpad.sgml:
13654         * docs/gst/tmpl/gstiterator.sgml:
13655         * docs/gst/tmpl/gstmacros.sgml:
13656         * docs/gst/tmpl/gstrealpad.sgml:
13657         * docs/gst/tmpl/gstregistry.sgml:
13658         * docs/gst/tmpl/gstregistrypool.sgml:
13659         * docs/gst/tmpl/gststructure.sgml:
13660         * docs/gst/tmpl/gstsystemclock.sgml:
13661         * docs/gst/tmpl/gsttrace.sgml:
13662         * gst/gstghostpad.c:
13663         * gst/gstmacros.h:
13664         * gst/gstmemchunk.c:
13665         * gst/gstmemchunk.h:
13666         * gst/gstqueue.c:
13667         * gst/gstregistry.c:
13668         * gst/gstregistrypool.c:
13669         * gst/gststructure.c:
13670         * gst/gstsystemclock.c:
13671           more docs inlined
13672
13673 2005-09-02  Andy Wingo  <wingo@pobox.com>
13674
13675         * gst/gstelement.h (GstState): Renamed from GstElementState,
13676         changed to be a normal enum instead of flags.
13677         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13678         munged to be GST_STATE_CHANGE_*.
13679         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13680         work with the new state representation.
13681         (GstStateChange): New enumeration of possible state transitions.
13682         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13683         (GstElementClass::change_state): Pass the GstStateChange along as
13684         an argument. Helps language bindings, so they don't have to use
13685         tricky lock-needing macros like GST_STATE_CHANGE ().
13686
13687         * scripts/update-states (file): New script. Run it on a file to
13688         update it for state naming and API changes. Updates files in
13689         place.
13690
13691         * All files updated for the new API.
13692
13693 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13694
13695         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13696         * gst/gstutils.c: (gst_util_set_value_from_string),
13697         (gst_util_set_object_arg):
13698           fix a bunch of unchecked return values
13699         * tools/gst-complete.c: (main):
13700         * gstreamer.spec.in:
13701           clean up a little
13702
13703 2005-09-01  Wim Taymans  <wim@fluendo.com>
13704
13705         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13706         (gst_base_sink_event), (gst_base_sink_do_sync),
13707         (gst_base_sink_handle_event):
13708         * gst/base/gstbasesink.h:
13709         Handle newsegments more correctly.
13710
13711         * gst/gstbus.c:
13712         Fix docs.
13713
13714         * gst/gstevent.c: (gst_event_new_newsegment):
13715         A newsegment cannot have a start_time of -1
13716
13717 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
13718
13719         * win32/gstenumtypes.c:
13720         * win32/gstenumtypes.h:
13721           Update
13722
13723 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13724
13725         * libs/gst/controller/gst-controller.c:
13726         (gst_controlled_property_set_interpolation_mode),
13727         (gst_controlled_property_new):
13728          fixed boolean again
13729
13730 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * docs/faq/gst-uninstalled:
13733           add -good
13734         * gst/gstevent.c:
13735         * gst/gstevent.h:
13736           remove wrong docs
13737         * gst/gstutils.c: (gst_element_link_filtered):
13738         * gst/gstutils.h:
13739           add gst_element_link_filtered
13740
13741 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13742
13743         * docs/gst/gstreamer-docs.sgml:
13744         * docs/gst/gstreamer-sections.txt:
13745         * docs/gst/tmpl/.cvsignore:
13746         * docs/gst/tmpl/gsterror.sgml:
13747         * docs/gst/tmpl/gstfilter.sgml:
13748         * docs/gst/tmpl/gsturihandler.sgml:
13749         * docs/gst/tmpl/gsturitype.sgml:
13750         * docs/gst/tmpl/gstutils.sgml:
13751         * docs/gst/tmpl/gstxml.sgml:
13752         * gst/gsterror.c:
13753         * gst/gsterror.h:
13754         * gst/gstfilter.c:
13755         * gst/gsturi.c:
13756         * gst/gsturitype.c:
13757         * gst/gstutils.c:
13758         * gst/gstxml.c:
13759           inlined more docs, fixed double id-ref
13760
13761 2005-08-31  Wim Taymans  <wim@fluendo.com>
13762
13763         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13764         (gst_base_transform_handle_buffer):
13765         Passthrough elements don't need the caps as they don't care.
13766
13767 2005-08-31  Wim Taymans  <wim@fluendo.com>
13768
13769         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13770         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13771         Don't leak refcounts on buffers.
13772
13773 2005-08-31  Wim Taymans  <wim@fluendo.com>
13774
13775         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13776         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13777         (gst_base_transform_chain), (gst_base_transform_change_state):
13778         * gst/base/gstbasetransform.h:
13779         Handle the case where we are not negotiated more gracefully.
13780
13781 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
13782
13783         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13784         (gst_file_src_map_region):
13785           Set READONLY flag on mmap'ed buffers, otherwise
13786           gst_buffer_make_writable() won't work properly (#314708).
13787
13788 2005-08-31  Wim Taymans  <wim@fluendo.com>
13789
13790         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13791         passthrough elements can even do inplace on non writable
13792         buffers (as they don't touch them).
13793
13794 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
13795
13796         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13797         (gst_test_mono_source_set_property),
13798         (gst_test_mono_source_class_init), (GST_START_TEST),
13799         (gst_controller_suite):
13800           more tests (hehe I have the most)
13801         * gst/gstbus.c:
13802           describe popping messages whenusing mulltiple sources
13803         * libs/gst/controller/gst-controller.c:
13804         (gst_controlled_property_set_interpolation_mode),
13805         (gst_controlled_property_new):
13806         * libs/gst/controller/gst-controller.h:
13807         * libs/gst/controller/gst-interpolation.c:
13808           implement boolean properties
13809
13810 2005-08-31  Wim Taymans  <wim@fluendo.com>
13811
13812         * gst/gstminiobject.c: (gst_mini_object_ref):
13813         Cannot assert that the refcount has to be positive
13814         since a disposed object can be resurrected.
13815
13816 2005-08-31  Wim Taymans  <wim@fluendo.com>
13817
13818         * gst/gstpad.c: (gst_pad_init):
13819         Revert change, need to first fix badly behaving 
13820         apps.
13821
13822 2005-08-30  Wim Taymans  <wim@fluendo.com>
13823
13824         * check/elements/fakesrc.c: (setup_fakesrc):
13825         * check/elements/identity.c: (setup_identity):
13826         Activate pads before using them.
13827
13828 2005-08-30  Wim Taymans  <wim@fluendo.com>
13829
13830         * gst/base/gstadapter.c: (gst_adapter_flush):
13831         Flushing out 0 bytes is ok for this function.
13832
13833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13834         no newsegment gives a warning and sets the start/stop to 
13835         invalid.
13836
13837         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13838         (gst_base_transform_set_passthrough):
13839         Some debug info.
13840
13841         * gst/gstminiobject.c: (gst_mini_object_ref):
13842         Check refcount here too.
13843
13844         * gst/gstpad.c: (gst_pad_init):
13845         Pads are initially flushing and refusing data.
13846
13847         * gst/gstutils.c: (gst_element_link_pads_filtered):
13848         When adding a capsfilter element make sure it has the
13849         same state as the parent bin.
13850
13851 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13852
13853         * docs/gst/tmpl/.cvsignore:
13854         * docs/gst/tmpl/gstformat.sgml:
13855         * docs/gst/tmpl/gstversion.sgml:
13856         * gst/gstbus.h:
13857         * gst/gstformat.c:
13858         * gst/gstformat.h:
13859         * gst/gstversion.h.in:
13860           more docs and two more inlined
13861
13862 2005-08-30  Wim Taymans  <wim@fluendo.com>
13863
13864         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13865         Don't sync to clock.
13866
13867 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13868
13869         * docs/gst/gstreamer-sections.txt:
13870           ultral33t func10ns deserve to appear in the docs actually
13871         * docs/gst/tmpl/.cvsignore:
13872         * docs/gst/tmpl/gstcompat.sgml:
13873         * docs/gst/tmpl/gstconfig.sgml:
13874         * gst/check/gstcheck.c:
13875         * gst/gstcompat.h:
13876         * gst/gstconfig.h.in:
13877           inlined more docs
13878
13879 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13880
13881         * docs/gst/tmpl/.cvsignore:
13882         * docs/gst/tmpl/gstquery.sgml:
13883         * docs/gst/tmpl/gstutils.sgml:
13884         * gst/gstquery.c:
13885         * gst/gstquery.h:
13886           inlined and extended docs
13887
13888 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
13889
13890         * check/gst-libs/controller.c: (GST_START_TEST),
13891         (gst_controller_suite):
13892           more tests
13893         * docs/gst/tmpl/gstutils.sgml:
13894         * docs/libs/gstreamer-libs-sections.txt:
13895         * docs/libs/tmpl/gstdataprotocol.sgml:
13896           include path fixes
13897         * examples/controller/audio-example.c: (main):
13898           controller example works now
13899         * gst/gstclock.h:
13900           doc fixes
13901         * tools/gst-inspect.c: (print_element_properties_info):
13902           show param spec flags
13903
13904 2005-08-29  Andy Wingo  <wingo@pobox.com>
13905
13906         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13907
13908 2005-08-28  Andy Wingo  <wingo@pobox.com>
13909
13910         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13911         as having two arguments instead of just one. Allows superclasses
13912         to access information on subclasses -- see the terrible for() loop
13913         in gtype.c:g_type_create_instance for the reason why. All callers
13914         changed.
13915
13916 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13917
13918         * docs/design/part-messages.txt:
13919           update info
13920         * docs/gst/tmpl/.cvsignore:
13921         * docs/gst/tmpl/gstcaps.sgml:
13922         * docs/gst/tmpl/gstclock.sgml:
13923         * gst/gstbus.c:
13924         * gst/gstcaps.c:
13925         * gst/gstcaps.h:
13926         * gst/gstclock.c:
13927         * gst/gstclock.h:
13928         * gst/gstmessage.c:
13929           added descriptions for bus and message
13930           inline caps and clock docs
13931
13932 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13933
13934         * gst/gstmessage.c:
13935         * gst/gstmessage.h:
13936           doc fixes
13937
13938 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
13939
13940         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13941           fix div-by-zero
13942
13943 2005-08-26  Andy Wingo  <wingo@pobox.com>
13944
13945         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13946         element_set_state's return val.
13947         (test_2_elements): Add test that's been disabled for months.
13948
13949         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13950         can-activate-pull properties.
13951
13952         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13953         can-activate-pull properties. Implement is_seekable so fakesrc can
13954         operate in pull mode.
13955
13956         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13957         properties.
13958         (gst_base_sink_activate, gst_base_sink_activate_pull)
13959         (gst_base_sink_activate_push): Make activation mode choosing work.
13960         Cleanups.
13961         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13962         is right. Make pull mode work. Post an eos before pausing in pull
13963         mode.
13964         (gst_base_sink_change_state): Pay attention to the core's
13965         change_state() return val.
13966         
13967         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13968         has-getrange properties. Cleanups.
13969         
13970         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13971         has_getrange and replace with can_activate_pull and
13972         can_activate_push.
13973
13974         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13975         locking comments. Remove has_loop, has_chain and replace with
13976         can_activate_pull and can_activate_push.
13977
13978 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
13979
13980         * configure.ac:
13981         * examples/Makefile.am:
13982         * examples/metadata/Makefile.am:
13983         * examples/metadata/read-metadata.c: (message_loop),
13984         (have_pad_handler), (make_pipeline), (print_tag), (main):
13985           Add metadata reading example that loops over a list of filenames,
13986           dumping any tags found.
13987
13988         * gst/gstbus.c: (gst_bus_dispose):
13989         * gst/gstelement.c: (gst_element_dispose):
13990           Release a few potentially-held references in dispose.
13991
13992 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13993
13994         * docs/gst/tmpl/gstminiobject.sgml:
13995           do *not* add tmpl/*.sgml files to CVS!
13996
13997 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
13998
13999         * libs/gst/bytestream/.cvsignore:
14000         * libs/gst/bytestream/Makefile.am:
14001         * libs/gst/bytestream/adapter.c:
14002         * libs/gst/bytestream/adapter.h:
14003         * libs/gst/bytestream/bytestream.c:
14004         * libs/gst/bytestream/bytestream.h:
14005         * libs/gst/bytestream/filepad.c:
14006         * libs/gst/bytestream/filepad.h:
14007           removing obsolete files
14008
14009 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14010
14011         * docs/gst/gstreamer-docs.sgml:
14012         * docs/libs/gstreamer-libs-docs.sgml:
14013           disabed additional index entries again, as this makes docs-gen just
14014           slow and they aren't useful yet
14015         * docs/libs/gstreamer-libs-sections.txt:
14016           little -section.txt cleanup for libs
14017
14018 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
14019
14020         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14021         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14022           fix up some debugging
14023         (gst_base_transform_get_unit_size),
14024         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14025         (gst_base_transform_handle_buffer):
14026         * gst/base/gstbasetransform.h:
14027           handle and store timed NEWSEGMENT events so that subclasses that
14028           calculate time by counting samples have a segment_start time they
14029           need to add to their timestamps - see audioresample
14030
14031 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
14032
14033         * gst/gstbin.h:
14034           removed ';' from the end of macro defs
14035         * docs/gst/gstreamer-docs.sgml:
14036         * docs/gst/gstreamer-sections.txt:
14037         * docs/gst/tmpl/.cvsignore:
14038         * gst/gstbus.h:
14039         * gst/gstelement.c: (gst_element_class_init),
14040         (gst_element_set_state), (activate_pads),
14041         (gst_element_save_thyself):
14042         * gst/gstevent.c: (gst_event_new_newsegment):
14043         * gst/gstevent.h:
14044         * gst/gstiterator.c:
14045         * gst/gstiterator.h:
14046         * gst/gstpad.c:
14047         * gst/gstprobe.h:
14048         * gst/gstutils.c: (gst_pad_query_convert):
14049         * gst/gstutils.h:
14050           fixed parameter name mismatches between source, header and docs
14051           added some more docs, resolved the last batch of unused elements in
14052           docs (now someone needs to doc them)
14053
14054 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14055
14056         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14057         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14058           don't walk through the plugins backwards.  Where is all this
14059           reversed logic coming from ?
14060
14061 2005-08-25  Wim Taymans  <wim@fluendo.com>
14062
14063         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14064         (gst_base_transform_transform_size),
14065         (gst_base_transform_configure_caps),
14066         (gst_base_transform_get_unit_size),
14067         (gst_base_transform_buffer_alloc),
14068         (gst_base_transform_change_state):
14069         * gst/base/gstbasetransform.h:
14070         Cache caps unit_size.
14071         Make sure we cannot negotiate up and downstream at the
14072         same time.
14073
14074 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14075
14076         * gst/gst.c: (init_pre), (init_post):
14077           register the installed plugin path after the env var
14078         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14079         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14080           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14081           directories, so the tests can prefer uninstalled over installed
14082
14083 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
14084
14085         * gst/base/gstbasetransform.h:
14086           comment
14087         * gst/gstpad.c:
14088           add to docs
14089
14090 2005-08-25  Wim Taymans  <wim@fluendo.com>
14091
14092         * gst/gstbin.c: (bin_bus_handler):
14093         Be a bit more conservative about the posted message.
14094         
14095         * gst/gstbus.c: (gst_bus_post):
14096         Some cleanups, warn wrong return values.
14097
14098 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
14099
14100         * check/gst/gstbin.c: (GST_START_TEST):
14101         * gst/gstbin.c: (bin_bus_handler):
14102         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14103         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14104         (gst_message_new_warning), (gst_message_new_tag),
14105         (gst_message_new_state_changed), (gst_message_new_segment_start),
14106         (gst_message_new_segment_done), (gst_message_new_custom):
14107         * gst/gstmessage.h:
14108         * tools/gst-launch.c: (event_loop):
14109         * tools/gst-md5sum.c: (event_loop):
14110           Revert unpopular change for GST_MESSAGE_SRC to GObject.
14111
14112 2005-08-25  Wim Taymans  <wim@fluendo.com>
14113
14114         * check/generic/states.c: (GST_START_TEST):
14115         Cleanup can be done at the end.
14116
14117         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14118         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14119         (gst_task_get_state), (gst_task_start), (gst_task_pause):
14120         Oh boy.. Thanks for finding this, Thomas. 
14121
14122 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14123
14124         * docs/gst/gstreamer.types:
14125           added missing types
14126
14127 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
14128
14129         * docs/gst/gstreamer-docs.sgml:
14130         * docs/gst/gstreamer-sections.txt:
14131         * docs/gst/tmpl/.cvsignore:
14132         * gst/gstbin.c:
14133         * gst/gstiterator.c:
14134         * gst/gstutils.c:
14135         * gst/registries/gstxmlregistry.h:
14136           added missing classes and symbols (123 more to go)
14137           removed removed symbols from section file
14138           fixed many doc-comments
14139
14140 2005-08-24  Wim Taymans  <wim@fluendo.com>
14141
14142         * check/generic/states.c: (GST_START_TEST):
14143         Make sure all tasks are stopped.
14144
14145         * check/gst/gstbin.c: (GST_START_TEST):
14146         Unref after usage for proper valgrinding.
14147
14148         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14149         Really wait for the task to stop before destroying the
14150         mutex.
14151
14152         * gst/gstqueue.c: (gst_queue_sink_activate_push),
14153         (gst_queue_src_activate_push):
14154         Small cleanups. Don't stop the task when we did not start
14155         it.
14156
14157         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14158         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14159         (gst_task_get_state), (gst_task_start), (gst_task_pause),
14160         (gst_task_join):
14161         * gst/gsttask.h:
14162         Protect the stream lock with the object lock.
14163         Disallow setting the stream lock when running.
14164         Add cleanup_all to wait for the threadpool to finish.
14165         Remove code to autoallocate a mutex if none was provided.
14166         Add _join() to wait for a task to stop.
14167         Protect the thread pool with a global lock.
14168
14169 2005-08-24  Wim Taymans  <wim@fluendo.com>
14170
14171         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14172         (gst_base_sink_get_times), (gst_base_sink_do_sync),
14173         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14174         * gst/base/gstbasesink.h:
14175         Handle newsegment events correctly.
14176         Drop buffers out of the segment range.
14177
14178 2005-08-22  Andy Wingo  <wingo@pobox.com>
14179
14180         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14181         macro, implements an interface and gstimplementsinterface for a
14182         new type.
14183
14184 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14185
14186         * check/Makefile.am:
14187         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14188           add a test that does a bunch of state changes on elements
14189           needs some fixing for valgrind
14190         * check/states/sinks.c: (gst_object_suite):
14191           whitespace
14192         * gst/gstcaps.h:
14193           add prototype for gst_caps_is_equal_fixed
14194         * gst/gstplugin.c:
14195         * gst/gstregistrypool.c:
14196           doc fixes
14197
14198 2005-08-24  Andy Wingo  <wingo@pobox.com>
14199
14200         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14201         convert a negative value. Doesn't make much sense. Mostly this is
14202         here to force callers to ensure -1 maps to -1.
14203
14204 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14205
14206         * docs/pwg/advanced-types.xml:
14207           Well done to Michael for catching my deliberate introduction
14208           of this spelling mistake. 
14209         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14210         * gst/gstelement.h:
14211           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14212           unlink pads before removing the element from the bin.
14213
14214 2005-08-24  Andy Wingo  <wingo@pobox.com>
14215
14216         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14217         the same thing as GST_DEBUG=*:4.
14218         (parse_debug_level, parse_debug_category): New helper parsers.
14219
14220 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14221
14222         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14223         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14224         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14225         (gst_base_transform_buffer_alloc),
14226         (gst_base_transform_handle_buffer):
14227           use gboolean return values and pointers to size so we can use the
14228           full GST_BUFFER_SIZE range (guint) for buffer sizes
14229           use GstPadDirection for transform_caps
14230         * gst/base/gstbasetransform.h:
14231           rename get_size to get_unit_size since that's what it is
14232         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14233           use GstPadDirection for transform_caps
14234         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14235         * gst/gstutils.h:
14236           cleanup and debugging
14237
14238 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14239
14240         * gst/gstelement.c: (gst_element_class_init),
14241         (gst_element_set_state), (activate_pads),
14242         (gst_element_save_thyself):
14243         * tools/gst-compprep.c: (main):
14244         * tools/gst-inspect.c: (print_element_properties_info):
14245         * tools/gst-xmlinspect.c: (print_element_properties):
14246           Fixed long standing mem-leak
14247
14248 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
14249
14250         * check/gst/gstbin.c: (GST_START_TEST):
14251         * gst/gstbin.c: (bin_bus_handler):
14252         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14253         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14254         (gst_message_new_warning), (gst_message_new_tag),
14255         (gst_message_new_state_changed), (gst_message_new_segment_start),
14256         (gst_message_new_segment_done), (gst_message_new_custom):
14257         * gst/gstmessage.h:
14258         * tools/gst-launch.c: (event_loop):
14259         * tools/gst-md5sum.c: (event_loop):
14260           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14261           that applications can sensibly post custom messages with references
14262           to their own objects.
14263
14264 2005-08-24  Andy Wingo  <wingo@pobox.com>
14265
14266         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14267         already.
14268
14269 2005-08-24  Wim Taymans  <wim@fluendo.com>
14270
14271         * gst/base/gstbasetransform.c: (gst_base_transform_init),
14272         (gst_base_transform_transform_caps),
14273         (gst_base_transform_transform_size),
14274         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14275         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14276         (gst_base_transform_handle_buffer):
14277         * gst/base/gstbasetransform.h:
14278         Many fixes and new features added by Thomas. Can now also do
14279         transforms with variable sizes and a custom fixate_caps function.
14280
14281 2005-08-24  Wim Taymans  <wim@fluendo.com>
14282
14283         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14284         Some debugging.
14285
14286         * gst/gstclock.h:
14287         Cast to ClockTime before formatting to time.
14288
14289         * gst/gstutils.h:
14290         Cleanups.
14291
14292 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
14293
14294         * check/gst-libs/controller.c: (GST_START_TEST),
14295         (gst_controller_suite):
14296         * docs/gst/tmpl/gstcaps.sgml:
14297         * docs/gst/tmpl/gstghostpad.sgml:
14298         * docs/gst/tmpl/gstquery.sgml:
14299         * docs/gst/tmpl/gstutils.sgml:
14300         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14301         (gst_object_sink_values), (gst_object_get_value_arrays),
14302         (gst_object_get_value_array):
14303           gracefully handle helper method calls to objects that are not beeing
14304           controlled, added test case for that          
14305
14306 2005-08-23  Wim Taymans  <wim@fluendo.com>
14307
14308         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14309         (gst_event_new_newsegment), (gst_event_parse_newsegment),
14310         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14311         (gst_event_parse_qos), (gst_event_new_seek),
14312         (gst_event_parse_seek):
14313         * gst/gstevent.h:
14314         Some more debugging output and doc cleanups.
14315
14316         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14317         Fix possible deadlock.
14318
14319 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14320
14321         * docs/gst/gstreamer-docs.sgml:
14322         * docs/gst/gstreamer-sections.txt:
14323         * docs/gst/gstreamer.types:
14324         * docs/gst/tmpl/.cvsignore:
14325         * gst/gstbin.h:
14326         * gst/gstbus.c:
14327         * gst/gstelement.c:
14328         * gst/gstevent.h:
14329           added 100 symbols from gstreamer-unused.txt to the right sections
14330           fixed more broken comments
14331           added GstBus to docs
14332
14333 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14334
14335         * docs/gst/gstreamer-sections.txt:
14336         * docs/gst/tmpl/.cvsignore:
14337         * docs/gst/tmpl/gstbin.sgml:
14338         * docs/gst/tmpl/gstbuffer.sgml:
14339         * gst/base/gstbasesrc.c:
14340         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14341         * gst/gstbuffer.c:
14342         * gst/gstbuffer.h:
14343         * tools/gst-launch.1.in:
14344           inlined more doc comments, added missing comments and fixed comments
14345           fixed typos
14346
14347 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14348
14349         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14350           some debugging
14351         * gst/gstcaps.h:
14352           whitespace fixes
14353         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14354           more debugging
14355         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14356         * gst/gststructure.h:
14357           add a fixate function for booleans; add a FIXME that these func
14358           names should probably be gst_structure_fixate_*
14359
14360 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
14361
14362         * docs/gst/gstreamer-docs.sgml:
14363         * docs/gst/gstreamer-sections.txt:
14364         * gst/Makefile.am:
14365         * gst/gstbin.c: (gst_bin_get_type),
14366         (gst_bin_child_proxy_get_child_by_index),
14367         (gst_bin_child_proxy_get_children_count),
14368         (gst_bin_child_proxy_init):
14369         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14370         (gst_child_proxy_get_child_by_index),
14371         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14372         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14373         (gst_child_proxy_get), (gst_child_proxy_set_property),
14374         (gst_child_proxy_set_valist), (gst_child_proxy_set),
14375         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14376         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14377         * gst/gstchildproxy.h:
14378         * gst/parse/grammar.y:
14379         * tools/gst-inspect.c: (print_interfaces),
14380         (print_element_properties_info), (print_element_info):
14381           ported gstchildproxy over from 0.8
14382           ported gst-inspect fixes and enhancements over from 0.8
14383
14384 2005-08-22  Wim Taymans  <wim@fluendo.com>
14385
14386         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14387         (gst_base_transform_handle_buffer):
14388         Also call the transform function if we have ANY caps.
14389
14390         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14391         Fix debug info.
14392
14393 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14394
14395         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14396           Don't pretend to handle seek events if the source is not seekable
14397
14398 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
14399
14400         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14401           Remove extra parameter to debug output
14402
14403         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14404         (gst_base_src_do_seek), (gst_base_src_activate_push):
14405           Fix seek event handling.
14406
14407         * gst/gstpipeline.c: (gst_pipeline_change_state):
14408         * gst/gstqueue.c: (gst_queue_handle_sink_event),
14409         (gst_queue_src_activate_push):
14410           Don't start the src pad task on FLUSH_STOP if the pad
14411           isn't linked.
14412           Debug changes.
14413
14414 2005-08-22  Wim Taymans  <wim@fluendo.com>
14415
14416         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14417         Added check for gst_static_caps_get() refcounting.
14418
14419 2005-08-22  Wim Taymans  <wim@fluendo.com>
14420
14421         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14422         Make _static_caps_get() refcounting sane.
14423         
14424         * gst/gstelement.c: (gst_element_set_state):
14425         Add g_return_val_if_fail() to protect against segfaults.
14426
14427 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
14428
14429         * docs/gst/tmpl/gstevent.sgml:
14430         * gst/gstevent.c:
14431         * gst/gstevent.h:
14432           inlined remaining docs, added missing doc comments
14433
14434 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
14435
14436         * check/gst/gstbin.c: (GST_START_TEST):
14437           since we don't know when preroll is done, use refcount range
14438           check for the sink
14439         * gst/check/gstcheck.h:
14440           add macro for checking refcount range
14441
14442 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14443
14444         * check/Makefile.am:
14445           clean up environment for when registry gets built versus
14446           when actual tests are run; valgrind seems to not report
14447           leaks if GST_PLUGIN_PATH is set to some specific values
14448         * check/gst/gstbin.c: (GST_START_TEST):
14449           add more refcounting checks; maybe this exposes a
14450           preroll lock bug ?
14451         * common/check.mak:
14452         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14453         * gst/check/gstcheck.h:
14454         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14455         (gst_bin_change_state):
14456         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14457           add/fix debugging/whitespace
14458
14459 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14460
14461         * check/gst/gstevent.c: (event_probe), (test_event),
14462         (GST_START_TEST):
14463          Er, don't call gst_bin_watch_for_state_change you idiot.
14464
14465 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
14466
14467         * check/Makefile.am:
14468           Use CHECK_CFLAGS and CHECK_LIBS
14469         * check/gst/gstevent.c: (event_probe), (test_event),
14470         (GST_START_TEST):
14471           Don't leak events.
14472         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14473         (gst_base_src_start), (gst_base_src_stop),
14474         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14475         (gst_base_src_change_state):
14476           Sprinkle gst_base_src_stop liberally around error paths to fix
14477           problems reusing a source after failed state changes.
14478         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14479         (helper_find_suggest), (gst_type_find_helper):
14480           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14481         * gst/gstevent.h:
14482         * docs/gst/tmpl/gstevent.sgml:
14483           Migrate part of the docs from the SGML file. Wait for ensonic to
14484           tell me how I did it wrong ;)
14485         * tools/gst-typefind.c: (main):
14486           Extra robustness to state changes between files.
14487
14488 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14489
14490         * check/Makefile.am:
14491           don't valgrind the controller test - it's leaking - Stefan, HELP
14492         * gst/check/gstcheck.c: (gst_check_message_error),
14493         (gst_check_chain_func), (gst_check_setup_element),
14494         (gst_check_teardown_element), (gst_check_setup_src_pad),
14495         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14496         (gst_check_teardown_sink_pad):
14497         * gst/check/gstcheck.h:
14498           add a bunch of methods to set up elements, and src and sink pads
14499         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14500         * check/elements/identity.c: (setup_identity), (cleanup_identity),
14501         (GST_START_TEST):
14502           use them
14503         * gst/gstmessage.c:
14504         * gst/gsttag.h:
14505           whitespace/doc fixes
14506
14507 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14508
14509         * gst/gstelement.h:
14510           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14511           be handled by the application and not always printed as well
14512
14513 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14514
14515         * check/Makefile.am:
14516           set GST_TOOLS_DIR
14517         * gst/check/gstcheck.c: (gst_check_message_error):
14518         * gst/check/gstcheck.h:
14519           add a fail_unless_equals_int
14520           add fail_unless for error messages
14521
14522 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14523
14524         * check/Makefile.am:
14525         * check/gst.supp:
14526         * common/Makefile.am:
14527         * common/check.mak:
14528         * common/gst.supp:
14529           factor out some of the common stuff so we can use it
14530
14531 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14532
14533         * check/Makefile.am:
14534         * check/gst/gstiterator.c: (GST_START_TEST):
14535         * check/gst/gstsystemclock.c: (GST_START_TEST),
14536         (gst_systemclock_suite):
14537         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14538         * gst/gstclock.c:
14539           valgrind more tests
14540
14541 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
14542
14543         * check/elements/.cvsignore:
14544         * check/elements/gstfakesrc.c:
14545           rename to name of element
14546         * check/elements/identity.c: (chain_func), (event_func),
14547         (setup_identity), (cleanup_identity), (GST_START_TEST),
14548         (identity_suite), (main):
14549           add a test for identity
14550         * check/Makefile.am:
14551         * pkgconfig/Makefile.am:
14552         * pkgconfig/gstreamer-check.pc.in:
14553         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14554         * gst/check:
14555         * gst/Makefile.am:
14556         * configure.ac:
14557           move the check stuff to a library that gets installed
14558         * check/gst-libs/controller.c: (GST_START_TEST):
14559         * check/gst-libs/gdp.c:
14560         * check/gst/gst.c: (GST_START_TEST):
14561         * check/gst/gstbin.c:
14562         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14563         * check/gst/gstbus.c:
14564         * check/gst/gstcaps.c: (GST_START_TEST):
14565         * check/gst/gstelement.c:
14566         * check/gst/gstghostpad.c:
14567         * check/gst/gstiterator.c:
14568         * check/gst/gstmessage.c:
14569         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14570         * check/gst/gstobject.c:
14571         * check/gst/gstpad.c: (GST_START_TEST):
14572         * check/gst/gststructure.c: (GST_START_TEST):
14573         * check/gst/gstsystemclock.c: (GST_START_TEST),
14574         (gst_systemclock_suite):
14575         * check/gst/gsttag.c: (gst_tag_suite):
14576         * check/gst/gstvalue.c:
14577         * check/pipelines/cleanup.c:
14578         * check/pipelines/simple_launch_lines.c:
14579         * check/states/sinks.c:
14580           change include statement
14581
14582         * docs/gst/gstreamer-sections.txt:
14583         * docs/gst/tmpl/gstpad.sgml:
14584           document more pad stuff
14585         * gst/gstminiobject.c: (gst_mini_object_ref),
14586         (gst_mini_object_unref):
14587           debug refcounting
14588
14589 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
14590
14591         * docs/gst/tmpl/gst.sgml:
14592         * gst/gst.c:
14593           eliminate another tmpl file, fix spelling in the long-description
14594
14595 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14596
14597         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14598         (test_event), (timediff), (gstevents_suite):
14599           Should fix build on 64-bit arch's
14600
14601 2005-08-18  Andy Wingo  <wingo@pobox.com>
14602
14603         Make sure that when a pipeline goes to PLAYING, that data has
14604         actually hit the sink.
14605
14606         * check/states/sinks.c (test_sink): A sink that doesn't get any
14607         data shouldn't return SUCCESS for going to either PLAYING or
14608         PAUSED. Test also the return values on the way back down.
14609
14610         * gst/gstelement.c (gst_element_set_state): When changing the
14611         state of an element currently changing state asynchronously, go to
14612         lost-state after commiting the pending state. Makes future calls
14613         to get_state continue to return ASYNC.
14614
14615         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14616         ASYNC when going to PLAYING if we still don't have preroll, as can
14617         happen with live sources.
14618
14619 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14620
14621         * docs/pwg/advanced-types.xml:
14622           Hack long paragraph into 2 chunks as a workaround for buggy
14623           jadetex version in sid and breezy that loops infinitely and
14624           eats all RAM.
14625
14626 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14627
14628         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14629         (test_event), (timediff), (gstevents_suite):
14630           Provide more error margin in clock measurements to allow for 
14631           g_get_current_time inaccuracies.
14632
14633 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14634
14635         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14636         (test_event), (timediff), (gstevents_suite):
14637            Fix error message output so I might be able to tell why the
14638            test works here but fails on the build farm.
14639
14640 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
14641
14642         * check/Makefile.am:
14643         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14644         (test_event), (timediff), (gstevents_suite), (main):
14645           I wrote a test!
14646
14647         * docs/design/part-seeking.txt:
14648           Spelling correction
14649
14650         * docs/gst/tmpl/gstevent.sgml:
14651         * docs/gst/tmpl/gstfakesrc.sgml:
14652           Docs updates.
14653
14654         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14655           Treat a buffer-without-newsegment the same as a receiving 
14656           a newsegment not in time format, and disable syncing to the clock
14657           with a warning.
14658
14659         * gst/gstbus.c: (gst_bus_set_sync_handler):
14660           Assert if anyone tries to replace the existing sync_handler for bus, 
14661           as only the owner should be setting it.
14662
14663         * gst/gstevent.h:
14664           Have a fixed set of custom event enums with events identified by
14665           their structure name (as in 0.8), rather than a free-for-all
14666           allowing collisions between enum values from different plugins.
14667
14668         * gst/gstpad.c: (gst_pad_class_init):
14669           Docs change.
14670           
14671         * gst/gstqueue.c: (gst_queue_handle_sink_event):
14672           Handle out-of-band downstream events from the sending thread.
14673
14674 2005-08-17  Andy Wingo  <wingo@pobox.com>
14675
14676         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14677         play-timeout==0 to mean no timeout at all. In that case, don't
14678         bother with a get_state or a warning, just return directly, even
14679         if it's ASYNC.
14680
14681         * gst/base/gstbasetransform.c: Debug changes.
14682
14683         * gst/gstutils.h:
14684         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14685         ensure bins post state change messages. A bit of a hack but I can't
14686         think of a way to avoid it.
14687
14688         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14689
14690 2005-08-16  Andy Wingo  <wingo@pobox.com>
14691
14692         * gst/base/gstadapter.h:
14693         * gst/base/gstadapter.c (gst_adapter_take): New function, like
14694         peek() but you own the data. Not terribly efficient atm.
14695
14696 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14697
14698         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14699         (gst_element_found_tags):
14700         * gst/gstutils.h:
14701           Add two utility functions for tag handling.
14702
14703 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14704
14705         * docs/manual/advanced-dataaccess.xml:
14706         * docs/manual/basics-helloworld.xml:
14707           Fix docs to use _bin_add() before _link(), which fixes the examples
14708           with recent core versions (reported by Madhan Raj M
14709           <raj_madan@rediffmail.com>, #313199).
14710
14711 2005-08-16  Wim Taymans  <wim@fluendo.com>
14712
14713         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14714         Added subtract checks.
14715
14716         * docs/design/part-events.txt:
14717         Some more docs about newsegment
14718
14719         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14720         Fix FIXME
14721
14722         * gst/gstcaps.c: (gst_caps_to_string):
14723         Add comments, cleanups.
14724         
14725         * gst/gstelement.c: (gst_element_save_thyself):
14726         cleanups
14727         
14728         * gst/gstvalue.c: (gst_value_collect_int_range),
14729         (gst_string_unwrap), (gst_value_union_int_int_range),
14730         (gst_value_union_int_range_int_range),
14731         (gst_value_intersect_int_int_range),
14732         (gst_value_intersect_int_range_int_range),
14733         (gst_value_intersect_double_double_range),
14734         (gst_value_intersect_double_range_double_range),
14735         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14736         (gst_value_subtract_int_range_int),
14737         (gst_value_subtract_double_range_double),
14738         (gst_value_subtract_double_range_double_range),
14739         (gst_value_subtract_from_list), (gst_value_subtract_list),
14740         (gst_value_can_compare), (gst_value_compare_fraction):
14741         Cleanups, add comments, remove unneeded asserts.
14742
14743 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14744
14745         * tools/gst-launch.c: (event_loop):
14746           don't convert NULL structures to strings
14747
14748 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
14749
14750         * docs/gst/gstreamer-sections.txt:
14751           made some defines private
14752         * docs/gst/tmpl/gstconfig.sgml:
14753         * docs/gst/tmpl/gstqueue.sgml:
14754         * docs/gst/tmpl/gsttaglist.sgml:
14755         * docs/gst/tmpl/gsttypes.sgml:
14756         * docs/gst/tmpl/gstutils.sgml:
14757         * docs/pwg/appendix-porting.xml:
14758         * gst/base/gstbasesink.h:
14759         * gst/base/gstbasesrc.c:
14760         * gst/base/gstbasesrc.h:
14761         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14762         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14763         * gst/gstelement.c: (gst_element_class_init):
14764         * gst/gstpad.c: (gst_pad_class_init):
14765         * gst/gstqueue.c: (gst_queue_class_init):
14766         * gst/gstxml.c: (gst_xml_class_init):
14767           documented all undocumented signal inline
14768         * libs/gst/controller/gst-controller.h:
14769           added padding
14770
14771 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14772
14773         * docs/pwg/appendix-porting.xml:
14774           Document _set_link_function -> _set_setcaps_function.
14775
14776 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
14777
14778         * check/Makefile.am:
14779           add a .check target for running the check
14780         * check/gst-libs/controller.c: (GST_START_TEST):
14781           cosmetic fixups
14782         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14783           complete checks for gstbuffer; would be nice if I could get the
14784           gcov stuff to work so I can see if I actually completed gstbuffer.c
14785         * check/gstcheck.h:
14786           add ASSERT_BUFFER_REFCOUNT
14787
14788 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
14789
14790         * docs/gst/gstreamer-sections.txt:
14791         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14792         * gst/gsttag.h:
14793           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14794           spew out a warning if a tag that is already registered
14795           is re-registered, unless it is re-registered with a 
14796           different type (#308438).
14797
14798 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
14799
14800         * docs/pwg/appendix-porting.xml:
14801         * docs/pwg/building-state.xml:
14802           Add some paragraphs about state changes in 0.9 to the PWG
14803           and the porting guide, in particular about the new meaning
14804           of GST_STATE_PAUSED and how to write state change functions
14805           with concurrent access by multiple threads in mind.
14806
14807 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
14808
14809         * docs/gst/gstreamer-docs.sgml:
14810         * docs/libs/gstreamer-libs-docs.sgml:
14811           added deprecation and since indexes
14812         * libs/gst/controller/gst-controller.c:
14813         * libs/gst/controller/gst-helper.c:
14814           added since tags
14815
14816
14817 2005-08-11  Wim Taymans  <wim@fluendo.com>
14818
14819         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14820         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14821         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14822         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14823         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14824         (gst_ghost_pad_set_target):
14825         Actually implement (re)setting the target on a ghostpad
14826         as described in the docs.
14827
14828 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14829
14830         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14831           Check whether GST_DEBUG_NO_COLOR environment variable is
14832           set and disable coloured debug output if that is the case.
14833
14834 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
14835
14836         * gst/base/gsttypefindhelper.c: (helper_find_peek),
14837         (gst_type_find_helper):
14838           The memory returned by gst_type_find_peek() needs to
14839           stay valid until the end of a typefind function, and
14840           typefind functions may keep results from different 
14841           offsets around, so we can't just unref the buffer from
14842           the previous _peek(), but have to save all buffers 
14843           returned by _peek() until typefinding is done and only
14844           free them then.
14845
14846 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
14847
14848         * docs/gst/gstreamer-sections.txt:
14849         * gst/gstutils.h:
14850           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14851
14852 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14853
14854         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14855           Fix a pretty good memleak.
14856
14857 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14858
14859         * gst/gstiterator.h:
14860           Fix wrong include and 'make distcheck'.
14861
14862 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14863
14864         * gst/gstbin.c: (bin_bus_handler):
14865           Use gst_element_post_message() instead.
14866
14867 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
14868
14869         * gst/base/gstadapter.h:
14870         * gst/base/gstbasesink.h:
14871         * gst/base/gstbasesrc.h:
14872         * gst/base/gstbasetransform.h:
14873         * gst/base/gstcollectpads.h:
14874         * gst/base/gstpushsrc.h:
14875         * gst/gstiterator.h:
14876           Add padding to our base elements' class and instance structs and
14877           to GstIterator (you will need to rebuild all plugins and apps!)
14878
14879 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14880
14881         * gst/gstbin.c: (bin_bus_handler):
14882           Make default message forwarding from child->bus to bin->bus
14883           threadsafe and make it not emit warnings if the parent has no bus.
14884
14885 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14886
14887         * gst/gstelement.c: (activate_pads):
14888           On paused->ready, set pad->caps to NULL, as is the documented
14889           behaviour in this state change. Fixes playback of series of
14890           media files when visualization is enabled in Totem.
14891
14892 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14893
14894         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14895           Allow NULL as filter-caps (which means "any").
14896
14897 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14898
14899         * docs/libs/gstreamer-libs-sections.txt:
14900         * libs/gst/controller/gst-controller.c:
14901         * libs/gst/controller/gst-controller.h:
14902         * libs/gst/controller/gst-helper.c:
14903           adding more entries to the docs and fix small doc-bugs
14904
14905 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14906
14907         * docs/gst/gstreamer-docs.sgml:
14908         * docs/gst/gstreamer-sections.txt:
14909         * docs/gst/gstreamer.types:
14910         * docs/gst/tmpl/gstbasesink.sgml:
14911         * docs/gst/tmpl/gstbasesrc.sgml:
14912         * docs/gst/tmpl/gstbasetransform.sgml:
14913         * docs/gst/tmpl/gstfakesrc.sgml:
14914         * gst/base/gstcollectpads.c:
14915         * gst/base/gstcollectpads.h:
14916         * libs/gst/controller/gst-controller.c:
14917         * libs/gst/controller/gst-controller.h:
14918         * libs/gst/controller/gst-helper.c:
14919         * libs/gst/controller/gst-interpolation.c:
14920         * libs/gst/controller/lib.c:
14921           added long/short desc for controller docs
14922           added collectpads base class docs
14923           added correct includes to base-class docs
14924
14925 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
14926
14927         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14928         (gst_test_mono_source_set_property),
14929         (gst_test_mono_source_class_init), (GST_START_TEST),
14930         (gst_controller_suite):
14931         * docs/gst/gstreamer-docs.sgml:
14932         * docs/gst/gstreamer-sections.txt:
14933         * docs/gst/gstreamer.types:
14934         * docs/libs/gstreamer-libs-docs.sgml:
14935         * docs/libs/gstreamer-libs-sections.txt:
14936         * gst/base/gstadapter.c:
14937         * libs/gst/controller/gst-controller.c:
14938         (gst_controlled_property_new), (gst_controlled_property_free),
14939         (gst_controller_new_valist),
14940         (gst_controller_remove_properties_valist),
14941         (gst_controller_sink_values), (_gst_controller_finalize):
14942         * libs/gst/controller/gst-controller.h:
14943         * libs/gst/controller/gst-helper.c:
14944         (gst_object_control_properties), (gst_object_uncontrol_properties),
14945         (gst_object_get_controller), (gst_object_set_controller),
14946         (gst_object_sink_values), (gst_object_get_value_arrays),
14947         (gst_object_get_value_array):
14948           more tests (and fixes) for the controller
14949           more docs for the controller
14950           integrated companies docs for the adapter 
14951
14952 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
14953
14954         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14955         (GST_START_TEST), (fakesrc_suite):
14956           add tests for sizetype
14957
14958 2005-08-04  Andy Wingo  <wingo@pobox.com>
14959
14960         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14961         fixes buffer_alloc proxying among other things.
14962
14963         * gst/base/gstbasetransform.c:
14964         * gst/base/gstbasetransform.h:
14965         Revert patch to gstbasetransform from 7-28 removing
14966         delay_configure.
14967
14968         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14969         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14970         Semantics changed, should return not the size of the output buffer
14971         but the byte size of a buffer with a given caps.
14972
14973         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14974         debug object.
14975         (gst_base_transform_configure_caps): Don't set out_size here: (in,
14976         out) are not the pad caps until setcaps finishes.
14977         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14978         not-in-place case as well. Deal with changing from in-place to
14979         not-in-place within calling pad_alloc_buffer. Still a bit
14980         concerned about the overhead here...
14981
14982 2005-08-03  Andy Wingo  <wingo@pobox.com>
14983
14984         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14985         fixating is an error.
14986
14987 2005-08-04  Edward Hervey  <edward@fluendo.com>
14988
14989         * gst/base/gstadapter.h: 
14990         Added gst_adapter_get_type() to the header
14991
14992 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
14993
14994         * check/Makefile.am:
14995         * check/gst-libs/controller.c:
14996         * libs/gst/controller/gst-controller.c:
14997         (gst_controller_new_valist):
14998           added check test suite for the controller
14999         * gst/base/gstpushsrc.c:
15000           fixed a doc typo
15001
15002 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15003
15004         * docs/gst/Makefile.am:
15005         * docs/gst/gstreamer-docs.sgml:
15006         * docs/gst/gstreamer-sections.txt:
15007         * docs/gst/gstreamer.types:
15008         * docs/gst/tmpl/gstfakesrc.sgml:
15009         * gst/base/README:
15010         * gst/base/gstbasesink.c:
15011         * gst/base/gstbasesink.h:
15012         * gst/base/gstbasesrc.c:
15013         * gst/base/gstbasesrc.h:
15014         * gst/base/gstbasetransform.c:
15015         * gst/base/gstpushsrc.c:
15016         * gst/base/gstpushsrc.h:
15017           add short/long description docs to base classes
15018           add pushsrc to the docs
15019           remove consolidated doc fragments
15020
15021 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
15022
15023         * configure.ac:
15024         * docs/libs/Makefile.am:
15025         * docs/libs/gstreamer-libs-docs.sgml:
15026         * docs/libs/gstreamer-libs-sections.txt:
15027         * docs/libs/gstreamer-libs.types:
15028         * examples/Makefile.am:
15029         * examples/controller/.cvsignore:
15030         * examples/controller/Makefile.am:
15031         * examples/controller/audio-example.c: (main):
15032         * libs/gst/Makefile.am:
15033         * libs/gst/controller/.cvsignore:
15034         * libs/gst/controller/Makefile.am:
15035         * libs/gst/controller/gst-controller.c:
15036         (on_object_controlled_property_changed), (gst_timed_value_compare),
15037         (gst_timed_value_find),
15038         (gst_controlled_property_set_interpolation_mode),
15039         (gst_controlled_property_new), (gst_controlled_property_free),
15040         (gst_controller_find_controlled_property),
15041         (gst_controller_new_valist), (gst_controller_new),
15042         (gst_controller_remove_properties_valist),
15043         (gst_controller_remove_properties), (gst_controller_set),
15044         (gst_controller_set_from_list), (gst_controller_unset),
15045         (gst_controller_get), (gst_controller_get_all),
15046         (gst_controller_sink_values), (gst_controller_get_value_arrays),
15047         (gst_controller_get_value_array),
15048         (gst_controller_set_interpolation_mode),
15049         (_gst_controller_finalize), (_gst_controller_init),
15050         (_gst_controller_class_init), (gst_controller_get_type):
15051         * libs/gst/controller/gst-controller.h:
15052         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15053         (g_object_uncontrol_properties), (g_object_get_controller),
15054         (g_object_set_controller), (g_object_sink_values),
15055         (g_object_get_value_arrays), (g_object_get_value_array):
15056         * libs/gst/controller/gst-interpolation.c:
15057         (gst_controlled_property_find_timed_value_node),
15058         (interpolate_none_get), (interpolate_trigger_get),
15059         (interpolate_trigger_get_value_array):
15060         * libs/gst/controller/lib.c: (gst_controller_init):
15061         * pkgconfig/Makefile.am:
15062         * pkgconfig/gstreamer-control-uninstalled.pc.in:
15063         * pkgconfig/gstreamer-control.pc.in:
15064         * testsuite/Makefile.am:
15065         * testsuite/controller/.cvsignore:
15066         * testsuite/controller/Makefile.am:
15067         * testsuite/controller/interpolator.c: (main):
15068           added controller code
15069           removed dparam pc files
15070
15071 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15072         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15073         (gst_collectpads_stop):
15074           Broadcast the condition when shutting down, to make sure we wake all
15075           threads up. Shut down pads on finalize, for safety.
15076
15077 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
15078         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15079         (gst_base_transform_handle_buffer),
15080         (gst_base_transform_change_state):
15081           Handle PAUSED->READY->PAUSED transition after negotiation
15082           occurred already.
15083         * gst/gstmessage.c: (gst_message_init):
15084           Extra piece of debug for new messages.
15085
15086 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
15087
15088         * configure.ac:
15089         * docs/gst/tmpl/gstbasesrc.sgml:
15090         * docs/gst/tmpl/gstelement.sgml:
15091         * docs/gst/tmpl/gstevent.sgml:
15092         * docs/gst/tmpl/gstfakesrc.sgml:
15093         * docs/gst/tmpl/gstformat.sgml:
15094         * docs/gst/tmpl/gstghostpad.sgml:
15095         * docs/gst/tmpl/gstpad.sgml:
15096         * docs/gst/tmpl/gstquery.sgml:
15097         * docs/gst/tmpl/gststructure.sgml:
15098         * docs/gst/tmpl/gsttaglist.sgml:
15099         * docs/gst/tmpl/gstvalue.sgml:
15100         * docs/libs/gstreamer-libs-docs.sgml:
15101         * docs/libs/gstreamer-libs-sections.txt:
15102         * docs/libs/gstreamer-libs.types:
15103         * libs/gst/Makefile.am:
15104         * libs/gst/control/.cvsignore:
15105         * libs/gst/control/Makefile.am:
15106         * libs/gst/control/control.c:
15107         * libs/gst/control/control.h:
15108         * libs/gst/control/dparam.c:
15109         * libs/gst/control/dparam.h:
15110         * libs/gst/control/dparam_smooth.c:
15111         * libs/gst/control/dparam_smooth.h:
15112         * libs/gst/control/dparamcommon.h:
15113         * libs/gst/control/dparammanager.c:
15114         * libs/gst/control/dparammanager.h:
15115         * libs/gst/control/dplinearinterp.c:
15116         * libs/gst/control/dplinearinterp.h:
15117         * libs/gst/control/unitconvert.c:
15118         * libs/gst/control/unitconvert.h:
15119         * testsuite/Makefile.am:
15120         * testsuite/dynparams/.cvsignore:
15121         * testsuite/dynparams/Makefile.am:
15122         * testsuite/dynparams/dparamstest.c:
15123         * tools/Makefile.am:
15124         * tools/gst-inspect.c: (print_element_info), (main):
15125         * tools/gst-xmlinspect.c: (print_element_info), (main):
15126           deactivate and remove dparams (libgstcontrol)
15127
15128 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15129
15130         * gst/elements/gsttypefindelement.c:
15131         (gst_type_find_element_have_type), (gst_type_find_element_init),
15132         (stop_typefinding), (gst_type_find_element_handle_event),
15133         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15134         * gst/elements/gsttypefindelement.h:
15135           Set caps on all outgoing buffers, not just the first one.
15136
15137 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15138
15139         * gst/elements/gsttypefindelement.c:
15140         (gst_type_find_element_have_type),
15141         (gst_type_find_element_check_set_buffer_caps),
15142         (gst_type_find_element_init), (stop_typefinding),
15143         (gst_type_find_element_handle_event),
15144         (gst_type_find_element_chain), (gst_type_find_element_getrange):
15145         * gst/elements/gsttypefindelement.h:
15146           Set caps on first outgoing buffer when we've found the type.
15147
15148 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
15149
15150         * docs/gst/gstreamer-docs.sgml:
15151         * docs/gst/gstreamer-sections.txt:
15152         * docs/gst/tmpl/gstscheduler.sgml:
15153         * docs/gst/tmpl/gstschedulerfactory.sgml:
15154           Remove some old cruft from docs.
15155
15156 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
15157
15158         * gst/gstpad.h:
15159           Fix inline docs for GstPadLinkReturn.
15160           
15161         * gst/gststructure.c: (gst_structure_has_name):
15162         * gst/gststructure.h:
15163         * docs/gst/gstreamer-sections.txt:
15164           New API: gst_structure_has_name().
15165
15166 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
15167
15168         * configure.ac:
15169           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15170           and _LARGEFILE_SOURCE in config.h as required. Do not 
15171           export those flags in our .pc files any longer (#142209).
15172
15173           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15174
15175         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15176         (gst_file_sink_do_seek), (gst_file_sink_event),
15177         (gst_file_sink_get_current_offset), (gst_file_sink_render):
15178           Redo seek/tell calls with large file support in mind; add some
15179           debugging messages; add log message that tells us when large
15180           file support is unavailable or not enabled for some reason.
15181
15182         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15183           Add log message that tells us when large file support 
15184           is unavailable or not enabled for some reason.
15185
15186 2005-07-29  Wim Taymans  <wim@fluendo.com>
15187
15188         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15189         Added test for removing an element with ghostpad from a bin.
15190         Fixed test as current implementation does the right thing.
15191
15192         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15193         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15194         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15195         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15196         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15197         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15198         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15199         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15200         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15201         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15202         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15203         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15204         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15205         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15206         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15207         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15208         * gst/gstghostpad.h:
15209         Clean up ghostpads, remove properties for internal stuff.
15210         Make threadsafe.
15211         Fix refcounting.
15212         Prepare for switching targets, not all use cases work yet.
15213
15214 2005-07-29  Wim Taymans  <wim@fluendo.com>
15215
15216         * docs/design/part-gstghostpad.txt:
15217         Small update.
15218
15219         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15220         (gst_bin_remove_func):
15221         Unlinking pads while holding the bin LOCK is not a good
15222         idea.
15223
15224         * gst/gstpad.c: (gst_pad_class_init),
15225         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15226         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15227         No prob setting template after creating the pad.
15228
15229 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
15230
15231         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15232         (gst_bus_peek), (gst_bus_source_dispatch),
15233         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15234         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15235           gst_bus_poll may be called from other threads. Handle
15236           this nicely by not making poll_data disappear off the
15237           stack once gst_bus_poll returns.
15238           gst_bus_peek now increments the refcount on the returned
15239           message.
15240
15241 2005-07-29  Wim Taymans  <wim@fluendo.com>
15242
15243         * docs/design/part-gstghostpad.txt:
15244         Overview of current GhostPad datastructures and use
15245         cases for changing the target.
15246
15247 2005-07-28  Wim Taymans  <wim@fluendo.com>
15248
15249         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15250         Added checks for hierarchy consistency whan adding linked
15251         elements to bins.
15252
15253         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15254         Added check to test element scheduling without bin/pipeline.
15255
15256         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15257         First add elements to bin, then link.
15258         
15259         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15260         (gst_bin_remove_func):
15261         Unlink pads from elements added/removed from bin to maintain
15262         hierarchy consistency.
15263
15264 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15265
15266         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15267         (gst_base_transform_handle_buffer):
15268         * gst/base/gstbasetransform.h:
15269           Remove broken delay_configure (fixes renegotiation of software
15270           scaling pipelines); remove some leftover printf()s.
15271
15272 2005-07-28  Wim Taymans  <wim@fluendo.com>
15273
15274         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15275         Added some more tests for wrong hierarchy
15276
15277         * docs/design/part-overview.txt:
15278         Some updates.
15279
15280         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15281         Cleanups.
15282
15283         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15284         (gst_element_dispose):
15285         Some more cleanups.
15286
15287         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15288         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15289         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15290         (gst_pad_set_caps), (gst_pad_send_event):
15291         Check for correct hierarchy when linking pads. Moving to
15292         strict requirement for ghostpads when linking elements in
15293         different bins.
15294
15295         * gst/gstpad.h:
15296         Clean ups. Added WRONG_HIERARCHY return value.
15297
15298 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15299
15300         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15301           Better debug if no transform is possible.
15302
15303 2005-07-27  Wim Taymans  <wim@fluendo.com>
15304
15305         * docs/random/wtay/network-transp:
15306         Some old doc I had.
15307
15308 2005-07-27  Wim Taymans  <wim@fluendo.com>
15309
15310         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15311         (gst_dp_event_from_packet):
15312         Fix serialization of seek events.
15313
15314 2005-07-27  Wim Taymans  <wim@fluendo.com>
15315
15316         * check/gst-libs/gdp.c: (GST_START_TEST):
15317         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15318         Fix compilation and fix event serialization.
15319
15320 2005-07-27  Wim Taymans  <wim@fluendo.com>
15321
15322         * CHANGES-0.9:
15323         * docs/design/part-TODO.txt:
15324         * docs/design/part-events.txt:
15325         Some docs updates
15326
15327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15328         (gst_base_sink_event), (gst_base_sink_do_sync),
15329         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15330         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15331         (gst_base_src_do_seek), (gst_base_src_event_handler),
15332         (gst_base_src_loop):
15333         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15334         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15335         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15336         (gst_base_transform_event), (gst_base_transform_handle_buffer),
15337         (gst_base_transform_set_passthrough),
15338         (gst_base_transform_is_passthrough):
15339         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15340         * gst/elements/gstfilesink.c: (gst_file_sink_event):
15341         Event updates.
15342
15343         * gst/gstbuffer.h:
15344         Use faster casts.
15345
15346         * gst/gstelement.c: (gst_element_seek):
15347         * gst/gstelement.h:
15348         Update gst_element_seek.
15349
15350         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15351         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15352         (gst_event_new_flush_start), (gst_event_new_flush_stop),
15353         (gst_event_new_eos), (gst_event_new_newsegment),
15354         (gst_event_parse_newsegment), (gst_event_new_tag),
15355         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15356         (gst_event_parse_qos), (gst_event_new_seek),
15357         (gst_event_parse_seek), (gst_event_new_navigation):
15358         * gst/gstevent.h:
15359         Make GstEvent use GstStructure. Add parsing code, make sure the
15360         API is sufficiently generic.
15361         Mark possible directions of events and serialization.
15362
15363         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15364         (_gst_message_copy), (gst_message_new_segment_start),
15365         (gst_message_new_segment_done), (gst_message_new_custom),
15366         (gst_message_parse_segment_start),
15367         (gst_message_parse_segment_done):
15368         Small cleanups.
15369
15370         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15371         (gst_pad_set_caps), (gst_pad_send_event):
15372         Update for new events. 
15373         Catch events sent in wrong directions.
15374
15375         * gst/gstqueue.c: (gst_queue_link_src),
15376         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15377         (gst_queue_handle_src_query):
15378         Event updates.
15379
15380         * gst/gsttag.c:
15381         * gst/gsttag.h:
15382         Remove event code from this file.
15383
15384         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15385         (gst_dp_event_from_packet):
15386         Event updates.
15387
15388 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15389
15390         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15391         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15392         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15393           Make debugging actually useful.
15394
15395 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15396
15397         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15398         (gst_pad_fixate_caps):
15399           Implement default fixation once again, so that gst_pad_fixate()
15400           actually does anything at all. This probably needs to be some
15401           sort of a last resort, and use profile-based fixation first, but
15402           since that doesn't exist yet, this is the best we have. Fixes
15403           visualization in Totem.
15404
15405 2005-07-22  Wim Taymans  <wim@fluendo.com>
15406
15407         * docs/design/part-events.txt:
15408         Small update.
15409
15410         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15411         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15412         (gst_base_sink_activate_pull):
15413         Some more comments.
15414
15415         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15416         (gst_fake_src_create):
15417         Fix handoff marshall.
15418
15419         * gst/elements/gstidentity.c: (gst_identity_class_init),
15420         (gst_identity_transform_ip):
15421         We're a real inplace element.
15422
15423         * gst/gstbus.c: (gst_bus_post):
15424         Added some comments.
15425
15426         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15427         * tests/muxing/case1.c: (main):
15428         * tests/sched/dynamic-pipeline.c: (main):
15429         * tests/sched/interrupt1.c: (main):
15430         * tests/sched/interrupt2.c: (main):
15431         * tests/sched/interrupt3.c: (main):
15432         * tests/sched/runxml.c: (main):
15433         * tests/sched/sched-stress.c: (main):
15434         * tests/seeking/seeking1.c: (event_received), (main):
15435         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15436         (main):
15437         * tests/threadstate/threadstate3.c: (main):
15438         * tests/threadstate/threadstate4.c: (main):
15439         * tests/threadstate/threadstate5.c: (main):
15440         Fix the tests.
15441
15442 2005-07-21  Wim Taymans  <wim@fluendo.com>
15443
15444         * docs/design/part-seeking.txt:
15445         Some small additions.
15446
15447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15448         (gst_base_sink_get_times), (gst_base_sink_do_sync),
15449         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15450         * gst/base/gstbasesink.h:
15451         discont values are gint64, handle the math correctly.
15452
15453         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15454         Make the basesrc report error if the source pad is not linked.
15455
15456         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15457         (gst_queue_loop), (gst_queue_handle_src_query),
15458         (gst_queue_src_activate_push):
15459         Make queue collect data even if the srcpad is not linked.
15460         Start pushing out data as soon as it is linked.
15461
15462         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15463         * gst/gstutils.h:
15464         Added gst_flow_get_name() to ease error reporting.
15465
15466 2005-07-20  Wim Taymans  <wim@fluendo.com>
15467
15468         * gst/gstmessage.c: (gst_message_new_segment_start),
15469         (gst_message_new_segment_done), (gst_message_parse_segment_start),
15470         (gst_message_parse_segment_done):
15471         * gst/gstmessage.h:
15472         Added a bunch of messages for advanced seeking.
15473
15474         * gst/parse/grammar.y:
15475         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15476         (gst_dpman_state_changed):
15477         Fix some new-pad -> pad-added signals
15478
15479 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15480
15481         * docs/manual/appendix-porting.xml:
15482         * docs/pwg/appendix-porting.xml:
15483           Document new-pad/state-change signal renames and the FixedList
15484           type rename.
15485
15486 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15487
15488         * docs/manual/advanced-autoplugging.xml:
15489         * docs/manual/basics-helloworld.xml:
15490         * docs/manual/basics-pads.xml:
15491         * docs/random/ds/0.9-suggested-changes:
15492         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15493         * gst/gstelement.h:
15494         * gst/gstevent.h:
15495         * gst/gstformat.h:
15496         * gst/gstquery.h:
15497         * gst/gststructure.c: (gst_structure_value_get_generic_type),
15498         (gst_structure_parse_array), (gst_structure_parse_value):
15499         * gst/gstvalue.c: (gst_type_is_fixed),
15500         (gst_value_list_prepend_value), (gst_value_list_append_value),
15501         (gst_value_list_get_size), (gst_value_list_get_value),
15502         (gst_value_transform_array_string), (gst_value_serialize_array),
15503         (gst_value_deserialize_array), (gst_value_intersect_array),
15504         (gst_value_is_fixed), (_gst_value_initialize):
15505         * gst/gstvalue.h:
15506           GstElement::new-pad -> pad-added, GstElement::state-change ->
15507           state-changed, GstValueFixedList -> GstValueArray, add format and
15508           flags as their own arguments in gst_element_seek() (should improve
15509           "bindeability"), remove function generators since they don't work
15510           under a whole bunch of compilers (they were deprecated already
15511           anyway).
15512
15513 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15514
15515         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15516         (_gst_debug_register_funcptr):
15517         * gst/gstinfo.h:
15518           Fix illegal cast on some platforms (#309253).
15519
15520 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15521
15522         * gst/gstmessage.c: (gst_message_new_custom):
15523         * gst/gstmessage.h:
15524           Add _new_custom, make _new_application a macro to _new_custom.
15525
15526 2005-07-20  Wim Taymans  <wim@fluendo.com>
15527
15528         * gst/base/gstbasesrc.c: (gst_base_src_init),
15529         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15530         * gst/base/gstbasesrc.h:
15531         Add a gboolean to decide when to push out a discont.
15532
15533         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15534         (gst_queue_loop), (gst_queue_handle_src_query),
15535         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15536         (gst_queue_set_property), (gst_queue_get_property):
15537         Some cleanups.
15538
15539         * tests/threadstate/threadstate1.c: (main):
15540         Make a thread test compile and run... very silly..
15541
15542
15543 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15544
15545         * docs/manual/appendix-porting.xml:
15546           Mention removal of libgstgconf-0.9.la and existence of gconf
15547           elements.
15548
15549 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15550
15551         * docs/pwg/advanced-clock.xml:
15552         * docs/pwg/appendix-porting.xml:
15553         * docs/pwg/intro-preface.xml:
15554         * docs/pwg/other-base.xml:
15555         * docs/pwg/other-manager.xml:
15556         * docs/pwg/other-nton.xml:
15557         * docs/pwg/other-ntoone.xml:
15558         * docs/pwg/other-oneton.xml:
15559         * docs/pwg/pwg.xml:
15560           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15561           demuxer), remove n-to-n (was never written), fix some code examples
15562           and links and update the porting section to include all this.
15563
15564 2005-07-19  Wim Taymans  <wim@fluendo.com>
15565
15566         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15567         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15568         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15569         (gst_queue_src_activate_push), (gst_queue_change_state),
15570         (gst_queue_get_property):
15571         * gst/gstqueue.h:
15572         Propagate GstFlowReturn more intelligently upstream and output
15573         an ERROR/EOS when streaming stopped due to fatal error.
15574
15575 2005-07-19  Wim Taymans  <wim@fluendo.com>
15576
15577         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15578         Don't block forever for the state change to complete, the
15579         pipeline already did with a sensible timeout.
15580
15581 2005-07-19  Wim Taymans  <wim@fluendo.com>
15582
15583         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15584         Make sure we never call the create function is we
15585         got deactivated.
15586
15587 2005-07-19  Andy Wingo  <wingo@pobox.com>
15588
15589         * gst/parse/parse.l: Attempt to solve bug #172815.
15590
15591 2005-07-19  Wim Taymans  <wim@fluendo.com>
15592
15593         * docs/design/part-clocks.txt:
15594         * docs/design/part-events.txt:
15595         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15596         Small docs updates.
15597         Only update the seeking values when we are not
15598         busy streaming.
15599
15600 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15601
15602         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15603           Oops, ignore the result of gst_pad_push_event here.
15604
15605 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
15606
15607         * gst/base/gstbasesrc.c: (gst_base_src_loop),
15608         (gst_base_src_activate_push):
15609           Send discont event from the loop function, as pads
15610           aren't activated yet in the activate_push handler.
15611
15612         * gst/gstbin.c: (bin_bus_handler):
15613           Don't leak element name.
15614
15615 2005-07-18  Andy Wingo  <wingo@pobox.com>
15616
15617         * configure.ac: Use AS_LIBTOOL_TAGS.
15618
15619 2005-07-18  Wim Taymans  <wim@fluendo.com>
15620
15621         * docs/gst/gstreamer.types:
15622         Remove deleted types.
15623
15624 2005-07-18  Wim Taymans  <wim@fluendo.com>
15625
15626         * check/elements/gstfakesrc.c: (GST_START_TEST):
15627         * configure.ac:
15628         * gst/Makefile.am:
15629         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15630         (init_popt_callback):
15631         * gst/gst.h:
15632         * gst/gst_private.h:
15633         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15634         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15635         * gst/gstbin.h:
15636         * gst/gstbus.h:
15637         * gst/gstconfig.h.in:
15638         * gst/gstelement.c: (gst_element_class_init),
15639         (gst_element_set_base_time), (gst_element_get_base_time),
15640         (iterator_fold_with_resync), (gst_element_change_state),
15641         (gst_element_dispose), (gst_element_get_bus):
15642         * gst/gstelement.h:
15643         * gst/gstelementfactory.h:
15644         * gst/gsterror.c: (_gst_core_errors_init):
15645         * gst/gsterror.h:
15646         * gst/gstevent.h:
15647         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15648         * gst/gstindex.c:
15649         * gst/gstinfo.c: (_gst_debug_init):
15650         * gst/gstmessage.c: (_gst_message_copy):
15651         * gst/gstmessage.h:
15652         * gst/gstminiobject.h:
15653         * gst/gstobject.c:
15654         * gst/gstobject.h:
15655         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15656         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15657         * gst/gstpad.h:
15658         * gst/gstparse.h:
15659         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15660         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15661         (gst_pipeline_get_last_stream_time):
15662         * gst/gstpipeline.h:
15663         * gst/gstpluginfeature.h:
15664         * gst/gstquery.h:
15665         * gst/gstscheduler.c:
15666         * gst/gstscheduler.h:
15667         * gst/gststructure.h:
15668         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15669         (gst_task_finalize), (gst_task_func), (gst_task_create),
15670         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15671         (gst_task_stop), (gst_task_pause):
15672         * gst/gsttask.h:
15673         * gst/gsttypefind.h:
15674         * gst/gsttypes.h:
15675         * gst/registries/gstlibxmlregistry.c: (load_feature),
15676         (gst_xml_registry_load), (gst_xml_registry_save_feature):
15677         * gst/registries/gstxmlregistry.c:
15678         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15679         * gst/schedulers/threadscheduler.c:
15680         * libs/gst/control/dparammanager.h:
15681         * tools/gst-inspect.c: (print_element_list),
15682         (print_plugin_features), (print_element_features):
15683         * tools/gst-xmlinspect.c: (print_element_list),
15684         (print_plugin_info), (main):
15685         Removed plugable schedulers.
15686         Removed Scheduler/Manager from elements.
15687         Removed gsttypes.h, rearranged includes.
15688         Removed dependency pad<->element, element<>pipeline, and
15689         various others,  fix includes.
15690         implement gst_pad_get_parent() with gst_object_get_parent()
15691         Make GstTask sefcontained.
15692         Fix _get_state() on GstBin, it did not return ASYNC with a 0
15693         timeout.
15694         Fix endless loop in iterator_fold_with_resync.
15695
15696
15697 2005-07-18  Wim Taymans  <wim@fluendo.com>
15698
15699         * gst/Makefile.am:
15700         * gst/gstarch.h:
15701         Remove old file.
15702
15703 2005-07-18  Wim Taymans  <wim@fluendo.com>
15704
15705         * gst/Makefile.am:
15706         No more cothreads.h
15707
15708 2005-07-18  Wim Taymans  <wim@fluendo.com>
15709
15710         * gst/cothreads.c:
15711         * gst/cothreads.h:
15712         Let's remove these.
15713
15714 2005-07-18  Wim Taymans  <wim@fluendo.com>
15715
15716         * docs/design/part-dynamic.txt:
15717         * docs/design/part-events.txt:
15718         * docs/design/part-seeking.txt:
15719         Some more docs in the works.
15720
15721         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15722         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15723         (gst_base_transform_setcaps), (gst_base_transform_get_size),
15724         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15725         (gst_base_transform_handle_buffer),
15726         (gst_base_transform_sink_activate_push),
15727         (gst_base_transform_src_activate_pull),
15728         (gst_base_transform_set_passthrough),
15729         (gst_base_transform_is_passthrough):
15730         Refcounting fixes.
15731
15732         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15733         Cleanups.
15734
15735         * gst/gstevent.c: (gst_event_finalize):
15736         Set SRC to NULL.
15737
15738         * gst/gstutils.c: (gst_element_unlink),
15739         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15740         (gst_pad_proxy_setcaps):
15741         * gst/gstutils.h:
15742         Add _get_parent_element() to get a pads parent as an element.
15743
15744 2005-07-18  Wim Taymans  <wim@fluendo.com>
15745
15746         * check/gst/gstbin.c: (GST_START_TEST):
15747         Remove bogus test.
15748
15749 2005-07-18  Wim Taymans  <wim@fluendo.com>
15750
15751         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15752         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15753         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15754         (gst_base_sink_event), (gst_base_sink_do_sync),
15755         (gst_base_sink_chain), (gst_base_sink_loop),
15756         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15757         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15758         Refcounting fixes.
15759         Fix logic for returning ASYNC when not prerolled.
15760
15761 2005-07-18  Wim Taymans  <wim@fluendo.com>
15762
15763         * gst/gstqueue.c: (gst_queue_handle_sink_event):
15764         Fix nasty refcount bug.
15765
15766 2005-07-16 Philippe Khalaf <burger@speedy.org>
15767
15768         * gst/elements/gstfdsrc.c:
15769         * gst/elements/gstfdsrc.h:
15770         * gst/elements/gstelements.c:
15771         * gst/elements/Makefile.am:
15772         Ported fdsrc to 0.9.
15773
15774 2005-07-16  Wim Taymans  <wim@fluendo.com>
15775
15776         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15777         (gst_base_sink_do_sync):
15778         Fix compile error.
15779
15780 2005-07-16  Wim Taymans  <wim@fluendo.com>
15781
15782         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15783         (gst_base_sink_event), (gst_base_sink_get_times),
15784         (gst_base_sink_do_sync), (gst_base_sink_change_state):
15785         * gst/base/gstbasesink.h:
15786         Store and use discont values when syncing buffers as described
15787         in design docs.
15788         
15789         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15790         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15791         (gst_base_src_activate_push):
15792         Push discont event when starting.
15793
15794         * gst/elements/gstidentity.c: (gst_identity_transform):
15795         Small cleanups.
15796
15797         * gst/gstbin.c: (gst_bin_change_state):
15798         Small cleanups in base_time  distribution.
15799
15800         * gst/gstelement.c: (gst_element_set_base_time),
15801         (gst_element_get_base_time), (gst_element_change_state):
15802         * gst/gstelement.h:
15803         Added methods for the base_time of the element.
15804         Some MT fixes.
15805
15806         * gst/gstpipeline.c: (gst_pipeline_send_event),
15807         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15808         (gst_pipeline_get_last_stream_time):
15809         * gst/gstpipeline.h:
15810         MT fixes.
15811         Handle seeking as described in design doc, remove stream_time
15812         hack.
15813         Cleanups clock and stream_time selection code. Added accessors
15814         for the stream_time.
15815         
15816
15817 2005-07-16  Andy Wingo  <wingo@pobox.com>
15818
15819         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15820         (#305291).
15821
15822 2005-07-16  Wim Taymans  <wim@fluendo.com>
15823
15824         * check/gst/gstbin.c: (GST_START_TEST):
15825         Make elements silent as the deep_notify refs the
15826         parent, which might make the test fail.
15827
15828         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15829         Don't hold the lock for too long.
15830
15831 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
15832
15833         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15834           Don't unref the caps we passed to gst_caps_make_writable() after
15835           passing them. gst_caps_make_writable() will do that for us.
15836
15837 2005-07-15  Andy Wingo  <wingo@pobox.com>
15838
15839         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15840         (#157311).
15841
15842         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15843         own marshalling function for the handoff signal. Properly type the
15844         buffer as a buffer. Fixes some warnings. Should do a more general
15845         solution.
15846         (gst_identity_class_init): Plug into the right marshaller.
15847
15848 2005-07-15  Wim Taymans  <wim@fluendo.com>
15849
15850         * docs/design/part-TODO.txt:
15851         * docs/design/part-clocks.txt:
15852         * docs/design/part-element-sink.txt:
15853         * docs/design/part-events.txt:
15854         * docs/design/part-gstpipeline.txt:
15855         Updated docs, mostly DISCONT related.
15856
15857 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
15858
15859         * docs/pwg/building-pads.xml:
15860           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15861
15862 2005-07-15  Andy Wingo  <wingo@pobox.com>
15863
15864         * tools/gst-typefind.c: Update, add copyright block.
15865
15866         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15867         Normalize and truncate caps before fixation.
15868
15869         * gst/gstcaps.h:
15870         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15871         discards all but the first structure from its argument.
15872
15873 2005-07-15  Wim Taymans  <wim@fluendo.com>
15874
15875         * gst/base/gstbasetransform.c: (gst_base_transform_init),
15876         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15877         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15878         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15879         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15880         (gst_base_transform_chain), (gst_base_transform_change_state),
15881         (gst_base_transform_set_passthrough),
15882         (gst_base_transform_is_passthrough):
15883         * gst/base/gstbasetransform.h:
15884         Make passthrough work using the bufferpools.
15885         Changed API a bit, subclasses have to write into a buffer
15886         provided by the base class.
15887         More debug info in nego functions.
15888         
15889         * gst/elements/gstidentity.c: (gst_identity_init),
15890         (gst_identity_transform):
15891         Port to new base class.
15892
15893 2005-07-15  Wim Taymans  <wim@fluendo.com>
15894
15895         * gst/gstmessage.c: (gst_message_new_state_changed):
15896         * tools/gst-launch.c: (event_loop), (main):
15897         Totally dump messages in -launch with the -m option.
15898         Fix message name for State messages,
15899
15900 2005-07-14  Wim Taymans  <wim@fluendo.com>
15901
15902         * gst/base/gstbasesrc.c: (gst_base_src_loop):
15903         Post error messages on errors.
15904
15905 2005-07-14  Wim Taymans  <wim@fluendo.com>
15906
15907         * gst/gstcaps.c: (gst_caps_do_simplify):
15908         Remove debug info.
15909
15910         * gst/gsterror.h:
15911         Define error for stream stopped.
15912
15913         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15914         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15915         Do proper return values.
15916
15917         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15918         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15919         (gst_pad_get_range):
15920         Better return values.
15921
15922         * gst/gstpad.h:
15923         Reorganise return values, add macro to check for fatal errors.
15924
15925         * gst/gstqueue.c: (gst_queue_chain):
15926         Return proper GstFlowReturn values,
15927
15928 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15929
15930         * docs/gst/gstreamer-sections.txt:
15931         * docs/gst/gstreamer.types:
15932         * docs/gst/tmpl/gst.sgml:
15933         * docs/gst/tmpl/gstbasesink.sgml:
15934         * docs/gst/tmpl/gstbasesrc.sgml:
15935         * docs/gst/tmpl/gstbasetransform.sgml:
15936         * docs/gst/tmpl/gstbin.sgml:
15937         * docs/gst/tmpl/gstbuffer.sgml:
15938         * docs/gst/tmpl/gstcaps.sgml:
15939         * docs/gst/tmpl/gstclock.sgml:
15940         * docs/gst/tmpl/gstcompat.sgml:
15941         * docs/gst/tmpl/gstconfig.sgml:
15942         * docs/gst/tmpl/gstelement.sgml:
15943         * docs/gst/tmpl/gstelementdetails.sgml:
15944         * docs/gst/tmpl/gstelementfactory.sgml:
15945         * docs/gst/tmpl/gstenumtypes.sgml:
15946         * docs/gst/tmpl/gsterror.sgml:
15947         * docs/gst/tmpl/gstevent.sgml:
15948         * docs/gst/tmpl/gstfakesink.sgml:
15949         * docs/gst/tmpl/gstfakesrc.sgml:
15950         * docs/gst/tmpl/gstfilesink.sgml:
15951         * docs/gst/tmpl/gstfilesrc.sgml:
15952         * docs/gst/tmpl/gstfilter.sgml:
15953         * docs/gst/tmpl/gstformat.sgml:
15954         * docs/gst/tmpl/gstghostpad.sgml:
15955         * docs/gst/tmpl/gstimplementsinterface.sgml:
15956         * docs/gst/tmpl/gstindex.sgml:
15957         * docs/gst/tmpl/gstindexfactory.sgml:
15958         * docs/gst/tmpl/gstinfo.sgml:
15959         * docs/gst/tmpl/gstiterator.sgml:
15960         * docs/gst/tmpl/gstmacros.sgml:
15961         * docs/gst/tmpl/gstmemchunk.sgml:
15962         * docs/gst/tmpl/gstminiobject.sgml:
15963         * docs/gst/tmpl/gstobject.sgml:
15964         * docs/gst/tmpl/gstpad.sgml:
15965         * docs/gst/tmpl/gstpadtemplate.sgml:
15966         * docs/gst/tmpl/gstparse.sgml:
15967         * docs/gst/tmpl/gstpipeline.sgml:
15968         * docs/gst/tmpl/gstplugin.sgml:
15969         * docs/gst/tmpl/gstpluginfeature.sgml:
15970         * docs/gst/tmpl/gstquery.sgml:
15971         * docs/gst/tmpl/gstqueue.sgml:
15972         * docs/gst/tmpl/gstregistry.sgml:
15973         * docs/gst/tmpl/gstregistrypool.sgml:
15974         * docs/gst/tmpl/gstscheduler.sgml:
15975         * docs/gst/tmpl/gstschedulerfactory.sgml:
15976         * docs/gst/tmpl/gststructure.sgml:
15977         * docs/gst/tmpl/gstsystemclock.sgml:
15978         * docs/gst/tmpl/gsttaglist.sgml:
15979         * docs/gst/tmpl/gsttagsetter.sgml:
15980         * docs/gst/tmpl/gsttrace.sgml:
15981         * docs/gst/tmpl/gsttrashstack.sgml:
15982         * docs/gst/tmpl/gsttypefind.sgml:
15983         * docs/gst/tmpl/gsttypefindfactory.sgml:
15984         * docs/gst/tmpl/gsttypes.sgml:
15985         * docs/gst/tmpl/gsturihandler.sgml:
15986         * docs/gst/tmpl/gsturitype.sgml:
15987         * docs/gst/tmpl/gstutils.sgml:
15988         * docs/gst/tmpl/gstvalue.sgml:
15989         * docs/gst/tmpl/gstversion.sgml:
15990         * docs/gst/tmpl/gstxml.sgml:
15991         * docs/libs/tmpl/gstcontrol.sgml:
15992         * docs/libs/tmpl/gstdataprotocol.sgml:
15993         * docs/libs/tmpl/gstdparam.sgml:
15994         * docs/libs/tmpl/gstdplinint.sgml:
15995         * docs/libs/tmpl/gstdpman.sgml:
15996         * docs/libs/tmpl/gstdpsmooth.sgml:
15997         * docs/libs/tmpl/gstgetbits.sgml:
15998         * docs/libs/tmpl/gstunitconvert.sgml:
15999         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16000         (gst_push_src_base_init), (gst_push_src_class_init),
16001         (gst_push_src_init), (gst_push_src_create):
16002         * gst/base/gstpushsrc.h:
16003         * gst/elements/gstelements.c:
16004         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16005         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16006         (gst_fake_sink_init), (gst_fake_sink_set_property),
16007         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16008         (gst_fake_sink_event), (gst_fake_sink_preroll),
16009         (gst_fake_sink_render), (gst_fake_sink_change_state):
16010         * gst/elements/gstfakesink.h:
16011         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16012         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16013         (gst_fake_src_base_init), (gst_fake_src_class_init),
16014         (gst_fake_src_init), (gst_fake_src_event_handler),
16015         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16016         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16017         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16018         (gst_fake_src_create_buffer), (gst_fake_src_create),
16019         (gst_fake_src_start), (gst_fake_src_stop):
16020         * gst/elements/gstfakesrc.h:
16021         * gst/elements/gstfilesink.c: (_do_init),
16022         (gst_file_sink_base_init), (gst_file_sink_class_init),
16023         (gst_file_sink_init), (gst_file_sink_dispose),
16024         (gst_file_sink_set_location), (gst_file_sink_set_property),
16025         (gst_file_sink_get_property), (gst_file_sink_open_file),
16026         (gst_file_sink_close_file), (gst_file_sink_query),
16027         (gst_file_sink_event), (gst_file_sink_render),
16028         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16029         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16030         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16031         * gst/elements/gstfilesink.h:
16032         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16033         (gst_file_src_class_init), (gst_file_src_init),
16034         (gst_file_src_finalize), (gst_file_src_set_location),
16035         (gst_file_src_set_property), (gst_file_src_get_property),
16036         (gst_file_src_map_region), (gst_file_src_map_small_region),
16037         (gst_file_src_create_mmap), (gst_file_src_create_read),
16038         (gst_file_src_create), (gst_file_src_is_seekable),
16039         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16040         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16041         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16042         (gst_file_src_uri_handler_init):
16043         * gst/elements/gstfilesrc.h:
16044           more autistic cleanliness in functions/names/defines
16045
16046 2005-07-13  Andy Wingo  <wingo@pobox.com>
16047
16048         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16049         source couldn't negotiate.
16050
16051         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16052         connections again.
16053
16054         * gst/gstutils.h:
16055         * gst/gstutils.c (gst_element_link_pads_filtered): New old
16056         function. I am channeling Hades. Put your boots on suckers!!!
16057
16058 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
16059
16060         * testsuite/caps/Makefile.am:
16061         * testsuite/caps/value_compare.c:
16062         * testsuite/caps/value_intersect.c:
16063         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16064           move two testsuite apps over to the check dir
16065
16066 2005-07-12  Wim Taymans  <wim@fluendo.com>
16067
16068         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16069         Added more debug info in the negotiate process.
16070
16071         * gst/gstmessage.h:
16072         Prepare for segment playback.
16073
16074         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16075         Better debugging.
16076
16077         * gst/gstutils.c:
16078         Some more docs.
16079
16080         * tools/gst-launch.c: (main):
16081         NULL pipeline on errors.
16082
16083 2005-07-12  Andy Wingo  <wingo@pobox.com>
16084
16085         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16086         not it comes from a malloc region. Make sure our copy gets freed.
16087
16088 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16089
16090         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16091         * check/gst/gstmessage.c: (GST_START_TEST):
16092         * check/gst/gststructure.c: (GST_START_TEST),
16093         (gst_structure_suite), (main):
16094           more testing
16095         * gst/gstelement.c: (gst_element_message_full):
16096           clean up GError and debug string now that they get copied
16097         * gst/gstmessage.c: (gst_message_new_error),
16098         (gst_message_new_warning), (gst_message_parse_error),
16099         (gst_message_parse_warning):
16100           use GST_TYPE_G_ERROR for structure_new, and take copies of
16101           arguments, so that we don't mess up refcounting
16102
16103 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16104
16105         * check/Makefile.am:
16106           add per-test valgrind targets
16107         * check/gst-libs/gdp.c: (GST_START_TEST),
16108         (gst_data_protocol_suite), (main):
16109           clean up
16110
16111 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16112
16113         * check/Makefile.am:
16114           instate more valgrindable tests
16115         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16116         (GST_START_TEST), (fakesrc_suite):
16117         * check/gst/gstpad.c: (GST_START_TEST):
16118         * check/gst/gststructure.c: (GST_START_TEST):
16119           fix test leaks
16120         * docs/gst/tmpl/gstminiobject.sgml:
16121         * gst/gstpad.c: (gst_pad_finalize):
16122           fix the static mutex leak
16123
16124 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16125
16126         * check/Makefile.am:
16127           add two more tests for valgrinding
16128         * check/gst/gstvalue.c: (GST_START_TEST):
16129           test refcount of deserialized buffer, found a leak
16130         * docs/gst/gstreamer-docs.sgml:
16131         * docs/gst/gstreamer-sections.txt:
16132         * docs/gst/gstreamer.types:
16133         * docs/gst/tmpl/gstminiobject.sgml:
16134           add miniobject to docs
16135         * gst/gstminiobject.c:
16136           add some docs
16137         * gst/gstvalue.c: (gst_value_deserialize_buffer),
16138         (gst_string_unwrap):
16139           fix a hard-to-find invalid write for one of the tests
16140           fix a leak for deserialized buffers
16141
16142 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16143
16144         * docs/pwg/advanced-events.xml:
16145         * docs/pwg/advanced-request.xml:
16146         * docs/pwg/advanced-scheduling.xml:
16147         * docs/pwg/appendix-porting.xml:
16148         * docs/pwg/building-boiler.xml:
16149         * docs/pwg/intro-preface.xml:
16150         * docs/pwg/other-ntoone.xml:
16151           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16152           of example code and explanation for pad activation, loop() and
16153           getrange() functions and a bit more. Remove old comments pointing
16154           to loop-functions.
16155         * examples/pwg/Makefile.am:
16156           Add loop/getrange examples.
16157
16158 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16159
16160         * configure.ac:
16161           check for valgrind binary + some fixes
16162         * check/gst.supp:
16163           valgrind suppressions for the tests
16164         * check/Makefile.am:
16165           add a valgrind: target that valgrinds the unit tests
16166         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16167         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16168         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16169         * check/gst/gstghostpad.c:
16170           added some cleanup
16171         * check/gst/gstdata.c:
16172           removed
16173         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16174         (thread_unref), (gst_mini_object_suite), (main):
16175           added
16176         * gst/gst.c: (gst_deinit):
16177         * gst/gst.h:
16178           add a method to clean up.
16179         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16180         (gst_system_clock_obtain):
16181           allow for disposing the system clock.
16182         * tools/gst-launch.c: (main):
16183           deinit
16184
16185 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16186
16187         * docs/gst/tmpl/gstbasesrc.sgml:
16188         * docs/gst/tmpl/gstfakesrc.sgml:
16189         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16190         (gst_base_src_init), (gst_base_src_set_property),
16191         (gst_base_src_get_property), (gst_base_src_get_range),
16192         (gst_base_src_start):
16193         * gst/base/gstbasesrc.h:
16194           add num-buffers property
16195         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16196         (gst_fakesrc_init), (gst_fakesrc_set_property),
16197         (gst_fakesrc_get_property), (gst_fakesrc_create),
16198         (gst_fakesrc_start):
16199           remove num-buffers property
16200
16201 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16202
16203         * docs/gst/gstreamer-sections.txt:
16204         * docs/gst/tmpl/gstbasesink.sgml:
16205         * docs/gst/tmpl/gstbasesrc.sgml:
16206         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16207         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16208         (gst_base_sink_finalize), (gst_base_sink_set_clock),
16209         (gst_base_sink_set_property), (gst_base_sink_get_property),
16210         (gst_base_sink_handle_object), (gst_base_sink_event),
16211         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16212         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16213         (gst_base_sink_loop), (gst_base_sink_deactivate),
16214         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16215         (gst_base_sink_change_state):
16216         * gst/base/gstbasesink.h:
16217         * gst/base/gstbasesrc.h:
16218         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16219         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16220         (gst_filesink_init):
16221           more macro splitting
16222
16223 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16224
16225         * gst/gstelement.c: (gst_element_get_bus):
16226           add debug
16227         * tools/gst-launch.c: (check_intr), (event_loop):
16228           fix bus leaks
16229
16230 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16231
16232         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16233           fix a caps leak
16234
16235 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16236
16237         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16238         (gst_base_src_finalize):
16239           add finalize method and clean up properly
16240         * gst/gstpipeline.c: (gst_pipeline_dispose):
16241           add debug
16242
16243 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16244
16245         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16246         (gst_bin_suite):
16247           add more things to check
16248         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16249         * gst/gstelement.c:
16250           more debug
16251
16252 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16253
16254         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16255         (GST_START_TEST), (fakesrc_suite):
16256         * check/gst-libs/gdp.c: (GST_START_TEST):
16257         * check/gst/gst.c: (GST_START_TEST):
16258         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16259         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16260         * check/gst/gstbus.c: (GST_START_TEST):
16261         * check/gst/gstcaps.c: (GST_START_TEST):
16262         * check/gst/gstdata.c: (GST_START_TEST):
16263         * check/gst/gstelement.c: (GST_START_TEST):
16264         * check/gst/gstghostpad.c: (GST_START_TEST):
16265         * check/gst/gstiterator.c: (GST_START_TEST):
16266         * check/gst/gstmessage.c: (GST_START_TEST):
16267         * check/gst/gstobject.c: (GST_START_TEST):
16268         * check/gst/gstpad.c: (GST_START_TEST):
16269         * check/gst/gststructure.c: (GST_START_TEST):
16270         * check/gst/gstsystemclock.c: (GST_START_TEST),
16271         (gst_systemclock_suite):
16272         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16273         * check/gst/gstvalue.c: (GST_START_TEST):
16274         * check/pipelines/cleanup.c: (GST_START_TEST):
16275         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16276         * check/states/sinks.c: (GST_START_TEST):
16277         * check/gstcheck.c: (gst_check_init):
16278         * check/gstcheck.h:
16279           add debugging category
16280           use GST_START_TEST now, so we add a debug line
16281
16282 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
16283
16284         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16285           add test for state change message on a bin
16286         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16287           add another test
16288         * gst/gstbin.c: (gst_bin_init):
16289         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16290         * gst/gstelement.c: (gst_element_post_message),
16291         (gst_element_set_state):
16292         * gst/gstelementfactory.c: (gst_element_factory_create):
16293         * gst/gstmessage.c: (gst_message_new):
16294         * gst/gstscheduler.c:
16295           various debugging additions and cleanups
16296
16297 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16298
16299         * check/Makefile.am:
16300         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16301         (main):
16302           adding tests for elements
16303         * gst/gstelement.c: (gst_element_dispose):
16304
16305 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16306
16307         * gst/registries/gstlibxmlregistry.c: (load_feature):
16308           plug more leaks.  A simple gst_init() now is leakfree, yay.
16309
16310 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16313         (gst_xml_registry_load):
16314           plug another memleak
16315
16316 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16317
16318         * configure.ac:
16319           use GST_SET_ERROR_CFLAGS
16320         * docs/faq/cvs.xml:
16321           change to ERROR_CFLAGS
16322
16323 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
16324
16325         * configure.ac:
16326           make GST_ERROR_CFLAGS overridable and re-enable Werror
16327         * docs/faq/cvs.xml:
16328           add a note about error CFLAGS
16329         * docs/gst/tmpl/gstfakesrc.sgml:
16330         * gst/elements/gstfakesrc.c:
16331           comment out some unused code
16332         * gst/gst.c: (split_and_iterate):
16333         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16334         (load_feature):
16335           plug some memleaks
16336
16337 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16338
16339         * common/Makefile.am:
16340         * common/gtk-doc.mak:
16341         * docs/gst/Makefile.am:
16342           factor out gtk-doc.mak
16343
16344 2005-07-07  Wim Taymans  <wim@fluendo.com>
16345
16346         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16347         (gst_thread_scheduler_dispose):
16348         Unlock the STREAM_LOCK completely.
16349
16350 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16351
16352         * check/Makefile.am:
16353         * check/elements/.cvsignore:
16354         * check/elements/gstfakesrc.c: (chain_func), (event_func),
16355         (START_TEST), (fakesrc_suite), (main):
16356         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16357         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16358         (gst_fakesrc_create), (gst_fakesrc_start):
16359         * gst/elements/gstfakesrc.h:
16360           adding a first element test
16361
16362 2005-07-07  Andy Wingo  <wingo@pobox.com>
16363
16364         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16365         debug message.
16366
16367 2005-07-07  Wim Taymans  <wim@fluendo.com>
16368
16369         * gst/gstquery.c:
16370         * gst/gstquery.h:
16371         Remove old types
16372
16373 2005-07-07  Wim Taymans  <wim@fluendo.com>
16374
16375         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16376         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16377         Allow subclasses to implement their own negotiation.
16378
16379 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16380
16381         * docs/design/part-gstbin.txt:
16382         * docs/design/part-gstpipeline.txt:
16383           Update design notes to reflect the movement of
16384           responsibility for bus handling from GstPipeline to
16385           GstBin
16386
16387 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16388
16389         * configure.ac:
16390           Remove unnecessary queue2/3/4 examples.
16391
16392 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
16393
16394         * examples/Makefile.am:
16395         * examples/helloworld/helloworld.c: (event_loop), (main):
16396         * examples/queue/queue.c: (event_loop), (main):
16397         * examples/queue2/queue2.c: (main):
16398           Update a couple of the examples to work again.
16399
16400         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16401         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16402          Spelling corrections and extra debug.
16403         
16404         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16405         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16406         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16407         * gst/gstbin.h:
16408         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16409         (gst_pipeline_change_state):
16410         * gst/gstpipeline.h:
16411           Move the bus handler for children to the GstBin, and create a
16412           separate bus for receiving messages from children to the one the
16413           bus sends 'upwards' on.
16414
16415 2005-07-06  Wim Taymans  <wim@fluendo.com>
16416
16417         * gst/base/README:
16418         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16419         (gst_base_sink_handle_object), (gst_base_sink_loop),
16420         (gst_base_sink_change_state):
16421         * gst/base/gstbasesink.h:
16422         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16423         (gst_base_src_init), (gst_base_src_setcaps),
16424         (gst_base_src_getcaps), (gst_base_src_loop),
16425         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16426         (gst_base_src_start), (gst_base_src_change_state):
16427         * gst/base/gstbasesrc.h:
16428         Make basesrc negotiate.
16429         Handle the case where preroll fails in basesink.
16430         Update README.
16431
16432 2005-07-06  Wim Taymans  <wim@fluendo.com>
16433
16434         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16435         Implement the fixate function.
16436         Clean up acceptcaps.
16437
16438 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16439
16440         * docs/pwg/building-filterfactory.xml:
16441         * docs/pwg/pwg.xml:
16442           Remove never-written filter-factory chapter; I'll add the various
16443           base classes to part 4 ("other element types") later on.
16444
16445 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16446
16447         * docs/pwg/advanced-negotiation.xml:
16448         * docs/pwg/building-boiler.xml:
16449         * docs/pwg/building-pads.xml:
16450         * docs/pwg/pwg.xml:
16451         * examples/pwg/Makefile.am:
16452           Add a chapter on caps negotiation, simplify the original code
16453           samples a bit w.r.t. caps negotiation, add link to the advanced
16454           section. Add a bunch of examples showing different use cases of
16455           different types of caps negotiation. Upstream renegotiation isn't
16456           fully documented yet since nobody knows how that works.
16457
16458 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16459
16460         * check/gst/gstpad.c:
16461         * check/gstcheck.c:
16462         * gst/gstpad.c: (gst_pad_get_internal_links_default):
16463           if pad has no parent, return NULL as list of internal links
16464
16465 2005-07-05  Andy Wingo  <wingo@pobox.com>
16466
16467         * gst/elements/gstfilesrc.c:
16468         * gst/elements/gstfakesrc.c: 
16469         * gst/base/gstpushsrc.c:
16470         * gst/base/gstbasesrc.h: 
16471         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16472         
16473 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
16474
16475         * Makefile.am:
16476           better report generation target (lcov needs a patch)
16477
16478 2005-07-05  Andy Wingo  <wingo@pobox.com>
16479
16480         * gst/elements, testsuite: Null if we got it...
16481
16482 2005-07-05  Wim Taymans  <wim@fluendo.com>
16483
16484         * configure.ac:
16485         * libs/gst/dataprotocol/Makefile.am:
16486         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16487         * libs/gst/dataprotocol/dataprotocol.h:
16488         * pkgconfig/Makefile.am:
16489         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16490         * pkgconfig/gstreamer-dataprotocol.pc.in:
16491         Ported dataprotol to 0.9. 
16492         Added pkgconfig files.
16493
16494 2005-07-05  Andy Wingo  <wingo@pobox.com>
16495
16496         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16497         Default to returning TRUE for the case when tranform_caps returns
16498         a fixed caps, like for identity or volume.
16499
16500         * check/gst/gstbus.c (pound_bus_with_messages): 
16501         * check/gst/gstmessage.c (START_TEST): 
16502         * check/pipelines/simple_launch_lines.c (got_handoff): Application
16503         message API change.
16504
16505         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16506         logic weaks here: always run transform_caps, trying passthrough
16507         operation only if the original caps intersects with the transform.
16508
16509         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16510         source and sink caps.
16511
16512         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16513         Intersect the peer caps with the pad template before going into
16514         transform_caps.
16515         (gst_base_transform_transform_caps): More debugging.
16516
16517         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16518         src argument.
16519
16520 2005-07-04  Edward Hervey  <edward@fluendo.com>
16521
16522         * gst/gstutils.c:
16523         * gst/gstutils.h:
16524         (gst_pad_add_*_probe): now returns the signal id for better wrapping
16525         in bindings.
16526
16527 2005-07-04  Andy Wingo  <wingo@pobox.com>
16528
16529         * check/gst/gstpad.c: Only set explicit caps on pads.
16530
16531 2005-07-01  Andy Wingo  <wingo@pobox.com>
16532
16533         * tests/network-clock.scm: Commentary update.
16534
16535         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16536         Didn't really make sense, not implementable with basetransform,
16537         etc.
16538         (gst_identity_transform): Unref inbuf via make_writable. Feeble
16539         attempt at implementing the sync property, needs an unlock method.
16540
16541         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16542         New func, by default returns the same caps (the identity
16543         transformation).
16544         (gst_base_transform_getcaps): Uses transform_caps to return
16545         something sensible.
16546         (gst_base_transform_setcaps): Complicated logic to get caps on
16547         both pads, even if they are different, and to call set_caps once
16548         for every time both pads get their caps set.
16549         (gst_base_transform_handle_buffer): Give the ref to the transform
16550         function. Allows in-place modification of the buffer.
16551
16552         * gst/base/gstbasetransform.h (transform_caps): New class method.
16553         Given caps on one side, what can I do on the other.
16554         (set_caps): Take two caps, one for each side of the element.
16555
16556         * gst/gstpad.h:
16557         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16558         caps in place. This is safe because we can check the mutability of
16559         the caps, and a good idea because fixate functions are just called
16560         as a matter of last resort. (Not actually implemented.)
16561         (gst_pad_set_caps): If the caps we're setting is actually the same
16562         as the existing pad caps, just update the pointer without calling
16563         setcaps. Assert that caps is either NULL or fixed, as per the
16564         docs.
16565
16566         * gst/gstghostpad.c: Update for fixate changes.
16567
16568 2005-07-02  Andy Wingo  <wingo@pobox.com>
16569
16570         * gst/gstcaps.c:
16571         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16572         two refcounts makes it immutable, which is enough. Doc more.
16573
16574 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
16575
16576         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16577           Put the mini_object into GValue as a mini_object,
16578           not a gpointer, since that's how we declared
16579           the signal.
16580
16581 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16582
16583         * examples/pwg/Makefile.am:
16584           Fix buildbot again.
16585
16586 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16587
16588         * docs/pwg/building-testapp.xml:
16589           Add extra check.
16590         * examples/pwg/Makefile.am:
16591           Fix buildbot.
16592
16593 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16594
16595         * configure.ac:
16596         * examples/Makefile.am:
16597         * examples/pwg/Makefile.am:
16598         * examples/pwg/extract.pl:
16599           Enable building the PWG examples.
16600         * docs/pwg/advanced-interfaces.xml:
16601           Add URI interface stub.
16602         * docs/pwg/advanced-types.xml:
16603         * docs/pwg/other-autoplugger.xml:
16604         * docs/pwg/appendix-porting.xml:
16605         * docs/pwg/pwg.xml:
16606           Add porting guide (mostly stubs), remove autoplugging (see ADM).
16607         * docs/pwg/building-boiler.xml:
16608         * docs/pwg/building-chainfn.xml:
16609         * docs/pwg/building-pads.xml:
16610         * docs/pwg/building-props.xml:
16611         * docs/pwg/building-state.xml:
16612         * docs/pwg/building-testapp.xml:
16613           Update the building-*.xml parts for 0.9 changes. All examples
16614           code blocks compile in examples/pwg/*.
16615
16616 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16617
16618         * docs/manual/advanced-autoplugging.xml:
16619         * docs/manual/appendix-checklist.xml:
16620         * docs/manual/appendix-integration.xml:
16621         * docs/manual/highlevel-components.xml:
16622           Fix playbin/decodebin examples, update docs a bit, mention bus
16623           instead of signals in various places, mention kmplayer and
16624           kaffeine since they have a working GStreamer backend in the KDE
16625           section.
16626
16627 2005-06-30  Wim Taymans  <wim@fluendo.com>
16628
16629         * CHANGES-0.9:
16630         * docs/design/draft-ghostpads.txt:
16631         * docs/design/draft-push-pull.txt:
16632         * docs/design/draft-query.txt:
16633         * docs/design/part-TODO.txt:
16634         * docs/design/part-query.txt:
16635         Added CHANGES-0.9 doc, updated status of other docs.
16636         
16637         * gst/gstquery.h:
16638         Remove "hmm" macro
16639
16640 2005-06-30  Wim Taymans  <wim@fluendo.com>
16641
16642         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16643         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16644         (gst_base_sink_change_state):
16645         * gst/base/gstbasesink.h:
16646         Some tweaks, only EOS and a buffer complete a preroll.
16647
16648 2005-06-30  Andy Wingo  <wingo@pobox.com>
16649
16650         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16651         activate_push down to the internal pad as well.
16652
16653 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
16654
16655         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16656
16657         * gst/gsttaginterface.c:
16658           Some documentation fixes (#307394 and #307397).
16659
16660 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
16661
16662         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16663
16664         * gst/gstvalue.c: (gst_value_intersect_list):
16665           Fix memleak (#309125).
16666
16667 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16668
16669         * docs/manual/advanced-dataaccess.xml:
16670           Fix fakesrc example to compile; doesn't work, bug somewhere...?
16671         * docs/manual/basics-pads.xml:
16672           Add reference for filtered caps to above chapter.
16673
16674 2005-06-30  Wim Taymans  <wim@fluendo.com>
16675
16676         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16677         (gst_bin_change_state):
16678         Probes are gone.
16679         Lame attempt at making the state change function a bit
16680         more readable.
16681
16682 2005-06-30  Wim Taymans  <wim@fluendo.com>
16683
16684         * docs/design/part-clocks.txt:
16685         * docs/design/part-element-sink.txt:
16686         * docs/design/part-events.txt:
16687         * docs/design/part-preroll.txt:
16688         * docs/design/part-states.txt:
16689         Some more tweeks and additions to the docs.
16690
16691 2005-06-30  Wim Taymans  <wim@fluendo.com>
16692
16693         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16694         (default_have_data), (gst_pad_class_init), (gst_pad_init),
16695         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16696         (gst_pad_check_pull_range), (gst_pad_get_range),
16697         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16698         * gst/gstpad.h:
16699         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16700         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16701         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16702         (gst_pad_remove_buffer_probe):
16703         Removed atomic operations, use existing LOCK.
16704         Move exception handling out of main code path.
16705
16706 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16707
16708         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16709         (silly_return_true_function), (gst_pad_class_init),
16710         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16711         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16712         (gst_pad_send_event):
16713           Fix accumulator, add default value by using _emitv() instead
16714           of _emit() for signal emission.
16715
16716 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16717
16718         * docs/manual/advanced-dataaccess.xml:
16719         * examples/manual/Makefile.am:
16720           Add probe example.
16721         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16722           Make work (??).
16723
16724 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
16725
16726         * gst/elements/gstfilesink.c: (gst_filesink_render):
16727           Simplify code so that we don't have to handle short
16728           writes and return GST_FLOW_ERROR if an error occured.
16729
16730 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16731
16732         * docs/gst/gstreamer-docs.sgml:
16733           Remove probes more.
16734
16735 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16736
16737         * docs/gst/gstreamer-sections.txt:
16738         * docs/gst/tmpl/gstpad.sgml:
16739         * docs/gst/tmpl/gstprobe.sgml:
16740         * gst/Makefile.am:
16741         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16742         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16743         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16744         (gst_pad_push_event), (gst_pad_send_event):
16745         * gst/gstpad.h:
16746         * gst/gstutils.c: (gst_pad_add_data_probe),
16747         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16748         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16749         (gst_pad_remove_buffer_probe):
16750         * gst/gstutils.h:
16751           Remove old probes, add new g-signal-based probes and some utility
16752           functions.
16753
16754 2005-06-29  Edward Hervey  <edward@fluendo.com>
16755
16756         * gst/gstelementfactory.c:
16757         * gst/gstutils.h:
16758         * gst/gstutils.c:
16759         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16760         the definition to the header file.
16761
16762 2005-06-29  Andy Wingo  <wingo@pobox.com>
16763
16764         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16765         plugins from the source directory.
16766
16767 2005-06-29  Wim Taymans  <wim@fluendo.com>
16768
16769         * docs/gst/tmpl/gstbuffer.sgml:
16770         * docs/gst/tmpl/gstclock.sgml:
16771         Some fixings for blantently wrong text.
16772
16773 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16774
16775         * check/Makefile.am:
16776         * gst/gst.c: (add_path_func), (init_pre):
16777         * gst/gstregistry.c: (gst_registry_add_path):
16778           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16779           only scan the GST_PLUGIN_PATH locations, and not add
16780           system locations
16781
16782 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
16783
16784         * docs/gst/gstreamer-sections.txt:
16785         * docs/gst/tmpl/gstbasesrc.sgml:
16786         * gst/gstelement.c:
16787         * gst/gstelement.h:
16788         * gst/gstevent.c:
16789         * gst/gstutils.c:
16790           doc fixes
16791
16792 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16793
16794         * docs/manual/advanced-autoplugging.xml:
16795           Fix autoplugging example.
16796
16797 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16798
16799         * docs/manual/advanced-autoplugging.xml:
16800         * docs/manual/mime-world.fig:
16801           Try to get autoplugging working, fix type detection. Fix text
16802           in hello-world image.
16803
16804 2005-06-29  Wim Taymans  <wim@fluendo.com>
16805
16806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16807         (gst_base_sink_change_state):
16808         Small debug line.
16809
16810         * gst/gstclock.h:
16811         map SIGNAL and BROADCAST to the right function.
16812
16813         * gst/gstobject.h:
16814         Remove redundant braces.
16815
16816         * gst/gstpad.c: (gst_pad_set_caps):
16817         Don't call setcaps function when reseting caps to NULL.
16818
16819         * gst/gstsystemclock.c: (gst_system_clock_dispose),
16820         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16821         (gst_system_clock_id_unschedule):
16822         Use BROADCAST as this is what we do.
16823
16824 2005-06-29  Wim Taymans  <wim@fluendo.com>
16825
16826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16827         We are actually prerolling before commiting the state
16828         change. 
16829
16830 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16831
16832         * docs/manual/advanced-clocks.xml:
16833         * docs/manual/advanced-interfaces.xml:
16834         * docs/manual/advanced-metadata.xml:
16835         * docs/manual/advanced-position.xml:
16836         * docs/manual/advanced-schedulers.xml:
16837         * docs/manual/advanced-threads.xml:
16838         * docs/manual/appendix-porting.xml:
16839         * docs/manual/basics-bins.xml:
16840         * docs/manual/basics-bus.xml:
16841         * docs/manual/basics-elements.xml:
16842         * docs/manual/basics-helloworld.xml:
16843         * docs/manual/basics-pads.xml:
16844         * docs/manual/highlevel-components.xml:
16845         * docs/manual/manual.xml:
16846         * docs/manual/thread.fig:
16847           Update (until threads/scheduling) Application Development Manual;
16848           remove GstThread, add GstBus, add simple porting checklist, add
16849           documentation for tag writing, clocks, make all examples until this
16850           part compile and run.
16851         * examples/manual/Makefile.am:
16852           Update from changes to Application Development Manual; add bus
16853           example, remove thread example.
16854
16855 2005-06-28  Wim Taymans  <wim@fluendo.com>
16856
16857         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16858         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16859         (gst_bus_source_dispatch):
16860         Add debugging messages.
16861         Make internal methods static.
16862         Handle the case where the bus is flushed in the handler.
16863         
16864         * gst/gstelement.c: (gst_element_get_bus):
16865         Fix refcount in _get_bus();
16866
16867         * gst/gstpipeline.c: (gst_pipeline_change_state),
16868         (gst_pipeline_get_clock_func):
16869         Clock refcounting fixes.
16870         Handle the case where preroll timed out more gracefully.
16871         
16872         * gst/gstsystemclock.c: (gst_system_clock_dispose):
16873         Clean up the internal thread in dispose. This is needed
16874         for subclasses that actually get disposed.
16875         
16876         * gst/schedulers/threadscheduler.c:
16877         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16878         (gst_thread_scheduler_dispose):
16879         Free thread pool in dispose.
16880
16881 2005-06-28  Andy Wingo  <wingo@pobox.com>
16882
16883         * tests/network-clock-utils.scm (debug, print-event): New utils.
16884
16885         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16886         (*packet-loss*): Unified loss probability.
16887         (network-time): Report out-of-band events.
16888
16889         * tests/plot-data: Add support for out-of-band events. Hack it
16890         into this script instead of passing it down the pipe; should fix
16891         this later.
16892
16893 2005-06-28  Wim Taymans  <wim@fluendo.com>
16894
16895         * docs/gst/gstreamer.types:
16896         * docs/gst/tmpl/gstbasesrc.sgml:
16897         * docs/gst/tmpl/gstpad.sgml:
16898         Docs fixes.
16899
16900 2005-06-28  Wim Taymans  <wim@fluendo.com>
16901
16902         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16903         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16904         (gst_proxy_pad_do_fixatecaps):
16905         Correctly proxy the check_pull_range function.
16906
16907 2005-06-28  Andy Wingo  <wingo@pobox.com>
16908
16909         * tests/network-clock.scm: Removed need for slib.
16910         
16911 2005-06-28  Wim Taymans  <wim@fluendo.com>
16912
16913         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16914         (gst_basesink_preroll_queue_flush):
16915         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16916         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16917         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16918         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16919         (gst_proxy_pad_set_property):
16920         * gst/gstpad.c:
16921         * gst/gstpad.h:
16922         * gst/gstqueue.c: (gst_queue_init):
16923         The deprecated pad loop function is removed now.
16924
16925 2005-06-28  Andy Wingo  <wingo@pobox.com>
16926
16927         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16928         New parameters, simulate network packet loss.
16929
16930         * tests/network-clock-utils.scm: Initialize the RNG.
16931
16932 2005-06-28  Wim Taymans  <wim@fluendo.com>
16933
16934         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16935         (gst_basesink_event), (gst_basesink_deactivate):
16936         Flushing the preroll queue always needs to unlock the waiters.
16937
16938 2005-06-28  Edward Hervey  <edward@fluendo.com>
16939
16940         * gst/gstpipeline.c: (gst_pipeline_send_event): 
16941         Wheen a seek was successful on a pipeline, set the stream_time to the
16942         seek offset in order to have a synchronized stream_time.
16943
16944 2005-06-28  Wim Taymans  <wim@fluendo.com>
16945
16946         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16947         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16948         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16949         (gst_proxy_pad_do_fixatecaps):
16950         Call wrapper function instead of just calling the function
16951         pointers. This takes care of any locking and whatmore.
16952
16953 2005-06-28  Wim Taymans  <wim@fluendo.com>
16954
16955         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16956         (gst_pad_pull_range):
16957         * gst/gstpad.h:
16958         CONNECTED -> LINKED.
16959
16960 2005-06-28  Andy Wingo  <wingo@pobox.com>
16961
16962         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16963         source-munging commit!!!
16964
16965         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
16966         (gst_object_sink): Take gpointer arguments, not GstObject --
16967         avoids casts. Like GLib.
16968
16969         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16970         activate.
16971
16972 2005-06-27  Andy Wingo  <wingo@pobox.com>
16973
16974         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16975         remaining buffer.
16976
16977         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16978         returns a sorted copy of the trace list.
16979         (gst_alloc_trace_print_live): New API, only prints traces with
16980         live objects. Sort the list.
16981         (gst_alloc_trace_print_all): Sort the list.
16982         (gst_alloc_trace_print): Align columns.
16983
16984         * gst/elements/gstttypefindelement.c:
16985         * gst/elements/gsttee.c:
16986         * gst/base/gstbasesrc.c:
16987         * gst/base/gstbasesink.c:
16988         * gst/base/gstbasetransform.c:
16989         * gst/gstqueue.c: Adapt for pad activation changes.
16990
16991         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16992         sched.
16993         (gst_pipeline_dispose): Drop ref on sched.
16994
16995         * gst/gstpad.c (gst_pad_init): Set the default activate func.
16996         (gst_pad_activate_default): Push mode by default.
16997         (pre_activate_switch, post_activate_switch): New stubs, things to
16998         do before and after switching activation modes on pads.
16999         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17000         the pad's activate function to choose which mode to activate.
17001         Shortcut on deactivation and call the right function directly.
17002         (gst_pad_activate_pull): New API, (de)activates a pad in pull
17003         mode.
17004         (gst_pad_activate_push): New API, same for push mode.
17005         (gst_pad_set_activate_function) 
17006         (gst_pad_set_activatepull_function) 
17007         (gst_pad_set_activatepush_function): Setters for new API.
17008
17009         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17010         Trace all miniobjects.
17011         (gst_mini_object_make_writable): Unref the arg if we copy, like
17012         gst_caps_make_writable.
17013
17014         * gst/gstmessage.c (_gst_message_initialize): No trace init.
17015
17016         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
17017         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17018         Adapt for new pad API.
17019
17020         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17021
17022         * gst/gstelement.h:
17023         * gst/gstelement.c (gst_element_iterate_src_pads) 
17024         (gst_element_iterate_sink_pads): New API functions.
17025         
17026         * gst/gstelement.c (iterator_fold_with_resync): New utility,
17027         should fold into gstiterator.c in some form.
17028         (gst_element_pads_activate): Simplified via use of fold and
17029         delegation of decisions to gstpad->activate.
17030
17031         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17032         help in debugging.
17033
17034         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17035         class once in init, like gstmessage. Didn't run into this issue
17036         but it seems correct. Don't initialize a trace, gstminiobject does
17037         that.
17038
17039         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17040         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17041         to the bus.
17042         (assert_live_count): New util function, uses alloc traces to check
17043         cleanup.
17044
17045         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17046         To be modified when unlink drops the internal pad.
17047
17048 2005-06-27  Wim Taymans  <wim@fluendo.com>
17049
17050         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17051         (gst_bin_change_state):
17052         Cleanup the get_state() function a little, make sure it
17053         iterates the same set of elements.
17054         Added stub iterate_state_order().
17055
17056 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17057
17058         * docs/gst/gstreamer-docs.sgml:
17059         * docs/gst/gstreamer-sections.txt:
17060         * docs/gst/gstreamer.types:
17061         * docs/gst/tmpl/gstbasesink.sgml:
17062         * docs/gst/tmpl/gstbasesrc.sgml:
17063         * docs/gst/tmpl/gstbasetransform.sgml:
17064         * docs/gst/tmpl/gstelement.sgml:
17065         * docs/gst/tmpl/gstiterator.sgml:
17066         * gst/base/gstbasesrc.c:
17067         * gst/base/gstbasesrc.h:
17068         * gst/base/gstbasetransform.h:
17069         * gst/gstelement.c:
17070         * gst/gstiterator.h:
17071           adding basetransform and iterator docs
17072
17073 2005-06-27  Andy Wingo  <wingo@pobox.com>
17074
17075         * docs/design/part-activation.txt: Notes on how activation should
17076         work -- not quite implemented yet.
17077
17078 2005-06-25  Wim Taymans  <wim@fluendo.com>
17079
17080         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17081         At least get the chain function correct, needs more
17082         fixing.
17083
17084 2005-06-25  Wim Taymans  <wim@fluendo.com>
17085
17086         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17087         (gst_basesink_handle_object), (gst_basesink_event),
17088         (gst_basesink_do_sync), (gst_basesink_handle_event),
17089         (gst_basesink_change_state):
17090         * gst/gsttask.h:
17091         Right, two problems here: ghostpads don't take locks and
17092         glib _rec_mutex_lock_full() with depth==0 still locks.
17093         Catch illegal locking and g_warn them.
17094
17095 2005-06-25  Wim Taymans  <wim@fluendo.com>
17096
17097         * check/states/sinks.c: (START_TEST), (gst_object_suite):
17098         Have to check for completion now...
17099
17100 2005-06-25  Wim Taymans  <wim@fluendo.com>
17101
17102         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17103         (gst_basesink_handle_object), (gst_basesink_event),
17104         (gst_basesink_do_sync), (gst_basesink_handle_event),
17105         (gst_basesink_change_state):
17106         * gst/gstpad.h:
17107         Unlock STREAM_LOCK whatever the recursion was.
17108
17109 2005-06-25  Wim Taymans  <wim@fluendo.com>
17110
17111         * gst/base/gstbasesink.c: (gst_basesink_set_property),
17112         (gst_basesink_preroll_queue_empty),
17113         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17114         (gst_basesink_event), (gst_basesink_do_sync),
17115         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17116         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17117         (gst_basesink_change_state):
17118         Reworked the base sink, handle event and buffer serialisation
17119         correctly and removed possible deadlock.
17120         Handle EOS correctly.
17121
17122 2005-06-25  Wim Taymans  <wim@fluendo.com>
17123
17124         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17125         (gst_pipeline_change_state):
17126         * tools/gst-launch.c: (check_intr), (event_loop), (main):
17127         Allow elements to post EOS in the state change function.
17128         Fix up -launch, make it exit the poll loop when the
17129         pipeline actually changed state.
17130         Fix up warning parsing in -launch.
17131
17132 2005-06-25  Wim Taymans  <wim@fluendo.com>
17133
17134         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17135         (gst_tee_sink_activate):
17136         Core takes STREAM_LOCK for us now.
17137
17138 2005-06-25  Wim Taymans  <wim@fluendo.com>
17139
17140         * gst/gstelement.c: (gst_element_get_state_func),
17141         (gst_element_set_state):
17142         * gst/gstelement.h:
17143         * gst/gstmessage.c: (gst_message_parse_error),
17144         (gst_message_parse_warning):
17145         Keep track of current target state while performing a state
17146         change so that subclasses can do something interesting.
17147         Fix parsing of warning/error messages when GError is NULL.
17148
17149 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17150
17151         * docs/gst/Makefile.am:
17152         * docs/gst/gstreamer-docs.sgml:
17153         * docs/gst/gstreamer-sections.txt:
17154         * docs/gst/gstreamer.types:
17155         * docs/gst/tmpl/gstbasesink.sgml:
17156         * docs/gst/tmpl/gstbasesrc.sgml:
17157         * docs/gst/tmpl/gstbin.sgml:
17158         * docs/gst/tmpl/gstcompat.sgml:
17159         * docs/gst/tmpl/gstfakesink.sgml:
17160         * docs/gst/tmpl/gstfakesrc.sgml:
17161         * docs/gst/tmpl/gstfilesink.sgml:
17162         * docs/gst/tmpl/gstfilesrc.sgml:
17163         * docs/gst/tmpl/gstindex.sgml:
17164         * docs/manual/appendix-quotes.xml:
17165         * gst/base/gstbasesrc.h:
17166         * gst/elements/gstfakesrc.h:
17167         * gst/gstmessage.h:
17168           start pulling in base classes and elements in our docs
17169
17170 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
17171
17172         * docs/gst/Makefile.am:
17173         * docs/libs/Makefile.am:
17174           fixed make distcheck with gtk-doc 1.3
17175
17176 2005-06-23  Wim Taymans  <wim@fluendo.com>
17177
17178         * gst/gstelement.c: (gst_element_get_state_func),
17179         (gst_element_set_state), (gst_element_change_state):
17180         When the state did not change, also report NO_PREROLL
17181         when it matters.
17182
17183 2005-06-23  Wim Taymans  <wim@fluendo.com>
17184
17185         * gst/gstpad.c: (gst_pad_event_default):
17186         * gst/gstqueue.c: (gst_queue_loop):
17187         No unsafe task pausing please.
17188
17189 2005-06-23  Wim Taymans  <wim@fluendo.com>
17190
17191         * gst/schedulers/threadscheduler.c:
17192         (gst_thread_scheduler_task_start),
17193         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17194         Ref the task before pushing it on the threadpool. This
17195         makes sure that we have a ref when the threadfunction is
17196         actually called.
17197
17198 2005-06-23  Andy Wingo  <wingo@pobox.com>
17199
17200         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17201         offset is greater than the file's size.
17202
17203         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
17204         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17205         * gst/gstobject.c (gst_object_class_init): Make the class lock
17206         recursive. Wim won't let me drop deep_notify. Decodebin works
17207         again, whoopdy doo.
17208
17209         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17210         internal pad, and hacks accordingly. Doesn't do it on the target
17211         pad because we change its caps. Probably catches all cases of
17212         interest tho.
17213         (gst_ghost_pad_set_property): Connect to notify::caps as
17214         appropritate.
17215
17216         * tests/network-clock.scm (plot-simulation): Pipe data to the
17217         elite python skript.
17218
17219         * tests/network-clock-utils.scm (define-parameter): New macro,
17220         defines a parameter that can be set via the command line.
17221         (set-parameter!, parse-parameter-arguments): Command line args
17222         parser.
17223
17224         * tests/plot-data: Simple matplotlib-based plotter, takes input on
17225         stdin.
17226
17227 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
17228
17229         * gst/elements/gsttypefindelement.c:
17230         (gst_type_find_element_handle_event):
17231           Don't restart typefinding on a discont.
17232         * gst/gstelement.c: (gst_element_set_state):
17233           Debug spelling fix.
17234         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17235           Allow changing mode of an active pad.
17236           Debug output fixes.
17237         * gst/registries/gstlibxmlregistry.c: (load_feature):
17238           Don't cast a static pad template to a normal pad template.
17239
17240 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17241
17242         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17243         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17244           remove gst_strtoll completely, since it didn't actually do
17245           anything more than what g_ascii_strtoull already does.
17246           check for range errors when deserializing
17247           do a cast for the unsigned cases; but further fixing needs
17248           a decision on what the interpretation of "(int)" and
17249           deserialization should be for values that fall outside the
17250           type's boundaries (ie, refuse, or interpret as casting)
17251
17252 2005-06-23  Wim Taymans  <wim@fluendo.com>
17253
17254         * check/Makefile.am:
17255         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17256         * docs/design/part-live-source.txt:
17257         * docs/design/part-states.txt:
17258         * gst/base/gstbasesrc.c: (gst_basesrc_init),
17259         (gst_basesrc_set_live), (gst_basesrc_is_live),
17260         (gst_basesrc_get_range), (gst_basesrc_activate),
17261         (gst_basesrc_change_state):
17262         * gst/base/gstbasesrc.h:
17263         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17264         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17265         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17266         * gst/gstelement.c: (gst_element_get_state_func),
17267         (gst_element_set_state):
17268         * gst/gstelement.h:
17269         * gst/gsttypes.h:
17270         * tools/gst-launch.c: (event_loop), (main):
17271         Added support for live sources and other elements that
17272         cannot do preroll.
17273         Updated design docs, added live-source design doc.
17274         Implemented live source functionality in basesrc
17275         Fix error condition in _bin_get_state()
17276         Implement live source handling in -launch.
17277         Added check for live sources.
17278         Fixed case in GstBin where elements were changed state
17279         multiple times.
17280
17281
17282 2005-06-23  Andy Wingo  <wingo@pobox.com>
17283
17284         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17285         borken refcounting.
17286
17287         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17288         gst_caps_replace takes care of this for us.
17289
17290         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17291         gst_pad_set_caps on the target, not just its setcaps() function.
17292
17293         * tests/network-clock.scm: 
17294         * tests/network-clock-utils.scm: A network clock simulator.
17295         Something of an algorithmic testbed before doing something in C.
17296
17297 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17298
17299         * check/Makefile.am:
17300         * check/gst/capslist.h:
17301           copy over from 0.8, and add two with bitmasks specified with
17302           (int) 0xFF...
17303         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17304           add test to parse everything from capslist.h
17305         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17306         (main):
17307           add test for structure deserialization
17308         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17309           add tests for deserialization of strings to int types
17310         * gst/gststructure.c: (gst_structure_nth_field_name):
17311         * gst/gststructure.h:
17312           add a way to get the name of a field referenced by index
17313         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17314           instead of checking if the resulting long long lies between
17315           min and max, we check if the long long would fit into
17316           a number of bytes for the final type.
17317           This fixes cases where a string represents 2^32 - 1, which
17318           when cast to int would be the (valid) -1, but is bigger than
17319           G_MAXINT
17320
17321 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17322
17323         * gst/parse/grammar.y:
17324           add a log line for type deserialization
17325
17326 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17327
17328         * check/gst/gstvalue.c: (START_TEST):
17329         * gst/gstvalue.c: (gst_value_deserialize):
17330           return long long, not int, so gint64 deserialization actually
17331           works.  Is there any flag that makes the compiler check this ?
17332           Fixes #308559
17333
17334 2005-06-22  Wim Taymans  <wim@fluendo.com>
17335
17336         * gst/gstbuffer.h:
17337         Added convenience macros for setting buffers in GValue.
17338
17339 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17340
17341         * check/gst/.cvsignore:
17342         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17343           add a test deserializing int64, and comment part out because
17344           it fails, yay !
17345
17346 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
17347
17348         * check/Makefile.am:
17349         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17350         * testsuite/Makefile.am:
17351         * testsuite/caps/Makefile.am:
17352         * testsuite/caps/value_serialize.c:
17353         * testsuite/test_gst_init.c:
17354           move a value_serialize test over
17355
17356 2005-06-20  Wim Taymans  <wim@fluendo.com>
17357
17358         * gst/gstpad.c:
17359         Small doc updates.
17360         
17361         * gst/gstvalue.c: (gst_value_compare_buffer),
17362         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17363         (gst_value_compare_flags), (gst_value_serialize_flags),
17364         (gst_value_deserialize_flags), (_gst_value_initialize):
17365         Fix serialisation of buffers, they are not boxed types anymore
17366
17367 2005-06-20  Wim Taymans  <wim@fluendo.com>
17368
17369         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17370         Testcase to show error in buffer-on-caps serialisation.
17371
17372 2005-06-20  Andy Wingo  <wingo@pobox.com>
17373
17374         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17375         will be adding to later.
17376
17377         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17378         if its socks fill with rocks.
17379         (gst_system_clock_obtain): Set the name on object construction.
17380         Avoid double-checked locking.
17381
17382 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
17383
17384         * gst/gsturi.c: (gst_element_make_from_uri):
17385           Fix potential endless loop.
17386
17387 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17388
17389         * check/Makefile.am:
17390           add gsttag
17391         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17392         (main):
17393           move over from testsuite dir and clean up
17394         * configure.ac:
17395         * gst/gsttag.c:
17396         * testsuite/Makefile.am:
17397         * testsuite/tags/.cvsignore:
17398         * testsuite/tags/Makefile.am:
17399         * testsuite/tags/merge.c:
17400           remove testsuite/tags
17401
17402 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17403
17404         * docs/gst/gstreamer-sections.txt:
17405         * docs/gst/tmpl/gstenumtypes.sgml:
17406         * win32/gstenumtypes.c:
17407           clean up documentation build a little
17408
17409 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17410
17411         * check/gstcheck.h:
17412           add macros for checking refcounts on objects and caps
17413         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17414           add some more unit tests
17415         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17416         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17417           fix leaked refcounts (I hope :)) so unittest works
17418         * gst/gstpad.h:
17419           whitespace removal
17420
17421 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17422
17423         * configure.ac: back to HEAD
17424
17425 === release 0.9.1 ===
17426
17427 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17428
17429         * NEWS:
17430         * RELEASE:
17431           updated
17432
17433 2005-06-17  Andy Wingo  <wingo@pobox.com>
17434
17435         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17436         assert; it's always possible that the pad gets deactivated in
17437         between the checks in gstpad.c and the implementation. Rely on
17438         finish_preroll() to return a FLUSHING or similar instead of on the
17439         assert.
17440         
17441         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17442         clock and post an EOS message if we come out of finish_preroll in
17443         the playing state.
17444
17445 2005-06-16  David Schleef  <ds@schleef.org>
17446
17447         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17448         (gst_capsfilter_set_property): Allow NULL as possible value
17449         for filter_caps property, indicating GST_CAPS_ANY.
17450
17451 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17452
17453         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17454           fix debug output
17455         * gst/schedulers/Makefile.am:
17456           use libgst prefix
17457         * gstreamer.spec.in:
17458           fix spec for it
17459
17460 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
17461
17462         * gstreamer.spec.in:
17463           clean up
17464
17465 2005-06-08  Andy Wingo  <wingo@pobox.com>
17466
17467         * gst/gstutils.c: RPAD fixes all around.
17468         (gst_element_link_pads): Refcounting fixes.
17469
17470         * tools/gst-inspect.c:
17471         * tools/gst-xmlinspect.c:
17472         * parse/grammar.y:
17473         * gst/base/gsttypefindhelper.c:
17474         * gst/base/gstbasesink.c:
17475         * gst/gstqueue.c: RPAD fixes.
17476
17477         * gst/gstghostpad.h:
17478         * gst/gstghostpad.c: New ghost pad implementation as full proxy
17479         pads. The tricky thing is they provide both source and sink
17480         interfaces, since they proxy the internal pad for the external
17481         pad, and vice versa. Implement with lower-level ProxyPad objects,
17482         with the interior proxy pad as a child of the exterior ghost pad.
17483         Should write a doc on this.
17484         
17485         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17486         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17487         gst_object API.
17488         
17489         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17490         pads are real pads. No ghost pads in this file. Not documenting
17491         the myriad s/RPAD/PAD/ and REALIZE fixes.
17492         (gst_pad_class_init): Add properties for "direction" and
17493         "template". Both are construct-only, so they can't change during
17494         the life of the pad. Fixes properly deriving from GstPad.
17495         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17496         derived objects, just set properties when creating the objects via
17497         g_object_new.
17498         (gst_pad_get_parent): Implement as a function, return NULL if the
17499         parent is not an element.
17500         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17501         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17502         
17503         * gst/gstobject.c (gst_object_class_init): Make name a construct
17504         property. Don't set it in the object init.
17505
17506         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17507         with UNKNOWN direction.
17508         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17509         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17510         (gst_element_remove_pad): Remove ghost-pad special cases.
17511         (gst_element_pads_activate): Remove rpad cruft.
17512
17513         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17514         catch the pad's-parent-not-an-element case.
17515
17516         * gst/gst.h: Include gstghostpad.h.
17517
17518         * gst/gst.c (init_post): No more real, ghost pads.
17519
17520         * gst/Makefile.am: Add gstghostpad.[ch].
17521
17522         * check/Makefile.am:
17523         * check/gst/gstbin.c:
17524         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17525         into a bin creates ghost pads, and that the refcounts are right.
17526         Partly moved from gstbin.c.
17527
17528 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17529
17530         * check/gst-libs/.cvsignore:
17531         * check/gst/.cvsignore:
17532         * check/pipelines/.cvsignore:
17533           ignore more
17534         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17535         (START_TEST), (cleanup_suite), (main):
17536           add some tests related to cleanup after running pipelines
17537
17538 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17539
17540         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17541           add a testsuite for GstBuffer
17542
17543 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
17544
17545         * gst/gstminiobject.h:
17546           add defines for accessing the refcount
17547
17548 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
17549
17550         * Makefile.am: added support for html unit test coverage reports
17551
17552 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
17553
17554         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17555           Free existing caps if the capsfilter changes. Add a FIXME about
17556           setting those caps on the pads.
17557
17558         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17559           Before adding a ghost pad to a parent bin, check that there isn't
17560           already one for the element on the bin. Prevents infinite recursion
17561           when using decodebin in parse pipelines. Andy says he'll rewrite the
17562           way this works anyway, so ignore the hack.
17563
17564 2005-06-02  Andy Wingo  <wingo@pobox.com>
17565
17566         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17567         file size, pass it on to the type find helper.
17568
17569         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17570         segment_start and segment_end properly according to the seek
17571         method. Segment_end is still a bit flaky because offset can be
17572         negative for CUR and END cases, but it takes -1 as an "unset"
17573         value.
17574
17575 2005-06-02  Wim Taymans  <wim@fluendo.com>
17576
17577         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17578         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17579         (gst_basesink_activate):
17580         * gst/base/gstbasesink.h:
17581         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17582         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17583         (gst_pad_query), (gst_pad_start_task):
17584         * gst/gstpad.h:
17585         * gst/gstqueue.c: (gst_queue_bufferalloc),
17586         (gst_queue_handle_sink_event), (gst_queue_chain):
17587         Bufferalloc: return GstFlowReturn to more accuratly report
17588         why allocation failed.
17589
17590 2005-06-02  Wim Taymans  <wim@fluendo.com>
17591
17592         * gst/gstpipeline.c: (gst_pipeline_send_event):
17593         Take snapshot of state without blocking.
17594
17595 2005-06-02  Wim Taymans  <wim@fluendo.com>
17596
17597         * docs/design/part-TODO.txt:
17598         * docs/design/part-caps.txt:
17599         * docs/design/part-clocks.txt:
17600         * docs/design/part-negotiation.txt:
17601         * docs/design/part-preroll.txt:
17602         Small doc updates 
17603
17604 2005-05-30  Wim Taymans  <wim@fluendo.com>
17605
17606         * gst/elements/gstidentity.c: (gst_identity_event),
17607         (gst_identity_transform), (gst_identity_get_property):
17608         Protect last_message property as it is accessed from
17609         multiple threads.
17610
17611 2005-05-30  Wim Taymans  <wim@fluendo.com>
17612
17613         * gst/gstelement.c: (gst_element_init),
17614         (gst_element_pads_activate), (gst_element_change_state):
17615         Slicker pad activation code.
17616
17617 2005-05-30  Wim Taymans  <wim@fluendo.com>
17618
17619         * gst/Makefile.am:
17620         * gst/gstelement.h:
17621         * gst/gstelementfactory.h:
17622         * gst/gsttypes.h:
17623         Move elementfactory methods to separate .h file.
17624
17625 2005-05-30  Wim Taymans  <wim@fluendo.com>
17626
17627         * docs/design/part-overview.txt:
17628         * gst/gstsystemclock.h:
17629         Small typo fixes, doc updates.
17630
17631 2005-05-30  Wim Taymans  <wim@fluendo.com>
17632
17633         * gst/gst.c: (gst_init_get_popt_table), (init_post),
17634         (init_popt_callback):
17635         Remove cpu-opt flag.
17636
17637 2005-05-30  Wim Taymans  <wim@fluendo.com>
17638
17639         * gst/gstbuffer.c: (gst_subbuffer_finalize),
17640         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17641         * gst/gstbuffer.h:
17642         Avoid typechecking in places where not needed.
17643         Added accessor for malloc_data.
17644
17645 2005-05-30  Wim Taymans  <wim@fluendo.com>
17646
17647         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17648         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17649         (gst_pad_configure_sink), (gst_pad_configure_src),
17650         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17651         (gst_pad_start_task):
17652         Propagate errors from _set_caps() in configure_src/sink
17653         functions instead of returning TRUE.
17654         FLUSH events can travel up and downstream
17655
17656
17657 2005-05-30  Wim Taymans  <wim@fluendo.com>
17658
17659         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17660         (gst_basesink_activate):
17661         Handle EOS in preroll.
17662
17663 2005-05-30  Wim Taymans  <wim@fluendo.com>
17664
17665         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17666         (gst_queue_loop), (gst_queue_handle_src_event):
17667         Remove old pieces of code
17668         Flushing the queue in an upstream event is a very bad idea.
17669
17670 2005-05-26  Andy Wingo  <wingo@pobox.com>
17671
17672         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17673         gst_value_set_mini_object so as to add a ref on the object (which
17674         will be removed when the value is unset).
17675
17676         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17677         arg type in ::handoff.
17678
17679         * gst/gstelement.c (gst_element_change_state): Also deactivate
17680         pads in READY->NULL, just in case the element didn't make it to
17681         PAUSED. Wingo tested, Wim approved.
17682
17683 2005-05-26  Wim Taymans  <wim@fluendo.com>
17684
17685         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17686         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17687         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17688         A flushing pad cannot be used to alloc_buffer from.
17689
17690 2005-05-26  Wim Taymans  <wim@fluendo.com>
17691
17692         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17693         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17694         (gst_bus_source_dispatch), (gst_bus_source_finalize),
17695         (gst_bus_create_watch), (gst_bus_add_watch_full):
17696         * gst/gstbus.h:
17697         Implement a real GSource and use g_main_context_wakeup() to
17698         signal new messages instead of the socketpair.
17699
17700 2005-05-25  Wim Taymans  <wim@fluendo.com>
17701
17702         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17703         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17704         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17705         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17706         (gst_pad_send_event), (gst_pad_start_task):
17707         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17708         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17709         (gst_queue_sink_activate), (gst_queue_src_activate),
17710         (gst_queue_change_state):
17711         * gst/gstqueue.h:
17712         Fix state changes for non sinks. We now change sinks, then elements
17713         with unconnected srcpads, then the rest.
17714         More efficient queue unlocking in flush and state changes.
17715         Set the pad activate mode even if it does not have an activate
17716         function.
17717
17718 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17719
17720         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17721           Don't go in pull mode for non-seekable sources.
17722         * gst/elements/gsttypefindelement.h:
17723         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17724         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17725         (free_entry), (stop_typefinding),
17726         (gst_type_find_element_handle_event), (find_peek),
17727         (gst_type_find_element_chain), (do_pull_typefind),
17728         (gst_type_find_element_change_state):
17729           Allow typefinding (w/o seeking) in push-mode, simplified version
17730           of what was in 0.8.
17731         * gst/gstutils.c: (gst_buffer_join):
17732         * gst/gstutils.h:
17733           gst_buffer_join() from 0.8.
17734
17735 2005-05-25  Wim Taymans  <wim@fluendo.com>
17736
17737         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17738         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17739         (gst_pad_send_event), (gst_pad_start_task):
17740         Disable attempt at mode switching until it is figured out.
17741
17742 2005-05-25  Wim Taymans  <wim@fluendo.com>
17743
17744         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17745         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17746         (gst_basesink_finish_preroll), (gst_basesink_chain),
17747         (gst_basesink_loop), (gst_basesink_activate),
17748         (gst_basesink_change_state):
17749         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17750         (gst_basesrc_get_range), (gst_basesrc_loop),
17751         (gst_basesrc_activate):
17752         * gst/elements/gsttee.c: (gst_tee_sink_activate):
17753         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17754         (gst_real_pad_init), (gst_real_pad_set_property),
17755         (gst_real_pad_get_property), (gst_pad_set_active),
17756         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17757         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17758         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17759         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17760         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17761         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17762         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17763         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17764         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17765         (gst_pad_stop_task):
17766         * gst/gstpad.h:
17767         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17768         (gst_queue_loop), (gst_queue_src_activate):
17769         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17770         (gst_task_get_state):
17771         * gst/gsttask.h:
17772         * gst/schedulers/threadscheduler.c:
17773         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17774         Implement gst_pad_pause/start/stop_task(), take STREAM lock
17775         in task function.
17776         Remove ACTIVE pad flag, use FLUSHING everywhere
17777         Added _pad_chain(), _pad_get_range() to call chain/getrange 
17778         functions.
17779         Add locks around IS_FLUSHING when reading.
17780         Take STREAM lock in chain(), get_range() functions so plugins
17781         don't need to take it anymore.
17782         
17783
17784
17785 2005-05-25  Wim Taymans  <wim@fluendo.com>
17786
17787         * tools/gst-launch.c: (event_loop):
17788         Unref message after using its contents instead of
17789         before.
17790
17791 2005-05-24  Wim Taymans  <wim@fluendo.com>
17792
17793         * docs/design/draft-ghostpads.txt:
17794         * docs/design/draft-push-pull.txt:
17795         * docs/design/draft-query.txt:
17796         * docs/design/part-overview.txt:
17797         Docs updates, added general overview doc.
17798
17799 2005-05-21  David Schleef  <ds@schleef.org>
17800
17801         * docs/gst/tmpl/old/GstBin.sgml:
17802         * docs/gst/tmpl/old/GstBuffer.sgml:
17803         * docs/gst/tmpl/old/GstCaps.sgml:
17804         * docs/gst/tmpl/old/GstClock.sgml:
17805         * docs/gst/tmpl/old/GstCompat.sgml:
17806         * docs/gst/tmpl/old/GstData.sgml:
17807         * docs/gst/tmpl/old/GstElement.sgml:
17808         * docs/gst/tmpl/old/GstEvent.sgml:
17809         * docs/gst/tmpl/old/GstIndex.sgml:
17810         * docs/gst/tmpl/old/GstStructure.sgml:
17811         * docs/gst/tmpl/old/GstTag.sgml:
17812         * docs/gst/tmpl/old/cothreads.sgml:
17813         * docs/gst/tmpl/old/cothreads_compat.sgml:
17814         * docs/gst/tmpl/old/gettext.sgml:
17815         * docs/gst/tmpl/old/gobject2gtk.sgml:
17816         * docs/gst/tmpl/old/grammar.tab.sgml:
17817         * docs/gst/tmpl/old/gst-i18n-app.sgml:
17818         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17819         * docs/gst/tmpl/old/gst_private.sgml:
17820         * docs/gst/tmpl/old/gstaggregator.sgml:
17821         * docs/gst/tmpl/old/gstarch.sgml:
17822         * docs/gst/tmpl/old/gstatomic_impl.sgml:
17823         * docs/gst/tmpl/old/gstbufferstore.sgml:
17824         * docs/gst/tmpl/old/gstdata_private.sgml:
17825         * docs/gst/tmpl/old/gstdisksink.sgml:
17826         * docs/gst/tmpl/old/gstdisksrc.sgml:
17827         * docs/gst/tmpl/old/gstelementfactory.sgml:
17828         * docs/gst/tmpl/old/gstextratypes.sgml:
17829         * docs/gst/tmpl/old/gstfakesink.sgml:
17830         * docs/gst/tmpl/old/gstfakesrc.sgml:
17831         * docs/gst/tmpl/old/gstfdsink.sgml:
17832         * docs/gst/tmpl/old/gstfdsrc.sgml:
17833         * docs/gst/tmpl/old/gstfilesink.sgml:
17834         * docs/gst/tmpl/old/gstfilesrc.sgml:
17835         * docs/gst/tmpl/old/gsthttpsrc.sgml:
17836         * docs/gst/tmpl/old/gstidentity.sgml:
17837         * docs/gst/tmpl/old/gstindexfactory.sgml:
17838         * docs/gst/tmpl/old/gstmarshal.sgml:
17839         * docs/gst/tmpl/old/gstmd5sink.sgml:
17840         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17841         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17842         * docs/gst/tmpl/old/gstpadtemplate.sgml:
17843         * docs/gst/tmpl/old/gstpipefilter.sgml:
17844         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17845         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17846         * docs/gst/tmpl/old/gstshaper.sgml:
17847         * docs/gst/tmpl/old/gstspider.sgml:
17848         * docs/gst/tmpl/old/gstspideridentity.sgml:
17849         * docs/gst/tmpl/old/gststatistics.sgml:
17850         * docs/gst/tmpl/old/gsttee.sgml:
17851         * docs/gst/tmpl/old/gsttimecache.sgml:
17852         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17853         * docs/gst/tmpl/old/gstxmlregistry.sgml:
17854         * docs/gst/tmpl/old/gthread-cothreads.sgml:
17855         * docs/gst/tmpl/old/types.sgml:
17856           I didn't intend to add these or check them in.
17857
17858 2005-05-19  David Schleef  <ds@schleef.org>
17859
17860         * configure.ac: Use -no-common everywhere.  In a sane world, it
17861           would be the default in libtool, because without it, you can't
17862           build DLLs on Windows.
17863         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17864         * docs/gst/gstreamer-sections.txt:
17865         * docs/gst/tmpl/gstcpu.sgml:
17866         * docs/gst/tmpl/gstdata.sgml:
17867         * docs/gst/tmpl/gstthread.sgml:
17868
17869 2005-05-19  David Schleef  <ds@schleef.org>
17870
17871         * gst/gstminiobject.c: (gst_value_set_mini_object),
17872         (gst_value_take_mini_object), (gst_value_get_mini_object):
17873         * gst/gstminiobject.h: Add GValue set/get functions.
17874
17875 2005-05-19  Wim Taymans  <wim@fluendo.com>
17876
17877         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17878         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17879         (gst_subbuffer_init), (gst_buffer_is_span_fast):
17880         * gst/gstbuffer.h:
17881         * gst/gstbus.c: (gst_bus_post):
17882         * gst/gstelement.c: (gst_element_get_random_pad):
17883         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17884         Make subbufer unref the parent in finalize.
17885         some more debugging info.
17886
17887
17888 2005-05-19  Wim Taymans  <wim@fluendo.com>
17889
17890         * gst/base/gstbasesink.c: (gst_basesink_class_init),
17891         (gst_basesink_init), (gst_basesink_finalize),
17892         (gst_basesink_activate), (gst_basesink_change_state):
17893         Don't free preroll queue too early.
17894
17895 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17896
17897         * gst/Makefile.am:
17898         * gst/ROADMAP:
17899           Hi, I'm outdated. Please shoot me.
17900
17901 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17902
17903         * gst/gstpipeline.c: (gst_pipeline_send_event):
17904           Do not access variables after they have been deleted.
17905
17906 2005-05-19  Wim Taymans  <wim@fluendo.com>
17907
17908         * tools/gst-inspect.c: (print_plugin_features):
17909         A plugin feature does unfortunatly not use the
17910         object name yet...
17911
17912 2005-05-18  Wim Taymans  <wim@fluendo.com>
17913
17914         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17915         Port _span() functions to new subbuffers.
17916
17917 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17918
17919         * gst/gstbin.c: (gst_bin_add_func):
17920           Fix clock settery in bins when adding kids after the clock has
17921           been selected.
17922
17923 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17924
17925         * gst/elements/gstidentity.c: (gst_identity_class_init):
17926           Workaround until signals support GstMiniObject.
17927
17928 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
17929
17930         * gst/gstbuffer.c:
17931         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17932
17933 2005-05-18  Wim Taymans  <wim@fluendo.com>
17934
17935         * gst/base/Makefile.am:
17936         * gst/base/gstadapter.c: (gst_adapter_base_init),
17937         (gst_adapter_class_init), (gst_adapter_init),
17938         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17939         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17940         (gst_adapter_flush), (gst_adapter_available),
17941         (gst_adapter_available_fast):
17942         * gst/base/gstadapter.h:
17943         Ported and added adapter to the base classes.
17944
17945 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17946
17947         * gst/gst.c:
17948         * gst/gstmessage.c:
17949           Make sure the class is reffed/unreffed once before threads can be
17950           used.  Fixes #304551.
17951
17952 2005-05-17  Wim Taymans  <wim@fluendo.com>
17953
17954         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17955         (gst_basesink_chain_unlocked), (gst_basesink_activate):
17956         * gst/gstminiobject.c: (gst_mini_object_get_type),
17957         (gst_mini_object_free):
17958         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17959         (gst_pad_push), (gst_pad_push_event):
17960         * gst/gstqueue.c: (gst_queue_change_state):
17961         Don't queue buffers in basesink when we are flushing.
17962         Unref buffer when flushing in basesink.
17963         Flush queue when going to READY
17964         Unref buffer when _push() returns an error.
17965         Don't free MiniObject instance when refcount is incremented
17966         in _finalize() so that we can recover objects.
17967
17968 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17969
17970         * docs/manual/advanced-schedulers.xml:
17971         * docs/manual/appendix-checklist.xml:
17972         * docs/pwg/advanced-clock.xml:
17973         * docs/pwg/advanced-interfaces.xml:
17974         * docs/pwg/advanced-request.xml:
17975         * docs/pwg/advanced-types.xml:
17976         * docs/pwg/intro-preface.xml:
17977         * examples/plugins/example.c: (gst_example_get_type),
17978         (gst_example_class_init), (gst_example_chain),
17979         (gst_example_set_property), (gst_example_get_property),
17980         (gst_example_change_state), (plugin_init):
17981         * examples/plugins/example.h:
17982           small doc fixes
17983
17984 2005-05-17  Wim Taymans  <wim@fluendo.com>
17985
17986         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17987         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17988         * gst/gstqueue.c: (gst_queue_change_state):
17989         Clear queue when going to READY.
17990         Remove IN_SETCAPS flag too.
17991
17992 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
17993
17994         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17995           Remove implicit cast from gboolean to GstElementStateReturn;
17996           make sure we still return failure in paused => ready case if
17997           the parent class fails to change state and our own stop 
17998           vfunc succeeds.
17999
18000 2005-05-17  Wim Taymans  <wim@fluendo.com>
18001
18002         * tools/gst-launch.c: (event_loop):
18003         Message was unreffed too soon.
18004
18005 2005-05-16  Andy Wingo  <wingo@pobox.com>
18006
18007         * gst/gstbin.c (sink_iterator_filter): Err... um...
18008
18009         * check/gst/gstbin.c (test_ghost_pads): New test for the
18010         ghosting-if-elements-not-in-same-bin behavior.
18011
18012 2005-05-16  David Schleef  <ds@schleef.org>
18013
18014         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18015         accessing refcount directly.
18016
18017 2005-05-15  David Schleef  <ds@schleef.org>
18018
18019         * check/Makefile.am: remove GstData checks
18020         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18021         * gst/Makefile.am: add miniobject, remove data
18022         * gst/gst.h: add miniobject, remove data
18023         * gst/gstdata.c: remove
18024         * gst/gstdata.h: remove
18025         * gst/gstdata_private.h: remove
18026         * gst/gsttypes.h: remove GstEvent and GstMessage
18027         * gst/gstelement.c: (gst_element_post_message): fix for API changes
18028         * gst/gstmarshal.list: change BOXED -> OBJECT
18029
18030         Implement GstMiniObject.
18031         * gst/gstminiobject.c:
18032         * gst/gstminiobject.h:
18033
18034         Modify to be subclasses of GstMiniObject.
18035         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18036         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18037         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18038         (gst_subbuffer_get_type), (gst_subbuffer_init),
18039         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18040         (gst_buffer_span):
18041         * gst/gstbuffer.h:
18042         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18043         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18044         (_gst_event_copy), (gst_event_new):
18045         * gst/gstevent.h:
18046         * gst/gstmessage.c: (_gst_message_initialize),
18047         (gst_message_get_type), (gst_message_class_init),
18048         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18049         (gst_message_new), (gst_message_new_error),
18050         (gst_message_new_warning), (gst_message_new_tag),
18051         (gst_message_new_state_changed), (gst_message_new_application):
18052         * gst/gstmessage.h:
18053         * gst/gstprobe.c: (gst_probe_perform),
18054         (gst_probe_dispatcher_dispatch):
18055         * gst/gstprobe.h:
18056         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18057         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18058         (_gst_query_copy), (gst_query_new):
18059
18060         Update elements for GstData -> GstMiniObject changes
18061         * gst/gstquery.h:
18062         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18063         (gst_queue_chain), (gst_queue_loop):
18064         * gst/elements/gstbufferstore.c:
18065         (gst_buffer_store_add_buffer_func),
18066         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18067         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18068         (gst_fakesink_render):
18069         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18070         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18071         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18072         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18073         (gst_filesrc_create_read):
18074         * gst/elements/gstidentity.c: (gst_identity_class_init):
18075         * gst/elements/gsttypefindelement.c:
18076         (gst_type_find_element_src_event), (free_entry_buffers),
18077         (gst_type_find_element_handle_event):
18078         * libs/gst/dataprotocol/dataprotocol.c:
18079         (gst_dp_header_from_buffer):
18080         * libs/gst/dataprotocol/dataprotocol.h:
18081         * libs/gst/dataprotocol/dp-private.h:
18082
18083 2005-05-15  David Schleef  <ds@schleef.org>
18084
18085         * gst/elements/gstelements.c: Don't include headers that were
18086         just removed.
18087
18088 2005-05-15  David Schleef  <ds@schleef.org>
18089
18090         * gst/elements/Makefile.am: Remove some elements that don't
18091         need to be in the core (or even exist at all).
18092         * gst/elements/gstaggregator.c:
18093         * gst/elements/gstaggregator.h:
18094         * gst/elements/gstmd5sink.c:
18095         * gst/elements/gstmd5sink.h:
18096         * gst/elements/gstmultifilesrc.c:
18097         * gst/elements/gstmultifilesrc.h:
18098         * gst/elements/gstpipefilter.c:
18099         * gst/elements/gstpipefilter.h:
18100         * gst/elements/gstshaper.c:
18101         * gst/elements/gstshaper.h:
18102         * gst/elements/gststatistics.c:
18103         * gst/elements/gststatistics.h:
18104         * po/POTFILES.in: Remove above files.
18105
18106 2005-05-14  Andy Wingo  <wingo@pobox.com>
18107
18108         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18109         so as to get the refs right.
18110         (sink_iterator_filter): New function, wraps bin_element_is_sink,
18111         unreffing objects that don't pass the filter.
18112
18113         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18114         gst_element_set_bus.
18115         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18116         normal cases, this will destroy the bus.
18117
18118         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18119         object.
18120
18121         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18122         has no sinks.
18123
18124 2005-05-13  Andy Wingo  <wingo@pobox.com>
18125
18126         * gst/gstutils.c (gst_element_link_pads): Instead of calling
18127         gst_pad_link, call pad_link_maybe_ghosting,
18128         (pad_link_maybe_ghosting): Links pads, making sure that the
18129         elements being linked are in the same bin.
18130         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18131         Helpers for pad_link_maybe_ghosting.
18132
18133 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18134
18135         * configure.ac:
18136           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18137
18138 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
18139
18140         * docs/design/part-element-source.txt:
18141           Mention GstPushSrc
18142
18143 2005-05-12  Wim Taymans  <wim@fluendo.com>
18144
18145         * gst/base/gstbasesink.c: (gst_basesink_init),
18146         (gst_basesink_activate):
18147         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18148         (gst_basesrc_is_seekable):
18149         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18150         (bin_element_is_sink), (gst_bin_change_state):
18151         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18152         * gst/gstelement.h:
18153         Identify sinks by their flag to avoid overly complicated
18154         checks (fow now).
18155         Do state changes even for elements not reachable from the
18156         sinks.
18157         BaseSink is a sink now :)
18158         Some more debugging info in the basesrc.
18159
18160
18161 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18162
18163         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18164           Implement _query on a bin, similar to _send_event.
18165
18166 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
18167
18168         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18169           Discont event offset format should be GST_FORMAT_BYTES,
18170           not GST_FORMAT_TIME.
18171
18172 2005-05-12  Wim Taymans  <wim@fluendo.com>
18173
18174         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18175         Same fix as Ronald's but without the signal. 
18176
18177 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18178
18179         * gst/gstutils.c: (gst_element_query_position):
18180           No, an element is not a pad.
18181
18182 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18183
18184         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18185         (gst_bin_get_state):
18186           If a child is removed from a bin while we remove the child from
18187           the bin and while we're retrieving its state, signal this to the
18188           get_state function so we abort the wait (instead of waiting for
18189           a timeout) and can immediately re-iterate over all other elements.
18190
18191 2005-05-12  Wim Taymans  <wim@fluendo.com>
18192
18193         * gst/base/Makefile.am:
18194         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18195         (gst_basesrc_start):
18196         * gst/base/gstbasesrc.h:
18197         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18198         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18199         (gst_pushsrc_init), (gst_pushsrc_create):
18200         * gst/base/gstpushsrc.h:
18201         Added is_seekable to BaseSrc
18202         Added simple PushSrc.
18203
18204 2005-05-11  Wim Taymans  <wim@fluendo.com>
18205
18206         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18207         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18208         (gst_element_link_pads), (gst_element_query_position),
18209         (gst_element_query_convert), (intersect_caps_func),
18210         (gst_pad_query_position), (gst_pad_query_convert):
18211         Fix refcounting in utils function.
18212         No point in trying to activate a pad when it's added, it could
18213         be added from the state change function and then we deadlock, the
18214         element has to decide what to do.
18215
18216 2005-05-10  Andy Wingo  <wingo@pobox.com>
18217
18218         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18219         *all* the arguments.
18220
18221         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18222         stream lock if it's a FLUSH_DONE; normal flushes don't get the
18223         lock (according to the docs -- if this is wrong change the docs).
18224
18225         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18226         flush messages in the NULL state.
18227
18228         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18229         message immediately and return.
18230         (gst_bus_set_flushing): New function. If a bus is flushing, it
18231         flushes out any queued messages and immediately unrefs new
18232         messages. This is so when an element goes to NULL, all of the
18233         unhandled messages coming from it can be freed, and their
18234         references to the element dropped. In other words: message source
18235         ref considered harmful :P
18236
18237         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18238         we're finished with it.
18239
18240         * gst/gstmessage.c (gst_message_new_state_changed): 
18241
18242 2005-05-10  Wim Taymans  <wim@fluendo.com>
18243
18244         * gst/gstvalue.c: (gst_value_compare_flags),
18245         (gst_value_serialize_flags), (gst_value_deserialize_flags),
18246         (_gst_value_initialize):
18247         Added flags serialize/deserialize/compare code.
18248
18249 2005-05-09  Andy Wingo  <wingo@pobox.com>
18250
18251         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18252         Intersect the peer's caps with our caps.
18253
18254 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18255
18256         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18257         * gst/elements/gsttypefindelement.c: (find_peek):
18258           Handle negative offsets better. Fixes decodebin.
18259
18260 2005-05-09  Wim Taymans  <wim@fluendo.com>
18261
18262         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18263         (gst_base_transform_event):
18264         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18265         Implement accept_caps.
18266         Fix silly lock/unlock mismatch in base class.
18267
18268 2005-05-09  Wim Taymans  <wim@fluendo.com>
18269
18270         * docs/design/draft-push-pull.txt:
18271         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18272         * gst/elements/gstfilesink.c: (gst_filesink_init),
18273         (gst_filesink_query):
18274         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18275         (gst_type_find_handle_src_query), (find_element_get_length):
18276         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18277         * gst/gstelement.h:
18278         * gst/gstmessage.c:
18279         * gst/gstmessage.h:
18280         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18281         (gst_real_pad_get_caps_unlocked),
18282         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18283         (gst_pad_event_default_dispatch), (gst_pad_event_default),
18284         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18285         (gst_real_pad_dispose), (gst_real_pad_finalize),
18286         (gst_pad_load_and_link), (gst_pad_save_thyself),
18287         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18288         (gst_pad_check_pull_range), (gst_pad_pull_range),
18289         (gst_pad_template_get_type), (gst_pad_template_class_init),
18290         (gst_pad_template_init), (gst_pad_template_dispose),
18291         (name_is_valid), (gst_static_pad_template_get),
18292         (gst_pad_template_new), (gst_static_pad_template_get_caps),
18293         (gst_pad_template_get_caps), (gst_pad_set_element_private),
18294         (gst_pad_get_element_private), (gst_pad_start_task),
18295         (gst_pad_pause_task), (gst_pad_stop_task),
18296         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18297         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18298         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18299         (gst_ghost_pad_new):
18300         * gst/gstpad.h:
18301         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18302         (gst_query_new_position), (gst_query_set_position),
18303         (gst_query_parse_position), (gst_query_new_convert),
18304         (gst_query_set_convert), (gst_query_parse_convert):
18305         * gst/gstquery.h:
18306         * gst/gstqueryutils.c:
18307         * gst/gstqueryutils.h:
18308         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18309         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18310         (gst_queue_handle_src_query):
18311         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18312         (gst_element_query_position), (gst_element_query_convert),
18313         (intersect_caps_func), (gst_pad_query_position),
18314         (gst_pad_query_convert):
18315         * gst/gstutils.h:
18316         * tools/gst-inspect.c: (print_pad_info):
18317         * tools/gst-xmlinspect.c: (print_element_info):
18318         Remove old query functions. Ported old code.
18319         Added position/convert helper functions to gstutils.
18320         Reordered gstpad.c code, grouping relevant things.
18321         Remove gst_message_new(), always need to speficy a specific
18322         message.
18323
18324
18325 2005-05-09  Andy Wingo  <wingo@pobox.com>
18326
18327         * gst/gstiterator.h: Add some includes.
18328
18329         * gst/gstqueryutils.h: Include more headers.
18330
18331         * gst/gstpad.h:
18332         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18333         some uses of gst_pad_query.
18334
18335         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18336         NULL out parameters.
18337         (gst_query_new_position): New proc, allocates a new position
18338         query.
18339
18340         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18341         gstqueryutils.c to the build.
18342
18343         * gst/gststructure.c (gst_structure_set_valist): Implement with
18344         the generic G_VALUE_COLLECT.
18345         
18346 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
18347
18348         * gst/Makefile.am: (gst_headers):
18349         Added gstqueryutils.h to the list of headers to install, that was
18350         a 'nachty' move wingo :)
18351
18352 2005-05-06  Andy Wingo  <wingo@pobox.com>
18353
18354         * gst/gstquery.h
18355         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18356         GstData, init a memchunk.
18357         (standard_definitions): Add a few query types, deprecate a few.
18358         (gst_query_get_type): New proc.
18359         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18360         implementation.
18361         (gst_query_new_application, gst_query_get_structure): New public
18362         procs.
18363
18364         * docs/design/draft-query.txt: Removed LINKS from the query types,
18365         because all the rest can be dispatched to other pads -- seemed
18366         ugly to have a query that couldn't be dispatched. internal_links
18367         is fine as a pad method.
18368
18369         * gst/gstpad.h: Add query2 as a pad method, add the new functions
18370         in gstpad.c, but maintain binary compatibility for the moment.
18371         Will fix before 0.9 is out.
18372
18373         * gst/gstqueryutils.c: 
18374         * gst/gstqueryutils.h: New files, implement 3 methods for each
18375         query type: parse_query, parse_response, and set. Probably need an
18376         allocator as well.
18377
18378         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18379
18380         * gst/elements/gstfilesink.c (gst_filesink_query2):
18381         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18382         query_types, and formats methods.
18383
18384         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18385         (gst_pad_set_query2_function): New functions.
18386         (gst_real_pad_init): Set query2_default as the default query2
18387         function. Basically just dispatches to internally linked pads.
18388
18389         Needs review!
18390         
18391         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18392         without using the atomic operations. Only one thread can possibly
18393         be accessing the data at this point. Changed so as to avoid
18394         gst_atomic operations.
18395
18396 2005-05-06  Wim Taymans  <wim@fluendo.com>
18397
18398         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18399         Also set caps if we use the fallback buffer alloc.
18400
18401 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
18402
18403         * docs/gst/Makefile.am:
18404         * docs/gst/gstreamer-docs.sgml:
18405         * docs/gst/gstreamer-sections.txt:
18406         * docs/gst/tmpl/gstatomic.sgml:
18407         * docs/gst/tmpl/gstmemchunk.sgml:
18408         * testsuite/elements/struct_i386.h:
18409         * win32/GStreamer.vcproj:
18410         * win32/Makefile:
18411           Purge GstAtomic stuff from docs and win32 makefiles as well
18412
18413 2005-05-06  Wim Taymans  <wim@fluendo.com>
18414
18415         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18416         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18417         * gst/gstpad.c: (gst_pad_peer_get_caps):
18418         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18419         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18420         (gst_queue_src_activate), (gst_queue_change_state):
18421         * gst/gstqueue.h:
18422         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18423         (intersect_caps_func):
18424         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18425         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18426         Some fixes for the peer_get_caps() change.
18427
18428 2005-05-06  Wim Taymans  <wim@fluendo.com>
18429
18430         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18431         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18432         (gst_basesink_activate):
18433         Actually do something with error codes returned from the push
18434         functions.
18435
18436 2005-05-06  Wim Taymans  <wim@fluendo.com>
18437
18438         * docs/design/part-element-sink.txt:
18439         * docs/design/part-element-source.txt:
18440         * gst/base/gstbasesink.c: (gst_basesink_class_init),
18441         (gst_basesink_event), (gst_basesink_activate):
18442         * gst/base/gstbasesink.h:
18443         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18444         (gst_basesrc_activate):
18445         * gst/base/gstbasesrc.h:
18446         * gst/gstelement.c: (gst_element_pads_activate):
18447         Some more documentation.
18448         Fixed scheduling decision in _pads_activate().
18449
18450 2005-05-05  Andy Wingo  <wingo@pobox.com>
18451
18452         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18453         the test suite.
18454
18455 2005-05-05  Wim Taymans  <wim@fluendo.com>
18456
18457         * gst/base/Makefile.am:
18458         * gst/base/gstbasesink.h:
18459         * gst/base/gstbasesrc.c: (gst_basesrc_init),
18460         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18461         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18462         (gst_collectpads_class_init), (gst_collectpads_init),
18463         (gst_collectpads_finalize), (gst_collectpads_new),
18464         (gst_collectpads_set_function), (gst_collectpads_add_pad),
18465         (find_pad), (gst_collectpads_remove_pad),
18466         (gst_collectpads_is_active), (gst_collectpads_collect),
18467         (gst_collectpads_collect_range), (gst_collectpads_start),
18468         (gst_collectpads_stop), (gst_collectpads_peek),
18469         (gst_collectpads_pop), (gst_collectpads_available),
18470         (gst_collectpads_read), (gst_collectpads_flush),
18471         (gst_collectpads_chain):
18472         * gst/base/gstcollectpads.h:
18473         * gst/elements/Makefile.am:
18474         * gst/elements/gstelements.c:
18475         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18476         (gst_fakesink_get_times), (gst_fakesink_event),
18477         (gst_fakesink_preroll), (gst_fakesink_render):
18478         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18479         (gst_filesink_init), (gst_filesink_set_location),
18480         (gst_filesink_open_file), (gst_filesink_close_file),
18481         (gst_filesink_pad_query), (gst_filesink_event),
18482         (gst_filesink_render), (gst_filesink_change_state):
18483         * gst/elements/gstfilesink.h:
18484         Added object to help in making collect pad based elements.
18485         Ported filesink.
18486         Make event function in sink baseclass return gboolean.
18487
18488 2005-05-05  Wim Taymans  <wim@fluendo.com>
18489
18490         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18491         (gst_bin_get_by_name):
18492         * gst/gstbuffer.h:
18493         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18494         (gst_clock_finalize):
18495         * gst/gstdata.c: (gst_data_replace):
18496         * gst/gstdata.h:
18497         * gst/gstelement.c: (gst_element_request_pad),
18498         (gst_element_pads_activate):
18499         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18500         (gst_object_unref):
18501         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18502         (gst_pad_set_checkgetrange_function),
18503         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18504         (gst_pad_check_pull_range), (gst_pad_pull_range),
18505         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18506         (gst_pad_pause_task), (gst_pad_stop_task):
18507         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18508         (gst_element_request_pad), (gst_pad_proxy_getcaps):
18509         Fix name lookup in GstBin.
18510         Added _data_replace() function and _buffer_replace()
18511         Use finalize method to clean up clock.
18512         Fix refcounting on request pads.
18513         Fix pad schedule mode error.
18514         Some more object refcounting debug info,
18515
18516
18517 2005-05-04  Andy Wingo <wingo@pobox.com>
18518
18519         * check/Makefile.am:
18520         * docs/gst/tmpl/gstatomic.sgml:
18521         * docs/gst/tmpl/gstplugin.sgml:
18522         * gst/base/gstbasesink.c: (gst_basesink_activate):
18523         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18524         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18525         (gst_basesrc_query), (gst_basesrc_set_property),
18526         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18527         (gst_basesrc_activate):
18528         * gst/base/gstbasesrc.h:
18529         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18530         (gst_base_transform_src_activate):
18531         * gst/elements/gstelements.c:
18532         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18533         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18534         * gst/elements/gsttee.c: (gst_tee_sink_activate):
18535         * gst/elements/gsttypefindelement.c: (find_element_get_length),
18536         (gst_type_find_element_checkgetrange),
18537         (gst_type_find_element_activate):
18538         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18539         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18540         (gst_caps_load_thyself):
18541         * gst/gstelement.c: (gst_element_pads_activate),
18542         (gst_element_save_thyself), (gst_element_restore_thyself):
18543         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18544         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18545         * gst/gstpad.h:
18546         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18547         (gst_xml_parse_file), (gst_xml_parse_memory),
18548         (gst_xml_get_element), (gst_xml_make_element):
18549         * gst/indexers/gstfileindex.c: (gst_file_index_load),
18550         (_file_index_id_save_xml), (gst_file_index_commit):
18551         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18552         (read_enum), (load_pad_template), (load_feature), (load_plugin),
18553         (load_paths):
18554         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18555         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18556         * tools/gst-complete.c: (main):
18557         * tools/gst-compprep.c: (main):
18558         * tools/gst-inspect.c: (print_element_properties_info):
18559         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18560         * tools/gst-xmlinspect.c: (print_element_properties):
18561         GCC 4 fixen.
18562         
18563 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18564
18565         * gst/gstplugin.c: (gst_plugin_check_module),
18566         (gst_plugin_check_file), (gst_plugin_load_file):
18567             apply patch from #172526 to make register work on MacOSX
18568
18569 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18570
18571         * docs/gst/tmpl/gstconfig.sgml:
18572         * gst/gstconfig.h.in:
18573           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
18574         * testsuite/debug/printf_extension.c: (main):
18575           Do not use GST_PTR_FORMAT on pointers to types with
18576           sizeof < sizeof(gpointer).  Fixes test on 64-bit
18577         * testsuite/elements/property.h:
18578           use correct printf format
18579
18580 2005-05-02  Wim Taymans  <wim@fluendo.com>
18581
18582         * docs/design/draft-push-pull.txt:
18583         * docs/design/draft-query.txt:
18584         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18585         (gst_basesrc_start):
18586         Added draft for new query API.
18587         Added draft for better selecting scheduling methods.
18588         Make basesrc ignore length if the subclass does not support
18589         it.
18590
18591 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18592
18593         * gst/Makefile.am:
18594           possible fixes for automake-1.5 - _LIBADD is reserved
18595
18596 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
18597
18598         * docs/faq/Makefile.am:
18599         * docs/manual/Makefile.am:
18600         * docs/manuals.mak:
18601         * docs/pwg/Makefile.am:
18602         * gst/Makefile.am:
18603           possible fixes for automake-1.5
18604
18605 2005-04-28  Wim Taymans  <wim@fluendo.com>
18606
18607         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18608         (gst_basesink_pad_getcaps), (gst_basesink_init),
18609         (gst_basesink_do_sync):
18610         * gst/gstclock.c: (gst_clock_entry_new):
18611         * gst/gstevent.c: (gst_event_discont_get_value):
18612         * gst/gstpipeline.c: (pipeline_bus_handler),
18613         (gst_pipeline_change_state):
18614         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18615         Better debugging of clocking info.
18616         Allow NULL values when getting discont values.
18617
18618 2005-04-27  Wim Taymans  <wim@fluendo.com>
18619
18620         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18621         * check/gst/gstpad.c: (gst_pad_suite):
18622         Increase timeout for checks.
18623
18624 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
18625
18626         * check/Makefile.am:
18627           fix the broken rule for cleanup.  Apparently this rule is
18628           only needed on FC2, so maybe this warrants further autotool
18629           inspection.
18630
18631 2005-04-26  Wim Taymans  <wim@fluendo.com>
18632
18633         * gst/gsttrashstack.h:
18634         Ooohh. a nasty one! After having a failed pop() from the stack,
18635         it's possible that the stack is empty. In that case, don't
18636         follow the NULL pointer.
18637
18638 2005-04-25  Wim Taymans  <wim@fluendo.com>
18639
18640         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18641         (gst_pad_set_checkgetrange_function),
18642         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18643         (gst_pad_check_pull_range), (gst_pad_pull_range),
18644         (gst_static_pad_template_get_caps), (gst_pad_start_task),
18645         (gst_pad_pause_task), (gst_pad_stop_task):
18646         * gst/gstplugin.c: (gst_plugin_load):
18647         * gst/gstplugin.h:
18648         Remove gst_library_load as it does more harm than good with
18649         the new g_module flags.
18650         Revert bogus caps template check in pad linking, pad caps
18651         are important when linking not the template, which is more
18652         general than the current caps.
18653
18654 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18655
18656         * gst/autoplug/.cvsignore:
18657         * gst/autoplug/Makefile.am:
18658         * gst/autoplug/gstsearchfuncs.c:
18659         * gst/autoplug/gstsearchfuncs.h:
18660         * gst/autoplug/gstspider.c:
18661         * gst/autoplug/gstspider.h:
18662         * gst/autoplug/gstspideridentity.c:
18663         * gst/autoplug/gstspideridentity.h:
18664         * gst/autoplug/spidertest.c:
18665           Die, spider, die.
18666
18667 2005-04-25  Wim Taymans  <wim@fluendo.com>
18668
18669         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18670         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18671         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18672         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18673         * gst/gstpad.h:
18674         Added stubs for unimplemented functions. 
18675
18676 2005-04-24  David Schleef  <ds@schleef.org>
18677
18678         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
18679         please fix.
18680
18681 2005-04-24  David Schleef  <ds@schleef.org>
18682
18683         Convert everything from GstAtomicInt to g_atomic_int_*, and
18684         remove gstatomic.
18685         * gst/Makefile.am:
18686         * gst/gstatomic.c:
18687         * gst/gstatomic.h:
18688         * gst/gstatomic_impl.h:
18689         * gst/gstbuffer.c:
18690         * gst/gstcaps.c:
18691         * gst/gstcaps.h:
18692         * gst/gstclock.c:
18693         * gst/gstclock.h:
18694         * gst/gstdata.c:
18695         * gst/gstdata.h:
18696         * gst/gstdata_private.h:
18697         * gst/gstevent.c:
18698         * gst/gstinfo.c:
18699         * gst/gstinfo.h:
18700         * gst/gstmessage.c:
18701         * gst/gstobject.c:
18702         * gst/gstobject.h:
18703         * gst/gststructure.c:
18704         * gst/gststructure.h:
18705         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18706         * gst/gstutils.h:
18707
18708 2005-04-24  David Schleef  <ds@schleef.org>
18709
18710         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18711         make the regressions tests work.  Remove some code that is no
18712         longer true.
18713         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18714         Disable warning for pads without templates.
18715
18716 2005-04-24  David Schleef  <ds@schleef.org>
18717
18718         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
18719         functions that handle filtered links.
18720         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18721         removed functions.
18722         * gst/gstutils.c: Fix/remove utility functions that handle
18723         filtered caps.
18724         * gst/gstutils.h:
18725         * gst/gstvalue.c: Add serialization/deserialization of caps
18726         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
18727         requires fixing so that the filter caps notation creates
18728         a capsfilter element and sets the filter_caps property.  I
18729         think everyone probably wants to keep the shorthand notation.
18730         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18731         * docs/gst/tmpl/gstpad.sgml:
18732
18733         * gst/elements/gstelements.c: Register capsfilter element.
18734         * gst/Makefile.am: fix spacing
18735         * docs/random/ds/0.9-suggested-changes: random
18736
18737 2005-04-23  David Schleef  <ds@schleef.org>
18738
18739         * gst/elements/Makefile.am:
18740         * gst/elements/gstcapsfilter.c: New element that acts like an
18741         identity, but filters caps.  Will eventually replace filtered
18742         caps in pad linking.
18743         * gst/gstutils.c: (gst_element_create_all_pads): New function
18744         to create all the ALWAYS pads that are registered with an
18745         element class.  This functionality should eventually be
18746         merged in with GstElement initialization.
18747         * gst/gstutils.h:
18748         * testsuite/trigger/README: part of trigger test code that should
18749         have been checked in a long time ago.
18750
18751 2005-04-23  David Schleef  <ds@schleef.org>
18752
18753         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
18754         needed with new versions of libtool (nobody will confirm this),
18755         and hard to carry around.
18756         * gst/autoplug/Makefile.am:
18757         * gst/base/Makefile.am:
18758         * gst/elements/Makefile.am:
18759         * gst/indexers/Makefile.am:
18760         * gst/schedulers/Makefile.am:
18761         * libs/gst/bytestream/Makefile.am:
18762         * libs/gst/control/Makefile.am:
18763         * libs/gst/dataprotocol/Makefile.am:
18764         * libs/gst/getbits/Makefile.am:
18765
18766 2005-04-21  Wim Taymans  <wim@fluendo.com>
18767
18768         * docs/design/draft-push-pull.txt:
18769         * docs/design/part-MT-refcounting.txt:
18770         * docs/design/part-TODO.txt:
18771         * docs/design/part-caps.txt:
18772         * docs/design/part-events.txt:
18773         * docs/design/part-gstbus.txt:
18774         * docs/design/part-gstpipeline.txt:
18775         * docs/design/part-messages.txt:
18776         * docs/design/part-push-pull.txt:
18777         * docs/design/part-query.txt:
18778         Some more docs.
18779
18780 2005-04-21  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18783         (gst_message_new), (gst_message_new_error),
18784         (gst_message_new_warning), (gst_message_new_tag),
18785         (gst_message_new_state_changed), (gst_message_new_application),
18786         (gst_message_get_structure):
18787         * gst/gstmessage.h:
18788         * gst/gststructure.c: (gst_structure_set_parent_refcount),
18789         (gst_structure_copy_conditional):
18790         Use parent refcount in GstMessage to ensure GstStructure
18791         consistency.
18792         Cleaned up headers a bit.
18793         
18794
18795 2005-04-20  Wim Taymans  <wim@fluendo.com>
18796
18797         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18798         (gst_basesink_pad_getcaps), (gst_basesink_init),
18799         (gst_basesink_chain_unlocked):
18800         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18801         (gst_type_find_helper):
18802         * gst/elements/gsttypefindelement.c:
18803         (gst_type_find_element_have_type), (gst_type_find_element_init),
18804         (stop_typefinding), (gst_type_find_element_handle_event),
18805         (find_suggest), (gst_type_find_element_chain),
18806         (gst_type_find_element_checkgetrange),
18807         (gst_type_find_element_getrange), (do_typefind),
18808         (gst_type_find_element_activate):
18809         * gst/gstbuffer.c: (_gst_buffer_sub_free),
18810         (gst_buffer_default_free), (gst_buffer_default_copy),
18811         (gst_buffer_set_caps):
18812         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18813         (gst_caps_replace):
18814         * gst/gstmessage.c: (gst_message_new),
18815         (gst_message_new_state_changed):
18816         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18817         (gst_pad_set_checkgetrange_function),
18818         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18819         (gst_pad_set_caps), (gst_pad_check_pull_range),
18820         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18821         * gst/gstpad.h:
18822         * gst/gsttypefind.c: (gst_type_find_register):
18823         Make gst_caps_replace() work like other _replace() functions.
18824         Use _caps_replace() where possible.
18825         Make sure _message_new() initialises its field.
18826         Add gst_static_pad_template_get_caps()
18827
18828
18829 2005-04-18  Andy Wingo  <wingo@pobox.com>
18830
18831         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18832         on the peer, not the pad. I think that was a typo. Pass an extra
18833         arg to see if random access is possible. Activate the pads as
18834         PULL_RANGE if possible.
18835
18836         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18837
18838         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
18839         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18840         to PROP_....
18841
18842 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18843
18844         * docs/faq/using.xml:
18845           Add note on gstreamer-properties (#154996).
18846
18847 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18848
18849         * docs/random/bbb/optional-properties:
18850           Some analysis on optional properties.
18851
18852 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
18853
18854         * docs/gst/tmpl/gstelementfactory.sgml:
18855         * gst/gstelement.h:
18856         * gst/gstelementfactory.c: (gst_element_factory_init),
18857         (gst_element_factory_cleanup), (gst_element_register),
18858         (__gst_element_factory_add_static_pad_template),
18859         (gst_element_factory_get_static_pad_templates),
18860         (gst_element_factory_can_src_caps),
18861         (gst_element_factory_can_sink_caps):
18862         * gst/registries/Makefile.am:
18863         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18864         (gst_xml_registry_class_init), (gst_xml_registry_init),
18865         (gst_xml_registry_new), (gst_xml_registry_set_property),
18866         (gst_xml_registry_get_property), (get_time), (make_dir),
18867         (gst_xml_registry_get_perms_func),
18868         (plugin_times_older_than_recurse), (plugin_times_older_than),
18869         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18870         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18871         (add_to_char_array), (read_string), (read_uint), (read_enum),
18872         (load_pad_template), (load_feature), (load_plugin), (load_paths),
18873         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18874         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18875         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18876         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18877         (gst_xml_registry_rebuild):
18878         * gst/registries/gstlibxmlregistry.h:
18879         * tools/gst-compprep.c: (main):
18880         * tools/gst-inspect.c: (print_pad_templates_info):
18881         * tools/gst-xmlinspect.c: (print_element_info):
18882           Use libxml2 for registry parsing, use staticpadtemplates in
18883           elementfactories. Makes gst_init() +/- 10x faster.
18884
18885 2005-04-12  Wim Taymans  <wim@fluendo.com>
18886
18887         * gst/base/Makefile.am:
18888         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18889         (gst_basesink_pad_getcaps), (gst_basesink_init),
18890         (gst_basesink_event), (gst_basesink_change_state):
18891         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18892         (gst_basesrc_init), (gst_basesrc_query),
18893         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18894         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18895         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18896         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18897         (gst_basesrc_stop), (gst_basesrc_activate),
18898         (gst_basesrc_change_state):
18899         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18900         (helper_find_suggest), (gst_type_find_helper):
18901         * gst/base/gsttypefindhelper.h:
18902         * gst/elements/Makefile.am:
18903         * gst/elements/gstelements.c:
18904         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18905         (gst_fakesink_get_times), (gst_fakesink_event),
18906         (gst_fakesink_preroll), (gst_fakesink_render):
18907         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18908         (gst_fakesrc_init), (gst_fakesrc_event_handler),
18909         (gst_fakesrc_get_property), (gst_fakesrc_create),
18910         (gst_fakesrc_start), (gst_fakesrc_stop):
18911         * gst/elements/gstfakesrc.h:
18912         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18913         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18914         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18915         (gst_filesrc_create_read), (gst_filesrc_create),
18916         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18917         (gst_filesrc_start):
18918         * gst/elements/gsttypefindelement.c:
18919         (gst_type_find_element_have_type), (gst_type_find_element_init),
18920         (start_typefinding), (stop_typefinding), (push_buffer_store),
18921         (gst_type_find_element_handle_event),
18922         (gst_type_find_element_chain),
18923         (gst_type_find_element_checkgetrange),
18924         (gst_type_find_element_getrange), (do_typefind),
18925         (gst_type_find_element_activate),
18926         (gst_type_find_element_change_state):
18927         * gst/elements/gsttypefindelement.h:
18928         * gst/gstpipeline.c: (pipeline_bus_handler):
18929         Added typefind helper.
18930         Small preroll fix in the base sink.
18931         Disable typefind code in basesrc.
18932         Crude port of typefindelement.
18933         Fakesrc cleanups.
18934
18935
18936 2005-04-11  Wim Taymans  <wim@fluendo.com>
18937
18938         * check/gst/gstbus.c: (gstbus_suite):
18939         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18940         * check/gstcheck.h:
18941           Fix up the timeout so that the test does not fail.
18942
18943 2005-04-06  Wim Taymans  <wim@fluendo.com>
18944
18945         * gst/base/README:
18946         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18947         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18948         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18949         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18950         (gst_basesrc_check_get_range), (gst_basesrc_loop),
18951         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18952         (gst_basesrc_stop), (gst_basesrc_activate),
18953         (gst_basesrc_change_state), (basesrc_find_peek),
18954         (basesrc_find_suggest), (gst_basesrc_type_find):
18955         * gst/base/gstbasesrc.h:
18956         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18957         (gst_filesrc_class_init), (gst_filesrc_init),
18958         (gst_filesrc_finalize), (gst_filesrc_set_location),
18959         (gst_filesrc_set_property), (gst_filesrc_get_property),
18960         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18961         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18962         (gst_filesrc_create_read), (gst_filesrc_create),
18963         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18964         * gst/elements/gstfilesrc.h:
18965         * gst/gstelement.c: (gst_element_get_state_func),
18966         (gst_element_lost_state), (gst_element_pads_activate):
18967         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18968         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18969         (gst_pad_pull_range):
18970         * gst/gstpad.h:
18971         More work on the generic source base class, implement seeking,
18972         query.
18973         Make filesrc extend the base source class.
18974         Added gst_pad_set_checkgetrange_function to GstPad.
18975
18976 2005-04-06  Andy Wingo  <wingo@pobox.com>
18977
18978         * pkgconfig/gstreamer-base.pc.in:
18979         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18980
18981         * pkgconfig/Makefile.am:
18982         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18983
18984 2005-04-04  Wim Taymans  <wim@fluendo.com>
18985
18986         * gst/base/Makefile.am:
18987         * gst/base/README:
18988         * gst/base/gstbasesink.c: (gst_basesink_base_init),
18989         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18990         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18991         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18992         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18993         (gst_basesrc_base_init), (gst_basesrc_class_init),
18994         (gst_basesrc_init), (gst_basesrc_get_formats),
18995         (gst_basesrc_get_query_types), (gst_basesrc_query),
18996         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18997         (gst_basesrc_set_property), (gst_basesrc_get_property),
18998         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18999         (gst_basesrc_loop), (gst_basesrc_activate),
19000         (gst_basesrc_change_state):
19001         * gst/base/gstbasesrc.h:
19002         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19003         (gst_fakesrc_class_init), (gst_fakesrc_init),
19004         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19005         (gst_fakesrc_get_property), (gst_fakesrc_create):
19006         * gst/elements/gstfakesrc.h:
19007         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19008         (gst_filesrc_open_file), (gst_filesrc_loop),
19009         (gst_filesrc_activate), (filesrc_find_peek),
19010         (gst_filesrc_type_find):
19011         Made base source class, make fakesrc extend it.
19012         Add comments to basesink class.
19013         Some filesrc cleanup.
19014
19015 2005-03-31  David Schleef  <ds@schleef.org>
19016
19017         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19018         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19019         expected to link against libgstreamer.
19020         * gst/base/Makefile.am: link against libgstreamer
19021         * gst/elements/Makefile.am: same
19022
19023 2005-03-31  Andy Wingo  <wingo@pobox.com>
19024
19025         * tests/instantiate/Makefile.am:
19026         * tests/instantiate/caps.c: Add test to test speed of caps copy
19027         and free.
19028
19029         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19030         GMemChunk to be fair.
19031
19032         * gst/gsttrashstack.h: Remove warning about using the fallback
19033         trash stack implementation, it's still faster than malloc.
19034
19035 2005-03-30  Andy Wingo  <wingo@pobox.com>
19036
19037         * tests/complexity.c: Add a copyright.
19038
19039 2005-03-31  Wim Taymans  <wim@fluendo.com>
19040
19041         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19042         (gst_base_transform_class_init), (gst_base_transform_init),
19043         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19044         (gst_base_transform_get_property),
19045         (gst_base_transform_sink_activate),
19046         (gst_base_transform_src_activate),
19047         (gst_base_transform_change_state):
19048         * gst/base/gstbasetransform.h:
19049         * gst/elements/gstidentity.c: (gst_identity_class_init),
19050         (gst_identity_event), (gst_identity_check_perfect),
19051         (gst_identity_transform), (gst_identity_start),
19052         (gst_identity_stop):
19053         Added start/stop methods to transform base class so subclasses 
19054         don't need to deal with state changes even.
19055
19056 2005-03-31  Wim Taymans  <wim@fluendo.com>
19057
19058         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19059         (gst_event_new_discontinuous), (gst_event_discont_get_value):
19060         * gst/gstevent.h:
19061         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19062         (gst_pad_pull_range):
19063         Added rate to the discont event to prepare for variable speed
19064         and reverse playback.
19065
19066 2005-03-29  David Schleef  <ds@schleef.org>
19067
19068         * configure.ac:
19069         * testsuite/trigger/Makefile.am:
19070         * testsuite/trigger/trigger.c: A little example program to show
19071         how trigger-based elements can work.
19072
19073 2005-03-29  Wim Taymans  <wim@fluendo.com>
19074
19075         * gst/base/Makefile.am:
19076         * gst/base/README:
19077         * gst/base/gstbasesink.c: (gst_basesink_get_type),
19078         (gst_basesink_base_init), (gst_basesink_class_init),
19079         (gst_basesink_pad_getcaps), (gst_basesink_init),
19080         (gst_basesink_activate), (gst_basesink_change_state):
19081         * gst/base/gstbasesink.h:
19082         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19083         (gst_base_transform_base_init), (gst_base_transform_finalize),
19084         (gst_base_transform_class_init), (gst_base_transform_init),
19085         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19086         (gst_base_transform_event), (gst_base_transform_getrange),
19087         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19088         (gst_base_transform_set_property),
19089         (gst_base_transform_get_property),
19090         (gst_base_transform_sink_activate),
19091         (gst_base_transform_src_activate),
19092         (gst_base_transform_change_state):
19093         * gst/base/gstbasetransform.h:
19094         * gst/elements/gstidentity.c: (gst_identity_finalize),
19095         (gst_identity_class_init), (gst_identity_init),
19096         (gst_identity_event), (gst_identity_check_perfect),
19097         (gst_identity_transform), (gst_identity_set_property),
19098         (gst_identity_get_property), (gst_identity_change_state):
19099         * gst/elements/gstidentity.h:
19100         * gst/gstelement.c: (gst_element_get_state_func),
19101         (gst_element_lost_state), (gst_element_pads_activate):
19102         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19103         (gst_pad_check_pull_range), (gst_pad_pull_range):
19104         * gst/gstpad.h:
19105         Simplify pad activation.
19106         Added function to check if pull_range can be performed.
19107         Error out when pulling inactive or flushing pads.
19108         Removed const from refcounted types as it does not make sense.
19109         Simplify pad templates in basesink
19110         Added base class for simple 1-to-1 transforms.
19111         Make identity subclass the base transform.
19112
19113 2005-03-29  Andy Wingo  <wingo@pobox.com>
19114
19115         * docs/libs/gstreamer-libs-overrides.txt: 
19116         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19117         really don't understand what's going on, but like whatever. I want
19118         green buildbot!
19119
19120         * docs/gst/Makefile.am:
19121         * docs/libs/Makefile.am: Dist the overrides files.
19122
19123         * check/Makefile.am (clean-local): Remove .libs directories.
19124
19125         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19126         elements to EXTRA_DIST, so po/ files are happy.
19127
19128         * po/POTFILES.in: Er, remove it here.
19129
19130         * po/POTFILES: Remove gstspider.c.
19131
19132         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19133
19134         * docs/libs/gstreamer-libs-docs.sgml: 
19135         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19136         bytestream.
19137
19138         * tests/complexity.c (main): Set the length of the preroll queue
19139         on the sinks to prevent a lockup.
19140
19141         * libs/gst/dataprotocol/Makefile.am: 
19142         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19143         the same as the one in check/gst-libs/gdp.c.
19144
19145         * po/, docs/gst/: Commit automatic changes to docs and po files.
19146
19147         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19148         the versioned libgstbase.
19149
19150         * check/Makefile.am: Depend on an unversioned gst-register, seems
19151         to make autoconf happier.
19152
19153         * gst/base/Makefile.am: Make libgstbase a versioned lib.
19154
19155 2005-03-28  Wim Taymans  <wim@fluendo.com>
19156
19157         * configure.ac:
19158         * docs/design/part-gstelement.txt:
19159         * docs/design/part-negotiation.txt:
19160         * docs/design/part-preroll.txt:
19161         * docs/design/part-scheduling.txt:
19162         * docs/design/part-states.txt:
19163         * gst/Makefile.am:
19164         * gst/base/Makefile.am:
19165         * gst/base/README:
19166         * gst/base/gstbasesink.c: (gst_basesink_get_template),
19167         (gst_basesink_base_init), (gst_basesink_class_init),
19168         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19169         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19170         (gst_basesink_set_pad_functions),
19171         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19172         (gst_basesink_set_property), (gst_basesink_get_property),
19173         (gst_base_sink_get_template), (gst_base_sink_get_caps),
19174         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19175         (gst_basesink_preroll_queue_push),
19176         (gst_basesink_preroll_queue_empty),
19177         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19178         (gst_basesink_event), (gst_basesink_get_times),
19179         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19180         (gst_basesink_chain_unlocked), (gst_basesink_chain),
19181         (gst_basesink_loop), (gst_basesink_activate),
19182         (gst_basesink_change_state):
19183         * gst/base/gstbasesink.h:
19184         * gst/elements/Makefile.am:
19185         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19186         (gst_fakesink_class_init), (gst_fakesink_init),
19187         (gst_fakesink_set_property), (gst_fakesink_get_property),
19188         (gst_fakesink_get_times), (gst_fakesink_event),
19189         (gst_fakesink_preroll), (gst_fakesink_render),
19190         (gst_fakesink_change_state):
19191         * gst/elements/gstfakesink.h:
19192         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19193         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19194         * gst/gstelement.c: (gst_element_add_pad),
19195         (gst_element_get_state_func), (gst_element_abort_state),
19196         (gst_element_commit_state), (gst_element_lost_state),
19197         (gst_element_set_state), (gst_element_pads_activate):
19198         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19199         * gst/gstpipeline.c: (gst_pipeline_send_event),
19200         (gst_pipeline_change_state):
19201         Added state change code.
19202         Added/updated docs.
19203         Added sink base class, make fakesink extend the base class.
19204         Small cleanups in GstPipeline.
19205
19206 2005-03-26  David Schleef  <ds@schleef.org>
19207
19208         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
19209         is broken and should be implemented in a different library.
19210         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19211         * gst/gst.h: remove gstcpu.h
19212         * gst/gstcpu.c: remove
19213         * gst/gstcpu.h: remove
19214         * gst/Makefile.am.future: Remove this file.  It's ancient.
19215
19216 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19217
19218         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19219         (gst_bin_send_event):
19220           Add default event/set_manager handlers. The set_manager handler
19221           takes care that the manager is distributed over kids that were
19222           already in the bin before the manager was set. The event handler
19223           is a utility virtual function that sends the event over all sinks,
19224           so that gst_element_send_event (bin, event); has the expected
19225           behaviour.
19226         * gst/gstpad.c: (gst_pad_event_default):
19227           Re-install default event handling for discontinuities, so that
19228           seeking works without requiring hacks in applications or extra
19229           code in sinks.
19230         * gst/gstpipeline.c: (gst_pipeline_class_init),
19231         (gst_pipeline_send_event):
19232           Half hack, half utility: set a pipeline to PAUSED for seek events,
19233           since that is the only way we can guarantee a/v sync. Means that
19234           you can do gst_element_seek (pipeline, method, pos); on a pipeline
19235           and it "just works".
19236
19237 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
19238
19239         * gst/gstpipeline.c: (gst_pipeline_use_clock):
19240           Lock/unlock mismatch.
19241
19242 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
19243
19244         * docs/faq/gst-uninstalled:
19245           add gst-plugins-base
19246         * docs/gst/Makefile.am:
19247           don't error out until docs are fixed
19248         * docs/gst/gstreamer.types:
19249           remove thread
19250
19251 2005-03-22  Wim Taymans  <wim@fluendo.com>
19252
19253         * check/Makefile.am:
19254         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19255         * gst/gststructure.c: (gst_structure_set_valist),
19256         (gst_structure_copy_conditional):
19257         Activated more tests.
19258         Added message test.
19259         Added G_TYPE_POINTER to GstStructure.
19260         
19261
19262 2005-03-22  Wim Taymans  <wim@fluendo.com>
19263
19264         * docs/design/part-TODO.txt:
19265         * docs/design/part-events.txt:
19266         * docs/design/part-gstbin.txt:
19267         * docs/design/part-gstbus.txt:
19268         * docs/design/part-gstpipeline.txt:
19269         * docs/design/part-messages.txt:
19270         * gst/gstbus.c:
19271         * gst/gstmessage.c:
19272         Docs updates
19273
19274 2005-03-21  Wim Taymans  <wim@fluendo.com>
19275
19276         * gst/gstbus.c: (gst_bus_post):
19277         Fix copy-and-paste error.
19278
19279 2005-03-21  Wim Taymans  <wim@fluendo.com>
19280
19281         * check/Makefile.am:
19282         * gst/Makefile.am:
19283         * gst/elements/Makefile.am:
19284         * gst/elements/gstelements.c:
19285         * gst/elements/gstfakesink.c: (gst_fakesink_init),
19286         (gst_fakesink_event), (gst_fakesink_chain):
19287         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19288         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19289         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19290         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19291         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19292         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19293         (gst_fakesrc_loop), (gst_fakesrc_activate),
19294         (gst_fakesrc_change_state):
19295         * gst/elements/gstfakesrc.h:
19296         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19297         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19298         (gst_filesrc_open_file), (gst_filesrc_loop),
19299         (gst_filesrc_activate), (gst_filesrc_change_state),
19300         (filesrc_find_peek), (filesrc_find_suggest),
19301         (gst_filesrc_type_find):
19302         * gst/elements/gstidentity.c: (gst_identity_finalize),
19303         (gst_identity_class_init), (gst_identity_init),
19304         (gst_identity_proxy_getcaps), (identity_queue_push),
19305         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19306         (gst_identity_getrange), (gst_identity_chain),
19307         (gst_identity_sink_loop), (gst_identity_src_loop),
19308         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19309         (gst_identity_set_property), (gst_identity_get_property),
19310         (gst_identity_change_state):
19311         * gst/elements/gstidentity.h:
19312         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19313         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19314         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19315         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19316         (gst_tee_sink_activate):
19317         * gst/elements/gsttee.h:
19318         * gst/gst.c: (gst_register_core_elements), (init_post):
19319         * gst/gst.h:
19320         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19321         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19322         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19323         (gst_bin_change_state):
19324         * gst/gstbin.h:
19325         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19326         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19327         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19328         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19329         (gst_bus_set_sync_handler), (gst_bus_create_watch),
19330         (bus_watch_callback), (bus_watch_destroy),
19331         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19332         (poll_timeout), (gst_bus_poll):
19333         * gst/gstbus.h:
19334         * gst/gstcaps.h:
19335         * gst/gstdata.h:
19336         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19337         (gst_element_post_message), (gst_element_message_full),
19338         (gst_element_get_state_func), (gst_element_get_state),
19339         (gst_element_abort_state), (gst_element_commit_state),
19340         (gst_element_lost_state), (gst_element_set_state),
19341         (gst_element_pads_activate), (gst_element_change_state),
19342         (gst_element_dispose), (gst_element_set_manager_func),
19343         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19344         (gst_element_set_manager), (gst_element_get_manager),
19345         (gst_element_set_bus), (gst_element_get_bus),
19346         (gst_element_set_scheduler), (gst_element_get_scheduler):
19347         * gst/gstelement.h:
19348         * gst/gstevent.c: (gst_event_new_segment_seek),
19349         (gst_event_new_flush):
19350         * gst/gstevent.h:
19351         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19352         (_gst_message_free), (gst_message_get_type), (gst_message_new),
19353         (gst_message_new_eos), (gst_message_new_error),
19354         (gst_message_new_warning), (gst_message_new_tag),
19355         (gst_message_new_state_changed), (gst_message_new_application),
19356         (gst_message_get_structure), (gst_message_parse_tag),
19357         (gst_message_parse_state_changed), (gst_message_parse_error),
19358         (gst_message_parse_warning):
19359         * gst/gstmessage.h:
19360         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19361         (gst_real_pad_set_property), (gst_pad_set_active),
19362         (gst_pad_is_active), (gst_pad_set_blocked_async),
19363         (gst_pad_set_blocked), (gst_pad_is_blocked),
19364         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19365         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19366         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19367         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19368         (gst_pad_link_filtered), (gst_pad_relink_filtered),
19369         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19370         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19371         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19372         (gst_pad_set_caps), (gst_pad_configure_sink),
19373         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19374         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19375         (gst_real_pad_dispose), (gst_real_pad_finalize),
19376         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19377         (gst_pad_event_default_dispatch), (gst_pad_event_default),
19378         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19379         * gst/gstpad.h:
19380         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19381         (pipeline_bus_handler), (gst_pipeline_change_state),
19382         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19383         * gst/gstpipeline.h:
19384         * gst/gstprobe.h:
19385         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19386         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19387         (gst_queue_link_src), (gst_queue_bufferalloc),
19388         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19389         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19390         (gst_queue_loop), (gst_queue_handle_src_event),
19391         (gst_queue_handle_src_query), (gst_queue_src_activate),
19392         (gst_queue_change_state):
19393         * gst/gstqueue.h:
19394         * gst/gstscheduler.c: (gst_scheduler_init),
19395         (gst_scheduler_dispose), (gst_scheduler_create_task),
19396         (gst_scheduler_factory_create):
19397         * gst/gstscheduler.h:
19398         * gst/gststructure.c: (gst_structure_get_type),
19399         (gst_structure_copy_conditional):
19400         * gst/gststructure.h:
19401         * gst/gsttaginterface.h:
19402         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19403         (gst_task_init), (gst_task_dispose), (gst_task_create),
19404         (gst_task_get_state), (gst_task_start), (gst_task_stop),
19405         (gst_task_pause):
19406         * gst/gsttask.h:
19407         * gst/gstthread.c:
19408         * gst/gstthread.h:
19409         * gst/gsttypes.h:
19410         * gst/schedulers/Makefile.am:
19411         * gst/schedulers/cothreads_compat.h:
19412         * gst/schedulers/entryscheduler.c:
19413         * gst/schedulers/faircothreads.c:
19414         * gst/schedulers/faircothreads.h:
19415         * gst/schedulers/fairscheduler.c:
19416         * gst/schedulers/gstbasicscheduler.c:
19417         * gst/schedulers/gstoptimalscheduler.c:
19418         * gst/schedulers/gthread-cothreads.h:
19419         * gst/schedulers/threadscheduler.c:
19420         (gst_thread_scheduler_task_get_type),
19421         (gst_thread_scheduler_task_class_init),
19422         (gst_thread_scheduler_task_init),
19423         (gst_thread_scheduler_task_start),
19424         (gst_thread_scheduler_task_stop),
19425         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19426         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19427         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19428         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19429         (plugin_init):
19430         * libs/gst/Makefile.am:
19431         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19432         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19433         (gst_file_pad_parent_set):
19434         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19435         (gst_dp_event_from_packet):
19436         * tests/complexity.c: (main):
19437         * tests/mass_elements.c: (main):
19438         * testsuite/states/locked.c: (message_received), (main):
19439         * testsuite/states/parent.c: (main):
19440         * tools/gst-inspect.c: (print_element_flag_info),
19441         (print_implementation_info), (print_pad_info):
19442         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19443         (main):
19444         * tools/gst-md5sum.c: (event_loop), (main):
19445         * tools/gst-typefind.c: (main):
19446         * tools/gst-xmlinspect.c: (print_element_info):
19447         Next big merge.
19448         Added GstBus for mainloop integration.
19449         Added GstMessage for sending notifications on the bus.
19450         Added GstTask as an abstraction for pipeline entry points.
19451         Removed GstThread.
19452         Removed Schedulers.
19453         Simplified GstQueue for multithreaded core.
19454         Made _link threadsafe, removed old capsnego.
19455         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19456         Added pad blocking functions.
19457         Reworked scheduling functions in GstPad to prepare for
19458         scheduling updates soon.
19459         Moved events out of data stream.
19460         Simplified GstEvent types.
19461         Added return values to push/pull.
19462         Removed clocking from GstElement.
19463         Added prototypes for state change function for next merge.
19464         Removed iterate from bins and state change management.
19465         Fixed some elements, disabled others for now.
19466         Fixed -inspect and -launch.
19467         Added check for GstBus.
19468
19469 2005-03-10  Wim Taymans  <wim@fluendo.com>
19470
19471         * docs/design/part-MT-refcounting.txt:
19472         * docs/design/part-clocks.txt:
19473         * docs/design/part-gstelement.txt:
19474         * docs/design/part-gstobject.txt:
19475         * docs/design/part-standards.txt:
19476         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19477         (gst_bin_remove_func), (gst_bin_remove):
19478         * gst/gstbin.h:
19479         * gst/gstbuffer.c:
19480         * gst/gstcaps.h:
19481         * testsuite/clock/clock1.c: (main):
19482         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19483         (main):
19484         * testsuite/dlopen/loadgst.c: (do_test):
19485         * testsuite/refcounting/bin.c: (add_remove_test1),
19486         (add_remove_test2), (main):
19487         * testsuite/refcounting/element.c: (main):
19488         * testsuite/refcounting/element_pad.c: (main):
19489         * testsuite/refcounting/pad.c: (main):
19490         * tools/gst-launch.c: (sigint_handler_sighandler):
19491         * tools/gst-typefind.c: (main):
19492         Doc updates.
19493         Added doc about clock.
19494         removed gst_bin_iterate_recurse_up(), marked methods
19495         for removal.
19496         Fix more testsuites.
19497
19498 2005-03-09  Wim Taymans  <wim@fluendo.com>
19499
19500         * gst/gstpad.c: (gst_pad_get_direction),
19501         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19502         (gst_pad_collect_valist):
19503         * testsuite/bins/interface.c: (main):
19504         * testsuite/caps/audioscale.c: (test_caps):
19505         * testsuite/caps/caps.c: (test1), (test2), (test3):
19506         * testsuite/caps/deserialize.c: (main):
19507         * testsuite/caps/enumcaps.c: (main):
19508         * testsuite/caps/filtercaps.c: (main):
19509         * testsuite/caps/intersect2.c: (main):
19510         * testsuite/caps/random.c: (main):
19511         * testsuite/caps/renegotiate.c: (my_fixate), (main):
19512         * testsuite/caps/sets.c: (check_caps):
19513         * testsuite/caps/simplify.c: (check_caps), (main):
19514         * testsuite/caps/subtract.c: (check_caps):
19515         Fix _pad_get_direction wrt ghostpads.
19516         Fix caps testsuite.
19517
19518 2005-03-09  Wim Taymans  <wim@fluendo.com>
19519
19520         * check/Makefile.am:
19521         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19522         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19523         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19524         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19525         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19526         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19527         (gst_bin_remove), (gst_bin_iterate_recurse_up),
19528         (bin_element_is_sink), (gst_bin_iterate_sinks),
19529         (gst_bin_iterate_all_by_interface):
19530         * gst/gstbin.h:
19531         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19532         (gst_element_change_state), (gst_element_dispose),
19533         (gst_element_finalize), (gst_element_set_loop_function):
19534         * gst/gstelement.h:
19535         * gst/gstiterator.c: (find_custom_fold_func):
19536         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19537         (gst_pad_collectv), (gst_pad_collect_valist),
19538         (gst_pad_template_new):
19539         * gst/gstpipeline.c: (gst_pipeline_class_init),
19540         (gst_pipeline_dispose), (gst_pipeline_set_property),
19541         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19542         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19543         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19544         * gst/gstutils.h:
19545         * gst/schedulers/entryscheduler.c:
19546         * gst/schedulers/gstbasicscheduler.c:
19547         (gst_basic_scheduler_cothreaded_chain),
19548         (gst_basic_scheduler_chain_add_element):
19549         * testsuite/bins/interface.c: (main):
19550         Added GstBin test.
19551         Added GstSystemClock test.
19552         Implemented clock distribution code in GstBin.
19553         Implemented iterate sinks method for future use.
19554         Rearranged gstelement.h
19555         Fix GstIterator comparison bug.
19556         Moved some code to GstPipeline, mostly clocking related.
19557
19558 2005-03-09  Wim Taymans  <wim@fluendo.com>
19559
19560         * configure.ac:
19561         * gst/gst_private.h:
19562         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19563         (gst_bin_remove_func), (gst_bin_remove),
19564         (gst_bin_get_by_name_recurse_up):
19565         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19566         (gst_clock_id_compare_func), (gst_clock_id_wait),
19567         (gst_clock_id_wait_async), (gst_clock_init),
19568         (gst_clock_adjust_unlocked), (gst_clock_get_time):
19569         * gst/gstelement.h:
19570         * gst/gstinfo.c: (_gst_debug_init):
19571         * gst/gstobject.h:
19572         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19573         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19574         * gst/gstpad.h:
19575         Bump version number, we're now 0.9.0
19576         Add future debugging category.
19577         Fix NULL _unref() in _get_by_name_recurse_up
19578         Rearrange gstpad.h.
19579         Update some docs.
19580
19581 2005-03-08  Wim Taymans  <wim@fluendo.com>
19582
19583         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19584         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19585         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19586         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19587         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19588         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19589         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19590         * gst/elements/gstidentity.c: (gst_identity_class_init):
19591         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19592         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19593         * gst/elements/gstshaper.c: (gst_shaper_class_init):
19594         * gst/elements/gststatistics.c: (gst_statistics_class_init):
19595         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19596         (gst_tee_link):
19597         * gst/gstelement.c: (gst_element_class_init),
19598         (gst_element_base_class_init), (gst_element_init),
19599         (gst_element_get_random_pad), (gst_element_wait_state_change),
19600         (gst_element_change_state), (gst_element_dispose),
19601         (gst_element_finalize), (gst_element_set_loop_function):
19602         * gst/gstelement.h:
19603         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19604         * gst/gstthread.c: (gst_thread_class_init),
19605         (gst_thread_release_children_locks), (gst_thread_change_state):
19606         * gst/schedulers/gstbasicscheduler.c:
19607         (gst_basic_scheduler_loopfunc_wrapper),
19608         (gst_basic_scheduler_chain_wrapper),
19609         (gst_basic_scheduler_src_wrapper),
19610         (gst_basic_scheduler_remove_element):
19611         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19612         Remove threadsafe properties. Fix elements because GObject
19613         complains when installing a property before declaring a
19614         set/get_property handler.
19615         Rearrange gstelement.h file, use STATE macros for state locks.
19616         Free mutexes in the finalize method instead of dispose.
19617
19618 2005-03-08  Wim Taymans  <wim@fluendo.com>
19619
19620         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19621         * gst/gstthread.c: (gst_thread_release_children_locks):
19622         Added parentage check.
19623         Fix build og GstThread again.
19624
19625 2005-03-08  Wim Taymans  <wim@fluendo.com>
19626
19627         * docs/design/part-MT-refcounting.txt:
19628         * docs/design/part-conventions.txt:
19629         * docs/design/part-gstobject.txt:
19630         * docs/design/part-relations.txt:
19631         * docs/design/part-standards.txt:
19632         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19633         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19634         (gst_bin_get_by_name), (gst_bin_get_by_interface),
19635         (gst_bin_iterate_all_by_interface):
19636         * gst/gstbuffer.h:
19637         * gst/gstclock.h:
19638         * gst/gstelement.c: (gst_element_class_init),
19639         (gst_element_change_state), (gst_element_set_loop_function):
19640         * gst/gstelement.h:
19641         * gst/gstiterator.c:
19642         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19643         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19644         (gst_object_dispatch_properties_changed), (gst_object_set_name),
19645         (gst_object_set_parent), (gst_object_unparent),
19646         (gst_object_check_uniqueness):
19647         * gst/gstobject.h:
19648         Docs updates, clean up some headers.
19649
19650 2005-03-07  Wim Taymans  <wim@fluendo.com>
19651
19652         * check/.cvsignore:
19653         * check/Makefile.am:
19654         * check/gst-libs/.cvsignore:
19655         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19656         * check/gst/.cvsignore:
19657         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19658         (START_TEST), (gstbus_suite), (main):
19659         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19660         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19661         (gst_data_suite), (main):
19662         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19663         (add_fold_func), (gstiterator_suite), (main):
19664         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19665         (thread_name_object), (thread_name_object_default),
19666         (gst_object_name_compare), (gst_object_suite), (main):
19667         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19668         (gst_pad_suite), (main):
19669         * check/gstcheck.c: (gst_check_log_message_func),
19670         (gst_check_log_critical_func), (gst_check_init):
19671         * check/gstcheck.h:
19672         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19673         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19674         Added checks.
19675
19676 2005-03-07  Wim Taymans  <wim@fluendo.com>
19677
19678         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19679         (gst_list_iterator_next), (gst_list_iterator_resync),
19680         (gst_list_iterator_free), (gst_iterator_new_list),
19681         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19682         (gst_iterator_free), (gst_iterator_push), (filter_next),
19683         (filter_resync), (filter_uninit), (filter_free),
19684         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19685         (gst_iterator_foreach), (find_custom_fold_func),
19686         (gst_iterator_find_custom):
19687         * gst/gstiterator.h:
19688         Added missing files.
19689
19690 2005-03-07  Wim Taymans  <wim@fluendo.com>
19691
19692         * Makefile.am:
19693         * configure.ac:
19694         * docs/design/part-MT-refcounting.txt:
19695         * docs/design/part-conventions.txt:
19696         * docs/design/part-gstobject.txt:
19697         * docs/design/part-relations.txt:
19698         * examples/mixer/mixer.c: (main):
19699         * examples/thread/thread.c: (eos), (main):
19700         * gst/Makefile.am:
19701         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19702         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19703         (gst_spider_plug_from_srcpad):
19704         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19705         (gst_spider_identity_change_state),
19706         (gst_spider_identity_sink_loop_type_finding):
19707         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19708         * gst/elements/gstidentity.c: (gst_identity_init):
19709         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19710         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19711         * gst/elements/gsttypefindelement.c: (free_entry):
19712         * gst/gst.c:
19713         * gst/gst.h:
19714         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19715         (gst_bin_set_clock_func), (gst_bin_auto_clock),
19716         (gst_bin_set_index), (gst_bin_set_element_sched),
19717         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19718         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19719         (gst_bin_iterate_elements), (iterate_child_recurse),
19720         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19721         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19722         (compare_interface), (gst_bin_get_by_interface),
19723         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19724         * gst/gstbin.h:
19725         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19726         (gst_buffer_default_free), (gst_buffer_default_copy),
19727         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19728         (gst_buffer_create_sub):
19729         * gst/gstbuffer.h:
19730         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19731         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19732         (gst_caps_unref), (gst_static_caps_get),
19733         (gst_caps_remove_and_get_structure), (gst_caps_append),
19734         (gst_caps_append_structure), (gst_caps_remove_structure),
19735         (gst_caps_copy_nth), (gst_caps_set_simple),
19736         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19737         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19738         (gst_caps_structure_intersect_field), (gst_caps_intersect),
19739         (gst_caps_structure_subtract_field), (gst_caps_subtract),
19740         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19741         (gst_caps_structure_figure_out_union),
19742         (gst_caps_switch_structures), (gst_caps_do_simplify),
19743         (gst_caps_replace), (gst_caps_from_string),
19744         (gst_caps_copy_conditional):
19745         * gst/gstcaps.h:
19746         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19747         (_gst_clock_id_free), (gst_clock_id_unref),
19748         (gst_clock_id_compare_func), (gst_clock_id_wait),
19749         (gst_clock_id_wait_async), (gst_clock_class_init),
19750         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19751         (gst_clock_get_time), (gst_clock_set_time_adjust),
19752         (gst_clock_set_property), (gst_clock_get_property):
19753         * gst/gstclock.h:
19754         * gst/gstcompat.h:
19755         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19756         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19757         * gst/gstdata.h:
19758         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19759         (gst_element_requires_clock), (gst_element_provides_clock),
19760         (gst_element_set_clock), (gst_element_clock_wait),
19761         (gst_element_wait), (gst_element_set_time_delay),
19762         (gst_element_is_indexable), (gst_element_add_pad),
19763         (gst_element_add_ghost_pad), (gst_element_remove_pad),
19764         (pad_compare_name), (gst_element_get_static_pad),
19765         (gst_element_request_pad), (gst_element_get_request_pad),
19766         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19767         (gst_element_class_get_pad_template_list),
19768         (gst_element_class_get_pad_template), (gst_element_error_func),
19769         (gst_element_get_random_pad), (gst_element_get_event_masks),
19770         (gst_element_send_event), (gst_element_seek),
19771         (gst_element_get_query_types), (gst_element_query),
19772         (gst_element_get_formats), (gst_element_convert),
19773         (gst_element_is_locked_state), (gst_element_set_locked_state),
19774         (gst_element_sync_state_with_parent), (gst_element_change_state),
19775         (gst_element_finalize), (gst_element_yield),
19776         (gst_element_interrupt), (gst_element_set_scheduler),
19777         (gst_element_get_scheduler), (gst_element_set_loop_function):
19778         * gst/gstelement.h:
19779         * gst/gstevent.h:
19780         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19781         (gst_format_get_by_nick), (gst_format_get_details),
19782         (gst_format_iterate_definitions):
19783         * gst/gstformat.h:
19784         * gst/gstindex.c: (gst_index_gtype_resolver):
19785         * gst/gstinfo.c:
19786         * gst/gstinfo.h:
19787         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19788         (gst_mem_chunk_free):
19789         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19790         (gst_object_ref), (gst_object_unref), (gst_object_sink),
19791         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19792         (gst_object_dispatch_properties_changed),
19793         (gst_object_set_name_default), (gst_object_set_name),
19794         (gst_object_get_name), (gst_object_set_name_prefix),
19795         (gst_object_get_name_prefix), (gst_object_set_parent),
19796         (gst_object_get_parent), (gst_object_unparent),
19797         (gst_object_check_uniqueness), (gst_object_save_thyself),
19798         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19799         (gst_object_set_property), (gst_object_get_property),
19800         (gst_object_get_path_string):
19801         * gst/gstobject.h:
19802         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19803         (gst_real_pad_init), (gst_real_pad_get_property),
19804         (gst_pad_custom_new), (gst_pad_get_direction),
19805         (gst_pad_set_active), (gst_pad_is_active),
19806         (gst_pad_set_event_function), (gst_pad_is_linked),
19807         (gst_pad_link_free), (gst_pad_link_intersect),
19808         (gst_pad_link_fixate), (gst_pad_set_caps),
19809         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19810         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19811         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19812         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19813         (gst_pad_get_caps), (gst_pad_peer_get_caps),
19814         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19815         (gst_pad_realize), (gst_pad_get_allowed_caps),
19816         (gst_real_pad_dispose), (gst_real_pad_finalize),
19817         (gst_pad_collectv), (gst_pad_collect_valist),
19818         (gst_pad_template_dispose), (gst_pad_template_new),
19819         (gst_pad_get_internal_links):
19820         * gst/gstpad.h:
19821         * gst/gstpipeline.c: (gst_pipeline_dispose),
19822         (gst_pipeline_change_state):
19823         * gst/gstpipeline.h:
19824         * gst/gstplugin.c:
19825         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19826         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19827         * gst/gstpluginfeature.h:
19828         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19829         * gst/gstquery.c: (_gst_query_type_initialize),
19830         (gst_query_type_register), (gst_query_type_get_by_nick),
19831         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19832         * gst/gstquery.h:
19833         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19834         * gst/gstscheduler.c: (gst_scheduler_add_element),
19835         (gst_scheduler_factory_create):
19836         * gst/gststructure.c: (gst_structure_set_parent_refcount),
19837         (gst_structure_free), (gst_structure_set_name),
19838         (gst_structure_id_set_value), (gst_structure_set_value),
19839         (gst_structure_set_valist), (gst_structure_remove_field),
19840         (gst_structure_remove_fields),
19841         (gst_structure_remove_fields_valist),
19842         (gst_structure_remove_all_fields), (gst_structure_foreach),
19843         (gst_structure_map_in_place),
19844         (gst_caps_structure_fixate_field_nearest_int),
19845         (gst_caps_structure_fixate_field_nearest_double):
19846         * gst/gststructure.h:
19847         * gst/gstsystemclock.c: (gst_system_clock_class_init),
19848         (gst_system_clock_init), (gst_system_clock_dispose),
19849         (gst_system_clock_async_thread),
19850         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19851         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19852         * gst/gstsystemclock.h:
19853         * gst/gsttag.c: (gst_tag_list_add_value_internal),
19854         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19855         * gst/gsttaginterface.c:
19856         * gst/gstthread.c: (gst_thread_dispose),
19857         (gst_thread_release_children_locks), (gst_thread_change_state),
19858         (gst_thread_main_loop):
19859         * gst/gsttrashstack.h:
19860         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19861         * gst/gsttypes.h:
19862         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19863         (gst_element_request_pad), (gst_element_get_pad_from_template),
19864         (gst_element_request_compatible_pad),
19865         (gst_element_get_compatible_pad_filtered),
19866         (gst_element_get_compatible_pad), (gst_element_state_get_name),
19867         (gst_element_link_pads_filtered), (gst_element_link_filtered),
19868         (gst_element_link_many), (gst_element_link),
19869         (gst_element_link_pads), (gst_element_unlink_pads),
19870         (gst_element_unlink_many), (gst_element_unlink),
19871         (gst_pad_can_link_filtered), (gst_pad_can_link),
19872         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19873         (gst_object_default_error), (gst_bin_add_many),
19874         (gst_bin_remove_many), (gst_element_populate_std_props),
19875         (gst_element_class_install_std_props), (gst_buffer_merge),
19876         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19877         (link_fold_func), (gst_pad_proxy_setcaps):
19878         * gst/gstutils.h:
19879         * gst/gstvalue.c: (gst_value_deserialize_string):
19880         * gst/parse/grammar.y:
19881         * gst/schedulers/gstbasicscheduler.c:
19882         (gst_basic_scheduler_cothreaded_chain),
19883         (gst_basic_scheduler_chain_recursive_add),
19884         (gst_basic_scheduler_pad_link):
19885         * gst/schedulers/gstoptimalscheduler.c:
19886         (get_group_schedule_function),
19887         (gst_opt_scheduler_state_transition),
19888         (gst_opt_scheduler_add_element), (element_get_reachables_func):
19889         * libs/gst/bytestream/bytestream.c:
19890         * libs/gst/dataprotocol/dataprotocol.c:
19891         (gst_dp_header_from_buffer):
19892         * po/nb.po:
19893         * po/ru.po:
19894         * tests/threadstate/threadstate2.c: (eos):
19895         * tools/gst-compprep.c: (main):
19896         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19897         (print_pad_info), (print_children_info):
19898         * tools/gst-launch.c: (idle_func), (main):
19899         * tools/gst-md5sum.c: (idle_func), (main):
19900         * tools/gst-xmlinspect.c: (print_element_info):
19901         First THREADED backport attempt, focusing on adding locks and
19902         making sure the API is threadsafe. Needs more work. More docs
19903         follow this week.
19904
19905 2005-02-24  Andy Wingo  <wingo@pobox.com>
19906
19907         * tests/bench-complexity.scm:
19908         * tests/complexity.gnuplot: New files, good for running complexity
19909         benchmarks.
19910
19911         * tests/Makefile.am:
19912         * tests/complexity.c: New test, sets up N elements, at each level
19913         teeing into M streams per element. Eeeenteresting.
19914
19915         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19916         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19917         running bench-mass_elements.scm.
19918
19919         * tests/bench-mass_elements.scm: New script, runs mass_elements
19920         for various numbers of identities, outputting the results to a
19921         file. Requires guile 1.6. Just for testing.
19922
19923 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19924
19925         * gst/schedulers/fairscheduler.c:
19926           compile with debug disabled
19927
19928 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19929
19930         * configure.ac:
19931           hunting season on 0.9 is now OPEN